Commit Graph

951 Commits

Author SHA1 Message Date
stasoid
1f7ec67eed fix linux build 2024-03-05 12:11:29 +03:00
stasoid
4cd7347888 Support standard HTML character encodings 2024-03-05 12:11:29 +03:00
Yuri Kobets
289c153aa6 flex: bug in processing box-sizing in flex items (#295) 2024-02-26 03:10:11 +03:00
Yuri Kobets
54d830fb52
Merge pull request #302 from litehtml/common_cairo_container
Common cairo container
2024-02-25 19:59:24 +03:00
Yuri Kobets
738275bc30 Revert "Fix windows build issues."
This reverts commit e8788a97ef.
2024-02-25 19:40:52 +03:00
Yuri Kobets
6759ea54f8 fix: assert on windows debug version 2024-02-25 19:20:58 +03:00
Yuri Kobets
04628a323f Check if NOMINMAX is not defined 2024-02-25 19:15:30 +03:00
Yuri Kobets
6bb1d4160d Merge branch 'master' into common_cairo_container 2024-02-25 18:35:41 +03:00
Yuri Kobets
6a0cb81436 reserve methon of cairo_images_cache return true if reserved something 2024-02-25 17:59:23 +03:00
Yuri Kobets
a71d6f5cd1 some changes in windws container 2024-02-25 17:41:00 +03:00
Yuri Kobets
6044a59826 added simple images cache for cairo based containers 2024-02-24 16:57:22 +03:00
Yuri Kobets
5b01238129
Merge pull request #300 from m32/master
-Wpedantic in g++ makes lots of warnings
2024-02-24 03:45:03 +03:00
Grzegorz Makarewicz
4e73b58ee1
Merge branch 'litehtml:master' into master 2024-02-24 01:09:58 +01:00
Yuri Kobets
36dad99d7a updated Visual Studio project 2024-02-24 01:41:14 +03:00
Yuri Kobets
fe84eff36b Change location of containers
Now:
* cairo - contains cairo container
* windows - contains containers for windows
2024-02-24 00:20:45 +03:00
Yuri Kobets
e7d4ef08d0 Move text backend from container_linux to cairo_pango 2024-02-23 18:37:36 +03:00
Yuri Kobets
a8d0e69cd4
Merge pull request #299 from stasoid/master
fix min/max compilation errors on Windows
2024-02-23 13:02:45 +03:00
stasoid
82982bffda fix min/max on Windows 2024-02-22 21:20:07 +06:00
Yuri Kobets
e5ca809cea Removed dependency of the Gdk::Pixbuf and images cache 2024-02-22 02:49:30 +03:00
Yuri Kobets
0117a44a20
Merge pull request #294 from memecode/master
Fix windows build issues.
2024-02-19 13:59:30 +03:00
Matthew Allen
e8788a97ef Fix windows build issues. 2024-02-19 21:41:56 +11:00
m32
082b83f680 -Wpedantic 2024-02-18 13:03:12 +01:00
Yuri Kobets
55d81bf0a8 Fixed: Negative top margin changes block height #284 2024-02-11 02:34:44 +03:00
Yuri Kobets
e60910c16a Fixed: Negative top margin changes block height #284 2024-02-11 02:31:20 +03:00
Yuri Kobets
f0fb2eea07 Linux container: added support for borders style
Added support for styles:
dotted, dashed, double, inset, outset, groove, ridge
2024-02-10 01:17:36 +03:00
Николай
d6a84876f1 Add specifying a working directory for tests
Currently, tests only work when run from the ${litehtml_root}/build directory.
This commit makes it possible to build and run tests in an arbitrary directory.
In particular, this avoids errors when building litebrowser-linux with the
`-DLITEHTML_BUILD_TESTING:BOOL=ON` switch.
2024-02-04 16:40:04 +03:00
Yuri Kobets
af4db4f9c9 Removed -Werror from compile options 2024-02-02 17:15:51 +03:00
Yuri Kobets
d4453f5d4e Refactoring for zero warnings
Added compiler options: -Werror -Wall -Wextra -Wpedantic
2024-02-01 01:32:13 +03:00
Yuri Kobets
6ca1ab0419
Merge pull request #285 from litehtml/flex_layout
Flex layout
2024-01-31 03:48:44 +03:00
Yuri Kobets
d85ebec101
Merge branch 'master' into flex_layout 2024-01-31 03:46:27 +03:00
Yuri Kobets
cca054779b flexbox: some tests are resolved 2024-01-31 02:36:05 +03:00
Yuri Kobets
ef70eefe4f flexbox rendering fixes 2024-01-28 02:38:20 +03:00
Yuri Kobets
f195ffbd08 flex: refactoring flexbox redering 2024-01-25 23:46:30 +03:00
Yuri Kobets
8c32000787
Merge pull request #283 from imzyxwvu/fix/media-type
media_query: Treat unknown media type as none
2024-01-17 17:41:42 +03:00
zyxwvu Shi
17b52a6cf2 media_query: Treat unknown media type as none
According to https://www.w3.org/TR/mediaqueries-5/ section 3.2, Error Handling, an unknown media-type must be treated as not matching.
2024-01-17 22:20:44 +08:00
Yuri Kobets
7f77236246 flex: support for auto-margins in the cross direction 2024-01-11 03:08:38 +03:00
Yuri Kobets
6ad0c533c4 fixed rendering of <br> tag with the 'clear' property 2024-01-09 23:50:17 +03:00
Yuri Kobets
b6e60a6803 flex: added support for align-items: baseline 2024-01-09 02:44:04 +03:00
Yuri Kobets
f5cdc4f240 flex: support for 'align-self: inherit' 2024-01-07 18:15:26 +03:00
Yuri Kobets
3e03b6c228 flex: apply max-height to the flex container 2024-01-07 03:16:32 +03:00
Yuri Kobets
d06f95b82b flex: Added support for flex-grow/flex-shring with values less then 1 2024-01-07 02:55:16 +03:00
Yuri Kobets
ca4eed0c85 flex: added validation for flex-grow and flex-shrink (must be positive number) 2024-01-07 01:45:01 +03:00
Yuri Kobets
d5354e69f1 flex: fixed the height calc in size_mode_content mode 2024-01-07 01:33:36 +03:00
Yuri Kobets
2289e1be28 flex: "flex-basis: 0" is valid value 2024-01-07 01:12:13 +03:00
Yuri Kobets
531eddccc6 flex: some passed tests added 2024-01-06 04:12:32 +03:00
Yuri Kobets
88e255c37c flex: support for items max-width/max-height and auto-margins 2024-01-06 03:19:02 +03:00
Yuri Kobets
691965bf2e flex: fix auto-shrink tests 2024-01-04 16:08:49 +03:00
Yuri Kobets
96c79a0847 flex: fixed parsing of the flex shorthand 2023-12-30 00:47:59 +03:00
Yuri Kobets
3bfe3f22f3 flex: Distribute remaining after algorithm space 2023-12-29 12:49:10 +03:00
Yuri Kobets
a230188b31 flex: fixes in rendering of the justify-content css property 2023-12-29 03:46:49 +03:00