2004-03-10 Callum McKenzie * setup.c (setup_game): Fix the fix. Clamp the maximum number of computeer players to be 5 rather than 6. 2004-03-06 Callum McKenzie * setup.c (setup_game): Make sure we have at least one player by having at least one human player. Anyone who wants to watch the computer play itself is a sad git. 2004-03-04 Callum McKenzie * help/C/gtali.xml: Updated version to 2.6. 2004-02-18 Callum McKenzie * gtali.schemas.in: Removed the space work-around since it survived the old intltool, but broke on gconf itself. You now need CVS intltool for all this to work properly. 2004-02-14 Callum McKenzie * setup.c: Remove references to _has_separator when dealing with message dialogs 2004-02-12 Callum McKenzie * help/da/Makefile.am: * help/da/legal.xml: * help/da/gtali.xml: * help/Makefile.am: Rework the Danish help document so it works with docbook rather than html. This should pass make distcheck, but is not a complete translation (the original wasn't). My apologies to all Danes. 2004-02-11 Callum McKenzie * gyahtzee.c (about): translator_credits -> translator-credits. 2004-02-04 Callum McKenzie * gtali.schemas.in: Work around an intltool-merge bug. Insert a space before the default for a list item so that it isn't stripped. 2004-01-20 Callum McKenzie * gyahtzee.c (about): Removed the empty entry in the credits list to keep non-C locale people happy. Fixes bug #131883. 2003-11-20 Callum McKenzie * Makefile.am: Patch to let schema files be isntalled properly. Thanks to Joe Marcus Clarke (bug #127441). 2003-11-19 Callum McKenzie * help/Makefile.am (SUBDIRS): Removed the danish translation. Any translation was minimal, with all the useful stuff still in English and it's format was interfering with the build process. It will be ressurected when I have more time to perform the required surgery. * help/da/Makefile.am (figdir): Update to the modern way of doing these things. Should mean the make uninstall works for these docs now. 2003-11-06 Callum McKenzie * gyahtzee.c: Make the game completely playable from the keyboard. Done as per Allan Jensen's suggestions See bug #126284. 2003-11-02 Callum McKenzie * NoGnome/*: Removed this directory since it has not been possible to compile without gnome support since 2.2. Use the original curses package if you want a curses version. 2003-10-29 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. See bug #123192. 2003-10-06 Callum McKenzie * clist.c (update_score_cell): We shouldn't be trying to free something we didn't malloc. Fixes bug #123735. 2003-10-01 Callum McKenzie * yahtzee.c (calc_random): i18n fix, see bug #123586. 2003-08-05 Callum McKenzie * gyahtzee.c: GConf return value checks. 2003-08-03 Callum McKenzie * gtali.schemas.in: Typo in the schema description. Also moved the default names inside the locale tags so that they can be translated to something more suitable for a given area (I know, area != language, but it's as good as it's going to get).. * setup.c: * gyahtzee.c: * help/C/gtali.xml: Delay between rolls and show-thoughts have been gconfified. Show-thoughts is now in fact only available via gconf since dumps to standard out should not be accessible to the ignorant users. * setup.c (setup_game): Remove old, old, gtk 1.x code. * help/C/gtali.xml: 2.4 updates, images not updated yet. * setup.c: * yahtzee.h: * yahtzee.c: * gtali.schemas.in * gyahtzee.c: Removed the "Extra Yahtzee Bonus" and "Enforce Joker Rules" dialogs since while the values where set they were never used anywhere in the actual game. Since I don't know what they are meant to do and no one is complaining about them I have removed the code entirely. 2003-07-09 Callum McKenzie * gtali.desktop.in: Update name to fit HIG (bug 116916). 2003-07-06 Callum McKenzie * clist.c (update_score_cell): Clear cells with a score of -1, this allows undo to update the display correctly. 2003-07-02 Callum McKenzie * Makefile.am: Build fixes. 2003-06-22 Callum McKenzie * gyahtzee.c (GyahtzeeCreateMainWindow): Space before punctuation fixes as per bug #115694. 2003-06-21 Callum McKenzie * yahtzee.c: * yahtzee.h: * gyahtzee.c: Undo sensitivity now depends on the game state. * clist.c (create_score_list): Fix a compiler warning. 2003-06-20 William Jon McCann * clist.c (create_score_list): Added set_rules_hint to tree view, this gives us alternating color rows. 2003-06-18 William Jon McCann * setup.c: * gyahtzee.c: Fixed compiler warnings. 2003-06-16 William Jon McCann * setup.c (setup_game): More HIG spacing and alignment fixes. 2003-06-11 William Jon McCann * setup.c (setup_game): HIG fixes for preferences dialog. 2003-06-11 Callum McKenzie * gyahtzee.c : i18n fixes from Christian Neumair (bug #114875). 2003-06-09 William Jon McCann * setup.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-22 Callum McKenzie * gyahtzee.c (CheerWinner): i18n fix, now using ngettext. 2003-05-14 Callum McKenzie * pix/Makefile.am: Imported gnome-die?.png from the gnome-desktop module as per request. They aren't actually used, but someone may have used them as an icon and they need a new home. 2003-05-08 Callum McKenzie * pix/gnome-dice-?.xpm: Reduced the colours used by each image to 255. This saves 100k on the size of the binary and the tarball. 2003-04-30 Abel Cheung * ChangeLog: convert to UTF-8. 2003-04-30 Callum McKenzie * help/C/gtali.xml: Updated versions. 2003-04-27 Callum McKenzie * yahtzee.c (FieldLabels): Removed apostrophes used with plurals. It wasn't even used consistently within a single four word line. * help/C/gtali.xml: Cleaned up yesterdays changes. 2003-04-26 Callum McKenzie * clist.c: * gyahtzee.c: * gyahtzee.h: Swapped the upper total and bonus row to make the purpose of the bonus clearer. Also reworked the label. Fixes bug #92801. * help/C/gtali.xml: Clarified the rules with respect to yahtzees and the upper bonus. Fixes bug #109663 and helps toward bug #92801. * gyahtzee.c (say): Fixed buffer overflow possibilities when this function was called with a %s modifier (a long player name would demonstrate this by crashing the program). Fixes bug #74746. 2003-04-25 Callum McKenzie * yahtzee.c: Removed HumansAreDone() function since it was deprecated long ago. * yahtzee.h: Removed HumansAreDone() prototype. * gyahtzee.c (NextPlayer): Rewrote the code that chooses the next player so it works correctly when there are extra turns due to multiple yahtzees. This fixes bugs #55478 and #91097. 2003-03-06 Ross Burton * Build: * cyahtzee.[ch]: * scores.[ch]: * Makefile.am: Remove the ncurses port. 2002-12-17 Ross Burton * Makefile.am (schema_in_files): Fix the GConf schema path. 2002-12-11 Ross Burton * help/C/gtali.xml: * help/C/gtali-C.omf: More s/Gnome/GNOME/. 2002-11-29 Ross Burton * Makefile.am (EXTRA_DIST): Put the source of the schemas in the dist, not the generated files. 2002-11-27 Ross Burton * gyahtzee.c: s/Gnome/GNOME/, for #99683. * gtali.schemas.in: Fix the file, the was in the wrong location. 2002-11-22 Tim Musson * gyahtzee.c: (about), (ShowHighScores): No more multiple About dialogs, and Score dialog is now modal. (#97320) * setup.c: (setup_game): gtk_window_present existing Prefs dialog. 2002-11-25 Ross Burton * Makefile.am: Fixed the GConf install location, thanks to Loz . Closes #99393. 2002-11-18 Fernando Herrera * gtali.desktop.in: add X-GNOME-BUGZILLA stuff 2002-08-23 Ross Burton * gyahtzee.c: Enable the high scores dialog. Patch from Andrew Sobala , fixing #84235. 2002-06-22 Ross Burton * gyahtzee.c: Make the window pointer public, instead of static. Also stop passing it around via the menu callbacks. * setup.c (setup_game): Set the relevant hints so that the setup dialog actually behaves like a dialog, not a window. 2002-06-03 Ross Burton * gyahtzee.c: Set the about window as a transient for the top-level window. * setup.c (setup_game): The preferences dialog should not appear under the mouse, but should state that it is a transient for the parent window. 2002-05-05 Chris Lyttle * help/C/Makefile.am: updated for new format of SK 0.3.8. * help/C/gtali-C.omf: updated for new format of SK 0.3.8. 2002-04-30 Abel Cheung * cyahtzee.c: Add translator note for some strings. 2002-04-28 Andreas Persenius * setup.c: Replace gtk_signal_connect() with g_signal_connect(). Replace gtk_container_border_width() with gtk_container_set_border_width(). (do_setup): fix bug when renaming players. * gyahtzee.c: Replace gtk_signal_connect() with g_signal_connect(). Small changes related to move from GtkCList to GtkTreeView. (GyahtzeeCreateMainWindow): gtk_window_set_policy() replaced by gtk_window_set_resizable() and don't allow size changes anymore. * gyahtzee.h: Use new prototypes from clist.c. * clist.c: Convert to GtkTreeView/GtkListStore. * Makefile.am (INCLUDES): Add -D{G,GDK,GTK}_DISABLE_DEPRECATED 2002-04-25 Andreas Persenius * Makefile.am: * gyathzee.c: (LoadDicePixmaps): Use GtkImage instead of GnomePixmap and g_file_test() instead of g_file_exists(). * setup.c: (WarnNumPlayersChanged): Use GtkMessageDialog instead of GnomeMessageBox. This makes GTali compile with -DGNOME_DISABLE_DEPRECATED. 2002-04-15 Bastien Nocera * gyahtzee.c: (about): nice icon, oooh * setup.c: (setup_game): use stock buttons, and add more space inside the frames 2002-04-15 Bastien Nocera * Makefile.am: * gtali.schemas: * gyahtzee.c: (main): * setup.c: (do_setup): gconf patch by Jörgen Viksell , added gconftool call in Makefile.am 2002-02-17 Chris Lyttle * help/C/gtali.xml: updated for new template. * help/C/Makefile.am: added legal.xml * help/C/legal.xml: added to comply with new template 2002-02-14 Chris Lyttle * help/C/gtali.xml : move to XML. * help/C/gtali-C.omf : move to XML. * help/C/gtali.sgml : deleted, move to XML. * help/C/Makefile.am : move to XML. 2002-02-02 Zbigniew Chyla * gyahtzee.c (about): Don't try to translate empty string. 2001-12-19 Seth Nickell * Makefile.am: * gtali.desktop: Install into the panel menus correctly. 2001-12-04 Duarte Loreto * gtali.desktop: Added Portuguese (pt) translation. 2001-07-27 Abel Cheung * gtali.desktop: Added traditional Chinese translation. 2001-07-07 Juan Pablo Mendoza * gyahtzee.c (main): Remove call to gdk_imlib_init(). 2001-06-10 Juan Pablo Mendoza * gyahtzee.c (quit_game): Don't destroy the window here. Fix bug #24530 2001-06-07 Juan Pablo Mendoza Apply patch from drk@sgi.com. Bug #52645. * setup.c (parse_an_arg): Add `break' in default. (setup_game): Remove c++ style comment. * yahtzee.h: DefaultPlayerNames is extern so declare it extern. 2000-11-17 Martin Norbäck * setup.c: removed _() from untranslatable string 2000-06-07 Scott D. Heavner * setup.c: Add additional games rules. Change default value of yahtzee bonus to 100 (per MB rules). Preserve all original options when selecting cancel. Raise obstructed settings window when reselect prefs menu. 2000-06-06 Scott D. Heavner * setup.c (do_setup): Move player rename into setup dialog and remove hook from clist.c 2000-05-12 Andreas Hyden * gtali.desktop: Added Swedish translation. 2000-05-09 Martin Baulig * gyahtzee.c (main): Move gnome_score_init () in front of bindtextdomain () and textdomain (). 1999-08-09 Robert Brady : [bug #1781]. 1999-04-18 Scott D. Heavner * NoGnome/Makefile.in: Update to reference config.h.in * NoGnome/config.h.in: rename from acconfig.h * scores.c (update_scorefile): Make sure to allocate scall if HAVE_RENAME fails. 1999-04-10 Scott D. Heavner * clist.c (ShowoffPlayer): Setting the column heading buttons to active/passive seems to force a redraw. Leave as passive always. * Allow change of player names under gnome. * *.c & *.h: Set default emacs tab width to 8 :) Also clean out unused #if's * Add & populate help directory. 1999-03-29 Tuomas Kuosmanen * pix/gnome-gtali.png: Replaced the icon with one that matches better with the style of the rest of the desktop.. (all respect for the original artist) 1999-02-14 Ian Peters * Name changed to GTali 1999-01-26 Miguel de Icaza * gyahtzee.c: Kill file menu. 1999-01-10 Nat Friedman * gyahtzee.c (GyahtzeeCreateMainWindow): Create a GnomeAppBar, not a GtkStatusBar. Installed menu hints. (say): Use the appbar. Standardized the menus. Mon Nov 23 16:58:42 EST 1998 Gregory McLean * clist.c : commented out the gtk_clist_set_policy function as gtk 1.1.5 don't have it anymore. This has been 'guarded' by a FIXME :) 1998-10-24 Tuomas Kuosmanen * pix/gnome-dice-*.xpm: Got into artistic mood and made some dice pics I hope you like them ;) 1998-10-18 Phil Schwan * clist.c (select_row): This function is now called for both select and unselect events. It takes care of making sure that the row is actually being selected/unselected, etc. This takes care of the problem of having to de-select and then re-select rows in multi-player games. * (create_clist): Added unselect_row callback. * gyahtzee.c: (NextPlayer): The old way of doing things would cause a deadlock if player 2 had more yahtzees than player 1. * (gnome_modify_dice): Added a DEBUG mode that allows the player to shift-click on dice and change their values. Was useful in testing the deadlock fix. * Added some "void"s and some "static"s so that it compiles -Wall -Wstrict-prototypes -Wmissing-prototypes clean. * yahtzee.c (play_score): The special case for yahtzees was broken, never checking to see if the user actually had a yahtzee before allowing them to use the slot twice--this allowed the user to click on yahtzee any time they didn't like their roll, as long as they'd already rolled a yahtzee earlier in the game. * (HumansAreDone): commented out this function, as it's no longer needed because of the change to gyahtzee.c * yahtzee.h: removed HumansAreDone prototype. 1998-07-25 Nuno Ferreira * gyahtzee.desktop: Added Portuguese translation. * yahtzee.c, computer.c, clist.c: Some internationalization work. Tue Jul 7 15:52:29 1998 Scott D. Heavner * yahtzee.c: Add RegisterUndo() and ExecSingleUndo() allowing undo of last round. Cheater flag is activated and high scores will not be saved. Undo only available in gnome version. Sun Jun 28 19:08:55 1998 Scott D. Heavner * Summary: 1) Allow 0-6 humans to play, limit total players to 6 2) Fix scoring of multiple yahtzee's 3) Hack that adjusts column header to indicate current player 4) Comment call to gnome_message_box_new() until fixed in libs. * gyahtzee.c (gnome_modify_dice): don't let player un/select dice after game is over. * (NextPlayer): Make computers keep playing after humans are done. * (GyahtzeeNewGame): Allow 0 humans, when new game is started, computers will play to end of game. * (CheerWinner): Allow any one human to get a recordable high score. Should check all of the scores and see which are high, but now, only check the high score. * (play_score): Fix code for multiple yahtzees. Now have to make sure all computers are allowed extra turns, even if human is done. * (HumansAreDone): Add new function to detect when only computers are remaining. * clist.c (select_row): don't let player select score row if game over. Use better #define's for row numbers we can't select. Trouble for multiple players if they want to score in the row that is already highlighted. * (create_clist): Remove unused callbacks. * (ShowoffPlayer): Rename Higlight and Unhiglight functions to ShowoffPlayer. Add some hacks that would be illegal under C++ to mess with gtk internals to press buttons to indicate current player. * setup.c (do_setup): Only display player change warning if number of players is changed. Calling gnome_message_box_new() crashes my machine with a segv. * setup.c (MaxPlayersCheck): Synchronize num players/comp spinners to never exceede max players. * Add options for multiple humans. High score is scored under the login name of the user running gyahtzee. It's hard to keep track of who's up too, pay attention to "* -- you're up" in status box. * cyahtzee.c: Add NLS support. Fri Jun 26 17:26:49 1998 Scott D. Heavner * gyahtzee.c (main): Warned gnome_client_new_default is obsolet. Removed all refs to it, just rely on gnome_init() to do all the work. * gyahtzee.c/setup.c/clist.c: Update callback functions to return gints. I am still unsure about returning TRUE/FALSE. I've handled the events, so I should return TRUE but maybe some other routine will handle button/menu cleanup if I return FALSE. Fri Jun 26 14:42:22 1998 Scott D. Heavner * Makefile.am: Add cyahtzee back in as conditional build * cyahtzee.c/h: update names of defines to match curses.m4 1998-06-26 Raja R Harinath * Makefile.am (cyahtzee): Disable until Curses is properly autoconfed. (Pixmap_DATA): Move to ... * pix/Makefile.am: ... here. 1998-06-25 Raja R Harinath * setup.c (setup_game): Conditionally use new GtkSpinButton API. Fixes Maciej's FIXME too. 1998-06-25 Maciej Stachowiak * setup.c (setup_game): FIXME: enums do _not_ result in the members of the enumeration being #defined, at least on gcc, so the `#ifdef GTK_UPDATE_SNAP_TO_TICKS' test is bogus. Leaving only the case that works on gtk+-1.0.4; is it worth supporting earlier gtk's than that? Wed Jun 24 22:25:48 1998 Scott D. Heavner * Commit to CVS. * cyahtzee.c: Add color support. gets->fgets. Try to maintain backward compatibilty with very old curses if NOCOLORCURSES defined. * setup.c (setup_game): GTK_UPDATE_SNAP_TO_TICKS has dissapeared in CVS - noticed & patch by Jaka Mocnik. Should probably just toss the old way, but leave for now in case anyone is using an old snapshot. Sun Jun 21 15:06:24 1998 Scott D. Heavner * gyahtzee.c (ShowPlayer): Add bonus to upper total - that's where zorst had it, but should it just go directly into grand total? * Release version 980621a (980621 had probs w/Build script and missing config.h) * add Build script - cleaner than makefile to determine gnome setup on an unknown machine? * computer.c: * remove be_computer() * Forgot to call RollSelectedDice() for each computer roll * Remove refs to global CurrentPlayer, each function should use value passed as parameter player * gyahtzee.c / pix dir: update names inside xpm files to reflect new names (gnome-dice-N.xpm), fix check for missing pixmap files - will now use any pixmap files it finds, but fallback to compiled in pixmaps. * cyahtzee.c, cyahtzee.h: Add basic curses support - using zorst's original version. Will go back and add color hacks later. * scores.c, scores.h: Curses version has own routines for dealing with highscores. Thu Jun 18 12:53:32 1998 Scott D. Heavner * gyahtzee.c (GyahtzeeCreateMainWindow): Put eventbox around pixmaps which 1) makes it easier to select the X pixmap, and 2) gets rid of the flicker on the menubar when we unhide each pixmap for the first time. * gyahtzee.c: add entries for keyboard accelerators Wed Jun 17 23:00:00 1998 Scott D. Heavner * Release version 980617 *Local Variables: *backup-inhibited: t *End: