forked from PsychoticNinja/irssi
Revert perl utf8 stuff for now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4412 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
67e5a315b0
commit
9d72e78ccd
2
NEWS
2
NEWS
@ -9,8 +9,6 @@ v0.8.11 200x-xx-xx The Irssi team <staff@irssi.org>
|
|||||||
+ Don't wait for all /NAMES replies before syncing if we can't combine
|
+ Don't wait for all /NAMES replies before syncing if we can't combine
|
||||||
queries anyways (Patch by jilles)
|
queries anyways (Patch by jilles)
|
||||||
+ Renamed irc.efnet.net to irc.efnet.org
|
+ Renamed irc.efnet.net to irc.efnet.org
|
||||||
+ Add support for utf8 to Irssi::settings_get_str and
|
|
||||||
Irssi::TextUI::Line::get_text
|
|
||||||
+ /SCROLLBACK CLEAR accepts the same arguments as /CLEAR
|
+ /SCROLLBACK CLEAR accepts the same arguments as /CLEAR
|
||||||
+ Check if binary exists and can be executed before /UPGRADE
|
+ Check if binary exists and can be executed before /UPGRADE
|
||||||
+ Change default value of override_coredump_limit to OFF
|
+ Change default value of override_coredump_limit to OFF
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#include "module.h"
|
#include "module.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "recode.h"
|
|
||||||
|
|
||||||
static GHashTable *perl_settings;
|
static GHashTable *perl_settings;
|
||||||
|
|
||||||
@ -77,8 +76,6 @@ PREINIT:
|
|||||||
CODE:
|
CODE:
|
||||||
str = settings_get_str(key);
|
str = settings_get_str(key);
|
||||||
RETVAL = new_pv(str);
|
RETVAL = new_pv(str);
|
||||||
if (is_utf8())
|
|
||||||
SvUTF8_on(RETVAL);
|
|
||||||
OUTPUT:
|
OUTPUT:
|
||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#include "module.h"
|
#include "module.h"
|
||||||
#include "recode.h"
|
|
||||||
|
|
||||||
MODULE = Irssi::TextUI::TextBuffer PACKAGE = Irssi
|
MODULE = Irssi::TextUI::TextBuffer PACKAGE = Irssi
|
||||||
PROTOTYPES: ENABLE
|
PROTOTYPES: ENABLE
|
||||||
@ -81,8 +80,6 @@ PPCODE:
|
|||||||
str = g_string_new(NULL);
|
str = g_string_new(NULL);
|
||||||
textbuffer_line2text(line, coloring, str);
|
textbuffer_line2text(line, coloring, str);
|
||||||
result = new_pv(str->str);
|
result = new_pv(str->str);
|
||||||
if (is_utf8())
|
|
||||||
SvUTF8_on(result);
|
|
||||||
XPUSHs(sv_2mortal(result));
|
XPUSHs(sv_2mortal(result));
|
||||||
g_string_free(str, TRUE);
|
g_string_free(str, TRUE);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user