]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Merge branch 'refs/heads/t/rm_task_subcmd'
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 3 Jan 2022 19:18:08 +0000 (20:18 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 3 Jan 2022 19:19:35 +0000 (20:19 +0100)
A single commit containing an incompatible change for 0.7.0.

Cooking for almost a year.

* refs/heads/t/rm_task_subcmd:
  Remove obsolete server subcommand "task".

NEWS.md
client.c
command.c
m4/lls/server_cmd.suite.m4

diff --git a/NEWS.md b/NEWS.md
index 85d502ab648ba7770015a706242229f9747ea28b..320dfbd5260c9dfefd4ab0447721c756b28fa96f 100644 (file)
--- a/NEWS.md
+++ b/NEWS.md
@@ -13,6 +13,7 @@ NEWS
 - Cleanups of the doubly linked lists code.
 - New option for configure: --enable-ubsan to detect and report undefined
   behaviour.
+- The "tasks" server command has been removed.
 
 Downloads:
 [tarball](./releases/paraslash-git.tar.xz)
index 3edaab5dbbf2ec6f086a9483500e431069770b28..8caf44839919fb33c1368715c528f507ebc7a5c9 100644 (file)
--- a/client.c
+++ b/client.c
@@ -243,7 +243,6 @@ I9E_DUMMY_COMPLETER(term);
 I9E_DUMMY_COMPLETER(stop);
 I9E_DUMMY_COMPLETER(addatt);
 I9E_DUMMY_COMPLETER(init);
-I9E_DUMMY_COMPLETER(tasks);
 
 static struct i9e_completer completers[];
 
index 8f5e2dd1d180993a7e3cd4f6cf2b4640ac9edb73..7b2660e3301b80551fb157adf12b3bfa223c7283 100644 (file)
--- a/command.c
+++ b/command.c
@@ -741,14 +741,6 @@ out:
 }
 EXPORT_SERVER_CMD_HANDLER(jmp);
 
-/* deprecated, does nothing */
-static int com_tasks(__a_unused struct command_context *cc,
-               __a_unused struct lls_parse_result *lpr)
-{
-       return 1;
-}
-EXPORT_SERVER_CMD_HANDLER(tasks);
-
 static void reset_signals(void)
 {
        para_sigaction(SIGCHLD, SIG_IGN);
index 2a39907cee624219d1fb166b07dbf84288f67bb4..f73d66b26a713ce70ed144e38362a73f5ddcf8c1 100644 (file)
@@ -500,15 +500,6 @@ aux_info_prefix = Permissions:
                the vss status flags, effectively stopping playback.
        [/description]
 
-[subcommand tasks]
-       purpose = list active server tasks (deprecated)
-       aux_info = NO_PERMISSION_REQUIRED
-       [description]
-               This used to print the ID, the status and the name of each task,
-               mainly for debugging purposes. As of version 0.6.2, the subcommand
-               prints nothing. It will be removed in 0.7.0. Don't use.
-       [/description]
-
 [subcommand term]
        purpose = ask the server to terminate
        aux_info = VSS_READ | VSS_WRITE