Commit Graph

57801 Commits

Author SHA1 Message Date
wp
028edb1573 LCL/PairSplitter: Fix Position parameter and panel widths being out of sync under some circumstances (https://forum.lazarus.freepascal.org/index.php/topic,46726.msg333773.html#msg333773).
git-svn-id: trunk@61909 -
2019-09-21 20:48:04 +00:00
martin
b1e4249c0e IDE: EditorMacros, fix property Caller.SelText/SelectionMode. (code for prop reader and writer were swapped) introduced in r61896 #6c5a95f4d7
git-svn-id: trunk@61908 -
2019-09-21 00:03:15 +00:00
maxim
bfc5807673 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #36097
git-svn-id: trunk@61907 -
2019-09-20 23:42:25 +00:00
maxim
58bc01ccf8 Translations: Slovak translation update by LacaK, bug #36088
git-svn-id: trunk@61906 -
2019-09-20 23:25:41 +00:00
maxim
e0dbe02d9b POChecker:
*) Let TPOFamilyList class handle checking of translation files presence, do not duplicate this functionality in TPoCheckerForm.TryCreatePOFamilyList.
 *) Do not remove in TPoCheckerForm.TryCreatePOFamilyList method missing entries from the list of master files (templates), only warn about them and ignore. The list will be updated (missing files will be removed and new files will be added) during the next search in directory with translations by the user.
 *) Do not try to free POFamilyList immediately if it was empty or had an exception on creation (it is enough that it is freed when POChecker form is destroyed or 'Run tests' button is pressed).
 *) Warn user if no translation files were found at all.
 *) Regenerated translations and updated Russian translation.

