Commit Graph

51702 Commits

Author SHA1 Message Date
maxim
6e65bf148c Merged revision(s) 55059 #5b3be46dc8 from trunk:
TodoList: Don't try to update the list too early. Regression caused by issue #31006.
........

git-svn-id: branches/fixes_1_8@55067 -
2017-05-23 22:11:06 +00:00
maxim
6936797b51 Merged revision(s) 55058 #6dbb82d795 from trunk:
LCL: Disconnect OnIdle handler of FilterEdit when the control is destroyed. Issue #31893.
........

git-svn-id: branches/fixes_1_8@55066 -
2017-05-23 22:08:46 +00:00
maxim
41a8c54dd4 Merged revision(s) 54791 #33d34bce77, 54975 #cba5c9c545 from trunk:
Gtk2: implemented LCLIntf.ShowWindow(SW_RESTORE).Patch by AlexeyT. issue #31740
........
Gtk2: removed workaround for SW_SHOWNORMAL, added checks for SW_RESTORE and SW_SHOWMAXIMIZED. issue #31832
........

git-svn-id: branches/fixes_1_8@55065 -
2017-05-23 22:06:56 +00:00
ondrej
a2d1a6092f Merged revision(s) 54935 #da91c572bd,55021 #8bb699492e from trunk:
r54935 IDE: clean up
r55021 IDE: change DataModulePPI to FPC 3.0.3 check. Issue #31813

git-svn-id: branches/fixes_1_8@55057 -
2017-05-23 04:39:26 +00:00
maxim
686b49b843 IDE: regenerated translations and updated Russian translation
git-svn-id: branches/fixes_1_8@55056 -
2017-05-22 23:16:39 +00:00
maxim
9334f660e4 Merged revision(s) 55044 #10feb7c68a from trunk:
IDE: improved i18n in messages window, fixed some typos
........

git-svn-id: branches/fixes_1_8@55055 -
2017-05-22 23:08:26 +00:00
maxim
e4cb11d517 Merged revision(s) 55026 #ef3093eb1b from trunk:
LCL: TListView: Fixed Access Violation switching OwnerData. Issue #31880 
........

git-svn-id: branches/fixes_1_8@55054 -
2017-05-22 23:05:23 +00:00
maxim
d3be8fabea Merged revision(s) 55022 #083ef5923c from trunk:
LCL: rename TControl.ScaleCoord* methods
........

