annotate pidgin/plugins/perl/common/GtkLog.xs @ 28875:8464e695c62b

Fixes a bad MSN bug where passwords with multi-byte utf8 characters near the 16 byte mark would cause a segmentation fault due to chopping the multi-byte character and turning the string into invalidate utf8. Thanks to Shaun Lindsay at Meebo for tracking this down and fixing it.
author Mark Doliner <mark@kingant.net>
date Wed, 04 Nov 2009 18:41:21 +0000
parents 6e1967b0f90b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 #include "gtkmodule.h"
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
2
15526
cb0750152bf6 Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
3 MODULE = Pidgin::Log PACKAGE = Pidgin::Log PREFIX = pidgin_log_
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
4 PROTOTYPES: ENABLE
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
5
15838
e622745f6f42 Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15526
diff changeset
6 Purple::Handle
15526
cb0750152bf6 Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
7 pidgin_log_get_handle()
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
8
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
9 void
25416
6e1967b0f90b Change "screen name" to "username" or "buddy name" in a whole bunch of
Mark Doliner <mark@kingant.net>
parents: 21344
diff changeset
10 pidgin_log_show(type, buddyname, account)
15838
e622745f6f42 Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15526
diff changeset
11 Purple::LogType type
25416
6e1967b0f90b Change "screen name" to "username" or "buddy name" in a whole bunch of
Mark Doliner <mark@kingant.net>
parents: 21344
diff changeset
12 const char * buddyname
15838
e622745f6f42 Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15526
diff changeset
13 Purple::Account account
20615
78ef8bd992f9 Re-worked gtklog functions and perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19961
diff changeset
14
78ef8bd992f9 Re-worked gtklog functions and perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19961
diff changeset
15 void
15526
cb0750152bf6 Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
16 pidgin_log_show_contact(contact)
15838
e622745f6f42 Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15526
diff changeset
17 Purple::BuddyList::Contact contact
20615
78ef8bd992f9 Re-worked gtklog functions and perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19961
diff changeset
18
15526
cb0750152bf6 Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
19 MODULE = Pidgin::Log PACKAGE = Pidgin::SysLog PREFIX = pidgin_syslog_
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
20 PROTOTYPES: ENABLE
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
21
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
22 void
15526
cb0750152bf6 Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
23 pidgin_syslog_show()