Commit Graph

20873 Commits

Author SHA1 Message Date
dmitry
8ebc6ca82a cocoa: update placement of a window. Determining the screen based on the specified bounds rect, rather than current screen of the window (caused issues if height of monitors is different)
git-svn-id: trunk@61236 -
2019-05-17 04:50:27 +00:00
dmitry
6dfa26faa8 cocoa: adding theme update notification
git-svn-id: trunk@61235 -
2019-05-17 00:29:46 +00:00
dmitry
ab3b8df7cc cocoa: adding event expiration date into RunMessages method. To let a message wait as long as it needs to. #35593
git-svn-id: trunk@61234 -
2019-05-16 23:49:33 +00:00
maxim
dd661a10de Translations: regenerated all relevant translation files after r61231 #5b72fe1d56
git-svn-id: trunk@61233 -
2019-05-16 23:10:15 +00:00
dmitry
09ee334589 cocoa: update QuitApp processing. Patch by Zoë Peterson. #34798
git-svn-id: trunk@61230 -
2019-05-16 18:29:15 +00:00
dmitry
63be412f63 cocoa: removing mackeycodes.inc file. #35587
git-svn-id: trunk@61229 -
2019-05-16 14:09:51 +00:00
jesus
0348f7bc9a LCL: fix grid's column autoadjust size in win10 @ 150%, issue #35563
git-svn-id: trunk@61227 -
2019-05-14 18:58:43 +00:00
maxim
b68407fc52 Translations: regenerated all relevant translation files after r61225 #75a8b1b83c
git-svn-id: trunk@61226 -
2019-05-13 23:21:39 +00:00
zeljko
f929b625af Qt: revert r61220 #73d58ce791 since it's wrong. There should not be any offset. issue #35568
git-svn-id: trunk@61222 -
2019-05-13 15:26:30 +00:00
zeljko
fb94a220bd LCL: LCLTaskDialog - fix for radio buttons offset with non win32 widgetsets. issue #35579
git-svn-id: trunk@61221 -
2019-05-13 13:36:30 +00:00
zeljko
73d58ce791 Qt: TQtWidgetset.Ellipse() offset by -1. issue #35568
git-svn-id: trunk@61220 -
2019-05-13 13:03:24 +00:00
zeljko
5981e87a6b LCL: added new LCL capability - lcNativeTaskDialog, defaults to true, on mswindows is false for qt/qt5. issue #35577
git-svn-id: trunk@61219 -
2019-05-13 12:57:11 +00:00
juha
416786fef1 Grids: Refactoring, add methods IsColumnIndexValid, IsRowIndexValid. Issue #35561, patch from Alexey Tor.
git-svn-id: trunk@61218 -
2019-05-13 11:06:32 +00:00
zeljko
ab671436ed LCL: lcltaskdialog must use DrawText() from LCLIntf under windows, so other WS wont' crash under windows. issue #35575
git-svn-id: trunk@61216 -
2019-05-13 09:41:44 +00:00
dmitry
e714d64672 cocoa: using a single method to get unmodified character in a key event. based on the patch by Zoë Peterson. #35538
git-svn-id: trunk@61212 -
2019-05-12 21:53:23 +00:00
martin
e721ee16cc LCL: TRasterImage.LoadFromRawImage / revision 61202 #76b9420caf (fixed memleak): Fix check for source = target // Also means the behaviour is/stays as before rev 61202 #76b9420caf
git-svn-id: trunk@61210 -
2019-05-12 14:19:09 +00:00
dmitry
f256ae1065 cocoa: sanity check before calling ProcessAsyncCallQueue
git-svn-id: trunk@61209 -
2019-05-12 01:27:48 +00:00
dmitry
daa05e2732 cocoa: getting rid of code duplication in event processing
git-svn-id: trunk@61208 -
2019-05-12 01:20:44 +00:00
dmitry
e1fb95fb10 cocoa: update event loops handling. Suppressing the explicit LCL sync message. Internal handling of PostAsyncCallQueue. Patch by David Jenkins. #35547
git-svn-id: trunk@61207 -
2019-05-12 01:16:12 +00:00
martin
0f27442368 LCL: TRasterImage.LoadFromRawImage / revision 61202 #76b9420caf (fixed memleak): Fix check for source = target // Also means the behaviour is/stays as before rev 61202 #76b9420caf
git-svn-id: trunk@61205 -
2019-05-11 20:03:28 +00:00
martin
76b9420caf LCL: fix mem-leak in TRasterImage.LoadFromRawImage Issue #0035372 / Behaviour change: if source and dest are equal, then data is kept as it is.
Previously new mem of the same size was allocated, but no data written to it. Previous behaviour appears to be buggy since it did NOT load anything, so new behaviour is fine.
(Only affects ADataOwner=False.)

