Commit Graph

18114 Commits

Author SHA1 Message Date
maxim
ad3e1137d9 Merged revision(s) 52703 #a55241308e from trunk:
revert r52494, r52500 #48fe37a204: they caused crashes in Carbon interface. Issue #30003
........

git-svn-id: branches/fixes_1_6@52721 -
2016-07-19 22:21:24 +00:00
maxim
9bb496c3dd Merged revision(s) 52494 #dd7ec70032, 52500 #48fe37a204, 52527 #7f8864e5b6 from trunk:
lcl: TControlCanvas: don't allow to empty handle if there is a pre-allocated FDeviceContext handle. Solves issue #30003
........
lcl: destroy canvas handle of TGraphicControl when parent is removed. Issue #30003
........
LCLTranslator: Fix FindLocaleFilename failing if optional directory is absolute or ends with a path delimiter.
........

git-svn-id: branches/fixes_1_6@52611 -
2016-07-03 20:45:24 +00:00
maxim
a329909415 Merged revision(s) 52479-52481 #b08c38cba0-#b08c38cba0, 52486-52488 #47df5bbcc5-#47df5bbcc5 from trunk:
lazutils: fix GetFormatSettingsUTF8, make it public
........
lcl: use GetFormatSettingsUTF8 in TApplication.IntfSettingsChange. Issue #30253
........
lazutils: fixed compilation on non windows
........
lazutils: fix comment from r52480 #b13ba1b0b9
........
lcl: fix conditional define (all windows) in TApplication.IntfSettingsChange
........
lazutils: fix compilation with DisableUTF8RTL after r52480 #b13ba1b0b9
........

git-svn-id: branches/fixes_1_6@52608 -
2016-07-03 20:38:00 +00:00
mattias
6089075cfe lcl: gtk2: GTKAPIWidget_FocusIn: check if client widget can be focused
git-svn-id: branches/fixes_1_6@52560 -
2016-06-22 14:35:49 +00:00
maxim
767928fd52 Merged revision(s) 52471 #1f30e1af51, 52475-52476 #d91135954f-#d91135954f from trunk:
POChecker: fixed "Ignore fuzzy translations" option.

Previously all translations with bad formatting arguments were 
considered fuzzy, so these errors were not shown even for non-fuzzy 
translations if this option was enabled.
........
LCL, Translations unit: there is no need to check for badformat flags in CleanUp procedure anymore, they are now set/cleared in all cases in CheckFormatArguments procedure.
........
LCL, Translations unit: improved comments.
........

git-svn-id: branches/fixes_1_6@52477 -
2016-06-11 13:49:55 +00:00
maxim
681dde5529 Merged revision(s) 52406-52407 #d8ed66ce6a-#d8ed66ce6a from trunk:
Qt: fixed TQtWidgetSet.AngleChord(). issue #30194
........
Qt: proper string conversion.
........

git-svn-id: branches/fixes_1_6@52458 -
2016-06-08 22:17:37 +00:00
maxim
070948cf18 Merged revision(s) 52405 #04f0bf21ef from trunk:
LCL: Fix default implementations of Arc, Chord and Pie functions. Issue #30194, patch from errno.
........

git-svn-id: branches/fixes_1_6@52457 -
2016-06-08 22:15:55 +00:00
ondrej
7622008fd8 Merged revision(s) 51930 #4f4d831061 from trunk:
wince: disable PopupParent on WinCE because it is not supported. Issue #29807

git-svn-id: branches/fixes_1_6@52302 -
2016-05-13 07:49:44 +00:00
maxim
6826476def Merged revision(s) 52267 #7f870caf3f from trunk:
lcl: fix default TabStop value for TNotebook, publish TabStop for TPage. Issue #21943
........

git-svn-id: branches/fixes_1_6@52280 -
2016-05-03 22:13:14 +00:00
maxim
bb593e315d Merged revision(s) 52246 #178c43a3f6, 52265 #67f550a5ef from trunk:
Win32: fix scrolling issue in ListBox with huge amount of items. Patch by Michl. Issue #0023914.
........
LCL-Win32: Fix flickering in Listview during scroll. Issue #30076, patch from Michl.
........

