Commit Graph

55668 Commits

Author SHA1 Message Date
martin
b9445ebd82 Merged revision(s) 60000-60001 #3a3acd660b-#3a3acd660b, 60004-60010 #c5cd6d5335-#c5cd6d5335 from trunk:
LazDebuggerLldb: Fix reading registers for correct frame
........
LazDebuggerFpLldb: fix pre-loading correct registers
........
LazDebugger(Fp)Lldb: fix correct stackframe/thread for registers
........
LazDebuggerFpLldb: fix crash in shutdown (stop debug while paused)
........
LazDebugger(Fp)Lldb: fix 32/64 target detection
........
LazDebuggerFpLldb: get current IP address from register (instead of stack) if available
........
LazDebuggerFpLldb: retrieve register for other stackframes, while evaluation is running (required for nested procedures)
........
LazDebuggerFp/FpDebug: tests, remove virtualtree
........
LazDebuggerFp/FpDebug: tests, fp-lldb
........

git-svn-id: branches/fixes_2_0@60011 -
2019-01-05 16:48:08 +00:00
maxim
bea2de69ea Merged revision(s) 59997-59998 #23c7055080-#23c7055080 from trunk:
LazDebuggerFpLldb: Prevent occasional crash, when evaluate watch in nested procedure (access callstack out of index)
........
LazDebuggerFpGdbmi: Prevent occasional crash, when evaluate watch in nested procedure (access callstack out of index)
........

git-svn-id: branches/fixes_2_0@59999 -
2019-01-04 15:54:00 +00:00
maxim
eb9af8aa4d Merged revision(s) 59988 #bc4e1da857 from trunk:
Translations: Polish translation update by Sławomir Niedziela, bug #34788
........

git-svn-id: branches/fixes_2_0@59996 -
2019-01-04 14:33:40 +00:00
maxim
c9d6f15be5 Merged revision(s) 59971 #6bedb95bcd, 59983 #f3eefeade7 from trunk:
SynEdit: fix selection with smLine (include some selection via gutter) should include folded lines, if the "fold start" line gets selected. Issue #0034760
........
SynEdit: Added checks for revision 59971 #6bedb95bcd (fix selection with smLine should include folded lines - Issue #0034760) - apply only if AutoExtend is true (indicates user input key/mouse) / Setting Selection from code should not be affected.
........

git-svn-id: branches/fixes_2_0@59995 -
2019-01-04 14:19:38 +00:00
maxim
91586cddc0 Merged revision(s) 59982 #0149572394 from trunk:
TurboPower_iPro: Fix line spacing of <br> tag. Issue #34803.
........

git-svn-id: branches/fixes_2_0@59994 -
2019-01-04 14:18:19 +00:00
maxim
8a30c92347 Merged revision(s) 59981 #c42877a3cc from trunk:
GTK2/GTK3: Add widgetset limitations for TEdit.NumbersOnly not implemented.
........

git-svn-id: branches/fixes_2_0@59993 -
2019-01-04 14:17:34 +00:00
maxim
20a85eb6bc Merged revision(s) 59960 #ecffcbf542, 59985 #30e9e11e8c from trunk:
LCL, grids: fix TStringGrid copy/paste to/from MS Excel and OO Calc bug, patch from K155LA3, issue #30623
........
LCL: TCustomTabControl: don't fire OnChanging when programatically changing TabIndex/PageIndex. Patch by Michl. Issue #0033720.
........

git-svn-id: branches/fixes_2_0@59992 -
2019-01-04 14:15:58 +00:00
maxim
310866556d Merged revision(s) 59912 #5a76f8b388 from trunk:
Installer, Win: do not touch any registry for associating file extensions, if unselected by user.
........

git-svn-id: branches/fixes_2_0@59991 -
2019-01-04 14:14:13 +00:00
maxim
1b67badec0 Merged revision(s) 59895 #83ea07fe5b, 59929-59932 #f772c7f4d2-#f772c7f4d2, 59943 #31fe8e6955, 59959 #52dda0c955, 59961-59962 #40e565832d-#40e565832d, 59964 #f5e720ed1e, 59978 #7ccec4c206 from trunk:
FpDebug: limit array/string bounds (max len) / partial fix/workaround to prevent crashes when eval locals while in pro-epi-logue (stack not yet initialized / random data for bounds and other). Issue #0034746
........
FpDebug: Fix typecast
........
FpDebug: Fix length of widestring (avoid trailing random data)
........
FpDebug: change "open array" params to "const"
........
LazDebuggerLldb: change "open array" params to "const"
........
FpDebug: fix accessing Upper-bound-value of open-array. Was missing a context object. Issue #0034781 / Add limit to prevent bad size, if data is corrupt. Issue #34772
........
FpDebug: fix commit 59943 #31fe8e6955 / open-array bounds
........
FpDebug: added dbgs for debugln
........
FpDebug: fix nested array bounds in dwarf3
........
LazDebuggerFp/FpDebug: tests
........
FpDebug: Callstack, adjust to show the current calling line, instead of the line after it. Issue #0034753
........

