Update name and license
All checks were successful
CI / Linux (debian) (pull_request) Successful in 11m26s
CI / Linux (arch) (pull_request) Successful in 13m51s
CI / Linux (fedora) (pull_request) Successful in 12m27s
CI / Check coding style (pull_request) Successful in 30s
CI / Check spelling (pull_request) Successful in 14s
CI / Linux (ubuntu) (pull_request) Successful in 11m43s
CI / Linux (debian) (push) Successful in 11m31s
CI / Linux (arch) (push) Successful in 13m51s
CI / Linux (fedora) (push) Successful in 12m16s
CI / Check coding style (push) Successful in 29s
CI / Check spelling (push) Successful in 17s
CI / Linux (ubuntu) (push) Successful in 11m49s

This commit is contained in:
2025-07-19 02:16:38 +02:00
parent 091ff41c06
commit 5ed8ec30f0
4 changed files with 18 additions and 19 deletions

View File

@@ -1715,8 +1715,15 @@ cmd_help(ProfWin* window, const char* const command, gchar** args)
gboolean gboolean
cmd_about(ProfWin* window, const char* const command, gchar** args) cmd_about(ProfWin* window, const char* const command, gchar** args)
{ {
ProfWin* console = wins_get_console();
cons_show(""); cons_show("");
cons_about(); cons_about();
win_println(console, THEME_DEFAULT, "-", "Licensed under GNU GPL v3.");
win_println(console, THEME_DEFAULT, "-", "CProof is an independent unaffiliated fork of Profanity.");
win_println(console, THEME_DEFAULT, "-", "Profanity: Copyright (C) 20122019 James Booth, 20192025 Michael Vetter");
win_println(console, THEME_DEFAULT, "-", "Copyright (C) 2025 CProof Developers");
win_println(console, THEME_DEFAULT, "-", "");
return TRUE; return TRUE;
} }

View File

@@ -387,16 +387,9 @@ cons_about(void)
_cons_splash_logo(); _cons_splash_logo();
} else { } else {
auto_gchar gchar* prof_version = prof_get_version(); auto_gchar gchar* prof_version = prof_get_version();
win_println(console, THEME_DEFAULT, "-", "Welcome to Profanity, version %s", prof_version); win_println(console, THEME_DEFAULT, "-", "Welcome to CProof, version %s", prof_version);
} }
win_println(console, THEME_DEFAULT, "-", "Copyright (C) 2012 - 2019 James Booth <boothj5web@gmail.com>.");
win_println(console, THEME_DEFAULT, "-", "Copyright (C) 2019 - 2025 Michael Vetter <jubalh@iodoru.org>.");
win_println(console, THEME_DEFAULT, "-", "License GPLv3+: GNU GPL version 3 or later <https://www.gnu.org/licenses/gpl.html>");
win_println(console, THEME_DEFAULT, "-", "");
win_println(console, THEME_DEFAULT, "-", "This is free software; you are free to change and redistribute it.");
win_println(console, THEME_DEFAULT, "-", "There is NO WARRANTY, to the extent permitted by law.");
win_println(console, THEME_DEFAULT, "-", "");
win_println(console, THEME_DEFAULT, "-", "Type '/help' to show complete help."); win_println(console, THEME_DEFAULT, "-", "Type '/help' to show complete help.");
win_println(console, THEME_DEFAULT, "-", ""); win_println(console, THEME_DEFAULT, "-", "");
@@ -2704,13 +2697,12 @@ _cons_splash_logo(void)
ProfWin* console = wins_get_console(); ProfWin* console = wins_get_console();
win_println(console, THEME_DEFAULT, "-", "Welcome to"); win_println(console, THEME_DEFAULT, "-", "Welcome to");
win_println(console, THEME_SPLASH, "-", " ___ _ "); win_println(console, THEME_SPLASH, "-", " _____ _____ __ ");
win_println(console, THEME_SPLASH, "-", " / __) (_)_ "); win_println(console, THEME_SPLASH, "-", " / ____| __ \\ / _|");
win_println(console, THEME_SPLASH, "-", " ____ ___ ___ | |__ ____ ____ _| |_ _ _ "); win_println(console, THEME_SPLASH, "-", " | | | |__) | __ ___ ___ | |_ ");
win_println(console, THEME_SPLASH, "-", "| _ \\ / __) _ \\| __) _ | _ \\| | _) | | |"); win_println(console, THEME_SPLASH, "-", " | | | ___/ '__/ _ \\ / _ \\| _|");
win_println(console, THEME_SPLASH, "-", "| | ) | | | (_) | | | ( | | | | | | |_| |_| |"); win_println(console, THEME_SPLASH, "-", " | |____| | | | | (_) | (_) | | ");
win_println(console, THEME_SPLASH, "-", "| ||_/|_| \\___/|_| \\_||_|_| |_|_|\\___)__ |"); win_println(console, THEME_SPLASH, "-", " \\_____|_| |_| \\___/ \\___/|_| ");
win_println(console, THEME_SPLASH, "-", "|_| (____/ ");
win_println(console, THEME_SPLASH, "-", ""); win_println(console, THEME_SPLASH, "-", "");
auto_gchar gchar* prof_version = prof_get_version(); auto_gchar gchar* prof_version = prof_get_version();