git-svn-id: branches/fixes_1_6@52278 -
2016-05-03 22:11:15 +00:00
maxim
05b4e376a7 Merged revision(s) 52204 #9a6c33c697, 52206 #16b35167c9 from trunk:
MaskEdit: don't remove the mask in FormatMaskText regardless of the "MaskSave" value in the specified EditMask.
........
MaskEdit: do replace SpaceChar with #32 in FormatMaskText.
........

git-svn-id: branches/fixes_1_6@52276 -
2016-05-03 22:06:42 +00:00
maxim
0eb8bc8895 Merged revision(s) 52156 #6b5c5479ca from trunk:
LCL: unified behaviour of win32,qt and gtk2 TScrollbar. issue #20127
........

git-svn-id: branches/fixes_1_6@52188 -
2016-04-13 22:37:41 +00:00
maxim
ee563f18e6 Merged revision(s) 52154 #39279083c5 from trunk:
Gtk2: unify TScrollbar behaviour with win32 and qt. issue #20127
........

git-svn-id: branches/fixes_1_6@52174 -
2016-04-11 22:22:13 +00:00
maxim
23e373991d Merged revision(s) 52148-52151 #d937152b73-#d937152b73, 52155 #441c5e04fb from trunk:
Qt: fixed geometry resize of mdiarea handle widget. issue #29978
........
Qt: small optimisation when calculating mdiform area geometry.
........
Qt: unify TScrollBar Max value and position with winapi. issue #20127
........
Qt: do not pass maximum value by triggering scrollbar actions. issue #20127
........
Qt: unify scrollbar behaviour with win32.Let position pass max - lcl will decide about new pos. issue #20127
........

git-svn-id: branches/fixes_1_6@52173 -
2016-04-11 22:20:52 +00:00
maxim
fec94eed66 Merged revision(s) 51694-51695 #d0a37e168d-#d0a37e168d from trunk:
LCL: Implement TCustomCalendar.GetCalendarView. Patch by Zoran Vučenović.
........
LCL: Try not to close CalendarDialogs if CurrentView <> cvMonth. Partly resolves Issue #0029646.
........

git-svn-id: branches/fixes_1_6@52170 -
2016-04-11 22:09:58 +00:00
maxim
6dd860fd79 Reverted revision(s) 51695 #3d71055636 from trunk:
LCL: Try not to close CalendarDialogs if CurrentView <> cvMonth. Partly resolves Issue #0029646.

git-svn-id: branches/fixes_1_6@52131 -
2016-04-06 22:45:33 +00:00
maxim
affb7b2553 Merged revision(s) 52069 #c2d8116ccf from trunk:
gtk2: workaround for openbox wm wrong reading of geometry structure. issue #29884
........

git-svn-id: branches/fixes_1_6@52125 -
2016-04-06 22:01:12 +00:00
maxim
e231c1700b Merged revision(s) 52055 #db7cf0af86, 52117 #c8f2421648 from trunk:
Win32: Return cpDate in TWin32WSCustomCalendar.HitTest when user clicks on "Today". Issue #0029895.
........
Win32: fix TWin32WSCustomCalendar.HitTest if application does not use a manifest on Vista and up. Issue #0029975.
........

git-svn-id: branches/fixes_1_6@52123 -
2016-04-06 21:53:12 +00:00
maxim
506b91adf2 Merged revision(s) 52054 #fce82bdea5, 52085-52086 #780ef75887-#780ef75887 from trunk:
Qt: fixed crash with TPreviewFileDialog. issue #29896
........
Qt: do smooth transformation on argb32 image format. issue #29883
........
Qt: use smooth transformation when scaling an QImage. issue #29883
........

git-svn-id: branches/fixes_1_6@52122 -
2016-04-06 21:50:51 +00:00
maxim
bc5ddac2ed Merged revision(s) 51695 #3d71055636, 52077 #ddef968c2b from trunk:
LCL: Try not to close CalendarDialogs if CurrentView <> cvMonth. Partly resolves Issue #0029646.
........
LCL: ImageList: call DestroyReference in Clear. Resolves Issue #0029905.
........

