Author: bkuhn
Date: Mon Jun 29 00:35:20 2009
New Revision: 5981
URL: http://svn.gna.org/viewcvs/pokersource?rev=5981&view=rev
Log:
Merge packet-table-bug-13771 into trunk: PacketPokerTable.reason implementation
See packet-table-bug-13771 commit logs from r5960 to r5967 for detailed
implementation notes. Closes bug#13771. A summary of the work follows:
* PacketPokerTable.reason is now included. It defaults to an empty
string, but (when possible) the server sets this string to indicate
the reason the PacketPokerTable() is being sent. The documentation
in pokerpackets.py list the possible reasons.
* pokertable.py join and move methods need to carry along reason to
facilitate packet generation.
* pokeravatar.py now sends reason and argument in the proper places.
* pokerservice.py must do the same in two places: tourney creation and
moving a player during a tourney.
* Test coverage is corrected and complete throughout.
Modified:
trunk/poker-network/ChangeLog
trunk/poker-network/pokernetwork/pokeravatar.py
trunk/poker-network/pokernetwork/pokerpackets.py
trunk/poker-network/pokernetwork/pokerservice.py
trunk/poker-network/pokernetwork/pokertable.py
trunk/poker-network/tests/test-pokeravatar.py.in
trunk/poker-network/tests/test-pokerservice.py.in
trunk/poker-network/tests/test-pokertable.py.in
_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits