2001-01-18 Dietmar Maurer * bonobo-application-x-mines.c: use the new factory macros. * Bonobo_Sample_Mines.oaf: changed oaf IIDs to OAFIID:Bonobo_Sample_Mines_Factory and OAFIID:Bonobo_Sample_Mines 2001-01-16 Dietmar Maurer * bonobo-application-x-mines.c (init_simple_mines_factory): (init_simple_mines_factory): use the new unref code. 2000-11-05 Fatih Demir * .cvsignores: Added bonobo-application-x-mines-ui.xml.h. 2000-10-26 Michael Meeks * bonobo-application-x-mines-ui.xml: add for Kenneth. 2000-10-17 Michael Meeks * Makefile.am (INCLUDES): severely prune. * bonobo-application-x-mines.c (control_create_menus): embed the XML inside the file. 2000-10-15 Kjartan Maraas * Makefile.am: Fix it up some more. 2000-10-13 Kjartan Maraas * Makefile.am: Add rule to make .h file from the .xml ui description. 2000-10-10 Martin Baulig * Makefile.am (EXTRA_DIST): Added bonobo-application-x-mines-ui.xml. 2000-10-09 Martin Baulig Convert this from BonoboEmbeddable to BonoboControl. * bonobo-application-x-mines-ui.xml: New file. * application-x-mines.gnorba: Removed. 2000-10-09 Michael Meeks * bonobo-application-x-mines.c (view_factory), (embeddable_factory, view_new_game_cb): remove NewGame verb. 2000-09-21 Michael Meeks * bonobo-application-x-mines.c (view_create_menus): upd. 2000-08-02 Michael Meeks * bonobo-application-x-mines.c (view_create_menus): unref the remote_uih after setting container. 2000-07-12 Michael Meeks * bonobo-application-x-mines.c (embeddable_system_exception_cb), (view_system_exception_cb): don't use bonobo_object_destroy; doh. (main): add shutdown. (embeddable_factory): bonobo_object_unref. 2000-07-05 Michael Meeks * bonobo-application-x-mines.c (save_board): simplify. (load_board): update. 2000-07-03 Michael Meeks * bonobo-application-x-mines.c (load_board): robustify. 2000-06-28 Darin Adler * components/application-x-gnomine/bonobo-application-x-mines.c: (view_load_game_ui_cb): Renamed to make it compile. I hope Michael won't be mad at me for not posting a patch to gnome-components-list! 2000-06-28 Michael Meeks * bonobo-application-x-mines.c (view_create_menus): adapt to a File/Placeholder (load_new_game_ui_cb): stub. 2000-06-23 Michael Meeks * bonobo-application-x-mines.c (load_board): fix stupid error. 2000-06-21 Michael Meeks * bonobo-application-x-mines.c (view_destroy_cb): kill redundant widget destroy; the GtkWidget will get destroyed with the socket. 2000-05-26 Dan Winship * bonobo-application-x-mines.c (load_board, save_board, content_types): Update PersistStream implementations. 2000-05-25 Iain Holmes * bonobo-application-x-mines.c (view_create_menus): kill caption on toolbar item. 2000-05-18 Iain Holmes * bonobo/bonobo-uih-toolbar.c (toolbar_toplevel_item_set_pixmap_internal): Get the toolbar widget instead of the button. 2000-05-18 Iain Holmes * bonobo-application-x-mines.c (view_factory): Connect to game signals to change the face. (view_new_game_ui_cb): Change the face in the toolbar. * minefield.c (_setup_sign): Remove Imlib and use GdkPixbuf 2000-05-17 Iain Holmes * bonobo-application-x-mines.c (view_create_menus): Create a toolbar too. 2000-05-13 Iain Holmes * bonobo-application-x-mines.c: Keep track of the number of running objects and quit when there are none left. 2000-05-05 Michael Meeks * bonobo-application-x-mines.c (load_board): robustify. (view_create_menus): calm debug. (view_activate_cb): ditto. 2000-05-05 Michael Meeks * bonobo-application-x-mines.c (view_destroy_cb): Something well odd is happening here. Destruction needs carefuly tracing. 2000-05-02 Michael Meeks * bonobo-application-x-mines.c (load_board): sort logic. (save_board): ditto + add newlines. * minefield.c (minefield_get_at): set blank state. 2000-05-02 Michael Meeks * minefield.c (minefield_set_at, minefield_get_at): implement. * bonobo-application-x-mines.c (embeddable_factory): bind PersistStream. (save_board, load_board): Implement. 2000-02-16 Nat Friedman * bonobo-application-x-mines.c (view_factory): Don't create/set the UIHandler, as this happens automatically now. 2000-02-02 Michael Meeks * bonobo-application-x-mines.c (view_factory): rename view_activate to activate. 2000-01-26 Havoc Pennington * bonobo-application-x-mines.c: include GNORBA 1999-12-07 Michael Meeks * bonobo-application-x-mines.c (embeddable_update_all_views): Kill redundant GList var. (view_size_query_cb): kill; defunct. (view_factory): ditto. 1999-09-29 Michael Meeks * Makefile.am: Fix so it doesn't need bonobo already installed; sorry. 1999-09-22 Michael Meeks * minefield.c (gtk_minefield_draw): staticify. (init_random, get_random, gtk_minefield_cleanup): ditto. * Makefile.am: Added bonobo component * bonobo-application-x-mines.c: Created. * minefield.[ch]: Make document view :-) * gnomine.c: use doc. view stuff. 1999-03-12 Ian Peters * gnomine.c (about): Now can only create one about dialog, which is set_parented to the main window 1999-03-12 Ian Peters * gnomine.c (lots of stuff): Moved gnomine to use a propbox for configuration. 1999-02-13 Ian Peters * gnomine.c (verify_ranges): Fixed a coding typo - it was checking the xsize twice, instead of the xsize and the ysize in a custom board. 1999-02-06 Federico Mena Quintero * gnomine.c (about): Fixed a Fundation -> Foundation typo and copyright date. 1999-01-26 Miguel de Icaza * gnomine.c: Kill file menu. 1999-01-09 Nat Friedman * gnomine.c (main): Install an appbar. Setup menu hints. Not quite working. Standardized the menus. 1999-01-01 Callum McKenzie * gnomine.c (marks_changed): Call gtk_clock_start. 1999-01-02 Callum McKenzie * minefield.c: Resizing now works properly. All public functions check their arguments. * minefield.h: Removed the global variable minesize (it was evil). * gnomine.c: More fixes to get resizing working properly. 1999-01-01 Callum McKenzie * gnomine.c (marks_changed): Call gtk_clock_start. 1999-01-01 Callum McKenzie * gnomine.c (marks_changed): Call gtk_clock_start. 1998-11-28 Herbert Valerio Riedel * gnomine.c: added GPOINTER_TO_INT / GINT_TO_POINTER Mon Nov 23 15:10:07 EST 1998 Gregory McLean * minefield.c : GTK_BASIC got removed from gtk, ifdef'd this one out as I'm not sure what replaces it. 1998-11-22 Carsten Schaar * gnomine.c (main): 'gnome_new_default_client' replaced by 'gnome_master_client'. 1998-09-24 Miguel de Icaza * gnomine.c: Added shortcut support. 1998-07-25 Nuno Ferreira * gnomine.desktop: Added Portuguese translation. 1998-06-24 Raja R Harinath * gnomine.c (setup_game): Use new API for GtkSpinButton. 1998-05-29 Kjartan Maraas * gnomine.c: Fixed scores getting better as time goes. No more "waiting for a new hiscore" :-) 1998-05-24 Kjartan Maraas * Makefile.am: New scorefiles gnomine.[Tiny,Medium,Biiiig].scores * gnomine.c: Made scores work in all modes. 1998-05-17 Timo Sirainen * minefield.c: Marking two mines fast resulted as doubleclick and didn't work right * minefield.c: Changed multi press behaviour so that it always displays what squares are about to be pressed * minefield.c: Mine is now marked directly when button is pressed down * minefield.c: You can't win anymore by marking mines to all squares. Also, you can win now when there's only left same amount of unopened and unmarked mines like you don't really have to mark any mines to win :) * minefield.c: The previous fix "multi show didn't work if pressed over marked mine" wasn't actually good idea, removed.. * minefield.c: Colors of mines 4-8 changed * minefield.c: Opened mines have now thin borders, I think this is somewhat clearer :) and bigger fonts can be used. * minefield.c: Square presses follow now mouse. * gnomine.c: Because of above, I removed the "off release" option since it didn't have anything to do anymore.. * gnomine.c: Minefield sizes changed to same as other minesweepers have 1998-05-10 Timo Sirainen * minefield.c: multi show didn't work if pressed over marked mine * minefield.c: left+right button works as multi show (like middle) * gnomine.c: New option to let mouse button be released off the square it was pressed in. * minefield.c: Implemented the above 1998-04-24 Federico Mena Quintero * minefield.c (gtk_minefield_draw): Fixed off-by-one mine repainting bug. 1998-04-16 Miguel de Icaza * gnomine.c: Add range verification. Sun Mar 8 19:51:20 1998 Tom Tromey * Makefile.am (INCLUDES): Added GNOME_INCLUDEDIR. Sat Mar 7 22:26:22 1998 Tom Tromey * gnomine.c (parse_an_arg): New function. (parse_args): Removed. (options): New structure. (parser): Likewise. 2018-03-02 Federico Mena Quintero * gnomine.c (main): Now the minefield is created with the correct visual and colormap. * minefield.c (_setup_sign): Now the image is only used here. * minefield.h: Removed image field from sign structure. 1998-02-28 Arturo Espinosa * gnomine.c: Using a spinbutton for the properties dialog. 1998-02-26 Arturo Espinosa * minefield.[ch]: The bitmaps for the flags and the mines are now scaled. 1998-02-26 Arturo Espinosa * gnomine.c (main): Removed unused variable mfieldbox. * minefield.c: Changed the type of the secs variable to time_t, as it was not being 64-bit clean. It was overwriting the minefield_signals[0] and that's why there were warnings from Gtk. 1998-02-26 Arturo Espinosa * minefield.c: Moved signals enum to this file. * minefield.h: Added sign structure to unclutter the GtkMineField struct. * minefield.c (gtk_mine_draw): Mines and flags are now centered. * minefield.c (gtk_mine_draw): Added flag mask declaration. * flag.xpm mine.xpm: Pixmaps are sharper now. * face*.xpm: Fixed faces transparencies. 1998-02-26 Arturo Espinosa * minefield.c (gtk_minefield_set_mines): font position is forced by setting numstr[0].gc to zero. 1998-02-26 Arturo Espinosa * minefield.c (gtk_minefield_expose): Now the size of the font is proportional to minesize. 1998-02-26 Arturo Espinosa * gnomine.c (main): Using new scores stock pixmap and the stock buttons for OK & CANCEL 1998-02-26 Arturo Espinosa * gnomine.c (main): Help is right-justified. Tue Feb 25 23:10 1998 Arturo Espinosa * gnomine.c (main): now minefield is always centered. Tue Feb 25 23:10 1998 Arturo Espinosa * gnomine.c (main): using gnome_pixmap_new_from_xpm_d instead of gnome_create_pixmap_widget_d Tue Feb 17 21:50:19 1998 Miguel de Icaza * gnomine.c (main): Remove spurious call to gtk_init 1998-02-19 Federico Mena Quintero * gnomine.c (main): Added app_id "gnomine". 1998-02-16 Federico Mena Quintero * minefield.c: Modified the GtkMineField widget to use a GdkColorContext for color allocation instead of the old (broken! stupid! brain-dead!) gnome-colors stuff :-) Donnie Barnes : * Added resizing of squares Mon Feb 16 19:58:06 KST 1998 Changwoo Ryu * Makefile.am (INCLUDES): Define GNOMELOCALEDIR. * gnomine.c (main): Added bindtextdomain(). 1998-02-14 Carsten Schaar * gnomine.c (save_state): Changed to use new SM support. (parse_args): Changed to use new SM support Sat Feb 14 09:27:05 1998 Tom Tromey * Makefile.am (gnomine_LDADD): Added INTLLIBS. (Games_DATA): New macro. (install-data-local): Don't install gnomine.desktop. 1998-02-07 Raja R Harinath * Makefile.am (install-data-local): Install game `setgid' only if chown to `games' succeeded. Mon Feb 2 23:50:12 EST 1998 Nathan Bryant * Makefile.am: install gnomine setgid games. Mon Feb 2 22:08:05 EST 1998 Nathan Bryant * gnomine.c: added gnome_score_init Fri Jan 30 13:26:55 1998 Tom Tromey * programs/gnomine/gnomine.c (about): Don't return a value. 1998-01-28 Raja R Harinath * Makefile.am: Misc. fixes. Tue Jan 27 13:57:26 1998 Federico Mena * Makefile.am (install-data-local): Updated installation of .desktop files. Tue Jan 27 21:03:01 ART 1998 Horacio J. Peņa * gnomine.c: Disable i18n of fsize2names. Tue Jan 27 13:59:41 ART 1998 Horacio J. Peņa * gnomine.c: Added Help menu and About dialog. Tue Jan 27 03:56:10 ART 1998 Horacio J. Peņa (n.) * Makefile.am: Creates $(scoredir)/gnomine.scores 1998-01-26 Mark Galassi * Makefile.am (LDADD): added $(DL_LIB) since these are now required for any user of libgnome.a. Sun Jan 25 23:38:30 1998 Miguel de Icaza * gnomine.c: Replaced "Quit" with "Exit". Tue Jan 27 09:00:32 1998 Changwoo Ryu * gnomine.c: include (main): call textdomain(). (main): make it translate static strings, `mainmenu', `gamemenu', and `fsize2names' (some tricky). gnomine is i18ned... Wed Jan 21 20:11:45 1998 Miguel de Icaza * gnomine.c (show_scores): Use simplified `gnome_scores_display' routine. Wed Jan 21 01:18:34 1998 Federico Mena * gnomine.c (show_scores): cast hs to GNOME_SCORES. Wed Jan 21 00:41:27 1998 Federico Mena * gnomine.c (top_ten, win_game): Replace snprintf with g_snprintf. Sun Jan 18 11:17:27 1998 Tom Tromey * gnomine.c (gamemenu, mainmenu): Use `N_' macro, not `_' macro. (session_id): New global. (nstr): New function. (save_state): New function. (parse_args): New function. Sun Jan 18 03:10:15 1998 Horacio J. Peņa (n.) (Warning: All this changes have a lot of memory leaks.) * gnomine.c: (fsize2names): new global array. Used in top_ten and win_game. (show_scores): New function. (top_ten): New function. (win_game): New way of computing score. Replaced messagebox with a call to show_scores. Wed Jan 14 12:44:20 1998 Miguel de Icaza * gnomine.c: Internationalization changes. Fri Jan 2 14:53:14 1998 Federico Mena * gnomine.c: Removed some unused variables. Sun Dec 7 12:05:25 1997 Tom Tromey * Makefile.am (gnomine_LDADD): Added x_libs.