Compare commits

...

105 Commits

Author SHA1 Message Date
  Michele Calgaro fc85637573
Removed code formatting modelines. 1 day ago
  TDE Gitea ee7a29985c Reset submodule main/applications/knights/cmake to latest HEAD 1 week ago
  TDE Gitea de2652d3f6 Reset submodule main/applications/knights/cmake to latest HEAD 1 week ago
  TDE Gitea ea9f59f850 Reset submodule main/applications/knights/cmake to latest HEAD 2 months ago
  Slávek Banko 775437ac06
Simplify CMake rules for desktop file translations. 2 months ago
  TDE Gitea a17eca73cb Reset submodule main/applications/knights/cmake to latest HEAD 3 months ago
  TDE Gitea 9a7c5c84a6 Reset submodule main/applications/knights/cmake to latest HEAD 3 months ago
  TDE Gitea a7f79ec20d Reset submodule main/applications/knights/cmake to latest HEAD 3 months ago
  TDE Gitea ca9177343d Reset submodule main/applications/knights/cmake to latest HEAD 3 months ago
  TDE Gitea 3d78b16755 Reset submodule main/applications/knights/cmake to latest HEAD 3 months ago
  TDE Gitea 422d50c353 Reset submodule main/applications/knights/cmake to latest HEAD 3 months ago
  TDE Gitea 47b4a03c9b Reset submodule main/applications/knights/cmake to latest HEAD 4 months ago
  TDE Gitea ac38b41e3e Reset submodule main/applications/knights/cmake to latest HEAD 4 months ago
  Michele Calgaro 87dcdb71da
Update release version number to R14.0.9. 4 months ago
  TDE Gitea ffbc552fa8 Reset submodule main/applications/knights/cmake to latest HEAD 4 months ago
  Slávek Banko 96d80f9328 Merge translation files from master branch. 4 months ago
  Slávek Banko 15b308d089 Update translation template. 4 months ago
  TDE Gitea aa64290f45 Reset submodule main/applications/knights/cmake to latest HEAD 4 months ago
  TDE Gitea 9a7f930531 Reset submodule main/applications/knights/cmake to latest HEAD 4 months ago
  TDE Gitea a7d59df826 Reset submodule main/applications/knights/cmake to latest HEAD 4 months ago
  Slávek Banko d4196fd507
Desktop file translations: 5 months ago
  Slávek Banko 88bb800e94
Remove the original translation directory layout. 5 months ago
  Slávek Banko 147a72f711
Move translations to a new directory layout. 5 months ago
  Slávek Banko 76be80bb91
Update version number for R14.0.8 final release. 5 months ago
  TDE Gitea 1e58f53359 Reset submodule main/applications/knights/cmake to latest HEAD 5 months ago
  TDE Gitea 59429617cc Reset submodule main/applications/knights/cmake to latest HEAD 5 months ago
  TDE Gitea f8ebc38dd2 Reset submodule main/applications/knights/cmake to latest HEAD 6 months ago
  Michele Calgaro bac3931806
Removed explicit usage of the 'register' keyword. 8 months ago
  Slávek Banko 629a7b8429 Merge translation files from master branch. 9 months ago
  Slávek Banko b2c3b5857d
Update version number for R14.0.7 final release. 9 months ago
  TDE Gitea 460d4cb878 Reset submodule main/applications/knights/cmake to latest HEAD 9 months ago
  Slávek Banko ff22b0ca31
Switch all submodules to https. 9 months ago
  Slávek Banko 52cf996bb9 Merge translation files from master branch. 10 months ago
  Slávek Banko fb78f76c90 Merge translation files from master branch. 10 months ago
  Slávek Banko ef543946ca
Remove the CMake option BUILD_EXTRA_THEME 11 months ago
  Gregory Guy a5293a4305 Drop automake build support. 11 months ago
  Slávek Banko ec3ad1da01 Merge translation files from master branch. 11 months ago
  Michele Calgaro 0664df1cc6
Removed .lsm files. lsm database is outdated and unmaintained. 1 year ago
  TDE Gitea 1cb46befde Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  Slávek Banko 10125bb352 Merge translation files from master branch. 1 year ago
  TDE Gitea d20c78d332 Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  TDE Gitea 515a0b6a7f Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  Michele Calgaro e1d9d86de6
Updated date and version to R14.0.6 in .lsm files. 1 year ago
  Michele Calgaro 30112d7b9a
Updated VERSION reference to R14.0.6 in CMakeLists.txt 1 year ago
  TDE Gitea eb4a9b7c90 Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  TDE Gitea 3a50c1c339 Reset submodule main/applications/knights/admin to latest HEAD 1 year ago
  Slávek Banko f0274e7a5b
Use common CMake tests. 1 year ago
  TDE Gitea 3e5a35629a Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  Slávek Banko 0d182be769
Change MatchOver sound to notify.wav, because matchover.wav not exists. 1 year ago
  Slávek Banko fecf4889ef
Remove tarballs for themes from source code. 1 year ago
  Slávek Banko fe6a3611ec
Change Automake rules to make tarballs for themes created during building. 1 year ago
  Slávek Banko c401a23cf6
Change CMake rules to make tarballs for themes created during building. 1 year ago
  Slávek Banko 2b2fe43dd2
Extract files for themes contained in tarballs. 1 year ago
  TDE Gitea 520bc2a0a1 Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  TDE Weblate 758d382296
Update translation files 1 year ago
  Slávek Banko 2d66b050f6
Update translation template. 1 year ago
  TDE Gitea c3c5b3572a Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  TDE Gitea 18329b6c6e Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  Michele Calgaro dab08d5cbd
Removed obsolete Qt2's TQList/TQListIterator classes and replaced 1 year ago
  TDE Weblate 33990fb0e3
Update translation files 1 year ago
  Slávek Banko 6699d012fd
Update translation template. 1 year ago
  Slávek Banko aaa6171d35
Added controlled conversions to char* instead of automatic ascii conversions. 1 year ago
  TDE Weblate 4b34b71923
Update translation files 1 year ago
  Slávek Banko fd32cca5b3
Update build rules for documentation: 1 year ago
  gregory guy a91b429e85
arts is required not requested as optional 1 year ago
  gregory guy 7bb6dfc402
conversion to the cmake building system 1 year ago
  TDE Weblate adee82c94d
Update translation files 1 year ago
  Slávek Banko 9845fcbfc0
Add CMakeL10n rules. 1 year ago
  TDE Gitea 8282efd67b Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  TDE Gitea bad9e8bb6d Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  TDE Gitea bc110b7522 Reset submodule main/applications/knights/admin to latest HEAD 1 year ago
  TDE Gitea 012d785427 Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  TDE Gitea 398733d23d Reset submodule main/applications/knights/cmake to latest HEAD 1 year ago
  TDE Gitea 6f22655bb6 Reset submodule main/applications/knights/admin to latest HEAD 2 years ago
  gregory guy b1ba3b6072
newBuff pointer should be freed with delete[] 2 years ago
  Michele Calgaro f488cd7565
Fixed typedef-related warnings from compiler. 2 years ago
  Michele Calgaro c899de9e8a
Removed extension from icon name in desktop file. This relates to bug 2 years ago
  Michele Calgaro d844056811
