Commit graph

5,190 commits

Author SHA1 Message Date
Jari Matilainen
2c7d58586b Move assertion to callpoint to work around assertion fail errors 2017-03-29 14:15:10 +02:00
Jari Matilainen
56da627fcf Hopefully the final changes! 2017-01-13 21:25:52 +00:00
Jari Matilainen
9288eed73a Hopefully the final changes! 2017-01-13 21:23:37 +00:00
Jari Matilainen
e63e0b653a any other way to do that? (gpointer) dest->target? 2017-01-13 21:13:09 +00:00
Jari Matilainen
e80b659767 Minor changes as per review 2017-01-13 21:06:32 +00:00
Jari Matilainen
7c540a0139 I blame other languages 2017-01-13 20:52:49 +00:00
Jari Matilainen
11bc71a2ea Minor changes as per review 2017-01-13 20:47:27 +00:00
Jari Matilainen
7a9d9bd40b enum name change and early exit if no server_tag 2017-01-13 20:16:23 +00:00
Jari Matilainen
7d07e22a11 Minor optimization 2017-01-13 18:20:49 +00:00
Jari Matilainen
94600348cc Reworked code to use helper function for window item type 2017-01-13 16:46:19 +00:00
Jari Matilainen
f272976505 Helper function for getting window item type 2017-01-13 16:45:20 +00:00
Jari Matilainen
17021e167c Make the prefix matching case insensitive 2017-01-13 16:44:12 +00:00
Jari Matilainen
befa2c2e08 Changed return type to gboolean to match function definition 2017-01-13 12:22:55 +00:00
Jari Matilainen
8b556a42e4 Make activity_hide_targets more functional. Allow ignore of several types of targets
Syntax:
 *	 	Ignore activity in all windows
 #	 	Ignore activity in all channels
 @	 	Ignore activity in all queries
 =	 	Ignore activity in all dcc chats
 #chan|nick	Ignore activity in named target(channel, query, dcc chat)
 tag/*		Ignore all activity on network 'tag'
 tag/#		Ignore activity in all channels on network 'tag'
 tag/@		Ignore activity in all queries on network 'tag'
 tag/=		Ignore activity in all dcc chats on network 'tag'
 tag/#chan|nick	Ignore activity in named channel/query/dcc chat on network 'tag'
2017-01-13 01:06:27 +00:00
Jari Matilainen
adc5779b01 New function to find matching prefix in char* array 2017-01-13 01:04:58 +00:00
LemonBoy
38ea52d09f Merge pull request #608 from tijko/master
Follow g_strsplit with call to g_strfreev
2017-01-08 21:55:39 +01:00
Tim Konick
5917bc6f75 Follow g_strsplit with call to g_strfreev 2017-01-07 14:31:35 -08:00
LemonBoy
7c09b72a26 Merge pull request #605 from dequis/fix-early-ison
Don't reset wait_cmd during connection registration (fixes early ISON)
2017-01-07 22:00:00 +01:00
ailin-nemui
808a11a150 Merge pull request #606 from or4n/master
Fix syntax on /help SERVER example
2017-01-06 17:00:09 +01:00
dequis
1831a8e1a7 Don't reset wait_cmd during connection registration (fixes early ISON) 2017-01-06 12:49:56 -03:00
Lasse Toimela
ef9da295cd Fix syntax on /help SERVER example 2017-01-06 17:47:08 +02:00
ailin-nemui
a40d4492d2 Merge pull request #604 from dequis/solaris
Add OPENSSL_NO_EC for solaris 11.3, see issue #598
2017-01-06 16:37:09 +01:00
dequis
752f484c6c Add OPENSSL_NO_EC for solaris 11.3, see issue #598
Original patch by 'Slarky'

According to that ticket, the next major version of solaris won't need
this. Consider reverting this when solaris 11.3 stops being relevant.
2017-01-06 11:47:24 -03:00
ailin-nemui
1d621d4643 Merge pull request #602 from McDutchie/master
make irssi --with-perl build with separate object directory
2017-01-06 12:44:02 +01:00
Martijn Dekker
c9c45e4f89 make irssi --with-perl build with separate object directory
irssi 1.0.0 will not build if Perl is enabled and a separate
object code directory is used. The problem was a relative path
to an internal Perl dependency in four Makefile.PL.in files.
2017-01-06 12:24:36 +01:00
ailin-nemui
cbb931ed1d continue head 1.1-dev 2017-01-05 13:14:15 +01:00
ailin-nemui
ea7826b0ec tag as 1.0.0 1.0.0 2017-01-05 13:10:08 +01:00
ailin-nemui
fdd870695b Merge branch 'gregex-gerror' 2017-01-05 13:07:30 +01:00
ailin-nemui
33107be748 fix GRegex GError problem 2017-01-05 13:06:55 +01:00
ailin-nemui
f852ccae68 Merge branch 'integrate/0.8.21' 2017-01-03 14:39:10 +01:00
ailin-nemui
a96b1e4328 Merge tag '0.8.21' into integrate/0.8.21 2017-01-03 14:38:02 +01:00
ailin-nemui
7cac354161 tag as 0.8.21 0.8.21 2017-01-03 14:24:55 +01:00
ailin-nemui
6c6c42e3d1 Merge branch 'security' into 'master'
See merge request !7
2017-01-03 13:53:40 +01:00
ailin-nemui
78ba05985d Merge branch 'security' into 'master'
See merge request !7
2017-01-03 13:44:58 +01:00
Nei
7a112e0217 Merge branch 'master' into 'security'
Sync to master

See merge request !6
2017-01-03 13:30:39 +01:00
ailin-nemui
01163710e7 Merge pull request #585 from ailin-nemui/win_seq
g_sequence backing for window list
2017-01-03 12:45:50 +01:00
ailin-nemui
5787e2b4be Merge pull request #412 from LemonBoy/pcre-regexp
Use GLib's regexp interface (backed by PCRE)
2017-01-03 12:45:27 +01:00
Ailin Nemui
1f72b8e66a up abi version 2017-01-03 12:29:52 +01:00
Ailin Nemui
f5cbbebc2e switch for gregex and regex.h 2017-01-03 12:29:11 +01:00
Nei
1b99299ed2 Merge branch 'percent_flag' into 'security'
fix %[

See merge request !5
2017-01-02 17:01:47 +00:00
Nei
124bcd4804 Merge branch '4-use-after-free-when-receiving-numeric-432-invalid-nick' into 'security'
avoid server_disconnect

See merge request !4
2017-01-02 17:01:29 +00:00
Nei
c3cca5ecf3 Merge branch '1-null-pointer-dereference-in-irc_nickcmp_rfc1459' into 'security'
bail out if nick is NULL

See merge request !3
2017-01-02 17:01:05 +00:00
Nei
24d2d039b5 Merge branch '3-out-of-bounds-read-with-invalid-utf8-in-term_addstr' into 'security'
Fix oob read on invalid utf8 in term_addstr

See merge request !2
2017-01-02 17:00:44 +00:00
Nei
7daa7a6aa9 Merge branch '2-out-of-bounds-read-of-one-byte-with-x1b-48-in-truecolor-builds' into 'security'
check for end of string in ansi 48

See merge request !1
2017-01-02 17:00:15 +00:00
LemonBoy
5dcf291f21 Use the RAW flag when building the regexps.
Also, plugged a memory leak when retrieving the match position.
2017-01-02 17:50:14 +01:00
LemonBoy
5eaead761f Rebase against master. 2017-01-02 17:50:14 +01:00
LemonBoy
3fcd3cd2b9 Remove the regexp_compiled field.
It was made redundant by the introduction of the pointer to the GRegex
structure.
Silence the compiler warning in textbuffer.c about preg being
initialized by setting it to NULL.
2017-01-02 17:50:14 +01:00
LemonBoy
b5a727c87c Remove unused references to regex.h
Also remove the prototype for regex_match since it has been removed.
2017-01-02 17:50:14 +01:00
LemonBoy
8e5db471e4 Use GLib's regexp interface (backed by PCRE) 2017-01-02 17:50:14 +01:00
ailin-nemui
91f48c6f0e Merge pull request #586 from LemonBoy/fix-580
Process the nick changes in queries before the PRIVMSG is handled.
2017-01-02 14:44:07 +01:00