0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

79 Commits

Author SHA1 Message Date
Mathias Stearn
aeae928580 printf needs a format string 2010-02-03 16:10:05 -05:00
Richard Kreuter
91c38b48ec Don't save shell history if the line contains .auth. SERVER-581 2010-01-28 11:13:50 -05:00
Eliot Horowitz
8a81ec59b9 make --quiet option for shell SERVER-542 2010-01-13 21:08:23 -05:00
Aaron
5d67aa7014 MINOR use hidden value for native js thread object, avoids trouble when printing 2010-01-12 18:00:29 -08:00
Aaron
386a525c2f SERVER-529 when js thread throws an exception, log and check return 2010-01-12 17:33:03 -08:00
Aaron
33cd7bc1e1 SERVER-470 complete setup for parallel clients in separate js scopes 2009-12-29 19:01:10 -08:00
Aaron
8573d53da7 SERVER-470 MINOR abstract shell init functionality so v8_utils need not link with shell 2009-12-29 18:27:49 -08:00
Aaron
978582f803 SERVER-470 MINOR Refactor shell scope init code 2009-12-29 17:38:29 -08:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
92bc50cff1 split server test code out from general js code SERVER-472 2009-12-18 16:53:44 -05:00
Eliot Horowitz
3b6ad70940 fail faster on crappy input 2009-12-08 15:14:00 -05:00
Eliot Horowitz
d9f5e91892 don't do magic ctrl-c handling on freebsd SERVER-399 2009-11-01 20:18:37 -05:00
metagoto
14cd7183e6 quick fix for global namespace pollution (mostly client) 2009-10-18 09:39:08 +08:00
Mike Dirolf
2fedd80c4d minor: fix for shell exit code on bad hostname, plus update tests 2009-09-25 15:51:11 -04:00
Eliot Horowitz
23ac7eaad3 handle ./mongo localhost:1000 - make it go to port 1000 2009-09-22 16:29:15 -04:00
Eliot Horowitz
a78800d5b8 catch exceptions in shell 2009-09-22 10:22:24 -04:00
Eliot Horowitz
665b1f7483 --version 2009-09-22 10:07:53 -04:00
Eliot Horowitz
a0c6cc62d2 old boost fix 2009-09-19 22:06:36 -04:00
Mike Dirolf
5919abfdc8 minor: don't check for argc before doing program_options stuff, could lead to tricky bugs with defaulted arguments 2009-09-18 13:55:58 -04:00
Eliot Horowitz
870972f4a9 multi-line test MINOR 2009-09-01 13:50:54 -04:00
Eliot Horowitz
81bfbb9faa fix comments and multiple lines in the shell 2009-09-01 13:50:08 -04:00
Eliot Horowitz
cd1fe6505a make shell use exec instead of invoke 2009-08-28 13:26:23 -04:00
Eliot Horowitz
358b5e638c compile windows MINOR 2009-08-25 17:26:43 -04:00
Eliot Horowitz
662f01eb15 compile MINOR 2009-08-25 17:22:00 -04:00
Eliot Horowitz
e90c98587b try jmp signal handler 2009-08-25 17:00:01 -04:00
Eliot Horowitz
39a40f8f42 fix " in shell and ctrl-c takes you to outer loop 2009-08-25 16:11:51 -04:00
Eliot Horowitz
efb43a15c1 tell if javascript has been completed, if not - do a line feed 2009-08-25 13:54:01 -04:00
Eliot Horowitz
f0a26f673b skip empty lines 2009-08-20 13:23:21 -04:00
Eliot Horowitz
115e9e42e1 better file handling in shell 2009-08-14 11:06:10 -04:00
Eliot Horowitz
7b9da727ba compile on 10.4 SERVER-231 2009-08-12 14:54:53 -04:00
Eliot Horowitz
71aa2443a3 nicer error reporting 2009-08-10 10:25:43 -04:00
Mike Dirolf
a38fe7f2f2 minor: fix some bugs in arg handling 2009-08-07 16:02:56 -04:00
Mike Dirolf
ee964dcbc9 minor: check if there were any files given 2009-08-07 13:14:50 -04:00
Mike Dirolf
ae3312f1cc towards boost::po - needs testing 2009-08-07 10:43:39 -04:00
Mike Dirolf
e3cefee81d minor: whitespace 2009-08-06 14:15:18 -04:00
Eliot Horowitz
b9721f7a1f put .dbshell in $HOME so can read it from anywhere SERVER-190 2009-07-28 11:19:13 -04:00
Eliot Horowitz
d6d3ee0e8d mongo usage docs : file names have to end in .js 2009-07-22 16:03:50 -04:00
Eliot Horowitz
c5e353874c " use foo" fix 2009-07-10 14:17:19 -04:00
Eliot Horowitz
f9e806bde0 print shell version on startup 2009-06-24 14:53:58 -04:00
Eliot Horowitz
7cb14f0951 fix bug with shell helper 2009-06-22 09:31:28 -04:00
Eliot Horowitz
a4a895e1f0 fix shell printing 2009-06-11 20:27:07 -04:00
Eliot Horowitz
8b6145546a can't use JS eval trick from inside function because of JS scoping 2009-06-11 20:15:31 -04:00
Aaron
8c107408f2 use rawOut() when shell seg faults, log if shell gets SIGPIPE MINOR 2009-05-29 15:56:45 -04:00
Aaron
d1b49ff9bd get rid of fork() 2009-05-15 16:32:31 -04:00
Aaron
d0122e2e1a add ability to spawn a shell from shell 2009-05-15 14:55:18 -04:00
Aaron
16d763737d kill spawned mongo processes on synchronous os signal 2009-05-15 11:07:43 -04:00
Aaron
cb97e39f0f cleanup externalSetup modes MINOR 2009-05-15 10:48:14 -04:00
Eliot Horowitz
7030e2b584 Merge branch 'smshell' of git@github.com:mongodb/mongo into smshell 2009-05-14 17:37:48 -04:00
Eliot Horowitz
6a06a6cb3c print shell stuff 2009-05-14 17:37:21 -04:00
Aaron
df9fe97f79 don't exec jsconcatcode for forked contexts, not sure why this is a problem 2009-05-14 17:32:07 -04:00