git-svn-id: branches/fixes_1_6@52119 -
2016-04-06 21:40:53 +00:00
maxim
dd2455c4a5 Merged revision(s) 52036 #623e6e3c35, 52038-52040 #e3734f359c-#e3734f359c from trunk:
lcl: images: update tango url
........
lcl: images: replace handpoint and hourglass cursors (unknown origin) with public domain cursors. Issue #29869
handpoint: converted from https://commons.wikimedia.org/wiki/File:Cursor_Hand.png
hourglass: modified cur_17.cur
........
lcl: images: replace dock images with Tango (some modified by myself). Issue #29869
........
lcl: images: hourglass cursors: better hotspot (in the middle of hourglass)
........

git-svn-id: branches/fixes_1_6@52052 -
2016-03-24 22:19:38 +00:00
maxim
44cd0e201d Merged revision(s) 51767 #fbc63768e7 from trunk:
gtk2: fixed reizing form with constraints applied. issue #29563
........

git-svn-id: branches/fixes_1_6@52051 -
2016-03-24 22:17:55 +00:00
maxim
3368e78218 Merged revision(s) 52007 #764da242fd, 52010 #a41772455c, 52014-52015 #965080c1f6-#965080c1f6, 52017 #375a90a350, 52022-52023 #2941de50c4-#2941de50c4, 52025-52027 #7d3924d7a4-#7d3924d7a4 from trunk:
lcl: add copyright info for LCL images, Issue #29869
........
lcl: images: update copyright info for dbnavdelete.png
........
lcl: images: updated Tango icons copyright info. Issue #29869
........
LCL: replace DBNavigator images for "undo" and "delete" with images from Tango, which are public domain. Part of Issue #0029869.
- dbnavcancel: derived from https://commons.wikimedia.org/wiki/File:Edit-undo.svg
- dbnavdelete: derived from https://commons.wikimedia.org/wiki/File:User-trash.svg

........
LCL: update images/copyright.txt

........
lcl: images: use tango icons with alpha channel, Issue #29869
........
lcl: images: replace all Silk icons by public-domain Tango icons, Issue #29869
........
lcl: images: cleaner tick images, Issue #29869
........
lcl: images: better btnseldir.png
........
lcl: images: update copyright policy with info about Tango icons.
........

git-svn-id: branches/fixes_1_6@52032 -
2016-03-23 21:27:28 +00:00
ondrej
20b0781512 Merge system dialogs issues #28631 and #27148:
r51798 lcl: disable windows on system dialog execute, win32: fix parent window handle for system dialogs, Issue #28631
r51808 lcl: restore focus after system dialog. Issue #28631
r51810 lcl: better bullet-proof LCL approach for r51808 #cf74370262, issue #28631
r51811 lcl: remove stay-on-top window flags on ShowModal because they can block the application from input. Issue #27148
r51812 lcl: remove/restore stay-on-top windows in Application ModalStarted/ModalFinished, fix default methods with a counter. Issue #27148

git-svn-id: branches/fixes_1_6@51997 -
2016-03-20 07:48:31 +00:00
maxim
304a191c25 Merged revision(s) 51983 #7ccb2f58d2 from trunk:
Win32: first attempt to implement TWin32WidgetSet.FontIsMonoSpace. Issue #0028898.
........

git-svn-id: branches/fixes_1_6@51996 -
2016-03-19 13:35:51 +00:00
maxim
d1619263b1 Merged revision(s) 51659 #3fca9d4689 from trunk:
gtk2: fix hints clipped by 200x200 rect on KDE, Issue #28973
........

git-svn-id: branches/fixes_1_6@51994 -
2016-03-19 13:27:45 +00:00
maxim
ee9fabad52 Merged revision(s) 51847 #b8ff0d24a8 from trunk:
Carbon: document TListBox.ItemHeight as restricted.
........

