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

6173 Commits

Author SHA1 Message Date
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
d2291ec6eb
Merge pull request #1182 from ailin-nemui/cleanup
remove some old compat code
2020-04-26 19:18:52 +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
94ae7f9cd3
Merge pull request #1181 from ailin-nemui/buildfixes
build fixes when using install-glib and on openbsd
2020-04-23 12:52:44 +02:00
Ailin Nemui
244ebaaa2e build fixes when using install-glib and on openbsd 2020-04-23 12:31:52 +02:00
ailin-nemui
316c8157a5
Merge pull request #1179 from ailin-nemui/abidiff
Check for abi compatibility using github actions
2020-04-23 07:41:12 +02:00
ailin-nemui
9ec9a9afc8 try abipkgdiff 2020-04-21 23:52:01 +02:00
ailin-nemui
0bedcfccbd
Merge pull request #1140 from dequis/tear-down-the-wall
meson.build: Remove unnecessary -Wall
2020-04-14 10:23:09 +02:00
ailin-nemui
6d67cadcdb
Merge pull request #1173 from ailin-nemui/clangformat
Fix clang-format checker on empty diff
2020-04-14 09:59:40 +02:00
ailin-nemui
0548bb1a3c empty is also good 2020-04-14 09:55:23 +02:00
ailin-nemui
3d3305a893
Merge pull request #1172 from ailin-nemui/clangformat
run clang-format as a pull request hook
2020-04-13 22:52:17 +02:00
ailin-nemui
6317db5ccb run clang-format as a pull request hook 2020-04-13 22:14:50 +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
ailin-nemui
f1647bdfa9
Merge pull request #1169 from Pinguin1234/feature/close_on_sighup
Added option to quit in SIGHUP
2020-04-06 15:14:40 +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
46ae8c20c5
Merge pull request #1164 from ailin-nemui/modes-noact
fix /ignore ... MODES NO_ACT not working
2020-04-03 10:20:52 +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
b69074bb39
Merge pull request #1163 from ailin-nemui/docs
update docs and sync scriptassist
2020-03-30 16:21:26 +02:00
ailin-nemui
97670d1dc1 run syncscripts.sh
sync scriptassist.pl to 2003020807
2020-03-30 14:30:05 +02:00
ailin-nemui
be467111fa update docs 2020-03-30 14:28:26 +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
ailin-nemui
6fc9362c65
Merge pull request #1160 from irssi/ailin-nemui/workflow-pr
Use github actions to test PRs
2020-03-18 19:53:19 +01:00
ailin-nemui
597afa4043 Use github actions to test PRs 2020-03-18 19:29:00 +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
ailin-nemui
f0c1bc4dde
Merge pull request #1156 from vague666/add_server_nopass
Improve help for how to remove saved server password
2020-03-17 01:54:34 +01:00
ailin-nemui
1ad1083f84
improve wording 2020-03-17 00:54:23 +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
43092a5bcc Improve server help 2020-02-19 16:55:11 +01:00
vague666
03295b73b4 Improve server help 2020-02-17 19:55:38 +01:00
ailin-nemui
b38ae68fb5
Merge pull request #1154 from ailin-nemui/zerowidth
refine zero width input test in empty line
2020-02-14 20:17:50 +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