Commit Graph

86 Commits

Author SHA1 Message Date
maxim
bd9bfc01d4 Translations: Turkish translation update by Onur ERÇELEN, bug #35865
git-svn-id: trunk@61612 -
2019-07-21 22:57:16 +00:00
hnb
298236df33 Patch from jmpessoa for IDE crash when closing some forms (highly visible for LAMW)
git-svn-id: trunk@61223 -
2019-05-13 23:03:33 +00:00
maxim
684c367b8a IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts.
Reasons:
1. .pot is 'industry standard' extension for PO template files. As a consequence, PO editors can now open our templates 'out of the box' and automate creation of translations.
2. It is now much simpler to detect template files now that dotted unit names are allowed.

git-svn-id: trunk@60208 -
2019-01-24 23:02:37 +00:00
juha
76ffb9c721 Sparta docked formeditor: Change visibility of methods so it compiles with FPC trunk. Issue #34816.
git-svn-id: trunk@60119 -
2019-01-20 10:34:39 +00:00
maxim
c8c7a1723a Translations: Chinese translation update by robsean, bug #34579
git-svn-id: trunk@59617 -
2018-11-22 00:03:32 +00:00
michl
ce6f326b14 SpartaDockedFormEditor: Prevent showing of undocked new created frames (short flicker) and more generally code for revision 58299 #a027232dda.
git-svn-id: trunk@58321 -
2018-06-19 07:53:06 +00:00
michl
2740f947c3 SpartaDockedFormEditor: ActionList editor doesn't update its own Actions. Issue #33872
git-svn-id: trunk@58302 -
2018-06-18 09:26:12 +00:00
michl
33d16133fc IDE: Fixed compiling for -dDebugDisableAutoSizing.
git-svn-id: trunk@58301 -
2018-06-18 08:21:28 +00:00
michl
a027232dda SpartaDockedFormEditor: Prevent showing of undocked forms (short flicker) after creating new forms. Issue #32207. Patch by Balázs Székely
git-svn-id: trunk@58299 -
2018-06-17 22:55:12 +00:00
michl
7407d2a0d2 SpartaDockedFormEditor: Project with a form shows now the correct source editor (last tab position) after reopening.
git-svn-id: trunk@58175 -
2018-06-07 19:47:14 +00:00
michl
899548c919 SpartaDockedFormEditor: Project with more then one form shows now the correct form (last tab position) after reopening.
git-svn-id: trunk@58166 -
2018-06-07 13:50:21 +00:00
mattias
5f4b92dd6b sparta: less hints
git-svn-id: trunk@58012 -
2018-05-23 13:49:25 +00:00
ondrej
a914eaa29d IDE: use TLCLGlyphs for IDE buttons
git-svn-id: trunk@57857 -
2018-05-08 23:10:58 +00:00
hnb
9b1a4ea081 Big update for Generics.Collections to latest version (compilable with trunk and 3.0.4)
git-svn-id: trunk@57795 -
2018-05-06 17:10:46 +00:00
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