Commit Graph

789 Commits

Author SHA1 Message Date
lazarus-bart
dcbe588b51 Sudoku: refactor unit SudokuType: more verbose names of types, methods and parameters. No functional changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7238 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-05 11:41:05 +00:00
lazarus-bart
2b77fd9f3e Sudoku: refactor unit SudokuType: calculated wethere sudoku is solved in one step.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7237 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-05 11:18:48 +00:00
lazarus-bart
9c5bbcad39 Sudoku: refactor unit SudokuType. Less hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7236 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-05 11:01:07 +00:00
lazarus-bart
b922ed417d Sudoku: SaveSudokuToFile: don't write trailing empty line.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7235 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-05 10:41:57 +00:00
lazarus-bart
f81cdec6d9 Sudoku: refine sulution of r7233.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7234 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 19:33:39 +00:00
lazarus-bart
fec72dffcc Sudoku: center text in cells.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7233 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 19:29:42 +00:00
lazarus-bart
a8d9978525 Sudoku: implement loading and saving sudoku files (as text).
Include sample.sudoku file that can be loaded and solved.


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7232 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 19:22:40 +00:00
lazarus-bart
8dbd92b634 Sudoku: have separate Edit and Clean buttons (Fill also cleared the grid).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7231 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 17:47:07 +00:00
lazarus-bart
c9719c0bb9 Sudoku: remove SGrid's OnSetEditText event, it's not necessary. TheValues is fully set wehn querying a solution.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7230 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 17:41:42 +00:00
lazarus-bart
7f3b147fc1 Sudoku: make TSudoku internally work with integers, not characters.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7229 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 17:39:25 +00:00
lazarus-bart
e1d784ff8a Sudoku: restrict user input in grid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7228 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 17:19:07 +00:00
lazarus-bart
20e629be7a Sudoku: rename variables, make form a dialog (not resizable), set form caption.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7227 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 16:41:52 +00:00
lazarus-bart
a95b456fb5 Sudoku: adjust width/height of grid, and width of mainform @runtime.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7226 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 16:37:48 +00:00
lazarus-bart
b974c2145b Sudoku: add comment about original import in lazarus-ccr, so this can more easily be foud back for those interested.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7225 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 15:24:53 +00:00
lazarus-bart
2070a8bf06 Sudoku: give better message if sudoku isn't completely solved.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7224 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 15:20:09 +00:00
lazarus-bart
268c0c1146 Sudoku: suppress hint.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7223 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 15:12:28 +00:00
lazarus-bart
36975bdaef Sudoku: make grid en cell sizes larger, add gridlines, remove unised label.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7222 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 15:09:59 +00:00
lazarus-bart
20fbfe933f Sudoku: use OnPrepareCanvas instead of OnDrawCell. Adjust background-color, so text is readable.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7221 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 15:02:45 +00:00
lazarus-bart
c95ae4a197 Sudoku: don;t save session info in .lpi (it pollutes the svn log).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7220 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 14:56:38 +00:00
lazarus-bart
ee602a31cd Sudoku: use fpc-type resource instead of old Lazarus .lrs style resource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7219 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 14:55:32 +00:00
lazarus-bart
7b4b0cb513 Sudoku: fix errors during loading the project and fix complilation errors, fix project paths.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7218 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 14:49:55 +00:00
lazarus-bart
e154c5a902 Add Sudoku solver application. Initial import (original code by Matthijs Willemstein).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7217 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 14:39:11 +00:00
wp_xxyyzz
8cf5275000 spready: SYLK reader supports numberformat, shaded background and cell border.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7094 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-08-01 09:55:03 +00:00
wp_xxyyzz
69ce81c937 spready: Fix records missing X and Y fields when reading SYLK files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7093 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-31 22:43:49 +00:00
wp_xxyyzz
83d472855c spready: Fix reading formulas for SYLK format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7092 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-31 21:29:07 +00:00
wp_xxyyzz
a67900a950 spready: Update to recent changes in fpspreadsheet, primarily show/hide columns/rows, add/remove page breaks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7081 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-27 20:45:22 +00:00
wp_xxyyzz
42ad68b2bc spready: Add support for new worksheet option soAutoDetectCellType
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7060 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-20 10:23:34 +00:00
wp_xxyyzz
76311a1853 laz_icons: add versions of the icons in (laz)/images/windows containing an additional 256x256 image.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7020 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-01 17:34:26 +00:00
wp_xxyyzz
44d2b2a31f LazImageEditor: Fix compilation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7019 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-06-29 20:10:29 +00:00
wp_xxyyzz
b7442222f8 laz_icons: Add the "paw" icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7018 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-06-26 14:50:15 +00:00
wp_xxyyzz
eeefc3acf9 laz_icons: Initial commit of Lazarus icons (32-bit/64-bit overlays, various colors). Useful to distinguish several Laz versions on the desktop.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7016 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-06-24 13:20:38 +00:00
wp_xxyyzz
f79ae2fd57 spready: Fix compilation with Laz 1.8.4
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6824 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-02 10:41:10 +00:00
gbamber
c83fc920f3 V0.0.2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6704 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-11-01 09:37:19 +00:00
gbamber
ebd3abea84 Compiled with source
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6702 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-10-31 08:31:07 +00:00
gbamber
a12042b8e6 Initial commit.
Fakecmd is a windows cmd.exe replacement intended to frustrate tech support scammers.  See readme.txt or use the command 'help' within cmd.exe for more details.
Compiles in Laz 2.x target=win32.


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6701 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-10-31 08:26:11 +00:00
wp_xxyyzz
a143c72544 gobject-introspection: Fix compilation on Windows (issue #34219, patch by bartoc)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6630 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-09-04 21:15:58 +00:00
wp_xxyyzz
0ef3a22138 spready: Adapt to recent Align changes of child controls in TToolbar
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6628 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-30 15:40:32 +00:00
wp_xxyyzz
e800b44430 spready: Add dialog for zooming
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6596 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-11 13:44:01 +00:00
wp_xxyyzz
823b51e2b5 spready: Add commands to show grid lines and grid headers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6594 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-11 10:55:08 +00:00
wp_xxyyzz
c3a67dc576 spready: Add option for automatic row height calculation after file is loaded.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6593 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-11 10:39:34 +00:00
wp_xxyyzz
cdd13309aa spready: Add menu commands for zooming current worksheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6591 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-11 08:25:01 +00:00
wp_xxyyzz
6ec13372aa spready: drag and drop of files from Explorer (patch by Soner).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6583 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-10 11:29:29 +00:00
wp_xxyyzz
fc35dffc82 spready: Adapt to changes in fpspreadsheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6582 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-10 11:25:16 +00:00
wp_xxyyzz
712522fcce spready: Add tool button to clear format. Update to fpspreadsheet r6565.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6566 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-24 22:04:05 +00:00
wp_xxyyzz
e5cb6ff0f7 biffexplorer: Fix details of SELECTION record.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6491 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-12 20:40:21 +00:00
wp_xxyyzz
dad93e638e spready: Update to recent changes in fpspreadsheet formula engine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6490 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-12 20:06:46 +00:00
wp_xxyyzz
e797ae0afd biffexplorer: Show details for cell ranges in 3d references.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6404 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-10 22:57:13 +00:00
wp_xxyyzz
199e82661f biffexplorer: Show 3D cell addresses.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6397 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-08 21:35:12 +00:00
jesusr
cd5e168a20 clipanalizer: implemented delete format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6272 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-03-23 22:43:41 +00:00
jesusr
81234f6d34 clipanalizer: use ctClipboard as clipboard type.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6255 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-03-18 19:58:01 +00:00