mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-04-09 13:20:20 +00:00
Compare commits
18 Commits
zoitechat-
...
hct_import
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f2938d957 | |||
|
|
73733e4176 | ||
| 9f8faf0a6e | |||
|
|
5ff704459c | ||
|
|
0ccc730d85 | ||
|
|
093ffe791e | ||
| b9ff051043 | |||
| 10b6d5927b | |||
| 0052b6589e | |||
| 51e9ac15df | |||
|
|
4df579e0d3 | ||
| 2cf69d2e67 | |||
|
|
64bffd0dc8 | ||
|
|
b451240dfd | ||
| 41cc1f617f | |||
| ed671eac25 | |||
| 9f2529adb6 | |||
|
|
3903d7b9e5 |
@@ -1,16 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
version="1.1"
|
|
||||||
width="0.213333in" height="0.213333in"
|
|
||||||
viewBox="0 0 64 64">
|
|
||||||
<defs>
|
|
||||||
</defs>
|
|
||||||
<image id="raster0"
|
|
||||||
x="0"
|
|
||||||
y="0"
|
|
||||||
width="64"
|
|
||||||
height="64"
|
|
||||||
opacity="1.000000"
|
|
||||||
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IB2cksfwAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAADJpJREFUeNrdm310lNWdxz/3eZnMJJMJeSeBIO9CbCtlQUWksuvaetSuLVrkWLqIbttj7fGsaGu71V2ptbYe+3KsdNetdd2tdUUqKos9aHcLHiwKCSu0yItSggSESSIJyWTen/vbP2aSzJCZyUwSAuzvnOfceZ7nzr33972/t/u791GcLbrngK0wvCIC4gT4yezY2RiGOqONP9jqRrgcLfMQuQiR2Wi5AJEatIAIkiyT9360HEFkPyJ70NKM1t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I0NbHfLENM2t3gawu7IDEkq0XIjRjKG82G5A9jW5kfmcaKMtM/JaRHZAYso7XlYhSa8pPEQzPlbsrDxV+RObGNz8NvIpS1qgA0F8aKEONPgAuE2p9qJpyKPOCIko4+hn5etmW4R+SuukPK1D8G0qp0QNAofraUgpIAuFoiDuJMh8A3DYUu1BeN/hKEucW+/oBh0Doi7Kqcu3Ij8kt3bYCeArDsEYdgExtKZXMN6jkqi85UtMEywTLAJc9oJan/1cRpTf0t7Kqau3oHZS8+a1Po9SLKOU94wCkqErufjIAINJN3Pmc3DVuc37J2nxp7YLXUcwH9nGukqP/SCjyF/kyXxgAAP952X5MNQ944pxiXESIx3/Mhx2XyT1VBxmT4/JfaroCpX6OUh8/qyoA7xCL3yHfqN7OmH8wsXLnhWj2nxUA4CAi35V7q341EhZGlr3QcssZ/u4qU59b0M4/y7H2dfzsYyM+tTh8AL62p4hA+Mtjwr/IDpANROU5ub+uZTSbtkaQZL8dqMujZhD4BYrpwBTgwsQRj8wJd+AAwiHgj2jdhKPflNUNH3FOfTa3orkCLe+jVMUQcUAvhrqOJxrfSOv03vfdKFWNUhWJqE0+EqGdH06LcF58OLm86TfAjUMEQq0YaglrLmrmHKbCt2K+uGMVMnDKKgus6zHUJ8915guXgFu2r0R4OrvrMvZiqm/y5Cde5Tyh/I3gsrfvQstPB2ViFIJSr6HUkzx18cucZ2TlwXgJWq9B6xWJwIQg8C6G2o1SmzHN3/HLOe2cpzS0Cvz9eybhcBVKCWXF7fxgmvD/iP4Ps1PbE8ZtV64AAAAASUVORK5CYIIA" />
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 4.8 KiB |
@@ -1,16 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
version="1.1"
|
|
||||||
width="0.213333in" height="0.213333in"
|
|
||||||
viewBox="0 0 64 64">
|
|
||||||
<defs>
|
|
||||||
</defs>
|
|
||||||
<image id="raster0"
|
|
||||||
x="0"
|
|
||||||
y="0"
|
|
||||||
width="64"
|
|
||||||
height="64"
|
|
||||||
opacity="1.000000"
|
|
||||||
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IB2cksfwAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAADJpJREFUeNrdm310lNWdxz/3eZnMJJMJeSeBIO9CbCtlQUWksuvaetSuLVrkWLqIbttj7fGsaGu71V2ptbYe+3KsdNetdd2tdUUqKos9aHcLHiwKCSu0yItSggSESSIJyWTen/vbP2aSzJCZyUwSAuzvnOfceZ7nzr33972/t/u791GcLbrngK0wvCIC4gT4yezY2RiGOqONP9jqRrgcLfMQuQiR2Wi5AJEatIAIkiyT9360HEFkPyJ70NKM1tt48hPh8wYA9b3jNYjcjMj1aPlLROw+ZlMYJQsAZKgbQ8sWRDYispan5vjPSQDUI/6rEbkTkc+ixRiCqUIASC01IhvRsoZn5r5+TgCgHm2/AZEHEZlDFmZ8CmrdCq8NHlthGWCboBBEAC3EHU0sqolENcGwQ0fAoS3sZAMCRHahZTW/mvfy2QHg6+9+TFWWrqHE86lMMzbZragpUfg8Bm5bDcyqkPI7CUDGdxCPaXoCMT46FeNgZ4y4k1FKtiJyJ7++5E9jAoB6tM2SA8f+Ecv4tppeb6UO2gvM8CmqSw1clsrKmCR/qyEASAXKiQudXVFa/BH8Ied0NYmj5RFEf5fnF8TPHAB37mmgJ/wCjr5MzagDrwe0UKyExjKTGp+BoZIDdoRgSNMbcgiENcGIpiOiCcZ12iwaCHW2wmOB16XwFhkUewxsU6UBQFJVEKGrK8r7x8MJINLVYjsiX2DtgtbRB+Cruy+nJ7weoZZxxajp9SBCY4liUoWJZUA8rjnZ7dAWcDjc64zICI53KSaUmZSXWrhdagAABDSIaNra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jdhKPflNUNH3FOfTa3orkCLe+jVMUQcUAvhrqOJxrfSOv03vfdKFWNUhWJqE0+EqGdH06LcF58OLm86TfAjUMEQq0YaglrLmrmHKbCt2K+uGMVMnDKKgus6zHUJ8915guXgFu2r0R4OrvrMvZiqm/y5Cde5Tyh/I3gsrfvQstPB2ViFIJSr6HUkzx18cucZ2TlwXgJWq9B6xWJwIQg8C6G2o1SmzHN3/HLOe2cpzS0Cvz9eybhcBVKCWXF7fxgmvD/iP4Ps1PbE8ZtV64AAAAASUVORK5CYIIA" />
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 4.8 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 14 KiB |
@@ -13,10 +13,10 @@ if get_option('gtk-frontend')
|
|||||||
install_dir: metainfodir
|
install_dir: metainfodir
|
||||||
)
|
)
|
||||||
|
|
||||||
appstream_util = find_program('appstream-util', required: false)
|
appstreamcli = find_program('appstreamcli', required: false)
|
||||||
if appstream_util.found()
|
if appstreamcli.found()
|
||||||
test('Validate net.zoite.Zoitechat.appdata.xml', appstream_util,
|
test('Validate net.zoite.Zoitechat.appdata.xml', appstreamcli,
|
||||||
args: ['validate-relax', zoitechat_appdata]
|
args: ['validate', zoitechat_appdata]
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@@ -97,11 +97,18 @@ if get_option('plugin')
|
|||||||
conf.set('SUMMARY', metainfo[1])
|
conf.set('SUMMARY', metainfo[1])
|
||||||
conf.set('LICENSE', metainfo[2])
|
conf.set('LICENSE', metainfo[2])
|
||||||
|
|
||||||
configure_file(
|
plugin_appdata = configure_file(
|
||||||
input: 'net.zoite.Zoitechat.Plugin.metainfo.xml.in',
|
input: 'net.zoite.Zoitechat.Plugin.metainfo.xml.in',
|
||||||
output: 'net.zoite.Zoitechat.Plugin.@0@.metainfo.xml'.format(name),
|
output: 'net.zoite.Zoitechat.Plugin.@0@.metainfo.xml'.format(name),
|
||||||
configuration: conf,
|
configuration: conf,
|
||||||
install_dir: get_option('install-plugin-metainfo') ? metainfodir : '',
|
install_dir: get_option('install-plugin-metainfo') ? metainfodir : '',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if appstreamcli.found()
|
||||||
|
test('Validate net.zoite.Zoitechat.Plugin.@0@.metainfo.xml'.format(name), appstreamcli,
|
||||||
|
args: ['validate', plugin_appdata]
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
endforeach
|
endforeach
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<extends>net.zoite.Zoitechat</extends>
|
<extends>net.zoite.Zoitechat</extends>
|
||||||
<name>@NAME@ Plugin</name>
|
<name>@NAME@ Plugin</name>
|
||||||
<summary>@SUMMARY@</summary>
|
<summary>@SUMMARY@</summary>
|
||||||
<url type="homepage">https://zoitechat.zoite.net/</url>
|
<url type="homepage">https://zoitechat.org/</url>
|
||||||
<project_license>@LICENSE@</project_license>
|
<project_license>@LICENSE@</project_license>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
<update_contact>deepend_AT_zoite.net</update_contact>
|
<update_contact>deepend_AT_zoite.net</update_contact>
|
||||||
|
|||||||
@@ -16,12 +16,12 @@
|
|||||||
<p>ZoiteChat is an easy to use yet extensible IRC Client based on Hexchat. It allows you to securely join multiple networks and talk to users privately or in channels using a customizable interface. You can even transfer files.</p>
|
<p>ZoiteChat is an easy to use yet extensible IRC Client based on Hexchat. It allows you to securely join multiple networks and talk to users privately or in channels using a customizable interface. You can even transfer files.</p>
|
||||||
<p>ZoiteChat supports features such as: DCC, SASL, proxies, spellcheck, alerts, logging, custom themes, and Python/Perl scripts.</p>
|
<p>ZoiteChat supports features such as: DCC, SASL, proxies, spellcheck, alerts, logging, custom themes, and Python/Perl scripts.</p>
|
||||||
</description>
|
</description>
|
||||||
<url type="homepage">https://zoitechat.zoite.net</url>
|
<url type="homepage">https://zoitechat.org</url>
|
||||||
<url type="bugtracker">https://github.com/zoitechat/zoitechat</url>
|
<url type="bugtracker">https://github.com/zoitechat/zoitechat</url>
|
||||||
<url type="help">https://docs.zoitechat.zoite.net/en/latest/</url>
|
<url type="help">https://docs.zoitechat.org/en/latest/</url>
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<screenshot type="default">
|
<screenshot type="default">
|
||||||
<image>https://zoitechat.zoite.net/assets/ZoiteChat.png</image>
|
<image>https://zoitechat.org/assets/ZoiteChat.png</image>
|
||||||
<caption>Main Chat Window</caption>
|
<caption>Main Chat Window</caption>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
@@ -100,14 +100,6 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</description>
|
</description>
|
||||||
</release>
|
</release>
|
||||||
<release date="2026-03-22" version="2.18.0~pre5">
|
|
||||||
<description>
|
|
||||||
<p>Version metadata update:</p>
|
|
||||||
<ul>
|
|
||||||
<li>Bumped release version references to <code>2.18.0~pre5</code> across build and packaging files.</li>
|
|
||||||
</ul>
|
|
||||||
</description>
|
|
||||||
</release>
|
|
||||||
<release date="2026-03-14" version="2.18.0~pre4">
|
<release date="2026-03-14" version="2.18.0~pre4">
|
||||||
<description>
|
<description>
|
||||||
<p>UI fixes, topic bar improvements, and selection styling updates:</p>
|
<p>UI fixes, topic bar improvements, and selection styling updates:</p>
|
||||||
|
|||||||
@@ -1457,14 +1457,14 @@ perl_load_file (char *filename)
|
|||||||
"You must have a Visual C++ build of Perl "
|
"You must have a Visual C++ build of Perl "
|
||||||
PERL_REQUIRED_VERSION " installed in order to\n"
|
PERL_REQUIRED_VERSION " installed in order to\n"
|
||||||
"run Perl scripts. A reboot may be required.\n\n"
|
"run Perl scripts. A reboot may be required.\n\n"
|
||||||
"http://zoitechat.zoite.net/downloads.html\n\n"
|
"http://zoitechat.org/downloads.html\n\n"
|
||||||
"I have found Perl 5.6, but that is too old.");
|
"I have found Perl 5.6, but that is too old.");
|
||||||
} else {
|
} else {
|
||||||
thread_mbox ("Cannot open " PERL_DLL "!\n\n"
|
thread_mbox ("Cannot open " PERL_DLL "!\n\n"
|
||||||
"You must have a Visual C++ build of Perl "
|
"You must have a Visual C++ build of Perl "
|
||||||
PERL_REQUIRED_VERSION " installed in order to\n"
|
PERL_REQUIRED_VERSION " installed in order to\n"
|
||||||
"run Perl scripts. A reboot may be required.\n\n"
|
"run Perl scripts. A reboot may be required.\n\n"
|
||||||
"http://zoitechat.zoite.net/downloads.html\n\n"
|
"http://zoitechat.org/downloads.html\n\n"
|
||||||
"Make sure Perl's bin directory is in your PATH.");
|
"Make sure Perl's bin directory is in your PATH.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "zoitechat-plugin.h"
|
#include "zoitechat-plugin.h"
|
||||||
|
|
||||||
#define APPCAST_URL "https://zoitechat.zoite.net/appcast.xml"
|
#define APPCAST_URL "https://zoitechat.org/appcast.xml"
|
||||||
|
|
||||||
static zoitechat_plugin *ph;
|
static zoitechat_plugin *ph;
|
||||||
static char name[] = "Update Checker";
|
static char name[] = "Update Checker";
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
[![Version][github-version-img]][github-version-uri] [![Downloads][github-downloads-img]][github-downloads-uri] [![Size][github-size-img]][github-size-img] [![Last Commit][github-commit-img]][github-commit-img] [![Contributors][contribs-all-img]](#contributors-)
|
[![Version][github-version-img]][github-version-uri] [![Downloads][github-downloads-img]][github-downloads-uri] [![Size][github-size-img]][github-size-img] [![Last Commit][github-commit-img]][github-commit-img] [![Contributors][contribs-all-img]](#contributors-)
|
||||||
|
|
||||||
[](https://docs.zoitechat.zoite.net)
|
[](https://docs.zoitechat.org)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -33,8 +33,8 @@
|
|||||||
|
|
||||||
ZoiteChat is an HexChat based IRC client for Windows and UNIX-like operating systems.
|
ZoiteChat is an HexChat based IRC client for Windows and UNIX-like operating systems.
|
||||||
See [IRCHelp.org](http://irchelp.org) for information about IRC in general.
|
See [IRCHelp.org](http://irchelp.org) for information about IRC in general.
|
||||||
For more information on ZoiteChat please read our [documentation](https://docs.zoitechat.zoite.net/):
|
For more information on ZoiteChat please read our [documentation](https://docs.zoitechat.org/):
|
||||||
- [Downloads](https://zoitechat.zoite.net/download)
|
- [Downloads](https://zoitechat.org/download)
|
||||||
|
|
||||||
- [Troubleshooting](troubleshooting.md)
|
- [Troubleshooting](troubleshooting.md)
|
||||||
|
|
||||||
|
|||||||
@@ -445,6 +445,7 @@ const struct prefs vars[] =
|
|||||||
{"gui_dark_mode", P_OFFINT (hex_gui_dark_mode), TYPE_INT},
|
{"gui_dark_mode", P_OFFINT (hex_gui_dark_mode), TYPE_INT},
|
||||||
{"gui_gtk3_variant", P_OFFINT (hex_gui_gtk3_variant), TYPE_INT},
|
{"gui_gtk3_variant", P_OFFINT (hex_gui_gtk3_variant), TYPE_INT},
|
||||||
{"gui_tab_layout", P_OFFINT (hex_gui_tab_layout), TYPE_INT},
|
{"gui_tab_layout", P_OFFINT (hex_gui_tab_layout), TYPE_INT},
|
||||||
|
{"gui_tab_closebuttons", P_OFFINT (hex_gui_tab_closebuttons), TYPE_BOOL},
|
||||||
{"gui_tab_middleclose", P_OFFINT (hex_gui_tab_middleclose), TYPE_BOOL},
|
{"gui_tab_middleclose", P_OFFINT (hex_gui_tab_middleclose), TYPE_BOOL},
|
||||||
{"gui_tab_newtofront", P_OFFINT (hex_gui_tab_newtofront), TYPE_INT},
|
{"gui_tab_newtofront", P_OFFINT (hex_gui_tab_newtofront), TYPE_INT},
|
||||||
{"gui_tab_pos", P_OFFINT (hex_gui_tab_pos), TYPE_INT},
|
{"gui_tab_pos", P_OFFINT (hex_gui_tab_pos), TYPE_INT},
|
||||||
@@ -777,6 +778,7 @@ load_default_config(void)
|
|||||||
prefs.hex_gui_tab_chans = 1;
|
prefs.hex_gui_tab_chans = 1;
|
||||||
prefs.hex_gui_tab_dialogs = 1;
|
prefs.hex_gui_tab_dialogs = 1;
|
||||||
prefs.hex_gui_tab_icons = 1;
|
prefs.hex_gui_tab_icons = 1;
|
||||||
|
prefs.hex_gui_tab_closebuttons = 1;
|
||||||
prefs.hex_gui_tab_middleclose = 1;
|
prefs.hex_gui_tab_middleclose = 1;
|
||||||
prefs.hex_gui_tab_server = 1;
|
prefs.hex_gui_tab_server = 1;
|
||||||
prefs.hex_gui_tab_sort = 1;
|
prefs.hex_gui_tab_sort = 1;
|
||||||
|
|||||||
@@ -1221,6 +1221,94 @@ extract_archive (const char *source, GError **error)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static char *
|
||||||
|
path_find_first_file_recursive (const char *root, const char *name, int depth)
|
||||||
|
{
|
||||||
|
GDir *dir;
|
||||||
|
const char *entry;
|
||||||
|
|
||||||
|
if (!root || !name || depth < 0 || !g_file_test (root, G_FILE_TEST_IS_DIR))
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
{
|
||||||
|
char *candidate = g_build_filename (root, name, NULL);
|
||||||
|
if (g_file_test (candidate, G_FILE_TEST_IS_REGULAR))
|
||||||
|
return candidate;
|
||||||
|
g_free (candidate);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (depth == 0)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
dir = g_dir_open (root, 0, NULL);
|
||||||
|
if (!dir)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
while ((entry = g_dir_read_name (dir)) != NULL)
|
||||||
|
{
|
||||||
|
char *child = g_build_filename (root, entry, NULL);
|
||||||
|
char *found = NULL;
|
||||||
|
|
||||||
|
if (g_file_test (child, G_FILE_TEST_IS_DIR))
|
||||||
|
found = path_find_first_file_recursive (child, name, depth - 1);
|
||||||
|
g_free (child);
|
||||||
|
if (found)
|
||||||
|
{
|
||||||
|
g_dir_close (dir);
|
||||||
|
return found;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
g_dir_close (dir);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
gboolean
|
||||||
|
zoitechat_gtk3_theme_service_read_archive_text_file (const char *archive_path, const char *name, char **contents, GError **error)
|
||||||
|
{
|
||||||
|
char *root;
|
||||||
|
char *path;
|
||||||
|
gboolean ok;
|
||||||
|
GError *local_error = NULL;
|
||||||
|
|
||||||
|
if (contents)
|
||||||
|
*contents = NULL;
|
||||||
|
if (!archive_path || !*archive_path)
|
||||||
|
return g_set_error_literal (error, G_FILE_ERROR, G_FILE_ERROR_INVAL, "No archive path provided."), FALSE;
|
||||||
|
if (!name || !*name)
|
||||||
|
return g_set_error_literal (error, G_FILE_ERROR, G_FILE_ERROR_INVAL, "No file name provided."), FALSE;
|
||||||
|
if (!contents)
|
||||||
|
return g_set_error_literal (error, G_FILE_ERROR, G_FILE_ERROR_INVAL, "No output buffer provided."), FALSE;
|
||||||
|
|
||||||
|
root = extract_archive (archive_path, error);
|
||||||
|
if (!root)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
path = path_find_first_file_recursive (root, name, 8);
|
||||||
|
if (!path)
|
||||||
|
{
|
||||||
|
remove_tree (root);
|
||||||
|
g_free (root);
|
||||||
|
return g_set_error_literal (error, G_FILE_ERROR, G_FILE_ERROR_NOENT, "Requested file was not found in archive."), FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
ok = g_file_get_contents (path, contents, NULL, &local_error);
|
||||||
|
g_free (path);
|
||||||
|
remove_tree (root);
|
||||||
|
g_free (root);
|
||||||
|
|
||||||
|
if (!ok)
|
||||||
|
{
|
||||||
|
if (error)
|
||||||
|
*error = local_error;
|
||||||
|
else
|
||||||
|
g_clear_error (&local_error);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
zoitechat_gtk3_theme_service_import (const char *source_path, char **imported_id, GError **error)
|
zoitechat_gtk3_theme_service_import (const char *source_path, char **imported_id, GError **error)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -48,5 +48,6 @@ gboolean zoitechat_gtk3_theme_service_remove_user_theme (const char *theme_id, G
|
|||||||
char *zoitechat_gtk3_theme_pick_css_dir_for_minor (const char *theme_root, int preferred_minor);
|
char *zoitechat_gtk3_theme_pick_css_dir_for_minor (const char *theme_root, int preferred_minor);
|
||||||
char *zoitechat_gtk3_theme_pick_css_dir (const char *theme_root);
|
char *zoitechat_gtk3_theme_pick_css_dir (const char *theme_root);
|
||||||
GPtrArray *zoitechat_gtk3_theme_build_inheritance_chain (const char *theme_root);
|
GPtrArray *zoitechat_gtk3_theme_build_inheritance_chain (const char *theme_root);
|
||||||
|
gboolean zoitechat_gtk3_theme_service_read_archive_text_file (const char *archive_path, const char *name, char **contents, GError **error);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -4070,7 +4070,7 @@ const struct commands xc_cmds[] = {
|
|||||||
{"ME", cmd_me, 0, 0, 1,
|
{"ME", cmd_me, 0, 0, 1,
|
||||||
N_("ME <action>, sends the action to the current channel (actions are written in the 3rd person, like /me jumps)")},
|
N_("ME <action>, sends the action to the current channel (actions are written in the 3rd person, like /me jumps)")},
|
||||||
{"MENU", cmd_menu, 0, 0, 1, "MENU [-eX] [-i<ICONFILE>] [-k<mod>,<key>] [-m] [-pX] [-r<X,group>] [-tX] {ADD|DEL} <path> [command] [unselect command]\n"
|
{"MENU", cmd_menu, 0, 0, 1, "MENU [-eX] [-i<ICONFILE>] [-k<mod>,<key>] [-m] [-pX] [-r<X,group>] [-tX] {ADD|DEL} <path> [command] [unselect command]\n"
|
||||||
" See https://docs.zoitechat.zoite.net/en/latest/en/latest/plugins.html#controlling-the-gui for more details."},
|
" See https://docs.zoitechat.org/en/latest/en/latest/plugins.html#controlling-the-gui for more details."},
|
||||||
{"MHOP", cmd_mhop, 1, 1, 1,
|
{"MHOP", cmd_mhop, 1, 1, 1,
|
||||||
N_("MHOP, Mass hop's all users in the current channel (needs chanop)")},
|
N_("MHOP, Mass hop's all users in the current channel (needs chanop)")},
|
||||||
{"MKICK", cmd_mkick, 1, 1, 1,
|
{"MKICK", cmd_mkick, 1, 1, 1,
|
||||||
@@ -4883,6 +4883,9 @@ xit:
|
|||||||
static int
|
static int
|
||||||
handle_user_input (session *sess, char *text, int history, int nocommand)
|
handle_user_input (session *sess, char *text, int history, int nocommand)
|
||||||
{
|
{
|
||||||
|
char cmd_char = prefs.hex_input_command_char[0];
|
||||||
|
unsigned int i;
|
||||||
|
|
||||||
if (*text == '\0')
|
if (*text == '\0')
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
@@ -4890,50 +4893,22 @@ handle_user_input (session *sess, char *text, int history, int nocommand)
|
|||||||
history_add (&sess->history, text);
|
history_add (&sess->history, text);
|
||||||
|
|
||||||
/* is it NOT a command, just text? */
|
/* is it NOT a command, just text? */
|
||||||
if (nocommand || text[0] != prefs.hex_input_command_char[0])
|
if (nocommand || text[0] != cmd_char)
|
||||||
{
|
{
|
||||||
handle_say (sess, text, TRUE);
|
handle_say (sess, text, TRUE);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check for // */
|
for (i = 1; text[i]; i++)
|
||||||
if (text[0] == prefs.hex_input_command_char[0] && text[1] == prefs.hex_input_command_char[0])
|
|
||||||
{
|
{
|
||||||
handle_say (sess, text + 1, TRUE);
|
if (text[i] == cmd_char)
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if 0 /* Who would remember all this? */
|
|
||||||
if (prefs.hex_input_command_char[0] == '/')
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
const char *unix_dirs [] = {
|
|
||||||
"/bin/",
|
|
||||||
"/boot/",
|
|
||||||
"/dev/",
|
|
||||||
"/etc/",
|
|
||||||
"/home/",
|
|
||||||
"/lib/",
|
|
||||||
"/lost+found/",
|
|
||||||
"/mnt/",
|
|
||||||
"/opt/",
|
|
||||||
"/proc/",
|
|
||||||
"/root/",
|
|
||||||
"/sbin/",
|
|
||||||
"/tmp/",
|
|
||||||
"/usr/",
|
|
||||||
"/var/",
|
|
||||||
"/gnome/",
|
|
||||||
NULL
|
|
||||||
};
|
|
||||||
for (i = 0; unix_dirs[i] != NULL; i++)
|
|
||||||
if (strncmp (text, unix_dirs[i], strlen (unix_dirs[i]))==0)
|
|
||||||
{
|
{
|
||||||
handle_say (sess, text, TRUE);
|
handle_say (sess, text, TRUE);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
if (text[i] == ' ')
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
return handle_command (sess, text + 1, TRUE);
|
return handle_command (sess, text + 1, TRUE);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -265,6 +265,7 @@ struct zoitechatprefs
|
|||||||
int hex_gui_search_pos;
|
int hex_gui_search_pos;
|
||||||
int hex_gui_slist_select;
|
int hex_gui_slist_select;
|
||||||
int hex_gui_tab_layout;
|
int hex_gui_tab_layout;
|
||||||
|
int hex_gui_tab_closebuttons;
|
||||||
int hex_gui_tab_middleclose;
|
int hex_gui_tab_middleclose;
|
||||||
int hex_gui_tab_newtofront;
|
int hex_gui_tab_newtofront;
|
||||||
int hex_gui_tab_pos;
|
int hex_gui_tab_pos;
|
||||||
|
|||||||
@@ -653,7 +653,7 @@ tab_click_cb (GtkWidget *wid, GdkEventButton *event, chan *ch)
|
|||||||
if (event->button == 1 && event->type == GDK_BUTTON_PRESS)
|
if (event->button == 1 && event->type == GDK_BUTTON_PRESS)
|
||||||
{
|
{
|
||||||
close_button = g_object_get_data (G_OBJECT (wid), "tab-close-button");
|
close_button = g_object_get_data (G_OBJECT (wid), "tab-close-button");
|
||||||
if (close_button &&
|
if (prefs.hex_gui_tab_closebuttons && close_button &&
|
||||||
gtk_widget_translate_coordinates (close_button, wid, 0, 0, &close_x, &close_y))
|
gtk_widget_translate_coordinates (close_button, wid, 0, 0, &close_x, &close_y))
|
||||||
{
|
{
|
||||||
gtk_widget_get_allocation (close_button, &close_alloc);
|
gtk_widget_get_allocation (close_button, &close_alloc);
|
||||||
@@ -679,7 +679,7 @@ tab_close_motion_cb (GtkWidget *wid, GdkEventMotion *event, chan *ch)
|
|||||||
gboolean hover = FALSE;
|
gboolean hover = FALSE;
|
||||||
|
|
||||||
close_button = g_object_get_data (G_OBJECT (wid), "tab-close-button");
|
close_button = g_object_get_data (G_OBJECT (wid), "tab-close-button");
|
||||||
if (close_button &&
|
if (prefs.hex_gui_tab_closebuttons && close_button &&
|
||||||
gtk_widget_translate_coordinates (close_button, wid, 0, 0, &close_x, &close_y))
|
gtk_widget_translate_coordinates (close_button, wid, 0, 0, &close_x, &close_y))
|
||||||
{
|
{
|
||||||
gtk_widget_get_allocation (close_button, &close_alloc);
|
gtk_widget_get_allocation (close_button, &close_alloc);
|
||||||
@@ -714,7 +714,7 @@ tab_close_leave_cb (GtkWidget *wid, GdkEventCrossing *event, chan *ch)
|
|||||||
GtkWidget *close_button;
|
GtkWidget *close_button;
|
||||||
|
|
||||||
close_button = g_object_get_data (G_OBJECT (wid), "tab-close-button");
|
close_button = g_object_get_data (G_OBJECT (wid), "tab-close-button");
|
||||||
if (close_button)
|
if (prefs.hex_gui_tab_closebuttons && close_button)
|
||||||
gtk_widget_unset_state_flags (close_button, GTK_STATE_FLAG_PRELIGHT);
|
gtk_widget_unset_state_flags (close_button, GTK_STATE_FLAG_PRELIGHT);
|
||||||
if (gtk_widget_get_window (wid))
|
if (gtk_widget_get_window (wid))
|
||||||
gdk_window_set_cursor (gtk_widget_get_window (wid), NULL);
|
gdk_window_set_cursor (gtk_widget_get_window (wid), NULL);
|
||||||
@@ -744,9 +744,9 @@ cv_tabs_add (chanview *cv, chan *ch, char *name, GtkTreeIter *parent)
|
|||||||
|
|
||||||
but = gtk_toggle_button_new ();
|
but = gtk_toggle_button_new ();
|
||||||
gtk_widget_set_name (but, "zoitechat-tab");
|
gtk_widget_set_name (but, "zoitechat-tab");
|
||||||
gtk_widget_set_size_request (but, -1, 18);
|
gtk_widget_set_size_request (but, -1, 14);
|
||||||
gtk_widget_add_events (but, GDK_POINTER_MOTION_MASK | GDK_LEAVE_NOTIFY_MASK);
|
gtk_widget_add_events (but, GDK_POINTER_MOTION_MASK | GDK_LEAVE_NOTIFY_MASK);
|
||||||
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
|
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
|
||||||
label = gtk_label_new (name);
|
label = gtk_label_new (name);
|
||||||
close_button = gtk_button_new ();
|
close_button = gtk_button_new ();
|
||||||
gtk_style_context_add_class (gtk_widget_get_style_context (close_button), "flat");
|
gtk_style_context_add_class (gtk_widget_get_style_context (close_button), "flat");
|
||||||
@@ -755,8 +755,8 @@ cv_tabs_add (chanview *cv, chan *ch, char *name, GtkTreeIter *parent)
|
|||||||
gtk_button_set_always_show_image (GTK_BUTTON (close_button), TRUE);
|
gtk_button_set_always_show_image (GTK_BUTTON (close_button), TRUE);
|
||||||
gtk_widget_set_can_focus (close_button, FALSE);
|
gtk_widget_set_can_focus (close_button, FALSE);
|
||||||
gtk_container_add (GTK_CONTAINER (close_button), close_icon);
|
gtk_container_add (GTK_CONTAINER (close_button), close_icon);
|
||||||
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
|
gtk_box_pack_start (GTK_BOX (hbox), label, TRUE, TRUE, 0);
|
||||||
gtk_box_pack_start (GTK_BOX (hbox), close_button, FALSE, FALSE, 0);
|
gtk_box_pack_end (GTK_BOX (hbox), close_button, FALSE, FALSE, 0);
|
||||||
gtk_container_add (GTK_CONTAINER (but), hbox);
|
gtk_container_add (GTK_CONTAINER (but), hbox);
|
||||||
g_object_set_data (G_OBJECT (but), "tab-label", label);
|
g_object_set_data (G_OBJECT (but), "tab-label", label);
|
||||||
g_object_set_data (G_OBJECT (but), "tab-close-button", close_button);
|
g_object_set_data (G_OBJECT (but), "tab-close-button", close_button);
|
||||||
@@ -780,6 +780,8 @@ cv_tabs_add (chanview *cv, chan *ch, char *name, GtkTreeIter *parent)
|
|||||||
G_CALLBACK (tab_toggled_cb), ch);
|
G_CALLBACK (tab_toggled_cb), ch);
|
||||||
g_object_set_data (G_OBJECT (but), "u", ch->userdata);
|
g_object_set_data (G_OBJECT (but), "u", ch->userdata);
|
||||||
gtk_widget_show_all (hbox);
|
gtk_widget_show_all (hbox);
|
||||||
|
if (!prefs.hex_gui_tab_closebuttons)
|
||||||
|
gtk_widget_hide (close_button);
|
||||||
|
|
||||||
tab_add_real (cv, but, ch);
|
tab_add_real (cv, but, ch);
|
||||||
|
|
||||||
|
|||||||
@@ -1308,17 +1308,38 @@ maybe_escape_uri (const char *uri)
|
|||||||
return g_strdup (uri);
|
return g_strdup (uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
|
static gchar **
|
||||||
|
fe_open_url_env_sanitized (void)
|
||||||
|
{
|
||||||
|
gchar **env = g_get_environ ();
|
||||||
|
const char *vars[] = {"LD_LIBRARY_PATH", "LD_PRELOAD", "APPDIR", "APPIMAGE", "ARGV0", NULL};
|
||||||
|
int i;
|
||||||
|
|
||||||
|
for (i = 0; vars[i]; i++)
|
||||||
|
{
|
||||||
|
gchar **tmp_env = env;
|
||||||
|
env = g_environ_unsetenv (tmp_env, vars[i]);
|
||||||
|
if (env != tmp_env)
|
||||||
|
g_strfreev (tmp_env);
|
||||||
|
}
|
||||||
|
|
||||||
|
return env;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
fe_open_url_inner (const char *url)
|
fe_open_url_inner (const char *url)
|
||||||
{
|
{
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
char *escaped_url = maybe_escape_uri (url);
|
char *escaped_url = maybe_escape_uri (url);
|
||||||
gboolean opened = g_app_info_launch_default_for_uri (escaped_url, NULL, &error);
|
gboolean opened = FALSE;
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
opened = g_app_info_launch_default_for_uri (escaped_url, NULL, &error);
|
||||||
if (!opened)
|
if (!opened)
|
||||||
{
|
{
|
||||||
g_clear_error (&error);
|
g_clear_error (&error);
|
||||||
#ifdef WIN32
|
|
||||||
gunichar2 *url_utf16 = g_utf8_to_utf16 (escaped_url, -1, NULL, NULL, NULL);
|
gunichar2 *url_utf16 = g_utf8_to_utf16 (escaped_url, -1, NULL, NULL, NULL);
|
||||||
|
|
||||||
if (url_utf16 != NULL)
|
if (url_utf16 != NULL)
|
||||||
@@ -1326,22 +1347,11 @@ fe_open_url_inner (const char *url)
|
|||||||
opened = ((INT_PTR) ShellExecuteW (0, L"open", url_utf16, NULL, NULL, SW_SHOWNORMAL)) > 32;
|
opened = ((INT_PTR) ShellExecuteW (0, L"open", url_utf16, NULL, NULL, SW_SHOWNORMAL)) > 32;
|
||||||
g_free (url_utf16);
|
g_free (url_utf16);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
gchar *xdg_open_argv[] = {(gchar *) "xdg-open", escaped_url, NULL};
|
|
||||||
gchar **spawn_env = NULL;
|
|
||||||
|
|
||||||
spawn_env = g_get_environ ();
|
|
||||||
{
|
|
||||||
gchar **tmp_env = spawn_env;
|
|
||||||
spawn_env = g_environ_unsetenv (tmp_env, "LD_LIBRARY_PATH");
|
|
||||||
if (spawn_env != tmp_env)
|
|
||||||
g_strfreev (tmp_env);
|
|
||||||
|
|
||||||
tmp_env = spawn_env;
|
|
||||||
spawn_env = g_environ_unsetenv (tmp_env, "LD_PRELOAD");
|
|
||||||
if (spawn_env != tmp_env)
|
|
||||||
g_strfreev (tmp_env);
|
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
{
|
||||||
|
gchar *xdg_open_argv[] = {(gchar *) "xdg-open", escaped_url, NULL};
|
||||||
|
gchar **spawn_env = fe_open_url_env_sanitized ();
|
||||||
|
|
||||||
if (g_spawn_async (NULL, xdg_open_argv, spawn_env,
|
if (g_spawn_async (NULL, xdg_open_argv, spawn_env,
|
||||||
G_SPAWN_SEARCH_PATH | G_SPAWN_STDOUT_TO_DEV_NULL | G_SPAWN_STDERR_TO_DEV_NULL,
|
G_SPAWN_SEARCH_PATH | G_SPAWN_STDOUT_TO_DEV_NULL | G_SPAWN_STDERR_TO_DEV_NULL,
|
||||||
@@ -1354,6 +1364,16 @@ fe_open_url_inner (const char *url)
|
|||||||
g_clear_error (&error);
|
g_clear_error (&error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_strfreev (spawn_env);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!opened)
|
||||||
|
{
|
||||||
|
opened = g_app_info_launch_default_for_uri (escaped_url, NULL, &error);
|
||||||
|
if (!opened)
|
||||||
|
g_clear_error (&error);
|
||||||
|
}
|
||||||
|
|
||||||
if (!opened && gtk_show_uri_on_window (NULL, escaped_url, GDK_CURRENT_TIME, &error))
|
if (!opened && gtk_show_uri_on_window (NULL, escaped_url, GDK_CURRENT_TIME, &error))
|
||||||
{
|
{
|
||||||
opened = TRUE;
|
opened = TRUE;
|
||||||
@@ -1362,10 +1382,7 @@ fe_open_url_inner (const char *url)
|
|||||||
{
|
{
|
||||||
g_clear_error (&error);
|
g_clear_error (&error);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_strfreev (spawn_env);
|
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
|
|
||||||
if (!opened)
|
if (!opened)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1717,7 +1717,7 @@ menu_ctcpguiopen (void)
|
|||||||
static void
|
static void
|
||||||
menu_docs (GtkWidget *wid, gpointer none)
|
menu_docs (GtkWidget *wid, gpointer none)
|
||||||
{
|
{
|
||||||
fe_open_url ("https://docs.zoitechat.zoite.net/en/latest/");
|
fe_open_url ("https://docs.zoitechat.org/en/latest/");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*static void
|
/*static void
|
||||||
@@ -1862,7 +1862,7 @@ about_dialog_response (GtkDialog *dialog, int response, gpointer data)
|
|||||||
{
|
{
|
||||||
if (response == GTK_RESPONSE_HELP)
|
if (response == GTK_RESPONSE_HELP)
|
||||||
{
|
{
|
||||||
fe_open_url ("http://zoitechat.zoite.net");
|
fe_open_url ("http://zoitechat.org");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (response == GTK_RESPONSE_APPLY)
|
if (response == GTK_RESPONSE_APPLY)
|
||||||
|
|||||||
@@ -330,6 +330,7 @@ static const setting tabs_settings[] =
|
|||||||
{ST_TOGGLE, N_("Show icons in the channel tree"), P_OFFINTNL(hex_gui_tab_icons), 0, 0, 0},
|
{ST_TOGGLE, N_("Show icons in the channel tree"), P_OFFINTNL(hex_gui_tab_icons), 0, 0, 0},
|
||||||
{ST_TOGGLE, N_("Show dotted lines in the channel tree"), P_OFFINTNL(hex_gui_tab_dots), 0, 0, 0},
|
{ST_TOGGLE, N_("Show dotted lines in the channel tree"), P_OFFINTNL(hex_gui_tab_dots), 0, 0, 0},
|
||||||
{ST_TOGGLE, N_("Scroll mouse-wheel to change tabs"), P_OFFINTNL (hex_gui_tab_scrollchans), 0, 0, 0},
|
{ST_TOGGLE, N_("Scroll mouse-wheel to change tabs"), P_OFFINTNL (hex_gui_tab_scrollchans), 0, 0, 0},
|
||||||
|
{ST_TOGGLE, N_("Show close button on tabs"), P_OFFINTNL(hex_gui_tab_closebuttons), 0, 0, 0},
|
||||||
{ST_TOGGLE, N_("Middle click to close tab"), P_OFFINTNL(hex_gui_tab_middleclose), 0, 0, 0},
|
{ST_TOGGLE, N_("Middle click to close tab"), P_OFFINTNL(hex_gui_tab_middleclose), 0, 0, 0},
|
||||||
{ST_TOGGLE, N_("Smaller text"), P_OFFINTNL(hex_gui_tab_small), 0, 0, 0},
|
{ST_TOGGLE, N_("Smaller text"), P_OFFINTNL(hex_gui_tab_small), 0, 0, 0},
|
||||||
{ST_MENU, N_("Focus new tabs:"), P_OFFINTNL(hex_gui_tab_newtofront), 0, focusnewtabsmenu, 0},
|
{ST_MENU, N_("Focus new tabs:"), P_OFFINTNL(hex_gui_tab_newtofront), 0, focusnewtabsmenu, 0},
|
||||||
@@ -2186,6 +2187,8 @@ setup_apply (struct zoitechatprefs *pr)
|
|||||||
noapply = TRUE;
|
noapply = TRUE;
|
||||||
if (DIFF (hex_gui_tab_icons))
|
if (DIFF (hex_gui_tab_icons))
|
||||||
noapply = TRUE;
|
noapply = TRUE;
|
||||||
|
if (DIFF (hex_gui_tab_closebuttons))
|
||||||
|
noapply = TRUE;
|
||||||
if (DIFF (hex_gui_tab_server))
|
if (DIFF (hex_gui_tab_server))
|
||||||
noapply = TRUE;
|
noapply = TRUE;
|
||||||
if (DIFF (hex_gui_tab_small))
|
if (DIFF (hex_gui_tab_small))
|
||||||
|
|||||||
@@ -188,6 +188,16 @@ zoitechat_gtk3_theme_service_import (const char *source_path, char **imported_id
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gboolean
|
||||||
|
zoitechat_gtk3_theme_service_read_archive_text_file (const char *archive_path, const char *name, char **contents, GError **error)
|
||||||
|
{
|
||||||
|
(void)archive_path;
|
||||||
|
(void)name;
|
||||||
|
(void)contents;
|
||||||
|
(void)error;
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
zoitechat_gtk3_theme_service_remove_user_theme (const char *theme_id, GError **error)
|
zoitechat_gtk3_theme_service_remove_user_theme (const char *theme_id, GError **error)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1038,40 +1038,60 @@ static void
|
|||||||
theme_preferences_import_colors_conf_cb (GtkWidget *button, gpointer user_data)
|
theme_preferences_import_colors_conf_cb (GtkWidget *button, gpointer user_data)
|
||||||
{
|
{
|
||||||
gboolean *color_change_flag = user_data;
|
gboolean *color_change_flag = user_data;
|
||||||
GtkWidget *dialog;
|
GtkFileChooserNative *dialog;
|
||||||
char *path;
|
char *path;
|
||||||
|
char *lower_path;
|
||||||
char *cfg;
|
char *cfg;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
gboolean any_imported = FALSE;
|
gboolean any_imported = FALSE;
|
||||||
ThemeSemanticToken token;
|
ThemeSemanticToken token;
|
||||||
|
GtkFileFilter *filter;
|
||||||
|
|
||||||
dialog = gtk_file_chooser_dialog_new (_("Import colors.conf colors"),
|
dialog = gtk_file_chooser_native_new (_("Import colors.conf colors"),
|
||||||
GTK_WINDOW (gtk_widget_get_toplevel (button)),
|
GTK_WINDOW (gtk_widget_get_toplevel (button)),
|
||||||
GTK_FILE_CHOOSER_ACTION_OPEN,
|
GTK_FILE_CHOOSER_ACTION_OPEN,
|
||||||
_("_Cancel"), GTK_RESPONSE_CANCEL,
|
_("_Import"),
|
||||||
_("_Import"), GTK_RESPONSE_ACCEPT,
|
_("_Cancel"));
|
||||||
NULL);
|
|
||||||
gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (dialog), TRUE);
|
|
||||||
gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (dialog), FALSE);
|
gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (dialog), FALSE);
|
||||||
|
filter = gtk_file_filter_new ();
|
||||||
|
gtk_file_filter_set_name (filter, _("Theme colors (*.conf, *.hct)"));
|
||||||
|
gtk_file_filter_add_pattern (filter, "*.conf");
|
||||||
|
gtk_file_filter_add_pattern (filter, "*.hct");
|
||||||
|
gtk_file_filter_add_pattern (filter, "*.HCT");
|
||||||
|
gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dialog), filter);
|
||||||
|
|
||||||
if (gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_ACCEPT)
|
if (gtk_native_dialog_run (GTK_NATIVE_DIALOG (dialog)) != GTK_RESPONSE_ACCEPT)
|
||||||
{
|
{
|
||||||
gtk_widget_destroy (dialog);
|
g_object_unref (dialog);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
path = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
|
path = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
|
||||||
gtk_widget_destroy (dialog);
|
g_object_unref (dialog);
|
||||||
if (!path)
|
if (!path)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!g_file_get_contents (path, &cfg, NULL, &error))
|
lower_path = g_ascii_strdown (path, -1);
|
||||||
|
if (g_str_has_suffix (lower_path, ".hct"))
|
||||||
{
|
{
|
||||||
theme_preferences_show_import_error (button, _("Failed to read colors.conf file."));
|
if (!zoitechat_gtk3_theme_service_read_archive_text_file (path, "colors.conf", &cfg, &error))
|
||||||
|
{
|
||||||
|
theme_preferences_show_import_error (button, _("Failed to read colors.conf from .hct file."));
|
||||||
g_clear_error (&error);
|
g_clear_error (&error);
|
||||||
|
g_free (lower_path);
|
||||||
g_free (path);
|
g_free (path);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else if (!g_file_get_contents (path, &cfg, NULL, &error))
|
||||||
|
{
|
||||||
|
theme_preferences_show_import_error (button, _("Failed to read colors.conf file."));
|
||||||
|
g_clear_error (&error);
|
||||||
|
g_free (lower_path);
|
||||||
|
g_free (path);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
g_free (lower_path);
|
||||||
|
|
||||||
for (token = THEME_TOKEN_MIRC_0; token < THEME_TOKEN_COUNT; token++)
|
for (token = THEME_TOKEN_MIRC_0; token < THEME_TOKEN_COUNT; token++)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -550,9 +550,9 @@ fe_userlist_insert (session *sess, struct User *newuser, gboolean sel)
|
|||||||
prefix_escaped = g_markup_escape_text (prefix_text, -1);
|
prefix_escaped = g_markup_escape_text (prefix_text, -1);
|
||||||
prefix_color = userlist_prefix_color (newuser->prefix[0]);
|
prefix_color = userlist_prefix_color (newuser->prefix[0]);
|
||||||
if (prefix_color)
|
if (prefix_color)
|
||||||
prefix = g_strdup_printf ("<b><span foreground=\"%s\">%s</span></b>", prefix_color, prefix_escaped);
|
prefix = g_strdup_printf ("<span foreground=\"%s\">%s</span>", prefix_color, prefix_escaped);
|
||||||
else
|
else
|
||||||
prefix = g_strdup_printf ("<b>%s</b>", prefix_escaped);
|
prefix = g_strdup (prefix_escaped);
|
||||||
g_free (prefix_escaped);
|
g_free (prefix_escaped);
|
||||||
}
|
}
|
||||||
pix = NULL;
|
pix = NULL;
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ AppName=ZoiteChat
|
|||||||
AppVersion={#APPVER}
|
AppVersion={#APPVER}
|
||||||
AppVerName=ZoiteChat {#APPVER}
|
AppVerName=ZoiteChat {#APPVER}
|
||||||
AppPublisher=ZoiteChat
|
AppPublisher=ZoiteChat
|
||||||
AppPublisherURL=http://zoitechat.zoite.net
|
AppPublisherURL=http://zoitechat.org
|
||||||
AppCopyright=Copyright (C) 1998-2010 Peter Zelezny
|
AppCopyright=Copyright (C) 1998-2010 Peter Zelezny
|
||||||
AppSupportURL=https://github.com/zoitechat/zoitechat/issues
|
AppSupportURL=https://github.com/zoitechat/zoitechat/issues
|
||||||
AppUpdatesURL=http://zoitechat.zoite.net/downloads.html
|
AppUpdatesURL=http://zoitechat.org/downloads.html
|
||||||
LicenseFile=share\doc\zoitechat\COPYING
|
LicenseFile=share\doc\zoitechat\COPYING
|
||||||
UninstallDisplayIcon={app}\zoitechat.exe
|
UninstallDisplayIcon={app}\zoitechat.exe
|
||||||
UninstallDisplayName=ZoiteChat
|
UninstallDisplayName=ZoiteChat
|
||||||
@@ -61,6 +61,9 @@ Name: "langs"; Description: "Language Interfaces"; Types: custom; Flags: disable
|
|||||||
Name: "langs\lua"; Description: "Lua"; Types: normal custom; Flags: disablenouninstallwarning
|
Name: "langs\lua"; Description: "Lua"; Types: normal custom; Flags: disablenouninstallwarning
|
||||||
Name: "langs\perl"; Description: "Perl (requires Perl 5.42)"; Types: custom; Flags: disablenouninstallwarning
|
Name: "langs\perl"; Description: "Perl (requires Perl 5.42)"; Types: custom; Flags: disablenouninstallwarning
|
||||||
Name: "langs\python"; Description: "Python (requires Python 3.14.3)"; Types: custom; Flags: disablenouninstallwarning
|
Name: "langs\python"; Description: "Python (requires Python 3.14.3)"; Types: custom; Flags: disablenouninstallwarning
|
||||||
|
Name: "themes"; Description: "GTK3 Themes"; Types: normal minimal custom; Flags: disablenouninstallwarning
|
||||||
|
Name: "themes\windows10"; Description: "Windows 10"; Types: normal minimal custom; Flags: disablenouninstallwarning
|
||||||
|
Name: "themes\windows10dark"; Description: "Windows 10 Dark"; Types: normal minimal custom; Flags: disablenouninstallwarning
|
||||||
Name: "deps"; Description: "Dependencies"; Types: custom; Flags: disablenouninstallwarning
|
Name: "deps"; Description: "Dependencies"; Types: custom; Flags: disablenouninstallwarning
|
||||||
Name: "deps\vcredist2015"; Description: "Visual C++ Redistributable 2015"; Types: normal minimal custom; Flags: disablenouninstallwarning
|
Name: "deps\vcredist2015"; Description: "Visual C++ Redistributable 2015"; Types: normal minimal custom; Flags: disablenouninstallwarning
|
||||||
|
|
||||||
@@ -88,6 +91,11 @@ Filename: "{tmp}\perl.msi"; StatusMsg: "Installing Perl"; Components: langs\perl
|
|||||||
Filename: "{tmp}\python.msi"; StatusMsg: "Installing Python"; Components: langs\python; Flags: shellexec skipifdoesntexist; Tasks: not portable
|
Filename: "{tmp}\python.msi"; StatusMsg: "Installing Python"; Components: langs\python; Flags: shellexec skipifdoesntexist; Tasks: not portable
|
||||||
Filename: "{tmp}\python.exe"; Parameters: "InstallAllUsers=1 PrependPath=1"; StatusMsg: "Installing Python"; Components: langs\python; Flags: shellexec skipifdoesntexist; Tasks: not portable
|
Filename: "{tmp}\python.exe"; Parameters: "InstallAllUsers=1 PrependPath=1"; StatusMsg: "Installing Python"; Components: langs\python; Flags: shellexec skipifdoesntexist; Tasks: not portable
|
||||||
Filename: "{tmp}\spelling-dicts.exe"; Parameters: "/verysilent"; StatusMsg: "Installing Spelling Dictionaries"; Components: spell; Flags: skipifdoesntexist; Tasks: not portable
|
Filename: "{tmp}\spelling-dicts.exe"; Parameters: "/verysilent"; StatusMsg: "Installing Spelling Dictionaries"; Components: spell; Flags: skipifdoesntexist; Tasks: not portable
|
||||||
|
Filename: "{sys}\WindowsPowerShell\v1.0\powershell.exe"; Parameters: "-NoProfile -ExecutionPolicy Bypass -Command ""Expand-Archive -LiteralPath '{tmp}\Windows-10-3.2.1.zip' -DestinationPath '{userappdata}\ZoiteChat\gtk3-themes' -Force"""; StatusMsg: "Installing GTK3 Theme: Windows 10"; Components: themes\windows10; Flags: runhidden waituntilterminated skipifdoesntexist
|
||||||
|
Filename: "{sys}\WindowsPowerShell\v1.0\powershell.exe"; Parameters: "-NoProfile -ExecutionPolicy Bypass -Command ""Expand-Archive -LiteralPath '{tmp}\Windows-10-Dark-3.2.1-dark.zip' -DestinationPath '{userappdata}\ZoiteChat\gtk3-themes' -Force"""; StatusMsg: "Installing GTK3 Theme: Windows 10 Dark"; Components: themes\windows10dark; Flags: runhidden waituntilterminated skipifdoesntexist
|
||||||
|
|
||||||
|
[Dirs]
|
||||||
|
Name: "{userappdata}\ZoiteChat\gtk3-themes"; Components: themes
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: "portable-mode"; DestDir: "{app}"; Tasks: portable
|
Source: "portable-mode"; DestDir: "{app}"; Tasks: portable
|
||||||
@@ -196,6 +204,10 @@ Name: "{commonappdata}\Microsoft\Internet Explorer\Quick Launch\ZoiteChat"; File
|
|||||||
[Messages]
|
[Messages]
|
||||||
BeveledLabel= {#APPNAM}
|
BeveledLabel= {#APPNAM}
|
||||||
|
|
||||||
|
[UninstallDelete]
|
||||||
|
Type: filesandordirs; Name: "{userappdata}\ZoiteChat\gtk3-themes\Windows-10-3.2.1"; Components: themes\windows10
|
||||||
|
Type: filesandordirs; Name: "{userappdata}\ZoiteChat\gtk3-themes\Windows-10-Dark-3.2.1-dark"; Components: themes\windows10dark
|
||||||
|
|
||||||
[Code]
|
[Code]
|
||||||
#ifndef USE_INNO_DOWNLOAD_PLUGIN
|
#ifndef USE_INNO_DOWNLOAD_PLUGIN
|
||||||
var
|
var
|
||||||
@@ -336,6 +348,12 @@ begin
|
|||||||
begin
|
begin
|
||||||
idpClearFiles;
|
idpClearFiles;
|
||||||
|
|
||||||
|
if IsComponentSelected('themes\windows10') then
|
||||||
|
idpAddFile('https://dl.zoitechat.zoite.net/themes/GTK3Themes/Windows-10-3.2.1.zip', ExpandConstant('{tmp}\Windows-10-3.2.1.zip'));
|
||||||
|
|
||||||
|
if IsComponentSelected('themes\windows10dark') then
|
||||||
|
idpAddFile('https://dl.zoitechat.zoite.net/themes/GTK3Themes/Windows-10-Dark-3.2.1-dark.zip', ExpandConstant('{tmp}\Windows-10-Dark-3.2.1-dark.zip'));
|
||||||
|
|
||||||
if not IsTaskSelected('portable') then
|
if not IsTaskSelected('portable') then
|
||||||
begin
|
begin
|
||||||
|
|
||||||
@@ -389,6 +407,21 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
if CurPageID = wpReady then
|
if CurPageID = wpReady then
|
||||||
|
begin
|
||||||
|
if IsComponentSelected('themes\windows10') and not FileExists(ExpandConstant('{tmp}\Windows-10-3.2.1.zip')) then
|
||||||
|
begin
|
||||||
|
MsgBox('Windows 10 GTK3 theme could not be downloaded. Please retry setup and rerun setup.', mbError, MB_OK);
|
||||||
|
Result := False;
|
||||||
|
Exit;
|
||||||
|
end;
|
||||||
|
|
||||||
|
if IsComponentSelected('themes\windows10dark') and not FileExists(ExpandConstant('{tmp}\Windows-10-Dark-3.2.1-dark.zip')) then
|
||||||
|
begin
|
||||||
|
MsgBox('Windows 10 Dark GTK3 theme could not be downloaded. Please retry setup and rerun setup.', mbError, MB_OK);
|
||||||
|
Result := False;
|
||||||
|
Exit;
|
||||||
|
end;
|
||||||
|
|
||||||
if IsComponentSelected('deps\vcredist2015') and not CheckVCInstall() and not FileExists(ExpandConstant('{tmp}\vcredist.exe')) then
|
if IsComponentSelected('deps\vcredist2015') and not CheckVCInstall() and not FileExists(ExpandConstant('{tmp}\vcredist.exe')) then
|
||||||
begin
|
begin
|
||||||
MsgBox('Visual C++ Redistributable could not be downloaded. Please retry setup or install it manually and rerun setup.', mbError, MB_OK);
|
MsgBox('Visual C++ Redistributable could not be downloaded. Please retry setup or install it manually and rerun setup.', mbError, MB_OK);
|
||||||
@@ -396,6 +429,7 @@ begin
|
|||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// these are required for x86->x64 or reverse upgrades
|
// these are required for x86->x64 or reverse upgrades
|
||||||
|
|||||||
Reference in New Issue
Block a user