html-to-markdown 2.24.6 → 2.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/ext/html-to-markdown-rb/native/Cargo.lock +9 -32
- data/ext/html-to-markdown-rb/native/Cargo.toml +1 -1
- data/lib/html_to_markdown/version.rb +1 -1
- data/rust-vendor/html-to-markdown-rs/Cargo.toml +0 -1
- data/rust-vendor/html-to-markdown-rs/src/converter/main_helpers.rs +1 -1
- data/rust-vendor/html-to-markdown-rs/src/hocr/converter/hierarchy.rs +20 -5
- data/rust-vendor/html-to-markdown-rs/src/lib.rs +1 -0
- data/rust-vendor/{markup5ever_rcdom/lib.rs → html-to-markdown-rs/src/rcdom.rs} +56 -91
- data/rust-vendor/html-to-markdown-rs/tests/hocr_compliance_test.rs +157 -0
- data/rust-vendor/memmap2/.cargo-checksum.json +1 -1
- data/rust-vendor/memmap2/.cargo_vcs_info.json +1 -1
- data/rust-vendor/memmap2/CHANGELOG.md +8 -0
- data/rust-vendor/memmap2/Cargo.lock +1 -1
- data/rust-vendor/memmap2/Cargo.toml +2 -1
- data/rust-vendor/memmap2/Cargo.toml.orig +2 -1
- data/rust-vendor/memmap2/src/lib.rs +25 -1
- data/rust-vendor/memmap2/src/stub.rs +1 -4
- data/rust-vendor/memmap2/src/unix.rs +14 -1
- data/rust-vendor/png/.cargo-checksum.json +1 -1
- data/rust-vendor/png/.cargo_vcs_info.json +1 -1
- data/rust-vendor/png/CHANGES.md +44 -0
- data/rust-vendor/png/Cargo.lock +124 -171
- data/rust-vendor/png/Cargo.toml +1 -1
- data/rust-vendor/png/Cargo.toml.orig +1 -1
- data/rust-vendor/png/benches/expand_paletted.rs +5 -5
- data/rust-vendor/png/benches/unfilter.rs +3 -3
- data/rust-vendor/png/src/adam7.rs +17 -10
- data/rust-vendor/png/src/common.rs +8 -8
- data/rust-vendor/png/src/decoder/mod.rs +53 -20
- data/rust-vendor/png/src/decoder/stream.rs +263 -78
- data/rust-vendor/png/src/decoder/unfiltering_buffer.rs +210 -53
- data/rust-vendor/png/src/decoder/zlib.rs +130 -90
- data/rust-vendor/png/src/encoder.rs +4 -2
- data/rust-vendor/png/src/{filter.rs → filter/mod.rs} +100 -367
- data/rust-vendor/png/src/filter/optimization-notes.md +104 -0
- data/rust-vendor/png/src/filter/paeth.rs +398 -0
- data/rust-vendor/png/src/filter/simd.rs +308 -0
- data/rust-vendor/png/src/lib.rs +1 -0
- data/rust-vendor/syn/.cargo-checksum.json +1 -1
- data/rust-vendor/syn/.cargo_vcs_info.json +1 -1
- data/rust-vendor/syn/Cargo.lock +40 -41
- data/rust-vendor/syn/Cargo.toml +1 -1
- data/rust-vendor/syn/Cargo.toml.orig +1 -1
- data/rust-vendor/syn/src/item.rs +61 -40
- data/rust-vendor/syn/src/lib.rs +2 -1
- data/rust-vendor/syn/tests/test_item.rs +54 -0
- data/rust-vendor/unicode-ident/.cargo-checksum.json +1 -1
- data/rust-vendor/unicode-ident/.cargo_vcs_info.json +1 -1
- data/rust-vendor/unicode-ident/Cargo.lock +21 -21
- data/rust-vendor/unicode-ident/Cargo.toml +1 -1
- data/rust-vendor/unicode-ident/Cargo.toml.orig +1 -1
- data/rust-vendor/unicode-ident/src/lib.rs +1 -1
- data/rust-vendor/unicode-ident/src/tables.rs +87 -97
- data/rust-vendor/unicode-ident/tests/static_size.rs +1 -1
- metadata +7 -177
- data/rust-vendor/markup5ever_rcdom/.cargo-checksum.json +0 -1
- data/rust-vendor/markup5ever_rcdom/.cargo_vcs_info.json +0 -7
- data/rust-vendor/markup5ever_rcdom/Cargo.lock +0 -658
- data/rust-vendor/markup5ever_rcdom/Cargo.toml +0 -109
- data/rust-vendor/markup5ever_rcdom/Cargo.toml.orig +0 -42
- data/rust-vendor/markup5ever_rcdom/LICENSE-APACHE +0 -201
- data/rust-vendor/markup5ever_rcdom/LICENSE-MIT +0 -25
- data/rust-vendor/markup5ever_rcdom/README.md +0 -7
- data/rust-vendor/markup5ever_rcdom/custom-html5lib-tokenizer-tests/regression.test +0 -69
- data/rust-vendor/markup5ever_rcdom/data/test/ignore +0 -1
- data/rust-vendor/markup5ever_rcdom/examples/hello_xml.rs +0 -39
- data/rust-vendor/markup5ever_rcdom/examples/html2html.rs +0 -51
- data/rust-vendor/markup5ever_rcdom/examples/print-rcdom.rs +0 -78
- data/rust-vendor/markup5ever_rcdom/examples/xml_tree_printer.rs +0 -67
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/.gitattributes +0 -2
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/.github/workflows/downstream.yml +0 -76
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/.github/workflows/lint.yml +0 -25
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/.gitignore +0 -79
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/AUTHORS.rst +0 -34
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/LICENSE +0 -21
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/encoding/chardet/test_big5.txt +0 -51
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/encoding/scripted/tests1.dat +0 -5
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/encoding/test-yahoo-jp.dat +0 -10
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/encoding/tests1.dat +0 -388
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/encoding/tests2.dat +0 -115
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint +0 -6
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/__init__.py +0 -0
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/__init__.py +0 -0
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/LICENSE +0 -18
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/__init__.py +0 -0
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/lexer.py +0 -211
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/lexer.pyi +0 -34
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/parser.py +0 -872
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/parser.pyi +0 -83
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/py.typed +0 -0
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/util.py +0 -72
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/funcparserlib/util.pyi +0 -7
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor/vendor.txt +0 -1
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/_vendor-patches/funcparserlib.patch +0 -24
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/lint.py +0 -280
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/lint_lib/parser.py +0 -177
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/pyproject.toml +0 -7
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/serializer/core.test +0 -125
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/serializer/injectmeta.test +0 -66
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/serializer/optionaltags.test +0 -965
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/serializer/options.test +0 -60
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/serializer/whitespace.test +0 -51
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/README.md +0 -107
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/contentModelFlags.test +0 -93
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/domjs.test +0 -335
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/entities.test +0 -542
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/escapeFlag.test +0 -36
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/namedEntities.test +0 -42422
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/numericEntities.test +0 -1677
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/pendingSpecChanges.test +0 -9
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/test1.test +0 -353
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/test2.test +0 -275
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/test3.test +0 -11233
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/test4.test +0 -532
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/unicodeChars.test +0 -1577
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/unicodeCharsProblematic.test +0 -41
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tokenizer/xmlViolation.test +0 -20
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/README.md +0 -108
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/adoption01.dat +0 -354
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/adoption02.dat +0 -39
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/blocks.dat +0 -695
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/comments01.dat +0 -217
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/doctype01.dat +0 -474
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/domjs-unsafe.dat +0 -0
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/entities01.dat +0 -943
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/entities02.dat +0 -309
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/foreign-fragment.dat +0 -645
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/html5test-com.dat +0 -301
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/inbody01.dat +0 -54
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/isindex.dat +0 -49
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/main-element.dat +0 -46
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/math.dat +0 -104
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/menuitem-element.dat +0 -240
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/namespace-sensitivity.dat +0 -22
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/noscript01.dat +0 -237
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/pending-spec-changes-plain-text-unsafe.dat +0 -0
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/pending-spec-changes.dat +0 -46
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/plain-text-unsafe.dat +0 -0
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/quirks01.dat +0 -53
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/ruby.dat +0 -302
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/scriptdata01.dat +0 -372
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/scripted/adoption01.dat +0 -16
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/scripted/ark.dat +0 -27
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/scripted/webkit01.dat +0 -30
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/search-element.dat +0 -46
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/svg.dat +0 -104
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tables01.dat +0 -322
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/template.dat +0 -1673
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests1.dat +0 -1956
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests10.dat +0 -849
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests11.dat +0 -523
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests12.dat +0 -62
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests14.dat +0 -75
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests15.dat +0 -216
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests16.dat +0 -2602
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests17.dat +0 -179
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests18.dat +0 -558
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests19.dat +0 -1398
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests2.dat +0 -831
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests20.dat +0 -842
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests21.dat +0 -306
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests22.dat +0 -190
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests23.dat +0 -168
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests24.dat +0 -79
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests25.dat +0 -288
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests26.dat +0 -453
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests3.dat +0 -305
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests4.dat +0 -74
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests5.dat +0 -210
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests6.dat +0 -663
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests7.dat +0 -453
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests8.dat +0 -165
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests9.dat +0 -472
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tests_innerHTML_1.dat +0 -843
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/tricky01.dat +0 -336
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/webkit01.dat +0 -785
- data/rust-vendor/markup5ever_rcdom/html5lib-tests/tree-construction/webkit02.dat +0 -554
- data/rust-vendor/markup5ever_rcdom/tests/foreach_html5lib_test/mod.rs +0 -41
- data/rust-vendor/markup5ever_rcdom/tests/html-driver.rs +0 -29
- data/rust-vendor/markup5ever_rcdom/tests/html-serializer.rs +0 -265
- data/rust-vendor/markup5ever_rcdom/tests/html-tokenizer.rs +0 -487
- data/rust-vendor/markup5ever_rcdom/tests/html-tree-builder.rs +0 -298
- data/rust-vendor/markup5ever_rcdom/tests/html-tree-sink.rs +0 -141
- data/rust-vendor/markup5ever_rcdom/tests/util/find_tests.rs +0 -34
- data/rust-vendor/markup5ever_rcdom/tests/util/runner.rs +0 -48
- data/rust-vendor/markup5ever_rcdom/tests/xml-driver.rs +0 -101
- data/rust-vendor/markup5ever_rcdom/tests/xml-tokenizer.rs +0 -374
- data/rust-vendor/markup5ever_rcdom/tests/xml-tree-builder.rs +0 -237
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/AUTHORS.rst +0 -9
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/LICENSE +0 -21
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/README.md +0 -92
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/comments.test +0 -274
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/doctype.test +0 -3232
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/entities.test +0 -283
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/eof.test +0 -113
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/namedEntities.test +0 -42210
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/numericEntities.test +0 -1349
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/test1.test +0 -162
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/test2.test +0 -64
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tokenizer/unicodeChars.test +0 -1295
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tree-construction/README.md +0 -104
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tree-construction/namespace.dat +0 -119
- data/rust-vendor/markup5ever_rcdom/xml5lib-tests/tree-construction/test1.dat +0 -124
- data/rust-vendor/xml5ever/.cargo-checksum.json +0 -1
- data/rust-vendor/xml5ever/.cargo_vcs_info.json +0 -6
- data/rust-vendor/xml5ever/Cargo.lock +0 -752
- data/rust-vendor/xml5ever/Cargo.toml +0 -69
- data/rust-vendor/xml5ever/Cargo.toml.orig +0 -29
- data/rust-vendor/xml5ever/LICENSE-APACHE +0 -201
- data/rust-vendor/xml5ever/LICENSE-MIT +0 -25
- data/rust-vendor/xml5ever/README.md +0 -72
- data/rust-vendor/xml5ever/benches/xml5ever.rs +0 -77
- data/rust-vendor/xml5ever/data/bench/strong.xml +0 -1
- data/rust-vendor/xml5ever/examples/README.md +0 -223
- data/rust-vendor/xml5ever/examples/example.xml +0 -3
- data/rust-vendor/xml5ever/examples/simple_xml_tokenizer.rs +0 -81
- data/rust-vendor/xml5ever/examples/xml_tokenizer.rs +0 -115
- data/rust-vendor/xml5ever/src/driver.rs +0 -90
- data/rust-vendor/xml5ever/src/lib.rs +0 -47
- data/rust-vendor/xml5ever/src/macros.rs +0 -18
- data/rust-vendor/xml5ever/src/serialize/mod.rs +0 -216
- data/rust-vendor/xml5ever/src/tokenizer/char_ref/mod.rs +0 -456
- data/rust-vendor/xml5ever/src/tokenizer/interface.rs +0 -116
- data/rust-vendor/xml5ever/src/tokenizer/mod.rs +0 -1344
- data/rust-vendor/xml5ever/src/tokenizer/qname.rs +0 -84
- data/rust-vendor/xml5ever/src/tokenizer/states.rs +0 -167
- data/rust-vendor/xml5ever/src/tree_builder/mod.rs +0 -774
- data/rust-vendor/xml5ever/src/tree_builder/types.rs +0 -37
|
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [0.9.10] - 2026-02-15
|
|
8
|
+
### Fixed
|
|
9
|
+
- Fix compilation on AIX targets.
|
|
10
|
+
[@xingxue-ibm](https://github.com/xingxue-ibm)
|
|
11
|
+
### Changed
|
|
12
|
+
- Return `ErrorKind::Unsupported` on unsupported platforms to allow reliable runtime detection.
|
|
13
|
+
[@daxpedda](https://github.com/daxpedda)
|
|
14
|
+
|
|
7
15
|
## [0.9.9] - 2025-10-21
|
|
8
16
|
### Fixed
|
|
9
17
|
- Fix compilation on visionOS (and other apple operating systems).
|
|
@@ -13,10 +13,11 @@
|
|
|
13
13
|
edition = "2021"
|
|
14
14
|
rust-version = "1.63"
|
|
15
15
|
name = "memmap2"
|
|
16
|
-
version = "0.9.
|
|
16
|
+
version = "0.9.10"
|
|
17
17
|
authors = [
|
|
18
18
|
"Dan Burkert <dan@danburkert.com>",
|
|
19
19
|
"Yevhenii Reizner <razrfalcon@gmail.com>",
|
|
20
|
+
"The Contributors",
|
|
20
21
|
]
|
|
21
22
|
build = false
|
|
22
23
|
autolib = false
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "memmap2"
|
|
3
|
-
version = "0.9.
|
|
3
|
+
version = "0.9.10"
|
|
4
4
|
authors = [
|
|
5
5
|
"Dan Burkert <dan@danburkert.com>",
|
|
6
6
|
"Yevhenii Reizner <razrfalcon@gmail.com>",
|
|
7
|
+
"The Contributors",
|
|
7
8
|
]
|
|
8
9
|
license = "MIT OR Apache-2.0"
|
|
9
10
|
repository = "https://github.com/RazrFalcon/memmap2-rs"
|
|
@@ -402,6 +402,8 @@ impl MmapOptions {
|
|
|
402
402
|
/// This method returns an error when the underlying system call fails, which can happen for a
|
|
403
403
|
/// variety of reasons, such as when the file is not open with read permissions.
|
|
404
404
|
///
|
|
405
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
406
|
+
///
|
|
405
407
|
/// # Example
|
|
406
408
|
///
|
|
407
409
|
/// ```
|
|
@@ -446,6 +448,8 @@ impl MmapOptions {
|
|
|
446
448
|
///
|
|
447
449
|
/// This method returns an error when the underlying system call fails, which can happen for a
|
|
448
450
|
/// variety of reasons, such as when the file is not open with read permissions.
|
|
451
|
+
///
|
|
452
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
449
453
|
pub unsafe fn map_exec<T: MmapAsRawDesc>(&self, file: T) -> Result<Mmap> {
|
|
450
454
|
let desc = file.as_raw_desc();
|
|
451
455
|
|
|
@@ -470,6 +474,8 @@ impl MmapOptions {
|
|
|
470
474
|
/// This method returns an error when the underlying system call fails, which can happen for a
|
|
471
475
|
/// variety of reasons, such as when the file is not open with read and write permissions.
|
|
472
476
|
///
|
|
477
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
478
|
+
///
|
|
473
479
|
/// # Example
|
|
474
480
|
///
|
|
475
481
|
/// ```
|
|
@@ -520,6 +526,8 @@ impl MmapOptions {
|
|
|
520
526
|
/// This method returns an error when the underlying system call fails, which can happen for a
|
|
521
527
|
/// variety of reasons, such as when the file is not open with writable permissions.
|
|
522
528
|
///
|
|
529
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
530
|
+
///
|
|
523
531
|
/// # Example
|
|
524
532
|
///
|
|
525
533
|
/// ```
|
|
@@ -558,6 +566,8 @@ impl MmapOptions {
|
|
|
558
566
|
/// This method returns an error when the underlying system call fails, which can happen for a
|
|
559
567
|
/// variety of reasons, such as when the file is not open with read permissions.
|
|
560
568
|
///
|
|
569
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
570
|
+
///
|
|
561
571
|
/// # Example
|
|
562
572
|
///
|
|
563
573
|
/// ```
|
|
@@ -602,6 +612,8 @@ impl MmapOptions {
|
|
|
602
612
|
///
|
|
603
613
|
/// This method returns an error when the underlying system call fails or
|
|
604
614
|
/// when `len > isize::MAX`.
|
|
615
|
+
///
|
|
616
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
605
617
|
pub fn map_anon(&self) -> Result<MmapMut> {
|
|
606
618
|
let len = self.len.unwrap_or(0);
|
|
607
619
|
|
|
@@ -624,6 +636,8 @@ impl MmapOptions {
|
|
|
624
636
|
///
|
|
625
637
|
/// This method returns an error when the underlying system call fails, which can happen for a
|
|
626
638
|
/// variety of reasons, such as when the file is not open with read and write permissions.
|
|
639
|
+
///
|
|
640
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
627
641
|
pub fn map_raw<T: MmapAsRawDesc>(&self, file: T) -> Result<MmapRaw> {
|
|
628
642
|
let desc = file.as_raw_desc();
|
|
629
643
|
|
|
@@ -644,7 +658,9 @@ impl MmapOptions {
|
|
|
644
658
|
///
|
|
645
659
|
/// # Errors
|
|
646
660
|
///
|
|
647
|
-
/// This method returns an error when the underlying system call fails
|
|
661
|
+
/// This method returns an error when the underlying system call fails.
|
|
662
|
+
///
|
|
663
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
648
664
|
pub fn map_raw_read_only<T: MmapAsRawDesc>(&self, file: T) -> Result<MmapRaw> {
|
|
649
665
|
let desc = file.as_raw_desc();
|
|
650
666
|
|
|
@@ -720,6 +736,8 @@ impl Mmap {
|
|
|
720
736
|
/// This method returns an error when the underlying system call fails, which can happen for a
|
|
721
737
|
/// variety of reasons, such as when the file is not open with read permissions.
|
|
722
738
|
///
|
|
739
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
740
|
+
///
|
|
723
741
|
/// # Example
|
|
724
742
|
///
|
|
725
743
|
/// ```
|
|
@@ -922,6 +940,8 @@ impl MmapRaw {
|
|
|
922
940
|
///
|
|
923
941
|
/// This method returns an error when the underlying system call fails, which can happen for a
|
|
924
942
|
/// variety of reasons, such as when the file is not open with read and write permissions.
|
|
943
|
+
///
|
|
944
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
925
945
|
pub fn map_raw<T: MmapAsRawDesc>(file: T) -> Result<MmapRaw> {
|
|
926
946
|
MmapOptions::new().map_raw(file)
|
|
927
947
|
}
|
|
@@ -1184,6 +1204,8 @@ impl MmapMut {
|
|
|
1184
1204
|
/// This method returns an error when the underlying system call fails, which can happen for a
|
|
1185
1205
|
/// variety of reasons, such as when the file is not open with read and write permissions.
|
|
1186
1206
|
///
|
|
1207
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
1208
|
+
///
|
|
1187
1209
|
/// # Example
|
|
1188
1210
|
///
|
|
1189
1211
|
/// ```
|
|
@@ -1222,6 +1244,8 @@ impl MmapMut {
|
|
|
1222
1244
|
///
|
|
1223
1245
|
/// This method returns an error when the underlying system call fails or
|
|
1224
1246
|
/// when `len > isize::MAX`.
|
|
1247
|
+
///
|
|
1248
|
+
/// Returns [`ErrorKind::Unsupported`] on unsupported platforms.
|
|
1225
1249
|
pub fn map_anon(length: usize) -> Result<MmapMut> {
|
|
1226
1250
|
MmapOptions::new().len(length).map_anon()
|
|
1227
1251
|
}
|
|
@@ -10,10 +10,7 @@ pub struct MmapInner {
|
|
|
10
10
|
|
|
11
11
|
impl MmapInner {
|
|
12
12
|
fn new() -> io::Result<MmapInner> {
|
|
13
|
-
Err(io::
|
|
14
|
-
io::ErrorKind::Other,
|
|
15
|
-
"platform not supported",
|
|
16
|
-
))
|
|
13
|
+
Err(io::ErrorKind::Unsupported.into())
|
|
17
14
|
}
|
|
18
15
|
|
|
19
16
|
pub fn map(_: usize, _: &File, _: u64, _: bool, _: bool) -> io::Result<MmapInner> {
|
|
@@ -426,7 +426,20 @@ impl MmapInner {
|
|
|
426
426
|
let offset = offset as isize - alignment as isize;
|
|
427
427
|
let len = len + alignment;
|
|
428
428
|
unsafe {
|
|
429
|
-
|
|
429
|
+
let ptr = {
|
|
430
|
+
// The AIX signature of 'madvise()' differs from the POSIX
|
|
431
|
+
// specification, which expects 'void *' as the type of the
|
|
432
|
+
// 'addr' argument, whereas AIX uses 'caddr_t' (i.e., 'char *').
|
|
433
|
+
#[cfg(target_os = "aix")]
|
|
434
|
+
{
|
|
435
|
+
self.ptr.offset(offset) as *mut u8
|
|
436
|
+
}
|
|
437
|
+
#[cfg(not(target_os = "aix"))]
|
|
438
|
+
{
|
|
439
|
+
self.ptr.offset(offset)
|
|
440
|
+
}
|
|
441
|
+
};
|
|
442
|
+
if libc::madvise(ptr, len, advice) != 0 {
|
|
430
443
|
Err(io::Error::last_os_error())
|
|
431
444
|
} else {
|
|
432
445
|
Ok(())
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"files":{".cargo_vcs_info.json":"
|
|
1
|
+
{"files":{".cargo_vcs_info.json":"8773db20f33df731c5464d83badcfd31e799f11384d0fc0bab063950fb8d077a","CHANGES.md":"28d2e4a7019e2c275c27c8626ef663f795e3ca8715356838ff0badcead09697b","Cargo.lock":"f0e0210e2060f90cc4e7f64770b50a26e345cbf1acd5be6e36d8b836d9393fd1","Cargo.toml":"642c5d3c2bf538404cf1d5c4aac254d033e0854af844610435fd13e910bf93aa","Cargo.toml.orig":"9cdbefa37506d26968c74e93355c29d8471ec961ebcadb0fdde25bb0e98870f0","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"eaf40297c75da471f7cda1f3458e8d91b4b2ec866e609527a13acfa93b638652","README.md":"2a69e61783cf6433b712acfe5b32ba1c539f947ccd00b1c07312d5eec3445b46","benches/README.md":"0c60c3d497abdf6c032863aa47da41bc6bb4f5ff696d45dec0e6eb33459b14b0","benches/adam7.rs":"ac81f74f2547790f85b09344d79f881718353b31bcb39402b115582df408701c","benches/decoder.rs":"390e75054ee3a4237a57aa255ac35429f3d81c1d2fc18bd0464fbc13e85b1f8c","benches/expand_paletted.rs":"71922dd42055283ec388264c3bf22b985763cfbcf905c0e106a3f412ddac13e0","benches/unfilter.rs":"ad5946ec7bdaed852eb210df3cc6efa8584de76836e7154f9a47cb274fc7627f","examples/change-png-info.rs":"bc4f3d7af7cee03714e80c3d58f5633f24b3406721af8eedd0a72ac78da6356f","examples/corpus-bench.rs":"b994744b00335536903408bc95fa203b637ee5401e568b6043d1e86fd234007e","examples/png-generate.rs":"e4cca06b9cc3291b52261d88a2e016940620b613fc1402bb54ccc68f73026a96","examples/pngcheck.rs":"575084dc9fe8754677f9875c0b1790c3f52adb58c19de63b59d28f6fea47dd71","src/adam7.rs":"6698303f534586f6d2cd952c800d4379f1f73db872d69c05689ae337fa4da2f6","src/benchable_apis.rs":"be9c486ebaaa698517b7c0ac5c4d9ecf812eee4e6454bd32dfcb790048b3a0f9","src/chunk.rs":"3bfd87e49b951e0ec4372e34d6374a4813cb499f89104f2a20e109c95b63a2ac","src/common.rs":"1da94ac8aae8bf7fb63efcf4b110416bee0aaf294d042476b70591b670c33519","src/decoder/interlace_info.rs":"ab953aabc548af9bdafdefcaeacf19bced6010ea15831039d47715661010c1d2","src/decoder/mod.rs":"8c15bb208e38ffcc55421fd3ece858dfa6460d0cc05be76d56d1640591669249","src/decoder/read_decoder.rs":"ddde714e6ee17298850f934fd2328f7095cd3c9d096930867edef0bfab91cc5d","src/decoder/stream.rs":"af87e912accd5057dcb098ca8aa3b6d4a1a1a2abc2412955409ee8260112e4ff","src/decoder/transform.rs":"3ec21b666d543fc6e2203313663a0214837cb5dc5bdb32d4a3c23d4a8567cecf","src/decoder/transform/palette.rs":"8eed7854aa122c1ecf8f3f41e2cccdc08d60a0c323f3ef16c3dd5f1710bde38a","src/decoder/unfiltering_buffer.rs":"6e146579e29cb57197375e61b077296e979ab80421a5b3d200f3b2cbddbd159e","src/decoder/zlib.rs":"fb97c2706b5901de03d23deee39e5d8fda4860b55ce0bbbe5fb8fd1206db4039","src/encoder.rs":"787f6f8922588a74436c76a3b2c2b5689206f7ed13a19a36227b8809710812ce","src/filter/mod.rs":"0078abe0ea3d654429c393fa08fbd841be232d321a2eceb14938749c16bd31b3","src/filter/optimization-notes.md":"0907bc5eafad69d9cdd3523e28f5ed06ded428a50a0fbeb07304c0b03cd50013","src/filter/paeth.rs":"ffb4bd183b313e15f2be44f247b5bb1596a02d1fc46ca6c9f2e09ce250e59bf5","src/filter/simd.rs":"0828b91a13ef4178247920de7ba7097dab89c3786ababb8d9cecf2ea499a37ef","src/lib.rs":"005d353ee9ed314a45ea9b85ff906cbc3bd57a7273c0d0360428c90aa460b4a8","src/srgb.rs":"da1609902064016853410633926d316b5289d4bbe1fa469b21f116c1c1b2c18e","src/test_utils.rs":"9002657a02768d68fef55041629f4b0067570fa93e2ed91e40367dca60eed91c","src/text_metadata.rs":"1df449a40f1798daf5b77195cccc644d3d5ae0e5cc629d71b5399b457b1438a8","src/traits.rs":"79d357244e493f5174ca11873b0d5c443fd4a5e6e1f7c6df400a1767c5ad05b2"},"package":"60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61"}
|
data/rust-vendor/png/CHANGES.md
CHANGED
|
@@ -1,3 +1,47 @@
|
|
|
1
|
+
## 0.18.1
|
|
2
|
+
|
|
3
|
+
### Additions
|
|
4
|
+
|
|
5
|
+
* Added `Filter::MinEntropy` for encoding, which selects the filter that
|
|
6
|
+
minimizes the Shannon entropy of the filtered row. ([#647])
|
|
7
|
+
* Made `ScaledFloat::SCALING` constant public. ([#650])
|
|
8
|
+
* Support skipping chunks without loading them into memory. ([#630])
|
|
9
|
+
* Allow full unfiltering for partial data, enabling progressive decoding
|
|
10
|
+
use cases. ([#664])
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
* Improved Paeth unfilter auto-vectorization by changing how loop state
|
|
15
|
+
is maintained. ([#635])
|
|
16
|
+
* Added `portable_simd` Paeth unfiltering for 3bpp and 4bpp images on nightly.
|
|
17
|
+
([#632], [#633])
|
|
18
|
+
* Add early exit for adaptive filter selection when a perfect filter is found.
|
|
19
|
+
([#646])
|
|
20
|
+
* Ignore duplicate `acTL` chunks instead of producing errors. ([#651])
|
|
21
|
+
* Require IDAT chunk(s) before fdAT chunks, as mandated by PNG specification.
|
|
22
|
+
([#653])
|
|
23
|
+
* Enforce `acTL` frame counts to be valid PNG 4-byte integers (capped at 2^31-1).
|
|
24
|
+
([#673])
|
|
25
|
+
|
|
26
|
+
### Fixes
|
|
27
|
+
|
|
28
|
+
* Fixed and improved intra-doc links in documentation comments. ([#665])
|
|
29
|
+
* Fixed nightly `portable_simd` build. ([#675])
|
|
30
|
+
|
|
31
|
+
[#630]: https://github.com/image-rs/image-png/pull/630
|
|
32
|
+
[#632]: https://github.com/image-rs/image-png/pull/632
|
|
33
|
+
[#633]: https://github.com/image-rs/image-png/pull/633
|
|
34
|
+
[#635]: https://github.com/image-rs/image-png/pull/635
|
|
35
|
+
[#646]: https://github.com/image-rs/image-png/pull/646
|
|
36
|
+
[#647]: https://github.com/image-rs/image-png/pull/647
|
|
37
|
+
[#650]: https://github.com/image-rs/image-png/pull/650
|
|
38
|
+
[#651]: https://github.com/image-rs/image-png/pull/651
|
|
39
|
+
[#653]: https://github.com/image-rs/image-png/pull/653
|
|
40
|
+
[#664]: https://github.com/image-rs/image-png/pull/664
|
|
41
|
+
[#665]: https://github.com/image-rs/image-png/pull/665
|
|
42
|
+
[#673]: https://github.com/image-rs/image-png/pull/673
|
|
43
|
+
[#675]: https://github.com/image-rs/image-png/pull/675
|
|
44
|
+
|
|
1
45
|
## 0.18.0
|
|
2
46
|
|
|
3
47
|
### API Breaking Changes
|