Commit Graph

18161 Commits

Author SHA1 Message Date
maxim
39509abee2 Merged revision(s) 54520 #e366739dbb from trunk:
LCL: fix exception in DbGrid on clicking when dataset is inactive, patch from Soner, issue #31631
........

git-svn-id: branches/fixes_1_6@54551 -
2017-04-06 23:16:45 +00:00
mattias
9808d18f93 lcl: ifdef to allow old fpdoc parse
git-svn-id: branches/fixes_1_6@54527 -
2017-04-05 09:32:39 +00:00
mattias
7b9785a557 docs: lcl: fixed some fpdoc errors
git-svn-id: branches/fixes_1_6@54518 -
2017-04-04 12:16:25 +00:00
maxim
ac2cdad810 Merged revision(s) 51701 #037caacba5 from trunk:
lcl: publish TDrawGrid.OnGetCellHint. Issue #29727
........

git-svn-id: branches/fixes_1_6@54515 -
2017-04-03 23:33:34 +00:00
maxim
5b45f48de6 Merged revision(s) 54484 #7950eabf8d from trunk:
win32: fix EnableChildWindows. Issue #31590
........

git-svn-id: branches/fixes_1_6@54491 -
2017-03-27 22:25:39 +00:00
maxim
8bc1f86675 Merged revision(s) 52666 #e7a89b8863 from trunk:
win32: update screen monitors info when display changes. Issue #30336
........

git-svn-id: branches/fixes_1_6@54460 -
2017-03-21 22:46:11 +00:00
maxim
4509740bd1 Merged revision(s) 52216 #71ae0bd810, 54441 #cd7fd1bc6e, 54444-54445 #34d80e9305-#34d80e9305, 54449 #98e5d53303 from trunk:
LCL, grids: fix writing column titles in LRT file for translating purposes, issue #29763, #30013
........
lcl: DBLookupComboBox, DBLookupListBox: update Lookup on handle destroy. Issue #31486
........
lcl: dbgrids: workaround for FPC 3 issue #31532
........
lcl: dbgrids: workaround for FPC 3 issue #31532 (comment)
........
lcl: screen: update monitors in case invalid monitor handle is found. Issue #30336
........

git-svn-id: branches/fixes_1_6@54459 -
2017-03-21 22:44:25 +00:00
mattias
bcbc19c617 set fixes version to 1.6.5
git-svn-id: branches/fixes_1_6@54279 -
2017-02-25 23:33:27 +00:00
mattias
e9dc983419 set fixes version to 1.6.4
git-svn-id: branches/fixes_1_6@54277 -
2017-02-25 23:30:30 +00:00
maxim
43cdc44672 Merged revision(s) 54164 #c07a887d22, 54172 #ce7b128603 from trunk:
LCL: TPen.Assign copies pattern now.
........
lcl: Fix grid's ButtonStringEditor ignoring cell text alignment (issue #0031402).
........

git-svn-id: branches/fixes_1_6@54183 -
2017-02-16 22:41:29 +00:00
maxim
9136f55ec4 Merged revision(s) 54074 #e4b8fbdc91, 54086-54087 #46dd6e700d-#46dd6e700d from trunk:
FileListBox: publish properties Color, ParentColor and Enabled. Issues #0031328 and #0031329.
........
TprogressBar: publish properties Font and ParentFont. Issue #0031330.
........
EditBtn: publish property Contsraints of TCustomControlFilterEdit. Issue #0031345.
........

git-svn-id: branches/fixes_1_6@54182 -
2017-02-16 22:40:11 +00:00
maxim
78e5cf1422 Merged revision(s) 54073 #8ede8a7f5f from trunk:
EditBtn: publish property Contstraints for TFilenameEdit, TDirectoryEdit and TCalcEdit. Issue #0031327.
........