Icons in .desktop file should not have extension. 2 years ago
  Slávek Banko 5c9021b3a6 Update version numbers and date for R14.0.5 final release 2 years ago
  Slávek Banko 5dd8a00fe7 Reset submodule main/applications/knights/admin to latest HEAD 2 years ago
  Slávek Banko 693fd6b12e Reset submodule main/applications/knights/admin to latest HEAD 2 years ago
  Slávek Banko 7ca33cb52f Reset submodule main/applications/knights/admin to latest HEAD 2 years ago
  Slávek Banko 2483df0b2f Reset submodule main/applications/knights/cmake to latest HEAD 3 years ago
  Slávek Banko a3b286347c Reset submodule main/applications/knights/cmake to latest HEAD 3 years ago
  Slávek Banko f7a87114fc Reset submodule main/applications/knights/cmake to latest HEAD 3 years ago
  Slávek Banko 98eadae0e0 Reset submodule main/applications/knights/cmake to latest HEAD 3 years ago
  Slávek Banko 08c27f449d Reset submodule main/applications/knights/admin to latest HEAD 3 years ago
  Slávek Banko a727fe44f7 cmake: add tde_add_check_executable macro 3 years ago
  Slávek Banko 8492bc7936 Update version number for new target R14.0.5 3 years ago
  Slávek Banko fcf8fce4cb Update date in lsm files 3 years ago
  Michele Calgaro 78cddf8e8b Added user option to delete chess engine log files (game.### and log.###) from user home folder on exit. 4 years ago
  Slávek Banko e8803aa7ae Reset submodule main/applications/knights/admin to latest HEAD 4 years ago
  Timothy Pearson 25e980dccc Fix invalid headers in PNG files and optimize for size 4 years ago
  Slávek Banko edce915c46 Reset submodule main/applications/knights/cmake to latest HEAD 4 years ago
  Slávek Banko 2ece617b4a Reset submodule main/applications/knights/cmake to latest HEAD 4 years ago
  Slávek Banko 5ea9d3d4d3 Update version number for new target R14.0.4 4 years ago
  Slávek Banko 125b77d6a0 Update date in lsm files 4 years ago
  Slávek Banko f0c48c0c2e Update version number for new target R14.0.3 4 years ago
  Slávek Banko 3d498c3b23 Update date in lsm files 5 years ago
  Slávek Banko 584b565cfe Update version number for new target R14.0.2 5 years ago
  Slávek Banko 1eecc54c58 Update date in lsm files 5 years ago
  Slávek Banko 3de02b8992 Update version in lsm files 5 years ago
  Slávek Banko df394c47cd Reset submodule main/applications/knights/cmake to latest HEAD 5 years ago
  Slávek Banko 7225dc47bb Reset submodule main/applications/knights/cmake to latest HEAD 5 years ago
  Slávek Banko 58617a2132 Reset submodule main/applications/knights/admin to latest HEAD 5 years ago
100 changed files with 1005 additions and 26929 deletions
Split View
  1. +1
    -4
      .gitmodules
  2. +23
    -0
      CMakeL10n.txt
  3. +79
    -0
      CMakeLists.txt
  4. +368
    -0
      ChangeLog
  5. +34
    -0
      ConfigureChecks.cmake
  6. +0
    -369
      History
  7. +16
    -26
      INSTALL
  8. +0
    -54
      Makefile.am
  9. +0
    -14
      Makefile.dist
  10. +33
    -24
      README
  11. +0
    -10775
      acinclude.m4
  12. +0
    -11308
      aclocal.m4
  13. +0
    -1
      admin
  14. +1
    -1
      cmake
  15. +0
    -1516
      config.guess
  16. +8
    -0
      config.h.cmake
  17. +0
    -169
      config.h.in
  18. +0
    -1622
      config.sub
  19. +0
    -2
      configure.files
  20. +0
    -85
      configure.in
  21. +0
    -10
      configure.in.in
  22. +14
    -0
      doc/CMakeLists.txt
  23. +0
    -0
      doc/CreatingThemes
  24. +0
    -58
      doc/Makefile.am
  25. +1
    -0
      doc/en/CMakeLists.txt
  26. +12
    -44
      doc/en/index.docbook
  27. +0
    -658
      doc/help_fr.docbook
  28. +5
    -0
      doc/man/CMakeLists.txt
  29. +154
    -0
      doc/man/knights.1
  30. +0
    -14
      knights.lsm
  31. +13
    -0
      knights/CMakeL10n.txt
  32. +53
    -0
      knights/CMakeLists.txt
  33. +0
    -61
      knights/Makefile.am
  34. +2
    -2
      knights/board_2d.cpp
  35. +1
    -1
      knights/board_2d.h
  36. +5
    -5
      knights/definitions.h
  37. +1
    -1
      knights/io_engine.cpp
  38. +6
    -6
      knights/io_internet.cpp
  39. +20
    -0
      knights/knights.cpp
  40. +2
    -6
      knights/knights.desktop
  41. +1
    -0
      knights/knights.h
  42. +1
    -1
      knights/knightsmap.h
  43. +1
    -1
      knights/knightspixcache.cpp
  44. +1
    -1
      knights/knightspixcache.h
  45. +1
    -1
      knights/list_pgn.cpp
  46. +8
    -8
      knights/logic.cpp
  47. +1
    -0
      knights/main.cpp
  48. +2
    -2
      knights/match.cpp
  49. +1
    -1
      knights/pgn.cpp
  50. +1
    -4
      knights/pgn.desktop
  51. +1
    -1
      knights/pgn.h
  52. +3
    -1
      knights/resource.cpp
  53. +3
    -2
      knights/resource.h
  54. +2
    -2
      knights/setpageengines.cpp
  55. +20
    -0
      knights/setpagegeneral.cpp
  56. +2
    -0
      knights/setpagegeneral.h
  57. +2
    -2
      knights/setpageservers.cpp
  58. +1
    -1
      knights/thinbuttons.h
  59. +24
    -0
      media/CMakeLists.txt
  60. BIN
      media/KBDefault.tar.gz
  61. BIN
      media/KBDefault/border.jpg
  62. BIN
      media/KBDefault/light_off.png
  63. BIN
      media/KBDefault/light_on.png
  64. BIN
      media/KBDefault/square.danger.png
  65. BIN
      media/KBDefault/square.dark.png
  66. BIN
      media/KBDefault/square.light.png
  67. BIN
      media/KBDefault/square.motion.png
  68. BIN
      media/KBDefault/square.select.png
  69. +25
    -0
      media/KBDefault/theme.conf
  70. BIN
      media/KCDefault.tar.gz
  71. BIN
      media/KCDefault/black.bishop.png
  72. BIN
      media/KCDefault/black.king.png
  73. BIN
      media/KCDefault/black.knight.png
  74. BIN
      media/KCDefault/black.pawn.png
  75. BIN
      media/KCDefault/black.queen.png
  76. BIN
      media/KCDefault/black.rook.png
  77. +26
    -0
      media/KCDefault/theme.conf
  78. BIN
      media/KCDefault/white.bishop.png
  79. BIN
      media/KCDefault/white.king.png
  80. BIN
      media/KCDefault/white.knight.png
  81. BIN
      media/KCDefault/white.pawn.png
  82. BIN
      media/KCDefault/white.queen.png
  83. BIN
      media/KCDefault/white.rook.png
  84. BIN
      media/KSDefault.tar.gz
  85. BIN
      media/KSDefault/check.wav
  86. BIN
      media/KSDefault/draw.wav
  87. BIN
      media/KSDefault/move.wav
  88. BIN
      media/KSDefault/notify.wav
  89. BIN
      media/KSDefault/promote.wav
  90. BIN
      media/KSDefault/select.wav
  91. BIN
      media/KSDefault/tell.wav
  92. +26
    -0
      media/KSDefault/theme.conf
  93. +0
    -65
      media/Makefile.am
  94. BIN
      media/hi16-app-knights.png
  95. BIN
      media/hi16-mime-pgn.png
  96. BIN
      media/hi32-app-knights.png
  97. BIN
      media/hi32-mime-pgn.png
  98. BIN
      media/hi48-app-knights.png
  99. BIN
      media/hi48-mime-pgn.png
  100. BIN
      media/hi64-app-knights.png

+ 1
- 4
.gitmodules View File

@@ -1,6 +1,3 @@
[submodule "admin"]
path = admin
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[submodule "cmake"]
path = cmake
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-cmake

+ 23
- 0
CMakeL10n.txt View File

@@ -0,0 +1,23 @@
#################################################
#
# (C) 2018 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################

cmake_minimum_required( VERSION 2.8 )


##### include our cmake modules #################

set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEL10n )


##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 79
- 0
CMakeLists.txt View File

@@ -0,0 +1,79 @@
############################################
# #
# Improvements and feedbacks are welcome #
# #
# This file is released under GPL >= 3 #
# #
############################################


cmake_minimum_required( VERSION 2.8 )


#### general package setup

project( knights )
set( VERSION R14.0.9 )


#### include essential cmake modules

include( FindPkgConfig )
include( CheckFunctionExists )
include( CheckSymbolExists )
include( CheckIncludeFile )
include( CheckLibraryExists )
include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )


#### include our cmake modules

set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )


##### setup install paths

include( TDESetupPaths )
tde_setup_paths( )


##### optional stuff

option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )


##### user requested modules

option( BUILD_ALL "Build all" ON )
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )


##### configure checks

include( ConfigureChecks.cmake )


###### global compiler settings

add_definitions( -DHAVE_CONFIG_H )

set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )


##### directories

add_subdirectory( media )
add_subdirectory( ${PROJECT_NAME} )
tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations )


##### write configure files

configure_file( config.h.cmake config.h @ONLY )

+ 368
- 0
ChangeLog View File

@@ -28,3 +28,371 @@ Troy Corbin Jr. <troy@knights-chess.com>
- Removed the ability to swap sides midgame. This will be reinstated later when
we can implement a more feature-rich and trouble free dialog box.
- Potential memory leak fixed ( thanks to Jon Keating! )

Knights 0.5.9 -- Friday January 17th, 2003
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.9
* The console is now organized into 'Tabs', rather than using a splitter. These
tabs can be dynamicaly organized into different windows by simply dragging
them. Drag a tab onto the desktop to create another tab window.
* Added the 'Seek Graph', which is a plotted chart of matches which people are
seeking. It behaves very much like the 'Sought Match List', but the graph
makes it easy to spot matches around your desired Rating / Time Controls.
* Added movement animations.
* Added a 'New Match' dialog that opens whenever you start a new match. It
allows you to set the time controls, players for each side, and more.
* Moved theme installation to the 'Settings' menu.
- Major speed improvments when selecting and dragging chessmen.
* You can now install multiple themes at once.
* Knights now handles keyboard input better. Don't worry about pressing
'Enter' before you start chatting, just begin.
* Knights can now auto-configure the following additional chess engines:
Cilian, Faile, OliThink, Pepito, and Yace.
- Fixed sloppy SAN disambiguation where it wasn't needed.
- Fixed gcc 3.1 compilation errors.
* Added Italian translations.
* Added Finnish translations.
- Fixed a bug where Knights would sometimes declare a draw too early.
- Fixed a bug in which the King could castle even if an adjacent position was
being attacked.
* Knights can now correctly read PGN files that contain FEN notation.
* You can now right click on a match's button to access a mini-file menu.
- XBoard is now the default engine protocol when you configure a new engine.
* Added basic support for the UCI engine protocol.
- Removed the listing for the Knights engine protocol.
* New users must accept our license ( the GPL ) before they can continue.
* Movement highlights now also work when reviewing a match.
* You can choose to login to your ICS as a 'guest' from the Login Dialog.
- Fixed a bug which sometimes kept audio from working.
* The 'Help' button in the 'Configure Knights...' dialog will now display
context sensitive help, depending on what page you're viewing.
* Knights can read and display images stored in the SCID *.img file format.
- Fixed problem where the Console wouldn't redraw without focus.
* You can now change the Console's text size using it's context menu.
- The Retract menu option can now be used several times in a row.
- Knights' main window is now raised to the top and given focus whenever a
new match starts, or whenever you select a different match.
* You can now have multiple PGN files open at the same time.
- Major rewrite of internal communications code.
- Fixed bug that made en passant moves illegal when your king was in check.
- Countless minor bugfixes.