git-svn-id: branches/fixes_1_8@55053 -
2017-05-22 23:04:01 +00:00
maxim
2f9eb3a4eb Merged revision(s) 54948-54949 #b54495505b-#b54495505b, 54956 #9edd2d5ad2, 54964 #d208ef2dad, 54970 #aa4dfd880b, 55020 #da1e03941c from trunk:
lcl: grids: high-DPI: rewrite ColWidth&RowHeight scaling so that it's Delphi and Lazarus 1.6 compatible.
........
lcl: grids: add (forgotten) *IsStored functions to DefaultColWidth and DefaultRowHeight properties. (related revision: r54948 #b54495505b)
........
lcl: grids: keep *IsStored functions to DefaultColWidth and DefaultRowHeight properties protected-only (related revision: r54949 #80a8c39f9d)
........
lcl: label: fix CalcFittingFontHeight. Patch by Luca Olivetti
........
lcl: grids: add Options2 = [goScrollToLastCol, goScrollToLastRow]. Issue #31766
........
lcl: treeview: High-DPI: fix scaling of non-themed node icons. Issue #31829
........

git-svn-id: branches/fixes_1_8@55052 -
2017-05-22 23:01:57 +00:00
maxim
b1bef4a1f5 Merged revision(s) 54980 #f901b9342c, 55041 #aa9b38926c, 55043 #675c59e5e6 from trunk:
Qt5: cbindings: implemented QObject::metaObject(), now we can extract complete classinfo from any Qt class.
........
Qt5: fixed build with QT_NATIVE_DIALOGS define.
........
qt, qt5: fix uninitialized result in TQtComboBox.getText
........

git-svn-id: branches/fixes_1_8@55051 -
2017-05-22 22:56:31 +00:00
maxim
1248b89f4c Merged revision(s) 55016 #69ffbd67a5, 55018-55019 #c5bb05f7c7-#c5bb05f7c7 from trunk:
win32: menus: fix menu height calculation. Issue #31875
........
win32: menus: fix FPC 3.0.0 compilation. Issue #31875
........
win32: menus: fix menu height calculation. Issue #31875
........

git-svn-id: branches/fixes_1_8@55050 -
2017-05-22 22:54:43 +00:00
maxim
213dc57b27 Merged revision(s) 54953-54955 #fa6f0296b6-#fa6f0296b6, 54981 #bf3e483768, 55015 #61beca02f9, 55038-55039 #5daa890980-#5daa890980 from trunk:
IdeIntf: OI: always write values to objects if explicitely wanted.
........
IdeIntf: propedits: always write property values to objects. The property setter method has to decide about the need of update, not the propedit code.
........
IdeIntf: propedits: fix highlighting default (=not stored) properties.
........
ideintf: fix regression in image scaling code.
........
IDEIntf: Restore the backwards compatible event TPropHookModified. Add a new event TPropHookModifiedWithName.
........
ExternHelp: fix uses clause after r55035 #5d03c243b5
........
IdeIntf: TIDEImages: switch parameters for CreateImage, LoadImage and GetImageIndex methods.
........

git-svn-id: branches/fixes_1_8@55049 -
2017-05-22 22:52:38 +00:00
maxim
4415b81c06 Merged revision(s) 55027 #f0a4e67894, 55032-55035 #9a8cf0cdd1-#9a8cf0cdd1 from trunk:
IDE: High-DPI: Search Result Window 
........
IDE: High-DPI: Move loading of glyphs to ideintf to multiple method use + cleanup.
........
IDE: High-DPI: TabOrderDialog
........
IDE: High-DPI: MenuEditor Images. Issue #31877
........
IDE: High-DPI: All IDE SpeedButtons DPI-aware
........

git-svn-id: branches/fixes_1_8@55048 -
2017-05-22 22:48:35 +00:00
maxim
8eccfb7efa Merged revision(s) 54946 #5eb469913c, 54957 #c2dcfae499, 54960 #3e154dc287, 55017 #7e8a64b98d from trunk:
ide: rewrite (simplify) High-DPI icon scaling
+ support _150 and _200 variants for component images
........
MenuEditor: If IDE is closed a AV is thrown. Issue #31791
........
MenuEditor: AV on closing IDE with opened menu editor. Issue #31816
........
ide: images: update debug icons (by FTurtle). Issue #31830
........

git-svn-id: branches/fixes_1_8@55047 -
2017-05-22 22:42:06 +00:00
maxim
a9dc1ef886 Merged revision(s) 54697 #3081a50b7d from trunk:
Gtk2: fixed triggering selection change in TCheckListBox. issue #31697
........

git-svn-id: branches/fixes_1_8@55046 -
2017-05-22 22:32:02 +00:00
mattias
3eb545bbfd deb: fpc: no lintian errors
git-svn-id: branches/fixes_1_8@55013 -
2017-05-19 15:33:44 +00:00
mattias
f4cb5d5509 debian: fpc-src no lintian errors
git-svn-id: branches/fixes_1_8@55011 -
2017-05-19 15:17:02 +00:00
mattias
704dd38465 debian: lazarus deb now builds without lintian errors
git-svn-id: branches/fixes_1_8@55009 -
2017-05-19 14:22:11 +00:00
mattias
afbdb271ea debian: fixed lintian warning about changelog
git-svn-id: branches/fixes_1_8@55007 -
2017-05-19 11:12:24 +00:00
mattias
60e157e635 debian: fixed permissions and description
git-svn-id: branches/fixes_1_8@55005 -
2017-05-19 10:17:25 +00:00
mattias
fd834076b9 debian: disable debian/rules, not used by our deb
git-svn-id: branches/fixes_1_8@55003 -
2017-05-19 09:05:35 +00:00
mattias
41130a9ece debian: fix group writable permissions
git-svn-id: branches/fixes_1_8@55001 -
2017-05-19 08:45:54 +00:00
mattias
b329681b4f debian: fixed permissions
git-svn-id: branches/fixes_1_8@54999 -
2017-05-19 08:38:44 +00:00
mattias
bddc4bd3a6 debian: fixed manpage-not-compressed-with-max-compression error
git-svn-id: branches/fixes_1_8@54997 -
2017-05-19 08:22:26 +00:00
mattias
8caa8df6e3 docs: removed sourceforge commercial footer, privacy breach
git-svn-id: branches/fixes_1_8@54995 -
2017-05-19 08:18:24 +00:00
mattias
90161cd669 doceditor: fixed permissions
git-svn-id: branches/fixes_1_8@54993 -
2017-05-19 08:04:26 +00:00
mattias
20a028b5bd projectgroups: fixed memleak
git-svn-id: branches/fixes_1_8@54991 -
2017-05-19 00:01:01 +00:00
mattias
34c95ebef0 IDEIntf: TIDEMenuItem: fixed not freeing MenuItems of TMenu
git-svn-id: branches/fixes_1_8@54989 -
2017-05-18 23:57:50 +00:00
mattias
fb14783b7c projectgroups: set menuitems to nil on destroy
git-svn-id: branches/fixes_1_8@54987 -
2017-05-18 23:56:34 +00:00
mattias
e27a1a640b lcl: TMenu: raise exception if something else is freeing the FItems
git-svn-id: branches/fixes_1_8@54985 -
2017-05-18 23:53:55 +00:00
mattias
67b142136c cody: fixed typo
git-svn-id: branches/fixes_1_8@54973 -
2017-05-18 15:02:02 +00:00
mattias
cfed9d353d updatemakefiles: check if fpcmake supports new version
git-svn-id: branches/fixes_1_8@54968 -
2017-05-18 11:39:37 +00:00
mattias
0295183849 lcl: gtk2: fixed shrinking designer form, bug #31832, patch Kostas Michalopoulos
git-svn-id: branches/fixes_1_8@54959 -
2017-05-17 23:11:01 +00:00
mattias
386d93465d codetools: fixed compile with fpc 2.6.4
git-svn-id: branches/fixes_1_8@54952 -
2017-05-17 14:41:17 +00:00
mattias
6735558094 lcl: fixed TDbLookupCombobox showing blank items when used with a TSdfDataset and FPC 2.6.4, bug #30931, patch from Luca Olivetti
git-svn-id: branches/fixes_1_8@54951 -
2017-05-17 14:36:50 +00:00
maxim
d998b78faa Merged revision(s) 54944 #ba337e4049 from trunk:
Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31822
........

git-svn-id: branches/fixes_1_8@54945 -
2017-05-16 22:41:11 +00:00
ondrej
6cf1a4620d Merged revision(s)
54895, 54898, 54899, 54900, 54901, 54903, 54904, 54905, 54913, 54914, 54915, 54916, 54917, 54918, 54922, 54923, 54924, 54925, 54926, 54927, 54928, 54929, 54930, 54932, 54934, 54941, 54942
from trunk

r54895 lcl: grids: fix default TGridColumn width. Issue #31806
r54898 lcl: forms: scale TFrame the same as TForm. Issue #31807
r54899 CairCanvas: disable compilation for WinCE (there exists no cairo support on WinCE).
r54900 Printers4Lazarus: force fatal compilation error on WinCE platform, since the package is unsupported on this platform.
r54901 fpvectorial: Fix memory leak in dxf reader (http://forum.lazarus.freepascal.org/index.php/topic,36827.msg246126)
r54903 lcl: grids: always store valid column width. Issue #31806
r54904 IdeIntf: OI: High-DPI: restricted tab. Patch by AlexeyT, Issue #31778
r54905 IdeIntf: OI: High-DPI: value button. Issue #31784
r54913 lcl: colorbox: high-dpi: ColorRectWidth. Issue #31768
r54914 lcl: combobox, listbox: assign Font.PixelsPerInch to Canvas for custom draw events.
r54915 ide: codetoolsdefines dialog: high-DPI. Patch by AlexeyT, Issue #31774
r54916 ide: project options dialog: anchor top/bottom build modes button. Issue #31770
r54917 IdeIntf: OI: High-DPI: ValueComboBox.
r54918 grids: scale native bitmaps; ide: buildmodesmanager dialog: high-DPI check boxes. Issue #31771
r54922 ide: compiler_other_options frame: fix high-DPI. Issue #31779
r54923 Opkman: Fix high-DPI. Issue #31782
r54924 ide: about dialog: high-DPI. Issue #31776
r54925 ide editorfilemanager dialog: high-DPI. Issue #31775
r54926 lcl: groupededit: fix TabStop mechanism. Issue #31811
r54927 lcl: control: apply constraints to new size in DoAutoAdjustLayout and update top/left if bottom/right aligned. Fixes Issue #31772
r54928 ideintf: objectinspector: fix high-dpi in custom property grids. Issue #31769
r54929 lazcontrols: lvlgraphctrl: high-DPI. Issue #31781
r54930 lcl: groupededit: fix TabStop mechanism (fix regression after r54926 #2d7967420e). Issue #31811, Issue #31229
r54932 ide, designer: high-DPI: scale non-visual components. Issue #31812
r54934 ide: images: new high-dpi designed icons by FTurtle, Issue #31815
r54941 Qt5: cbindings - implemented QMargins, QSurface, QSurfaceFormat, QBackingStore, QScreen and QWindow classes.
r54942 Qt5: cbindings - implemented QMargins, QSurface, QSurfaceFormat, QBackingStore, QScreen and QWindow classes (qt56.pas).

git-svn-id: branches/fixes_1_8@54943 -
2017-05-16 18:29:52 +00:00
maxim
3dde1e50f7 Merged revision(s) 54938 #edca2f5223 from trunk:
Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31810
........

git-svn-id: branches/fixes_1_8@54939 -
2017-05-15 22:37:50 +00:00
martin
6660a602fb Merged revision(s) 54919 #30d661dcca from tags/lazarus_1_8_0_RC1:
Fixed compile ifdef
........

git-svn-id: branches/fixes_1_8@54920 -
2017-05-14 11:16:16 +00:00
mattias
1ee1f29884 sqldb: fixed win64 compile with fpc 3.0.2
git-svn-id: branches/fixes_1_8@54911 -
2017-05-14 08:16:55 +00:00
mattias
00bc3780d6 sqldb: fixed compile under darwin
git-svn-id: branches/fixes_1_8@54897 -
2017-05-13 17:18:25 +00:00
mattias
a402fc7a4f updated make files
git-svn-id: branches/fixes_1_8@54893 -
2017-05-13 08:03:01 +00:00
mattias
f1f819d0c1 examples: fixed pascalstream with FPC 3.0+
git-svn-id: branches/fixes_1_8@54892 -
2017-05-12 22:55:07 +00:00
wp
5de630258e Examples: Fix demo fontenum ignoring some user input (http://forum.lazarus.freepascal.org/index.php/topic,36839.0.html)
git-svn-id: branches/fixes_1_8@54890 -
2017-05-12 22:03:39 +00:00
ondrej
95e251ef01 Merged revision(s) 54888 #510e6e4c49 from trunk:
docs: update TCustomGrid.DefColWidth, TCustomGrid.DefRowHeight, TToolBar.ButtonHeight, TToolBar.ButtonWidth, TToolBar.DropDownWidth, TCustomTreeView.ExpandSignSize, TCustomTreeView.Indent

git-svn-id: branches/fixes_1_8@54889 -
2017-05-12 21:13:48 +00:00
ondrej
45772e3d0c Merged revision(s) 54885 #56f3c227b7 from trunk:
lcl: grids: revert r54883 #bff91a4961

git-svn-id: branches/fixes_1_8@54886 -
2017-05-12 20:18:45 +00:00
ondrej
aee454aa3c Merged revision(s) 54872 #f9266d01ea,54874 #dbe072e701,54875 #b8d6c0d8dc,54877 #cd4add856f,54878 #5377b0e786,54881 #c5cf593797,54812 #e3f7770451,54813 #ede8a86d9d,54815 #118cfb3d98,54816 #43e271b439,54817 #76e4dccfaa,54840 #553d56948a,54841 #5fc40612bc,54842 #2abbee1637,54843 #dcdcafb794,54844 #92cf9781fa,54882 #3ba0ca06c3,54883 #bff91a4961 from trunk:
- r54872 #f9266d01ea lhelp: Fix lhelp to show popup hints. Issue #31732.
- r54874 #dbe072e701 Menu designer: Call GlobalDesignHook.Modified after adding an item. Issue #31791.
- r54875 #b8d6c0d8dc gridexamples: in title_image_demo show images at start, adapt height of header row to image layout) (http://forum.lazarus.freepascal.org/index.php/topic,36841.0.html)
- r54877 #cd4add856f Examples: Minor improvements of sample project motiongraphics (http://forum.lazarus.freepascal.org/index.php/topic,36858.msg245986.html)
- r54878 #5377b0e786 Examples: Improved usability of demo "openurltest".
- r54881 #c5cf593797 Examples: Fix crash of demo "propstorage" (http://forum.lazarus.freepascal.org/index.php/topic,36862.msg246019/topicseen.html).
- r54812 #e3f7770451 lcl: grids: disable VisualChange and UpdateSizes if AutoSize is disabled. Solves part of Issue #31715
- r54813 #ede8a86d9d lcl: support for DebugDisableAutoSizing compiler define
- r54815 #118cfb3d98 lcl: wincontrol: ignore FBoundsRealized in WM_SIZE. Solves part of Issue #31715
- r54816 #43e271b439 lcl: grids: Hi-DPI: row heights and column width. New default (system) value is -1. Solves part of Issue #31715
- r54817 #76e4dccfaa lcl: grids: ignore WMSIZE when updating scrollbars. Solves part of Issue #31715
- r54840 lcl: grids: fix scrolling after r54816 #43e271b439, Issue #31715
- r54841 #5fc40612bc lcl: grids: scroll to highest possible value if col/row are out of valid bounds. Related to Issue #31766
- r54842 lcl: dbgrids: adapt after r54816 #43e271b439. Issue #31765 and #31715
- r54843 ide: packager: adapt after r54816 #43e271b439. Issue #31762 and #31715
- r54844 #92cf9781fa lcl: grids: make GetDefaultRowHeight and *ColWidth public. Issue #31762 and #31715
- r54882 #3ba0ca06c3 lcl: grids: make default value for DefRowHeight and DefColWidth 0 and not -1 (due to LCL consistency). Issue #31715
- r54883 #bff91a4961 lcl: grids: rename GetRealDefaultColWidth and GetRealDefaultRowHeight to GetRealDef* (LCL consistency). Issue #31715

git-svn-id: branches/fixes_1_8@54884 -
2017-05-12 20:01:43 +00:00
mattias
755f441541 examples: removed obsolete openbrowser
git-svn-id: branches/fixes_1_8@54880 -
2017-05-12 12:59:44 +00:00
maxim
b2d6a960c4 Merged revision(s) 54866 #9256ee10a2 from trunk:
Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31783
........

git-svn-id: branches/fixes_1_8@54871 -
2017-05-10 23:04:21 +00:00
maxim
2383841116 Merged revision(s) 54848 #00e50506fa from trunk:
ide: new icons designed by FTurtle, issue #31789
........

git-svn-id: branches/fixes_1_8@54870 -
2017-05-10 22:49:06 +00:00