annotate doc/gtkimhtml-signals.dox @ 32796:5ae7e1f36b43

Fix a possible XMPP remote crash A series of specially crafted file transfer requests can cause clients to reference invalid memory. The user must have accepted one of the file transfer requests. The fix is to correctly cancel and free a SOCKS5 connection attempt so that it does not trigger an attempt to access invalid memory later. This was reported to us by Jos«± Valent«żn Guti«±rrez and this patch is written by Paul Aurich.
author Mark Doliner <mark@kingant.net>
date Mon, 07 May 2012 03:16:31 +0000
parents 1981a7798b17
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9001
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
1 /** @page gtkimhtml-signals GtkIMHtml Signals
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
2
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
3 @signals
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
4 @signal url_clicked
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
5 @signal format_buttons_update
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
6 @signal format_function_clear
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
7 @signal format_function_toggle
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
8 @signal format_function_update
29632
a1b4795104eb Doxygen fix. Thanks Elliott.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 29629
diff changeset
9 @signal paste
9001
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
10 @endsignals
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
11
20807
e0613cf8c493 Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents: 12291
diff changeset
12 @see gtkimhtml.h
e0613cf8c493 Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents: 12291
diff changeset
13
9001
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
14 <hr>
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
15
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
16 @signaldef url_clicked
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
17 @signalproto
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
18 void (*url_clicked)(GtkIMHtml *imhtml, char *uri);
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
19 @endsignalproto
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
20 @signaldesc Emitted when a link is clicked
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
21 @param imhtml The GtkIMHtml emitting the signal.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
22 @param url The uri.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
23 @endsignaldef
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
24
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
25 @signaldef format_buttons_update
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
26 @signalproto
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
27 void (*format_buttons_update)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data);
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
28 @endsignalproto
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
29 @signaldesc Emitted when allowed formatting has changed.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
30 @param imhtml The GtkIMHtml emitting the signal.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
31 @param buttons GtkIMHtmlButtons for the GtkIMHtml.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
32 @param data User defined data.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
33 @endsignaldef
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
34
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
35 @signaldef format_function_clear
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
36 @signalproto
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
37 void (*format_function_clear)(GtkIMHtml *imhtml, gpointer data);
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
38 @endsignalproto
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
39 @signaldesc Emitted when clearing the formatting for the GtkIMHtml.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
40 @param imhtml The GtkIMHtml emitting the signal.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
41 @param data User defined data.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
42 @endsignaldef
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
43
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
44 @signaldef format_function_toggle
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
45 @signalproto
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
46 void (*format_function_toggle)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data);
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
47 @endsignalproto
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
48 @signaldesc Emitted when a format has been toggled.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
49 @param imhtml The GtkIMHtml emitting the signal.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
50 @param buttons GtkIMHtmlButtons for the GtkIMHtml.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
51 @param data User defined data.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
52 @endsignaldef
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
53
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
54 @signaldef format_function_update
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
55 @signalproto
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
56 void (*format_function_update)(GtkIMHtml *imhtml, gpointer data);
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
57 @endsignalproto
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
58 @signaldesc Emitted when the cursor has moved and formatting has changed
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
59 @param imhtml The GtkIMHtml emitting the signal.
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
60 @param data User defined data.
29629
ffb8cd9fb528 Allow binding 'Paste as Plain Text'.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 20807
diff changeset
61
ffb8cd9fb528 Allow binding 'Paste as Plain Text'.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 20807
diff changeset
62 @signaldef paste
ffb8cd9fb528 Allow binding 'Paste as Plain Text'.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 20807
diff changeset
63 @signalproto
ffb8cd9fb528 Allow binding 'Paste as Plain Text'.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 20807
diff changeset
64 void (*paste) (GtkIMHtml *imhtml, char *format)
ffb8cd9fb528 Allow binding 'Paste as Plain Text'.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 20807
diff changeset
65 @endsignalproto
29760
1981a7798b17 This looks like it should be @signaldesc.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 29632
diff changeset
66 @signaldesc Emitted when paste from the clipboard is requested.
29629
ffb8cd9fb528 Allow binding 'Paste as Plain Text'.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 20807
diff changeset
67 @param imhtml The GtkIMHtml emitting the signal.
ffb8cd9fb528 Allow binding 'Paste as Plain Text'.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 20807
diff changeset
68 @param format If 'text', then the formatting of the clipboard content
ffb8cd9fb528 Allow binding 'Paste as Plain Text'.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 20807
diff changeset
69 will be removed before pasting. If empty or 'html', then
ffb8cd9fb528 Allow binding 'Paste as Plain Text'.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 20807
diff changeset
70 the formatting will not be removed. Any other value for
ffb8cd9fb528 Allow binding 'Paste as Plain Text'.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 20807
diff changeset
71 this parameter is ignored and nothing is pasted.
9001
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
72 @endsignaldef
6bf49a1ec075 [gaim-migrate @ 9776]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
73 */
20807
e0613cf8c493 Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents: 12291
diff changeset
74 // vim: syntax=c.doxygen tw=75 et