Commit Graph

18132 Commits

Author SHA1 Message Date
mattias
68ff0306d3 fixes branch: set version 1.6.2
git-svn-id: branches/fixes_1_6@53353 -
2016-11-12 09:43:58 +00:00
maxim
ff35800fc0 Merged revision(s) 53292 #f95821fe94 from trunk:
lcl: Do not check for Text property directly in TextChanged. Part of issue #30851. Patch by Michl
........

git-svn-id: branches/fixes_1_6@53352 -
2016-11-11 22:38:44 +00:00
ondrej
5e7d09e1db merged revisions r53122, r53298, r53301 #636191a91d from trunk:
- r53122 #4785d293ae Finnish translation for jsonviever and tachart by Seppo Suutarla.
- r53298 #42da67c6c4 Qt: keep current ItemIndex. Issue #0028597
- r53301 #636191a91d LCL: Setting TControl.Color must set TControl.ParentColor to false incl sending CM_PARENTCOLORCHANGED (Issue #0030854, based on patch by Pascal Riekenberg).

git-svn-id: branches/fixes_1_6@53344 -
2016-11-11 16:40:41 +00:00
maxim
d0f9d77c67 Merged revision(s) 53085 #821eb9c465 from trunk:
TNoteBook: fix deleting pages. Issue #0030688.
........

git-svn-id: branches/fixes_1_6@53093 -
2016-10-10 21:25:33 +00:00
maxim
1095aec9b8 Merged revision(s) 53061 #27ba944bdb from trunk:
FindDialog: fix reading actual position the finddialogform for Left and Top. Issue #0030668.
........

git-svn-id: branches/fixes_1_6@53092 -
2016-10-10 21:24:45 +00:00
maxim
c2999bff0d Merged revision(s) 52764 #764c1f97e4 from trunk:
lcl: TCustomForm needs Application.RemoveAsyncCalls, issues #30281 and #8576
........

git-svn-id: branches/fixes_1_6@53091 -
2016-10-10 21:22:57 +00:00
maxim
0f77e2e347 Merged revision(s) 53046 #2228fcd9a2 from trunk:
LCL: In TPen.ReferenceNeed the elpWidth member of the TExtLogPen structure must be 1 (not 0) if the pen is not Geometric. Resolves Issue #0022646.
........

git-svn-id: branches/fixes_1_6@53049 -
2016-09-28 22:08:17 +00:00
maxim
f1db96cde7 Merged revision(s) 53045 #028ed81448 from trunk:
Win32: SetComboMinDropDownSize
- Support for the CB_SETMINVISIBLE message depends on ComCtlVersion, not on the value of ThemeServices.ThemesEnabled
- Send then CB_SETDROPPEDWIDTH message even if first message failed.
- Add a comment to explain why the function result cannot always be determined accurately
Resolves Issue #0030526.
........

git-svn-id: branches/fixes_1_6@53048 -
2016-09-28 22:07:24 +00:00
maxim
495bbde601 Merged revision(s) 52912 #b1262a951e from trunk:
Grids: fix wrong result of TCustomGrid.GetEditorBorderStyle when FEditor = FPickListEditor. Issue #0028782.
........

git-svn-id: branches/fixes_1_6@52923 -
2016-09-06 22:25:57 +00:00
mattias
6b1eeb12fc lcl: fixed setting TMenuItem.Visible without Parent
git-svn-id: branches/fixes_1_6@52916 -
2016-09-05 12:10:22 +00:00
maxim
b98b550355 Merged revision(s) 52777 #02c808e51f from trunk:
EditBtn: allow to clear TDateEdit.Text at designtime when DefaultToday=True and DirectInput=False. Issue #0030425.
........

git-svn-id: branches/fixes_1_6@52897 -
2016-08-30 22:02:39 +00:00
maxim
797d33ae13 Merged revision(s) 52863 #8c06636b4b from trunk:
LazHelpHtml: UnQuotes the result of FinddefaultBrowser. Resolves issue #0030502.
........

git-svn-id: branches/fixes_1_6@52892 -
2016-08-29 22:20:06 +00:00
maxim
0afe553727 Merged revision(s) 52862 #602280cef5 from trunk:
CaculatorForm: fix TCalculatorPanel.FindButton for buttons after the Square root button.
........

git-svn-id: branches/fixes_1_6@52891 -
2016-08-29 22:18:48 +00:00
maxim
469aa3f707 Merged revision(s) 52837 #5bf9ffa801, 52839 #298e1155ad from trunk:
MaskEdit: check if control can be focussed before focussing when validation fails in DoExit. Issue #0030482. Patch by Lutz Mändle.
........
MaskEdit: fix pasting text with spaces when maskchar is cMask_AlphaNum, cMask_Letter and cMask_Number or cMask_NumberPlusMin. Issue #0030481.
........

git-svn-id: branches/fixes_1_6@52890 -
2016-08-29 22:17:20 +00:00
maxim
3530cfd8f2 Merged revision(s) 52760 #42fe1e0f32 from trunk:
EditBtn: remove obsolete properties TDateEdit.OKCaption and TDateEdit.CancelCaption (they pollute .po files). Issue #0030031.
........

git-svn-id: branches/fixes_1_6@52889 -
2016-08-29 22:12:49 +00:00
maxim
fa82812d16 Merged revision(s) 52756 #33b941d450 from trunk:
ApplicationProperties: fix setting ExceptionDialog in OI. Issue #0030210.
........

git-svn-id: branches/fixes_1_6@52888 -
2016-08-29 22:06:35 +00:00
bart
2a9174a4e3 Win32: fix error in TFontDialog if fdLimitSize is set. Issue #0030340. Patch by Rik van Kekem, modified by me.
Applied directly to fixes branch (not merged from trunk) because of merge conflicts.

git-svn-id: branches/fixes_1_6@52737 -
2016-07-21 14:00:06 +00:00
maxim
7d9500432d Merged revision(s) 52704 #687d82e68e from trunk:
win32: initialize PS (TPaintStruct) in paint message handling when ControlDC <> 0. Issue #30275
........

git-svn-id: branches/fixes_1_6@52722 -
2016-07-19 22:23:45 +00:00
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