Commit Graph

76 Commits

Author SHA1 Message Date
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
7b19c1b2f6 Require if_pyth on Windows
References #97, #139.
2014-04-12 22:18:26 -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
095ee57d12 Revert "Steal Windows shell escaping from dispatch.vim"
This reverts commit 15450eff27.
2014-04-03 18:57:18 -04:00
Tim Pope
15450eff27 Steal Windows shell escaping from dispatch.vim 2014-03-21 01:38:51 -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
Tim Pope
fc0ab71587 Generalize call and add message abstraction 2014-01-10 13:30:32 -05:00
Tim Pope
40bad28354 Allow non-string arguments to python dispatch 2014-01-09 22:21:20 -05:00
Tim Pope
52758fd4ea Callback nREPL API
Pass a callback to call to have it invoked for each response message.
This might one day become asynchronous in certain circumstances, but
don't count it.
2014-01-09 01:00:45 -05:00
Tim Pope
02f28c5dbb Clean up our sessions 2014-01-08 20:59:08 -05:00
Tim Pope
bf4ca57db1 Extract python command generation 2014-01-08 00:50:46 -05:00
Tim Pope
760f50f46e Argument switcharoo 2014-01-07 23:53:20 -05:00
Tim Pope
01e16d236b Extract payload preparation 2014-01-07 23:28:39 -05:00
Tim Pope
02ba3de54e Enable easier testing of Python exec 2014-01-07 23:26:26 -05:00
Tim Pope
15be24fc82 Abort python processes on Vim exit
You'd think a scripting language could handle portably checking if a pid
is still running but no.
2014-01-07 23:07:31 -05:00
Tim Pope
280b8d09b5 Fix warning misfire about broken sessions 2014-01-07 22:15:49 -05:00
Tim Pope
c7258fce7c Send and filter by id 2014-01-07 20:03:06 -05:00
Tim Pope
023c8573ab Default to sending session id 2014-01-07 20:01:33 -05:00
Tim Pope
2073263c07 Generalize interface between Vim and Python 2014-01-07 16:58:47 -05:00
Tim Pope
9664516d5f So many missing aborts 2014-01-06 22:58:43 -05:00
Tim Pope
4ce1f8fbfa Python all the way 2014-01-06 22:41:03 -05:00
Tim Pope
90692edc35 Different gross hack for extracting backtrace
Now instead of wrapping the code up in a try/catch, we just use a series
of evals to grab *e and then restore *1/*2/*3.
2013-12-31 20:04:33 -05:00
Tim Pope
fb5c946822 Slightly more elaborate hack to detect final nREPL response 2013-12-31 19:35:01 -05:00
Tim Pope
95652fc8c0 Accidental mutation 2013-12-31 19:34:52 -05:00
Tim Pope
cd3bf333bf Use nrepl load-file for :[range]Eval
Closes #83.
2013-12-30 14:20:07 -05:00
Tim Pope
2efe294efb Fix for newer Pythons 2013-04-19 11:41:51 -04:00
Tim Pope
77444275fd Support Python 2.4 2013-04-17 13:35:47 -04:00
Tim Pope
db27257f7f Rename foreplay.vim to fireplace.vim 2013-03-13 19:56:13 -04:00
Tim Pope
fa6e35bc19 Remove old vendored classpath.vim 2013-03-13 19:49:03 -04:00