Commit Graph

15609 Commits

Author SHA1 Message Date
juha
9367da0ae5 Remove extra checks for empty strings together with IsValidIdent. It already handles an empty string.
git-svn-id: trunk@52812 -
2016-08-17 10:40:29 +00:00
ondrej
f3ee10c357 IDE, CodeTools: rescan FPC directory cache automatically. Issue #30475
git-svn-id: trunk@52809 -
2016-08-16 22:32:22 +00:00
wp
6b358bef49 fpvectorial: Add comment explaining the position of the point X,Y in a TvRectangle.
git-svn-id: trunk@52808 -
2016-08-14 21:22:51 +00:00
wp
e1d3e708ed fpvectorial: Improved layout of wmf demo project; shelltreeview is readonly now.
git-svn-id: trunk@52806 -
2016-08-14 09:16:24 +00:00
wp
eb894b68ae fpvectorial: Fix wmfreader not passing background color to fpvectorial
git-svn-id: trunk@52805 -
2016-08-14 09:14:46 +00:00
wp
e9cab2159d fpvectorial: Fix svgreader incorrectly terminating subpolygons in multiple polygons
git-svn-id: trunk@52804 -
2016-08-14 09:12:51 +00:00
wp
08e9be93a9 fpvectorial: Correct rendering of "path with holes"
git-svn-id: trunk@52803 -
2016-08-14 09:11:12 +00:00
wp
2dc04023df fpvectorial: Add UseTopLeftCoords variable for wmf reader.
git-svn-id: trunk@52802 -
2016-08-13 22:41:52 +00:00
wp
726ce4d450 fpvectorial: Improved calculation of magnification factors in wmfviewer
git-svn-id: trunk@52800 -
2016-08-13 16:27:29 +00:00
wp
801a0ccb5c fpvectorial: Minor improvements of wmf demo program
git-svn-id: trunk@52798 -
2016-08-12 19:50:38 +00:00
wp
814eba3c6a fpvectorial: Add demo program for wmf
git-svn-id: trunk@52797 -
2016-08-12 16:27:33 +00:00
wp
edb78315fa fpvectorial: Initial version of a reader for wmf files.
git-svn-id: trunk@52796 -
2016-08-12 16:17:52 +00:00
wp
a625ed6a3f mrumenu: Add default value for MaxRecent. Add indexes to recent menu item default format mask.
git-svn-id: trunk@52793 -
2016-08-10 15:50:46 +00:00
mattias
a4ddf094a2 codetools: fixed AddWithBlock on ((i)), bug #29749
git-svn-id: trunk@52786 -
2016-08-04 20:04:12 +00:00
wp
fddf4ea109 TAChart. Fix typos in new DateTimeStepFormat and in axis demo
git-svn-id: trunk@52781 -
2016-08-03 20:44:16 +00:00
wp
b722e49778 TAChart: Add TATools to uses of TAGraph to make sure that BuiltinToolSet is created (fixes crash of converted projects from Delphi).
git-svn-id: trunk@52780 -
2016-08-03 08:18:47 +00:00
sekelsenmat
febc687143 carbon: Fixes crash in IDE with OpenGL, see bug #30440
git-svn-id: trunk@52779 -
2016-08-03 05:54:02 +00:00
wp
36748d73b7 TAChart: Add alternate date/time step formats to TDateTimeIntervalChartSource. Update axis demo.
git-svn-id: trunk@52778 -
2016-08-02 18:54:19 +00:00
wp
04209d1c09 TAChart: Fix TDateTimeIntervalChartSource.SuppressPrevUnit not updating chart if changed.
git-svn-id: trunk@52776 -
2016-08-02 16:18:51 +00:00
mattias
a3af6a18b4 IDE: fixed updating key/command relations, bug #30436
git-svn-id: trunk@52774 -
2016-08-02 08:23:28 +00:00
mattias
6e88fded34 lazutils: clean up
git-svn-id: trunk@52770 -
2016-08-01 20:06:41 +00:00
mattias
79f1b32221 codetools: fixed reading fpc unit cache
git-svn-id: trunk@52763 -
2016-08-01 07:45:24 +00:00
mattias
b1067f3140 synedit: less hints
git-svn-id: trunk@52762 -
2016-08-01 07:40:24 +00:00
martin
6b321fe144 SynEdit: revert 52474 #1c0abfedcb/52478 #2a7afe821b // more precise change indicator gutter. Issue #30152
git-svn-id: trunk@52761 -
2016-07-31 23:14:11 +00:00
martin
48873222a4 SynEdit: small optimization
git-svn-id: trunk@52759 -
2016-07-31 14:52:36 +00:00
martin
a4c0af395a Spelling
git-svn-id: trunk@52758 -
2016-07-31 14:48:50 +00:00
martin
65f56da2d8 LazClasses: TRefCountedObject, added debug helpers
git-svn-id: trunk@52757 -
2016-07-31 14:39:58 +00:00
martin
5f55a00ead IDE: EditorOptions, added colors for line before fold/hide
git-svn-id: trunk@52755 -
2016-07-31 13:54:50 +00:00
mattias
1297b6413b synedit: TSynPythonSyn.GetKeywordIdentifiers made public
git-svn-id: trunk@52753 -
2016-07-28 07:56:24 +00:00
wp
55c9199ea7 TAChart: Fix printer canvas pen mode remaining at pmXor after printing (https://stackoverflow.com/questions/35024329/after-printing-tchart-i-cant-draw-lines).
git-svn-id: trunk@52750 -
2016-07-26 21:20:20 +00:00
juha
d447c14966 LCL, LazControls: Finish the FilterItem events ItemData parameter change. Patch from Ondrej.
git-svn-id: trunk@52748 -
2016-07-24 21:39:50 +00:00
mattias
a9e52f41eb codetools: add with block: skip nested brackets, bug #29749
git-svn-id: trunk@52746 -
2016-07-24 16:47:48 +00:00
mattias
614f7eb46c codetools: fixed find include file, uninitialized var
git-svn-id: trunk@52738 -
2016-07-21 19:36:36 +00:00
mattias
4117b06b77 codetools: include file search: find include file without extension, use semicolon path separator in Delphi mode
git-svn-id: trunk@52736 -
2016-07-21 10:53:40 +00:00
mattias
5b863e3af0 codetools: example: fixed compilation
git-svn-id: trunk@52735 -
2016-07-21 10:48:16 +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
jesus
7377deb632 LazReport: In the Designer Save the last used directories for Save/Load reports, issue #28770
git-svn-id: trunk@52723 -
2016-07-20 06:26:10 +00:00
juha
14b4d951fc LazControls: Add OnFilterNode event to TTreeFilterEdit. Unify parameters.
git-svn-id: trunk@52716 -
2016-07-19 15:37:07 +00:00
mattias
c13e223026 lazutils: deprecated note
git-svn-id: trunk@52712 -
2016-07-18 17:40:40 +00:00
jesus
c66e4799fa LazReport, Remember the last saved file directory if possible, issue #28770
git-svn-id: trunk@52708 -
2016-07-17 22:23:33 +00:00
mattias
96b2691e94 IDEIntf: less hints
git-svn-id: trunk@52699 -
2016-07-16 08:09:13 +00:00
jesus
5a351b66a9 LazReport: When pasting copied objects using the keyboard shortcut paste them at mouse cursor location if possible.
git-svn-id: trunk@52690 -
2016-07-15 02:47:54 +00:00
jesus
49851a1b4e LazReport: report option for printing PageHeader band before ReportTitle band, issue #30345
git-svn-id: trunk@52689 -
2016-07-15 01:27:37 +00:00
mattias
872c45d0f4 lazutils: fixed compilation with FPC 2.6.4
git-svn-id: trunk@52686 -
2016-07-14 09:31:37 +00:00
mattias
0bd6601f77 codetools: modeswitch unicodestrings: set FPC_UNICODESTRINGS
git-svn-id: trunk@52685 -
2016-07-14 09:28:57 +00:00
mattias
c2aed806b6 codetools: ExtractProcHead: phpAddParentProcs
git-svn-id: trunk@52683 -
2016-07-14 07:42:59 +00:00
mattias
9d6c69f3a0 IDE: procedure list: simplified
git-svn-id: trunk@52680 -
2016-07-14 07:03:35 +00:00
juha
95e8ab1cd8 LCL, Codetools: Turn condition {$IFnDEF DisableWrapperFunctions} into {$IFDEF EnableWrapperFunctions} in units where it was forgotten.
git-svn-id: trunk@52678 -
2016-07-13 13:32:33 +00:00
jesus
cf63e5c007 LazReport: Fix column width calc, fix issue #30367
git-svn-id: trunk@52677 -
2016-07-12 22:58:15 +00:00