2004-03-16 Iain * mahjongg.c (shuffle_tiles_callback): Update the moves counter when you shuffle. 2004-03-17 Callum McKenzie * help/C/mahjongg.xml: * help/C/figures/mahjongg.png: Correct a link and make the new screenshot match the text (by altering both). 2004-03-14 Callum McKenzie * mahjongg.c (about_callback): Updated the credits to credit all those who contributed for 2.6. I am grateful to Jim Evans for drawing this very unfortunate oversight to my attention. 2004-03-04 Callum McKenzie * help/C/figures/*: Updated images. 2004-02-24 Callum McKenzie * mahjongg.c (load_preferences): * drawing.c (load_images): Remove references to the never-finished default.svg. 2004-02-23 Callum McKenzie * mahjongg.c: Fixed up the ordering of the "Confouding Cross" level. Also removed the separator from the settings menu, it is not needed on a two-item menu. 2004-02-20 Callum McKenzie * Makefile.am: Added the maya.png tileset from Gonzalo Odiard. 2004-02-19 Callum McKenzie * Makefile.am: * mahjongg.c (new_game): Make scores work properly. * solubility.c (shuffle): Removed unused variables. (walk_tree): Make the random shuffle actually uniform. I really shouldn't have tried to write that from memory. 2004-02-18 Callum McKenzie * solubility.c: Just fixing spelling and grammar in comments. 2004-02-14 Callum McKenzie * mahjongg.c: Remove references to _has_separator when dealing with message dialogs 2004-02-11 Richard Hoelscher * mahjongg.c (bg_colour_callback): Set saving background color as a 12-digit hex triplet. Bug #134179. 2004-02-11 Callum McKenzie * mahjongg.c (about_callback): translator_credits -> translator-credits. 2004-02-02 Callum McKenzie * postmodern.svg: New, slimmer, version from Richard Hoelscher. 2004-01-28 Callum McKenzie * mahjongg.c (shuffle_tiles_callback): Apllied patch from Richard Hoelscher to clear the selection before shuffling. Bug #131199. 2004-01-26 Callum McKenzie * mahjongg.schemas.in: * mahjongg.c: Added new layouts from Rexford Newbould and Krzysztof Foltman. Mark the layout names for translation and made them more "readable" (i.e. easy->Easy). 2004-01-21 Callum McKenzie * drawing.c (recreate_tile_images): Set the gc for gdk_draw_pixbuf to NULL. It was being used, inappropriately for clipping with bad results. Fixes bug #131905. * drawing.c: Keep the aspect ratio of the tiles constant. Patch from Jim Evins (see bug #131957). 2004-01-19 Callum McKenzie * Makefile.am (pixmap_DATA): Added new tile sets, smooth.png and postmodern.svg. 2004-01-10 Callum McKenzie * drawing.c (board_click): Ignore double click and triple click events, we were treating them as single click events and therefore were getting duplicates. Fixes bug #130856. 2003-12-29 Callum McKenzie * mahjongg.c: * solubility.c (shuffle): Shuffling finally works properly. Rather than doing a permutation we re-use the pile-creation routine to create a new pile that is guaranteed to me solvable. Undo and redo are also properly set. The dependence of solubility.c on string.h has also been removed. This fixes bugs 91098 and 94750. 2003-12-08 Callum McKenzie * mahjongg.c: * solubility.c: Work on the new shuffle algorithm so that it produces solvable results (if possible). 2003-12-07 Callum McKenzie * drawing.c (draw_all_tiles): Fix a drawing error when shuffling the tiles. * mahjongg.c (check_free): Add a shuffle option to the "no more moves dialog". 2003-11-25 Callum McKenzie * Makefile.am: That reference to bg_DATA shouldn't have been there. Thanks Steve. 2003-10-29 Callum McKenzie * Makefile.am (INCLUDES): 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. See bug #123192. 2003-10-20 Callum McKenzie * help/C/mahjongg.xml: Updated the documentation to reflect what has changed recently. * mahjongg.c: Just adding myself to the credits. 2003-10-18 Callum McKenzie * mahjongg.c: * drawing.c: Replace functions deprecated in gtk+ 2.4. 2003-10-08 Callum McKenzie * drawing.c: Fixed the problem with tiles on the second layer at the top of the screen not being drawn. gint + guint evaluates to guint in a comparison operation. Oops.. 2003-10-03 Callum McKenzie * drawing.c: * drawing.h: * mahjongg.c (load_map): Split the geometry calculations so that the bits which are not window-size dependent are separate and only calculated once. Also made sure that the geometry is recalculated when the map changes. * drawing.c: Fixed the background colour problem. 2003-10-02 Callum McKenzie * drawing.c * mahjongg.schemas.in * mahjongg.h * mahjongg.c: Save and restore the window size. Also make auto-apply preferences work again. 2003-09-30 Callum McKenzie * Makefile.am: * mahjongg.c: * mahjongg.h: * drawing.c: * drawing.h: * *.png: * mahjongg.schemas.in * gnome-canvas-pimage.* * default.svg: A brand-new drawing subsystem that supports rescaling and all that crap. It is faster by about a factor of five and takes up less memory. The old foreground/background system has been dumped in favour of a monolithic tileset. SVG graphics are also now supported (and preferred). All the old graphics are now obsolete and have been removed. There is a new version of the png based default theme. Unfortunately there is only one svg graphics set and it isn't very good. Also gnome-canvas-pimage.* has been removed and we have drawing.* instead. Wed Aug 27 15:06:19 2003 Jonathan Blandford * mahjongg.c (bg_changed_cb): if you're going to add -ansi to CFLAGS, you need to use ansi-compatible comments. (tileset_changed_cb): Ditto 2003-08-26 Callum McKenzie * solubility.c: Optimisations. Thats 10k shaved off, which amounts to about, oh, 0.3% of its RSS. 2003-08-25 Callum McKenzie * solubility.c (walk_tree): Fixed a silly bug which meant that the last two tiles couldn't be removed. So much for the testing I thought I was doing. 2003-08-24 Callum McKenzie * solubility.c: I have rewritten the generate game code yet again. It builds a tree of moves so that if it hits a dead-end it backtracks rather than starting over again as the last version did. Unfortunately some of the elegance has disappeared in the debugging stage. 2003-08-18 Callum McKenzie * solubility.c: Moved some code from generate_dependencies to generate_game so the later routine does not have to rely on the former having been run immediately beforehand. This means we can do a quick and dirty regeneration is the first one fails. Also added a loop to do just this. The algorithm is now correct, although probabilistic. The is also some accounting code in there to allow a bad generation to be detected. It's all a little messy right now, but not as bad as it was before this rewrite :). 2003-08-15 Callum McKenzie * solubility.h: * solubility.c: Removed Michael Meeks old algorithm (sorry) and rewrote my new stuff with the new algorithm. See the head of the solubility.c file for details. * solubility.h: * solubility.c: * mahjongg.c: Remap dependancies -> dependencies. We should have spelling mistakes in function names. 2003-08-07 Callum McKenzie * mahjongg.c: GConf result checks and the like. 2003-08-02 Callum McKenzie * help/C/mahjongg.xml: Updated for 2.4, including the graphics. 2003-07-27 Callum McKenzie * gnome-canvas-pimage.c: Remove dead code, silence the compiler. 2003-07-22 Callum McKenzie * solubility.c: Fixed the clear_row_deps* functions so they actually work and give us a random, solvable, pile with the new code. Hints and end-of-game checks seem to be alright, but the new game button can produce unexpected results. Stick to the old code for now.. 2003-07-09 Callum McKenzie * mahjongg.desktop.in: Update name to fit HIG (bug 116916). 2003-07-07 Steve Chaplin * mahjongg.c (update_moves_left): Fix a memory leak. (tile_event): And another. (undo_tile_callback): And another. 2003-07-04 Callum McKenzie * Makefile.am (install-data-local): Fix the high-score file installation (thanks Steve). 2003-06-28 Callum McKenzie * mahjongg.c: Moved the seed to the title bar to be consistent with other games (bug #114996). Also made the menu items (esp. undo redo) context sensitive. The menu and the toolbar now also match each other. * bg4.png: Darkened up the border when highlighted so that there is a distinct difference between selected and unselected. 2003-06-26 Callum McKenzie * solubility.c: More work on the new code. Everything is theoretically in place, but naturally it doesn't work. However it does spell dependency correctly. 2003-06-25 Callum McKenzie * solubility.c: Started work on a cleaner new game routine. It is really only lacking in it's handling of the dependencies. The code is currently #ifdefed out. * mahjongg.c (update_score_state): It's that bloody memory leak again, in about the third app in a row. 2003-06-22 Callum McKenzie * mahjongg.c (main): Doh, change the gconf key in the code too. 2003-06-21 Callum McKenzie * mahjongg.schemas.in: Change the schema to be consistent and legal. * Makefile.am (install-data-local): Remove bash specific shell code (for FreeBSD). 2003-06-20 William Jon McCann * gnome-canvas-pimage.h: * gnome-canvas-pimage.c: Converted to pixbufs. 2003-06-17 William Jon McCann * gnome-canvas-pimage.c: * solubility.c: * mahjongg.c: Fixed compiler warnings. (load_tiles): Use g_build_filename to construct paths. 2003-06-13 William Jon McCann * mahjongg.c (properties_callback): Changed preferences dialog to 2x2 layout instead of 1x4. 2003-06-13 Callum McKenzie * mahjongg.c: Removed all the "are you sure" questions as well as the associated gconf key. 2003-06-11 Callum McKenzie * mahjongg.c: i18n fixes from Christian Neumair (bug #114875). 2003-06-10 William Jon McCann * mahjongg.c (properties_callback): Converted bold_frame to GamesFrame. 2003-06-09 William Jon McCann * mahjongg.c: Removed separator from dialogs as in HIG. 2003-06-08 Callum McKenzie * mahjongg.c: UI consistency (see bug #114447). 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-29 Callum McKenzie * mahjongg.c (about_callback): Correct about dialog behaviour. 2003-05-10 Callum McKenzie * mahjongg.c: Made sure we can't have multiple score dialogs (bug #97320). Also removed the "want a new game" question. 2003-05-09 Callum McKenzie * mahjongg.c: i18n fixups. Created the bold_frame convenience function to help achieve this. Fixes bug #112576. Also HIG fixups as per bug #112244. 2003-05-01 Abel Cheung * mahjongg.c (properties_callback): Revert accidental commit. 2003-03-12 Ross Burton * mahjongg.c (select_game): HIGify the Select Game dialog a little. 2003-03-10 Ross Burton * mahjongg.c (properties_callback): Cool new Preferences dialog, HIG compliant and all. 2003-03-07 Ross Burton * mahjongg.c (main): Use the new sanity check function in libgames-support. 2003-03-06 Ross Burton * NEWS: * README: * TODO: Remove, out-of-date files. 2003-03-03 Ross Burton * mahjongg.c: Add some NULL-checks so we don't crash so quickly when the schemas were not installed. 2003-02-26 Ross Burton * mahjongg.desktop.in: Remove the old Info key, as it is not used. 2003-02-19 Alex Duggan * help/C/mahjongg.xml: update old bug links from bugs.gnome.org to bugzilla.gnome.org 2003-02-19 Alex Duggan * mahjongg.c (pref_dialog_response): remove old unused call to gnome_help_display, (proporties_callback): remove help button from preferences dialog. (Fixes #103928) 2002-12-11 Ross Burton * help/C/mahjongg-C.omf, help/C/mahjongg.xml: s/Gnome/GNOME. * mahjongg.c (new_game): Ensure that the current map is known when a game starts. Patch from Jeremy Browne , fixing #99164. 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 * mahjongg.desktop.in: add X-GNOME-BUGZILLA stuff 2002-11-18 Jeremy Browne * mahjongg.c (confirm action): Changes to restart / new game dialog for consistency with other parts of gnome-games package. (Bug #97321) 2002-10-31 Ross Burton * Makefile.am: Use correct GConf install rules. 2002-09-20 Ross Burton * mahjongg.c (you_won): Fix a silly logic bug. Fixes #92823. 2002-08-23 Ross Burton * mahjongg.c: Enable the high scores dialog. Patch from Andrew Sobala , fixing #84235. 2002-08-18 Andrew Sobala * mahjongg.c: Use the stock icons for the Quit dialog, fixing #73031. 2002-07-07 Ross Burton * mahjongg.c (shuffle_tiles_callback): Pressing the OK button actually closes the dialog now. (from sams@e-sa.com, fixing #84199). 2002-07-04 Ross Burton * mahjongg.c: Created a new function gconf_sanity_check() which checks that a known key is valid. If this looks good, I'll add it to all of the GConf-based games. (yes, I am getting lots of bugs which end up as "the schemas are not installed") 2002-06-24 Ross Burton * mahjongg.c (mapset_changed_cb): Tell the dialog that it has a parent. 2002-06-05 Bastien Nocera * mahjongg.c: (set_map_selection): thingo might get double-freed (Closes: #84281) 2002-06-03 Ross Burton * mahjongg.c: Set the about dialog as a transient for the parent window. Also load pixmaps from the application pixmap path, instead of the system pixmap path (fixing #83917) 2002-06-01 Bastien Nocera * mahjongg.c: (mapset_changed_cb): hopefully fix the mahjongg string space bug, I hope I didn't break any translations (Closes: #82136) 2002-05-27 Michael Meeks dung out, improved seed handling & display. * mahjongg.c (tile_event): use update_moves_left instead of cut and paste. (main): remove horrible hacks for padding. (do_game): split out of (create_mahjongg_board, new_game): here. (do_game): handle seeding nicely. (you_won): fixup test for top 10. (new_seed): impl. (new_game, main): use it. 2002-05-21 Stuart Scharf * mahjongg.c (set_backgnd_colour): g_free not free. homogenize style somewhat. (main): set next_seed. (select_game): ditto. 2002-05-15 Bastien Nocera * mahjongg.c: (set_backgnd_colour): work around NULL background colour, works around broken schemas install 2002-05-12 Bastien Nocera * mahjongg.c: (show_toolbar_changed_cb), (show_tb_callback), (bg_colour_changed_cb), (bg_colour_callback), (mapset_changed_cb), (set_map_selection), (init_config), (fill_tile_menu), (properties_callback), (main): more cleanups and stuff moved around, only the drop-down menus need to reflect config changes, anybody know how ? 2002-05-12 Bastien Nocera * mahjongg.c: (tileset_callback), (tileset_changed_cb), (bg_callback), (bg_changed_cb), (popup_warn_callback), (popup_warn_changed_cb), (popup_confirm_callback), (popup_confirm_changed_cb), (change_tile_image), (pref_cancel), (fill_tile_menu), (no_match), (check_free), (you_won), (pref_dialog_response), (properties_callback), (about_callback), (confirm_action), (show_toolbar_changed_cb), (show_tb_callback), (bg_colour_changed_cb), (bg_colour_callback), (mapset_changed_cb), (set_map_selection), (create_canvas_items), (create_mahjongg_board), (main): ouch, big one, refactoring of the prefs to use gconf and be instant-apply, needs more cleaning up, and some finishing touches 2002-05-11 Bastien Nocera * mahjongg.c: (update_moves_left), (tile_event), (colour_changed_cb), (init_game), (redo_tile_callback), (undo_tile_callback), (main): s/sprintf/g_strdup_printf and some cleanups 2002-05-10 Bastien Nocera * mahjongg.c: add shuffle tiles to the toolbar (Closes: #80714) (idea from Fernando Herrera), make the tooltips more verbose 2002-05-10 Bastien Nocera * mahjongg.c: (main): s/Time\ :/Time:/ as per Nils' recommendation 2002-05-09 Bastien Nocera * mahjongg.c: (main): changed back the string, use spaces as separators for the statusbar items 2002-05-09 Bastien Nocera * mahjongg.c: (about_callback), (main): moved the "moves left" and "tiles left" labels to the status bar (Closes: #80712), added icon in the about box 2002-05-09 Bastien Nocera * mahjongg.c: (set_popup), (apply_preferences), (create_mahjongg_board), (main): more gconf work, not instant apply and doesn't listen to changes * mahjongg.schemas: updated, changed default bg colour 2002-05-09 Bastien Nocera * Makefile.am: * mahjongg.c: (show_toolbar_changed_cb), (show_tb_callback), (main): * mahjongg.schemas: start of gconf support (Closes: #77142), much more to be done, add tooltips to the toolbar items 2002-05-05 Chris Lyttle * help/C/Makefile.am: updated for new format of SK 0.3.8. * help/C/aisleriot-C.omf: updated for new format of SK 0.3.8. 2002-02-17 Chris Lyttle * help/C/mahjongg.xml: updated for new template. * help/C/Makefile.am: added legal.xml * help/C/legal.xml: added to comply with new template 2002-02-16 Kjartan Maraas * mahjongg.c: Mark a string for translation. 2002-02-14 Chris Lyttle * help/C/mahjongg.xml : move to XML. * help/C/mahjongg-C.omf : move to XML. * help/C/mahjongg.sgml : deleted, move to XML. * help/C/Makefile.am : move to XML. 2002-02-09 Gediminas Paulauskas * mahjongg.c: name it simply.... "Mahjongg". Removed "Prefs" from toolbar, added "Help" to preferences dialog, pack tile and tile background into one frame. 2002-02-02 Zbigniew Chyla * mahjongg.c (about_callback): Don't try to translate empty string. 2002-01-24 Gediminas Paulauskas * mahjongg.c: make all confirmations work, ask if start new game after selecting a seed. Make all OK buttons default. Make prefs dialog modeless. Mark strings for translation. General cleanup. 2002-01-24 Markus Bertheau * mahjongg.c: 1. new game and restart game dont cause the game to exit anymore 2. prefs dialog, tile background initial selection reflects current setting 4. remove "make it default"'s 6. remove old properties_callback 2002-01-20 Josh Barrow * Makefile.am: Set *_DISABLE_DEPRECATED in the Makefile.am * gnome-canvas-pimage.c: undef all of the *_DISABLE_DEPRECATED stuff in this file becuase I don't want to mess with porting it right now. Perhaps we should just use the normal canvas? 2002-01-09 Juan Pablo Mendoza Markus Bertheau * mahjongg.c: Fixed the exit logic. 2002-01-09 Juan Pablo Mendoza * mahjongg.c: Get the time from the clock. 2001-12-31 Josh Barrow * mahjongg.c: (exit_game_callback_query): Temporary fix to make it exit again. 2001-12-28 Josh Barrow * mahjongg.c: (about_callback), (main): GNOME is an *ACRONYM*, damnit! 2001-12-28 Josh Barrow * mahjongg.c: (hint_cancel), (update_moves_left), (set_backgnd_colour), (change_tiles), (tile_event), (apply_preferences), (fill_tile_menu), (fill_map_menu), (find_tile_in_layer), (find_tile), (no_match), (check_free), (colour_changed_cb), (properties_callback), (hint_callback), (about_callback), (pause_callback), (ensure_pause_off), (init_game), (confirm_callback), (exit_game_callback_query), (exit_game_callback), (new_game_reply_callback), (restart_game), (redo_tile_callback), (undo_tile_callback), (seed_dialog_clicked_cb), (select_game), (clear_undo_queue), (set_map), (load_map), (canvas_x), (canvas_y), (load_images), (create_canvas_items), (load_tiles), (create_mahjongg_board), (new_game), (shuffle_tiles_callback), (main): Changed to compile with G_DISABLE_DEPRECATED and GTK_DISABLE_DEPRECATED. In doing this, also made it more compilant with the HIG. There are certainly problems with this big of a change. 2001-12-23 Mark McLoughlin * mahjongg.c: port to GamesClock. * Makefile.am: upd. 2001-12-19 Seth Nickell * Makefile.am: * mahjongg.desktop: Install into the panel menus correctly. 2001-12-16 Juan Pablo Mendoza * mahjongg.c: Hide/Show toolbar works again. 2001-12-15 Juan Pablo Mendoza * mahjongg.c: Now it don't crash on startup. 2001-08-14 Kjartan Maraas * help/*/*.sgml: Fix up the sgml. My italian is a bit rusty so you might want to check that I didn't break anything :) 2001-07-27 Abel Cheung * mahjongg.desktop: Added traditional Chinese translation. 2001-07-07 Juan Pablo Mendoza * mahjongg.[ch]: You are dead imlib thing. * gnome-canvas-pimage.[ch]: Work around gnomecanvaspixbuf slowness. 2001-07-05 Christian Rose * mahjongg.desktop: Modified Swedish entries. 2001-06-26 Juan Pablo Mendoza * help/ip/Makefile.am (figs): Remove some inexistents figures, now distcheck work fine. 2001-05-26 Juan Pablo Mendoza * mahjongg.c (apply_preferences), (fill_tile_menu), (load_tiles): Plug memory leaks. 2001-05-23 Juan Pablo Mendoza * mahjongg.c (properties_callback): Connect to close signal instead of delete_event. Fixes bug #53450. 2000-10-19 Dan Mueth * help/C/topic.dat: Fixed er - I was being dumb below. The menu item is now fine. Just the properties dialog button remains. 2000-10-19 Dan Mueth * Makefile.am: added SUBDIRS = help * help/Makefile.am: Added this file, with SUBDIRS = C * help/C/topic.dat: Added this file * help/C/Makefile.am: Added this file * mahjongg.c: I didn't change this. It currently calls up the help doc okay, but we should change the call to list Help with the pretty logo instead of just listing 'mahjong'. We also need to hook up a Help button in the preferences dialog. I have to run now, so this will have to wait until later. 2000-09-13 Eric Baudais * help/C/*: Added documentation to mahjongg. It is not currently linked into the program. 2000-05-12 Andreas Hyden * mahjongg.desktop: Added Swedish translation. 2000-05-06 Tuomas Kuosmanen * gnome-mahjongg.png: shaped up the icon a bit. It now has a shadow and it is a bit brighter too. 2000-04-26 Ian Peters * mahjongg.c: use GNOME_STOCK_BUTTON_OK like a good little gnome program 2000-02-22 Chema Celorio * solubility.c: Undefine CHEAT_DEBUG for release * mahjongg.c (shuffle_tiles_callback): Fix bugs #4555 and #4490. Need to check for game_over == GAME_WON as well. * seta.png: Fixed the PNG file to fix #3458 1999-08-31 David Mansergh * mahjongg.c (you_won): typo fix (check_free): corrected moves_left count (update_moves_left): removed unnecessary reassignment of moves_left 1999-08-09 Robert Brady : [bug #1781]. 1999-08-06 Philippe Chavin * mahjongg.c (seed_dialog_clicked_cb): fixed to get the whole seed string. (tile_event): added button 3 click to select tiles unconditionally. 1999-07-21 Philippe Chavin * mahjongg.c (PAUSE_BUTTON): fixed index. (game_over): removed wrong affectations. (exit_game_callback_query): precondition fixed: game must not be dead and one move must have been done. (shuffle_tiles_callback): fixed; game does not continue if no config have been found. 1999-07-20 Michael Meeks * mahjongg.c: Re-enabled preferences, killed 'seed'. Updated all char [4] buffers to char [16], perhaps safer. (exit_game_callback): Add warning for broken case, add NEW_GAME. various stylistic fixups. Renumbered and named game_state enumeration to help debugging. chain on to (exit_game_callback_query): correct 3 arg. function for (main): delete_event. This fixes killing the window via the WM. 1999-07-20 Philippe Chavin * mahjongg.c (load_images): fixed background loading to follow the current map. (shuffle_tiles_callback): added, allow to continue playing when no moves are left. (you_won, scores_callback): fixed level name to use mapset. Use stopped, not seconds for scoring, else we get current time. show score board only if in top ten. (exit_game_callback): asks for confirmation; replaces ({new|restart|select|quit}_game_callback). (apply_preferences): asks for a new game if mapset changed. (properties_callback): two columns presentation. popup_config.warn replaces warn, popup_config.confirm added. (ensure_pause_off): toggle off the pause button (game_score): removed. The buttons callbacks check the status of the game: running, won or lost. This should allow the game to finish correctly in every cases. * Makefile.am: installs mahjongg.easy.scores and mahjongg.difficult.scores 1999-07-18 Thomas Meeks * mahjongg.c (show_tb_callback): Fixed re-draw (main): fixed show load & save. 1999-07-14 Michael Meeks * mahjongg.c (apply_preferences): Commented out 'Synced' (game_score): moved contents to (you_won): manualy call new_game_callback. Use seconds, not stopped for scoring. Removed redundant gtk_clock_set_seconds. 1999-07-14 Philippe Chavin * mahjongg.c: (scores_callback, chrono_start): scoring based on time. (pause_callback, ensure_pause_off): pause features. (hint_callback): added time penalty. (*_callback): check for Pause. (redo_tile_callback, undo_tile_calback, check_free): add available moves left display. (properties_callback, apply_preferences, create_mahjongg_board, no_match): added option to choose between popup windows or display in the status bar. (main): create timer widget. 1999-07-14 Michael Meeks * mahjongg.c (about_callback): Added Philippe 1999-07-11 Rosanna Yuen * default.png: reversed the fortune character so that it isn't backwards anymore. 1999-07-08 Michael Meeks * mahjongg.c: Added H hint shortcut key. 1999-06-20 Tuomas Kuosmanen * Makefile.am: add the new file (bg4.png) so it gets installed * bg1.png bg2.png bg3.png bg4.png: Changed the backgrounds a bit (added 2 new ones) 1999-04-17 Francisco Bustamante * mahjongg.c: Now it is possible to change the background of the tiles without changing the images on the tiles. At the same time I added the option to have different tile backgrounds for each layer, to make it easier to distinguish between them. The background can be changed in the preferences dialog (also added) * bg[123].png: Some backgrounds to show the new capabilities. Tue Apr 6 10:45:22 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) * mahjongg.c: use g_strcasecmp instead of strcasecmp. 1999-02-09 Tomas Ogren * mahjongg.c: Removed evil gtk_widget_realize call.. 1999-02-07 Tomas Ogren * mahjongg.c: Realize the main window and fvwm gets happier... 1999-01-26 Miguel de Icaza * mahjongg.c (load_tiles): Warn the user in the GUI, not with a printf. Kill file menu too. 1999-01-10 Nat Friedman * mahjongg.c (main): Added an AppBar. Added a friendly welcome message. Standardized the menus. 1999-01-08 Callum McKenzie * mahjongg.c : Fixed up the hint code to not crash. Also changed the use of the "selected" field in tile to make sure that hints and selection interacted nicely. 1998-12-16 Jonathan Blandford * mahjongg.c (main): now use the new toolbar code. 1998-12-14 Federico Mena Quintero * mahjongg.c (create_mahjongg_board): Use gtk_widget_set_usize() instead of gnome_canvas_set_size(). 1998-11-19 Francisco Bustamante * mahjongg.c: Changing the map works now. Memory leaking is greatly reduced because images are destroyed after use. Changed gnome_dialog_set_modal (or whatever) to gtk_window_set_modal. Changing the tile images works too. Compiling warnings are gone. Most warnings during the game are gone too. Upped version to 0.99.1 1998-11-15 Francisco Bustamante * mahjongg.c: All the tile drawing is now done by gnome-canvas. The code is somewhat cleaner, and the redraws are definitely better. TODO: make changing map and changing tile images work. When you use gnome_canvas_item_set to change the image, do we need to destroy the old image? Version 0.99.0 * default.png: Someone did something to the transparent parts of the image, so I put them again. This is to make tiles nicer. 1998-11-01 Yo Ric Dude * mahjongg.c: Calculate x and y offsets to place tiles in the center of the playfield (AREA_WIDTH x AREA_HEIGHT). Calculate new values every time the map changes. 1998-26-28 Erik Troan * mahjongg.c: use gnome_color_picker instead of gnome_color_selector 1998-10-18 Tuomas Kuosmanen * added gnome-mahjongg.png: mahjongg icon * Makefile.am mahjongg.desktop: Added the icon to the .desktop -file Tue Sep 8 21:44:03 CDT 1998 * default.xpm seta.xpm: Changed the images for png's for space reasons Tue Aug 25 17:45:00 BST 1998 Michael Meeks * mahjongg.c (load_callback): Fixed bug with duff pointers being retained after being freed. * mahjongg.c (set_backgnd_colour): (load_callback): (colour_changes_cb): (properties_callback): (create_mahjongg_board): Background colour setting, major mangle / creation of all these. * mahjongg.c (hint_callback): Added nicer prompt to the hint dialog. Mon Aug 17 18:00:00 BST 1998 Michael Meeks * Major code mangle. * Added extra map, renamed structures to acommodate * Updated preference menu to cope * Rewrote and documented structures * Improved and documented placement debugging * Added #warning on cheat * Improved placing algorithem to favor higher sites * Upped version to 0.5.0 * Fixed C++ style comments * Padded 'Tiles Remaining' status to give less of a jump on decrement * Implemented 'hint' function * Updated Authors, and support mail address * Several of Ganesh' fixes: * Simplified check_free, it now works * Fixed restart, undo destroys map * Other useful feedback 1998-08-06 Miguel de Icaza * mahjongg.c (fill_menu): Allow more graphics formats to be used for the tiles. Mon Aug 3 04:33:57 BST 1998 Ganesh Sittampalam * Fixed bug that left a tile selected when you restarted the game * Got rid of the "No more movements" message when you won the game * Made it decrement the tiles left when you redo a step, rather than incrementing it. * Fixed bug that left multiple removals with the same sequence number after an undo followed by a different removal. 1998-07-25 Nuno Ferreira * mahjongg.desktop: Added Portuguese translation. Fri Jun 12 11:56:33 EDT 1998 Gregory McLean * Applied another patch from Michael Meeks to fix some potential problems. Fri Jun 12 10:08:22 EDT 1998 Gregory Mclean * Incorperated patch from Michael Meeks, this starts on one of the TODO items. (solveable games.). Thu Jun 11 17:40:43 BST 1998 Michael Meeks * Added module solubility.c * Moved tile_free into this and altered to use dependancy trees. * Added sequence number to each tile * Implemented undo * Implemented redo * Removed redundant 'Tile-Set' icon, replaced with redo Wed May 27 16:30:18 CDT 1998 * mahjongg.c: Added preferences dialog. Changed gnome_message_box_set_modal to gnome_dialog_set_modal to avoid warnings. Loads selected tileset at startup. Allows you to change tileset without starting a new game. Mon May 11 21:05:50 EDT 1998 Jonathan Blandford * default.xpm: Was less brain-dead and changed the highlighted dragon to face the correct way as well... (: Mon May 11 04:08:04 EDT 1998 Jonathan Blandford * default.xpm: Changed green dragon to face the correct direction. 1998-04-24 Federico Mena Quintero * mahjongg.c (create_mahjongg_board): Make the drawing area use the correct visual. (refresh): Fixed off-by-one error. (main): Made it use GdkColorContext correctly (remember to initialize the pixel and used arrays!). Also, color values are in [0, 65535]. Fixed compiler warnings. (tile_gone): Fixed off-by-one. (draw_selected_tile): Fixed off-by-one. (redraw_area): Made it use gdk_rectangle_intersect for correct behavior. (redraw_tile_in_area): Made it use gdk_rectangle_intersect for simpler code and correct behavior. Sat Mar 21 15:36:39 1998 Tom Tromey * mahjongg.c: Use gnome_message_box_*, not gnome_messagebox_*. Sun Mar 8 20:44:15 1998 Tom Tromey * Makefile.am (mahjongg_LDADD): Don't include libsupport.a. * Makefile.am (INCLUDES): Added GNOME_INCLUDEDIR. Sat Mar 7 22:49:06 1998 Tom Tromey * mahjongg.c (main): Use new gnome_init. 1998-02-19 Federico Mena Quintero * mahjongg.c (main): Added app_id "mahjongg". Mon Feb 16 22:32:02 1998 Tom Tromey * mahjongg/mahjongg.c (MAH_VERSION): Renamed from VERSION to avoid clash. Include .