diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9ef07ff1..00000000 --- a/.travis.yml +++ /dev/null @@ -1,186 +0,0 @@ -language: generic - -env: - global: - - BUILD_DEBUG="mkdir Debug && cd Debug && cmake .. -DCMAKE_CXX_FLAGS=\"-g -Wall -Wextra -Werror -pedantic\" -DSPELLCHKVALIDATE=ON && make VERBOSE=1" - - BUILD_RELEASE="mkdir Release && cd Release && cmake .. && make VERBOSE=1" - - BUILD_FULL="mkdir Full && cd Full && cmake .. -DGTEST=ON && make VERBOSE=1 && gtest/scid_tests" - - -matrix: - include: - - os: osx - script: - - cmake --version - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_DEBUG} - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_RELEASE} && size scid - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_FULL} - - cd $TRAVIS_BUILD_DIR && ./configure && make && size tkscid - - - os: linux - env: CXX=g++-7 CC=gcc-7 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-7 - script: - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_DEBUG} - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_RELEASE} && size scid - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_FULL} - - cd $TRAVIS_BUILD_DIR && ./configure COMPILE="${CXX}" && make && size tkscid - - - os: linux - env: CXX=g++-9 CC=gcc-9 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-9 - script: - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_DEBUG} - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_RELEASE} && size scid - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_FULL} - - cd $TRAVIS_BUILD_DIR && ./configure COMPILE="${CXX}" && make && size tkscid - - - os: linux - env: CXX=clang++-9 CC=clang-9 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - - sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main' - key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' - packages: - - clang-9 - - clang-tidy-9 - - libstdc++-9-dev - - llvm-9-dev - - libclang-common-9-dev - script: - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_DEBUG} - - run-clang-tidy-9.py -header-filter=.* -checks=performance-*,clang-*,-clang-analyzer-security.insecureAPI.strcpy ../src 2> /dev/null - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_RELEASE} && size scid - - cd $TRAVIS_BUILD_DIR && eval ${BUILD_FULL} - - cd $TRAVIS_BUILD_DIR && ./configure COMPILE="${CXX}" && make && size tkscid - - - os: linux - env: Clang_Format=_ - addons: - apt: - sources: - - ubuntu-toolchain-r-test - - sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main' - key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' - packages: - - clang-format-9 - script: - - clang-format-9 -version - - clang-format-9 -i src/codec* - - clang-format-9 -i src/movegen* - - clang-format-9 -i src/pgn* - - clang-format-9 -i src/bytebuf.h - - clang-format-9 -i src/gameview.h - - clang-format-9 -i src/namebase.h - - | - if [[ -n $(git diff) ]]; then - git diff - exit -1 - fi - - - os: linux - env: Count_Lines_Of_Code=_ - addons: - apt: - packages: - - cloc - script: - - cloc src --exclude-dir=egtb,mtbgen,polyglot - - cloc tcl --exclude-dir=lang - - - os: linux - sudo: true - env: GTEST_ADDRESS=_ CXX=clang++-9 CC=clang-9 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - - sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main' - key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' - packages: - - clang-9 - - libstdc++-9-dev - - llvm-9-dev - script: - - mkdir Test && cd Test - - cmake .. -DGTEST=ON -DCMAKE_CXX_FLAGS="-g -O3 -Wall -Wextra -Werror -fsanitize=address,undefined,integer -Wno-missing-field-initializers" - - make VERBOSE=1 scid_tests && gtest/scid_tests - - - os: linux - env: GTEST_THREAD=_ CXX=g++-9 CC=gcc-9 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-9 - script: - - mkdir Test && cd Test - - cmake .. -DGTEST=ON -DCMAKE_CXX_FLAGS="-g -O3 -Wall -Wextra -Werror -pedantic -fsanitize=thread,undefined -fuse-ld=gold" - - make VERBOSE=1 scid_tests && gtest/scid_tests - - - os: linux - env: SINGLETHREAD=_ CXX=g++-9 CC=gcc-9 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-9 - script: - - mkdir Debug && cd Debug && cmake .. -DCMAKE_CXX_FLAGS="-g -Wall -Wextra -Werror -pedantic" -DSPELLCHKVALIDATE=ON -DSCID_MULTITHREADING=OFF - - make VERBOSE=1 - - cd $TRAVIS_BUILD_DIR && mkdir Full && cd Full && cmake .. -DGTEST=ON -DSCID_MULTITHREADING=OFF && make VERBOSE=1 && gtest/scid_tests - - cd $TRAVIS_BUILD_DIR && mkdir Release && cd Release && cmake .. -DSCID_MULTITHREADING=OFF && make VERBOSE=1 && size scid - - cd $TRAVIS_BUILD_DIR && ./configure COMPILE="${CXX}" THREADS="-DMULTITHREADING_OFF" && make && size tkscid - - - os: linux - env: CODECOV=_ CXX=g++-7 CC=gcc-7 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-7 - - lcov - script: - - mkdir Test && cd Test - - cmake .. -DGTEST=ON -DCMAKE_CXX_FLAGS="-g --coverage -Wall -Wextra -Werror -pedantic" - - make VERBOSE=1 scid_tests && gtest/scid_tests - - lcov -c -b "../src" -d gtest -no-external -o coverage.info - - genhtml coverage.info -o gcov - - lcov --list coverage.info - after_success: - - bash <(curl -s https://codecov.io/bash) - - - os: linux - env: - - secure: "KxZuUP0mMxidAABajjTn2/Z/sS2M2mDJuMwFEjSKfem+f0naZnKebVqV4N/FUkjUjDCWq9ZesEwxPWj22ipVmbvoWHSv8hYdFoQyr+YStvxNWoqYxIbcIF5s6QQdjsYzC9K5ytZzkT0PEXUwkThIMH6006dE+QkE+xTCKnykDTNV8p8pUzZMYyUU1mBLmRXNHZHkBAlc6basw8z5KQUPALbmg7b3+++6cu4bwtCfkpPv/Bl8aUy/bPcrJC+h6RgMnQ+Y+bVIJ0x47iVBp4mTHmS9Y7kmoDfWdTGxyS7Bou0ee5zikM8zmvajhQKgpn+tbrcV7d8ejhZg3YqBOz8poQ9AVBQmG1ub8Ct1uii2hIXmhpFvJXMbTr5AFSz65DsObSnCbK8Wf/+AcvW9J2aSLRF76xHtVXccOER9zBc7f37j+iyPFLe2IHs6g4Vawv568LhVp36Mj/7dayAwnNL5+wC49MD2VHuiJd0Mj/rWbEsSwl85hEtuA/Ikmx80U3N0K2dgvuakqIQnv6rhwD6FD2+LBm29U9oggu2rMBPV7qahDYE70MHkoYYHzXOYZqTz8UbZ3gkNxHxgAffrvNCXnwx1IX8DBoveIJZa6z1JCpS9vJtRHSGs4IiWrntlZUs+/1Cu5Jr3W6IWFO68da1mWxKhcyxD6J+jBRzQS7k2YZY=" - before_install: - - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- - addons: - coverity_scan: - project: - name: "benini/scid" - description: "SCID chess" - notification_email: fulvioscid@users.sourceforge.net - build_command_prepend: "cmake . -DCMAKE_CXX_COMPILER=g++-7 && cov-configure --comptype gcc --compiler gcc-7 --template" - build_command: "make scid" - branch_pattern: github - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-7 diff --git a/TODO b/TODO deleted file mode 100644 index e1cb0346..00000000 --- a/TODO +++ /dev/null @@ -1,147 +0,0 @@ - =========================================================== -| | -| PENDING - WORK IN PROGRESS | -| | - =========================================================== - -- Game info area: show transcription of custom flags. - ----------------------------------------------------------------------- - -1) turn on the "Show Suggested Move" option. -2) create a new game -3) start an engine -4) click on a white pawn with the mouse and move it fast around the - ----------------------------------------------------------------------- - -So, truncating games by removing leading moves has at least two bugs: -1. NAGs are removed. -2. Optional tags (WhiteElo, BlackElo) are removed. - ----------------------------------------------------------------------- - --- use srand() but should already use system clock? - - -Is there a way to set the seed for the random number generator used by Scid? -Now it appears that each time Scid is restarted, the training mode (togglable -from the tree window) plays the same moves as the previous time when I'm using -the same database. - -* In docked mode board rotation breaks piece animation for autoplay -* Check for bases/books dir not upon startup but once the related - function is called for the first time. -* Opening Trainer picks up type of DB only after restart of Scid(?) -* Blunder check in tactical game should be for the players moves not - for phalanx moves. - ----------------------------------------------------------------------- - =========================================================== -| | -| BUGS | -| | - =========================================================== - - =========================================================== -| | -| FEATURE REQUESTS | -| | - =========================================================== - -- I would like the "games" window to display the continuation from the -current position, rather than the opening from move one (something I -find rather useless). Is there a way to effect this? If not, being -something of a programmer, I might turn my hand to making it possible. -(Mark Mross) - - -- when engine analysis is in locked mode so that the engine remains analyzing a certain position while the board is changed, the "V" buttons are disabled and that makes it impossible to ever have results of a locked-down engine analysis inserted into the game score - -- Switch sides button for game play instead of automatically switching - of sides by board rotation. (komyt@yahoo.com) - -- Given a list of names create the proper set of empty games to set up - a tournament. (Suggested by Michael Blake) - -- Notify games with annotations in "Best game", show annotator there. - Consider sort order: e.g. annotated games on top? - -- Merge games including NAGs / variants(?) - -- Allow to save the list from the tournament finder. Drop restriction - to 1000 games for this save. - -- In spell checker: give more information in case of ambiguous names. - E.g. first line of SSP-file or %Bio lines will help to sort things - out. - -- Spell check, ambiguous names: In case of multiple hits, drop limit - of the first 10, more should be allowed here. - -- Add more complete header to browse game. - -- improve commentary arrows: thicker, starting form the real middle of - the field, ending at the middle of the field, get a thin black - frame. - -- Add a Game training ala Fritz' "Friend mode" - -- use tablelist package to revamp Game List window - -- Start game analysis at the end of the game to fill hash tables - -- Engines tournament (with specific opening line ?) - -- book generation from Scid (re-use of Polyglot code) - -- Export Tournament grid in XML - -- Comment Editor: make toggle for the tiny board (Esteban Cervetto) - ---- Joram op den Kelder ----------------------------------------------- - -- When merging game A into game B, A is added as a new variation. Is this a conscious choice? It seems illogical to me. For example: if game B is analysis of an opening variation, it's not possible to add a newly played game to a non-main variation of the analysis. Workaround: manually change the appropriate variation into the main line, merge games, and change back to the original main line. - -- Is is possible to include variations when merging? Practical examples: adding an analysed game (with relevant notes) to a game which consists of opening analysis; adding an pgn-update of an existing opening book to the original analysis; merge multiple analysis of the same position (different pupils of the same teacher, shared analysis among friends). - -- Is it possible to merge multiple games at ones? - -====================================================================== -From: Michal Rudolf -Subject: Re: Scid bugs - -Categories: -bug: bug to be fixed -cmd: command to be added -opt: option to be added -fea: internal feature to be added -ide: larger feature, idea or new concept -usa: improve usability, clean interface - -GAME EDITOR -* fea: automatically delete empty comments -* fea: merge game into variations too - -GAME LIST -* fea: highlight current game in game list by default -* fea: mark that there are no matches instead of showing 1st game - -PGN WINDOW -* cmd: print game -* ide: better PGN display (figurine font?) -* opt: strip spaces after/before brackets for variations in PGN window -SEARCH MATERIAL -* fea: find symmetrical patterns (pawns a,b,c = f,g,h) -* fea: find certain moves, specially captures (f. e. BxPe6 or RxNc3) -* fea: 'any white(black) piece' in patterns - -PLAYER INFO -* fea: filter games selectable in Player info - -PLAYER BROWSER -* cmd: popup menu to load All/White/Black games of a player -* opt: incrementally match player name - -SPELLCHECKER -* fea: don't match partial name for surname diff --git a/shell_scid b/shell_scid deleted file mode 100644 index 0a412292..00000000 --- a/shell_scid +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# invoke the scid executable -DIR="$(dirname "$0")" -exec "$DIR/../scid/scid" "$@"