Commit Graph

455 Commits

Author SHA1 Message Date
Jonathan Turner
c85b7728bc Remove old sysinfo and finish sys 2019-07-28 14:02:42 +12:00
Jonathan Turner
2464a33660 Progress the sys plugin a bit further 2019-07-28 08:09:25 +12:00
Jonathan Turner
a09361698e Update plugin protocol for begin, and create new sys plugin 2019-07-27 19:45:00 +12:00
Jonathan Turner
eba20e5c7b Partial buffers just get printed to screen 2019-07-27 07:31:46 +12:00
Jonathan Turner
e4797f8895 Add end_plugin and sum 2019-07-27 06:40:00 +12:00
Jonathan Turner
96f26b30a7 Add date command 2019-07-26 16:09:19 +12:00
Jonathan Turner
1f26101e2f Yet more improvements to textview (and binaryview) 2019-07-26 04:22:22 +12:00
Jonathan Turner
e74856a14e Redo frame 2019-07-25 17:19:19 +12:00
Jonathan Turner
f2873edf6c One more go at fixing scroll textarea in windows 2019-07-25 14:43:51 +12:00
Jonathan Turner
501482cc31 Move to rawkey 2019-07-25 13:25:17 +12:00
Jonathan Turner
a6b79748d9 Move to async keys for textview 2019-07-25 13:07:33 +12:00
Jonathan Turner
f3fdda8d35 Move textview to plugin 2019-07-25 05:14:30 +12:00
Jonathan Turner
568931c80c add basic paging to text views 2019-07-24 19:44:12 +12:00
Yehuda Katz
73deeb69db Clean up lint errors 2019-07-23 21:10:48 -07:00
Yehuda Katz
5a8e041a48 Tests pass! 2019-07-23 15:22:11 -07:00
Jonathan Turner
72384629fd
Merge pull request #205 from androbtech/cp_play
Introduced initial cp functionality.
2019-07-24 04:46:30 +12:00
Andrés N. Robalino
0790a714b0 Appropiate error handling when copying (thanks @jonathandturner) 2019-07-23 01:03:35 -05:00
Jonathan Turner
ec7d49b0d2 Add and edit functionality 2019-07-22 15:52:57 +12:00
Andrés N. Robalino
2da43f4b06 Introduced initial cp functionality. 2019-07-21 21:23:02 -05:00
Jonathan Turner
12a785f2a2
Merge pull request #202 from jonathandturner/add_bat_syntax
Add a more complete syntax file (from bat)
2019-07-22 04:31:57 +12:00
Jonathan Turner
5108ebccac
Merge pull request #201 from jonathandturner/row_numbers
Row numbers
2019-07-22 04:31:42 +12:00
Jonathan Turner
142596c36e Add a more complete syntax file (from bat) 2019-07-22 04:03:54 +12:00
Andrés N. Robalino
191dacdd8b Introduced conversion to csv command. 2019-07-21 02:08:05 -05:00
Jonathan Turner
a165b3574f Add some row numbers if there are multiple rows 2019-07-20 21:23:44 +12:00
Jonathan Turner
c36c2a7b50 Switch from_csv to output rows 2019-07-20 18:44:21 +12:00
Jonathan Turner
15507f00fc Introduce CallInfo, which abstracts args, name_span, and source_map 2019-07-20 14:27:10 +12:00
Jonathan Turner
1e6a9b9b34 Merge branch 'master' into source_spans 2019-07-20 13:14:05 +12:00
Jonathan Turner
27dbc1cb9a Add syntect (and borrow bat's theme file) 2019-07-20 13:12:04 +12:00
Andrés N. Robalino
895a1b2d72 Introduced ability to open csv documents. 2019-07-19 15:48:42 -05:00
Jonathan Turner
d5d4da0bf8 Add first step of uuid generation and bookkeeping 2019-07-20 07:48:14 +12:00
Andrés N. Robalino
514da5bfa7 Can remove files and directories. 2019-07-18 05:21:24 -05:00
Jonathan Turner
e66c687da6 Add semver increment 2019-07-18 13:49:12 +12:00
Jonathan Turner
3b682046b7 new inc takes a path 2019-07-18 13:32:19 +12:00
Jonathan Turner
be69df86a9 Add more formats 2019-07-18 07:05:20 +12:00
Jonathan Turner
00b3106f05 Improve open URL. Format and remove warning in tests 2019-07-18 06:56:15 +12:00
Jonathan Turner
2ed46046bd Cleanup for upcoming release 2019-07-17 07:10:25 +12:00
Jonathan Turner
c7abb31b7c Fix inc plugin 2019-07-16 19:25:48 +12:00
Jonathan Turner
3ebb6ba991 Fix plugin's commandconfig 2019-07-16 19:08:35 +12:00
Jonathan Turner
7ffab5441b Merge branch 'master' into pixel_ascii 2019-07-16 17:23:17 +12:00
Jonathan Turner
b07e1ccbf7 Add missing file 2019-07-16 16:05:38 +12:00
Jonathan Turner
c94c663771 Fix up some of the save formats 2019-07-16 16:03:28 +12:00
Jonathan Turner
1ecb4401ba WIP 2019-07-16 15:25:36 +12:00
Jonathan Turner
60f4436849
Merge pull request #181 from nushell/string-arg
Make signatures a little more general
2019-07-16 09:40:36 +12:00
Yehuda Katz
ded3462e82 Make signatures a little more general 2019-07-15 14:16:27 -07:00
Jonathan Turner
49ddfa3940 Merge branch 'master' into pixel_ascii 2019-07-16 08:04:47 +12:00
Jonathan Turner
ae4d3ab4cf Bump deps and add serde_bytes support 2019-07-16 06:34:44 +12:00
Jonathan Turner
59e3ca69f3
Merge pull request #177 from jonathandturner/fix_numeric_filenames
Check for barewords that start with a number
2019-07-16 06:04:00 +12:00
Jonathan Turner
15c95e5ffb
Merge pull request #174 from androbtech/recognize-more-unit
K raw unit is a kilobyte.
2019-07-16 05:53:03 +12:00
Jonathan Turner
bb13c2e234 Check for barewords that start with a number 2019-07-16 05:48:06 +12:00
Jonathan Turner
5261d5f43f Fix space and escaped paren completions 2019-07-15 17:40:27 +12:00
Andrés N. Robalino
520ab55756 K raw unit is a kilobyte. 2019-07-14 22:47:01 -05:00
Jonathan Turner
8d920baf07 Try to add hires mode 2019-07-15 06:38:03 +12:00
Jonathan Turner
1a36f47bcb Don't redraw static frame 2019-07-14 19:54:30 +12:00
Jonathan Turner
a3f628427f Fix binary view for better approx 2019-07-14 19:28:56 +12:00
Jonathan Turner
59115a532f
Merge pull request #173 from jonathandturner/simplify_ls
Change 'file name' => 'name'. Same for type
2019-07-14 17:23:29 +12:00
Jonathan Turner
720cc03649 Change 'file name' => 'name'. Same for type 2019-07-14 16:59:36 +12:00
Andrés N. Robalino
7e78bb4af5 Informs passing flags is unimplemented instead of quitting. 2019-07-13 22:39:41 -05:00
Jonathan Turner
eefb6fd9a0 Bump rustc version. Fix macOS build issue 2019-07-14 05:32:01 +12:00
Jonathan Turner
7e555a0ef2 "Add plugin arg errors. Bring remaining errors to parity" 2019-07-14 04:59:59 +12:00
Yehuda Katz
b2d48566ba Remove unused tree 2019-07-12 19:20:26 -07:00
Yehuda Katz
6bf55c0f1e Remove more dead code and clean up JSON 2019-07-12 19:20:26 -07:00
Yehuda Katz
7c2a1c619e Tests pass 2019-07-12 19:20:26 -07:00
Yehuda Katz
70f9e355fd WIP 2019-07-12 19:20:26 -07:00
Yehuda Katz
2da12aed56 Tests pass 2019-07-12 19:20:26 -07:00
Yehuda Katz
7b68739b52 WIP 2019-07-12 19:20:26 -07:00
Yehuda Katz
71adfb4cdc WIP 2019-07-12 19:20:26 -07:00
Yehuda Katz
34033afce4 WIP improve error infrastructure
Also simplify commands and reduce papercuts
2019-07-12 19:20:26 -07:00
Jonathan Turner
958bb534b4 Finish moving a couple commands to plugins, remove unused plugin 2019-07-06 05:19:19 +12:00
Jonathan Turner
ea997289d9 Add some logic for more binary formats 2019-07-05 19:53:09 +12:00
Jonathan Turner
71ac03f287 Improve ansi handling 2019-07-05 16:23:28 +12:00
Jonathan Turner
563fabfdca Small cleanup, hopefull unbroken lock file 2019-07-05 13:01:19 +12:00
Jonathan Turner
73d87e57ab Switch to rawkey reader. Add more binary reading 2019-07-05 10:17:18 +12:00
Jonathan Turner
5e779d8b2b Add pretty binary viewing 2019-07-04 17:23:05 +12:00
Jonathan Turner
65a0d27c8a Add binary type and tree sink 2019-07-04 17:11:56 +12:00
Jonathan Turner
dc8545ce10 Add a test for the plugins 2019-07-04 15:18:19 +12:00
Jonathan Turner
c653751d2c Bump and cleanup plugin name match 2019-07-04 15:06:43 +12:00
Jonathan Turner
0180769971 WIP now load plugins automatically 2019-07-04 05:37:09 +12:00
Jonathan Turner
75ddfe9f5a Add filter and sink plugins 2019-07-02 19:56:20 +12:00
Jonathan Turner
ccb3c92287 cleanup 2019-06-30 18:49:33 +12:00
Jonathan Turner
d86b808694 Merge branch 'master' into serial 2019-06-30 18:47:03 +12:00
Jonathan Turner
c3697c67ca Make serialization full-fidelity 2019-06-30 18:46:49 +12:00
Yehuda Katz
711ed05b43 Produce ArgumentError for signature mismatch
ArgumentError also automatically produces diagnostics
2019-06-29 23:14:40 -07:00
Yehuda Katz
5cac3d1135 Fix lints 2019-06-29 09:32:58 -07:00
Yehuda Katz
3379c23a49 Support evaluating most expressions
Blocks, paths, and others

Plus a bunch of other infra improvements
2019-06-29 01:55:42 -07:00
Jonathan Turner
47f23cacc7 Add second plugin 2019-06-28 04:47:24 +12:00
Jonathan Turner
78bb5647fc A bit of tidying 2019-06-27 17:16:29 +12:00
Jonathan Turner
d5704808d4 First working plugin 2019-06-27 16:56:48 +12:00
Jonathan Turner
c9e74b1898
Merge pull request #135 from jonathandturner/mime_open
Add content-type to open, refactor open/enter
2019-06-26 19:52:50 +12:00
Jonathan Turner
cfcf43ca93 Add content-type to open, refactor open/enter 2019-06-26 19:40:43 +12:00
Jonathan Turner
8bf7ea1c6c Add at 2019-06-26 18:33:26 +12:00
Jonathan Turner
c969c2c362 Clean up old parser code 2019-06-25 16:33:12 +12:00
Jonathan Turner
160074346f Fix units and add test 2019-06-24 19:59:23 +12:00
Jonathan Turner
dea5ff17c3 Remove println 2019-06-24 16:13:01 +12:00
Jonathan Turner
dd4e59d627 Fix coloring of commands 2019-06-24 16:00:16 +12:00
Jonathan Turner
62368644fa Fix lines for windows 2019-06-24 14:00:53 +12:00
Yehuda Katz
7957fc502f Fix a bunch of bugs 2019-06-23 18:55:31 -06:00
Yehuda Katz
bed5ba52d3 Fixed trailing issues 2019-06-23 15:36:01 -04:00
Jonathan Turner
af82f44e13 Merge master, fix conflicts 2019-06-24 05:54:02 +12:00
Yehuda Katz
cbab97174e Fix painting 2019-06-23 13:35:43 -04:00
Jonathan Turner
3d893d5afc Update sysinfo for better subsystem selection 2019-06-24 05:21:09 +12:00
Yehuda Katz
d0860837d2 Merge branch 'nom2' into nom4 2019-06-22 18:20:13 -04:00
Yehuda Katz
4036bf1ffd &str -> Text 2019-06-22 16:46:16 -04:00
Jonathan Turner
dc081151bc add back some shell coloring 2019-06-23 07:47:29 +12:00
Jonathan Turner
37c4fb92f8 Fix raw as a variable 2019-06-23 06:32:58 +12:00
Jonathan Turner
9af08eb911 Fix flag oversight 2019-06-23 06:02:23 +12:00
Jonathan Turner
72a61f557b Remove debug println 2019-06-23 04:59:37 +12:00
Jonathan Turner
0046305ea1 Fix conflicts 2019-06-23 04:31:51 +12:00
Yehuda Katz
3b35dcb619 Finish nom upgrade 2019-06-22 10:08:53 -04:00
Jonathan Turner
8cc91e05c4 WIP 2019-06-22 15:52:19 +12:00
Jonathan Turner
1c0096b2fb WIP 2019-06-22 15:49:49 +12:00
Jonathan Turner
9ae9beb94a WIP 2019-06-22 15:43:37 +12:00
Jonathan Turner
baeb192f12 Merge master 2019-06-22 13:38:17 +12:00
Yehuda Katz
e981129f1f Things work 2019-06-21 21:36:57 -04:00
Jonathan Turner
62310caa32 now tableview forces being a table 2019-06-21 19:52:15 +12:00
Jonathan Turner
18e39343ad Add vertical table view 2019-06-21 16:20:06 +12:00
Jonathan Turner
68a04829cb Add more information to sysinfo 2019-06-21 13:35:51 +12:00
Jonathan Turner
b4eb32f1db Touchups to external values 2019-06-19 17:51:24 +12:00
Jonathan Turner
10654d425f Fix Windows build issue 2019-06-19 17:09:22 +12:00
Jonathan Turner
3f718a20be Add a system info source 2019-06-19 16:53:55 +12:00
Jonathan Turner
a72e92207b Merge branch 'master' into lines 2019-06-18 15:39:17 +12:00
Jonathan Turner
a764a64161 Move back onto main subprocess 2019-06-18 14:04:34 +12:00
Jonathan Turner
5389c8ac45 Add missing files 2019-06-18 12:39:57 +12:00
Jonathan Turner
54301fe3be Add lines and improve split 2019-06-18 12:39:09 +12:00
Jonathan Turner
1000ec21b5 Add .ini loading/saving 2019-06-16 18:43:40 +12:00
Jonathan Turner
eae83d85d2 Add more error checking 2019-06-16 11:03:49 +12:00
Jonathan Turner
7a332892bd Fixes for windows 2019-06-16 09:41:26 +12:00
Jonathan Turner
416d1c8cbb Merge branch 'master' into touchups 2019-06-16 06:41:26 +12:00
Jonathan Turner
54be5bf16e Update errors and improve ctrl-c 2019-06-16 06:36:17 +12:00
Jonathan Turner
910869b79d Get stream errors working 2019-06-16 05:52:55 +12:00
Jonathan Turner
3121f1c20f Fix warning 2019-06-15 16:56:18 +12:00
Jonathan Turner
d7c49fa3be More touchups. Fix crash 2019-06-15 16:20:58 +12:00
Yehuda Katz
6e222eec2b More delimiters 2019-06-14 20:16:13 -07:00
Yehuda Katz
640484063b More tests 2019-06-14 20:16:13 -07:00
Yehuda Katz
4f3a5f0300 Paths 2019-06-14 20:16:13 -07:00
Yehuda Katz
c5c14e2d89 Add a bunch more tokens and delimited () 2019-06-14 20:16:13 -07:00
Yehuda Katz
4291e31dc7 Start rebuilding lite parser using nom 2019-06-14 20:16:13 -07:00
Jonathan Turner
8cdd567b0e Rewrite README and do some touchups 2019-06-15 14:24:13 +12:00
Jonathan Turner
108439f3d1 Add basic obj path indexing 2019-06-14 13:59:13 +12:00
Jonathan Turner
d94e0d436e Add exit 2019-06-14 10:49:16 +12:00
Jonathan Turner
f40089f29b Better cd and ls 2019-06-14 09:47:25 +12:00
Jonathan Turner
22f9126cf6 merge master and fix conflict 2019-06-11 18:27:19 +12:00
Jonathan Turner
7642541755 Add xml open support 2019-06-11 18:26:03 +12:00
Yehuda Katz
2b876da56f Some function stuff
It's not done, but honestly it's getting too tedious. I will need to
rethink how I'm doing it.
2019-06-10 13:11:55 -07:00
Jonathan Turner
62fac11e07 Cleanup and bump rustyline 2019-06-10 05:52:56 +12:00
Jonathan Turner
df6b5b3e68 Check url for extension during magic open 2019-06-09 07:24:12 +12:00
Jonathan Turner
4e6c3d255c Add opening urls 2019-06-09 06:09:17 +12:00
Jonathan Turner
e94d1d2758 Add pretty errors to commands 2019-06-08 10:35:07 +12:00
Jonathan Turner
62b648ceb8 Add save sink 2019-06-08 05:13:38 +12:00
Jonathan Turner
2f590d051a Rename to clip 2019-06-08 04:46:47 +12:00
Jonathan Turner
7d53592174 Add clipboard support 2019-06-08 04:30:50 +12:00
Jonathan Turner
1cd1622019 Fix tests 2019-06-07 19:54:52 +12:00
Jonathan Turner
7c794dc189 Add tree sink 2019-06-07 19:50:26 +12:00
Jonathan Turner
090ec031a9 Add sinks 2019-06-07 18:34:42 +12:00
Odin Dutton
b79dc2257c Handle Ctrl-C gracefully 2019-06-07 10:31:22 +10:00
Jonathan Turner
f31c08e941
Merge pull request #87 from wycats/better-parser
Span all the things
2019-06-06 20:00:37 +12:00
Yehuda Katz
324f7915be Span all the things
Also set up builder infra for more consistent AST creation.
2019-06-05 23:34:59 -07:00
Jonathan Turner
3a3479e6b5 More table tweaks 2019-06-05 15:54:34 +12:00
Jonathan Turner
c6033424ae Rework table view 2019-06-05 15:27:31 +12:00
Jonathan Turner
8cb77034f3 Fix quoted strings in linux 2019-06-05 14:27:53 +12:00
Jonathan Turner
05dc715876 Rename select to get 2019-06-05 13:53:38 +12:00
Yehuda Katz
f3bb4a03c2 Improve parser 2019-06-04 14:42:31 -07:00
Jonathan Turner
c050ce852b Lots of misc improvements 2019-06-03 19:41:28 +12:00
Yehuda Katz
a8574abbf2 Improve errors 2019-06-02 22:11:21 -07:00
Jonathan Turner
2a20192519 Fix up some warnings and move integration tests to correct dir 2019-06-03 15:48:58 +12:00
Jonathan Turner
0c2be40afc Fix integration tests for Linux 2019-06-03 13:26:29 +12:00
Jonathan Turner
f3d14aad48 Add more tests 2019-06-03 12:37:16 +12:00
Jonathan Turner
9ba42eae46 Fix up tests 2019-06-03 12:03:40 +12:00
Jonathan Turner
90d0182a54 Rename to first and pick 2019-06-03 06:53:30 +12:00
Jonathan Turner
2997d24f16
Merge branch 'master' into testing 2019-06-03 05:51:11 +12:00
Yehuda Katz
b9159f033b Parsing tests 2019-06-02 09:28:40 -07:00
Jonathan Turner
2045e01945 Fix linux shell support 2019-06-02 19:51:54 +12:00
Jonathan Turner
040c3a5e9c Add first integration test 2019-06-02 15:37:09 +12:00
Jonathan Turner
be5fd58cca
Merge pull request #59 from jonathandturner/gitbranch
Show the current git branch in the prompt
2019-06-02 11:39:58 +12:00
Jonathan Turner
9122042998 Find the repo even in a subdir 2019-06-02 11:38:28 +12:00
Yehuda Katz
9db8de4845
Merge pull request #58 from wycats/trace
Remove stray commented out lines
2019-06-01 14:15:49 -07:00
Yehuda Katz
f7590d924e Remove stray commented out lines 2019-06-01 14:15:21 -07:00
Jonathan Turner
d6cd0df232 Add git branch to prompt 2019-06-02 09:11:28 +12:00
Jonathan Turner
a62de9356c Add support for magic open 2019-06-02 07:20:48 +12:00
Jonathan Turner
f5c7bed77a
Merge pull request #56 from jonathandturner/to_toml
Add to_toml export
2019-06-02 06:27:07 +12:00
Jonathan Turner
e3e1d81f48 Add to_toml export 2019-06-02 06:26:04 +12:00
Yehuda Katz
5d4097073b Add --loglevel and --develop
--loglevel sets the log level for all of nu
--develop takes a list of modules and turns on trace mode for them
2019-06-01 10:00:42 -07:00
Jonathan Turner
5d901a11e1
Add from_toml (#54) 2019-06-01 19:05:57 +12:00
Yehuda Katz
69effbc9e7 Improve signature infrastructure
The `config` command uses different kinds of named arguments, which
illustrates how it works.
2019-05-31 22:54:15 -07:00
Jonathan Turner
d7ff9fb7b7
Trim (#52)
Add a simple trim command
2019-06-01 15:43:59 +12:00
Jonathan Turner
5043367d11
Internal to external (#51)
Add a simple form of internal->external support
2019-06-01 15:19:03 +12:00
Jonathan Turner
1012a8dc41 Cleanup/rename some commands 2019-06-01 08:34:15 +12:00
Jonathan Turner
72c4bb20b3 Fix bare dot paths and add dot paths to select 2019-06-01 07:15:29 +12:00
Jonathan Turner
f38726d2aa Add back in number w/ units parsing 2019-06-01 05:21:03 +12:00
Jonathan Turner
5ebe9c58aa Merge branch 'master' of https://github.com/wycats/nushell 2019-06-01 04:48:51 +12:00
Yehuda Katz
b319381d84 Improve highlighting 2019-05-31 09:33:46 -07:00
Jonathan Turner
d95973ad0a Merge branch 'master' of https://github.com/wycats/nushell 2019-05-31 19:20:01 +12:00
Yehuda Katz
9e9c0b9811 Fix bare word .
Addresses `git add .`
2019-05-30 22:45:57 -07:00
Yehuda Katz
9a639fd27b Syntax highlighting 2019-05-30 17:53:54 -07:00
Jonathan Turner
9bf279508e Merge branch 'master' of https://github.com/wycats/nushell 2019-05-31 04:12:47 +12:00
Yehuda Katz
c523ae0f48 More fixes for external args 2019-05-29 22:33:47 -07:00
Jonathan Turner
33580db257 Merge branch 'master' of https://github.com/wycats/nushell 2019-05-30 17:24:40 +12:00
Yehuda Katz
204891e7c2 Fix external args 2019-05-29 22:20:44 -07:00
Jonathan Turner
7066b6ecca Merge with master 2019-05-30 17:09:23 +12:00
Jonathan Turner
dd35b2460c Add row-split 2019-05-30 17:08:42 +12:00
Yehuda Katz
b7d15c2afd Better errors and more fleshed out semantics 2019-05-29 21:19:46 -07:00
Yehuda Katz
e4013a008c Custom lexer 2019-05-29 08:26:45 -07:00
Jonathan Turner
8e00cd43a8 Add select command which opens cell 2019-05-29 16:02:36 +12:00
Jonathan Turner
f44936ea5a Some fixes for the new evaluator 2019-05-28 19:19:16 +12:00
Yehuda Katz
d5255f6dbf
Evaluator MVP (#39)
Evaluator, MVP
2019-05-27 23:45:18 -07:00
Jonathan Turner
10702cd27f Add size units to parsing 2019-05-28 17:05:14 +12:00
Jonathan Turner
420b840cd6 Add missing files 2019-05-28 16:00:00 +12:00
Jonathan Turner
d35a9d17ad
Merge branch 'master' into size 2019-05-28 14:06:35 +12:00
Jonathan Turner
b34676441b Add json support 2019-05-28 14:01:37 +12:00
Odin Dutton
4296466cd2 Remove total from size command
There is a plan to introduce general facility for subtotaling numeric
columns.
2019-05-27 08:41:23 +10:00
Yehuda Katz
8464bcbb70
Merge branch 'master' into size 2019-05-26 00:20:01 -07:00
Yehuda Katz
b74daa2e60 A real parser (lalrpop) 2019-05-26 00:17:35 -07:00
Odin Dutton
a2b63f7e0c Add size command 2019-05-26 12:12:47 +10:00
Jonathan Turner
29bc4985fc Build our own args before shelling 2019-05-25 15:23:35 -07:00
Jonathan Turner
e73f489aeb Make our own LinesCodec 2019-05-25 12:07:52 -07:00
Jonathan Turner
ad0b79673e Add split command 2019-05-24 18:20:03 -07:00
Yehuda Katz
bd055f2af1 Linting and other cleanup 2019-05-24 12:35:22 -07:00
Yehuda Katz
9f8d2a4de5 Pipe external to internal
Each line is a string object
2019-05-24 11:48:33 -07:00
Yehuda Katz
f9fb353c5c Streams are wired up pairwise 2019-05-24 00:29:16 -07:00
Yehuda Katz
bf332ea50c Improved streams 2019-05-23 21:34:43 -07:00
Yehuda Katz
625a356361 Data flows across commands via streams now 2019-05-23 00:23:06 -07:00
Yehuda Katz
31dd579d6f Small restructuring 2019-05-22 21:30:43 -07:00
Yehuda Katz
261d7a793f Restructure and make commands uniform 2019-05-22 00:12:03 -07:00
Jonathan Turner
75b7842618 Fix quoted string handling 2019-05-18 07:42:55 -07:00
Jonathan Turner
2e2831de95 Rename bat -> view 2019-05-18 07:15:22 -07:00
Jonathan Turner
1b50b5b162 Complete commands a bit better 2019-05-18 07:06:01 -07:00
Jonathan Turner
ef8a935185
Merge pull request #8 from jonathandturner/path_completion
Add path completion to existing completions
2019-05-17 20:14:35 -07:00
Jonathan Turner
d9135c4f46
Merge pull request #7 from jonathandturner/real_operators
Add support for real comparison operators
2019-05-17 20:14:25 -07:00
Jonathan Turner
fdc5e802eb Update cwd as we cd 2019-05-17 19:53:20 -07:00
Jonathan Turner
1c44de4bba Add path completion to existing completions 2019-05-17 19:30:57 -07:00
Jonathan Turner
76c295995d Add support for real comparison operators 2019-05-17 18:27:31 -07:00
Yehuda Katz
c30fc32b0c Bat 2019-05-17 18:24:13 -07:00
Yehuda Katz
52716d0c24 README 2019-05-17 09:59:25 -07:00
Yehuda Katz
2feef6bd25 Added a first pass at sort-by 2019-05-17 08:55:50 -07:00
Yehuda Katz
9d8bb48d3f Fix Linux 2019-05-17 08:30:10 -07:00
Yehuda Katz
3ca0e2bf0c
Merge pull request #3 from jonathandturner/fix_ansi
Make sure to enable ANSI for Win10
2019-05-16 23:38:44 -07:00
Yehuda Katz
11677735f1 Fix Linux/Windows build on nightly 2019-05-16 23:37:35 -07:00
Jonathan Turner
c1398145f3 Add windows cfg check 2019-05-16 21:37:18 -07:00
Jonathan Turner
3c2ac7df54 Make sure to enable ANSI for Win10 2019-05-16 18:07:11 -07:00
Yehuda Katz
98ab5e63fc Refactor the repl loop 2019-05-16 14:43:36 -07:00
Jonathan Turner
b342069fd5 Workaround color prompt by making our own helper 2019-05-16 06:06:46 -07:00
Jonathan Turner
cbb86b0cab Add support for skip and where 2019-05-15 19:42:44 -07:00
Yehuda Katz
6b82e3a8a8 Simplify commands 2019-05-15 17:21:46 -07:00
Yehuda Katz
af1963d148 Remove dead code 2019-05-15 15:58:44 -07:00
Yehuda Katz
a5a34b88a8 More cleanup 2019-05-15 15:23:36 -07:00
Yehuda Katz
91f7d5384f Strip away a bit of cruft and add reject 2019-05-15 14:44:06 -07:00
Yehuda Katz
8f327477e7 Internals cleanup and | select ...fields 2019-05-15 13:14:51 -05:00
Yehuda Katz
3040638881 Basic pipelining is working! 2019-05-15 11:12:38 -05:00
Yehuda Katz
975ff7c2fb Very very basic piping working 2019-05-13 17:00:25 -04:00
Yehuda Katz
ceb0487eba A bunch of rework
I'm gonna use a VecDeque now instead of trying to get async streams
working to make progress, but the intent is that we should be able to
use async streams in and out to interleave the work better.
2019-05-13 13:30:51 -04:00
Yehuda Katz
786da8fd9d More stream stuff 2019-05-11 20:14:16 -07:00