summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-06-17Add backslash escape parsing (#26)feature/handle-escapesRyan Geary
2020-06-16Add crates.io GitHub actionRyan Geary
2020-06-15Add one_indexed flag (#23)Ryan Geary
2020-06-08Bump version to 1.2.0v1.2.0Ryan Geary
2020-06-08Add regression tests for #16Ryan Geary
2020-06-08Create rust.ymlRyan Geary
2020-06-08Add 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-08Fix readme exclusivity mistakeRyan Geary
fixes #14
2020-06-08Add CONTRIBUTING.mdRyan Geary
2020-06-07Prepare for crates.io releaseRyan Geary
2020-06-07Add license line to Cargov1.1.2Ryan Geary
2020-06-02Add updated documentationv1.1.1Ryan Geary
2020-06-02Advance to v1.1.0v1.1.0Ryan Geary
2020-06-02Add character-wise `choose`ingRyan 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-13Add Arch Linux installation to readmeRyan Geary
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-04Non-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-04Update readme.mdArtem Polishchuk
2020-04-04Add packaging statusArtem Polishchuk
2020-04-04Move Cargo.toml to v1.0.0v1.0.0Ryan Geary
2020-04-02Create LICENSERyan Geary
2020-04-02Fix documentation inconsistencyRyan Geary
2020-04-02Update documentation for v0.1.4v0.1.4Ryan Geary
2020-04-01Add negative choice and parsing testsRyan Geary
Allow negative ranges as long as they aren't reversed too Allow reversed negative ranges iff both indices are negative
2020-03-17Cargo fmtRyan Geary
2020-03-17Handle failure to open input fileRyan Geary
2020-03-17Reassign exit codes and clean up e2e_testRyan Geary
0 - Success 1 - Argument parsing error 2 - Regex compilation error
2020-03-16Use debuginfo only for flamegraph buildsRyan Geary
2020-03-15Separate Opt into separate modRyan Geary
2020-03-15Use lazy_static for parse_choice regexRyan Geary
2020-03-15Return ParseIntErrors from parse_choiceRyan Geary
2020-03-15Remove lingering flame_it cfgRyan Geary
2020-03-15Add custom BufReader to cut down on allocation timeRyan Geary
2020-03-15Add test and bench rules to MakefileRyan Geary
2020-03-14Add error messages for stdout writesRyan Geary
2020-03-14Make regex compilation errors more specificRyan Geary
2020-03-10Set version=0.1.3v0.1.3Ryan Geary
2020-03-10Improve performance and add profiling toolingRyan 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-24RustFmtRyan Geary
2019-10-13[BREAKING] Default to inclusive ranges, -x for exclusiveRyan Geary
2019-10-13Add reverse rangesRyan Geary
2019-10-13Add print_out_of_order testRyan Geary
2019-10-10Reorganize massivelyv0.1.2Ryan Geary
2019-10-09Remove repeated Regex compilationRyan Geary
2019-09-29Use BufWriter and write(ln)! instead of print(ln)!Ryan Geary
2019-09-29Stop `collect`ing lines of stdinRyan Geary
2019-09-29Bump version in Cargo.tomlv0.1.1Ryan Geary
2019-09-17Add cargo test to e2etestRyan Geary
2019-09-17Add a bunch of get_choice_slice testsRyan Geary
2019-09-17Separate slice finding from printingRyan Geary