1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

4798 Commits

Author SHA1 Message Date
Ailin Nemui
60cb9451b3 keep own ops status on /upgrade 2021-12-13 15:32:30 +01:00
Ailin Nemui
9579105748 up abi 2021-11-17 11:00:16 +01:00
Andrej Kacian
9b79749f6c Improve handling of GLib log messages
This patch introduces setting "glib_log_domains", which is
a space-separated list of log domain names, optionally prefixed
with a '-'. The list is parsed from left to right to determine
whether or not user wants to see message from a particular log
domain. Keywords 'all' or '*' are allowed as well.
Examples: "GLib-GIO", "all -GLib-GIO", "-*"

This patch also changes the default format for displaying GLib log
messages to include the log domain.
2021-11-17 10:59:39 +01:00
Ailin Nemui
c5dc3fc2a0 fix stuck meta on dcc chat 2021-11-09 21:18:40 +01:00
ailin-nemui
6db881d8ef
Merge pull request #44 from ailin-nemui/lag
fix max_lag disconnect
2021-10-11 22:08:14 +02:00
Ailin Nemui
bec9e04714 up abi 2021-10-10 13:15:49 +02:00
Ailin Nemui
b22588a9ad simplify duplicate code in outgoing modify 2021-10-10 13:15:49 +02:00
Ailin Nemui
db200f266b remove newline from "server outgoing modify" 2021-10-10 11:03:00 +02:00
Ailin Nemui
b878c7f079 fix max_lag disconnect 2021-10-09 21:26:01 +02:00
Ailin Nemui
2d9c27d617 fix wrong argument type in printformat 2021-09-28 13:27:56 +02:00
Ailin Nemui
4943cc5e58 fix /server modify port argument order 2021-09-27 22:20:15 +02:00
Ailin Nemui
bcea697e7c fix pedantic error in MSGLEVEL enum
reported by horgh
2021-09-19 20:59:14 +02:00
Ailin Nemui
949dc06af3 correctly store updated message levels e.g. from /hilight 2021-09-15 17:48:27 +02:00
Ailin Nemui
521c0d4e6f remove oragono.io/maxline-2 2021-09-08 11:57:25 +02:00
Ailin Nemui
2003446e98 continue head 2021-09-08 11:54:44 +02:00
Ailin Nemui
2cdcf86174 branding 2021-09-06 23:44:23 +02:00
Ailin Nemui
9e12890110 add a "server outgoing modify" signal to intercept outgoing messages 2021-09-03 20:04:29 +02:00
Ailin Nemui
37eb6c351c fix queue bug 2021-09-03 19:44:29 +02:00
ailin-nemui
fe09dccdcb
Merge pull request #21 from ailin-nemui/sasl-plain-nonull
only enable sasl plain when username and password are set
2021-09-03 18:00:31 +02:00
ailin-nemui
ce1eed94d1
Merge pull request #26 from ailin-nemui/queues
send channel sync requests "later" in the command queue
2021-09-03 18:00:12 +02:00
ailin-nemui
03217a487e
Merge pull request #29 from ailin-nemui/hilight-color
actually remember the hilight -color
2021-09-03 11:41:15 +02:00
Jari Matilainen
cf90384023
Allow -tls_ca{file,path} '' to unset an argument 2021-09-02 23:10:37 +02:00
Ailin Nemui
37237f377e actually remember the hilight -color 2021-09-02 22:39:14 +02:00
Ailin Nemui
2de9c25376 up abi 2021-09-02 19:58:00 +02:00
Ailin Nemui
157913bd98 do not chase during netsplit 2021-09-02 19:58:00 +02:00
Ailin Nemui
240b79aa26 send channel sync requests "later" in the command queue 2021-09-02 19:58:00 +02:00
Ailin Nemui
1a6d74ac26 fix reading of starttls = "no" in config, attempt 2 2021-08-31 21:54:41 +02:00
Ailin Nemui
6c47fcf10d Revert "Merge pull request #19 from ailin-nemui/starttls-no"
This reverts commit 3324c5da89, reversing
changes made to d3115f3855.
2021-08-31 21:49:29 +02:00
Ailin Nemui
21701a1299 do not unconditionally enable tls on /connect -! 2021-08-31 17:30:28 +02:00
ailin-nemui
b7b91ed2bf
Merge pull request #22 from ailin-nemui/ports
Something with server add
2021-08-31 15:30:48 +02:00
ailin-nemui
3324c5da89
Merge pull request #19 from ailin-nemui/starttls-no
fix reading of starttls = "no" in config
2021-08-31 15:17:03 +02:00
Ailin Nemui
215cf08828 fuzz server ssl init 2021-08-31 14:54:08 +02:00
Ailin Nemui
e10e1c2da7 fix reading of old config ssl_verify key 2021-08-31 14:54:08 +02:00
Ailin Nemui
92ade2f591 fuzz server ssl init 2021-08-31 14:53:53 +02:00
Ailin Nemui
6710b35736 fix reading of starttls = "no" in config 2021-08-31 14:53:53 +02:00
Ailin Nemui
63a5b80ba7 only enable sasl plain when username and password are set
may fix #1325
2021-08-31 14:53:31 +02:00
Ailin Nemui
4b506fc45c remove duplicated servers on load 2021-08-31 14:49:56 +02:00
Ailin Nemui
c4fd417cce up abi 2021-08-31 12:34:01 +02:00
Ailin Nemui
49903f4185 mess with server ports 2021-08-31 12:34:01 +02:00
Ailin Nemui
b3f74fe0ab up abi 2021-08-15 15:58:10 +02:00
Ailin Nemui
6a33139939 compat for glib 2.55 2021-08-15 15:57:34 +02:00
Ailin Nemui
fdd61f5898 add a log_server_time setting 2021-08-15 15:57:34 +02:00
Ailin Nemui
5a8b23cab0 up abi 2021-08-13 17:38:57 +02:00
Ailin Nemui
ed23d89a5a fix recursive crash in Perl scripts 2021-08-13 17:32:09 +02:00
Ailin Nemui
425178e793 add GString to Perl 2021-08-13 17:31:49 +02:00
Ailin Nemui
1602b506a6 add LINE_INFO_META_REC to Perl 2021-08-13 17:31:14 +02:00
Ailin Nemui
6a52b5ac07 up abi 2021-08-13 00:44:33 +02:00
Ailin Nemui
5953b675b9 store the hilight result in the meta table and apply it during the "gui render line text" signal 2021-08-12 23:53:44 +02:00
Ailin Nemui
8d314eadf1 move TEXT_BUFFER_META_REC -> LINE_INFO_META_REC 2021-08-12 23:51:18 +02:00
Ailin Nemui
9677b07488 fix wrong server_time in $line->get_meta 2021-08-12 23:49:40 +02:00
Ailin Nemui
7d13cfba07 add a meta table to all lines 2021-08-12 23:48:37 +02:00
Ailin Nemui
554a8556d2 fix use of wrong "equal" function in meta hash tables 2021-08-12 23:46:31 +02:00
ailin-nemui
7452ec34ad
Merge pull request #12 from ailin-nemui/ticho/singlenet
can do /server add -matrix -network my_matrix_network
2021-08-11 15:59:10 +02:00
Jari Matilainen
3aeebd310d Update fe-common-core.c 2021-08-10 23:45:22 +02:00
Jari Matilainen
d2062e34cf Update fe-common-core.c 2021-08-10 23:45:22 +02:00
ailin-nemui
53b2e0775a
Merge pull request #8 from ailin-nemui/ffrogman
Fix cursor getting stuck for auto completions that changes case
2021-08-10 22:36:03 +02:00
Ailin Nemui
6591c94635 add a limit to showing /NAMES on join
only show the counts if too many nicks
2021-08-10 22:12:26 +02:00
Ailin Nemui
f147589e52 can do /server add -matrix -network my_matrix_network
By Andrej Kacian
2021-07-28 11:06:58 +02:00
ffrogman
700ec4c472 Fix cursor getting stuck for auto completions that exclusively change the case of letters 2021-05-25 23:37:36 -04:00
ailin-nemui
58c9aecf86
Merge pull request #1315 from pekdon/otr_g_strndup
Use g_strndup, strndup is not available on old platforms
2021-05-17 14:43:31 +02:00
ailin-nemui
5df2d6e300
Merge pull request #1312 from ailin-nemui/nocap
slightly improve nocap detection
2021-05-17 10:54:21 +02:00
Claes Nästén
a3248d43ec Use g_strndup, strndup is not available on old platforms
strndup is not available on Solaris 10, to ensure building is ok use
glib function.
2021-05-15 18:10:02 +02:00
Ailin Nemui
af489b2d5f fix build with meson 0.58.0 2021-05-10 13:07:22 +02:00
Ailin Nemui
f5303c153c slightly improve nocap detection
Fixes #1311
2021-05-10 08:34:19 +02:00
Ailin Nemui
2122daa3f3 Run clang-format 2021-04-30 10:27:47 +02:00
nia
4fa72e857c Fix build on operating systems with X/Open Curses, version 2
Add the missing arguments to tparm. X/Open Curses specifies
tparm takes a fixed number of 10 arguments, while ncurses
has implemented it as a varargs function. tiparm is a standardized
version of varargs tparm, support in both NetBSD libcurses and
ncurses, but not by older versions of Solaris.

