Commit Graph

7775 Commits

Author SHA1 Message Date
95f1b45254 richmemo: breaking up richmemo to (runtime) package and design
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7275 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-13 13:56:26 +00:00
cc8edbe51e jvcllaz: Fix lcl scaling for TJvTMTimeline; previous scaling solution could not be switched off.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7274 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-12 16:25:43 +00:00
8cd74ec918 jvcllaz: Fix lcl scaling of TJvTimeLine; previous scaling solution could not be switched off.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7273 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-12 14:47:52 +00:00
a023e35566 LazEdit: remove old ANSI versions of SaveToFile/LoadFromFile. Less hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7272 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-12 12:58:54 +00:00
0a6aed4630 LazEdit: no need to convert ConfigDir to ANSI encoding.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7271 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-12 12:47:54 +00:00
886abdf31d jvcllaz: Fix font scaling of TJvTMTimeline.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7270 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-11 23:33:06 +00:00
9b9b3fed49 jvcllaz: Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7269 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-11 22:31:50 +00:00
01f504ede7 jvcllaz: Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7268 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-11 18:01:12 +00:00
69ffb7cda8 jvcllaz: Fix output directory of JvPascalInterpreter package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7267 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-11 17:23:51 +00:00
45bca62366 jvcllaz: Publish property BorderSpacing for TJvTMTimeLine.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7266 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-11 17:02:02 +00:00
d5aff07ca7 jvcllaz: Fix lclscaling of TJvTimeLine. Adjust demo to scaled imagelist.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7265 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-11 16:56:46 +00:00
9f75a78968 jvcllaz: Lowercase JvExtComponent unit file name
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7264 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-11 10:43:42 +00:00
8d57550d02 Sudoku: make it possible to preserve the RawData from the ScratchPad and use it in the solving process.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7263 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-10 11:11:56 +00:00
32ff846113 LazEdit: remove debug writeln.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7262 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:53:15 +00:00
42fa96bdc4 LazEdit: update version after recent changes. Update copyright year.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7261 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:49:18 +00:00
12efbbbb7c LazEdit: remove EPlus.ini file from svn.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7260 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:40:49 +00:00
97119a0e90 LazEdit: use better location for config file (the old one was not writeable by default on any modern OS).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7259 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:39:21 +00:00
8970d84cbc LazEdit: warn if file doesn't seem ASCII or Utf8 encoded.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7258 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:23:59 +00:00
c9d1e05e6c LazEdit: in ParseCommandlineFilenames ask to create a file if it does not exsist.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7257 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:04:38 +00:00
887e07f476 LazEdit: fix TEditor.MarkSelection.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7256 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 17:41:12 +00:00
f9403bf32f LazEdit: Use -FaLazLogger,LCLExceptionStacktrace in debug buildmodes to enable stack tracing and debugln() output.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7255 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 17:35:43 +00:00
16ada6f88d LazEdit: disable HTML-actions if editor is not Html.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7254 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 17:32:21 +00:00
3376369e66 LazEdit: fix not searching backwards.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7253 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 17:12:07 +00:00
1afe4ef421 LazEdit: fix compilation; fix Utf8<->ansi conversions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7252 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 17:10:29 +00:00
153d084e6e Sudoku:
- validate user input before trying to solve.
- stop calculating if nothing has changed.
- refine messages if puzzle isn't solved.
- remove unused code.
- rename some methods.


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7251 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 12:32:47 +00:00
b24bcfec2b Sudoku: DigitSetEditor:
- disallow setting values that are not in original DigitsPPossible set
- disallow clearing the set entirely


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7250 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-08 12:08:49 +00:00
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