Commit Graph

142 Commits

Author SHA1 Message Date
Tony Hannan
b7eaac286e SERVER-2095: Small enhancement to previous commit 2010-12-06 09:32:17 -05:00
Tony Hannan
1f02e078ca SERVER-2095: Shell requests another line when user enters a line with a dangling operator. Eg. 'x = 1 +' will request more input 2010-12-06 08:59:35 -05:00
Kristina
4adaffa7b3 make rs shell prompt use readline 2010-12-03 15:55:40 -05:00
Alberto Lerner
eb4c54bf5a compile 2010-11-23 08:18:37 -05:00
dwight
f6a923ca3f show repl state in shell prompt. needs more work 2010-11-23 04:16:04 -05:00
Eliot Horowitz
5d50b728f8 replace goingAway with inShutdown() SERVER-1876 2010-11-11 01:47:15 -05:00
Kristina Chodorow
967f617aa7 fix balancing of escaped //s SERVER-1758 2010-09-08 15:40:39 -04:00
Aaron
4aa83fac62 SERVER-1749 debugging 2010-09-07 13:26:30 -07:00
Mathias Stearn
0fabb0e31d ignore shell prompts at start of line to make it easier to copy-paste user output 2010-08-24 13:28:00 -04:00
Mathias Stearn
4c31fe49e7 Only prompt users to kill Op if there is something to kill after 10ms SERVER-1508 2010-08-18 16:03:27 -04:00
Mathias Stearn
b082b63f75 Port killWithUri functionality to C++ 2010-08-17 18:27:30 -04:00
Mathias Stearn
37298e6142 shell/dbshell.cpp should use namespace mongo 2010-08-17 18:27:30 -04:00
Mathias Stearn
790d8851b3 shell tab completion SERVER-1604 2010-08-09 20:20:11 -04:00
Mathias Stearn
3751dd4382 fix indentation 2010-07-29 18:41:18 -04:00
Eliot Horowitz
ec556338b0 fix compile for no readline 2010-07-29 11:40:36 -04:00
Mathias Stearn
cf34f34aaa fix shellkillop jstest 2010-07-21 18:46:00 -04:00
Mathias Stearn
8dd514eecc fix atPrompt logic 2010-07-21 18:46:00 -04:00
Mathias Stearn
6d7606fd1c Revert "Revert "make mongo prompt before killing ops on the server SERVER-1451""
This reverts commit b392dc43b6.

Yes, this is reverting the revert. Unverting if you will
2010-07-21 18:46:00 -04:00
Mathias Stearn
b392dc43b6 Revert "make mongo prompt before killing ops on the server SERVER-1451"
This reverts commit 3764a1f1bc.

Need to think about how to make this work with the tests
2010-07-19 22:06:29 -04:00
Mathias Stearn
3764a1f1bc make mongo prompt before killing ops on the server SERVER-1451 2010-07-19 18:55:30 -04:00
Eliot Horowitz
6cebdef81d fix off by one 2010-07-14 13:23:08 -04:00
Mathias Stearn
a95c55925c Remove a strlen(x) == 0 2010-06-29 20:07:09 -04:00
Mathias Stearn
6a658fef4e don't record consecutive duplicate lines in shell history 2010-06-29 20:07:09 -04:00
Frank DENIS
ab204d9f24 Make MongoDB compile and work on OpenBSD (gcc4 archs, tested on OpenBSD-current/amd64). 2010-06-22 06:49:49 +08:00
dwight
0d3bf995dc print help msg for shell at a more reasonable time during startup 2010-06-17 13:10:16 -04:00
dwight
df5a9d8732 readline 2010-06-15 10:57:17 -04:00
dwight
a63cd8add9 towards readline 2010-06-15 10:31:01 -04:00
dwight
4eaaf25da3 shell : cleaner cleanup on exit 2010-06-14 16:22:11 -04:00
Eliot Horowitz
401c573da4 try to fix old for old readline versions 2010-06-08 10:15:34 -04:00
dwight
4c51a62b5b shell cleaning 2010-06-07 21:50:36 -04:00
dwight
54caa6f78d shell stuff 2010-06-07 20:31:27 -04:00
dwight
c0cc46954b shell was missing flush on no readline version 2010-06-07 18:53:04 -04:00
dwight
e99f90dad0 compile w/out readline shell 2010-06-07 18:40:37 -04:00
Dwight
ed7cfda35f Merge branch 'master' of github.com:mongodb/mongo 2010-06-07 11:17:15 -04:00
Dwight
370f9a1bd2 shell stuff 2010-06-07 11:17:08 -04:00
Eliot Horowitz
b9c427ec29 plumbing for shell auto-complete 2010-06-07 11:06:02 -04:00
dwight
4bf152cd56 make a .vcxproj/.sln for the shell 2010-06-05 20:55:11 -04:00
Eliot Horowitz
13d410ce1b understanding rl auto complete 2010-06-04 15:35:51 -04:00
alerner
1798ea2d85 Pull all the code for defining and printing the version of executables to one place. 2010-05-28 12:08:36 -04:00
Mathias Stearn
12a3059132 Hide password from ps output SERVER-1129 2010-05-24 16:56:10 -04:00
Guillaume Delannoy
a8aab6f98a All tools (including shell) take -p should allow it to be blank and do password input SERVER-764 2010-05-04 10:47:20 -04:00
Eliot Horowitz
fdf1d708cf fix parsing 2010-04-22 23:00:10 -04:00
Mathias Stearn
0efadc48e9 Disable IPv6 by default. Add function and cmdline opt to enable. 2010-04-08 15:15:35 -04:00
Mathias Stearn
6e68fe7d70 better handling of IPv6 literal addresses 2010-04-08 00:08:56 -04:00
Eliot Horowitz
67d7d7936b don't print out old getLastError on client error SERVER-852 2010-03-30 13:48:47 -04:00
Aaron
8c69ba521d log message instead of printing stack trace when can't kill ops on shell shutdown 2010-03-17 23:50:57 -07:00
Aaron
c971842a55 Revert "Revert "SERVER-695 don't destroy static global mutexes""
This reverts commit eb7cde3e75.

Conflicts:

	db/instance.h
2010-03-15 09:42:01 -07:00
Aaron
eb7cde3e75 Revert "SERVER-695 don't destroy static global mutexes"
This reverts commit 714ec2fdc8.
2010-03-10 00:39:26 -08:00
Aaron
714ec2fdc8 SERVER-695 don't destroy static global mutexes 2010-03-09 23:59:10 -08:00
Eliot Horowitz
7f75c1b5f7 try to prevent shutdown stack trace 2010-03-07 14:05:12 -05:00