git-svn-id: branches/fixes_1_6@51991 -
2016-03-19 13:14:00 +00:00
maxim
b3fb47b5d3 Merged revision(s) 51045 #3d8be36eb6, 51677 #dabcac3009, 51742 #8e8380449e from trunk:
LCL: Reduce warnings by replacing deprecated TField's "Lookup" with "FieldKind=fkLookup".
........
lcl: using process Executable instead of CommandLine
........
LCL: Don't use PassWordChar when showing TextHint. Patch by riderkick. Issue #0029748.
........

git-svn-id: branches/fixes_1_6@51989 -
2016-03-19 13:07:32 +00:00
maxim
68d6b7d73f Merged revision(s) 51682-51683 #b3e8ea38d7-#b3e8ea38d7 from trunk:
PoChecker: added Portuguese translation support, regenerated translations and updated Russian translation
........
LCL: added Portuguese translation by Pedro Albuquerque, bug #29712
........

git-svn-id: branches/fixes_1_6@51690 -
2016-02-24 22:33:07 +00:00
maxim
277b6a175f Merged revision(s) 51680-51681 #46ea37d068-#46ea37d068 from trunk:
Carbon: remove system-wide stay-on-top window style for windows with defined WndParent. Issue #29694
........
Carbon: remove wrong code from SetRealPopupParent and add a ToDo.
........

git-svn-id: branches/fixes_1_6@51689 -
2016-02-24 22:31:06 +00:00
maxim
aede9c3c21 Merged revision(s) 51597 #2c0c39f762 from trunk:
lcl: use active form as parent for pmNone and modal windows. Issue #29635
........

git-svn-id: branches/fixes_1_6@51686 -
2016-02-24 22:24:04 +00:00
maxim
64662d5382 Merged revision(s) 51658 #f9d4440db3, 51679 #8af51b6eee from trunk:
Qt: fixed TQtMemoString.Insert() and TQtTextEdit.insertLine(). issue #29670
........
Qt: fixed bug with returning from TQtWidgetSet.GetWindowSize() with fpc-3.0
........

git-svn-id: branches/fixes_1_6@51684 -
2016-02-24 22:15:36 +00:00
maxim
b7ed54fe7a Merged revision(s) 51639 #47106ebc21 from trunk:
ShellTreeView: make PopulateWithBaseFiles public. Makes it possible to populate a ShelltreeView that was created at runtime.
........

git-svn-id: branches/fixes_1_6@51653 -
2016-02-18 06:29:14 +00:00
mattias
c07abfd0c8 set version to 1.6.1
git-svn-id: branches/fixes_1_6@51628 -
2016-02-14 09:50:09 +00:00
mattias
5365cc87d0 set version 1.6
git-svn-id: branches/fixes_1_6@51626 -
2016-02-14 09:43:59 +00:00
mattias
e4c54c9f40 QT+GTK2: Fix TFloatSpinEdit not being unconstrained when MinValue = MaxValue. Issue #29645
git-svn-id: branches/fixes_1_6@51621 -
2016-02-14 09:08:06 +00:00
maxim
991b685619 Merged revision(s) 51588 #947a3dc602 from trunk:
LCL: Pass the PartStart parameter of TCustomListView.FindCaption forward. It was ignored.
........

git-svn-id: branches/fixes_1_6@51612 -
2016-02-13 12:44:21 +00:00
maxim
748e872921 Merged revision(s) 51564 #9fb950e45d from trunk:
Gtk2: fixed bsToolWin sizing. issue #29553
........

git-svn-id: branches/fixes_1_6@51607 -
2016-02-13 12:38:27 +00:00
maxim
044d93423a Merged revision(s) 51526 #b801134b9b from trunk:
Qt: fixed modal stack under qt-win32. issue #29602
........

git-svn-id: branches/fixes_1_6@51530 -
2016-02-06 15:15:51 +00:00
maxim
e692129cb1 Merged revision(s) 51472 #d7e782191a, 51512 #1a8731a61b from trunk:
lcl: lclstrconsts slovak translations from Slavo Gbúr. Issue #29570 Patch from Denis Kozlov
........
LCL: regenerated translations
........

