Commit Graph

1188 Commits

Author SHA1 Message Date
mattias
451424cf20 IDE: fixed crash in menu editor, issue #22699
git-svn-id: trunk@38606 -
2012-09-09 20:48:13 +00:00
juha
995b5a3d55 Use a record of signed SmallInts to prevent range check errors. Still about issue #22760
git-svn-id: trunk@38476 -
2012-09-02 00:32:29 +00:00
mattias
4f588d7a62 designer: clean up
git-svn-id: trunk@38474 -
2012-09-01 23:49:47 +00:00
juha
9b6e54b588 Revert r38465 #f26e63161d and use typecasts to prevent range errors. Should fix issue #22760
git-svn-id: trunk@38469 -
2012-08-31 22:38:46 +00:00
juha
50b8a2fee5 Designer: formatting
git-svn-id: trunk@38466 -
2012-08-31 16:19:43 +00:00
juha
f26e63161d Use signed instead of unsigned integer in a structure to prevent range check errors. Issue #22760
git-svn-id: trunk@38465 -
2012-08-31 16:19:36 +00:00
mattias
3f599eaa55 IDE: TDataModule minimum size 150x150
git-svn-id: trunk@38110 -
2012-08-01 21:18:48 +00:00
mattias
a99a34ebd2 IDE: using UTF8CompareText
git-svn-id: trunk@37960 -
2012-07-16 20:53:37 +00:00
juha
6814f6a1f8 Designer -> Change Class opens a dilaog, add 3 dots to the menuitem
git-svn-id: trunk@37665 -
2012-06-16 11:13:05 +00:00
juha
3b50e92d50 Designer: cleanup for MenuEditor
git-svn-id: trunk@37661 -
2012-06-15 20:25:23 +00:00
juha
80fa80846b Designer: Improve MenuEditor, delete only one item at time. Issue #22142, patch from Anton
git-svn-id: trunk@37659 -
2012-06-15 18:01:35 +00:00
mattias
24c2470b43 IDE: using TFileStreamUTF8 and TStringListUTF8
git-svn-id: trunk@37656 -
2012-06-15 16:50:31 +00:00
mattias
d91e9ccb16 IDE: paste components: update TControl.Caption
git-svn-id: trunk@37640 -
2012-06-13 16:26:29 +00:00
mattias
22957ca052 IDE: paste multiple components: fix references
git-svn-id: trunk@37638 -
2012-06-13 15:56:51 +00:00
mattias
86b0a8eb31 IDE: paste component: fix renamed references
git-svn-id: trunk@37635 -
2012-06-13 14:43:12 +00:00
mattias
0fa5af44a5 IDE: designer selection: emit OnChange before OnChangeProperties
git-svn-id: trunk@37452 -
2012-05-29 11:10:04 +00:00
mattias
fb9c855546 IDEIntf: added TObjectInspectorDlg.EnableHookGetSelection, IDE: designer selection is now stored in TheControlSelection, as OI does not always exist
git-svn-id: trunk@37450 -
2012-05-29 09:42:07 +00:00
juha
794930e8e2 Remove unused units in some files.
git-svn-id: trunk@36440 -
2012-03-30 07:40:15 +00:00
paul
519194cb6c ideintf: add TComponentEditorDesigner CanCopy method similar to CanPaste
git-svn-id: trunk@35966 -
2012-03-14 07:24:37 +00:00
martin
a4e43e4501 AnchorEditor: commit keyboard changes. Issue #0020826
git-svn-id: trunk@35960 -
2012-03-14 00:41:15 +00:00
mattias
3e9e907062 IDE: switched to new laz2_xml
git-svn-id: trunk@35937 -
2012-03-13 20:55:43 +00:00
mattias
534d860289 IDE: utility function GetJITMethod
git-svn-id: trunk@35729 -
2012-03-05 11:21:19 +00:00
juha
f9525156e2 Designer: Make FormStyle=fsStayOnTop in Menu editor, issue #21405
git-svn-id: trunk@35655 -
2012-03-02 20:47:15 +00:00
juha
a0fb17b27e IDE: Unite duplicate (single word) resourcestrings and name them consistently.
git-svn-id: trunk@35486 -
2012-02-19 15:50:48 +00:00
mattias
7448696074 IDE: anchor editor: extended hints with notes about borderspacing
git-svn-id: trunk@35447 -
2012-02-18 14:28:18 +00:00
juha
2550bbf3be IDE: unify some common resource strings. Add hints for Path Edit dialog
git-svn-id: trunk@35361 -
2012-02-13 19:57:58 +00:00
juha
b1a90d72e4 Menu Designer: use class instead of record for TDesignerMenuItem, rename some variables.
git-svn-id: trunk@35347 -
2012-02-13 08:00:15 +00:00
juha
6b19f5e2aa IDE: inite resource strings for Undo, Redo, Cut, Copy and Paste
git-svn-id: trunk@35323 -
2012-02-12 14:35:42 +00:00
juha
4ef51619f5 IDE: collect common resource strings in one place, remove duplicates
git-svn-id: trunk@35321 -
2012-02-12 13:04:36 +00:00
juha
c82d1b544d IDE: use resource lisAdd instead of lisCodeTemplAdd in many places.
git-svn-id: trunk@35320 -
2012-02-12 13:03:15 +00:00
martin
bcee3c3ca7 IDE: Enable Tracking for scrollboxes. issue #21240
git-svn-id: trunk@35244 -
2012-02-08 19:51:27 +00:00
mattias
0bf369ec20 IDE: free designer on idle, do not free while processing the closequery
git-svn-id: trunk@34737 -
2012-01-14 18:18:25 +00:00
mattias
fc55260fbc IDE: replaced some cycle with circular dependency
git-svn-id: trunk@34590 -
2012-01-04 23:53:33 +00:00
mattias
48657d7019 IDE: renamed circle detection with cycle detection
git-svn-id: trunk@34541 -
2012-01-02 17:13:43 +00:00
mattias
0d84f6918e IDE: using IsValidUnitName
git-svn-id: trunk@34317 -
2011-12-20 09:33:01 +00:00
maxim
d0e1af2495 IDE: fixed Tab Order dialog layout, bug #20901
git-svn-id: trunk@34192 -
2011-12-14 20:05:54 +00:00
mattias
c37254b8ff IDE: designer: allow dotted unit names, bug #20892
git-svn-id: trunk@34175 -
2011-12-14 10:03:56 +00:00
juha
241f651b88 IDE / Designer: Formatting
git-svn-id: trunk@33523 -
2011-11-14 09:33:03 +00:00
juha
ab94abe6d8 IDE / Designer: fix access violation when switching designer / lfm source. Issue #18506
git-svn-id: trunk@33522 -
2011-11-14 09:32:50 +00:00
juha
436d4002ce Designer: don't use IDEDialogLayoutList for AnchorEditor and TabOrderEditor. They are modeless IDE windows.
git-svn-id: trunk@33004 -
2011-10-21 15:44:12 +00:00
juha
f1ce0599f2 AnchorEditor: remove a useless StringList.Sort.
git-svn-id: trunk@32968 -
2011-10-19 06:37:18 +00:00
mattias
ce6a9b8431 IDE: creating component name from class name: check if removing leading T starts with a number
git-svn-id: trunk@32838 -
2011-10-12 07:24:55 +00:00
maxim
610e13e273 IDE: TOIAddRemoveFavouriteDlg is a resourceless form so it should use CreateNew, patch from cobines, bug #20411
git-svn-id: trunk@32676 -
2011-10-04 21:57:06 +00:00
mattias
5b28299656 IDE: jitforms: using GetPropList for safer align, bug #19109
git-svn-id: trunk@32566 -
2011-09-30 14:19:13 +00:00
mattias
df7c65a674 IDE: anchor editor: fixed reading space
git-svn-id: trunk@32560 -
2011-09-29 18:56:32 +00:00
mattias
785a28d88e LCL: TControlBorderSpacing.GetSideSpace and GetSpace were swapped, fixed
git-svn-id: trunk@32543 -
2011-09-28 13:07:25 +00:00
juha
776eb29c39 Designer: Close MenuEditor when linked MainMenu/PopupMenu is destroyed , issue #19964, patch from Flávio Etrusco
git-svn-id: trunk@31958 -
2011-08-12 09:14:11 +00:00
juha
7e2778735b IDE: TabOrderDlg enhancement from Flávio Etrusco. Issue #0019908
git-svn-id: trunk@31883 -
2011-08-05 23:17:32 +00:00
juha
63be6b3a21 Designer: Fixed wrong coordinated when getting a non-WinControl parent for a new component. Issue #19891
git-svn-id: trunk@31862 -
2011-08-04 16:42:15 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
mattias
51e1742910 IDE: clean up
git-svn-id: trunk@31329 -
2011-06-22 07:52:10 +00:00
juha
042dd6b290 IDE & designer: add layout management to anchor editor and tab order dialog
git-svn-id: trunk@31095 -
2011-06-05 10:54:20 +00:00
mattias
72ce7a70f6 IDE: property editor for TControl.TabOrder
git-svn-id: trunk@30427 -
2011-04-22 14:46:32 +00:00
juha
4f019d9f5b Designer: fix tab orders in Anchor editor window. (no layout changes although it looks so by the commit)
git-svn-id: trunk@30406 -
2011-04-20 18:13:16 +00:00
juha
57bc360c3f Designer: Set buttons enabled state after selection change
git-svn-id: trunk@30405 -
2011-04-20 18:13:09 +00:00
juha
79c76f7cd9 Designer: Synchronize property value in Object Inspector with Tab Order dialog
git-svn-id: trunk@30404 -
2011-04-20 16:05:28 +00:00
juha
47e46eae59 Designer: synchronize Tab Order tree selection with Designer selection
git-svn-id: trunk@30401 -
2011-04-20 12:46:18 +00:00
juha
a53269bb43 Designer: Add 3 dots to Align, Scale and Size menu items. They open modal dialogs.
git-svn-id: trunk@30390 -
2011-04-19 21:38:52 +00:00
juha
c1c6acdc2b IDE: "Tab Order Editor" -> "Tab Order"
git-svn-id: trunk@30389 -
2011-04-19 21:38:47 +00:00
juha
815bdde47c Designer: change SwapNodes from function to procedure in Tab Order dialog
git-svn-id: trunk@30353 -
2011-04-17 20:01:43 +00:00
juha
71961a04c9 Designer: Update Enable state of buttons in Tab Order dialog while user navigates it
git-svn-id: trunk@30350 -
2011-04-17 14:55:06 +00:00
juha
1977485b9c IDE: Add new image for Tab Order to main menu and Designer popup menu
git-svn-id: trunk@30349 -
2011-04-17 14:16:33 +00:00
maxim
dee28f6a01 IDE, Tab order dialog: improved localization
git-svn-id: trunk@30343 -
2011-04-17 12:05:49 +00:00
juha
da0e5e00ab Designer: formatting + add icon for AnchorEditor popup menu caption
git-svn-id: trunk@30337 -
2011-04-17 10:10:24 +00:00
juha
2f0e51c639 Designer: make TabOrder dialog respond to changed form and added component.
git-svn-id: trunk@30334 -
2011-04-17 07:07:08 +00:00
juha
4e77a0efec Designer: add Anchor Editor to Designer's popup menu.
git-svn-id: trunk@30328 -
2011-04-16 18:01:16 +00:00
juha
7d2cf39b54 Designer: make some AnchorEditor public functions private.
git-svn-id: trunk@30327 -
2011-04-16 17:15:45 +00:00
juha
eb5924a313 Designer: make Tab Order dialog work as modeless dialog.
git-svn-id: trunk@30325 -
2011-04-16 17:15:35 +00:00
juha
1f812b5dd7 IDE: Make Tab Order dialog modeless and add it to View menu.
git-svn-id: trunk@30324 -
2011-04-16 17:15:29 +00:00
juha
716bb3dc97 Designer: formatting
git-svn-id: trunk@30323 -
2011-04-16 17:15:24 +00:00
juha
2979d50c70 Designer: Remove a leftover button from TabOrder form
git-svn-id: trunk@30276 -
2011-04-12 21:00:05 +00:00
mattias
cc790adde3 IDE: debugging
git-svn-id: trunk@29974 -
2011-03-21 17:12:25 +00:00
juha
f38190794b Formatting: joined lines where only ');' was split to its own line, in procedure defs.
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
paul
ec6a2842f0 designer: use CreateNew constructor for TCustomNonFormDesignerForm
git-svn-id: trunk@29288 -
2011-02-01 10:16:22 +00:00
paul
483f4ec94a designer: send client coords to MouseUp, MouseDown, MoveMove (issue #0018458)
git-svn-id: trunk@29207 -
2011-01-26 12:53:58 +00:00
paul
5bb404e360 designer: report CM_DESIGNHITTTEST in client coordinates, report mouse moves more properly (issue #0018458)
git-svn-id: trunk@29132 -
2011-01-20 04:45:26 +00:00
paul
308101f480 designer: fixed a memory leak made early today
git-svn-id: trunk@28341 -
2010-11-19 10:02:28 +00:00
paul
21ac80d159 designer: use right brush color for component caption draw
git-svn-id: trunk@28340 -
2010-11-19 10:00:03 +00:00
paul
50e6fb6263 ide: extent component editor and designer to provide developer-defined hints (feature #0017203)
git-svn-id: trunk@28336 -
2010-11-19 07:19:54 +00:00
mattias
5dd01ce874 codetools: CheckLFM: added boolean RootMustBeClassInUnit parameter
git-svn-id: trunk@27481 -
2010-09-26 20:30:24 +00:00
paul
41160c3a52 designer: disable snapping when Alt key is pressed (issue #0001974)
git-svn-id: trunk@26910 -
2010-07-30 08:17:49 +00:00
paul
9d983ccdcd designer: fix memory leak
git-svn-id: trunk@26651 -
2010-07-14 16:22:49 +00:00
paul
308c5de7e0 designer: don't handle lm_contextmenu for other things than keyboard
git-svn-id: trunk@26643 -
2010-07-14 13:04:11 +00:00
mattias
8531e6e0cf IDE: FindDeclarationOfOIProperty: check for TNestedPropertyEditor
git-svn-id: trunk@26584 -
2010-07-10 19:41:36 +00:00
mattias
6b96372e72 IDE: FindDeclarationOfOIProperty: searching persistents directly via RTTI unitname, bug #15160
git-svn-id: trunk@26550 -
2010-07-09 18:23:16 +00:00
paul
1fce8997f8 designer: don't reset the frame width and height when it set in the object inspector (bug #0013665)
git-svn-id: trunk@26421 -
2010-07-02 17:56:28 +00:00
mattias
2bd8a3a414 IDE; anchoreditor: less annoying circle checks
git-svn-id: trunk@26280 -
2010-06-24 12:17:43 +00:00
mattias
d5526f2aeb IDE: fixed anchor
git-svn-id: trunk@26251 -
2010-06-22 07:15:12 +00:00
mattias
60adf0cc86 IDE: anchor editor: warn for circles
git-svn-id: trunk@26219 -
2010-06-20 22:00:27 +00:00
mattias
1ee3d6dcf4 IDEIntf: moved TSimpleIDEWindowLayout to IDEWindowCreators
git-svn-id: trunk@26201 -
2010-06-20 10:45:52 +00:00
mattias
dab1b02763 clean up OldAutoSize
git-svn-id: trunk@25823 -
2010-06-01 20:21:32 +00:00
paul
0fd468ac81 designer: fix selection of non-visual components on the same level (bug #0015428)
git-svn-id: trunk@25791 -
2010-05-31 03:35:41 +00:00
mattias
1f0867e592 LCL: update BaseParentClientSize on SetParent, bug #16594
git-svn-id: trunk@25769 -
2010-05-30 14:25:54 +00:00
dmitry
f9e656e9a1 ide: fix for TMainMenuComponentEditor edit method. Fix crash of MenuEditor, on edited menu component deleted
git-svn-id: trunk@25611 -
2010-05-24 15:17:55 +00:00
mattias
f25c0d95e5 IDE: using IDEIntf to show dockable windows
git-svn-id: trunk@25604 -
2010-05-24 14:31:03 +00:00
mattias
811e84764c IDE: removed TComponentInterface
git-svn-id: trunk@25457 -
2010-05-16 11:41:42 +00:00
mattias
d8e625e5a2 IDE: anchor editor layout
git-svn-id: trunk@25375 -
2010-05-13 17:21:44 +00:00
mattias
a92d69cb0d IDE: undid handling copy, cut, paste of objectinspector
git-svn-id: trunk@24855 -
2010-04-23 16:05:36 +00:00
mattias
188ae1249a IDE: removing designer commands cut,copy,paste and using global ones, bug #15481
git-svn-id: trunk@24699 -
2010-04-18 17:19:27 +00:00