Yann Dirson [Sun, 20 Apr 2008 19:52:43 +0000 (20 21:52 +0200)]
Tentative Randomless-Entropy variant.
Yann Dirson [Sun, 20 Apr 2008 19:52:43 +0000 (20 21:52 +0200)]
Address some valgrind-detected problems, flag others for later.
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Switch to manual memory management in legal().
The auto_ptr-based version was not working as expected, and manual
management is quite easy to do in this case.
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Fix use of singleton pattern.
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Tentative MiniShogi implementation over move generator.
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Preliminary port of Shogi to the component API.
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Finalize support for delegating behaviours.
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Rename delegate members, trying to avoid confusion.
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Make component interfaces inherit Component.
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Add a move-generator API.
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Add a PromotionManager.
Yann Dirson [Sun, 20 Apr 2008 19:52:41 +0000 (20 21:52 +0200)]
Add san() to the MoveSerializer interface, so other variants can call it.
Yann Dirson [Sun, 20 Apr 2008 19:52:41 +0000 (20 21:52 +0200)]
doxygen-tmp
Yann Dirson [Sun, 20 Apr 2008 19:52:41 +0000 (20 21:52 +0200)]
Add more assertions.
Yann Dirson [Sun, 20 Apr 2008 19:35:15 +0000 (20 21:35 +0200)]
Allow building as monolithic app (no plugins) for easier developement.
Yann Dirson [Sun, 20 Apr 2008 19:23:15 +0000 (20 21:23 +0200)]
Move all() up to IVariantLoader.
This may not be *required* for now, but all variant loaders must
implement it anyway - even though we call it manually on each sublass.
Yann Dirson [Sun, 20 Apr 2008 19:14:26 +0000 (20 21:14 +0200)]
Refactor the Variants factory to clearly separate KDE-specific stuff.
Yann Dirson [Sun, 20 Apr 2008 19:14:25 +0000 (20 21:14 +0200)]
Misc cleanups.
Yann Dirson [Sun, 20 Apr 2008 19:11:54 +0000 (20 21:11 +0200)]
More code documention.
Yann Dirson [Sun, 20 Apr 2008 19:11:54 +0000 (20 21:11 +0200)]
Report error conditions instead of just doing nothing.
Yann Dirson [Sun, 20 Apr 2008 19:10:16 +0000 (20 21:10 +0200)]
Add a dump_component_methods() helper for debugging.
Yann Dirson [Fri, 4 Apr 2008 11:50:35 +0000 (4 13:50 +0200)]
Add Doxygen documentation to C++ namespaces.
Yann Dirson [Fri, 4 Apr 2008 11:30:51 +0000 (4 13:30 +0200)]
Remove dead code.
Yann Dirson [Fri, 4 Apr 2008 11:30:08 +0000 (4 13:30 +0200)]
Update .gitignore files.
Yann Dirson [Fri, 4 Apr 2008 11:30:08 +0000 (4 13:30 +0200)]
Add useful defs from KDE4 doxygen.css for readability
Yann Dirson [Fri, 4 Apr 2008 11:30:08 +0000 (4 13:30 +0200)]
Fix doxygen comments that were breaking parsing.
Yann Dirson [Fri, 4 Apr 2008 11:30:07 +0000 (4 13:30 +0200)]
Update for doxygen 1.5.5, graph generation, and match current code.
Yann Dirson [Fri, 4 Apr 2008 11:29:51 +0000 (4 13:29 +0200)]
Make it clear in debian/changelog that next release will be 1.0-beta
Yann Dirson [Fri, 4 Apr 2008 09:49:08 +0000 (4 11:49 +0200)]
Merge commit 'v1.0-alpha2' into component-api
Conflicts:
debian/changelog
debian/rules
src/chesstable.h
src/hlvariant/shogi/legalitycheck.h
src/hlvariant/tori-shogi/legalitycheck.h
src/mainwindow.cpp
src/ui.h
Yann Dirson [Thu, 3 Apr 2008 17:11:46 +0000 (3 19:11 +0200)]
Update copyright dates in debian packaging.
Yann Dirson [Thu, 3 Apr 2008 17:08:42 +0000 (3 19:08 +0200)]
Cause unofficial deb packages to have a correct revision number.
Yann Dirson [Sat, 15 Mar 2008 08:47:28 +0000 (15 09:47 +0100)]
Have the board GUI cache validity information
This change avoids calling the move validity test over and over again,
when the mouse pointer only moves inside a square.
Yann Dirson [Sat, 15 Mar 2008 08:47:28 +0000 (15 09:47 +0100)]
Create a debian package for debug symbols.
Yann Dirson [Sat, 15 Mar 2008 08:47:19 +0000 (15 09:47 +0100)]
Build Debian package with TAGUA_DEBUG set.
Yann Dirson [Sun, 9 Mar 2008 22:03:17 +0000 (9 23:03 +0100)]
Add to changelog.
Paolo Capriotti [Wed, 27 Feb 2008 14:20:15 +0000 (27 15:20 +0100)]
Updated CHANGELOG.
Yann Dirson [Wed, 27 Feb 2008 00:09:51 +0000 (27 01:09 +0100)]
Update l10n files, translate into french a bit more.
Yann Dirson [Wed, 27 Feb 2008 00:09:51 +0000 (27 01:09 +0100)]
Stop message extraction on error (eg. missing extractrc)
Yann Dirson [Tue, 26 Feb 2008 23:03:44 +0000 (27 00:03 +0100)]
Refresh the translations on package build.
Yann Dirson [Sun, 10 Feb 2008 22:01:41 +0000 (10 23:01 +0100)]
Fix debian/rules to build in BUILD/ dir.
Paolo Capriotti [Sun, 24 Feb 2008 22:56:26 +0000 (24 23:56 +0100)]
New wallpaper rendering code.
Wallpapers were always rendered as "center tiled", while now a "scale & crop"
strategy is used instead.
Paolo Capriotti [Sun, 24 Feb 2008 19:24:58 +0000 (24 20:24 +0100)]
i18n fixes.
Paolo Capriotti [Sun, 24 Feb 2008 19:23:03 +0000 (24 20:23 +0100)]
Fix eraser icon.
Paolo Capriotti [Sun, 24 Feb 2008 19:17:09 +0000 (24 20:17 +0100)]
Remove icons from the engine configuration GUI.
Yann Dirson [Wed, 20 Feb 2008 22:28:25 +0000 (20 23:28 +0100)]
Get rid of extra-verbose trace.
Yann Dirson [Wed, 20 Feb 2008 22:28:25 +0000 (20 23:28 +0100)]
Adapt enhanced engine debugging traces to the use of kDebug().
Yann Dirson [Wed, 20 Feb 2008 22:28:25 +0000 (20 23:28 +0100)]
Comment out from shogi svg themes reference to glyph sets we do not have yet.
Those additional themes refer to glyphs potraced by Maurizio, but
which did not make their way into the git tree yet, so that they are
more harmful than anything else for now.
Yann Dirson [Wed, 20 Feb 2008 22:28:24 +0000 (20 23:28 +0100)]
Various fixes and enhancements to tagua.desktop
We need a Categories entry, and the deprecated %m code on command-line
generates problems, so let's drop it.
While I was at it, added french translations (there are no real good
translations for "board game", so I followoed Pierre Berloquin,
André Deledicq, Michel Boutin and others (cf. "Le livre des jeux de
pions", M. Boutin, Bornemann 1999).
Yann Dirson [Tue, 12 Feb 2008 23:50:13 +0000 (13 00:50 +0100)]
[#68] Fix Tori Shogi legalitycheck to detect in-check condition.
This is a hack around a template-instantation problem:
Base::canBeCaptured() instantiates a Base::LegalityCheck<>, so we
cut'n'paste it to be sure. There may be a cleaner fix, but since this
code will be rewritten for the new component API for 1.0beta, there is
not point in spending more time on it.
Yann Dirson [Sun, 10 Feb 2008 22:01:41 +0000 (10 23:01 +0100)]
Fix debian/rules in places where the move to BUILD/ dir was not complete.
Yann Dirson [Mon, 11 Feb 2008 21:46:03 +0000 (11 22:46 +0100)]
Remove or relicense material under Creative Commons licenses.
Those are non-essential files, and would be stripped from the Debian
source package because CC licenses are not yet considered
DFSG-compatible.
Maurizio has allowed to distribute Prmao.jpg under the GPL (see
tagua-devel).
Also switched the default background wallpaper to one of the GPL ones.
Yann Dirson [Mon, 11 Feb 2008 19:33:42 +0000 (11 20:33 +0100)]
Compute version for debian package using git-describe.
Yann Dirson [Sun, 10 Feb 2008 23:01:41 +0000 (11 00:01 +0100)]
Fix debian/rules in places where the move to BUILD/ dir was not complete.
Paolo Capriotti [Sun, 10 Feb 2008 22:51:12 +0000 (10 23:51 +0100)]
Move to readded move when redoing an add. Fixes #65.
Paolo Capriotti [Sun, 10 Feb 2008 22:31:15 +0000 (10 23:31 +0100)]
Use newGame in setupPGN instead of duplicating (wrong!) code.
Paolo Capriotti [Sun, 10 Feb 2008 20:46:41 +0000 (10 21:46 +0100)]
Yann Dirson [Sun, 10 Feb 2008 18:06:32 +0000 (10 19:06 +0100)]
Debian packaging update for component-api branch.
Yann Dirson [Sun, 10 Feb 2008 18:06:32 +0000 (10 19:06 +0100)]
Fail nicely when the requested variant cannot be found.
Yann Dirson [Sat, 5 Jan 2008 20:54:25 +0000 (5 21:54 +0100)]
Misc cleanups
Paolo Capriotti [Sun, 10 Feb 2008 19:01:21 +0000 (10 20:01 +0100)]
Paolo Capriotti [Sun, 10 Feb 2008 17:05:23 +0000 (10 18:05 +0100)]
Removed most of the old stuff in common.h.
Paolo Capriotti [Sun, 10 Feb 2008 15:57:04 +0000 (10 16:57 +0100)]
Replaced all std::cout with kDebug.
Paolo Capriotti [Sun, 10 Feb 2008 15:39:33 +0000 (10 16:39 +0100)]
Replaced ERROR with kError and WARNING with kWarning.
Yann Dirson [Wed, 6 Feb 2008 22:46:35 +0000 (6 23:46 +0100)]
Comment some code, remove dups from TODO when done or in trac.
Yann Dirson [Wed, 6 Feb 2008 22:46:23 +0000 (6 23:46 +0100)]
Warn instead of not warning in case of bugs in the use of boost::variant.
These cases may possibly be more securely handled with static
visitors instead, but that should already be better, and less
expensive to code :).
Yann Dirson [Wed, 6 Feb 2008 22:46:23 +0000 (6 23:46 +0100)]
Use std::vector<>::back() to make the code more readable.
Yann Dirson [Wed, 6 Feb 2008 22:46:23 +0000 (6 23:46 +0100)]
Remove debugging traces, now that PGN load/save works.
Yann Dirson [Wed, 6 Feb 2008 22:46:22 +0000 (6 23:46 +0100)]
Add a newline after variant tag when saving PGN.
Yann Dirson [Wed, 6 Feb 2008 22:18:37 +0000 (6 23:18 +0100)]
Fix regexp for parsing PGN moves.
The regexp for a move would include the closing parenthesis for a
variation, causing the end of the variation not to be detected, and
further deserialization to fail. Games inclusing variations now can
be loaded.
Paolo Capriotti [Sun, 3 Feb 2008 18:44:01 +0000 (3 19:44 +0100)]
Ask before overwriting. Fixes #63.
Paolo Capriotti [Sun, 3 Feb 2008 18:34:41 +0000 (3 19:34 +0100)]
Moved m_url into the controller. Fixes #62.
Paolo Capriotti [Sun, 3 Feb 2008 18:04:44 +0000 (3 19:04 +0100)]
Fix "tab close" and "promoted automatically" icons.
Paolo Capriotti [Sun, 3 Feb 2008 18:01:33 +0000 (3 19:01 +0100)]
Add kateconfig.
Paolo Capriotti [Sun, 3 Feb 2008 17:52:11 +0000 (3 18:52 +0100)]
Update variant actions when creating a new game in the same tab. Fixes #64.
Paolo Capriotti [Sat, 26 Jan 2008 01:48:11 +0000 (26 02:48 +0100)]
Remove unused icons, use standard icons everywhere.
Some new icons are probably needed, like 'movelist' and 'engines'.
Yann Dirson [Thu, 31 Jan 2008 01:54:25 +0000 (31 02:54 +0100)]
Record variant name in PGN file, so they can be read accordingly.
Yann Dirson [Wed, 30 Jan 2008 00:19:34 +0000 (30 01:19 +0100)]
Implement for shogi deserialization of the notation used for saving PGN
Yann Dirson [Fri, 25 Jan 2008 21:34:01 +0000 (25 22:34 +0100)]
Fix failed assertion loading PGN for a variant.
Yann Dirson [Fri, 25 Jan 2008 07:54:53 +0000 (25 08:54 +0100)]
Add finer engine tracing.
Yann Dirson [Sat, 19 Jan 2008 23:34:33 +0000 (20 00:34 +0100)]
Add to TODO
Paolo Capriotti [Mon, 17 Dec 2007 22:52:40 +0000 (17 23:52 +0100)]
Restored castling animations.
Paolo Capriotti [Mon, 17 Dec 2007 22:48:21 +0000 (17 23:48 +0100)]
Fixed chess 5x5.
Paolo Capriotti [Mon, 17 Dec 2007 22:28:00 +0000 (17 23:28 +0100)]
Enabled castling rules in chess.
Paolo Capriotti [Mon, 17 Dec 2007 21:42:54 +0000 (17 22:42 +0100)]
Use state prototypes instead of state factories.
Paolo Capriotti [Mon, 17 Dec 2007 21:10:38 +0000 (17 22:10 +0100)]
Add CastlingRules interface and implementation.
Paolo Capriotti [Mon, 17 Dec 2007 18:55:29 +0000 (17 19:55 +0100)]
Do not validate moves more than once.
Paolo Capriotti [Sun, 16 Dec 2007 23:04:03 +0000 (17 00:04 +0100)]
Add crazyhouse MoveSerializer.
Paolo Capriotti [Sun, 16 Dec 2007 22:27:27 +0000 (16 23:27 +0100)]
Fix include guard in behaviour delegator.
Paolo Capriotti [Sun, 16 Dec 2007 17:34:12 +0000 (16 18:34 +0100)]
Use Validator in chess MoveSerializer.
Paolo Capriotti [Sun, 16 Dec 2007 16:38:21 +0000 (16 17:38 +0100)]
Add crazyhouse validator and finish the animator.
Paolo Capriotti [Sun, 16 Dec 2007 15:04:44 +0000 (16 16:04 +0100)]
Add delegator mechanism to Validator.
Paolo Capriotti [Sun, 16 Dec 2007 12:48:33 +0000 (16 13:48 +0100)]
Fix translation build system.
Paolo Capriotti [Sun, 16 Dec 2007 12:40:47 +0000 (16 13:40 +0100)]
Add Czech translation by Karel Volný.
Paolo Capriotti [Sun, 16 Dec 2007 12:25:20 +0000 (16 13:25 +0100)]
Restored Pool animations.
Paolo Capriotti [Sun, 16 Dec 2007 12:14:31 +0000 (16 13:14 +0100)]
Factor animation creating functions out of GraphicalSystem into AnimationManager.
Paolo Capriotti [Sun, 16 Dec 2007 12:05:00 +0000 (16 13:05 +0100)]
Moved MainAnimation instance inside AnimationManager.
Paolo Capriotti [Sun, 16 Dec 2007 11:49:38 +0000 (16 12:49 +0100)]
Renamed AnimationSettings -> AnimationManager.
Paolo Capriotti [Sun, 16 Dec 2007 11:26:53 +0000 (16 12:26 +0100)]
Add IndexConverter pointers to GraphicalSystem.
Paolo Capriotti [Sat, 15 Dec 2007 23:54:19 +0000 (16 00:54 +0100)]
Replaced IDefaultState subinterface with an encapsulated Behaviour object.
Paolo Capriotti [Sat, 15 Dec 2007 18:50:07 +0000 (15 19:50 +0100)]
Partially implemented Crazyhouse.