Commit Graph

61413 Commits

Author SHA1 Message Date
Juha
de4f724924 Revert checking for Pascal keywords in LazIsValidIdent which is used also for unit names etc. Prevent illegal name by other means. 2021-09-28 14:33:36 +03:00
Juha
7cb38d7bc6 IDE: Check Filename<>UnitName mismatch only when Codetools was able to parse the source. Issue #22921. 2021-09-28 12:03:07 +03:00
balazs
3e382c4b5b OpkMan: Erase all files in the destination directory before installation begins. 2021-09-28 10:56:33 +03:00
Juha
824e696005 IDE: Remove Assert() that prevented adding source files with errors in them. Issue #22921. 2021-09-28 01:46:02 +03:00
Martin
0f830698c0 IDE, SourceEditor: TopLineInfoHint, reduce amount of memory re-allocs 2021-09-28 00:14:03 +02:00
Martin
e177cf97c2 IDE, SourceEditor: TopLineInfoHint, clear any lines while waiting for the highlighter. This ensures that there are no references to no-longer-existing lines (if lines got deleted). "PaintLines" could otherwise try to access those out-of-range lines.
Also clear data, if Highlighter is changed.
2021-09-28 00:13:25 +02:00
Martin
031eb66656 SynEdit: Highlighter, make sure to call SendHighlightChanged (even if lines where deleted, instead of scanned / HL still changed back to valid/"no scan needed") 2021-09-28 00:07:54 +02:00
dsiders
1d0d348cf6 Docs: LazUtils/lcsvutils. Updates topic content. 2021-09-27 20:38:36 +01:00
Juha
a8a398e553 PascalScript: Fix event TPSOnProcessDirective signature. Active clashed with TForm.Active. Issue #39359. 2021-09-27 22:08:54 +03:00
Juha
2a179b8402 IDE: Simplify code in GetIdentCompletionValue a little. 2021-09-27 22:08:54 +03:00
Marc
f67149d196 Ideintf: check parent row interface when checking if TInterfacePropertyEditor is expandable 2021-09-27 20:12:45 +02:00
Juha
907f82485b IDE: When completing a label, add a colon (':') after it. Issue #38307. 2021-09-27 20:35:48 +03:00
Juha
1ab7994de1 IdeIntf: Remove a hack in StringsPropEditDlg related to QT5 and issue #37576. 2021-09-26 23:38:49 +03:00
Juha
ce6715ed78 Correct spelling errors for "Width" in various units. Issue #39402, patch by Don Siders. 2021-09-26 21:40:16 +03:00
Basile Burg
45a590ed0b Revert partly "Add HookGetCheckboxForBoolean handler in OI only once."
This reverts partly commit 943e4e4ff7.
2021-09-26 21:07:43 +03:00
Basile Burg
0b368ce10d Revert "IdeIntf: Synchronize TTIPropGrid checkbox for bool props. Issue #39378, patch by Basile.B."
This reverts commit d3c2bb5ce6.
2021-09-26 16:36:52 +02:00
Martin
0a2bc87781 FpDebug: Fixed mem leak. 2021-09-26 16:02:26 +02:00
Juha
b7ab9549a6 IdeIntf: Improve recursion in TComponentTreeView.FindAndChange. Call RebuildCollection only once per deleted comp. Issue #39290. 2021-09-26 14:15:17 +03:00
Juha Manninen
0ffa296511 Merge branch 'jshand2021-main-patch-93706' into 'main'
Update create_fpc_rpm.sh

See merge request freepascal.org/lazarus/lazarus!9
2021-09-26 08:24:04 +00:00
Juha Manninen
4efd1734e9 Merge branch 'jshand2021-main-patch-87160' into 'main'
Update create_lazarus_export_tgz.sh

