Commit Graph

1299 Commits

Author SHA1 Message Date
dmitry
e1deb6db08 cocoa: bug #38711. The themes enabled for Cocoa teHeader drawing is now imlpemented to make sure virtual tree view draws headers nicely
git-svn-id: trunk@64937 -
2021-04-07 05:01:00 +00:00
wp
2c9ec4c1ed LCL/ShellCtrls: Display default shell icons in TShellListView. Issue #18247.
git-svn-id: trunk@64764 -
2021-03-07 14:39:17 +00:00
wp
e431045dac LCL/ShellTreeView: Add ShellCtrls to widgetsets. Widgetset-based solution for automatic shell icons in TShellTreeView (implemented for win32 only).
git-svn-id: trunk@64747 -
2021-03-05 15:14:19 +00:00
dmitry
2e91d3ccef cocoa: update list of patreons. Thank you all for your support
git-svn-id: trunk@64717 -
2021-03-01 18:17:11 +00:00
mattias
1c57b8cc78 lcl: cocoa: fixed keyboard navigation in open dialog
git-svn-id: trunk@64571 -
2021-02-13 16:24:45 +00:00
dmitry
b1a7028cfe cocoa: revise the color selection for controls. Patch by Zoë Peterson. bug #38280
git-svn-id: trunk@64452 -
2021-01-31 06:07:53 +00:00
dmitry
d0a5722486 cocoa: restoring the original context state after drawing. Attempting to prevent unexpected upside downs. Patch by David Jenkins. bug #36021
git-svn-id: trunk@64451 -
2021-01-31 05:56:03 +00:00
dmitry
705298159f cocoa: proper callback object initialization. Scrollview must be the handle for the list box. bug #38362
git-svn-id: trunk@64448 -
2021-01-30 22:56:07 +00:00
dmitry
bd85539715 cocoa: doing the proper hit testing using the bounds of the handle frame. bug #38362
git-svn-id: trunk@64446 -
2021-01-30 22:53:53 +00:00
dmitry
d0ac16bcc5 cocoa: adding an option to use UTI for file dialog filtering to avoid the verification lag. bug #38399
git-svn-id: trunk@64442 -
2021-01-30 17:58:39 +00:00
dmitry
7ab17842cd cocoa: UI optimization for the file selection dialog. Do not use path_shouldEnableURL if not filters are used by the openDialog. todo: The same approach could be used if the only filter is any file
git-svn-id: trunk@64419 -
2021-01-24 21:14:52 +00:00
dmitry
31e6d57c33 cocoa: stop using the deprecated filenames property to get the number of files selected
git-svn-id: trunk@64418 -
2021-01-24 20:55:24 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
dmitry
8f421d4a57 cocoa: using DeviceRGB for the inverted color. Fixes compilation for the older fpc
git-svn-id: trunk@64366 -
2021-01-09 18:26:51 +00:00
dmitry
a67fb97c5e cocoa: preventing itemSelected event during performKeyEquivalent call. bug #37789
git-svn-id: trunk@64365 -
2021-01-09 18:12:06 +00:00
dmitry
b508eb30dc cocoa: adjusting the cursor color for the standard NSTextField controls to be oppostive of their background. bug #38033
git-svn-id: trunk@64360 -
2021-01-09 07:31:16 +00:00
dmitry
292137d3e3 cocoa: adding support for precise scrolling deltas. bug #38205
git-svn-id: trunk@64285 -
2020-12-27 07:39:37 +00:00
dmitry
83065724b3 cooca: using cocoa native texthints. only for macOS 10.10 and later. bug #38198
git-svn-id: trunk@64203 -
2020-12-15 06:57:35 +00:00
dmitry
24f5f9b1d9 cocoa: restoring the actual menu state once the system dialog is closed. bug #38182
git-svn-id: trunk@64180 -
2020-12-08 05:37:38 +00:00
dmitry
aa83422093 cocoa: using only fixed width for filters in Big Sur and later. This prevents contant resizing of the dialog. bug #38121
git-svn-id: trunk@64175 -
2020-12-07 00:00:36 +00:00
dmitry
d1b94111d9 cocoa: update GetTextLen for Memo descendants. bug #37835
git-svn-id: trunk@64118 -
2020-11-09 01:24:46 +00:00
dmitry
f490c67b0f cocoa: if app is inactive searching through available windows in order to find one by mouse position. bug #37877
git-svn-id: trunk@64117 -
2020-11-09 00:58:59 +00:00
dmitry
e7263b2573 cocoa: hidding Opacity option, as TColor is not designed for alpha color. bug #38052
git-svn-id: trunk@64116 -
2020-11-09 00:27:31 +00:00
juha
93df80a1da LCL: Enable building Darwin for PPC and PPC64. Issue #37987, patch from Alfred.
git-svn-id: trunk@64077 -
2020-10-25 17:20:42 +00:00
dmitry
30e70e5c24 cocoa: accelerator keys (as UI feature) are not supported bugs #37721 and #37719
git-svn-id: trunk@63961 -
2020-10-05 16:22:40 +00:00
dmitry
6910915e33 cocoa: avoid using LayoutManager while measuring text for a better performance.
git-svn-id: trunk@63871 -
2020-09-07 04:03:49 +00:00
dmitry
c8f3c6f723 cocoa: replacing the setting of nil color to controlTextColor to prevent crashes on MacOSX 10.6
git-svn-id: trunk@63870 -
2020-09-07 00:14:53 +00:00
dmitry
796f05d611 cocoa: fix compilation for fpc 3.0.4
git-svn-id: trunk@63868 -
2020-09-05 19:12:43 +00:00
dmitry
f0b7aadfd8 cocoa: proper detection of the dark theme. patch by Zoë Peterson. bug #37617
git-svn-id: trunk@63818 -
2020-08-23 22:44:35 +00:00
dmitry
babee456cf cocoa: update handling of key event characters for non-latin based layouts
git-svn-id: trunk@63814 -
2020-08-23 02:22:13 +00:00
dmitry
e66fb29c19 cocoa: reverting unintended change in cocoa_exta for NSTextInputClientProtocol
git-svn-id: trunk@63711 -
2020-08-10 01:41:16 +00:00
dmitry
d459164217 cocoa: update the use of textinputclient to be compatible with fpc3.0.4 headers
git-svn-id: trunk@63710 -
2020-08-10 01:40:07 +00:00
dmitry
e698ec471b cocoa: adding a dummy NSTextInputClient protocol implementation. The implementation allows to receive a text from emoji dialog introduced with macOS 10.14. bug #37497
git-svn-id: trunk@63703 -
2020-08-09 04:35:08 +00:00
dmitry
f6796707ef cocoa: re-applying current pen and brush, after clearing clipping. bug #37520
git-svn-id: trunk@63702 -
2020-08-09 04:04:21 +00:00
dmitry
62196c0992 cocoa: respecting bundle info.plist setting to create the proper applicaiton instance
git-svn-id: trunk@63693 -
2020-08-06 04:06:42 +00:00
dmitry
c357dd3692 cocoa: using system menu, if such menu is provided (by cocoa) and LCL doesn't have its own menu assigned. bug #37446
git-svn-id: trunk@63685 -
2020-08-03 23:41:03 +00:00
dmitry
a693e55128 cocoa: prevent a mouse event from double handling the same mouse event twice. bug #36621. Allow text field to handle mouseUp separately, is the field is not selectable
git-svn-id: trunk@63673 -
2020-08-02 05:53:33 +00:00
dmitry
ee626c0196 cocoa: not using BOOLFIX anymore for fpc versions 3.2.0 and later. OBJCBOOL is the compiler native type now
git-svn-id: trunk@63602 -
2020-07-19 20:18:15 +00:00
dmitry
58c0aab466 cocoa: fix the compiler version check
git-svn-id: trunk@63601 -
2020-07-19 19:55:05 +00:00
dmitry
8dde6e879f cocoa: update cocoa_extra declaration to be friendly to the coming fpc 3.2.2
git-svn-id: trunk@63599 -
2020-07-19 17:32:57 +00:00
dmitry
a507da5cb2 cocoa: updating groupbox font. bug #63488
git-svn-id: trunk@63522 -
2020-07-07 03:59:57 +00:00
dmitry
1912324bc7 cocoa: fix compilation for the newly released fpc3.2.0
git-svn-id: trunk@63409 -
2020-06-20 23:05:28 +00:00
dmitry
4fc42c5a77 cocoa: basic implementation of PaintTo for CocoaWS. bug #36092
git-svn-id: trunk@63330 -
2020-06-08 23:48:52 +00:00
dmitry
8279f6a778 cocoa: changing button type, when drawing a toolbutton style. Changing the buttonType makes macOS to draw it transparent (on pre Mojave OSes). bug #37127
git-svn-id: trunk@63297 -
2020-06-05 03:31:04 +00:00
dmitry
5a3630c919 cocoa: changing the implementation of strings count. (if the last line is empty, don't recognize it a full line. Compatible with Win32. bug #36664
git-svn-id: trunk@63273 -
2020-06-02 02:30:43 +00:00
dmitry
84a3138f6e cocoa: fix compilation for fpc32rc1
git-svn-id: trunk@63272 -
2020-06-02 02:02:48 +00:00
dmitry
a98a4e9c28 cocoa: adding an ability to avoid reordering windows on app actication
git-svn-id: trunk@63258 -
2020-05-31 05:07:37 +00:00
dmitry
1c8f242dab cocoa: cleaning up dialog used units. Hidding Tags selection as unsupported by LCL. using the new resoruce contsant string (for localization). Adding explicit retain and release for a file dialog for OSX10.6 and earlier. As suggested by Apple docs
git-svn-id: trunk@63257 -
2020-05-31 03:47:59 +00:00
dmitry
fb02c076c3 cocoa: adding showsTagField props to NSSavePanel class
git-svn-id: trunk@63256 -
2020-05-31 02:15:51 +00:00
dmitry
84daf73dce cocoa: fix the file type selected index reported to LCL
git-svn-id: trunk@63254 -
2020-05-30 22:35:38 +00:00