[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] [SCM] Eliot branch, master, updated. eliot_1.14-25-g54736b2
From: |
Olivier Teulière |
Subject: |
[Eliot-dev] [SCM] Eliot branch, master, updated. eliot_1.14-25-g54736b2 |
Date: |
Thu, 19 Jan 2012 21:50:06 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Eliot".
The branch, master has been updated
via 54736b211a4061f542bf0024f718dbf7ca509de4 (commit)
via cfdf5a928d89b81719052caaf4a5b93017fc49c9 (commit)
via 855718c6b82fba8eeb729c22e4883b3f4d39c628 (commit)
via eadac39a0987586b6bdfcd3106ed1a0d5791d078 (commit)
via a899df5e46796130b973fe72f16cb6588abb2255 (commit)
via 50b55fb7f014961f93b2942022e0f5d7d9da3bd4 (commit)
via e09f7f675e1b707c69fddd28048dc0064569847c (commit)
via 13f4a3c3465067a24f2d9ebdad4da88acce5df34 (commit)
via 1bc9c2f0f127e83cd2c335fcddbeec7d93f499a7 (commit)
via 744e90e6ca707c00463c423f16a3a1e95f4a4df1 (commit)
via e327d4605d4e9f2e9d790ea4763b8c532bde78a6 (commit)
via fbb34d795cf2c0c32fe2ce3cdef4cdda91b96eb5 (commit)
via 7fd8a245f871e6e7a703da8f51849786ec28e995 (commit)
via c81df46b5eee21cbb983d6d024c2fab1aaa9f3d5 (commit)
via d32f3fdf816dcb126d5317e4850995b0fca4bf22 (commit)
via 482b5d674f9bebbf9e06cc838e78b1364c6c777b (commit)
via 90ce7e1111e81c217419b899fc44caf9b46572e7 (commit)
from 413d93c7cb5d817af817f1fa786897dd2b54eac4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 54736b211a4061f542bf0024f718dbf7ca509de4
Author: Olivier Teulière <address@hidden>
Date: Thu Jan 19 21:20:03 2012 +0100
Moved some code to static methods, so that it can be reused more easily.
commit cfdf5a928d89b81719052caaf4a5b93017fc49c9
Author: Olivier Teulière <address@hidden>
Date: Thu Jan 19 15:19:11 2012 +0100
Group all the custom validators in a factory class.
This will make it easier to factorize and reuse this code.
commit 855718c6b82fba8eeb729c22e4883b3f4d39c628
Author: Olivier Teulière <address@hidden>
Date: Thu Jan 19 11:59:58 2012 +0100
Factorized code
commit eadac39a0987586b6bdfcd3106ed1a0d5791d078
Author: Olivier Teulière <address@hidden>
Date: Thu Jan 19 11:47:39 2012 +0100
Removed a useless include
commit a899df5e46796130b973fe72f16cb6588abb2255
Author: Olivier Teulière <address@hidden>
Date: Thu Jan 19 11:07:05 2012 +0100
The Training widget is not in a tab anymore
commit 50b55fb7f014961f93b2942022e0f5d7d9da3bd4
Author: Olivier Teulière <address@hidden>
Date: Wed Jan 18 17:56:37 2012 +0100
Create the players and scores widgets only when a new game is started.
commit e09f7f675e1b707c69fddd28048dc0064569847c
Author: Olivier Teulière <address@hidden>
Date: Tue Jan 17 23:49:09 2012 +0100
When all the moves are invalid for a turn, play the master move anyway
commit 13f4a3c3465067a24f2d9ebdad4da88acce5df34
Author: Olivier Teulière <address@hidden>
Date: Tue Jan 17 23:35:16 2012 +0100
Use the master move.
When no master move is defined, define a valid one using the best played
move (or the best playable move if all the played moves were invalid).
commit 1bc9c2f0f127e83cd2c335fcddbeec7d93f499a7
Author: Olivier Teulière <address@hidden>
Date: Tue Jan 17 17:43:04 2012 +0100
Implement (de)serialization of the MasterMoveCmd class
commit 744e90e6ca707c00463c423f16a3a1e95f4a4df1
Author: Olivier Teulière <address@hidden>
Date: Tue Jan 17 17:29:19 2012 +0100
New command to define a master move.
commit e327d4605d4e9f2e9d790ea4763b8c532bde78a6
Author: Olivier Teulière <address@hidden>
Date: Tue Jan 17 21:36:22 2012 +0100
Always consider that the played move was played by the first player.
Knowing the actual player is not always possible, since potentially none
of the players has found the played move (for example in arbitration
mode). This ID is now only used to retrieve the rack from which the move
was formed, so any player ID will do.
The non-regression tests have been adapted accordingly.
commit fbb34d795cf2c0c32fe2ce3cdef4cdda91b96eb5
Author: Olivier Teulière <address@hidden>
Date: Tue Jan 17 21:24:41 2012 +0100
The history now shows the "Player" column only in FreeGame mode.
It doesn't really make sense (or it is useless) in the other modes.
commit 7fd8a245f871e6e7a703da8f51849786ec28e995
Author: Olivier Teulière <address@hidden>
Date: Tue Jan 17 10:48:36 2012 +0100
Do not refresh the coordinates for a non-visible player.
This fixes a focus bug, and makes it easier to enter moves for several
human players.
commit c81df46b5eee21cbb983d6d024c2fab1aaa9f3d5
Author: Olivier Teulière <address@hidden>
Date: Tue Jan 17 00:27:32 2012 +0100
Added a new type of move: NO_MOVE
commit d32f3fdf816dcb126d5317e4850995b0fca4bf22
Author: Olivier Teulière <address@hidden>
Date: Tue Jan 17 00:31:26 2012 +0100
Use assertions where appropriate
commit 482b5d674f9bebbf9e06cc838e78b1364c6c777b
Author: Olivier Teulière <address@hidden>
Date: Thu Jan 12 17:43:57 2012 +0100
Previewing a Round is now possible in all the game types.
It was only possible in Training mode. This change will be useful for
the future arbitration mdoe.
commit 90ce7e1111e81c217419b899fc44caf9b46572e7
Author: Olivier Teulière <address@hidden>
Date: Thu Jan 12 15:26:27 2012 +0100
Removed some useless code
-----------------------------------------------------------------------
Summary of changes:
game/Makefile.am | 1 +
game/ai_percent.cpp | 6 +-
game/duplicate.cpp | 106 ++++--
game/duplicate.h | 34 ++-
game/game.cpp | 12 +
game/game.h | 9 +
.../{player_points_cmd.cpp => master_move_cmd.cpp} | 28 +-
game/{mark_played_cmd.h => master_move_cmd.h} | 22 +-
game/move.cpp | 40 +--
game/move.h | 19 +-
game/public_game.cpp | 30 +-
game/public_game.h | 22 +-
game/training.cpp | 23 +--
game/training.h | 19 +-
game/turn.cpp | 6 +-
game/xml_reader.cpp | 19 +-
game/xml_writer.cpp | 13 +-
qt/Makefile.am | 2 +
qt/dic_tools_widget.cpp | 110 +------
qt/history_widget.cpp | 14 +-
qt/history_widget.h | 6 +-
qt/main_window.cpp | 139 +++++---
qt/main_window.h | 18 +-
qt/new_game.cpp | 1 -
qt/play_word_mediator.cpp | 212 ++++-------
qt/play_word_mediator.h | 25 ++-
qt/player_widget.cpp | 120 +-----
qt/player_widget.h | 1 -
qt/qtcommon.cpp | 18 +-
qt/qtcommon.h | 20 +-
qt/training_widget.cpp | 83 +----
qt/validator_factory.cpp | 386 ++++++++++++++++++++
qt/validator_factory.h | 81 ++++
test/duplicate_humans_ai.ref | 4 +-
test/duplicate_invalid_turn.input | 4 +-
test/duplicate_invalid_turn.ref | 32 +-
test/duplicate_joker_variant.ref | 14 +-
test/duplicate_navigation.ref | 10 +-
test/duplicate_no_point.ref | 2 +-
utils/game_io.cpp | 8 +-
utils/ncurses.cpp | 6 +-
41 files changed, 1044 insertions(+), 681 deletions(-)
copy game/{player_points_cmd.cpp => master_move_cmd.cpp} (62%)
copy game/{mark_played_cmd.h => master_move_cmd.h} (74%)
create mode 100644 qt/validator_factory.cpp
create mode 100644 qt/validator_factory.h
hooks/post-receive
--
Eliot
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Eliot-dev] [SCM] Eliot branch, master, updated. eliot_1.14-25-g54736b2,
Olivier Teulière <=