1. 29 Apr, 2017 2 commits
  2. 27 Apr, 2017 1 commit
    • Luigi Toscano's avatar
      Initial cleanup of the debug statements (qDebug, dbk, dbe) · 842a1e20
      Luigi Toscano authored
      Summary:
      There was a combination of qDebug, kDebug and custom macros
      which redirected to qDebug, standard error or standard output.
      
      This is the first attempt to unify all of the above with the usage
      of Qt categorized logging. Fixed in the patch:
      - direct usage of qDebug;
      - kDebug though the dbk macro;
      - standard error through the dbe macro.
      The levels for dbk/dbe messages have been aligned with the level
      of the respective macros.
      Few standard output/dbo macros have been cleaned as well, but many
      are still used. At least their usage is confined to one file only
      (src/generator/sudokuboard.cpp). Some of those messages produces
      formatted output, so they may require overloads of the << operator,
      if they need to be kept.
      
      Test Plan: Compiles.
      
      Reviewers: ouwerkerk, stikonas, #kde_games
      
      Reviewed By: stikonas
      
      Subscribers: #kde_games
      
      Differential Revision: https://phabricator.kde.org/D5626
      842a1e20
  3. 21 Mar, 2017 2 commits
  4. 16 Mar, 2017 1 commit
    • Luigi Toscano's avatar
      Port KShortcut to QKeySequence/KActionCollection · fa044d7a
      Luigi Toscano authored
      - use directly KActionCollection (as strongly suggested by the log
        messages;
      - increase back the upper bound of the loop which defines the keys
        to 32, as in the current master/kdelibs4: I lost it in a merge;
      - use the same indentation style as the rest of the code;
      - a bit more brackets when required.
      fa044d7a
  5. 12 Mar, 2017 1 commit
  6. 17 Jul, 2015 1 commit
  7. 16 Jul, 2015 1 commit
  8. 12 Jul, 2015 3 commits
  9. 27 Jun, 2015 1 commit
    • Ian Wadham's avatar
      Stabilise the 2-D view and rendering of cages and highlights, for now. · 3497d744
      Ian Wadham authored
      Sudoku and Roxdoku puzzles are being drawn in the usual way. Mathdoku
      and Killer Sudoku puzzles have smaller symbols and markers, to allow
      space for the text of a cage-label (value and operator). There are some
      TODOs, mainly to show block boundaries in Killer Sudoku somehow.
      3497d744
  10. 23 Jun, 2015 1 commit
  11. 21 Jan, 2015 1 commit
  12. 10 Jan, 2015 1 commit
  13. 03 Jan, 2015 4 commits
  14. 03 Nov, 2012 2 commits
  15. 30 Oct, 2012 1 commit
  16. 29 Oct, 2012 1 commit
  17. 01 May, 2012 1 commit
  18. 27 Mar, 2012 1 commit
  19. 20 Mar, 2012 1 commit
  20. 18 Mar, 2012 1 commit
    • Ian Wadham's avatar
      Support puzzles that contain more than one large NxNxN cube. · f76f2883
      Ian Wadham authored
      Change the colors and sizes used for highlighted, selected and unhighlighted cells.
      
      Rewrite the highlighting and selection mechanism so as to highlight only the large cube or cubes that contain the selected cell, shrinking and darkening the cubes that are outside that region.
      
      Avoid flickering of the picture as the cursor moves around.
      
      Use the SKGraph class to provide all puzzle-layout data. Move internal data items from public to private. Use m_ for data names. Tidy up some of the indentation and parenthesising.
      
      svn path=/trunk/KDE/kdegames/ksudoku/; revision=1286150
      f76f2883
  21. 16 Mar, 2012 1 commit
  22. 08 Mar, 2012 1 commit
    • Ian Wadham's avatar
      Improve the highlighting in 2-D puzzles, at least in the Egyptian theme, and... · c532a866
      Ian Wadham authored
      Improve the highlighting in 2-D puzzles, at least in the Egyptian theme, and add highlighting to the X-shape in XSudoku puzzles. Use fewer colors and better-defined overlaps, thus making irregularly shaped groups in jigsaw-type puzzles easier to see and use and making extended rows and columns in Samurai-type puzzles more obvious.
      
      svn path=/trunk/KDE/kdegames/ksudoku/; revision=1284158
      c532a866
  23. 23 Feb, 2012 1 commit
  24. 01 Feb, 2012 1 commit
  25. 21 Jan, 2012 1 commit
    • Ian Wadham's avatar
      Integrate the old KSudoku and the new generator/solver more closely. · ec4d81a9
      Ian Wadham authored
      Both now use the same data structures for puzzle and solution contents.  The SKGraph class is now the central data-structure used by views, generator, solver, save file, load file and manual puzzle entry.  It represents the type, size, shape and rules of a Sudoku puzzle, either in 2D or 3D, and has been streamlined and simplified. The PlainSudokuBoard, RoxdokuBoard and SamuraiBoard classes that inherited SudokuBoard (the generator/solver) have been deleted. SudokuBoard now works entirely by using SKGraph.
      
      svn path=/trunk/KDE/kdegames/ksudoku/; revision=1274982
      ec4d81a9
  26. 12 Dec, 2011 1 commit
  27. 03 Jul, 2010 2 commits
  28. 29 Apr, 2010 1 commit
  29. 27 Apr, 2010 1 commit
    • Johannes Bergmeier's avatar
      - Removed class SKBase · 68700cd0
      Johannes Bergmeier authored
      - Moved fields from SKBase to SKPuzzle
      - Removed files skbase.* and sudoku_solver.h
      
      svn path=/trunk/KDE/kdegames/ksudoku/; revision=1119610
      68700cd0
  30. 25 Nov, 2009 1 commit
    • Johannes Bergmeier's avatar
      - Upgraded KSudoku's core to a new solver engine · c9fd0446
      Johannes Bergmeier authored
      - NOTE This engine seams to have some performance problems
      - NOTE This is a huge change developed in a local git repository
      == Important Changes according to git log ==
      - Changed generator to to select values evenly from the possible range
      - Replaced old generator with a simpler new one that tries to insert values in an empty game until it has exactly one solution
      - Almost completely removed everything left from the old solver
      - Added converter for problems to and from puzzles
      - Changed SKSolver::remove_numbers() to use the new solver and to be more readable
      - SKSolver now always require a valid SKGraph-instance in the constructor
      - Removed from SKSolver all duplicates of values from SKGraph
      - Removed dependeny to SKBase from SKGraph
      - Removed methods from SKSolver that were not longer used (containing about 500 lines of code/comments)
      - Removed not longer used class Solver, SolverState, PuzzleFactory and GroupLookup
      - Moved ruleset initialization into the graphs
      - Removed code for long outdated support of block/clique-borders
      - Removed fragments from long outdated support for numbers and letters
      - Small improvement in View2d to prevent crashes by having the upper left cell empty
      - Added support for new solver to KSudoku itself
      
      svn path=/trunk/KDE/kdegames/ksudoku/; revision=1054362
      c9fd0446
  31. 31 Jul, 2009 1 commit