This is an alternate fix to the one proposed in irssi/irssi/#1305
that should keep compatibility with older versions of Solaris by
avoiding tiparm.
2021-04-26 10:31:34 +02:00
Ailin Nemui
3dbfac5699 fuzz test 2021-04-20 09:25:08 +02:00
ailin-nemui
4432b0bf0d
Merge pull request #1170 from ailin-nemui/starttls
use starttls / enable tls_verify
2021-04-18 12:01:14 +02:00
ailin-nemui
afdd9f8f05
Merge pull request #1259 from ailin-nemui/beep-ignore-opts
do not beep on hidden lines with /set beep_msg_level ... -hidden
2021-04-18 12:01:03 +02:00
ailin-nemui
f93879baff
Merge pull request #1260 from ailin-nemui/nohilight
add /IGNORE ... NOHILIGHT to ignore some hilights
2021-04-18 12:00:52 +02:00
Ailin Nemui
90003a2bf6 up abi 2021-04-18 11:38:20 +02:00
ailin-nemui
fa913091bd
Merge pull request #1297 from ailin-nemui/memory
missing strdup on netsplits w/o chan
2021-04-11 13:24:42 +02:00
ailin-nemui
3a54c85b15
Merge pull request #1295 from ailin-nemui/module-autoload-one
autoload modules from default setting
2021-04-11 13:24:21 +02:00
Ailin Nemui
645d80d3b8 Merge tag '1.2.3' into integrate/1.2.3 2021-04-09 19:03:58 +02:00
Ailin Nemui
8a5d5d384e add nocap flag 2021-04-08 22:38:44 +02:00
Ailin Nemui
61237ee6c0 reorder code 2021-04-08 21:55:35 +02:00
Ailin Nemui
085c08e65c use enum 2021-04-08 21:55:35 +02:00
Ailin Nemui
244a8c72b4 verify tls connection 2021-04-08 21:55:35 +02:00
Ailin Nemui
2a0f1d7636 fix fe-fuzz 2021-04-08 21:55:35 +02:00
Ailin Nemui
f2795abcc5 actually use the tls settings on upgrade, and disconnect gracefully 2021-04-08 21:55:35 +02:00
Ailin Nemui
db2fed0d38 fix reconnect to use tls settings 2021-04-08 21:55:35 +02:00
Ailin Nemui
9668217509 changes suggested by ahf 2021-04-08 21:55:35 +02:00
ailin-nemui
51508ff1d3 use starttls 2021-04-08 21:55:35 +02:00
Ailin Nemui
308400154b fix crash on tls error 2021-04-07 22:18:34 +02:00
Ailin Nemui
46493c051b add /IGNORE ... NOHILIGHT to ignore some hilights 2021-04-07 14:31:36 +02:00
Ailin Nemui
1e54b92220 fix crash on /connect -tls
fixes #1239
2021-04-03 22:38:00 +02:00
Ailin Nemui
efd705ba59 fix crash on /connect /dev/null 2021-04-03 21:54:53 +02:00
Ailin Nemui
b4ab8c1ada missing strdup on netsplits w/o chan 2021-04-03 21:32:04 +02:00
Ailin Nemui
d20d2753da autoload modules from default setting 2021-04-03 21:25:18 +02:00
ihsinme
7a3a383772
Update sasl.c 2021-04-02 14:21:06 +03:00
Ailin Nemui
80926476fc do not beep on hidden lines with /set beep_msg_level ... -hidden 2021-04-01 22:13:53 +02:00
Ailin Nemui
4c25bef29c don't bother if we don't have a nick
Credit to OSS-Fuzz
2021-04-01 21:53:30 +02:00
ailin-nemui
cdb30695f9
Merge pull request #1291 from ailin-nemui/nobool
remove unused bool include
2021-04-01 21:28:16 +02:00
ailin-nemui
a731525012
Merge pull request #1290 from mistydemeo/check_for_term_h
Add a check for term.h
2021-04-01 21:28:04 +02:00
ailin-nemui
437accdfa6
Merge pull request #1250 from ailin-nemui/whox
better account tracking
2021-04-01 21:27:51 +02:00
ailin-nemui
9362c59cd2
Merge pull request #1283 from ailin-nemui/freenode
fail redirects on EFNet/freenode 263
2021-04-01 21:27:29 +02:00
ailin-nemui
eeccfc3db1
Merge pull request #1284 from ailin-nemui/printformats
printformats
2021-04-01 21:27:12 +02:00
ailin-nemui
cd866c548a
Merge pull request #1286 from ailin-nemui/perl_formats
add format_string_expand and format_string_unexpand methods to Perl
2021-04-01 21:24:18 +02:00
Ailin Nemui
8b597cb753 fix clang formatting 2021-04-01 21:21:06 +02:00
Ailin Nemui
c5cc58d34e remove unused include 2021-03-27 21:17:15 +01:00
Misty De Meo
0b82f14151
Add a check for term.h
If term.h is present, use that instead of defining prototypes for the
terminfo functions in terminfo-core.c. This causes problems on certain
platforms (e.g. Apple aarch64) due to the functions being prototyped as
non-variadic but called as variadic. If term.h isn't found, it falls
back to the old behaviour.

