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
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