git-svn-id: branches/fixes_2_0@59990 -
2019-01-04 14:12:44 +00:00
maxim
c5e0b4d6c0 Merged revision(s) 59716-59717 #01d74c39d2-#01d74c39d2 from trunk:
PackageIntf: Detect if a package is installed or not via the packaging interface, function "IsPackageInstalled".
........
Opkman: After a package is opened with "Open package file(.lpk)...", OPM wrongly reports the package as installed when in fact is not. 
........

git-svn-id: branches/fixes_2_0@59989 -
2019-01-04 14:08:12 +00:00
mattias
ad85cd6fe1 TAChart: Add missing overload directives in TBasicDrawer class (Issue #34774, patch by Jonas Maebe)
git-svn-id: branches/fixes_2_0@59957 -
2018-12-31 12:46:29 +00:00
mattias
a9797882f4 cocoa: returning callback object for the secured field. Issue #0034773
git-svn-id: branches/fixes_2_0@59956 -
2018-12-31 12:46:05 +00:00
mattias
fd8caba208 LCL: GTK2: TMemo: Fixed cursor does not work. Issue #32616
git-svn-id: branches/fixes_2_0@59955 -
2018-12-31 12:45:47 +00:00
mattias
d7add52d79 LCL: Fix stringgrid double validation and revert patch that broke extending selection, modified patch from tintinux, Issue #34306
git-svn-id: branches/fixes_2_0@59954 -
2018-12-31 12:45:27 +00:00
mattias
278a92909b LCL: Prevent a double validation message in TStringGrid. Issue #34306, patch from Tintinux
git-svn-id: branches/fixes_2_0@59953 -
2018-12-31 12:44:59 +00:00
mattias
e837bff11f IDE: fixed warning about missing output directory D:\, issue #34545
git-svn-id: branches/fixes_2_0@59952 -
2018-12-31 12:43:07 +00:00
mattias
01584fa8d4 codetools: fixed parsing $IFOpt if option is not defined
git-svn-id: branches/fixes_2_0@59915 -
2018-12-27 13:49:32 +00:00
maxim
831731d4ad Merged revision(s) 59907 #9d545d09b1 from trunk:
IDE: regenerated translations and updated Russian translation
........

git-svn-id: branches/fixes_2_0@59910 -
2018-12-24 22:52:28 +00:00
maxim
a73d9b8eec Merged revision(s) 59886 #efa6764860, 59893 #7a61d8d829 from trunk:
Qt,Qt5: implemented TQtWSCustomListView.GetHitTestInfoAt(), TQtWSCustomListView.ItemSetStateImage(), draw StateImages in virtual mode. issue #34742
........
Qt5: fixed wrong Left & Top form positions when form is wsMaximized under MacOS. issue #34698
........

git-svn-id: branches/fixes_2_0@59909 -
2018-12-24 22:50:09 +00:00
maxim
21c68350ce Merged revision(s) 59881 #2ae0c86ce8, 59890 #09fe63779a from trunk:
LCL: Fix TListView in virtual mode ignoring StateImages on Windows (patch by Serge Anvarov, issue #34739).
........
LCL: ImageList - associate FHeight from source FHeight
........

git-svn-id: branches/fixes_2_0@59908 -
2018-12-24 22:48:18 +00:00
michl
42b19b946a Manual merge revision 59867 #9f7c9ac748 from trunk: AnchorDocking: Save PageIndex. Issue #34727
git-svn-id: branches/fixes_2_0@59905 -
2018-12-23 23:53:22 +00:00
mattias
7c4755d9cc IDE: message widow: fixed showing ExitCode instead of ExitStatus of a process
git-svn-id: branches/fixes_2_0@59900 -
2018-12-23 16:07:11 +00:00
mattias
0b52ce57c1 IDE: fixed leading space in compiler options
git-svn-id: branches/fixes_2_0@59898 -
2018-12-23 15:26:21 +00:00
mattias
8e5cf7e2e6 set fixes version 2.0.0RC3
git-svn-id: branches/fixes_2_0@59876 -
2018-12-20 09:35:35 +00:00
martin
c135c356af Merged revision(s) 59872 #78ffec8934 from trunk:
FpDebug: Fixed Array of String for dwarf-3
........

git-svn-id: branches/fixes_2_0@59873 -
2018-12-20 01:12:46 +00:00
martin
2a70f59029 Merged revision(s) 59825 #35103e664b, 59870 #4d4aa06706 from trunk:
FpDebug: Implement correct length for open-array params
........
FpDebug: Fixed Array of ShortString for dwarf2
........

git-svn-id: branches/fixes_2_0@59871 -
2018-12-19 23:00:27 +00:00
maxim
67008a7ffa Merged revision(s) 59865-59866 #e676482f09-#e676482f09 from trunk:
LCL: TWinControl: Fixed TGraphicControl.Cursor not working properly with TScrollBox. Issue #34714
........
LCL: Missed removing of capfHasScrollOffset in LCL. Needed for revision 59865 #e676482f09.
........

git-svn-id: branches/fixes_2_0@59869 -
2018-12-19 22:30:48 +00:00
maxim
98a3881d47 Merged revision(s) 59864 #4c9f7a19de from trunk:
IDE/FlowPanel: Publish property BorderSpacing (issue #34729, patch by Pavol S).
........

git-svn-id: branches/fixes_2_0@59868 -
2018-12-19 22:26:45 +00:00
martin
02228d272a Merged revision(s) 59861-59862 #53ff21a2b4-#53ff21a2b4 from trunk:
FpDebug: Implemented watch for "SomeString[index]"
........
LazDebuggerFp: Fix, showing pchar and string version for index access of string/pchar
........

git-svn-id: branches/fixes_2_0@59863 -
2018-12-19 01:45:04 +00:00
martin
4db6e79a43 Merged revision(s) 59859 #c3e01c7dc4 from trunk:
Fix spelling
........

git-svn-id: branches/fixes_2_0@59860 -
2018-12-19 00:37:35 +00:00
martin
f9a6ef9cbc Merged revision(s) 59851 #a984fbbfc5 from trunk:
Fix TCustomIcon.AssignImage / Add / UnshareImage.  New images must be created according to FSharedImage.GetImagesClass. 
Otherwise "ci := TCursorImage.Create; ci.Assign(Some_TBitMap);" will crash.
........

git-svn-id: branches/fixes_2_0@59857 -
2018-12-18 18:11:43 +00:00
martin
4e49a1463c Merged revision(s) 59855 #ce908679b0 from trunk:
Debugger test: fix leak in 2ndary logger
........

git-svn-id: branches/fixes_2_0@59856 -
2018-12-18 16:04:28 +00:00
martin
f2c958611a Merged revision(s) 59480 #2af35ade49, 59509 #e4adcb2815, 59615-59616 #4fd6f41ee5-#4fd6f41ee5, 59641 #4e95eebb41, 59675 #503598554b, 59688 #56745aed40, 59695 #abec187707, 59781-59782 #82671b823c-#82671b823c from trunk: Testcases for Debugger
git-svn-id: branches/fixes_2_0@59854 -
2018-12-18 15:41:01 +00:00
martin
01d7249d2e Merged revision(s) 59850 #0b45975fa0 from trunk:
LazDebuggerFpLLDB: fix mem leak in cache
........

git-svn-id: branches/fixes_2_0@59853 -
2018-12-18 15:35:09 +00:00
martin
a1f2c94016 Merged revision(s) 59848 #9cd0d830c4 from trunk:
LazDebuggerFpLLDB: fix mem leak in locals
........

git-svn-id: branches/fixes_2_0@59849 -
2018-12-18 13:50:45 +00:00
martin
71614194be Merged revision(s) 59846 #3d715e74e5 from trunk:
LazDebugger(Fp)LLDB: Show message on unexpected stop
........

git-svn-id: branches/fixes_2_0@59847 -
2018-12-18 13:41:08 +00:00
martin
b5ceb2d2b2 Merged revision(s) 59696 #d5cfafb571 from trunk:
LazDebuggerFp: linux, fix running process-access in debug-thread (needed when accessing outer vars for nested procs, for which stack has not yet been evaluated)
........
Merged revision(s) 59814-59815 #3cffd5e3da-#3cffd5e3da from trunk:
LazDebuggerFp: Implement conditional breakpoints
........
LazDebuggerFp: Implement conditional breakpoints / fix nil access
........

git-svn-id: branches/fixes_2_0@59843 -
2018-12-18 03:52:39 +00:00
maxim
17830d7d76 Merged revision(s) 59824 #e72387cbeb from trunk:
LazDebuggerFpLLDB: load dwarf info in thread / simplify clean up
........

git-svn-id: branches/fixes_2_0@59841 -
2018-12-17 22:19:23 +00:00
maxim
bbff02f69e Merged revision(s) 59811-59813 #950ab08ab8-#950ab08ab8 from trunk:
LazDebuggerFpLLDB: Enable capturing debug history (snapshots) on idle or break-action
........
LazDebuggerFpLLDB: load dwarf info in thread / process simultaneous with lldb
........
LazDebuggerFpLLDB: load dwarf info in thread / fix memleak
........

git-svn-id: branches/fixes_2_0@59840 -
2018-12-17 22:13:15 +00:00
maxim
408cc74849 Merged revision(s) 59802 #9de85d233b, 59805-59806 #435e8b1c1c-#435e8b1c1c from trunk:
LazDebuggerFpLLDB: Fix potential dangling pointer in Locals eval.
........
LazDebugger(Fp)Gdbmi: Fix potential dangling pointer in Locals eval.
........
LazDebuggerFpLLDB: Fix locals, need registers first
........

git-svn-id: branches/fixes_2_0@59839 -
2018-12-17 22:11:13 +00:00
maxim
9759d7d1c5 Merged revision(s) 59778 #739388038a, 59780 #7f8e86bb91, 59794 #eb7d309f42 from trunk:
FpDebug: handle PWideChar (and WideString, if represented as PWideChar)
........
FpDebug: detect ShortString under dwarf-2
........
FpDebug: started/partly detect strings in dwarf-3
........

git-svn-id: branches/fixes_2_0@59838 -
2018-12-17 22:08:53 +00:00
maxim
c7451b0f70 Merged revision(s) 59830 #95f1c7e0bc from trunk:
IDE: Don't enlarge IDE if MessagesView or CodeExplorerView is shown. Issue #34447
........

git-svn-id: branches/fixes_2_0@59837 -
2018-12-17 22:05:26 +00:00
maxim
ee126d6209 Merged revision(s) 59829 #1784adafdc from trunk:
paradox: Fix typo in Paradox blob file extension (.bm --> .mb), issue #33884, patch by Bart Broersma
........

git-svn-id: branches/fixes_2_0@59836 -
2018-12-17 22:04:40 +00:00
maxim
beb15060e1 Merged revision(s) 59823 #8965b70a28 from trunk:
Printers, Fix printing regression under linux, issue #34680
........

git-svn-id: branches/fixes_2_0@59835 -
2018-12-17 22:03:01 +00:00
maxim
07c12b2420 Merged revision(s) 59821 #2bb0b31bbb from trunk:
LCL: AnchorDocking: Fixed Tab position setting is not saved and restored. Issue #33061
........

git-svn-id: branches/fixes_2_0@59834 -
2018-12-17 22:01:57 +00:00
maxim
2e525042f2 Merged revision(s) 59807 #7f45a8a146 from trunk:
LCL: Paint a cross mark also in TColorListbox for clNone. Issue #34632, patch from AlexeyT.
........

git-svn-id: branches/fixes_2_0@59833 -
2018-12-17 22:00:34 +00:00
mattias
beb90ca5f1 lazres: using LazLogger instead of LCLProc to get debugln, turned off warnings 6058, issue #34676
git-svn-id: branches/fixes_2_0@59793 -
2018-12-11 10:22:06 +00:00
mattias
aa42a201a9 Opkman: Set "Check for package updates" to never by default.
git-svn-id: branches/fixes_2_0@59792 -
2018-12-11 10:20:33 +00:00
mattias
21631e5df3 FpDebug: properly encode strings for display (unprintable chars as #$nn)
git-svn-id: branches/fixes_2_0@59791 -
2018-12-11 10:20:12 +00:00
mattias
89fe1a0fa0 LazDebuggerFp: Prevent crash, if debugger instance is destroyed before logging is handled.
git-svn-id: branches/fixes_2_0@59790 -
2018-12-11 10:19:52 +00:00