git-svn-id: trunk@61202 -
2019-05-11 11:26:34 +00:00
martin
057100e30e LCL: optimize fix for mem-leak in TCustomIcon.AssignImage / Temporary mask is not freed. Issue #0035562
git-svn-id: trunk@61201 -
2019-05-11 11:26:33 +00:00
martin
5f6aa28d51 LCL: fix mem-leak in TCustomIcon.AssignImage / Temporary mask is not freed. Issue #0035562
git-svn-id: trunk@61200 -
2019-05-11 11:26:31 +00:00
dmitry
416f2defec cocoa: datepicker code cleanup. Added mouse handling events, aspect ratio maintenance - keeping ratio at all times, even if too small
git-svn-id: trunk@61192 -
2019-05-10 03:55:40 +00:00
dmitry
48ed31da02 cocoa: update TCocoaDatePicker to work on macOS 10.6
git-svn-id: trunk@61191 -
2019-05-10 03:20:04 +00:00
jesus
30f5f0b09d Grids: fix grid hints inconsistency, patch from Joeny Ang, issue #35453
git-svn-id: trunk@61184 -
2019-05-09 04:18:44 +00:00
dmitry
17928418c1 cocoa: updating OpenDocument api to handle URLs as well (similar to Win32)
git-svn-id: trunk@61175 -
2019-05-07 21:03:26 +00:00
dmitry
357ea31186 cocoa: adding hardcoded implementation of SM_CXDRAG and SM_CYDRAG
git-svn-id: trunk@61173 -
2019-05-07 14:33:41 +00:00
dmitry
2e9c4bde38 cocoa: update setting enable for UpDown controls. #35531
git-svn-id: trunk@61169 -
2019-05-07 02:53:38 +00:00
dmitry
9e4ab0beb5 cocoa: resolve windows-level wrong use. A drawback - lost SystemOnTop setting, now behave similar to OnTop. (similar to Windows). #34939
git-svn-id: trunk@61162 -
2019-05-05 20:42:10 +00:00
dmitry
398156e28e cocoa: scrolling customlistbox to the selected index on SetItemIndex. #35435
git-svn-id: trunk@61161 -
2019-05-05 19:00:54 +00:00
dmitry
14eaeb1c76 cocoa: doing the proper time release of the main autorelease pool. #35400
git-svn-id: trunk@61160 -
2019-05-05 18:53:05 +00:00
zeljko
5f50baabd0 Qt: do not trigger warning "level 2 comment found" when compiling ws.
git-svn-id: trunk@61140 -
2019-05-05 09:30:52 +00:00
zeljko
485494fb4d Qt,Qt5 send key esacape in utf8keypress. issue #35448
git-svn-id: trunk@61139 -
2019-05-05 09:27:02 +00:00
dmitry
9745b8a794 cocoa: adding support for height of raws in CocoaTable controls. #35154
git-svn-id: trunk@61138 -
2019-05-04 19:58:49 +00:00
dmitry
93f5a590b4 cocoa: manual drawing of highlight color for (vibrant)dark theme in 10.13. #34600
git-svn-id: trunk@61137 -
2019-05-04 19:20:47 +00:00
dmitry
1a44035345 cocoa: fix the issue with wheel event ShiftState parameter not assigned properly. #35481
git-svn-id: trunk@61136 -
2019-05-04 16:41:48 +00:00
juha
3b4da7a6b6 LCL-GTK2: Remove a leftover GTK_REMOVE_CLIPBOARD_NULL block. The bug was fixed in r58530 #c3fff83320.
git-svn-id: trunk@61134 -
2019-05-04 07:21:27 +00:00
dmitry
e484e770ee cocoa: adding support for ofForceShowHidden flags in open save dialogs. In ref to #35452
git-svn-id: trunk@61131 -
2019-05-03 20:47:00 +00:00
juha
97941ab395 LCL: Call inherited from TCustomDBComboBox.Change. Issue #35419.
git-svn-id: trunk@61129 -
2019-05-03 20:36:42 +00:00
juha
fc63a57f68 LCL-fpgui: Fix the issue of using TLabel components with LCL-fpGUI. Issue #35478, patch from Graeme.
git-svn-id: trunk@61128 -
2019-05-03 19:45:34 +00:00
juha
627ed33840 LCL-fpgui: Fix Canvas.BeginDraw() call in DeviceContext class + extra check added. Issue #35478, patch from Graeme.
git-svn-id: trunk@61127 -
2019-05-03 19:45:33 +00:00
juha
a1e1ff2512 LCL-fpgui: Update Makefile.fpc. Issue #35478, patch from Graeme.
git-svn-id: trunk@61126 -
2019-05-03 19:45:31 +00:00
juha
873259cf08 LCL-fpgui: Update README file with latest information. Issue #35478, patch from Graeme.
git-svn-id: trunk@61125 -
2019-05-03 19:45:29 +00:00
juha
4236e93bc6 LCL-fpgui: Fully implement DCGetPixel(). Issue #35478, patch from Graeme.
git-svn-id: trunk@61124 -
2019-05-03 19:45:28 +00:00
juha
182c72e0da LCL-fpgui: Disable compiler define causing writeln() IO errors under Windows. Issue #35478, patch from Graeme.
git-svn-id: trunk@61123 -
2019-05-03 19:45:26 +00:00
juha
98ea746922 LCL-fpgui: Fix compilation. Wrong number of parameters for GetImageIndexAndEffect() call. Issue #35478, patch from Graeme.
git-svn-id: trunk@61122 -
2019-05-03 19:45:25 +00:00
juha
a29469dc6a LCL-fpgui: Implement TButton.Default behaviour. Issue #35478, patch from Graeme.
git-svn-id: trunk@61121 -
2019-05-03 19:45:23 +00:00
juha
4566e63758 LCL-fpgui: Extend AppInit() implementation to set correct screen DPI values. Issue #35478, patch from Graeme.
git-svn-id: trunk@61120 -
2019-05-03 19:45:22 +00:00
juha
ca0b21719c LCL-fpgui: Fix compilation error due to Graph unit in uses clause. Issue #35478, patch from Graeme.
git-svn-id: trunk@61119 -
2019-05-03 19:45:06 +00:00