LCL/High-dpi: Fix form shrinking to title bar when PPI settings are changed during runtime of a 64-bit program. Issue #35971, patch by dmz73.
........
git-svn-id: branches/fixes_2_0@61738 -
LCLTranslator: also allow "--lang=<lang>" commandline parameter in addition to "-l <lang>" and "--lang <lang>", bug #35432
........
LCLTranslator: optimized commandline parameters handling code a bit (no functional changes)
........
git-svn-id: branches/fixes_2_0@61737 -
cocoa: ultimate fix for modal menus not making clicks. #35929
........
cocoa: notifying the tablelist about number of items changing. #35957
........
cocoa: applying resource leak patch by Zoë Peterson. #35944
........
git-svn-id: branches/fixes_2_0@61700 -
LCL: wince: partialy fix problem with spacing between glyph and button caption, when glyph is placed left or right to caption. (there is no space between glyph and caption)
........
git-svn-id: branches/fixes_2_0@61652 -
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 -
LCL: Use "try finally" block for function DefaultInputDialog. Issue #35451, patch from Serge Anvarov.
........
LCL-Win32: Add support for ofForceShowHidden flag in dialog options. Issue #35452, patch from Serge Anvarov.
........
Patch from jmpessoa for IDE crash when closing some forms (highly visible for LAMW)
........
LCL-GTK2: Use libappindicator3 for System Tray Icon. Issue #35723, patch from David.
........
LCL: Fix a memory leak in TImageList.GetIcon. Issue #35684, patch from BrunoK.
........
git-svn-id: branches/fixes_2_0@61634 -
FpDebug: Fix Overflow in max array/string size
........
ProcessDebugger: Fixed crash, due to debugger destroying inside SetState
........
IDE: Fix crash on accessing nil (in MainIdeBar). Happens if the InitialSetupDialog is closed (OS close button) and the IDE exits.
........
DateTimePicker: Make widths of ArrowButton and UpDown highDPI-aware. Issue #35814.
........
git-svn-id: branches/fixes_2_0@61614 -
SynEdit: Fixed crash in MarkTextAsSaved. Issue #0035635
........
IDE: Run without debug, pass command-line args. Issue #0035649
........
SynEdit: Fix position for IME (e.g. Candidate window). Requests are received before "StartComposition". Issue #0035682
........
git-svn-id: branches/fixes_2_0@61359 -
LCL: fix mem-leak in TCustomIcon.AssignImage / Temporary mask is not freed. Issue #0035562
........
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.)
........
LCL: TRasterImage.LoadFromRawImage / revision 61202 #76b9420caf (fixed memleak): Fix check for source = target // Also means the behaviour is/stays as before rev 61202 #76b9420caf
........
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: branches/fixes_2_0@61358 -
LazDebuggerGdbmi: Improve whitelisted commands for memory limit
........
LazDebuggerGdbmi: Improve "Reset Debugger". Ensure timeouts, if certain options lead to endless waiting.
........
Treeview: Fix smooth scrolling. Items scrolling in could have 1 pixel line duplicated or missing. See detailed explanation at revision 59650 #235888a37d
........
Ide ColorOptions, Treeview: Fix smooth scrolling. Items scrolling in could have 1 pixel line duplicated or missing. See detailed explanation at revision 59650 #235888a37d
........
Installer, Win: Add open-ssl libraries for OPM
........
Installer, Win: Refine install options for qt4pas.dll
........
Installer, Win: Add qt5pas.dll
........
Installer, Win: Only run in 64bit mode, if installing Lazarus for 64bit
........
Installer, Win: Include all ppu
........
git-svn-id: branches/fixes_2_0@61357 -
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 -
LazDebugger(Fp)Lldb: improve checks for errors during launch command. Ignore text in file names.
........
FpDebug: Watches/Locals: Display "Unknown type" instead of "Identifier not found" for unimplemented/unknown data/types
........
Gtk2: MsgQueue, fix race condition (patch by Boris Glavin) Issue #035395
........
SynEdit, GTK2: fix ghost caret during scrolling
........
IDE: Check for 'Unversioned directory' when omitting revision from IDE title.
........
IDE: Allow only valid revision numbers to show in IDE title.
........
LazDebuggerFpGdbmi: fixed a crash in watches eval, after cancel of watch eval due to dbg error.
........
FpDebug: Fix upper/lower spelling of Contents/MacOS
........
git-svn-id: branches/fixes_2_0@61084 -