tagua/yd.git
16 years agoTentative Randomless-Entropy variant.mastermaster/entropy
Yann Dirson [Sun, 20 Apr 2008 19:52:43 +0000 (20 21:52 +0200)]
Tentative Randomless-Entropy variant.

16 years agoAddress some valgrind-detected problems, flag others for later.master/valgrind
Yann Dirson [Sun, 20 Apr 2008 19:52:43 +0000 (20 21:52 +0200)]
Address some valgrind-detected problems, flag others for later.

16 years agoSwitch to manual memory management in legal().master/manual
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.

16 years agoFix use of singleton pattern.master/fix-singleton
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Fix use of singleton pattern.

16 years agoTentative MiniShogi implementation over move generator.master/minishogi
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Tentative MiniShogi implementation over move generator.

16 years agoPreliminary port of Shogi to the component API.master/shogi
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Preliminary port of Shogi to the component API.

16 years agoFinalize support for delegating behaviours.master/behaviour-delegate
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Finalize support for delegating behaviours.

16 years agoRename delegate members, trying to avoid confusion.master/dgate
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Rename delegate members, trying to avoid confusion.

16 years agoMake component interfaces inherit Component.master/lift-components
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Make component interfaces inherit Component.

16 years agoAdd a move-generator API.master/movegen
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Add a move-generator API.

16 years agoAdd a PromotionManager.master/promotion
Yann Dirson [Sun, 20 Apr 2008 19:52:42 +0000 (20 21:52 +0200)]
Add a PromotionManager.

16 years agoAdd san() to the MoveSerializer interface, so other variants can call it.master/san
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.

16 years agodoxygen-tmpmaster/doxygen-tmp
Yann Dirson [Sun, 20 Apr 2008 19:52:41 +0000 (20 21:52 +0200)]
doxygen-tmp

16 years agoAdd more assertions.master/assert
Yann Dirson [Sun, 20 Apr 2008 19:52:41 +0000 (20 21:52 +0200)]
Add more assertions.

16 years agoAllow building as monolithic app (no plugins) for easier developement.
Yann Dirson [Sun, 20 Apr 2008 19:35:15 +0000 (20 21:35 +0200)]
Allow building as monolithic app (no plugins) for easier developement.

16 years agoMove all() up to IVariantLoader.
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.

16 years agoRefactor the Variants factory to clearly separate KDE-specific stuff.
Yann Dirson [Sun, 20 Apr 2008 19:14:26 +0000 (20 21:14 +0200)]
Refactor the Variants factory to clearly separate KDE-specific stuff.

16 years agoMisc cleanups.
Yann Dirson [Sun, 20 Apr 2008 19:14:25 +0000 (20 21:14 +0200)]
Misc cleanups.

16 years agoMore code documention.
Yann Dirson [Sun, 20 Apr 2008 19:11:54 +0000 (20 21:11 +0200)]
More code documention.

16 years agoReport error conditions instead of just doing nothing.
Yann Dirson [Sun, 20 Apr 2008 19:11:54 +0000 (20 21:11 +0200)]
Report error conditions instead of just doing nothing.

16 years agoAdd a dump_component_methods() helper for debugging.
Yann Dirson [Sun, 20 Apr 2008 19:10:16 +0000 (20 21:10 +0200)]
Add a dump_component_methods() helper for debugging.

16 years agoAdd Doxygen documentation to C++ namespaces.component-api/doxygen-namespaces
Yann Dirson [Fri, 4 Apr 2008 11:50:35 +0000 (4 13:50 +0200)]
Add Doxygen documentation to C++ namespaces.

16 years agoRemove dead code.component-api/deadcode
Yann Dirson [Fri, 4 Apr 2008 11:30:51 +0000 (4 13:30 +0200)]
Remove dead code.

16 years agoUpdate .gitignore files.component-api/gitignore
Yann Dirson [Fri, 4 Apr 2008 11:30:08 +0000 (4 13:30 +0200)]
Update .gitignore files.

16 years agoAdd useful defs from KDE4 doxygen.css for readabilitycomponent-api/doxygen-css
Yann Dirson [Fri, 4 Apr 2008 11:30:08 +0000 (4 13:30 +0200)]
Add useful defs from KDE4 doxygen.css for readability

16 years agoFix doxygen comments that were breaking parsing.component-api/fix-doxygen
Yann Dirson [Fri, 4 Apr 2008 11:30:08 +0000 (4 13:30 +0200)]
Fix doxygen comments that were breaking parsing.

16 years agoUpdate for doxygen 1.5.5, graph generation, and match current code.component-api/doxygen
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.

