juha
|
ef7d930ca6
|
LCL-GTK2: Fix rect calculation and GetTextMetrics. Prevent painting cropped chars 'jy'. Issue #38268, patch from Anton Kavalenka.
git-svn-id: trunk@65056 -
|
2021-04-23 15:34:08 +00:00 |
|
balazs
|
25a1c56fc2
|
LCL: Prevent crash by calling ShowDragImage/HideDragImage only if DragImageListResolution is not nil.
git-svn-id: trunk@65055 -
|
2021-04-23 14:40:42 +00:00 |
|
michl
|
038cc46fc5
|
LCL: Win32: Fixed FormStyle fsNormal is ignored after switching back from fsStayOnTop, only working for AnchorDocking with recreating of HWND. Issue #38790
git-svn-id: trunk@65053 -
|
2021-04-22 21:30:27 +00:00 |
|
michl
|
737f3518f6
|
LCL: Win32: Fixed FormStyle fsNormal is ignored after switching back from fsStayOnTop. Issue #38790
git-svn-id: trunk@65052 -
|
2021-04-22 20:59:40 +00:00 |
|
michl
|
df1e1dc31a
|
LCL: Fixed ParentBackground of GroupBoxes cannot be set to true. Issue #38777
git-svn-id: trunk@65036 -
|
2021-04-20 21:57:55 +00:00 |
|
bart
|
faeaeda19c
|
GTK2: add WSCheckHandleAllocated() in TGtk2WSCustomFloatSpinEdit.SetEditorEnabled.
git-svn-id: trunk@65018 -
|
2021-04-17 20:11:45 +00:00 |
|
bart
|
1a9223f862
|
T(Float)SpinEdit: win32, wince: fix not obeying the value of EditorEnabled if ReadOnly is set to False
git-svn-id: trunk@65017 -
|
2021-04-17 16:31:49 +00:00 |
|
bart
|
603a8c9a72
|
T(Float)SpinEdit: implement EditorEnabled for GTK2. Part of issue #0038736.
git-svn-id: trunk@65016 -
|
2021-04-17 16:18:11 +00:00 |
|
bart
|
52e1881c23
|
T(Float)SpinEdit: QT(4): fix not obeying the value of EditorEnabled if ReadOnly is set to False
git-svn-id: trunk@65015 -
|
2021-04-17 15:59:09 +00:00 |
|
bart
|
694d81628d
|
T(Float)SpinEdit: implement EditorEnabled for QT4. Part of Issue #0038736.
git-svn-id: trunk@65014 -
|
2021-04-17 15:23:25 +00:00 |
|
wp
|
b8816924f3
|
LCL: Publish ParentBackground for TRadioGroup and TCheckGroup (related to r64871 #28e5806a74 and 64882).
git-svn-id: trunk@65007 -
|
2021-04-17 09:27:28 +00:00 |
|
bart
|
a148676b51
|
T(Float)SpinEdit: implement property EditorEnabled. ATM win32/64 and wince only. Issue #0038736.
git-svn-id: trunk@64989 -
|
2021-04-14 07:25:00 +00:00 |
|
maxim
|
dcb4b22eef
|
LCL: Do not convert '\n' sequence to linefeed also in Title, Inst, Verify, Info, InfoExpanded, InfoCollapse, Footer fields of LCLTaskDialog.TTaskDialog anymore (LineEnding constant should be used for this). Unbreaks output of strings like 'c:\new_folder\new.work'.
git-svn-id: trunk@64988 -
|
2021-04-13 21:38:57 +00:00 |
|
juha
|
aa96e17781
|
Revert r63888 #54661a2a36. It breaks event handling of forms with parent. Issue #36127.
git-svn-id: trunk@64986 -
|
2021-04-13 16:35:34 +00:00 |
|
zeljko
|
0023eaced0
|
Qt,Qt5: allow usage of html formatted text in dialogs via define.
git-svn-id: trunk@64982 -
|
2021-04-13 11:41:26 +00:00 |
|
zeljko
|
d84f74bc79
|
Qt5: forgotten QTACCESSIBILITY define
git-svn-id: trunk@64981 -
|
2021-04-13 10:55:54 +00:00 |
|
zeljko
|
d54508d7b7
|
Qt5: enable QTACCESSIBILITY define in qtdefines.inc for QtAccessibility. ATM this is disabled by default since it creates a lot of memleaks and crashes.
git-svn-id: trunk@64977 -
|
2021-04-12 11:41:28 +00:00 |
|
maxim
|
058e8264fa
|
LCL: Do not convert '\n' sequence to linefeed in Content field of LCLTaskDialog.TTaskDialog anymore (LineEnding constant should be used for this), bug #38676. Unbreaks output of strings like 'Save "c:\new_folder\new.work"?'.
git-svn-id: trunk@64975 -
|
2021-04-11 20:03:36 +00:00 |
|
zeljko
|
87aecde5f1
|
Qt5: fixed focusing of tooltip window. csFocus must be included in forms controlState. issue #38707
git-svn-id: trunk@64974 -
|
2021-04-11 17:42:19 +00:00 |
|
bart
|
07befbecb7
|
TFloatSpinEdit: fix a comment
git-svn-id: trunk@64973 -
|
2021-04-11 16:57:29 +00:00 |
|
bart
|
10281c7773
|
T(Float)SpinEdit: set default Value of MaxValue to 0. This is compaitble with the behaviour of SPinEdit in Delphi. Issue #0038738.
git-svn-id: trunk@64972 -
|
2021-04-11 16:51:39 +00:00 |
|
zeljko
|
97ba88fa58
|
Qt5: fix build without -dQTSCROLLABLEFORMS.
git-svn-id: trunk@64971 -
|
2021-04-11 16:49:09 +00:00 |
|
bart
|
52dc4d2bd5
|
T(Float)SpinEditEx: remove property EditorEnabled, since it duplicates DirectInput property (which I forgot...)
git-svn-id: trunk@64968 -
|
2021-04-11 16:24:32 +00:00 |
|
bart
|
8c6dd0ff09
|
T(Float)SpinEditEx: implement property EditorEnabled.
git-svn-id: trunk@64953 -
|
2021-04-10 21:49:10 +00:00 |
|
juha
|
74d9e094a0
|
LCL-GTK3: Prevent all-black background in controls. Issue #38709, patch from Anton Kavalenka.
git-svn-id: trunk@64949 -
|
2021-04-10 10:01:07 +00:00 |
|
juha
|
a8969e516a
|
LCL: In TListItem, use TListItemState type directly.
git-svn-id: trunk@64948 -
|
2021-04-10 10:01:05 +00:00 |
|
wp
|
446f7d1290
|
LCL/TreeView: Re-add state flag tvsUpdating removed in r64855 #a1aea6a20a. Issue #38735.
git-svn-id: trunk@64947 -
|
2021-04-10 09:46:11 +00:00 |
|
bart
|
1cdf85def9
|
MaskEdit: use escaping with '\' in sets as well. Allows to have ']' in a set, which was impossible before.
git-svn-id: trunk@64938 -
|
2021-04-07 08:08:10 +00:00 |
|
dmitry
|
e1deb6db08
|
cocoa: bug #38711. The themes enabled for Cocoa teHeader drawing is now imlpemented to make sure virtual tree view draws headers nicely
git-svn-id: trunk@64937 -
|
2021-04-07 05:01:00 +00:00 |
|
bart
|
1ddd3cc19b
|
MaskEdit: rename a type and it's associated variable and procedure.
git-svn-id: trunk@64932 -
|
2021-04-06 17:06:08 +00:00 |
|
bart
|
2e2c6107f2
|
MaskEdit: have Char_Set and Char_SetFixed, analogue to e.g. Char_Letter and Char_LetterFixed
git-svn-id: trunk@64927 -
|
2021-04-05 12:41:13 +00:00 |
|
bart
|
680a74ac4e
|
MaskEdit: factor out ParseSet.
git-svn-id: trunk@64926 -
|
2021-04-05 12:04:23 +00:00 |
|
bart
|
e95298f4e2
|
MaskEdit: use a lookup table for "simple cMask tokens" in SetEditMask.
git-svn-id: trunk@64925 -
|
2021-04-05 11:47:17 +00:00 |
|
zeljko
|
14ef04d220
|
Qt5: fixed error message
git-svn-id: trunk@64922 -
|
2021-04-04 13:48:47 +00:00 |
|
zeljko
|
a3a9c7213c
|
Qt5: Implemented extend LCL TLazAccessibleObject accessibility functionality. patch by Dmitry Boyarintsev and David Jenkins. issue #38604
git-svn-id: trunk@64920 -
|
2021-04-04 10:41:06 +00:00 |
|
bart
|
f217ea7fc4
|
MaskEdit: coding style and indentation. No functional changes.
git-svn-id: trunk@64907 -
|
2021-04-03 10:18:37 +00:00 |
|
bart
|
47a0ef2d84
|
MaskEdit: simplify ClearChar()
git-svn-id: trunk@64906 -
|
2021-04-03 10:08:54 +00:00 |
|
bart
|
3236750d4e
|
MaskEdit: refactor SetEditMask.
git-svn-id: trunk@64905 -
|
2021-04-03 10:02:36 +00:00 |
|
bart
|
c3c7456d6f
|
MaskEdit: if an exception is raised inside SetEditMask, make the control UnMasked (otherwise havoc will occur).
git-svn-id: trunk@64904 -
|
2021-04-02 21:52:01 +00:00 |
|
bart
|
9124789bc5
|
MaskEdit: new exception type for errors in EditMask.
git-svn-id: trunk@64903 -
|
2021-04-02 21:34:20 +00:00 |
|
bart
|
bf15a643ab
|
MaskEdit: add some comments about sets in the EditMask.
git-svn-id: trunk@64902 -
|
2021-04-02 21:08:38 +00:00 |
|
bart
|
1402472897
|
LCL: start implemention sets in TMaskEdit. Experimental and disabled by default. Delphi does not support this.
Implementation may change in the future.
git-svn-id: trunk@64901 -
|
2021-04-02 20:55:07 +00:00 |
|
bart
|
ce7e9909e5
|
LCL: fix OpenDocument on Mac for folders. Issue #0038670. Patch by Trevor Roydhouse.
git-svn-id: trunk@64890 -
|
2021-03-29 15:46:18 +00:00 |
|
mattias
|
be1d17f306
|
lcl: gtk2: fixed freeing TLCLHandledKeyEvent while processing keys
git-svn-id: trunk@64889 -
|
2021-03-29 12:14:55 +00:00 |
|
michl
|
cafbad9bab
|
LCL: TFrame, TGroupBox: Set ParentBackGround to False if color is changed and visa versa as requested in German LazarusForum from wp. Related to 64871, 64872
git-svn-id: trunk@64882 -
|
2021-03-28 19:32:11 +00:00 |
|
juha
|
8a0e6f91ee
|
LCL-GTK3: Move ScreenToClient from winapi to TGtk3Widget. Improve setting FullScreen during creation. Issues #38669 and #38672.
git-svn-id: trunk@64881 -
|
2021-03-28 19:13:45 +00:00 |
|
juha
|
4c1f609650
|
LCL-GTK3: Allow maximizing main form during OnCreate. Issue #38669, patch from Anton Kavalenka.
git-svn-id: trunk@64879 -
|
2021-03-28 09:02:41 +00:00 |
|
juha
|
6fb06881e3
|
LCL-GTK3: Fix popUp menu position with component Click. Issue #38647, patch from Anton Kavalenka.
git-svn-id: trunk@64874 -
|
2021-03-27 18:36:34 +00:00 |
|
michl
|
23f7f0a5ad
|
LCL: Win32: Fixed wrong type cast
git-svn-id: trunk@64873 -
|
2021-03-27 13:17:56 +00:00 |
|
michl
|
6ffcd2744c
|
LCL: Win32: Fixed Frame.Color not change the color of frame. Issue #35229
git-svn-id: trunk@64872 -
|
2021-03-27 12:22:17 +00:00 |
|
ondrej
|
28e5806a74
|
LCL: groupbox: use csOpaque style if the groupbox shouldn't be transparent, publish ParentBackground
git-svn-id: trunk@64871 -
|
2021-03-26 09:17:12 +00:00 |
|
zeljko
|
09c43715cf
|
Qt5: fixed bug with wrong mouse offset inside TGroupBox. issue #38659
git-svn-id: trunk@64866 -
|
2021-03-24 18:10:54 +00:00 |
|
bart
|
e86f37adb5
|
MaskEdit: use Default intrinsic instead of FillChar.
git-svn-id: trunk@64865 -
|
2021-03-23 18:24:26 +00:00 |
|
bart
|
5d98b3c2f6
|
MaskEdit: rename a private methods and it's associated field, since the old names might be confusing after r64863 #2a08f9594b.
git-svn-id: trunk@64864 -
|
2021-03-23 17:40:33 +00:00 |
|
bart
|
2a08f9594b
|
MaskEdit: Use GetMask() to read FMask[]. Simplifies sanity checks.
git-svn-id: trunk@64863 -
|
2021-03-23 17:34:05 +00:00 |
|
bart
|
f1d1a12c70
|
MaskEdit: implement (a more flexible) DbgS overload for TMaskedType (for internal use only).
git-svn-id: trunk@64860 -
|
2021-03-22 20:55:53 +00:00 |
|
bart
|
b49b00dbf2
|
MaskEdit: fix comment about meaning of 'C' in EditMask
git-svn-id: trunk@64859 -
|
2021-03-22 20:39:06 +00:00 |
|
bart
|
37b2ac5c92
|
MaskEdit: Initialize the internal mask with new TMaskType Char_Invalid and raise an exception whenever upon read access FMask contains Char_Invalid.
git-svn-id: trunk@64858 -
|
2021-03-22 20:35:41 +00:00 |
|
zeljko
|
7b8b329d98
|
Qt5: Fixed TGroupBox margins & wrong mouse coordinates. fixes issues #32186 and #37576
git-svn-id: trunk@64857 -
|
2021-03-22 13:12:05 +00:00 |
|
wp
|
a1aea6a20a
|
LCL/TreeView: Fix OnExpand* events not firing any more after r64142 #2a0df745f0. Issue #38084.
git-svn-id: trunk@64855 -
|
2021-03-22 08:43:53 +00:00 |
|
bart
|
42133a87e9
|
MaskEdit: enforce upper/lowercase for Char_All*Up/DownCase
git-svn-id: trunk@64853 -
|
2021-03-21 21:18:41 +00:00 |
|
bart
|
66c44791cd
|
MaskEdit:
- 'C' in an EditMask means that any char is OK, except FSpaceChar (Delphi compatibility)
- fix some more range errors
git-svn-id: trunk@64850 -
|
2021-03-21 16:17:33 +00:00 |
|
bart
|
e224bb5467
|
MaskEdit: fix range error in SelectNextChar.
git-svn-id: trunk@64849 -
|
2021-03-21 15:38:49 +00:00 |
|
juha
|
c5c78f2c8b
|
LCL: Add widgetset support for TCustomListView.GetNextItem. Implement now for Win32. Issue #38565, patch from Remko Plantenga.
git-svn-id: trunk@64848 -
|
2021-03-21 08:31:45 +00:00 |
|
juha
|
0f0a63f6d9
|
LCL-GTK3: Improve alpha channel in bitmap drawing. Issue #38567, patch from Anton Kavalenka.
git-svn-id: trunk@64846 -
|
2021-03-21 07:23:53 +00:00 |
|
juha
|
01aadf340e
|
LCL-GTK3: Prevent a crash while exiting. Issue #38635, patch from Anton Kavalenka.
git-svn-id: trunk@64841 -
|
2021-03-20 10:16:33 +00:00 |
|
martin
|
82be1e231b
|
fix for g_value - propper init,set,unset
git-svn-id: trunk@64838 -
|
2021-03-19 21:05:36 +00:00 |
|
juha
|
692175a06d
|
LCL-GTK3: My own component renders empty caption. Issue #38621, patch by Anton Kavalenka.
git-svn-id: trunk@64836 -
|
2021-03-18 18:01:29 +00:00 |
|
dmitry
|
dff67d134c
|
lcl: update accessibility patch by David Jenkins. bug #38603
git-svn-id: trunk@64834 -
|
2021-03-18 02:48:41 +00:00 |
|
wp
|
77c4956c67
|
LCL/ShellCtrls: Undo r64821 #3ff38bdc82 for the ShellTreeView (does not display overlay icons; no speed advantage in contrast to ShellListView)
git-svn-id: trunk@64823 -
|
2021-03-16 09:28:30 +00:00 |
|
wp
|
3ff38bdc82
|
LCL/ShellCtrls: Speed-up of built-in shell icons (https://forum.lazarus.freepascal.org/index.php/topic,31625.msg397701.html#msg397701)
git-svn-id: trunk@64821 -
|
2021-03-15 21:53:49 +00:00 |
|
juha
|
1d097a9a7d
|
LCL-GTK3: Improve bitmap drawing etc. Issue #38567, patch from Anton Kavalenka.
git-svn-id: trunk@64802 -
|
2021-03-14 08:12:17 +00:00 |
|
michl
|
17e504a971
|
LCL: Win32: Fixed IDE crashes when ssAutoBoth is set for large Lines text. Issue #36192
git-svn-id: trunk@64796 -
|
2021-03-13 19:30:28 +00:00 |
|
bart
|
d87e10f082
|
TMaskEdit: implement rangechecking when accessing FMask.
git-svn-id: trunk@64792 -
|
2021-03-12 17:59:02 +00:00 |
|
bart
|
427fdc1588
|
TMaskEdit: rename FCursorPos to FCharPos and make it 1-based instead of 0-based. No functional changes.
git-svn-id: trunk@64791 -
|
2021-03-12 17:36:13 +00:00 |
|
juha
|
05b9887d74
|
LCL-GTK2 font handling (mainly affects ScaleBy). Issue #32917, patch from C Western.
git-svn-id: trunk@64789 -
|
2021-03-12 10:08:57 +00:00 |
|
juha
|
3d8db3b9fa
|
LCL-GTK2: Revert value for psDot painting back to 4096. Issue #38599, patch from Joeny Ang.
git-svn-id: trunk@64788 -
|
2021-03-12 07:19:38 +00:00 |
|
juha
|
1c2402a14a
|
LCL: Revert some optimizations with TStringListUTF8Fast. It must not be used when locale based sort order is needed. Issue #38612.
git-svn-id: trunk@64784 -
|
2021-03-11 18:03:35 +00:00 |
|
michl
|
ce01c83e72
|
LCL: Win32: Less hints
git-svn-id: trunk@64777 -
|
2021-03-10 17:27:41 +00:00 |
|
michl
|
e839e70441
|
LCL: Win32 less hints and removed invalid character
git-svn-id: trunk@64776 -
|
2021-03-10 17:15:06 +00:00 |
|
juha
|
5106c16eef
|
IDE: Scale the select button's icon in ComponentList. Issue #37887.
git-svn-id: trunk@64775 -
|
2021-03-10 08:56:20 +00:00 |
|
bart
|
7c5af88d6b
|
TMaskEdit: properly initialize ValidationErrorMode.
git-svn-id: trunk@64774 -
|
2021-03-09 18:13:20 +00:00 |
|
bart
|
92ed0fa61f
|
TMaskEdit: implement an experimental (and Delphi incompatible) way of handling validation errors using an event instead of an exception.
git-svn-id: trunk@64773 -
|
2021-03-09 18:08:48 +00:00 |
|
bart
|
d9085591b7
|
TMaskEdit: fix setting text when mask contains Date- or HourSeparator. Issue #0038606.
git-svn-id: trunk@64772 -
|
2021-03-09 17:08:30 +00:00 |
|
juha
|
2f12a0e5c0
|
LCL-GTK2: Improve rendering Dash/Dot Pen Styles for widths > 1. Issue #38599, patch from Joeny Ang.
git-svn-id: trunk@64770 -
|
2021-03-09 09:11:16 +00:00 |
|
juha
|
bddeba7ebf
|
LCL: Remove FUseCompareBookmarks hack from TBookmarkList.CheckActive. Issue #34834.
git-svn-id: trunk@64768 -
|
2021-03-08 08:15:52 +00:00 |
|
bart
|
e28c9c1e26
|
TMaskEdit: fix off by 1 error in DeleteChars.
git-svn-id: trunk@64767 -
|
2021-03-07 21:17:13 +00:00 |
|
wp
|
2c9ec4c1ed
|
LCL/ShellCtrls: Display default shell icons in TShellListView. Issue #18247.
git-svn-id: trunk@64764 -
|
2021-03-07 14:39:17 +00:00 |
|
juha
|
2fa9987008
|
IDE, Codetools: Simplify LoadAncestorDependencyHidden. Use "out" parameter when appropriate.
git-svn-id: trunk@64762 -
|
2021-03-07 13:24:51 +00:00 |
|
bart
|
07895b46b1
|
TMaskEdit: change internal datstructure, remove no longer needed functions.
- better code readability (IMHO).
- lifts the current restriction on the number of tMaskedTye enums we can have.
git-svn-id: trunk@64757 -
|
2021-03-06 18:49:05 +00:00 |
|
bart
|
86d7ce6416
|
TMaskEdit: some comment regarding FFirstFreePos and FCursorPos. No functional changes.
git-svn-id: trunk@64756 -
|
2021-03-06 10:48:27 +00:00 |
|
bart
|
3f1bd7f441
|
TMaskEdit: select first editable character after Reset.
git-svn-id: trunk@64755 -
|
2021-03-06 10:43:26 +00:00 |
|
marcus
|
2d998f5ce8
|
Fixed compilation of MUI Widgetset after r64747 #e431045dac
git-svn-id: trunk@64749 -
|
2021-03-05 16:33:59 +00:00 |
|
wp
|
e431045dac
|
LCL/ShellTreeView: Add ShellCtrls to widgetsets. Widgetset-based solution for automatic shell icons in TShellTreeView (implemented for win32 only).
git-svn-id: trunk@64747 -
|
2021-03-05 15:14:19 +00:00 |
|
juha
|
381d67724c
|
LCL: Do not wrap around in TCustomListView.GetNextItem with search direction = sdAll. Issue #38565.
git-svn-id: trunk@64746 -
|
2021-03-05 09:52:34 +00:00 |
|
juha
|
8fde568fcc
|
LCL: Synchronize CustomApplication with Application. At least unit CustomTimer uses it. Issue #38544.
git-svn-id: trunk@64745 -
|
2021-03-05 09:52:32 +00:00 |
|
bart
|
294a0a98c4
|
TMaskEdit: after deleting an extended selection, don't select a maskliteral. Reported in https://forum.lazarus.freepascal.org/index.php/topic,53557.0.html
git-svn-id: trunk@64744 -
|
2021-03-04 19:51:10 +00:00 |
|
juha
|
9046b533af
|
LazUtils: New LazStartsStr and similar functions. StartsStr etc. in StrUtils return False for empty sub-string, thus Delphi incompatible.
git-svn-id: trunk@64743 -
|
2021-03-04 08:58:54 +00:00 |
|
bart
|
20bd46fcf7
|
TMaskEdit: override SelectAll. Reported on forum: https://forum.lazarus.freepascal.org/index.php/topic,53557.0.html
git-svn-id: trunk@64741 -
|
2021-03-03 17:51:57 +00:00 |
|
juha
|
aa364c1cfc
|
LCL-GTK3: Fix TPanel paint. Issue #38562, patch from Anton Kavalenka.
git-svn-id: trunk@64740 -
|
2021-03-03 15:45:13 +00:00 |
|