Fixes #1238.
2021-03-27 10:54:30 -07:00
jesopo
a0142ce384 add IRC_CHATNET_REC->usermode to perl chatnet hashes 2021-03-17 20:32:16 +00:00
Ailin Nemui
030da3ec9c add format_string_expand and format_string_unexpand methods to Perl 2021-03-14 19:00:22 +01:00
Ailin Nemui
25ad30d5e4 add format_string_expand to Perl 2021-03-14 19:00:22 +01:00
Ailin Nemui
9ce3420440 printformats 2021-03-12 23:17:53 +01:00
Ailin Nemui
f5339edbbc fail redirects on freenode 263 2021-03-12 21:16:43 +01:00
ailin-nemui
5223ff1bcc
Merge pull request #1280 from ailin-nemui/op_public
fix level uninitialised
2021-03-06 18:37:34 +01:00
Ailin Nemui
4e1aad6679 fix assertion failure when the line does not have text (yet) 2021-03-05 20:28:10 +01:00
Ailin Nemui
53c91623c5 fix level uninitialised
Credit to OSS-Fuzz
2021-03-03 17:39:44 +01:00
Ailin Nemui
b957d3ad4b add constants for WHOX queries 2021-02-27 21:30:29 +01:00
Ailin Nemui
18ee6bb6f9 queue the who command on join 2021-02-27 21:05:30 +01:00
Ailin Nemui
6eeec6a112 fix double free 2021-02-27 21:04:02 +01:00
Ailin Nemui
04b44a8f8d Revert "queue the who command on join"
This reverts commit 79be775f2b.
2021-02-27 21:02:48 +01:00
Ailin Nemui
4c069f5c8f stop parsing on lone tag escape
It's C