16 years agoMake it clear in debian/changelog that next release will be 1.0-betacomponent-api/deb-beta
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

16 years agoMerge commit 'v1.0-alpha2' into component-api
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

16 years agoUpdate copyright dates in debian packaging.
Yann Dirson [Thu, 3 Apr 2008 17:11:46 +0000 (3 19:11 +0200)]
Update copyright dates in debian packaging.

16 years agoCause unofficial deb packages to have a correct revision number.
Yann Dirson [Thu, 3 Apr 2008 17:08:42 +0000 (3 19:08 +0200)]
Cause unofficial deb packages to have a correct revision number.

16 years agoHave the board GUI cache validity informationcomponent-api/cache-validmove
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.

16 years agoCreate a debian package for debug symbols.component-api/deb-debugsyms
Yann Dirson [Sat, 15 Mar 2008 08:47:28 +0000 (15 09:47 +0100)]
Create a debian package for debug symbols.

16 years agoBuild Debian package with TAGUA_DEBUG set.component-api/deb-debug
Yann Dirson [Sat, 15 Mar 2008 08:47:19 +0000 (15 09:47 +0100)]
Build Debian package with TAGUA_DEBUG set.

16 years agoAdd to changelog.master/changelog
Yann Dirson [Sun, 9 Mar 2008 22:03:17 +0000 (9 23:03 +0100)]
Add to changelog.

16 years agoUpdated CHANGELOG.
Paolo Capriotti [Wed, 27 Feb 2008 14:20:15 +0000 (27 15:20 +0100)]
Updated CHANGELOG.

16 years agoUpdate l10n files, translate into french a bit more.master/i18n
Yann Dirson [Wed, 27 Feb 2008 00:09:51 +0000 (27 01:09 +0100)]
Update l10n files, translate into french a bit more.

16 years agoStop message extraction on error (eg. missing extractrc)master/i18n-extract
Yann Dirson [Wed, 27 Feb 2008 00:09:51 +0000 (27 01:09 +0100)]
Stop message extraction on error (eg. missing extractrc)

16 years agoRefresh the translations on package build.master/deb-i18n
Yann Dirson [Tue, 26 Feb 2008 23:03:44 +0000 (27 00:03 +0100)]
Refresh the translations on package build.

16 years agoFix debian/rules to build in BUILD/ dir.master/deb-build
Yann Dirson [Sun, 10 Feb 2008 22:01:41 +0000 (10 23:01 +0100)]
Fix debian/rules to build in BUILD/ dir.

16 years agoNew wallpaper rendering code.
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.

16 years agoi18n fixes.
Paolo Capriotti [Sun, 24 Feb 2008 19:24:58 +0000 (24 20:24 +0100)]
i18n fixes.

16 years agoFix eraser icon.
Paolo Capriotti [Sun, 24 Feb 2008 19:23:03 +0000 (24 20:23 +0100)]
Fix eraser icon.

16 years agoRemove icons from the engine configuration GUI.
Paolo Capriotti [Sun, 24 Feb 2008 19:17:09 +0000 (24 20:17 +0100)]
Remove icons from the engine configuration GUI.

16 years agoGet rid of extra-verbose trace.master/rm-trace
Yann Dirson [Wed, 20 Feb 2008 22:28:25 +0000 (20 23:28 +0100)]
Get rid of extra-verbose trace.

16 years agoAdapt enhanced engine debugging traces to the use of kDebug().master/fix-debug
Yann Dirson [Wed, 20 Feb 2008 22:28:25 +0000 (20 23:28 +0100)]
Adapt enhanced engine debugging traces to the use of kDebug().

16 years agoComment out from shogi svg themes reference to glyph sets we do not have yet.master/fix-themes
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.

16 years agoVarious fixes and enhancements to tagua.desktopmaster/fix-desktop
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).

