Juha
c14934764c
LCL: Call TThemeServices.GetDetailSizeForPPI with proper arguments. Revert 1138d26280
.
2023-04-27 17:23:33 +03:00
Juha
870e1c8e71
Menu designer: Forward typed keys from menu editor to OI. Add missing GPL headers. Issue #34231 .
2023-04-22 15:17:20 +03: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
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
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
53ee66450d
LazUtils: Move exception and stack trace stuff to new LazTracer. Move function ConvertLineEndings to LazUtilities.
...
git-svn-id: trunk@58255 -
2018-06-14 09:05:50 +00:00
juha
3574bdfb6d
Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
...
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
ondrej
a914eaa29d
IDE: use TLCLGlyphs for IDE buttons
...
git-svn-id: trunk@57857 -
2018-05-08 23:10:58 +00:00
ondrej
f68e29767c
IDE: fix compilation. Issue #33645
...
git-svn-id: trunk@57700 -
2018-04-25 07:02:37 +00:00
juha
e27232d4cc
Fix uninitialized variables based on compiler warnings got with dfa (data flow analysis) enabled.
...
git-svn-id: trunk@55211 -
2017-06-04 15:14:29 +00:00
michl
ffc5841e9a
MenuEditor: Simplify and removed optic bug for icon choose dialog.
...
git-svn-id: trunk@55081 -
2017-05-25 13:50:47 +00:00
michl
873c73c12e
IDE: High-DPI: MenuEditor Images. Issue #31877
...
git-svn-id: trunk@55034 -
2017-05-21 19:58:47 +00:00
mattias
9aefaf534a
IDE: menu designer: do not call ProcessMessages
...
git-svn-id: trunk@54863 -
2017-05-10 17:25:34 +00:00
juha
9743e071e7
Menu designer: Remove an unused parameter.
...
git-svn-id: trunk@54431 -
2017-03-17 10:08:28 +00:00
mattias
48545a5054
IDE: less hints
...
git-svn-id: trunk@54389 -
2017-03-12 19:08:55 +00:00
juha
b77306c3df
Menu designer: formatting.
...
git-svn-id: trunk@54374 -
2017-03-08 20:33:56 +00:00
juha
13a7fe6856
Menu designer: Remove useless info about RadioItems, prevent the GUI position jumping with long MenuItem names.
...
git-svn-id: trunk@54373 -
2017-03-08 20:33:55 +00:00
joost
1de2cbf586
general: Updated address of the Free Software Foundation in copyright messages
...
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
michl
b8e6ac48a0
Menu designer: Prevent AV, if Menu designer is opened and more then one TPopupMenu are edited and selected in Object inspector.
...
git-svn-id: trunk@53851 -
2017-01-03 09:48:20 +00:00
michl
1cafe8164f
Menu designer: Free Shadowmenu at the same moment, when menu designer handler hook is removed.
...
git-svn-id: trunk@53846 -
2017-01-02 22:52:52 +00:00
michl
227b8222b5
Menu designer: Prevent AV by opening menu designer after deleting menu item in object inspector.
...
git-svn-id: trunk@53845 -
2017-01-02 22:27:05 +00:00
juha
3fe2624774
Menu designer: Prevent a crash when OI was closed. Issue #31152 , patch from AlexeyT.
...
git-svn-id: trunk@53817 -
2016-12-31 13:11:35 +00:00
juha
61e72dabdc
Menu designer: Add/remove OnDesignerSetSelection handler when window is shown/hidden. Issue #30712 , inspired by a patch from Michl.
...
git-svn-id: trunk@53087 -
2016-10-09 20:13:37 +00:00
juha
bd674747c1
Menu designer: Use Invalidate instead of Repaint.
...
git-svn-id: trunk@53080 -
2016-10-08 11:02:15 +00:00
juha
fd5482a304
Revert r52264 #f155e60e36. It caused a crash in menu designer.
...
git-svn-id: trunk@52271 -
2016-05-03 10:58:10 +00:00
juha
f155e60e36
MenuDesigner: Put BeginUpdate / EndUpdate into better places.
...
git-svn-id: trunk@52264 -
2016-05-02 11:01:56 +00:00
juha
a483fc5371
MenuDesigner: Jump also to an existing OnClick handler. Fix crash when changing projects.
...
git-svn-id: trunk@52260 -
2016-04-29 14:44:51 +00:00
juha
e49084d8b3
MenuDesigner: Don't delete a newly created menu item through SelectionChanged event. Prevents an access violation. Issue #30056 .
...
git-svn-id: trunk@52259 -
2016-04-29 12:42:46 +00:00
juha
ad4ce23e31
MenuEditor: Formatting.
...
git-svn-id: trunk@52258 -
2016-04-29 12:42:41 +00:00
ondrej
eb754b6fff
ide: solve Invalid Type Cast in menu editor + TFrame. Issue #29955 , patch from Denis Kozlov
...
git-svn-id: trunk@52107 -
2016-04-05 21:14:41 +00:00
juha
66e2cfedc0
Menu designer: Fix a link to Help. Issue #29805 , patch from FTurtle.
...
git-svn-id: trunk@51900 -
2016-03-10 14:03:46 +00:00
juha
b52946c070
Menu designer: Use a TEdit instead of TForm as an in-place-editor for Caption.
...
git-svn-id: trunk@51623 -
2016-02-14 09:22:07 +00:00
juha
6fd4274fb1
Menu designer: Use TShortcutDisplayDlg from a new unit.
...
git-svn-id: trunk@51617 -
2016-02-13 13:09:37 +00:00
juha
c440bfd8e0
Menu designer: Cleanup. Move few nested functions to methods.
...
git-svn-id: trunk@51552 -
2016-02-09 12:52:35 +00:00
juha
d3c7bafc88
Menu designer: Move GUI related classes and functions to MenuEditorForm.
...
git-svn-id: trunk@51547 -
2016-02-08 21:47:25 +00:00
juha
969f23b12f
Menu designer: Free the designer correctly. The GUI form is not a master any more.
...
git-svn-id: trunk@51545 -
2016-02-08 21:47:18 +00:00
juha
3f1790264f
Menu designer: Separate GUI from logic better. Reduce dependencies. Use a new TMenuDesignerBase.
...
git-svn-id: trunk@51542 -
2016-02-08 20:00:31 +00:00
juha
23e3213c00
Use the new unit MenuShortcuts in MenuEditorForm and MenuShadows.
...
git-svn-id: trunk@51492 -
2016-02-03 20:17:28 +00:00
juha
d8eb3a2d5c
Menu designer: Remove useless code.
...
git-svn-id: trunk@51491 -
2016-02-03 20:17:27 +00:00
juha
cf1e8aa093
Menu designer: Refactoring, reduce cyclic dependency between MenuShadows and MenuDesigner.
...
git-svn-id: trunk@51490 -
2016-02-03 20:17:26 +00:00
juha
233b5770d2
Menu designer: Reduce nested functions in TMenuDesigner.GetPopupAssignmentCount.
...
git-svn-id: trunk@51489 -
2016-02-03 20:17:24 +00:00
juha
b205f54650
Menu designer: Improve variable usage and visibility in TMenuDesigner.GetItemCounts.
...
git-svn-id: trunk@51488 -
2016-02-03 20:17:19 +00:00
juha
83ecb7738d
Menu designer: Improve texts in resourcestrings. Issue #29411 , patch from Péter Gábor.
...
git-svn-id: trunk@51311 -
2016-01-18 15:13:42 +00:00
juha
8faa0fe7f0
Menu editor: organize uses sections.
...
git-svn-id: trunk@51299 -
2016-01-15 12:37:31 +00:00
ondrej
68078c15d0
ide: menu designer: remove scroller panel and use scroll box. Issue #29369 , #29399
...
git-svn-id: trunk@51298 -
2016-01-15 10:23:33 +00:00
ondrej
2874f98ddf
IDE: menu designer: prevent AV
...
git-svn-id: trunk@51254 -
2016-01-11 17:09:36 +00:00
ondrej
d1790be9f0
IDE: menu designer:
...
- The Checkmark and RadioItem dialog has been removed.
- A new groupbox in the side panel reports on GroupIndex values for each submenu (if relevant).
- Unnecessary resourcestrings in the original patch have been removed.
- Fake insertion entry has been implemented with self-descriptive texts and removal of the patterned background.
Issue #29205 , by Howard Page-Clark
git-svn-id: trunk@51252 -
2016-01-11 15:04:44 +00:00
ondrej
61b8894157
IDE: menueditor improvements:
...
- allow empty menus
- remove menu start-up prompt
git-svn-id: trunk@51248 -
2016-01-11 12:29:01 +00:00
ondrej
f3ec76381d
MenuDesigner: new method IsUpdate for MenuDesigner (related to BeginUpdate and EndUpdate) to prevent IDE crash. Fix for issue #29362 . (merged from sparta, by hnb)
...
git-svn-id: trunk@51241 -
2016-01-10 20:58:45 +00:00
juha
d5272def5e
MenuDesigner: BeginUpdate and EndUpdate methods to prevent AV. Related changes in menushadows.pp inside method TShadowMenu.DeleteChildlessShadowAndItem
...
(operation ownsIt.RemoveComponent(mi) was the starting point for many TMenuDesigner.OnDesignerSetSelection calls, especially visible with Sparta package.
During execution OnDesignerSetSelection, caller object TShadowMenu was destroyed after RemoveComponent operation, before end of DeleteChildlessShadowAndItem).
Issue #29328 , from Maciej.
git-svn-id: trunk@51212 -
2016-01-06 15:16:20 +00:00