See merge request freepascal.org/lazarus/lazarus!10
2021-09-26 08:20:03 +00:00
dsiders
86a3ea8328 Docs: LazUtils/lazstringutils. Updates content for LazIsValidIdent topic.
* depends on 5a1abf73.
2021-09-26 03:09:43 +01:00
Martin
f47220cc47 FpDebug: Add asserts 2021-09-26 02:09:18 +02:00
Martin
c8a6a985d0 LazDebuggerFp: Do not call GetInstructionPointerRegisterValue (ReadThreadState) while target may be running. Also do not call from IDE thread (only debug worker thread is allowed). 2021-09-26 02:01:50 +02:00
Martin
f99f5c0ed9 LazDebuggerFp: Make sure OnIdle is called, and all results are awaited. (Fixes Debug History) / DebugManager triggers snapshots for any dsPause and dsInternalPause. 2021-09-26 01:56:00 +02:00
Martin
edb26c9d33 IDE, Debugger: Fix History. Make sure callstack entries are requested.
Currently TDebugManager.DebuggerChangeState triggers 2 consecutive calls do DoDebuggerIdle, so Count may not be available and smrCallStack got set incorrectly.
2021-09-26 01:50:53 +02:00
Juha
f6b7ba2662 Designer: Prevent an illegal name for a component when "Ask name on create" is enabled. Issue #39292. 2021-09-26 01:18:05 +03:00
Juha
5a1abf733a LazUtils: Check for Pascal keywords in LazIsValidIdent. Must be prepended with '&'. Merge request 11 by Abdullahi Usman. 2021-09-26 01:18:05 +03:00
Juha
0b817c8df3 IDE: Fix the order of iteration of units when searching class definition. 2021-09-25 19:37:06 +03:00
Martin
0da24dda48 IDE: EditorOpts, Line-number gutter, "Every Nth Line" must be 1 or greater. Issue #39394 2021-09-24 22:02:19 +02:00
Martin
9cf535759e SynEdit: Linenumber gutter, "Every Nth Line" must be 1 or greater. Issue #39394 2021-09-24 22:00:25 +02:00
dsiders
059c77a655 Docs: LCL/comctrls. Corrects typo in 92c69567. 2021-09-24 16:18:04 +01:00
Martin
668fd03717 WS, Win32: ShowModal, Fix checking for correct handle. Prevent crash. See Issue #39314 2021-09-24 16:22:41 +02:00
Martin
e76bdc6b5b WS, Win32: SelectFolderDialog, make sure widgetset is initialized. Issue #39314 2021-09-24 16:12:19 +02:00
Martin
754cedea82 WS, Win32: ShowModal, Fix checking for correct handle. Prevent crash. See Issue #39314 2021-09-24 15:48:45 +02:00
Martin
05970c6b0f IDE: TODO/NOTE for EditorOptions, Color, fix "reset all". Issue #39388 2021-09-24 11:54:25 +02:00
Martin
ff2da4d6be IDE: EditorOptions, Color, fix "reset all". Issue #39388 2021-09-24 11:36:23 +02:00
wp_xyz
fb4681dd53 TAChart: Fix crash when TCubicSplineSeries.Calculate is called. Issue #39393. 2021-09-23 23:09:38 +02:00
dsiders
92c69567d4 Docs: LCL/comctrls. Updates topic content for changes to address issue #39391.
* depends on 6eca378f.
2021-09-23 21:43:34 +01:00
Bart
6eca378f9d TListView: call OnDeletion also when destroying. Issue #39391. 2021-09-23 14:16:03 +02:00
Martin
736bc5f5b4 JitClasses: Allow empty lookup UnitName for classes. 2021-09-23 02:02:36 +02:00
Martin
d948ad6717 JitClasses: Fix property parsing / Allow "class" access via type in library 2021-09-23 02:02:36 +02:00
wp_xyz
5ad938c07a IDEIntf/ImageListEditor: Fix incorrect anchoring of label "Transparent color" causing overlap at high-dpi. 2021-09-22 22:05:39 +02:00
dsiders
6a29f96cec Docs: LCL/propertystorage. Adds or updates topic content. 2021-09-22 19:55:02 +01:00
wp_xyz
22138558b0 Examples/pen_brush: Fix compilation with fpc 3.3.1 2021-09-22 19:52:20 +02:00
wp_xyz
e8affb6df1 IDEIntf/ActionsEditor: Improved spacing of items in actionlistbox. Issue #39386. Patch by Roland H. 2021-09-21 22:11:39 +02:00
Maxim Ganetsky
b052f21566 Merge branch 'ide-de-translations' into 'main'
update IDE German translation

See merge request https://gitlab.com/freepascal.org/lazarus/lazarus/-/merge_requests/15
2021-09-21 00:11:21 +03:00
Bernd K
7f2bcc9a94 update translations (mainly Desktops and also some others) 2021-09-21 00:05:14 +03:00
Juha
d3c2bb5ce6 IdeIntf: Synchronize TTIPropGrid checkbox for bool props. Issue #39378, patch by Basile.B. 2021-09-20 17:56:37 +03:00
wp_xyz
b05d327799 IDEIntf/ImageListEditor: Allow multi-selection for "Replace all resolutions". Immediately update the preview image when images are added/replaced. Patch by Roland Hahn. 2021-09-19 19:53:17 +02:00
dsiders
34bef0cbf9 Docs: LazUtils/laz2_xpath. Adds or updates topic content. 2021-09-18 19:37:34 +01:00