Commit Graph

67722 Commits

Author SHA1 Message Date
Zoë Peterson
1ec73247e5 Added a new global variable, DisabledDrawEffectStyle, that controls how TRawImage.PerformEffect(gdeDisabled) works to improve the appearance on colored backgrounds and in dark mode apps.
There are three possible values:
- ddesGrayscale
    This is the default and matches the existing behavior of just converting the pixels to gray.
- ddesDarken
    Convert the image to fully black pixels with alpha transparency.  This roughly matches ddesGrayscale on traditional gray backgrounds but lets colored backgrounds through.
- ddesLighten
    Convert the image to fully white pixels with alpha transparency.  This is the dark mode equivalent of ddesDarken.

Existing alpha transparency is factored into the conversion.  The constants used for the visibility calculation roughly match what other macOS apps use.
2024-06-12 22:54:32 +00:00
mattias
bd1bc6ebb5 ide: pass Project to NewFileDescriptor.Init 2024-06-12 09:21:16 +02:00
mattias
2fc4aa79cb ide: fixed result 2024-06-11 22:19:52 +02:00
Juha
560115beea IDE: Improve popup menu position in designer when using keyboard. Issue #40807, patch by n7800. 2024-06-11 13:37:57 +03:00
Juha
473cc20292 IDE: Fix "Find Identifier reference". Issue #21254, patch by n7800. 2024-06-11 13:04:21 +03:00
Juha
e8f2058ddd IDE: Remove -Sy from default debug IDE build options. Issue #40973. 2024-06-11 11:55:59 +03:00
Maxim Ganetsky
37126dfecd ProjectGroups: updated Russian translation 2024-06-10 18:28:45 +03:00
Ondrej Pokorny
c695f895ea ProjectGroups: open Drop-Down-Button 2024-06-10 13:52:37 +02:00
Joost van der Sluis
1b1dd07d55 SynEdit: Fixed cleanup of caret-handlers in TSynGutterCodeFolding 2024-06-10 13:19:23 +02:00
Martin
b678f7b820 FpDebug: Ensure correct compiler options 2024-06-10 11:40:43 +02:00
rich2014
d3de8e2ac7 Cocoa: Fix min/max range limit in TCocoaSpinEdit(TSpinEdit) 2024-06-10 14:11:16 +08:00
dsiders
f6878d7262 Docs: LCL/graphics. Updates GraphicFilter, GraphicFileMask, and GraphicExtension topics. 2024-06-10 05:44:18 +01:00
rich2014
04c15dace4 Cocoa: fix the context setting in TCocoaReadOnlyComboBox(TComboBox) 2024-06-10 10:42:16 +08:00
rich2014
91259b6af5 Cocoa: fix the issue with Flipped Coordinates, Merge branch 'cocoa/flip'
note that on Cocoa:
1. Not Flipped: opposite to win32
2. Flipped: like win32
2024-06-10 10:37:48 +08:00
rich2014
49c3fad6bc Cocoa: fix the Drawing in Controls with Flipped coordinates 2024-06-10 10:35:00 +08:00
rich2014
7b3b982402 Cocoa: fix the setting of SpinEdit with Flipped coordinates 2024-06-10 10:35:00 +08:00
rich2014
1686a8c9d1 Cocoa: fix the setting of ScrollView with Flipped coordinates 2024-06-10 10:35:00 +08:00
rich2014
d6afcd1953 Cocoa: fix the setting of Custom Control with Flipped coordinates
Note that on Cocoa:
1. Not Flipped: opposite to win32
2. Flipped: like win32
2024-06-10 10:35:00 +08:00
dsiders
ef1838e6d2 Docs: LCL/controls. Modifies TWinControl.WndProc topic for changes in 9da0d75b. 2024-06-09 18:46:21 +01:00
DomingoGP
1edd541c58 Jedi code format: Fix typo. 2024-06-09 17:47:03 +02:00
rich2014
da0c4ec917 LCL: Add CM_THEMEDCHANGED to TWinControl.WndProc to catch widget system light/dark change
See merge request freepascal.org/lazarus/lazarus!293
2024-06-09 07:28:57 +00:00
rich2014
8e01a9da14 laz.virutaltrees / Cocoa: fix the issue that the first line displayed abnormally when scrolling
for example, there are many items in Lazarus IDE BreakPoints Dlg.
2024-06-09 15:10:53 +08:00
rich2014
ef3054c557 Cocoa: Fix the issue introduced @ 8ecc0ea
for example, the Icon cannot be displayed normally in VirtualTrees
2024-06-09 14:09:21 +08:00
rich2014
f703b65dd6 Cocoa: Fix the issue introduced @8bdb42c
for example, the Header cannot be displayed normally in VirtualTrees
2024-06-09 14:03:00 +08:00
David Jenkins
9da0d75b79 Add CM_THEMEDCHANGED to TWinControl.WndProc to catch widget system light/dark change 2024-06-07 00:05:39 +00:00
Martin
82cc65e98b FpDebug: fix bound-calc for arrar (non Fpc Dwarf) 2024-06-06 18:00:05 +02:00
Martin
951eacad37 FpDebug: Update fpc version check for broken Dwarf-4 line info 2024-06-06 17:42:35 +02:00
Martin
2d184e35d8 FpDebug: Optimize reading empty string / don't range check codepage address (MemRead will set an error if invalid) 2024-06-06 17:42:35 +02:00
Martin
eabd1453d0 FpDebug: refactor multi-dim array, for non-fpc specific Dwarf. 2024-06-06 17:42:35 +02:00
rich2014
37aad3d3d2 Cocoa: Fix the context size in TCocoaTableListView.drawRow_clipRect (TListBox) 2024-06-06 23:17:10 +08:00
rich2014
0bfaca6b99 Cocoa: fix the Drawing issue, Merge branch 'cocoa/cgcontext' 2024-06-06 11:28:07 +08:00
rich2014
8bdb42c45c Cocoa: refactor in TCocoaThemeServices 2024-06-06 10:51:40 +08:00
rich2014
8ecc0ea6cc Cocoa: refactor in TCocoaContext.StretchDraw() 2024-06-06 10:51:40 +08:00
rich2014
9376f57403 Cocoa: SetCGFillping/RestoreCGFillping removed 2024-06-06 10:51:40 +08:00
rich2014
df77d2766e Cocoa: fix drawing issue for custom-drawn listbox (issue #36714) 2024-06-06 10:51:40 +08:00
rich2014
b7183648e0 Cocoa: fix up-side down issue with Transparent Bitmaps (issue #36714) 2024-06-06 10:51:40 +08:00
Martin
c030c1af73 FpDebug: line/address lookup, fix uninitialized result for "file-found", used for pending breakpoints 2024-06-05 17:52:54 +02:00
Martin
8ee632a157 FpDebug: Update user-set address breakpoints, when libraries are loaded/unloaded. Issue #40973 2024-06-05 17:52:54 +02:00
Martin
00507e47df FpDebug: Update internal breakpoints, if they failed to be set. 2024-06-05 17:52:46 +02:00
Martin
6d6f77a870 FpDebug: Move break-setting error flag from Handler to Map 2024-06-05 17:52:45 +02:00
wp_xyz
d58113e2e0 LazControls: Publish TSpinEditEx.SpinButtonWidth and TFloatSpinEditEx.SpinButtonWidth 2024-06-05 15:08:00 +02:00
mattias
7f5295b689 tools: create debs: added arch arm64, thx to Reinhold and Otto 2024-06-05 14:58:36 +02:00
mattias
8fdbfcd024 tools: create debs: added arch arm64 2024-06-05 14:48:32 +02:00
mattias
8a144ec93d datetimectrls: TDateTimePicker: using local var 2024-06-05 14:38:26 +02:00
Maxim Ganetsky
f501addc89 IDE: regenerated translations and updated Russian translation 2024-06-04 23:05:10 +03:00
Maxim Ganetsky
db735501e4 IDE: improved i18n 2024-06-04 23:03:23 +03:00
Maxim Ganetsky
e8ee8c7eb8 Merge branch 'RemovedStrCopy' into 'main'
LCL: Removed unneeded string copy in LCLProc.TextToShortCutGeneric function

See merge request freepascal.org/lazarus/lazarus!292
2024-06-03 22:25:31 +00:00
Andrey Zubarev
27f3226a53 LCL: Removed unneeded string copy in LCLProc.TextToShortCutGeneric function 2024-06-03 22:25:30 +00:00
rich2014
fc41ca2ea9 Cocoa: Fix "Access Violation" in TCocoaWSCustomListView.SetImageList(), by Michalis Kamburelis 2024-06-03 08:42:23 +08:00
dsiders
346b890f26 Docs: LCL/controls. Updates TWinControl.PaintControls topic for changes in da0cab13. Issue #19685. 2024-06-02 21:08:44 +01:00