Knights 0.5.6 -- Friday June 21st, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.6
- Fixed a bug in the setup wizard that makes every server but FICS the
current server.
- Knights will now handle invalid ICS logins in a sane manner.
- If you accept or counter-challenge a match offer from the
console, the Match Pop-up will go away.
- Fixed a bug where Less-than and Pipe symbols wouldn't render in the console.
- ( Possibily? ) Fixed a bug that caused Knights to repeat the final moves in a
match in the PGN game.
- If your opponent on ICS resigns, Knights now handles it properly.( Redux )
* Added a History file to Knights. It will contain all past ChangeLog entries
while ChangeLog will only contain entries for the current version.
* Expanded error reporting for failed theme installation.
- Fixed missing character bug in ICC play.
* The "Auto Close Last ICS" option is now on by default.
* You now setup Timeseal for each individual server.
* Added a combobox that lets you select the level of profanity filtering your
ICS preforms on incomming messages.
( Settings->Configure Knights->Chess Servers->Options->Profanity Filter )
- Knights should now correctly use the "Clock Ticking" and "Lag Compensation"
data sent to it by FICS.
* Added support for movelist retrieval from ICS ( experimental )
- Fixed Knights' parsing of Recursive Annotation Variations. RAVs embedded
within one another are now recognised and kept track of.
- Fixed the display of Numerical Annotation Glyphs
* Added support for proposed NAGs #140-154 and #190-195
- After loading a completed match, Knights now stops the clock and displays an
appropriate message on the Status Bar.
* Knights now fills out the "Mode" PGN tag when it knows the correct value.
- Fixed a bug where Knights looked for the "root" entry in a chessman
theme.conf rather than "rook".
* Knights now reads and uses the Notation Coordinate Colors specified within
theme.conf files.
- Fixed the time read from saved, unfinished PGN games.
* Moved the "Seconds Between Seek Updates" and "Auto Close Last ICS" options
from the General Settings to the Server Options tab.
- Rewrote the engine communications code to use KDE's TDEProcess instead of UNIX
pipes and signals. This should make Knights more portable, and should fix
some obscure errors.
* Applied KDE3 compatability patch from Harald Fernengel
- Made internal changes to the shutdown procedure. (KDE3)
- Made internal changes to the console's stylesheet. (KDE3)
* Made some minor changes with layout spacing.
- Fixed the Status Bar so that it's alignment is automatic, based on the
current language.
* Replaced the Default Board's 'Highlight' graphics with new images that
show off KDE3's true alpha-channel support. ( Blatant eye-candy, yum )
- Disabled the back button in the Setup Wizard's last page so you can't go back
and set everything up multiple times.
* When examining a match, manipulating the Notation List will now move you
back and forth through the match.
* Moving the mouse wheel will now navigate the Notation List.
* Added "Player History" to the right-click menu in the Sought Games List.
- Fixed that annoying Console 'jump' you got whenever a match began.
- Fixed the coloring of t-shouts and says.
* You can now continue to drag your chessman even after your opponent has moved
* The 'Show Last Move' option now uses the 'Movement' highlight to display the
appropriate positions. If a chessman was attacked as a part of the previous
move, then that position is shown with the 'Attack' highlight.
* When you preform a 'Premove', it will be represented on the board using
transparent chessmen, rather than the old way ( which was represented with
nothing =).
* You can now preform premoves during a match vs. a computer opponent.
* Left clicking anywhere on the board will cancel a premove.
* Added the "Assess" option to the right-click menu in the Sought Games List.
* Improved handling of Disconnections during ICS play. Also improved handling
of "Illegal Move" messages.
* "Play White" and "Play Black" menu options will now be disabled during an
ICS match.
* Added the ability to Print the notation for the current Match.
* Added translations to French, German, and Estonian.
- Fixed shutdown crash that occured when console was still open.
* Added 'Borders' to Chessboard themes.
- Knights no longer requires OpenGL.
* Added 'busy' cursor when waiting for opponent to move.
* Added the "Bowron Abernethy Chess Engine" to the list of autodetected
engines in the Setup Wizard.
- Fixed a bug in the Challenge Dialog Box that scrambled match parameters.
* Expanded 'Notification' coloring.

Knights 0.5.4.1 -- Wednesday February 6th, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.4.1
- Fixed critical error which disabled your ability to capture pieces.

