Commit Graph

152 Commits

Author SHA1 Message Date
Eliot Horowitz
7cbc2f2d8e Revert "separate ifdef for history for linenoise"
This reverts commit 261d65d693.
2011-03-18 15:33:39 -04:00
Eliot Horowitz
261d65d693 separate ifdef for history for linenoise 2011-03-18 15:32:10 -04:00
Eliot Horowitz
9711f4d311 try linenoise on windows 2011-03-18 15:19:43 -04:00
Eliot Horowitz
ff767886ee use linenoise as cpp 2011-03-18 15:17:40 -04:00
Eliot Horowitz
e360d60e2d fix in compile 2011-03-18 03:27:33 -04:00
Eliot Horowitz
3403b88453 use linenoise instead of readline 2011-03-18 02:48:07 -04:00
Eliot Horowitz
d91ad388be remove unneed variable 2011-03-18 02:48:07 -04:00
Eliot Horowitz
d85cdcf1b5 verbose option for shell 2011-02-01 11:38:33 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
439881c429 when shell calls replGetStatus don't reset last error 2010-12-27 16:20:11 -05:00
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