| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
This reverts commit b28fbac964907172fdedc3bea56eab905d5fbdbf.
This can't be fully removed due to the difference in the signature
of `if-let*` and `when-let*` in Emacs 25 and 26.
|
|
|
|
| |
It's no longer needed now that we target Emacs 25.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fix #2130.
Emacs 26 obsoletes `if-let` and `when-let`, replacing them with `if-let*` and
`when-let*`. This raises byte-compilation warnings (treated as errors) when
testing against Emacs 26.
See: http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-26#n1278
|
| |
|
| |
|
|
|
|
|
| |
The functions in `cider-compat.el` were actually added in Emacs 25.1,
not Emacs 24.4.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This time around we tackle all remaining requests.
|
|
|
|
| |
One more step towards decoupling CIDER and nrepl-client.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes to `nrepl-send-sync-request`:
- returned response is now a standard nREPL dict
- returned response is a merged dict of all the responses received so far
Other changes:
- remove macroexpand-1 macroexpand-all from cider-required-nrepl-ops
- Reduce redundancy in eval APIs by removing several eval functions on CIDER
side. They were either not used or could be replaced with direct calls to
nrepl API.
- Enforce `cider-sync-request:OP` convention and move all requests into
`cider-client.el`.
|
|
|
|
| |
- rename `cider-eval-and-get-value` into `cider-sync-eval-and-parse`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor:
- general code and documentation cleanup
- use -- convention for internal function of very limited use
- inline several very short internal functions
- use systematic naming convention for requests. Namely nrepl-send-request and
nrepl-send-sync-request for workhorse functions and `nrepl-request:XXX` and
`nrepl-sync-request:OP` for requests of type "OP".
- rename `nrepl-send-request-sync` into `nrepl-send-sync-request`
- delete `nrepl-log-messages` command
Reorganize nrepl-client.el in functional chapters:
- Bencode
- Client: Process Filter
- Client: Initialization
- Client: Response Handling
- Client: Request Handling
- Server
- Utilities
- Connection Buffer Management
- Connection Browser
Document the nREPL communication process.
|
|
Add tests for equality to the canonical 'clojure.repl/doc' format.
Refactor doc formatting function.
Update doc tests to fail (not error) when returned doc is nil.
|