Commit Graph

1293 Commits

Author SHA1 Message Date
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
Jesus Reyes A
81a1feb88d IdeIntf: Fix BufDataset component editor "Save Data to File" verb 2021-08-27 17:45:57 -05:00
Maxim Ganetsky
024b3db6e4 Translations: Brazilian Portuguese translation update by Marcelo B Paula, issue #39320 2021-08-09 01:26:13 +03:00
Maxim Ganetsky
a99a246084 IDEIntf: improved New Field dialog layout, issue #39303 2021-08-04 01:45:53 +03:00
Maxim Ganetsky
3dc2ceaa6d IDEIntf: regenerated translations and updated Russian translation 2021-08-03 01:40:43 +03:00
Maxim Ganetsky
cbb9bd7d09 IDEIntf: improved error messages when it is not possible to get the database fields list, issue 39304 2021-08-03 01:38:16 +03:00
Maxim Ganetsky
d47af6022a IDEIntf: Reverted part of 79519f5acc (Improve an exception error message in OI for issue #35322).
This message improvement didn't help in case of issue #35322 ("Access violation" became "Access violation with value "(True)"") and broke error messages in object inspector in case the entered name there is not a valid Pascal identifier.
2021-08-03 00:41:52 +03:00
Maxim Ganetsky
00498ec342 Revert "Merge branch 'main' into 'main'"
This reverts merge request !2
2021-08-01 21:38:06 +00:00
Zaher Dirkey
7bdb02f371 Add Set Search Text/SetSearchText editor command to Set the current selection to search text (Ctrl+K - F) 2021-07-31 22:46:43 +03:00
juha
ce0d904223 IdeIntf: Allow multi-line property editors in Dialogs, TTaskDialog. Issue #39170, patch by Don Siders.
git-svn-id: trunk@65388 -
2021-07-06 20:19:58 +00:00
michl
5a21cedcbb IdeIntf: Disable copy/paste of TAction in Object Inspector tree because it does not work for some reason. Issue #19530.
git-svn-id: trunk@65354 -
2021-07-03 08:31:39 +00:00
juha
3fb4c2c8a7 IdeIntf: Disable copy/paste of TMenuItem in Object Inspector tree because it does not work for some reason. Issue #19530.
git-svn-id: trunk@65341 -
2021-07-02 18:52:02 +00:00
mattias
91763f2247 set trunk version to 2.3.0
git-svn-id: trunk@65242 -
2021-06-15 14:00:39 +00:00
michl
a2d9e364aa IDE: Workaround to refresh values of CollectionPropertyEditor when control of same class is selected. Issue #38910
git-svn-id: trunk@65134 -
2021-05-25 20:51:17 +00:00
michl
30e1eb1591 DockedFormEditor: Preparing IDE for AnchorDesigner UnDo/ReDo
git-svn-id: trunk@65107 -
2021-05-12 16:07:12 +00:00
michl
1581009347 AnchorDockingDsgn: Set FloatingWindowsOnTop per default in new created IDE. See issue #19272
git-svn-id: trunk@65062 -
2021-04-25 15:58:56 +00:00
mattias
39035d597a IDEIntf: objectinspector: fixed frreing not used prop editors
git-svn-id: trunk@65013 -
2021-04-17 11:34:48 +00:00
michl
0a2e80cbc4 DockedFormEditor: Preparing for SyncCodeAndForm
git-svn-id: trunk@65001 -
2021-04-15 20:09:53 +00:00
juha
7b18690162 Remove an obsolete dbg message when deleting a comp. Remove "var" from params when not needed.
git-svn-id: trunk@65000 -
2021-04-15 19:22:38 +00:00
mattias
74b6997d63 ide: on app activate: invalidate file state cache immediately
git-svn-id: trunk@64899 -
2021-04-02 17:26:11 +00:00
juha
f4cb483f2d IDE: Fix reading ancestor type TFrame for object in LFM when it is not a direct ancestor. Issue #38585, patch from Martok.
git-svn-id: trunk@64800 -
2021-03-14 07:41:46 +00:00
juha
41c2e02039 IDE: Guess ancestor type TFrame using heuristics. Issue #38585.
git-svn-id: trunk@64769 -
2021-03-09 09:11:14 +00:00
juha
9046b533af LazUtils: New LazStartsStr and similar functions. StartsStr etc. in StrUtils return False for empty sub-string, thus Delphi incompatible.
git-svn-id: trunk@64743 -
2021-03-04 08:58:54 +00:00
mattias
3679936306 IDEIntf: comment
git-svn-id: trunk@64732 -
2021-03-03 10:24:09 +00:00
mattias
62c37ad72a updated Makefiles
git-svn-id: trunk@64567 -
2021-02-13 13:01:14 +00:00
juha
d608622e30 IdeIntf: Reduce calls to UpperCase() and LowerCase().
git-svn-id: trunk@64548 -
2021-02-12 10:26:41 +00:00
juha
077ebbe494 Optimise string manipulation. Reduce calls to Copy().
git-svn-id: trunk@64527 -
2021-02-11 14:08:24 +00:00
juha
77e6853ca6 Components: Reduce calls to LowerCase().
git-svn-id: trunk@64515 -
2021-02-10 13:43:15 +00:00
juha
4733d3b7a1 Fix compilation with FPC 3.0.4.
git-svn-id: trunk@64498 -
2021-02-05 20:07:12 +00:00
juha
e6d96156ec BuildIntf, IdeIntf, LazUtils: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64464 -
2021-02-05 11:28:07 +00:00
juha
20c5ac47c0 IDE: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64440 -
2021-01-29 19:59:04 +00:00
juha
b5423bfb19 IdeIntf: Refresh OI's component TreeView also when it is not initially open.
git-svn-id: trunk@64433 -
2021-01-29 14:52:03 +00:00
martin
41f5ee5ea0 IdeIntf: added TIDEEditorOptions.CreateSynHighlighter
git-svn-id: trunk@64428 -
2021-01-27 21:00:17 +00:00
juha
751852a44a LazUtils: New function UTF8CompareLatinTextFast. Use in IDE instead of UTF8CompareText.
git-svn-id: trunk@64385 -
2021-01-14 13:52:23 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
d7c926139c IdeIntf: Use CompareText for comparing IDEWindowStateNames.
git-svn-id: trunk@64382 -
2021-01-13 09:45:39 +00:00
martin
85dd4b9122 Fix Memleak in TComponentTreeView.Destroy
git-svn-id: trunk@64320 -
2021-01-03 01:48:34 +00:00
juha
33cb0bd3a6 IdeIntf: Remember the expanded/collapsed state in OI's ComponentTree when changing designer form. Issue #33464.
git-svn-id: trunk@64313 -
2020-12-31 12:37:14 +00:00
juha
b4fc035018 Restore the "const" removed in r64300 #943e4e4ff7. Affected 3rd party components.
git-svn-id: trunk@64312 -
2020-12-31 10:57:48 +00:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
juha
c0926457b8 IdeIntf: Harmonize events for Delete, update OI's tree when plugins are deleted from PSScript.
git-svn-id: trunk@64301 -
2020-12-29 22:47:37 +00:00
juha
943e4e4ff7 IdeIntf: Remove "const" from an event. Add HookGetCheckboxForBoolean handler in OI only once.
git-svn-id: trunk@64300 -
2020-12-29 22:47:34 +00:00
juha
2d29afae9c IdeIntf: Remove an unused property OwnerComponent.
git-svn-id: trunk@64292 -
2020-12-28 19:15:26 +00:00
juha
403fc1d5f3 IdeIntf: Simplify code in ComponentTreeView.
git-svn-id: trunk@64275 -
2020-12-25 17:26:40 +00:00
juha
a28aa70a44 IdeIntf: Update also an associated Collection after deleting a component node from OI's TreeView. Issue #38235.
git-svn-id: trunk@64273 -
2020-12-25 14:34:18 +00:00
juha
deba76613b IdeIntf, Designer: Improve deleting components from OI's tree. Make a special case for PairSplitterSide. Issue #38235.
git-svn-id: trunk@64254 -
2020-12-20 14:46:02 +00:00
juha
283b70dbac Cleanup, comments.
git-svn-id: trunk@64228 -
2020-12-18 21:02:19 +00:00
juha
5cf724ae46 Designer: Give names for the side components of PairSplitter. Don't crash when deleting. Issue #38227.
git-svn-id: trunk@64225 -
2020-12-18 10:51:37 +00:00
juha
6813e28eef LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
juha
453f156da7 IdeIntf: Restore property Comps in BaseComponentPalette. Was removed accidentally in r64182 #ce1d8c1014.
git-svn-id: trunk@64190 -
2020-12-09 14:51:19 +00:00
juha
f34f7f4c56 Cleanup.
git-svn-id: trunk@64189 -
2020-12-09 11:48:28 +00:00
juha
96027c20c3 IDE: Optimize Component Palette's update logic a little.
git-svn-id: trunk@64183 -
2020-12-08 19:34:42 +00:00
juha
ce1d8c1014 IDE: Optimize ComponentPalette caches. Index by registered class instead of class name.
git-svn-id: trunk@64182 -
2020-12-08 19:34:40 +00:00
juha
e47ecfcbaa IdeIntf: Remove a wrong assertion when building component tree.
git-svn-id: trunk@64162 -
2020-11-30 19:41:18 +00:00
juha
45264a3e0c IdeIntf: Remove ComponentCandidate data from ComponentTreeView code. Not used for anything.
git-svn-id: trunk@64144 -
2020-11-16 22:20:12 +00:00
juha
14d83904c3 IdeIntf: Do not autoexpand ComponentTree in OI after component delete or ZOrder change. Issue #37434.
git-svn-id: trunk@64138 -
2020-11-15 11:41:43 +00:00
juha
9fe47fd5a6 IdeIntf: Do not autoexpand ComponentTree in OI after a component is added. Issue #33464.
git-svn-id: trunk@64133 -
2020-11-13 21:47:19 +00:00
juha
6fa295d5e4 Designer: Call DoDeletePersistent only once after deleting a control.
git-svn-id: trunk@64132 -
2020-11-13 21:47:17 +00:00
juha
6ad9a11111 IdeIntf: Fix anchors in TFieldsListFrm. Issue #37276.
git-svn-id: trunk@64071 -
2020-10-25 08:08:33 +00:00
juha
1945f8b61d IDE: In SearchResultsView replace PageControl with ExtendedNotebook which allows reordering tabs. Rename SearchAgainButton -> NewSearchButton.
git-svn-id: trunk@64038 -
2020-10-17 16:19:15 +00:00
juha
c83c7f8279 IdeIntf: Simplify hint handling in TOICustomPropertyGrid.MouseMove a little. Add comments.
git-svn-id: trunk@64029 -
2020-10-16 19:44:46 +00:00
juha
8088c1378b IdeIntf: Improve a comment about hint fonts added in previous commit.
git-svn-id: trunk@64027 -
2020-10-16 12:53:32 +00:00
juha
fa76f4f43b IdeIntf: In OI grid show the name/value in a hint if it does not fit. The "Show Hint" setting now affects only long descriptions. Issue #37901.
git-svn-id: trunk@64026 -
2020-10-16 12:01:17 +00:00
juha
f6ffe865a0 BuildIntf: Rename LazMessageDialog as LazMessageWorker to avoid name clash and to be more accurate. Same for LazQuestionDialog.
git-svn-id: trunk@63997 -
2020-10-13 11:27:28 +00:00
ondrej
0e850a7b51 IDE: object inspector: use font for default row height calculation - higher to match old value
git-svn-id: trunk@63969 -
2020-10-08 07:08:43 +00:00
ondrej
999954fab8 IDE: object inspector: use font for default row height calculation
git-svn-id: trunk@63968 -
2020-10-08 06:41:08 +00:00
martin
12b79cfbb0 IDE, IDEImages: Add comment on how to use
git-svn-id: trunk@63966 -
2020-10-07 23:40:22 +00:00
juha
5b1d9b4f7c IDE: Refactor RemoveEmptyMethods->RemoveEmptyMethodsInUnit. Remove repeat loop for parent types, props are already iterated. Prepare for issue #37163.
git-svn-id: trunk@63780 -
2020-08-18 17:35:23 +00:00
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +00:00
juha
79aa858900 IdeIntf: Fix a variable used in TBackupComponentList.IsEqual. FLookupRoot -> ALookupRoot.
git-svn-id: trunk@63778 -
2020-08-18 17:35:15 +00:00
juha
00242caf3c IdeIntf: Add caption to a GroupBox with LCL-QT5 to prevent a layout error. Issue #37576.
git-svn-id: trunk@63750 -
2020-08-16 07:54:12 +00:00
juha
777d2f64a4 IdeIntf: Remove a useless test "AComponent is TDataset". Issue #37070.
git-svn-id: trunk@63691 -
2020-08-04 19:53:42 +00:00
juha
7ed8696762 IDE: Tools/Options + startup configuration. Improve "make" location, expand paths before openfile dialogs etc. Issue #37386, patch from BrunoK.
git-svn-id: trunk@63654 -
2020-07-25 22:51:59 +00:00
juha
a8a9c4e9fb IdeIntf: Implement Selection Editors to extend handling of OI selections. Patch by Sven Barth.
git-svn-id: trunk@63626 -
2020-07-22 20:16:20 +00:00
mattias
3c431cf740 IDE: do not confirm overwrite on Cocoa, where the dialog is already confirms replace
git-svn-id: trunk@63605 -
2020-07-20 16:55:14 +00:00
mattias
61c53d6f41 LazUtils/FreeType: Separate FreeType stuff into its own package
git-svn-id: trunk@63558 -
2020-07-14 18:09:17 +00:00
mattias
8ceb09a67b make: changed default darwin lcl platform from carbon to cocoa
git-svn-id: trunk@63551 -
2020-07-13 09:00:41 +00:00
maxim
8a7112535d Translations: Chinese translation update by robsean, bug #37290
git-svn-id: trunk@63485 -
2020-07-01 21:39:48 +00:00
mattias
9dcd9ee04d updated makefiles
git-svn-id: trunk@63453 -
2020-06-28 11:01:41 +00:00
mattias
ff48695ac0 ideintf: added HandlerOnRunDebugInit
git-svn-id: trunk@63445 -
2020-06-27 08:56:43 +00:00
juha
5dbd8cdf67 IdeIntf: Do not undo property editor without paRevertable in Object Inspector. Issue #0037207, patch from Sven Barth.
git-svn-id: trunk@63437 -
2020-06-24 10:07:56 +00:00
mattias
9fea11639e IDE: new file: do not break lines at dots
git-svn-id: trunk@63405 -
2020-06-20 16:01:26 +00:00
maxim
104465304f IDEIntf: improved Russian translation
git-svn-id: trunk@63350 -
2020-06-12 22:23:39 +00:00
maxim
b91524a887 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #37201
git-svn-id: trunk@63346 -
2020-06-12 15:01:32 +00:00
martin
5bcddd28fb IDE, Debugger: Add real "Run-To"
git-svn-id: trunk@63303 -
2020-06-06 00:53:44 +00:00
martin
de80bde641 IDE: rename "run to cursor" to "step to cursor" - reflect what it really does
git-svn-id: trunk@63302 -
2020-06-06 00:53:39 +00:00
juha
d8c0fef5d2 IdeIntf: Formatting.
git-svn-id: trunk@63274 -
2020-06-02 06:56:46 +00:00
maxim
5a32b9dc2e Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #37162
git-svn-id: trunk@63263 -
2020-06-01 21:40:02 +00:00
martin
668ee99dd1 FpDocView, SourceEditor: Prevent loosing MouseCapture while user selects text with mouse. Issue #0037150
git-svn-id: trunk@63249 -
2020-05-29 16:52:36 +00:00
michl
917aadc2e0 ObjectInspector: Don't clear CompFilterEdit in SetSelection or it will always select the root note in Application.OnIdle. Related to r37349 #2d53c6ccb3. Issue #37149.
git-svn-id: trunk@63242 -
2020-05-28 21:49:21 +00:00
juha
657a925b26 IDE: Show icons in menu 'Window'. Issue #37026, patch (modified) from FTurtle.
git-svn-id: trunk@63212 -
2020-05-22 20:48:23 +00:00
michael
19c939f268 * Call modified
git-svn-id: trunk@63109 -
2020-05-01 15:17:46 +00:00
michael
c92c2be3cd * Rename dialog to avoid resource conflicts
git-svn-id: trunk@63108 -
2020-05-01 15:17:10 +00:00
maxim
d7481e96ff IDEIntf: moved TBufDatasetDesignEditor resource strings to objinspstrconsts.pas, regenerated translations and updated Russian translation
git-svn-id: trunk@63102 -
2020-04-30 23:55:19 +00:00
maxim
e205a3c230 IDEIntf: fixed typos, regenerated translations and updated Russian translation
git-svn-id: trunk@63101 -
2020-04-30 23:40:13 +00:00
michael
4bb91d9917 * Add design-time support for TBufDataset
git-svn-id: trunk@63093 -
2020-04-30 08:39:50 +00:00
juha
7ef32e6a3a IdeIntf: A new ProjectOpening event. Triggered before a project opens. Issue #36899.
git-svn-id: trunk@63085 -
2020-04-26 19:58:32 +00:00
juha
8f3367550c IDE: Move registration of TFileNamePropertyEditor into a better place.
git-svn-id: trunk@62990 -
2020-04-15 19:33:47 +00:00
juha
cca567d5e7 Designer: Restore function InvokeComponentEditor to componenteditors interface but implement it with PopupMenuComponentEditor. Must not be freed right away.
git-svn-id: trunk@62938 -
2020-04-11 09:43:14 +00:00