Commit Graph

51717 Commits

Author SHA1 Message Date
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
maxim
f6ee624914 Merged revision(s) 54845 #a3a7c54e1e from trunk:
LazUtf8: fix compilation for WinCE. Issue #0031788.
........

git-svn-id: branches/fixes_1_8@54869 -
2017-05-10 22:47:41 +00:00
maxim
d6b22af510 Merged revision(s) 54833 #2a1891258d, 54854 #7b4283dd0e from trunk:
DbEditMask example: Fix ShortDateFormat, it raised an exception.
........
Example easter: Fix ownerdrawn listbox not painting its background, center listbox items
........

git-svn-id: branches/fixes_1_8@54868 -
2017-05-10 22:45:35 +00:00
maxim
010812080b Merged revision(s) 54809 #25429f9352 from trunk:
MenuDesigner: Fixed adding a line separator at last position. Issue #31744
........

git-svn-id: branches/fixes_1_8@54867 -
2017-05-10 22:43:16 +00:00
mattias
770d44fcaa IDE: menu designer: do not call ProcessMessages
git-svn-id: branches/fixes_1_8@54864 -
2017-05-10 17:26:02 +00:00
mattias
4900d4ab19 IDE: increased Max_Frame_Dump to 32
git-svn-id: branches/fixes_1_8@54862 -
2017-05-10 15:53:44 +00:00
mattias
bc4ac76436 codetools: added predefined fpc identifier get_frame
git-svn-id: branches/fixes_1_8@54860 -
2017-05-10 15:49:05 +00:00
mattias
de3c0e65dc IDE: menu designer: free shadowmenu via releasecomponent
git-svn-id: branches/fixes_1_8@54858 -
2017-05-10 15:29:09 +00:00
mattias
d83b75d17a IDE: fixed switching build mode in options dialog, bug #31787
git-svn-id: branches/fixes_1_8@54856 -
2017-05-10 15:20:55 +00:00
mattias
db576b338f IDE: menu designer: remove items via normal means
git-svn-id: branches/fixes_1_8@54852 -
2017-05-10 14:12:06 +00:00
mattias
9d1d8dbc36 IDE: menu designer: replaced some free with releasecomponent, controls may be still processing events, bug #31791
git-svn-id: branches/fixes_1_8@54850 -
2017-05-10 13:02:33 +00:00
mattias
08e6e261b5 codetools: set defines when setting modeswitches
git-svn-id: branches/fixes_1_8@54839 -
2017-05-08 19:01:48 +00:00
mattias
8a43ab90c4 codetools: parsing modeswitch on,off
git-svn-id: branches/fixes_1_8@54837 -
2017-05-08 18:43:32 +00:00
mattias
fcea29718b codetools: identifier completion: Delphi directives
git-svn-id: branches/fixes_1_8@54835 -
2017-05-08 18:32:03 +00:00
mattias
1a1110fccd codetools: renamed cmsBlocks to cmsCBlocks, because less confusing
git-svn-id: branches/fixes_1_8@54832 -
2017-05-08 11:53:53 +00:00
mattias
ecbec7c6b3 rtticontrols: updated example lpi
git-svn-id: branches/fixes_1_8@54830 -
2017-05-08 11:12:04 +00:00
mattias
8ceb9fa37a codetools: added compiler directive switches $E, $G, $J, $O, $U
git-svn-id: branches/fixes_1_8@54828 -
2017-05-08 11:11:06 +00:00
mattias
80e13cc0af codetools: fixed guesstype of copy()
git-svn-id: branches/fixes_1_8@54822 -
2017-05-07 09:14:06 +00:00
mattias
c79ff882eb lazutils: fixed lazunicode compile under Delphi
git-svn-id: branches/fixes_1_8@54808 -
2017-05-03 11:25:56 +00:00
maxim
8a85928884 Merged revision(s) 54802 #ef647d8160 from trunk:
Qt,Qt5: fixed regression from r54696 #d76aa4f29a. issue #31697
........

git-svn-id: branches/fixes_1_8@54805 -
2017-05-02 22:37:55 +00:00
maxim
b4ddf13b57 Merged revision(s) 54799 #89b56c31b3 from trunk:
ide: images: anchor editor. Designed by FTurtle, issue #31730
........