Knights 0.5.4 -- Monday February 4th, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.4
* All matches now use the same image cache, rather than creating it's own.
This will save you 2 meg of memory per concurrent match.
- Fixed a bug which prevented some castling.
* Added the 'Resign' option. ( Match->Resign )
* Knights now automatically adjusts the display depending on which army you're
playing. If you're black, it will be displayed on the bottom. Of course, the
option 'Reverse Board Orientation' reverses this effect: the local player's
army will be displayed at the top.
- Fixed problem with the display of the clocks while playing over an ICS.
- Fixed a bug where Knights will send the resign command to an ICS whenever
an ICS match is closed. Now, resign is never sent to ICS unless you tell
Knights to do so.
- If your opponent on ICS resigns, Knights now handles it properly.
- Knights now writes the correct result of a resigned game in .pgn files.
* Knights now fills out the PlayerType and Termination .pgn tags when it knows
the correct value.
* Implemented "drag & drop" movement of chessmen.
* Streamlined a lot of drawing code, making some operations ( like "Reverse
Board Orientation" ) much faster
* Added initial support for examining games via ICS.
* Added SOUND! ( Settings->Configure Knights->Audio )
* Optimized various bits of ICS code
* You can now call your opponent's flag ( Match->Call Flag )
- Fixed some bugs concerning ambiguous SAN notation
* Increased the width of the clock displays, making them more readable with
smaller boards.
* Added an option to automatically close the previous ICS match when you
begin a new one. ( Settings->Configure Knights->General->Automatically
Close Previous ICS Match )
* Knights can now begin with a match vs PC open, or it can begin connecting
to your ICS. ( Settings->Configure Knights->General->When Knights Begins
It Should: )
* Added Premove support. ( Settings->Configure Knights->Chess Servers->
Options->enable Premove )
* Added checkboxes for ICS Shouts, Unregistered Tells, Kibitzes, Seeks, and
Private Matches. ( Settings->Configure Knights->Chess Servers->Options )
- Fixed the "Reject Draw" option for ICS games.
- Fixed a bug where Channel Reply didn't work when the last channel message
came from an unregistered user.
* The menu option "Match->Reverse Board Orientation F2" has been renamed to
"Match->Flip Board F2". This option now works independently of the original
option ( Settings->Configure Knights->Display->Reverse Board Orientation" ).
Where the original option effects every board ( and is saved between
sessions ), this new Match Menu option effects only the current match, and
is not saved in any way.
* Now when you're challenged in ICS, a dialog will pop up with the details of
the challenge. From here you can accept or decline, or change the parameters
and make a counter offer.
* Added a patch from Harald Fernengel that makes Knights compatable with KDE3.
- Fixed bug where new ICS games began with garbage highlights.
- Fixed a bug which disabled en Passant moves via ICS game.
* Added extra error messages to detect theme loading problems.

Knights 0.5.1 -- Friday December 21st, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Fixed a compile bug for Tru64 users
- Fixed a bug introduced in 0.5 that made all play over ICS impossible
- Fixed a bug where Knights counted the opening position in an ICS match
as a move.
- Fixed another ICS related bug where moves you made, which ICS echos back,
were counted twice.
- Fixed yet another bug. This one wrote SAN for a pawn's captures in a way which
was incompatible with other programs.

Knights 0.5 -- Monday December 17th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5
- Some distros had a problem compiling 2 lines of the documentation. This
has been fixed.
- Fixed a bug where recieving a position for a game we don't know about caused
Knights to crash.
- Fixed a bug where Knights did not notify ICS when a game was closed.
- In ICS matches where the local player was black, the chessmen were displayed
on the wrong coordinates on the board, making the match unplayable. This has
been fixed.
- Incomming clock times from ICS matches where divided by 10, making a 2 minute
clock look like 12 seconds. This has been fixed.
* Buffered the output of the Sought Games List to help remove the
"flashing" effect.
- Fixed the ability to review games on an ICS.
* Added ability to read .pgn files that contain multiple matches. Knights will
display a summary of the matches in a new window, and you simply click ( or
double-click based on your global KDE settings ) on a match to review it.
- The Sought Games List required a double click to accept a match, regardless
of your global KDE preferences. This has been fixed.
* Knights can now append all your saved games to a single .pgn file.
* Added the "Accept Match", "Tell...", "Finger", and "Add to Friends List"
options to the Sought Games List right click menu.
* Added "Reverse Board Orientation" option to the Match menu thanks to a patch
from Kunnar Klauks.
- Knights now closes the connection to the ICS when you close the console.
- Fixed a bug where a pawn promotion in a loaded game would prompt you to
choose the promotion.
- Fixed the phantom button bug which could occur if you closed matches
out of sequence.
* Added support for the XBoard commands "telluser" and "tellusererror".
- Did some minor code cleanup throughout the project.

Knights 0.4.9 -- Tuesday December 4th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Changed version number to 0.4.9
* Added option to disable the splash screen
* Added configuration for internet servers
* The Game menu is now the File menu, and the Opponent menu is now the Match
menu.
- The new game menu now dynamically enables or disables game types based on
your configuration. So, if you don't have any chess engines configured, you
can't play a vs. PC or PC vs PC game. Likewise for internet play and server
configuration.
* Added the Console... which handles sending and receiving messages via chess
server, and any other online transactions that don't occur Over the Board.
* Added "High Quality" mode, which displays a much smoother chessboard with
very little pixelation... even at the smallest board sizes. However, there
is a noticeable speed tradeoff.
* Added a 2Meg cache which greatly offsets much of the speed loss in High
Quality mode ( At least on my 600 it does ). Still not as fast as regular,
which should be fine for lower-end machines.
- Knights now displays an error message when you try playing with a bad book
engine configuration.
- Fixed bug where Knights couldn't read a move from a .pgn file if it was the
last token on the line.
* Knights will now read themes from two locations... The system-wide themes
directory ( usually /usr/share/apps/knights/themes ) and the media directory
so you can run Knights without installing it ( ../media )
* Added the 'Ponder' option to the Opponent menu.
* Added the 'Show Last Move' option to the Settings menu.
* Added 'Pause/Resume' functions to the Game menu.
* Separated themes into two - a board theme and a chessman theme.
- Removed the Green Marble theme from the Knights distro.
* Created the ThemePack distro. All themes ( except default ) will go here.
- Fixed the 'Reverse Orientation' option... it now displays correctly.
* Extended Knights' document handling to act like you would expect it: It
remembers URLs ( to resave, or save a loaded game ), and prompts whenever
an unsaved game is about to be destroyed.
* Expanded .pgn support to include multiple games per file and propper
parsing of comments.
* Added application/pgn mimetype
* Knights now connects to FICS and will play chess there.
* Added ALT-R to reply to the last private tell you recieved.
* Added ALT-C to chat on the last channel you recieved a message on.
* Knights now supports multiple matches at once.
* Knights will now default Pawn Promotions to Queen if the user does not
select one.
* Added ability to Retract or Undo a move while playing against an engine.
* Added a "Install Themes" function in the Settings.
* Added ability to modify the key bindings.
* Added a setup wizard to get new users up and running faster.
* Too many minor changes to document.

Knights 0.4.6 -- Wednesday August 15th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Changed version to 0.4.6
* Added en passant moves.
* Added rules for 50 move rule.
* Added rules for forced draws. ( 10.3 & 10.4 of F.I.D.E. Laws of Chess )
* Knights now sends time & otim to engines that want it.
- Fixed bug where Knights interpreted messages during a game into feature
commands. This occurred while playing Crafty. It sent "time control" during a
match, which Knights interpreted as "feature time=0" due to the way Knights
parses engine data as space separated tokens. A Timer was added to engineio
which keeps any feature commands from comming through after an initial two
seconds. This will probably become a problem again, however, and I should
look into making Knights read engine data as full lines rather than space
separated tokens.
- Fixed bug where internal records, and therefore PGN output, did not reflect
engine names properly when the feature myname was used. Now internal
records are not initiated until after the engines have initiated.
- Fixed bug where the last move of a game could result in an Illegal Move
error being printed on the status bar.
* Knights now recognizes all PGN Tags.
* Loaded games will now be displayed as it loads.
* Added command line option -d <path> for specifying Knights' data directory
- Fixed bug where the king could castle even after he moved
- v 0.4.5 broke the Promotion Selection Dialog. It is now fixed.
* Selecting previous moves from the notation combobox will let you review
the game. If someone makes a move while you're reviewing, you are returned
to the current position.
* The up and down arrow keys will cycle you through your game's history.
- You should now be able to continue a game if the engine thinks you've made
an illegal move.
* Added "Force Move" command to force a computer opponent to make a move.
* Added "Offer Draw" command to offer a draw to your opponent.
* Experimental support for Book Engines
- Fixed FEATURE delay for XBoard compatible engines
- Fixed a bug where new installs had to create two engines and switch them once
before any engines would load.
* Added "Reverse Board Orientation" option which, well, reverses the board's
orientation. =)
* Added first draft of documentation.
- Fixed minor bug in XBoard protocol's alternative move command
- Fixed other minor XBoard compliance issues
- Confirmed that KnightCap works with Knights
- Confirmed that Sjeng works with Knights
- Consolidated entries for GNUChess v4, XBoard v1, XBoard v2, and XBoard v3
protocols into XBoard
* Engine configurator now sorts the engine list
- Other minor tweaks that I can't remember

Knights 0.4.5 -- Sunday July 29th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Re-rendered graphics
* graphics are scalable... 14 different board sizes per theme
* Themes now stored in tarballs
* Knights recognizes and accepts most XBoard version 2 Features
* Crafty v18.9 is confirmed to work!

Knights 0.4.4 -- Friday July 20th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* enabled engine setup from Settings
* enabled engine vs. engine games
* Knights now recognizes true time control periods
* enabled playing as the black army
* added work on supporting book engines
* minor changes to the main interface

Knights 0.4.2 -- Tuesday July 17th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Initial public offering via CVS

+ 34
- 0
ConfigureChecks.cmake View File

@@ -0,0 +1,34 @@
###########################################
# #
# Improvements and feedback are welcome #
# #
# This file is released under GPL >= 3 #
# #
###########################################


# required stuff
find_package( TQt )
find_package( TDE )

tde_setup_architecture_flags( )

include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)

tde_setup_largefiles( )


##### check for gcc visibility support #########

if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( )
endif( )


##### arts

pkg_search_module( ARTS arts )
if( NOT ARTS_FOUND )
tde_message_fatal( "aRts is required, but was not found on your system" )
endif( )

+ 0
- 369
History View File

@@ -1,369 +0,0 @@
Knights 0.5.9 -- Friday January 17th, 2003
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.9
* The console is now organized into 'Tabs', rather than using a splitter. These
tabs can be dynamicaly organized into different windows by simply dragging
them. Drag a tab onto the desktop to create another tab window.
* Added the 'Seek Graph', which is a plotted chart of matches which people are
seeking. It behaves very much like the 'Sought Match List', but the graph
makes it easy to spot matches around your desired Rating / Time Controls.
* Added movement animations.
* Added a 'New Match' dialog that opens whenever you start a new match. It
allows you to set the time controls, players for each side, and more.
* Moved theme installation to the 'Settings' menu.
- Major speed improvments when selecting and dragging chessmen.
* You can now install multiple themes at once.
* Knights now handles keyboard input better. Don't worry about pressing
'Enter' before you start chatting, just begin.
* Knights can now auto-configure the following additional chess engines:
Cilian, Faile, OliThink, Pepito, and Yace.
- Fixed sloppy SAN disambiguation where it wasn't needed.
- Fixed gcc 3.1 compilation errors.
* Added Italian translations.
* Added Finnish translations.
- Fixed a bug where Knights would sometimes declare a draw too early.
- Fixed a bug in which the King could castle even if an adjacent position was
being attacked.
* Knights can now correctly read PGN files that contain FEN notation.
* You can now right click on a match's button to access a mini-file menu.
- XBoard is now the default engine protocol when you configure a new engine.
* Added basic support for the UCI engine protocol.
- Removed the listing for the Knights engine protocol.
* New users must accept our license ( the GPL ) before they can continue.
* Movement highlights now also work when reviewing a match.
* You can choose to login to your ICS as a 'guest' from the Login Dialog.
- Fixed a bug which sometimes kept audio from working.
* The 'Help' button in the 'Configure Knights...' dialog will now display
context sensitive help, depending on what page you're viewing.
* Knights can read and display images stored in the SCID *.img file format.
- Fixed problem where the Console wouldn't redraw without focus.
* You can now change the Console's text size using it's context menu.
- The Retract menu option can now be used several times in a row.
- Knights' main window is now raised to the top and given focus whenever a
new match starts, or whenever you select a different match.
* You can now have multiple PGN files open at the same time.
- Major rewrite of internal communications code.
- Fixed bug that made en passant moves illegal when your king was in check.
- Countless minor bugfixes.

