1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/test/lisp/erc
F. Jason Park c0cb59578b Don't round-trip auto-reconnect probe in ERC
* lisp/erc/erc-backend.el (erc-server--reconnect-opened)
(erc--server-reconnect-opened): Rename former to latter.  Restore
original buffer-local value of session connector for Emacs 29 and below.
(erc--server-reconnect-timeout-check)
(erc--server-reconnect-timeout-scale-function): Change from buffer-local
to normal variables, which they should have been originally.
(erc--recon-probe-reschedule): Ensure `erc-server-reconnect-timeout' is
always non-nil to avoid seeing format specifier in admin message.  Use
current buffer when `proc' argument is nil.  Perform cleanup when `proc'
and `erc-server-process' differ.
(erc-server-delayed-check-reconnect-reuse-process-p): New variable.
(erc--recon-probe-sentinel): Run `erc--server-reconnect-opened'
immediately because sending a speculative PING doesn't work on all
servers and proxies, most crucially on ZNC, which replies with an error
only after an extended timeout.
(erc--recon-probe-filter): Remove unused function.
(erc--recon-probe-check) Rework to not use fixed periodic timer, change
second parameter to a Lisp time object.
(erc-server-delayed-check-reconnect): Use realistic name when reusing
process so that the session's process isn't "*erc-connectivity-check*".
Set filter to `ignore'.  Always run `erc--recon-probe-sentinel' when
status is `open' or something other than `connect', but don't bother
spawning a `erc--recon-probe-check' task as well because any problems
creating the process should already be known.  Handle quits during
connect functions that perform blocking I/O, such as
`socks-open-network-stream'.
(erc-schedule-reconnect): Don't bother setting filter to nil.
* test/lisp/erc/erc-scenarios-base-auto-recon.el
(erc-scenarios-base-auto-recon-unavailable)
(erc-scenarios-base-auto-recon-check/no-reuse): Rename former to latter.
(erc-scenarios-base-auto-recon-no-proto)
(erc-scenarios-base-auto-recon-check/reuse): Rename former to latter and
rewrite not to expect a PING.
* test/lisp/erc/resources/erc-d/erc-d.el (erc-d--forget-process): New
function.
(erc-d--process-sentinel): Stop serving when all dialogs have been
exhausted.  (Bug#62044)
2025-04-16 17:30:13 -07:00
..
resources Don't round-trip auto-reconnect probe in ERC 2025-04-16 17:30:13 -07:00
erc-button-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-dcc-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-fill-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-goodies-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-join-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-match-tests.el ; Use ert-skip instead of skip-when in erc-match test 2025-03-04 11:23:04 -08:00
erc-networks-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-nicks-tests.el ; Tag all erc-nicks-track-faces tests as :unstable 2025-02-24 15:06:16 -08:00
erc-notify-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-sasl-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-auth-source.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-association-nick.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-association-query.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-association-samenet.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-association.el ; Don't assume snapshot exists in ERC test helper 2025-04-16 17:30:13 -07:00
erc-scenarios-base-attach.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-auto-recon.el Don't round-trip auto-reconnect probe in ERC 2025-04-16 17:30:13 -07:00
erc-scenarios-base-buffer-display.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-chan-modes.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-compat-rename-bouncer.el ; Don't assume snapshot exists in ERC test helper 2025-04-16 17:30:13 -07:00
erc-scenarios-base-kill-on-part.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-local-module-modes.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-local-modules.el More clearly define local module behavior in ERC 2025-02-07 20:21:36 -08:00
erc-scenarios-base-misc-regressions.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-netid-bouncer-id.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-netid-bouncer-recon-base.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-netid-bouncer-recon-both.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-netid-bouncer-recon-id.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-netid-bouncer.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-netid-samenet.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-query-participants.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-reconnect.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-renick.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-reuse-buffers.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-send-message.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-split-line.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-statusmsg.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-unstable.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-upstream-recon-soju.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-base-upstream-recon-znc.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-display-message.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-fill-wrap.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-ignore.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-internal.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-join-auth-source.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-join-display-context.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-join-netid-newcmd-id.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-join-netid-newcmd.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-join-netid-recon-id.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-join-netid-recon.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-keep-place-indicator-trunc.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-keep-place-indicator.el ; Don't assume snapshot exists in ERC test helper 2025-04-16 17:30:13 -07:00
erc-scenarios-log.el Suppress log module when inserting date stamps in ERC 2025-03-11 18:28:38 -07:00
erc-scenarios-match.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-misc-commands.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-misc.el ; Don't quote localp argument to define-erc-module 2025-01-22 16:07:55 -08:00
erc-scenarios-prompt-format.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-sasl.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-scrolltobottom-relaxed.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-scrolltobottom.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-services-misc.el Run erc-services-regain-mode callback on a timer 2025-02-02 14:35:19 -08:00
erc-scenarios-spelling.el Improve use of Flyspell's API in erc-spelling 2025-01-07 17:31:18 -08:00
erc-scenarios-stamp.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-scenarios-status-sidebar.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-services-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-stamp-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-tests.el ; Make ERC test fixture more robust 2025-02-07 20:24:18 -08:00
erc-track-tests.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00