Commit Graph

21463 Commits

Author SHA1 Message Date
Bart
7fb173f384 LazUtils: Test: TestMasks: Add test for issue #39462. 2021-11-20 13:00:24 +01:00
Martin
9213ca32e8 FpDebug: Fixed MemLeak on Windows: TProcessUtf8 was not freed / introduced in e104c4c418 - merge-request !41 2021-11-20 13:02:22 +01:00
Bart
7c0fdd1281 LazUtils: Masks: on Windows 'foo.*' should also match 'foo' (depends on quirks used). Patch by Jose Mejuto. Issue #39462. 2021-11-20 12:57:08 +01:00
mattias
3891f57067 codetools: sourcecloser: warning if something is wrong with implementation section 2021-11-18 22:40:39 +01:00
mattias
f84b6b1c5a codetools: fixed parsing sub proc of anonymous proc 2021-11-18 22:40:39 +01:00
Juha
641c3a73f0 Designer: Name Menu separators as "SeparatorX" to make name clashes less likely. Issue #39471. 2021-11-17 18:08:41 +02:00
Juha
dda96a3864 ProjectTemplates: Prevent wrongly replacing "project" in .lpi file. Issue #39467. 2021-11-17 09:41:21 +02:00
Maxim Ganetsky
b584409a3b POChecker: added Corsican language support, regenerated translations and updated Russian translation 2021-11-17 00:53:35 +03:00
Sven Barth
53fe133e43 * for FPC 3.2.3 and newer alias GraphType.TGraphicsColor to System.UITypes.TColor, Graphics.PColor to System.UITypes.PColor and LCLType.COLORREF to System.UITypes.TColorRef to avoid type conflicts when both System.UITypes and the LCL units are used
Merge request freepascal.org/lazarus/lazarus!46 with minor change (enabled aliasing for FPC 3.2.3 too).
2021-11-16 00:27:36 +03:00
Martin
f49b54bae5 FpDebug: add a few missing "const" for params 2021-11-14 15:36:41 +01:00
Martin
eac49ae44f FpDebug: Fix DW_OP_reg0..31 should return the register-location, not the value in the register (except for DW_AT_frame_base). See note_732607024 in merge-request !28 2021-11-14 11:31:56 +01:00
Martin
0a7f1b1da9 FpDebug: Dwarf location-parser, allow to deref a register-location. See merge-request !28 2021-11-14 09:13:55 +01:00
mattias
87b504cf7b ipro: range check font size and fixed mem leak 2021-11-12 16:32:14 +01:00
Bart
46763ca3b7 Merge branch 'masks-unit-rework-wqfilenameend' 2021-11-11 21:40:20 +01:00
Bart
1643927f8f LazUtils: Test: TestMasks: adjust Windows tests after the the removal of wqFileNameEnd from DefaultWindowsQuirks. 2021-11-10 22:15:14 +01:00
Bart
eb63676746 LazUtils: Masks: remove wqFileNameEnd from DefaultWindowsQuirks, as it's behaviour is a bit unexpected for the common user. 2021-11-10 21:52:47 +01:00
Bart
3af786d415 LazUtils: Masks: TMaskUtf8.intMatches: comment out debug writeln.
All debug writeln's are disabled by default now.
2021-11-10 21:43:05 +01:00
Bart
c5a2248d1e LazUtils: Masks: Compile: ifdef (or comment out) debug writeln's.
Note: code still contains writeln's, so it will crash if no console is available.
2021-11-10 21:37:58 +01:00
Bart
7a4464df4e LazUtils: Masks: CompileRange: comment out debug a piece of code that is (if I am correct) dead (see the comments).
Note: code still contains writeln's, so it will crash if no console is available.
2021-11-10 21:35:08 +01:00
Bart
355912f3cd LazUtils: Masks: CompileRange: comment out debug statements. Remove commented (and factored) out code.
Note: code still contains writeln's, so it will crash if no console is available.
2021-11-10 21:18:15 +01:00
Bart
cb530a9063 LazUtils: CompileAnyCharOrNone: ifdef all debug output. Remove unneeded comments.
Note: code still contains writeln's, so it will crash if no console is available.
2021-11-10 21:15:36 +01:00
Bart
905d99b813 LazUtils: use CompileAnyCharOrNone in TWindowsMaskUTF8.CompileOtherSpecialChars.
Fix not including wqFileNameEnd in fWindowsQuirksInUse.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-10 18:55:47 +01:00
Bart
ad69e5b56b LazUtils: prepare CompileAnyCharOrNone so that if can be re-used in TWindowsMaskUTF8.CompileOtherSpecialChars.
Fix compilation in TWindowsMaskUTF8.CompileOtherSpecialChars
Fix off by 1 error on errormessage in CompileAnyCharOrNone.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-10 18:39:00 +01:00
Bart
36cc485850 LazUtils: add (hopefully redundant) check in TWindowsMaskUTF8.CompileOtherSpecialChars.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-10 18:14:47 +01:00
Bart
939c2d26d6 LazUtils: only conditionally compile some checks in CompileAnyCharOrNone.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-10 18:05:07 +01:00
Bart
4602ea4e19 LazUtils: rename a method, no functional changes.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-10 18:00:09 +01:00
Bart
a45b237a29 LazUtils: Add a note in CompileRange for possible future optimization.
Note: code contains writeln's, so it will crash if no console is available.
2021-11-10 17:58:49 +01:00
zeljan1
09a4c2fbd4 Qt5: fixed slowness with TQtPrinter under MSWindows 2021-11-10 12:59:21 +01: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
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
Martin
89cc21355f FpDebug: fixed visibility warning for InitLoaders 2021-11-08 14:59:14 +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
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
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