• Home
  • Raw
  • Download

Lines Matching +full:fuzz +full:- +full:issue +full:- +full:has +full:- +full:question

6 ## Version 0.16.0 (2022-10-23)
16 paths to `fill` and `wrap`. This makes the functions 10-25 times
29 ## Version 0.15.1 (2022-09-15)
34 ## Version 0.15.0 (2022-02-27)
49 0.14, as well as the original `WrapSplitter` parameter which has
71 nearly performance neutral (a 1-2% regression).
76 documentation for short last-line penalty more precise.
83 * [#423](https://github.com/mgeisler/textwrap/pull/423): Add fuzz
86 `wrap_optimal_fit` penalties to non-negative numbers.
88 `debug-words` example.
92 ## Version 0.14.2 (2021-06-27)
94 The 0.14.1 release included more changes than intended and has been
97 ## Version 0.14.1 (2021-06-26)
104 ## Version 0.14.0 (2021-06-05)
107 and flexible. The high-level API of `textwrap::wrap` and
108 `textwrap::fill` remains unchanged, but low-level structs have moved
135 an issue if this causes problems for you!
148 trait. The implementation uses the unicode-linebreak crate, which is
151 With this, Textwrap can be used with East-Asian languages such as
199 Before, Textwrap had several top-level structs such as
209 ## Version 0.13.4 (2021-02-23)
219 ## Version 0.13.3 (2021-02-20)
226 `core::display_width` to handle emojis when the unicode-width Cargo
239 ## Version 0.13.2 (2020-12-30)
249 fuzz tests for `wrap_optimal_fit` and `wrap_first_fit`.
251 unicode-width dependency optional.
255 ## Version 0.13.1 (2020-12-10)
261 deleting a word with Ctrl-Backspace in the interactive demo.
267 ## Version 0.13.0 (2020-12-05)
278 $ cargo run --example interactive --all-features
288 The core wrapping algorithm has been completely rewritten. This fixed
299 #### Optimal-fit wrapping
302 wrapping using an optimal-fit algorithm.
312 "question"
321 "question"
326 The optimal-fit algorithm is inspired by the line breaking algorithm
328 Lines_](http://www.eprg.org/G53DOC/pdfs/knuth-plass-breaking.pdf) by
331 #### In-place wrapping
337 can now mutate it in-place with `fill_inplace`:
353 with only top-level functions.
366 The struct has been replaced by a simpler `Options` struct which only
367 holds options. The `Wrapper` methods are gone, their job has been
368 taken over by the top-level `wrap` and `fill` functions. The signature
372 fn fill(s: &str, width: usize) -> String;
374 fn wrap(s: &str, width: usize) -> Vec<Cow<'_, str>>;
380 fn fill<'a, S, Opt>(text: &str, options: Opt) -> String
385 fn wrap<'a, S, Opt>(text: &str, options: Opt) -> Vec<Cow<'_, str>>
408 and to support the optimal-fit algorithm.
410 The first-fit algorithm could still be implemented in an incremental
421 ## Version 0.12.1 (2020-07-03)
425 * Fixed [#176][issue-176]: Mention compile-time wrapping by linking to
426 the [`textwrap-macros` crate].
427 * Fixed [#193][issue-193]: Wrapping with `break_words(false)` was
431 ## Version 0.12.0 (2020-06-26)
433 The code has been updated to the [Rust 2018 edition][rust-2018] and
439 The `term_size` feature has been replaced by `terminal_size`. The API
443 US-English. This slims down the dependency.
445 * Fixed [#140][issue-140]: Ignore ANSI escape sequences.
446 * Fixed [#158][issue-158]: Unintended wrapping when using external splitter.
447 * Fixed [#177][issue-177]: Update examples to the 2018 edition.
449 ## Version 0.11.0 (2018-12-09)
454 * Merged [#141][issue-141]: Fix `dedent` handling of empty lines and
456 * Fixed [#151][issue-151]: Release of version with hyphenation 0.7.
458 ## Version 0.10.0 (2018-04-28)
463 * Fixed [#99][issue-99]: Word broken even though it would fit on line.
464 * Fixed [#107][issue-107]: Automatic hyphenation is off by one.
465 * Fixed [#122][issue-122]: Take newlines into account when wrapping.
466 * Fixed [#129][issue-129]: Panic on string with em-dash.
468 ## Version 0.9.0 (2017-10-05)
479 * Fixed [#101][issue-101]: Make `term_size` an optional dependency.
481 ## Version 0.8.0 (2017-09-04)
485 `Wrapper::word_splitter` method has been removed. This is a *breaking
488 The `Wrapper` struct has two new methods that will wrap the input text
492 * Fixed [#59][issue-59]: `wrap` could return an iterator. Thanks
494 * Fixed [#81][issue-81]: Set `html_root_url`.
496 ## Version 0.7.0 (2017-07-20)
505 15-30% faster than version 0.6.0.
507 The `squeeze_whitespace` option has been removed since it was
511 * Fixed [#58][issue-58]: Add a "fast_wrap" function.
512 * Fixed [#61][issue-61]: Documentation errors.
514 ## Version 0.6.0 (2017-05-22)
516 Version 0.6.0 adds builder methods to `Wrapper` for easy one-line
526 * Fixed [#28][issue-28]: Support not squeezing whitespace.
528 ## Version 0.5.0 (2017-05-15)
530 Version 0.5.0 has *breaking API changes*. However, this only affects
543 10-15% faster than version 0.4.0.
545 * Fixed [#19][issue-19]: Add support for finding terminal size.
546 * Fixed [#25][issue-25]: Handle words longer than `self.width`.
547 * Fixed [#26][issue-26]: Support custom indentation.
548 * Fixed [#36][issue-36]: Support building without `hyphenation`.
549 * Fixed [#39][issue-39]: Respect non-breaking spaces.
551 ## Version 0.4.0 (2017-01-24)
555 * Fixed [#13][issue-13]: Immediatedly add word if it fits.
556 * Fixed [#14][issue-14]: Avoid splitting on initial hyphens.
558 ## Version 0.3.0 (2017-01-07)
562 ## Version 0.2.0 (2016-12-28)
566 ## Version 0.1.0 (2016-12-17)
570 [rust-2018]: https://doc.rust-lang.org/edition-guide/rust-2018/
571 [`textwrap-macros` crate]: https://crates.io/crates/textwrap-macros
573 [issue-13]: https://github.com/mgeisler/textwrap/issues/13
574 [issue-14]: https://github.com/mgeisler/textwrap/issues/14
575 [issue-19]: https://github.com/mgeisler/textwrap/issues/19
576 [issue-25]: https://github.com/mgeisler/textwrap/issues/25
577 [issue-26]: https://github.com/mgeisler/textwrap/issues/26
578 [issue-28]: https://github.com/mgeisler/textwrap/issues/28
579 [issue-36]: https://github.com/mgeisler/textwrap/issues/36
580 [issue-39]: https://github.com/mgeisler/textwrap/issues/39
581 [issue-58]: https://github.com/mgeisler/textwrap/issues/58
582 [issue-59]: https://github.com/mgeisler/textwrap/issues/59
583 [issue-61]: https://github.com/mgeisler/textwrap/issues/61
584 [issue-81]: https://github.com/mgeisler/textwrap/issues/81
585 [issue-99]: https://github.com/mgeisler/textwrap/issues/99
586 [issue-101]: https://github.com/mgeisler/textwrap/issues/101
587 [issue-107]: https://github.com/mgeisler/textwrap/issues/107
588 [issue-122]: https://github.com/mgeisler/textwrap/issues/122
589 [issue-129]: https://github.com/mgeisler/textwrap/issues/129
590 [issue-140]: https://github.com/mgeisler/textwrap/issues/140
591 [issue-141]: https://github.com/mgeisler/textwrap/issues/141
592 [issue-151]: https://github.com/mgeisler/textwrap/issues/151
593 [issue-158]: https://github.com/mgeisler/textwrap/issues/158
594 [issue-176]: https://github.com/mgeisler/textwrap/issues/176
595 [issue-177]: https://github.com/mgeisler/textwrap/issues/177
596 [issue-193]: https://github.com/mgeisler/textwrap/issues/193