Commit Graph

23 Commits

Author SHA1 Message Date
stasoid
f429a3a101 disable gumbo warnings in VS
`add_compile_options(/wd4244 /wd4267)` is deliberately placed separately from `target_include_directories(${PROJECT_NAME} PRIVATE visualc/include)`:
- if `add_compile_options` is placed after `target_include_directories`, options are not applied
- if `target_include_directories` is placed together with `add_compile_options` (before `add_library`) then cmake fails
Looks like `add_compile_options` should be called before `add_library`,
and `target_include_directories` should be called after `add_library`.
2024-05-11 13:21:22 +03:00
stasoid
64e29c3a56 fix Visual Studio build 2024-04-22 00:11:45 +03:00
stasoid
8407a72bb0 fix litebrowser build 2024-04-10 11:08:07 +05:00
Yuri Kobets
9aa61b2daa windows: added new files to the project file 2024-03-31 02:41:10 +03:00
stasoid
55612fcc7c Convert property_value to use std::variant 2024-03-23 20:07:28 +05:00
stasoid
4cd7347888 Support standard HTML character encodings 2024-03-05 12:11:29 +03:00
Yuri Kobets
36dad99d7a updated Visual Studio project 2024-02-24 01:41:14 +03:00
Yuri Kobets
42632777fb Fix compile bugs on Windows 2023-10-18 03:56:58 +03:00
stasoid
f7e10d0985 remove background.cpp 2023-02-25 12:23:23 +06:00
stasoid
28a2831518 support multiple background images 2023-02-25 10:33:42 +06:00
stasoid
56c31aac10 remove attributes.h 2022-11-17 05:38:58 +06:00
stasoid
8c7621034f parse_styles optimization: use string_id for CSS property names
decreases parse_styles time by 37% (750 ms -> 468 ms on Obama wiki on my machine)
2022-11-07 22:11:00 +06:00
stasoid
d00f5d032b create document_container.h/cpp 2022-10-30 19:07:55 +06:00
stasoid
8927a44515 Remove litehtml::context, replace master.css -> master_css.h and make document::createFromString receive master/user css as strings
closes issue #219
2022-10-30 16:25:56 +06:00
stasoid
a6177d1d5e remove wchar support
closes issue #217
2022-10-21 17:51:29 +06:00
Yuri Kobets
ff0e7c73bd Fixed: compilation is failed on Windows 2022-09-17 23:44:43 +03:00
Tig Kindel
62d80a332d Upgraded to VS2022 2022-08-10 15:28:59 -06:00
Tig Kindel
1c4c9b49a8 merge 2022-08-10 15:17:19 -06:00
Yuri Kobets
eda357bded Fixed build errors on Windows 2021-11-05 03:33:14 +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
Charlie Kindel
433da5df8c Fix for building litehtmlbrowser in VS2016 2020-02-16 16:44:23 +01:00
Yuri Kobets
94996b27af Removed gumbo.h from document.h, moved VS project into top directory, compile fix in src/html_tag.cpp 2019-09-29 14:30:14 +03:00