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
martin
beee215ea3
Fix compile with 3.0.4
...
git-svn-id: trunk@64317 -
2021-01-01 16:20:04 +00:00
wp
7ec8d3b74b
TurboPower_iPro: Fix compilation of HtmlFileExp1 and HtmlFileExp2 demo projects.
...
git-svn-id: trunk@64316 -
2021-01-01 15:50:39 +00:00
juha
c87414e208
Docs: Documentation updates for LCL Grids. Issue #38288 , patch from Don Siders.
...
git-svn-id: trunk@64315 -
2021-01-01 11:56:15 +00:00
juha
49384e3efc
Docs: Documentation update for LCL, LazUtils and LazControls. Issue #38287 , patch from Don Siders.
...
git-svn-id: trunk@64314 -
2020-12-31 20:32:21 +00:00
juha
33cb0bd3a6
IdeIntf: Remember the expanded/collapsed state in OI's ComponentTree when changing designer form. Issue #33464 .
...
git-svn-id: trunk@64313 -
2020-12-31 12:37:14 +00:00
juha
b4fc035018
Restore the "const" removed in r64300 #943e4e4ff7. Affected 3rd party components.
...
git-svn-id: trunk@64312 -
2020-12-31 10:57:48 +00:00
juha
6780d0d9dc
Jedi Code Format: Support unicodestrings variables again. Issue #38282 , patch from Domingo Galmés.
...
git-svn-id: trunk@64311 -
2020-12-31 10:57:44 +00:00
joost
4b59383f64
FpDebug: Removed usage of hard-coded register
...
git-svn-id: trunk@64310 -
2020-12-30 19:15:57 +00:00
wp
fbb46cb85d
LCL/TListView: Improved Delphi compatibility by giving life to the empty methods Delete and InsertItem and adding an Edit method.
...
git-svn-id: trunk@64309 -
2020-12-30 18:56:35 +00:00
juha
db94cc7a39
LazUtils: Support EUDC to PUA Microsoft mapping in function DBCSToUTF8. Issue #38206 , patch from powerpcer.
...
git-svn-id: trunk@64308 -
2020-12-30 10:27:05 +00:00
juha
3f43cd260e
ProjectTemplates: Use the template.lpi file for a new project. Issue #38244 , patch from Rolf Wetjen.
...
git-svn-id: trunk@64307 -
2020-12-30 10:24:02 +00:00
juha
9cc893672d
IdeHelp: Fix Lazarus hanging when lHelp starts from Menu and F1 pressed. Issue #38276 , patch from Andrey Sobol.
...
git-svn-id: trunk@64306 -
2020-12-29 23:28:27 +00:00
juha
802ff9d061
Jedi Code Format: Fix option "leave as is" for linebreak in blocks. Issue #38277 , patch from Domingo Galmés.
...
git-svn-id: trunk@64305 -
2020-12-29 23:07:28 +00:00
juha
ac6049864a
LCL: Give new name to left-Backslash key on 102-keys keyboard. Issue #37966 , patch from CudaText man.
...
git-svn-id: trunk@64304 -
2020-12-29 22:56:43 +00:00
juha
9219ea531d
Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
...
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00