16 years ago[#68] Fix Tori Shogi legalitycheck to detect in-check condition.master/fix-tori
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.

16 years agoFix debian/rules in places where the move to BUILD/ dir was not complete.
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.

16 years agoRemove or relicense material under Creative Commons licenses.master/nuke-cc
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.

16 years agoCompute version for debian package using git-describe.master/deb-version
Yann Dirson [Mon, 11 Feb 2008 19:33:42 +0000 (11 20:33 +0100)]
Compute version for debian package using git-describe.

16 years agoFix debian/rules in places where the move to BUILD/ dir was not complete.component-api/deb-fixcomponent-api/fix-deb
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.

16 years agoMove to readded move when redoing an add. Fixes #65.
Paolo Capriotti [Sun, 10 Feb 2008 22:51:12 +0000 (10 23:51 +0100)]
Move to readded move when redoing an add. Fixes #65.

16 years agoUse newGame in setupPGN instead of duplicating (wrong!) code.
Paolo Capriotti [Sun, 10 Feb 2008 22:31:15 +0000 (10 23:31 +0100)]
Use newGame in setupPGN instead of duplicating (wrong!) code.

16 years agoMerge from master bf883501679502d078aa719efed53ca4b2d4328c.
Paolo Capriotti [Sun, 10 Feb 2008 20:46:41 +0000 (10 21:46 +0100)]
Merge from master bf883501679502d078aa719efed53ca4b2d4328c.

16 years agoDebian packaging update for component-api branch.
Yann Dirson [Sun, 10 Feb 2008 18:06:32 +0000 (10 19:06 +0100)]
Debian packaging update for component-api branch.

16 years agoFail nicely when the requested variant cannot be found.
Yann Dirson [Sun, 10 Feb 2008 18:06:32 +0000 (10 19:06 +0100)]
Fail nicely when the requested variant cannot be found.

16 years agoMisc cleanups
Yann Dirson [Sat, 5 Jan 2008 20:54:25 +0000 (5 21:54 +0100)]
Misc cleanups

16 years agoMerge from master 33639cc09d7ce63adcce28d6f970d024b6b3e388.
Paolo Capriotti [Sun, 10 Feb 2008 19:01:21 +0000 (10 20:01 +0100)]
Merge from master 33639cc09d7ce63adcce28d6f970d024b6b3e388.

16 years agoRemoved most of the old stuff in common.h.
Paolo Capriotti [Sun, 10 Feb 2008 17:05:23 +0000 (10 18:05 +0100)]
Removed most of the old stuff in common.h.

16 years agoReplaced all std::cout with kDebug.
Paolo Capriotti [Sun, 10 Feb 2008 15:57:04 +0000 (10 16:57 +0100)]
Replaced all std::cout with kDebug.

16 years agoReplaced ERROR with kError and WARNING with kWarning.
Paolo Capriotti [Sun, 10 Feb 2008 15:39:33 +0000 (10 16:39 +0100)]
Replaced ERROR with kError and WARNING with kWarning.

16 years agoComment some code, remove dups from TODO when done or in trac.master/doc
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.

16 years agoWarn instead of not warning in case of bugs in the use of boost::variant.master/boost-variant
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 :).

16 years agoUse std::vector<>::back() to make the code more readable.master/stl-back
Yann Dirson [Wed, 6 Feb 2008 22:46:23 +0000 (6 23:46 +0100)]
Use std::vector<>::back() to make the code more readable.

16 years agoRemove debugging traces, now that PGN load/save works.master/notrace
Yann Dirson [Wed, 6 Feb 2008 22:46:23 +0000 (6 23:46 +0100)]
Remove debugging traces, now that PGN load/save works.

16 years agoAdd a newline after variant tag when saving PGN.master/pgn-newline
Yann Dirson [Wed, 6 Feb 2008 22:46:22 +0000 (6 23:46 +0100)]
Add a newline after variant tag when saving PGN.

16 years agoFix regexp for parsing PGN moves.master/pgn-variant
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.

16 years agoAsk before overwriting. Fixes #63.
Paolo Capriotti [Sun, 3 Feb 2008 18:44:01 +0000 (3 19:44 +0100)]
Ask before overwriting. Fixes #63.

16 years agoMoved m_url into the controller. Fixes #62.
Paolo Capriotti [Sun, 3 Feb 2008 18:34:41 +0000 (3 19:34 +0100)]
Moved m_url into the controller. Fixes #62.

16 years agoFix "tab close" and "promoted automatically" icons.
Paolo Capriotti [Sun, 3 Feb 2008 18:04:44 +0000 (3 19:04 +0100)]
Fix "tab close" and "promoted automatically" icons.

16 years agoAdd kateconfig.
Paolo Capriotti [Sun, 3 Feb 2008 18:01:33 +0000 (3 19:01 +0100)]
Add kateconfig.

16 years agoUpdate variant actions when creating a new game in the same tab. Fixes #64.
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.

16 years agoRemove unused icons, use standard icons everywhere.
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'.

16 years agoRecord variant name in PGN file, so they can be read accordingly.master/pgn-save-variant
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.

16 years agoImplement for shogi deserialization of the notation used for saving PGNmaster/shogi-deserialize
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

16 years agoFix failed assertion loading PGN for a variant.master/pgn-variants
Yann Dirson [Fri, 25 Jan 2008 21:34:01 +0000 (25 22:34 +0100)]
Fix failed assertion loading PGN for a variant.

