1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00
Commit Graph

4516 Commits

Author SHA1 Message Date
Alexander Færøy
d9ea224628 Fix use-after-free bug with cached settings values
This patch fixes a couple of use-after-free bugs when caching various
string related setting values.

Fixes: #143
2014-09-30 18:07:13 +02:00
Geert Hauwaerts
6884a74b29 Merge pull request #144 from jubalh/master
source cleanup: remove trailing whitespaces
2014-09-11 20:20:49 +02:00
Michael Vetter
51239925ec source cleanup: remove trailing whitespaces 2014-09-11 19:10:33 +02:00
dequis
d68ee06aa4 irc_server_send_away: don't send empty param if there's no away reason 2014-09-09 21:14:07 -03:00
Sebastian Thorarensen
42a34a78e8 Make line splitting fail-safe
The userhost Irssi uses for line splitting can in some cases be wrong,
for instance when a proxy is used or when a server cloaks the hostname
without telling the client. Now Irssi always assumes the userhost is of
maximum length. 10 for username (common value) and 63 for hostname (in
RFC 2812).
2014-09-01 00:24:17 +02:00
Alexander Færøy
503cbeb330 Head is now 0.8.17-head. 2014-08-31 18:35:15 +02:00
Alexander Færøy
56bd481974 Prepare for irssi 0.8.17-rc2. 2014-08-31 18:34:30 +02:00
Alexander Færøy
16784756b8 Merge pull request #134 from ailin-nemui/missing-printtext-after-signal
Add the signal for printtext_after that was missed in the original commit.
2014-08-26 21:49:43 +02:00
Ailin Nemui
9f6c76b028 Add the signal for printtext_after that was missed in the original commit.
Now properly sends "gui print text after finished" signal when using
the printtext_after API that was fixed after 0.8.16
2014-08-25 14:50:41 +02:00
Paul Johnson
d9deafe57c Speed up /reload when there are many ignores.
With many ignores (a few thousand) /reload could take so long that connections
were dropped.  The problem is that nickmatch_rebuild() was being called for
every ignore.  The easy solution is to only call it once at the end.
2014-08-23 21:08:17 +02:00
Alexander Færøy
d40c0704f0 Merge pull request #123 from ailin-nemui/terminfo-scroll-check-bounds
Add bounds check to array access in terminfo driver.
2014-08-09 12:24:45 +02:00
Ailin Nemui
836d386823 Add bounds check to array access in terminfo driver.
this fixes a crash due to illegal memory access that can occur if
something is printed to the screen on the "terminal resized"
handler. It is not clear to me whether this race condition can be
triggered by external incoming messages, but it might be better safe
than sorry.
2014-08-09 11:40:37 +02:00
tomaw
2346d3b62f Merge pull request #109 from cpbills/master
Fix right aligned statusbar item redrawing
2014-08-08 18:57:50 +01:00
Geert Hauwaerts
22d4dc729e Updated ALIAS help
Updated ALIAS help.
2014-08-07 23:36:53 +02:00
Geert Hauwaerts
71ab0fbda6 Applied grammar and styling corrections
Applied grammar and styling corrections.
2014-08-07 22:00:40 +02:00
Geert Hauwaerts
f0aa2d2049 Syntax rewrite of U-Z commands
Rewrote the syntax documentation of U-Z commands.
2014-08-05 22:00:30 +02:00
Alexander Færøy
b9f532568b Merge pull request #118 from ailin-nemui/mirc_blink_fix-fix
fix mirc_blink_fix
2014-08-05 21:21:37 +02:00
Alexander Færøy
18a0cfa915 Merge pull request #121 from dgl/rawlog-fix
Fix rawlog saving after dac67a5 broke it
2014-08-05 21:21:02 +02:00
David Leadbeater
1dbc3dba78 Fix rawlog saving after dac67a5 broke it 2014-08-05 17:33:50 +01:00
Ailin Nemui
b602372e78 fix mirc_blink_fix
the background colours were totally off with mirc_blink_fix
enabled. oops.

reported by wodim
2014-07-31 03:09:19 +02:00
Geert Hauwaerts
1933c92532 Fixed a typo in the cmdmax argument
Fixed a typo in the cmdmax argument.
2014-07-30 23:27:41 +02:00
Geert Hauwaerts
a775a7c229 Updated the documentation for LIST
Updated the documentation for LIST.
2014-07-30 23:12:39 +02:00
Geert Hauwaerts
5a4e535cd7 Merge pull request #112 from ailin-nemui/italics-exception
fix rules for italics emphasis
2014-07-30 22:24:24 +02:00
Geert Hauwaerts
0836e59179 Removed the default autojoin channels
Removed the default autojoin channels.
2014-07-30 22:21:37 +02:00
Ailin Nemui
a057cfecf7 test newer perls now available on travis 2014-07-30 14:40:17 +02:00
Geert Hauwaerts
822db3090f Syntax rewrite for S-commands
Rewrote the syntax documentation for all commands starting with S.
2014-07-30 14:29:06 +02:00
Geert Hauwaerts
4beebe3238 Removed the obsolete SQUERY and SERVLIST commands
Removed the obsolete SQUERY and SERVLIST commands.
2014-07-30 13:02:26 +02:00
tomaw
cb6266f212 Fix typo in help for network command 2014-07-25 17:05:19 +01:00
Geert Hauwaerts
924f261448 Merge pull request #111 from ailin-nemui/colour-break
fix colour 0 again
2014-07-24 21:52:01 +02:00
François Revol
9d4ea891b9 Also try links for docs generation
Haiku has links (links2) but not elinks.

