Commit Graph

74 Commits

Author SHA1 Message Date
stasoid
ea3c8f7f33 cairo_container: fix handling of invalid list-style-image
page: https://en.wikipedia.org/wiki/UTF-8#Invalid_sequences_and_error_handling
culprit: ul{list-style-image:url(/w/skins/Vector/resources/common/images/bullet-icon.svg?d4515)}
(invalid because svg is not supported)
2022-03-26 20:12:55 +06:00
Yuri Kobets
5193a0af5c container_linux: avoid repeated loading of failed images 2021-11-08 00:48:00 +03:00
Yuri Kobets
91774bbc39 Fixed bug in Cairo CSS font handling (Windows) 2021-11-07 19:25:07 +03:00
Yuri Kobets
7d234d9a7e Use pango library as text renderer for container_linux 2021-11-07 03:53:00 +03:00
Yuri Kobets
1458495dd4 Merge branch 'master' of github.com:litehtml/litehtml 2021-11-05 20:22:19 +03:00
Yuri Kobets
beeb735ed3 Fixed bugs in fonts handling in container_linux 2021-11-05 20:21:49 +03:00
Yuri Kobets
eda357bded Fixed build errors on Windows 2021-11-05 03:33:14 +03:00
Yuri Kobets
aaf3fba8ed Updated container_linux 2021-11-05 01:47:15 +03:00
Yuri Kobets
58e92d6dc6 Extended support for ordered lists.
Supported list-style-type: decimal, decimal-leading-zero, lower/upper-latin, lower/upper-alpha, lower/upper-roman, lower-greek
2020-05-10 02:55:34 +03:00
Alex Zhondin
948930ad35 support ordered lists 2020-05-09 13:44:24 +03:00
Adam Fowler
eb433d8d66 Added rendering of html string 2020-01-01 10:44:08 -05:00
Adam Fowler
911a6daf73 Added rendered message sending 2019-12-31 11:47:37 -05:00
Adam Fowler
4a58d5099d First Haiku container implementation 2019-12-30 15:52:30 +00:00
Sky Morey
cd15b54730 Added testing 2019-08-17 20:26:08 -05:00
Yuri Kobets
7abfe7d83e cairo_container: compilation error fix for UTF8 configuration 2018-09-10 23:12:21 +03:00
NikitaFeodonit
3104c078dc Convert line delimiters to Unix style. 2018-05-25 17:05:49 +03:00
Yuri Kobets
013b065e94 Added support for custom color names. 2016-08-01 21:40:56 +03:00
Yuri Kobets
1ac842dd5f Fill media.width and media.height 2016-05-19 15:56:58 +03:00
Yuri Kobets
dfc2b9cfd5 Compile failed with gcc (fixes issue #33)
Updated container_linux for latest changes in litehtml.
2015-09-13 15:16:37 +03:00
Yuri Kobets
fcb2ac8fcc Some changes in containers to pass const shared_ptr<>& 2015-07-10 00:50:50 +03:00
Yuri Kobets
14208ecda0 using override keyword in cairo_container
added default implementation for document_container::link function
2015-07-06 23:39:44 +03:00
Yuri Kobets
192987ecc9 Fixed all bugs. Rendering working well. 2015-06-30 01:23:58 +03:00
Yuri Kobets
5c4ca572d5 Fixed linux container for the latest litehtml 2015-06-21 23:49:13 +03:00
Yuri Kobets
019969e721 Some fixes after merging latest pull requests 2015-06-21 22:24:51 +03:00
Julien Hamaide
3fdac9f1ce Support for lang selector 2015-06-20 23:43:28 +02:00
Yuri Kobets
0052754401 Some improvements int CMakeLists.txt and linux container. 2015-06-10 23:21:58 +03:00
Yuri Kobets
14fd7f4f7b Updated container_linux for the latest version of litehtml
Add CMakeLists.txt file to build litehtml with cmake
2015-06-02 01:00:20 +03:00
Yuri Kobets
ec0aa7c059 Merge pull request #10 from FishingCactus/fix_const_accessors_upstream
Constness with accessors
2015-05-18 17:16:44 +03:00
Pieter Vantorre
6a1475ed81 updated containers 2015-05-18 14:08:30 +02:00
Yuri Kobets
a03b171034 Added "litehtml::document* doc" parameter into document_container::create_element 2015-05-11 00:47:05 +03:00
Yuri Kobets
5f8874dacd draw_borders now accept litehtml::borders as parameter.
updated cairo_container for new draw_borders parameters and some fixes with the borders appearance.
2015-04-26 23:03:33 +03:00
Yuri Kobets
214558eaf5 Apply border radius to the boxes with hidden overflow. 2015-04-26 15:57:59 +03:00
Yuri Kobets
341f2a1ad4 Fixed: borders are not visible for <img> tag with border-radius.
Improvement: litehtml always convert border-radius units into px (even percent).
2015-04-12 19:54:13 +03:00
Yuri Kobets
7687d4f8c7 Added border-radius with percent value into cairo_container 2015-04-02 23:21:29 +03:00
Yuri Kobets
6fcafb1e03 Using shared_ptr for images in Win32 cairo_container. 2015-03-26 23:16:58 +03:00
Yuri Kobets
320b3beeb0 reset display in to block for floating elements
added attributes parameter into document_container::create_element
2015-01-11 04:15:05 +03:00
Yuri Kobets
944e023921 one small fix in the cairo_font to use the default font if the mapping failed. 2015-01-02 20:02:58 +03:00
Yuri Kobets
f074332c4c fixed some problems with fonts in cairo_container 2015-01-02 00:04:35 +03:00
Yuri Kobets
81af2a8162 fixed linux container 2014-10-23 02:41:48 +04:00
Yuri Kobets
4da59f1a89 tokenize function is replaced to split_string.
some fixes in CSS parsing.
2014-10-21 00:10:16 +04:00
Yuri Kobets
5630d68bc4 added cairo_container::remove_image, add_image with NULL image does not remove image from cache 2014-10-07 02:57:01 +04:00
Yuri Kobets
3454b1b7a1 delete image from cache by passing NULL into cairo_container::add_image 2014-10-06 06:29:48 +04:00
Yuri Kobets
3ca5fe3a7e container_linux is updated for latest litehtml changes 2014-10-05 06:03:25 +04:00
Yuri Kobets
5230f28ac7 Improved UTF8 support
define LITEHTML_UTF8 to compile litehtml with UTF8 support on Windows
document_container::toupper and document_container::tolower are replaced with
document_container::transform_text.
Added document::createFromUTF8 to parse UTF8 source.
Added word break on chars in CJK characters range.
2014-09-26 02:55:59 +04:00
Yuri Kobets
95c9efe9ac Added "bool root" parameter into document_container::draw_borders
This parameter is true for the root element (<html>).
2014-09-04 07:36:40 +04:00
yuri.kobets@gmail.com
f5d988a454 Updated cairo_container_linux for API changes 2014-08-14 18:39:01 +00:00
yuri.kobets@gmail.com
8a50df45b0 Added support for CSS media (@media at-rule, media attribute in <style> and <link> tags).
Fixed: the elements with the fixed position ignore the mouse events.
Fixed: Bugs when compile solution with Microsoft Visual Studio Express 2013 for Windows Desktop.
2014-08-14 00:24:07 +00:00
yuri.kobets@gmail.com
d3c9c5df6f Some optimization in tables rendering. 2014-07-28 21:45:20 +00:00
yuri.kobets@gmail.com
639ef3f4b9 Updated the container class for linux (containers/linux). Now with images support.
Updated litebrowser_linux to show websites.
Some changes to make code more compatible with linux.
2014-06-19 23:01:31 +00:00
yuri.kobets@gmail.com
e3485544b9 Some crashes fixed. 2014-02-13 22:59:45 +00:00