Alexander Færøy
2e6f16c0fa
Merge pull request #11 from ailin-nemui/print_text_after_time-api
...
add print_text_after_time to specify time stamp for lines
2014-06-30 00:07:14 +02:00
Alexander Færøy
2b6bba3fd2
Merge pull request #62 from dgl/prefix-nick-flags
...
Use PREFIX from 005 to decide if a nick flag is of op level
2014-06-29 14:32:15 +02:00
Alexander Færøy
aaa0cb6e03
Merge pull request #52 from dgl/stack-cleanup
...
Correct use of perl stack macros
2014-06-29 14:27:12 +02:00
Alexander Færøy
cce0ff80a2
Merge pull request #49 from dgl/stackem
...
Move PUTBACK to within the scope which uses the stack
2014-06-29 14:24:20 +02:00
Ailin Nemui
e71c9f1b06
add print_text_after_time to specify time stamp for lines
...
add signal for line removal from textbuffer
2014-06-27 15:50:36 +02:00
David Leadbeater
6accf50991
Use PREFIX from 005 to decide if a nick flag is of op level
...
Fixes #61 .
2014-06-27 14:13:55 +01:00
Dave Reisner
f0925de16b
s/INCLUDES/AM_CPPFLAGS/g
...
Silences warnings on recent automake such as:
src/core/Makefile.am:3: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')
2014-06-27 09:06:21 -04:00
Alexander Færøy
113f1724d7
Merge pull request #44 from dajohi/g_basename
...
Replace deprecated g_basename with g_path_get_basename.
2014-06-27 14:41:54 +02:00
Alexander Færøy
b8c2915d79
Merge pull request #59 from ailin-nemui/perl-pl-na
...
get rid of PL_na
2014-06-27 14:31:04 +02:00
Alexander Færøy
e4051eb42e
Merge pull request #60 from dgl/perl-no-get-context
...
Define PERL_NO_GET_CONTEXT in all perl source files
2014-06-27 14:25:52 +02:00
David Leadbeater
c5d81c598d
Correct use of perl stack macros
...
Further to pull #49 this is the result of an audit of the use of perl
stack macros. There were several cases where PUTBACK was being called
where the stack pointer could be out-of-date.
Also some misc. cleanup where the macros were used needlessly.
2014-06-27 11:20:48 +01:00
David Leadbeater
211422cbe8
Switch to using G_DISCARD for call_pv
...
PUTBACK was being called even for the error path which didn't use the
stack. Emitting the "script error" signal can involve running Perl code
(Irssi:core::destroy) therefore the stack can be reallocated. This
can result in the perl stack being corrupted because the local stack
pointer is out of date (although as it's use of freed memory the crash
is not always instant).
2014-06-27 11:08:01 +01:00
David Leadbeater
051d1587b0
Add missing include
...
Silences:
listen.c:320:3: warning: implicit declaration of function ‘ascii_strup’ [-Wimplicit-function-declaration]
2014-06-26 01:12:33 +01:00
David Leadbeater
b34ded063b
Remove unused variables to silence compiler warnings
2014-06-26 00:47:49 +01:00
David Leadbeater
86fcadb85d
Add some missing casts to silence compiler warnings
2014-06-26 00:44:07 +01:00
Ailin Nemui
f58a461c54
cleanup char* casts and replace one useless SvPV with SvPV_nolen
2014-06-25 03:17:03 +02:00
David Leadbeater
43df6e424e
Define PERL_NO_GET_CONTEXT in all perl source files
...
This removes the calls to Perl_get_context() that get automatically
added to XS code for ancient source code compatibility reasons.
The result is about a ~60K size reduction in the binary (based on
comparing two 64-bit stripped irssi binaries compiled
--with-perl-staticlib).
2014-06-24 20:20:27 +01:00
Lukas Mai
7dbb8efdde
get rid of PL_na
2014-06-24 16:45:55 +02:00
David Hill
9d6cd87b0f
Replace deprecated g_basename with g_path_get_basename.
2014-06-22 20:39:35 -04:00
Alexander Færøy
c26a634fe6
Merge pull request #53 from dajohi/braces
...
Fix compiler warning.
2014-06-21 10:59:55 +02:00
Alexander Færøy
dcbcb5f04d
Merge pull request #50 from dajohi/cmd_null_deref
...
Avoid potential null dereferences.
2014-06-21 10:53:00 +02:00
David Hill
444f9e4836
Do not break strict-aliasing rules.
...
dcc-send.c:296:2: warning: dereferencing type-punned pointer
will break strict-aliasing rules
2014-06-20 12:43:24 -04:00
David Hill
5419a4b360
Fix compiler warning.
...
network.c:63:2: warning: missing braces around initializer [-Wmissing-braces]
network.c:63:2: warning: (near initialization for 'ip4_any.ip.__u6_addr') [-Wmissing-braces]
2014-06-20 00:41:52 -04:00
David Hill
70a55030d1
Avoid potential null dereferences.
2014-06-20 00:07:47 -04:00
Alexander Færøy
9d0d4d9437
Merge pull request #14 from ailin-nemui/ignore-activity
...
NO_ACT level to ignore activity
2014-06-19 00:15:36 +02:00
Alexander Færøy
ea704df7e0
Merge pull request #20 from ailin-nemui/broken-signal-parser
...
fix signals parser
2014-06-19 00:00:54 +02:00
Ailin Nemui
b05b6cde4d
fix signals parser
2014-06-18 23:54:17 +02:00
Tom Feist
7d87a02522
Add NO_ACT level
...
This patch adds a new NO_ACT level that can be used with /ignore to
ignore activity notifications
2014-06-18 23:40:26 +02:00
Alexander Færøy
b7c1fbd2b9
Merge pull request #42 from dgl/no-dancer
...
Revert "add d,q,f and J to CHANMODES default, to work a bit better with ...
2014-06-18 23:15:47 +02:00
Alexander Færøy
bb11725a52
Merge pull request #23 from ailin-nemui/perl-format_get_text
...
fix implementation of format_get_text script api
2014-06-18 22:56:37 +02:00
Alexander Færøy
53e5f9f26a
Merge pull request #22 from ailin-nemui/perl-package-fixes
...
Correct the packages of the scripting API
2014-06-18 22:53:34 +02:00
Alexander Færøy
8c08eef87a
Merge pull request #12 from ailin-nemui/no-split-utf8
...
no split utf8 from the bug tracker
2014-06-18 22:53:01 +02:00
Kuang-che Wu
fc4a4d2471
Fix UTF-8 character corruption every 32kb of text buffer
2014-06-18 22:47:17 +02:00
David Leadbeater
908913b5de
Revert "add d,q,f and J to CHANMODES default, to work a bit better with dancer and possibly others"
...
This is no longer relevant and most ircds now send a correct isupport
message.
This reverts commit b832f1f7b2
.
2014-06-16 15:35:38 +00:00
David Leadbeater
e3c688d061
Add -usermode to /NETWORK syntax
2014-06-16 14:47:38 +00:00
Ailin Nemui
24ea87bd27
fix implementation of format_get_text script api
2014-06-16 01:55:46 +02:00
Ailin Nemui
21bf59f4c1
correct package of server gui_printtext_after
2014-06-16 01:55:46 +02:00
Ailin Nemui
31c7c8eb95
fix package of term_refresh_* script api
2014-06-16 01:55:46 +02:00
Ailin Nemui
a8c52d8c16
speed up nicklist by using hash
2014-06-15 23:38:05 +02:00
Ailin Nemui
a4c62a3fee
speed up window_item_find by interning name and removing call to channel_find
2014-06-15 23:37:13 +02:00
Jaroslav Škarvada
d1e60a3b8f
Disallow unloading of static modules
2014-06-15 22:48:43 +02:00
Alexander Færøy
75d7e1b0bb
Merge pull request #37 from dajohi/g_ascii_strcasecmp
...
g_strcasecmp -> g_ascii_strcasecmp
2014-06-15 22:36:57 +02:00
David Hill
9e47f34c3f
g_strcasecmp -> g_ascii_strcasecmp
2014-06-15 16:20:58 -04:00
Alexander Færøy
1545e01447
Merge pull request #36 from dajohi/g_tree_foreach
...
Replace deprecated g_tree_traverse with g_tree_foreach.
2014-06-15 22:15:25 +02:00
Marien Zwart
279db87d32
Add support for utf8 chars to /bind
...
Fixes : #18
Fixes: bio#553
2014-06-15 22:01:18 +02:00
David Hill
c40c54d782
Replace deprecated g_tree_traverse with g_tree_foreach.
...
g_tree_foreach traverses the tree in sorted order, which is what
irssi was already doing.
2014-06-15 16:00:26 -04:00
Alexander Færøy
53f50d3dfa
Merge pull request #33 from dajohi/modules_load
...
Silence a compiler warning.
2014-06-15 21:57:42 +02:00
David Hill
5b2d189ab5
Silence a compiler warning.
...
If the first g_module_symbol call failed, module_deinit was set
to value2, which is uninitialized. Move the assignment after
checking variable found to silence the warning.
2014-06-15 15:40:08 -04:00
David Hill
138d4f4555
Replace deprecated g_io_channel_close with g_io_channel_shutdown.
...
g_io_channel_close flushes the buffer and does not return errors.
g_io_channel_shutdown(handle, TRUE, NULL) keeps that behavior.
2014-06-15 15:23:29 -04:00
Alexander Færøy
a68eb46a24
Merge pull request #5 from dajohi/master
...
Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
2014-06-15 19:59:10 +02:00