ailin-nemui
447e565309
Fix meson capsicum
...
Fixes #1223
2020-09-26 16:40:18 +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
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
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-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
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
Will Storey
d84f285b91
Keep unused parameter for API compatibility
2019-10-15 19:07:48 -07: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
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
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
887950db0f
limit special-vars alignment memory to not exhaust fuzzer
2019-08-30 20:30:02 +02:00
ailin-nemui
44d480ca99
use account-notify capability
2019-08-15 17:30:38 +02:00
ailin-nemui
6e32c1f638
Merge pull request #1097 from ailin-nemui/cap-extended-joins
...
use extended-join capability
2019-08-14 21:08:11 +02:00
ailin-nemui
ad7ad063ca
implement reference counted strings
...
- on glib >=2.58, use the implementation provided by glib
- otherwise, a hash table will contain the strings
2019-08-14 20:50:44 +02:00
ailin-nemui
25270e0465
use extended-join capability
2019-08-13 18:23:34 +02:00
ailin-nemui
27546354ca
increase disconnect buffer and get rid of some magic 510 values
2019-08-13 18:17:35 +02:00
ailin-nemui
a865b07a67
make the $Z time overridable
2019-08-13 16:59:07 +02:00
ailin-nemui
f612f2ee51
Merge pull request #1077 from l2dy/memory-leak
...
Fix memory leaks
2019-07-28 01:26:57 +02:00
Zero King
dde5fff4a5
Fix memory leaks
2019-07-27 18:34:03 +00:00
Zero King
6c7fa15417
Free g_strdup() allocated memory with g_free()
...
Memory allocated with g_malloc() must be freed with g_free(). The
allocators may use different memory pools.
2019-07-27 18:23:51 +00:00
Ailin Nemui
00a7efc69f
modularise irc component
2019-07-17 13:37:19 +02:00
Ailin Nemui
db16a0a853
meson build support
2019-07-10 09:25:26 +02:00
ailin-nemui
7e7bc98396
Merge pull request #1020 from teschi/allow_rawlog_lines_to_shrink_again
...
allow rawlog-buffer to shrink again after lowering "rawlog_lines"
2019-05-23 10:39:45 +02:00
ailin-nemui
37f7c7f374
update include guard names
2019-05-01 22:22:22 +02:00
ailin-nemui
7e6e1f2e10
Use full paths to includes
2019-05-01 22:08:45 +02:00
Berker Peksag
530393140a
Check return value of BIO_read() in set_pubkey_info()
...
Fixes #943
2019-04-08 02:40:45 +03:00
ailin-nemui
04ca271d77
Merge pull request #1035 from berkerpeksag/patch-1
...
Add missing NULL check in mask_match()
2019-04-07 15:30:34 +02:00
Berker Peksag
2b48ddd3c9
Move NULL check for cert above pubkey
...
This patch was originally proposed by Chi Li.
Fixes #944
2019-04-06 23:20:44 +03:00
Berker Peksag
8789027617
Add missing NULL check in mask_match()
...
Fixes #902
2019-04-06 21:52:49 +03:00
teschi
c61a171114
allow rawlog-buffer to shrink again after lowering "rawlog_lines"
2019-02-23 22:24:36 +01:00
Will Storey
c25d24220f
Remove unused functions
2019-02-18 11:53:46 -08:00
Will Storey
2db359fbb3
Recognise non-zero as error rather than only -1
...
The error flag can be something other than -1 in the event of an error.
Not checking for this could lead to us to try connecting to an unknown
IP.
2019-02-18 11:44:31 -08:00
Will Storey
e793d7af9f
Fix indentation
2019-02-18 11:44:28 -08:00
ailin-nemui
8c30367452
rename function
2019-01-08 15:48:12 +01:00