git-svn-id: branches/fixes_1_8@54804 -
2017-05-02 22:36:32 +00:00
maxim
394053c612 Merged revision(s) 54789 #4299756c69 from trunk:
Translations: added missing file from r54785 #379fa56788 (Hungarian translation update)
........

git-svn-id: branches/fixes_1_8@54790 -
2017-05-01 11:11:44 +00:00
maxim
264719081d Merged revision(s) 54785 #379fa56788 from trunk:
Translations: Hungarian translation update by Péter Gábor, bug #31739
........

git-svn-id: branches/fixes_1_8@54788 -
2017-05-01 11:00:21 +00:00
maxim
d68e3fe9aa Merged revision(s) 54777-54779 #0d66c24a77-#0d66c24a77 from trunk:
Qt, Qt5: set correct timestamp when using X11Raise(), some wm's complains about it.
........
Qt5: do not use x11 timestamp workaround as qt4 uses. Qt5 uses libxcb which handles timestamps well.
........
Qt: reverted using unixdatetime instead of x11 CurrentTime const because problem is in buggy wm not in our code.
........

git-svn-id: branches/fixes_1_8@54787 -
2017-05-01 10:50:32 +00:00
maxim
847c6a7bdd Merged revision(s) 54766 #0401160d0d, 54781 #d26cecd517 from trunk:
LCL: TTrayIcon: Win32: Fixed SIGSEGV after closing app. Issue #29739
........
LCL: TPageControl: Win32: Fixed Pagecontrol does show space for tabs, but no tabs in it. Issue #19278
........

git-svn-id: branches/fixes_1_8@54786 -
2017-05-01 10:41:55 +00:00
maxim
c3c000c5b7 Merged revision(s) 54771-54772 #5894290dfc-#5894290dfc from trunk:
IDE: regenerated translations and updated Russian translation
........
IDE: Spanish translation update by Alonso Cárdenas Márquez, bug #31731
........

git-svn-id: branches/fixes_1_8@54776 -
2017-04-28 23:14:40 +00:00
maxim
2b39d3af3d Merged revision(s) 54765 #fb21bde862 from trunk:
LCL-GTK2: A workaround to prevent a complete freeze with menu seperators. Issue #31138.
........

git-svn-id: branches/fixes_1_8@54775 -
2017-04-28 23:04:20 +00:00
maxim
c2e284f429 Merged revision(s) 54743 #bca1a59f06 from trunk:
Qt5: added QBuffer class, needed for saving and loading streams where QIODevice is needed. eg QImage
........

git-svn-id: branches/fixes_1_8@54774 -
2017-04-28 23:03:01 +00:00
maxim
0a5402e51d Merged revision(s) 54722 #d40aae2903, 54732-54733 #910b0b45e8-#910b0b45e8 from trunk:
lcl: forms: don't check for old value in UpdateShowInTaskBar. Issue #31248, patch by Michl
........
lcl: grids: fix endless loop "paint->update scrollbars->paint". Issue #31518
........
lcl: grids: don't invalidate grid when changing bounds if not necessary. Issue #31518
........

git-svn-id: branches/fixes_1_8@54773 -
2017-04-28 23:01:37 +00:00
mattias
03402123b5 codetools: use namespaces only for pas2js and fpc>30101
git-svn-id: branches/fixes_1_8@54770 -
2017-04-28 22:40:10 +00:00
mattias
b94e6593a1 codetools: basiccodetools: ReadDottedIdentifier, FindModuleNameInSource
git-svn-id: branches/fixes_1_8@54768 -
2017-04-28 22:30:20 +00:00
mattias
5afb97dafb codetools: fixed compilation with fpc<3.1.1
git-svn-id: branches/fixes_1_8@54764 -
2017-04-28 10:40:25 +00:00
mattias
7e9a65a530 IDE: identifier completion: global property types, patch from Anton, bug #31722
git-svn-id: branches/fixes_1_8@54761 -
2017-04-27 21:23:33 +00:00
mattias
f0e96331b8 lazutils: added MergeWithDelimiter
git-svn-id: branches/fixes_1_8@54757 -
2017-04-27 14:33:50 +00:00
mattias
f97577cb14 IDE: parse namespaces from custom compiler options
git-svn-id: branches/fixes_1_8@54752 -
2017-04-26 19:41:28 +00:00
mattias
de0ab411de IDE: do not pass -B when option -k or -T changes, added resourcestring
git-svn-id: branches/fixes_1_8@54750 -
2017-04-26 19:21:19 +00:00