Commit Graph

438 Commits

Author SHA1 Message Date
Cristian Adam
61631095ca CMake build: Add LITEHTML_UTF8 build option
MinGW-w64 8.1.0 doesn't build on Windows by default, setting
LITEHTML_UTF8 makes the compile error go away.
2019-08-28 17:34:45 +02:00
Yuri Kobets
20c0db6f46
Merge pull request #95 from smorey2/master
Added tests, optimized text parsing for <script>
2019-08-19 00:22:28 +03:00
Sky Morey
f8cbdd789e Merge branch 'master' of github.com:smorey2/litehtml 2019-08-18 15:59:43 -05:00
Sky Morey
04d8b410c1 added tests, optimized text parsing for <script> 2019-08-18 15:58:26 -05:00
Sky Morey
dc969f0804 travis update 2019-08-18 15:47:03 -05:00
Sky Morey
5f2ba0909e travis change 2019-08-18 15:41:12 -05:00
Sky Morey
1444f57e77 added tests, and travis.yml 2019-08-18 15:36:13 -05:00
Sky Morey
b4e161cdc6 travis 2019-08-18 15:32:02 -05:00
Sky Morey
29928ba424 fixed tests, optimized script text parsing 2019-08-18 15:25:57 -05:00
Sky Morey
cd15b54730 Added testing 2019-08-17 20:26:08 -05:00
Yuri Kobets
9b5cb9923f
Merge pull request #94 from smorey2/master
missing or incorrect code
2019-08-15 09:36:10 +03:00
Sky Morey
0dcebff88e updates 2019-08-14 22:09:45 -05:00
Sky Morey
6ecc1358cf coding errors 2019-08-08 19:15:22 -05:00
Yuri Kobets
122de067b7
Merge pull request #92 from e4z9/master
Add install target and export for use with find_package
2019-08-02 23:55:30 +03:00
Eike Ziller
76b7b90b95 Add install target and export for use with find_package
Installing litehtml now installs the static library,
headers, and CMake configuration files.
So other projects can find and use litehtml with
find_package(litehtml)
when they add the litehtml installation path to CMAKE_PREFIX_PATH
2019-08-02 19:52:30 +02:00
Yuri Kobets
7a9d7f8511
Update README.md 2019-06-24 18:19:59 +03:00
Yuri Kobets
b4c560cdc4
Update README.md 2019-06-21 23:16:13 +03:00
Yuri Kobets
d79e800939 Fixed: Incorrect parsing of CSS properties with url() and semicolon inside.
Resolves issue #89
2019-06-17 00:43:53 +03:00
Yuri Kobets
f4d2a7740e litehtml.vcproj is removed 2019-05-15 01:14:12 +03:00
Arkarit
44c5574318 Made element attribute getter const 2019-05-15 01:07:30 +03:00
Arkarit
9cc3d3ad1a Defined const_ptr in element and let document get_over_element return this const pointer 2019-05-15 01:07:29 +03:00
Arkarit
1fb26b31fd Getter for document.over_element Necessary for e.g. evaluating the target link display of a status bar 2019-05-15 01:07:29 +03:00
Yuri Kobets
3c8a9e6fd0
Merge pull request #83 from kuzmas/master
Do not modify global locale…
2019-05-15 00:53:35 +03:00
Kuzma Shapran
0f60fec822 Do not modify global locale and use classic locale on every call to tolower.
Fixes https://github.com/litehtml/litehtml/issues/82
2019-04-10 11:30:44 +12:00
Yuri Kobets
f3f4959f1d Added config file support 2019-01-07 21:41:29 +03:00
Yuri Kobets
f571ef0172 Fixed parsing CSS at-rules
Closes #74
2018-09-16 22:14:44 +03:00
Yuri Kobets
1d4c939161
Merge pull request #76 from litehtml/HtmlGrapheas
Some changes after HtmlGrapheas pull request
2018-09-10 23:33:57 +03:00
Yuri Kobets
7abfe7d83e cairo_container: compilation error fix for UTF8 configuration 2018-09-10 23:12:21 +03:00
Yuri Kobets
6cc288e1ed Updated Visual Studio project file 2018-09-10 23:10:59 +03:00
Yuri Kobets
f9a1204e9e
Merge pull request #71 from HtmlGrapheas/master
Fixes for compilation for many platforms.
2018-09-10 22:30:48 +03:00
NikitaFeodonit
3320aa4898 Fixes for compilation for many platforms.
Split gubmo and litehtml to different CMake projects with different
compile languages.
Move 'src/strings.h' to 'src/gumbo/visualc/include/strings.h'.
Remove '../src/' in '#include' directive in litehtml.h and
add target_include_directories() in CMake project.
Set C/C++ standard flags by set_target_properties() in CMake project.
Do not set build type and C/C++ compiler flags in library project.
2018-05-25 20:24:53 +03:00
NikitaFeodonit
a45d5d5822 Mark html_tag::select_all() as override. 2018-05-25 19:10:57 +03:00
NikitaFeodonit
5515b347a4 Replace '#pragme once' to '#ifndef' because of Eclipse code parser. 2018-05-25 18:21:58 +03:00
NikitaFeodonit
3104c078dc Convert line delimiters to Unix style. 2018-05-25 17:05:49 +03:00
Yuri Kobets
4a020620da Merge pull request #68 from Fallayn/patch-1
Proofread README.md
2017-10-21 18:29:16 +03:00
Fallayn
ae1c1f8afd Proofread README.md 2017-10-21 17:18:07 +02:00
Yuri Kobets
d7cc6abfe1 Merge pull request #63 from joesingo/master
Fix Markdown formatting in README
2017-04-07 09:08:29 +03:00
Joe Singleton
204938d548 Fix Markdown formatting in README 2017-04-04 23:38:03 +01:00
Yuri Kobets
13cf9e27bd Fixed bug with parsing CSS properties background and border. 2016-08-04 21:28:39 +03:00
Yuri Kobets
4f9c99e1a0 Added the default implementation for document_container::resolve_color 2016-08-04 21:26:57 +03:00
Yuri Kobets
013b065e94 Added support for custom color names. 2016-08-01 21:40:56 +03:00
Yuri Kobets
6b9670108f Merge pull request #55 from ReadmeCritic/master
Update README URLs based on HTTP redirects
2016-06-27 19:38:11 +04:00
ReadmeCritic
412a4abb59 Update README URLs based on HTTP redirects 2016-06-27 08:10:50 -07:00
Yuri Kobets
320810f2f4 Set default build type into Release (Closes #35) 2016-06-22 09:19:09 +03:00
Yuri Kobets
1ac842dd5f Fill media.width and media.height 2016-05-19 15:56:58 +03:00
Yuri Kobets
4b8fd364ad Don't check max-width on the second pass of rendering
Fixes #53
2016-05-13 17:04:06 +03:00
Yuri Kobets
68f4e20177 Fixed: line left position is incorrect in element with left padding and floated box in the padding area.
This closes #51
2016-03-30 23:35:34 +03:00
Yuri Kobets
4e9c2c9998 Fixed html_tag::get_inline_boxes: the additional box for right padding is not needed
Fixed html_tag::is_last_child_inline: worked as is_first_child_inline
2016-03-30 22:42:06 +03:00
Yuri Kobets
21a49fe27d Merge pull request #48 from vinzenz/master
CMAKE Use -std=c++11 for all configurations
2016-02-02 03:51:28 +03:00
Vinzenz Feenstra
b14f58d2c5 CMAKE Use -std=c++11 for all configurations 2016-02-01 09:15:30 +01:00