Compare commits

...

126 Commits

Author SHA1 Message Date
Michele Calgaro 7bc3dac3d3
Use TDE cmake macro to set version
2 years ago
Michele Calgaro 42f956b558
Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.
2 years ago
Slávek Banko da4a04e828
Update version number to the upcoming R14.0.13.
2 years ago
TDE Gitea 31ff8c3db6 Merge translation files from master branch.
2 years ago
Slávek Banko 6e726b66a6
Raise the minimum required version of CMake to 3.1 in CMakeL10n rules.
2 years ago
Slávek Banko 127d75cfb9
Raise the minimum required version of CMake to 3.1.
2 years ago
TDE Gitea 4de9ba5bf1 Merge translation files from master branch.
3 years ago
Slávek Banko af642c084b
Update version number to R14.0.12.
3 years ago
Slávek Banko 1a9bc416fb
Change README to markdown format.
3 years ago
Slávek Banko 080f0e155d
Use common rules for build and install documentation and translations.
3 years ago
Slávek Banko 852b1b0e96
Remove cmake submodule since it has now been replaced by cmake-trinity dependency.
3 years ago
TDE Gitea 8b34925648 Reset submodule main/applications/knights/cmake to latest HEAD
3 years ago
Slávek Banko 9259ff6ccc
Update version number to R14.0.11.
3 years ago
TDE Gitea b1e6961262 Reset submodule main/applications/knights/cmake to latest HEAD
3 years ago
TDE Gitea 15925f5118 Reset submodule main/applications/knights/cmake to latest HEAD
3 years ago
TDE Gitea 055aa21992 Reset submodule main/applications/knights/cmake to latest HEAD
3 years ago
Slávek Banko 099cbfbf49
Raise the minimum required version of CMake to 2.8.12.
3 years ago
TDE Gitea 2a45ccfa09 Reset submodule main/applications/knights/cmake to latest HEAD
3 years ago
TDE Gitea 783a62f34b Reset submodule main/applications/knights/cmake to latest HEAD
3 years ago
Slávek Banko 6fe36d3321
Update version number to R14.0.10.
4 years ago
TDE Gitea 443f997cec Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
Michele Calgaro fc85637573
Removed code formatting modelines.
4 years ago
TDE Gitea ee7a29985c Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea de2652d3f6 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea ea9f59f850 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
Slávek Banko 775437ac06
Simplify CMake rules for desktop file translations.
4 years ago
TDE Gitea a17eca73cb Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea 9a7c5c84a6 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea a7f79ec20d Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea ca9177343d Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea 3d78b16755 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea 422d50c353 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea 47b4a03c9b Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea ac38b41e3e Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
Michele Calgaro 87dcdb71da
Update release version number to R14.0.9.
4 years ago
TDE Gitea ffbc552fa8 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
Slávek Banko 96d80f9328 Merge translation files from master branch.
4 years ago
Slávek Banko 15b308d089 Update translation template.
4 years ago
TDE Gitea aa64290f45 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea 9a7f930531 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea a7d59df826 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
Slávek Banko d4196fd507
Desktop file translations:
4 years ago
Slávek Banko 88bb800e94
Remove the original translation directory layout.
4 years ago
Slávek Banko 147a72f711
Move translations to a new directory layout.
4 years ago
Slávek Banko 76be80bb91
Update version number for R14.0.8 final release.
4 years ago
TDE Gitea 1e58f53359 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea 59429617cc Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
TDE Gitea f8ebc38dd2 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
Michele Calgaro bac3931806
Removed explicit usage of the 'register' keyword.
4 years ago
Slávek Banko 629a7b8429 Merge translation files from master branch.
4 years ago
Slávek Banko b2c3b5857d
Update version number for R14.0.7 final release.
4 years ago
TDE Gitea 460d4cb878 Reset submodule main/applications/knights/cmake to latest HEAD
4 years ago
Slávek Banko ff22b0ca31
Switch all submodules to https.
4 years ago
Slávek Banko 52cf996bb9 Merge translation files from master branch.
4 years ago
Slávek Banko fb78f76c90 Merge translation files from master branch.
4 years ago
Slávek Banko ef543946ca
Remove the CMake option BUILD_EXTRA_THEME
5 years ago
gregory guy a5293a4305 Drop automake build support.
5 years ago
Slávek Banko ec3ad1da01 Merge translation files from master branch.
5 years ago
Michele Calgaro 0664df1cc6
Removed .lsm files. lsm database is outdated and unmaintained.
5 years ago
TDE Gitea 1cb46befde Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
Slávek Banko 10125bb352 Merge translation files from master branch.
5 years ago
TDE Gitea d20c78d332 Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
TDE Gitea 515a0b6a7f Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
Michele Calgaro e1d9d86de6
Updated date and version to R14.0.6 in .lsm files.
5 years ago
Michele Calgaro 30112d7b9a
Updated VERSION reference to R14.0.6 in CMakeLists.txt
5 years ago
TDE Gitea eb4a9b7c90 Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
TDE Gitea 3a50c1c339 Reset submodule main/applications/knights/admin to latest HEAD
5 years ago
Slávek Banko f0274e7a5b
Use common CMake tests.
5 years ago
TDE Gitea 3e5a35629a Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
Slávek Banko 0d182be769
Change MatchOver sound to notify.wav, because matchover.wav not exists.
5 years ago
Slávek Banko fecf4889ef
Remove tarballs for themes from source code.
5 years ago
Slávek Banko fe6a3611ec
Change Automake rules to make tarballs for themes created during building.
5 years ago
Slávek Banko c401a23cf6
Change CMake rules to make tarballs for themes created during building.
5 years ago
Slávek Banko 2b2fe43dd2
Extract files for themes contained in tarballs.
5 years ago
TDE Gitea 520bc2a0a1 Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
TDE Weblate 758d382296
Update translation files
5 years ago
Slávek Banko 2d66b050f6
Update translation template.
5 years ago
TDE Gitea c3c5b3572a Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
TDE Gitea 18329b6c6e Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
Michele Calgaro dab08d5cbd
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
5 years ago
TDE Weblate 33990fb0e3
Update translation files
5 years ago
Slávek Banko 6699d012fd
Update translation template.
5 years ago
Slávek Banko aaa6171d35
Added controlled conversions to char* instead of automatic ascii conversions.
5 years ago
TDE Weblate 4b34b71923
Update translation files
5 years ago
Slávek Banko fd32cca5b3
Update build rules for documentation:
5 years ago
gregory guy a91b429e85
arts is required not requested as optional
5 years ago
gregory guy 7bb6dfc402
conversion to the cmake building system
5 years ago
TDE Weblate adee82c94d
Update translation files
5 years ago
Slávek Banko 9845fcbfc0
Add CMakeL10n rules.
5 years ago
TDE Gitea 8282efd67b Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
TDE Gitea bad9e8bb6d Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
TDE Gitea bc110b7522 Reset submodule main/applications/knights/admin to latest HEAD
5 years ago
TDE Gitea 012d785427 Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
TDE Gitea 398733d23d Reset submodule main/applications/knights/cmake to latest HEAD
5 years ago
TDE Gitea 6f22655bb6 Reset submodule main/applications/knights/admin to latest HEAD
6 years ago
gregory guy b1ba3b6072
newBuff pointer should be freed with delete[]
6 years ago
Michele Calgaro f488cd7565
Fixed typedef-related warnings from compiler.
6 years ago
Michele Calgaro c899de9e8a
Removed extension from icon name in desktop file. This relates to bug
6 years ago
Michele Calgaro d844056811
Icons in .desktop file should not have extension.
6 years ago
Slávek Banko 5c9021b3a6 Update version numbers and date for R14.0.5 final release
6 years ago
Slávek Banko 5dd8a00fe7 Reset submodule main/applications/knights/admin to latest HEAD
6 years ago
Slávek Banko 693fd6b12e Reset submodule main/applications/knights/admin to latest HEAD
6 years ago
Slávek Banko 7ca33cb52f Reset submodule main/applications/knights/admin to latest HEAD
6 years ago
Slávek Banko 2483df0b2f Reset submodule main/applications/knights/cmake to latest HEAD
7 years ago
Slávek Banko a3b286347c Reset submodule main/applications/knights/cmake to latest HEAD
7 years ago
Slávek Banko f7a87114fc Reset submodule main/applications/knights/cmake to latest HEAD
7 years ago
Slávek Banko 98eadae0e0 Reset submodule main/applications/knights/cmake to latest HEAD
7 years ago
Slávek Banko 08c27f449d Reset submodule main/applications/knights/admin to latest HEAD
7 years ago
Slávek Banko a727fe44f7 cmake: add tde_add_check_executable macro
7 years ago
Slávek Banko 8492bc7936 Update version number for new target R14.0.5
8 years ago
Slávek Banko fcf8fce4cb Update date in lsm files
8 years ago
Michele Calgaro 78cddf8e8b Added user option to delete chess engine log files (game.### and log.###) from user home folder on exit.
8 years ago
Slávek Banko e8803aa7ae Reset submodule main/applications/knights/admin to latest HEAD
8 years ago
Timothy Pearson 25e980dccc Fix invalid headers in PNG files and optimize for size
8 years ago
Slávek Banko edce915c46 Reset submodule main/applications/knights/cmake to latest HEAD
8 years ago
Slávek Banko 2ece617b4a Reset submodule main/applications/knights/cmake to latest HEAD
8 years ago
Slávek Banko 5ea9d3d4d3 Update version number for new target R14.0.4
8 years ago
Slávek Banko 125b77d6a0 Update date in lsm files
8 years ago
Slávek Banko f0c48c0c2e Update version number for new target R14.0.3
9 years ago
Slávek Banko 3d498c3b23 Update date in lsm files
9 years ago
Slávek Banko 584b565cfe Update version number for new target R14.0.2
9 years ago
Slávek Banko 1eecc54c58 Update date in lsm files
9 years ago
Slávek Banko 3de02b8992 Update version in lsm files
9 years ago
Slávek Banko df394c47cd Reset submodule main/applications/knights/cmake to latest HEAD
9 years ago
Slávek Banko 7225dc47bb Reset submodule main/applications/knights/cmake to latest HEAD
9 years ago
Slávek Banko 58617a2132 Reset submodule main/applications/knights/admin to latest HEAD
9 years ago

6
.gitmodules vendored

@ -1,6 +0,0 @@
[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

@ -0,0 +1,22 @@
#################################################
#
# (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 3.1 )
##### include our cmake modules #################
include( TDEL10n )
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,86 @@
############################################
# #
# Improvements and feedbacks are welcome #
# #
# This file is released under GPL >= 3 #
# #
############################################
cmake_minimum_required( VERSION 3.1 )
#### general package setup
project( knights )
#### include essential cmake modules
include( FindPkgConfig )
include( CheckFunctionExists )
include( CheckSymbolExists )
include( CheckIncludeFile )
include( CheckLibraryExists )
include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
#### include our cmake modules
include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### 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} )
##### other data ################################
tde_conditional_add_project_docs( BUILD_DOC )
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files
configure_file( config.h.cmake config.h @ONLY )

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

@ -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( )

@ -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

@ -1,26 +1,16 @@
Dependencies: Basic Installation
------------- ==================
- Qt 3.x Knights relies on cmake to build.
- KDE 3.x
- Autoconf 2.5 Here are suggested default options:
- Automake 1.6
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
You'll also need to have your $TDEDIR environment variable set correctly. -DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
Installing from Tarball Distribution: -DCMAKE_BUILD_TYPE=RelWithDebInfo \
------------------------------------- -DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
Type: ./configure -DBUILD_ALL="ON" \
make -DWITH_ALL_OPTIONS="ON"
make install
Installing from CVS:
--------------------
Type: make -f Makefile.dist
./configure
make
make install

@ -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

@ -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:

@ -1,44 +0,0 @@
Knights - A chess interface for the Trinity Desktop Environment
FOR INSTALLATION INSTRUCTIONS, SEE THE "INSTALL" FILE
- 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?
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?
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.
- GNUChess v4.0 patchlevel 80
- GNUChess v5.02
- Crafty v18.09
- Crafty v18.10
- KnightCap v3.3
- 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:
http://sourceforge.net/mail/?group_id=31461
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.

@ -0,0 +1,69 @@
Knights - A chess interface (GUI) for the Trinity Desktop Environment
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.
## 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. If you know of another, please let we know so we can
update this list.
- GNUChess v4.0 patchlevel 80
- GNUChess v5.02
- Crafty v18.09
- Crafty v18.10
- KnightCap v3.3
- Sjeng v10.0
- BabyChess
## List of Knights' key features:
* 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.
.
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
Translations status
---------------------
### messages
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/knights/multi-auto.svg
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/knights/)
### desktop files
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/knights-knightsdesktop/multi-auto.svg
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/knights-knightsdesktop/)
### mime-types
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/knights-pgn-mimetype/multi-auto.svg
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/knights-pgn-mimetype/)

