Commit Graph

1283 Commits

Author SHA1 Message Date
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