View File

@@ -64,7 +64,7 @@
#include "xmpp/roster_list.h" #include "xmpp/roster_list.h"
static const char* LOADING_MESSAGE = "Loading older messages…"; static const char* LOADING_MESSAGE = "Loading older messages…";
static const char* CONS_WIN_TITLE = "Profanity. Type /help for help information."; static const char* CONS_WIN_TITLE = "CProof. Type /help for help information.";
static const char* XML_WIN_TITLE = "XML Console"; static const char* XML_WIN_TITLE = "XML Console";
#define CEILING(X) (X - (int)(X) > 0 ? (int)(X + 1) : (int)(X)) #define CEILING(X) (X - (int)(X) > 0 ? (int)(X + 1) : (int)(X))

View File

@@ -281,7 +281,7 @@ shows_all_messages_in_console_when_window_not_focussed(void **state)
assert_true(prof_output_exact("-> You have joined the room as stabber, role: participant, affiliation: none")); assert_true(prof_output_exact("-> You have joined the room as stabber, role: participant, affiliation: none"));
prof_input("/win 1"); prof_input("/win 1");
assert_true(prof_output_exact("Profanity. Type /help for help information.")); assert_true(prof_output_exact("CProof. Type /help for help information."));
stbbr_send( stbbr_send(
"<message type='groupchat' to='stabber@localhost/profanity' from='testroom@conference.localhost/testoccupant'>" "<message type='groupchat' to='stabber@localhost/profanity' from='testroom@conference.localhost/testoccupant'>"
@@ -322,7 +322,7 @@ shows_first_message_in_console_when_window_not_focussed(void **state)
assert_true(prof_output_exact("-> You have joined the room as stabber, role: participant, affiliation: none")); assert_true(prof_output_exact("-> You have joined the room as stabber, role: participant, affiliation: none"));
prof_input("/win 1"); prof_input("/win 1");
assert_true(prof_output_exact("Profanity. Type /help for help information.")); assert_true(prof_output_exact("CProof. Type /help for help information."));
stbbr_send( stbbr_send(
"<message type='groupchat' to='stabber@localhost/profanity' from='testroom@conference.localhost/testoccupant'>" "<message type='groupchat' to='stabber@localhost/profanity' from='testroom@conference.localhost/testoccupant'>"
@@ -368,7 +368,7 @@ shows_no_message_in_console_when_window_not_focussed(void **state)
assert_true(prof_output_exact("-> You have joined the room as stabber, role: participant, affiliation: none")); assert_true(prof_output_exact("-> You have joined the room as stabber, role: participant, affiliation: none"));
prof_input("/win 1"); prof_input("/win 1");
assert_true(prof_output_exact("Profanity. Type /help for help information.")); assert_true(prof_output_exact("CProof. Type /help for help information."));
stbbr_send( stbbr_send(
"<message type='groupchat' to='stabber@localhost/profanity' from='testroom@conference.localhost/testoccupant'>" "<message type='groupchat' to='stabber@localhost/profanity' from='testroom@conference.localhost/testoccupant'>"