Links doesn't seem to generate references however,
but it's the 2nd fallback so it's better than nothing.
2014-07-24 10:41:46 +02:00
Ailin Nemui
07e37c2329 fix rules for italics emphasis
while the last patch did stop /path/.xxx from turning italic, it also
stopped any other /emphasis/ from becoming italic. correct this by
testing for ispunct, so spaces are valid italic terminators
2014-07-24 09:42:57 +02:00
Ailin Nemui
1cf7017ac9 fix colour 0 again
the previous commit was broken, as it conflicted with the colour
\#000000. Now both the "real colour black" and the "terminal colour 0"
are working.
2014-07-24 00:11:42 +02:00
Geert Hauwaerts
e7f83c1dd2 Merge pull request #110 from ailin-nemui/colour-break
restore the colour 0 ("black") that got broken by extended colours
2014-07-23 23:58:22 +02:00
Ailin Nemui
41fab0707f restore the colour 0 ("black") that got broken by extended colours
the colour 0 was broken by the extended colours patch because it needs
an explicit bit check (lower bits will be false since it is 0)

Thanks to lhynes for the report
2014-07-23 23:42:05 +02:00
Christopher P. Bills
6a5f04b26a Fix right aligned statusbar item redrawing
Fixes Github issue #97 https://github.com/irssi/irssi/issues/97

Fix proposed by ailin-nemui, built and tested on Debian Jessie using
0.8.15 source, tested by GeertHauwaerts as well.
2014-07-22 22:03:46 -04:00
François Revol
c855fef064 Drop AC_ISC_POSIX which is obsolete
It's actually a NOOP in latest autoconf.

cf.
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html#index-AC_005fISC_005fPOSIX-2084
2014-07-22 23:14:12 +02:00
François Revol
1f9ad64ee5 Simplify socklen_t type detection
The previous version of AC_CHECK_TYPE() which didn't accept passing headers
is obsolete anyway. The new one can be told which headers to include.

Also test for sys/socket.h just for sanity.

cf.
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Generic-Types.html
https://svn.opendnssec.org/home/jerry/memory-usage/ldns-1.6.10/acx_nlnetlabs.m4
2014-07-22 22:50:42 +02:00
François Revol
9af3df4e9d Simplify network libraries detection with AC_SEARCH_LIBS
AC_SEARCH_LIBS first tries to link without any lib, then tries each
library, and sets $LIBS correctly in any case.

cf.
https://www.flameeyes.eu/autotools-mythbuster/autoconf/finding.html
2014-07-22 21:59:31 +02:00
François Revol
103b0e22eb Force default locale when calling lynx
Else it ends up saying "Références" or other translation for the word.

Might want to do the same for elinks...
2014-07-22 19:59:29 +02:00
François Revol
7099ae0466 Disable -nolinks for lynx-generated text FAQ
This way lynx also emits URLs for references at the bottom,
like elinks does.

The formating is a little different though (word wrapping),
and elinks adds a "Visible links" line as well.
2014-07-22 19:57:48 +02:00
Alexander Færøy
5ddf127f6d Merge pull request #100 from ailin-nemui/24bit-uninitialised
fix uninitialised copy on 24bit colours
2014-07-20 19:37:37 +02:00
Ailin Nemui
8e062b7bd0 fix uninitialised copy on 24bit colours 2014-07-18 13:56:02 +02:00
Geert Hauwaerts
6e68b83723 Syntax rewrite for R-commands
Rewrote the syntax documentation for all commands starting with the
letter R.
2014-07-15 19:52:56 +02:00
Geert Hauwaerts
dde8540e3e Removed the obsolete RPING command
The RPING command is obsolete.
2014-07-14 20:38:01 +02:00
Geert Hauwaerts
a5154c4e77 Fixing a typo
Fixing a typo.
2014-07-14 13:19:31 +02:00
Alexander Færøy
58b42997ff Merge pull request #96 from dgl/news-update
Update NEWS
2014-07-13 21:27:10 +02:00
Alexander Færøy
cb1d3580fe irssi-version.h should only be a phony target if build in maintainer mode 2014-07-13 21:24:36 +02:00
David Leadbeater
16743c5c13 Update NEWS 2014-07-13 20:01:08 +01:00
Geert Hauwaerts
fcee49a441 Fixed an example of QUOTE
Fixed an example of QUOTE
2014-07-13 14:10:40 +02:00
Geert Hauwaerts
d023d7d839 Merge pull request #94 from dajohi/uninitialized
Avoid using uninitalized values.
2014-07-12 22:41:28 +02:00