Commit Graph

72 Commits

Author SHA1 Message Date
maxim
682a383e55 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #32754
git-svn-id: trunk@56535 -
2017-11-29 22:49:04 +00:00
juha
b36128e0a4 Sparta mdi: Send pBG panel back instead of hiding it. Affects Sparta form designer with TMainMenu. Issue #32200, patch from Anthony Walter.
git-svn-id: trunk@55999 -
2017-10-08 16:58:36 +00:00
juha
29aecae6e6 Sparta form designer: Fix compilation on Windows + cleanup.
git-svn-id: trunk@55619 -
2017-07-31 17:35:01 +00:00
juha
e794422659 Sparta form designer: Try to prevent occational AV in handlers when closing IDE. Handlers should be unregistered somewhere!
git-svn-id: trunk@55618 -
2017-07-31 14:01:02 +00:00
juha
ead7577fef Sparta form designer: Rename Forms -> normForms to avoid name clash with LCL unit. Formatting.
git-svn-id: trunk@55617 -
2017-07-31 14:00:57 +00:00
juha
8ec33b5670 Sparta form designer: Clean uses sections.
git-svn-id: trunk@55616 -
2017-07-31 08:56:28 +00:00
juha
e1378e644b Sparta form designer: Fix endless loop with Qt widgetset. Issue #32209, patch from Anthony Walter.
git-svn-id: trunk@55615 -
2017-07-31 08:56:16 +00:00
juha
533c433bf7 Sparta form editor: Remove a useless WindowProc indirection.
git-svn-id: trunk@55603 -
2017-07-30 10:54:14 +00:00
hnb
31893afb73 sparta: fix green test color (visible during resize and more problematic for macos). Patch by Anthony Walter (issue #32194).
git-svn-id: trunk@55584 -
2017-07-24 22:20:57 +00:00
hnb
0e58bb1477 sparta: prevent crashing when a TMainMenu is detached (issue #32194).
git-svn-id: trunk@55582 -
2017-07-24 22:11:43 +00:00
hnb
7a619b7316 sparta: better handling of resize cursor at the bottom right to works on all platforms (on mac there is no cursor for crNWSE). Issue #32194.
git-svn-id: trunk@55581 -
2017-07-24 21:53:21 +00:00
hnb
109661082d sparta: fix for designed forms for gtk2. Patch by Anthony Walter (issue #32194). Thanks! :)
git-svn-id: trunk@55580 -
2017-07-24 21:38:13 +00:00
hnb
7ff1c6c057 sparta: don't hack the BorderStyle of designed form for non windows platforms (it has no sense since fake form is not used anymore). It should fix partially issue #32194 (problem with BorderIcons always resetting to [] on non window platforms)
git-svn-id: trunk@55579 -
2017-07-24 21:31:32 +00:00
hnb
6bf088db97 sparta: set DesignTimePPI to default 96DPI for sparta_basicresizeframe.lfm
git-svn-id: trunk@55536 -
2017-07-18 20:33:44 +00:00
hnb
cb38ae5538 sparta: Revert r55523 #8e31460dbb . SIZER_RECT_SIZE is scaled dynamically by LCL. Thanks Michael :)!
git-svn-id: trunk@55535 -
2017-07-18 20:31:20 +00:00
hnb
dce9f97030 sparta: don't use fake design instances for TForm, TDataModule and TFrame. A little clean-up is needed but functionality should be ok. Fix for issues #29615, #29582, #30525, #31127, #31414, #31620
git-svn-id: trunk@55524 -
2017-07-17 21:46:55 +00:00
hnb
8e31460dbb sparta: Make resizer High-DPI aware (again).
git-svn-id: trunk@55523 -
2017-07-17 21:28:19 +00:00
maxim
732c7f90fd Translations: Lithuanian translation update by Valdas Jankūnas, bug #32126
git-svn-id: trunk@55474 -
2017-07-08 12:47:30 +00:00
michl
658713d714 Sparta_DockedFormEditor: Fixed drawing of MainMenu after adding the first MenuItem. Issue #31206
git-svn-id: trunk@55433 -
2017-07-03 21:11:47 +00:00
michl
18d999f465 SpartaDockedFormEditor: Scale resizer automatically per LCL.
git-svn-id: trunk@55348 -
2017-06-14 08:27:02 +00:00
michl
3b2c8f1283 SpartaDockedFormEditor: Less warnings and cleanup.
git-svn-id: trunk@55337 -
2017-06-12 12:21:52 +00:00
michl
4f341d6cca SpartaDockedFormEditor: Make resizer High-DPI aware.
git-svn-id: trunk@55335 -
2017-06-12 11:57:05 +00:00
michl
1db16459dd SpartaSmartFormEditor: High-DPI loading of icon.
git-svn-id: trunk@55323 -
2017-06-12 07:38:24 +00:00
juha
61beca02f9 IDEIntf: Restore the backwards compatible event TPropHookModified. Add a new event TPropHookModifiedWithName.
git-svn-id: trunk@55015 -
2017-05-19 17:54:10 +00:00
maxim
37f2d73f0a Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31614
git-svn-id: trunk@54514 -
2017-04-03 23:24:37 +00:00
juha
221dce6d01 Sparta docked form editor: Tweak code that gets OI to make it more readable.
git-svn-id: trunk@53818 -
2016-12-31 13:11:54 +00:00
zeljko
aedcce6c20 Sparta, Qt5: fixes for Qt5 ws.
git-svn-id: trunk@53810 -
2016-12-30 17:01:06 +00:00
juha
8c4a0ba005 Sparta docked form designer: fix few warnings. Issue #31130, patch from AlexeyT.
git-svn-id: trunk@53709 -
2016-12-17 22:57:58 +00:00
juha
4f75913e96 Sparta docked form editor: Increase limited width to 5K. Issue #31086, patch from AlexeyT.
git-svn-id: trunk@53702 -
2016-12-16 14:12:07 +00:00
juha
356b2589e7 Sparta docked form editor: Show the designer also when initially pressing F12. Issue #31096, patch from AlexeyT.
git-svn-id: trunk@53636 -
2016-12-11 16:10:07 +00:00
ondrej
128f720d2a sparta: update language
git-svn-id: trunk@53540 -
2016-12-03 07:11:42 +00:00
hnb
bcc930023d sparta_generics: Use proper constraint for TDictionaryEnumerable (rtl-generics related code)
git-svn-id: trunk@53076 -
2016-10-07 23:23:55 +00:00
hnb
861f05a8dd Sync generics package with latest FPC trunk rtl-generics package and github repository (https://github.com/dathox/generics.collections )
git-svn-id: trunk@53069 -
2016-10-05 06:41:18 +00:00
hnb
af3f4f0e1a sparta: better background color theme for designed docked form. Patch from zbyna, thanks!
git-svn-id: trunk@52733 -
2016-07-20 20:29:17 +00:00
hnb
d53cfa9c28 Merged revision(s) 51414, 51448-51450, 51468, 51473, 51477, 51480, 51483, 51486, 51511, 51543-51544, 51638, 52714, 52725-52727 from branches/free-sparta:
sparta: initial commit of "compilable" new sparta package - smart form editor. !NOTE: not for daily usage.
........
sparta: Initial conception for package for MDI: sparta_MDI. Base for sparta_DockedFormEditor package.
........
sparta: Generics.Collections library ( sync with https://github.com/dathox/generics.collections SHA fda586932bd80ef58c08f8ebf5a24316ca4ccca5)
........
sparta: smart form editor adjustment for new sparta_MDI
........
sparta: new class "TFormImpl" for MDI solution (created from TDesignedFormImpl). 
........
sparta: 
-MDI form container "TFormContainer"
-New IResizeFrame interface to handle MDI form moving
-New frame TfrFormBackgroundForMDI
........
sparta: sparta_MDI package modifications:
-new class TMultiplyResizer to menage MDI desktop
-more generic resizer: TAbstractResizer. Base for IDE resizer and TMultiplyResizer
-more advanced IResizeFrame interface


........
sparta: 
-DockedFormEditor adjustment for latest changes in mdi package
-small changes in mdi (visibility of methods).
-OnModified method for IResizeFrame

........
sparta: MDI
-simulate MDI forms order for TMultiplyResizer
-property DesignedForm: IDesignedForm for IResizeFrame
........
sparta:
-IMPORTANT! pixel perfect form resizing (fix for problems for controls with align alLeft, alRight etc on design form).
-Fix problem for windows: wrong design design window width (a little bigger than designed size) TFormImpl.SetRealBounds -> AdjustSize
........
sparta: mdi bug fix for AV in TMultiplyResizer
........
Fix compilation for FPC 3.0 (TRect changes in FPC 3.1 trunk)
........
sparta: Cannot resize the docked form designer, issue #29380 patch from Anthony Walter. Thanks!
........
sparta ToolsAPI: Delphi compatible ToolsAPI/DesignIDE interface at XE2 level (proxy for IDEIntf). Initial commit (no functionality yet), just interfaces and classes without implementation:

designeditors.pas:
-TComponentEditor

designintf.pas:
-Interfaces: IEventInfo, IClass, IActivatable, IDesignObject, IDesignPersistent, IDesignerSelections, IDesigner60, IDesigner70, IDesigner80, IDesigner100, IDesigner, IComponentEditor
-TBaseComponentEditor
-RegisterComponentEditor

designmenus.pas:
-Interfaces: IMenuItems, IMenu, IMainMenu, IPopupMenu, IMenuItem

 
 


........
when form is removed we need to remove all handlers located in collections FFormsStack and FForms. Necessary to avoid AV.
........
sparta: more correct and simpler calculation of form border for Windows
........
sparta: 
  * Fix for loop error for resize. Highly visible problem for docked forms/frames with Align=alClient. 
  * New THookFrame class as new meta class for Frames.
........
updated lpl
........

git-svn-id: trunk@52728 -
2016-07-20 10:40:03 +00:00
juha
1a2f15c5a4 Fix compilation in Sparta docked form designer. Broken by r52209 #bb389f40bf.
git-svn-id: trunk@52287 -
2016-05-07 22:57:54 +00:00
mattias
be5601fd37 components: less hints
git-svn-id: trunk@51781 -
2016-03-01 15:24:22 +00:00
ondrej
35f6ae024f sparta: forward unhandled keys from designer to OI. Issue #29488
git-svn-id: trunk@51399 -
2016-01-24 10:59:23 +00:00
ondrej
394804dd32 sparta: fix for r51343 #7967d77c82 non-Windows platforms.
git-svn-id: trunk@51344 -
2016-01-19 19:38:31 +00:00
ondrej
7967d77c82 sparta: partially revert r51141 #3a6b0c9da3: when undocking source editor, the designer form got visible windows border (on windows/win32).
git-svn-id: trunk@51343 -
2016-01-19 19:30:26 +00:00
ondrej
de6099cca2 sparta: fix AV.
git-svn-id: trunk@51341 -
2016-01-19 17:59:34 +00:00
ondrej
30204b58e5 sparta: invalidate fake menu only if visible
git-svn-id: trunk@51296 -
2016-01-15 09:04:48 +00:00
ondrej
476ee9dad4 sparta: update fake menu on modification
git-svn-id: trunk@51295 -
2016-01-15 08:59:21 +00:00
ondrej
cb213d94ed sparta: force repaint on hide/show main menu. Issue #29370
git-svn-id: trunk@51291 -
2016-01-14 22:11:56 +00:00
ondrej
c5c6957733 sparta: correctly hide/show main menu. Issue #29370
git-svn-id: trunk@51289 -
2016-01-14 21:24:12 +00:00
ondrej
0321aeb764 sparta: fix AV in pFakeMenuPaint
git-svn-id: trunk@51242 -
2016-01-10 21:26:07 +00:00
hnb
9072a13913 merge r51237 sparta: bug fix for nil reference for fake menu
git-svn-id: trunk@51238 -
2016-01-10 16:22:15 +00:00
hnb
cf0f53eb93 merge r51214,r51225: sparta:
sparta: Patch for Ondrej patch :) (r51145) fix designer not receiving key events for DataModule and Frame. Issue #29044 
sparta: improve fake menu for further usage (delegate it to dedicated pFakeMenu panel)

git-svn-id: trunk@51235 -
2016-01-10 14:22:19 +00:00
maxim
434aa922dd Translations: French translation update by Gilles Vasseur, bug #29354
git-svn-id: trunk@51224 -
2016-01-07 22:19:08 +00:00
maxim
685b71be6d Sparta: added Russian translation
git-svn-id: trunk@51222 -
2016-01-06 23:48:15 +00:00