File diff suppressed because it is too large Load Diff

11308
aclocal.m4 vendored

File diff suppressed because it is too large Load Diff

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

@ -1 +0,0 @@
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463

1516
config.guess vendored

File diff suppressed because it is too large Load Diff

@ -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@

@ -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

1622
config.sub vendored

File diff suppressed because it is too large Load Diff

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

@ -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

@ -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)

@ -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:

@ -15,18 +15,14 @@
<firstname>Troy</firstname> <firstname>Troy</firstname>
<surname>Corbin Jr.</surname> <surname>Corbin Jr.</surname>
<affiliation> <affiliation>
<address> <address><email>tcorbin@users.sf.net</email></address>
<email>tcorbin@users.sf.net</email>
</address>
</affiliation> </affiliation>
</author> </author>
<othercredit role="developer"> <othercredit role="developer">
<firstname>Troy</firstname> <firstname>Troy</firstname>
<surname>Corbin Jr.</surname> <surname>Corbin Jr.</surname>
<affiliation> <affiliation>
<address> <address><email>tcorbin@users.sf.net</email></address>
<email>tcorbin@users.sf.net</email>
</address>
</affiliation> </affiliation>
<contrib>Developer</contrib> <contrib>Developer</contrib>
</othercredit> </othercredit>
@ -47,12 +43,12 @@
</releaseinfo> </releaseinfo>
<abstract> <abstract>
<para> <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> </para>
</abstract> </abstract>
<keywordset> <keywordset>
<keyword>knights</keyword> <keyword>knights</keyword>
<keyword>KDE</keyword> <keyword>TDE</keyword>
<keyword>game</keyword> <keyword>game</keyword>
<keyword>chess</keyword> <keyword>chess</keyword>
<keyword>gnuchess</keyword> <keyword>gnuchess</keyword>
@ -352,6 +348,9 @@
<para> <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. <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>
<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>
<sect1 id="configure-display"> <sect1 id="configure-display">
<title>Display</title> <title>Display</title>
@ -590,46 +589,25 @@
<sect1 id="installation-obtain-knights"> <sect1 id="installation-obtain-knights">
<title>How to obtain Knights</title> <title>How to obtain Knights</title>
<para> <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> </para>
<note> <note>
<para> <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> </para>
</note> </note>
</sect1> </sect1>
<sect1 id="installation-requirements"> <sect1 id="installation-requirements">
<title>Requirements</title> <title>Requirements</title>
<para> <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> </para>
</sect1> </sect1>
<sect1 id="installation-compilation"> <sect1 id="installation-compilation">
<title>Compilation and Installation</title> <title>Compilation and Installation</title>
<para> <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>. Knights uses cmake to ensure that compiling is easy. Please read the INSTALL file for the basics and the suggested default options.
</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.
</para> </para>
</sect1> </sect1>
</appendix> </appendix>
@ -783,13 +761,3 @@
</para> </para>
</appendix> </appendix>
</book> </book>
<!--
Local Variables:
mode: sgml
sgml-omittag: nil
sgml-shorttag: t
End:
-->

