?? changelog
字號:
2003-10-07 Julian Bradfield <jcb@dcs.ed.ac.uk> * sysdep.h, sysdep.c: fake (v)snprintf for Windoze. * CHANGES, ChangeLog: 1.62003-10-06 Julian Bradfield <jcb@dcs.ed.ac.uk> * protocol.h: pversion to 1060, to mark changes in backslash processing. Really, these should be bug fixes, but the protocol was unclear before.2003-10-01 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui.c: When auto-declaring specials, players should still get the chance to declare kongs if they have some.2003-09-30 Julian Bradfield <jcb@dcs.ed.ac.uk> * controller.c: The processing of chow claims was confused, with the result that if other duplicate claims arrived while waiting for a chow to be fully specificied, a confused state resulted. The logic is now (hopefully) more straightforward, and duplicate claims are silently ignored.2003-09-29 Julian Bradfield <jcb@dcs.ed.ac.uk> * proto-decode-msg.pl: remove redundant condition * proto-encode-msg.pl, sysdep.c, protocol.c: eliminate warnings introduced by previous changes. * proto-decode-msg.pl, proto-encode-msg.pl, sysdep.c: Sort out backslashes at last. Still inelegant in places, but hopefully correct and overflow-safe. * gui.c: Messages should not undergo brace expansion.2003-09-28 Julian Bradfield <jcb@dcs.ed.ac.uk> * proto-encode-msg.pl, sysdep.c, protocol.c: Folded in Nicolas Boullis's fixes for buffer overflow. Backslash escaping is still a mess.2003-09-27 Julian Bradfield <jcb@dcs.ed.ac.uk> * proto-encode-msg.pl, proto-decode-msg.pl, gui-dial.c, controller.c: Patches against buffer overruns from Nicolas Boullis.2003-08-24 Julian Bradfield <jcb@dcs.ed.ac.uk> * proto-decode-msg.pl: Do backslash unescaping, for backslashes only. (i.e. \\ - \, but single backslashes not changed)2003-08-21 Julian Bradfield <jcb@dcs.ed.ac.uk> * proto-decode-msg.pl: Has backslash escaping; but this is done in expand_protocol_text, so we shouldn't do it here, but rather should make all char* fields subject to expansion.2003-08-20 Julian Bradfield <jcb@dcs.ed.ac.uk> * protocol.c, proto-encode-msg.pl: Escape backslashes in char* arguments. * sysdep.c: fix bug in backslash counting2003-06-08 Julian Bradfield <jcb@dcs.ed.ac.uk> * Makefile.in: control table manager compilation by TableManager variable, (currently set to off) to avoid problems in releases. * manager.c: This now compiles, and handles (basically) the login message.2003-06-07 Julian Bradfield <jcb@dcs.ed.ac.uk> * mprotocol.c: protocol-enums -> mprotocol-enums remove superfluous variable * manager.c: New file.2003-06-04 Julian Bradfield <jcb@dcs.ed.ac.uk> * CHANGES, ChangeLog: 1.5.62003-06-02 Julian Bradfield <jcb@dcs.ed.ac.uk> * game.c: clear the konging flag after robbing a kong. (Otherwise get consistency error in next hand.)2003-06-02 Julian Bradfield <jcb@dcs.ed.ac.uk> * game.c: clear the konging flag after robbing a kong. (Otherwise get consistency error in next hand.)2003-06-01 Julian Bradfield <jcb@dcs.ed.ac.uk> * controller.c: Ouch. Since the year dot, we haven't been setting cmsg_check when loading a game from file! This causes state inconsistencies.2003-05-03 Julian Bradfield <jcb@dcs.ed.ac.uk> * Makefile.in: comment out mj-manager from programs, so it isn't made by default * Makefile.in: Add targets for the table manager. [not in release]2003-04-21 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui.c: Don't showraise messagewindow when info in main; for some reason, this seems to raise the whole top-level window.2003-04-20 Julian Bradfield <jcb@dcs.ed.ac.uk> * Makefile.in: add the auto-generation for the mproto files. [not yet in release] * proto-decode-msg.pl, proto-encode-msg.pl: generalize to deal with mcmsg and mpmsg [not yet in release] * mprotocol.c, mprotocol.h: New file. [not yet in release] * xmj.man: table colour, change to DiscDoubles semantics.2003-04-17 Julian Bradfield <jcb@dcs.ed.ac.uk> * controller.c: Change semantics of DiscarderDoubles to match singaporean play (as it should have been): discarder pays double, but on self-draw everybody pays double. Simplify cannoning logic.2003-04-16 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui.h, gui.c, gui-dial.c: Add table colour display option.2003-04-13 Julian Bradfield <jcb@dcs.ed.ac.uk> * game.c, scoring.c: Trivial code tidy: make more use of is_green instead of checking for individual green tiles.2003-04-12 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c: Tidy: set discard to 0 when MahJong from hand, instead of leaving it uninitialized.2003-04-11 Julian Bradfield <jcb@dcs.ed.ac.uk> * xmj.man, gui-dial.c: Change GUI description of auto-declare options. * ChangeLog, CHANGES: 1.5.5 * scoring.c: Bug fix: was noting Imperial Jade when having Thirteen Orphans. * gui.c: Auto-declaration of winning hand now claims the discard too. * gui.c: Fix auto declaration of winning hands to allow for Special Sets.2003-04-10 Julian Bradfield <jcb@dcs.ed.ac.uk> * ChangeLog, CHANGES: 1.5.4 * gui.c: fix error in Message processing: was displaying (possibly NULL) unexpanded text instead of expanded! * gui.c: Change xmj.ini searching behaviour under Windows. * sysdep.h, sysdep.c: Change get_homedir to return NULL when there's no homedir defined, so calling program can decide where to look.2003-04-07 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c: Initialize the open dialog fields during initialization, so that an automatic connect picks up the right values.2003-04-05 Julian Bradfield <jcb@dcs.ed.ac.uk> * CHANGES, ChangeLog: 1.5.32003-04-04 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c, gui.c, gui.h, xmj.man: Add a selector for the text font used for fixed width text. * game.c: Add discarded_tile_count field to game structure. Use it in End cannon. * game.h: Add discarded_tile_count field to game structure.2003-04-01 Julian Bradfield <jcb@dcs.ed.ac.uk> * CHANGES: indentation typos. * ChangeLog: 1.5.2 * xmj.man: message text entry update, and "keep cursor here" box. * CHANGES: 1.5.22003-03-31 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c: Pop down chowdialog after using it when dealing with old server. * gui.c: setup dialogs after error messages, in case something went wrong. (Only really needed for one case: mistaken chow at mah jong when dealing with old server.)2003-03-30 Julian Bradfield <jcb@dcs.ed.ac.uk> * controller.c, greedy.c, game.h, gui.c, gui-dial.c, game.c, protocol.h:: Break apart the pending flag into chowpending and mjpending. Do legality testing for an AnyPos chow claim during MahJong. This requires a protocol change: before now, AnyPos was illegal during MahJonging. Pversion now 1050. * gui.h: add server_pversion. * game.c: Add checking for an anypos chow in the mahjonging state.2003-03-25 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c: Add a checkbox to keep the keyboard focus in the message entry.2003-03-23 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui.c, client.h, sysdep.h, sysdep.c, client.c: Add some hacks to allow an address of "-" to mean stdin and stdout. Only really likely to work under Unix, but who knows... * controller.c: print errno when get_line returns null. * controller.c: Don't allow reconnects while end_on_disconnect is in progress.2003-03-22 Julian Bradfield <jcb@dcs.ed.ac.uk> * protocol.c, protocol.h: protocol expansion should yield empty string when given NULL source.2003-03-16 Julian Bradfield <jcb@dcs.ed.ac.uk> * ChangeLog, CHANGES: 1.5.1 * proto-decode-msg.pl: Work round bugs in Microsoft sscanf: instead of using " %n" in format to advance to next item, use "%n" and explicit loop over white space. (Symptom: %n was returning ridiculous (or possibly no) values). * controller.c: Fix the handling of disconnection before game starts, and the assignnent of ids to players, and the finding of a player structure in the game for a new player.2003-03-15 Julian Bradfield <jcb@dcs.ed.ac.uk> * ChangeLog: 1.5 * README: add tiles-small * CHANGES: 1.5 * gui.c: Change XmjOption to Display. (Still read XmjOption, of course.) * xmj.man: Change XmjOption to Display.2003-03-14 Julian Bradfield <jcb@dcs.ed.ac.uk> * xmj.man: Describe LosersSettle, EastDoubles, DiscDoubles. * protocol.h: Add GODiscDoubles. Go to pversion 1040. * game.c: Add GODiscDoubles * controller.c: Add DiscDoubles2003-03-10 Julian Bradfield <jcb@dcs.ed.ac.uk> * FILES-src, FILES-binary, MANIFEST: Add tiles-small. * controller.c: fix cannon scoring when no east doubles. * controller.c, protocol.h, game.c: Add GOLosersSettle. * controller.c: remove historical relict. * game.c, controller.c: Add GOEastDoubles. * protocol.h: Add GOEastDoubles. Pversion set to 1039 while adding options.2003-03-06 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c: If the message entry window has focus, don't take it away.2003-03-05 Julian Bradfield <jcb@dcs.ed.ac.uk> * controller.c: Implement the LoadState pmsg. * game.h: Add game_has_started. * gui.c: handle a second ConnectReply (e.g. in response to loadstate) * game.c: Add game_has_started. Allow deletion of players until game has started. Set active=0 on receipt of Game msg.2003-03-01 Julian Bradfield <jcb@dcs.ed.ac.uk> * protocol.h: Add the LoadState pmsg. Protocol version 1038. * gui.c, game.c, gui-dial.c, controller.c: Remove some compiler warnings.2003-02-27 Julian Bradfield <jcb@dcs.ed.ac.uk> * ChangeLog: up to 1.5pre5 * xmj.man: Bring the documentation up to 1.5pre5 level.2003-02-20 Julian Bradfield <jcb@dcs.ed.ac.uk> * controller.c: I believe this implements disconnect penalties, but it needs some testing.2003-02-19 Julian Bradfield <jcb@dcs.ed.ac.uk> * controller.c: --exit-on-disconnect still means it, even before a game has started. * gui.h, gui.c, gui-dial.c, controller.c: Implement client local timeouts. * protocol.h: Define empty name in CMsgPlayerMsg to mean "delete player". Add GOTimeoutGrace game option. Protocol version 1036. * game.c: Add the TimeoutGrace game option. * player.h: Add POLocalTimeouts option. * controller.c: If players disconnect before the game starts, don't exit. (Assuming all connected players support the deletion of players.) * game.c: Handle the new meaning of CMsgPlayer with empty name as "delete player". * game.h: Renumber the states so that HandComplete is zero. This has the useful side effect that if a Game is initialized in the usual way by zeroing, it starts in HandComplete, which makes more sense than "Dealing". It should have no-non side effects, since nothing assumes anything about the numerical values.2003-02-18 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui.c: rename temp new rcfile just in case it helps on ME. * sysdep.c: downgrade two warnings to info; remove / in C:/ for Windows root. * gui.c: fix typo in warning * gui.c, gui.h: *** empty log message *** * gui-dial.c: Change warning stuff for new log_msg. * sysdep.h, sysdep.c: Generalized warn() to a log_msg with different warning levels. Keep warn(), and add info(). Change warning_hook to log_msg_hook taking warning level. * gui-dial.c: try to avoid accidental discards * gui-dial.c: remove stuff that was in wrong place (and commented out) * controller.c: I think this correctly implements --end-on-disconnect. Further testing would be good. * gui.c: Fix long-standing stupid bug in washout handling causing gtk-critical errors. Also, print the WashOut reason field. * gui.c: Well, well. We segfaulted on messages from the controller!2003-02-17 Julian Bradfield <jcb@dcs.ed.ac.uk> * game.c: Add explanatory comment. * game.c: Prevent players discarding when they should be drawing a tile. (How did this one last so long?) * gui-dial.c: Argh! Fix erroneous updating of short status window.2003-02-16 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui.c: choose smaller display sizes on Windows. * sysdep.c: Windows (or mine at least) doesn't have vsnprintf. Increase the buffer size in warn(); and make it non-static. * makedep: Handle the change in semantics of -MM in gcc versions 3.1 and later. * gui-dial.c, gui.c: catch warnings during re-creation of display
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -