summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-recode.c
AgeCommit message (Collapse)Author
2015-04-07Change all strcmp() to g_strcmp0() to handle nulls gracefullydequis
Just a string replacement (but i did check every one of them) sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
2008-06-10Cache charset related data rather than computing it everytime recode_{in,out}Emanuele Giaquinta
is called. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4862 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-06Pass NULL to settings_set_str to reset term_charset to its defaultEmanuele Giaquinta
value rather than hardcoding the string. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-06Remove kludge and add the 'setup changed' handler with higher priorityEmanuele Giaquinta
so that term_charset validation is performed before any use. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-17Pass NULL to settings_set_str to reset recode_fallback to its defaultEmanuele Giaquinta
value rather than hardcoding the string, fixes also a possible invalid g_free reported by Sven Wegener. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4829 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-14Use g_get_charset to retrieve the locale codeset.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-28Make some variables static.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4814 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15Replace tab between else and opening brace with space.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4771 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15Remove silly macro.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4770 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15Remove trailing whitespace.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4769 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20Farewell glib-1.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4509 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-19If transliterations don't work in the system (eg. Solaris), don't allowTimo Sirainen
recode_transliterate setting to be enabled. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4082 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-10Make the compiler happy by replacing 'const char *' by 'char *'.Valentin Batz
Pass the pointer to the SERVER_REC to dcc_ctcp_message. Recode 'own' messages back for printing just before they actually get printed. (ugly but more effective than adding all the signals in fe-recode and doing it there) Replaced SERVER_REC by IRC_SERVER_REC in dcc-chat.c since it's belongs to IRC(makes the compiler happy again). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-09Updated the syntax definition for /recode add in fe-recode.cValentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07Use char* instead of const char* in read_settings, so memory can be freed ↵Valentin Batz
without compiler warnings, by Toby Peterson (related to bug 210) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07Free the right memory in fe-recode.c (related to bug 210)Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3719 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06Fixed memleak when preserving valid charsets in read_settings in fe-recode.c ↵Valentin Batz
(Bug 210) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06Fix memleak in several commands that used cmd_return_error when they should ↵Wouter Coekaerts
be using cmd_param_error, by Toby Peterson (Bug 213) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-04Fixed a bug with /me, use the right arguments for "message irc own_action"Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-20Added <tag>/<target> support for recode.Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-20Changed the order of recode_out_default_charset, it doesn't override /recode ↵Valentin Batz
add anymore. The string returned by nl_langinfo(CODESET) may be empty, use ISO8859-1 in this case git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3306 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-15Fixed memleak in recode.c, fixed typo in special_vars.txt, fixed bug 105, ↵Valentin Batz
fixed bug 106 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-20forgot to addTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3284 dbcabf3a-b0e7-0310-adc4-f8d773084564