Commit Graph

1592 Commits

Author SHA1 Message Date
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
ondrej
23412ffff1 IDE: designer: fix AV when deleting components from the designer popup menu. Issue #30900
git-svn-id: trunk@54355 -
2017-03-06 16:07:37 +00:00
ondrej
57d740ca4a IDE: taborderdlg: fix ExpandSignSize
git-svn-id: trunk@54229 -
2017-02-21 18:17:24 +00:00
maxim
1926d5f29d IDE: improved TabOrder dialog i18n
git-svn-id: trunk@54116 -
2017-02-07 22:24:27 +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
juha
56a4609632 IDE: In TabOrder dialog sort tab orders for child controls recursively. Issue #31270, patch from Zoran Vučenović.
git-svn-id: trunk@53999 -
2017-01-24 22:53:32 +00:00
michl
37df3d9157 Menu designer: Prevent AV (occurs with SpartaDockedFormEditor) when sub menu is inserted after new menu item was inserted.
git-svn-id: trunk@53852 -
2017-01-03 11:45:19 +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
michl
3b823338c4 Menu designer: deleting a menu item in designer, refreshing object inspector
git-svn-id: trunk@53832 -
2017-01-01 20:41:40 +00:00
zeljko
e5c103cca1 IDE: fixed AV in anchoreditor. Patch by FTurtle. issue #31177
git-svn-id: trunk@53821 -
2017-01-01 10:24:59 +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
8ed63aff69 IDE: Update OI properly when closing a project. Issue #31153.
git-svn-id: trunk@53764 -
2016-12-22 22:29:17 +00:00
juha
fa1813ea1d AnchorEditor enhancements. Issue #31131, patch from FTurtle.
git-svn-id: trunk@53710 -
2016-12-17 22:58:00 +00:00
mattias
9ff6541b70 lcl: added protected TCustomTreeView.CreateNodes, issue #31111
git-svn-id: trunk@53660 -
2016-12-12 21:10:54 +00:00
juha
6e32346069 Improve AnchorEditor title format. Issue #31089, patch from Péter Gábor.
git-svn-id: trunk@53619 -
2016-12-09 10:22:11 +00:00
juha
93cb7dea9d AnchorEditor layout enhancements. Issue #31080, patch from FTurtle.
git-svn-id: trunk@53605 -
2016-12-08 22:46:11 +00:00
mattias
144135bfcc IDE: designer: fixed show border spacing, patch #30876, from Michl
git-svn-id: trunk@53320 -
2016-11-08 15:56:08 +00:00
ondrej
f7daccaf3b IDE designer: refactor AddComponent, add it to IDEIntf. Issue #30459
git-svn-id: trunk@53259 -
2016-10-29 09:45:53 +00:00
mattias
4bb3ff1725 IDE: designer: menu templates: simplified cfgpath
git-svn-id: trunk@53227 -
2016-10-26 16:45:22 +00:00
mattias
01e9778944 IDE: designer: avoid name clash
git-svn-id: trunk@53179 -
2016-10-20 15:12:46 +00:00
mattias
3954c0ae9b IDE: designer: change parent: create OI if needed
git-svn-id: trunk@53171 -
2016-10-19 23:41:27 +00:00
mattias
ffa60a93df IDE: designer: fixed enabling Change Parent when no OI is present
git-svn-id: trunk@53169 -
2016-10-19 23:12:08 +00:00
juha
0973660a48 LazUtils: Unify formatting between FileIsReadable and FileIsWritable + other formatting.
git-svn-id: trunk@53127 -
2016-10-16 20:06:33 +00:00
juha
5d2499fc2c Designer: Enlarge AnchorEditor window a little.
git-svn-id: trunk@53126 -
2016-10-16 20:06:27 +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
6625ac8e9c Menu designer: Refactor TShadowMenu.AddImageListIcon more.
git-svn-id: trunk@53082 -
2016-10-08 17:44:59 +00:00
juha
4336f9fe8c Menu designer: Refactor, reuse code.
git-svn-id: trunk@53081 -
2016-10-08 11:02:26 +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
45e651f472 Menu designer: Don't toggle the Checked state of an AutoCheck menu item. Instead call real item's Click method. Issue #30689.
git-svn-id: trunk@53079 -
2016-10-08 10:23:36 +00:00
juha
bb4d3113ac Menu designer: Disable TMenuItemsPropertyEditor. It opened a menu editor window always when selecting a menu item in OI.
git-svn-id: trunk@53074 -
2016-10-07 10:31:42 +00:00
mattias
c63ea78901 IDE: designer: fixed missing func result
git-svn-id: trunk@53032 -
2016-09-25 12:54:26 +00:00
juha
09b9c0261c ActionsEditor: Show new actions properly. Optimize and format a little. Issue #30636.
git-svn-id: trunk@53031 -
2016-09-25 11:33:40 +00:00
mattias
0eca7b739e IDE: fixed mem leak in jitforms, bug #30487
git-svn-id: trunk@52848 -
2016-08-20 21:49:02 +00:00
mattias
4f2a09c958 IDE: fixed mem leak in jitforms, bug #30487
git-svn-id: trunk@52845 -
2016-08-20 17:35:58 +00:00
juha
9367da0ae5 Remove extra checks for empty strings together with IsValidIdent. It already handles an empty string.
git-svn-id: trunk@52812 -
2016-08-17 10:40:29 +00:00
mattias
ae3d26a022 IDE: jitforms: fixed setting vmt ParentRef under FPC 3.1.1, bug #30424
git-svn-id: trunk@52771 -
2016-08-01 20:28:34 +00:00
hnb
293c52e3dd IDE: anchor editor: do not show siblings for design instance (fix for docked sparta designer)
git-svn-id: trunk@52724 -
2016-07-20 08:30:42 +00:00
hnb
2f01b9e55a * IDE: designer: fixed jitform for fpc 3.1 (related to FPC r34087 #4b65d3903d). Resolves issue #30377
git-svn-id: trunk@52691 -
2016-07-15 12:35:01 +00:00
juha
1f77a3c790 Designer: Update TabOrder component tree also when TabSheet is switched. Issue #30010.
git-svn-id: trunk@52633 -
2016-07-05 21:10:37 +00:00
juha
fd107ecf9e Designer: Make the link between designer and TabOrder dialog work both ways.
git-svn-id: trunk@52631 -
2016-07-05 18:02:14 +00:00
ondrej
4c4f98fef2 revert r52574 #6e97929097
git-svn-id: trunk@52575 -
2016-06-23 11:00:26 +00:00
ondrej
6e97929097 accidental commit (reverted in r52575)
git-svn-id: trunk@52574 -
2016-06-23 10:58:31 +00:00
mattias
ad3eacb527 IDE: designer: fixed jitform for fpc 3.1
git-svn-id: trunk@52507 -
2016-06-15 09:43:21 +00:00
mattias
0357266afc IDE: fixed compilation with fpc 3.0.1
git-svn-id: trunk@52484 -
2016-06-12 07:08:39 +00:00
mattias
d015e429f4 IDE: fixed compilation with fpc 3.1.1, bug #30262
git-svn-id: trunk@52482 -
2016-06-12 07:01:24 +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
juha
148d4cf069 Menueditor: Set parent of ShadowMenu earlier, otherwise it goes to a wrong place. Issue #30060.
git-svn-id: trunk@52257 -
2016-04-29 10:55:18 +00:00
juha
fa6c3b0d21 Designer, IdeIntf: Update Object Inspector tree after adding/deleting components. Optimize excess updates. Issue #30033
git-svn-id: trunk@52230 -
2016-04-21 20:40:02 +00:00
juha
6d991af10c Formatting, comment
git-svn-id: trunk@52229 -
2016-04-21 20:40:00 +00:00
mattias
75349695d6 IDE: designer: menu editor: less overhead
git-svn-id: trunk@52225 -
2016-04-20 09:47:03 +00:00
mattias
4819139549 IDE: designer: menu editor: less overhead
git-svn-id: trunk@52224 -
2016-04-20 09:41:15 +00:00
mattias
21b24b5afb IDE: designer: menu editor: using freeandnil to find dangling pointers easier
git-svn-id: trunk@52223 -
2016-04-20 09:39:05 +00:00
mattias
f8623847f3 IDE: clean up
git-svn-id: trunk@52214 -
2016-04-18 17:10:01 +00:00
juha
bb389f40bf IdeIntf: Add PropName param to PropertyEditor.Modified. Do not redraw comp tree after prop change. Issue #29574.
git-svn-id: trunk@52209 -
2016-04-18 11:05:06 +00:00
juha
58317e2f8a Designer: Remove direct OI dependency of "Change Parent" feature, use events.
git-svn-id: trunk@52194 -
2016-04-14 10:02:16 +00:00
juha
47e2727bb5 Designer, IdeIntf: Improve "Change Parent" feature, use a dialog. Issue #29868, patch from FTurtle.
git-svn-id: trunk@52193 -
2016-04-14 10:02:14 +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
ce7000ecf8 Designer: Improve the fix for #24386. Prevent Copy/Paste of PageControl only with GTK2 bindings.
git-svn-id: trunk@52096 -
2016-04-01 09:12:15 +00:00
juha
24a234e4ba Designer: Make TFieldInfo record match with its counterpart in typinfo. Noticed by Alfred Glänzer.
git-svn-id: trunk@52058 -
2016-03-25 23:29:46 +00:00
juha
4b11aaff8c Designer: Prevent copying/cutting TCustomTabControl and TCustomPage. Can lead to halt or crash.
git-svn-id: trunk@51950 -
2016-03-15 11:22:28 +00:00
juha
2ac2eea1d5 IDE: Minor optimization, keep value from Designer.CanCopy in boolean variables.
git-svn-id: trunk@51949 -
2016-03-15 11:22:26 +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
00db0443c2 Menu designer: AutoSize one more label. Issue #29689.
git-svn-id: trunk@51892 -
2016-03-09 21:38:14 +00:00
juha
821414b0ce Menu designer: Remove unused and unfunctional parameter.
git-svn-id: trunk@51886 -
2016-03-09 15:43:32 +00:00
juha
66c1a36997 Menu designer: AutoSize labels so their texts show properly. Issue #29689.
git-svn-id: trunk@51883 -
2016-03-09 14:11:09 +00:00
juha
ee7305772d Designer: Support also (False) and (True) as Boolean values in Undo operation.
git-svn-id: trunk@51634 -
2016-02-15 12:48:54 +00:00
juha
6ee68dbc01 Menu designer: Name the main unit better.
git-svn-id: trunk@51625 -
2016-02-14 09:41:17 +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
c007d64959 Remove an old unused unit.
git-svn-id: trunk@51622 -
2016-02-14 09:22:02 +00:00
juha
f40caa1942 Menu designer: Streamline HasAccelerator. ToDo: UTF-8 character still not used.
git-svn-id: trunk@51618 -
2016-02-13 13:09:38 +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
073c2c50e9 Menu designer: Use TResolveConflictsDlg from a new unit.
git-svn-id: trunk@51616 -
2016-02-13 13:09:36 +00:00
juha
e267057612 Menu designer: adjust visibility.
git-svn-id: trunk@51615 -
2016-02-13 13:09:30 +00:00
juha
8536adb457 New files refactored from MenuShadows.
git-svn-id: trunk@51614 -
2016-02-13 12:58:47 +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
ad856b47a0 Menu designer: Set Parent of ShadowMenu in a right place.
git-svn-id: trunk@51551 -
2016-02-09 12:52:30 +00:00
maxim
7a2e8400dc IDE: simplified menueditor i18n
git-svn-id: trunk@51548 -
2016-02-08 23:08:55 +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
4f0a8f60aa Menu editor: Fix indentation.
git-svn-id: trunk@51546 -
2016-02-08 21:47:24 +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
b406073c5d New files refactored out from MenuShadows.
git-svn-id: trunk@51541 -
2016-02-08 19:55:38 +00:00
maxim
a83a7e46fd Menu designer: strings cleanup
git-svn-id: trunk@51533 -
2016-02-06 18:44:09 +00:00
juha
324fc443c5 Menu designer: Reduce circular references from MenuShadows to MenuDesigner.
git-svn-id: trunk@51497 -
2016-02-04 10:51:46 +00:00
juha
627d6ce032 Menu designer: Refactoring, formatting. Reduce nested functions in MenuShadows.
git-svn-id: trunk@51496 -
2016-02-04 10:51:40 +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
52af02512e Menu designer: New unit MenuShortcuts containing code refactored out from MenuShadows.
git-svn-id: trunk@51487 -
2016-02-03 20:14:21 +00:00
jesus
f4900d9e51 IDE, fix compiling and some corruption on logging when VerboseMenuIntf directive is enabled
git-svn-id: trunk@51475 -
2016-02-02 06:19:08 +00:00
juha
fe93606ec3 Menu editor: Improve painting of menu items and their chevron graphs. Issue #29480, patch from Howard Page-Clark.
git-svn-id: trunk@51409 -
2016-01-25 14:44:01 +00:00
ondrej
b69d0962f6 designer: forward unhandled keys from designer to OI. Issue #29488
git-svn-id: trunk@51398 -
2016-01-24 10:58:59 +00:00
ondrej
cb844b833c ide: correctly size translated resourcestring labels in menueditor. Issue #29468, patch by Howard Page-Clark
git-svn-id: trunk@51376 -
2016-01-22 11:52:15 +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
ondrej
e6fe690982 IDE: menu designer: make "delete menu with subitems" dialog simpler
git-svn-id: trunk@51305 -
2016-01-16 20:53:54 +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
488a24c48b IDE: menu designer: improve resourcestrings. By Howard Page-Clark
git-svn-id: trunk@51263 -
2016-01-12 23:09:39 +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
a4cd23f7ac IDE: menu designer: simplify delete dialog
git-svn-id: trunk@51249 -
2016-01-11 13:38:19 +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
ondrej
d0db90af50 ide, designer: handle next/prior editor commands in docked designer. Bug #29038
git-svn-id: trunk@51158 -
2016-01-03 13:53:22 +00:00
ondrej
7fcc772645 designer, ideintf: rename TPropHookType htMouse* to htDesignerMouse*
git-svn-id: trunk@51156 -
2016-01-03 13:35:38 +00:00
ondrej
cdfb590aee ideintf, designer: add MouseDown and MouseUp event handlers for designer
git-svn-id: trunk@51144 -
2016-01-03 12:06:07 +00:00
ondrej
00c6de89c7 designer: fix TJITForms.IsJITForm
git-svn-id: trunk@51136 -
2016-01-02 20:16:39 +00:00
ondrej
0ba709770d lcl, designer: add and use GetDesignerForm
git-svn-id: trunk@51133 -
2016-01-02 18:20:54 +00:00
ondrej
bcca492fd6 designer: unify menu editor PopupParent/PopupMode code with r51051 #175c0031c0
git-svn-id: trunk@51052 -
2015-12-27 13:23:11 +00:00
ondrej
874f07c4da designer: menudesigner: set PopupMode and PopupParent to ObjectInspector (or its parent form in case of docked environment). Remove fsStayOnTop as it is buggy
git-svn-id: trunk@51008 -
2015-12-23 13:41:44 +00:00
ondrej
4fbab4bd38 designer: set TCheckMarkDialog PopupMode to pmAuto.
git-svn-id: trunk@50993 -
2015-12-22 20:53:51 +00:00
juha
5beb73daf3 New Menu Designer by Howard Page-Clark. Issue #29205.
git-svn-id: trunk@50992 -
2015-12-22 19:17:29 +00:00
mattias
d4675305e2 IDEIntf: deprecated ChildsAsSubMenu, typo
git-svn-id: trunk@50816 -
2015-12-15 15:34:01 +00:00
mattias
bf5fbcb10a IDE: designer: fixed Change class dialog
git-svn-id: trunk@50351 -
2015-11-16 22:42:34 +00:00
mattias
9e47be687c IDE: less with-blocks for FPC 3.1.1
git-svn-id: trunk@50314 -
2015-11-12 10:24:07 +00:00
mattias
c6391b6a34 IDE: fixed Disable/EnableAutosizing debug designer form
git-svn-id: trunk@50180 -
2015-10-26 22:21:14 +00:00
mattias
9b0d4c01b6 IDE+LCL: debugging Disable/EnableAutoSizing
git-svn-id: trunk@50176 -
2015-10-26 21:34:11 +00:00
juha
79858e55f1 Designer: Improve AskCompNameDlg layout. Issue #28780.
git-svn-id: trunk@49988 -
2015-10-08 07:39:15 +00:00
mattias
2d873789da IDE: designer: implemented csDesignInteractive
git-svn-id: trunk@49803 -
2015-09-09 22:34:53 +00:00
mattias
82f7a21c05 IDE: designer: unbind mediator before freeing
git-svn-id: trunk@49783 -
2015-09-08 10:42:17 +00:00
juha
08c9621520 Change order of used units so that "deprecated" warnings are not triggered.
git-svn-id: trunk@49612 -
2015-08-07 17:20:40 +00:00
mattias
415968937e IDE: less hints
git-svn-id: trunk@49610 -
2015-08-07 16:36:17 +00:00
juha
ef6fdb4d02 Designer: Bug fix for DrawGrid. Use LogicalClientRect instead of ClientRect. r49385 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49532 -
2015-07-12 23:05:18 +00:00
juha
140203ca19 PropEdits: New event TPropHookPersistentDeleted (called after component deletion). r49377 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49531 -
2015-07-12 23:05:17 +00:00
juha
de6fbf05fb Component Palette: More detailed "ComponentAddedEvent". r49376 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49530 -
2015-07-12 23:05:15 +00:00
juha
2f54ed431e Designer: IDEComponentsMaster class proposition for manipulating components (now with single method). r49372 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49529 -
2015-07-12 23:05:13 +00:00
juha
2ca8f21e64 IdeIntf: Improve identification of designer forms. r49352,r49367,r49371,r49510 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49528 -
2015-07-12 23:05:08 +00:00
juha
06ac76f560 LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
juha
1539bf8ab0 IDE: Modeless dialogs clean-up. Issue #28354, patch from Ondrej Pokorny.
git-svn-id: trunk@49460 -
2015-06-28 12:27:53 +00:00
juha
f12c7c2fa3 Taborder dialog: Fix caption when form designer is not active. Issue #28054, patch from Ondrej Pokorny.
git-svn-id: trunk@49433 -
2015-06-24 16:12:33 +00:00
juha
663e1b5ca2 TabOrder dialog: Prevent an extra item under EditButton. Issue #28191, patch from Ondrej Pokorny.
git-svn-id: trunk@49310 -
2015-06-10 09:02:57 +00:00
juha
da03828c1c DesignerMenu: Use shadow-type "none", change the submenu arrow. Issue #28220, patch from Alexey Torgashin.
git-svn-id: trunk@49255 -
2015-06-03 17:23:26 +00:00
juha
b8503e1976 Menueditor: Fix error when moving menu items. Issue #27849, patch from Michl.
git-svn-id: trunk@49172 -
2015-05-25 22:30:54 +00:00
mattias
e5ab0fcfc8 IDE: less hints
git-svn-id: trunk@49112 -
2015-05-19 21:05:37 +00:00
juha
e9b41a4170 Designer: ChangeClass tweak. Issue #28115, patch from Alexey Torgashin.
git-svn-id: trunk@49077 -
2015-05-17 22:50:13 +00:00
juha
979a45947d Designer: AskCompNameDialog redo more. Issue #28116, patch from Alexey Torgashin
git-svn-id: trunk@49075 -
2015-05-17 22:50:07 +00:00
juha
929870eadc Designer: AskCompNameDialog redone. Issue #28116, patch from Alexey Torgashin
git-svn-id: trunk@49073 -
2015-05-17 19:02:30 +00:00
juha
240949a096 Scale dialog: use SpinEdt. Issue #28111, patch from Alexey Torgashin.
git-svn-id: trunk@49062 -
2015-05-17 11:41:35 +00:00
mattias
6e1f74fdb9 IDE: designer: fixed drag move, drag move, bug #27854
git-svn-id: trunk@48756 -
2015-04-14 21:31:24 +00:00
mattias
0c578bd921 IDE: designer: keep resizing with old bounds as long bounds stay the same (e.g. not changed by OI)
git-svn-id: trunk@48747 -
2015-04-13 10:32:48 +00:00
mattias
f07f7ec8a7 IDE: designer: simplified TSelectedControl.SetFormRelativeBounds
git-svn-id: trunk@48745 -
2015-04-13 10:16:29 +00:00
mattias
21ab8152c3 IDE: designer: simplified TSelectedControl
git-svn-id: trunk@48743 -
2015-04-13 10:08:30 +00:00
mattias
05d3490005 IDE: designer: simplified TSelectedControl.SetBounds
git-svn-id: trunk@48741 -
2015-04-13 10:04:26 +00:00
juha
f51604367b IdeIntf: Add "Change Class" feature also to popup menu of Object Inspector.
git-svn-id: trunk@48551 -
2015-03-31 17:10:25 +00:00
juha
7003a55fb6 ToDo items for some uninitialized variables and other problems found by the compiler.
git-svn-id: trunk@48452 -
2015-03-22 10:17:59 +00:00
juha
708afdf966 Fix uninitialized variables and other problems found by the compiler.
git-svn-id: trunk@48451 -
2015-03-22 10:17:35 +00:00
juha
40d5c1519c Revert r46068 #8db03dc81d "Designer: remove a duplicate call to DoDeletePersistent." Issue #27689.
git-svn-id: trunk@48425 -
2015-03-19 18:25:13 +00:00
juha
aa474f5750 IDE: Reuse 'Options' resource string.
git-svn-id: trunk@48316 -
2015-03-12 23:02:06 +00:00
mattias
2290274ae7 IDE: checked compiler warnings, clean up
git-svn-id: trunk@48238 -
2015-03-10 16:02:54 +00:00
mattias
982ab43ff6 IDE: checked compiler warnings, clean up
git-svn-id: trunk@48233 -
2015-03-10 15:48:55 +00:00
mattias
a0ac496603 IDE: checked compiler warnings, clean up
git-svn-id: trunk@48230 -
2015-03-10 15:41:06 +00:00
mattias
b98e5b914f IDE: checked compiler warnings, clean up, fixed compile with fpc 2.6.4
git-svn-id: trunk@48228 -
2015-03-10 15:28:11 +00:00
mattias
21cfb7317b IDE: checked compiler warnings, clean up
git-svn-id: trunk@48222 -
2015-03-10 15:04:30 +00:00
mattias
8f4d84fdbd IDE: fixed freeing TSizeComponentsDialog
git-svn-id: trunk@48221 -
2015-03-10 15:00:35 +00:00
mattias
f3f0866921 IDE: checked compiler warnings, clean up
git-svn-id: trunk@48218 -
2015-03-10 14:51:21 +00:00
mattias
7dde88bfad IDE: designer: InvokeComponentEditor: removed MenuIndex, it was not used
git-svn-id: trunk@48199 -
2015-03-10 12:07:50 +00:00
mattias
dab5d2ef91 IDE: designer: resize multiple controls: round mathematically instead of always down, needed for increase size by 1
git-svn-id: trunk@47900 -
2015-02-19 12:34:47 +00:00
mattias
ef2ddfca01 IDE: designer: initialize FIsNonVisualComponent, bug #27502
git-svn-id: trunk@47898 -
2015-02-19 12:07:14 +00:00
juha
a949da703b Designer: cleanup a debug message.
git-svn-id: trunk@47176 -
2014-12-12 00:49:04 +00:00
juha
a3490826ea Designer: fix the palette update problem with DataModule on Windows. Message.Active can be WA_CLICKACTIVE, too.
git-svn-id: trunk@47142 -
2014-12-08 21:30:26 +00:00
juha
4990c79e9f Designer: another debug message indicating that Message.Active<>WA_ACTIVE on Windows when Designer gets LM_ACTIVATE.
git-svn-id: trunk@47141 -
2014-12-08 21:06:48 +00:00
juha
cfdbbbb410 IDE: Do not trigger palette update with OnComponentVisibleChanged and OnPageVisibleChanged events. Will be triggered by other means.
git-svn-id: trunk@47140 -
2014-12-08 20:22:31 +00:00
juha
c589873743 Designer, OI: Synchronize z-order changes. Issue #20450, patch from Mike Thompson.
git-svn-id: trunk@47039 -
2014-11-30 13:13:08 +00:00
mattias
817995bf38 IDE: when renaming component via F2: mark form as modified
git-svn-id: trunk@46769 -
2014-11-06 22:37:11 +00:00
mattias
fc3563fa16 IDE: fixed change component name resourcestring
git-svn-id: trunk@46768 -
2014-11-06 22:31:48 +00:00
mattias
c4771eb74b IDE: clean up
git-svn-id: trunk@46699 -
2014-10-30 10:24:29 +00:00
mattias
1fada3022b IDE: designer: fixed updating undo bounds on mouse up
git-svn-id: trunk@46479 -
2014-10-08 18:37:57 +00:00
mattias
20540fd87b IDE: designer: redo: non visual TComponent.Left/Top
git-svn-id: trunk@46478 -
2014-10-08 18:12:10 +00:00
mattias
b69bf50553 IDE: designer: clean up undo code
git-svn-id: trunk@46476 -
2014-10-08 17:46:51 +00:00
juha
7964da2129 Designer: Name a record better, TUndoList -> TUndoItem.
git-svn-id: trunk@46469 -
2014-10-07 22:08:40 +00:00
juha
fe55929cd6 Designer: an attempt to fix a Undo-bug with non-visible components. Now the index for FUndoList goes over. :(
git-svn-id: trunk@46466 -
2014-10-07 20:53:26 +00:00
juha
001970dd85 Designer: a temporary exception to search a bug where index for FUndoList goes negative with non-visible components.
git-svn-id: trunk@46465 -
2014-10-07 20:53:19 +00:00
juha
de2cf80287 Show hints inside one screen. Fix application, designer and TAChart hints.
git-svn-id: trunk@46303 -
2014-09-23 19:49:02 +00:00
mattias
d506aca142 IDE: clean up
git-svn-id: trunk@46301 -
2014-09-23 14:55:29 +00:00
juha
a23a0688fb Designer, Menu Editor: Implement drag'n'drop for moving items. Issue #8733, patch from Mike Thompson.
git-svn-id: trunk@46280 -
2014-09-21 21:49:19 +00:00
mattias
9d3226d369 LCL: removed TControl.ParentVisibleChanged
git-svn-id: trunk@46188 -
2014-09-11 16:52:52 +00:00
mattias
8c9f6d38b4 LCL: docs: undo
git-svn-id: trunk@46187 -
2014-09-11 16:50:44 +00:00
juha
78afb4c373 LCL: Fix THintWindow.CalcHintRect. Issue #26674. Inspired by patch from Denis Golovan.
git-svn-id: trunk@46165 -
2014-09-09 10:17:54 +00:00
juha
0312721e35 Designer: remove a hack IgnoreDeletingPersistent. It was replaced by another hack TWinControl.DesignerDeleting.
git-svn-id: trunk@46073 -
2014-08-24 15:58:11 +00:00
juha
9d6fca6e69 LCL + Designer: A new flag TWinControl.DesignerDeleting. Make TPairSplitter use it. Issue #26618
git-svn-id: trunk@46072 -
2014-08-24 15:58:09 +00:00
juha
b6da8dd7a5 Designer: minor refactoring, remove PersistentIsMarkedForDeletion method.
git-svn-id: trunk@46071 -
2014-08-24 15:58:01 +00:00
juha
8db03dc81d Designer: remove a duplicate call to DoDeletePersistent.
git-svn-id: trunk@46068 -
2014-08-23 15:50:54 +00:00
mattias
822e9eaeee IDE: anchor editor: update when becoming visible again, bug #26558
git-svn-id: trunk@46022 -
2014-08-06 17:13:22 +00:00
mattias
1dfcf970e9 IDE: anchor editor: clean up
git-svn-id: trunk@46020 -
2014-08-06 16:14:17 +00:00
juha
b189500498 LCL: Revert some of THintWindow changes because of Delphi compatibility. Issue #26516
git-svn-id: trunk@45973 -
2014-07-25 16:56:19 +00:00
juha
24ce977ee8 LCL, SynEdit: improve THintWindow methods. Fixes code completion offset problem, issue #26509
git-svn-id: trunk@45937 -
2014-07-20 18:26:37 +00:00
juha
503833f19b Remove typecasts because LookupRoot was moved to TIDesigner. Also formatting.
git-svn-id: trunk@45784 -
2014-07-05 10:49:34 +00:00
juha
2f1bc3998e Remove Designer dependency from SourceFileManager.
git-svn-id: trunk@45783 -
2014-07-05 10:49:22 +00:00
juha
53765b59dd IDE: formatting. Format some resource strings so that line changes together with %s referring to LineEnding.
git-svn-id: trunk@45553 -
2014-06-16 18:00:06 +00:00
juha
4fbeea1dfd IDE: ... and more hard-coded quotations in resourcestrings.
git-svn-id: trunk@45521 -
2014-06-15 11:52:27 +00:00
juha
a912107bf0 IDE: More hard-coded quotations in resourcestrings.
git-svn-id: trunk@45520 -
2014-06-15 11:52:15 +00:00
juha
7138d69f4a Designer: Simplify code.
git-svn-id: trunk@45460 -
2014-06-10 16:10:47 +00:00
mattias
5656db6508 IDE: indentiation
git-svn-id: trunk@45217 -
2014-05-28 23:12:11 +00:00
mattias
8844f15f3a IDE: designer mediator: fixed non visual components selection and moving, patch #26234
git-svn-id: trunk@45216 -
2014-05-28 22:43:19 +00:00
mattias
43ebc91b4e IDE: designer: check result of AddClicked
git-svn-id: trunk@45048 -
2014-05-16 19:53:14 +00:00
juha
b07ae15e65 Designer, ChangeClassDialog: reverse the order of ancestor inheritance list. Now starts from bottom (TObject) and grows upwards.
git-svn-id: trunk@44810 -
2014-04-26 11:56:06 +00:00
juha
f8592da384 Designer, ChangeClassDialog: add space before class name + some layout fine-tuning.
git-svn-id: trunk@44809 -
2014-04-26 11:55:39 +00:00
juha
72678bdaef Designer, ChangeClassDialog: formatting, cleanup, add a try - finally block.
git-svn-id: trunk@44808 -
2014-04-26 11:55:11 +00:00
mattias
d599292ff9 IDE: designer: snap to nearest grid, instead of form grid, bug #18579
git-svn-id: trunk@44733 -
2014-04-14 20:22:29 +00:00
mattias
57685b5e28 IDE: designer: fixed change parent for TControl
git-svn-id: trunk@44508 -
2014-03-24 17:28:29 +00:00
mattias
02b09d18e6 IDEIntf: form designer: added AddClicked hook, called whenever the user selected a component class and clicked on the designer to add a new component
git-svn-id: trunk@44335 -
2014-03-03 20:03:24 +00:00
mattias
6bbcd8740a IDE: designer: change parent: do not allow children of inlined components, do not allow to move to nested components
git-svn-id: trunk@44299 -
2014-02-28 18:32:28 +00:00
mattias
ad284bb8ab IDE: debug componentstate
git-svn-id: trunk@44279 -
2014-02-27 12:49:45 +00:00
mattias
f656b58c53 IDE: comment
git-svn-id: trunk@44275 -
2014-02-27 10:36:22 +00:00
mattias
632f4c9629 IDE: use IDEMessageDialog
git-svn-id: trunk@44274 -
2014-02-27 10:15:06 +00:00
zeljko
e72d3ad584 designer: TDesigner.AddUndoAction check if GetPropInfo returned valid result, otherwise we'll crash.issue #25748,#25757
git-svn-id: trunk@44200 -
2014-02-22 20:45:11 +00:00
mattias
41460c7d4f IDE: fixed renaming components, simplified designer undo
git-svn-id: trunk@44173 -
2014-02-19 18:57:53 +00:00
mattias
1217b68eb7 IDE: designer IsUndoLocked
git-svn-id: trunk@44172 -
2014-02-19 17:59:47 +00:00
mattias
3a56cdd900 IDE: designer: fixed range check error on undo
git-svn-id: trunk@44157 -
2014-02-18 21:51:56 +00:00
mattias
baabe96213 IDE: undo for designer, patch #22584
git-svn-id: trunk@44156 -
2014-02-18 21:46:36 +00:00
mattias
5a07230297 IDE: clean up
git-svn-id: trunk@44146 -
2014-02-18 18:47:15 +00:00
mattias
fbe7c6e932 IDE: designer: fixed enabling View lfm
git-svn-id: trunk@43211 -
2013-10-11 21:00:35 +00:00
paul
7f4caeb374 ide, components: move images related code to use FPC resource instead of Lazarus resources
git-svn-id: trunk@42984 -
2013-09-27 12:27:04 +00:00
mattias
446747ed6c IDE: designer: fixed adding components on inherited form, bug #25084
git-svn-id: trunk@42945 -
2013-09-26 13:48:25 +00:00
mattias
3b717ddda1 IDE: fixed duplicate code, break cycle lfmunitresource
git-svn-id: trunk@42895 -
2013-09-20 09:15:48 +00:00
mattias
0c1f11b7a5 IDE: reverted patch #42889
git-svn-id: trunk@42894 -
2013-09-20 09:05:34 +00:00
mattias
0b54eaf3c2 IDE: lfmunitresource: break cycle
git-svn-id: trunk@42890 -
2013-09-19 20:01:11 +00:00
mattias
ef779a623b IDE: designer: break cycle
git-svn-id: trunk@42889 -
2013-09-19 19:52:39 +00:00
mattias
e140abe386 IDE, IDEIntf: fixed componentreeview dragover check
git-svn-id: trunk@42713 -
2013-09-10 09:30:35 +00:00
mattias
c16df66c27 IDE: clean up
git-svn-id: trunk@42302 -
2013-08-04 08:03:10 +00:00
mattias
46ea5ac433 IDE: clean up
git-svn-id: trunk@42301 -
2013-08-04 08:02:02 +00:00
mattias
109e2af7e6 IDE: clean up
git-svn-id: trunk@42284 -
2013-08-03 15:07:55 +00:00
maxim
10b64645c5 IDE: Frame Reset menu item localization
git-svn-id: trunk@41997 -
2013-07-04 22:24:57 +00:00
juha
0acde59704 Designer: Fix flickering cursor when dragging control on windows 7 64 bit. Issue #20292, patch from Cyrax.
git-svn-id: trunk@41934 -
2013-06-29 08:03:30 +00:00
mattias
35903c6be8 IDE: added designer menu item Reset to reset to ancestor bounds
git-svn-id: trunk@41911 -
2013-06-27 02:36:17 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
mattias
51d0aff5e3 IDE: clean up
git-svn-id: trunk@40695 -
2013-04-02 10:11:26 +00:00
mattias
f595fb71f7 IDE: added unitresources
git-svn-id: trunk@40326 -
2013-02-16 16:15:18 +00:00
mattias
c026b52cc5 IDE: menu designer: prevent crash when all menu items were deleted, bug #23870
git-svn-id: trunk@40241 -
2013-02-10 12:28:36 +00:00
mattias
251a4c02ff IDE: designer: fixed csDesignFixedBounds
git-svn-id: trunk@40153 -
2013-02-03 11:51:16 +00:00
mattias
a49c504df0 IDE: designer: fixed ssAlt moving
git-svn-id: trunk@40152 -
2013-02-03 11:36:31 +00:00
mattias
b33abc827c IDE: designer: change class dlg: disable ok button
git-svn-id: trunk@40037 -
2013-01-30 01:43:13 +00:00
martin
d79176d7d4 IDE : prevent a crash in designer "Change Class" if new name does not exist
git-svn-id: trunk@40033 -
2013-01-29 23:50:00 +00:00
mattias
88c2af49d0 IDE: designer: fixed handling deactivate messages
git-svn-id: trunk@39774 -
2013-01-06 11:53:30 +00:00
juha
6bad0c04f9 IDE: Rename control in designer by pressing F2. Issue #23497
git-svn-id: trunk@39660 -
2012-12-26 23:34:05 +00:00
mattias
73d6a41ca5 IDE: designer: fixed painting of designer items for TControl paint messages
git-svn-id: trunk@39624 -
2012-12-22 21:44:08 +00:00
juha
5c8670cd8a Designer, SizeCompsDlg: Autocheck radiobutton when entering a value in HeightEdit / WidthEdit. Issue #23398, patch from Alexander Strokach
git-svn-id: trunk@39405 -
2012-11-28 22:00:51 +00:00
juha
22c9f39a9c Designer: formatting
git-svn-id: trunk@39089 -
2012-10-15 10:42:04 +00:00
juha
a4875743e3 Designer: TControlSelection method optimizations by Zex Atilla
git-svn-id: trunk@39063 -
2012-10-13 09:13:51 +00:00
juha
6b90fc2348 Designer: Disable ViewLFM menu item for virtual units
git-svn-id: trunk@38817 -
2012-09-24 20:58:10 +00:00