rich2014
d2dec71025
Cocoa: fix the issue that Overlay Style Scroller sometimes could not be hidden correctly
...
1. it's because when the user scrolls the ScrollView, LM_VSCROLL/LM_VSCROLL messages are sent to LCL in NSScrollView.scrollWheel()
2. when LCL processes these messages, it sets the position of NSScrollView by calling SetScrollInfo()
3. if NSScrollView is in the animation effect at this time, the Scroller will not be hidden after the animation
4. by adding functions, it is possible to distinguish whether the scrolling is initiated by the user or by LCL. if it is initiated by the user, there is no need to set the position of NSScrollView.
2024-06-20 22:16:27 +08:00
rich2014
75e896342d
Cocoa: scrollContentViewBoundsChanged() removed
2024-06-20 22:06:59 +08:00
rich2014
62cf9b2bae
Cocoa: Fix the Scrolling issue on TCustomControl
2024-06-20 22:06:59 +08:00
rich2014
dfc1bbeec2
Cocoa: Fix the issue that the ScrollBars of corresponding TScrollingWinControl were not updated correctly
2024-06-20 22:06:59 +08:00
rich2014
eacd34023f
Cocoa: Fix Message Result in TCocoaWidgetSet.CallDefaultWndHandler.CallMouseWheelHandler()
2024-06-20 22:06:59 +08:00
rich2014
bc7ef3d1eb
Cocoa: Fix rect in TLCLCommonCallback.DrawBackground()
2024-06-20 22:06:59 +08:00
rich2014
2bb8922ae8
Cocoa: remove circular unit references, add CocoaWSScrollers unit
2024-06-20 22:06:59 +08:00
rich2014
595fd26f3f
Cocoa: fix the size issue of Scrolling Control with Overlay Style Scroller
2024-06-20 22:06:59 +08:00
rich2014
1459f56c95
Cocoa: fix the size of Overlay Style Scroller in TCocoaWidgetSet.GetScrollBarSize()
2024-06-20 22:06:59 +08:00
rich2014
95b9ef2414
Cocoa: set the size of documentView directly
2024-06-20 22:06:59 +08:00
rich2014
7a6431df57
Cocoa: prepare for setting the size of documentView instead
...
1. previously, documentView relied on AutoresizingMask, and the size was automatically set by NSScrollView
2. but setting the autoresizingMask itself introduces a lot of complexity
3. and the effect is not always as expected
4. therefore, it is decided to directly set the size of documentView
2024-06-20 22:06:59 +08:00
rich2014
cbc8d8c685
IDE: fix the issue that ProjectInspector would be closed even if it was Docked when pressing ESCAPE
2024-06-20 21:33:20 +08:00
mattias
a8145669fb
codetools: fixed loading fpc includes files, issue #39872
2024-06-20 09:55:29 +02:00
dsiders
3e4e061286
Docs: LCL/dbctrls. Updates KeyDown topics in TDBEdit, TDBMemo to include VK_SPACE characters handled on Darwin. Changed in 1ac92dd342
.
2024-06-19 17:23:52 +01:00
rich2014
1ac92dd342
Cocoa & Db: Fix #40985 the issue that Space can't activate editing
2024-06-19 22:22:29 +08:00
mattias
32c250f997
codetools: fixed searching include file in fpc.cfg paths, issue #39872
2024-06-18 17:08:20 +02:00
mattias
fa535070e5
ide: fixed name
2024-06-18 17:07:51 +02:00
dsiders
7ca632d8d9
Docs: DateTimeCtrls/datetimpeicker. Adds and updates TCustomDateTimePicker topics for changes in 8a144ec9
. Includes:
...
* TCustomDateTimePicker.DropDownCalendarForm
* TCustomDateTimePicker.CalendarForm
2024-06-18 02:28:48 +01:00
Maxim Ganetsky
71ba1d1646
IDE: regenerated translations and updated Russian translation
2024-06-18 00:48:30 +03:00
Maxim Ganetsky
e6f2058ace
IDE: improved Editor Display Options page layout
2024-06-18 00:47:56 +03:00
Juha
5c616a0715
Fix hint etc. for "&" + identifier. Issue #40922 , patch from WooBean007.
2024-06-17 18:39:44 +03:00
Juha
8060c44b3c
IDE: Add a link in editor options for Codetools "Max Length" setting. Fix anchors. Issue #36213 , patch by n7800.
2024-06-17 14:09:38 +03:00
Juha
1a84469a59
IDE: Open also Codetool options from the editor popup menu. Issue #24043 , patch by n7800.
2024-06-17 12:34:17 +03:00
Bart
424f279df4
TSpinEditEx: declare property SpinButtonWidth in the base class.
2024-06-16 17:00:00 +02:00
dsiders
a10a426ac7
Docs: LCL/dbctrls. Updates TDBMemo.LoadMemo topic for changes in 1b18f093
.
...
* It references Issue #33598 - which I cannot locate by issue number.
2024-06-15 21:56:02 +01:00
dsiders
700ad868db
Docs: LCL/dbctrls. Modifies KeyDown topics in TDBEdit and TDBMemo for changes in f358fd7d17
, dcacf7aaac
. Issue #40985 .
...
* Adds a description of the macOS-specific keys detected and ignored for non-editable fields.
2024-06-15 20:35:08 +01:00
rich2014
1b18f09376
dbmemo: Fix blob issue in TDBMemo.LoadMemo()
2024-06-15 21:30:31 +08:00
rich2014
84bc039c0f
Cocoa & Db: Fix #40985 , Merge branch 'lcl/dbedit'
2024-06-14 23:36:24 +08:00
rich2014
f358fd7d17
Cocoa: Fix TDBEdit as TDBMemo (issue #40985 )
2024-06-14 23:14:13 +08:00
rich2014
1c77cb1974
Cocoa: Fix the issue of missing sending LM_CUT/LM_PASTE to LCL
2024-06-14 23:08:28 +08:00
rich2014
dcacf7aaac
Cocoa: Fix #40985 , enter the edit state in KeyDown()
2024-06-14 23:04:40 +08:00
dsiders
8692ed1de5
Docs. LCL/LazUtils/various. Updates or removes URLs which are http, dead links, or examples to placate SourceForge hosting.
2024-06-13 03:40:12 +01:00
Maxim Ganetsky
60e0038353
Codetools: Fixed AV in "Project -> Show Used PPU Files" when sorting by double-clicking on last three columns. Patch by n7800, issue #40984 .
2024-06-13 02:29:05 +03:00
Maxim Ganetsky
9f98ea7602
Merge branch 'DisabledDrawEffectStyle' into 'main'
...
LazUtils: Added DisabledDrawEffectStyle to control disabled image appearance
See merge request freepascal.org/lazarus/lazarus!298
2024-06-12 23:02:09 +00:00
Zoë Peterson
14fdb7e6f9
Removed DimPercent/DimColor calculation. The existing grayscale calculation doesn't change the icon if it's already grayscale, and that was a remnant from an earlier patch that simulated the alpha that ddesDarken does.
2024-06-12 22:54:32 +00:00
Zoë Peterson
b8bb9527ef
Switched documentation from an inline comment in graphtype.pp to the fpdoc graphtype.xml
2024-06-12 22:54:32 +00:00
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