Commit Graph

49197 Commits

Author SHA1 Message Date
bart
7ccb2f58d2 Win32: first attempt to implement TWin32WidgetSet.FontIsMonoSpace. Issue #0028898.
git-svn-id: trunk@51983 -
2016-03-18 16:45:35 +00:00
ondrej
fcdb715877 win32: spin edit: reverting accidentially commited code in r51981 #1d676f1919
git-svn-id: trunk@51982 -
2016-03-18 13:56:59 +00:00
ondrej
1d676f1919 win32: spin edit: erase not painted space between buttons.
git-svn-id: trunk@51981 -
2016-03-18 13:53:38 +00:00
jesus
54cfaed2a6 LCL, grids: fixes MouseToGridZone which in some cases failed to return gzInvalid (related to r51914 #5224c3c339), fixes issue #29842
git-svn-id: trunk@51980 -
2016-03-17 21:15:58 +00:00
sekelsenmat
88029919d6 fpvectorial: Improves the positioning of SVG inside tables
git-svn-id: trunk@51979 -
2016-03-17 12:20:00 +00:00
bart
7c9fc905a6 LazUtf8: In UTF8CompareStrCollated only call AnsiCompareStr is ACP_RTL is defined, since in all other cases
AnsiCompareStr = widestringmanager.CompareStrAnsiStringProc = UTF8CompareStr.
If ACP_RTL is not defined call Utf8CompareStr, since this is now does proper collation and is faster than
converting to WideString.

git-svn-id: trunk@51978 -
2016-03-17 12:07:57 +00:00
bart
77e5428b3f LazUtf8: firts attempt to rewrite Utf8CompareStr and Utf8CompareText so that it's results will be more consistent with
AnsiCompareStr/WideCompareStr and AnsiCompareTex/WideCompareText.
(
The old implementation was in effect a copy of CompareStr and, this made the claim about proper collation in
Utf8CompareText (which uses Utf8CompareStr) rather ludicrous.
The new implementaion is slower, mainly becaus of the fact we cannot use CompareMemrange/CompareByte anymore,
and we have to iterate the bytes ourselves. This fact alone contributes much more to the loss in speed than
the fact we use WideCompareStr on the 2 differing codepoints:
- iterating in a for loop: adss a factor of appr. 10 to the time needed
- using the final WideCompareStr adds a factor of about 1.6 to the time meeded.
Because of the slowdown in speed in Utf8CompareStr, Utf8CompareText now calls WideCompareText directly, which is
now appr. the same speed as converting to lowercase and then calling Utf8CompareStr
)

git-svn-id: trunk@51977 -
2016-03-17 11:38:56 +00:00
ondrej
c61e060c8f win32: spin edit: disable WM_ERASEBKGND - solves painting issues and flicker
git-svn-id: trunk@51976 -
2016-03-17 11:18:26 +00:00
ondrej
0c8bbd0f25 win32: spin edit: fix placement for bsNone
git-svn-id: trunk@51975 -
2016-03-17 10:55:10 +00:00
juha
33013ddac8 LCL: Don't set Parent for a standalone form. Issue #18710, patch from cobines.
git-svn-id: trunk@51974 -
2016-03-17 10:52:19 +00:00
bart
b192fb9760 LazUtf8: Refactor UTF8FindNearestCharStart. Resolves Issue #0029851.
git-svn-id: trunk@51973 -
2016-03-17 10:42:52 +00:00
bart
34be9ae2d0 LazUtf8: implement Utf8TryFindCodepointStart.
git-svn-id: trunk@51972 -
2016-03-17 10:39:52 +00:00
ondrej
4642421795 win32: better spin edit (spin placed inside edit)
git-svn-id: trunk@51971 -
2016-03-17 10:26:20 +00:00
ondrej
ae57408e17 docs: add fugue icons to acknowledgements
git-svn-id: trunk@51970 -
2016-03-17 08:58:39 +00:00
ondrej
705328d2e1 components: datetime picker: rewrite drop down drawing, use themes by default
git-svn-id: trunk@51969 -
2016-03-17 08:06:00 +00:00
ondrej
516b7dd2cc components: datetime picker: add FlatButton property
git-svn-id: trunk@51968 -
2016-03-17 07:04:35 +00:00
ondrej
6850c3787f components: datetimepicker: invoke Change/OnChange also when DateTime was changed programatically (like edit).
git-svn-id: trunk@51967 -
2016-03-17 06:58:50 +00:00
ondrej
bc17ed1345 lcl: updown: add flat property.
git-svn-id: trunk@51966 -
2016-03-17 06:57:22 +00:00
sekelsenmat
4111ab4964 fpvectorial: Multiline text finally fixed without breaking images
git-svn-id: trunk@51965 -
2016-03-16 20:46:21 +00:00
sekelsenmat
7ee06844a2 fpvectorial: Minor changes
git-svn-id: trunk@51964 -
2016-03-16 20:41:16 +00:00
sekelsenmat
a5e03310ce fpvectorial: Fixes bug where sometimes text would be drawn with white font due to lack of propagation of background color through table drawing
git-svn-id: trunk@51963 -
2016-03-16 20:25:57 +00:00
juha
31428e33d6 LCL: Fix the unfired OnClick event issue better. Issue #29845, patch from FTurtle.
git-svn-id: trunk@51962 -
2016-03-16 12:51:20 +00:00
sekelsenmat
feaab08673 fpvectorial: Reverts fix for multiline text
git-svn-id: trunk@51961 -
2016-03-16 11:28:29 +00:00
sekelsenmat
3afa6fb8de fpvectorial: Fixes issue introduced by last commit
git-svn-id: trunk@51960 -
2016-03-16 11:20:06 +00:00
sekelsenmat
d7aa15e3e2 fpvectorial-html: (last commit fixed inverted vectorial image rendering) Fixes multiline text inside table cells
git-svn-id: trunk@51959 -
2016-03-16 11:11:00 +00:00
sekelsenmat
5aa799810a fpvectorial-html: Fixes bug in positioning of raster image inside table, fixes crash in table without caption
git-svn-id: trunk@51958 -
2016-03-16 10:59:05 +00:00
juha
d93952201f LazUtils: Fix compilation on darwin. Issue #29843, patch from lks.
git-svn-id: trunk@51957 -
2016-03-16 07:05:26 +00:00
ondrej
ad30a9f3e2 components: datetime picker: keep parent form active when calendar window is shown (win32 only, should do nothing on other OS)
git-svn-id: trunk@51956 -
2016-03-15 21:24:58 +00:00
juha
1ec8af0aab LCL: Clear variables in TRadioGroup so that OnClick gets fired. Issue #29845, patch from Luca Bertoncini.
git-svn-id: trunk@51955 -
2016-03-15 21:16:50 +00:00
juha
5d75afb30f Order uses sections.
git-svn-id: trunk@51954 -
2016-03-15 21:16:43 +00:00
sekelsenmat
421e396441 fpvectorial: Improves html with images on tables
git-svn-id: trunk@51953 -
2016-03-15 16:26:12 +00:00
sekelsenmat
76f8f165ea fpvectorial: Fixes crash
git-svn-id: trunk@51952 -
2016-03-15 16:04:51 +00:00
sekelsenmat
ee424ff37f fpvectorial-html: Implements support for inline html text, fixes column size construction when Page size is zero (unknown), fixes support for </br>
git-svn-id: trunk@51951 -
2016-03-15 15:17:31 +00:00
juha
4b11aaff8c Designer: Prevent copying/cutting TCustomTabControl and TCustomPage. Can lead to halt or crash.
git-svn-id: trunk@51950 -
2016-03-15 11:22:28 +00:00
juha
2ac2eea1d5 IDE: Minor optimization, keep value from Designer.CanCopy in boolean variables.
git-svn-id: trunk@51949 -
2016-03-15 11:22:26 +00:00
juha
c44a316e99 LCL: Improve a debug msg when destroying a component with LCLRefCount>0.
git-svn-id: trunk@51948 -
2016-03-15 11:22:21 +00:00
wp
0c321120f7 turbopower_ipro: Fix browser example crashing at program end.
git-svn-id: trunk@51947 -
2016-03-15 10:48:37 +00:00
ondrej
7d9e0c48b3 lcl: grouped edit: don't use spacing if buddy isn't visible.
git-svn-id: trunk@51946 -
2016-03-15 10:01:04 +00:00
ondrej
335c6cd563 ide: DiskDiffsDlg: add AutoCheckModifiedFiles check box
git-svn-id: trunk@51945 -
2016-03-15 09:41:46 +00:00
ondrej
34015a1f71 ide: less aggressive run icon. Issue #29832
git-svn-id: trunk@51944 -
2016-03-15 08:20:54 +00:00
wp
abfbcfd7af wikiconvert: Fix compilation of wikiconvert after removal of WrapperFunctions
git-svn-id: trunk@51943 -
2016-03-14 23:13:42 +00:00
maxim
73cb7c5ad0 IDE: fixed typo (Degugging -> Debugging)
git-svn-id: trunk@51942 -
2016-03-14 23:02:49 +00:00
juha
2cf6a6a1ab LCL: Enable Refresh-Button in TDBNavigator when doing a Readonly-Query. Issue #24489, patch from Joe Merten.
git-svn-id: trunk@51941 -
2016-03-14 20:08:11 +00:00
juha
c541c3873e LCL: Change TDBImage.UpdateData to virtual. Issue #24539.
git-svn-id: trunk@51940 -
2016-03-14 19:59:50 +00:00
juha
495f63cd83 LCL: Fix MainUnit links in DB controls' include files.
git-svn-id: trunk@51939 -
2016-03-14 19:59:45 +00:00
juha
ff3dd2b421 IDE: Prevent left-over lines in key mapping Treeviews after moving splitter. Issue #28706, patch from Balázs Székely.
git-svn-id: trunk@51938 -
2016-03-14 17:01:39 +00:00
mattias
51aa9e7e21 lazutils: docs
git-svn-id: trunk@51937 -
2016-03-14 15:22:40 +00:00
juha
29844d46a5 IdeIntf: Add a ButtonPanel and icons for buttons in Select Properties dialog.
git-svn-id: trunk@51936 -
2016-03-14 12:41:23 +00:00
ondrej
c53ffab2f5 ide: Run without Debugging: use process instead of tool. Issue #29832
git-svn-id: trunk@51935 -
2016-03-14 09:59:58 +00:00
juha
2ae6dc4a61 IDE: Add keymapping "Windows to MacOS". Issue #28658, patch from Alexey Torgashin.
git-svn-id: trunk@51934 -
2016-03-14 09:58:59 +00:00