Commit Graph

308 Commits

Author SHA1 Message Date
Tim Pope 91e3b35403 Kill debug 2014-01-17 00:27:45 -05: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
Neil Kirsopp fef85624d3 Anchor to end of ns string 2014-01-15 23:40:36 -05:00
Neil Kirsopp b92a9730f0 Very basic Midje alternate 2014-01-15 23:40:18 -05:00
Tim Pope ef422f66e2 Remove require from client interface 2014-01-15 23:38:04 -05:00
Tim Pope 15f98b06f7 Leverage 'suffixesadd' 2014-01-15 21:37:03 -05:00
Tim Pope 76a99139d1 Remove s:client 2014-01-15 21:37:03 -05:00
Tim Pope 2a6d23f2fc Fix 2014-01-15 19:26:00 -05:00
Torben Rasmussen c5bfcc93f4 Use string formatting supported by older pythons 2014-01-15 13:44:31 -05:00
Tim Pope c4f677ee64 Fix fireplace#source 2014-01-14 16:28:21 -05:00
Tim Pope 4d93831925 Move includes_file out of repl client 2014-01-13 16:37:44 -05:00
Tim Pope 446b0b04b5 Extract contribution guidelines 2014-01-12 16:35:54 -05:00
Tim Pope 7c0c524259 Restore fireplace#eval for compatibility
Use fireplace#session_eval if you want to evaluate something from the
user, and fireplace#evalparse if you want to query for information.
2014-01-12 14:58:28 -05:00
Tim Pope b56e40a2b6 Provide fireplace#path() to access class path 2014-01-12 14:00:13 -05:00
Tim Pope 98cd5e1515 Don't show stacktrace from failed java exec 2014-01-12 13:34:52 -05:00
Tim Pope af245caf76 Propagate require error to eval 2014-01-12 01:06:11 -05:00
Tim Pope 0cfa1eed58 nREPL session cloning 2014-01-12 01:06:02 -05:00
Tim Pope 09a0ed93cf Encapsulate disconnection detection 2014-01-12 01:06:01 -05:00
Tim Pope 9c48439da7 Leverage evalparse 2014-01-12 01:06:01 -05:00
Tim Pope a0fde95d2e Remove unused function 2014-01-12 01:06:01 -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 c2a90eb47f One weird trick to force namespace creation 2014-01-11 23:43:08 -05:00
Tim Pope 355580da7e Accidental commit 2014-01-11 21:55:55 -05:00
Tim Pope c99bda551e Use python for zipfile contents when possible 2014-01-11 21:11:09 -05:00
Tim Pope a9c3318817 Provide interface for ignoring a response 2014-01-11 19:29:07 -05:00
Tim Pope 0299eac671 Adjust comment stripping heuristic for cq
Closes #89.
2014-01-11 19:10:45 -05:00
Tim Pope 1c55f88e7f Handle interrupt of eval
Closes #72.
2014-01-11 17:51:44 -05:00
Tim Pope f605cd7824 Do all classpath searching locally
In addition to being cleaner, this means we no longer need to worry
about evaling on a "local" server.
2014-01-11 17:48:04 -05:00
Tim Pope cf094f970f Retrieve ns for arbitrary buffer 2014-01-11 17:48:04 -05:00
Tim Pope 56d667b7d5 Allow retrieving client for arbitrary buffer
Currently, only the one-off client is fully decoupled.
2014-01-11 17:48:04 -05:00
Tim Pope bbab5786df Add missing import 2014-01-11 17:48:04 -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 28a6c2c262 Fix cpp on closing bracket
Closes #122.
2014-01-09 14:32:16 -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 382869c6c7 Convenience function for nrepl call
This is mainly for my own debugging, but might evolve in to a real API.
I'm not sure if it's the right place to do a require.
2014-01-09 00:52:25 -05:00
Tim Pope 02f28c5dbb Clean up our sessions 2014-01-08 20:59:08 -05:00
Tim Pope 18d60a3fa5 Allow calling findresource with custom path 2014-01-08 20:05:46 -05:00
Tim Pope 0fdde20654 Better errors on unexpected bencode data
Also fix indent.
2014-01-08 19:59:36 -05:00
Tim Pope 1f3f36505e Unify :Eval and cpp
Now both operations select the exact outermost form use load-file for
proper file/line metadata.
2014-01-08 01:36:39 -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