~ubuntu-elisp/emacs/+git/master:feature/jsonrpc-support-dap

Last commit made on 2023-12-11
Get this branch:
git clone -b feature/jsonrpc-support-dap https://git.launchpad.net/~ubuntu-elisp/emacs/+git/master

Branch merges

Branch information

Name:
feature/jsonrpc-support-dap
Repository:
lp:~ubuntu-elisp/emacs/+git/master

Recent commits

5bbe6a5... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Jsonrpc: rework jsonrpc-convert-to-endpoint again

* lisp/jsonrpc.el (jsonrpc-convert-to-endpoint): Rework protocol,
rework default implementation, rework docstring.
(jsonrpc-convert-from-endpoint): Rework docstring.
(jsonrpc-connection-send): Call jsonrpc-convert-to-endpoint with
new protocol.

f6dc2cf... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Fix compilation warnings in eglot-tests.el

* test/lisp/progmodes/eglot-tests.el (eglot--sniffing): Fix
compilation warning.s

f38501e... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Jsonrpc: rework fix for bug#60088

Try to decouple receiving text and processing messages in the event
loop. This should allow for requests within requests in both Eglot
and Dape.

* lisp/jsonrpc.el (jsonrpc--process-filter): Rework.

a56c830... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Jsonrpc: support some JSONesque non-JSONRPC protocols, like DAP

* lisp/jsonrpc.el (jsonrpc-convert-to-endpoint)
(jsonrpc-convert-from-endpoint): New generics.
(jsonrpc-connection-send): Call jsonrpc-convert-to-endpoint.
Rework logging.
(jsonrpc-connection-receive): Call jsonrpc-convert-from-endpoint.
Rework logging. jsonrpc--reply with METHOD.
(jsonrpc--log-event): Take subtype.

* test/lisp/progmodes/eglot-tests.el (eglot--sniffing): Adapt
to new protocol of jsonrpc--log-event.

67da6e5... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Jsonrpc: Better initforms in jsonrpc-connection

* lisp/jsonrpc.el (jsonrpc-connection): Better initforms

232b785... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Jsonrpc: allow methods identifiers to be simply strings

* lisp/jsonrpc.el (jsonrpc-connection-send): Support string methods.

127de20... by Manuel Giraud <email address hidden>

Fix desktop-save for dired buffers (bug#66697)

* lisp/dired.el (dired-desktop-save-p): Move all logic here. Carry on
when 'desktop-files-not-to-save' is nil.
(dired-desktop-buffer-misc-data): Use it.

20be8ed... by Eli Zaretskii

; Auto-commit of loaddefs files.

ffe2547... by Eli Zaretskii

; * lisp/progmodes/gud.el (lldb): Fix trailing whitespace.

93592c6... by Eli Zaretskii

; * doc/misc/modus-themes.org: Fix merge snafu.