juha
499bcaf7b1
CairoCanvas: Fix BeginPage call. Issue #37682 , patch from Percy Van Den Bylaardt.
...
git-svn-id: trunk@64367 -
2021-01-09 20:41:19 +00:00
dmitry
8f421d4a57
cocoa: using DeviceRGB for the inverted color. Fixes compilation for the older fpc
...
git-svn-id: trunk@64366 -
2021-01-09 18:26:51 +00:00
dmitry
a67fb97c5e
cocoa: preventing itemSelected event during performKeyEquivalent call. bug #37789
...
git-svn-id: trunk@64365 -
2021-01-09 18:12:06 +00:00
martin
c2c57ea095
TurboPowerIPro: Fix Dangling pointer in TIpHtmlNodeA.Destroy; => ClearAreaList is called in inherited, and accesses MapAreaList
...
git-svn-id: trunk@64364 -
2021-01-09 17:26:14 +00:00
juha
ac14bf1e23
Docs: Update for MaskEdit. Issue #38333 , patch from Rolf Wetjen.
...
git-svn-id: trunk@64363 -
2021-01-09 14:44:41 +00:00
martin
8c10092997
Fix crash from "IDE: Show icons in the tree of key mapping options. Issue #35923 . Patch from FTurtle"
...
git-svn-id: trunk@64362 -
2021-01-09 13:48:44 +00:00
wp
746dea29a9
LCL: Add supported of rotated labels. Issue #38328 .
...
git-svn-id: trunk@64361 -
2021-01-09 12:13:05 +00:00
dmitry
b508eb30dc
cocoa: adjusting the cursor color for the standard NSTextField controls to be oppostive of their background. bug #38033
...
git-svn-id: trunk@64360 -
2021-01-09 07:31:16 +00:00
martin
9ffd47ce9f
FpDebug: check for nil, before accessing.
...
git-svn-id: trunk@64359 -
2021-01-08 23:07:55 +00:00
martin
809ce9c782
LazDebuggFpLldb: fix freeing an uninitialized object. (Locals dlg)
...
git-svn-id: trunk@64358 -
2021-01-08 23:07:53 +00:00
wp
4f5bfef839
LCL/UpDown: Fix crash when mouse enters the space between the up/down buttons of a T(Float)SpinEditEx. Related to issue #38101 .
...
git-svn-id: trunk@64357 -
2021-01-08 21:25:43 +00:00
wp
a0dd8b81d2
TurboPower_ipro: Fix drawing of transparent background images.
...
git-svn-id: trunk@64356 -
2021-01-08 17:46:36 +00:00
juha
7ba0f775e7
LazUtils: Call inherited in TListFileSearcher.DoFileFound and TListDirectoriesSearcher.DoDirectoryFound. Issue #38091 , patch from devEric69.
...
git-svn-id: trunk@64355 -
2021-01-08 16:37:42 +00:00
wp
f655e86d24
TurboPower_ipro: Fix opaque text.
...
git-svn-id: trunk@64354 -
2021-01-08 15:55:24 +00:00
wp
24637b3d03
TAChart: Fix too thick connection line between stacked bars.
...
git-svn-id: trunk@64353 -
2021-01-08 10:54:57 +00:00
wp
f9f74717eb
TurboPower_ipro: Fix transparent text on bitmap background.
...
git-svn-id: trunk@64352 -
2021-01-08 08:46:49 +00:00
juha
33ebd1e599
temp
...
git-svn-id: trunk@64351 -
2021-01-08 00:48:04 +00:00
maxim
3d552017f1
LazUtils: commented out stray writeln, which was causing crashes on Windows after r64345 #865e21e88f
...
git-svn-id: trunk@64350 -
2021-01-08 00:43:07 +00:00
juha
d8fdfb832d
Jedi Code Format: Add license info to the package.
...
git-svn-id: trunk@64349 -
2021-01-07 23:21:57 +00:00
juha
8539c8ee36
Acknowledgement for Angus Johnson fir his TDiff class. Issue #38196 .
...
git-svn-id: trunk@64348 -
2021-01-07 22:59:44 +00:00
juha
0e2c500f81
Jedi Code Format: Keep breakpoint position by using a new diff tool. Issue #38196 , patch from Domingo Galmés.
...
git-svn-id: trunk@64347 -
2021-01-07 22:59:42 +00:00
marco
4d0ffa3d5e
* force objfpc, like the other units
...
git-svn-id: trunk@64346 -
2021-01-07 18:07:26 +00:00
juha
865e21e88f
LazUtils: Optimize UTF8CompareText when codepoints have one byte. Applies to most filename comparisons.
...
git-svn-id: trunk@64345 -
2021-01-07 13:43:47 +00:00
wp
0e725023a2
LazControls: Undo r64326 and r64334, obsolete after recent fixes in fpc (r48089 and r48088 #6c7790212c)
...
git-svn-id: trunk@64344 -
2021-01-06 19:06:32 +00:00
juha
fafaeaa996
IDE: Use case insensitive CompareText in TQuickStringlist and dump Uppercase calls. Speeds up the code dramatically!
...
git-svn-id: trunk@64343 -
2021-01-06 17:01:41 +00:00
juha
4f72e49e72
IDE: Move StrToValidXMLName() out of a loop. Remove check from KeyMapSchemeNames[kmsLazarus]), it is valid.
...
git-svn-id: trunk@64342 -
2021-01-06 17:01:40 +00:00
juha
0afb05acb9
IDE: Cleanup.
...
git-svn-id: trunk@64341 -
2021-01-06 17:01:38 +00:00
juha
091df3edb7
IDE: Refactor EditorOptions. Class TEditorOptionsDefaults holds only published properties needed for RttiXmlConfig. No useless duplication.
...
git-svn-id: trunk@64340 -
2021-01-06 11:18:40 +00:00
juha
0df617c5c1
IDE: Reuse EditorOptions UserColorSchemeGroup singleton values. No copy needed. Git Gui got confused, diff is bigger than it should.
...
git-svn-id: trunk@64339 -
2021-01-05 20:53:56 +00:00
juha
79bf1adf19
IDE: Revert r64332 #9383577ef7. Attributes[] is called from many places without UpperCase.
...
git-svn-id: trunk@64338 -
2021-01-05 19:58:16 +00:00
wp
97260cafb3
TurboPower_iPro: new attempt to reduce the number of repaints. Issue #38204 , patch by serbod.
...
git-svn-id: trunk@64337 -
2021-01-05 18:56:01 +00:00
juha
5ea010dc3a
IDE: Remember active PageIndex of ComponentList between sessions. Test for NoComponentListTreeExpand.
...
git-svn-id: trunk@64336 -
2021-01-05 15:08:30 +00:00
wp
858cdf7813
LCL/SpinEdit: Do not store default MinValue in lfm.
...
git-svn-id: trunk@64335 -
2021-01-04 19:45:25 +00:00
wp
a25bbfe7d2
LazControls/SpinEditEx: Fix compilation issue to work also for FPC 3.2
...
git-svn-id: trunk@64334 -
2021-01-04 18:58:59 +00:00
juha
80056f13d9
IDE: Remove support of old config versions from TColorSchemeAttribute.LoadFromXml.
...
git-svn-id: trunk@64333 -
2021-01-04 15:56:34 +00:00
juha
9383577ef7
IDE: Optimize TColorSchemeAttribute lookup by storing UpperCase name for comparison.
...
git-svn-id: trunk@64332 -
2021-01-04 15:56:32 +00:00
juha
9acf3c4388
IDE: Implement cache for attribute SchemeGlobal. FAttributes.IndexOf() calls drop to ~19700.
...
git-svn-id: trunk@64331 -
2021-01-04 15:56:31 +00:00
juha
44cce07479
IDE: Minor optimization for EditorOptions. Debug TColorSchemeLanguage.FAttributes. IndexOf() is called ~31000 times at startup.
...
git-svn-id: trunk@64330 -
2021-01-04 15:56:30 +00:00
juha
186eb16098
IDE: Optimize Assign() of EditorOptions classes.
...
git-svn-id: trunk@64329 -
2021-01-04 15:56:29 +00:00
juha
1e43ac6865
IDE: Study EditorOptions assignments with debug code. Turn methods into global funcs. Refactoring.
...
git-svn-id: trunk@64328 -
2021-01-04 15:56:28 +00:00
juha
a5df757d33
LazUtils: Fix comments in AvgLvlTree for TStringToStringTree etc.
...
git-svn-id: trunk@64327 -
2021-01-04 15:56:26 +00:00
wp
47719157fe
LazControls: Fix compilation issue related to generics and SameValue() on 64-bit platform (thanks to Ondrej).
...
git-svn-id: trunk@64326 -
2021-01-04 13:38:20 +00:00
zoran
6b53432dd4
DateTimePicker: add InMonthView function to TCalendarControlWrapper - adds layer of abstraction to using of calendar "view"
...
git-svn-id: trunk@64325 -
2021-01-04 11:57:45 +00:00
wp
519788b865
TAChart: Fix compilation due to recent changes in FPC 3.3.1. Issue #38301 .
...
git-svn-id: trunk@64324 -
2021-01-03 17:25:04 +00:00
ondrej
4002a31014
TCustomLabel: fix RTL drawing. Issue #38270
...
git-svn-id: trunk@64323 -
2021-01-03 16:33:10 +00:00
wp
44b40ce1ce
TurboPower_iPro: Add new property UsePaintBuffer.
...
git-svn-id: trunk@64322 -
2021-01-03 11:58:02 +00:00
wp
a616c2ad2a
TurboPower_iPro: Revert r64201 #29c601614e/64202 #d9b1507320
...
git-svn-id: trunk@64321 -
2021-01-03 11:13:09 +00:00
martin
85dd4b9122
Fix Memleak in TComponentTreeView.Destroy
...
git-svn-id: trunk@64320 -
2021-01-03 01:48:34 +00:00
martin
bc73f7750f
LazDebuggerFp: Fix endless loop, in stack supplier.
...
git-svn-id: trunk@64319 -
2021-01-03 01:37:56 +00:00
bart
b8b3de002a
Refine the implementation of TCustomListView.Delete(), .InsertItem and .Edit after r64309 #fbb46cb85d (Issue #0038263 ).
...
This commit is also not completely Delphi compatible.
In Delphi Items can be added or delted as a respons to LVN_xxx messages, which the Lazarus implementation
does not support (it may very well be not protable?).
This commit causes code duplication (fortunately mostly one-liners)
The resons for this that the Lazarus methods DoDeletion, DoInsert and DoEndEdit are virtual and as such
may have been overriden by users, so this code still needs to work.
Users with code coming from Delphi expect that they can override Delete, InsertItem and Edit, so this must be possible as well,
and in that case out event dispatchers simply call the overridden Delphi variant.
The exception to this is Delete().
As far as we know, in Delphi Delete() is triggerd after an Items.Delete and acts as an event dispatcher,
but if you call it by itself, then it will actually delete the item (this in contrast to InsertItem, which only
calls the event handler and does nothing else).
(No Delphi code was studied to obtain this information, it was all done using black box testing (by LacaK and BB),
so this conclusion may be wrong.)
I decided to implement Delete in such a way that it checks wether it was called after the fact (after Items.Delete),
and if that is not the case, it will delete the item (triggering a re-entry of the method).
Not very nice, but it is in any case better then an empy implementation like it was before r64309 #fbb46cb85d.
It was discussed also to rename and deprecate our event dispatchers in favour of the Delpi ones, but I decided agains that
for the following reasons:
- naming conventions: DoXXX dispatches OnXXX
- signatures differ between DoEndEdit and Edit
git-svn-id: trunk@64318 -
2021-01-02 13:23:49 +00:00