Commit Graph

61491 Commits

Author SHA1 Message Date
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
2e74920e74 Fixed up Makefiles so that new dependencies build correctly 2021-11-01 12:06:56 +02:00
ccrause
cbff56be77 Moved TXmlConfStringList from gdbmidebugger to DebuggerPropertiesBase to share this property class between gdbmidebugger and fpdebugdebugger. 2021-11-01 12:06:00 +02:00
Bart
d374385885 LazUtils: Masks: if Compile fails, don't set fMaskIsCompiled to True. 2021-10-31 20:42:34 +01:00
Bart
cf6d6c626c LazUtils: Masks: make TWindowsMaskList.Quirks read/write. 2021-10-31 20:12:22 +01:00
Bart
3be1973992 LazUtils: Masks: fix TMaskList.SetMask and .SetMaskOpCodes. 2021-10-31 20:06:24 +01:00
Bart
8a550c1678 LazUtils: Masks: implement TMaskList.MaskOpCodes property. 2021-10-31 19:44:31 +01:00
Bart
1a0f808921 LazUtils: Masks: implement TMaskList.Mask property. 2021-10-31 19:41:00 +01:00
Bart
1543c68c73 LazUtils: Masks: make TWindowsMask.Quirks read/write. 2021-10-31 19:07:43 +01:00
Bart
dd4c515dc6 LazUtils: Masks: when setting Mask property invalidate fInternalMask. 2021-10-31 19:02:24 +01:00
Bart
421f894acb LazUtils: Masks: properly implement property TMaskBase.MaskOpCodes, remove property OPCodesAllowed. 2021-10-31 18:52:32 +01:00
Bart
ebabdd0bba LazUtils: Masks: implement property TMaskBase.MaskOpCodes. 2021-10-31 18:21:39 +01:00
Bart
71623760cb LazUtils: Masks: simplify TMaskList.MatchesWindowsMask. 2021-10-31 18:15:39 +01:00
Bart
2cab533808 LazUtils: Masks: also do not compile the mask in the constructor of TWindowsMaskList. 2021-10-31 18:04:51 +01:00
Bart
181e410434 LazUtils: Masks: don not disable ranges and sets in TWindowsMask, and do not compile the mask in the constructor, so the constructor won't fail if a mask is invalid. 2021-10-31 17:27:04 +01:00
Bart
0a32776e98 LazUtils: Masks: an empty negated set is also an empty set, so don't allow that as well. 2021-10-31 16:19:49 +01:00
Bart
20f3e55048 LazUtils: Masks: support escaping in ranges/sets (part 2). Based on original code by Jose Mejuto
(https://github.com/JoshyFun/pascal_tmask/blob/main/umask.pas)
2021-10-31 16:17:32 +01:00
dsiders
7c2368058c Docs: LazUtils/lazstringutils. Removes topic for deprecated routine in #9a816398. 2021-10-31 15:23:34 +01:00
dsiders
18bece2476 Docs: LazControls/listviewfilteredit. Removes topic for duplicate type in #e8b4862a. 2021-10-31 15:13:03 +01:00
dsiders
b4c1e70224 Docs: LazControls/listviewfilteredit. Removes topic for duplicate type in #e8b4862a. 2021-10-31 14:50:12 +01:00
mattias
1391c8cb7d tools: lplupdate showing git commands 2021-10-31 09:10:33 +01:00
Juha Manninen
6e6d618513 Merge branch 'lazutils-hints' into 'main'
Suppress compiler hints in LazUtils

See merge request freepascal.org/lazarus/lazarus!35
2021-10-31 07:55:49 +00:00
Juha
cd66ac596b Formatting, minor simplification. 2021-10-31 09:51:28 +02:00
Juha
d5596c80a9 LCL: Remove tests for define WithOldDebugln. It has been there since 2012. 2021-10-31 09:51:28 +02:00
Juha
9a8163981a LazUtils: Remove a deprecated function. 2021-10-31 09:51:28 +02:00