Commit Graph

61691 Commits

Author SHA1 Message Date
Juha
87927fa1ed Debugger: Improve layout of Console In/Output window. align splitter right. Issue #39452, patch by bald zhang. 2021-11-04 12:48:25 +02:00
wp_xyz
6b24a4e57c TAChart: Add new property TickWidth to chart axis. 2021-11-04 10:36:54 +01:00
Maxim Ganetsky
647a86feb5 .gitignore: unified backup directory matching expression with ones for units and lib directories 2021-11-04 02:51:13 +03:00
Alexey
2cca6ef676 win32: replace FillChar->Default 2021-11-04 01:31:52 +03:00
Maxim Ganetsky
74e27157fd Added backup subdirectories with their content to .gitignore 2021-11-04 01:17:07 +03: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
Juha Manninen
aa74cc8211 Merge branch 'win32-hints' into 'main'
fix many compiler hints, see https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39445

See merge request freepascal.org/lazarus/lazarus!33
2021-11-03 18:59:37 +00: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
Martin
a323f31a96 Revert unrelated change 2021-11-01 17:36:25 +01:00
Martin
f5956f9fa8 Regenerate Makefiles for fp/gdbmi-debuggers 2021-11-01 17:29:46 +01:00
Marc
1f45eba428 IdeIntf: Add check if instance is set before calling the stored function. Fixes #39448 2021-11-01 16:11:34 +01:00
dsiders
b18bf9be0c Docs: LazUtils/lazstringutils. Updates ShortDotsLine topic for deprecated routine. 2021-11-01 11:55:16 +01:00
ccrause
9de2a8dfbc Add a monitor command list to be called after uploading is finished. 2021-11-01 12:20:17 +02:00
ccrause
29cf0ce9d6 TRspConnection.ReadReply to consume all "O" packets until a valid other packet is received. Fixes issue when status query after monitor command resulted in a qemu gdbserver state error as a result of incorrect acknowledge packets. 2021-11-01 12:15:32 +02:00
ccrause
f515d77c42 Ensure bufOffset calculation cannot result in a negative value 2021-11-01 12:15:25 +02:00
ccrause
11682281de Fix up naming convention of methods. 2021-11-01 12:15:13 +02:00
ccrause
7bd0e9ab2a Remove commented code, fix comment 2021-11-01 12:15:13 +02:00
ccrause
45351f354b Properly handle console output from gdbserver over RSP. Qemu monitor commands can reply with O packets. 2021-11-01 12:15:12 +02:00
ccrause
211a02deb9 Todo reminders for later improvements 2021-11-01 12:15:12 +02:00
ccrause
052a1245a7 Fix AVR watchpoint issue when watchpoint is already declared when program starts, which leads to an invalid watchpoint. AVR usually starts from address 0, so not calling FindSymbolScope when address is 0 causes this problem. 2021-11-01 12:15:06 +02:00
ccrause
afc60cf708 Fix data watchpoints. 2021-11-01 12:14:57 +02:00
ccrause
d19a267b19 Ensure convertHexWithLittleEndianSwap works for any length of text, provided it fits the range of QWord. 2021-11-01 12:14:57 +02:00
ccrause
5b824b677c If PauseRequested is true, then both SIGINT and SIGTRAP should be treated as deBreakpoint. 2021-11-01 12:14:57 +02:00
ccrause
1529b34ca7 Change behaviour of WaitForSignal to time out after a short while so that other communication such as Ctrl+C can be transmitted while the target is running. Also distinguish between timeout and socket error. 2021-11-01 12:14:57 +02:00
ccrause
f56b453b29 Remove unused variables. 2021-11-01 12:14:56 +02:00
ccrause
77f10b113f Copy CPU registers in refreshRegisterCache. 2021-11-01 12:14:48 +02:00