Knights 0.5.6 -- Friday June 21st, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.6
- Fixed a bug in the setup wizard that makes every server but FICS the
current server.
- Knights will now handle invalid ICS logins in a sane manner.
- If you accept or counter-challenge a match offer from the
console, the Match Pop-up will go away.
- Fixed a bug where Less-than and Pipe symbols wouldn't render in the console.
- ( Possibily? ) Fixed a bug that caused Knights to repeat the final moves in a
match in the PGN game.
- If your opponent on ICS resigns, Knights now handles it properly.( Redux )
* Added a History file to Knights. It will contain all past ChangeLog entries
while ChangeLog will only contain entries for the current version.
* Expanded error reporting for failed theme installation.
- Fixed missing character bug in ICC play.
* The "Auto Close Last ICS" option is now on by default.
* You now setup Timeseal for each individual server.
* Added a combobox that lets you select the level of profanity filtering your
ICS preforms on incomming messages.
( Settings->Configure Knights->Chess Servers->Options->Profanity Filter )
- Knights should now correctly use the "Clock Ticking" and "Lag Compensation"
data sent to it by FICS.
* Added support for movelist retrieval from ICS ( experimental )
- Fixed Knights' parsing of Recursive Annotation Variations. RAVs embedded
within one another are now recognised and kept track of.
- Fixed the display of Numerical Annotation Glyphs
* Added support for proposed NAGs #140-154 and #190-195
- After loading a completed match, Knights now stops the clock and displays an
appropriate message on the Status Bar.
* Knights now fills out the "Mode" PGN tag when it knows the correct value.
- Fixed a bug where Knights looked for the "root" entry in a chessman
theme.conf rather than "rook".
* Knights now reads and uses the Notation Coordinate Colors specified within
theme.conf files.
- Fixed the time read from saved, unfinished PGN games.
* Moved the "Seconds Between Seek Updates" and "Auto Close Last ICS" options
from the General Settings to the Server Options tab.
- Rewrote the engine communications code to use KDE's TDEProcess instead of UNIX
pipes and signals. This should make Knights more portable, and should fix
some obscure errors.
* Applied KDE3 compatability patch from Harald Fernengel
- Made internal changes to the shutdown procedure. (KDE3)
- Made internal changes to the console's stylesheet. (KDE3)
* Made some minor changes with layout spacing.
- Fixed the Status Bar so that it's alignment is automatic, based on the
current language.
* Replaced the Default Board's 'Highlight' graphics with new images that
show off KDE3's true alpha-channel support. ( Blatant eye-candy, yum )
- Disabled the back button in the Setup Wizard's last page so you can't go back
and set everything up multiple times.
* When examining a match, manipulating the Notation List will now move you
back and forth through the match.
* Moving the mouse wheel will now navigate the Notation List.
* Added "Player History" to the right-click menu in the Sought Games List.
- Fixed that annoying Console 'jump' you got whenever a match began.
- Fixed the coloring of t-shouts and says.
* You can now continue to drag your chessman even after your opponent has moved
* The 'Show Last Move' option now uses the 'Movement' highlight to display the
appropriate positions. If a chessman was attacked as a part of the previous
move, then that position is shown with the 'Attack' highlight.
* When you preform a 'Premove', it will be represented on the board using
transparent chessmen, rather than the old way ( which was represented with
nothing =).
* You can now preform premoves during a match vs. a computer opponent.
* Left clicking anywhere on the board will cancel a premove.
* Added the "Assess" option to the right-click menu in the Sought Games List.
* Improved handling of Disconnections during ICS play. Also improved handling
of "Illegal Move" messages.
* "Play White" and "Play Black" menu options will now be disabled during an
ICS match.
* Added the ability to Print the notation for the current Match.
* Added translations to French, German, and Estonian.
- Fixed shutdown crash that occured when console was still open.
* Added 'Borders' to Chessboard themes.
- Knights no longer requires OpenGL.
* Added 'busy' cursor when waiting for opponent to move.
* Added the "Bowron Abernethy Chess Engine" to the list of autodetected
engines in the Setup Wizard.
- Fixed a bug in the Challenge Dialog Box that scrambled match parameters.
* Expanded 'Notification' coloring.

Knights 0.5.4.1 -- Wednesday February 6th, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.4.1
- Fixed critical error which disabled your ability to capture pieces.

