commit_hash
stringlengths
40
40
author
stringlengths
1
57
date
timestamp[s]date
2010-07-26 04:45:09
2026-04-14 18:21:10
message
stringlengths
8
1.39M
diff
stringlengths
68
51.2k
files_changed
int64
1
136
insertions
int64
0
2.35k
deletions
int64
0
1.9k
3430a8d46e251b166aba70dd078ce914de845dbf
Sebastian Thiel
2020-04-02T14:23:38
Use space much more efficiently in the tree view as well
diff --git a/src/tui/draw/messages.rs b/src/tui/draw/messages.rs index c8fe241..1a88d6e 100644 --- a/src/tui/draw/messages.rs +++ b/src/tui/draw/messages.rs @@ -95,7 +95,7 @@ pub fn pane( .saturating_sub(bound.height.saturating_add(*offset) as usize); let messages_skipped = (*offset).min(messages....
2
41
23
a3e5fe5d2489028bc764fc0e771707419176a957
Sebastian Thiel
2020-04-02T13:30:57
omit line between tree on left and progress bars to safe space
diff --git a/src/tui/draw/progress.rs b/src/tui/draw/progress.rs index 703ac19..f92f0ad 100644 --- a/src/tui/draw/progress.rs +++ b/src/tui/draw/progress.rs @@ -59,17 +59,7 @@ pub fn pane(entries: &[(Key, Value)], mut bound: Rect, buf: &mut Buffer, state: { let progress_area = rect::offset_x(bound, desi...
1
4
29
31bb906c643c67d95735b22d0aba0d883425036e
Sebastian Thiel
2020-04-02T13:24:33
Oh my, that was sooooo worth it!
diff --git a/src/tree.rs b/src/tree.rs index 19eb78a..ba3f184 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -371,7 +371,7 @@ pub(crate) struct Adjacency( ); impl Adjacency { - fn level(&self) -> Level { + pub(crate) fn level(&self) -> Level { use SiblingLocation::*; match self { ...
3
18
19
7f164723dca2723c9e37fd4773820576049f4f6d
Sebastian Thiel
2020-04-02T01:55:54
looks pretty good already, now the tweaking
diff --git a/src/tree.rs b/src/tree.rs index a7080cd..19eb78a 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -379,7 +379,7 @@ impl Adjacency { Adjacency(_a, _b, NotFound, NotFound) => 2, Adjacency(_a, _b, _c, NotFound) => 3, Adjacency(_a, _b, _c, _d) => 4, - _ => unreach...
2
6
16
497fbcee0d7ceda90eafbf3800d8ca68f6da0c3a
Sebastian Thiel
2020-04-02T01:52:39
make orphan nodes work
diff --git a/src/tree.rs b/src/tree.rs index fc94e84..a7080cd 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -371,6 +371,17 @@ pub(crate) struct Adjacency( ); impl Adjacency { + fn level(&self) -> Level { + use SiblingLocation::*; + match self { + Adjacency(NotFound, NotFound, NotFound, N...
2
56
13
edf20248be59998553a47a70a764a64fb69b482c
Sebastian Thiel
2020-04-02T01:34:42
All tests green for the first time!
diff --git a/src/tree.rs b/src/tree.rs index 84a2930..fc94e84 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -517,7 +517,7 @@ impl Key { continue; } if let Some(key_offset) = upward_iter(cursor, &key, level, key[level]) { - cursor = index.saturati...
2
3
3
42b31da9262c6842243a998bb98960b5786b9b1e
Sebastian Thiel
2020-04-02T01:25:44
Maybe a tiny step closer, definitely better/fixed index handling
diff --git a/src/tree.rs b/src/tree.rs index ee69477..84a2930 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -477,7 +477,9 @@ impl Key { _id_at_level: ItemId, ) -> Option<usize> { iter.map(|(k, _)| k) - .take_while(|other| key.shares_parent_with(other, current_level.satu...
2
11
9
83a89ee194db870bf267bf12f6ee73daaff1502d
Sebastian Thiel
2020-04-02T01:00:00
before it all goes down the drain - only one thing to fix - let's checkpoint it
diff --git a/src/tree.rs b/src/tree.rs index 6bb1d4e..ee69477 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -439,8 +439,11 @@ impl Key { } } - fn shares_parent_with(&self, other: &Key, up_to: Level) -> bool { - for level in 1..=up_to { + fn shares_parent_with(&self, other: &Key, key_at_leve...
2
51
34
3c77eab4152683babc1921022397ece103e1a790
Sebastian Thiel
2020-04-01T23:45:27
I think the problem is that I try to squash a hiarchy level. Let's not do that
diff --git a/src/tree.rs b/src/tree.rs index 97f6b23..6bb1d4e 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -469,17 +469,20 @@ impl Key { iter: impl Iterator<Item = &'a (Key, Value)>, key: &Key, key_level: Level, - level: Level, - id_at_level: ItemId, + ...
2
25
18
8236d557eb03179e382107bc3cdb40cb1c488aba
Sebastian Thiel
2020-04-01T14:15:36
Is this ever going to work?
diff --git a/src/tree.rs b/src/tree.rs index 74142e5..97f6b23 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -442,9 +442,9 @@ impl Key { fn shares_parent_with(&self, other: &Key, up_to: Level) -> bool { for level in 1..=up_to { if let (Some(lhs), Some(rhs)) = (self.get(level), other.get(level)...
3
122
44
14876ee3fd5f236da9d8811096400f1728a31e3f
Sebastian Thiel
2020-04-01T09:53:54
a little closer, but needs way more tests :D
diff --git a/src/tree.rs b/src/tree.rs index 5d75021..74142e5 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -464,10 +464,10 @@ impl Key { return adjecency; } - fn search<'a>(iter: impl Iterator<Item=&'a (Key, Value)>, key: &Key, level: Level, id_at_level: ItemId) -> Option<usize> { + ...
2
38
5
8f6061ffa75d18da2ac51d701700a90adc3b71b6
Sebastian Thiel
2020-04-01T07:01:33
refactor
diff --git a/src/tree.rs b/src/tree.rs index 9a6aa4e..5d75021 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -464,24 +464,23 @@ impl Key { return adjecency; } - let upward_iter = |from: usize, key: &Key, level: Level, id_at_level: ItemId| { - sorted[..from] - .ite...
1
9
10
4083c4e77fce5b12adb837438fb43ba7de98b642
Sebastian Thiel
2020-04-01T03:38:21
Better, but only works correctly for a single level - more nesting required Please enter the commit message for your changes. Lines starting
diff --git a/src/tree.rs b/src/tree.rs index ce1a3cc..9a6aa4e 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -440,7 +440,7 @@ impl Key { } fn shares_parent_with(&self, other: &Key, up_to: Level) -> bool { - for level in 1..up_to { + for level in 1..=up_to { if let (Some(lhs), Some(...
2
2
4
e9d268f6ef670ec3c4428166d22e30c74d5eaab8
Sebastian Thiel
2020-04-01T03:28:06
Now we are actually closing in for this to work…OMG!
diff --git a/src/tree.rs b/src/tree.rs index 6c569c3..ce1a3cc 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -439,6 +439,19 @@ impl Key { } } + fn shares_parent_with(&self, other: &Key, up_to: Level) -> bool { + for level in 1..up_to { + if let (Some(lhs), Some(rhs)) = (self.get(leve...
2
24
6
15a2b02110135326598699733ba127a905aade2b
Sebastian Thiel
2020-04-01T01:46:42
a little better
diff --git a/src/tree.rs b/src/tree.rs index 78b7f7f..6c569c3 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -389,16 +389,6 @@ impl Adjacency { _ => return None, }) } - pub fn level(&self) -> Level { - use SiblingLocation::*; - match self { - Adjacency(NotFound, Not...
2
3
13
4e033b4f20cca4d23ac23a3a42fd13ed50f332d5
Sebastian Thiel
2020-04-01T01:38:05
Add first tests for adjacency computation - it's not exactly working out of the box *:D
diff --git a/examples/dashboard.rs b/examples/dashboard.rs index 054f9b3..0f1c4cb 100644 --- a/examples/dashboard.rs +++ b/examples/dashboard.rs @@ -91,7 +91,7 @@ fn launch_ambient_gui( window_resize_stream(args.animate_terminal_size), ticker(Duration::from_secs_f32((1.0 / args.fps).max(1.0)))...
5
85
12
40690b66f70ad96feddf92b6377838abeec76dbd
Sebastian Thiel
2020-04-01T00:59:28
Add everything needed to make use of the new system, and it's totally not working :D
diff --git a/src/tree.rs b/src/tree.rs index d004265..f3706f5 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -332,7 +332,7 @@ pub struct Key( /// Determines if a sibling is above or below in the given level of hierarchy #[derive(Copy, Clone, Hash, Eq, PartialEq, Ord, PartialOrd, Debug)] -pub enum SiblingLocation { +...
2
71
82
46526549cb1392dc37552effa0837f146116d69c
Sebastian Thiel
2020-04-01T00:24:14
this might even work…one day :D
diff --git a/src/tree.rs b/src/tree.rs index affac9d..d004265 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -324,12 +324,10 @@ pub type ProgressStep = u32; /// A type identifying a spot in the hierarchy of `Tree` items. #[derive(Copy, Clone, Default, Hash, Eq, PartialEq, Ord, PartialOrd, Debug)] pub struct Key( - ...
1
41
33
46d015cbc3de26f54185f78fa0af8f90054f08bf
Sebastian Thiel
2020-04-01T00:16:12
getting there, slowly, need refactor
diff --git a/src/tree.rs b/src/tree.rs index 9e597fa..affac9d 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -1,6 +1,7 @@ use crate::TreeOptions; use dashmap::DashMap; use parking_lot::Mutex; +use std::ops::{Index, IndexMut}; use std::{sync::Arc, time::SystemTime}; /// The top-level of the progress tree. @@ -315,...
1
69
12
08381650f157f9430d7155d3543cb0bdfeab4864
Sebastian Thiel
2020-03-31T13:45:28
First sketch on getting an adjecency map by searching a sorted list of entries
diff --git a/src/tree.rs b/src/tree.rs index dc3c626..9e597fa 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -329,6 +329,46 @@ pub struct Key( ), ); +/// Determines if a sibling is above or below in the given level of hierarchy +#[derive(Copy, Clone, Hash, Eq, PartialEq, Ord, PartialOrd, Debug)] +pub enum Siblin...
2
72
4
678fbaa085ea0680f7f2212d27e6a577f65091b4
Sebastian Thiel
2020-03-31T11:53:41
draw progress lines without ellipsis; make clearer that this happens
diff --git a/src/tui/draw/information.rs b/src/tui/draw/information.rs index b3bf4bc..4b12a3d 100644 --- a/src/tui/draw/information.rs +++ b/src/tui/draw/information.rs @@ -1,5 +1,5 @@ use crate::tui::{ - utils::{block_width, draw_text_nowrap, rect}, + utils::{block_width, draw_text_with_ellipsis_nowrap, rect}, ...
4
29
25
adc49c624b21b6e200c4d00e29406c1262fd0c61
Sebastian Thiel
2020-03-31T11:46:38
Improve tree drawing further
diff --git a/Cargo.toml b/Cargo.toml index a17fbca..6bb88e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "3.3.0" +version = "3.3.1" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
3
28
23
cf9ddb89414a844120b60b2a5d004a411f73cf49
Sebastian Thiel
2020-03-31T01:38:53
bump minor
diff --git a/Cargo.toml b/Cargo.toml index 8fc0448..a17fbca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "3.2.0" +version = "3.3.0" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
2
3
1
706d6589b23b0df3f634017f53189074997d38f5
Sebastian Thiel
2020-03-31T01:38:02
Much nicer display of trees, now also on the level of progress bars
diff --git a/src/tui/draw/progress.rs b/src/tui/draw/progress.rs index 8d4904d..542e9dc 100644 --- a/src/tui/draw/progress.rs +++ b/src/tui/draw/progress.rs @@ -187,7 +187,14 @@ pub fn draw_progress( None => state, }); - for ( + let mut prev_level = None; + let mut entries_iter = entrie...
1
22
17
536b4c878206f9c6e6fcf443bae701af628cb0d4
Sebastian Thiel
2020-03-31T01:30:16
refactor
diff --git a/src/tui/draw/progress.rs b/src/tui/draw/progress.rs index 17220fd..8d4904d 100644 --- a/src/tui/draw/progress.rs +++ b/src/tui/draw/progress.rs @@ -350,18 +350,9 @@ pub fn draw_tree(entries: &[(Key, Value)], buf: &mut Buffer, bound: Rect, offset max_prefix_len } -fn to_tree_prefix(entry: &(Key, Val...
1
19
12
840bb3a58099b13086fe325631d8858f6546252b
Sebastian Thiel
2020-03-31T01:26:53
A nicer way to draw the progress - show the tree even in the progress bars
diff --git a/src/tui/draw/progress.rs b/src/tui/draw/progress.rs index 512e01f..17220fd 100644 --- a/src/tui/draw/progress.rs +++ b/src/tui/draw/progress.rs @@ -186,24 +186,6 @@ pub fn draw_progress( } None => state, }); - let max_title_width = entries - .iter() - .sk...
1
5
30
833bb982eb76ead49e86f021537a66a2af404b4b
Sebastian Thiel
2020-03-31T01:10:22
Much better tree display, even though the code doing it is a bit wonky :D
diff --git a/examples/dashboard.rs b/examples/dashboard.rs index 7ed8294..054f9b3 100644 --- a/examples/dashboard.rs +++ b/examples/dashboard.rs @@ -91,7 +91,7 @@ fn launch_ambient_gui( window_resize_stream(args.animate_terminal_size), ticker(Duration::from_secs_f32((1.0 / args.fps).max(1.0)))...
2
35
16
f5b1ee109be8000bdae1dd036d82846ceaeb905d
Sebastian Thiel
2020-03-29T11:54:44
Use all functionality that now is available in tui-react
diff --git a/Cargo.toml b/Cargo.toml index f66914c..8fc0448 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ log = { version = "0.4.8", optional = true } # tui-renderer tui = { version = "0.8.0", optional = true } -tui-react = { version = "0.2.0", optional = true } +tui-react = { version = "0.2.2", option...
4
12
138
be1ce7526ba6d8abf85371f6685664390835ba01
Sebastian Thiel
2020-03-28T03:36:51
bump minor; dont' discard previous value of 'interrupt requested'
diff --git a/Cargo.toml b/Cargo.toml index 8af4684..f66914c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "3.1.1" +version = "3.2.0" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
3
10
7
273a1a62bf29a6562c246079c3deeb182cdf4ebe
Sebastian Thiel
2020-03-28T03:30:26
Visualize the interrupt-requested state, while providing useful information
diff --git a/examples/dashboard.rs b/examples/dashboard.rs index f8849f8..7ed8294 100644 --- a/examples/dashboard.rs +++ b/examples/dashboard.rs @@ -77,6 +77,8 @@ fn launch_ambient_gui( progress: Tree, args: arg::Options, ) -> std::result::Result<(impl Future<Output = ()>, AbortHandle), std::io::Error> { + ...
5
84
9
50298236bfd32de329862540bdd00e1e1fae9fec
Sebastian Thiel
2020-03-25T13:00:07
bump patch - fix column sizing for good… …or so I hope ;)
diff --git a/Cargo.toml b/Cargo.toml index cb82342..8af4684 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "3.1.0" +version = "3.1.1" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
4
35
28
b5ef2716b52ecf145c0aff458a05f44b0792ce7a
Sebastian Thiel
2020-03-25T01:42:46
Support for 'halted' state to indicate interruptible tasks; bump minor
diff --git a/Cargo.toml b/Cargo.toml index ba2d0e3..cb82342 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "3.0.2" +version = "3.1.0" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
5
61
27
856b7ee3206d60cb9038f06822515fba0e23688d
Sebastian Thiel
2020-03-25T01:29:01
Allow column width computation to recover from 0; bump patch
diff --git a/Cargo.toml b/Cargo.toml index 7fd4084..ba2d0e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "3.0.1" +version = "3.0.2" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
5
10
9
82baf266045d44ba31aad4e570c687d7c51d0df7
Sebastian Thiel
2020-03-25T01:11:16
bugfix: assure we never try to do 'x % 0' :D
diff --git a/Cargo.toml b/Cargo.toml index d1867d2..7fd4084 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "3.0.0" +version = "3.0.1" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
3
4
2
bc46accd27868ad3bbb21321bee0af114d185fce
Sebastian Thiel
2020-03-25T00:59:12
Bump version to 3.0.0
diff --git a/Cargo.toml b/Cargo.toml index 2639cad..d1867d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "2.1.0" +version = "3.0.0" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
2
5
1
d4dc966dc5ae1d907f7b830a03477f84baead855
Sebastian Thiel
2020-03-25T00:57:08
Allow to control column width recomputation
diff --git a/examples/dashboard.rs b/examples/dashboard.rs index c3da969..4690043 100644 --- a/examples/dashboard.rs +++ b/examples/dashboard.rs @@ -82,6 +82,7 @@ fn launch_ambient_gui( tui::TuiOptions { title: TITLES.choose(&mut thread_rng()).copied().unwrap().into(), frames_per_seco...
2
22
5
98e0f630ffe858b989e7c973de1556a4477a0c8f
Sebastian Thiel
2020-03-25T00:44:37
Support to compute column size only every so many ticks… …this provides better stability for rapidly changing tasks (and their names)
diff --git a/examples/dashboard.rs b/examples/dashboard.rs index 5ba8674..c3da969 100644 --- a/examples/dashboard.rs +++ b/examples/dashboard.rs @@ -19,6 +19,7 @@ async fn work_forever(pool: impl Spawn + Clone + Send + 'static, args: arg::Opti .create(); // Now we should handle signals to be able to cleanup p...
4
91
54
c25217b54fd23d2c450211763a16270f39c3efdb
Sebastian Thiel
2020-03-24T14:21:08
example dashboard: Make sure ticker for context does not outpace FPS
diff --git a/examples/dashboard.rs b/examples/dashboard.rs index 016e36a..5ba8674 100644 --- a/examples/dashboard.rs +++ b/examples/dashboard.rs @@ -83,7 +83,7 @@ fn launch_ambient_gui( }, futures::stream::select( window_resize_stream(args.animate_terminal_size), - ticker(Durat...
1
1
1
a5d44233c56a9a7e05050e95c1aeaf591546bdcb
Sebastian Thiel
2020-03-24T12:56:16
Make chrono dependency available via re-exports
diff --git a/Cargo.toml b/Cargo.toml index adb0886..5b77e27 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ doctest = true default = ["tui-renderer", "log-renderer"] tui-renderer = ["tui", "tui-react", "termion", "futures-timer", "futures", "unicode-segmentation", "unicode-width", "humantime" ] log-render...
2
10
0
d9808cd518b80fb4032a9176f1b1ec4dc5a5fdef
Sebastian Thiel
2020-03-23T00:50:56
Fix integer underflow with graphemes of width 0
diff --git a/Cargo.toml b/Cargo.toml index 92de899..adb0886 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "2.0.0" +version = "2.0.1" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
3
4
2
6fa2e8dc1b795c5614882e95e184810f7f1e466e
Sebastian Thiel
2020-03-21T05:54:39
Transfer to new github location
diff --git a/Cargo.toml b/Cargo.toml index ea827b6..92de899 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ description = "A dashboard for visualizing progress of asynchronous and possibly edition = "2018" include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE.md"] license = "MIT" -repository = "https:/...
1
1
1
74abaeb4486a3a7b6889c3ed99244ab2c1b0bbf7
Sebastian Thiel
2020-03-07T12:35:04
Reasons for block states; major version bump
diff --git a/Cargo.toml b/Cargo.toml index 5fa0be7..ea827b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "1.2.0" +version = "2.0.0" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
5
31
15
d42c0d52f803595a48594a91b3278ce57ff8b95b
Sebastian Thiel
2020-03-07T12:19:42
ETA messages in blocked unbounded tasks
diff --git a/Cargo.toml b/Cargo.toml index 9868468..5fa0be7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "1.1.6" +version = "1.2.0" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
3
20
10
759f1f4164f21804336f2c5677322b59c4218f7a
Sebastian Thiel
2020-03-02T23:58:55
improve API symmetry
diff --git a/Cargo.toml b/Cargo.toml index 1b15f59..9868468 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "1.1.5" +version = "1.1.6" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
3
10
1
3adba17c71b8e98634cf651219ce247b2182174e
Sebastian Thiel
2020-02-23T12:42:19
Cargo clippy
diff --git a/examples/dashboard.rs b/examples/dashboard.rs index 8e1f7e4..4ac895d 100644 --- a/examples/dashboard.rs +++ b/examples/dashboard.rs @@ -77,7 +77,7 @@ fn launch_ambient_gui( let render_fut = tui::render_with_input( progress, tui::TuiOptions { - title: TITLES.choose(&mut thr...
1
12
12
d05158b135bab195dc8a34a573cee120079146b2
Sebastian Thiel
2020-02-23T12:38:28
Don't pretend we only need str
diff --git a/examples/dashboard.rs b/examples/dashboard.rs index 51aed3d..8e1f7e4 100644 --- a/examples/dashboard.rs +++ b/examples/dashboard.rs @@ -134,7 +134,7 @@ async fn work_item(mut progress: Item, speed: f32) -> () { ) } if thread_rng().gen_bool(0.01) { - progress.info(I...
2
17
12
cae0e024d017d84962dc459e200d361c372f9c89
Sebastian Thiel
2020-02-22T03:57:38
(cargo-release) start next development iteration 1.1.3-alpha.0
diff --git a/Cargo.toml b/Cargo.toml index 74b9f3b..8fba7f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "1.1.2" +version = "1.1.3-alpha.0" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous...
1
1
1
c557b6b05206822e2b01feb079d2b8745b408019
Sebastian Thiel
2020-02-22T03:44:12
Bump version for new crate meta-data
diff --git a/Cargo.toml b/Cargo.toml index 3ce6589..74b9f3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prodash" -version = "1.1.1" +version = "1.1.2" authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] description = "A dashboard for visualizing progress of asynchronous and pos...
1
1
1
d75d91fe16e32747bb6400cbe3b3e63c4399f123
Sebastian Thiel
2020-02-22T03:39:53
Adjust repository link
diff --git a/Cargo.toml b/Cargo.toml index 3bbbd01..3ce6589 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ description = "A dashboard for visualizing progress of asynchronous and possibly edition = "2018" include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE.md"] license = "MIT" -repository = "https:/...
1
1
1
a9b3756c8d324c736275287b1d42e8bbd44867ee
oyvindln
2026-03-13T00:00:13
fix: bump simd_adler32 dependency version (needed for wasm issue fix)
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index 8cc5fda..4b0148b 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -18,7 +18,7 @@ name = "miniz_oxide" [dependencies] adler2 = { version = "2.0", default-features = false } -simd-adler32 = { version = "0.3.3", default-features = fa...
2
3
3
c40992ad6df8040794df767290ed0ffc45edc2e0
Lilith River
2026-02-23T01:50:42
fix: reject incomplete Huffman trees with max code length > 1 (#190) Fixes #137. The previous validation only rejected incomplete Huffman trees when more than one symbol had a non-zero code length. This allowed single-symbol trees with code lengths > 1 that don't form valid prefix codes to pass validation, even though...
diff --git a/miniz_oxide/src/inflate/core.rs b/miniz_oxide/src/inflate/core.rs index f6a349e..322c4fc 100644 --- a/miniz_oxide/src/inflate/core.rs +++ b/miniz_oxide/src/inflate/core.rs @@ -915,30 +915,47 @@ fn init_tree(r: &mut DecompressorOxide, l: &mut LocalVars) -> Option<Action> { total_symbols[cs] += ...
2
54
20
d0f3e0cb44fb9a0ce0b876010025949700533258
FabrΓ­cio Bracht
2026-01-21T17:20:21
box LZOxide.codes on wasm32 to reduce stack allocation (#189)
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index 23a23d0..5d454db 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -1,6 +1,8 @@ //! Streaming compression functionality. use alloc::boxed::Box; +#[cfg(target_arch = "wasm32")] +use alloc::vec; u...
1
20
1
86d92e8d284b0acd451e7b6db6bdef41ae9c9db4
oyvindln
2026-01-12T21:24:53
bump c api dep version
diff --git a/Cargo.toml b/Cargo.toml index 838f55e..ebc8563 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ name = "miniz_oxide_c_api" cc = "1.0.83" libc = "0.2.22" crc32fast = "1.2.0" -miniz_oxide = { path = "miniz_oxide", version = "0.8.0" } +miniz_oxide = { path = "miniz_oxide", version = "0.9.0" } ...
1
1
1
cd2d14f0c24e29b18db9538a1ac6cb9519e86d09
oyvindln
2026-01-12T21:11:29
fix(deflate): make more stuff non_exhaustive, reduce deflate stack usage a tiny bit
diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 266c775..64bc690 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -45,6 +45,10 @@ path = "fuzz_targets/via_flate2.rs" name = "roundtrip" path = "fuzz_targets/roundtrip.rs" +[[bin]] +name = "roundtrip_zlib" +path = "fuzz_targets/roundtrip_zlib.rs" + [feature...
4
40
8
e70e395c8f94a97b3c056a1b2fdab54163624836
oyvindln
2025-12-26T17:09:58
feat(deflate): add window_bits feature for deflate, don't set wbits automatically also clarify docs a bit
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index 5952b4a..39666f4 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -362,6 +362,35 @@ pub struct CompressorOxide { pub(crate) dict: DictOxide, } +const fn change_window_bits_from_format(window...
5
133
43
298569d9e780796e988af00df95ecc680207f0d7
oyvindln
2025-12-10T23:02:21
fix: handle non_exhaustive tinfl return status in c API
diff --git a/src/tinfl.rs b/src/tinfl.rs index f20dde5..3ff729b 100755 --- a/src/tinfl.rs +++ b/src/tinfl.rs @@ -12,6 +12,9 @@ pub const TINFL_DECOMPRESS_MEM_TO_MEM_FAILED: size_t = usize::MAX; #[allow(bad_style)] #[repr(C)] pub enum tinfl_status { + /* This flag is a placeholder to cover return statuses not impl...
1
4
0
84a94e80534804151f3af5d7cf5ff6b461a8bf89
oyvindln
2025-12-10T22:55:10
fix: make more funtions const and make tinflstatus non_exhaustive
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index 600a1b3..5952b4a 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -493,7 +493,8 @@ impl CompressorOxide { /// Check the number of unwritten bits after the last flush. /// After a `NoSync` ...
3
7
5
3bb0d51b8da1c8e4536f58fb993915726d410d18
oyvindln
2025-12-10T22:39:57
fix: fix flush test, make new simpler init function for compressoroxide and make flag creation function const
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index 9e9830d..600a1b3 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -367,6 +367,7 @@ impl CompressorOxide { /// /// # Notes /// This function may be changed to take different parameters...
2
25
6
b4bc0f666962289f4555fac5af25ef48d1159d73
Jim Peters
2025-12-09T15:02:59
Make flush test bail out in case of problems rather than run forever (#186) Co-authored-by: Jim Peters <jim@uazu.net>
diff --git a/miniz_oxide/tests/flush.rs b/miniz_oxide/tests/flush.rs index af87be1..7b73565 100644 --- a/miniz_oxide/tests/flush.rs +++ b/miniz_oxide/tests/flush.rs @@ -13,18 +13,28 @@ use miniz_oxide::DataFormat; /// on that byte-string to see that it gives the correct result, /// i.e. right number of bits added, an...
1
12
2
414d9b88f46b95c7b9bb60de1c9dcf1fcaed8395
Jim Peters
2025-12-09T15:02:37
Fix flush_block to always insert zlib header correctly (#187) - Recent flush change broke zlib header handling in case of sync at start of a stream - Fixed and tests added Co-authored-by: Jim Peters <jim@uazu.net>
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index 0064a51..9e9830d 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -1681,6 +1681,16 @@ pub(crate) fn flush_block( output.bit_buffer = d.params.saved_bit_buffer; output.bits_in = d.p...
2
25
7
130d51d5437f09e38f85e4f6ee36ed474c636ba5
oyvindln
2025-12-08T17:42:19
fix(miniz_oxide): make tdeflflush and compressionstrategy non exhaustive avoids api breakage in the future also ignore flush test as it's very slow + change assert to debug assert
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index 5df41b6..0064a51 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -194,6 +194,7 @@ pub mod deflate_flags { /// The non-default settings offer some special-case compression variants. #[repr(i32)] ...
4
18
2
0cfd6ef094a1abe6eb48a1743cf62454e880f324
Kriskras99
2025-12-08T17:02:20
chore: fix typo in `InflateState` documentation (#180) Co-authored-by: kriskras99 <admin@kriskras99.nl>
diff --git a/miniz_oxide/src/inflate/stream.rs b/miniz_oxide/src/inflate/stream.rs index 4d984e0..5939cc6 100644 --- a/miniz_oxide/src/inflate/stream.rs +++ b/miniz_oxide/src/inflate/stream.rs @@ -55,7 +55,7 @@ impl ResetPolicy for FullReset { } } -/// A struct that compbines a decompressor with extra data for ...
1
1
1
0d276ac4dce97dcefd71effec8277b420145f508
Jim Peters
2025-12-08T17:00:28
Flush improvements (#185) * Allow cloning CompressorOxide - Purpose is provisional flushing: clone, flush to measure output, then drop and revert to the original instance before the flush * Tighten up flush behaviour - Make the code not output a block if there is no data to output - Add new flush modes that don't...
diff --git a/miniz_oxide/src/deflate/buffer.rs b/miniz_oxide/src/deflate/buffer.rs index d36dc4a..ec4e499 100644 --- a/miniz_oxide/src/deflate/buffer.rs +++ b/miniz_oxide/src/deflate/buffer.rs @@ -25,6 +25,7 @@ pub const fn update_hash(current_hash: u16, byte: u8) -> u16 { ((current_hash << LZ_HASH_SHIFT) ^ byte a...
3
347
74
bac1abee827765b7d639ba9c574c28e444d7d3df
peckpeck
2025-10-03T23:36:22
Add decompress_with_limit to handle ring buffers (#183) * Add decompress_with_limit to handle ring buffers * Add documentation about wrapping buffers
diff --git a/miniz_oxide/src/inflate/core.rs b/miniz_oxide/src/inflate/core.rs index 427460a..db75dd2 100644 --- a/miniz_oxide/src/inflate/core.rs +++ b/miniz_oxide/src/inflate/core.rs @@ -1,4 +1,29 @@ -//! Streaming decompression functionality. +//! Core decompression functionality. +//! +//! # Using decompress with a...
2
57
6
2ede365ff9b7d9eac8162d6022f480473fea2c8f
Jonathan Behrens
2025-07-20T06:01:17
Implement support for partial flushes (#179)
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index 5c8c568..3a5dfd2 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -223,6 +223,9 @@ pub enum TDEFLFlush { /// Compress as much as there is space for, and then return waiting for more input. ...
1
7
0
4f38d065596d7f2078d3266c9ab130aec9943c5b
clabby
2025-06-28T03:05:00
chore: Do not force `std` with `serde` feature (#178)
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index 3880267..03646c5 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -19,7 +19,7 @@ name = "miniz_oxide" [dependencies] adler2 = { version = "2.0", default-features = false } simd-adler32 = { version = "0.3.3", default-features = fals...
3
5
5
97465ca2e441b204d4ccffe3157a0bd975a6765d
oyvindln
2025-06-11T20:50:16
doc(inflate): add documentation and doctest for decompress_slice_iter_to_slice
diff --git a/miniz_oxide/src/inflate/mod.rs b/miniz_oxide/src/inflate/mod.rs index 5b66ba6..158402d 100644 --- a/miniz_oxide/src/inflate/mod.rs +++ b/miniz_oxide/src/inflate/mod.rs @@ -260,7 +260,33 @@ fn decompress_to_vec_inner( /// * `it` the iterator of input slices. /// * `zlib_header` if the first slice out of t...
1
27
1
025c06ed3258817474f8c2608e6decc43ce1de73
Trevor Gross
2025-06-09T17:37:33
Remove `compiler-builtins` from `rustc-dep-of-std` dependencies (#173) Since [1], this will come automatically from `rustc-std-workspace-core` and the crates.io dependency should no longer be specified. [1]: https://github.com/rust-lang/rust/pull/141993
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index 7b271b7..d586739 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -25,7 +25,6 @@ serde = { version = "1.0", features = ["derive"], optional = true } # stable interface of this crate. core = { version = '1.0.0', optional = true, pack...
1
1
2
f1082df11e25ee0098ee48c754118e0b14cf29b4
oyvindln
2025-04-08T16:49:03
add flate2 fuzz target code
diff --git a/fuzz/fuzz_targets/via_flate2.rs b/fuzz/fuzz_targets/via_flate2.rs new file mode 100644 index 0000000..f4c6d3c --- /dev/null +++ b/fuzz/fuzz_targets/via_flate2.rs @@ -0,0 +1,13 @@ +#![no_main] +#[macro_use] +extern crate libfuzzer_sys; +extern crate flate2; + +use flate2::read::DeflateDecoder; +use std::io:...
1
13
0
adadb9f53836de14b9b88d71337da36e59f32a24
oyvindln
2025-04-08T16:38:23
fix: add fuzz target for running via flate2
diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 1fc5700..266c775 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -4,6 +4,7 @@ name = "miniz_oxide_c_api-fuzz" version = "0.0.1" authors = ["Automatically generated"] publish = false +edition = "2021" [package.metadata] cargo-fuzz = true @@ -11,11 +12,19 ...
4
69
36
bf3cca66bf4b38f3505f9613cff0f9c0fa6f8514
oyvindln
2025-04-08T16:23:47
fix: disable a bunch more stuff that is not used when compiled as part of rustc
diff --git a/miniz_oxide/src/inflate/core.rs b/miniz_oxide/src/inflate/core.rs index 4a1559e..427460a 100644 --- a/miniz_oxide/src/inflate/core.rs +++ b/miniz_oxide/src/inflate/core.rs @@ -17,7 +17,7 @@ use serde::{Deserialize, Serialize}; pub const TINFL_LZ_DICT_SIZE: usize = 32_768; /// A struct containing huffma...
3
23
11
4ed45352308f269cd49a1291e191d60f6b84f07c
oyvindln
2025-04-08T16:04:28
fix(inflate): use wrapping instead of saturating in transfer and add test cate for overflow panic in debug mode
diff --git a/miniz_oxide/src/inflate/core.rs b/miniz_oxide/src/inflate/core.rs index 1da9d05..4a1559e 100644 --- a/miniz_oxide/src/inflate/core.rs +++ b/miniz_oxide/src/inflate/core.rs @@ -1046,8 +1046,11 @@ fn transfer( }; // The last 3 bytes can wrap as those are dealt with separately at the end. + // ...
2
16
1
db85297b646da470134ab079733d151b197efb87
Tymoteusz Kubicz
2025-04-08T15:41:34
fix(inflate): fix possible `attempt to subtract with overflow` (#172)
diff --git a/miniz_oxide/src/inflate/core.rs b/miniz_oxide/src/inflate/core.rs index 00e49b1..1da9d05 100644 --- a/miniz_oxide/src/inflate/core.rs +++ b/miniz_oxide/src/inflate/core.rs @@ -1046,8 +1046,8 @@ fn transfer( }; // The last 3 bytes can wrap as those are dealt with separately at the end. - let ...
1
2
2
c5c0cc66a3b0a40aec23d89c46a88a22e52d4c21
oyvindln
2025-04-03T20:03:00
remove block boundary enum option in c api so it compiles
diff --git a/src/tinfl.rs b/src/tinfl.rs index 50d0167..f20dde5 100755 --- a/src/tinfl.rs +++ b/src/tinfl.rs @@ -55,7 +55,7 @@ impl From<TINFLStatus> for tinfl_status { TINFLStatus::Done => TINFL_STATUS_DONE, TINFLStatus::NeedsMoreInput => TINFL_STATUS_NEEDS_MORE_INPUT, TINFLStatu...
1
1
1
ace80a138c5d17e043d556762a1a3812e6a84034
oyvindln
2025-04-03T16:58:49
fix(inflate): fix overflow crash introduced due to accidentally using | instead of ||
diff --git a/miniz_oxide/src/inflate/core.rs b/miniz_oxide/src/inflate/core.rs index 10984b2..8cff384 100644 --- a/miniz_oxide/src/inflate/core.rs +++ b/miniz_oxide/src/inflate/core.rs @@ -1046,7 +1046,7 @@ fn transfer( // The last 3 bytes can wrap as those are dealt with separately at the end. let not_wrap...
2
10
1
073160c5f9f972d5245e0152e94a5d855a843a03
oyvindln
2025-04-03T15:25:42
fix(inflate): skip stream module when compiling as part of rustc std as it's not used there
diff --git a/miniz_oxide/src/inflate/mod.rs b/miniz_oxide/src/inflate/mod.rs index 46c99d6..1bf92c8 100644 --- a/miniz_oxide/src/inflate/mod.rs +++ b/miniz_oxide/src/inflate/mod.rs @@ -7,6 +7,7 @@ use std::error::Error; pub mod core; mod output_buffer; +#[cfg(not(feature = "rustc-dep-of-std"))] pub mod stream; us...
1
1
0
953a54d6924422e531984737c3a4c158b06d4271
oyvindln
2025-04-02T23:37:37
fix(inflate): evade more bounds checks in inflate and disable stop on block boundary code when compiled as dep of rustc
diff --git a/miniz_oxide/src/inflate/core.rs b/miniz_oxide/src/inflate/core.rs index f63dfaa..10984b2 100644 --- a/miniz_oxide/src/inflate/core.rs +++ b/miniz_oxide/src/inflate/core.rs @@ -113,6 +113,8 @@ const MAX_HUFF_TREE_SIZE: usize = MAX_HUFF_SYMBOLS_0 * 2; const LITLEN_TABLE: usize = 0; const DIST_TABLE: usize ...
2
42
15
82ada74738db584f54fe3c1310771d9ffa3cb924
Philip Taylor
2025-03-25T22:53:39
Block boundary test and cleanup (#171) * Remove z_adler32 from BlockBoundaryState z_adler32 is only set by the ReadAdler32 state, immediately before DoneForever. Since BlockBoundaryState is only valid in ReadBlockHeader, z_adler32 will always have its initial value (1) and there is no point storing it. * Add test fo...
diff --git a/miniz_oxide/src/inflate/core.rs b/miniz_oxide/src/inflate/core.rs index f2a3943..c9d16bf 100644 --- a/miniz_oxide/src/inflate/core.rs +++ b/miniz_oxide/src/inflate/core.rs @@ -208,8 +208,6 @@ pub struct BlockBoundaryState { pub z_header0: u32, /// Zlib FLG pub z_header1: u32, - /// Adler3...
3
154
9
44a3e1b682b8fb61511afdd24397eec8c241edd8
oyvindln
2025-03-20T16:41:35
fix(inflate): improve inflate perf in some cases when using wrapping buffer
diff --git a/miniz_oxide/src/inflate/core.rs b/miniz_oxide/src/inflate/core.rs index 4498bb4..f2a3943 100644 --- a/miniz_oxide/src/inflate/core.rs +++ b/miniz_oxide/src/inflate/core.rs @@ -1036,23 +1036,37 @@ fn transfer( } else { out_pos - source_pos }; - if out_buf_size_mask == usize::MAX && sou...
1
25
7
240bcdde45bc1befe8a43f9d53b955518da1d152
Philip Taylor
2025-03-20T10:45:35
Add API to support random access at block boundaries (#170) * Add API to support random access at block boundaries
diff --git a/miniz_oxide/src/inflate/core.rs b/miniz_oxide/src/inflate/core.rs index dbe2bba..4498bb4 100644 --- a/miniz_oxide/src/inflate/core.rs +++ b/miniz_oxide/src/inflate/core.rs @@ -158,6 +158,11 @@ pub mod inflate_flags { /// this will result in checksum failure (outside the unlikely event where the checks...
3
116
1
061069eed84bcb7b7d84ade442fe31b817a3464f
oyvindln
2025-03-17T15:07:02
fix(inflate): correctly return MZError::buf from inflate on incomplete stream fixes #169 also fix 2 clippy warnings and always inline read_u16_le
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index 5f93eb0..5c8c568 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -315,7 +315,7 @@ fn write_u16_le(val: u16, slice: &mut [u8], pos: usize) { } // Read the two bytes starting at pos and interpret...
3
37
5
8d21f202dc86d60d468f70d42450f3c890b5517a
oyvindln
2025-03-13T16:30:16
fix: make compatible with rust 1.56
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index 0a6c6cd..19c1105 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -41,7 +41,6 @@ harness = false default = ["with-alloc"] with-alloc = [] std = [] -serde = ["std", "dep:serde"] # Internal feature, only used when building as part...
3
2
3
c9e5996da3179261ed07f76f9d0beff0e5c91b4a
dishmaker
2025-03-12T20:26:28
add derive(Serialize, Deserialize) to DecompressorOxide (#166) * feat: add derive(Serialize, Deserialize) to DecompressorOxide
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index bb6a49c..12205a3 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -17,7 +17,7 @@ exclude = ["benches/*", "tests/*"] name = "miniz_oxide" [dependencies] -adler2 = { version = "2.0", default-features = false} +adler2 = { version = "...
6
230
1
d647cb616229124b6016bda1a2dabcebe08907de
oyvindln
2025-03-05T23:00:39
fix compile failure from last commit
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index 045dcb6..bb6a49c 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -29,7 +29,7 @@ compiler_builtins = { version = '0.1.2', optional = true } [dev-dependencies] ## Messes with minimum rust version and drags in deps just for running te...
2
2
2
633e59fd7efa3fe73be7a712503a9b5ede7ef2c1
oyvindln
2025-02-25T22:43:24
fix(deflate): help the compiler evade two bounds checks to improve compression performance a little
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index b4949c3..045dcb6 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -29,7 +29,7 @@ compiler_builtins = { version = '0.1.2', optional = true } [dev-dependencies] ## Messes with minimum rust version and drags in deps just for running te...
3
22
6
3d62e6b6b81441b4a1867bf1504672c835654919
oyvindln
2025-02-21T21:11:49
fix(deflate): fix bug causing 0 length stored block to be output incorrectly causing corrupt stream
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index fc591f2..dc2a15a 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -1639,7 +1639,7 @@ pub(crate) fn flush_block( // Block header. output.put_bits(0, 2); - // Bl...
3
16
5
4c38ff8abb3f8ee1f3708f8facd15d1fe9975fbc
oyvindln
2025-02-21T20:09:27
fix(deflate): some cleanups and evade a bounds check in compress_lz_codes
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index 76364f6..fc591f2 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -21,9 +21,9 @@ use crate::DataFormat; type Result<T, E = Error> = core::result::Result<T, E>; pub(crate) struct Error {} -pub(cr...
2
36
36
7209186ac07f3c8df3d04a97be7048c13f671563
oyvindln
2025-02-11T17:40:18
criterion from tests again - accidentally added it
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index dbd01b0..952b5ab 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -29,7 +29,7 @@ compiler_builtins = { version = '0.1.2', optional = true } [dev-dependencies] ## Messes with minimum rust version and drags in deps just for running te...
1
1
1
4037fee77fd5811ea10fe62a9c772942b6b72cb1
oyvindln
2025-02-11T17:21:37
fix(inflate): Guard against edge case with invalid match distance wrapping around too far when using wrapping buffer fixes #161 Might still need a better check here for wrapping buffers as the code might in some edge cases result in wrong error/garbled data instead of correct error with invalid match distances that r...
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index 94de01c..4a54bca 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -29,7 +29,7 @@ compiler_builtins = { version = '0.1.2', optional = true } [dev-dependencies] ## Messes with minimum rust version and drags in deps just for running te...
3
30
5
701412465814a5add1b620c82a7c4eafb1936b45
oyvindln
2025-02-10T17:16:03
fix(deflate): work around upstream rust change causing performance regression mostly fixes #163
diff --git a/miniz_oxide/src/deflate/buffer.rs b/miniz_oxide/src/deflate/buffer.rs index e79850b..c3c4dcb 100644 --- a/miniz_oxide/src/deflate/buffer.rs +++ b/miniz_oxide/src/deflate/buffer.rs @@ -2,9 +2,9 @@ //! to avoid stack copies. Box::new() doesn't at the moment, and using a vec means we would lose //! static l...
2
18
10
921bc2c51e450f22a2a9405a908c64005caa92fe
Lukasz Anforowicz
2025-02-10T16:01:27
Avoid stack overflow when initializing HashBuffers. (#164) Before this commit, `Box::default()` that creates default `HashBuffers` would in debug mode create the default `HashBuffers` struct on the stack and then as a separate step copy it into the heap (i.e. into the `Box`). This would require 164098 bytes of stac...
diff --git a/miniz_oxide/src/deflate/buffer.rs b/miniz_oxide/src/deflate/buffer.rs index f246c07..e79850b 100644 --- a/miniz_oxide/src/deflate/buffer.rs +++ b/miniz_oxide/src/deflate/buffer.rs @@ -2,6 +2,8 @@ //! to avoid stack copies. Box::new() doesn't at the moment, and using a vec means we would lose //! static l...
2
13
9
f357aa1462f8370592d2a23214490a7391c9f9de
oyvindln
2025-01-13T19:51:25
fix(deflate): remove no longer needed checks for raw mode in compress_normal and commend out accidentally enabled criterion dev dep
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index 5bdb98f..478b341 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -29,7 +29,7 @@ compiler_builtins = { version = '0.1.2', optional = true } [dev-dependencies] ## Messes with minimum rust version and drags in deps just for running te...
3
22
10
1f829d2574a7842f4d5e5a3ff9c33f249451f79f
oyvindln
2025-01-08T17:33:30
fix(deflate): move stored level to it's own function and simplify to improve performance still needs work to properly fix the performance but this lays the groundwork to sort it
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index 478b341..5bdb98f 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -29,7 +29,7 @@ compiler_builtins = { version = '0.1.2', optional = true } [dev-dependencies] ## Messes with minimum rust version and drags in deps just for running te...
4
332
16
04973cad7b088868e51fd7970d028dad0ef0c5d0
oyvindln
2024-12-31T22:09:39
fix(deflate): split some code into new module and fix panic in pad_to_bytes from prev commit
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index b4ccfcb..9ed8215 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -11,6 +11,7 @@ use crate::deflate::buffer::{ update_hash, HashBuffers, LocalBuf, LZ_CODE_BUF_SIZE, LZ_DICT_FULL_SIZE, LZ_HASH_B...
3
127
114
97ee3f1673b0d8bd88f3abcafb6fe392b086e4b7
oyvindln
2024-12-28T19:25:19
fix(deflate): write directly to output buffer instaed of bit buffer to reduce overhead and improve performance of stored blocks a little
diff --git a/miniz_oxide/benches/benchmark.rs b/miniz_oxide/benches/benchmark.rs index 19c6c79..c6fefe0 100644 --- a/miniz_oxide/benches/benchmark.rs +++ b/miniz_oxide/benches/benchmark.rs @@ -3,9 +3,9 @@ extern crate criterion; use std::hint::black_box; use std::io::Read; -use criterion::{criterion_group, criterio...
2
53
17
ac03751c43df22b9bb7f47e50b7dbb8fc11ac141
oyvindln
2024-12-21T22:24:47
fix(bench): add some basic criterion benchmarks criterion dep is disabled by default since there is no way to add separate deps for tests and benchmarks
diff --git a/miniz_oxide/Cargo.toml b/miniz_oxide/Cargo.toml index 3fb1b36..e573ec7 100644 --- a/miniz_oxide/Cargo.toml +++ b/miniz_oxide/Cargo.toml @@ -26,6 +26,15 @@ core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core alloc = { version = '1.0.0', optional = true, package = 'rustc-std-wor...
2
49
0
e3536a779451012db9d6f8d803252a4f30ce6b91
Matthew Deville
2024-12-17T18:26:11
fix (#159)
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index d97f17e..1f914e5 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -1748,7 +1748,7 @@ fn flush_block( } d.huff.count[0][..MAX_HUFF_SYMBOLS_0].fill(0); - d.huff.count[0][..M...
1
1
1
7f341622de22568266f10f9aecd9243ba3d20b07
oyvindln
2024-12-16T15:41:30
fix(c_api): remove unneeded c_export cfg causing issues
diff --git a/src/c_export.rs b/src/c_export.rs index 8e409c2..1bee699 100644 --- a/src/c_export.rs +++ b/src/c_export.rs @@ -253,7 +253,6 @@ impl<'io, ST: StateType> StreamOxide<'io, ST> { } } -#[cfg(not(feature = "no_c_export"))] unmangle!( /// Default allocation function using `malloc`. pub unsafe ...
1
0
1
6fa35b574fcf6d361feacab5ebd9426dd7bc3248
oyvindln
2024-12-16T15:25:27
fix(c_api): fix c export feature check
diff --git a/src/c_export.rs b/src/c_export.rs index 97e3be2..8e409c2 100644 --- a/src/c_export.rs +++ b/src/c_export.rs @@ -253,7 +253,7 @@ impl<'io, ST: StateType> StreamOxide<'io, ST> { } } -#[cfg(not(no_c_export))] +#[cfg(not(feature = "no_c_export"))] unmangle!( /// Default allocation function using ...
1
1
1
c0662f11528cbc32291bf91d6caa1890774c2729
oyvindln
2024-12-16T15:20:41
fix(deflate): use built in fill instead of custom memset function
diff --git a/miniz_oxide/src/deflate/core.rs b/miniz_oxide/src/deflate/core.rs index e3b03b0..d97f17e 100644 --- a/miniz_oxide/src/deflate/core.rs +++ b/miniz_oxide/src/deflate/core.rs @@ -414,12 +414,6 @@ mod zlib { } } -fn memset<T: Copy>(slice: &mut [T], val: T) { - for x in slice { - *x = val - ...
1
12
18