Commit Graph

262 Commits

Author SHA1 Message Date
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
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
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
b871c78205 IDEIntf: added FormEditingHook.CreateUniqueComponentName
git-svn-id: trunk@22497 -
2009-11-09 10:41:47 +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
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
mattias
11ee91d1b3 IDE: added FreeNotifications for designer, mediator, form, jitformlists
git-svn-id: trunk@21734 -
2009-09-16 13:04:52 +00:00
paul
ec4e4a66cf ide: create new forms and datamodules on the IDE monitor
git-svn-id: trunk@21669 -
2009-09-12 16:34:58 +00:00
mattias
6681f6a556 IDE: designer mediator: add components
git-svn-id: trunk@21664 -
2009-09-12 14:51:26 +00:00
mattias
2d33a670e1 IDEIntf: designer mediator: added ComponentIsIcon
git-svn-id: trunk@21637 -
2009-09-09 20:16:48 +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
7dea84a734 IDE: form editor: reduced use of tcomponentinterface
git-svn-id: trunk@21617 -
2009-09-08 10:34:47 +00:00
mattias
0c6222085b IDE: position datamodules at least 30,30
git-svn-id: trunk@21615 -
2009-09-08 10:24:43 +00:00
mattias
8ad516451b IDE: implemented registering designer mediators
git-svn-id: trunk@21613 -
2009-09-08 10:12:55 +00:00
mattias
2291788a7c IDEIntf: started TDesignerMediator
git-svn-id: trunk@21601 -
2009-09-07 13:43:44 +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
b7d6bca23d ide: reduce debug output
git-svn-id: trunk@21346 -
2009-08-20 13:27:49 +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
mattias
e9dddb3a38 IDE: added some debugging for form loading/saving
git-svn-id: trunk@21288 -
2009-08-18 18:08:22 +00:00
mattias
5fe98142c0 codetools: add class visibility to smart hints
git-svn-id: trunk@21283 -
2009-08-18 15:42:50 +00:00
paul
2dc39a2443 ide: optimized TCustomFormEditor.HasCircularDependencies a bit
git-svn-id: trunk@21278 -
2009-08-18 08:54:20 +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
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
bb721d48bf designer: don't redraw component captions if they are not visible
git-svn-id: trunk@20296 -
2009-05-29 10:33:45 +00:00
paul
f83ed67b2d designer: update designer on component rename (issue #0013854)
git-svn-id: trunk@20295 -
2009-05-29 10:26:07 +00:00
paul
4faad99326 ide: formatting
git-svn-id: trunk@19896 -
2009-05-10 05:26:28 +00:00
mattias
be5d5ae20a removed jitform
git-svn-id: trunk@17994 -
2008-12-30 11:48:15 +00:00
paul
98dbf8f94c lcl,ide: rename RegisterRemovedProperty to RegisterPropertyToSkip, ...
git-svn-id: trunk@17792 -
2008-12-11 01:38:39 +00:00
paul
ebfa9fcc57 lcl: add overload for TRemovedPropertyList.IndexOf
git-svn-id: trunk@17741 -
2008-12-09 04:46:43 +00:00
paul
c9039dd63d lcl: add RegisterRemovedProperty procedure which allows to skip removed properties by TReader and by IDE
ide: use information about removed properties to skip them while loading components

git-svn-id: trunk@17739 -
2008-12-09 04:23:02 +00:00
mattias
5ed7fa3a72 IDE: using underscore for new components with numbers at end
git-svn-id: trunk@16361 -
2008-09-01 21:35:04 +00:00
paul
669af5fc10 ide: add check if TFrame doesnot exits on palette (lcl and ide has been compiled with different frame defines)
git-svn-id: trunk@16086 -
2008-08-16 13:10:28 +00:00
mattias
7ea9854894 IDE: designer: fixed mem leak
git-svn-id: trunk@16062 -
2008-08-14 18:54:29 +00:00
mattias
4f8e6b22ae LCL: fixed TDBEdit setting freenotification for DataSource, bug #11779
git-svn-id: trunk@15965 -
2008-08-06 07:26:49 +00:00
mattias
bfba06a2d8 fixed macro description ExeExt, fixed abort on lfm repair during project loading, fixed uninitialized result for HasUnitRegisterProc, find/replace dialog now can enable/disable replace by user - needed for apple human interface guide lines
git-svn-id: trunk@15941 -
2008-08-03 20:00:49 +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
1b29789902 IDE: fixed freeing nested TComponentInterfaces
git-svn-id: trunk@15748 -
2008-07-11 15:31:58 +00:00
mattias
c6197e81fe IDE: creating component interfaces for nested/inline components
git-svn-id: trunk@15734 -
2008-07-10 13:36:50 +00:00
mattias
9cf5b70a7d IDE: writing method names to stream of inline components
git-svn-id: trunk@15698 -
2008-07-07 15:54:50 +00:00
mattias
a1681f0ae4 IDE: delete form component: checking if it is a nested/inline component
git-svn-id: trunk@15696 -
2008-07-07 15:31:08 +00:00
mattias
085ddbcdac IDE: adding frame to form: adding published var, unit and package
git-svn-id: trunk@15692 -
2008-07-07 11:02:58 +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
7d22d4856a IDE: designer: creating components: set csInline before calling Create
git-svn-id: trunk@15682 -
2008-07-06 12:22:03 +00:00
mattias
06eebec281 IDE: designer: creating components: set ComponentState flags before calling Create
git-svn-id: trunk@15681 -
2008-07-06 12:13:43 +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
mattias
4668307b4f IDE: setting initial bounds for non form controls
git-svn-id: trunk@15483 -
2008-06-20 14:24:35 +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
1352a93e6e IDE: designer: writing nested inherited components
git-svn-id: trunk@15244 -
2008-05-26 16:40:21 +00:00
mattias
6a7677946e IDE: reduced output
git-svn-id: trunk@15243 -
2008-05-26 16:25:04 +00:00
mattias
c52071e8b7 IDE: designer: set default ancestor when writing component
git-svn-id: trunk@15242 -
2008-05-26 16:12:23 +00:00
mattias
3b6486fbbb IDE: designer: implemented generic function for TWriter to find stream ancestor
git-svn-id: trunk@15240 -
2008-05-26 15:22:25 +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
d0c1ddd0d2 IDE: designer: started creating nested frames
git-svn-id: trunk@15200 -
2008-05-21 15:00:34 +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
837f02de50 IDE: close project: replaced dialog with projectwizard from delphifreak
git-svn-id: trunk@15138 -
2008-05-14 15:20:48 +00:00
paul
1d8ed79592 designer: start placing frame onto another container
git-svn-id: trunk@15069 -
2008-05-07 08:21:19 +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
ca1d370ae3 ide: add method to convert one TypeClass to another when component is dropped to the form (needed for Frames)
git-svn-id: trunk@15058 -
2008-05-06 08:55:32 +00:00
paul
3825a0a319 ide: start frame support (with -dEnableTFrame)
git-svn-id: trunk@15052 -
2008-05-06 03:28:07 +00:00
mattias
b93f8d1495 IDE: fixed wrong free of unit component dependencies
git-svn-id: trunk@14849 -
2008-04-16 14:19:35 +00:00
paul
34642accc0 remove own declaration of TDataModule => use rtl instead
git-svn-id: trunk@14745 -
2008-04-04 00:31:33 +00:00
paul
0e5e04980d ide: reduce verbosity
git-svn-id: trunk@14370 -
2008-03-03 02:59:16 +00:00
mattias
e8f4f6e240 replaced several BoolToStr calls with dbgs
git-svn-id: trunk@12914 -
2007-11-18 13:06:38 +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
699c8c7b48 IDE: add check if TMainIDE.CreateNewForm FormEditor1.CreateComponent failed
git-svn-id: trunk@12790 -
2007-11-08 21:49:10 +00:00
mattias
a4dc35765d IDEIntf: added lfm/lrs files for objectinspector
git-svn-id: trunk@11965 -
2007-09-08 14:11:53 +00:00
vincents
370aa4c253 fixed fpc 2.3 compilation (assigning to set or record properties)
git-svn-id: trunk@11078 -
2007-05-04 22:43:58 +00:00
mattias
1398f3e372 lcl: published TFileListBox.Directory
git-svn-id: trunk@11041 -
2007-05-01 10:19:12 +00:00
mattias
7e3ecbe143 IDE: implemented fake methods instead of method hack
git-svn-id: trunk@11038 -
2007-04-30 10:42:56 +00:00
mattias
83d784f501 IDE: implemented fake methods (-dEnableFakeMethods). ToDos: 1. extend TWriter.OnWriteMethodProperty for fPropPath, 2. test
git-svn-id: trunk@11037 -
2007-04-30 00:36:05 +00:00
vincents
3dea707621 IDE: formeditor patch from Yury Sidorov
* show Exception message text is displayed when exception occurs in
component's constructor.
* fixed AV when destroying component when its creation failed.

git-svn-id: trunk@10654 -
2007-02-18 21:00:39 +00:00
mattias
b081e13590 IDE: improved error handling on destroying buggy designer component
git-svn-id: trunk@10463 -
2007-01-17 11:34:15 +00:00
mattias
fb43a48277 IDE: improved error handling on creating designer
git-svn-id: trunk@10462 -
2007-01-17 11:30:54 +00:00
mattias
52796d556e IDE: implemented registering custom component base classes for designer
git-svn-id: trunk@10458 -
2007-01-16 18:28:15 +00:00
mattias
787f9e814d added package SimpleIDEIntf to test IDE plugins easier
git-svn-id: trunk@10372 -
2007-01-04 19:51:33 +00:00
mattias
52994ffffc IDE: implemented renaming inherited form and references in unit (simple search and replace, but better than no replace)
git-svn-id: trunk@10163 -
2006-11-02 20:11:45 +00:00
mattias
00b85598ab IDE: improved renaming inherited components
git-svn-id: trunk@10082 -
2006-10-16 18:20:42 +00:00
mattias
c038401b5b IDE: implemented using Ancestor component when saving inherited root component, codetools: added flag to search in ancestors for dangling events
git-svn-id: trunk@10046 -
2006-10-07 20:49:56 +00:00
mattias
b6f164d0aa IDE: implemented creating designer for hidden component
git-svn-id: trunk@10045 -
2006-10-06 17:28:20 +00:00
mattias
099ee4dc99 IDE: implemented closing designer without freeing component
git-svn-id: trunk@10010 -
2006-09-30 13:57:40 +00:00
mattias
0c307f6bf0 IDE: improved ancestor laoding, LCL: fixed TWinControl.InsertControl overhead calling wrong UpdateControlState
git-svn-id: trunk@10005 -
2006-09-29 17:03:51 +00:00
mattias
ab3ba51719 qt intf: combobox from Luis
git-svn-id: trunk@10004 -
2006-09-29 11:06:13 +00:00
mattias
b5bc7f1565 IDE: implemented renaming unit of JIT class
git-svn-id: trunk@9977 -
2006-09-25 22:11:59 +00:00
mattias
8416ec2b2d IDE: using new unitname instead of default unitname
git-svn-id: trunk@9975 -
2006-09-25 20:34:51 +00:00
mattias
7bb113cec8 fixed a few fpc 2.1.1 incompatibilities
git-svn-id: trunk@9716 -
2006-08-11 12:38:00 +00:00
vincents
fd3b592a8d fixed adding a control to a form by double clicking while a non-control was selected (issue #1856)
git-svn-id: trunk@9048 -
2006-03-30 10:19:00 +00:00
mattias
d36315c0c6 registered TStrings.Strings as define property
git-svn-id: trunk@8400 -
2005-12-31 13:45:27 +00:00
mattias
f37495ee05 replaced error messagedlg on loading form with questiondlg
git-svn-id: trunk@8399 -
2005-12-31 13:03:06 +00:00
mattias
4f4f781869 renamed noncontrolforms.pas to noncontroldesigner.pas
git-svn-id: trunk@8335 -
2005-12-18 11:03:18 +00:00
mattias
6a7d9c6f45 renamed TNonControlForm to TNonControlDesignerForm
git-svn-id: trunk@8334 -
2005-12-18 10:52:54 +00:00
vincents
fc9c3bb22a dump exception backtrace in case of error, when deleting a component
git-svn-id: trunk@8015 -
2005-10-31 11:16:59 +00:00
vincents
cd92287656 Dump stack trace in case of exception when placing a component on a form.
git-svn-id: trunk@7822 -
2005-09-25 19:35:45 +00:00
mattias
418c53918e activated menuintf and idescopes
git-svn-id: trunk@7820 -
2005-09-25 11:52:16 +00:00
mattias
c403a620aa improved error handling
git-svn-id: trunk@7759 -
2005-09-20 18:28:48 +00:00