Credit to OSS-Fuzz
2021-02-27 18:31:00 +01:00
Ailin Nemui
a8144cd98f skip parsing empty tags
Credit to OSS-Fuzz
2021-02-26 20:25:48 +01:00
Ailin Nemui
3a929898e2 up abi 2021-02-26 14:28:51 +01:00
Ailin Nemui
79be775f2b queue the who command on join 2021-02-26 14:28:37 +01:00
Ailin Nemui
b11f973345 fix off by one 2021-02-26 14:19:33 +01:00
Ailin Nemui
09c17c3302 maybe this matches the command now 2021-02-26 14:19:33 +01:00
Ailin Nemui
a0a9a82673 fix missing output 2021-02-26 14:19:33 +01:00
Ailin Nemui
04089d5866 purge whos from queue 2021-02-26 14:19:33 +01:00
Ailin Nemui
04035ab7ca Track the account queries which are in progress 2021-02-26 14:19:33 +01:00
Ailin Nemui
dc87199100 better account tracking 2021-02-26 14:19:33 +01:00
Ailin Nemui
3ea25fb704 up abi 2021-02-25 10:59:19 +01:00
Ailin Nemui
322df0d2c8 replace refstring macro implementation with C functions 2021-02-25 10:50:51 +01:00
ailin-nemui
d535a79730 implement server-time 2021-02-25 10:41:05 +01:00
ailin-nemui
33d8cc3254 GLib < 2.56 compat code for g_date_time_new_from_iso8601 2021-02-25 10:41:05 +01:00
Ailin Nemui
ccf59868e2 update deprecated GLib symbol
g_main_quit -> g_main_loop_quit
2021-02-24 21:57:11 +01:00
Jari Matilainen
a426d669dc
Update dcc-get.c 2021-02-18 14:47:07 +01:00
ailin-nemui
0dd60755f0
Merge pull request #1269 from ihsinme/patch-1
fix invalid unsigned arithmetic.
2021-02-10 10:59:39 +01:00
ihsinme
23e4bfa1db
Update write-buffer.c 2021-02-08 12:17:09 +03:00
ihsinme
39ed1ba055
Update gui-entry.c 2021-02-05 22:48:43 +03:00
ihsinme
5e88c107f1
Update gui-entry.c 2021-02-05 18:36:15 +03:00
ihsinme
33bfd88d9e
Update gui-entry.c 2021-02-05 18:34:54 +03:00
Ailin Nemui
e7f3946583 configure automake with nostdinc
the current directoryh won't be added to the compiler's -I path
2021-02-02 00:24:34 +01:00
Ailin Nemui
feb83b2058 two more wrong prefixes 2021-01-30 23:30:59 +01:00
ailin-nemui
db9aa817d5
Merge pull request #1246 from ailin-nemui/wrong-prefixes
correct wrong function prefixes