git-svn-id: branches/fixes_1_6@51524 -
2016-02-06 14:39:05 +00:00
maxim
b8058ec213 Merged revision(s) 51358 #49d6dee15e, 51381 #a7f3bf4640, 51443-51444 #6e15c088bf-#6e15c088bf, 51476 #843fcd8da7 from trunk:
Qt: fixed painting on TGroupBox.issue #28155
........
Qt: fixed hint changing of TTrayIcon. issue #29478
........
Qt: proper resize QMDIArea if any of LCLObject child wincontrols are aligned alTop,alLeft,alBottom or alRight. issue #29529
........
Qt: fix activate/deactivate signal on mdichild forms without any control. issue #29528
........
Qt: fixed mouse events in TQtGroupBox. issue #29572
........

git-svn-id: branches/fixes_1_6@51517 -
2016-02-06 14:18:07 +00:00
maxim
314291368a Merged revision(s) 51334 #4c08c761dc, 51359 #685cfd6bbc, 51361 #871f631591 from trunk:
LCL: don't prevent AutoSizeDelayedHandle for minimized windows. Issue #29445
........
LCL: fixed crash with sparta docked , added check for Target <> nil in SetFocusedControl.
........
LCL: Don't turn TScrollBar.Visible False when changing Kind property. AScrollBar.Show did not work due to flag tests. Issue #29422
........

git-svn-id: branches/fixes_1_6@51515 -
2016-02-06 14:00:56 +00:00
maxim
2189723d75 Merged revision(s) 51287 #06164b5f5f from trunk:
TListFilterEdit: removed LCLQt workaround. issue #29385
Qt: unset selection when itemindex is changed. issue #29385
........

git-svn-id: branches/fixes_1_6@51329 -
2016-01-18 23:06:16 +00:00
maxim
67fc6eb2c8 Merged revision(s) 51286 #6d831b44de, 51317 #9e65d8f0c1 from trunk:
LCL: grids: partially revert r49016 #2b2ffb7044 that prevents OnSelectEditor when entering cell by keyboard. Issue #29191
........
grids: Do not reset Offset in keyboard Events. Issue #29420, patch by Michl
........

git-svn-id: branches/fixes_1_6@51328 -
2016-01-18 23:04:52 +00:00
maxim
f4af449c66 Merged revision(s) 51255 #443e41f8fd from trunk:
DBNavigator: restore the icons for "delete" and "cancel" that got lost in r32029 #f6063bf57c. Issue #0029359.
........

git-svn-id: branches/fixes_1_6@51325 -
2016-01-18 22:58:13 +00:00
maxim
21b33a482c Merged revision(s) 51114 #b538c367a2, 51264 #9f6df04a52, 51302 #07d5c8bea6 from trunk:
Qt: do not restore hints which are not visible by lcl.
........
Qt: fixed compilation with QTOPIA define. issue #29379
........
QT: Fix T(Float)SpinEdit OnChange. Issue #0029343.
........

git-svn-id: branches/fixes_1_6@51322 -
2016-01-18 22:40:44 +00:00
mattias
e92baf1992 set fixes version to 1.6.RC3
git-svn-id: branches/fixes_1_6@51247 -
2016-01-10 22:37:46 +00:00
maxim
d81baf4237 Merged revision(s) 51106 #aff098bce4 from trunk:
LCL: Fix TComboExItems.Insert. Issue #29302.
........

git-svn-id: branches/fixes_1_6@51197 -
2016-01-05 13:09:33 +00:00
maxim
e0647ca812 Merged revision(s) 51126 #49b92bd91e from trunk:
TFloatSpinEdit: don't "eat" Undo keyboard shortcut (Ctrl+Z)
........

git-svn-id: branches/fixes_1_6@51154 -
2016-01-03 12:45:34 +00:00
maxim
5fb41b86ea Merged revision(s) 51115 #86ee218ac2 from trunk:
lcl: TCustomForm: prevent sending Resizing twice. Issue #29310 and #29308
........

git-svn-id: branches/fixes_1_6@51152 -
2016-01-03 12:42:35 +00:00