• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

data/H03-May-2022-893814

dep/scid/code/src/H03-May-2022-17,49611,809

i18n/H27-Feb-2021-62,61062,575

src/H03-May-2022-88,04570,279

unix/H27-Feb-2021-2019

COPYINGH A D27-Feb-202117.6 KiB341281

ChangeLogH A D27-Feb-202134 KiB747670

DoxyfileH A D27-Feb-202110.1 KiB282280

INSTALLH A D27-Feb-20211,023 3827

README.developersH A D27-Feb-20211.5 KiB4331

README.mdH A D27-Feb-2021175 63

TODOH A D27-Feb-2021748 3630

chessx.proH A D03-May-202217 KiB629591

resources.qrcH A D27-Feb-202114.4 KiB194193

translations.qrcH A D27-Feb-2021123 75

README.developers

1If you start working with code, please read though the following rules:
2
3
41. Use Qt naming scheme. You may have a look at Qt API to learn it.
5Here are some examples:
6
7* classes: BoardView, Filter
8* classes with acronyms: PgnDatabase
9* class variables: m_list, m_darkSquareColor
10* reading class variable: QString title() const
11* setting class variable: void setTitle(const QString& s) const
12* checks: isReadOnly()
13* functions with acronyms: moveToSan(), fromSan()
14
152. Use Doxygen format to comment your code
16
17* start class documentation with Doxygen header
18  /** @ingroup Database
19    The Board class represents a chess position.
20    Pieces are kept directly on the board which is internally represented as simple array[0..63].
21    You can easily and quickly make and undo moves, although undoing moves requires keeping track
22    of captured pieces.
23  */
24  @ingroup should contain Database (for non-GUI classes) or GUI
25  Next sentence should have 'The XXX class represents' or '... is' syntax
26
27* document each function
28  /** Sets widget color. */
29  void setColor(const QColor& color);
30  /** @return widget color. */
31  QColor color() const;
32
33* rebuild documentation with 'doxygen Doxyfile' and verify that your class is documented correctly.
34
353. Format your code with TABs. We advocate using astyle
36(http://astyle.sourceforge.net) to indent your code. To use astyle, put
37
38suffix=none style=linux mode=c force-indent=tab=4 one-line=keep-blocks unpad=paren pad=oper
39
40in ~/.astylerc. Then you can indent your code using:
41astyle <file1> <file2> ...
42
43

README.md

1# ChessX
2
3![CI](https://github.com/erysaj/chessx/workflows/CI/badge.svg?branch=ci-sandbox)
4
5A free and open source chess database application for Linux, Mac OS X and Windows.
6