Commit Graph

61643 Commits

Author SHA1 Message Date
dsiders
bbd1e41311 Docs: LCL/forms. Adds missing topics or content. 2021-11-10 04:57:43 +00:00
Bart
15fe156691 LazUtils: Masks: fix and use CompileAnyCharOrNone in CompileRange.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-09 23:24:51 +01:00
Bart
6cd54a131e LazUtils: Masks: start factoring out CompileAnyCharOrNone (later to be extended and uses by TWindowsMask.CompileOtherSpecialChars).
Code is unused for now.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-09 19:39:31 +01:00
Bart
b68d0b882a LazUtils: Masks: only conditionally compile TMaskUtf8.DumpMaskColpiled.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-09 19:16:34 +01:00
Bart
3679a90e37 LazUtils: Masks: rename ReverseRange to AddRangeReverse.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-09 19:06:49 +01:00
Bart
ef974cb238 LazUtils: Masks: suppress a hint.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-09 19:02:50 +01:00
Bart
aae437d605 LazUtils: Masks: disallow #0 in the user supplied mask for TWindowsMask.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-09 18:55:15 +01:00
Martin
9c5208b665 FpDebug: compilation fixes for Mac 2021-11-09 16:34:59 +01:00
mattias
6221e1c546 lcl: THintWindow: made some protected methods virtual 2021-11-09 15:00:41 +01:00
dsiders
79e6efe7eb Docs: LCL/controls. Updates Hint-related topics in TControl. 2021-11-09 06:27:30 +00:00
Bart
cd4ce74027 LazUtils: Masks: cleanup.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-08 22:54:00 +01:00
Bart
0f77d36d93 LazUtils: Test: TestMasks: fix tests after #3c6c852b (mocAnyCharOrNone not enabled by default anymore). 2021-11-08 22:49:54 +01:00
Bart
3c6c852bc1 LazUtils: Masks: revert most of #78148e42 since wqFileNameEnd no longer requires mocAnyCharOrNone.
Note: code contains debug writeln's, so it will crash if no console is available.
2021-11-08 22:43:20 +01:00
Bart
09dcf62106 LazUtils: Masks: use TWindowsMaskUtf8.CompileSpecialChars to handle the wqFileNameEnd quirk.
This now no longer depends on mocAnyCharOrNone, so do not enforce that any longer if wqFileNameEnd is enabled.
Note: code contains debug writeln's, so it will crash if no console is available.
2021-11-08 22:31:32 +01:00
Bart
a0d01a5922 LazUtils: Masks: make CompileSpecialChars and CompileEscapeCharPlusLiteral methods of TMaskUtf8 instead of nested procs.
Note: code contains debug writeln's, so it will crash if no console is available.
2021-11-08 22:07:30 +01:00
Bart
e76d29f85b LazUtils: Masks: simplify TWindowsMaskUtf8.CompileOtherSpecialChars.
Note: code contains debug writeln's, so it will crash if no console is available.
2021-11-08 19:06:36 +01:00
Martin
95b4cf9043 FpDebug: compilation fixes for Mac 2021-11-08 15:09:01 +01:00
Željan Rikalo
d43d4618e4 Qt,Qt5: fixed OnCloseUp event for TDBCustomComboBox. issue #39455 2021-11-08 15:08:07 +01:00
Martin
89cc21355f FpDebug: fixed visibility warning for InitLoaders 2021-11-08 14:59:14 +01:00
wp_xyz
cdbd787a67 IDE: Resizable character height in CharacterMap to improve readability. 2021-11-08 13:27:50 +01:00
Bart
0be73871b5 LazUtils: Masks: implement a crude TWindowsMaskUtf8.CompileOtherSpecialChars to handle #0's.
Probably this could be sped up by counting the #0's and adding them all at once?
Note: code contains debug writeln's, so it will crash if no console is available.
2021-11-07 23:17:47 +01:00
John Shand
c817696268 Create fpc folder for git working tree. Copy .git from source.
See merge request freepascal.org/lazarus/lazarus!39

(cherry picked from commit 5d482579e7)
2021-11-08 00:27:13 +03:00
Bart
50811399e4 LazUtils: Masks: lay out the infrastructure to handle other special characters in the mask.
Will be used for the handling of wqFileNameEnd in TWindowsMaskUTF8.
2021-11-07 18:11:48 +01:00
dsiders
0bbdfcf556 Docs: LCL/buttons. Adds content for ActionChange and FindDownButton topics in TCustomBitBtn.
* Depends on 27d3cf84.
2021-11-07 15:44:31 +00:00
Martin
e104c4c418 Merge branch 'fpdebug-process-startup-2' into 'main'
Change StartInstance and AttachInstance to normal methods.

