Commit Graph

21422 Commits

Author SHA1 Message Date
zeljan1
09a4c2fbd4 Qt5: fixed slowness with TQtPrinter under MSWindows 2021-11-10 12:59:21 +01:00
Martin
9c5208b665 FpDebug: compilation fixes for Mac 2021-11-09 16:34:59 +01:00
Martin
95b4cf9043 FpDebug: compilation fixes for Mac 2021-11-08 15:09:01 +01:00
Martin
89cc21355f FpDebug: fixed visibility warning for InitLoaders 2021-11-08 14:59:14 +01: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
ccrause
c219bac7dc Fix initialization of TDbgLinuxProcess.AttachToInstance. 2021-11-07 15:20:23 +02: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
ccrause
9f02cfbf72 Remove write access to LoaderList property. 2021-11-05 21:43:44 +02: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
wp_xyz
6b24a4e57c TAChart: Add new property TickWidth to chart axis. 2021-11-04 10:36:54 +01:00
Maxim Ganetsky
bdf1cfcd96 Lazutils, tests: correctly set unit output directory and executable filename for TestLazStorageMem project, also made it DPI aware 2021-11-04 01:02:02 +03:00
Maxim Ganetsky
095ca93f94 Lazutils, tests: correctly set unit output directory and executable filename for TestMasks project, also made it DPI aware 2021-11-04 00:53:21 +03:00
Bart
2ce594217a LazUtils: Masks: fix TWindowsMaskUtf8.Matches not calling Compile.
Now all tests in the testsuite are OK again.
2021-11-03 20:04:51 +01:00
Bart
d29512ae6b LazUtils: TestMasks: adjust test after changes in #78148e42. 2021-11-03 19:30:39 +01:00
Bart
3d0b1cc901 LazUtils: Masks: TMask.Compile: do not call CompileRange when mocAnyCharOrNone is enabled, but mocRange and mocSet are disabled,
in taht case '[a' is a valid mask (of 2 literals).
2021-11-03 19:14:22 +01:00
Bart
a9c7e4196b LazUtils: Masks: fix a deprecated message. 2021-11-03 19:07:31 +01:00
Bart
78148e42f5 LazUtils: Masks: since wqFilenameEnd (internally) requires mocAnyCharOrNone, include the latter in MaskOpCodes if wqFilenameEnd is used.
Also include mocAnyCharOrNone in DefaultMaskOpcodes, otherwise the default behaviour between TMask and TWindowsMask
for a mask containing [?] would differ.
Add comments to the long and winding if then else blocks in CompileRange
2021-11-03 19:05:45 +01:00
Juha
46a1f547f0 IdeIntf: Rebuild the OI component tree after comp deletion. CollectionItems do not get deleted otherwise. 2021-11-03 18:53:33 +02:00
Bart
a22cac6853 LazUtils: fix not adding '[' as a literal to the internal mask if ranges and sets are disabled:
MatchesMask('a[b]c','a[b]c',False,MaskOpCodesDisableRange) now correctly evaluates to True.
2021-11-02 23:09:00 +01:00
Juha
3c7586c0f8 LazUtils: Fix compilation of the unit test project for TMask. 2021-11-02 21:13:37 +02:00
Bart
0ed2398c32 LazUtils: Masks: remove commented out code and associated comment. 2021-11-02 19:03:37 +01:00
Bart
61789da61d LazUtils: Masks: add comment about EscapeChar property. 2021-11-02 19:01:30 +01:00
Bart
8ba7c4fedc LazUtils: Masks: move some comments. 2021-11-02 19:00:16 +01:00
Bart
1d8110d62e LazUtils: Masks: fix comment for mocRange (now that escaping works properly). 2021-11-02 18:52:30 +01:00
Bart
5c7690081c LazUtils: Masks: vanity change. 2021-11-02 18:49:58 +01:00
Bart
7a80001488 LazUtils: Masks: implement property TMaskList.CaseSensitive. 2021-11-02 18:48:36 +01:00
Bart
becd9a5374 LazUtils: Masks: implement property TMaskList.AutoReverseRange. 2021-11-02 18:44:40 +01:00
Bart
f269492d19 LazUtils: Masks: there is no need to regenerate the the indivual fMasks.Items in TMaskList.SetMaskOpCodes. 2021-11-02 18:39:55 +01:00
Bart
4ae0dac7da LazUtils: Masks: make property TMaskBase.CaseSensitive read/write. 2021-11-02 18:31:52 +01:00
Bart
88f6d76cfc LazUtils: Masks: move TMaskFailCause type inside the TMaskBase class. It is not needed outside. 2021-11-02 18:28:26 +01:00
Željan Rikalo
5133009bc0 Qt/Qt5/Win32: fixed page size and name (qt) and page orientation mismatch under win32. Patch by Joeny Ang. issue #39449 2021-11-02 15:55:49 +01:00
Bart
19feb31030 LazUtils: Masks: add some ToDo comments for properties not yet (r/w) implemented. 2021-11-01 23:22:26 +01:00
Bart
ff2b30b7c0 LazUtils: Masks: also force a new Compile when EscapeChar is changed. 2021-11-01 23:12:17 +01:00
Bart
ca93bfbd58 LazUtils: Masks: property AutoReverseRange needs a setter as well. 2021-11-01 23:07:27 +01:00
Martin
7dfaef943f Merge branch 'fpdebug-more-func-args-win64' into 'main'
FpDebug: Support for the 4th argument when calling the function (Win64)

See merge request freepascal.org/lazarus/lazarus!32
2021-11-01 18:08:16 +00:00
Martin
c40776f217 Merge part of branch 'fpdebug-new-staged' into 'main'
Move TXmlConfig

See merge request freepascal.org/lazarus/lazarus!36
Update AVR support in fpdebug (take 2)
2021-11-01 17:37:13 +01:00