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
Ailin Nemui
18a1a0ba7c
fix multiple identical active caps
2021-01-06 10:41:57 +01:00
Ailin Nemui
ae5e2fe5e5
properly ignore empty lines and comments in servers and channels config
...
fixes #1242
2020-12-31 17:50:40 +01:00
ailin-nemui
581c43ed1e
Merge pull request #1232 from vague666/fix_1228
...
Implement priority on the matched lines for /hilight
2020-12-14 15:22:56 +01:00
vague666
69396482be
style format change
2020-12-02 14:33:23 +01:00
Ailin Nemui
c9ccf9867f
Make a copy of the signal arguments so we don't have to worry about the stack
...
plug some mem leaks
later copy
2020-11-12 13:00:02 +01:00
vague666
323b60f339
Initialize tmprec
2020-10-27 09:49:54 +01:00
vague666
8f4f0be6d4
Add prio check to hilight_nick_cache also
2020-10-26 11:01:03 +01:00
vague666
4fb10322d1
Optimize execution
2020-10-26 10:57:05 +01:00
vague666
eb4174ee1e
Make hilight priority work
2020-10-23 21:49:09 +02:00
ailin-nemui
447e565309
Fix meson capsicum
...
Fixes #1223
2020-09-26 16:40:18 +02:00
ailin-nemui
f8052b7f57
Merge pull request #1209 from ailin-nemui/perl_line_signal_arg
...
fix missing wrapping of line in signals
2020-07-26 10:47:13 +02:00
Ailin Nemui
ffe0c71554
up abi
2020-07-23 11:54:18 +02:00
Ailin Nemui
468d8b0c78
fix missing wrapping of line in signals
2020-07-23 00:52:55 +02:00
Ailin Nemui
4e9dab4aeb
fix crash when server got disconnected/reconnected before it was properly connected
2020-07-23 00:42:54 +02:00
ailin-nemui
40ed4122b1
Merge pull request #1208 from ailin-nemui/daychange
...
do not use localtime result after other functions
2020-07-16 12:07:16 +02:00
ailin-nemui
ad30d568d6
do not use localtime result after other functions
2020-07-13 13:25:18 +02:00
aquanight
12685f8074
Merge branch 'master' into selfunload-fix
2020-07-10 18:32:48 -06:00
aquanight
af5987827c
ABI version again
2020-07-10 18:31:47 -06:00
aquanight
cc759e1179
Clean up commented out stuff and fix merge issues
2020-07-10 18:27:54 -06:00
ailin-nemui
70626d86ae
Merge pull request #1159 from vague666/fix_cmd_cat_bug
...
Make sure witem exists in cmd_cat when using -window
2020-07-10 10:24:06 +02:00
ailin-nemui
76802985a4
Merge pull request #1183 from ailin-nemui/glib-2-63
...
manually handle NUL unicode in g_utf8_get_next_char_validated
2020-07-08 17:43:11 +02:00
ailin-nemui
37cac5a862
Merge pull request #1205 from ailin-nemui/formatflags
...
properly restore the saved text dest
2020-07-08 10:07:07 +02:00
ailin-nemui
1b5bb8cdd7
Merge pull request #1204 from ailin-nemui/bgcolours
...
fix extended bg colours
2020-07-07 09:48:42 +02:00
ailin-nemui
357beb91f5
make clang-format happy
2020-07-07 09:28:41 +02:00
vague666
9593be14f5
print to active window when -window is specified
2020-07-06 12:22:16 +02:00
aquanight
26f3049a86
Refactor to pure refcount for PERL_SCRIPT_REC
2020-07-05 17:20:08 -06:00
aquanight
2d59df8162
Don't try to use the PERL_SIGNAL_REC after it could be freed
2020-07-05 16:09:19 -06:00
aquanight
7daeaa25b6
Fix wrong way on unloaded checks
2020-07-05 15:46:34 -06:00
aquanight
6012ec9e56
Prevent double calls of perl_script_unload
2020-07-05 15:31:07 -06:00
ailin-nemui
6684e5cc41
Merge pull request #1155 from vague666/bind_shenanigans
...
rewrite how /bind searches for bindings when listing them
2020-07-04 20:37:36 +02:00
ailin-nemui
0cc1e4b7cd
properly restore the saved text dest
2020-07-04 18:19:37 +02:00
ailin-nemui
108f57ac7b
fix extended bg colours
2020-07-04 12:15:25 +02:00
ailin-nemui
0d2997b36f
make clang-format happy in keyboard.c
2020-06-30 09:29:50 +02:00
vague666
fe9a443380
change to strstr
2020-06-29 16:11:45 +02:00
ailin-nemui
01ecb879a6
Add support for building in Termux-Android in meson
...
- introduce cross perl
- workaround for the android linker
2020-06-02 10:38:01 +02:00
ailin-nemui
4b2c710ebe
disable setuid/setgid on android
2020-06-02 10:04:54 +02:00
ailin-nemui
d5017cfc7c
make actlist_sort a choice type now that we have it
2020-05-24 18:44:25 +02:00
Lauri Tirkkonen
7c1237de98
use visible channel name in layout save
2020-05-21 12:15:07 +03:00
Michael Hansen
214c7ad7da
make clang-format happy about the code i added, instead of the code above it.
...
modified: src/fe-common/irc/fe-events-numeric.c
2020-05-16 01:26:00 +02:00
Michael Hansen
451e3692b2
disable clang-format check for a few sections of code from before format strictnes got tightened
...
modified: src/fe-common/irc/fe-events-numeric.c
modified: src/fe-common/irc/module-formats.c
modified: src/fe-common/irc/module-formats.h
2020-05-16 01:20:22 +02:00
Michael Hansen
1fef8f82a5
make git-clang-format check happy
...
modified: src/fe-common/irc/fe-events-numeric.c
2020-05-16 01:00:17 +02:00
Michael Hansen
28768e40a3
Increased IRSSI_ABI_VERSION to 29
...
modified: src/common.h
2020-05-16 00:48:58 +02:00
Michael Hansen
ae6c8a1bd5
Add better support for numeric 489 ERR_SECUREONLYCHAN along with a print format
...
modified: src/fe-common/irc/fe-events-numeric.c
modified: src/fe-common/irc/module-formats.c
modified: src/fe-common/irc/module-formats.h
2020-05-15 20:25:41 +02:00
ailin-nemui
b0cd72aadd
up abi
2020-05-13 00:23:12 +02:00
ailin-nemui
3ea854816d
Correct a wrong package for format_create_dest
2020-05-13 00:22:56 +02:00
ailin-nemui
4330dbec62
add "print format" signal to perl
...
fix syntax in signals.txt with regards to GLists
simplify signal emit code
2020-05-13 00:22:38 +02:00
ailin-nemui
ba57684d73
fix NULL assertion in format args
2020-05-08 15:34:49 +02:00
ailin-nemui
08ead5ef06
fix npe on no text from format_get_text_theme_charargs
2020-05-07 01:27:25 +02:00
ailin-nemui
86b72d5829
Merge pull request #1079 from ailin-nemui/reformat2
...
reapply a theme to previous formats
2020-04-30 09:00:34 +02:00
ailin-nemui
675696aa84
up abi
2020-04-28 15:46:53 +02:00
ailin-nemui
449d86caf0
add setting to disable reformat
2020-04-28 15:46:53 +02:00
ailin-nemui
8fd6dccaf1
enable mirc colour processing
2020-04-28 15:46:53 +02:00
ailin-nemui
57fb173130
add perl code for textbuffer-formats
...
- compatibility shim for new line
- make format accessible from perl
- fix perl line IDs being mixed up due to wrapper
2020-04-28 15:46:53 +02:00
ailin-nemui
a0544571a8
manually handle NUL unicode in g_utf8_get_next_char_validated
...
A change in GLib 2.63 broke some assumptions in Irssi that the null-byte
NUL / U+0000 is a valid Unicode character. This would occur when the
user types Ctrl+Space. As a result, the input loop never manages to
process the NUL-byte (and any other user input that follows, ever).
This patch adds a manual check that properly advances the input loop if
GLib returns -2 (incomplete character) despite the length being positive
and a NUL is in first position.
Fixes #1180
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/967
https://gitlab.gnome.org/GNOME/glib/-/issues/2093
2020-04-28 15:40:21 +02:00
ailin-nemui
6b93d6e338
implement expando cache
...
- the expando values need to be stored now that the lines are
reformattable, otherwise the old values are lost (and they depend on
context only available at the time the line is initially printed)
- the cache is collected from the special-vars evaluation code
- the cache is controlled by the textbuffer-formats code, and stored in
the text_buffer_format_rec
2020-04-26 20:42:02 +02:00
ailin-nemui
f95fc81130
make lines reformattable
...
- completely removed the old textbuffer representation (
https://github.com/shabble/irssi-docs/wiki/Notes-256-Colour#textbuffer-encoding
)
- textbuffer-formats is an extra module, so if we unhook the signals it
should go back to the "old way" of storing pre-rendered tex
- design uses cache, original formats and list of arguments
2020-04-26 18:54:16 +02:00
ailin-nemui
4b24d0a51d
remove some old compat code
...
we already rely on c99 in other parts of the code
2020-04-25 12:04:26 +02:00
Ailin Nemui
244ebaaa2e
build fixes when using install-glib and on openbsd
2020-04-23 12:31:52 +02:00
ailin-nemui
261631a6e1
Merge pull request #1171 from ailin-nemui/hidden-options
...
hide the deprecated -ssl options from completion
2020-04-07 19:12:04 +00:00
=
1bfe27c66e
Used Tabs instead of spaces and increased ABI_VERSION
2020-04-06 17:04:35 +02:00
ailin-nemui
485ed2f52b
hide the deprecated -ssl options from completion
2020-04-05 21:29:39 +02:00
Dennis Pentmeier
f9595c03b1
Changed to async-signal safe method as suggested by dequis
2020-04-04 18:07:08 +02:00
ailin-nemui
cae37e37ca
run git-clang-format
2020-04-04 01:12:03 +02:00
Pinguin1234
81dc94c406
Added option to quit in SIGHUP
2020-04-04 00:55:58 +02:00
ailin-nemui
8b7bf1f04e
Merge pull request #1167 from ailin-nemui/quit-crash
...
fix crash on /quit when unloading modules
2020-04-03 23:26:54 +02:00
ailin-nemui
5d6baeb0b5
Merge pull request #1166 from ailin-nemui/build-fix
...
fix perl module build on openbsd
2020-04-03 23:26:40 +02:00
ailin-nemui
8a446d24de
fix /ignore ... MODES NO_ACT not working
...
reported by letty
2020-04-02 15:47:15 +02:00
ailin
ae89ba7164
fix crash on /quit when unloading modules
...
this fixes a crash on /quit when the module unloaded is trying
to reference symbols from already-unloaded modules, by reversing
the lists.
2020-04-02 15:39:40 +02:00
ailin
4594b0c4cf
fix perl module build on openbsd
...
unfortunately, some mangling is needed to create the correct linker
and compiler invocations
2020-04-02 04:39:30 +02:00
ailin-nemui
aab5349256
Merge pull request #1161 from vague666/ignore_readable_time
...
unignore_time can not be NULL, check for 0 instead
2020-03-18 19:53:55 +01:00
vague666
d5a55f5e6e
unignore_time can not be NULL, check for 0 instead
2020-03-18 17:27:18 +01:00
ailin-nemui
c8440d49d8
Merge pull request #1158 from vague666/ignore_readable_time
...
-time was missing in /ignore output. now the time is displayed
2020-03-18 16:58:01 +01:00
ailin-nemui
22851686f5
simplify logic
2020-03-17 00:58:48 +00:00
vague666
7e898fdcf4
Make sure witem exists
2020-03-12 22:52:12 +01:00
vague666
ca04e0ba5d
-time was missing in /ignore output and made it human-readable
2020-03-09 14:15:40 +01:00
vague666
5dba9fd0cc
Search for word anywhere, not only from the beginning of string
2020-02-09 12:40:09 +01:00
ailin-nemui
e59c42bcc0
refine zero width input test in empty line
...
fixes #1153
2020-02-07 16:33:53 +01:00
ailin-nemui
363a79dc7a
Merge pull request #1145 from ailin-nemui/time
...
remove GTimeVal following glib 2.61.2 deprecation
2020-01-08 10:41:08 +01:00
ailin-nemui
b8be290640
Update src/irc/core/lag.c
...
Co-Authored-By: dx <dx@dxzone.com.ar>
2020-01-08 10:15:47 +01:00
ailin-nemui
6e14acee17
Merge pull request #1146 from slingamn/issue641_ipv6_failover.1
...
Reconnect retry IPv4 on IPv6 failure
2020-01-06 10:42:28 +01:00
Shivaram Lingamneni
7d44964dcd
fix #641
...
Track the address family of the last failed connection attempt
(either immediately or during TLS handshake), then disprefer
that address family during reconnection.
2019-12-09 22:48:56 -05:00
ailin-nemui
1cdb4bc311
remove GTimeVal following glib 2.61.2 deprecation
2019-12-06 10:56:25 +01:00
ailin-nemui
4c5f708b9b
Merge pull request #1135 from horgh/horgh/resolve-setting
...
Remove resolve_reverse_lookup setting
2019-11-19 19:42:06 +01:00
dequis
664c38afba
Fix some glib deprecation warnings
...
Most of these have been deprecated since forever (2.2), but they didn't
raise warnings. Now they do, and the warnings are not the most verbose
warnings you could ask for, but, they point in the right direction.
This doesn't handle the GTimeVal deprecation warnings. Those seem
trickier since they cover API, will look into those right after this.
2019-10-31 23:49:40 +01:00
Mike Quin
b7f165a609
Improve clarity of nick in use message
...
If irssi's preferred nick is in use irssi will issue a whois command and report some information
on the current user of the nick. As the "is owned by" wording can be confusing to users of networks
with nickname registration, propose rephrasing this to "is in use by".
2019-10-19 11:34:15 +01:00
Will Storey
a827c69183
Bump ABI
2019-10-17 19:43:29 -07:00
Will Storey
d84f285b91
Keep unused parameter for API compatibility
2019-10-15 19:07:48 -07:00
ailin-nemui
bf3565a720
Merge pull request #1136 from ailin-nemui/lines
...
Make sure the bottom_startline is not lost when removing lines
2019-10-15 12:56:36 +02:00
ailin-nemui
453b648e7e
Merge pull request #1132 from horgh/horgh/rm-funcs
...
Remove an unused function and deprecate another
2019-10-15 11:03:04 +02:00
ailin-nemui
ebdfd2e08c
Merge pull request #1129 from dcollinsn/op-public-hilights
...
#354 Fix hilight behavior for STATUSMSG
2019-10-15 11:02:41 +02:00
ailin-nemui
5776ca5e0b
bottom_startline lost?
2019-10-13 21:35:30 +02:00
Will Storey
7e6d24420c
Remove resolve_reverse_lookup setting
...
This setting seems ill advised and breaks TLS verification.
Fixes #1034 .
2019-10-12 17:09:48 -07:00
Will Storey
f9db4019af
Remove else since prior condition returns
2019-10-12 17:03:40 -07:00
Will Storey
34effcec01
Fill more connection information in one spot
2019-10-12 15:46:42 -07:00
Will Storey
1639425217
Do not copy TLS settings to reconnection record
...
This was causing us to use the TLS settings from one server on another
which is not always appropriate. Instead, we now treat it like other
connection information and do not copy it. We get the TLS settings later
as appropriate when connecting.
Note there is still probably more that could be cleaned up here. For
example, the unix socket might be better treated as connection info too.
Fixes #1027 .
2019-10-12 15:46:42 -07:00
Will Storey
4476fbbad9
Fix indentation
2019-10-12 15:46:39 -07:00
ailin-nemui
145d1040ac
add ignore check, emphasis and fix a memory leak
2019-10-11 22:37:09 +02:00
Will Storey
e4d34380e5
Mark unused function deprecated
2019-10-05 14:32:35 -07:00
Will Storey
2af7db2dfa
Remove unused function
2019-10-05 14:32:35 -07:00
ailin-nemui
a68be4dcca
missing free
2019-10-05 23:30:25 +02:00
ailin-nemui
03eb8d032a
fix the fix
2019-10-01 11:09:25 +02:00
Dan Collins
7e694fd223
Fix hilight behavior for STATUSMSG
...
This patch allows irc_op_public messages to properly trigger
hilights when the message mentions the current nick or one of our
hilights. This is done by copying the required code from
sig_message_public. This is important because Freenode has begun
using this message type for messages that can only be seen by ops
due to the +z channel mode, and ops will want to be notified of
watchwords even in that type of message.
To test, make two connections to Freenode, join a new channel. The
first client to join that channel will be an op. To establish a
baseline, use the non-opped client to attempt to "ping" the opped
client by addressing it by name and using terms in /hilight. Then,
set channel mode to +mz and use the non-opped client to send the
messages again. Without this patch, no message will "ping" the opped
client with +mz set. With this patch, "pings" should operate
normally, causing a bell, hilighting the window number, and so on.
What I don't know is whether there is any other code from
sig_message_public that should be copied over too. In particular,
the lines related to "ignore_check_plus", "emphasis", and
"printnick", I don't know if they are needed here. I also don't know
if there are any other message types that these changes should be
applied to.
2019-09-28 20:00:06 -04:00
Joseph Bisch
ed65499d76
Add missing g_string_free param
2019-09-26 21:51:36 -04:00
Joseph Bisch
f6cca3de4e
Properly free sasl_buffer GString
2019-09-24 21:35:40 -04:00
ailin-nemui
8a1a96c12c
Merge pull request #1120 from ailin-nemui/invalid-cap-free
...
free params
2019-09-16 11:42:48 +02:00
ailin-nemui
9ff224d05d
silence glib log output during fuzzing on oss-fuzz
2019-09-10 13:08:35 +02:00
ailin-nemui
96562e460b
Merge pull request #1124 from ailin-nemui/extended-join
...
fix crash in join due to incorrect free
2019-09-05 18:19:03 +02:00
ailin-nemui
69dec1de33
add new meson build option -Dfuzzer-link-language=cpp for oss-fuzz
2019-09-04 22:48:03 +02:00
ailin-nemui
f875d252d2
fix crash in join due to incorrect free
2019-09-04 14:57:56 +02:00
ailin-nemui
6d58052c4a
enable self-message support
2019-09-04 14:27:06 +02:00
ailin-nemui
948e7bb317
free params
2019-08-30 22:14:26 +02:00
ailin-nemui
c271609a49
add some dummy objects to server-fuzz
2019-08-30 22:11:27 +02:00
ailin-nemui
1e9cd62aac
Merge pull request #1117 from ailin-nemui/theme-align
...
limit special-vars alignment memory to not exhaust fuzzer
2019-08-30 21:20:33 +02:00
ailin-nemui
887950db0f
limit special-vars alignment memory to not exhaust fuzzer
2019-08-30 20:30:02 +02:00
ailin-nemui
3447904a5c
fix warning in fe-fuzz/server-fuzz
2019-08-30 20:29:03 +02:00