Knights 0.5.4 -- Monday February 4th, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.4
* All matches now use the same image cache, rather than creating it's own.
This will save you 2 meg of memory per concurrent match.
- Fixed a bug which prevented some castling.
* Added the 'Resign' option. ( Match->Resign )
* Knights now automatically adjusts the display depending on which army you're
playing. If you're black, it will be displayed on the bottom. Of course, the
option 'Reverse Board Orientation' reverses this effect: the local player's
army will be displayed at the top.
- Fixed problem with the display of the clocks while playing over an ICS.
- Fixed a bug where Knights will send the resign command to an ICS whenever
an ICS match is closed. Now, resign is never sent to ICS unless you tell
Knights to do so.
- If your opponent on ICS resigns, Knights now handles it properly.
- Knights now writes the correct result of a resigned game in .pgn files.
* Knights now fills out the PlayerType and Termination .pgn tags when it knows
the correct value.
* Implemented "drag & drop" movement of chessmen.
* Streamlined a lot of drawing code, making some operations ( like "Reverse
Board Orientation" ) much faster
* Added initial support for examining games via ICS.
* Added SOUND! ( Settings->Configure Knights->Audio )
* Optimized various bits of ICS code
* You can now call your opponent's flag ( Match->Call Flag )
- Fixed some bugs concerning ambiguous SAN notation
* Increased the width of the clock displays, making them more readable with
smaller boards.
* Added an option to automatically close the previous ICS match when you
begin a new one. ( Settings->Configure Knights->General->Automatically
Close Previous ICS Match )
* Knights can now begin with a match vs PC open, or it can begin connecting
to your ICS. ( Settings->Configure Knights->General->When Knights Begins
It Should: )
* Added Premove support. ( Settings->Configure Knights->Chess Servers->
Options->enable Premove )
* Added checkboxes for ICS Shouts, Unregistered Tells, Kibitzes, Seeks, and
Private Matches. ( Settings->Configure Knights->Chess Servers->Options )
- Fixed the "Reject Draw" option for ICS games.
- Fixed a bug where Channel Reply didn't work when the last channel message
came from an unregistered user.
* The menu option "Match->Reverse Board Orientation F2" has been renamed to
"Match->Flip Board F2". This option now works independently of the original
option ( Settings->Configure Knights->Display->Reverse Board Orientation" ).
Where the original option effects every board ( and is saved between
sessions ), this new Match Menu option effects only the current match, and
is not saved in any way.
* Now when you're challenged in ICS, a dialog will pop up with the details of
the challenge. From here you can accept or decline, or change the parameters
and make a counter offer.
* Added a patch from Harald Fernengel that makes Knights compatable with KDE3.
- Fixed bug where new ICS games began with garbage highlights.
- Fixed a bug which disabled en Passant moves via ICS game.
* Added extra error messages to detect theme loading problems.

Knights 0.5.1 -- Friday December 21st, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Fixed a compile bug for Tru64 users
- Fixed a bug introduced in 0.5 that made all play over ICS impossible
- Fixed a bug where Knights counted the opening position in an ICS match
as a move.
- Fixed another ICS related bug where moves you made, which ICS echos back,
were counted twice.
- Fixed yet another bug. This one wrote SAN for a pawn's captures in a way which
was incompatible with other programs.

Knights 0.5 -- Monday December 17th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5
- Some distros had a problem compiling 2 lines of the documentation. This
has been fixed.
- Fixed a bug where recieving a position for a game we don't know about caused
Knights to crash.
- Fixed a bug where Knights did not notify ICS when a game was closed.
- In ICS matches where the local player was black, the chessmen were displayed
on the wrong coordinates on the board, making the match unplayable. This has
been fixed.
- Incomming clock times from ICS matches where divided by 10, making a 2 minute
clock look like 12 seconds. This has been fixed.
* Buffered the output of the Sought Games List to help remove the
"flashing" effect.
- Fixed the ability to review games on an ICS.
* Added ability to read .pgn files that contain multiple matches. Knights will
display a summary of the matches in a new window, and you simply click ( or
double-click based on your global KDE settings ) on a match to review it.
- The Sought Games List required a double click to accept a match, regardless
of your global KDE preferences. This has been fixed.
* Knights can now append all your saved games to a single .pgn file.
* Added the "Accept Match", "Tell...", "Finger", and "Add to Friends List"
options to the Sought Games List right click menu.
* Added "Reverse Board Orientation" option to the Match menu thanks to a patch
from Kunnar Klauks.
- Knights now closes the connection to the ICS when you close the console.
- Fixed a bug where a pawn promotion in a loaded game would prompt you to
choose the promotion.
- Fixed the phantom button bug which could occur if you closed matches
out of sequence.
* Added support for the XBoard commands "telluser" and "tellusererror".
- Did some minor code cleanup throughout the project.

Knights 0.4.9 -- Tuesday December 4th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Changed version number to 0.4.9
* Added option to disable the splash screen
* Added configuration for internet servers
* The Game menu is now the File menu, and the Opponent menu is now the Match
menu.
- The new game menu now dynamically enables or disables game types based on
your configuration. So, if you don't have any chess engines configured, you
can't play a vs. PC or PC vs PC game. Likewise for internet play and server
configuration.
* Added the Console... which handles sending and receiving messages via chess
server, and any other online transactions that don't occur Over the Board.
* Added "High Quality" mode, which displays a much smoother chessboard with
very little pixelation... even at the smallest board sizes. However, there
is a noticeable speed tradeoff.
* Added a 2Meg cache which greatly offsets much of the speed loss in High
Quality mode ( At least on my 600 it does ). Still not as fast as regular,
which should be fine for lower-end machines.
- Knights now displays an error message when you try playing with a bad book
engine configuration.
- Fixed bug where Knights couldn't read a move from a .pgn file if it was the
last token on the line.
* Knights will now read themes from two locations... The system-wide themes
directory ( usually /usr/share/apps/knights/themes ) and the media directory
so you can run Knights without installing it ( ../media )
* Added the 'Ponder' option to the Opponent menu.
* Added the 'Show Last Move' option to the Settings menu.
* Added 'Pause/Resume' functions to the Game menu.
* Separated themes into two - a board theme and a chessman theme.
- Removed the Green Marble theme from the Knights distro.
* Created the ThemePack distro. All themes ( except default ) will go here.
- Fixed the 'Reverse Orientation' option... it now displays correctly.
* Extended Knights' document handling to act like you would expect it: It
remembers URLs ( to resave, or save a loaded game ), and prompts whenever
an unsaved game is about to be destroyed.
* Expanded .pgn support to include multiple games per file and propper
parsing of comments.
* Added application/pgn mimetype
* Knights now connects to FICS and will play chess there.
* Added ALT-R to reply to the last private tell you recieved.
* Added ALT-C to chat on the last channel you recieved a message on.
* Knights now supports multiple matches at once.
* Knights will now default Pawn Promotions to Queen if the user does not
select one.
* Added ability to Retract or Undo a move while playing against an engine.
* Added a "Install Themes" function in the Settings.
* Added ability to modify the key bindings.
* Added a setup wizard to get new users up and running faster.
* Too many minor changes to document.

Knights 0.4.6 -- Wednesday August 15th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Changed version to 0.4.6
* Added en passant moves.
* Added rules for 50 move rule.
* Added rules for forced draws. ( 10.3 & 10.4 of F.I.D.E. Laws of Chess )
* Knights now sends time & otim to engines that want it.
- Fixed bug where Knights interpreted messages during a game into feature
commands. This occurred while playing Crafty. It sent "time control" during a
match, which Knights interpreted as "feature time=0" due to the way Knights
parses engine data as space separated tokens. A Timer was added to engineio
which keeps any feature commands from comming through after an initial two
seconds. This will probably become a problem again, however, and I should
look into making Knights read engine data as full lines rather than space
separated tokens.
- Fixed bug where internal records, and therefore PGN output, did not reflect
engine names properly when the feature myname was used. Now internal
records are not initiated until after the engines have initiated.
- Fixed bug where the last move of a game could result in an Illegal Move
error being printed on the status bar.
* Knights now recognizes all PGN Tags.
* Loaded games will now be displayed as it loads.
* Added command line option -d <path> for specifying Knights' data directory
- Fixed bug where the king could castle even after he moved
- v 0.4.5 broke the Promotion Selection Dialog. It is now fixed.
* Selecting previous moves from the notation combobox will let you review
the game. If someone makes a move while you're reviewing, you are returned
to the current position.
* The up and down arrow keys will cycle you through your game's history.
- You should now be able to continue a game if the engine thinks you've made
an illegal move.
* Added "Force Move" command to force a computer opponent to make a move.
* Added "Offer Draw" command to offer a draw to your opponent.
* Experimental support for Book Engines
- Fixed FEATURE delay for XBoard compatible engines
- Fixed a bug where new installs had to create two engines and switch them once
before any engines would load.
* Added "Reverse Board Orientation" option which, well, reverses the board's
orientation. =)
* Added first draft of documentation.
- Fixed minor bug in XBoard protocol's alternative move command
- Fixed other minor XBoard compliance issues
- Confirmed that KnightCap works with Knights
- Confirmed that Sjeng works with Knights
- Consolidated entries for GNUChess v4, XBoard v1, XBoard v2, and XBoard v3
protocols into XBoard
* Engine configurator now sorts the engine list
- Other minor tweaks that I can't remember

Knights 0.4.5 -- Sunday July 29th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Re-rendered graphics
* graphics are scalable... 14 different board sizes per theme
* Themes now stored in tarballs
* Knights recognizes and accepts most XBoard version 2 Features
* Crafty v18.9 is confirmed to work!

Knights 0.4.4 -- Friday July 20th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* enabled engine setup from Settings
* enabled engine vs. engine games
* Knights now recognizes true time control periods
* enabled playing as the black army
* added work on supporting book engines
* minor changes to the main interface

Knights 0.4.2 -- Tuesday July 17th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Initial public offering via CVS



+ 16
- 26
INSTALL View File

@@ -1,26 +1,16 @@
Dependencies:
-------------

- Qt 3.x
- KDE 3.x
- Autoconf 2.5
- Automake 1.6

You'll also need to have your $TDEDIR environment variable set correctly.


Installing from Tarball Distribution:
-------------------------------------

Type: ./configure
make
make install


Installing from CVS:
--------------------

Type: make -f Makefile.dist
./configure
make
make install
Basic Installation
==================

Knights relies on cmake to build.

Here are suggested default options:

-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"

+ 0
- 54
Makefile.am View File

@@ -1,54 +0,0 @@
####### tdevelop will overwrite this part!!! (begin)##########

SUBDIRS = doc knights media po

####### tdevelop will overwrite this part!!! (end)############
# not a GNU package. You can remove this line, if
# have all needed files, that a GNU package needs
AUTOMAKE_OPTIONS = foreign

$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;

$(top_srcdir)/subdirs:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs

$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4

MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files

package-messages:
$(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge

dist-hook:
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs

rpm_prep: doc clean distclean-generic ${PACKAGE}.spec
rm -R -f /tmp/${PACKAGE}-@RPM_VERSION@
mkdir -p /tmp/${PACKAGE}-@RPM_VERSION@
(cd ${srcdir} ; cp -R -a ./* /tmp/${PACKAGE}-@RPM_VERSION@ )
(cd /tmp/ ; \
touch ${PACKAGE}-@RPM_VERSION@/doc/help_{en,de,fr,et}.docbook ; \
find ${SRC_PREFIX}-@RPM_VERSION@ -name CVS > \
/tmp/${PACKAGE}-tar-excludes.lst ; \
find ${SRC_PREFIX}-@RPM_VERSION@ -name Makefile \
-o -name Makefile.in >> \
/tmp/${PACKAGE}-tar-excludes.lst ; \
echo "${SRC_PREFIX}-@RPM_VERSION@/doc/api" >> \
/tmp/${PACKAGE}-tar-excludes.lst ; \
tar --exclude-from=/tmp/${PACKAGE}-tar-excludes.lst \
-chzf ${PACKAGE}-@RPM_VERSION@.tar.gz \
${SRC_PREFIX}-@RPM_VERSION@ ; \
rm -f /tmp/${PACKAGE}-tar-excludes.lst )
rm -R -f /tmp/${PACKAGE}-@RPM_VERSION@

# does not work with original SuSE-6.4 rpm
# you will need an update of the rpm package !
rpm: rpm_prep
rpm -ta /tmp/${PACKAGE}-@RPM_VERSION@.tar.gz

src.rpm: rpm_prep
rpm -ts /tmp/${PACKAGE}-@RPM_VERSION@.tar.gz

+ 0
- 14
Makefile.dist View File

@@ -1,14 +0,0 @@
all:
@echo "This Makefile is only for the CVS repository"
@echo "This will be deleted before making the distribution"
@echo ""
@if test ! -d admin; then \
echo "Please recheckout this module!" ;\
echo "for cvs: use checkout once and after that update again" ;\
echo "for cvsup: checkout kde-common from cvsup and" ;\
echo " link kde-common/admin to ./admin" ;\
exit 1 ;\
fi
$(MAKE) -f admin/Makefile.common cvs

.SILENT:

+ 33
- 24
README View File

@@ -1,26 +1,24 @@
Knights - A chess interface for the Trinity Desktop Environment

FOR INSTALLATION INSTRUCTIONS, SEE THE "INSTALL" FILE
Knights - A chess interface (GUI) for the Trinity Desktop Environment

- What Is Knights?

Knights is a graphical chess interface designed to work with TDE. Knights
is called a chess 'interface' because it does not come with it's own computer
players. There are several very good computer players ( Chess Engines )
already. Unfortunatly, most chess engines do not include fully featured GUIs.
Instead, they rely on other programs ( like Knights ) to fill the gap.

- How can I learn more about Knights?
Knights is a graphical chess interface designed to work with TDE.
It's designed to be both friendly to new chess players and
functional for Grand Masters. Knights is called a chess "interface"
because it does not come with it's own computer players. There are
several computer players ( Chess Engines ) already. Unfortunatly, most
chess engines do not include fully featured GUIs. Instead, they rely on
other programs ( like Knights ) to fill the gap.

If you're interested in learning more, you should visit our project's website
at http://knights.sourceforge.net

- What Chess Engines work with Knights?
- What Chess Engines can work with Knights?

Knights should support any engine which uses the XBoard protocol developed by
Tim Mann. Knights will also offer it's own protocol for future use. To date,
the following chess engines have been confirmed to work with Knights. If you
know of another, please let me know so I can update this list.
Knights should support any engine which uses the XBoard protocol
developed by Tim Mann. Knights will also offer it's own protocol for
future use. To date, the following chess engines have been confirmed
to work with. If you know of another, please let we know so we can
update this list.

- GNUChess v4.0 patchlevel 80
- GNUChess v5.02
@@ -30,15 +28,26 @@ know of another, please let me know so I can update this list.
- Sjeng v10.0
- BabyChess

- What can I do to help Knights?

Knights can always use help in a number of areas. The best way to get started
would be to express your interests on the knights-devel mailing list. You can
sign up from here:
- List of Knights' key features:

http://sourceforge.net/mail/?group_id=31461
* Play against yourself, against computer opponents,
or against others over the Internet.
* Customize your board and pieces with over 30 different themes,
or make your own!
* Audio cues help alert you to important events.
* Novice players can preview potential moves.
* Save your unfinished matches and play them again later.

Currently, we're very interested in talking to a graphics artist about
designing some new themes, and we would like to talk to some advanced
chess players about helping to develop the tutorials.

CONTRIBUTING
==============

If you wish to contribute to knights (TDE), you might do so:

- TDE Gitea Workspace (TGW) collaboration tool.
https://mirror.git.trinitydesktop.org/gitea

- TDE Weblate Translation Workspace (TWTW) collaboration tool.
https://mirror.git.trinitydesktop.org/weblate

+ 0
- 10775
acinclude.m4
File diff suppressed because it is too large
View File


+ 0
- 11308
aclocal.m4
File diff suppressed because it is too large
View File


+ 0
- 1
admin

@@ -1 +0,0 @@
Subproject commit 04db460623e1f235e7239f08fdcc2d0ef72636af

+ 1
- 1
cmake

@@ -1 +1 @@
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463
Subproject commit 15a7e4670a8f580545c95e14101f852c9d947998

+ 0
- 1516
config.guess
File diff suppressed because it is too large
View File


+ 8
- 0
config.h.cmake View File

@@ -0,0 +1,8 @@
#define VERSION "@VERSION@"

// Defined if you have fvisibility and fvisibility-inlines-hidden support.
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1

/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@

+ 0
- 169
config.h.in View File

@@ -1,169 +0,0 @@
/* config.h.in. Generated from configure.in by autoheader. */

/* Define if you have the CoreAudio API */
#undef HAVE_COREAUDIO

/* Define to 1 if you have the <crt_externs.h> header file. */
#undef HAVE_CRT_EXTERNS_H

/* Defines if your system has the crypt function */
#undef HAVE_CRYPT

/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H

/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

/* Define if you have libjpeg */
#undef HAVE_LIBJPEG

/* Define if you have libpng */
#undef HAVE_LIBPNG

/* Define if you have a working libpthread (will enable threaded code) */
#undef HAVE_LIBPTHREAD

/* Define if you have libz */
#undef HAVE_LIBZ

/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H

/* Define if your system needs _NSGetEnviron to set up the environment */
#undef HAVE_NSGETENVIRON

/* Define to 1 if you have the <pthread/linuxthreads/pthread.h> header file.
*/
#undef HAVE_PTHREAD_LINUXTHREADS_PTHREAD_H

/* Define if you have the res_init function */
#undef HAVE_RES_INIT

/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF

/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H

/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H

/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H

/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H

/* C++ compiler supports template repository */
#undef HAVE_TEMPLATE_REPOSITORY

/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF

/* Define if you want Xinerama support */
#undef HAVE_XINERAMA

/* Suffix for lib directories */
#undef KDELIBSUFF

/* Name of package */
#undef PACKAGE

/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT

/* Define to the full name of this package. */
#undef PACKAGE_NAME

/* Define to the full name and version of this package. */
#undef PACKAGE_STRING

/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME

/* Define to the version of this package. */
#undef PACKAGE_VERSION

/* The size of a `char', as computed by sizeof. */
#undef SIZEOF_CHAR

/* The size of a `char *', as computed by sizeof. */
#undef SIZEOF_CHAR_P

/* The size of a `int', as computed by sizeof. */
#undef SIZEOF_INT

/* The size of a `long', as computed by sizeof. */
#undef SIZEOF_LONG

/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS

/* Version number of package */
#undef VERSION

/*
* jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
* headers and I'm too lazy to write a configure test as long as only
* unixware is related
*/
#ifdef _UNIXWARE
#define HAVE_BOOLEAN
#endif



/*
* AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
* that defines bzero.
*/

#if defined(_AIX)
#include <strings.h>
#endif



/*
* On HP-UX, the declaration of vsnprintf() is needed every time !
*/

#if !defined(HAVE_VSNPRINTF) || defined(hpux)
#if __STDC__
#include <stdarg.h>
#include <stdlib.h>
#else
#include <varargs.h>
#endif
#ifdef __cplusplus
extern "C"
#endif
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
#ifdef __cplusplus
extern "C"
#endif
int snprintf(char *str, size_t n, char const *fmt, ...);
#endif



#if defined(__SVR4) && !defined(__svr4__)
#define __svr4__ 1
#endif


/* Compatibility define */
#undef ksize_t

/* Define the real type of socklen_t */
#undef socklen_t

+ 0
- 1622
config.sub
File diff suppressed because it is too large
View File


+ 0
- 2
configure.files View File

@@ -1,2 +0,0 @@
./admin/configure.in.min
configure.in.in

+ 0
- 85
configure.in View File

@@ -1,85 +0,0 @@
dnl This file is part of the KDE libraries/packages
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
dnl This file is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
dnl License as published by the Free Software Foundation; either
dnl version 2 of the License, or (at your option) any later version.
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Library General Public License for more details.
dnl You should have received a copy of the GNU Library General Public License
dnl along with this library; see the file COPYING.LIB. If not, write to
dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
dnl Boston, MA 02110-1301, USA.

# Original Author was Kalle@kde.org
# I lifted it in some mater. (Stephan Kulow)
# I used much code from Janos Farkas

dnl Process this file with autoconf to produce a configure script.

AC_INIT(acinclude.m4) dnl a source file from your sub dir

dnl This is so we can use kde-common
AC_CONFIG_AUX_DIR(admin)

dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
unset CDPATH

dnl Checking host/target/build systems, for make, install etc.
AC_CANONICAL_SYSTEM
dnl Perform program name transformation
AC_ARG_PROGRAM

dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(knights, 0.6) dnl searches for some needed programs

KDE_SET_PREFIX

dnl generate the config header
AM_CONFIG_HEADER(config.h) dnl at the distribution this done

dnl Checks for programs.
AC_CHECK_COMPILERS
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL

dnl for NLS support. Call them in this order!
dnl WITH_NLS is for the po files
AM_KDE_WITH_NLS

KDE_USE_QT(3.0.0)
AC_PATH_KDE
#MIN_CONFIG(3.0.0)

dnl PACKAGE set before
AC_PREREQ(2.5)

KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(meinproc)])
AC_SUBST(MEINPROC)

KDE_CREATE_SUBDIRSLIST
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ admin/Makefile ])
AC_CONFIG_FILES([ doc/Makefile ])
AC_CONFIG_FILES([ knights/Makefile ])
AC_CONFIG_FILES([ media/Makefile ])
AC_CONFIG_FILES([ po/Makefile ])
AC_OUTPUT
if test "$all_tests" = "bad"; then
if test ! "$cache_file" = "/dev/null"; then
echo ""
echo "Please remove the file $cache_file after changing your setup"
echo "so that configure will find the changes next time."
echo ""
fi
else
echo ""
echo "Good - your configure finished. Start make now"
echo ""
fi

