2004-03-06 Callum McKenzie * gnomine.c: * minefield.c: * minefield.h: Add a "hint_used" signal to the minefield widget so that we can adjust the score before a potential win. This is the fix for bug #136207 which does the least damage to the program model. 2004-03-02 Callum McKenzie * minefield.c: Explicitly use cell_idx rather than the explicit conversion functions. Added some warnings to try and pick up on #119043. 2004-03-01 Callum McKenzie * minefield.c (gtk_mine_draw): Drawing fixes. A patch thanks to ed@catmur.co.uk (bug #135615). Also removed some redundant code. (gtk_minefield_multi_release): Fixed the long-standing "incorrect counts" bug (#103125), multi release wasn't checking whether the mines were shown or not. (gtk_mine_draw): Solved a drawing problem where the cleared mines weren't being drawn if they were auto-cleared. The gorilla theme really higlighted this. (gtk_mine_draw): Add a warning to guard against a bug I suspect is still there. 2004-02-16 Callum McKenzie * minefield.c (gtk_minefield_setup_numbers): Dynamically adjust the font size to take care of whatever scaling pango is using today. This is otherwise known as "an ugly hack". 2004-02-11 Callum McKenzie * gnomine.c (about): translator_credits -> translator-credits. 2004-02-09 Callum McKenzie * gnomine.c: Adjusted the hint sensitivity patch again: make it work in the fresh-game situation. It's not very helpful, but it does make sense. 2004-02-08 Callum McKenzie * gnomine.c: Minor changes to Richard's patch. Future-proofing (centralising the location of the hint array offset) and reducing the textural size of the if statement so that it visually matches it's importance in the routine. All in all, less than this explanation. 2004-02-07 Richard Hoelscher * gnomine.c (focus_out_cb, resume_game_cb, show_face): Made the hint item insensitive when we're in "hide" mode, when the game is over, and before a new game. * minefield.c (_setup_sign): Remove unused variable. (gtk_minefield_hint): Fixed hints in non-square minefields. 2004-01-29 Callum McKenzie * gnome-gnomine.png: New graphic from Richard Hoelscher to fit in with the "nautical" theme we've decided on. 2004-01-24 Callum McKenzie * Makefile.am: * minefield.c: * flag.svg: * mine.svg: * flag-question.svg: * flag.png: * mine.png: * flag-question.png: Replace the png graphics with SVG ones courtesy of Richard Hoelscher. * minefield.h: * minefield.c: Moved over the using pixbufs for the flags and mines. This means a lot more client-server traffic until we cache the results in pixbufs. However the iamge quality improvement is immense. 2003-11-05 Callum McKenzie * gnomine.c (main): Teaks to the main window to make it more aesthetically pleasing. 2003-11-04 Callum McKenzie * minefield.c (gtk_minefield_toggle_mark): Removed an impossible-to-satisfy game-over check. Also limit the number of possible flags planted to be the same as the number of mines. This removes another odd-ball case where the player becomes confused (see bug #103125). * gnomine.c (main): Repackage the status bar to stop the "shuffling widgets" effect from the timer. 2003-10-30 Callum McKenzie * Makefile.am: Removed *_DISABLE_DEPRECATED. 2003-10-21 Callum McKenzie * Makefile.am (install-data-local): Change the way gconf files are installed. This should improve things for people building outside the source tree. Also consolidated the score file list under a variable. See bug #123192. 2003-10-12 Callum McKenzie * minefield.c (gtk_mine_draw): Convert the drawing functions to use gtk_paint_* more. Also made the cleared and uncleared cells use different GTK_STATEs to make them easier to distinguish (bug 122969). * gnomine.c: Documented the undocumented command-line options. 2003-09-17 Callum McKenzie * gnomine.c (main): Removed old i18n code that wasn't necessary and was crashing on Solaris. 2003-08-28 Callum McKenzie * minefield.c (gtk_minefield_hint): Updated some comments, added a lymeric. 2003-08-27 Callum McKenzie * minefield.c (gtk_minefield_hint): Complete rewrite to make the selection far more random. 2003-08-26 Callum McKenzie * minefield.c (gtk_minefield_hint): Rewritten to be a 3-phase scheme. It uses Juhani Heino's code to first do a check for squares which are both near a mine *and* an uncleared square to try and give the player a bit of a hand when they are stuck with ambiguous hints. Unfortunately this highlights a failing with the previous algorithm where the location of the revealed tile is heavily influenced by the geometry of the revealed squares (e.g. the revealed square is highly likely to be at the bottom right of the revealed area. 2003-08-12 Callum McKenzie * minefield.c: * minefield.h: Take the random number generator out of _randomize and make it a property of the widget. * minefield.h: * gnomine.c: Added support for giving a hint. If possible a spot adjacent to a mine is cleared and a ten-second penalty is imposed. If not then a helpful (?) message is given. This was suggested by Juhani Heino . 2003-08-11 William Jon McCann * gnomine.c: * minefield.c: Added license header comments. * gnomine.c (new_game): Make the game window stay the same size when the dimensions of the field change. 2003-08-10 Callum McKenzie * Makefile.am (install-data-local): Make a little more compatible with automake-1.7. 2003-07-27 Callum McKenzie * minefield.c (gtk_minefield_init): Made the assignments from Steve's patch slightly more explicit. This is just a matter of style and pedanticism. 2003-07-24 Steve Chaplin * minefield.h: Add a field to struct _Sign to hold a pixbuf. * minefield.c (_setup_sign): Check for error when reading pixbuf. Read each pixbuf from file just once, not at every expose event. (gtk_minefield_init): Initialise the pixbuf pointers, 2003-07-22 Callum McKenzie * gnomine.desktop.in (_Comment): Typo, see bug #117235. 2003-07-16 William Jon McCann * minefield.c (gtk_minefield_size_allocate): ANSI C build fix. 2003-07-09 Callum McKenzie * gnomine.desktop.in: Update name to fit HIG (bug 116916). 2003-07-08 Callum McKenzie * gtkmfframe.c: * gtkmfframe.h: Removed since they are unnecessary. * gnomine.c (new_game): Add a conditional on the resizing code so the window is only resized if the grid size changes, this prevents unexpected window shrinkage when starting a new game and there was some space around the grid. * Makefile.am (gnomine_SOURCES): Removed the now unnecessary auxiliary widget files. * minefield.c (gtk_minefield_size_allocate): Let the minefield widget deal with the details of it's own size, the container only makes sure nothing stupid happens. * minefield.c (_setup_sign): Scale the pixmaps as per Jon's suggestion. 2003-07-07 Steve Chaplin * minefield.c (gtk_minefield_size_request): Make the size request for the minimum size, to allow the widget to be reduced in size. (gtk_minefield_init): Remove lines setting requisition width and height - this is the job of gtk_minefield_size_request(). (gtk_minefield_setup_numbers): Call from gtk_minefield_expose () only, delete other calls to this function. Return immediately if the number size is already set correctly. (gtk_minefield_size_allocate): Accept the size allocation given, the frame widget that the minefield is inside will make sure its the correct size. (gtk_minefield_set_mines): Deleted - minesize no longer needs to be set and mcount can be set in one line of code. * minefield.h: Remove declaration of gtk_minefield_set_mines(). Remove MINESIZE_MAX - the minesize is now dependant on the size of the application window. * gnomine.c Add gconf keys for window width and height. Move MINESIZE_MIN, MINESIZE_MAX to minefield.h so that minefield.c can use them also. Increase MINESIZE_MIN from 2 to 12, I think it should probably go even larger. Remove KEY_MINESIZE, minesize is now set by sizing main window. (main): Comment out "configure_event". Read in window width and height from gconf and set default window size. Put the minefield inside the new frame widget. Remove the GtkAlignment that holds the vbox, its no longer required. (configure_cb): Remove function, not required any more. (quit_game): Save current window size to gconf. (new_game): Save the mine square size and use it to resize the window after starting the new game. (setup_mode): Call from new_game() only, remove all other calls to setup_mode(). Substitute setup_mode() code into new_game() and delete setup_mode() (gconf_key_change_cb): Delete calls to gtk_minefield_set_size() and gtk_minefield_set_mines() since they are both called now by new_game() Add range check for fsize. Remove KEY_MINESIZE section. (verify_ranges): Add range check for fsize. Remove minesize. (resume_game_cb): Show 'mf_frame' not 'mfield'. (focus_out_cb): Hide 'mf_frame' not 'mfield', simplify function. (create_preferences): Remove minesize spinbutton. (minesize_spin_cb): Delete, minesize is now controlled by resizing the main window. * Makefile.am (gnomine_SOURCES): Update to use the two new files. * gtkmfframe.h: * gtkmfframe.c: New files that define a widget derived from GtkFrame that resizes the minefield. 2003-07-05 Steve Chaplin * gnomine.c (nstr): Remove and substitute the one line of code directly into save_state(). (save_state): Use g_free () instead of free (). 2003-07-04 Callum McKenzie * gnomine.c (main): Reinstate window resizing now that the public release has been made. 2003-07-02 Callum McKenzie *. gnomine.c (main): Disabled window resizing for the 2.3.4 release because it doesn't quite work right (sorry Steve, didn't get the fixes done in time). 2003-06-29 Steve Chaplin * minefield.c (gtk_minefield_randomize): Replace the randomize routine with the glib randomize functions. (gtk_minefield_restart): Remove the call to init_random(), clear the mines but do not set new mines, leave that to gtk_minefield_randomize(). (init_random): Delete unused function. (get_random): Delete unused function. (gtk_minefield_draw): Move draw routines to gtk_minefield_expose() and remove the function. The draw method is now deprecated, the preferred solution is to call gtk_widget_queue_draw() and let gtk__expose do the drawing. (gtk_minefield_lose): Replace gtk_minefield_draw() call with gtk_widget_queue_draw(). 2003-06-24 Steve Chaplin * gnomine.c (create_preferences): New function to create preferences dialog, but not display it. (preferences_callback): Call create_preferences() to create the preferences dialog, if it does not already exist. (configure_cb): Allow user to manually increase the minesize. It uses the preferences spin button to keep the preferences minesize value in sync with the real minesize value. (main): Make main window resizable. (gconf_key_change_cb): Shrink the main window when the minefield reduces in size. (new_game): Uncommented gtk_widget_show(minefield) because if you are playing a game and open preferences - the "Press to resume" button pops up. If you change the field size, the minefield remains hidden and is not displayed. (main): Shrink the main window to recover the space that ralign was usin before it was hidden. 2003-06-24 Callum McKenzie * Makefile.am (install-data-local): Give the high score files the correct permissions. 2003-06-22 Callum McKenzie * minefield.c: Tweaks to Steve's work to remove one unnecessary redraw and one or two other minor things. 2003-06-21 Steve Chaplin * minefield.c (gtk_minefield_unrealize): Remove unused variable. (gtk_mine_draw): Ignore a request to draw a mine outside the minefield. (gtk_minefield_draw): x2, y2 changed to fix array indexing bug. (gtk_minefield_expose): Remove unused variables. (gtk_minefield_new): Simplify and move some code to gtk_minefield_init(). (_setup_sign): replace deprecated gdk_pixbuf_unref (); * minefield.h (GTK_TYPE_MINEFIELD): make GTK_* macros consistent with the GTK source files. * gnomine.c (about): replace deprecated gdk_pixbuf_unref (); 2003-06-17 William Jon McCann * minefield.c: * gnomine.c: Fixed compiler warnings. 2003-06-12 Callum McKenzie * gnomine.c: Fixed silly bug where the face didn't change. It helps to hid them all first. * gnomine.c: * gnomine.schemas.in: Fix up Stephen's patch since we don't use question marks anymore. Also default to disabled since I have never, ever, seen anyone use them. 2003-06-12 Stephen Depooter * minefield.h: * minefield.c: * gnomine.schemas.in * gnomine.c: Added preference to use question marks or not. The default is to have them enabled. 2003-06-11 Callum McKenzie * gnomine.c : i18n fixes from Christian Neumair (bug #114875). 2003-06-10 William Jon McCann * gnomine.c: HIG fixes for preferences dialog. Moved flags status and clock to appbar. 2003-06-09 William Jon McCann * gnomine.c: Removed separator from dialogs as in HIG. 2003-06-05 William Jon McCann * Makefile.am (install-data-local): Only install schemas if they are requested. 2003-05-31 Callum McKenzie * Makefile.am (install-data-local): Implement setgid modifications (see gnome-games/ChangeLog). Also undo the score directory changes. It breaks more than it fixes. 2003-05-30 Callum McKenzie * Makefile.am (scoredir): Changed score directory to fix bug #113968. 2003-05-28 Callum McKenzie * gnomine.c: Use gtk_window_present for displaying dialogs. Fixes bug #113893, thanks to Steve Chaplin. 2003-05-21 Callum McKenzie * gnomine.c (preferences_callback): Fixed code to make translation easier, fixes bug #113395. 2003-05-18 Callum McKenzie * Makefile.am (EXTRA_DIST): Fixups so make distcheck works. 2003-05-14 Callum McKenzie * Makefile.am: Moved the icon into here from the gnome-desktop module. 2003-05-12 Callum McKenzie * minefield.c (gtk_mine_draw): Added a dotted line to the background grid to increase contrast. Amusingly high-contrast was the worst case with the old line-style. See bug #97732. Thanks go to Feiyun Wang for suggesting the solution and to Jonathan Blandford who suggested using a stipple. (gtk_minefield_check_field): Applied the patch in bug #97524, a minor optimisation. 2003-05-07 Callum McKenzie * gnomine.c (fix_nmines): Added code to ensure that the number of mines is never greater than the number of cells. Fixes bug #97229. * Makefile.am (install-data-local): Update the names of any old high score files. High scores should work again. * gnomine.c: Added dodgy code to ensure that the window doesn't shrink when it looses focus and displays the "press here" message. Fixes bug #83317. 2003-04-30 Abel Cheung * ChangeLog: Convert to UTF-8. 2003-03-10 Ross Burton * flag.png, flag-question.png, mine.png: New icons from Jimmac. * flag-*.(gif|xpm): Removed, replaced by above. * minefield.c: Open the field PNGs instead of embedding XPMs. * Makefile.am: Install the new images. 2002-12-17 Ross Burton * Makefile.am (schema_in_files): Fix the schema path. 2002-12-11 Ross Burton * minefield.c: Small changes to try and draw the labels at a sensible size. Closes #100796. 2002-11-29 Ross Burton * Makefile.am (EXTRA_DIST): Put the source of the schemas in the dist, not the generated files. 2002-11-25 Ross Burton * Makefile.am: Fixed the GConf install location, thanks to Loz . Closes #99393. 2002-11-18 Fernando Herrera * gnomine.desktop.in: add X-GNOME-BUGZILLA stuff 2002-10-16 Ross Burton * gnomine.c: Re-write of the Preferences code. It's now instant apply, has a clearer interface, etc etc. Closes #94873. Also did a global s/Gnome/GNOME/ replacement. * minefield.c (gtk_mine_draw): Cast to PangoLayout to prevent warnings from Pango. 2002-08-23 Ross Burton * gnomine.c: Enable the high scores dialog. Patch from Andrew Sobala , fixing #84235. 2002-06-19 Ross Burton * gnomine.c (about): Load the image from the application pixmap path, not the system path. 2002-06-09 Juan Pablo Mendoza * gnomime.c (image_widget_setup): Find the images on the correct location. 2002-06-03 Bastien Nocera * gnomine.c: made help work 2002-05-26 Chris Lyttle * help/C/Makefile.am: updated for docs move * help/C/gnome-mines-C.omf: delete for docs move * help/C/gnome-mines.xml: delete for docs move * help/C/gnomine-C.omf: add for docs move * help/C/gnomine.xml: add for docs move 2002-05-05 Chris Lyttle * help/C/Makefile.am: updated for new format of SK 0.3.8. * help/C/gnome-mines-C.omf: updated for new format of SK 0.3.8. 2002-04-20 Bastien Nocera * Makefile.am: * gnomine.c: (set_flabel), (new_game), (preferences_callback), (nstr), (main): * minefield.c: (_setup_sign), (gtk_mine_draw), (gtk_minefield_lose), (gtk_minefield_win), (gtk_minefield_toggle_mark), (gtk_minefield_button_press), (gtk_minefield_button_release), (gtk_minefield_class_init), (gtk_minefield_new), (gtk_minefield_get_type), (gtk_minefield_restart): * minefield.h: ported to GObject, fixed resize bug, it's now fully ported to Gnome2 2002-04-19 Bastien Nocera * Makefile.am: * gnomine.c: (image_widget_setup), (about), (size_radio_callback), (apply_cb), (preferences_callback), (main): * minefield.c: (gtk_minefield_expose), (gtk_minefield_restart): one step closer to gnome2 porting (removed GnomePropertyBox, gnome_config_*, gnome_pixmap_*) 2002-04-19 Bastien Nocera * gnomine.c: (about), (main): remove ENABLE_NLS, add nice icon * minefield.c: (gtk_minefield_setup_numbers): move the numbers 4 pixels up, which should "fix" the numbers appearing between cells 2002-04-16 Bastien Nocera * Makefile.am: * gnomine.c: (set_flabel): * minefield.c: (gtk_minefield_setup_signs), (gtk_minefield_realize), (gtk_minefield_size_request), (gtk_mine_draw), (gtk_minefield_check_cell), (gtk_minefield_lose), (gtk_minefield_win), (gtk_minefield_randomize), (gtk_minefield_show), (gtk_minefield_toggle_mark), (gtk_minefield_multi_press), (gtk_minefield_multi_release), (gtk_minefield_motion_notify), (init_random), (get_random), (gtk_minefield_get_type), (gtk_minefield_restart): * minefield.h: * question.xpm: gameplay enhancements adapted from patch by wrstock@buckeye.cb.lucent.com (Bill Stock) (Closes: #78576, #77751) 2002-02-17 Chris Lyttle * help/C/gnome-mines.xml: updated for new template. * help/C/Makefile.am: added legal.xml * help/C/legal.xml: added to comply with new template 2002-02-17 James Henstridge * gnomine.c (main): use the "clicked" signal for the "Press to resume" button rather than released. This means you can resume the game with spacebar. (main): don't bother pushing the RGB visual. This is all handled for us by gtk these days. (main): turn off expand for the status bar. Makes things lay out better. (focus_out_cb): make the resume button grab focus when we focus out. (lose_game): make the face button grab focus when you lose. (win_game): and when you win. 2002-02-16 James Henstridge * gnomine.c (about): GnomeAbout isn't a GnomeDialog * minefield.c (gtk_minefield_setup_numbers): set up the pango layouts for the numbers. (gtk_mine_draw): use gdk_draw_layout() to draw the mine text. (gtk_minefield_set_size): queue a resize when setting the size of the field. (gtk_minefield_set_mines): don't queue the resize if the minesize is not changed. * minefield.h: use pango layouts for drawing the numbers. 2002-02-14 Chris Lyttle * help/C/gnome-mines.xml : move to XML. * help/C/gnome-mines-C.omf : move to XML. * help/C/gnome-mines.sgml : deleted, move to XML. * help/C/Makefile.am : move to XML. 2002-02-02 Zbigniew Chyla * gnomine.c (about): Don't try to translate empty string. 2001-12-30 Juan Pablo Mendoza * Makefile.am: * gnomine.c: Update to work with games-clock. 2001-12-19 Seth Nickell * Makefile.am: * gnomine.desktop: Install into the correct location and add a Categories field. 2001-12-17 Juan Pablo Mendoza * clock.h: Fix the clock to look like the old one. * gnomines.c: Scores works again. 2001-12-14 Juan Pablo Mendoza * gnomines.c, minefield.c: A little clean up, and removed some deprecated stuff. 2001-12-08 Juan Pablo Mendoza * minefield.c: Paint again the numbers with pretty colors. 2001-11-24 Kevin Vandersloot * gnomine.c, clock.[c,h]: bring back the clock functionality 2001-07-27 Abel Cheung * gnomine.desktop: Added traditional Chinese translation. 2001-07-10 Juan Pablo Mendoza * gnomine.c (main): Set windows policy to allow_shrink and allow_grow. 2001-07-06 Juan Pablo Mendoza * gnomine.c: * minefield.c: So long Imlib, hello GdkPixbuf! 2001-07-05 Christian Rose * gnomine.desktop: Modified Swedish entries. 2001-06-23 Juan Pablo Mendoza * gnomine.c: (focus_out_cb), (resume_game_cb): New functions. (new_game): Hide button and show minefield. (main): Create the resume button, connect signal to focus_out_event (Feature taken from kmines). 2001-06-12 Juan Pablo Mendoza * minefield.c (gtk_minefield_motion_notify): We was passing for 1 the minefield size. 2001-06-06 Juan Pablo Mendoza Mendoza * minefield.c (gtk_minefield_button_press), (gtk_minefield_button_release): If we get button 1 click + shift do a "multi press". Implent "bug" #50327. 2001-06-03 Juan Pablo Mendoza Mendoza * gnomine.c (main): Don't try to free the gnome_master_client to silent a gtk warning on exit. * minefield.c (gtk_minefield_motion_notify): Don't do anything if x/y passes the minefiled boundarys, to a fix crash bug. 2000-05-12 andreas Hyden * gnomine.desktop: Added Swedish translation. 2000-05-06 Karl Eichwalder * gnomine.desktop: Improve de. 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.