See merge request freepascal.org/lazarus/lazarus!41
2021-11-07 15:54:08 +01:00
Martin
32aaa9b127 FpDebug: Fix default value / fix test 2021-11-07 15:32:43 +01:00
Martin
1f8a8ff932 Merge branch 'fpdebug-fprspremotedebugger' into 'fpdebug-process-startup-2'
See merge request freepascal.org/lazarus/lazarus!42
FpDebug: Rename remote debugger to LazDebuggerFpRspRemote
2021-11-07 15:16:46 +01:00
Juha Manninen
27d3cf84dd Merge branch 'sesvena-main-patch-25197' into 'main'
lcl: fixed TBitButton with Action and changing Action.ImageIndex

See merge request freepascal.org/lazarus/lazarus!45
2021-11-07 14:04:24 +00:00
ccrause
c219bac7dc Fix initialization of TDbgLinuxProcess.AttachToInstance. 2021-11-07 15:20:23 +02:00
Roland Hahn
5aee9d5c07 Aktualisieren lcl/include/bitbtn.inc 2021-11-07 10:26:45 +00:00
ccrause
50987e044c Renamed remote debugger to FpRspRemoteDebugger 2021-11-06 18:26:58 +02:00
Bart
2f07ee8783 LazUtils: Masks: factor out the handling of escaped literals and of special chars in TMaskUtf8.Compile.
The logic of the main while loop becomes more clear (it spanned too much screens).
Also add a comment about possible dead code in HandleSpecialChar.
2021-11-06 15:39:51 +01:00
ccrause
7e5b510a4e Update StartInstance and AttachInstance method signatures of TDbgWinProcess. 2021-11-06 16:17:58 +02:00
Bart
7471fd4635 LazUtils: FileUtil: fix memory leak (created a masklist twice). 2021-11-06 15:00:14 +01:00
ccrause
b7a20adaeb Remove unused variable FProcessConfig. 2021-11-06 14:23:33 +01:00
ccrause
dc38deaaa5 Fix signature of inherited call in TAvrProcess.Create. 2021-11-06 14:23:32 +01:00
ccrause
4055d9420b Consolidated parameters for TDbgProcess.Create, StartInstance and AttachToInstance. 2021-11-06 14:23:31 +01:00
ccrause
a23062a904 Moved remote protocol debugger into own package. 2021-11-06 14:23:30 +01:00
ccrause
923fce0cb0 Change StartInstance and AttachInstance to normal methods. TDbgController now calls OSDbgClasses.DbgProcessClass to create a process class instance with a TDbgProcessConfig parameter which can be subclassed and passed around for configuration. The remote configuration is now passed via this parameter as a subclass. 2021-11-06 14:23:28 +01:00
Bart
91bde5f636 LazUtils: Masks: fix potential range error in TMaskUtf8.Compile. 2021-11-06 13:39:46 +01:00
Bart
5dff088116 LazUtils: Masks: replace some lines of code with a single AddLiteral. 2021-11-06 13:32:38 +01:00
Martin
3b2e56528b Merge branch 'fpdebug-AVR-2021-11-05' into 'main'
Fpdebug: Update AVR support (continuing from !36)

See merge request freepascal.org/lazarus/lazarus!40
2021-11-06 09:01:24 +00:00
Juha
da5bd4801c LCL-GTK3: Prevent crash in SaveDialog creation. For some reason virtual class functions confused it. 2021-11-06 03:20:16 +02:00
Juha
0d20c53cd4 LCL-GTK3: Prevent crash when Open/SaveDialog is closed. Remove 'destroy' signal handler. Still no memory leaks. 2021-11-06 03:20:16 +02:00
Juha
776e1e91ad LCL-GTK3: Comment out abundant debug lines. 2021-11-06 02:43:33 +02:00
Juha Manninen
1f03ebf6c8 Merge branch 'win32fillchar' into 'main'
win32: replace FillChar(V) to V:= Default(TV)

See merge request freepascal.org/lazarus/lazarus!37
2021-11-05 20:33:44 +00:00
ccrause
9f02cfbf72 Remove write access to LoaderList property. 2021-11-05 21:43:44 +02:00
dsiders
123fe0c949 Docs: LCL/buttons. Adds content for TCustomSpeedButton.ActionChange.
* Depends on adafca05.
2021-11-05 20:18:34 +01:00
Bart
f4996fb470 LazUtils: Masks: fix spelling errors in a comment. 2021-11-05 18:32:15 +01:00
Martin
3b9f8954ba fpDebug: Set Sect.VirtualAddress on Linux / See merge request !36 by ccrause 2021-11-05 17:44:25 +01:00