Ticket #243: 243b.diff
File 243b.diff, 48.2 KB (added by , 15 years ago) |
---|
-
clientgui/res/macsnoozebadge.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *macsnoozebadge[] = {21 static char const * macsnoozebadge[] = { 22 22 /* width height ncolors chars_per_pixel */ 23 23 "128 128 6 1", 24 24 /* colors */ -
clientgui/res/skins/default/graphic/workunit_gauge_progress_indicator_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *workunit_gauge_progress_indicator_image_xpm[] = {21 static char const * workunit_gauge_progress_indicator_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "8 7 37 1", 24 24 "@ c #26323F", -
clientgui/res/skins/default/graphic/state_indicator_background_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *state_indicator_background_image_xpm[] = {21 static char const * state_indicator_background_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "264 35 181 2", 24 24 "h c Black", -
clientgui/res/skins/default/graphic/left_arrow_clicked_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *left_arrow_clicked_button_xpm[] = {21 static char const * left_arrow_clicked_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "20 20 158 2", 24 24 ";. c #95BBB4", -
clientgui/res/skins/default/graphic/resume_link_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *resume_link_image_xpm[] = {21 static char const * resume_link_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "59 20 74 1", 24 24 "H c #C4E2E4", -
clientgui/res/skins/default/graphic/workunit_active_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *workunit_active_image_xpm[] = {21 static char const * workunit_active_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "16 16 103 2", 24 24 "Q c #C8F6C9", -
clientgui/res/skins/default/graphic/preferences_link_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *preferences_link_image_xpm[] = {21 static char const * preferences_link_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "81 20 115 2", 24 24 "& c #9CC2D4", -
clientgui/res/skins/default/graphic/cancel_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *cancel_button_xpm[] = {21 static char const * cancel_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "82 18 83 1", 24 24 "i c #44429C", -
clientgui/res/skins/default/graphic/background_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *background_image_xpm[] = {21 static char const * background_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "410 540 126 2", 24 24 "q c #E3FBBA", -
clientgui/res/skins/default/graphic/workunit_animation_background_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *workunit_animation_background_image_xpm[] = {21 static char const * workunit_animation_background_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "294 146 22 1", 24 24 "O c Black", -
clientgui/res/skins/default/graphic/advanced_link_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *advanced_link_image_xpm[] = {21 static char const * advanced_link_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "101 20 108 2", 24 24 "0 c #9CC2D4", -
clientgui/res/skins/default/graphic/attach_project_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *attach_project_button_xpm[] = {21 static char const * attach_project_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "81 18 235 2", 24 24 "aX c #99B8D2", -
clientgui/res/skins/default/graphic/connecting_indicator_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *connecting_indicator_image_xpm[] = {21 static char const * connecting_indicator_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "14 15 14 1", 24 24 " c Black", -
clientgui/res/skins/default/graphic/save_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *save_button_xpm[] = {21 static char const * save_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "82 18 95 2", 24 24 "k c #44429C", -
clientgui/res/skins/default/graphic/copy_all_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *copy_all_button_xpm[] = {21 static char const * copy_all_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "82 18 114 2", 24 24 "k c #44429C", -
clientgui/res/skins/default/graphic/cancel_clicked_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *cancel_clicked_button_xpm[] = {21 static char const * cancel_clicked_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "82 18 84 1", 24 24 "i c #44429C", -
clientgui/res/skins/default/graphic/close_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *close_button_xpm[] = {21 static char const * close_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "82 18 126 2", 24 24 "f c #44429C", -
clientgui/res/skins/default/graphic/dialog_background_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *dialog_background_image_xpm[] = {21 static char const * dialog_background_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "800 598 64 1", 24 24 "l c #E5FBC3", -
clientgui/res/skins/default/graphic/workunit_tab_area_background_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *workunit_tab_area_background_image_xpm[] = {21 static char const * workunit_tab_area_background_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "343 24 221 2", 24 24 "T. c #D4C6A4", -
clientgui/res/skins/default/graphic/attach_project_clicked_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *attach_project_clicked_button_xpm[] = {21 static char const * attach_project_clicked_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "81 18 235 2", 24 24 "aX c #99B8D2", -
clientgui/res/skins/default/graphic/copy_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *copy_button_xpm[] = {21 static char const * copy_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "82 18 95 2", 24 24 "g c #44429C", -
clientgui/res/skins/default/graphic/synchronize_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *synchronize_button_xpm[] = {21 static char const * synchronize_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "81 18 187 2", 24 24 "Q. c #4C53A7", -
clientgui/res/skins/default/graphic/save_clicked_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *save_clicked_button_xpm[] = {21 static char const * save_clicked_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "82 18 90 1", 24 24 "k c #44429C", -
clientgui/res/skins/default/graphic/project_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *project_image_xpm[] = {21 static char const * project_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "40 40 205 2", 24 24 "! c #E4C137", -
clientgui/res/skins/default/graphic/copy_all_clicked_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *copy_all_clicked_button_xpm[] = {21 static char const * copy_all_clicked_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "82 18 113 2", 24 24 "k c #44429C", -
clientgui/res/skins/default/graphic/messages_alert_link_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *messages_alert_link_image_xpm[] = {21 static char const * messages_alert_link_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "70 20 157 2", 24 24 "y. c #CC5A6C", -
clientgui/res/skins/default/graphic/close_clicked_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *close_clicked_button_xpm[] = {21 static char const * close_clicked_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "82 18 122 2", 24 24 "f c #44429C", -
clientgui/res/skins/default/graphic/spacer_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *spacer_image_xpm[] = {21 static char const * spacer_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "2 11 8 1", 24 24 " c Black", -
clientgui/res/skins/default/graphic/right_arrow_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *right_arrow_button_xpm[] = {21 static char const * right_arrow_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "20 20 201 2", 24 24 "w c #578887", -
clientgui/res/skins/default/graphic/copy_clicked_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *copy_clicked_button_xpm[] = {21 static char const * copy_clicked_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "82 18 93 2", 24 24 "g c #44429C", -
clientgui/res/skins/default/graphic/help_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *help_button_xpm[] = {21 static char const * help_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "18 18 58 1", 24 24 "0 c #6370B5", -
clientgui/res/skins/default/graphic/workunit_animation_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *workunit_animation_image_xpm[] = {21 static char const * workunit_animation_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "260 61 128 2", 24 24 " c Black", -
clientgui/res/skins/default/graphic/synchronize_clicked_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *synchronize_clicked_button_xpm[] = {21 static char const * synchronize_clicked_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "81 18 242 2", 24 24 "kX c #99B8D2", -
clientgui/res/skins/default/graphic/messages_link_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *messages_link_image_xpm[] = {21 static char const * messages_link_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "70 20 138 2", 24 24 "e c #9CC2D4", -
clientgui/res/skins/default/graphic/error_indicator_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *error_indicator_image_xpm[] = {21 static char const * error_indicator_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "69 20 46 1", 24 24 " c Black", -
clientgui/res/skins/default/graphic/workunit_gauge_background_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *workunit_gauge_background_image_xpm[] = {21 static char const * workunit_gauge_background_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "258 18 116 2", 24 24 "Q c #BADDE2", -
clientgui/res/skins/default/graphic/workunit_suspended_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *workunit_suspended_image_xpm[] = {21 static char const * workunit_suspended_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "16 16 103 2", 24 24 "Q c #C8F6C9", -
clientgui/res/skins/default/graphic/project_area_background_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *project_area_background_image_xpm[] = {21 static char const * project_area_background_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "343 113 32 1", 24 24 "@ c #B8E0E4", -
clientgui/res/skins/default/graphic/left_arrow_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *left_arrow_button_xpm[] = {21 static char const * left_arrow_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "20 20 157 2", 24 24 "h. c #709F9C", -
clientgui/res/skins/default/graphic/suspend_link_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *suspend_link_image_xpm[] = {21 static char const * suspend_link_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "59 20 71 1", 24 24 "r c #C4E2E4", -
clientgui/res/skins/default/graphic/right_arrow_clicked_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *right_arrow_clicked_button_xpm[] = {21 static char const * right_arrow_clicked_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "20 20 208 2", 24 24 "C c #90B7B1", -
clientgui/res/skins/default/graphic/help_clicked_button.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *help_clicked_button_xpm[] = {21 static char const * help_clicked_button_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "18 18 58 1", 24 24 "0 c #6370B5", -
clientgui/res/skins/default/graphic/workunit_area_background_image.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *workunit_area_background_image_xpm[] = {21 static char const * workunit_area_background_image_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "343 314 32 1", 24 24 ". c #333399", -
clientgui/res/macbadgemask.xpm
16 16 // along with BOINC. If not, see <http://www.gnu.org/licenses/>. 17 17 18 18 /* XPM */ 19 static char *macbadgemask[] = {19 static char const * macbadgemask[] = { 20 20 /* width height ncolors chars_per_pixel */ 21 21 "128 128 6 1", 22 22 /* colors */ -
clientgui/res/warning.xpm
1 1 /* XPM */ 2 static char *warning_xpm[] = {2 static char const * warning_xpm[] = { 3 3 /* columns rows colors chars-per-pixel */ 4 4 "48 48 9 1", 5 5 "@ c Black", -
clientgui/res/gridrepublic32.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *gridrepublic32_xpm[] = {21 static char const * gridrepublic32_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "32 32 212 2", 24 24 ":. c #3C4248", -
clientgui/res/gridrepublic16.xpm
18 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 /* XPM */ 21 static char *gridrepublic16_xpm[] = {21 static char const * gridrepublic16_xpm[] = { 22 22 /* columns rows colors chars-per-pixel */ 23 23 "16 16 158 2", 24 24 "s. c Black", -
clientgui/res/macdisconnectbadge.xpm
16 16 // along with BOINC. If not, see <http://www.gnu.org/licenses/>. 17 17 18 18 /* XPM */ 19 static char *macdisconnectbadge[] = {19 static char const * macdisconnectbadge[] = { 20 20 /* width height ncolors chars_per_pixel */ 21 21 "128 128 7 1", 22 22 /* colors */ -
clientgui/common/wxFlatNotebookImages.h
25 25 // Images used by the control 26 26 //////////////////////////////////////////////////////////// 27 27 /* XPM */ 28 static char *left_arrow_disabled_xpm[] = {28 static char const * left_arrow_disabled_xpm[] = { 29 29 /* width height num_colors chars_per_pixel */ 30 30 " 16 16 8 1", 31 31 /* colors */ … … 57 57 }; 58 58 59 59 /* XPM */ 60 static char *x_button_pressed_xpm[] = {60 static char const * x_button_pressed_xpm[] = { 61 61 /* width height num_colors chars_per_pixel */ 62 62 " 16 16 8 1", 63 63 /* colors */ … … 90 90 91 91 92 92 /* XPM */ 93 static char *left_arrow_xpm[] = {93 static char const * left_arrow_xpm[] = { 94 94 /* width height num_colors chars_per_pixel */ 95 95 " 16 16 8 1", 96 96 /* colors */ … … 122 122 }; 123 123 124 124 /* XPM */ 125 static char *x_button_hilite_xpm[] = {125 static char const * x_button_hilite_xpm[] = { 126 126 /* width height num_colors chars_per_pixel */ 127 127 " 16 16 8 1", 128 128 /* colors */ … … 154 154 }; 155 155 156 156 /* XPM */ 157 static char *x_button_xpm[] = {157 static char const * x_button_xpm[] = { 158 158 /* width height num_colors chars_per_pixel */ 159 159 " 16 16 8 1", 160 160 /* colors */ … … 186 186 }; 187 187 188 188 /* XPM */ 189 static char *left_arrow_pressed_xpm[] = {189 static char const * left_arrow_pressed_xpm[] = { 190 190 /* width height num_colors chars_per_pixel */ 191 191 " 16 16 8 1", 192 192 /* colors */ … … 218 218 }; 219 219 220 220 /* XPM */ 221 static char *left_arrow_hilite_xpm[] = {221 static char const * left_arrow_hilite_xpm[] = { 222 222 /* width height num_colors chars_per_pixel */ 223 223 " 16 16 8 1", 224 224 /* colors */ … … 250 250 }; 251 251 252 252 /* XPM */ 253 static char *right_arrow_disabled_xpm[] = {253 static char const * right_arrow_disabled_xpm[] = { 254 254 /* width height num_colors chars_per_pixel */ 255 255 " 16 16 8 1", 256 256 /* colors */ … … 282 282 }; 283 283 284 284 /* XPM */ 285 static char *right_arrow_hilite_xpm[] = {285 static char const * right_arrow_hilite_xpm[] = { 286 286 /* width height num_colors chars_per_pixel */ 287 287 " 16 16 8 1", 288 288 /* colors */ … … 314 314 }; 315 315 316 316 /* XPM */ 317 static char *right_arrow_pressed_xpm[] = {317 static char const * right_arrow_pressed_xpm[] = { 318 318 /* width height num_colors chars_per_pixel */ 319 319 " 16 16 8 1", 320 320 /* colors */ … … 347 347 348 348 349 349 /* XPM */ 350 static char *right_arrow_xpm[] = {350 static char const * right_arrow_xpm[] = { 351 351 /* width height num_colors chars_per_pixel */ 352 352 " 16 16 8 1", 353 353 /* colors */ … … 381 381 const int tab_x_size = 9; 382 382 383 383 /* XPM */ 384 static char *tab_x_button_pressed_xpm[] = {384 static char const * tab_x_button_pressed_xpm[] = { 385 385 /* width height num_colors chars_per_pixel */ 386 386 " 9 9 8 1", 387 387 /* colors */ … … 406 406 }; 407 407 408 408 /* XPM */ 409 static char *tab_x_button_xpm[] = {409 static char const * tab_x_button_xpm[] = { 410 410 /* width height num_colors chars_per_pixel */ 411 411 " 9 9 8 1", 412 412 /* colors */ … … 431 431 }; 432 432 433 433 /* XPM */ 434 static char *tab_x_button_hilite_xpm[] = {434 static char const * tab_x_button_hilite_xpm[] = { 435 435 /* width height num_colors chars_per_pixel */ 436 436 " 9 9 8 1", 437 437 /* colors */ -
client/client_msgs.h
45 45 46 46 extern std::deque<MESSAGE_DESC*> message_descs; 47 47 extern void record_message(class PROJECT *p, int priority, int now, char* msg); 48 extern void show_message(class PROJECT *p, char* message, int priority);48 extern void show_message(class PROJECT* p, char const * message, int priority); 49 49 50 50 // the __attribute((format...)) tags are GCC extensions that let the compiler 51 51 // do like-checking on printf-like arguments -
client/scheduler_op.h
90 90 struct USER_MESSAGE { 91 91 std::string message; 92 92 std::string priority; 93 USER_MESSAGE(char *, char*);93 USER_MESSAGE(char const * m , char const * p); 94 94 }; 95 95 96 96 struct SCHEDULER_REPLY { -
client/file_names.cpp
252 252 dir_close(dirp); 253 253 } 254 254 255 void get_account_filename(char * master_url, char* path) {255 void get_account_filename(char const * master_url, char* path) { 256 256 char buf[1024]; 257 257 escape_project_url(master_url, buf); 258 258 sprintf(path, "account_%s.xml", buf); … … 306 306 return true; 307 307 } 308 308 309 void get_statistics_filename(char * master_url, char* path) {309 void get_statistics_filename(char const * master_url, char* path) { 310 310 char buf[256]; 311 311 escape_project_url(master_url, buf); 312 312 sprintf(path, "statistics_%s.xml", buf); -
client/sim.h
277 277 void make_job(SIM_PROJECT*, WORKUNIT*, RESULT*); 278 278 void handle_completed_results(); 279 279 void get_workload(vector<IP_RESULT>&); 280 int parse_projects(char *);281 int parse_host(char *);280 int parse_projects(char const *); 281 int parse_host(char const *); 282 282 void simulate(); 283 283 bool scheduler_rpc_poll(); 284 284 bool simulate_rpc(PROJECT*); -
client/file_names.h
38 38 extern int remove_project_dir(PROJECT&); 39 39 extern int make_slot_dir(int); 40 40 extern void delete_old_slot_dirs(); 41 extern void get_account_filename(char * master_url, char* path);41 extern void get_account_filename(char const * master_url, char* path); 42 42 extern bool is_account_file(const char*); 43 43 extern bool is_statistics_file(const char*); 44 extern void get_statistics_filename(char * master_url, char* path);44 extern void get_statistics_filename(char const * master_url, char* path); 45 45 extern bool is_image_file(const char*); 46 46 47 47 extern void get_sched_request_filename(PROJECT&, char*, int len); -
client/main.cpp
91 91 // Display a message to the user. 92 92 // Depending on the priority, the message may be more or less obtrusive 93 93 // 94 void show_message(PROJECT *p, char* msg, int priority) {94 void show_message(PROJECT* p, char const * msg, int priority) { 95 95 const char* x; 96 96 char message[1024]; 97 97 time_t now = time(0); -
client/sim_util.cpp
64 64 65 65 int CLIENT_STATE::report_result_error(RESULT& , const char* , ...) {return 0;} 66 66 67 void show_message(PROJECT *p, char* msg, int priority) {67 void show_message(PROJECT* p, char const * msg, int priority) { 68 68 const char* x; 69 69 char message[1024]; 70 70 char* time_string = time_to_string(gstate.now); … … 514 514 return ERR_XML_PARSE; 515 515 } 516 516 517 int CLIENT_STATE::parse_projects(char * name) {517 int CLIENT_STATE::parse_projects(char const * name) { 518 518 char tag[256]; 519 519 bool is_tag; 520 520 MIOFILE mf; … … 545 545 return ERR_XML_PARSE; 546 546 } 547 547 548 int CLIENT_STATE::parse_host(char * name) {548 int CLIENT_STATE::parse_host(char const * name) { 549 549 MIOFILE mf; 550 550 551 551 FILE* f = fopen(name, "r"); … … 560 560 return 0; 561 561 } 562 562 563 bool boinc_is_finite(double x) { 564 #if defined (HPUX_SOURCE) 565 return _Isfinite(x); 566 return false; 567 #else 568 return finite(x); 569 #endif 570 } 563 bool boinc_is_finite(double x) { 564 #if defined (HPUX_SOURCE) 565 return _Isfinite(x); 566 return false; 567 #else 568 return finite(x); 569 #endif 570 } -
client/scheduler_op.cpp
846 846 return ERR_XML_PARSE; 847 847 } 848 848 849 USER_MESSAGE::USER_MESSAGE(char* m, char* p) { 850 message = m; 851 priority = p; 849 USER_MESSAGE::USER_MESSAGE(char const * m , char const * p) 850 : message(m), priority(p) { 852 851 } 853 852 854 const char *BOINC_RCSID_11c806525b= "$Id$";853 const char BOINC_RCSID_11c806525b[] = "$Id$"; -
db/boinc_db.cpp
1554 1554 file_delete_state = atoi(r[i++]); 1555 1555 } 1556 1556 1557 int DB_SCHED_RESULT_ITEM_SET::add_result(char * result_name) {1557 int DB_SCHED_RESULT_ITEM_SET::add_result(char const * result_name) { 1558 1558 SCHED_RESULT_ITEM result; 1559 1559 result.id = 0; 1560 1560 strcpy2(result.queried_name, result_name); … … 1625 1625 return 0; 1626 1626 } 1627 1627 1628 int DB_SCHED_RESULT_ITEM_SET::lookup_result(char * result_name, SCHED_RESULT_ITEM** rip) {1628 int DB_SCHED_RESULT_ITEM_SET::lookup_result(char const * result_name, SCHED_RESULT_ITEM** rip) { 1629 1629 unsigned int i; 1630 1630 for (i=0; i<results.size(); i++) { 1631 1631 if (!strcmp(results[i].name, result_name)) { -
db/db_base.cpp
39 39 mysql = 0; 40 40 } 41 41 42 int DB_CONN::open(char* db_name, char* db_host, char* db_user, char* dbpassword) { 42 int DB_CONN::open(char const * db_name, 43 char const * db_host, 44 char const * db_user, 45 char const * dbpassword) { 43 46 mysql = mysql_init(0); 44 47 if (!mysql) return ERR_DB_CANT_INIT; 45 48 #if MYSQL_VERSION_ID >= 50106 -
db/boinc_db.h
824 824 DB_SCHED_RESULT_ITEM_SET(DB_CONN* p=0); 825 825 std::vector<SCHED_RESULT_ITEM> results; 826 826 827 int add_result(char * result_name);827 int add_result(char const * result_name); 828 828 829 829 int enumerate(); 830 830 // using a single SQL query, look up all the reported results, 831 831 // (based on queried_name) 832 832 // and fill in the rest of the entries in the results vector 833 833 834 int lookup_result(char * result_name, SCHED_RESULT_ITEM** result);834 int lookup_result(char const * result_name, SCHED_RESULT_ITEM** result); 835 835 836 836 int update_result(SCHED_RESULT_ITEM& result); 837 837 int update_workunits(); -
db/db_base.h
67 67 class DB_CONN { 68 68 public: 69 69 DB_CONN(); 70 int open(char* name, char* host, char* user, char* passwd); 70 int open(char const * name, 71 char const * host, 72 char const * user, 73 char const * passwd); 71 74 int set_isolation_level(ISOLATION_LEVEL); 72 75 int do_query(const char*); 73 76 int affected_rows(); -
lib/str_util.h
38 38 extern void unescape_url(std::string& url); 39 39 extern void unescape_url(char *url); 40 40 extern void escape_url(std::string& url); 41 extern void escape_url(char *in, char*out);42 extern void escape_url_readable(char * in, char* out);43 extern void escape_project_url(char *in, char* out);44 extern bool valid_master_url(char *);41 extern void escape_url(char const * in, char* out); 42 extern void escape_url_readable(char const * in, char* out); 43 extern void escape_project_url(char const * in, char* out); 44 extern bool valid_master_url(char const* buf); 45 45 extern void canonicalize_master_url(char *url); 46 46 extern void canonicalize_master_url(std::string&); 47 47 #define safe_strcpy(x, y) strlcpy(x, y, sizeof(x)) -
lib/str_util.cpp
294 294 return argc; 295 295 } 296 296 297 static char x2c(char *what) {297 static char x2c(char const * what) { 298 298 register char digit; 299 299 300 300 digit = (what[0] >= 'A' ? ((what[0] & 0xdf) - 'A')+10 : (what[0] - '0')); … … 389 389 url = buf; 390 390 } 391 391 392 void escape_url(char *in, char*out) {392 void escape_url(char const * in, char* out) { 393 393 int x, y; 394 394 for (x=0, y=0; in[x]; ++x) { 395 395 if (isalnum(in[x])) { … … 440 440 // Escape a URL for the project directory, cutting off the "http://", 441 441 // converting everthing other than alphanumbers, ., - and _ to "_". 442 442 // 443 void escape_url_readable(char *in, char* out) {443 void escape_url_readable(char const * in, char* out) { 444 444 int x, y; 445 445 char *temp; 446 446 … … 500 500 501 501 // is the string a valid master URL, in canonical form? 502 502 // 503 bool valid_master_url(char * buf) {503 bool valid_master_url(char const * buf) { 504 504 char* p, *q; 505 505 size_t n; 506 506 bool bSSL = false; … … 591 591 return buf; 592 592 } 593 593 594 void escape_project_url(char *in, char* out) {594 void escape_project_url(char const * in, char* out) { 595 595 escape_url_readable(in, out); 596 596 char& last = out[strlen(out)-1]; 597 597 // remove trailing _ … … 879 879 return retval; 880 880 } 881 881 882 const char *BOINC_RCSID_ab90e1e= "$Id$";882 const char BOINC_RCSID_ab90e1e[] = "$Id$"; -
lib/filesys.cpp
718 718 // get total and free space on current filesystem (in bytes) 719 719 // 720 720 #ifdef _WIN32 721 int get_filesystem_info(double &total_space, double &free_space, char *) {721 int get_filesystem_info(double &total_space, double &free_space, char const *) { 722 722 char buf[256]; 723 723 boinc_getcwd(buf); 724 724 FreeFn pGetDiskFreeSpaceEx; … … 751 751 total_space = (double)dwTotalClusters * dwSectPerClust * dwBytesPerSect; 752 752 } 753 753 #else 754 int get_filesystem_info(double &total_space, double &free_space, char * path) {754 int get_filesystem_info(double &total_space, double &free_space, char const * path) { 755 755 #ifdef STATFS 756 756 struct STATFS fs_info; 757 757 … … 772 772 773 773 #ifndef _WIN32 774 774 775 int get_file_dir(char * filename, char* dir) {775 int get_file_dir(char const * filename, char* dir) { 776 776 char buf[8192], *p, path[256]; 777 777 struct stat sbuf; 778 778 int retval; … … 797 797 798 798 #endif 799 799 800 const char *BOINC_RCSID_636c8d709b= "$Id$";800 const char BOINC_RCSID_636c8d709b[] = "$Id$"; -
lib/app_ipc.h
236 236 } // extern "C" { 237 237 #endif 238 238 239 extern void url_to_project_dir(char * url, char* dir);239 extern void url_to_project_dir(char const * url, char* dir); 240 240 241 241 #endif 242 242 -
lib/synch.cpp
105 105 return 0; 106 106 } 107 107 108 int get_key(char * path, int id, key_t& key) {108 int get_key(char const * path, int id, key_t& key) { 109 109 key = ftok(path, id); 110 110 if (key == (key_t)-1) return ERR_FTOK; 111 111 return 0; 112 112 } 113 113 114 const char *BOINC_RCSID_9412b586d1= "$Id$";114 const char BOINC_RCSID_9412b586d1[] = "$Id$"; -
lib/app_ipc.cpp
403 403 return 0; 404 404 } 405 405 406 void url_to_project_dir(char * url, char* dir) {406 void url_to_project_dir(char const * url, char* dir) { 407 407 char buf[256]; 408 408 escape_project_url(url, buf); 409 409 sprintf(dir, "%s/%s", PROJECT_DIR, buf); -
lib/filesys.h
69 69 extern int file_size(const char*, double&); 70 70 extern int clean_out_dir(const char*); 71 71 extern int dir_size(const char* dirpath, double&, bool recurse=true); 72 extern int get_filesystem_info(double& total, double& free, char * path=const_cast<char *>("."));72 extern int get_filesystem_info(double& total, double& free, char const * path = "."); 73 73 74 74 // TODO TODO TODO 75 75 // remove this code - the DirScanner class does the same thing. … … 123 123 124 124 // search PATH, find the directory that a program is in, if any 125 125 // 126 extern int get_file_dir(char * filename, char* dir);126 extern int get_file_dir(char const * filename, char* dir); 127 127 128 128 #endif 129 129 -
lib/synch.h
24 24 extern int destroy_semaphore(key_t); 25 25 extern int lock_semaphore(key_t); 26 26 extern int unlock_semaphore(key_t); 27 extern int get_key(char * path, int id, key_t&);27 extern int get_key(char const * path, int id, key_t&); 28 28 29 29 #endif -
api/boinc_api.cpp
85 85 // Unless otherwise noted, "CPU time" refers to the sum over all episodes 86 86 // (not counting the part after the last checkpoint in an episode). 87 87 88 c onst char* api_version="API_VERSION_"PACKAGE_VERSION;88 char const api_version[] = "API_VERSION_" PACKAGE_VERSION; 89 89 static APP_INIT_DATA aid; 90 90 static FILE_LOCK file_lock; 91 91 APP_CLIENT_SHM* app_client_shm = 0; … … 167 167 static void block_sigalrm(); 168 168 static int start_worker_signals(); 169 169 170 char *boinc_msg_prefix() {170 char const * const boinc_msg_prefix() { 171 171 static char sbuf[256]; 172 172 char buf[256]; 173 173 … … 806 806 int pid; 807 807 #endif 808 808 GRAPHICS_APP(bool f) {fullscreen=f;} 809 void run(char * path) {809 void run(char const * path) { 810 810 int argc; 811 811 char* argv[4]; 812 812 char abspath[1024]; … … 1127 1127 } 1128 1128 #endif 1129 1129 1130 int boinc_send_trickle_up(char * variety, char* p) {1130 int boinc_send_trickle_up(char const * variety, char const * p) { 1131 1131 if (!options.handle_trickle_ups) return ERR_NO_OPTION; 1132 1132 FILE* f = boinc_fopen(TRICKLE_UP_FILENAME, "wb"); 1133 1133 if (!f) return ERR_FOPEN; -
api/texfont.cpp
159 159 } 160 160 161 161 162 static char *lastError;162 static char const * lastError = ""; 163 163 164 164 165 char *txfErrorString(void) {165 char const * const txfErrorString(void) { 166 166 return lastError; 167 167 } 168 168 -
api/reduce_lib.cpp
454 454 455 455 float w; 456 456 457 c onst char* x_label= "Time";457 char const x_label[] = "Time"; 458 458 #if 0 459 459 char* y_label = "Frequency"; 460 460 char* y_begin_label = "0"; -
api/mac_icon.cpp
52 52 return(e); } } 53 53 54 54 // Adds the specified resource to the file given as an argument. 55 int setMacRsrcForFile(char *filename, char *rsrcData, long rsrcSize,55 int setMacRsrcForFile(char const * filename, char *rsrcData, long rsrcSize, 56 56 OSType rsrcType, int rsrcID, StringPtr rsrcName) { 57 57 OSErr oserr; /* stores an OS error code */ 58 58 // FSSpec fsspec; /* FileSpec */ … … 207 207 // Adds icns resource to the file given as an argument. 208 208 // If the file is a soft link, also adds icns resource to the resolved flle. 209 209 // Typically called from a main() with argv[0] to attach resources to itself */ 210 int setMacIcon(char *filename, char *iconData, long iconSize) {210 int setMacIcon(char const * filename, char* iconData, long iconSize) { 211 211 char path[1024]; 212 212 StringPtr rsrcName = (StringPtr)"\pApplication icons"; 213 213 … … 215 215 boinc_resolve_filename(filename, path, sizeof(path)); 216 216 return(setMacRsrcForFile(path, iconData, iconSize, 'icns', RESIDICON, rsrcName)); 217 217 } 218 const char *BOINC_RCSID_112a101526="$Id$";218 const char BOINC_RCSID_112a101526[] = "$Id$"; -
api/boinc_api.h
75 75 extern int boinc_resolve_filename(const char*, char*, int len); 76 76 extern int boinc_get_init_data_p(struct APP_INIT_DATA*); 77 77 extern int boinc_parse_init_data_file(void); 78 extern int boinc_send_trickle_up(char * variety, char* text);78 extern int boinc_send_trickle_up(char const * variety, char const * text); 79 79 extern int boinc_checkpoint_completed(void); 80 80 extern int boinc_fraction_done(double); 81 81 extern int boinc_suspend_other_activities(void); … … 102 102 103 103 #ifdef __APPLE__ 104 104 extern int setMacPList(void); 105 extern int setMacIcon(char *filename, char *iconData, long iconSize);105 extern int setMacIcon(char const * filename, char* iconData, long iconSize); 106 106 #endif 107 107 108 108 #ifdef __cplusplus … … 120 120 extern int boinc_upload_file(std::string& name); 121 121 extern int boinc_upload_status(std::string& name); 122 122 extern int boinc_write_init_data_file(APP_INIT_DATA&); 123 extern char *boinc_msg_prefix();123 extern char const * const boinc_msg_prefix(); 124 124 extern int suspend_activities(); // deprecated 125 125 extern int resume_activities(); // deprecated 126 126 extern int restore_activities(); //deprecated -
api/texfont.h
61 61 TexGlyphVertexInfo **lut; 62 62 } TexFont; 63 63 64 extern char *txfErrorString(void);64 extern char const * const txfErrorString(void); 65 65 66 66 extern TexFont *txfLoadFont(const char *filename); 67 67