Commit Graph

7249 Commits

Author SHA1 Message Date
21c87d8266 Sudoku: change visula representation of "possible digits" for the sake if better human pattern recognition (as suggested by wp).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7249 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-08 11:33:04 +00:00
95995ecfea jvcllaz: Remove obsolete unit Windows from JvInterpreterParser.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7248 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-08 08:28:40 +00:00
5bc8d28c3c jvcllaz: Package description of JvPascalInterpreter packages. Move to JVCL NonVisual palette.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7247 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-07 18:17:27 +00:00
bfc363b3a4 jvcllaz: Add TJvInterpreter units in JvPascalInterpreter package, including two demos.
Change MIME type of all package files to text/xml.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7246 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-07 13:08:59 +00:00
e138543a0b Sudoku: change ScratchPad:
- different text representation of digitset
- custom editor for DigitSets
- forbid editing cells taht are already locked (in FRawData)
- disable RangeSelect in the grids


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7245 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-06 18:21:54 +00:00
046838f1ce Sudoku: move DbgS() functions to the unit where the types concerned are defined.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7244 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-06 09:37:40 +00:00
8325c001c1 Sudoku: add an unsolveable sample sudoku. Gives users the change to play with the scratchpad.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7243 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-05 14:20:57 +00:00
636e8484ce Sudoku: implement a scratchpad for Sudoku's that aren't completely solved.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7242 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-05 13:56:22 +00:00
46162a2189 Sudoku: unify indentation style (begin..end blocks). No functional changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7241 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-05 11:58:57 +00:00
2053c7c87e Sudoku: Enable stacktraces in Debug build mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7240 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-05 11:47:26 +00:00
0a0f021c2f Sudoku: Debug and Release build modes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7239 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-05 11:44:39 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
a00f9d0611 jvcllaz: Fix TJvYearGrid "hiding" pages in a PageControl.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7216 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-02 14:37:43 +00:00
c745a3cc75 jvcllaz: Fix TJvTimeLine "hiding" pages in a PageControl (https://forum.lazarus.freepascal.org/index.php/topic,47499.msg344725.html#msg344725)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7215 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-02 13:01:42 +00:00
93ebcc497e fpspreadsheet: Fix cell offset when pasting in from clipboard. Patch by DonAlfredo, https://forum.lazarus.freepascal.org/index.php/topic,47965.0.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7214 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-01 23:43:41 +00:00
397d9de5de jvcllaz: Fix TJvMarkupViewer "hiding" pages in a PageControl (https://forum.lazarus.freepascal.org/index.php/topic,47499.msg344725.html#msg344725)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7213 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-01 18:38:19 +00:00
339b9ef430 jvcllaz: Fix TJvMarkupLabel "hiding" pages in a PageControl.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7212 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-01 18:33:32 +00:00
1c87132ba3 manualdock: resolving the compiler warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7211 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-18 20:42:52 +00:00
e3839dd9dd jvcllaz: Fix ticks and labels for unit Pixels
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7210 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-14 11:43:43 +00:00
19d30d6871 jvcllaz: Fix issues with LCLScaling and label rounding in TJvRuler
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7209 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-14 11:32:22 +00:00
6855104312 jvcllaz: New properties for TJvRuler: MinorTickCount, TickColor, MajorTickLength, MinorTickLength, MarkerColor, MarkerFilled, MarkerSize, ShowBaseline, ShowPositionMarker. Supports LCLScaling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7208 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-14 00:28:48 +00:00
6a1b03adfa fpspreadsheet: Fix ooxml reader choking on files written by Adobe Acrobat X which writes HTML colors with # prefix. https://forum.lazarus.freepascal.org/index.php/topic,47749.msg342501.html.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7207 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-12 10:17:39 +00:00
7ee6c517b0 jvcllaz: Add dropdown shadow TJvDBLookupCombo for Windows. Patch by Michal Gawrycki, issue #36421.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7206 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-10 23:25:40 +00:00
c0628ff3b4 jvcllaz: Follow-up to r7204 (Patch by Michal Gawrycki, issue #36403)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7205 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-06 20:54:08 +00:00
a7bc63964a jvcllaz: TJvDBLookupCombo improvements by Michal Gawrycki (issue #36403):
- Leaves parent form active under Windows.
- Publish several properties and events.
- Support for AutoSize.
- Use the "FDataListForm.Close" method instead of "FDataListForm..Visible := false" property to hide popup because DoClose method is not called when hidden by "Visible" property.
- Control drawing fixes.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7204 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-06 10:43:57 +00:00
fcd60c1925 RxFPC:rxboxproc.BoxMoveSelectedItems - last added item also set selected
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7203 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-05 19:08:28 +00:00
677d3e3eb3 jvcllaz: Make sure that package format has "Maximize compatibility" flag activated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7202 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-05 10:55:38 +00:00
0a310b31e8 jvcllaz: Add new component JvImageTransform (transition effects between two pictures)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7201 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-03 17:43:14 +00:00
1d406d0251 jvcllaz: Add component TJvSpecialImage (incl sample project)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7200 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-03 00:22:11 +00:00