Commit Graph

28 Commits

Author SHA1 Message Date
Richard Hull
0814dd0d2d Handle new/old nREPL stacktraces - fixes #258
At some point there was an upstream change to the message format that
cider-nrepl returned. This resulted in in a crash when trying to eval
an expression that threw an exception, resulting in the exception
being obscured by a Vim error, and no stacktrace being produced.
This patch inspects the returned payload and optionally extracts
any embedded stacktrace before processing.
2016-01-29 20:45:57 +00:00
Tim Pope
1c75b56ceb Sort bencode keys
Closes https://github.com/tpope/vim-fireplace/issues/248
2015-11-30 19:31:27 -05:00
Joshua Davey
5866d0017a Add support for boot 2.0 and up
Boot's built-in repl task adds a fake.class.path System property which
refers back to the original user files (as opposed to the temporary
files it uses to actually do builds). We should prefer that to anything
else when the property is set.

Fixes #194.
2015-02-15 13:45:21 -05:00
Tim Pope
04ce1b64af Support new return value of classpath operator 2014-11-30 00:36:33 -05:00
Tim Pope
8f7a07cffd Allow forcing default ns 2014-10-23 15:52:50 -04:00
Tim Pope
97758acc16 Fix sending interrupt commands after SIGINT
Via @benmoss.  Closes #182.
2014-10-21 15:29:31 -04:00
Tim Pope
c1416c89ba Don't choke on missing API version
Closes #175.
2014-09-02 12:26:13 -04:00
Tim Pope
d6b3e1c67c Silence all callback errors
If this is to be made asynchronous, there's not really a good way to
display the exception.
2014-07-10 22:58:35 -04:00
Tim Pope
ebb2933f4c Pass additional .message arguments to callback 2014-07-10 22:43:03 -04:00
Tim Pope
712205e66a Normalize headers 2014-07-04 16:06:43 -04:00
Tim Pope
b10259bcca Fix naming inconsistency 2014-06-27 11:17:13 -04:00
Tim Pope
0b17709b56 Don't blow up on unrecognized session 2014-05-05 01:16:00 -04:00
Tim Pope
fa7a19140b Allow sending custom id on eval 2014-05-05 00:59:35 -04:00
Tim Pope
05cbc742a1 Use classpath op if available
References #131.
2014-04-23 14:52:08 -04:00
Tim Pope
672d3b5c82 Use stacktrace nrepl op if available 2014-04-12 22:03:14 -04:00
Tim Pope
0936b3cb4f Use correct session to retrieve stacktrace 2014-04-12 21:57:01 -04:00
Tim Pope
05206aa2e9 Drop obsolete warning 2014-04-12 21:55:28 -04:00
Tim Pope
238b526cf2 Use user ns to avoid qualification 2014-04-12 21:18:18 -04:00
Tim Pope
79c2a718da Allow checking for nREPL op 2014-04-12 20:31:18 -04:00
Tim Pope
bc8f3af299 Cleaner classpath retrieval 2014-04-12 18:15:22 -04:00
Tim Pope
25f17ac25d Fix logic for preserving ns 2014-01-16 01:22:21 -05:00
Tim Pope
e6c1f9eac1 Allow ignoring responses at transport layer
Future versions may make this async.
2014-01-16 01:02:10 -05:00
Tim Pope
0cfa1eed58 nREPL session cloning 2014-01-12 01:06:02 -05:00
Tim Pope
6a239c93af Indent 2014-01-12 00:52:40 -05:00
Tim Pope
62486afca7 Fix erroneous use of session when none requested 2014-01-12 00:52:40 -05:00
Tim Pope
a9c3318817 Provide interface for ignoring a response 2014-01-11 19:29:07 -05:00
Tim Pope
1c55f88e7f Handle interrupt of eval
Closes #72.
2014-01-11 17:51:44 -05:00
Tim Pope
e90aef2ac7 Separate nREPL transport and session concerns
The transport is still doing too much, but it's a good start.
2014-01-10 19:25:35 -05:00