diff options
author | Daniel Santos <dacs.git@brilhante.top> | 2023-04-11 19:40:34 +0100 |
---|---|---|
committer | Daniel Santos <dan.git@brilhante.top> | 2023-07-01 10:06:43 +0100 |
commit | a4ca6291afe1e407b72b2ec03bffc595946071f3 (patch) | |
tree | 62a59e83f197497af240663fffc1f8a68991e008 | |
parent | d049e91590af343327990a25dc3371adceb9d54b (diff) | |
download | profani-tty-a4ca6291afe1e407b72b2ec03bffc595946071f3.tar.gz |
Profani-tty has reborn
177 files changed, 855 insertions, 854 deletions
diff --git a/.gitignore b/.gitignore index eafcb988..a3646f9b 100644 --- a/.gitignore +++ b/.gitignore @@ -44,7 +44,7 @@ src/stamp-h1 src/plugins/profapi.lo # binaries -profanity +profani-tty **/*.o # test output diff --git a/Makefile.am b/Makefile.am index f9c89d64..abc2e5b6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,7 +3,7 @@ core_sources = \ src/log.c src/common.c \ src/chatlog.c src/chatlog.h \ src/database.h src/database.c \ - src/log.h src/profanity.c src/common.h \ + src/log.h src/profani-tty.c src/common.h \ src/profanity.h src/xmpp/chat_session.c \ src/xmpp/chat_session.h src/xmpp/muc.c src/xmpp/muc.h src/xmpp/jid.h src/xmpp/jid.c \ src/xmpp/chat_state.h src/xmpp/chat_state.c \ @@ -78,7 +78,7 @@ core_sources = \ unittest_sources = \ src/xmpp/contact.c src/xmpp/contact.h src/common.c \ - src/log.h src/profanity.c src/common.h \ + src/log.h src/profani-tty.c src/common.h \ src/profanity.h src/xmpp/chat_session.c \ src/xmpp/chat_session.h src/xmpp/muc.c src/xmpp/muc.h src/xmpp/jid.h src/xmpp/jid.c \ src/xmpp/resource.c src/xmpp/resource.h \ @@ -260,8 +260,8 @@ all_c_sources = $(core_sources) $(unittest_sources) \ AM_CFLAGS = @AM_CFLAGS@ -I$(srcdir)/src -bin_PROGRAMS = profanity -profanity_SOURCES = $(core_sources) $(main_source) +bin_PROGRAMS = profani-tty +profani_tty_SOURCES = $(core_sources) $(main_source) if THEMES_INSTALL profanity_themesdir = @THEMES_PATH@ profanity_themes_DATA = $(themes_sources) @@ -333,7 +333,7 @@ $(git_include).in: .git/HEAD .git/index # # Create $(git_include) atomically to catch possible race. The race can occur -# when $(git_include) is generated in parallel with building of src/profanity.c. +# when $(git_include) is generated in parallel with building of src/profani-tty.c. # So this hack allows to find and fix the problem earlier. # $(git_include): $(git_include).in diff --git a/configure.ac b/configure.ac index f01b88fd..2a7f8ac1 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -AC_INIT([profanity],[0.13.1],[jubalh@iodoru.org],[profanity],[https://profanity-im.github.io/]) +AC_INIT([profani-tty],[0.13.1],[dacs.git@brilhante.top],[profani-tty],[https://git.tilde.institute/danisanti/profani-tty/]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([src/main.c]) @@ -176,7 +176,7 @@ PKG_CHECK_MODULES([ncursesw], [ncursesw], [AC_CHECK_LIB([ncurses], [main], [], [AC_CHECK_LIB([curses], [main], [LIBS="$LIBS -lcurses"; CURSES="curses"], - [AC_MSG_ERROR([ncurses or curses is required for profanity])])])])])]) + [AC_MSG_ERROR([ncurses or curses is required for profani-tty])])])])])]) AM_CFLAGS="$AM_CFLAGS $NCURSES_CFLAGS" LIBS="$NCURSES_LIBS $LIBS" @@ -220,7 +220,7 @@ AS_IF([test "x$PLATFORM" = xosx], AM_CPPFLAGS="-I$READLINE_PREFIX/include $AM_CPPFLAGS" AM_LDFLAGS="-L$READLINE_PREFIX/lib $AM_LDFLAGS" AC_SUBST(AM_LDFLAGS)], - [AC_MSG_ERROR([libreadline is required for profanity. Install it with Homebrew, MacPorts, or manually into /usr/local])])], + [AC_MSG_ERROR([libreadline is required for profani-tty. Install it with Homebrew, MacPorts, or manually into /usr/local])])], [test "x$PLATFORM" = xopenbsd], [AC_CHECK_FILE([/usr/local/include/ereadline], @@ -230,7 +230,7 @@ AS_IF([test "x$PLATFORM" = xosx], AC_SUBST(AM_LDFLAGS)])], [AC_CHECK_LIB([readline], [main], [], - [AC_MSG_ERROR([libreadline is required for profanity])])]) + [AC_MSG_ERROR([libreadline is required for profani-tty])])]) ## Check for optional dependencies depending on feature flags @@ -358,7 +358,7 @@ fi ## Tests -# cmocka is required only for tests, profanity shouldn't be linked with it +# cmocka is required only for tests, profani-tty shouldn't be linked with it # TODO: pass cmocka_CFLAGS and cmocka_LIBS to Makefile.am PKG_CHECK_MODULES([cmocka], [cmocka], [], [AC_MSG_NOTICE([cmocka is not found, will not be able to run tests])]) @@ -407,6 +407,6 @@ CPPFLAGS : $AM_CPPFLAGS LDFLAGS : $AM_LDFLAGS LIBS : $LIBS -Run `make' to build profanity]) +Run `make' to build profani-tty]) dnl vim: expandtab:ts=4:sts=4:sw=4 diff --git a/src/chatlog.c b/src/chatlog.c index 90cac638..80e5d50c 100644 --- a/src/chatlog.c +++ b/src/chatlog.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2018 - 2023 Michael Vetter <jubalh@idoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/chatlog.h b/src/chatlog.h index af61c8a5..e6223e12 100644 --- a/src/chatlog.h +++ b/src/chatlog.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index 48d712e4..d182e4db 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -301,7 +301,7 @@ static GHashTable* ac_funcs = NULL; /*! * \brief Initialization of auto completion for commands. * - * This function implements the auto completion for profanity's commands. + * This function implements the auto completion for profani-tty's commands. * */ diff --git a/src/command/cmd_ac.h b/src/command/cmd_ac.h index ceab49b2..30f191bc 100644 --- a/src/command/cmd_ac.h +++ b/src/command/cmd_ac.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index e8a97398..9bc8b6f2 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -48,7 +48,7 @@ #include <glib.h> -#include "profanity.h" +#include "profani-tty.h" #include "log.h" #include "common.h" #include "command/cmd_defs.h" @@ -113,7 +113,7 @@ static const struct cmd_t command_defs[] = { CMD_SYN( "/help [<area>|<command>|search_all|search_any] [<search_terms>]") CMD_DESC( - "Help on using Profanity. Passing no arguments list help areas. " + "Help on using Profani-tty. Passing no arguments list help areas. " "For command help, optional arguments are shown using square brackets, " "arguments representing variables rather than a literal name are surrounded by angle brackets. " "Arguments that may be one of a number of values are separated by a pipe " @@ -417,7 +417,7 @@ static const struct cmd_t command_defs[] = { CMD_EXAMPLES( "/blocked add hel@helheim.edda", "/blocked report-spam hel@helheim.edda Very annoying guy", - "/blocked add profanity@rooms.dismail.de/spammy-user") + "/blocked add profani-tty@a3.pm/spammy-user") }, { CMD_PREAMBLE("/info", @@ -554,8 +554,8 @@ static const struct cmd_t command_defs[] = { { "password <password>", "Password if the room requires one." }) CMD_EXAMPLES( "/join", - "/join profanity@rooms.dismail.de", - "/join profanity@rooms.dismail.de nick mynick", + "/join profani-tty@a3.pm", + "/join profani-tty@a3.pm nick mynick", "/join private@conference.jabber.org nick mynick password mypassword", "/join mychannel") }, @@ -580,7 +580,7 @@ static const struct cmd_t command_defs[] = { { "decline <room>", "Decline a chat room invitation." }) CMD_EXAMPLES( "/invite send gustavo@pollos.tx", - "/invite decline profanity@rooms.dismail.de", + "/invite decline profani-tty@a3.pm", "/invite list") }, @@ -791,7 +791,7 @@ static const struct cmd_t command_defs[] = { CMD_DESC( "Manage bookmarks and join bookmarked rooms. " "If you are in a chat room and no arguments are supplied to `/bookmark add`, autojoin is set to \"on\". " - "There is also an autojoin ignore list in case you want to autojoin in many clients but not on Profanity. ") + "There is also an autojoin ignore list in case you want to autojoin in many clients but not on Profani-tty. ") CMD_ARGS( { "list [<jid>]", "List all bookmarks. Or the details of one." }, { "add [<room>]", "Add a bookmark, passing no room will bookmark the current room, setting autojoin to \"on\"." }, @@ -1063,7 +1063,7 @@ static const struct cmd_t command_defs[] = { CMD_SYN( "/quit") CMD_DESC( - "Logout of any current session, and quit Profanity.") + "Logout of any current session, and quit Profani-tty.") }, { CMD_PREAMBLE("/privileges", @@ -1559,9 +1559,9 @@ static const struct cmd_t command_defs[] = { CMD_ARGS( { "get [<nick|contact>]", "Get your vCard, if a nickname/contact is provided, get that user's vCard" }, { "photo open <nick|contact> [<index>]", "Download a user's photo from their vCard to a file, and open it. If index is not specified, download the first photo (usually avatar) from their vCard" }, - { "photo save <nick|contact>", "Download a user's photo from their vCard to a file. If index is not specified, download the first photo (usually avatar) from their vCard. If output is not specified, download the photo to profanity's photos directory." }, + { "photo save <nick|contact>", "Download a user's photo from their vCard to a file. If index is not specified, download the first photo (usually avatar) from their vCard. If output is not specified, download the photo to profani-tty's photos directory." }, { "photo open-self [<index>]", "Download a photo from your vCard to a file, and open it. If index is not specified, download the first photo (usually avatar) from your vCard" }, - { "photo save-self", "Download a photo from your vCard to a file. If index is not specified, download the first photo (usually avatar) from your vCard. If output is not specified, download the photo to profanity's photos directory. Same arguments as `photo open`" }, + { "photo save-self", "Download a photo from your vCard to a file. If index is not specified, download the first photo (usually avatar) from your vCard. If output is not specified, download the photo to profani-tty's photos directory. Same arguments as `photo open`" }, { "set fullname <fullname>", "Set your vCard's fullname to the specified value" }, { "set name family <family>", "Set your vCard's family name to the specified value" }, { "set name given <given>", "Set your vCard's given name to the specified value" }, @@ -1616,7 +1616,7 @@ static const struct cmd_t command_defs[] = { CMD_SYN( "/vercheck on|off") CMD_DESC( - "Check for new versions when Profanity starts, and when the /about command is run.") + "Check for new versions when Profani-tty starts, and when the /about command is run.") CMD_ARGS( { "on|off", "Enable or disable the version check." }) }, @@ -1630,10 +1630,10 @@ static const struct cmd_t command_defs[] = { "/wintitle show on|off", "/wintitle goodbye on|off") CMD_DESC( - "Allow Profanity to modify the window title bar.") + "Allow Profani-tty to modify the window title bar.") CMD_ARGS( { "show on|off", "Show current logged in user, and unread messages as the window title." }, - { "goodbye on|off", "Show a message in the title when exiting profanity." }) + { "goodbye on|off", "Show a message in the title when exiting profani-tty." }) }, { CMD_PREAMBLE("/alias", @@ -1752,7 +1752,7 @@ static const struct cmd_t command_defs[] = { "OpenPGP (OX) commands to manage keys, and perform OpenPGP encryption during chat sessions. " "Your OpenPGP key needs a user-id with your JID URI (xmpp:local@domain.tld). " "A key can be generated with \"gpg --quick-gen-key xmpp:local@domain.tld future-default default 3y\". " - "See man profanity-ox-setup for details on how to set up OX the first time.") + "See man profani-tty-ox-setup for details on how to set up OX the first time.") CMD_ARGS( { "keys", "List all keys known to the system." }, { "contacts", "Show contacts with assigned public keys." }, @@ -1895,12 +1895,12 @@ static const struct cmd_t command_defs[] = { "/log shared on|off", "/log level INFO|DEBUG|WARN|ERROR") CMD_DESC( - "Manage profanity log settings.") + "Manage profani-tty log settings.") CMD_ARGS( { "where", "Show the current log file location." }, - { "rotate on|off", "Rotate log, default on. Does not take effect if you specified a filename yourself when starting Profanity." }, + { "rotate on|off", "Rotate log, default on. Does not take effect if you specified a filename yourself when starting Profani-tty." }, { "maxsize <bytes>", "With rotate enabled, specifies the max log size, defaults to 10485760 (10MB)." }, - { "shared on|off", "Share logs between all instances, default: on. When off, the process id will be included in the log filename. Does not take effect if you specified a filename yourself when starting Profanity." }, + { "shared on|off", "Share logs between all instances, default: on. When off, the process id will be included in the log filename. Does not take effect if you specified a filename yourself when starting Profani-tty." }, {"level INFO|DEBUG|WARN|ERROR", "Set the log level. Default is INFO. Only works with default log file, not with user provided log file during startup via -f." }) }, @@ -2101,7 +2101,7 @@ static const struct cmd_t command_defs[] = { { "set <account> status <presence>", "The presence status to use on login." }, { "set <account> status last", "Use your last status before logging out, when logging in." }, { "set <account> <presence> <priority>", "Set the priority (-128..127) to use for the specified presence." }, - { "set <account> resource <resource>", "The resource to be used for this account, defaults to 'profanity'." }, + { "set <account> resource <resource>", "The resource to be used for this account, defaults to 'profani-tty'." }, { "set <account> password <password>", "Password for the account, note this is currently stored in plaintext if set." }, { "set <account> eval_password <command>", "Shell command evaluated to retrieve password for the account. Can be used to retrieve password from keyring." }, { "set <account> muc <service>", "The default MUC chat service to use, defaults to the servers disco info response." }, @@ -2140,7 +2140,7 @@ static const struct cmd_t command_defs[] = { "/account set me nick dennis", "/account set me status dnd", "/account set me dnd -1", - "/account set me clientid \"Profanity 0.42 (Dev)\"", + "/account set me clientid \"Profani-tty 0.42 (Dev)\"", "/account rename me chattyme", "/account clear me pgpkeyid") }, @@ -2250,7 +2250,7 @@ static const struct cmd_t command_defs[] = { "/script show <script>") CMD_DESC( "Run command scripts. " - "Scripts are stored in $XDG_DATA_HOME/profanity/scripts/ which is usually $HOME/.local/share/profanity/scripts/.") + "Scripts are stored in $XDG_DATA_HOME/profani-tty/scripts/ which is usually $HOME/.local/share/profani-tty/scripts/.") CMD_ARGS( { "script run <script>", "Execute a script." }, { "script list", "List all scripts TODO." }, @@ -2587,8 +2587,8 @@ static const struct cmd_t command_defs[] = { { "open", "Open URL with predefined executable." }, { "save", "Save URL to optional path, default path is current directory." }) CMD_EXAMPLES( - "/url open https://profanity-im.github.io", - "/url save https://profanity-im.github.io/guide/latest/userguide.html /home/user/Download/") + "/url open https://profani-tty.github.io", + "/url save https://profani-tty.github.io/guide/latest/userguide.html /home/user/Download/") }, { CMD_PREAMBLE("/mam", @@ -2695,7 +2695,7 @@ static const struct cmd_t command_defs[] = { { "set <mood> [text]", "Set user mood to <mood> with an optional [text]. Use /mood set <tab> to toggle through predefined moods." }, { "clear", "Clear your user mood." }) CMD_EXAMPLES( - "/mood set happy \"So happy to use Profanity!\"", + "/mood set happy \"So happy to use Profani-tty!\"", "/mood set amazed", "/mood clear") }, @@ -3022,7 +3022,7 @@ command_mangen(void) GDateTime* now = g_date_time_new_now_local(); gchar* date = g_date_time_format(now, "%F"); - gchar* header = g_strdup_printf(".TH man 1 \"%s\" \"" PACKAGE_VERSION "\" \"Profanity XMPP client\"\n", date); + gchar* header = g_strdup_printf(".TH man 1 \"%s\" \"" PACKAGE_VERSION "\" \"Profani-tty XMPP client\"\n", date); if (!header) { log_error("command_mangen(): could not allocate memory"); return; @@ -3034,7 +3034,7 @@ command_mangen(void) while (curr) { Command* pcmd = curr->data; - gchar* filename = g_strdup_printf("docs/profanity-%s.1", &pcmd->cmd[1]); + gchar* filename = g_strdup_printf("docs/profani-tty-%s.1", &pcmd->cmd[1]); if (!filename) { log_error("command_mangen(): could not allocate memory"); return; diff --git a/src/command/cmd_defs.h b/src/command/cmd_defs.h index e27e3951..08c17ed8 100644 --- a/src/command/cmd_defs.h +++ b/src/command/cmd_defs.h @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index e800cc0a..ffa8a3d2 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -6,20 +6,20 @@ * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * Copyright (C) 2020 William Wennerström <william@wstrm.dev> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -58,7 +58,7 @@ #include <sys/wait.h> #include <readline/readline.h> -#include "profanity.h" +#include "profani-tty.h" #include "log.h" #include "common.h" #include "command/cmd_funcs.h" @@ -189,7 +189,7 @@ _string_matches_one_of(const char* what, const char* is, bool is_can_be_null, co } /* - * Take a line of input and process it, return TRUE if profanity is to + * Take a line of input and process it, return TRUE if profani-tty is to * continue, FALSE otherwise */ gboolean @@ -1344,7 +1344,7 @@ cmd_disconnect(ProfWin* window, const char* const command, gchar** args) gboolean cmd_quit(ProfWin* window, const char* const command, gchar** args) { - log_info("Profanity is shutting down..."); + log_info("Profani-tty is shutting down…"); exit(0); return FALSE; } @@ -4951,7 +4951,7 @@ _add_omemo_stream(int* fd, FILE** fh, char** err) // Create temporary file for writing ciphertext. int tmpfd; char* tmpname = NULL; - if ((tmpfd = g_file_open_tmp("profanity.XXXXXX", &tmpname, NULL)) == -1) { + if ((tmpfd = g_file_open_tmp("profani-tty.XXXXXX", &tmpname, NULL)) == -1) { *err = "Unable to create temporary file for encrypted transfer."; return NULL; } @@ -6550,7 +6550,7 @@ cmd_log(ProfWin* window, const char* const command, gchar** args) if (strcmp(subcmd, "shared") == 0) { _cmd_set_boolean_preference(value, command, "Shared log", PREF_LOG_SHARED); - cons_show("Setting only takes effect after saving and restarting Profanity."); + cons_show("Setting only takes effect after saving and restarting Profani-tty."); return TRUE; } @@ -6900,7 +6900,7 @@ cmd_tray(ProfWin* window, const char* const command, gchar** args) return TRUE; } #else - cons_show("This version of Profanity has not been built with GTK Tray Icon support enabled"); + cons_show("This version of Profani-tty has not been built with GTK Tray Icon support enabled"); return TRUE; #endif } @@ -7620,7 +7620,7 @@ cmd_pgp(ProfWin* window, const char* const command, gchar** args) cons_bad_cmd_usage(command); return TRUE; #else - cons_show("This version of Profanity has not been built with PGP support enabled"); + cons_show("This version of Profani-tty has not been built with PGP support enabled"); return TRUE; #endif } @@ -7885,7 +7885,7 @@ cmd_otr_char(ProfWin* window, const char* const command, gchar** args) } cons_bad_cmd_usage(command); #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); #endif return TRUE; } @@ -7915,7 +7915,7 @@ cmd_otr_log(ProfWin* window, const char* const command, gchar** args) } return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -7928,7 +7928,7 @@ cmd_otr_libver(ProfWin* window, const char* const command, gchar** args) cons_show("Using libotr version %s", version); return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -7969,7 +7969,7 @@ cmd_otr_policy(ProfWin* window, const char* const command, gchar** args) cons_show("OTR policy for %s set to: %s", contact_jid, choice); return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -7988,7 +7988,7 @@ cmd_otr_gen(ProfWin* window, const char* const command, gchar** args) account_free(account); return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -8012,7 +8012,7 @@ cmd_otr_myfp(ProfWin* window, const char* const command, gchar** args) free(fingerprint); return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -8043,7 +8043,7 @@ cmd_otr_theirfp(ProfWin* window, const char* const command, gchar** args) free(fingerprint); return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -8132,7 +8132,7 @@ cmd_otr_start(ProfWin* window, const char* const command, gchar** args) return TRUE; } #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -8162,7 +8162,7 @@ cmd_otr_end(ProfWin* window, const char* const command, gchar** args) otr_end_session(chatwin->barejid); return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -8192,7 +8192,7 @@ cmd_otr_trust(ProfWin* window, const char* const command, gchar** args) otr_trust(chatwin->barejid); return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -8222,7 +8222,7 @@ cmd_otr_untrust(ProfWin* window, const char* const command, gchar** args) otr_untrust(chatwin->barejid); return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -8257,7 +8257,7 @@ cmd_otr_secret(ProfWin* window, const char* const command, gchar** args) otr_smp_secret(chatwin->barejid, secret); return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -8293,7 +8293,7 @@ cmd_otr_question(ProfWin* window, const char* const command, gchar** args) otr_smp_question(chatwin->barejid, question, answer); return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -8328,7 +8328,7 @@ cmd_otr_answer(ProfWin* window, const char* const command, gchar** args) otr_smp_answer(chatwin->barejid, answer); return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -8341,7 +8341,7 @@ cmd_otr_sendfile(ProfWin* window, const char* const command, gchar** args) return TRUE; #else - cons_show("This version of Profanity has not been built with OTR support enabled"); + cons_show("This version of Profani-tty has not been built with OTR support enabled"); return TRUE; #endif } @@ -8682,7 +8682,7 @@ cmd_omemo_gen(ProfWin* window, const char* const command, gchar** args) cons_show("OMEMO crytographic materials generated. Your Device ID is %d.", omemo_device_id()); return TRUE; #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); return TRUE; #endif } @@ -8760,7 +8760,7 @@ cmd_omemo_start(ProfWin* window, const char* const command, gchar** args) return TRUE; #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); return TRUE; #endif } @@ -8791,7 +8791,7 @@ cmd_omemo_trust_mode(ProfWin* window, const char* const command, gchar** args) prefs_set_string(PREF_OMEMO_TRUST_MODE, args[1]); #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); #endif return TRUE; } @@ -8813,7 +8813,7 @@ cmd_omemo_char(ProfWin* window, const char* const command, gchar** args) } cons_bad_cmd_usage(command); #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); #endif return TRUE; } @@ -8843,7 +8843,7 @@ cmd_omemo_log(ProfWin* window, const char* const command, gchar** args) } return TRUE; #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); return TRUE; #endif } @@ -8886,7 +8886,7 @@ cmd_omemo_end(ProfWin* window, const char* const command, gchar** args) return TRUE; #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); return TRUE; #endif } @@ -8956,7 +8956,7 @@ cmd_omemo_fingerprint(ProfWin* window, const char* const command, gchar** args) return TRUE; #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); return TRUE; #endif } @@ -9025,7 +9025,7 @@ cmd_omemo_trust(ProfWin* window, const char* const command, gchar** args) return TRUE; #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); return TRUE; #endif } @@ -9093,7 +9093,7 @@ cmd_omemo_untrust(ProfWin* window, const char* const command, gchar** args) return TRUE; #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); return TRUE; #endif } @@ -9111,7 +9111,7 @@ cmd_omemo_clear_device_list(ProfWin* window, const char* const command, gchar** cons_show("Cleared OMEMO device list"); return TRUE; #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); return TRUE; #endif } @@ -9136,7 +9136,7 @@ cmd_omemo_policy(ProfWin* window, const char* const command, gchar** args) cons_show("OMEMO policy is now set to: %s", choice); return TRUE; #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); return TRUE; #endif } @@ -9161,7 +9161,7 @@ cmd_omemo_qrcode(ProfWin* window, const char* const command, gchar** args) return TRUE; #else - cons_show("This version of Profanity has not been built with OMEMO support enabled"); + cons_show("This version of Profani-tty has not been built with OMEMO support enabled"); return TRUE; #endif } @@ -9223,7 +9223,7 @@ cmd_paste(ProfWin* window, const char* const command, gchar** args) free(clipboard_buffer); } #else - cons_show("This version of Profanity has not been built with GTK support enabled. It is needed for the clipboard feature to work."); + cons_show("This version of Profani-tty has not been built with GTK support enabled. It is needed for the clipboard feature to work."); #endif return TRUE; @@ -9338,7 +9338,7 @@ cmd_avatar(ProfWin* window, const char* const command, gchar** args) cons_show("Avatar updated successfully"); } #else - cons_show("Profanity has not been built with GDK Pixbuf support enabled which is needed to scale the avatar when uploading."); + cons_show("Profani-tty has not been built with GDK Pixbuf support enabled which is needed to scale the avatar when uploading."); #endif } else if (g_strcmp0(args[0], "get") == 0) { avatar_get_by_nick(args[1], false); diff --git a/src/command/cmd_funcs.h b/src/command/cmd_funcs.h index 6d446703..400261d3 100644 --- a/src/command/cmd_funcs.h +++ b/src/command/cmd_funcs.h @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/common.c b/src/common.c index c1a47c2d..ab5c6c8b 100644 --- a/src/common.c +++ b/src/common.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -217,7 +217,7 @@ utf8_display_len(const char* const str) char* release_get_latest(void) { - char* url = "https://profanity-im.github.io/profanity_version.txt"; + char* url = "https://profani-tty.github.io/profani-tty_version.txt"; CURL* handle = curl_easy_init(); struct curl_data_t output; diff --git a/src/common.h b/src/common.h index da6bd2b6..0e37b4f1 100644 --- a/src/common.h +++ b/src/common.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/account.c b/src/config/account.c index 42fd1cd0..0d52ba96 100644 --- a/src/config/account.c +++ b/src/config/account.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/account.h b/src/config/account.h index e8bda927..c1515a72 100644 --- a/src/config/account.h +++ b/src/config/account.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/accounts.c b/src/config/accounts.c index d5747cbf..5396c97b 100644 --- a/src/config/accounts.c +++ b/src/config/accounts.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/accounts.h b/src/config/accounts.h index 8d111544..bc2b3676 100644 --- a/src/config/accounts.h +++ b/src/config/accounts.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/cafile.c b/src/config/cafile.c index 542740d0..ea933868 100644 --- a/src/config/cafile.c +++ b/src/config/cafile.c @@ -4,20 +4,20 @@ * * Copyright (C) 2022 Steffen Jaeckel <jaeckel-floss@eyet-services.de> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -82,7 +82,7 @@ cafile_add(const TLSCertificate* cert) goto out; } } - const char* header = "# Profanity CAfile\n# DO NOT EDIT - this file is automatically generated"; + const char* header = "# Profani-tty CAfile\n# DO NOT EDIT - this file is automatically generated"; new_contents = g_strdup_printf("%s\n\n# %s\n%s", contents ? contents : header, cert->fingerprint, cert->pem); if (!g_file_set_contents(cafile, new_contents, -1, &glib_error)) log_error("[CAfile] could not write to %s: %s", cafile, glib_error ? glib_error->message : "No GLib error given"); @@ -98,7 +98,7 @@ cafile_get_name(void) gchar* cafile = _cafile_name(); if (!g_file_test(cafile, G_FILE_TEST_EXISTS)) { /* That's no problem! - * There's no need to have a profanity-specific CAfile if all CA's + * There's no need to have a profani-tty-specific CAfile if all CA's * of servers you're trying to connect to are in your OS trust-store */ log_debug("[CAfile] file %s not created yet", cafile); diff --git a/src/config/cafile.h b/src/config/cafile.h index 2655d686..b5ec4cee 100644 --- a/src/config/cafile.h +++ b/src/config/cafile.h @@ -4,20 +4,20 @@ * * Copyright (C) 2022 Steffen Jaeckel <jaeckel-floss@eyet-services.de> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/color.c b/src/config/color.c index 9c1998f5..9405f4fe 100644 --- a/src/config/color.c +++ b/src/config/color.c @@ -5,20 +5,20 @@ * Copyright (C) 2019 Aurelien Aptel <aurelien.aptel@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/color.h b/src/config/color.h index fe0c6e63..6a85f5ba 100644 --- a/src/config/color.h +++ b/src/config/color.h @@ -4,20 +4,20 @@ * * Copyright (C) 2019 Aurelien Aptel <aurelien.aptel@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/conflists.c b/src/config/conflists.c index 148d3ac4..5a7abfcf 100644 --- a/src/config/conflists.c +++ b/src/config/conflists.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/conflists.h b/src/config/conflists.h index 92771875..39dfb6d4 100644 --- a/src/config/conflists.h +++ b/src/config/conflists.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/files.c b/src/config/files.c index 75940c90..ed5697d8 100644 --- a/src/config/files.c +++ b/src/config/files.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2020 - 2023 Michael Vetter <jubalh@idoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -57,15 +57,15 @@ files_create_directories(void) gchar* xdg_data = _files_get_xdg_data_home(); GString* themes_dir = g_string_new(xdg_config); - g_string_append(themes_dir, "/profanity/themes"); + g_string_append(themes_dir, "/profani-tty/themes"); GString* icons_dir = g_string_new(xdg_config); - g_string_append(icons_dir, "/profanity/icons"); + g_string_append(icons_dir, "/profani-tty/icons"); GString* chatlogs_dir = g_string_new(xdg_data); - g_string_append(chatlogs_dir, "/profanity/chatlogs"); + g_string_append(chatlogs_dir, "/profani-tty/chatlogs"); GString* logs_dir = g_string_new(xdg_data); - g_string_append(logs_dir, "/profanity/logs"); + g_string_append(logs_dir, "/profani-tty/logs"); GString* plugins_dir = g_string_new(xdg_data); - g_string_append(plugins_dir, "/profanity/plugins"); + g_string_append(plugins_dir, "/profani-tty/plugins"); if (!create_dir(themes_dir->str)) { log_error("Error while creating directory %s", themes_dir->str); @@ -100,7 +100,7 @@ files_get_inputrc_file(void) GString* inputrc_file = g_string_new(xdg_config); g_free(xdg_config); - g_string_append(inputrc_file, "/profanity/inputrc"); + g_string_append(inputrc_file, "/profani-tty/inputrc"); if (g_file_test(inputrc_file->str, G_FILE_TEST_IS_REGULAR)) { gchar* result = g_strdup(inputrc_file->str); @@ -130,7 +130,7 @@ files_get_log_file(const char* const log_file) logfile = g_string_new(log_file); } else { logfile = g_string_new(xdg_data); - g_string_append(logfile, "/profanity/logs/profanity"); + g_string_append(logfile, "/profani-tty/logs/profani-tty"); if (!prefs_get_boolean(PREF_LOG_SHARED)) { g_string_append_printf(logfile, "%d", getpid()); @@ -151,7 +151,7 @@ gchar* files_get_config_path(const char* const config_base) { gchar* xdg_config = _files_get_xdg_config_home(); - gchar* result = g_strdup_printf("%s/profanity/%s", xdg_config, config_base); + gchar* result = g_strdup_printf("%s/profani-tty/%s", xdg_config, config_base); g_free(xdg_config); return result; } @@ -160,7 +160,7 @@ gchar* files_get_data_path(const char* const data_base) { gchar* xdg_data = _files_get_xdg_data_home(); - gchar* result = g_strdup_printf("%s/profanity/%s", xdg_data, data_base); + gchar* result = g_strdup_printf("%s/profani-tty/%s", xdg_data, data_base); g_free(xdg_data); return result; } diff --git a/src/config/files.h b/src/config/files.h index 50116d88..fb3b7faa 100644 --- a/src/config/files.h +++ b/src/config/files.h @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2018 - 2023 Michael Vetter <jubalh@idoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -45,7 +45,7 @@ #define FILE_PLUGIN_SETTINGS "plugin_settings" #define FILE_PLUGIN_THEMES "plugin_themes" #define FILE_CAPSCACHE "capscache" -#define FILE_PROFANITY_IDENTIFIER "profident" +#define FILE_PROFANI_TTY_IDENTIFIER "profident" #define FILE_BOOKMARK_AUTOJOIN_IGNORE "bookmark_ignore" #define DIR_THEMES "themes" diff --git a/src/config/preferences.c b/src/config/preferences.c index c10f4d83..3293d025 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -554,7 +554,7 @@ prefs_get_string_with_option(preference_t pref, gchar* option) result = g_key_file_get_locale_string(prefs, group, key, "*", NULL); if (result == NULL) { if (def) { - // use hardcoded profanity default + // use hardcoded profani-tty default return g_strdup(def); } else { return NULL; diff --git a/src/config/preferences.h b/src/config/preferences.h index ecb28485..531b8f94 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/scripts.c b/src/config/scripts.c index aca85173..14a81512 100644 --- a/src/config/scripts.c +++ b/src/config/scripts.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/scripts.h b/src/config/scripts.h index 5d99e275..1d19a24e 100644 --- a/src/config/scripts.h +++ b/src/config/scripts.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/theme.c b/src/config/theme.c index 4909f6b7..5d4f4f69 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/theme.h b/src/config/theme.h index ef076925..7a1d2c47 100644 --- a/src/config/theme.h +++ b/src/config/theme.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/tlscerts.c b/src/config/tlscerts.c index d2f053fa..aee4d312 100644 --- a/src/config/tlscerts.c +++ b/src/config/tlscerts.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/config/tlscerts.h b/src/config/tlscerts.h index ab3d00e2..d563aa75 100644 --- a/src/config/tlscerts.h +++ b/src/config/tlscerts.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/database.c b/src/database.c index 80439b9a..392ec70c 100644 --- a/src/database.c +++ b/src/database.c @@ -4,20 +4,20 @@ * * Copyright (C) 2020 - 2023 Michael Vetter <jubalh@idoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/database.h b/src/database.h index 1e73c874..01f272bd 100644 --- a/src/database.h +++ b/src/database.h @@ -4,20 +4,20 @@ * * Copyright (C) 2020 - 2023 Michael Vetter <jubalh@idoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/event/client_events.c b/src/event/client_events.c index c393ccd4..29166b10 100644 --- a/src/event/client_events.c +++ b/src/event/client_events.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/event/client_events.h b/src/event/client_events.h index a35e97b5..0fcfdcbc 100644 --- a/src/event/client_events.h +++ b/src/event/client_events.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/event/common.c b/src/event/common.c index 1844d2ff..caade4e0 100644 --- a/src/event/common.c +++ b/src/event/common.c @@ -4,20 +4,20 @@ * * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/event/common.h b/src/event/common.h index ca76bafd..6fae071d 100644 --- a/src/event/common.h +++ b/src/event/common.h @@ -4,20 +4,20 @@ * * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/event/server_events.c b/src/event/server_events.c index c10f69c3..fbdd4bcc 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -41,7 +41,7 @@ #include <assert.h> #include "config/accounts.h" -#include "profanity.h" +#include "profani-tty.h" #include "log.h" #include "chatlog.h" #include "database.h" @@ -1181,7 +1181,7 @@ sv_ev_muc_occupant_online(const char* const room, const char* const nick, const int sv_ev_certfail(const char* const errormsg, const TLSCertificate* cert) { - // check profanity trusted certs + // check profani-tty trusted certs if (tlscerts_exists(cert->fingerprint)) { cafile_add(cert); return 1; diff --git a/src/event/server_events.h b/src/event/server_events.h index 53bb27f0..8197e343 100644 --- a/src/event/server_events.h +++ b/src/event/server_events.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/log.c b/src/log.c index f2537675..3f5beb47 100644 --- a/src/log.c +++ b/src/log.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2018 - 2023 Michael Vetter <jubalh@idoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -78,7 +78,7 @@ _rotate_log_file(void) gchar* log_file_new = malloc(len + 5); // the mainlog file should always end in '.log', lets remove this last part - // so that we can have profanity.001.log later + // so that we can have profani-tty.001.log later if (len > 4) { log_file[len - 4] = '\0'; } diff --git a/src/log.h b/src/log.h index 3bf092b3..c1ccdd74 100644 --- a/src/log.h +++ b/src/log.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/main.c b/src/main.c index 6edfd3c8..6c52f43e 100644 --- a/src/main.c +++ b/src/main.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -55,7 +55,7 @@ #include "plugins/python_plugins.h" #endif -#include "profanity.h" +#include "profani-tty.h" #include "common.h" #include "command/cmd_defs.h" @@ -106,12 +106,12 @@ main(int argc, char** argv) if (version == TRUE) { if (strcmp(PACKAGE_STATUS, "development") == 0) { #ifdef HAVE_GIT_VERSION - g_print("Profanity, version %sdev.%s.%s\n", PACKAGE_VERSION, PROF_GIT_BRANCH, PROF_GIT_REVISION); + g_print("Profani-tty, version %sdev.%s.%s\n", PACKAGE_VERSION, PROF_GIT_BRANCH, PROF_GIT_REVISION); #else - g_print("Profanity, version %sdev\n", PACKAGE_VERSION); + g_print("Profani-tty, version %sdev\n", PACKAGE_VERSION); #endif } else { - g_print("Profanity, version %s\n", PACKAGE_VERSION); + g_print("Profani-tty, version %s\n", PACKAGE_VERSION); } // lets use fixed email instead of PACKAGE_BUGREPORT diff --git a/src/omemo/crypto.c b/src/omemo/crypto.c index 0423d9da..b70d38f5 100644 --- a/src/omemo/crypto.c +++ b/src/omemo/crypto.c @@ -4,20 +4,20 @@ * * Copyright (C) 2019 Paul Fariello <paul@fariello.eu> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/omemo/crypto.h b/src/omemo/crypto.h index d3f775dd..6a02691c 100644 --- a/src/omemo/crypto.h +++ b/src/omemo/crypto.h @@ -4,20 +4,20 @@ * * Copyright (C) 2019 Paul Fariello <paul@fariello.eu> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/omemo/omemo.c b/src/omemo/omemo.c index 9f84fd66..3c686f33 100644 --- a/src/omemo/omemo.c +++ b/src/omemo/omemo.c @@ -5,20 +5,20 @@ * Copyright (C) 2019 Paul Fariello <paul@fariello.eu> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/omemo/omemo.h b/src/omemo/omemo.h index 624bec51..a0a471e5 100644 --- a/src/omemo/omemo.h +++ b/src/omemo/omemo.h @@ -4,20 +4,20 @@ * * Copyright (C) 2019 Paul Fariello <paul@fariello.eu> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/omemo/store.c b/src/omemo/store.c index 08291460..5a079151 100644 --- a/src/omemo/store.c +++ b/src/omemo/store.c @@ -4,20 +4,20 @@ * * Copyright (C) 2019 Paul Fariello <paul@fariello.eu> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/omemo/store.h b/src/omemo/store.h index b6a9a74d..356fb456 100644 --- a/src/omemo/store.h +++ b/src/omemo/store.h @@ -4,20 +4,20 @@ * * Copyright (C) 2019 Paul Fariello <paul@fariello.eu> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/otr/otr.c b/src/otr/otr.c index bbad51d5..e88d2523 100644 --- a/src/otr/otr.c +++ b/src/otr/otr.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/otr/otr.h b/src/otr/otr.h index c909c721..d785ef37 100644 --- a/src/otr/otr.h +++ b/src/otr/otr.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/otr/otrlib.h b/src/otr/otrlib.h index 454013e3..bd3eda45 100644 --- a/src/otr/otrlib.h +++ b/src/otr/otrlib.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/otr/otrlibv4.c b/src/otr/otrlibv4.c index d735eb74..1d0ae55a 100644 --- a/src/otr/otrlibv4.c +++ b/src/otr/otrlibv4.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/pgp/gpg.c b/src/pgp/gpg.c index 3ef69c1d..3c23feaa 100644 --- a/src/pgp/gpg.c +++ b/src/pgp/gpg.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2018 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/pgp/gpg.h b/src/pgp/gpg.h index a5cc9cee..6614c509 100644 --- a/src/pgp/gpg.h +++ b/src/pgp/gpg.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/pgp/ox.c b/src/pgp/ox.c index 4d42a2a7..31f6fc63 100644 --- a/src/pgp/ox.c +++ b/src/pgp/ox.c @@ -5,20 +5,20 @@ * Copyright (C) 2020 Stefan Kropp <stefan@debxwoody.de> * Copyright (C) 2020 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/pgp/ox.h b/src/pgp/ox.h index 6a8d112f..5fccfa91 100644 --- a/src/pgp/ox.h +++ b/src/pgp/ox.h @@ -5,20 +5,20 @@ * Copyright (C) 2020 Stefan Kropp <stefan@debxwoody.de> * Copyright (C) 2020 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/api.c b/src/plugins/api.c index de286d96..d6a047d9 100644 --- a/src/plugins/api.c +++ b/src/plugins/api.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -41,7 +41,7 @@ #include <glib.h> -#include "profanity.h" +#include "profani-tty.h" #include "log.h" #include "common.h" #include "config/theme.h" diff --git a/src/plugins/api.h b/src/plugins/api.h index fcd068e2..1e591d45 100644 --- a/src/plugins/api.h +++ b/src/plugins/api.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/autocompleters.c b/src/plugins/autocompleters.c index 1a9a0f2b..60c1d7ca 100644 --- a/src/plugins/autocompleters.c +++ b/src/plugins/autocompleters.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/autocompleters.h b/src/plugins/autocompleters.h index b8878f72..8b3a9f54 100644 --- a/src/plugins/autocompleters.h +++ b/src/plugins/autocompleters.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/c_api.c b/src/plugins/c_api.c index 8daf633d..2c495f73 100644 --- a/src/plugins/c_api.c +++ b/src/plugins/c_api.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/c_api.h b/src/plugins/c_api.h index 71b04e82..e106dacc 100644 --- a/src/plugins/c_api.h +++ b/src/plugins/c_api.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/c_plugins.c b/src/plugins/c_plugins.c index a9e98e12..2f0bdff5 100644 --- a/src/plugins/c_plugins.c +++ b/src/plugins/c_plugins.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/c_plugins.h b/src/plugins/c_plugins.h index 6440e670..88fc4418 100644 --- a/src/plugins/c_plugins.h +++ b/src/plugins/c_plugins.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/callbacks.c b/src/plugins/callbacks.c index 4a73f15b..8a4d7be2 100644 --- a/src/plugins/callbacks.c +++ b/src/plugins/callbacks.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/callbacks.h b/src/plugins/callbacks.h index 99ba76eb..acd423af 100644 --- a/src/plugins/callbacks.h +++ b/src/plugins/callbacks.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/disco.c b/src/plugins/disco.c index 0bb715b2..f641f8da 100644 --- a/src/plugins/disco.c +++ b/src/plugins/disco.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/disco.h b/src/plugins/disco.h index 09f4c57f..1fc4a192 100644 --- a/src/plugins/disco.h +++ b/src/plugins/disco.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c index 580f98f0..f87fe1e5 100644 --- a/src/plugins/plugins.c +++ b/src/plugins/plugins.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/plugins.h b/src/plugins/plugins.h index 48423b64..010fb2c4 100644 --- a/src/plugins/plugins.h +++ b/src/plugins/plugins.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/profapi.c b/src/plugins/profapi.c index fe3393ab..c77ef439 100644 --- a/src/plugins/profapi.c +++ b/src/plugins/profapi.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/profapi.h b/src/plugins/profapi.h index cb850c82..83576a3a 100644 --- a/src/plugins/profapi.h +++ b/src/plugins/profapi.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/python_api.c b/src/plugins/python_api.c index 091b3b4a..1fc76196 100644 --- a/src/plugins/python_api.c +++ b/src/plugins/python_api.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/python_api.h b/src/plugins/python_api.h index c4a38c15..1ec7b6df 100644 --- a/src/plugins/python_api.h +++ b/src/plugins/python_api.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/python_plugins.c b/src/plugins/python_plugins.c index cf1e4a87..03f7019e 100644 --- a/src/plugins/python_plugins.c +++ b/src/plugins/python_plugins.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/python_plugins.h b/src/plugins/python_plugins.h index 67a67341..14b4894d 100644 --- a/src/plugins/python_plugins.h +++ b/src/plugins/python_plugins.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/settings.c b/src/plugins/settings.c index 2b99c9cf..e7a2ee7a 100644 --- a/src/plugins/settings.c +++ b/src/plugins/settings.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/settings.h b/src/plugins/settings.h index e05e543a..e1c26242 100644 --- a/src/plugins/settings.h +++ b/src/plugins/settings.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/themes.c b/src/plugins/themes.c index 98139453..467d0994 100644 --- a/src/plugins/themes.c +++ b/src/plugins/themes.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/plugins/themes.h b/src/plugins/themes.h index 9e23329f..580927d9 100644 --- a/src/plugins/themes.h +++ b/src/plugins/themes.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/profanity.c b/src/profani-tty.c index 19ea8435..2bb2f9cd 100644 --- a/src/profanity.c +++ b/src/profani-tty.c @@ -1,24 +1,24 @@ /* - * profanity.c + * profani-tty.c * vim: expandtab:ts=4:sts=4:sw=4 * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -50,7 +50,7 @@ #include <glib.h> -#include "profanity.h" +#include "profani-tty.h" #include "common.h" #include "log.h" #include "chatlog.h" @@ -182,12 +182,12 @@ _init(char* log_level, char* config_file, char* log_file, char* theme_name) if (strcmp(PACKAGE_STATUS, "development") == 0) { #ifdef HAVE_GIT_VERSION - log_info("Starting Profanity (%sdev.%s.%s)...", PACKAGE_VERSION, PROF_GIT_BRANCH, PROF_GIT_REVISION); + log_info("Starting Profani-tty (%sdev.%s.%s)…", PACKAGE_VERSION, PROF_GIT_BRANCH, PROF_GIT_REVISION); #else - log_info("Starting Profanity (%sdev)...", PACKAGE_VERSION); + log_info("Starting Profani-tty (%sdev)…", PACKAGE_VERSION); #endif } else { - log_info("Starting Profanity (%s)...", PACKAGE_VERSION); + log_info("Starting Profani-tty (%s)…", PACKAGE_VERSION); } chat_log_init(); diff --git a/src/profanity.h b/src/profani-tty.h index 0e5faba1..686a21a7 100644 --- a/src/profanity.h +++ b/src/profani-tty.h @@ -1,24 +1,24 @@ /* - * profanity.h + * profani-tty.h * vim: expandtab:ts=4:sts=4:sw=4 * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -34,8 +34,8 @@ * */ -#ifndef PROFANITY_H -#define PROFANITY_H +#ifndef PROFANI_TTY_H +#define PROFANI_TTY_H #include <pthread.h> #include <glib.h> diff --git a/src/tools/aesgcm_download.c b/src/tools/aesgcm_download.c index da935156..f040f797 100644 --- a/src/tools/aesgcm_download.c +++ b/src/tools/aesgcm_download.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2020 William Wennerström <william@wstrm.dev> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -47,7 +47,7 @@ #include <assert.h> #include <errno.h> -#include "profanity.h" +#include "profani-tty.h" #include "event/client_events.h" #include "tools/http_common.h" #include "tools/aesgcm_download.h" @@ -81,7 +81,7 @@ aesgcm_file_get(void* userdata) // retrieved from the https:// URL. gchar* tmpname = NULL; gint tmpfd; - if ((tmpfd = g_file_open_tmp("profanity.XXXXXX", &tmpname, NULL)) == -1) { + if ((tmpfd = g_file_open_tmp("profani-tty.XXXXXX", &tmpname, NULL)) == -1) { http_print_transfer_update(aesgcm_dl->window, aesgcm_dl->id, "Downloading '%s' failed: Unable to create " "temporary ciphertext file for writing " diff --git a/src/tools/aesgcm_download.h b/src/tools/aesgcm_download.h index 796b9389..ef18b02e 100644 --- a/src/tools/aesgcm_download.h +++ b/src/tools/aesgcm_download.h @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2020 William Wennerström <william@wstrm.dev> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/autocomplete.c b/src/tools/autocomplete.c index 8c7818e7..5e4a5fe4 100644 --- a/src/tools/autocomplete.c +++ b/src/tools/autocomplete.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/autocomplete.h b/src/tools/autocomplete.h index 851dbc0d..4b76e1ae 100644 --- a/src/tools/autocomplete.h +++ b/src/tools/autocomplete.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/bookmark_ignore.c b/src/tools/bookmark_ignore.c index 613a956f..5b595253 100644 --- a/src/tools/bookmark_ignore.c +++ b/src/tools/bookmark_ignore.c @@ -4,20 +4,20 @@ * * Copyright (C) 2020 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/bookmark_ignore.h b/src/tools/bookmark_ignore.h index 82e600d1..baff5521 100644 --- a/src/tools/bookmark_ignore.h +++ b/src/tools/bookmark_ignore.h @@ -4,20 +4,20 @@ * * Copyright (C) 2020 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/clipboard.c b/src/tools/clipboard.c index 43f254e8..b7584385 100644 --- a/src/tools/clipboard.c +++ b/src/tools/clipboard.c @@ -4,20 +4,20 @@ * * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/clipboard.h b/src/tools/clipboard.h index 26283a7a..94c67809 100644 --- a/src/tools/clipboard.h +++ b/src/tools/clipboard.h @@ -4,20 +4,20 @@ * * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/editor.c b/src/tools/editor.c index 4cd70d9d..d5d937b5 100644 --- a/src/tools/editor.c +++ b/src/tools/editor.c @@ -6,20 +6,20 @@ * Copyright (C) 2022 MarcoPolo PasTonMolo <marcopolopastonmolo@protonmail.com> * Copyright (C) 2022 Steffen Jaeckel <jaeckel-floss@eyet-services.de> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/editor.h b/src/tools/editor.h index 09783f29..dd7de96e 100644 --- a/src/tools/editor.h +++ b/src/tools/editor.h @@ -5,20 +5,20 @@ * Copyright (C) 2022 - 2023 Michael Vetter <jubalh@iodoru.org> * Copyright (C) 2022 MarcoPolo PasTonMolo <marcopolopastonmolo@protonmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/http_common.c b/src/tools/http_common.c index 02391e63..ed2e6b45 100644 --- a/src/tools/http_common.c +++ b/src/tools/http_common.c @@ -4,20 +4,20 @@ * * Copyright (C) 2020 William Wennerström <william@wstrm.dev> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/http_common.h b/src/tools/http_common.h index 733d4d17..6595fafd 100644 --- a/src/tools/http_common.h +++ b/src/tools/http_common.h @@ -4,20 +4,20 @@ * * Copyright (C) 2020 William Wennerström <william@wstrm.dev> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/http_download.c b/src/tools/http_download.c index bd34a4ed..37ac9274 100644 --- a/src/tools/http_download.c +++ b/src/tools/http_download.c @@ -6,20 +6,20 @@ * Copyright (C) 2020 William Wennerström <william@wstrm.dev> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -48,7 +48,7 @@ #include <assert.h> #include <errno.h> -#include "profanity.h" +#include "profani-tty.h" #include "event/client_events.h" #include "tools/http_download.h" #include "config/cafile.h" @@ -154,7 +154,7 @@ http_file_get(void* userdata) curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void*)outfh); - curl_easy_setopt(curl, CURLOPT_USERAGENT, "profanity"); + curl_easy_setopt(curl, CURLOPT_USERAGENT, "profani-tty"); if (cafile) { curl_easy_setopt(curl, CURLOPT_CAINFO, cafile); diff --git a/src/tools/http_download.h b/src/tools/http_download.h index f75ba4d7..a0fd61fe 100644 --- a/src/tools/http_download.h +++ b/src/tools/http_download.h @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2020 William Wennerström <william@wstrm.dev> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/http_upload.c b/src/tools/http_upload.c index 289dba15..238d71fa 100644 --- a/src/tools/http_upload.c +++ b/src/tools/http_upload.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -45,7 +45,7 @@ #include <pthread.h> #include <assert.h> -#include "profanity.h" +#include "profani-tty.h" #include "event/client_events.h" #include "tools/http_upload.h" #include "config/cafile.h" @@ -245,7 +245,7 @@ http_file_put(void* userdata) curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, _data_callback); curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void*)&output); - curl_easy_setopt(curl, CURLOPT_USERAGENT, "profanity"); + curl_easy_setopt(curl, CURLOPT_USERAGENT, "profani-tty"); fh = upload->filehandle; diff --git a/src/tools/http_upload.h b/src/tools/http_upload.h index 06145a43..27f3fecb 100644 --- a/src/tools/http_upload.h +++ b/src/tools/http_upload.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/parser.c b/src/tools/parser.c index 93c765f5..8dc78b85 100644 --- a/src/tools/parser.c +++ b/src/tools/parser.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/tools/parser.h b/src/tools/parser.h index 054ab2b7..f06633f1 100644 --- a/src/tools/parser.h +++ b/src/tools/parser.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/buffer.c b/src/ui/buffer.c index 8d26d40b..aa775570 100644 --- a/src/ui/buffer.c +++ b/src/ui/buffer.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/buffer.h b/src/ui/buffer.h index 9daf18bb..f16ab5ae 100644 --- a/src/ui/buffer.h +++ b/src/ui/buffer.h @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index 8470999a..6898f282 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/confwin.c b/src/ui/confwin.c index a49b7010..dbd5f884 100644 --- a/src/ui/confwin.c +++ b/src/ui/confwin.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/console.c b/src/ui/console.c index 5795e48a..d7ef1bc1 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -393,10 +393,10 @@ cons_show_incoming_private_message(const char* const nick, const char* const roo static void _cons_welcome_first_start(void) { - gchar* ident_loc = files_get_data_path(FILE_PROFANITY_IDENTIFIER); + gchar* ident_loc = files_get_data_path(FILE_PROFANI_TTY_IDENTIFIER); if (!g_file_test(ident_loc, G_FILE_TEST_EXISTS)) { ProfWin* console = wins_get_console(); - win_println(console, THEME_DEFAULT, "-", "This seems to be your first time starting Profanity."); + win_println(console, THEME_DEFAULT, "-", "This seems to be your first time starting Profani-tty."); win_println(console, THEME_DEFAULT, "-", ""); win_println(console, THEME_DEFAULT, "-", "You can connect to an existing XMPP account via /connect myjid@domain.org."); win_println(console, THEME_DEFAULT, "-", "If you plan to connect to this XMPP account regularly we suggest you set up an account:"); @@ -424,12 +424,12 @@ cons_about(void) if (strcmp(PACKAGE_STATUS, "development") == 0) { #ifdef HAVE_GIT_VERSION - win_println(console, THEME_DEFAULT, "-", "Welcome to Profanity, version %sdev.%s.%s", PACKAGE_VERSION, PROF_GIT_BRANCH, PROF_GIT_REVISION); + win_println(console, THEME_DEFAULT, "-", "Welcome to Profani-tty, version %sdev.%s.%s", PACKAGE_VERSION, PROF_GIT_BRANCH, PROF_GIT_REVISION); #else - win_println(console, THEME_DEFAULT, "Welcome to Profanity, version %sdev", PACKAGE_VERSION); + win_println(console, THEME_DEFAULT, "Welcome to Profani-tty, version %sdev", PACKAGE_VERSION); #endif } else { - win_println(console, THEME_DEFAULT, "-", "Welcome to Profanity, version %s", PACKAGE_VERSION); + win_println(console, THEME_DEFAULT, "-", "Welcome to Profani-tty, version %s", PACKAGE_VERSION); } } @@ -465,8 +465,8 @@ cons_check_version(gboolean not_available_msg) if (relase_valid) { if (release_is_new(latest_release)) { - win_println(console, THEME_DEFAULT, "-", "A new version of Profanity is available: %s", latest_release); - win_println(console, THEME_DEFAULT, "-", "Check <https://profanity-im.github.io> for details."); + win_println(console, THEME_DEFAULT, "-", "A new version of Profani-tty is available: %s", latest_release); + win_println(console, THEME_DEFAULT, "-", "Check <https://profani-tty.github.io> for details."); win_println(console, THEME_DEFAULT, "-", ""); } else { if (not_available_msg) { @@ -937,7 +937,7 @@ cons_show_qrcode(const char* const text) QRcode_free(qrcode); #else - cons_show("This version of Profanity has not been built with libqrencode"); + cons_show("This version of Profani-tty has not been built with libqrencode"); #endif } @@ -2537,7 +2537,7 @@ cons_help(void) cons_show_padded(pad, "/help commands ui : List commands for manipulating the user interface."); cons_show_padded(pad, "/help commands plugins : List plugin commands."); cons_show_padded(pad, "/help [command] : Detailed help on a specific command."); - cons_show_padded(pad, "/help navigation : How to navigate around Profanity."); + cons_show_padded(pad, "/help navigation : How to navigate around Profani-tty."); cons_show(""); cons_alert(NULL); diff --git a/src/ui/core.c b/src/ui/core.c index 7bcac08b..26360f99 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -164,7 +164,7 @@ ui_get_idle_time(void) if (info) { XFree(info); } -// if no libxss or xss idle time failed, use profanity idle time +// if no libxss or xss idle time failed, use profani-tty idle time #endif gdouble seconds_elapsed = g_timer_elapsed(ui_idle_time, NULL); unsigned long ms_elapsed = seconds_elapsed * 1000.0; @@ -1102,7 +1102,7 @@ ui_clear_win_title(void) void ui_goodbye_title(void) { - fputs("\e]0;Thanks for using Profanity\a", stdout); + fputs("\e]0;Thanks for using Profani-tty\a", stdout); fflush(stdout); } @@ -1116,12 +1116,12 @@ _ui_draw_term_title(void) gint unread = wins_get_total_unread(); if (unread != 0) { - fprintf(stdout, "\e]0;Profanity (%d) - %s\a", unread, jid); + fprintf(stdout, "\e]0;Profani-tty (%d) - %s\a", unread, jid); } else { - fprintf(stdout, "\e]0;Profanity - %s\a", jid); + fprintf(stdout, "\e]0;Profani-tty - %s\a", jid); } } else { - fputs("\e]0;Profanity\a", stdout); + fputs("\e]0;Profani-tty\a", stdout); } fflush(stdout); } diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index 9b652f1c..1f7f9ae2 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -57,7 +57,7 @@ #include <curses.h> #endif -#include "profanity.h" +#include "profani-tty.h" #include "log.h" #include "common.h" #include "command/cmd_ac.h" @@ -153,7 +153,7 @@ create_input_window(void) #endif discard = fopen("/dev/null", "a"); rl_outstream = discard; - rl_readline_name = "profanity"; + rl_readline_name = "profani-tty"; _inp_rl_addfuncs(); rl_getc_function = _inp_rl_getc; rl_redisplay_function = _inp_redisplay; @@ -561,7 +561,7 @@ _inp_rl_startup_hook(void) // disable readline completion rl_variable_bind("disable-completion", "on"); - // check for and load ~/.config/profanity/inputrc + // check for and load ~/.config/profani-tty/inputrc gchar* inputrc = files_get_inputrc_file(); if (inputrc) { rl_read_init_file(inputrc); diff --git a/src/ui/inputwin.h b/src/ui/inputwin.h index 3aefcc0a..b7871b50 100644 --- a/src/ui/inputwin.h +++ b/src/ui/inputwin.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index a2c31421..d773473b 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/notifier.c b/src/ui/notifier.c index 07a542af..99579597 100644 --- a/src/ui/notifier.c +++ b/src/ui/notifier.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -206,11 +206,11 @@ notify(const char* const message, int timeout, const char* const category) } else { log_debug("Initialising libnotify"); } - notify_init("Profanity"); + notify_init("Profani-tty"); if (notify_is_initted()) { NotifyNotification* notification; - notification = notify_notification_new("Profanity", message, NULL); + notification = notify_notification_new("Profani-tty", message, NULL); notify_notification_set_timeout(notification, timeout); notify_notification_set_category(notification, category); notify_notification_set_urgency(notification, NOTIFY_URGENCY_NORMAL); @@ -245,7 +245,7 @@ notify(const char* const message, int timeout, const char* const category) // For a Ballon Tip nid.uFlags = NIF_INFO; - strcpy(nid.szInfoTitle, "Profanity"); // Title + strcpy(nid.szInfoTitle, "Profani-tty"); // Title strncpy(nid.szInfo, message, sizeof(nid.szInfo) - 1); // Copy Tip nid.uTimeout = timeout; // 3 Seconds nid.dwInfoFlags = NIIF_INFO; @@ -253,7 +253,7 @@ notify(const char* const message, int timeout, const char* const category) Shell_NotifyIcon(NIM_MODIFY, &nid); #endif #ifdef HAVE_OSXNOTIFY - GString* notify_command = g_string_new("terminal-notifier -title \"Profanity\" -message '"); + GString* notify_command = g_string_new("terminal-notifier -title \"Profani-tty\" -message '"); char* escaped_single = str_replace(message, "'", "'\\''"); diff --git a/src/ui/occupantswin.c b/src/ui/occupantswin.c index 3e5b86bc..71cdfca9 100644 --- a/src/ui/occupantswin.c +++ b/src/ui/occupantswin.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/privwin.c b/src/ui/privwin.c index 7954a92f..a31d673d 100644 --- a/src/ui/privwin.c +++ b/src/ui/privwin.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c index 877d25c2..a61d9310 100644 --- a/src/ui/rosterwin.c +++ b/src/ui/rosterwin.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/screen.c b/src/ui/screen.c index a7be6c2a..23d6a063 100644 --- a/src/ui/screen.c +++ b/src/ui/screen.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/screen.h b/src/ui/screen.h index b934b83e..24858401 100644 --- a/src/ui/screen.h +++ b/src/ui/screen.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/statusbar.c b/src/ui/statusbar.c index 08ecdcd7..b970f5ed 100644 --- a/src/ui/statusbar.c +++ b/src/ui/statusbar.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/statusbar.h b/src/ui/statusbar.h index 4946e8c3..30e50d50 100644 --- a/src/ui/statusbar.h +++ b/src/ui/statusbar.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c index 89469464..17efa6c6 100644 --- a/src/ui/titlebar.c +++ b/src/ui/titlebar.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/titlebar.h b/src/ui/titlebar.h index d2913c99..9462029b 100644 --- a/src/ui/titlebar.h +++ b/src/ui/titlebar.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/tray.c b/src/ui/tray.c index c1b07245..cb32f9c2 100644 --- a/src/ui/tray.c +++ b/src/ui/tray.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/tray.h b/src/ui/tray.h index 89e51ec0..43bf5679 100644 --- a/src/ui/tray.h +++ b/src/ui/tray.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/ui.h b/src/ui/ui.h index 79fafd75..21fbb1a3 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/vcardwin.c b/src/ui/vcardwin.c index a49f240c..8a2b83a2 100644 --- a/src/ui/vcardwin.c +++ b/src/ui/vcardwin.c @@ -4,20 +4,20 @@ * * Copyright (C) 2022 Marouane L. <techmetx11@disroot.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/win_types.h b/src/ui/win_types.h index b7cd3519..ff350858 100644 --- a/src/ui/win_types.h +++ b/src/ui/win_types.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/window.c b/src/ui/window.c index 49f22ca7..ea765b3a 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -64,7 +64,7 @@ #include "xmpp/connection.h" #include "database.h" -#define CONS_WIN_TITLE "Profanity. Type /help for help information." +#define CONS_WIN_TITLE "Profani-tty. Type /help for help information." #define XML_WIN_TITLE "XML Console" #define CEILING(X) (X - (int)(X) > 0 ? (int)(X + 1) : (int)(X)) diff --git a/src/ui/window.h b/src/ui/window.h index 1c0a9007..a9244ffd 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/window_list.c b/src/ui/window_list.c index 0a96b461..a5546a38 100644 --- a/src/ui/window_list.c +++ b/src/ui/window_list.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -1331,7 +1331,7 @@ wins_add_urls_ac(const ProfWin* const win, const ProfMessage* const message, con } else { autocomplete_add_unsorted(win->urls_ac, word, TRUE); } - // for people who run profanity a long time, we don't want to waste a lot of memory + // for people who run profani-tty a long time, we don't want to waste a lot of memory autocomplete_remove_older_than_max_reverse(win->urls_ac, 20); g_free(word); @@ -1351,7 +1351,7 @@ wins_add_quotes_ac(const ProfWin* const win, const char* const message, const gb autocomplete_add_unsorted(win->quotes_ac, message, TRUE); } - // for people who run profanity a long time, we don't want to waste a lot of memory + // for people who run profani-tty a long time, we don't want to waste a lot of memory autocomplete_remove_older_than_max_reverse(win->quotes_ac, 20); } diff --git a/src/ui/window_list.h b/src/ui/window_list.h index d9d11c58..79af0fe1 100644 --- a/src/ui/window_list.h +++ b/src/ui/window_list.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/ui/xmlwin.c b/src/ui/xmlwin.c index fccbe27f..994540df 100644 --- a/src/ui/xmlwin.c +++ b/src/ui/xmlwin.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/avatar.c b/src/xmpp/avatar.c index 3c5ae70d..e65c941a 100644 --- a/src/xmpp/avatar.c +++ b/src/xmpp/avatar.c @@ -4,20 +4,20 @@ * * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/avatar.h b/src/xmpp/avatar.h index 65a1432e..3224b017 100644 --- a/src/xmpp/avatar.h +++ b/src/xmpp/avatar.h @@ -4,20 +4,20 @@ * * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/blocking.c b/src/xmpp/blocking.c index e68999d2..fb5760f6 100644 --- a/src/xmpp/blocking.c +++ b/src/xmpp/blocking.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/blocking.h b/src/xmpp/blocking.h index ff09f21b..e4bc370c 100644 --- a/src/xmpp/blocking.h +++ b/src/xmpp/blocking.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/bookmark.c b/src/xmpp/bookmark.c index 916c8195..54513df0 100644 --- a/src/xmpp/bookmark.c +++ b/src/xmpp/bookmark.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/bookmark.h b/src/xmpp/bookmark.h index c550df2a..0119c8ff 100644 --- a/src/xmpp/bookmark.h +++ b/src/xmpp/bookmark.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/capabilities.c b/src/xmpp/capabilities.c index 3bd567cd..ad49e5c3 100644 --- a/src/xmpp/capabilities.c +++ b/src/xmpp/capabilities.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/capabilities.h b/src/xmpp/capabilities.h index bbc1cf8e..51c6e0fd 100644 --- a/src/xmpp/capabilities.h +++ b/src/xmpp/capabilities.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/chat_session.c b/src/xmpp/chat_session.c index 56a782f1..9efb7c08 100644 --- a/src/xmpp/chat_session.c +++ b/src/xmpp/chat_session.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/chat_session.h b/src/xmpp/chat_session.h index 619750e4..a4c5420e 100644 --- a/src/xmpp/chat_session.h +++ b/src/xmpp/chat_session.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/chat_state.c b/src/xmpp/chat_state.c index 2ebe7459..363c0ecc 100644 --- a/src/xmpp/chat_state.c +++ b/src/xmpp/chat_state.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/chat_state.h b/src/xmpp/chat_state.h index 3b2e5829..678b5712 100644 --- a/src/xmpp/chat_state.h +++ b/src/xmpp/chat_state.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index 3853a905..ea3ad010 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2018 - 2023 Michael Vetter <jubalh@idoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -80,7 +80,7 @@ typedef struct } prof_reg_t; static ProfConnection conn; -static gchar* profanity_instance_id = NULL; +static gchar* profanitty_instance_id = NULL; static gchar* prof_identifier = NULL; static void _xmpp_file_logger(void* const userdata, const xmpp_log_level_t level, const char* const area, const char* const msg); @@ -1111,7 +1111,7 @@ _random_bytes_init(void) char* rndbytes_loc; GKeyFile* rndbytes; - rndbytes_loc = files_get_data_path(FILE_PROFANITY_IDENTIFIER); + rndbytes_loc = files_get_data_path(FILE_PROFANI_TTY_IDENTIFIER); if (g_file_test(rndbytes_loc, G_FILE_TEST_EXISTS)) { g_chmod(rndbytes_loc, S_IRUSR | S_IWUSR); @@ -1121,10 +1121,10 @@ _random_bytes_init(void) g_key_file_load_from_file(rndbytes, rndbytes_loc, G_KEY_FILE_KEEP_COMMENTS, NULL); if (g_key_file_has_group(rndbytes, "identifier")) { - profanity_instance_id = g_key_file_get_string(rndbytes, "identifier", "random_bytes", NULL); + profanitty_instance_id = g_key_file_get_string(rndbytes, "identifier", "random_bytes", NULL); } else { - profanity_instance_id = get_random_string(10); - g_key_file_set_string(rndbytes, "identifier", "random_bytes", profanity_instance_id); + profanitty_instance_id = get_random_string(10); + g_key_file_set_string(rndbytes, "identifier", "random_bytes", profanitty_instance_id); gsize g_data_size; gchar* g_accounts_data = g_key_file_to_data(rndbytes, &g_data_size, NULL); @@ -1145,7 +1145,7 @@ _random_bytes_init(void) static void _random_bytes_close(void) { - g_free(profanity_instance_id); + g_free(profanitty_instance_id); } static void @@ -1155,12 +1155,12 @@ _compute_identifier(const char* barejid) free(prof_identifier); prof_identifier = g_compute_hmac_for_string(G_CHECKSUM_SHA256, - (guchar*)profanity_instance_id, strlen(profanity_instance_id), + (guchar*)profanitty_instance_id, strlen(profanitty_instance_id), barejid, strlen(barejid)); } const char* -connection_get_profanity_identifier(void) +connection_get_profanitty_identifier(void) { return prof_identifier; } diff --git a/src/xmpp/connection.h b/src/xmpp/connection.h index d4ade03a..c2dbaa5a 100644 --- a/src/xmpp/connection.h +++ b/src/xmpp/connection.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/contact.c b/src/xmpp/contact.c index 36ad3ce9..b45f4b87 100644 --- a/src/xmpp/contact.c +++ b/src/xmpp/contact.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -219,7 +219,7 @@ p_contact_create_display_string(const PContact contact, const char* const resour // use nickname if exists const char* display_name = p_contact_name_or_jid(contact); - // add resource if not default provided by profanity + // add resource if not default provided by profani-tty if (strcmp(resource, "__prof_default") != 0) { result = g_strdup_printf("%s (%s)", display_name, resource); } else { diff --git a/src/xmpp/contact.h b/src/xmpp/contact.h index 26e73c1d..32c278d8 100644 --- a/src/xmpp/contact.h +++ b/src/xmpp/contact.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/form.c b/src/xmpp/form.c index 5290c83f..854e37c3 100644 --- a/src/xmpp/form.c +++ b/src/xmpp/form.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/form.h b/src/xmpp/form.h index 73a3d6c7..cc1b808f 100644 --- a/src/xmpp/form.h +++ b/src/xmpp/form.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 6903a412..aa5dc046 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -46,7 +46,7 @@ #include <strophe.h> -#include "profanity.h" +#include "profani-tty.h" #include "log.h" #include "config/preferences.h" #include "event/server_events.h" @@ -1649,7 +1649,7 @@ _version_get_handler(xmpp_stanza_t* const stanza) xmpp_stanza_t* name = xmpp_stanza_new(ctx); xmpp_stanza_set_name(name, "name"); xmpp_stanza_t* name_txt = xmpp_stanza_new(ctx); - xmpp_stanza_set_text(name_txt, is_custom_client ? client : "Profanity"); + xmpp_stanza_set_text(name_txt, is_custom_client ? client : "Profani-tty"); xmpp_stanza_add_child(name, name_txt); xmpp_stanza_add_child(query, name); bool include_os = prefs_get_boolean(PREF_REVEAL_OS) && !is_custom_client; diff --git a/src/xmpp/iq.h b/src/xmpp/iq.h index 887e832e..0ee3daec 100644 --- a/src/xmpp/iq.h +++ b/src/xmpp/iq.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/jid.c b/src/xmpp/jid.c index 51c710f1..610f450d 100644 --- a/src/xmpp/jid.c +++ b/src/xmpp/jid.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -218,7 +218,8 @@ jid_random_resource(void) { auto_char char* rand = get_random_string(4); - gchar* result = g_strdup_printf("profanity.%s", rand); + gchar* result = g_strdup_printf("profani-tty.%s", rand); + free(rand); return result; } diff --git a/src/xmpp/jid.h b/src/xmpp/jid.h index e55ea0c7..ebbe5917 100644 --- a/src/xmpp/jid.h +++ b/src/xmpp/jid.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/message.c b/src/xmpp/message.c index a6372c4a..2b321d12 100644 --- a/src/xmpp/message.c +++ b/src/xmpp/message.c @@ -5,20 +5,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -41,7 +41,7 @@ #include <strophe.h> -#include "profanity.h" +#include "profani-tty.h" #include "log.h" #include "config/preferences.h" #include "event/server_events.h" @@ -546,7 +546,7 @@ message_send_chat_ox(const char* const barejid, const char* const msg, gboolean xmpp_stanza_to_text(signcrypt, &c, &s); char* signcrypt_e = p_ox_gpg_signcrypt(account->jid, barejid, c); if (signcrypt_e == NULL) { - cons_show("Unable to send OX message. Check log file and profanity-ox-setup man page for details."); + cons_show("Unable to send OX message. Check log file and profani-tty-ox-setup man page for details."); log_error("Message not signcrypted."); return NULL; } @@ -1084,7 +1084,7 @@ _handle_groupchat(xmpp_stanza_t* const stanza) return; } - // room not active in profanity + // room not active in profani-tty if (!muc_active(from_jid->barejid)) { log_error("Message received for inactive chat room: %s", from_jid->str); return; @@ -1623,8 +1623,8 @@ message_is_sent_by_us(const ProfMessage* const message, bool checkOID) // our client sents at CON_RAND_ID_LEN + identifier if (tmp_len > CON_RAND_ID_LEN) { - auto_gchar gchar* uuid = g_strndup(tmp_id, CON_RAND_ID_LEN); - const char* prof_identifier = connection_get_profanity_identifier(); + char* uuid = g_strndup(tmp_id, CON_RAND_ID_LEN); + const char* prof_identifier = connection_get_profanitty_identifier(); auto_gchar gchar* hmac = g_compute_hmac_for_string(G_CHECKSUM_SHA1, (guchar*)prof_identifier, strlen(prof_identifier), diff --git a/src/xmpp/message.h b/src/xmpp/message.h index fec5662a..e6e97b6c 100644 --- a/src/xmpp/message.h +++ b/src/xmpp/message.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/muc.c b/src/xmpp/muc.c index cf41f58f..2f8da0f6 100644 --- a/src/xmpp/muc.c +++ b/src/xmpp/muc.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/muc.h b/src/xmpp/muc.h index 27fa0d4f..7eb78f2e 100644 --- a/src/xmpp/muc.h +++ b/src/xmpp/muc.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/omemo.c b/src/xmpp/omemo.c index 23c3d375..972f7ef6 100644 --- a/src/xmpp/omemo.c +++ b/src/xmpp/omemo.c @@ -4,20 +4,20 @@ * * Copyright (C) 2019 Paul Fariello <paul@fariello.eu> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/omemo.h b/src/xmpp/omemo.h index 9f29cb96..edafef23 100644 --- a/src/xmpp/omemo.h +++ b/src/xmpp/omemo.h @@ -4,20 +4,20 @@ * * Copyright (C) 2019 Paul Fariello <paul@fariello.eu> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/ox.c b/src/xmpp/ox.c index c0e20744..bf4ecdc7 100644 --- a/src/xmpp/ox.c +++ b/src/xmpp/ox.c @@ -4,20 +4,20 @@ * * Copyright (C) 2020 Stefan Kropp <stefan@debxwoody.de> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/ox.h b/src/xmpp/ox.h index 06acd119..9d2bbb31 100644 --- a/src/xmpp/ox.h +++ b/src/xmpp/ox.h @@ -4,20 +4,20 @@ * * Copyright (C) 2020 Stefan Kropp <stefan@debxwoody.de> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c index fd265535..8a9b7d21 100644 --- a/src/xmpp/presence.c +++ b/src/xmpp/presence.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -44,7 +44,7 @@ #include <strophe.h> -#include "profanity.h" +#include "profani-tty.h" #include "log.h" #include "common.h" #include "config/preferences.h" diff --git a/src/xmpp/presence.h b/src/xmpp/presence.h index c6810c4e..aebde449 100644 --- a/src/xmpp/presence.h +++ b/src/xmpp/presence.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/resource.c b/src/xmpp/resource.c index 007a97c0..708589d7 100644 --- a/src/xmpp/resource.c +++ b/src/xmpp/resource.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/resource.h b/src/xmpp/resource.h index 41d20511..45cf71ed 100644 --- a/src/xmpp/resource.h +++ b/src/xmpp/resource.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/roster.c b/src/xmpp/roster.c index fd7ceecf..1131c530 100644 --- a/src/xmpp/roster.c +++ b/src/xmpp/roster.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -43,7 +43,7 @@ #include <strophe.h> -#include "profanity.h" +#include "profani-tty.h" #include "log.h" #include "config/preferences.h" #include "plugins/plugins.h" diff --git a/src/xmpp/roster.h b/src/xmpp/roster.h index 253e088d..141b9b20 100644 --- a/src/xmpp/roster.h +++ b/src/xmpp/roster.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/roster_list.c b/src/xmpp/roster_list.c index 8c85fb55..480e28f1 100644 --- a/src/xmpp/roster_list.c +++ b/src/xmpp/roster_list.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/roster_list.h b/src/xmpp/roster_list.h index f9548d97..11dfe8a4 100644 --- a/src/xmpp/roster_list.h +++ b/src/xmpp/roster_list.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/session.c b/src/xmpp/session.c index c4ea3f24..8f4146d1 100644 --- a/src/xmpp/session.c +++ b/src/xmpp/session.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -39,7 +39,7 @@ #include <string.h> #include <stdlib.h> -#include "profanity.h" +#include "profani-tty.h" #include "log.h" #include "common.h" #include "config/preferences.h" @@ -175,7 +175,7 @@ session_connect_with_details(const char* const jid, const char* const passwd, co saved_details.auth_policy = NULL; } - // use 'profanity' when no resourcepart in provided jid + // use 'profani-tty' when no resourcepart in provided jid Jid* jidp = jid_create(jid); if (jidp->resourcepart == NULL) { jid_destroy(jidp); diff --git a/src/xmpp/session.h b/src/xmpp/session.h index d8565fa4..8d50c759 100644 --- a/src/xmpp/session.h +++ b/src/xmpp/session.h @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/stanza.c b/src/xmpp/stanza.c index bbc15c13..080ad924 100644 --- a/src/xmpp/stanza.c +++ b/src/xmpp/stanza.c @@ -4,20 +4,20 @@ * * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -980,7 +980,7 @@ stanza_create_caps_query_element(xmpp_ctx_t* ctx) gchar* client = account->client; bool is_custom_client = client != NULL; - GString* name_str = g_string_new(is_custom_client ? client : "Profanity "); + GString* name_str = g_string_new(is_custom_client ? client : "Profani-tty "); if (!is_custom_client) { xmpp_stanza_set_type(identity, "console"); g_string_append(name_str, PACKAGE_VERSION); @@ -2066,7 +2066,7 @@ stanza_attach_caps(xmpp_ctx_t* const ctx, xmpp_stanza_t* const presence) char* sha1 = caps_get_my_sha1(ctx); xmpp_stanza_set_attribute(caps, STANZA_ATTR_HASH, "sha-1"); - xmpp_stanza_set_attribute(caps, STANZA_ATTR_NODE, "http://profanity-im.github.io"); + xmpp_stanza_set_attribute(caps, STANZA_ATTR_NODE, "http://profani-tty.github.io"); xmpp_stanza_set_attribute(caps, STANZA_ATTR_VER, sha1); xmpp_stanza_add_child(presence, caps); xmpp_stanza_release(caps); diff --git a/src/xmpp/stanza.h b/src/xmpp/stanza.h index 636fafb0..b6129b65 100644 --- a/src/xmpp/stanza.h +++ b/src/xmpp/stanza.h @@ -4,20 +4,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/vcard.c b/src/xmpp/vcard.c index b3ff5d39..4b5ca202 100644 --- a/src/xmpp/vcard.c +++ b/src/xmpp/vcard.c @@ -4,20 +4,20 @@ * * Copyright (C) 2022 Marouane L. <techmetx11@disroot.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/vcard.h b/src/xmpp/vcard.h index 9ec04c8c..9b730dd4 100644 --- a/src/xmpp/vcard.h +++ b/src/xmpp/vcard.h @@ -4,20 +4,20 @@ * * Copyright (C) 2022 Marouane L. <techmetx11@disroot.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/vcard_funcs.h b/src/xmpp/vcard_funcs.h index 5f4aa3d0..21980f08 100644 --- a/src/xmpp/vcard_funcs.h +++ b/src/xmpp/vcard_funcs.h @@ -4,20 +4,20 @@ * * Copyright (C) 2022 Marouane L. <techmetx11@disroot.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under diff --git a/src/xmpp/xmpp.h b/src/xmpp/xmpp.h index 2babe536..de73bb0f 100644 --- a/src/xmpp/xmpp.h +++ b/src/xmpp/xmpp.h @@ -4,20 +4,20 @@ * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com> * Copyright (C) 2019 - 2023 Michael Vetter <jubalh@iodoru.org> * - * This file is part of Profanity. + * This file is part of Profani-tty. * - * Profanity is free software: you can redistribute it and/or modify + * Profani-tty is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * Profanity is distributed in the hope that it will be useful, + * Profani-tty is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see <https://www.gnu.org/licenses/>. + * along with Profani-tty. If not, see <https://www.gnu.org/licenses/>. * * In addition, as a special exception, the copyright holders give permission to * link the code of portions of this program with the OpenSSL library under @@ -205,7 +205,7 @@ int connection_count_available_resources(void); gboolean connection_supports(const char* const feature); char* connection_jid_for_feature(const char* const feature); -const char* connection_get_profanity_identifier(void); +const char* connection_get_profanitty_identifier(void); char* message_send_chat(const char* const barejid, const char* const msg, const char* const oob_url, gboolean request_receipt, const char* const replace_id); char* message_send_chat_otr(const char* const barejid, const char* const msg, gboolean request_receipt, const char* const replace_id); |