@ -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
> </para
> </note>
</sect2>
</sect1>
<sect1 id="new-match">
<title
></title>
<para
> </para>
<sect2 id="new-match-dialog">
<title
></title>
<para
> </para>
<note
> <para
> </para
> </note>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
</sect2>
</sect1>
</chapter>
<chapter id="online">
<title
></title>
<para
> </para>
<para
> </para>
<sect1 id="getting-started-online">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<sect2 id="getting-started-online-connecting">
<title
></title>
<para
> </para>
<para
> </para>
</sect2>
</sect1>
<sect1 id="online-tools">
<title
></title>
<para
> </para>
<sect2 id="online-tools-console">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
</sect2>
<sect2 id="online-tools-sought-list">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<itemizedlist
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> </itemizedlist>
</sect2>
<sect2 id="online-tools-sought-graph">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<itemizedlist
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> </itemizedlist>
</sect2>
</sect1>
</chapter>
<chapter id="organizing-tabs">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<note
> <para
> </para
> </note>
</chapter>
<chapter id="configure">
<title
></title>
<para
> </para>
<sect1 id="configure-general">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<note
> <para
> </para
> </note>
<para
> </para>
<para
> </para>
</sect1>
<sect1 id="configure-display">
<title
></title>
<sect2 id="configure-display-general">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
</sect2>
<sect2 id="configure-display-console">
<title
></title>
<para
> </para>
<para
> </para>
</sect2>
</sect1>
<sect1 id="configure-audio">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<note
> <para
> </para
> </note>
<para
> </para>
</sect1>
<sect1 id="configure-engines">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<note
> <para
> </para
> </note>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
</sect1>
<sect1 id="configure-servers">
<title
></title>
<para
> </para>
<sect2 id="configure-servers-servers">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
</sect2>
<sect2 id="configure-servers-options">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
</sect2>
</sect1>
</chapter>
<chapter id="key-bindings">
<title
></title>
<itemizedlist
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> <listitem
> <para
> </para
> </listitem
> </itemizedlist>
</chapter>
<chapter id="credits">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<!-- TRANS:CREDIT_FOR_TRANSLATORS -->
&underFDL;
&underGPL;
</chapter>
<appendix id="installation">
<title
></title>
<sect1 id="installation-obtain-knights">
<title
></title>
<para
> </para>
<note
> <para
> </para
> </note>
</sect1>
<sect1 id="installation-requirements">
<title
></title>
<para
> </para>
</sect1>
<sect1 id="installation-compilation">
<title
></title>
<para
> </para>
<para
> </para>
<para
> <userinput
><command
></command
></userinput
> </para>
<para
> </para>
<para
> </para>
<informalexample
> <screen width="40">
</screen
> </informalexample>
<para
> </para>
</sect1>
</appendix>
<appendix id="command-line">
<title
></title>
<para
> </para>
<screen width="40">
</screen>
<para
> </para>
<screen width="40">
</screen>
<para
> </para>
</appendix>
<appendix id="kml">
<title
></title>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
<para
> </para>
</appendix>
</book>
<!--
Local Variables:
mode: sgml
sgml-omittag: nil
sgml-shorttag: t
End:
-->

@ -0,0 +1,154 @@
.\" This file was generated by kdemangen.pl
.TH KNIGHTS 1 "Jun 2004" "Trinity Desktop Environment" "The Knights Chess Interface"
.SH NAME
knights
- The Knights Chess Interface
.SH SYNOPSIS
knights [Qt-options] [TDE-options] [options] [filename]
.SH DESCRIPTION
The Knights Chess Interface
.SH OPTIONS
.SS
.SS Arguments:
.TP
.B filename
A .pgn file to be loaded.
.SS Options:
.B -d <path>
Specify the location of your Knights data directory.
.SS Generic options:
.TP
.B --help
Show help about options
.TP
.B --help-qt
Show Qt specific options
.TP
.B --help-tde
Show TDE specific options
.TP
.B --help-all
Show all options
.TP
.B --author
Show author information
.TP
.B -v, --version
Show version information
.TP
.B --license
Show license information
.TP
.B --
End of options
.SS
.SS TDE options:
.TP
.B --caption <caption>
Use 'caption' as name in the titlebar.
.TP
.B --icon <icon>
Use 'icon' as the application icon.
.TP
.B --miniicon <icon>
Use 'icon' as the icon in the titlebar.
.TP
.B --config <filename>
Use alternative configuration file.
.TP
.B --dcopserver <server>
Use the DCOP Server specified by 'server'.
.TP
.B --nocrashhandler
Disable crash handler, to get core dumps.
.TP
.B --waitforwm
Waits for a WM_NET compatible windowmanager.
.TP
.B --style <style>
sets the application GUI style.
.TP
.B --geometry <geometry>
sets the client geometry of the main widget.
.SS
.SS Qt options:
.TP
.B --display <displayname>
Use the X-server display 'displayname'.
.TP
.B --session <sessionId>
Restore the application for the given 'sessionId'.
.TP
.B --cmap
Causes the application to install a private color
map on an 8-bit display.
.TP
.B --ncols <count>
Limits the number of colors allocated in the color
cube on an 8-bit display, if the application is
using the QApplication::ManyColor color
specification.
.TP
.B --nograb
tells Qt to never grab the mouse or the keyboard.
.TP
.B --dograb
running under a debugger can cause an implicit
-nograb, use -dograb to override.
.TP
.B --sync
switches to synchronous mode for debugging.
.TP
.B --fn, --font <fontname>
defines the application font.
.TP
.B --bg, --background <color>
sets the default background color and an
application palette (light and dark shades are
calculated).
.TP
.B --fg, --foreground <color>
sets the default foreground color.
.TP
.B --btn, --button <color>
sets the default button color.
.TP
.B --name <name>
sets the application name.
.TP
.B --title <title>
sets the application title (caption).
.TP
.B --visual TrueColor
forces the application to use a TrueColor visual on
an 8-bit display.
.TP
.B --inputstyle <inputstyle>
sets XIM (X Input Method) input style. Possible
values are onthespot, overthespot, offthespot and
root.
.TP
.B --im <XIM server>
set XIM server.
.TP
.B --noxim
disable XIM.
.TP
.B --reverse
mirrors the whole layout of widgets.
.SS
.SH SEE ALSO
Full user documentation is available through the TDE Help Center. You can also enter the URL
.BR help:/knights/
directly into konqueror or you can run
.BR "`khelpcenter help:/knights/'"
from the command-line.
.br
.SH AUTHORS
.nf
Troy Corbin Jr. <tcorbin@users.sourceforge.net>
.br
Alexander Wels <agpwels@adelphia.net>
.br

@ -1,14 +0,0 @@
Begin4
Title: Knights
Version: R14.0.0
Entered-date: 2010-05-10
Description: A graphical chess interface for the Trinity Desktop Environment
Keywords: chess TDE Qt FICS PGN ICS crafty
Author: Troy Corbin Jr. <troy@knights-chess.com>
Maintained-by: The Trinity Desktop Environment (TDE) http://www.trinitydesktop.org/
Primary-site: http://git.trinitydesktop.org/cgit/
Alternate-site:
Original-site: http://knights.sourceforge.net/
Platforms: Linux and other Unices running TDE
Copying-policy: GPL
End

@ -0,0 +1,13 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/knights" )
tde_l10n_create_template(
CATALOG "desktop_files/knights.desktop/"
SOURCES knights.desktop
)
tde_l10n_create_template(
CATALOG "desktop_files/pgn-mimetype/"
SOURCES pgn.desktop
)

@ -0,0 +1,53 @@
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### knights (executable)
tde_add_executable( ${PROJECT_NAME} AUTOMOC
SOURCES
board_2d.cpp board_base.cpp setpagedisplay.cpp
proto_xboard.cpp dlg_selectengine.cpp thinbuttons.cpp
pgn.cpp io_engine.cpp dlg_challenge.cpp idmanager.cpp
challenge_graph.cpp dlg_login.cpp tabgrip.cpp
tabpage.cpp tab_seeklist.cpp dlg_engine.cpp
setpageaudio.cpp proto_base.cpp dlg_server.cpp
core.cpp match_param.cpp knightspixcache.cpp
dlg_settings.cpp console.cpp match.cpp
setpagegeneral.cpp splash.cpp audio.cpp
main.cpp logic.cpp list_pgn.cpp challenge_graph_view.cpp
accel.cpp dlg_selectemail.cpp challenge_rectangle.cpp
knightstextview.cpp tabmanager.cpp command.cpp
dlg_newmatch.cpp chessclock.cpp dlg_promote.cpp
resource.cpp tabbox.cpp io_internet.cpp
challenge_game.cpp knights.cpp tab_pgnview.cpp
io_base.cpp wiz_setup.cpp setpageservers.cpp
proto_uci.cpp setpageengines.cpp
LINK
tdecore-shared tdeui-shared tdeio-shared tdeprint-shared
artskde-shared artsflow_idl kmedia2_idl soundserver_idl mcop
DESTINATION ${BIN_INSTALL_DIR}
)
##### other data
tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
tde_create_translated_desktop(
SOURCE pgn.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
PO_DIR pgn-mimetype
)

