LCL-GTK2: Improve logic for loading LibAppIndicator3 for TrayIcon. Based on research by D.Bannon. Issue #35723.
........
LCL-GTK2: Add Debian to the list of distros that need the AppIndicator lib. Optimize a little. Issue #35723.
........
LCL-GTK2: Improve the logic for loading LibAppIndicator3 lib. Support an environment variable LAZUSEAPPIND. Issue #35723, patch from David.
........
git-svn-id: branches/fixes_2_0@62083 -
LCL: Handle mouse events through shaped TWinControl. Issue #35270, patch from ptvs.
........
lcl, fix TDbgrid wrong width of first column if FixedCells>1 and dgIndicator is turned off, issue #35716
........
LCL: override TSpinEdit.GetLimitedValue so it cannot return values outside the integer range. Issue #0032793.
........
LCL: fix crash in TStringGrid.InsertRowWithValues is Columns.Enabled is True. Issue #0036067
........
LCL: fix TTaskDialog.ModalResult if closebutton (in CommonButtons) is clicked. Issue #0036069.
........
LCL/grids: Fix misplaced horizontal grid scrollbar after form maximize. Issue #35472, patch by Pavol S.
........
git-svn-id: branches/fixes_2_0@62082 -
Designer: Support Undo-action for changed Parent of a component. Issue #26815.
........
Designer: Fix a crash bug caused by r61974 #dcb8bd49fb. Top form has no Owner.
........
git-svn-id: branches/fixes_2_0@62081 -
FpDebug: Prevent a stack overflow, recursive display of record in record constructor "TFoo.Create(a: TFoo)". Outer "AFlags" were hidden, preventing the recursion from being detected
........
git-svn-id: branches/fixes_2_0@62063 -
LCL-GTK2: Do not load LibAppIndicator3 lib for KDE and Cinnamon. Makes TrayIcon.OnClick work in most cases. Issue #35983.
........
git-svn-id: branches/fixes_2_0@61994 -
Designer: Explode a big WITH block in TDesigner.ExecuteUndoItem. Use another temp variable.
........
Designer: Support Undo for properties of subcomponents like 'LabeledEdit1.SubLabel'. Issue #36071.
........
git-svn-id: branches/fixes_2_0@61993 -
IDE: Call DoCallBuildingFinishedHandler after ToolState is reset. Issue #35240.
........
ShellCtrls: fix rasing excption when changing TShellTreeView.FileSortType in designer. Issue #0036055.
........
IDE: EditorMacros, fix generating error msg (avoid index out of range error). Fix type in test for whitespace. Issue #0036082
........
git-svn-id: branches/fixes_2_0@61928 -
LeakView: fix double free crash. Introduced in r61711 #01fb06cf22 by using TFPGObjectList which does auto free objects
........
LeakView: fix crash due to double free.
........
git-svn-id: branches/fixes_2_0@61927 -
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 -