16 years agoAdd finer engine tracing.master/engine-trace
Yann Dirson [Fri, 25 Jan 2008 07:54:53 +0000 (25 08:54 +0100)]
Add finer engine tracing.

16 years agoAdd to TODOmaster/todo
Yann Dirson [Sat, 19 Jan 2008 23:34:33 +0000 (20 00:34 +0100)]
Add to TODO

16 years agoRestored castling animations.
Paolo Capriotti [Mon, 17 Dec 2007 22:52:40 +0000 (17 23:52 +0100)]
Restored castling animations.

16 years agoFixed chess 5x5.
Paolo Capriotti [Mon, 17 Dec 2007 22:48:21 +0000 (17 23:48 +0100)]
Fixed chess 5x5.

16 years agoEnabled castling rules in chess.
Paolo Capriotti [Mon, 17 Dec 2007 22:28:00 +0000 (17 23:28 +0100)]
Enabled castling rules in chess.

16 years agoUse state prototypes instead of state factories.
Paolo Capriotti [Mon, 17 Dec 2007 21:42:54 +0000 (17 22:42 +0100)]
Use state prototypes instead of state factories.

16 years agoAdd CastlingRules interface and implementation.
Paolo Capriotti [Mon, 17 Dec 2007 21:10:38 +0000 (17 22:10 +0100)]
Add CastlingRules interface and implementation.

16 years agoDo not validate moves more than once.
Paolo Capriotti [Mon, 17 Dec 2007 18:55:29 +0000 (17 19:55 +0100)]
Do not validate moves more than once.

16 years agoAdd crazyhouse MoveSerializer.
Paolo Capriotti [Sun, 16 Dec 2007 23:04:03 +0000 (17 00:04 +0100)]
Add crazyhouse MoveSerializer.

16 years agoFix include guard in behaviour delegator.
Paolo Capriotti [Sun, 16 Dec 2007 22:27:27 +0000 (16 23:27 +0100)]
Fix include guard in behaviour delegator.

16 years agoUse Validator in chess MoveSerializer.
Paolo Capriotti [Sun, 16 Dec 2007 17:34:12 +0000 (16 18:34 +0100)]
Use Validator in chess MoveSerializer.

16 years agoAdd crazyhouse validator and finish the animator.
Paolo Capriotti [Sun, 16 Dec 2007 16:38:21 +0000 (16 17:38 +0100)]
Add crazyhouse validator and finish the animator.

16 years agoAdd delegator mechanism to Validator.
Paolo Capriotti [Sun, 16 Dec 2007 15:04:44 +0000 (16 16:04 +0100)]
Add delegator mechanism to Validator.

16 years agoFix translation build system.
Paolo Capriotti [Sun, 16 Dec 2007 12:48:33 +0000 (16 13:48 +0100)]
Fix translation build system.

16 years agoAdd Czech translation by Karel Volný.
Paolo Capriotti [Sun, 16 Dec 2007 12:40:47 +0000 (16 13:40 +0100)]
Add Czech translation by Karel Volný.

16 years agoRestored Pool animations.
Paolo Capriotti [Sun, 16 Dec 2007 12:25:20 +0000 (16 13:25 +0100)]
Restored Pool animations.

16 years agoFactor animation creating functions out of GraphicalSystem into AnimationManager.
Paolo Capriotti [Sun, 16 Dec 2007 12:14:31 +0000 (16 13:14 +0100)]
Factor  animation creating functions out of GraphicalSystem into AnimationManager.

16 years agoMoved MainAnimation instance inside AnimationManager.
Paolo Capriotti [Sun, 16 Dec 2007 12:05:00 +0000 (16 13:05 +0100)]
Moved MainAnimation instance inside AnimationManager.

16 years agoRenamed AnimationSettings -> AnimationManager.
Paolo Capriotti [Sun, 16 Dec 2007 11:49:38 +0000 (16 12:49 +0100)]
Renamed AnimationSettings -> AnimationManager.

16 years agoAdd IndexConverter pointers to GraphicalSystem.
Paolo Capriotti [Sun, 16 Dec 2007 11:26:53 +0000 (16 12:26 +0100)]
Add IndexConverter pointers to GraphicalSystem.

16 years agoReplaced IDefaultState subinterface with an encapsulated Behaviour object.
Paolo Capriotti [Sat, 15 Dec 2007 23:54:19 +0000 (16 00:54 +0100)]
Replaced IDefaultState subinterface with an encapsulated Behaviour object.

16 years agoPartially implemented Crazyhouse.
Paolo Capriotti [Sat, 15 Dec 2007 18:50:07 +0000 (15 19:50 +0100)]
Partially implemented Crazyhouse.