paul
cea7ca2577
ide: hide DumpExceptionBackTrace to the ifdef block since it does not compile anymore
...
git-svn-id: trunk@22725 -
2009-11-23 14:55:33 +00:00
paul
f90c5c0b2f
designer: implementation of CM_DESIGNHITTEST by Eugene Kryukov (issue #0015123 )
...
git-svn-id: trunk@22714 -
2009-11-23 04:29:01 +00:00
mattias
1913e8198e
IDEIntf: added TComponentEditorDesigner.ChangeStamp and OnModified handler list
...
git-svn-id: trunk@22703 -
2009-11-22 12:31:34 +00:00
mattias
b7dcea7011
IDE: designer mediator: setting Designer
...
git-svn-id: trunk@22668 -
2009-11-18 10:32:59 +00:00
mattias
eceb0f4670
IDE: using mediator to set and load bounds when creating new component
...
git-svn-id: trunk@22635 -
2009-11-17 05:04:57 +00:00
paul
f8141283a2
ide: change class dialog: simplify look, apply changes on return key press
...
git-svn-id: trunk@22632 -
2009-11-17 03:14:40 +00:00
mattias
25bbbfc1e6
IDE: loading inline components: add jitmethods to lookuproot of component instead of lookuproot of reader, bug #15086
...
git-svn-id: trunk@22628 -
2009-11-16 15:52:15 +00:00
mattias
f246b17923
IDE: controlselection: using FreeNotification opRemove for selected components
...
git-svn-id: trunk@22627 -
2009-11-16 15:12:14 +00:00
paul
c582f62100
designer: don't set csAncestor for csInline components with non csInline owner
...
git-svn-id: trunk@22515 -
2009-11-10 09:04:20 +00:00
paul
d349c95a16
designer: set csAncestor when reading inline component and subcomponent ancestor exists
...
git-svn-id: trunk@22503 -
2009-11-09 13:40:36 +00:00
mattias
4346679737
IDE: set csAncestor for root components with ancestors
...
git-svn-id: trunk@22487 -
2009-11-08 11:03:34 +00:00
mattias
e6d6a54eb9
reduced warnings
...
git-svn-id: trunk@22382 -
2009-11-02 10:47:24 +00:00
mattias
6a383f06ec
added comment
...
git-svn-id: trunk@22342 -
2009-10-29 14:51:47 +00:00
mattias
58cb88ebb3
IDE: when hiding an used designer component: free/hide the form
...
git-svn-id: trunk@22341 -
2009-10-29 14:47:36 +00:00
mattias
5a0d1223bc
IDE: reduced debugging
...
git-svn-id: trunk@22288 -
2009-10-26 12:42:05 +00:00
mattias
29ea3fdaa5
IDE: fixup references when dropping a frame onto a form
...
git-svn-id: trunk@22260 -
2009-10-22 13:56:11 +00:00
paul
cc6b1224f5
designer: paint non-visual component names using parent form brush color for filling (so on datamodule they will have clWhite bg and on form clBtnFace)
...
git-svn-id: trunk@22255 -
2009-10-22 07:58:03 +00:00
mattias
9e8f522ad3
IDE: updated lrs
...
git-svn-id: trunk@22224 -
2009-10-18 11:37:56 +00:00
mattias
8d7e5bda13
IDE: designer added option to ask for component name on create
...
git-svn-id: trunk@22221 -
2009-10-18 11:32:42 +00:00
mattias
b039ff1f73
IDE: added dialog to ask for component name
...
git-svn-id: trunk@22202 -
2009-10-17 10:16:39 +00:00
paul
b3ebc0bd80
designer: update control selection bounds after resize finish (issue #0014696 )
...
git-svn-id: trunk@21934 -
2009-10-01 02:51:22 +00:00
paul
1b95312ed1
designer: formatting
...
git-svn-id: trunk@21933 -
2009-10-01 02:47:11 +00:00
paul
76f31481a3
designer: fix TDesignerDeviceContext.GetFormOrigin
...
git-svn-id: trunk@21927 -
2009-09-30 07:48:46 +00:00
paul
72ca561bdb
designer: reduce debug output
...
git-svn-id: trunk@21925 -
2009-09-30 03:41:38 +00:00
paul
0547a037a7
designer: don't draw border spacing frame around noDesignSelectable controls (issue #0014684 )
...
git-svn-id: trunk@21904 -
2009-09-28 13:31:39 +00:00
paul
b680c53595
lcl, designer: better invalidate designer on move, resize (issue #0013886 )
...
git-svn-id: trunk@21875 -
2009-09-26 03:26:52 +00:00
paul
6abd81a239
designer: don't show useless TabStop, TabOrder info for the designer form in the hint window
...
git-svn-id: trunk@21869 -
2009-09-25 16:55:13 +00:00
paul
20b0d7a096
designer: improve repainting:
...
- invalidate control parents on move and resize
- use bitmap buffer to paint non visual components to reduce flickering
git-svn-id: trunk@21866 -
2009-09-25 15:25:55 +00:00
paul
376507bffe
designer: formatting
...
git-svn-id: trunk@21863 -
2009-09-25 14:43:46 +00:00
paul
7b76c5683e
designer: repaint after selection move
...
git-svn-id: trunk@21860 -
2009-09-25 12:31:18 +00:00
paul
d7d5afb621
designer: cleanup
...
git-svn-id: trunk@21839 -
2009-09-23 12:51:46 +00:00
paul
06befbadc9
designer: focus object inspector grid on pressing Enter key
...
git-svn-id: trunk@21811 -
2009-09-22 01:11:25 +00:00
paul
634d3996d9
ide, designer: extend jitform list to handle also TCustomForm descendants (not only TForm) (fixes issue #0013694 )
...
git-svn-id: trunk@21780 -
2009-09-20 07:20:16 +00:00
paul
900a8acec8
designer: show resize cursors for the controls with parent <> lookuproot (issue #0014626 )
...
git-svn-id: trunk@21779 -
2009-09-20 05:45:50 +00:00
paul
aab41d4aea
designer: don't resize a LookupRoot (bug #0014361 )
...
git-svn-id: trunk@21777 -
2009-09-20 04:47:06 +00:00
paul
d6a6f487a7
formatting
...
git-svn-id: trunk@21776 -
2009-09-20 04:42:57 +00:00
paul
bc005b9925
designer: don't hide a hint window on every mouse move if we are resizing/moving component (or it has problems on gtk2)
...
git-svn-id: trunk@21773 -
2009-09-19 17:24:50 +00:00
paul
272272f0ca
designer: improve hints in the designer:
...
- show hints on components resize (new size)
- show hints on components move (new relative position)
git-svn-id: trunk@21772 -
2009-09-19 17:08:16 +00:00
paul
00af634807
designer: extend hint string for TWinControl (add TabStop, TabOrder)
...
git-svn-id: trunk@21771 -
2009-09-19 16:13:43 +00:00
dmitry
1d7ba22be7
menueditor: fix for memory leaks
...
git-svn-id: trunk@21763 -
2009-09-19 08:43:20 +00:00
paul
314136229d
designer: select owner component on ESC if parent is not available
...
git-svn-id: trunk@21756 -
2009-09-18 08:02:12 +00:00
paul
6daf1895cc
designer: cancel move/resize operation on ESC key press (issue #0010981 )
...
git-svn-id: trunk@21755 -
2009-09-18 07:36:09 +00:00
paul
f4defcfde3
designer: skip invisible controls during keyboard traverse
...
git-svn-id: trunk@21754 -
2009-09-18 06:09:10 +00:00
paul
e19f46701f
designer: fix traversing component using arrow keys
...
git-svn-id: trunk@21752 -
2009-09-18 00:32:19 +00:00
paul
45e4016cdd
designer: traverse component using keyboard (tab and arrow keys)
...
git-svn-id: trunk@21749 -
2009-09-17 12:59:14 +00:00
paul
58231e2990
designer: select designer form on right click (if right click select is in the options)
...
git-svn-id: trunk@21746 -
2009-09-17 08:49:05 +00:00
paul
86450c53f1
designer: also track extra mouse buttons (for completeness)
...
git-svn-id: trunk@21742 -
2009-09-17 04:55:47 +00:00
paul
9743208425
designer: fix moving components
...
git-svn-id: trunk@21741 -
2009-09-17 04:47:49 +00:00
mattias
11ee91d1b3
IDE: added FreeNotifications for designer, mediator, form, jitformlists
...
git-svn-id: trunk@21734 -
2009-09-16 13:04:52 +00:00
mattias
5a612c0fdb
IDE: fixed designer shiftstate
...
git-svn-id: trunk@21732 -
2009-09-16 10:51:34 +00:00
mattias
3d4e211dbf
IDEIntf: designer mediator: mouse events
...
git-svn-id: trunk@21730 -
2009-09-16 09:59:02 +00:00
mattias
fb82c5b9a3
IDEIntf: designer mediator key handling
...
git-svn-id: trunk@21670 -
2009-09-12 16:39:15 +00:00
mattias
9d47b22a8e
IDEIntf: fixed designer mediator grand child bounds
...
git-svn-id: trunk@21668 -
2009-09-12 16:06:18 +00:00
mattias
b6cf29d755
IDEIntf: designer mediator: fixed GetComponentOriginOnForm
...
git-svn-id: trunk@21667 -
2009-09-12 15:04:52 +00:00
mattias
6681f6a556
IDE: designer mediator: add components
...
git-svn-id: trunk@21664 -
2009-09-12 14:51:26 +00:00
mattias
5217303e69
IDE: designer mediator: started adding components
...
git-svn-id: trunk@21650 -
2009-09-11 12:40:25 +00:00
mattias
5a72f4fee4
IDE: designer mediator: implemented rubberband and draw markers
...
git-svn-id: trunk@21649 -
2009-09-11 12:05:49 +00:00
mattias
de3d5fa347
IDEIntf: designer mediator: fixed GetComponentOriginOnForm
...
git-svn-id: trunk@21644 -
2009-09-10 11:12:52 +00:00
mattias
696ab5f46c
IDEIntf: designer mediator: fixed example GetClientArea
...
git-svn-id: trunk@21643 -
2009-09-10 11:08:32 +00:00
paul
3c12d6c41b
designer: woraround gtk2 bug with drawing text on GDK_INCLUDE_INFERIOR graphic context
...
git-svn-id: trunk@21641 -
2009-09-10 01:43:48 +00:00
mattias
382a314889
IDEIntf: designer mediator: started ComponentAtPos
...
git-svn-id: trunk@21638 -
2009-09-09 22:17:40 +00:00
mattias
2d33a670e1
IDEIntf: designer mediator: added ComponentIsIcon
...
git-svn-id: trunk@21637 -
2009-09-09 20:16:48 +00:00
mattias
135eaf5923
IDE: designer mediator: paint
...
git-svn-id: trunk@21626 -
2009-09-08 16:59:34 +00:00
mattias
6e272afa14
IDE: mediator in controlselection
...
git-svn-id: trunk@21625 -
2009-09-08 16:00:56 +00:00
mattias
4e4340b68b
IDEIntf: designer mediator: LCLForm and Designer
...
git-svn-id: trunk@21624 -
2009-09-08 15:26:39 +00:00
mattias
463fff0bb4
IDE: designer mediator: added InitFormInstance method
...
git-svn-id: trunk@21621 -
2009-09-08 11:55:37 +00:00
mattias
9e1dbe78ab
IDE: designer: create mediator
...
git-svn-id: trunk@21620 -
2009-09-08 11:43:21 +00:00
mattias
a288977d4c
IDE: designer: using Left,Top properties if available for non TControl forms
...
git-svn-id: trunk@21619 -
2009-09-08 11:15:16 +00:00
mattias
c4b9231706
IDE: designer: added menu item Center form
...
git-svn-id: trunk@21614 -
2009-09-08 10:22:48 +00:00
mattias
8ad516451b
IDE: implemented registering designer mediators
...
git-svn-id: trunk@21613 -
2009-09-08 10:12:55 +00:00
paul
20cb5e028d
designer: revert 21609 #88641be03d since tDesignercanvas does not supports embedded save/restore
...
git-svn-id: trunk@21612 -
2009-09-08 09:13:08 +00:00
paul
88641be03d
designer: reduce SaveDC, RestoreDC calls
...
git-svn-id: trunk@21609 -
2009-09-08 08:26:26 +00:00
dmitry
96eb0e1e5a
fix for #14522
...
git-svn-id: trunk@21596 -
2009-09-07 07:31:28 +00:00
dmitry
3b2f307b4b
fix for #14521
...
git-svn-id: trunk@21595 -
2009-09-07 07:22:03 +00:00
paul
f5b7d75df5
ide, designer: allow negative left and top for non-visual components (also fixes bug #0013468 )
...
git-svn-id: trunk@21561 -
2009-09-04 03:25:05 +00:00
paul
c680ad8794
designer, component palette: turn "multy" mode on when shift is pressed during component selection (issue #0008052 )
...
git-svn-id: trunk@21537 -
2009-09-02 14:17:19 +00:00
mattias
074aa39eb1
IDE: disable csSetCaption when creating component, caption is set during loading OR when creating a new component, but not both, needed for empty caption
...
git-svn-id: trunk@21472 -
2009-08-28 06:54:14 +00:00
paul
d17da7b5e3
formatting
...
git-svn-id: trunk@21467 -
2009-08-27 17:17:53 +00:00
mattias
fe37264155
IDE: checking for circles when putting a frame, bug #14311
...
git-svn-id: trunk@21314 -
2009-08-19 11:09:30 +00:00
paul
e447466f59
ide: fix compilation with fpc 2.5.1
...
git-svn-id: trunk@21277 -
2009-08-18 08:42:22 +00:00
mattias
cb375e7df1
IDE: added check to avoid circular frames, bug #14311
...
git-svn-id: trunk@21274 -
2009-08-17 21:43:04 +00:00
paul
61ae96cde3
designer: cleanup, formatting
...
git-svn-id: trunk@21223 -
2009-08-14 16:55:11 +00:00
paul
f0f908b584
designer: menu designer: clear current menu on form close (bug #0014181 )
...
git-svn-id: trunk@20933 -
2009-07-24 02:15:59 +00:00
mattias
d0324f58e4
clean up
...
git-svn-id: trunk@20921 -
2009-07-22 10:06:22 +00:00
paul
d23ecb2d45
designer: resize frame when new value is entered for width or height in the object inspector
...
git-svn-id: trunk@20875 -
2009-07-17 12:50:41 +00:00
paul
8f5b5a247c
designer: fix crashes in menu designer (bug #0014050 )
...
git-svn-id: trunk@20742 -
2009-06-25 08:19:22 +00:00
paul
b40172afcd
designer: simplify previous commit
...
git-svn-id: trunk@20726 -
2009-06-24 01:38:46 +00:00
paul
7dd0bd8b77
ide, designer: fix compilation after recent fpc 2.3.1 change - r13320 #54190edc5b
...
git-svn-id: trunk@20725 -
2009-06-24 01:29:12 +00:00
paul
82a3cd2da5
designer: change caption 'xml' -> 'XML', adjust designer menu
...
git-svn-id: trunk@20678 -
2009-06-20 11:08:34 +00:00
paul
cab70763c4
designer: add, change some popup menu constants
...
git-svn-id: trunk@20677 -
2009-06-20 10:40:35 +00:00
paul
012469d3f6
designer: menu designer:
...
- decrease amount of global variables
- set correct owner for internal popupmenu and items
- fix few memory leaks
git-svn-id: trunk@20647 -
2009-06-17 06:27:43 +00:00
paul
fed0249f42
designer: menu editor: format code, add more checks
...
git-svn-id: trunk@20645 -
2009-06-17 02:17:06 +00:00
paul
282a2b206c
ide: fix "insert menu from template" dialog buttons
...
git-svn-id: trunk@20615 -
2009-06-13 09:17:32 +00:00
mattias
dcf8452b15
IDE: fixed crash on copying components with new methods, bug #13204
...
git-svn-id: trunk@20266 -
2009-05-27 13:59:22 +00:00
paul
93a1c4eccf
designer: update component treeview and object inspect on after execution of chnage parent command (issue #0013787 )
...
git-svn-id: trunk@20115 -
2009-05-22 04:29:39 +00:00
paul
ad30f8d3e7
ide: use same string and icon for all Options menu items
...
git-svn-id: trunk@20082 -
2009-05-21 01:59:12 +00:00
paul
e932577e22
ide, debugger, packager: don't use special Ok, Cancel, Help captions for buttons - use standard LCL - they have accelerators (Ok and Help) (fixes a part of issue #0001379 )
...
git-svn-id: trunk@20045 -
2009-05-19 08:54:33 +00:00
paul
84fe092b0e
designer: don't position new frame form at the default position (by request of Phil in issue #0013695 )
...
git-svn-id: trunk@19934 -
2009-05-12 02:51:25 +00:00
paul
fe23c7c33f
designer: change more dialogs to have button panel instead of ok, cancel buttons
...
git-svn-id: trunk@19732 -
2009-05-01 12:41:29 +00:00
paul
03a60c0956
designer: set AutoSize = True for spinedits in the anchor editor
...
git-svn-id: trunk@19731 -
2009-05-01 12:23:46 +00:00
paul
d0bc80f9d9
designer: reanchor align components dialog, use button panel
...
git-svn-id: trunk@19730 -
2009-05-01 12:21:29 +00:00
paul
45fc6d2b1f
designer: reduce verbosity
...
git-svn-id: trunk@19725 -
2009-05-01 07:38:13 +00:00
vincents
a168077e2a
menu designer: reduce changes in the OnPaint event (issue #11190 ) from Dmitry
...
git-svn-id: trunk@19688 -
2009-04-29 10:01:48 +00:00
mattias
5f4c6b579f
IDE: added more ShowAbort flags
...
git-svn-id: trunk@19651 -
2009-04-27 18:08:58 +00:00
jesus
2e5838c4d2
IDE, unconditionally show component caption on form designer hints
...
git-svn-id: trunk@19431 -
2009-04-15 00:17:49 +00:00
paul
c8fc970de1
ide: form positions (part of issue #0013507 )
...
- correctly save/restore anchor editor position
- show all registered (in enum) windows in the option->environment->window
- rename few menu items (remove 'View' since they are in the View menu already)
git-svn-id: trunk@19406 -
2009-04-13 09:22:56 +00:00
paul
3b28882b67
designer: fix crashes (bug #0013385 )
...
git-svn-id: trunk@19068 -
2009-03-23 01:35:02 +00:00
paul
0a20153a4d
designer: fix painting (visible only on windows)
...
- use symmetric DC.Restore for all DC.Save calls
- set control for designer DC since it is not always possible to retrieve control from DC (especially it is impossible on windows)
- if GetDCOriginRelativeToWindow return False use another approach to retrieve this origin (using known DC control)
- formatting
git-svn-id: trunk@19064 -
2009-03-22 16:00:04 +00:00
paul
f48e79bee7
designer: allow to drop components on several opened designer forms ( fixes #0008062 )
...
git-svn-id: trunk@18835 -
2009-02-27 08:21:37 +00:00
paul
2b18e40042
designer: formatting
...
git-svn-id: trunk@18834 -
2009-02-27 08:14:13 +00:00
paul
2f23907551
designer: when show component name fill name rectangle before to prevent ugly look if few names overlap each-other
...
git-svn-id: trunk@18819 -
2009-02-24 14:09:22 +00:00
paul
e341c015c5
designer: introduce TDesigner.ShowComponentCaptions property, fix SetShowComponentCaptionHints and SetShowEditorHints
...
ide: switch Designer.ShowComponentCaptions when "Show component captions" option is switched in the IDE options
git-svn-id: trunk@18812 -
2009-02-24 02:22:36 +00:00
paul
7e1eb7a0f1
designer: a bit improve form invalidates I introduced in r18806 #d37ad93cb0
...
git-svn-id: trunk@18810 -
2009-02-23 15:09:45 +00:00
paul
d37ad93cb0
designer: Show non-visual component names below icons (issue #0013180 )
...
git-svn-id: trunk@18806 -
2009-02-23 09:13:27 +00:00
paul
1fdf7aac12
designer: improve look of non-visual components
...
git-svn-id: trunk@18805 -
2009-02-23 08:34:04 +00:00
paul
b260e0bc7d
designer: formatting
...
git-svn-id: trunk@18801 -
2009-02-23 07:32:49 +00:00
paul
e8e122df26
designer: add SelectAll menu item, Ctrl+A key handling (implements issue #0001776 )
...
git-svn-id: trunk@18757 -
2009-02-19 03:43:00 +00:00
paul
2b2c44b007
formatting
...
git-svn-id: trunk@18756 -
2009-02-19 02:53:00 +00:00
paul
ce5bc947cf
designer: BuildPopupMenu must reassign DesignerMenuRoot and all events (fixes bug #0011278 )
...
git-svn-id: trunk@18750 -
2009-02-18 15:36:14 +00:00
mattias
26293e4375
IDE: designer: fixed updating Form.Left/Top on window move
...
git-svn-id: trunk@18628 -
2009-02-10 10:11:04 +00:00
paul
40f211f179
designer: formatting
...
git-svn-id: trunk@18627 -
2009-02-10 04:19:06 +00:00
mattias
b9db2f0fa6
clean up
...
git-svn-id: trunk@18624 -
2009-02-09 23:31:35 +00:00
mattias
838c0d5428
IDE: designer: update OI props of selected form when moving
...
git-svn-id: trunk@18623 -
2009-02-09 23:23:24 +00:00
paul
c0d727fb3c
designer: stop resizing when Esc is pressed (bug #0010981 )
...
git-svn-id: trunk@18559 -
2009-02-04 14:17:13 +00:00
paul
f6ffc3b079
formatting
...
git-svn-id: trunk@18518 -
2009-01-31 13:11:39 +00:00
paul
5f96a45479
designer: set Cancel = True to Cancel button in some dialogs
...
git-svn-id: trunk@18484 -
2009-01-29 06:20:21 +00:00
paul
3fbd1fcf2d
designer: sat modified state after resize, align, mirror (bug #0012510 )
...
git-svn-id: trunk@18483 -
2009-01-29 06:18:54 +00:00
paul
e3f461ec5f
designer: skip invisible for designer controls from tab-order dialog
...
git-svn-id: trunk@18459 -
2009-01-27 04:19:52 +00:00
mattias
de0f8578f0
set some TTreeView.ReadOnly to true
...
git-svn-id: trunk@18361 -
2009-01-20 20:20:52 +00:00
paul
85a4abd345
designer: clear the whole component selection on designer destroying (bug #0012994 )
...
git-svn-id: trunk@18337 -
2009-01-19 08:32:41 +00:00
paul
e70dbcf2b1
designer: don't skip controls with TabStop=False when writing TabOrder. Such controls can have another controls and skipping them can break desired order.
...
git-svn-id: trunk@18226 -
2009-01-09 17:35:02 +00:00
paul
469e8d7e1a
designer: don't allow to drop controls on a parent which does not support that child class (part of bug #0010378 )
...
git-svn-id: trunk@18188 -
2009-01-07 13:37:57 +00:00
paul
49277ad3f4
designer: don't lose component event handlers when copy component to the buffer (bug #0012505 )
...
git-svn-id: trunk@18080 -
2009-01-03 18:09:52 +00:00
martin
96f69ddc65
AnchorEditor: fix range-check, bug #12906
...
git-svn-id: trunk@18076 -
2009-01-03 14:08:37 +00:00
paul
c78852b34d
designer: fix right click select on windows
...
git-svn-id: trunk@18009 -
2009-01-01 13:23:48 +00:00
mattias
be5d5ae20a
removed jitform
...
git-svn-id: trunk@17994 -
2008-12-30 11:48:15 +00:00
paul
8af15edac9
ideintf: object inspector refactoring from Alexander S. Klenin (Mantis #0012871 )
...
- extract IsCurrentEditorAvailable function
- use CanEditRowValue function
- move favorite and restricted properties into a separate unit
- restrict visibility of public fields
- remove duplicated code in TObjectInspectorDlg.CreateNoteBook
git-svn-id: trunk@17970 -
2008-12-29 03:06:09 +00:00
mattias
64899ef234
IDE: designer: fixed pasting onto a focused but not selected form
...
git-svn-id: trunk@17961 -
2008-12-27 08:59:10 +00:00
mattias
5f7325271c
IDE: searching jitmethods in ancestors
...
git-svn-id: trunk@17754 -
2008-12-09 12:02:16 +00:00
paul
ccada0730a
designer: reduce debug output
...
git-svn-id: trunk@17743 -
2008-12-09 06:23:54 +00:00
laurent
4b344f137a
IDE: rename the images to avoid overload
...
git-svn-id: trunk@17660 -
2008-12-02 13:28:21 +00:00
paul
c564a009b3
designer: allow to put controls on a TCustomFrame children
...
git-svn-id: trunk@17607 -
2008-11-27 02:26:06 +00:00
mattias
11bd4ccd3d
IDE: anchor editor: implemented anchoring for left/top/right/bottommost sibling for multi selections from Benito van der Zander, bug #12340
...
git-svn-id: trunk@17603 -
2008-11-26 15:58:52 +00:00
paul
85dde9ba4f
designer: increase max limits in the anchors editor from 200 to 2048 (why it was so little before?)
...
git-svn-id: trunk@17583 -
2008-11-25 15:55:21 +00:00
paul
6e2e2c1ff2
lcl: update visibility of methods to prevent compiler warnings
...
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
- move some descendants methods from lower visibility to higher
- fix use of protected KeyDown, Paint inside few ide units
git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
mattias
04b8a93513
IDE+object inspector: shwoing code help hints for properties
...
git-svn-id: trunk@17478 -
2008-11-20 16:27:27 +00:00
marc
88ff1df906
+ Added Registers debug view
...
git-svn-id: trunk@17431 -
2008-11-19 01:35:01 +00:00
paul
e1ab76a782
designer: workaround problem with using Width as ClientWidth
...
git-svn-id: trunk@17026 -
2008-10-17 02:05:35 +00:00
mattias
405932ec23
IDE: enabled TFrame by default
...
git-svn-id: trunk@16909 -
2008-10-07 11:56:03 +00:00
paul
942fc72cd3
designer: formatting, + add misc debugLn
...
git-svn-id: trunk@16858 -
2008-10-03 09:26:48 +00:00
paul
1ea08777de
designer: restore occasionally removed 'not'
...
git-svn-id: trunk@16857 -
2008-10-03 08:07:17 +00:00
tombo
e365c98cca
LCL: renamed TWidgetSet.LCLCapabilities to GetLCLCapabilities
...
- added new capabilities
git-svn-id: trunk@16849 -
2008-10-02 12:51:37 +00:00
paul
717d247586
designer (regression! must be merged): repair up, down buttons in TabOrder dialog. (thanks Logo for hint)
...
git-svn-id: trunk@16739 -
2008-09-26 03:12:15 +00:00
paul
60b7a905c7
designer: simplify code
...
git-svn-id: trunk@16737 -
2008-09-26 01:27:49 +00:00
laurent
985937e965
Load glyph form resource
...
git-svn-id: trunk@16710 -
2008-09-24 14:50:51 +00:00
laurent
dd28cb447d
Load glyph form resource and somme resourcestrings
...
git-svn-id: trunk@16705 -
2008-09-24 12:56:01 +00:00
mattias
5f7508c6e2
IDE: anchor editor: fixed bottom sibling combobox
...
git-svn-id: trunk@16447 -
2008-09-06 07:12:55 +00:00
mattias
763fd91a65
IDE: designer: anchor editor: fixed using EditongDone
...
git-svn-id: trunk@16309 -
2008-08-30 19:25:43 +00:00
mattias
69cfe88898
using UTF-8 for file operations and environment variables
...
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
mattias
c6872df774
codetools: fixed lfm parser TokenStart
...
git-svn-id: trunk@16141 -
2008-08-19 11:11:22 +00:00
mattias
23cd07a771
IDE: change class: enabled combobox complete
...
git-svn-id: trunk@16140 -
2008-08-19 10:52:33 +00:00
mattias
a12f86e905
IDE: improved layout of TChangeClassDlg
...
git-svn-id: trunk@16139 -
2008-08-19 10:48:23 +00:00
mattias
c81aab571f
fixed uninitialized function results
...
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
7ea9854894
IDE: designer: fixed mem leak
...
git-svn-id: trunk@16062 -
2008-08-14 18:54:29 +00:00
mattias
522be24b4a
IDE: designer: handling CN_SYSKEYUP/DOWN messages, e.g. Cmd+C under carbon
...
git-svn-id: trunk@15938 -
2008-08-03 19:56:46 +00:00
mattias
cdd9051f3a
IDE: designer: fixed deleting pasted child controls from source, bug #11459
...
git-svn-id: trunk@15906 -
2008-07-29 08:53:53 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
marc
eb3a29e663
* Use Anchors for anchoreditor itself. Patch by Valdas Jankunas
...
git-svn-id: trunk@15768 -
2008-07-13 19:42:43 +00:00
mattias
10591e3176
IDE: forbidding putting components on csInline controls, because TWriter does not support this
...
git-svn-id: trunk@15741 -
2008-07-10 18:00:42 +00:00
mattias
a694ca9ced
IDE: changed GetLookupRootForComponent to handle nested/inline components
...
git-svn-id: trunk@15719 -
2008-07-09 11:56:49 +00:00
mattias
6e13c5dbe9
synedit: codefolding fixes: ctrl-mouse underlining, cursor left/right skip blocks from Martin Friebe
...
git-svn-id: trunk@15718 -
2008-07-09 11:38:05 +00:00
mattias
530aa687de
IDE: reduced debugging output
...
git-svn-id: trunk@15701 -
2008-07-07 22:22:17 +00:00
mattias
138ad73ec6
IDE: fixed creating methods with the right LookupRoot owner for inline components
...
git-svn-id: trunk@15700 -
2008-07-07 22:21:48 +00:00
mattias
bc8c1dea0f
IDE: putting inline component into form: fixed lookuproot of methods
...
git-svn-id: trunk@15699 -
2008-07-07 20:43:13 +00:00
mattias
6611e4c5c9
IDE: designer: reading inline streams when putting components on a form
...
git-svn-id: trunk@15683 -
2008-07-06 13:36:02 +00:00
mattias
dc35d7411d
IDE: do not allow putting the frame itself or on of its ancestors onto the frame
...
git-svn-id: trunk@15562 -
2008-06-24 15:12:14 +00:00
mattias
f3ae482691
IDE: implemented putting a frame onto a designer
...
git-svn-id: trunk@15561 -
2008-06-24 15:05:51 +00:00
vincents
652b5eb74c
default widget set for Mac OS X is now Carbon, not gtk1
...
git-svn-id: trunk@15488 -
2008-06-20 19:33:44 +00:00
mattias
97ceeb98a6
IDE: enabled multi form properties by default
...
git-svn-id: trunk@15334 -
2008-06-06 06:14:04 +00:00
mattias
e015a8abdf
IDE: designer: not setting ancesto during reading
...
git-svn-id: trunk@15271 -
2008-05-28 17:47:24 +00:00
mattias
d0dadb1551
IDE: showing lfm filename on read stream error
...
git-svn-id: trunk@15263 -
2008-05-27 16:06:00 +00:00
mattias
c7cab28f06
IDE: improved error handling readstream
...
git-svn-id: trunk@15262 -
2008-05-27 14:56:22 +00:00
mattias
5c7e0b9f07
IDE: designer: giving error on exception while loading lfm
...
git-svn-id: trunk@15257 -
2008-05-27 11:57:53 +00:00
mattias
2bf1be0786
synedit: lfm highlighter: added keyword inline
...
git-svn-id: trunk@15234 -
2008-05-26 14:08:50 +00:00
mattias
5afca49751
IDE: designer: added comment about csDesignInstance
...
git-svn-id: trunk@15233 -
2008-05-26 09:14:28 +00:00
mattias
b87e7979e5
IDE: designer: auto resetting frame bounds/anchors
...
git-svn-id: trunk@15232 -
2008-05-26 07:40:37 +00:00
mattias
3668e304fa
IDE: designer: implemented using ancestor in TCustomFormEditor.SaveUnitComponentToBinStream
...
git-svn-id: trunk@15230 -
2008-05-26 00:08:46 +00:00
mattias
da7efa80db
IDE: designer: implemented loading lists of ancestors
...
git-svn-id: trunk@15229 -
2008-05-25 23:37:39 +00:00
mattias
0f56af6dc6
IDE: designer: improved error messages
...
git-svn-id: trunk@15228 -
2008-05-25 22:20:58 +00:00
mattias
a75241f932
IDE: using DesignInfo for frames to store position, LCL: TFrame storing DesignLeft and DesignTop
...
git-svn-id: trunk@15227 -
2008-05-25 20:50:07 +00:00
mattias
29eab2b98f
IDE: designer: implemented creating a nested frame
...
git-svn-id: trunk@15226 -
2008-05-25 16:30:59 +00:00
mattias
53d28a00e4
IDE: designer: started reading ancestor streams of nested controls
...
git-svn-id: trunk@15224 -
2008-05-25 12:28:11 +00:00
mattias
9598e8b7a7
translations: turkish: updates from Hakan
...
git-svn-id: trunk@15220 -
2008-05-23 18:57:36 +00:00
mattias
d0c1ddd0d2
IDE: designer: started creating nested frames
...
git-svn-id: trunk@15200 -
2008-05-21 15:00:34 +00:00
mattias
5247dc563d
IDE: designer: forbid deleting components not owned by the lookuproot
...
git-svn-id: trunk@15188 -
2008-05-20 08:11:40 +00:00
mattias
d52d359d9e
IDE: implemented loading more than one ancestor lfm
...
git-svn-id: trunk@15185 -
2008-05-19 22:57:21 +00:00
mattias
5d66571b44
IDE: implemented parsing LCLVersion from lfm, added ResourceBaseClass to TUnitInfo and TPkgFile
...
git-svn-id: trunk@15106 -
2008-05-12 16:59:43 +00:00
paul
90d87af7b6
designer:
...
- auto resize frame on designer form resize
- position frame designer at default position since frame TopLeft is always (0,0) in the designer
git-svn-id: trunk@15068 -
2008-05-07 07:18:29 +00:00
paul
5958104166
ide: fix compilation
...
git-svn-id: trunk@15060 -
2008-05-06 11:13:14 +00:00
paul
d4aba5ae44
ide:
...
- derive FrameDesigner and NonControlDesigner from the same ancestor and use it where is possible (simplify code)
- set UseCreateFormStatements to false for frames
git-svn-id: trunk@15059 -
2008-05-06 09:29:24 +00:00
paul
906fc15355
ide:
...
- set parent for frame to show its content
- fix frame positioning in the designer
git-svn-id: trunk@15057 -
2008-05-06 07:57:31 +00:00
paul
3825a0a319
ide: start frame support (with -dEnableTFrame)
...
git-svn-id: trunk@15052 -
2008-05-06 03:28:07 +00:00
mattias
3864f806a5
designer: menu item align now enabled when one control is selected
...
git-svn-id: trunk@15049 -
2008-05-05 20:14:39 +00:00
mattias
e7cc14cc50
IDE: added favourite property TSpeedButton.Glyph
...
git-svn-id: trunk@15013 -
2008-04-29 13:09:21 +00:00
marc
c81003eefa
* Introduced TCustomBitmap as base class for all pixelbased imageclasses. Currently backward comatible (and equal to) TBitmap
...
* Added resource loading support to TPicture and Glyps to avoid image quality loss when converted to TBitmap
* Removed copy paste code for imagelist resource loading
* Moved some graphic classes to their own ini file
git-svn-id: trunk@14876 -
2008-04-17 23:43:11 +00:00
mattias
d6163d5518
IDE: fixing up global designer references
...
git-svn-id: trunk@14839 -
2008-04-15 18:28:17 +00:00
mattias
91532eaa76
IDE: removed unneeded search, added comment
...
git-svn-id: trunk@14838 -
2008-04-15 17:58:32 +00:00
mattias
1b91ed2cf9
IDE: reduced verbosity
...
git-svn-id: trunk@14837 -
2008-04-15 17:40:29 +00:00
mattias
6e4716784e
IDE: added IFDEF for experimental code
...
git-svn-id: trunk@14836 -
2008-04-15 17:39:33 +00:00
mattias
542dbfa485
IDE: clean up
...
git-svn-id: trunk@14833 -
2008-04-15 16:54:43 +00:00
mattias
92e555f7da
codetools: lfmtrees are now kept
...
git-svn-id: trunk@14826 -
2008-04-15 12:08:36 +00:00
paul
09b6731e09
ide: start resolving foreign references (works only when referenced form is already loaded)
...
git-svn-id: trunk@14798 -
2008-04-10 08:44:50 +00:00
laurent
b7ae37634e
Designer: ResourceStrings for Size Component Dialog
...
git-svn-id: trunk@14735 -
2008-04-02 19:26:18 +00:00
paul
8a14c7ca0e
designer: change align and look of few dialogs
...
git-svn-id: trunk@14701 -
2008-04-01 01:47:32 +00:00
laurent
824ad7af42
New icones
...
git-svn-id: trunk@14685 -
2008-03-29 23:59:19 +00:00
laurent
78834525a4
News icons for designer
...
git-svn-id: trunk@14662 -
2008-03-26 22:42:29 +00:00
marc
b895d72611
* converted menueditorform to lfm by Maxim Ganetsky
...
git-svn-id: trunk@14450 -
2008-03-06 22:51:13 +00:00
paul
6133c58a06
add TCustomTimer.OnTimer to the list of favorites
...
git-svn-id: trunk@14297 -
2008-02-28 10:05:48 +00:00
mattias
e033e82e6d
codetools: fixed using the right keyword DoIt function
...
git-svn-id: trunk@14290 -
2008-02-27 20:15:49 +00:00
mattias
84a959ff17
IDE: added some more default favorite properties
...
git-svn-id: trunk@14289 -
2008-02-27 19:26:29 +00:00
vincents
64eefe417c
IDE: converted menu template from to lfm from Maxim Ganetsky
...
git-svn-id: trunk@14191 -
2008-02-19 12:01:07 +00:00
tombo
31ca02018a
IDE carbon: improved designer drawing
...
git-svn-id: trunk@14016 -
2008-02-07 13:37:47 +00:00
mattias
32baa469f6
IDE: removed unneeded vars
...
git-svn-id: trunk@14004 -
2008-02-06 19:30:17 +00:00
tombo
f013d19da8
IDE designer: boosted paint grid
...
git-svn-id: trunk@13997 -
2008-02-06 12:39:13 +00:00
tombo
a7714f09e0
IDE designer: limit component position to form client area
...
git-svn-id: trunk@13996 -
2008-02-06 11:45:50 +00:00
paul
3755b7e54a
restore occasionally deleted line of code
...
git-svn-id: trunk@13850 -
2008-01-24 02:30:13 +00:00
paul
0966193cf6
remove LM_INTERNALPAINT from designer
...
git-svn-id: trunk@13849 -
2008-01-24 02:17:41 +00:00
mattias
8a7cad8815
IDE: LFM: improved bokkeeping of currently read component, LCL: TCustomNoteBook: do no clear on ReadState to allow overriding with descendant streams
...
git-svn-id: trunk@13599 -
2008-01-03 00:38:28 +00:00
mattias
d4c8ad09ca
IDE: change class dialog: improved layout
...
git-svn-id: trunk@13589 -
2008-01-02 23:14:17 +00:00
mattias
680bf80d1b
IDE: designer: fixed changing parent to form
...
git-svn-id: trunk@13544 -
2007-12-30 23:42:09 +00:00
mattias
32c3be189a
IDE: designer: right click only selects if Shift=[]
...
git-svn-id: trunk@13345 -
2007-12-15 17:42:00 +00:00
paul
ed30a967a5
- increase component button with/height
...
- redirect all dependencies to component *image* width/height instead of *button* width/height
git-svn-id: trunk@13186 -
2007-12-07 00:07:26 +00:00
paul
c69fef99dc
images:
...
- added new, moved/renamed old
- procedure list dialog now use standard set of images instead of own
git-svn-id: trunk@13155 -
2007-12-05 06:43:08 +00:00
mattias
78c4c8abe2
IDE: designer: mvoing controls via keyboard Ctrl+Shift now moves grid steps
...
git-svn-id: trunk@13111 -
2007-12-01 23:53:13 +00:00
mattias
cdde9e222b
IDE: fixed updating statusbar on source editor page change via keyboard, fixed typo
...
git-svn-id: trunk@13110 -
2007-12-01 23:47:14 +00:00
mattias
1f16e30ecb
IDE: improved layout anchor editor
...
git-svn-id: trunk@13094 -
2007-11-30 22:50:26 +00:00
paul
548c9ae401
menuintf: moved ResourceName argument to the end of RegisterIDEMenuCommand to save compatibility with non-lazarus svn ide plugins
...
git-svn-id: trunk@13081 -
2007-11-30 01:48:32 +00:00
paul
594e79a01d
designer (size component dialog):
...
- fix memory leak
- reanchor dialog buttons
git-svn-id: trunk@13074 -
2007-11-29 08:53:53 +00:00
paul
3c7a01e5e9
designer: assign some glyphs to popup menu
...
git-svn-id: trunk@13073 -
2007-11-29 08:36:21 +00:00
paul
6301facd85
ide:
...
- extend menuintf: allow set ResourceName for menu items (to assign menu glyph)
- uniteditor: assign some glyphs to editor popup menu
git-svn-id: trunk@13070 -
2007-11-29 02:59:32 +00:00
mattias
e21cad7e75
IDE: increased anchor editor maximum borderspacing to 200
...
git-svn-id: trunk@12943 -
2007-11-20 22:22:26 +00:00
mattias
e8f4f6e240
replaced several BoolToStr calls with dbgs
...
git-svn-id: trunk@12914 -
2007-11-18 13:06:38 +00:00
paul
f6cf2dcbf9
reduce one mem leak in menu designer
...
git-svn-id: trunk@12907 -
2007-11-17 17:42:17 +00:00
vincents
0c328fda99
regenerated Makefiles with fixed fpc 2.3 fpcmake
...
git-svn-id: trunk@12846 -
2007-11-12 23:00:57 +00:00
mattias
b91754876e
Makefiles: recreated with fpcmake -Tall
...
git-svn-id: trunk@12824 -
2007-11-11 12:20:00 +00:00
vincents
439f5106bb
IDE: enabled fake methods by default, fixes bug #9216 .
...
Use -dDisableFakeMethods to use JIT methods.
git-svn-id: trunk@12822 -
2007-11-11 09:06:53 +00:00
mattias
353a56f452
IDE: designer menu: disable Align/Mirroring for single selections
...
git-svn-id: trunk@12634 -
2007-10-29 23:29:59 +00:00
vincents
6c588075a8
regenerated makefile for better cross compilation support ( #9924 )
...
git-svn-id: trunk@12554 -
2007-10-22 21:33:01 +00:00
mattias
b75d65f8d7
IDE: improved various dialogs using the new LCL bugfixes
...
git-svn-id: trunk@12539 -
2007-10-20 22:53:55 +00:00
mattias
e4a0241fcb
Makefiles: removed some fcl dependencies
...
git-svn-id: trunk@12495 -
2007-10-16 22:47:51 +00:00