Nicolas Viennot
ec2918db89
No longer touching the the input. It's a global lock for now (:all)
2013-06-26 16:39:37 -04:00
Nicolas Viennot
37bbb66bc0
register_ownership -> with_ownership
2013-06-26 15:05:57 -04:00
Nicolas Viennot
d357903600
InputLocks are maintained in a single hash, keyed by inputs
2013-06-26 14:50:41 -04:00
Nicolas Viennot
9c9750671e
Thread support for REPL
2013-06-25 22:42:01 -04:00
☈king
fbb159cc29
Guard against windows? + style homogenization
2013-02-08 01:03:29 -06:00
☈king
5f3b5857fc
Experimental logic for Readline.output
...
The symptom of not having this patch is to:
foreman start -f spec/Procfile
You'll notice you cannot see the stdout. This is a weird glitch, but the
following does fix it.
What do you think?
2013-02-08 00:45:42 -06:00
Conrad Irwin
2e17c21a1a
Remove confusing rescue raise
2013-01-18 00:35:59 -08:00
Ryan Fitzgerald
7df023b890
Clean up various docs for Pry::REPL
2012-12-28 19:06:02 -08:00
Ryan Fitzgerald
04dbded0c2
Pull out Indent#should_correct_indentation?
2012-12-28 19:05:06 -08:00
Conrad Irwin
09160e7906
write to history incrementally
...
This makes it less essential for drivers to finalize the pry instance.
2012-12-28 16:57:30 -08:00
Conrad Irwin
7c13b1f7b1
Docstrings for Pry::REPL
2012-12-28 16:24:07 -08:00
Conrad Irwin
8a23c9a8a7
Use correct_indent not auto_indent...
...
Prior to this change, when auto_indent was set to true for some tests,
the green dots would be cleared half-way through.
We should probably re-consider these options, but it seems useful to
explicitly disable ANSI code rewriting during specs while leaving
indentation mutating read lines (before this change, there was a bug
in REPL that did not manifest because auto_indent was false).
2012-12-28 16:06:54 -08:00
Conrad Irwin
fdb703a8de
Refactor completion API (git diff -w)
2012-12-28 15:21:23 -08:00
Conrad Irwin
2c95c99735
Rename loop to rep
2012-12-28 14:19:42 -08:00
Conrad Irwin
9ce0397b7a
Remove input_stack and fix REPLFileLoader
2012-12-28 13:35:48 -08:00
Conrad Irwin
a5d72a146f
Make interactive? explicit
2012-12-28 11:18:51 -08:00
Ryan Fitzgerald
b8999b0afc
Rename retrieve_line
to read
2012-12-27 22:11:30 -08:00
Ryan Fitzgerald
9fc0ee5a46
Rename repl
to loop
2012-12-27 22:10:44 -08:00
Ryan Fitzgerald
1ea1927b43
Rename accept_line
to eval
2012-12-27 22:06:50 -08:00
Ryan Fitzgerald
48481a1bfd
Rename reset_line to reset_eval_string
2012-12-27 19:56:43 -08:00
Ryan Fitzgerald
3c6ffaf69c
Slightly refactor REPL initialization
2012-12-23 00:08:40 -08:00
Conrad Irwin
00939762c4
Re-add (deprecated) Pry#repl for @robgleeson
2012-12-21 22:06:41 -08:00
Conrad Irwin
141f692cfc
Readd Pry#repl
2012-12-21 21:51:28 -08:00
Conrad Irwin
827ccddfed
Simplify accept_line a bit
2012-12-21 01:49:43 -08:00
Conrad Irwin
4d4c0ab6b2
Pry.accept_line returns a 'should continue?' boolean
2012-12-21 00:41:53 -08:00
Conrad Irwin
37b2f20a34
accept_eof -> accept_line(nil)
2012-12-21 00:40:23 -08:00
Ryan Fitzgerald
9d48aba5b8
s/Driver/REPL
2012-12-21 00:02:19 -08:00