Commit Graph

58180 Commits

Author SHA1 Message Date
martin
93784272ae FpDebug: Eval threads first. Avoid double refresh of other windows.
git-svn-id: trunk@62051 -
2019-10-13 21:52:28 +00:00
martin
e44a64751f LazDebuggerFp: Improve reaction time to user request next-step/run. If Stack/Watches are still in evaluation then stop them.
git-svn-id: trunk@62050 -
2019-10-13 21:52:26 +00:00
martin
0040dbe1fe FpDebug: tests
git-svn-id: trunk@62049 -
2019-10-13 12:25:43 +00:00
martin
23a034b033 FpDebug: Change/Fix shortstring detection after array stride fix in fpc. (change by Issue #0036144 )
git-svn-id: trunk@62048 -
2019-10-13 12:25:42 +00:00
martin
b11f360499 FpDebug: limit array stride workaround to fpc < 3.3 / Fix stride calculations
git-svn-id: trunk@62047 -
2019-10-13 12:25:40 +00:00
martin
765c460114 FpDebug: small change to array address error checks
git-svn-id: trunk@62046 -
2019-10-13 12:25:39 +00:00
martin
22aca35233 FpDebug: Use LastError from value object.
git-svn-id: trunk@62045 -
2019-10-13 12:25:37 +00:00
bart
631b507057 LCL: fix TValueListEditor LoadFromFile if to be loaded grid is empty. Part of issue #0036166.
git-svn-id: trunk@62044 -
2019-10-13 12:14:11 +00:00
bart
8c90dbc81a LCL: fix TValueListEditor LoadFromFile and SaveToFile. Issue #0036166.
git-svn-id: trunk@62043 -
2019-10-13 11:58:59 +00:00
juha
1b50e06c5b Sparta: Rename units in sparta_Generics to avoid name clash with units in FPC sources. Update to latest Generics Collections code. Eliminate USE_GENERICS_COLLECTIONS define.
git-svn-id: trunk@62042 -
2019-10-13 07:24:58 +00:00
juha
8074bbd776 Sparta: Remove examples of generics collections from Lazarus sources.
git-svn-id: trunk@62041 -
2019-10-13 07:24:49 +00:00
martin
5446230d42 IDE: help location for changed debugger options frames
git-svn-id: trunk@62040 -
2019-10-11 14:58:19 +00:00
martin
9db76fad42 FpDebug: test
git-svn-id: trunk@62039 -
2019-10-11 12:37:47 +00:00
bart
459694b2f8 IDE: close About dialog with Escape.
git-svn-id: trunk@62038 -
2019-10-11 12:19:14 +00:00
martin
fc63e31186 FpDebug: Prevent a stack overflow, recursive display of record in record constructor "TFoo.Create(a: TFoo)". Outer "AFlags" were hidden, preventing the recursion from being detected
git-svn-id: trunk@62037 -
2019-10-11 12:07:24 +00:00
martin
57e0e15e0f LazLogger: fixed thread race condition. If the logger is destroyed, and threads have pending sync calls. (only observed with custom created loggers). Fix requires fpc 3.2, see issue #0030567
git-svn-id: trunk@62036 -
2019-10-11 12:07:22 +00:00
martin
e6a89c7f7c Debugger-tests: Ensure all pending log messages are written before closing the file
git-svn-id: trunk@62035 -
2019-10-11 12:07:21 +00:00
martin
ec3e5b6a07 FpDebug: fix crash on nil-deref.
- On Windows FCurrentThread is nil during the ExitProcess event.
- On all platforms CreateThread can (in theory) return nil.

git-svn-id: trunk@62034 -
2019-10-11 12:07:19 +00:00
martin
ec207608a5 FpDebug: Windows, when terminating the process (stop debugger) collect all pending events.
git-svn-id: trunk@62033 -
2019-10-11 12:07:17 +00:00
martin
bb9f614179 FpDebug: Fix a leak when stopping/reseting the debugger under heavy multithreaded load. (Windows may have queued events, then the next pause may not be the expected ExitProcess, and clean-up is not triggered.
git-svn-id: trunk@62032 -
2019-10-11 12:07:16 +00:00
wp
9cad1b3feb LCL/grids: Fix misplaced horizontal grid scrollbar after form maximize. Issue #35472, patch by Pavol S.
git-svn-id: trunk@62031 -
2019-10-11 10:21:52 +00:00
maxim
04138e9fe7 POChecker: moved log handling code to TPOFamilyList class, where it really belongs to
git-svn-id: trunk@62030 -
2019-10-10 22:08:41 +00:00
martin
d24501ac43 FpDebug: test for parser and/or/mod...
git-svn-id: trunk@62029 -
2019-10-10 21:30:21 +00:00
martin
c1cec4c5d9 FpDebug: Add operators mod, and, or, xor
git-svn-id: trunk@62028 -
2019-10-10 21:30:20 +00:00
martin
861127a3cf FpDebug: test for parser string ops
git-svn-id: trunk@62027 -
2019-10-10 21:30:18 +00:00
martin
29fa84ca54 FpDebug: Pascal Expression Parser, add constant ansistring. Add operator to compare/concatenate strings
git-svn-id: trunk@62026 -
2019-10-10 21:30:16 +00:00
martin
61e152cc7d FpDebug: accept PChar(nil) as string
git-svn-id: trunk@62025 -
2019-10-10 21:30:14 +00:00
martin
51b18e32f4 IDE, Debugger-conf: Make sure debugger path history is saved
git-svn-id: trunk@62024 -
2019-10-10 13:37:46 +00:00
mattias
9c7ef38222 IDE: fixed IDE restart when project is set to cross compile, issue #36142
git-svn-id: trunk@62022 -
2019-10-10 12:32:20 +00:00
martin
cd76eb1ef2 FpDebug: Improve wide/utf8 string/char handling
git-svn-id: trunk@62021 -
2019-10-10 12:19:40 +00:00
juha
690b7498e7 LCL-GTK2: Add Debian to the list of distros that need the AppIndicator lib. Optimize a little. Issue #35723.
git-svn-id: trunk@62020 -
2019-10-10 12:13:04 +00:00
martin
3374d667aa FpDebug: Fix overload compile error with fpc 3.2 / DestSize can not exceed the int64 range
git-svn-id: trunk@62019 -
2019-10-10 11:06:47 +00:00
martin
6fb009a232 FpDebug: Fix calculating length of open array param
git-svn-id: trunk@62018 -
2019-10-10 01:01:43 +00:00
wp
a43265e3af Improved widgetset-independent and high-dpi-aware layout in some TAChart demos (3D, axis, axisalign, axistransf).
git-svn-id: trunk@62017 -
2019-10-09 22:58:49 +00:00
martin
9593489f2f Debugger-test-base: reduce large string ops // collecting thousands of strings is better done in a list.
git-svn-id: trunk@62016 -
2019-10-09 20:06:27 +00:00
martin
9bdf6eb943 FpDebug: Tests for TFpDbgValueSize operators
git-svn-id: trunk@62015 -
2019-10-09 20:06:26 +00:00
martin
cda053352c FpDebug: Tests for bitpacked array/record
git-svn-id: trunk@62014 -
2019-10-09 20:06:24 +00:00
martin
9997f386ba FpDebug: bitpacked array. workaround for issue #36144
git-svn-id: trunk@62013 -
2019-10-09 20:06:22 +00:00
martin
cbe21ff4f3 FpDebug: implement watching bitpacked array/record
git-svn-id: trunk@62012 -
2019-10-09 20:06:21 +00:00
martin
f96c6b9f66 FpDebug: Fix "set of (10..20)" (subrange)
git-svn-id: trunk@62011 -
2019-10-09 20:06:18 +00:00
martin
bbc36a7e52 FpDebug: Add test for "set of (10..20)" (subrange)
git-svn-id: trunk@62010 -
2019-10-09 20:06:17 +00:00
martin
8b2fa08f3c FpDebug: More fixes to compile for Mac
git-svn-id: trunk@62009 -
2019-10-08 22:50:23 +00:00
juha
a30fafcc1f Sparta: Fix building with define USE_GENERICS_COLLECTIONS.
git-svn-id: trunk@62008 -
2019-10-08 20:28:24 +00:00
martin
4b627656b1 FpDebug: Fix compile for Mac / removed 2 left over declarations / error introduced in watchpoint work
git-svn-id: trunk@62007 -
2019-10-08 18:18:10 +00:00
juha
33ed908dbc Designer: Add debug lines to designer code and class destructors for testing issue #36151.
git-svn-id: trunk@62006 -
2019-10-08 17:12:10 +00:00
martin
f6616221d8 FpDebug: Fix crash on hitting just deleted breakpoint (race condition leads to nil object access)
git-svn-id: trunk@62005 -
2019-10-06 22:00:31 +00:00
maxim
71fc709658 POChecker: do not silently remove nonexistent .pot files when populating master file list on form show, let user be notified about them when scanning directory or running tests
git-svn-id: trunk@62004 -
2019-10-06 21:03:03 +00:00
juha
d3daac07ac LCL-GTK2: Improve logic for loading LibAppIndicator3 for TrayIcon. Based on research by D.Bannon. Issue #35723.
git-svn-id: trunk@62003 -
2019-10-06 15:29:55 +00:00
juha
7bbe5e6973 LazUtils: Revert part of r61999 #58b76f8a40.
git-svn-id: trunk@62002 -
2019-10-06 13:50:02 +00:00
juha
6362b3d71a Designer: Fix a crash bug caused by r61974 #dcb8bd49fb. Top form has no Owner.
git-svn-id: trunk@62001 -
2019-10-06 13:43:11 +00:00