@ -1,61 +0,0 @@
####### tdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = knights
## INCLUDES were found outside tdevelop specific part
knights_SOURCES = board_2d.cpp board_base.cpp setpagedisplay.cpp proto_xboard.cpp dlg_selectengine.cpp thinbuttons.cpp pgn.cpp io_engine.cpp dlg_challenge.cpp idmanager.cpp challenge_graph.cpp dlg_login.cpp tabgrip.cpp tabpage.cpp tab_seeklist.cpp dlg_engine.cpp setpageaudio.cpp proto_base.cpp dlg_server.cpp core.cpp match_param.cpp knightspixcache.cpp dlg_settings.cpp console.cpp match.cpp setpagegeneral.cpp splash.cpp audio.cpp main.cpp logic.cpp list_pgn.cpp challenge_graph_view.cpp accel.cpp dlg_selectemail.cpp challenge_rectangle.cpp knightstextview.cpp tabmanager.cpp command.cpp dlg_newmatch.cpp chessclock.cpp dlg_promote.cpp resource.cpp tabbox.cpp io_internet.cpp challenge_game.cpp knights.cpp tab_pgnview.cpp io_base.cpp wiz_setup.cpp setpageservers.cpp proto_uci.cpp setpageengines.cpp
knights_LDADD = $(LIB_QT) -lartskde -ltdeio -ltdeprint -ltdeui -ltdecore $(LIBSOCKET) -lsoundserver_idl -lkmedia2_idl -lartsflow_idl -lmcop
EXTRA_DIST = setpageengines.cpp proto_uci.cpp setpageservers.cpp wiz_setup.cpp setpageengines.h io_base.cpp knightsmap.h tab_pgnview.cpp knights.cpp challenge_game.cpp io_internet.cpp challenge_graph_view.h resource.h tabbox.cpp resource.cpp dlg_promote.cpp dlg_server.h pgn.h chessclock.cpp dlg_newmatch.cpp command.h io_internet.h challenge_rectangle.h command.cpp tabmanager.cpp dlg_promote.h definitions.h knightstextview.cpp challenge_rectangle.cpp dlg_selectemail.cpp splash.h list_pgn.h accel.cpp tabmanager.h match.h setpagedisplay.h challenge_graph_view.cpp list_pgn.cpp logic.h logic.cpp knightstextview.h main.cpp audio.cpp splash.cpp setpagegeneral.cpp match.cpp io_base.h console.h idmanager.h dlg_selectemail.h console.cpp tab_pgnview.h knights.h dlg_settings.cpp core.h knightspixcache.cpp thinbuttons.h dlg_settings.h setpageservers.h tab_seeklist.h match_param.cpp core.cpp match_param.h dlg_server.cpp pgn.desktop tabbox.h accel.h io_engine.h proto_base.cpp setpageaudio.cpp dlg_engine.cpp tab_seeklist.cpp tabpage.cpp challenge_graph.h tabgrip.cpp dlg_login.cpp challenge_graph.cpp proto_uci.h setpageaudio.h proto_base.h chessclock.h setpagegeneral.h idmanager.cpp dlg_challenge.cpp io_engine.cpp audio.h dlg_newmatch.h pgn.cpp dlg_engine.h thinbuttons.cpp wiz_setup.h dlg_selectengine.cpp challenge_game.h proto_xboard.cpp knightspixcache.h setpagedisplay.cpp tabgrip.h knights.desktop dlg_login.h proto_xboard.h dlg_challenge.h dlg_selectengine.h tabpage.h board_base.cpp board_base.h board_2d.cpp board_2d.h Makefile.am
install-data-local:
$(mkinstalldirs) $(kde_mimedir)/application/
$(INSTALL_DATA) $(srcdir)/pgn.desktop $(kde_mimedir)/application/pgn.desktop
$(mkinstalldirs) $(kde_appsdir)/Games/Board/
$(INSTALL_DATA) $(srcdir)/knights.desktop $(kde_appsdir)/Games/Board/knights.desktop
uninstall-local:
-rm -f $(kde_mimedir)/application/pgn.desktop
-rm -f $(kde_appsdir)/Games/Board/knights.desktop
####### tdevelop will overwrite this part!!! (end)############
# this 10 paths are KDE specific. Use them:
# kde_htmldir Where your docs should go to. (contains lang subdirs)
# kde_appsdir Where your application file (.kdelnk) should go to.
# kde_icondir Where your icon should go to.
# kde_minidir Where your mini icon should go to.
# kde_datadir Where you install application data. (Use a subdir)
# kde_locale Where translation files should go to.(contains lang subdirs)
# kde_cgidir Where cgi-bin executables should go to.
# kde_confdir Where config files should go to.
# kde_mimedir Where mimetypes should go to.
# kde_toolbardir Where general toolbar icons should go to.
# kde_wallpaperdir Where general wallpapers should go to.
# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
METASOURCES = AUTO
# the library search path.
knights_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -lartskde -lsoundserver_idl -lkmedia2_idl -lartsflow_idl -lmcop
# Uncomment the following two lines if you add a ui.rc file for your application to make use of
# KDE´s XML GUI builing
#rcdir = $(kde_datadir)/knights
#rc_DATA = knightsui.rc
#WARNING: if you use a ui.rc file above, use:
# messages: rc.cpp
# instead of
# messages:
messages:
LIST=`find $(srcdir) -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
if test -n "$$LIST"; then \
$(XGETTEXT) $$LIST -o $(podir)/knights.pot; \
fi

@ -232,7 +232,7 @@ void board_2d::resizeBoard( void )
/////////////////////////////////////// ///////////////////////////////////////
void board_2d::redrawAll( void ) void board_2d::redrawAll( void )
{ {
register char tmp(0); char tmp(0);
if( init ) if( init )
return; return;
@ -583,7 +583,7 @@ void board_2d::mouseMoveEvent( TQMouseEvent *event )
TQPixmap board_2d::getChessman( const int &pos ) TQPixmap board_2d::getChessman( const int &pos )
{ {
TQPixmap tmp; TQPixmap tmp;
register char type, army; char type, army;
if( pos == premoveTo ) if( pos == premoveTo )
{ {

@ -26,7 +26,7 @@
*@author The Knights Team *@author The Knights Team
*/ */
typedef struct sprite struct sprite
{ {
bool Restore; bool Restore;
int Steps; int Steps;

@ -234,7 +234,7 @@ const char ICS_Examine = 1;
const char ICS_Observe = 2; const char ICS_Observe = 2;
const char ICS_Movelist = 3; const char ICS_Movelist = 3;
typedef struct ThemeHeader struct ThemeHeader
{ {
TQString name; TQString name;
TQString version; TQString version;
@ -244,7 +244,7 @@ typedef struct ThemeHeader
TQString notes; TQString notes;
}; };
typedef struct ChessMove struct ChessMove
{ {
char fromFile; char fromFile;
char fromRank; char fromRank;
@ -263,7 +263,7 @@ unsigned char NAG;
bool ICS_ClockTicking; bool ICS_ClockTicking;
}; };
typedef struct Chessman struct Chessman
{ {
bool Army; bool Army;
char Type; char Type;
@ -271,7 +271,7 @@ typedef struct Chessman
char Rank; char Rank;
}; };
typedef struct Position struct Position
{ {
char File; char File;
char Rank; char Rank;
@ -280,7 +280,7 @@ typedef struct Position
}; };
/* Time Control Period */ /* Time Control Period */
typedef struct TCP struct TCP
{ {
int Moves; int Moves;
int Seconds; int Seconds;

@ -229,7 +229,7 @@ void io_engine::Recv( TDEProcess*, char *buffer, int bufLen )
strncpy( newBuff, buffer, bufLen ); strncpy( newBuff, buffer, bufLen );
newBuff[bufLen] = 0; newBuff[bufLen] = 0;
FIFO_In += newBuff; FIFO_In += newBuff;
delete newBuff; delete[] newBuff;
if( FIFO_In.contains( TQChar('\n') ) ) if( FIFO_In.contains( TQChar('\n') ) )
{ {

@ -187,7 +187,7 @@ void io_internet::connectToServer()
} }
else else
{ {
socket = new TDESocket(myServer->URL, myServer->Port, 30); socket = new TDESocket(myServer->URL.utf8(), myServer->Port, 30);
if(socket->socket() == -1) if(socket->socket() == -1)
{ {
/* Couldn't connect to server. Notify User and die gracefully */ /* Couldn't connect to server. Notify User and die gracefully */
@ -221,7 +221,7 @@ void io_internet::connectToServer()
and close these tabs at will, or have multiple open at once. ALL communication to our tabs and close these tabs at will, or have multiple open at once. ALL communication to our tabs
needs to be done with SIGNALS & SLOTS to facilitate this. needs to be done with SIGNALS & SLOTS to facilitate this.
*/ */
consoleTab = new Console( 0, myServer->Name, myResource ); consoleTab = new Console( 0, myServer->Name.utf8(), myResource );
myTabList[consoleTab] = consoleTab; myTabList[consoleTab] = consoleTab;
myResource->tabManager->addTab( myTabList[consoleTab], i18n( "%1 Console" ).arg( myServer->Name ) ); myResource->tabManager->addTab( myTabList[consoleTab], i18n( "%1 Console" ).arg( myServer->Name ) );
connect( myTabList[consoleTab], TQT_SIGNAL( sendCMD( const Command& ) ), this, TQT_SLOT( recvCMD( const Command& ) ) ); connect( myTabList[consoleTab], TQT_SIGNAL( sendCMD( const Command& ) ), this, TQT_SLOT( recvCMD( const Command& ) ) );
@ -847,9 +847,9 @@ void io_internet::parseStyle12(TQString line, const unsigned int Mode)
} }
/* Verbose Coordinate Notation of previous move ( USE AS CAN ) */ /* Verbose Coordinate Notation of previous move ( USE AS CAN ) */
strcpy(move.CAN, fields[27].right(fields[27].length() - 2).replace(TQRegExp("-"), "")); strcpy(move.CAN, fields[27].right(fields[27].length() - 2).replace(TQRegExp("-"), "").utf8());
/* SAN */ /* SAN */
strcpy(move.SAN, fields[29].replace(TQRegExp("\\+"), "").replace(TQRegExp("#"), "")); strcpy(move.SAN, fields[29].replace(TQRegExp("\\+"), "").replace(TQRegExp("#"), "").utf8());
/* fill the line for the command */ /* fill the line for the command */
position_line += fields[1]; /* Internal Rank #7 */ position_line += fields[1]; /* Internal Rank #7 */
@ -1024,7 +1024,7 @@ void io_internet::parseMoveList(TQString line)
move.ICS_MoveCounter = move_counter; move.ICS_MoveCounter = move_counter;
move.ICS_Mode = ICS_Movelist; move.ICS_Mode = ICS_Movelist;
move.ICS_OnMove = WHITE; move.ICS_OnMove = WHITE;
strcpy(move.SAN, two_plys[1]); strcpy(move.SAN, two_plys[1].utf8());
command.setCommand((int&)CMD_Move); command.setCommand((int&)CMD_Move);
command.setID(fics_to_knights[ficsMoveListNumber]); command.setID(fics_to_knights[ficsMoveListNumber]);
command.setMove(move); command.setMove(move);
@ -1037,7 +1037,7 @@ void io_internet::parseMoveList(TQString line)
move.ICS_MoveCounter = move_counter; move.ICS_MoveCounter = move_counter;
move.ICS_Mode = ICS_Movelist; move.ICS_Mode = ICS_Movelist;
move.ICS_OnMove = BLACK; move.ICS_OnMove = BLACK;
strcpy(move.SAN, two_plys[3]); strcpy(move.SAN, two_plys[3].utf8());
command.setCommand((int&)CMD_Move); command.setCommand((int&)CMD_Move);
command.setID(fics_to_knights[ficsMoveListNumber]); command.setID(fics_to_knights[ficsMoveListNumber]);
command.setMove(move); command.setMove(move);

@ -49,6 +49,7 @@ Knights::Knights(TDECmdLineArgs *Args, TQWidget *parent, const char *name) : TDE
SplashScreen = NULL; SplashScreen = NULL;
setFocusPolicy( TQ_ClickFocus ); setFocusPolicy( TQ_ClickFocus );
} }
Knights::~Knights() Knights::~Knights()
{ {
if( !InitAll ) if( !InitAll )
@ -101,6 +102,7 @@ void Knights::menuClose(void)
{ {
if( !queryClose() ) if( !queryClose() )
return; return;
tqApp->quit(); tqApp->quit();
} }
/////////////////////////////////////// ///////////////////////////////////////
@ -114,6 +116,24 @@ bool Knights::queryClose(void)
} }
/////////////////////////////////////// ///////////////////////////////////////
// //
// Knights::aboutToQuit
//
///////////////////////////////////////
void Knights::aboutToQuit(void)
{
if (Resource->OPTION_Delete_Logs)
{
// Delete log files on exit. Only files named "game.###" and "log.###"
// placed in the user home folder will be removed
TQDir userdir( TQDir::homeDirPath(), "game.[0-9][0-9]*;log.[0-9][0-9]*" );
for ( int i = 0; i < userdir.count(); i++ )
{
userdir.remove( userdir.absFilePath(userdir[i]), TRUE );
}
}
}
///////////////////////////////////////
//
// Knights::KillAll // Knights::KillAll
// //
/////////////////////////////////////// ///////////////////////////////////////

@ -1,17 +1,13 @@
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Exec=knights Exec=knights
Icon=knights.png Icon=knights
MiniIcon=knights.png MiniIcon=knights
Name=Knights Name=Knights
Name[de]=Knights
GenericName=Chess Game GenericName=Chess Game
Comment=A graphical chess interface Comment=A graphical chess interface
Comment[de]=A graphical chess interface
X-TDE-InitialPreference=1 X-TDE-InitialPreference=1
MimeType=application/x-chess-pgn,Application MimeType=application/x-chess-pgn,Application
X-TDE-ServiceTypes= X-TDE-ServiceTypes=
X-DocPath=knights/index.html X-DocPath=knights/index.html
Terminal=false Terminal=false

@ -72,6 +72,7 @@ class Knights : public TDEMainWindow
public slots: public slots:
void KillAll( void ); void KillAll( void );
void menuClose( void ); void menuClose( void );
void aboutToQuit( void );
/** Yeah, they're sloppy, but I need my own geometry managment routines /** Yeah, they're sloppy, but I need my own geometry managment routines
because I don't like the "default" look my statusbar was getting because I don't like the "default" look my statusbar was getting
( double-height ). Plus, I want the console to appear only when needed. */ ( double-height ). Plus, I want the console to appear only when needed. */

@ -30,7 +30,7 @@ class KnightsMap
public: public:
typedef Key KeyType; typedef Key KeyType;
typedef T DataType; typedef T DataType;
typedef struct Pair struct Pair
{ {
KeyType key; KeyType key;
DataType data; DataType data;

@ -63,7 +63,7 @@ void KnightsPixCache::clear( void )
void KnightsPixCache::cleanCache( const unsigned int &space ) void KnightsPixCache::cleanCache( const unsigned int &space )
{ {
pixmapList::Iterator tmpIT; pixmapList::Iterator tmpIT;
register unsigned int age; unsigned int age;
while( bytesUsed + space > bytesTotal ) while( bytesUsed + space > bytesTotal )
{ {

@ -26,7 +26,7 @@
*@author Troy Corbin Jr. *@author Troy Corbin Jr.
*/ */
typedef struct cacheItem struct cacheItem
{ {
TQString label; TQString label;
TQPixmap item; TQPixmap item;

@ -140,6 +140,6 @@ void list_pgn::timerEvent( TQTimerEvent* )
tmpPGN.TAG_Site, tmpPGN.TAG_Site,
tmpPGN.TAG_Date, tmpPGN.TAG_Date,
TQString::number(tmpPGN.File_Position) ); TQString::number(tmpPGN.File_Position) );
status->message( i18n( TQString( "%1 matches found." ).arg( listView->childCount() ) ) ); status->message( i18n( "%1 matches found." ).arg( listView->childCount() ) );
} }
} }

@ -90,7 +90,7 @@ bool logic::isChessman( const char ChessmanPtr )
/////////////////////////////////////// ///////////////////////////////////////
void logic::clearBoard( void ) void logic::clearBoard( void )
{ {
for( register int tmp = 0; tmp < 64; tmp++ ) for( int tmp = 0; tmp < 64; tmp++ )
{ {
chessman[tmp].Type = Null; chessman[tmp].Type = Null;
current[tmp].ManPtr = Null; current[tmp].ManPtr = Null;
@ -120,7 +120,7 @@ void logic::Init( const int Var )
/////////////////////////////////////// ///////////////////////////////////////
void logic::Init_Standard( void ) void logic::Init_Standard( void )
{ {
register int tmp; int tmp;
clearBoard(); clearBoard();
for( tmp = 0; tmp < 32; tmp++ ) for( tmp = 0; tmp < 32; tmp++ )
@ -394,7 +394,7 @@ void logic::writeSAN( void )
Position backup[64]; Position backup[64];
bool SANambig(FALSE); bool SANambig(FALSE);
bool SANambig2(FALSE); bool SANambig2(FALSE);
register char tmp, manPtr, toPtr, fromPtr; char tmp, manPtr, toPtr, fromPtr;
TQString SAN; TQString SAN;
/* /*
@ -528,7 +528,7 @@ void logic::writeSAN( void )
TQString logic::board( void ) TQString logic::board( void )
{ {
TQString output; TQString output;
register int tmp(0), tmpMan(0), cR(7), cF(0); int tmp(0), tmpMan(0), cR(7), cF(0);
while( tmp != 64 ) while( tmp != 64 )
{ {
@ -697,7 +697,7 @@ void logic::setBoard( const TQString &board, const short ppf )
/////////////////////////////////////// ///////////////////////////////////////
int logic::getKing( const bool Army ) int logic::getKing( const bool Army )
{ {
register int tmp; int tmp;
for( tmp = 0; tmp < 64; tmp++ ) for( tmp = 0; tmp < 64; tmp++ )
{ {
if( ( chessman[tmp].Army == Army ) && ( chessman[tmp].Type == King ) ) if( ( chessman[tmp].Army == Army ) && ( chessman[tmp].Type == King ) )
@ -715,7 +715,7 @@ int logic::getKing( const bool Army )
/////////////////////////////////////// ///////////////////////////////////////
bool logic::isCheck( const bool Army ) bool logic::isCheck( const bool Army )
{ {
register char tmp(0), currentKing( getKing(Army) ); char tmp(0), currentKing( getKing(Army) );
for( tmp = 0; tmp < 64; tmp++ ) for( tmp = 0; tmp < 64; tmp++ )
{ {
@ -735,7 +735,7 @@ bool logic::isCheck( const bool Army )
/////////////////////////////////////// ///////////////////////////////////////
bool logic::isLegal( const bool Army ) bool logic::isLegal( const bool Army )
{ {
register int tmp(0), tmp2(0), count(0); int tmp(0), tmp2(0), count(0);
for( tmp2 = 0; tmp2 < 64; tmp2++ ) for( tmp2 = 0; tmp2 < 64; tmp2++ )
{ {
@ -1046,7 +1046,7 @@ void logic::HashLegal( const char Man, const bool Recursion )
void logic::_HashLegal( const bool Recursion ) void logic::_HashLegal( const bool Recursion )
{ {
/* Used for loops and positions */ /* Used for loops and positions */
register int Ptr(0), tmp(0), tmp2(0); int Ptr(0), tmp(0), tmp2(0);
/* Used to calculate a position relative to a given position */ /* Used to calculate a position relative to a given position */
int dirF(0), dirR(0); int dirF(0), dirR(0);

@ -81,5 +81,6 @@ int main(int argc, char *argv[])
/* Without this connection, the destructors are not called, and some /* Without this connection, the destructors are not called, and some
housecleaning ( like destroying child processes ) isn't done */ housecleaning ( like destroying child processes ) isn't done */
a.connect( &a, TQT_SIGNAL( shutDown () ), knights, TQT_SLOT( KillAll() ) ); a.connect( &a, TQT_SIGNAL( shutDown () ), knights, TQT_SLOT( KillAll() ) );
a.connect( &a, SIGNAL( aboutToQuit() ), knights, SLOT( aboutToQuit() ) );
return a.exec(); return a.exec();
} }

@ -172,7 +172,7 @@ void match::tick(void)
void match::clearSelections( void ) void match::clearSelections( void )
{ {
bool commitFlag( FALSE ); bool commitFlag( FALSE );
register char tmp; char tmp;
if( ICSGameMode == Null ) if( ICSGameMode == Null )
{ {
@ -386,7 +386,7 @@ TQString match::clock( const bool Army )
void match::slot_Select( int position ) void match::slot_Select( int position )
{ {
bool preMoving(FALSE); bool preMoving(FALSE);
register char tmp, army, selected(Null); char tmp, army, selected(Null);
if( Paused ) return; if( Paused ) return;
/* Clear all non-SELECT notes */ /* Clear all non-SELECT notes */

@ -305,7 +305,7 @@ void pgn::init( void )
/////////////////////////////////////// ///////////////////////////////////////
int pgn::scan( void ) int pgn::scan( void )
{ {
register int Section(0); int Section(0);
TQChar c; TQChar c;
clearTags(); clearTags();

@ -1,11 +1,8 @@
[Desktop Entry] [Desktop Entry]
Type=MimeType Type=MimeType
MimeType=application/x-chess-pgn MimeType=application/x-chess-pgn
Icon=pgn.png Icon=pgn
Comment=Portable Game Notation Comment=Portable Game Notation
X-TDE-AutoEmbed=false X-TDE-AutoEmbed=false
Patterns=*.pgn *.PGN Patterns=*.pgn *.PGN
Name=Chess Match Name=Chess Match

@ -37,7 +37,7 @@
*@author Troy Corbin Jr. *@author Troy Corbin Jr.
*/ */
typedef struct Annotation struct Annotation
{ {
int RAV; int RAV;
TQString text; TQString text;

@ -159,11 +159,12 @@ void resource::ConfigRead( void )
OPTION_Book_White = CFG->readBoolEntry( "BookWhite", FALSE ); OPTION_Book_White = CFG->readBoolEntry( "BookWhite", FALSE );
OPTION_Book_Black = CFG->readBoolEntry( "BookBlack", FALSE ); OPTION_Book_Black = CFG->readBoolEntry( "BookBlack", FALSE );
OPTION_Pause_On_Minimize = CFG->readBoolEntry( "PauseOnMinimize", TRUE ); OPTION_Pause_On_Minimize = CFG->readBoolEntry( "PauseOnMinimize", TRUE );
OPTION_Delete_Logs = CFG->readBoolEntry( "DeleteLogOnExit", FALSE );
OPTION_Reuse_PGN = CFG->readBoolEntry( "ReusePGN", FALSE ); OPTION_Reuse_PGN = CFG->readBoolEntry( "ReusePGN", FALSE );
PGN_Filename = CFG->readEntry( "PGNFilename", TQString() ); PGN_Filename = CFG->readEntry( "PGNFilename", TQString() );
SCID_Image_Path = CFG->readEntry( "SCIDImages", TQString() ); SCID_Image_Path = CFG->readEntry( "SCIDImages", TQString() );
OPTION_Auto_Close_Last_ICS = CFG->readBoolEntry( "AutoCloseLastICS", TRUE ); OPTION_Auto_Close_Last_ICS = CFG->readBoolEntry( "AutoCloseLastICS", TRUE );
OPTION_Show_Extended_PGN = CFG->readEntry( "ShowExtendedPGN", FALSE ); OPTION_Show_Extended_PGN = CFG->readBoolEntry( "ShowExtendedPGN", FALSE );
OPTION_Auto_Call_Flag = CFG->readBoolEntry( "AutoCallFlag", TRUE ); OPTION_Auto_Call_Flag = CFG->readBoolEntry( "AutoCallFlag", TRUE );
Email_Command_Line = CFG->readEntry( "EmailCommandLine", TQString("kmail -s %s --attach %m %a") ); Email_Command_Line = CFG->readEntry( "EmailCommandLine", TQString("kmail -s %s --attach %m %a") );
Accepted_License = CFG->readBoolEntry( "Alg2p", FALSE ); Accepted_License = CFG->readBoolEntry( "Alg2p", FALSE );
@ -235,6 +236,7 @@ void resource::ConfigWrite( void )
CFG->writeEntry( "BookBlack", OPTION_Book_Black ); CFG->writeEntry( "BookBlack", OPTION_Book_Black );
CFG->writeEntry( "BoardOrientation", OPTION_Board_Orientation ); CFG->writeEntry( "BoardOrientation", OPTION_Board_Orientation );
CFG->writeEntry( "PauseOnMinimize", OPTION_Pause_On_Minimize ); CFG->writeEntry( "PauseOnMinimize", OPTION_Pause_On_Minimize );
CFG->writeEntry( "DeleteLogOnExit", OPTION_Delete_Logs );
CFG->writeEntry( "ReusePGN", OPTION_Reuse_PGN ); CFG->writeEntry( "ReusePGN", OPTION_Reuse_PGN );
CFG->writeEntry( "PGNFilename", PGN_Filename ); CFG->writeEntry( "PGNFilename", PGN_Filename );
CFG->writeEntry( "AutoCloseLastICS", OPTION_Auto_Close_Last_ICS ); CFG->writeEntry( "AutoCloseLastICS", OPTION_Auto_Close_Last_ICS );

@ -44,7 +44,7 @@ class KnightsPixCache;
class TabManager; class TabManager;
class Accel; class Accel;
typedef struct engineResource struct engineResource
{ {
TQListViewItem *Item; TQListViewItem *Item;
TQString Name; TQString Name;
@ -58,7 +58,7 @@ typedef struct engineResource
int CurrentRef; int CurrentRef;
}; };
typedef struct serverResource struct serverResource
{ {
TQListViewItem *Item; TQListViewItem *Item;
TQString Name; TQString Name;
@ -109,6 +109,7 @@ class resource
bool OPTION_Book_White; bool OPTION_Book_White;
bool OPTION_Book_Black; bool OPTION_Book_Black;
bool OPTION_Board_Orientation; bool OPTION_Board_Orientation;
bool OPTION_Delete_Logs;
bool OPTION_Ponder; bool OPTION_Ponder;
bool OPTION_Show_Coord; bool OPTION_Show_Coord;
bool OPTION_Show_Last_Move; bool OPTION_Show_Last_Move;

@ -218,7 +218,7 @@ void setPageEngines::slotEngine_Add( void )
void setPageEngines::slotEngine_Modify( void ) void setPageEngines::slotEngine_Modify( void )
{ {
TQListViewItem *Item; TQListViewItem *Item;
TQList<TQListViewItem> Select = Engines_ListView->selectedItems(); TQPtrList<TQListViewItem> Select = Engines_ListView->selectedItems();
if( Select.isEmpty() ) return; if( Select.isEmpty() ) return;
Item = Select.first(); Item = Select.first();
@ -235,7 +235,7 @@ void setPageEngines::slotEngine_Delete( void )
{ {
engineList::Iterator enginesIT; engineList::Iterator enginesIT;
TQListViewItem *Item; TQListViewItem *Item;
TQList<TQListViewItem> Select = Engines_ListView->selectedItems(); TQPtrList<TQListViewItem> Select = Engines_ListView->selectedItems();
if( Select.isEmpty() ) return; if( Select.isEmpty() ) return;
Item = Select.first(); Item = Select.first();

@ -18,6 +18,7 @@
#include <tdefiledialog.h> #include <tdefiledialog.h>
#include <kicontheme.h> #include <kicontheme.h>
#include "setpagegeneral.moc" #include "setpagegeneral.moc"
#include <tqwhatsthis.h>
setPageGeneral::setPageGeneral(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout(parent) setPageGeneral::setPageGeneral(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout(parent)
{ {
@ -95,6 +96,15 @@ setPageGeneral::setPageGeneral(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout
connect( BUTTON_Auto_Flag, TQT_SIGNAL( toggled(bool) ), connect( BUTTON_Auto_Flag, TQT_SIGNAL( toggled(bool) ),
this, TQT_SLOT( slot_Auto_Flag(bool) ) ); this, TQT_SLOT( slot_Auto_Flag(bool) ) );
addWidget( BUTTON_Auto_Flag ); addWidget( BUTTON_Auto_Flag );
BUTTON_Delete_Logs = new TQCheckBox( i18n( "Delete Log Files on Exit" ), parent );
TQWhatsThis::add( BUTTON_Delete_Logs, i18n("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"));
BUTTON_Delete_Logs->setChecked( Resource->OPTION_Delete_Logs );
connect( BUTTON_Delete_Logs, TQT_SIGNAL( toggled(bool) ),
this, TQT_SLOT( slot_Delete_Logs(bool) ) );
addWidget( BUTTON_Delete_Logs );
} }
setPageGeneral::~setPageGeneral() setPageGeneral::~setPageGeneral()
{ {
@ -173,6 +183,16 @@ void setPageGeneral::slot_Auto_Flag( bool state )
} }
/////////////////////////////////////// ///////////////////////////////////////
// //
// setPageGeneral::slot_Delete_Logs
//
///////////////////////////////////////
void setPageGeneral::slot_Delete_Logs( bool state )
{
Resource->OPTION_Delete_Logs = state;
emit enableApply();
}
///////////////////////////////////////
//
// setPageGeneral::slot_UserName // setPageGeneral::slot_UserName
// //
/////////////////////////////////////// ///////////////////////////////////////

@ -50,6 +50,7 @@ class setPageGeneral : public TQVBoxLayout
void slot_Pause_On_Minimize( bool state ); void slot_Pause_On_Minimize( bool state );
void slot_Auto_Queen( bool state ); void slot_Auto_Queen( bool state );
void slot_Auto_Flag( bool state ); void slot_Auto_Flag( bool state );
void slot_Delete_Logs( bool state );
void slot_Reuse_PGN( bool ); void slot_Reuse_PGN( bool );
void slot_PGN_Filename( const TQString& ); void slot_PGN_Filename( const TQString& );
void slot_PGN_Filename_Button( void ); void slot_PGN_Filename_Button( void );
@ -76,6 +77,7 @@ class setPageGeneral : public TQVBoxLayout
TQCheckBox *BUTTON_Pause_On_Minimize; TQCheckBox *BUTTON_Pause_On_Minimize;
TQCheckBox *BUTTON_Auto_Queen; TQCheckBox *BUTTON_Auto_Queen;
TQCheckBox *BUTTON_Auto_Flag; TQCheckBox *BUTTON_Auto_Flag;
TQCheckBox *BUTTON_Delete_Logs;
}; };
#endif #endif

@ -215,7 +215,7 @@ void setPageServers::slotServer_Add( void )
void setPageServers::slotServer_Modify( void ) void setPageServers::slotServer_Modify( void )
{ {
TQListViewItem *Item; TQListViewItem *Item;
TQList<TQListViewItem> Select = Servers_ListView->selectedItems(); TQPtrList<TQListViewItem> Select = Servers_ListView->selectedItems();
if( Select.isEmpty() ) return; if( Select.isEmpty() ) return;
Item = Select.first(); Item = Select.first();
@ -232,7 +232,7 @@ void setPageServers::slotServer_Delete( void )
{ {
serverList::Iterator serversIT; serverList::Iterator serversIT;
TQListViewItem *Item; TQListViewItem *Item;
TQList<TQListViewItem> Select = Servers_ListView->selectedItems(); TQPtrList<TQListViewItem> Select = Servers_ListView->selectedItems();
if( Select.isEmpty() ) return; if( Select.isEmpty() ) return;
Item = Select.first(); Item = Select.first();

@ -64,7 +64,7 @@ class thinbuttons : public TQFrame
private: private:
resource *Resource; resource *Resource;
TDEPopupMenu *matchMenu; TDEPopupMenu *matchMenu;
TQList<Buttons> buttons; TQPtrList<Buttons> buttons;
int buttWidth; int buttWidth;
int rightClickID; int rightClickID;
}; };

@ -0,0 +1,24 @@
tde_install_icons()
install(
FILES
pgn_template.kml
default-portrait.jpg
wizard.png
splash.png
icon-general.png
default-engine-portrait.jpg
icon-display.png
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
foreach( _theme KBDefault KCDefault KSDefault )
tde_create_tarball(
TARGET ${_theme}.tar.gz
SOURCEDIR ${CMAKE_CURRENT_SOURCE_DIR}/${_theme}
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/themes
)
endforeach( )

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 872 B

@ -0,0 +1,25 @@
[General]
Type=Board
Name=Default
Version=0.9.4
Author=Troy Corbin Jr.
AuthorEmail=tcorbin@users.sf.net
AuthorWWW=http://knights.sf.net
Notes=This is the default chessboard for Knights, with the new border feature.
[2DBoard]
HaveBorder=true
Border=border.jpg
BorderLightOn=light_on.png
BorderLightOff=light_off.png
Light=square.light.png
Dark=square.dark.png
Motion=square.motion.png
Select=square.select.png
Danger=square.danger.png
[Coordinates]
TextColor=255,255,255
ShadowColor=0,0,0

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

@ -0,0 +1,26 @@
[General]
Type=Chessmen
Name=Default
Version=0.9
Author=Troy Corbin Jr.
AuthorEmail=tcorbin@users.sourceforge.net
AuthorWWW=http://knights.sourceforge.net
Notes=These are the default chessmen for Knights.
[2DWhite]
King=white.king.png
Queen=white.queen.png
Bishop=white.bishop.png
Knight=white.knight.png
Rook=white.rook.png
Pawn=white.pawn.png
[2DBlack]
King=black.king.png
Queen=black.queen.png
Bishop=black.bishop.png
Knight=black.knight.png
Rook=black.rook.png
Pawn=black.pawn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,26 @@
[General]
Type=Audio
Name=Default
Version=0.2
Author=Troy Corbin Jr.
AuthorEmail=tcorbin@users.sourceforge.net
AuthorWWW=http://knights.sourceforge.net
Notes=This theme is incomplete.
[Audio]
Select=select.wav
Move=move.wav
Check=check.wav
MatchOver=notify.wav
Challenge=notify.wav
Tell=tell.wav
Notification=notify.wav
DrawOffer=draw.wav
Say=tell.wav
Promote=promote.wav

@ -1,65 +0,0 @@
####### tdevelop will overwrite this part!!! (begin)##########
EXTRA_DIST = hi48-mime-pgn.png hi16-mime-pgn.png KSDefault.tar.gz default-portrait.jpg hi64-app-knights.png pgn_template.kml hi64-mime-pgn.png hi32-mime-pgn.png icon-general.png hi32-app-knights.png default-engine-portrait.jpg KBDefault.tar.gz wizard.png hi48-app-knights.png KCDefault.tar.gz hi16-app-knights.png icon-display.png Makefile.am
install-data-local:
$(mkinstalldirs) $(kde_icondir)/hicolor/48x48/mimetypes/
$(INSTALL_DATA) $(srcdir)/hi48-mime-pgn.png $(kde_icondir)/hicolor/48x48/mimetypes/pgn.png
$(mkinstalldirs) $(kde_icondir)/hicolor/16x16/mimetypes/
$(INSTALL_DATA) $(srcdir)/hi16-mime-pgn.png $(kde_icondir)/hicolor/16x16/mimetypes/pgn.png
$(mkinstalldirs) $(kde_datadir)/knights/themes/
$(INSTALL_DATA) $(srcdir)/KSDefault.tar.gz $(kde_datadir)/knights/themes/KSDefault.tar.gz
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/default-portrait.jpg $(kde_datadir)/knights/default-portrait.jpg
$(mkinstalldirs) $(kde_icondir)/hicolor/64x64/apps/
$(INSTALL_DATA) $(srcdir)/hi64-app-knights.png $(kde_icondir)/hicolor/64x64/apps/knights.png
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/splash.png $(kde_datadir)/knights/splash.png
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/pgn_template.kml $(kde_datadir)/knights/pgn_template.kml
$(mkinstalldirs) $(kde_icondir)/hicolor/64x64/mimetypes/
$(INSTALL_DATA) $(srcdir)/hi64-mime-pgn.png $(kde_icondir)/hicolor/64x64/mimetypes/pgn.png
$(mkinstalldirs) $(kde_icondir)/hicolor/32x32/mimetypes/
$(INSTALL_DATA) $(srcdir)/hi32-mime-pgn.png $(kde_icondir)/hicolor/32x32/mimetypes/pgn.png
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/icon-general.png $(kde_datadir)/knights/icon-general.png
$(mkinstalldirs) $(kde_icondir)/hicolor/32x32/apps/
$(INSTALL_DATA) $(srcdir)/hi32-app-knights.png $(kde_icondir)/hicolor/32x32/apps/knights.png
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/default-engine-portrait.jpg $(kde_datadir)/knights/default-engine-portrait.jpg
$(mkinstalldirs) $(kde_datadir)/knights/themes/
$(INSTALL_DATA) $(srcdir)/KBDefault.tar.gz $(kde_datadir)/knights/themes/KBDefault.tar.gz
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/wizard.png $(kde_datadir)/knights/wizard.png
$(mkinstalldirs) $(kde_icondir)/hicolor/48x48/apps/
$(INSTALL_DATA) $(srcdir)/hi48-app-knights.png $(kde_icondir)/hicolor/48x48/apps/knights.png
$(mkinstalldirs) $(kde_datadir)/knights/themes/
$(INSTALL_DATA) $(srcdir)/KCDefault.tar.gz $(kde_datadir)/knights/themes/KCDefault.tar.gz
$(mkinstalldirs) $(kde_icondir)/hicolor/16x16/apps/
$(INSTALL_DATA) $(srcdir)/hi16-app-knights.png $(kde_icondir)/hicolor/16x16/apps/knights.png
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/icon-display.png $(kde_datadir)/knights/icon-display.png
uninstall-local:
-rm -f $(kde_icondir)/hicolor/48x48/mimetypes/pgn.png
-rm -f $(kde_icondir)/hicolor/16x16/mimetypes/pgn.png
-rm -f $(kde_datadir)/knights/themes/KSDefault.tar.gz
-rm -f $(kde_datadir)/knights/default-portrait.jpg
-rm -f $(kde_icondir)/hicolor/64x64/apps/knights.png
-rm -f $(kde_datadir)/knights/splash.png
-rm -f $(kde_datadir)/knights/pgn_template.kml
-rm -f $(kde_icondir)/hicolor/64x64/mimetypes/pgn.png
-rm -f $(kde_icondir)/hicolor/32x32/mimetypes/pgn.png
-rm -f $(kde_datadir)/knights/icon-general.png
-rm -f $(kde_icondir)/hicolor/32x32/apps/knights.png
-rm -f $(kde_datadir)/knights/default-engine-portrait.jpg
-rm -f $(kde_datadir)/knights/themes/KBDefault.tar.gz
-rm -f $(kde_datadir)/knights/wizard.png
-rm -f $(kde_icondir)/hicolor/48x48/apps/knights.png
-rm -f $(kde_datadir)/knights/themes/KCDefault.tar.gz
-rm -f $(kde_icondir)/hicolor/16x16/apps/knights.png
-rm -f $(kde_datadir)/knights/icon-display.png
####### tdevelop will overwrite this part!!! (end)############

Binary file not shown.

Before

Width:  |  Height:  |  Size: 752 B

After

Width:  |  Height:  |  Size: 752 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 774 B

After

Width:  |  Height:  |  Size: 762 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 359 B

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 34 KiB

@ -1,17 +0,0 @@
Patches applied in the Debian version of :
debian/patches/01_gcc-4.0-fix.dpatch (Tommaso Moroni <moronito@debian.org>):
No description.
debian/patches/02_de.po.dpatch (Tommaso Moroni <moronito@debian.org>):
No description.
debian/patches/03_noGPLonload.dpatch (Claudio Moratti <maxer@knio.it>):
No description.
debian/patches/04_qt3_headers.dpatch (<bdefreese@debian2.bddebian.com>):
No description.
debian/patches/kubuntu_01_fix_castle.dpatch (Martin Meredith <mez@ubuntu.com>):
Fixes crash on castling

@ -1,7 +0,0 @@
####### tdevelop will overwrite this part!!! (begin)##########
POFILES = AUTO
EXTRA_DIST = de.gmo es.gmo fi.gmo et.gmo fr.gmo it.gmo
####### tdevelop will overwrite this part!!! (end)############

@ -1 +0,0 @@
timestamp

@ -1,5 +0,0 @@
admin
doc
knights
media
po

@ -0,0 +1,32 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-29 23:29+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: knights.desktop:6
msgid "Knights"
msgstr "Knights"
#. GenericName
#: knights.desktop:7
msgid "Chess Game"
msgstr ""
#. Comment
#: knights.desktop:8
msgid "A graphical chess interface"
msgstr "A graphical chess interface"

@ -0,0 +1,32 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-29 23:29+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: knights.desktop:6
msgid "Knights"
msgstr ""
#. GenericName
#: knights.desktop:7
msgid "Chess Game"
msgstr ""
#. Comment
#: knights.desktop:8
msgid "A graphical chess interface"
msgstr ""

@ -0,0 +1,27 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-29 23:32+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Comment
#: pgn.desktop:5
msgid "Portable Game Notation"
msgstr ""
#. Name
#: pgn.desktop:8
msgid "Chess Match"
msgstr ""

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save