Module authors will have to adapt these changes:

    [M] 'constant I_INPUT_READ'    {G_INPUT_READ}
    [M] 'constant I_INPUT_WRITE'    {G_INPUT_WRITE}
    [M] 'function int i_input_add(GIOChannel*, int, GInputFunction, void*)'    {g_input_add}
    [M] 'function int i_input_add_full(GIOChannel*, int, int, GInputFunction, void*)'    {g_input_add_full}
    [M] 'function int i_input_add_poll(int, int, int, GInputFunction, void*)'    {g_input_add_poll}
    [M] 'function GIOChannel* i_io_channel_new(int)'    {g_io_channel_new}
    [M] 'function int i_io_channel_read_block(GIOChannel*, void*, int)'    {g_io_channel_read_block}
    [M] 'function int i_io_channel_write_block(GIOChannel*, void*, int)'    {g_io_channel_write_block}
    [M] 'function int i_istr_cmp(gconstpointer, gconstpointer)'    {g_istr_cmp}
    [M] 'function int i_istr_equal(gconstpointer, gconstpointer)'    {g_istr_equal}
    [M] 'function guint i_istr_hash(gconstpointer)'    {g_istr_hash}
    [M] 'function void i_log_func(const char*, GLogLevelFlags, const char*)'    {glog_func}
    [M] 'function GSList* i_slist_delete_string(GSList*, const char*, GDestroyNotify)'    {gslist_delete_string}
    [M] 'function GSList* i_slist_find_icase_string(GSList*, const char*)'    {gslist_find_icase_string}
    [M] 'function GSList* i_slist_find_string(GSList*, const char*)'    {gslist_find_string}
    [M] 'function void* i_slist_foreach_find(GSList*, FOREACH_FIND_FUNC, void*)'    {gslist_foreach_find}
    [M] 'function void i_slist_free_full(GSList*, GDestroyNotify)'    {gslist_free_full}
    [M] 'function GSList* i_slist_remove_string(GSList*, const char*)'    {gslist_remove_string}
    [M] 'function char* i_slist_to_string(GSList*, const char*)'    {gslist_to_string}
