Commit Graph

49857 Commits

Author SHA1 Message Date
ondrej
74ee0f9c52 LCL: TTabControl: TabStop handling workaround. Issue #30305
git-svn-id: trunk@52742 -
2016-07-24 07:03:09 +00:00
ondrej
ac2fa94876 win32: use ofEnableSizing to choose dialog kind when ofOldStyleDialog is used. Patch from Martok, issue #30406
git-svn-id: trunk@52741 -
2016-07-24 06:51:59 +00:00
ondrej
6f8636dc39 LCL: TDirectoryEdit: expose dialog options. Patch from Martok, issue #30406
git-svn-id: trunk@52740 -
2016-07-24 06:48:59 +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
juha
9e440cb058 IDE: Store the size of ProcedureList, like it is stored for other modal IDE windows. Issue #13570, patch from Markus.
git-svn-id: trunk@52732 -
2016-07-20 18:52:54 +00:00
mattias
ca88306bff translations: German: updates from Swen Heinig
git-svn-id: trunk@52731 -
2016-07-20 18:23:47 +00:00
ondrej
6f5fa419e8 lcl: change OnExceptionCircle to OnCircularException, remove handler list.
git-svn-id: trunk@52730 -
2016-07-20 18:01:57 +00:00
mattias
ccdd31bd57 IDE: less hitns
git-svn-id: trunk@52729 -
2016-07-20 14:52:39 +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
hnb
293c52e3dd IDE: anchor editor: do not show siblings for design instance (fix for docked sparta designer)
git-svn-id: trunk@52724 -
2016-07-20 08:30:42 +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
8f08f44148 IDE: Replace ListView with StringGrid in ProcedureList window. Issue #30317, patch from Markus.
git-svn-id: trunk@52717 -
2016-07-19 15:37:12 +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
sekelsenmat
ff2d42d829 Some time ago we decided (in the mailling list) against using reference instead of handle
git-svn-id: trunk@52715 -
2016-07-19 13:21:51 +00:00
ondrej
6fb78bd5f9 lcl: application: add handlers to exception circle.
git-svn-id: trunk@52713 -
2016-07-19 06:10:56 +00:00
mattias
c13e223026 lazutils: deprecated note
git-svn-id: trunk@52712 -
2016-07-18 17:40:40 +00:00
mattias
4c9c730304 IDE: less hints
git-svn-id: trunk@52711 -
2016-07-18 15:05:38 +00:00
ondrej
f12bbaea40 win32: DrawText: fix output string length for DT_MODIFYSTRING
git-svn-id: trunk@52709 -
2016-07-18 08:41:46 +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
jesus
0653cf52ef LCL,Grids: Restore old value when pressing ESCAPE, from Andrey Korol, issue #30044
git-svn-id: trunk@52707 -
2016-07-17 22:14:06 +00:00
jesus
36c4499319 LCL, DbGrids: Fix result of DBGrid.MyCompareBookmarks, from Luiz Americo, issue #28743
git-svn-id: trunk@52706 -
2016-07-17 19:30:48 +00:00
jesus
0a5992a38f LCL, grids: Fix long hints, patch from wp, issue #28816
git-svn-id: trunk@52705 -
2016-07-17 19:20:30 +00:00
blikblum
687d82e68e win32: initialize PS (TPaintStruct) in paint message handling when ControlDC <> 0. Issue #30275
git-svn-id: trunk@52704 -
2016-07-17 12:10:25 +00:00
ondrej
a55241308e revert r52494, r52500 #48fe37a204: they caused crashes in Carbon interface. Issue #30003
git-svn-id: trunk@52703 -
2016-07-17 04:12:46 +00:00
ondrej
366cedfb91 win32: support DT_MODIFYSTRING in DrawText
git-svn-id: trunk@52702 -
2016-07-17 04:07:04 +00:00
blikblum
15c2bd5825 tools: remove echo of $(LAZARUS_LIBPATHS) in makefile
git-svn-id: trunk@52701 -
2016-07-16 22:40:44 +00:00
maxim
3bb3ac5dff LCL, Translations unit: Improved lieending removal code clarity, added more comments.
git-svn-id: trunk@52700 -
2016-07-16 10:22:01 +00:00
mattias
96b2691e94 IDEIntf: less hints
git-svn-id: trunk@52699 -
2016-07-16 08:09:13 +00:00
mattias
703f71d105 lazutils: less hints with FPC 3.0.1
git-svn-id: trunk@52698 -
2016-07-16 08:08:18 +00:00
juha
339d0f841f IDE: Move Extend..SearchPath functions from MainIDE to Project.
git-svn-id: trunk@52697 -
2016-07-16 08:06:13 +00:00
maxim
814b6b1395 LCL, Translations unit: Remove lineending at the end of the translation if present. This is the case e.g. for multiline translation string and not desired when assigning e.g. to Caption property (can negatively affect form layout). In other cases it should not matter. Bug #26553.
git-svn-id: trunk@52696 -
2016-07-15 23:06:29 +00:00
maxim
fb60fef065 IDE: do not emit translatable strings for divider menuitems (with caption='-'), patch by Nur Cholif Murtadho, bug #26553
git-svn-id: trunk@52695 -
2016-07-15 21:51:21 +00:00
sekelsenmat
b4d93e4f9e carbon: Patch from bug #22454 High resolution canvas for Retina displays
git-svn-id: trunk@52694 -
2016-07-15 19:10:10 +00:00
juha
297e19a349 IDE: Add methods for merging paths to CompilerOptions and replace common code patterns with them.
git-svn-id: trunk@52693 -
2016-07-15 17:47:18 +00:00
juha
800f13923b Packager: Don't add unit or include search path '.' when adding a file to a package.
git-svn-id: trunk@52692 -
2016-07-15 12:51:47 +00:00
hnb
2f01b9e55a * IDE: designer: fixed jitform for fpc 3.1 (related to FPC r34087 #4b65d3903d). Resolves issue #30377
git-svn-id: trunk@52691 -
2016-07-15 12:35:01 +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
maxim
3f249dd4c1 IDE: write UTF-16 values to "value" chunk of LRJ file
git-svn-id: trunk@52688 -
2016-07-14 21:02:45 +00:00
maxim
e1e9df010b Docs: added Nur Cholif Murtadho to contributors list
git-svn-id: trunk@52687 -
2016-07-14 11:39:45 +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
f00b8a8e59 IDE: procedure list: show local procs
git-svn-id: trunk@52684 -
2016-07-14 07:44:41 +00:00
mattias
c2aed806b6 codetools: ExtractProcHead: phpAddParentProcs
git-svn-id: trunk@52683 -
2016-07-14 07:42:59 +00:00
mattias
f98984edfb IDE: procedure list: simplified
git-svn-id: trunk@52682 -
2016-07-14 07:10:53 +00:00
mattias
68301dd8a1 revert IDE: procedure list: simplified
git-svn-id: trunk@52681 -
2016-07-14 07:07:23 +00:00
mattias
9d6c69f3a0 IDE: procedure list: simplified
git-svn-id: trunk@52680 -
2016-07-14 07:03:35 +00:00