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

4932 Commits

Author SHA1 Message Date
Ailin Nemui
ee3eaa5428 fix crash in layout code when encountering wrong config 2015-02-17 09:50:55 +01:00
Ailin Nemui
fef25d6a35 Make the config parser more robust
We add some additional checks into the config parser's
node_section_index, node_traverse and node_set_str functions. In
particular, we check if the requested node is of scalar or complex type
and whether this matches the value found in the config. If it does not
match, then a warning is issued appropriately and the config is
corrected.
2015-02-17 09:50:55 +01:00
Ailin Nemui
1e4f7e6324 Refuse to load broken configs on irssi start
By temporarily raising the fatal log level to critical during irssi
start-up, we make it fail when the config file is broken. This is then
re-set so that /reload of a broken config file will not crash irssi and
just report the errors and gracefully continue instead.
2015-02-17 09:50:55 +01:00
Ailin Nemui
af6b789d2a Warn the user instead of crashing on wrong config
The change introduced in #191 will crash irssi immediately if you
accidentally try to /reload certain broken config files. It is enough to
warn the user in this case, so we turn g_error into g_critical.
2015-02-17 09:50:55 +01:00
Ailin Nemui
96d4fb9156 add CONFIG_REC to config_node_section* APIs
this adds the CONFIG_REC * to the config_node_section and
config_node_section_index APIs as they will require access to the config
cache later on to make the config parser more robust.
2015-02-17 09:50:55 +01:00
Alexander Færøy
6b08cbe906 Merge pull request #124 from dgl/git-version
Include commit and if the tree is dirty in builds of -head versions
2015-02-17 01:10:38 +01:00
Alexander Færøy
8e64aee42a Merge pull request #115 from ailin-nemui/fix-hat-key
Make ^ key and Ctrl+^ key usable with /BIND
2015-02-16 22:15:04 +01:00
dequis
8e8bc5fdbc Silence unused value warnings in perl binding code
sed -i 's/hv_store/(void) &/'

