Warning, /games/kreversi/ChangeLog is written in an unsupported language. File is not indexed.

0001 2006-09-09  Dmitry Suzdalev <dimsuz@gmail.com>
0002         * kreversi: Merged branch kreversi_rewrite into trunk.
0003         KReveri is now rewritten to use QGraphicsView framework
0004 2006-07-03  Inge Wallin  <inge@lysator.liu.se>
0005 
0006         * kreversi.cpp (slotGameOver): Set state back to Ready after the
0007         game is finished, and before showing highscore.
0008 
0009 2006-07-03  Inge Wallin  <inge@lysator.liu.se>
0010 
0011         * Position.cpp (undoMove): Keep track of score when undoing a
0012         move.
0013 
0014         * qreversigameview.h (removeMove): show game status after removing
0015         a move.
0016         
0017 2006-07-02  Inge Wallin  <inge@lysator.liu.se>
0018 
0019         * qreversigameview.cpp (moveMade): Print color Red/Blue in
0020         addition to White/Black into the game view if non-BW color is
0021         chosen in the preferences.
0022 
0023 
0024         ----------------------------------------------------------------
0025         New start of ChangeLogging
0026         ----------------------------------------------------------------
0027 
0028 
0029 2005-04-04  Inge Wallin  <inge@lysator.liu.se>
0030 
0031         Fix bug where hint and 'show legal moves' didn't work together.
0032         * board.cpp (showHint): call drawSmallCircle if showLegalMoves is true.
0033         (drawSmallCircle): new private method
0034         New feature: show last move.
0035         * board.cpp (setShowLastMove): new method
0036         
0037         
0038         Refactoring: make showing of legal moves simpler
0039         * board.cpp (showLegalMoves): Take bool for on/off instead of Movelist
0040         (quitShowLegalMoves): removed
0041         (m_legalMovesShowing): new bool member instead of m_legalMoves
0042         * kreversi.cpp (misc): don't call showLegalMoves were not necessary
0043         Fix a bug with 'show legal moves': old ones were never erased.
0044         * board.cpp (showLegalMoves): new method broken out of updateBoard
0045         
0046         Some code cleaning and documentation
0047         * DESIGN: Made documentation up-to-date
0048         * qreversigame.{h,cpp} (updateBoard,turn): removed signals
0049         * qreversigameview.{cpp} (slotNewGame): renamed into newGame
0050         (updateBoard): new method
0051         (updateMovelist): new method (empty yet)
0052         (misc proxy methods): simplified.
0053 
0054         Move over more view stuff to the gameview.
0055         * kreversi.cpp (showMove): Renamed into handleMove, most of it
0056         moved to the view
0057         (slotStateChange): removed slot
0058         (turn(Color), score, stateChange): removed signals
0059         (setState): Do the job of slotStateChange.
0060         * qreversigameview.cpp (moveMade): do the job of showMove
0061 
0062         More control of the view by signals
0063         * kreversi.cpp (showTurn): now catches sig_newGame and sig_update
0064         from the game
0065         (showTurn): new slot
0066         
0067         Let the game view be updated by signals from the game instead of
0068         by explicit calls.
0069         * kreversi.cpp (misc): Don't call updateboard et al.
0070         (showColor): Removed
0071         * qreversigame.cpp (sig_score): Removed.
0072         * qreversigameview.{h,cpp} (slotNewGame, moveMade): new slots
0073         
0074 2005-04-03  Inge Wallin  <inge@lysator.liu.se>
0075         
0076         Clean up the signals from the game and change some explicit calls
0077         to update the view into signal/slots instead.
0078         * kreversi.{h, cpp} (showScore): removed
0079         * qreversigame.{h,cpp} (sig_newGame, sig_update): new signals
0080         (gameOver): signal renamed into sig_gameOver
0081         * qreversigameview.{h,cpp} (StatusWidget::setText): new method
0082         (createView): New private method.
0083         (updateView): new slot
0084         (updateStatus): new slot
0085         (setHumanColor): new method.
0086         
0087 
0088         Move the status info from the toolbar to the gameview.
0089         * kreversi.{h,cpp} (StatusWidget): Removed class
0090         (createStatusBar): Removed.
0091         (m_krgame): renamed into m_game
0092         * qreversigameview.{h,cpp} (StatusWidget): Added class
0093 
0094         Move the movelist to the gameview.
0095 
0096         Refactor: Create a new class QReversiGameView that will comprise
0097         the entire view.
0098         * Unfortunately the details of the change got lost in some stupid
0099         mistake of mine.
0100         
0101 2005-04-02  Inge Wallin  <inge@lysator.liu.se>
0102 
0103         Fix bug 102890: The result is not put into the higscore if not all
0104         squares are filled at the end of the game
0105         * kreversi.cpp (KReversi): call slotNewGame
0106 
0107 2005-04-01  Inge Wallin  <inge@lysator.liu.se>
0108 
0109         Fix bug 102297: I am playing in KReversi as "expert" but it saves
0110         statistics to the "beginner" records
0111         * kreversi.h (m_lowestStrength): Should be uint instead of bool.
0112 
0113 2005-03-31  Inge Wallin  <inge@lysator.liu.se>
0114 
0115         Implement wish 102813: Should be able to show last move 
0116         * board.{h,cpp} (m_showLastMove, lastMoveShown): new members
0117         (setShowLastMove, showLastMove): new methods
0118         (updateBoard): show last move.
0119         * kreversi.{h,cpp} (showLastMoveAction): new toggleaction
0120         (slotShowLastMove): new slot
0121         * kreversiui.rc (show_last_move): new action
0122         
0123         Some consecutive small, but important changes (latest at the top).
0124         * Position::undoMove(): new method.
0125         * Remove m_lastPosition from class Game.
0126         * Rename makeMove() to doMove() and takeBackMove() to undoMove().
0127         
0128         Big changes in the lower levels of the program.  Mostly
0129         simplifications.
0130         * Move.h, Move.cpp (SimpleMove): renamed from Move
0131         (Move): new class with undo information
0132         * Position.h, Position.cpp: allow Move and SimpleMove in various
0133         places.
0134         * Game.h, Game.cpp: allow Move and SimpleMove in various places
0135 
0136 2005-03-30  Inge Wallin  <inge@lysator.liu.se>
0137 
0138         Continue on wish 82900
0139         * kreversiui.rc (viewToolBar): new toolbar for the views.
0140         * kreversi.{h,cpp} (showLegalMovesAction): new toggleaction
0141         (slotShowLegalMOves): new slot
0142         (misc): check status of toggle action before showing legal moves
0143         NOTE: This change adds a new toolbar.  Before testing you must
0144               make install.
0145 
0146         ----------------------------------------------------------------
0147 
0148         Start on wish 82900: Show possible moves in the current position
0149         * Move.{h,cpp} (Move): new copy constructor
0150         * Move.h (MoveList): new type
0151         * qreversigame.h (position): new method.
0152         * Position.{h,cpp} (generateMoves): new method
0153         * board.{h,cc} (showLegalMoves, quitShowLegalMoves): new methods
0154         (setMarks): Show also legal moves.
0155         * kreversi.cpp: call showLegalMoves() in various places.
0156 
0157         ----------------------------------------------------------------
0158 
0159         Implement wish 82517: show moves of the game in a view
0160         * Game.h (Game): Make members protected.
0161         (asString): new method
0162         * qreversigame.cpp (makeMove): emit new signal sig_move .
0163         * kreversi.{h,cpp} (m_movesView): new member
0164         (showMove): new slot
0165 
0166 2005-03-29  Inge Wallin  <inge@lysator.liu.se>
0167 
0168         Implement wish 82519: Label the board with A-H, 1-8
0169         * board.cpp (OFFSET): new macro
0170         (m_marksShowing): new member
0171         (setMarks): new method
0172         (mousePressEvent): take into account offset.
0173         (updateBoard): draw markings if m_marksShowing is true
0174         (drawOnePiece): take into account offset.
0175         (adjustSize): take into account markings
0176 
0177         Some cleaning
0178         
0179         ----------------------------------------------------------------
0180 
0181         Move KReversiGame out to its own file, and remove it.
0182         * qreversigame.{h,cpp}: new files.
0183         (class): Inherit from Game instead of containing it.
0184         (signal score): Rename into sig_score().
0185         * Makefile.am: include new files.
0186         * board.cpp: Remove class KReversiGame
0187         (all methods): Rename to QReversiGame
0188         
0189         Code cleaning
0190         * Game.{h,cpp} (~Game): new method
0191 
0192 2005-03-28  Inge Wallin  <inge@lysator.liu.se>
0193 
0194         * kreversi.cpp (KReversi): Fix faulty connect().
0195 
0196 
0197 ================================================================
0198                       KDE 3.4 released
0199 ================================================================
0200 
0201 
0202 2005-02-18  Inge Wallin  <ingwa@dhcp-254-182.lkpg.cendio.se>
0203 
0204         * version.h (KREVERSI_VERSION): Bumped version to 1.6
0205 
0206 2004-10-31  Inge Wallin  <inge@lysator.liu.se>
0207 
0208         Better fix for bug 91055.
0209         * kreversi.cpp (slotNewGame): Reimplement dialog using
0210         KMessageBox::warningYesNo().  This solves the FIXME in the header.
0211 
0212 2004-10-15  Inge Wallin  <inge@lysator.liu.se>
0213 
0214         Fix bug 90472: KReversi: When you interrupt the computers move and
0215         then switch sides, the program gets confused
0216         * kreversi.cpp (slotSwitchSides): Don't allow the user to switch
0217         sides if the computers move is interrupted.
0218 
0219 2004-10-11  Inge Wallin  <inge@lysator.liu.se>
0220 
0221         Code cleaning
0222         * kreversi.{h,cpp}: Make all members follow the m_ convention.
0223         Also added some comments.
0224 
0225         ----------------- CVS commit on stuff below --------------------
0226 
0227         Fix bug 91055 - KReversi: If you start a new game when a game is
0228         playing, the user is never asked for confirmation.
0229         * kreversi.cpp (slotNewGame): Show a dialog that asks for
0230         confirmation from the user.
0231 
0232 2004-10-09  Inge Wallin  <inge@lysator.liu.se>
0233 
0234         Fix bug 90203: KReversi: It should be visible when the user
0235         interrupts the computers thinking.
0236         * kreversi.cpp (slotInterrupt): call showTurn().
0237         (showTurn): Show "(interrupted)" if it is.
0238         NOTE: This fix can't be backported easily since there is a string
0239         freeze for BRANCH_3_3.
0240         
0241         ----------------- CVS commit on stuff below --------------------
0242 
0243         Fix a bug that made the score unset at startup.
0244         * kreversi.cpp (KReversi): show the score at startup.
0245 
0246         ----------------- CVS commit on stuff below --------------------
0247 
0248         Finally make KReversi a proper Model/View program (step I.4 and
0249         I.5 from the plan in the TODO file).
0250         * board.{h,cpp} (KReversiGame): new class
0251         * board.{h,cpp} (Board): new name KReversiBoardView
0252         * Lots of minor cleanup
0253         * DESIGN: (class diagram): new info
0254         
0255         ----------------- CVS commit on stuff below --------------------
0256 
0257         Some minor cleanup.
0258 
0259 2004-10-03  Inge Wallin  <inge@lysator.liu.se>
0260 
0261         * DESIGN: New document
0262 
0263         ----------------- CVS commit on stuff below --------------------
0264         
0265         Simplify saving of the game
0266         * Game.{h,cpp} (move(uint)): New method.
0267         * kreversi.cpp (saveGame): Use the new method, and don't call
0268         loadGame to restore the Game object.
0269 
0270 2004-09-29  Inge Wallin  <inge@lysator.liu.se>
0271 
0272         Continue to make KReversi a proper model/view program:
0273         Step I.1 of the plan (see TODO): Fix the class Game
0274         * Game.h (Game): Convert to store moves instead of positions.
0275         * Game.cpp (Game): Code cleanup and convert as above.
0276         * Game.{h,cpp}: Follow naming conventions from the rest of the
0277         program.
0278         * Position.{h,cpp}: Follow naming conventions from the rest of the
0279         program.
0280         * Position.{h,cpp} (Position::operator=): new method.
0281         (Position::makeMove): new method.
0282 
0283         Added myself in the credits in the about window.
0284         (Will add myself to the real authors when we have KGame and
0285         network play ready. :-) )
0286         
0287 2004-09-27  Inge Wallin  <inge@lysator.liu.se>
0288 
0289         Continue to make KReversi a proper model/view program:
0290         * Transfer ownership of Game and Engine to kreversi from Board.
0291         board.h, board.cpp, kreversi.h, kreversi.cpp: lots of changes.
0292 
0293         Some other cleanup:
0294         * SuperEngine.h (interrupt): renamed to interrupted()
0295 
0296 2004-09-26  Inge Wallin  <inge@lysator.liu.se>
0297 
0298         Fix bug 90195: KReversi: Changing the skill level late in a game
0299         doesn't count as cheating:
0300         * board.h (Board::m_lowestStrength): new member
0301         * board.cpp (Board::newGame): set m_lowestStrength
0302         * board.cpp (Board::setStrength): update m_lowestStrength and
0303         update highscore type.
0304 
0305         Fix Bug 90190: KReversi: Switch sides and then Undo gets the
0306         program out of sync.
0307         * board.cpp (doUndo): If it is the computers turn to move after an
0308         undo, call computerMakeMove().
0309         (doUndo): Fix repainting so that it looks nice.
0310 
0311 2004-09-25  Inge Wallin  <inge@lysator.liu.se>
0312 
0313         Transfer the rest of the slots for KActions to kreversi.cpp
0314         * Board::interrupt()  -> KReversi::slotInterrupt()
0315         * Board::doContinue() -> KReversi::slotContinue()
0316         
0317         Rename some slots for clarity
0318         * KReversi::switchSides()  -> KReversi::slotSwitchSides()
0319         * KReversi::showSettings() -> KReversi::slotEditSettings()
0320 
0321         Make a trivial function inline:
0322         * Board::interrupt()
0323 
0324 2004-09-24  Inge Wallin  <inge@lysator.liu.se>
0325 
0326         Start the work to port KReversi to KGame/Kplayer:
0327 
0328         Transfer the slots for most KActions to kreversi.cpp 
0329         * Board::undo() -> KReversi::slotUndo()
0330         (Board::doUndo()): Do the real work of undoing.
0331         * Board->hint() -> KReversi::slotHint()
0332         (Board::showHint): do the actual work of showing the hint.
0333 
0334         Rename some slots for clarity
0335         * KReversi::newGame  -> KReversi::slotNewGame
0336         * KReversi::openGame -> KReversi::slotOpenGame
0337         * KReversi::save     -> KReversi::slotSave
0338         
0339         Make some trivial functions inline:
0340         * Board::whoseTurn()
0341         * Board::moveNumber()
0342         * Board::score(Color)
0343         * Board::interrupted()
0344         * Board::strength()
0345 
0346 2004-09-23 Anne-Marie Mahfouf <annemarie.mahfouf@free.fr>
0347 
0348         Cleaned some previously left lines of code in board.cpp  
0349         Change CustomAdditions=false back in prefs.kcfg to fix compilation
0350         Tested Inges fix and found it works well.
0351         
0352 2004-09-22  Inge Wallin  <inge@lysator.liu.se>
0353 
0354         Fix bug 89829: "KReversi: When you save a game, the color for
0355         Human and Computer is not saved" again.  See the discussion on the
0356         KDE bugzilla for details
0357         (http://bugs.kde.org/show_bug.cgi?id=89829).
0358         * board.cpp (Board::saveGame): Save m_humanColor as HumanColor.  
0359         * Remove saving of the side to move since this is implicit
0360         anyway.
0361         * (Board::loadGame): Fix loading of m_humanColor and
0362         m_competitiveGame
0363         * Fix emit of signal turn, and the condition to call
0364         computerMakeMove().
0365         * prefs_addons.h: Removed
0366         
0367         
0368 2004-09-18  Anne-Marie Mahfouf  (ChangeLog entry by Inge Wallin)
0369 
0370         Fix bug 89829.  (See above, though)
0371         * prefs_addons.h: New file 
0372         * board.cpp (saveGame): Some changes
0373         
0374 2004-09-18  Inge Wallin  <inge@lysator.liu.se>
0375 
0376         Some cleaning: remove unused members, add m_ to members and some
0377         comments.
0378         * Engine.h (Engine::lastYield): removed
0379         * Board.h (Board::nopaint): removed
0380         * kreversi.{h,cpp} (KReversi::board): renamed into m_board.
0381 
0382 2004-09-17  Inge Wallin  <inge@lysator.liu.se>
0383 
0384         Some further cleanup:
0385         * board.{h,cpp} (game, engine, human): renamed into m_game,
0386         m_engine and m_humanColor.
0387         
0388 2004-09-16  Inge Wallin  <inge@lysator.liu.se>
0389 
0390         Support Casual and Competitive play:
0391         * SuperEngine.cpp (SuperEngine::computeMove()): new parameter
0392         'competitive'
0393         * Engine.cpp (Engine::computeMove()): new parameter 'competitive'
0394         * board.cpp (m_competitiveGame): new member
0395         (saveGame, loadGame): Save competitive in config file.
0396         * kreversi.cpp (slotGameEnded): Only store result in highscore
0397         file if the game was competitive all the time.
0398         * kreversi.kcfg (CompetitiveGameChoice): new setting
0399         * settings.ui: redesigned
0400         
0401 
0402 2004-08-17  Inge Wallin  <inge@lysator.liu.se>
0403 
0404         Finish the big code cleanup:
0405         * board.h, board.cpp: cleaned up
0406         * highscores.h, highscores.cpp,
0407         * kzoommainwindow.h, kzoommainwindow.cpp:
0408         Converted to same coding style as rest of kreversi.
0409 
0410 
0411 2004-08-16  Inge Wallin  <inge@lysator.liu.se>
0412 
0413         Continue the big code cleanup:
0414         * Engine.h, Engine.cpp
0415         * kreversi.h kreversi.cpp
0416 
0417 
0418 2004-08-15  Inge Wallin  <inge@lysator.liu.se>
0419 
0420         Continue the big code cleanup:
0421         * SuperEngine.h, SuperEngine.cpp
0422         * Game.h Game.cpp
0423 
0424 2004-08-14  Inge Wallin  <inge@lysator.liu.se>
0425 
0426         Start of the big code cleanup:
0427         * Move.h, Move.cpp
0428         * Score.h, Score.cpp
0429         * main.cpp
0430         * Position.h, Position.cpp
0431 
0432         Step 2 in the plan to use KGame from libkdegames:
0433         * Code cleaning: Add some comments, reduce complexity, improve
0434         indentation 
0435         * Add m_to_move to class Position.
0436 
0437 
0438         Step 1 in the plan to use KGame from libkdegames:
0439         * Code cleaning: Change "enum Player" into "enum Color", since that
0440         is really what it describes.
0441 
0442 2004-06-29 (1.5) Nicolas Hadacek <hadacek@kde.org>
0443         * use KZoomMainWindow
0444 
0445 2004-05-29 (1.4) Nicolas Hadacek <hadacek@kde.org>
0446         * fix statusbar + cleanup code
0447         * use notify framework for sounds
0448 
0449 1999-06-20 Mario Weilguni <mweilguni@kde.org>
0450         * fixed bugs with those damned KStdDirs
0451         * removed the private wallpapers and use the KDE ones instead
0452         * use kimgio
0453         * fixed locating toolbar icons
0454         * compiles now with --enable-final
0455 
0456 1999-06-16 Mario Weilguni <mweilguni@kde.org>
0457         * adapted to the upcoming KDE-2
0458 
0459 1999-02-01 Mario Weilguni <mweilguni@kde.org>
0460         * fixed a warning (egcs)
0461 
0462 1.0
0463         * I finally decided that it´s stable enough. This is the final
0464         version (if no further bugs are detected and I do not have a
0465         good idea what to improve)
0466 
0467         * ChangeLog reversed
0468         
0469 0.6.6
0470     * [Robert Williams]  Changed Reversi.kdelnk to kreversi.kdelnk
0471     * [Robert Williams]  Add -caption "%c" to kreversi.kdelnk
0472     * [Robert Williams]  Added kapp->getCaption()
0473     * [Robert Williams]  getHelpMenu(true, 0) -> Uses own About dialog
0474 
0475 0.6.5   Support for non GNUC++ compilers.
0476         
0477 0.6.4   fixed that get-hit-and-then-doubleclick bug
0478 
0479         fixed a bug that caused the computer to switch sides if no
0480         computer move is possible instead of getting another human move
0481 
0482 0.6.3   sound fix: when the animation is finished, the correct piece gets
0483         redrawn before doing a sound-sync (how could I ever believe 0.6.2
0484         would be the last change :-)
0485 
0486 0.6.2   animation fixed (hope this will be the last change)
0487 
0488 0.6.1   fixed that newly introduced highscore bug
0489         computer continues now if a game was saved while thinking
0490 
0491 0.6:    better integration into new FSSTND
0492         fixes for new kdecore
0493         layout management for all dialogs
0494         mini-icon and icon
0495         locale-strings changed - partial translation required for
0496         other languages than english and german
0497         removed both the kfixedtopwidget and ktablistbox
0498         drawing a border around the reversi board
0499         session-management - what an overkill for kreversi :-))
0500         you can save (and load) exactly ONE game
0501 
0502 
0503 0.5: added klocale to support translation
0504         added german translation
0505         fixed a few bugs
0506         tried to remove absolute widget placing/sizing
0507         removed the date field from the HOF
0508         grayscale support
0509         fixed those CPU busy bug
0510         removed the -finline-functions optimize flag (not portable)
0511         ported to new KDE file system standards (well, mostly)
0512         fixed segfaulting on exit
0513 
0514 0.4: interims release - no changelog
0515 
0516 0.3: Sound support (using libmediatool)
0517      When switching sides, the Quit -> the computer made on move. FIXED
0518      Fixed a few typos
0519      Cursor changes when thinking
0520         
0521 0.2.1: times(NULL) does not work with FreeBSD (fixed)
0522        fixed a bug (reported by Stephan Kulow) where pixmaps of pieces
0523        are not initialized properly (could't reproduce the bug with
0524        my system)
0525        New "About" dialog showing all (well, most) of the contributors
0526        All xpm's have now 8 bits per color component instead of 16.
0527        16 bits seems to confuse the XPM loader of Qt.       
0528 
0529 0.2:   better pieces
0530        animations
0531        fixed a small bug: when someone made it in the hall of fame,
0532        he was'nt notified of this
0533        some improvements in the Hall Of Fame
0534 
0535 0.1.2: background color selectable via dialog
0536        background pixmaps implemented, selectable via menu
0537        background pixmaps are scaled to fit size
0538        pieces are drawn at runtime instead of pixmaps
0539        some accelerators added
0540        toolbar buttons for help and hint added
0541 
0542 0.1.1: now pixmaps are installed
0543        a kdelnk file is installed
0544        version numbering changed
0545 
0546 0.1 : First release