Age | Commit message (Collapse) | Author |
|
allow access to global command history when using a specifc history
|
|
remove now useless check for ,
|
|
Fixes #742 and #740
|
|
show initial nick and name on first start
|
|
Some arguments were free'd first and then printed, leading to gibberish
being output to screen or a crash.
Found by Joseph Bisch.
Closes: !GL17
|
|
|
|
The "HILIGHT_REC" structure used to keep a pointer to the "servertag"
string, owned by the "CONFIG_NODE", causing a double-free.
|
|
|
|
It is fairly safe to assume that sizeof(char) will always be 1 anyway
and replace the size calculation with a comment explaining the
calculation.
|
|
We compile this as C code, so the cast is unnecessary.
|
|
Initialize tagtarget on declaration
move code around for better flow, extra checks for uninitialized values
remove unnecessary item->type checks
don't strdup sign
add braces around if statements, use strcmp0 with single characters and remove g_str_has_prefix
refactoring
changed g_ascii_strcasecmp to g_strcmp0
Add networktag/ shorthand
fixed memory leaks
changed from #@= to ::channels, ::queries and ::dccqueries
check for empty string and continue; if found
fixed bug with empty string check
Clean up code
|
|
|
|
|
|
|
|
This is to fix #601. The function used to extract the mode string
assumed that ":" would only occur in a particular spot. This lead to the
possibility that ":" could be treated as part of things like nicknames
or mode arguments, where it should have been stripped as part of
protocol escaping.
|
|
|
|
Remove a couple unused functions
|
|
Prevent a OOB read when parsing IRCNet ! channels
See merge request irssi/irssi!22
|
|
Don't proceed with cmd_msg if there was an error splitting msg
See merge request irssi/irssi!21
|
|
fix dcc
See merge request irssi/irssi!20
|
|
This avoids undefined behavior in functions that call these split
functions and expect an array back instead of just a NULL pointer.
|
|
Fix use after free when channel is destroyed inbetween being synced
See merge request irssi/irssi!19
|
|
This reverts commit bd83852d646de28f2e0fe01efe7c9236aa4074d4.
|
|
fix out of bounds read in compress_colors
See merge request irssi/irssi!18
|
|
There may be cases (such as if target or server->nick is very long)
where the split_message function returns NULL, indicating an error. To
avoid a potential segfault, we now check to see if splitmsgs is NULL.
|
|
|
|
Make sure the string has enough data.
Fixes #16
|
|
Add alternate_nick as a network-specific property
|
|
|
|
|
|
This reverts commit cb5f3cba1f2b5dbad67bcc107f3fe4a1875cc52d.
|
|
Set host to an empty string on error
|
|
|
|
|
|
|
|
|
|
This is needed for servers like ssl.efnet.org, which, per default
config, listen on 9999.
|
|
This also removes a wordy comment
|
|
|
|
|
|
|
|
While investigating #317, I noticed that it was possible we would access
an uninitialized buffer due to failing to check the return value of
net_ip2host(). This is done in several places. To make such uses safe,
set the host buffer to an empty string on error. It is possible callers
could be improved by handling the error in each spot, but this gives us
some safety.
|
|
It is possible for rec to be NULL in query_remove_all, resulting in a
segfault. So return without doing anything if rec is NULL.
|
|
the chanquery needs to be removed in any case if a channel rec is
destroyed, regardless of any state
Fixes GL#13
|
|
Reported by Hanno Böck.
Fixes GL#12
|
|
This requires FreeBSD fix (https://reviews.freebsd.org/D12622)
to work properly.
|
|
|
|
it is possible to delete the current history entry using the
erase_history_entry key binding
|
|
it is possible to use Irssi::UI::Window::get_history_entries to save the
history entries, load_history_entries to load entries into the command
history and delete_history_entries to remove history entries (for example
to remove history selectively)
|
|
this allows access to the global history even when a using /window history
named or /set window_history on, and you want to recall something from one
of the other windows' histories.
usage (default): ctrl+up/down
|