Commit Graph

72 Commits

Author SHA1 Message Date
michl
9964bfc872 Sparta: Add warnings about deprecation of packages
git-svn-id: trunk@64533 -
2021-02-11 21:55:57 +00:00
juha
c0926457b8 IdeIntf: Harmonize events for Delete, update OI's tree when plugins are deleted from PSScript.
git-svn-id: trunk@64301 -
2020-12-29 22:47:37 +00:00
michl
d0d67fe1b4 SpartaDockedFormEditor: Revert revision 61223 #298236df33 as it is wrong. Never call Application.ProcessMessages on closing of IDE. Frames in SpartaDockedFormEditor working again (memory leak at closing of IDE with debug symbols is gone)
git-svn-id: trunk@64283 -
2020-12-26 22:39:45 +00:00
michl
8a009c1c3a SpartaDockedFormEditor: Fixed showing of scrollbars after revision 63888 #54661a2a36. Issue #38261
git-svn-id: trunk@64281 -
2020-12-26 15:51:40 +00:00
michl
63d7925005 SpartaDockedFormEditor: Make able to compile for FPC 3.2.0
git-svn-id: trunk@64276 -
2020-12-26 10:47:14 +00:00
juha
b68f02c182 Sparta: Formatting.
git-svn-id: trunk@62080 -
2019-10-18 21:49:33 +00:00
juha
1b50e06c5b Sparta: Rename units in sparta_Generics to avoid name clash with units in FPC sources. Update to latest Generics Collections code. Eliminate USE_GENERICS_COLLECTIONS define.
git-svn-id: trunk@62042 -
2019-10-13 07:24:58 +00:00
juha
a30fafcc1f Sparta: Fix building with define USE_GENERICS_COLLECTIONS.
git-svn-id: trunk@62008 -
2019-10-08 20:28:24 +00:00
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
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
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
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
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
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
3b2c8f1283 SpartaDockedFormEditor: Less warnings and cleanup.
git-svn-id: trunk@55337 -
2017-06-12 12:21:52 +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
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
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
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