This only results in a warning in older gcc versions, but that includes
the one used in the Travis CI environment by default
2015-02-16 13:45:14 -03:00
Alexander Færøy
dd58bd5f7b Merge pull request #218 from mauke/patch-1
accept freenode extbans in /ban [#150]
2015-02-16 17:28:08 +01:00
Vesa Pirila
895ac10c4e lastlog.c is a mix of tab and space indentation. My changes now use tabs. 2015-02-16 09:49:22 +02:00
mauke
b4b4ebfadf accept freenode extbans in /ban [#150] 2015-02-08 22:16:01 +01:00
Vesa Pirila
cd5a571fd8 Added customization possibility for the lastlog date format, lastlog_date 2015-02-08 16:58:30 +02:00
Vesa Pirila
466166010b Added a -date parameter to /lastlog to prepend each row with the row's date 2015-02-08 13:00:51 +02:00
Geert Hauwaerts
e2462b7839 Merge pull request #214 from pierrot14/master
Fix comment in default.theme: msgownnick -> ownnick
2015-02-01 23:39:15 +01:00
Pablo Martín Báez Echevarría
378cab29f4 Fix comment in default.theme: msgownnick -> ownnick 2015-02-01 20:24:05 -02:00
Geert Hauwaerts
93ef4d0aa6 Merge pull request #213 from ailin-nemui/patch-1
Fix the lastlog help
2015-02-01 22:51:49 +01:00
ailin-nemui
a26a909af0 Fix the lastlog help
Correct some confusing inaccuracies and document a parameters that got lost on the rewrite.
2015-02-01 19:21:59 +01:00
Geert Hauwaerts
dff7e049b8 Merge pull request #212 from dequis/lastleg
/help lastlog: Clarify usage of -<level> parameter
2015-01-31 16:40:18 +01:00
dequis
7ca9c86445 /help lastlog: Clarify usage of -<level> parameter 2015-01-31 11:49:01 -03:00
Alexander Færøy
2027e73977 Merge pull request #204 from KindOne-/master
Do not let the ctcp action of an inital query go into the status window.
2015-01-17 23:33:32 +01:00
KindOne
4bf9e1f16a Do not let the ctcp action of an inital query go into the status window. 2015-01-17 08:11:10 -05:00
Geert Hauwaerts
b1de3c3f38 Merge pull request #202 from incognico/remove-splitlong-pl
Remove splitlong.pl, it is enabled natively (#1)
2015-01-13 19:26:19 +01:00
Nico R. Wohlgemuth
dfc65d959e Remove splitlong.pl, it is enabled natively (#1) 2015-01-13 18:44:16 +01:00
Alexander Færøy
b2fe861156 Merge pull request #191 from dgl/config-error
Die if the wrong type of node is found when traversing config
2015-01-05 01:05:14 +01:00
Alexander Færøy
9abdeb8611 Merge pull request #152 from sebth/master
Try to split long lines on spaces
2015-01-05 01:03:58 +01:00
Alexander Færøy
1136ea915a Merge pull request #164 from ailin-nemui/fix-ansi-reset
Fix reset of attributes with ansi
2014-12-16 20:41:22 +01:00
Alexander Færøy
89cdcecf76 Merge pull request #133 from pjcj/master
Speed up /reload when there are many ignores.
2014-12-16 20:39:33 +01:00
Alexander Færøy
cd7a30bf9a Merge pull request #189 from dequis/colorless-green-ideas-blink-furiously
Fix blinking/bold text in terminals with no color support
2014-12-16 20:28:56 +01:00
Alexander Færøy
bbf84d41a4 Merge pull request #107 from mmuman/lynx-references
Include references when generating FAQ with Lynx
2014-12-16 19:47:23 +01:00
Alexander Færøy
1c4495ec77 Merge pull request #108 from mmuman/buildsystem-cleanup
Buildsystem cleanup
2014-12-16 19:44:20 +01:00
David Leadbeater
db62ddfd55 Die if the wrong type of node is found when traversing config
Fixes issue #187. It's a bit annoying this can't do anything other than
exit, however as there's no schema for the config it's only possible to
validate on use. This level of config can't be accessed from Perl so a
script can't cause Irssi to die (via this method at least).
2014-12-16 12:14:23 +00:00
dequis
367d8efc5f Fix blinking/bold text in terminals with no color support
Before this, doing "TERM=vt100 irssi" showed all text as bold and
blinking because of a failed check of window->term->TI_colors that
was doing (value & 8) and not expecting a value of 0.

The changed lines themselves look a bit weird, but they make more sense
in the context of the original commit, 96a292d4.
2014-12-14 18:21:40 -03:00
Alexander Færøy
1f2b171819 Merge pull request #92 from ailin-nemui/travis-perlbrew-up
test newer perls now available on travis
2014-12-11 23:26:40 +01:00
Geert Hauwaerts
08b390b11b Documentation fix for #185
Documentation fix for #185
2014-12-08 21:28:02 +01:00
Alexander Færøy
dbcfb7060b Merge pull request #161 from anadrome/patch-1
Update old bug URLs
2014-12-06 16:12:03 +01:00
Alexander Færøy
d87c494d89 Merge pull request #162 from dequis/self-messages
Receive 'self messages' in the right query window
2014-12-06 16:11:15 +01:00
Alexander Færøy
bbd7333924 Merge pull request #171 from vlajos/typofixes-vlajos-20141108
typo fixes - https://github.com/vlajos/misspell_fixer
2014-12-06 16:09:11 +01:00
Geert Hauwaerts
c01e026c73 Merge pull request #178 from guiniol/master
Correctly parse unix sockets servers in the config
2014-12-03 16:58:35 +01:00
Guillaume BROGI
86d263dd7d Check for unix sockets when reconnecting 2014-12-03 14:38:01 +01:00
Geert Hauwaerts
8c477f498a Merge pull request #176 from dequis/ssl-pass-doc-fix
Fix -ssl_pass documentation in /server and /connect
2014-11-26 17:34:31 +01:00
Guillaume BROGI
f0a6e5f82a Correctly parse unix sockets servers in the config 2014-11-20 17:01:07 +01:00
dequis
0bba34bbe9 Fix -ssl_pass documentation in /server and /connect
Copied text from 68f8229 (SVN r5231)
2014-11-14 03:46:02 -03:00
Ailin Nemui
b03805eeb9 reimplement format and length logic for the entry prompt 2014-11-10 10:53:14 +01:00
Veres Lajos
f285332c5b typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-08 22:26:53 +00:00
Ailin Nemui
77a90effe3 Fix reset of attributes with ansi
reported by Christopher Ohlsson (dmnc)
2014-10-28 10:50:26 +01:00
Alexander Færøy
688fc817dd Merge pull request #163 from lewellyn/patch-1
Remove duplicate example from ignore.in
2014-10-27 12:37:54 +01:00
Matt Lewandowsky
3ea2a8dab8 Remove duplicate example from ignore.in
Duplicated line inserted in commit 66f5fb6. Reported by @sharethebug on IRC.
2014-10-27 03:44:28 -07:00
dequis
1edfcedda1 Receive 'self messages' in the right query window
Original patch by hondza <sedaj2@gmail.com>, from FS#833. I applied
several needed style changes, and rebased to current HEAD.

This implements the IRCv3.2 self-message extension partially (we can't
announce its support through CAP yet). This is also the format used by
the 'privmsg' znc module, and is already implemented by several other
clients.
2014-10-26 00:33:20 -03:00
mjn
8e29a70a82 Update old bug URLs
At some point in the past few years, Flyspray changed its URL scheme from id=nnn to task_id=nnn, which broke some old comments in the source. Update those comments to URLs that still work.
2014-10-25 17:00:27 +02:00
tomaw
65a2ff6459 Merge pull request #155 from dgl/server-remove
Actually fix the params for /SERVER REMOVE
2014-10-20 21:16:36 +01:00