Eliot Horowitz
446f597cf4
Dont add addUser lines to shell history SERVER-3768
...
Conflicts:
shell/dbshell.cpp
2012-03-04 20:13:20 -05:00
agirbal
17caecbd77
SERVER-3909: Blank lines don't work in the mongo shell starting with 2.0
2011-10-08 23:29:51 -04:00
agirbal
7f66400562
SERVER-3909: Blank lines don't work in the mongo shell starting with 2.0
2011-10-08 23:29:45 -04:00
dannenberg
9a79fd710b
SERVER-3341 multiline cancels after two blank lines
2011-07-29 11:51:22 -04:00
Eliot Horowitz
f84bf1a41a
support for forced ssl everywhere in client and server
2011-07-27 09:48:35 -04:00
dannenberg
d3d1f32427
SERVER-1687 .mongorc.js file is read from home directory on shell startup
2011-06-24 17:15:22 -04:00
dannenberg
1d19f0498c
fixed white space mistake
2011-06-15 16:37:23 -04:00
dannenberg
a65dd3a524
prompt can be string or function and works with spidermonkey in addition to v8
2011-06-15 16:32:58 -04:00
dannenberg
2fdf334c6b
fixed custom prompt in spidermonkey
2011-06-15 16:27:20 -04:00
dannenberg
1c180c6a60
SERVER-3267 very basic custom prompt added
2011-06-15 13:42:21 -04:00
Eliot Horowitz
94fd6890ec
some rs logging cleaning
2011-06-02 02:07:21 -04:00
agirbal
1725803c20
SERVER-2579: all v8 object creation is now lazy.
...
Correct allocation and freeing of underlying C++ object.
Correct ordering of object properties even when new ones are added within JS.
Supports deletion of properties with lazzy wrapper.
Also removed scope->setThis in favor of passing it in the invoke() command.
2011-05-02 16:08:41 -07:00
Dwight
39c5cbdbf7
indicate in mongo shell prompt if connected to a mongos. goal would be to prevent fat fingers and similar confusion.
2011-04-14 16:47:06 -04:00
Mathias Stearn
ae79f44dd2
Use merged linenoise on windows SERVER-1763
2011-04-11 19:00:15 -04:00
Mathias Stearn
1ecf07317a
reduce windows-specific code
2011-04-06 16:46:53 -04:00
Mathias Stearn
b7817b8986
Make shell killOp on ctrl-c stuff work on windows too SERVER-1451
2011-04-06 16:46:53 -04:00
Mathias Stearn
31970cf322
Consider lines ending in '.' as unfinished SERVER-2811
2011-04-04 16:12:56 -04:00
Mathias Stearn
bfcfc759ea
Revert "for now disable shell history on windows"
...
This reverts commit 25f1581767 .
2011-03-18 15:01:54 -05:00
Mathias Stearn
25f1581767
for now disable shell history on windows
2011-03-18 14:39:33 -05:00
Eliot Horowitz
9dd5c86e5e
don't use tab completions on windows yet
2011-03-18 15:35:18 -04:00
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