Commit Graph

61268 Commits

Author SHA1 Message Date
Dmitry Boyarintsev
cbb2859959 cocoa: making UpdateTabAndArrowVisibility part of the interface 2021-09-30 00:20:16 +03:00
Dmitry Boyarintsev
90efbfef0f cocoa: evaluating the need of next and prev arrows on the change of the tab caption 2021-09-30 00:20:16 +03:00
dsiders
ee4324bbe5 Docs: LCL/graphics. Fixes an invalid topic name, and updates topic content. 2021-09-29 17:30:32 +01:00
Bernd Kreuss
58bab52639 MakeResStrDialog: remove hardcoded default colors, use system colors instead 2021-09-29 01:25:38 +03:00
Bernd Kreuss
3a13f819f7 fix env_file_filters hardcoded colors 2021-09-29 01:20:14 +03:00
Maxim Ganetsky
b6d3ecd5bb IDE: updated lazarus.lpi, hint by Bernd K., merge request !20 2021-09-29 01:01:04 +03:00
Marc
abaaabf4b3 IdeIntf: Replace CallStoredFunction implementation with a call to TypInfo.IsStoredProp since it covers all stored cases
* Deprecate HasStoredFunction since it is always true now
2021-09-28 23:19:16 +02:00
dsiders
1c0f3e699c Docs: LazUtils/lazstringutils. Updates LazIsValidIdent for revert in de4f7249. 2021-09-28 18:59:14 +01:00
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