Commit Graph

242 Commits

Author SHA1 Message Date
wp_xyz
599b6f0df5 Turbopower_ipro: Fix usage of "dir" attribute in TIpHtmlNodeCORE descendants (RTL). 2022-05-29 16:15:19 +02:00
wp_xyz
92ed8ecb60 Turbopower_ipro: Move specialized HTML node classes to new separate unit IpHtmlNodes. 2022-05-29 12:24:48 +02:00
wp_xyz
e9948b6fa4 Turbopower_ipro: Move general declarations and general-purpose classes from unit IpHtml to new units IpHtmlTypes and IpHtmlClasses, respectively. 2022-05-28 17:49:29 +02:00
wp_xyz
db6f77000b Turbopower_ipro: Cleanup 2022-05-28 15:54:09 +02:00
wp_xyz
2a2e52711b Turbopower_ipro: Fix RTL rendering of a html page, based on patch by serbod (Issues #26938 and #38531). Add tests for RTL and table column widths. 2022-05-27 23:25:26 +02:00
wp_xyz
a556f841f2 Turbopower_ipro: More test cases (tables, lists). 2022-05-27 16:00:16 +02:00
wp_xyz
4a9da60a1d Turbopower_ipro: Refactor unit ipHtml by extracting parser into separate unit. 2022-05-27 16:00:16 +02:00
wp_xyz
282e47bb8a Revert unintentionally committed files 2022-05-24 15:38:36 +02:00
wp_xyz
afa0c12e15 Examples/FontEnum: Fix selection of italic fonts (https://forum.lazarus.freepascal.org/index.php/topic,59444.msg443180). 2022-05-24 15:35:00 +02:00
wp_xyz
d6828c434c Turbopower_ipro: Fix handling of a <br> tag after a table. 2022-05-20 22:19:23 +02:00
mattias
87b504cf7b ipro: range check font size and fixed mem leak 2021-11-12 16:32:14 +01:00
mattias
69249de79e turbopower_ipro: fixed visibility
git-svn-id: trunk@65101 -
2021-05-10 13:52:44 +00:00
wp
34fc70c20f TurboPower_IPro: Add event OnHotURL which provides the URL in the mouse-over-hyperlink hint window.
git-svn-id: trunk@64995 -
2021-04-14 17:44:42 +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
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
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
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
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
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
juha
368225808a LCL: Remove deprecated TComboBox.ReadOnly.
git-svn-id: trunk@63110 -
2020-05-01 21:12:54 +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
mattias
9a053d23fd turbopower_ipro: fixed override
git-svn-id: trunk@60114 -
2019-01-19 17:38:41 +00:00
wp
0149572394 TurboPower_iPro: Fix line spacing of <br> tag. Issue #34803.
git-svn-id: trunk@59982 -
2019-01-03 17:49:54 +00:00
wp
f81341b8f8 Turbopower_Ipro: Another background-color related change forgotten in previous commit (maybe not needed).
git-svn-id: trunk@59465 -
2018-11-06 09:46:29 +00:00
wp
60344a6729 TurboPower_ipro: Fix IpHtmlPanel.BgColor and publish it (https://forum.lazarus.freepascal.org/index.php/topic,43116.msg301350.html).
git-svn-id: trunk@59464 -
2018-11-06 09:21:49 +00:00
wp
b0a2ee83dc TurboPower_iPro: Fix font used by tag <samp>
git-svn-id: trunk@59317 -
2018-10-18 10:13:01 +00:00
mattias
08eec7aad8 turbopower_ipro: less hints
git-svn-id: trunk@59218 -
2018-10-01 15:14:34 +00:00
wp
6d06c805d5 TurboPower_ipro: Add text alignment support for some more html tags.
git-svn-id: trunk@58914 -
2018-09-08 21:39:04 +00:00