2021-01-30 21:09:26 +01:00
ailin-nemui
ea5121da3b
Merge pull request #1252 from ailin-nemui/build-fixes-test-actions
fix autotools build and package the meson.build files
2021-01-11 11:15:57 +01:00
ailin-nemui
24999a066c
Merge pull request #1243 from ailin-nemui/config-setup-comments
ignore comments and abort irssi on servers and channels config errors
2021-01-08 23:12:31 +01:00
Ailin Nemui
4db0535b32 undraft setname 2021-01-07 18:31:41 +01:00
Ailin Nemui
16b1d58703 Abort Irssi on wrong entries in the channels or servers config 2021-01-07 16:31:11 +01:00
Ailin Nemui
68da49db78 up abi 2021-01-07 10:14:34 +01:00
Ailin Nemui
504cf21783 correct wrong function prefixes: remove g_free_true 2021-01-07 10:14:34 +01:00
Ailin Nemui
aa653aa389 correct wrong function prefixes: glog_func -> i_log_func 2021-01-07 10:14:34 +01:00
Ailin Nemui
b5ddc55fe6 correct wrong function prefixes: gslist -> i_slist 2021-01-07 10:14:34 +01:00
Ailin Nemui
8405c6970a correct wrong function prefixes: g_hash_free_value -> i_hash_free_value 2021-01-07 10:09:45 +01:00
Ailin Nemui
50ed476623 correct wrong function prefixes: g_io_channel -> i_io_channel 2021-01-07 10:09:45 +01:00
Ailin Nemui
9181796472 correct wrong function prefixes: g_istr -> i_istr 2021-01-07 10:09:45 +01:00
Ailin Nemui
edb2f699d1 correct wrong function prefixes: g_input -> i_input 2021-01-07 10:09:45 +01:00
Ailin Nemui
1f05f86167 package the meson.build files 2021-01-06 22:12:46 +01:00