git-svn-id: trunk@61905 -
2019-09-20 23:05:10 +00:00
martin
9126322a34 FpDebug: tests
git-svn-id: trunk@61904 -
2019-09-19 17:29:18 +00:00
martin
ea3dfb1fa9 FpDebug: Improve detection of class vs record vs object
git-svn-id: trunk@61903 -
2019-09-19 17:29:17 +00:00
martin
f9d28f268b FpDebug: 64bit debugger exe does not have a 10bit Extended (as in 32bit exe). Cross debugger can therefore not display such values. Return an error.
git-svn-id: trunk@61902 -
2019-09-19 13:08:44 +00:00
martin
0ea8345dd4 FpDebug: tests
git-svn-id: trunk@61901 -
2019-09-18 22:14:04 +00:00
martin
e2590a7c19 FpDebug: Ensure that the Context is passed on to new Value-objects. Fix crash on nil pointer
git-svn-id: trunk@61900 -
2019-09-18 22:14:02 +00:00
martin
fa3be90f84 Formating
git-svn-id: trunk@61899 -
2019-09-18 15:49:38 +00:00
martin
ad89fb55f9 IDE: EditorMacros, fix generating error msg (avoid index out of range error). Fix type in test for whitespace. Issue #0036082
git-svn-id: trunk@61898 -
2019-09-18 15:49:37 +00:00
wp
76d23f638b TAChart: Move OpenGL-related units to separate package to avoid requirement of OpenGL libraries when TAChart is built (https://forum.lazarus.freepascal.org/index.php/topic,46713.msg333520.html).
git-svn-id: trunk@61897 -
2019-09-18 09:13:39 +00:00
martin
6c5a95f4d7 EditorMacroScript: Use "internal" (none-native) calling for object methods
git-svn-id: trunk@61896 -
2019-09-17 20:21:38 +00:00
martin
af0f513110 PascalScript: Added "internal" (none-native) calling for object methods
git-svn-id: trunk@61895 -
2019-09-17 20:21:36 +00:00
martin
6516a8c105 EnvironmentOptions: fix deleting debugger backend config
git-svn-id: trunk@61894 -
2019-09-17 12:47:11 +00:00
martin
ce36789c36 LazDebuggerFp: Improve OnIdle handling
git-svn-id: trunk@61893 -
2019-09-16 23:14:19 +00:00
martin
804b5a7be4 FpDebug: Windows, fix closing handles for sub-processes (not currently debugged). Also correctly detach.
git-svn-id: trunk@61892 -
2019-09-16 21:49:27 +00:00
martin
4137324e48 FpDebug: Check result of ReadThreadState. Do not use invalid data (on windows this lead to nil deref crash)
git-svn-id: trunk@61891 -
2019-09-16 21:49:25 +00:00
martin
bb55284e92 GdbmiDebugger/Server: FIX Add ability to inject gdb-commands specified by user.
git-svn-id: trunk@61890 -
2019-09-16 20:05:05 +00:00
martin
9ef0d523bc Added Macro Substitution to ExecuteUserCommands. Patch by Michael Ring
git-svn-id: trunk@61889 -
2019-09-16 15:15:04 +00:00
martin
63cb1e20c9 GdbmiDebugger/Server: Add ability to inject gdb-commands specified by user. Based on patch by Michael Ring
git-svn-id: trunk@61888 -
2019-09-16 15:15:03 +00:00
martin
70005fc17a IDE, XmlConfig: Added ability to store published object (TPersistent) properties / Adhere to "stored" value of properties
git-svn-id: trunk@61887 -
2019-09-16 15:15:00 +00:00
martin
e35fc25db7 GdbmiServerDebugger: Added stop on disconnect. Issue #0036076
git-svn-id: trunk@61886 -
2019-09-16 01:31:10 +00:00
martin
eea7a8300f GdbmiServerDebugger: Flag to use target extended-remote / Patch by Michael Ring
git-svn-id: trunk@61885 -
2019-09-15 23:00:37 +00:00
martin
bfb0ff05df FpDebug: Test for stepping over an breakpoint that continues (condition/auto-continue/...) / stepping over recursive calls
git-svn-id: trunk@61884 -
2019-09-15 13:22:03 +00:00
martin
52a25d352c FpDebug: move ...Command.Init into the thread. In case it needs to access process data.
git-svn-id: trunk@61883 -
2019-09-15 13:22:01 +00:00
martin
618ad4ba32 FpDebug: Fix stepping over an breakpoint that continues (condition/auto-continue/...) / Fix stepping over recursive calls
git-svn-id: trunk@61882 -
2019-09-15 13:22:00 +00:00
martin
533670667b FpDebug: Stepping commands, refactor (partly) detection of "call" instruction.
git-svn-id: trunk@61881 -
2019-09-14 14:33:10 +00:00
martin
48f15f849d FpDebug: Stepping commands, refactor HiddenBreakpoint:
- Move to base-class
- No need to check for other breakpoints (fpdebug can now handle several brk at same address)
- Stop step-out, if break failed to set

git-svn-id: trunk@61880 -
2019-09-14 14:33:09 +00:00
martin
1c5491c441 FpDebug: tests for step over
git-svn-id: trunk@61879 -
2019-09-14 14:33:07 +00:00
martin
c5fe550fbe FpDebug: Stepping commands, set Handled = Finished => so the loop will end if a step is done
git-svn-id: trunk@61878 -
2019-09-14 14:27:48 +00:00
martin
cc1055fbed FpDebug: Windows, fix stepping over (temp-removed) breakpoint.
- If another thread received a signal before the "step-finished signal" (e.g. thread created / pending sigs) then the temp-break was back in place and kept in place -> the break was hit again instead of stepping over it.
- If another thread exited (and the exit signal was received before the "step-finished signal" then no handling was done at all (no threads suspended / no temp remove breaks)

git-svn-id: trunk@61877 -
2019-09-14 14:27:47 +00:00
martin
fc1a436bed FpDebug: Linux, do not add any SigStop to deferred event list. (It going to be ignored as deInternalContinue anyway)
git-svn-id: trunk@61876 -
2019-09-14 14:27:45 +00:00
martin
4be5e94e3e FpDebug: Linux, do not modify running processes (in case of deInternalContinue, some processes may not be paused)
git-svn-id: trunk@61875 -
2019-09-14 14:27:44 +00:00
martin
c7fae55176 FpDebug: fix flag for breakpoint
git-svn-id: trunk@61874 -
2019-09-14 14:27:42 +00:00
martin
151412f007 FpDebug: improve stepping.
Refactor: Capture initial data before DoContinue
Fix/Improve: Only check and continue the thread that is stepped / Make HiddenBreakpoint hidden from the rest of the controller.

git-svn-id: trunk@61873 -
2019-09-14 14:27:41 +00:00
martin
f17b2727f4 FpDebug: re-arrange order of some classes
git-svn-id: trunk@61872 -
2019-09-14 14:27:39 +00:00
mattias
c1a8c22f07 codetools: sourcecloser: fixed cleaning up unit begin block
git-svn-id: trunk@61871 -
2019-09-13 19:23:20 +00:00
mattias
927af7729c codetools: omit end keyword of unit begin block
git-svn-id: trunk@61870 -
2019-09-13 19:22:42 +00:00
martin
85a2eb7321 FpDebug: fixed uninitialized var, could prevent debugger from stopping when app exits
git-svn-id: trunk@61869 -
2019-09-13 12:09:32 +00:00
balazs
55976aef82 Opkman: Remove flag pcfCompileDependenciesClean since it does not help with the "incompatible ppu" error.
git-svn-id: trunk@61868 -
2019-09-13 09:27:16 +00:00
martin
3fce95a1c2 FpDebug: Windows, debugln/dbgs include WOW64 names
git-svn-id: trunk@61867 -
2019-09-12 15:33:14 +00:00
martin
c9beb9dffe FpDebug: Windows, fixed Process.Continue with single step request
git-svn-id: trunk@61866 -
2019-09-12 15:33:12 +00:00
martin
cae3f56d05 FpDebug: fixed nil pointer crash when clearing breakpoints, after the debugged app exited.
git-svn-id: trunk@61865 -
2019-09-12 15:33:11 +00:00
martin
df6722dd5f FpDebug: Ensure that exit thread aborts any running command. (The command may change the event-enum-code in FPDEvent, and try to continue running)
git-svn-id: trunk@61864 -
2019-09-12 15:33:09 +00:00
martin
479abc2507 Put ecFindOverload into IFDEF, all the rest related to this command is also ifdefed
git-svn-id: trunk@61863 -
2019-09-11 14:23:15 +00:00
martin
25f44c7bb3 Put ecFindOverload into IFDEF, all the rest related to this command is also ifdefed
git-svn-id: trunk@61862 -
2019-09-11 14:19:55 +00:00
martin
10f69d1561 IDE, Keymap: Amend r61854 #83e546aa9f, if no breakpoint pre-exists, it will be created disabled. Issue #0036061
git-svn-id: trunk@61861 -
2019-09-11 12:49:37 +00:00
maxim
5fdbdc4c9a Opkman: regenerated translations and updated Russian translation
git-svn-id: trunk@61860 -
2019-09-10 23:21:27 +00:00