Commit Graph

324 Commits

Author SHA1 Message Date
Lynne Megido ce721c20f6
fixed broken singlethreaded support (whoops) 2021-02-15 05:13:16 +10:00
Lynne Megido 2431e3493a
support using either infer or xdg_mime for mime detection
i guess we can build for windows now
2021-02-15 04:58:57 +10:00
Lynne Megido bc4edecd21
now we don't have to pass &db through three different functions, hooray
this also makes it easier to replace xdg_mime with something else in future
2021-02-15 03:33:24 +10:00
Lynne Megido d7eb0de299
nicer formatting, moved Findings into its own file 2021-02-15 03:12:27 +10:00
Lynne Megido 3642f0112a
version bump, minor cleanup, cli parse fix
previously, `fif -e rs src` would be interpreted as "scan for files with extensions 'rs' and 'src' in the default directory" instead of "scan for files with extension 'rs' in 'src'" - this has been fixed
2021-02-15 02:20:48 +10:00
Lynne Megido cda6184d45
cargo upd8 2021-02-15 00:48:22 +10:00
Lynne Megido 3ae4ec53d8
begone, proc_macro! removes a bunch of dependencies that came through darling. 2021-02-15 00:30:12 +10:00
Lynne Megido 3963910e1e
write header/footer with fif version, sh shebang, etc. 2021-02-15 00:25:32 +10:00
Lynne Megido 00de841fda
handle invalid utf-8 filenames properly... i think 2021-02-14 23:58:46 +10:00
Lynne Megido 32ba0176b2
cargo update, minor cleanup 2021-02-12 19:19:08 +10:00
Lynne Megido 578f2f6be5
fixed indentation, removed some unneeded clap features 2021-02-12 01:46:24 +10:00
Lynne Megido 82bdbebec5
rudimentary script output, lots of small stuff, performance improvements 2021-02-10 19:20:22 +10:00
Lynne Megido 9be33cd90f
0uo 2021-02-06 21:53:44 +10:00
Lynne Megido e3466a8912
chunked multithreading! 0u0 also conditional compilation of some stuff 2021-02-06 21:51:20 +10:00
Lynne Megido 8fc3f18466
first read a smol chunk, if we can't ID the file, read BUF_SIZE 2021-02-06 21:48:31 +10:00
Lynne Megido 6d49336e6b
more gooder output 2021-02-06 13:24:13 +10:00
Lynne Megido b92ceabfe2
much nicer output 2021-02-05 23:49:36 +10:00
Lynne Megido 5f36f663fc
maybe don't depend on regex 0u0; 2021-02-05 23:34:02 +10:00
Lynne Megido 2c4a8f6a3b
implemented parallel functionality! 0u0 2021-02-05 22:45:51 +10:00
Lynne Megido 775fb306ad
switched from structopt to clap 3 2021-02-05 19:24:08 +10:00
Lynne Megido ed54ae2452
work toward parallelisation 2021-02-05 19:15:12 +10:00
Lynne Megido d99eb281b3
removed unecessary stuff 2021-02-05 16:05:33 +10:00
Lynne Megido 84e0b0fd0e
better error handling and pattern matching, added license 2021-02-05 15:57:21 +10:00
Lynne Megido 1a32c6c2f0
initial commit 2021-02-04 21:22:19 +10:00