Commit Graph

50 Commits (38a6f963adc993baf9f34f7ce38f567d201cbf3d)

Author SHA1 Message Date
Sunshine 38a6f963ad
account for network errors, add option to ignore them 4 years ago
zfhrp a296531b3f remove unused import opts::Options; 4 years ago
Sunshine 09d41d2cf1
automatically obtain favicon.ico 4 years ago
Sunshine 8883bd6aca
add more black box test data 4 years ago
Sunshine 23de5ced21
add tests for utils::indent() 4 years ago
Sunshine bc98aca2a2
indent items in retrieval log to form a tree-like structure 4 years ago
Sunshine 438ebd520a
Merge pull request #193 from snshn/options-struct
Pass options object instead of using separate parameters
4 years ago
Sunshine ddb97009e9
pass options object instead of using separate parameters 4 years ago
Sunshine 9e5d8ec691
add more sample data for blackbox tests 4 years ago
Sunshine 29bf042da0
trim CSS if it contains nothing but whitespaces 4 years ago
Sunshine 2ac964fae5
include font-src into CSP 4 years ago
Sunshine ae5d6d2df4
refactor CSP code 4 years ago
Sunshine 44cac65a83
automatically remove "Refresh" and "Location" META tags 4 years ago
Sunshine 0347fd3985
move metadata tag code into a function 4 years ago
Sunshine 5c229c51da
move functions related to URL manipulation into url.rs 4 years ago
Sunshine f6ea16b3ad
create a separate function for appending URL fragments 4 years ago
Sunshine 090d647390
group all tests into either passing or failing groups 4 years ago
Sunshine cbe3f9f554
implement support for embedding images within srcset 4 years ago
Sunshine a18df74946
refactor code and implement integrity validation 4 years ago
Sunshine c999359b9f
Merge branch 'context-comment' of github.com:Alch-Emi/monolith into context-comment 4 years ago
Sunshine 9b40dbbf27
add option to exclude web fonts 4 years ago
Sunshine edacd09dc8
store blobs instead of data URLs in cache 4 years ago
Sunshine eeea617fb1
escape all special chars within #id and .class CSS selectors 4 years ago
Sunshine 9d3df2cdc6
escape colons within CSS idents 4 years ago
Sunshine 594ad55bd8
improve data URL media type detection 4 years ago
Sunshine c097733ae7
improve parsing of data URLs 4 years ago
Sunshine 349c7bb3ea
properly parse negative units in CSS 4 years ago
Sunshine b88479446c
implement unit tests for macros 4 years ago
Sunshine 29836d979a
add support for image inputs 4 years ago
Sunshine 643c4ce7ef
implement improvements suggested by @robatipoor 4 years ago
Sunshine 4951fea730
implement full CSS parsing 4 years ago
Sunshine be25784297
improve SVG media type detection 4 years ago
Sunshine 479c42e1ce
improve test code structure 4 years ago
Sunshine 933379c798
ensure consistent naming across all tests 4 years ago
Sunshine 59a8be493d
add support for working with local assets 4 years ago
Sunshine d5ee8ae6ab
account for legacy BODY background="" attribute 4 years ago
Sunshine 7654eec7e2
treat frames the same way as iframes 4 years ago
Sunshine 0d1e21e9ad
add black box tests 4 years ago
Sunshine 3d2d40e7cd
add support for data URL targets 4 years ago
Sunshine b8b6d8cff6
fix "succeeding" to "passing" in tests 4 years ago
Sunshine 928664dc88
correct is_valid_url to is_http_url 4 years ago
Sunshine 5c8d75539b
rename dataurl to data_url 4 years ago
rhysd 6e99ad13e7 upgrade reqwest to v0.10.0
This will improve build time and binary size as follows:

* Before

- **Compile targets**: 220
- **Build time**: `cargo build --release  1264.95s user 39.72s system 335% cpu 6:29.14 total`
- **Binary size**: 6578568 bytes

* After

- **Compile targets**: 170
- **Build time**: `cargo build --release  1130.64s user 32.15s system 359% cpu 5:23.69 total`
- **Binary size**: 6107088 bytes

* Differences

- **Compile targets**: 1.29x smaller
- **Build time**: 1.23x faster
- **Binary size**: 1.07x smaller
4 years ago
rhysd ed879231af fix test code was broken by refactoring 4 years ago
Sunshine 88ffde0c3b wipe integrity attributes 5 years ago
Sunshine c7fc121c7c use clean URLs as hashmap keys 5 years ago
Emi Simpson 322ab41b8c
Updated tests to reflect API changes 5 years ago
voila 1ff5e91087 Use HashMap as cache to minimize the number of HTTP requests (#75)
Use HashMap as cache to minimize the number of HTTP requests
5 years ago
Sunshine 0896f2e214 Properly handle 30x redirects 5 years ago
Vincent Flyson 3948ea3aa0 Improve code structure 5 years ago