Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-12 | Apply clippy suggestions | Ryan Geary | |
2021-07-12 | Apply clippy suggestions | Ryan Geary | |
2021-07-12 | Propogate BrokenPipe error up to main and exit gracefully | Ryan Geary | |
2020-08-13 | Fix blank line getting printed with field_separator | Ryan Geary | |
This changes the onus of removing trailing newlines when it matters to the caller to print_choice. | |||
2020-06-24 | Use LineWriter when input is stdin (#10) | Ryan Geary | |
2020-06-17 | Move backslash escaping to separate crate | Ryan Geary | |
2020-06-17 | Add backslash escape parsing (#26) | Ryan Geary | |
2020-06-15 | Add one_indexed flag (#23) | Ryan Geary | |
2020-06-08 | Add regression tests for #16 | Ryan Geary | |
2020-06-08 | Add alternate Rust-y range syntax (#11) | Ryan Geary | |
Refactor to support choice 'kind' Add ParseRangeError Add rust syntax range parsing tests Implement rust syntax parsing Change parse to not anticipate exclusivity Add choice tests Implement Rust syntax choices Show that there are multiple in opt.choice*s* Refactor repeated code in choice tests Update documentation to reflect Rust range syntax | |||
2020-06-02 | Add character-wise `choose`ing | Ryan Geary | |
Alphabetize structopt options Add character-wise tests Add character-wise switch Add print-after-end test Add empty default separator for char-wise mode Add char-wise forward and negative printing Add pure reverse printing Change to char_wise to user `char` instead of `u8` Adds support for unicode (read: emojis) Adds a newline char to end of each char-wise test because that's how it is Add writing traits for better code structure Merge repetitive codepaths with generics Unify print_choice_* funtion names Reorder functions in choice module Rename variable to avoid name confusion Make default case for loop more readable Abstract default case print loop Add e2e test Move vec create to print_choice_negative | |||
2020-04-06 | [FEATURE] specify output field delimiter (#8) | Ryan Geary | |
Add output_field_separator option Add output_field_separator tests Change structopt req to 0.3 Separate negative choices into a function Prevent tail printing output_field_separator Change OFS to Option<String> with a default value of " " Reorder arguments to write_bytes to parallel print_choice Print output_separator in main loop if applicable Add `cargo test` to Makefile Add write_separator function | |||
2020-04-04 | Non-greedy String Splitting (#7) | Ryan Geary | |
* Add non_greedy flag * Add non-greedy tests * Prevent printing spaces for empty fields * Prevent filtering non-empty fields when non-greedy | |||
2020-04-02 | Update documentation for v0.1.4v0.1.4 | Ryan Geary | |
2020-04-01 | Add negative choice and parsing tests | Ryan Geary | |
Allow negative ranges as long as they aren't reversed too Allow reversed negative ranges iff both indices are negative | |||
2020-03-17 | Cargo fmt | Ryan Geary | |
2020-03-17 | Handle failure to open input file | Ryan Geary | |
2020-03-17 | Reassign exit codes and clean up e2e_test | Ryan Geary | |
0 - Success 1 - Argument parsing error 2 - Regex compilation error | |||
2020-03-15 | Separate Opt into separate mod | Ryan Geary | |
2020-03-15 | Use lazy_static for parse_choice regex | Ryan Geary | |
2020-03-15 | Return ParseIntErrors from parse_choice | Ryan Geary | |
2020-03-15 | Remove lingering flame_it cfg | Ryan Geary | |
2020-03-15 | Add custom BufReader to cut down on allocation time | Ryan Geary | |
2020-03-14 | Add error messages for stdout writes | Ryan Geary | |
2020-03-14 | Make regex compilation errors more specific | Ryan Geary | |
2020-03-10 | Improve performance and add profiling tooling | Ryan Geary | |
Add tags, todo, *.bench, *.svg and bench_output to .gitignore Add test/bench.sh script. bench.sh runs the `bench` command on each test/long*txt file with range 3:5 and saves the output to a file for comparing performance across file sizes. Inline printing in get_choice_slice Change BufWriter<..stdout..> to BufWriter<T> Add MockStdout for testing printing Add more reverse range tests Simplify word finding with a more uniform bounds check. Add Makefile for generating flamegraphs Redefine Choice struct as a start and end integer Improve algorithm for finding words to print Settle exclusivity at Config construction time Add tests for nonexistant field_seps Add regression test for preceding separator Use handle.write instead of write! macro for tremendous speed up | |||
2019-10-24 | RustFmt | Ryan Geary | |
2019-10-13 | [BREAKING] Default to inclusive ranges, -x for exclusive | Ryan Geary | |
2019-10-13 | Add reverse ranges | Ryan Geary | |
2019-10-13 | Add print_out_of_order test | Ryan Geary | |
2019-10-10 | Reorganize massivelyv0.1.2 | Ryan Geary | |
2019-10-09 | Remove repeated Regex compilation | Ryan Geary | |
2019-09-29 | Use BufWriter and write(ln)! instead of print(ln)! | Ryan Geary | |
2019-09-29 | Stop `collect`ing lines of stdin | Ryan Geary | |
2019-09-17 | Add a bunch of get_choice_slice tests | Ryan Geary | |
2019-09-17 | Separate slice finding from printing | Ryan Geary | |
2019-09-17 | Move parse_choice tests into their own test module | Ryan Geary | |
2019-09-17 | Add future tests | Ryan Geary | |
2019-09-17 | Add successful parsing tests | Ryan Geary | |
2019-09-17 | Add first test | Ryan Geary | |
2019-09-17 | Move most of the processing out of main | Ryan Geary | |
2019-09-11 | Convert panic!s to eprintln!s and add exit stati | Ryan Geary | |
2019-09-11 | Add regex matching with field separator | Ryan Geary | |
2019-09-11 | Unify enumerating lines in print_choice | Ryan Geary | |
2019-09-10 | Validate vector indeces | Ryan Geary | |
2019-09-10 | Allow for inclusive ranges and move choice parsing into Choice enum | Ryan Geary | |
2019-09-10 | Update choice help document | Ryan Geary | |
2019-09-10 | Add Range printing | Ryan Geary | |
2019-09-10 | RustFmt | Ryan Geary | |
2019-09-10 | Iterate through lines and choices | Ryan Geary | |