Commit Graph

576 Commits

Author SHA1 Message Date
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
juha
dfb8608d9a SynEdit: Restore Copy() calls. SetLength() may make a string longer with garbage in the end.
git-svn-id: trunk@64730 -
2021-03-03 10:21:52 +00:00
wp
0b71099783 Components: Add copyright notes to all folders to which Roland Hahn has contributed images.
git-svn-id: trunk@64663 -
2021-02-24 22:17:51 +00:00
juha
3f78f0d62d New optimized functions in LazUtils: FilenameExtIs and FilenameExtIn. Used instead of CompareFileExt and similar.
git-svn-id: trunk@64583 -
2021-02-15 08:43:50 +00:00
mattias
62c37ad72a updated Makefiles
git-svn-id: trunk@64567 -
2021-02-13 13:01:14 +00:00
juha
9ac53dd983 IPro: Fix compilation.
git-svn-id: trunk@64528 -
2021-02-11 14:42:20 +00:00
juha
077ebbe494 Optimise string manipulation. Reduce calls to Copy().
git-svn-id: trunk@64527 -
2021-02-11 14:08:24 +00:00
juha
77e6853ca6 Components: Reduce calls to LowerCase().
git-svn-id: trunk@64515 -
2021-02-10 13:43:15 +00:00
juha
b53ad7ceed Components: Reduce calls to UpperCase() and LowerCase(). Improves performance.
git-svn-id: trunk@64506 -
2021-02-08 19:09:30 +00:00
juha
6a07271f31 Pas2js, SynEdit, TAChart, IPro: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64463 -
2021-02-05 11:28:05 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
wp
87d24869e1 TurboPower_ipro: Fix text background in printing.
git-svn-id: trunk@64375 -
2021-01-10 22:28:24 +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
wp
a0dd8b81d2 TurboPower_ipro: Fix drawing of transparent background images.
git-svn-id: trunk@64356 -
2021-01-08 17:46:36 +00:00
wp
f655e86d24 TurboPower_ipro: Fix opaque text.
git-svn-id: trunk@64354 -
2021-01-08 15:55:24 +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
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
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
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
wp
d9b1507320 TurboPower_iPro: Call OnPaint from TIpHtmlInternalPanel instead of calling IpHtmlCustomPanel's inherited Paint. (issue #38204).
git-svn-id: trunk@64202 -
2020-12-13 21:12:10 +00:00
wp
29c601614e TurboPower_iPro: Avoid unnecessary painting operations (issue #38204, patch by serbod). Make OnPaint event available.
git-svn-id: trunk@64201 -
2020-12-13 16:27:01 +00:00
juha
618261511d LCL: Remove tests for FPC versions 2.x. Cannot be used anyway.
git-svn-id: trunk@64120 -
2020-11-10 09:50:20 +00:00
juha
8fe85cc110 TurboPower_iPro: Remove Delphi specific defines and comments. Issue #37990, patch from Zaher Dirkey.
git-svn-id: trunk@64099 -
2020-11-02 10:04:43 +00:00
juha
d75f2eda2b TurboPower_iPro: Remove Delphi compatibility {$ifdef IP_LAZARUS}. Did not work with Delphi anyways. Issue #37990, patch from Zaher Dirkey.
git-svn-id: trunk@64097 -
2020-11-01 10:37:53 +00:00
wp
24575cfd7c TurboPower_iPro: Fix IpHtmlPanel ignoring text encoding defined by <meta charset="..."> tag. Patch by Zaher Dirkey, issue #37374.
git-svn-id: trunk@64092 -
2020-10-31 09:58:08 +00:00
wp
ba446c3a93 TurboPower_iPro: Fix UTF8 issue in a way that ConvertEncoding is not called if text is already UTF8 encoded. Issue #37992.
git-svn-id: trunk@64088 -
2020-10-29 23:08:58 +00:00
wp
1c839c1369 TurboPower_iPro: Better fix to encoding issue than r64079 #75bc98773e. Issue #37992.
git-svn-id: trunk@64080 -
2020-10-28 11:52:52 +00:00
wp
75bc98773e TurboPower_iPro: Fix another location where IpHtml tries to switch to the system code page.
git-svn-id: trunk@64079 -
2020-10-28 11:34:39 +00:00
wp
9c4f8b738e TurboPower_iPro: Use UTF-8 as default encoding of documents without meta tag. Issue #37992, patch by Zaher Dirkey.
git-svn-id: trunk@64078 -
2020-10-27 10:50:23 +00:00
wp
daa1794176 TurboPower_iPro: Rename TIpHtml.FParent to TIpHtml.FControlParent. Better handling of TIpHtmlNodeBUTTON captions.
git-svn-id: trunk@64059 -
2020-10-23 10:14:02 +00:00
wp
4aef0be3b0 TurboPower_iPro: Undo part of r64045 #9244e15009, introduce TIpHtml.Parent for TIpHtmlNodeButton.Control. Issue #37927, patch by Zaher Dirkey.
git-svn-id: trunk@64051 -
2020-10-22 14:58:52 +00:00
wp
9244e15009 TurboPower_iPro: Fix inability to add buttons to the IpHtmlPanel on the fly. Make "Body" a public read-only property of TIpHtml. Issue #37927, based on patch by Zaher Dirkey.
git-svn-id: trunk@64045 -
2020-10-21 17:57:37 +00:00
wp
9f1793cc6b TurboPower_iPro: Replace color values of -1 by clNone. Patch by Zaher Dirkey, issue #37944
git-svn-id: trunk@64043 -
2020-10-17 20:17:31 +00:00
wp
c2bd8a0b1e TurboPower_iPro: Fix r64028 #70240d5335 for black background color. Issue #37930, patch by Zaher Dirkey.
git-svn-id: trunk@64036 -
2020-10-17 09:37:11 +00:00
wp
70240d5335 TurboPower_iPro: Add "inherited Create" to all classes in iphtml.pas inheriting from TObject (to simplify switching to a different base class if needed). Patch by Zaher Dirkey, issue #37930).
git-svn-id: trunk@64028 -
2020-10-16 15:35:17 +00:00
wp
1159625e7b TurboPower_iPro: Add method SetHtmlFromFile (issue #37930, modified patch by Zaher Dirkey). Refactor SetHtmlFromStr.
git-svn-id: trunk@64024 -
2020-10-16 09:17:49 +00:00
martin
46e375aef5 TurboPowerIPro: workaround for issue #37574 // Allocate a larger amount of memory, to lessen the likelihood of an access violation
git-svn-id: trunk@63746 -
2020-08-15 13:05:56 +00:00
mattias
61c53d6f41 LazUtils/FreeType: Separate FreeType stuff into its own package
git-svn-id: trunk@63558 -
2020-07-14 18:09:17 +00:00
mattias
8ceb09a67b make: changed default darwin lcl platform from carbon to cocoa
git-svn-id: trunk@63551 -
2020-07-13 09:00:41 +00:00
maxim
8a7112535d Translations: Chinese translation update by robsean, bug #37290
git-svn-id: trunk@63485 -
2020-07-01 21:39:48 +00:00
mattias
9dcd9ee04d updated makefiles
git-svn-id: trunk@63453 -
2020-06-28 11:01:41 +00:00
maxim
42b490a925 IPro: use IDEIntf resource strings for design-time package
git-svn-id: trunk@63351 -
2020-06-12 22:28:03 +00:00
maxim
f6530f1e62 IPro: moved all resource strings to ipconst.pas, merged translations accordingly
git-svn-id: trunk@63348 -
2020-06-12 16:49:36 +00:00
maxim
86b6fc7afe IPro: removed unused/unneeded resource strings
git-svn-id: trunk@63347 -
2020-06-12 16:07:19 +00:00
juha
368225808a LCL: Remove deprecated TComboBox.ReadOnly.
git-svn-id: trunk@63110 -
2020-05-01 21:12:54 +00:00
juha
651a6436a2 Support Haiku build. Makefiles are generated from Makefile.fpc files using proper tools. Issue #36316, patch from Alfred.
git-svn-id: trunk@62890 -
2020-04-05 11:35:01 +00:00
mattias
a472e9ef09 buildintf: split from ideintf
git-svn-id: trunk@62795 -
2020-03-22 11:58:11 +00:00
wp
9cbac76ac1 TurboPower_ipro: Add new TIpHtmlPanel property FontQuality (https://forum.lazarus.freepascal.org/index.php/topic,47229.msg337729.html#msg337729). Publish property BorderSpacing.
git-svn-id: trunk@62146 -
2019-10-29 17:52:15 +00:00
wp
9f17767ea1 turbopower_ipro: Activate LCLScaling in examples.
git-svn-id: trunk@62141 -
2019-10-28 18:43:39 +00:00