cocoa: update context menu handling for mouseclick+ctrl. based on a patch by AlexeyT. #34673
........
cocoa: adding a windowcontroller to NSAlert to process Escape key, even if there's no cancel button present on the dialog
........
cocoa: restore readonly functionality (#34696). Adding the code preventing the application from locking up on read-only mode change.
........
cocoa: fix the clipboard pasting of a plain text. #34832 patch by Zoë Peterson
........
cocoa: forcing controlTextColor for checkbox cell embedded into a textview. #34600
........
cocoa: preventing the drag event from going to parent controls. #34878
........
cocoa: updates in drawing a single length lines to half of a pixel (for non retina displays) #34681
........
cocoa: change the type declaration for boolean workarounds between fpc 3.0.4 and trunk. #34866,34895
........
cocoa: LCLIntf.MessageBox implemenation. based on the patch by Alexey Tor. #35343
........
cocoa: cocoa specific TUpDown, same look as with TSpinEdit. #34663
........
cocoa: assigning value to updown control, when changed by ws. #34663
........
cocoa: redoing the fix for 30847 - instead of processing all items on every change of combobox item, just doing change whenever they are needed
........
cocoa: calling the proper event when processing updown change
........
cocoa: correct state image selection depending on type of the menu (radio or not)
........
cocoa: update Clear for ComboBox string list. Patch by Frank. #35404
........
cocoa: adding support for GlyphShowMode. Patch by Zoë Peterson. #35078
........
cocoa: adding support for removal tabs by freeing handle. Patch by David Jenkins. #35171
........
cocoa: fix tabVisible for active page. Patch by David Jenkins #35172
........
cocoa: update frame3d method to behave similar to WinApi. #35408
........
cocoa: change BTNFACE color from controlColor to controlBackground color. Thus any text drawn using controlTextColor would be shown properly. #35074
........
cocoa: adding support for undo redo operations for TEdit and TMemo. Patch by Zoë Peterson. #35421
........
cocoa: change processing of AllowDropFiles for forms. Partially based on the patch by Zoë Peterson. Allow files acception even for embeded forms (NSView-based). #35215
........
cocoa: resolve leaking of window handles
........
cocoa: disconnecting window content from window for a better reference release
........
cocoa: additional callback cleanup on windows handle destruction
........
cocoa: adding support of getting information IF dark theme is used
........
cocoa: update the comment regarding the new method
........
cocoa: notifying the main combobox about need of reloadingdata when changes occur
........
cocoa: fix updateproperties method from using a wrong view
........
cocoa: sending a change notification, if text changed programmatically. #35303
........
cocoa: remove the restriction for a CocoaWSCustomTabControl to be used by TPageControl only. #34593
........
cocoa: using colors with hatch style brushes. Patch by David Jenkins. #32825, #34414
........
cocoa: making hint color theme aware. #34360
........
cocoa: binding a popup menu to the key window. The window is need to pick up the theme colors
........
cocoa: removing debugging messages
........
cocoa: drawing frame3d using NSBox look (mimics carbon)
........
cocoa: making the box to be drawn up-side up
........
cocoa: checking the presence of tabview before removing it
........
cocoa: prevent a rangecheck error on adjusting tabs
........
cocoa: rangechecks on getting selected item index for customlist and comboboxes
........
cocoa: renagecheck errors in CGRectToRect and line drawing. Patch by C Western. #30874
........
cocoa: resolve rangecheck error for all table driven controls
........
cocoa: correct frame3d context restore after rendering and frame position
........
cocoa: using nscell to draw toolbar elements
........
cocoa: pixel offset of drawing themed panel
........
cocoa: drawing themed non-flat speed buttons
........
cocoa: updating menu handling. Preventing wrong click call. Preventing parent menus closing
........
cocoa: key events handling refactoring. Removed per control keyprocessing and moved to NSApplication event loop processing. Updating windows key handling to pass hotkeys to menus. Patch by Zoë Peterson. #35449
........
cocoa: adding compatibility for windows Cosmetic - pen styles. Replaced dynamic memory allocation with stack. #34744
........
cocoa: adding support for ofForceShowHidden flags in open save dialogs. In ref to #35452
........
cocoa: fix the issue with wheel event ShiftState parameter not assigned properly. #35481
........
cocoa: manual drawing of highlight color for (vibrant)dark theme in 10.13. #34600
........
cocoa: adding support for height of raws in CocoaTable controls. #35154
........
cocoa: doing the proper time release of the main autorelease pool. #35400
........
cocoa: scrolling customlistbox to the selected index on SetItemIndex. #35435
........
cocoa: resolve windows-level wrong use. A drawback - lost SystemOnTop setting, now behave similar to OnTop. (similar to Windows). #34939
........
cocoa: update setting enable for UpDown controls. #35531
........
cocoa: adding hardcoded implementation of SM_CXDRAG and SM_CYDRAG
........
cocoa: updating OpenDocument api to handle URLs as well (similar to Win32)
........
cocoa: update TCocoaDatePicker to work on macOS 10.6
........
cocoa: datepicker code cleanup. Added mouse handling events, aspect ratio maintenance - keeping ratio at all times, even if too small
........
cocoa: update event loops handling. Suppressing the explicit LCL sync message. Internal handling of PostAsyncCallQueue. Patch by David Jenkins. #35547
........
cocoa: getting rid of code duplication in event processing
........
cocoa: sanity check before calling ProcessAsyncCallQueue
........
cocoa: using a single method to get unmodified character in a key event. based on the patch by Zoë Peterson. #35538
........
cocoa: removing mackeycodes.inc file. #35587
........
cocoa: update QuitApp processing. Patch by Zoë Peterson. #34798
........
cocoa: adding event expiration date into RunMessages method. To let a message wait as long as it needs to. #35593
........
cocoa: adding theme update notification
........
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)
........
cocoa: automatic embedded form resizing. #35599
........
cocoa: splitting up comboboxlist box for ROCMB and CMB (oop approach). Implementing text change for RO item. #35607
........
cocoa: always expect an application defined event
........
cocoa: additional support for processing PostMessage during TrackingEvent loop
........
cocoa: send activate message (Onclick event) whenever a submenu opens up. #30808
........
cocoa: restore LM_ACTIVE sending for menus, when menuNeedsUpdate is called. #30808
........
cocoa: adding submenu invalidation, so the menuNeedsUpdate is called
........
cocoa: adding the system timer to the most common loop modes (thus it would fire if menu is openned or a modal dialog is up)
........
cocoa: update selected not focused color selection
........
cocoa: update combobox to prevent double mouseup events. Preventing mouseMove events when poup is down for combobox
........
cocoa: update mouse handling for disabed views and controls. Traversing the hierarchy to make sure there's no disabled parent. #34326
........
cocoa: revert changes done with r61262 #006c5d25d5 (menuDidClose handling). #35625
........
cocoa: updating windowState. Patch by Zoë Peterson. #35622
........
cocoa: removing the use of the deprecated CGDisplayBitsPerPixel
........
cocoa: fix typo 1028 to 128 for display bpp
........
cocoa: invalidating tableview data after changing sort column info. #35642
........
cocoa: focus switch update, calling SETFOCUS prior to KILLFOCUS. Preventing endless loop of focus switch
........
cocoa: debugging routines
........
cocoa: Boolfix (fpc trunk) related compilation fix. Patch by Zoë Peterson. #35694
........
cocoa: implement GetDCOriginRelativeToWindow for a nicer component editor
........
cocoa: invalidating designer overlay view together with content view. Due to forceful use of layers in macOS10.14. Adding a memo (or any scrolling control) would introduce extra layers causing visual issues. In this case overlay (as always staying on top - and receiving its own layer) must be explicitly refreshed, if window content if affected. #35165
........
cocoa: update handling of DX array passed for UTF8, respecting UTF16 surrogate pairs. #35675
........
cocoa: update event loop hadling. Repeat wait, if LCL message has arrived, but was not expected. Improves mouse loop handling
........
cocoa: prevent blocking of LCL only messages. Previous revision is causing issues with menu tracking loop
........
cocoa: change main thread synchronization mechanims. Using performSelectorOnMainThread, instead of a custom created event
........
cocoa: change PostMessage event processing to use performSelectorOnMainThread
........
cocoa: replace SendMessage implementation with performSelectorOnMainThread_withObject_waitUntilDone
........
cocoa: remove no longer used custom events handling
........
cocoa: removing LCL custom event LCLEventSubTypeMessage as unused
........
cocoa: change the implementation of HMonitor. Switching from a direct mapping of NSScreen object to index in NSScreen.screen array
........
cocoa: fix the compilation with fpc trunk. Patch by Alfred. #35690
........
cocoa: changing the way application object goes into a loop and being initialized. fixes KVO exception for macOS10.15. Based on patch by David Jenkins. (original patch suggests removal of the existing code, the change introduces COCOALOOPOVERRIDE switch). #35702
........
cocoa: proper ifdef exclusion for COCOALOOPOVERRIDE. related to #35702
........
cocoa: making loop hijacking more robust, if event processing was called prior to Application.Init
........
cocoa: using KVC approach to set application running flag, instead of overriding a property method
........
cocoa: restore isrun field
........
git-svn-id: branches/fixes_2_0@61639 -
Installer, Win: Add Chinese
........
SynEdit: fix potential rangecheck in compare function
........
IDE: SynEdit: fix potential rangecheck in compare function
........
IDE: fix potential overflow in compare function
........
IDE: fix compare function
........
SynEdit: fix compare function
........
fix compare function
........
git-svn-id: branches/fixes_2_0@61159 -
LazDebuggerLldb: Fix reading registers for correct frame
........
LazDebuggerFpLldb: fix pre-loading correct registers
........
LazDebugger(Fp)Lldb: fix correct stackframe/thread for registers
........
LazDebuggerFpLldb: fix crash in shutdown (stop debug while paused)
........
LazDebugger(Fp)Lldb: fix 32/64 target detection
........
LazDebuggerFpLldb: get current IP address from register (instead of stack) if available
........
LazDebuggerFpLldb: retrieve register for other stackframes, while evaluation is running (required for nested procedures)
........
LazDebuggerFp/FpDebug: tests, remove virtualtree
........
LazDebuggerFp/FpDebug: tests, fp-lldb
........
git-svn-id: branches/fixes_2_0@60011 -
cocoa: rename frame view to handleview. HandleView would be used as HWND for any composed control
........
cocoa: remove lclIsHandle method completetly. Handle use is defined on WS level and stored with the callback object
........
cocoa: prevent MainMenu from being set on a designed form
........
cocoa: switch paintstruct back from dynamic (originally changed back in 2012) to static. Saving on heap change call
........
cocoa: remove the direct reference between TCocoaWindow and LCLForm
........
cocoa: initial support for enabling/disabling menus on ShowModal
........
cocoa: fix compilation issue made by the prev commit
........
cocoa: restore filtering of ampersands in menu titles
........
cocoa: support of BorderStyle property for the common rectangular controls
........
cocoa: adding support for borderstyle of a customchecklist box
........
cocoa: adding cocoawschecklst.pas to the list of units in lcl.lpk file
........
cocoa: extend support of CGContextRef (for macOS 10.10 and later). Adding init of context for custom drawn dropdownlist
........
cocoa: resolve mem leak in listbox custom draw
........
cocoa: update mainmenu implementaiton. Added support for Hide Others and Show All menu items
........
cocoa: preventing NSTabView to appear in chain of responders. That should prevent key event loss. (a very odd cocoa feature)
........
cocoa: update combobox (NSComboBox) to retain the selection after reopenning the popup window
........
cocoa: added code, but not enforcing it for change in border style of TComboBox
........
cocoa: fix in TListBox.setItemIndex to replace the selection, rather than extend it. #34290
........
cocoa: reduce the amount of focus (responders) related code. Process the focus handling in NSWindow only (rather than each control individually). Update tab switch notification to report tab change prior to focus switch
........
cocoa: replacing default keyDown handling routine, with a cusomized one. The reason: unable to fully predict the event processing within Cocoa, causing some keys to be lost
........
cocoa: removing tabControl workaround
........
cocoa: working around macOS problem with transactions during making a keyWindow
........
cocoa: simplify and more robust mac to LCL virtual key codes conversion
........
cocoa: update keyDown handling for custom controls
........
cocoa: remove debugging output
........
cocoa: reverting an attemtped workaround (r59060) to fix the problem with a modality during windows activate
........
cocoa: fix the compiler warning
........
cocoa: an attempt to resolve the issue during crashes, if a (cocoa) modal window is called during Activation of a window
........
cocoa: support for Services menu
........
cocoa: restore radio-menues functionality. #34310
........
cooca: allow autosized columns to be user sized as well. #34311. Patch by David Jenkins
........
cocoa: proper selection of an image index for a sub-item in listview. #34313. Patch by David Jenkins
........
cocoa: adding the support for TDisplayCode to determine a rectangle in ListView. Based on patch by David Jenkins. #34312
........
cocoa: update attachmenu process, so NSMenu can be added into NSMenuItem as a subitem. #34293
........
cocoa: making sure that window with popup_parent would stay above when attaching to the parent (and remain a keywindow). #34301
........
cocoa: update modality using modalitySessions (to keep event processing in place)
........
cocoa: removed the previously added hack for modal window on activation. Doesn't work on every macOS, as well as causing some issues
........
cocoa: improve tracking of menu changes when modal dialogs are switching. Merged menu routines from coocaojbect.inc into cocoaint.pas
........
cocoa: update menus switch in modal. The proper menu history save for modal windows without a menu
........
cocoa: restoring keyboard processing events for NSWindow. #34301
........
cocoa: adding support for focus rect of TMemo
........
cocoa: minimze table view invalidation on add / delete items. #34319. Patch by David Jenkins
........
cocoa: restore key processing, to let hot keys to triggers... odd
........
cocoa: propagating LM_CONTEXTMENU to parents
........
cocoa: the first oddity of modal sessions. Context Menu would not call an action to indicate the menu item selected #34325
........
cocoa: using a single place to process keyDown event related to LCL callbacks
........
cocoa: update key event handling. Not all characters from macOS are suitable for LCL KeyPress
........
cocoa: adding exception for processing key equivalents and return key, if a first responder is capable of processing the return key. #34354
........
cocoa: additional control over cocoa window levels
........
cocoa: implementing owner drawn for status bar panels. #34338
........
cocoa: removed redundant key emulation events (introduced with #32829). With the latest changes in key handling events those are no longer needed
........
cocoa: updating drawing of ownerdrawn statusbar
........
cocoa: update key processing, adding more exception for non-printable keys
........
cocoa: adding a check for TCocoaTextLayout.Draw procedure. Do nothing if string is empty or invalid. Prevents SynEdit crashes for unicode characters
........
cocoa: fix the conversion between WS to LCL tab index #34361
........
cocoa: update insertion and removal of rows in cocoa table (fix implementation from #34319)
........
cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
........
cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
........
cocoa: fix for a memory leak in overlay (designer) form
........
cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
........
cocoa: fix controls leaking spinedit
........
cocoa: improve mouse handling of spinedit
........
cocoa: dereferncing tracked control earlier
........
cocoa: fix drawing overlays - resing overlay designer view to the form
........
cocoa: fix the combobox itemindex when the new text is not the list
........
cocoa: update deallocation of read-only combobox
........
cocoa: fix compiler warning
........
cocoa: preventing too high values on measuring text with soft-line breaks. #34382
........
cocoa: fix combobox onchange which fixes also lazreport designer on second opening and also fixes issue #33800
........
cocoa: prevent listview premature handle allocation. Fixes the issue of IDE not being able to add list view onto a designer form
........
cocoa: workaround for a problem with 64-bit boolean parameter passing (see fpc issue #34411 for details)
........
cocoa: additional methods for handling fpc issue #34411
........
cocoa: additional methods (nsview, nscontrol, nsbuttons, nstextfield) for handling fpc issue #34411
........
cocoa: using Device colorspace, instead of Calibrated colorspace for GDI objects. #34427
........
cocoa: update the behaviour of GetFocus function to use HandleView stored with callback object. #34450
........
cocoa: preventing spinedit value from being change while destroying the handle. #34468
........
cocoa: patch by David Jenkins - forcefully invalidate the content document for manual scroll. Should help with redrawing customcontrols for 10.14. #34478
........
Printers: Support for Cocoa printing, updated examples.
........
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
........
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
........
cocoa: reporting extended UTF8 character as a question mark for ansi char
........
cocoa: using additional storage for keeping checked state of a checklist items. #34590
........
cocoa: any font can utf8 (unicode)... even if it doesn't. #34594
........
cocoa: fix the issue with using enclosing scrollView for mouse position check. #34516
........
cocoa: updating LCL overrides to recognize different boolean types used in FPC headers. #34609
........
cocoa: update OpenGL component to use LCLObjCBoolean type (rel #34609)
........
cocoa: move NSResponderHotKeys to cocoawindows.pas unit. #34609
........
cocoa: cleanup in calendar (datepicker) component. #34609
........
cocoa: cleanup in calendar (datepicker) component - removing unused units. #34609
........
cocoa: registering cocoadatepicker unit with lcl.lpk
........
cocoa: update type cocoawsmenu type switching from boolean to LCLObjCBoolean. #34609
........
cocoa: update printing component to use LCLObjCBoolean type
........
cocoa: update removal of menuItems. Removing an item from parent menu rather than from parentItem's menu. #34602
........
cocoa: update menus to be able to remove separator items
........
cocoa: menus - fix cocoa app mem leak for allocated TcocoaMenuItems
........
cocoa: additional code to handle unassigning of trayicon menu
........
cocoa: making sure that TEdit and TComboBox (editable) are trully single line
........
git-svn-id: branches/fixes_2_0@59765 -
LazUtils: Raise exception in UTF8To... functions, controlled by a global boolean. Issue #33686, patch from AlexeyT.
........
LazUtils: Add LazUTF8SysUtils with "deprecated" warnings. The unit was renamed earlier.
........
git-svn-id: branches/fixes_2_0@59459 -
IDE: Try to switch path delimiters only for filenames when reading TCompilationToolOptions.Command. Issue #34476.
........
IDE: Switch path delimiters only for filenames better for TCompilationToolOptions.Command. Issue #34476, patch from Pascal Riekenberg.
........
Ensure bookmark menu is updated if files are opened/closed. Those files may have bookmarks in the session, that will be set for the editor. Part of Issue #0034194
........
IDE: New high-dpi images for folder images/componenttreeview (by Roland Hahn)
........
IDE: Add high-dpi images for folder images/codetoolsdefines (by Roland Hahn)
........
IDE: Update copyright.txt (authorship of images used by IDE). Issue #0034487
........
IDE: New high-dpi images for folder images/states (by Roland Hahn)
........
git-svn-id: branches/fixes_2_0@59458 -
IDE: Update unit path for all build modes also when creating a new unit. Issue #34413.
........
IDE: Add high-dpi icons for images and images/codeexplorer (provided by Roland Hahn)
........
git-svn-id: branches/fixes_2_0@59389 -
IDE/LCL: Modify some high-DPI icons for more consistent style (Roland Hahn)
........
IDE: Add high-DPI images for propertygrid and widgetset issues (by Roland Hahn).
........
IDE: Improve visibility of high-dpi issue_carbon icons on dark background (by Roland Hahn).
........
IDE/Restriction Browser: Fix visibility of icon on customdrawn button.
........
IDE/ObjectInspector: Fix size of widgetset icons on high-dpi screens.
........
IDE: Add high-dpi icons to images/lazdoc (by Roland Hahn)
........
git-svn-id: branches/fixes_2_0@59343 -
ideintf: Add high-DPI icons (provided by Roland Hahn)
........
IDE: Add missing high-dpi icons to folder images/menu (kindly provided by Roland Hahn)
........
IDE: Minor revisions of existing high-DPI icons (by Roland Hahn)
........
IDE: Add new (debugger) and revised High-DPI icons by Roland Hahn
........
IDE: Add forgotten icons from previous commits
........
IDE: Better alignment of Run icon on toolbar (Roland Hahn)
........
IDE: New High-DPI icons for Delphi-to-Lazarus conversion (by Roland Hahn).
........
git-svn-id: branches/fixes_2_0@59305 -