Mercurial > pidgin
comparison src/plugin.c @ 10504:1a97d5e88d12
[gaim-migrate @ 11796]
Lots of things here:
- Several memory leak fixes
- A few invalid memory access fixes
- Fix a yahoo crash going idle when away
- Fix Add user in chats to actually fill in the screenname
- Add gaim_account_{get,set}_enabled to perl
- Fix command priorities (fixes /me in IRC)
- Fix MSN notification server transfer to be quiet about it
- Fix MSN blist sync if user has insane friendly name
- Make the docklet less crash-happy if it fails to embed in 3 seconds
- Only probe for native plugins with the correct file extension
- 1 typo fix :)
... and quite possibly something else I forgot.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 11 Jan 2005 17:25:06 +0000 |
parents | 12460aa2c820 |
children | c604c88a7530 |
comparison
equal
deleted
inserted
replaced
10503:776586d647e3 | 10504:1a97d5e88d12 |
---|---|
28 #include "prpl.h" | 28 #include "prpl.h" |
29 #include "request.h" | 29 #include "request.h" |
30 #include "signals.h" | 30 #include "signals.h" |
31 #include "version.h" | 31 #include "version.h" |
32 | 32 |
33 #ifdef _WIN32 | |
34 # define PLUGIN_EXT ".dll" | |
35 #else | |
36 # ifdef __hpux | |
37 # define PLUGIN_EXT ".sl" | |
38 # else | |
39 # define PLUGIN_EXT ".so" | |
40 # endif | |
41 #endif | |
42 | |
43 typedef struct | 33 typedef struct |
44 { | 34 { |
45 GHashTable *commands; | 35 GHashTable *commands; |
46 size_t command_count; | 36 size_t command_count; |
47 | 37 |
180 /* If this plugin has already been probed then exit */ | 170 /* If this plugin has already been probed then exit */ |
181 plugin = gaim_plugins_find_with_filename(filename); | 171 plugin = gaim_plugins_find_with_filename(filename); |
182 if (plugin != NULL) | 172 if (plugin != NULL) |
183 return plugin; | 173 return plugin; |
184 | 174 |
185 plugin = gaim_plugin_new(has_file_extension(filename, PLUGIN_EXT), filename); | 175 plugin = gaim_plugin_new(has_file_extension(filename, GAIM_PLUGIN_EXT), filename); |
186 | 176 |
187 if (plugin->native_plugin) { | 177 if (plugin->native_plugin) { |
188 const char *error; | 178 const char *error; |
189 plugin->handle = g_module_open(filename, 0); | 179 plugin->handle = g_module_open(filename, 0); |
190 | 180 |