Commit Graph

938 Commits

Author SHA1 Message Date
dmitry
a44e2a4d5d cocoa: adding a windowcontroller to NSAlert to process Escape key, even if there's no cancel button present on the dialog
git-svn-id: trunk@59885 -
2018-12-21 05:05:24 +00:00
dmitry
54693c7dd9 cocoa: update context menu handling for mouseclick+ctrl. based on a patch by AlexeyT. #34673
git-svn-id: trunk@59884 -
2018-12-21 04:31:15 +00:00
dmitry
744b5bcb16 cocoa: making sure that TEdit and TComboBox (editable) are trully single line
git-svn-id: trunk@59756 -
2018-12-07 04:46:06 +00:00
dmitry
3b93e700c5 cocoa: additional code to handle unassigning of trayicon menu
git-svn-id: trunk@59755 -
2018-12-07 04:21:13 +00:00
dmitry
360bfc74b1 cocoa: menus - fix cocoa app mem leak for allocated TcocoaMenuItems
git-svn-id: trunk@59754 -
2018-12-07 04:04:18 +00:00
dmitry
480574f3d9 cocoa: update menus to be able to remove separator items
git-svn-id: trunk@59753 -
2018-12-07 03:53:49 +00:00
dmitry
eb70a1aff6 cocoa: update removal of menuItems. Removing an item from parent menu rather than from parentItem's menu. #34602
git-svn-id: trunk@59752 -
2018-12-07 03:29:11 +00:00
dmitry
06fc6ff719 cocoa: update type cocoawsmenu type switching from boolean to LCLObjCBoolean. #34609
git-svn-id: trunk@59750 -
2018-12-07 01:24:56 +00:00
dmitry
6ca525a379 cocoa: cleanup in calendar (datepicker) component - removing unused units. #34609
git-svn-id: trunk@59748 -
2018-12-07 01:20:26 +00:00
dmitry
1cf3237141 cocoa: cleanup in calendar (datepicker) component. #34609
git-svn-id: trunk@59747 -
2018-12-07 01:17:51 +00:00
dmitry
d0e6eb11b6 cocoa: move NSResponderHotKeys to cocoawindows.pas unit. #34609
git-svn-id: trunk@59746 -
2018-12-07 01:12:21 +00:00
dmitry
c7ae0282b6 cocoa: updating LCL overrides to recognize different boolean types used in FPC headers. #34609
git-svn-id: trunk@59725 -
2018-12-04 04:18:34 +00:00
dmitry
477db40534 cocoa: fix the issue with using enclosing scrollView for mouse position check. #34516
git-svn-id: trunk@59674 -
2018-11-27 01:21:30 +00:00
dmitry
a6491caa33 cocoa: any font can utf8 (unicode)... even if it doesn't. #34594
git-svn-id: trunk@59646 -
2018-11-24 06:08:30 +00:00
dmitry
f3a0a55e46 cocoa: using additional storage for keeping checked state of a checklist items. #34590
git-svn-id: trunk@59645 -
2018-11-24 04:03:40 +00:00
dmitry
4e9ce8dfeb cocoa: reporting extended UTF8 character as a question mark for ansi char
git-svn-id: trunk@59628 -
2018-11-22 21:55:54 +00:00
sekelsenmat
7382f53434 cocoa: Fixes TTabControl, it previously was placing controls inside it with Left=0 as if they had Left=-20, because NSTabView is not meant to receive views inside it like that, we need a different handle for TTabControl and TPageControl
git-svn-id: trunk@59627 -
2018-11-22 19:08:01 +00:00
dmitry
ed79e7c140 cocoa: restoring the code to identify VK code based on the character (support for Dvorak keyboards). Any national characters would still be determined based on keyCode. Suggested by Zoë Peterson
git-svn-id: trunk@59620 -
2018-11-22 04:16:49 +00:00
dmitry
b135ccf3ac cocoa: patch by David Jenkins - forcefully invalidate the content document for manual scroll. Should help with redrawing customcontrols for 10.14. #34478
git-svn-id: trunk@59397 -
2018-10-31 02:51:24 +00:00
juha
a14d6e5c9a LCL: Change constant $20000000 to MK_ALT. Issue #34481, patch from AlexeyT.
git-svn-id: trunk@59393 -
2018-10-30 11:04:08 +00:00
dmitry
b5d3a2e2ab cocoa: preventing spinedit value from being change while destroying the handle. #34468
git-svn-id: trunk@59380 -
2018-10-28 22:45:53 +00:00
dmitry
ebb0d843ec cocoa: update the behaviour of GetFocus function to use HandleView stored with callback object. #34450
git-svn-id: trunk@59363 -
2018-10-27 04:22:36 +00:00
dmitry
62db4e537d cocoa: using Device colorspace, instead of Calibrated colorspace for GDI objects. #34427
git-svn-id: trunk@59362 -
2018-10-27 03:26:26 +00:00
dmitry
11a50ac7d2 cocoa: additional methods (nsview, nscontrol, nsbuttons, nstextfield) for handling fpc issue #34411
git-svn-id: trunk@59331 -
2018-10-21 05:32:52 +00:00
dmitry
b1d9f29b89 cocoa: additional methods for handling fpc issue #34411
git-svn-id: trunk@59330 -
2018-10-21 04:31:32 +00:00
dmitry
a341d94c64 cocoa: workaround for a problem with 64-bit boolean parameter passing (see fpc issue #34411 for details)
git-svn-id: trunk@59329 -
2018-10-21 03:45:35 +00:00
dmitry
18dbe2687b cocoa: prevent listview premature handle allocation. Fixes the issue of IDE not being able to add list view onto a designer form
git-svn-id: trunk@59273 -
2018-10-09 03:08:52 +00:00
jesus
de1fe8d7e5 cocoa: fix combobox onchange which fixes also lazreport designer on second opening and also fixes issue #33800
git-svn-id: trunk@59252 -
2018-10-05 08:01:40 +00:00
dmitry
85ed55eaf4 cocoa: preventing too high values on measuring text with soft-line breaks. #34382
git-svn-id: trunk@59251 -
2018-10-04 23:23:47 +00:00
dmitry
a38daf0375 cocoa: fix compiler warning
git-svn-id: trunk@59250 -
2018-10-04 22:28:33 +00:00
dmitry
003ad96f6d cocoa: update deallocation of read-only combobox
git-svn-id: trunk@59249 -
2018-10-04 22:21:57 +00:00
jesus
a9e858cf2a cocoa: fix the combobox itemindex when the new text is not the list
git-svn-id: trunk@59247 -
2018-10-04 19:00:34 +00:00
dmitry
48e32dda4c cocoa: fix drawing overlays - resing overlay designer view to the form
git-svn-id: trunk@59238 -
2018-10-03 04:26:35 +00:00
dmitry
9613af162a cocoa: dereferncing tracked control earlier
git-svn-id: trunk@59237 -
2018-10-03 04:11:17 +00:00
dmitry
423226570b cocoa: improve mouse handling of spinedit
git-svn-id: trunk@59236 -
2018-10-03 03:42:55 +00:00
dmitry
5738bbf955 cocoa: fix controls leaking spinedit
git-svn-id: trunk@59235 -
2018-10-03 02:52:04 +00:00
dmitry
465a09fb02 cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
git-svn-id: trunk@59234 -
2018-10-03 02:51:30 +00:00
dmitry
0944743068 cocoa: fix for a memory leak in overlay (designer) form
git-svn-id: trunk@59233 -
2018-10-03 02:50:07 +00:00
dmitry
0c9d342feb cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
git-svn-id: trunk@59232 -
2018-10-03 02:49:23 +00:00
dmitry
9b98baa793 cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
git-svn-id: trunk@59231 -
2018-10-03 02:48:42 +00:00
dmitry
969020a44e cocoa: update insertion and removal of rows in cocoa table (fix implementation from #34319)
git-svn-id: trunk@59206 -
2018-10-01 03:19:08 +00:00
dmitry
5bb6685e21 cocoa: fix the conversion between WS to LCL tab index #34361
git-svn-id: trunk@59205 -
2018-10-01 01:14:16 +00:00
dmitry
7e97caf04a cocoa: adding a check for TCocoaTextLayout.Draw procedure. Do nothing if string is empty or invalid. Prevents SynEdit crashes for unicode characters
git-svn-id: trunk@59196 -
2018-09-30 20:14:02 +00:00
dmitry
bbd07791c8 cocoa: update key processing, adding more exception for non-printable keys
git-svn-id: trunk@59195 -
2018-09-30 19:47:13 +00:00
dmitry
aa172aad8f cocoa: updating drawing of ownerdrawn statusbar
git-svn-id: trunk@59189 -
2018-09-30 01:24:55 +00:00
dmitry
2533d88dc4 cocoa: removed redundant key emulation events (introduced with #32829). With the latest changes in key handling events those are no longer needed
git-svn-id: trunk@59188 -
2018-09-30 01:06:17 +00:00
dmitry
9c1f561955 cocoa: implementing owner drawn for status bar panels. #34338
git-svn-id: trunk@59187 -
2018-09-29 22:07:37 +00:00
dmitry
a4503bccc0 cocoa: additional control over cocoa window levels
git-svn-id: trunk@59185 -
2018-09-29 21:33:29 +00:00
dmitry
ed5c165da1 cocoa: adding exception for processing key equivalents and return key, if a first responder is capable of processing the return key. #34354
git-svn-id: trunk@59183 -
2018-09-29 15:54:28 +00:00
dmitry
2a10162c7b cocoa: update key event handling. Not all characters from macOS are suitable for LCL KeyPress
git-svn-id: trunk@59179 -
2018-09-29 05:15:17 +00:00