+ 0
- 10
configure.in.in View File

@@ -1,10 +0,0 @@
#MIN_CONFIG(3.0.0)

KDE_ENABLE_HIDDEN_VISIBILITY

AM_INIT_AUTOMAKE(knights,0.6)
AC_PREREQ(2.5)

KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(meinproc)])
AC_SUBST(MEINPROC)


+ 14
- 0
doc/CMakeLists.txt View File

@@ -0,0 +1,14 @@
file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )

foreach( _dir ${_dirs} )
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} AND
EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}/CMakeLists.txt )
if( "${_dir}" STREQUAL "en" OR
"${_dir}" STREQUAL "man" OR
"${_linguas}" MATCHES "^;*$" OR
";${_linguas};" MATCHES ";${_dir};" )
add_subdirectory( ${_dir} )
endif( )
endif()
endforeach()

CreatingThemes → doc/CreatingThemes View File


+ 0
- 58
doc/Makefile.am View File

@@ -1,58 +0,0 @@
####### tdevelop will overwrite this part!!! (begin)##########


EXTRA_DIST = help_en.docbook help_fr.docbook

####### tdevelop will overwrite this part!!! (end)############

MAINTAINERCLEANFILES = ./*.html
CLEANFILES = core *~ .deps/* doc/*~ *.orig changes.docbook
DISTCLEANFILES = Makefile.in Makefile

LANGUAGES = en fr
SUFFIXES = .docbook .po .pot
SGMLDIR=$(kde_datadir)/ksgmltools2
DOCDIR = $(DESTDIR)${kde_htmldir}
XML2POT = xml2pot
PO2XML = po2xml
MSGMERGE = msgmerge


help_en.pot: help_en.docbook
$(XML2POT) help_en.docbook > help_en.pot

# --- translated docbook online help ---

help_fr.po: help_en.pot
$(MSGMERGE) -o help_fr.po help_fr.po help_en.pot

help_fr.docbook: help_en.docbook help_en.pot
${MAKE} help_fr.po
@echo "converting french help"
@ $(PO2XML) help_en.docbook help_fr.po | \
sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ French\ /g \
> help_fr.docbook

# --- ---

install-data-local:
echo installing docs in $(DOCDIR)
for lang in ${LANGUAGES}; do \
{ \
$(mkinstalldirs) ${DOCDIR}/$${lang}/$(PACKAGE); \
$(INSTALL_DATA) help_$${lang}.docbook ${DOCDIR}/$${lang}/$(PACKAGE)/index.docbook; \
if test ! -e ${DOCDIR}/$${lang}/$(PACKAGE)/common ; then \
rm -f ${DOCDIR}/$${lang}/$(PACKAGE)/common ; fi ; \
( cd ${DOCDIR}/$${lang}/${PACKAGE} ; ln -sf ../common . ) ; \
}; done
cd ${DOCDIR} ; \
if test ! -e default/$(PACKAGE) -a -e default ; then ln -sf ../en/$(PACKAGE) default; fi;

uninstall-local:
for lang in ${LANGUAGES}; do { \
rm -R -f ${DOCDIR}/$${lang}/${PACKAGE} ; \
rmdir -p --ignore-fail-on-non-empty $(DOCDIR)/$$lang >/dev/null 2>&1; \
if test -L ${DOCDIR}/default/$(PACKAGE); then rm -f ${DOCDIR}/default/$(PACKAGE); fi; \
}; done

all:

+ 1
- 0
doc/en/CMakeLists.txt View File

@@ -0,0 +1 @@
tde_create_handbook( DESTINATION ${PROJECT_NAME} )

doc/help_en.docbook → doc/en/index.docbook View File

@@ -15,18 +15,14 @@
<firstname>Troy</firstname>
<surname>Corbin Jr.</surname>
<affiliation>
<address>
<email>tcorbin@users.sf.net</email>
</address>
<address><email>tcorbin@users.sf.net</email></address>
</affiliation>
</author>
<othercredit role="developer">
<firstname>Troy</firstname>
<surname>Corbin Jr.</surname>
<affiliation>
<address>
<email>tcorbin@users.sf.net</email>
</address>
<address><email>tcorbin@users.sf.net</email></address>
</affiliation>
<contrib>Developer</contrib>
</othercredit>
@@ -47,12 +43,12 @@
</releaseinfo>
<abstract>
<para>
Knights is a graphical chess interface for &kde;. It supports chess matches against computer engines like GNUChess and Crafty, watching two computer engines play against each other, solitaire chess, matches played via Internet Chess Servers, and reviewing matches saved in Portable Game Notation.
Knights is a graphical chess interface for &tde;. It supports chess matches against computer engines like GNUChess and Crafty, watching two computer engines play against each other, solitaire chess, matches played via Internet Chess Servers, and reviewing matches saved in Portable Game Notation.
</para>
</abstract>
<keywordset>
<keyword>knights</keyword>
<keyword>KDE</keyword>
<keyword>TDE</keyword>
<keyword>game</keyword>
<keyword>chess</keyword>
<keyword>gnuchess</keyword>
@@ -352,6 +348,9 @@
<para>
<menuchoice><guimenu>Call Flag Automatically</guimenu></menuchoice> This option will automatically declare you the winner of the match if your opponent's clock runs out of time.
</para>
<para>
<menuchoice><guimenu>Delete Log Files on Exit</guimenu></menuchoice> If set, chess engine log files will be deleted on exit. Only files named "game.###" and "log.###" placed in the user home folder will be removed
</para>
</sect1>
<sect1 id="configure-display">
<title>Display</title>
@@ -590,46 +589,25 @@
<sect1 id="installation-obtain-knights">
<title>How to obtain Knights</title>
<para>
The Knights Project is located at <ulink url="http://knights.sourceforge.net/">http://knights.sourceforge.net</ulink>. It will usually contain the most up-to-date information on Knights available.
The Knights Project is holded at <ulink url="http://trinitydesktop.org/">http://trinitydesktop.org</ulink>. It will usually contain the most up-to-date information on Knights available.
</para>
<note>
<para>
If you're using the <ulink url="http://www.opennic.org/">OpenNIC</ulink> root service, then you can reach the Knights Project at <ulink url="http://www.knights.oss/">http://www.knights.oss</ulink>.
A developer area is available at <ulink url="https://mirror.git.trinitydesktop.org/gitea">TDE Gitea Workspace (TGW)</ulink>.
A translator area is available at <ulink url="https://mirror.git.trinitydesktop.org/weblate/">TDE Weblate Translation Workspace (TWTW)</ulink>.
</para>
</note>
</sect1>
<sect1 id="installation-requirements">
<title>Requirements</title>
<para>
Before you can install Knights, you must have the Trinity Desktop Environment installed on your system. Knights also requires that you have <ulink url="http://www.gnu.org/directory/Software_development/Program_build_automation/autoconf.html">Autoconf</ulink> version 2.5 and <ulink url="http://www.gnu.org/directory/Software_development/Program_build_automation/automake.html">Automake</ulink> version 1.6.
Before you can install Knights, you must have the Trinity Desktop Environment installed on your system. Knights also requires that you have cmake (version >= 2.8) as building tool.
</para>
</sect1>
<sect1 id="installation-compilation">
<title>Compilation and Installation</title>
<para>
Knights uses <application>autoconf</application> and <application>automake</application> to ensure that compiling is easy. If for some reason Knights won't compile for you, help is available at the Knights Project website located at <ulink url="http://knights.sourceforge.net/">http://knights.sourceforge.net</ulink>.
</para>
<para>
You must have the TDEDIR environment variable defined before you begin the installation. Without this, Knights will not be able to access it's resources! To add the TDEDIR environment variable, you need to edit your /etc/profile ( or ~/.bash_profile ) and add the line:
</para>
<para>
<userinput><command>export TDEDIR="/usr"</command></userinput>
</para>
<para>
...where /usr is your KDE's base directory.
</para>
<para>
Now, change the present working directory to the location where you unarchived Knights and type the following:
</para>
<informalexample>
<screen width="40">
<prompt>%</prompt> <userinput><command>./configure</command></userinput>
<prompt>%</prompt> <userinput><command>make</command></userinput>
<prompt>%</prompt> <userinput><command>make</command> <option>install</option></userinput>
</screen>
</informalexample>
<para>
Knights should now be installed and ready to go. You can type <userinput><command>knights</command></userinput> in a terminal to start the game, or create an icon for it and select that.
Knights uses cmake to ensure that compiling is easy. Please read the INSTALL file for the basics and the suggested default options.
</para>
</sect1>
</appendix>
@@ -783,13 +761,3 @@
</para>
</appendix>
</book>
<!--
Local Variables:
mode: sgml
sgml-omittag: nil
sgml-shorttag: t
End:
-->




+ 0
- 658
doc/help_fr.docbook View File

@@ -1,658 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY kappname "Knights">
<!ENTITY % addindex "IGNORE">
<!ENTITY % French "INCLUDE"
> <!-- change language only here -->
]>

<book lang="&language;">
<bookinfo>
<title
> </title>
<authorgroup>
<author
> </author>
<othercredit role="developer">
<firstname
>Troy</firstname>
<surname
>Corbin Jr.</surname>
<affiliation>
<address>
<email
>tcorbin@users.sf.net</email>
</address>
</affiliation>
<contrib
></contrib>
</othercredit>
</authorgroup>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
<copyright>
<year
>2001, 2002</year>
<holder
></holder>
</copyright>
<legalnotice>
&FDLNotice;
</legalnotice>
<date>
2003-05-17
</date>
<releaseinfo>
0.6
</releaseinfo>
<abstract>
<para
> </para>
</abstract>
<keywordset>
<keyword
></keyword>
<keyword
></keyword>
<keyword
></keyword>
<keyword
></keyword>
<keyword
></keyword>
</keywordset>
</bookinfo>

<chapter id="introduction">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
</chapter>

<chapter id="getting-started">
<title
></title>
<para
> </para>
<sect1 id="interface-chessboard">
<title
></title>
<para
> </para>
<para
> </para>
<sect2 id="interface-chessboard-move">
<title
></title>
<para
> </para>
<para
> </para>
</sect2>
<sect2 id="interface-chessboard-preview">
<title
></title>
<para
> </para>
<para
> </para>
<tip
> <para
> </para
> </tip>
</sect2>
<sect2 id="interface-chessboard-notation">
<title
></title>
<para
> </para>
<note
> <para