git-svn-id: branches/fixes_1_6@54181 -
2017-02-16 22:38:30 +00:00
maxim
4386a6db33 Merged revision(s) 54010 #dd81ed3150, 54025 #739663d456, 54070-54072 #8ce29506c5-#8ce29506c5 from trunk:
LCL: TDateEdit: fix not calling OnEditingDone (bug introduced in r53938 #afa3922372 by me). Issue #0031278.
........
FileListBox:
- do not display normal files if ftNormal is not specified in FileType (Delphi compatibility)
- do not display filenames if FileType only includes ftDirectory or ftVolumeID. Issue #0031281
........
TDateEdit: Don't change empty Text when toggling DirectInput in designer. Part of Issue #0030425.
........
TStaticText: publish properties Enabled, ParentShowHint and PopupMenu. Issues #0031313, #0031315 and #0031333.
........
TTimeEdit: publish properties ButtonCaption, ButtonCursor and ButtonHint. Issue #0031338.
........

git-svn-id: branches/fixes_1_6@54179 -
2017-02-16 22:30:31 +00:00
michl
2310edb3ee LCL: TComboBox: Make key input Delphi compatible with AutoDropDown = True. Issue #31247
git-svn-id: branches/fixes_1_6@54058 -
2017-02-01 19:40:48 +00:00
michl
c793c2cd91 LCL: TTabControl: make tabs drag- and dropable. Issue #24022
git-svn-id: branches/fixes_1_6@54008 -
2017-01-26 07:37:21 +00:00
michl
d9b419c78b LCL: TTabControl: make mouse messages working in tabs. Issue #27467
git-svn-id: branches/fixes_1_6@54007 -
2017-01-26 07:30:44 +00:00
michl
dabd63aa99 IDE: replace TabIndexAtClientPos with IndexOfPageAt to hide compiler warnings, after r53950 #f723ac55cd
git-svn-id: branches/fixes_1_6@54006 -
2017-01-26 07:25:32 +00:00
maxim
a51a45d3d2 Merged revision(s) 53944 #8af43e0c0b, 53947 #dccf31997b, 53950 #f723ac55cd from trunk:
LCL: Try to derive Time from the text in the control in TTimeEdit.GetTime, if DirectInput is True. Issue #0031227.
........
LCL: Make fix for Issue #0031227 a bit more safe (don't rely on implementation details of TryParseInput).
........
LCL: TPageControl: fixed TabIndexAtClientPos page index after invisible tab. Issue #30343 
........

git-svn-id: branches/fixes_1_6@53960 -
2017-01-16 21:52:54 +00:00
maxim
3b2ee9a030 Merged revision(s) 53938 #afa3922372 from trunk:
LCL:
- Allow NullDate in TDateEdit when user clears the text.
- Always set Text to a proper value when leaving the control.
Issue #0031217
........

git-svn-id: branches/fixes_1_6@53959 -
2017-01-16 21:47:51 +00:00
maxim
bbcff6b780 Merged revision(s) 53790 #b77917bbc2 from trunk:
LCL: TWinControl: refreshing RawImage data after painting on canvas. Issue #25448
........

git-svn-id: branches/fixes_1_6@53794 -
2016-12-28 21:36:26 +00:00
maxim
fe536bad5f Merged revision(s) 53736 #db0a509d69 from trunk:
win32: group box: invalidate after caption change. Issue #25868
........

git-svn-id: branches/fixes_1_6@53789 -
2016-12-27 22:40:36 +00:00
maxim
bfd7b1a813 Merged revision(s) 53099 #7fc07f3753, 53590 #3ca728a0e7, 53653 #273d60e1e3, 53705 #bc9a802ce1 from trunk:
LCL-GTK2: Remove tests for "(gtk_major_version = 2) and (gtk_minor_version < 17)". Caused error with backspace on TEdit. Issue #30596.
........
LCL-Gtk2: Simplify TGtk2WSCustomListView.ItemSetState. Nil as Path param does not work for old GTK versions. Reported by Luca Olivetti.
........
LCL-GTK2: Fix a cursor move error when selected text was replaced by typing. Issue #30596.
........
GTK2/GTK3: Fix TOpenDialog.Files if ofAllowMultiSelect is not in Options. Issue #0031133.
........

git-svn-id: branches/fixes_1_6@53786 -
2016-12-27 22:36:16 +00:00
maxim
6587e40850 Merged revision(s) 51631 #d7e4677c9f, 51731 #e090cee919, 53722 #3a3af4fd12, 53739 #b1a91e3d7c, 53746 #f937a0c74b, 53757 #96b919c8c1 from trunk:
lcl: TCustomForm.ShowModal: recreate handle only if handle was allocated, don't use HandleNeeded
........
LCL: must call RecreateWnd() when modal finishes so next CreateHandle() can provide correct params on win32. issue #29744
........
LCL: TMemo: Fix for flickering on Windows. Issue #16140
........
LCL: TMemo: Fix for flickering on Windows, activating MemoWndProc. Issue #16140
........
LCL: TListView: Win32: use stored width, if there are no items to calculate the correct autosize width. Issue #29132
........
LCL: TListView: Win32: use caption width, if there are no items to calculate the correct autosize width. Issue #29132
........

git-svn-id: branches/fixes_1_6@53785 -
2016-12-27 22:31:57 +00:00
maxim
b77cf2fae1 Merged revision(s) 53027 #dcbe735606 from trunk:
Carbon: fixed hang with save dialog. issue #29911
........

git-svn-id: branches/fixes_1_6@53784 -
2016-12-27 22:26:33 +00:00
maxim
fb4a982a85 Merged revision(s) 53422 #cdf1328144 from trunk:
LCL: Fix the display string of shortcut "+". Issue #30973, patch from Michl.
........

git-svn-id: branches/fixes_1_6@53587 -
2016-12-06 23:02:35 +00:00
maxim
680574a5b3 Merged revision(s) 53376 #69a39c63a3, 53485 #85e7d6da06 from trunk:
LCL-GTK2: Remove trailing zero when copying to clipboard. Issues #21453, #30071, patch from BBaz.
........
LCL-GTK2: Use AIndex param for column width. Fix off by 1 (ANewIndex-1) error in TGtk2WSCustomListView.ColumnMove. Solves issue #31024.
........

git-svn-id: branches/fixes_1_6@53585 -
2016-12-06 22:58:52 +00:00
maxim
e7b88a6816 Merged revision(s) 53250-53254 #4161b1f5e1-#4161b1f5e1, 53274 #b8c9f6d510, 53306 #e0a1a0b0a2, 53324 #d725d7f542 from trunk:
LCL: destroy menu handle on remove. Issue #30806, patch by Michl
........
LCL: headercontrol: implement ChangeScale, issue #30812, patch by Anton Kavalenka
........
lcl: controlcanvas: fix TControlCanvas.CreateHandle debugln, issue #30003
........
LCL: TGraphicControl: always call FreeHandle - HandleAllocated doesn't take FDeviceContext into consideration. Issue #30003, patch by Michl
........
LCL: destroy TGraphicControl.Canvas.Handle when control is removed from parent. Issue #30003
........
LCL: controlcanvas: protect TControlCanvas.CreateHandle debugln with an IFDEF
........
LCL Fix access violation when deleting a TMainMenu after r53250 #4161b1f5e1. Issue #0030882. Patch by Michl.
........
lcl: win32: ignore keyup without keydown at program start. issue #30836
........

git-svn-id: branches/fixes_1_6@53358 -
2016-11-12 12:58:55 +00:00
maxim
a1cf984198 Translations: Hungarian translation update by Péter Gábor, bug #30919
git-svn-id: branches/fixes_1_6@53357 -
2016-11-12 12:44:04 +00:00
mattias
17f55b3583 fixes branch: set version 1.6.3
git-svn-id: branches/fixes_1_6@53355 -
2016-11-12 09:50:16 +00:00
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