Mercurial > pidgin
comparison plugins/ChangeLog @ 445:e4c34ca88d9b
[gaim-migrate @ 455]
Hehehehehe
Libfaim got updated, gaim got updated. btw, gaim/faim can't sign in yet,
don't ask me why. it's not my fault.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Thu, 29 Jun 2000 20:40:28 +0000 |
| parents | ae7c762775cd |
| children | a26eb4c472d8 |
comparison
equal
deleted
inserted
replaced
| 444:e7885c54ed2f | 445:e4c34ca88d9b |
|---|---|
| 6 the important stuff summed up: | 6 the important stuff summed up: |
| 7 - 9 new events (see SIGNALS file for more details) | 7 - 9 new events (see SIGNALS file for more details) |
| 8 - int gaim_plugin_init(void *) (no longer returns void, see error.c) | 8 - int gaim_plugin_init(void *) (no longer returns void, see error.c) |
| 9 - void gaim_plugin_unload(void *) (to allow plugin to remove itself) | 9 - void gaim_plugin_unload(void *) (to allow plugin to remove itself) |
| 10 - can only load 1 instance of the same plugin | 10 - can only load 1 instance of the same plugin |
| 11 - PLUGIN_LIBS for extra libraries for plugin | |
| 11 | 12 |
| 12 The first thing to note is that there are about 9 new events plugins | 13 The first thing to note is that there are about 9 new events plugins |
| 13 can attach to, most of them dealing with chat, since I know that was a | 14 can attach to, most of them dealing with chat, since I know that was a |
| 14 big thing that was missing. Please note that I was nice and decided to | 15 big thing that was missing. Please note that I was nice and decided to |
| 15 tack these extra events onto the end of the enum, which means that | 16 tack these extra events onto the end of the enum, which means that |
| 52 would be called twice (since the plugin would most likely act the same | 53 would be called twice (since the plugin would most likely act the same |
| 53 across multiple instances), and when one was unloaded, all callbacks | 54 across multiple instances), and when one was unloaded, all callbacks |
| 54 for both instances would be removed. Rather than deal with two copies | 55 for both instances would be removed. Rather than deal with two copies |
| 55 of the same plugin, it is easier and cleaner to only handle one. | 56 of the same plugin, it is easier and cleaner to only handle one. |
| 56 | 57 |
| 58 Sometimes it's necessary to link a plugin with libraries other than the | |
| 59 ones needed for GTK. Before, it was necessary to modify the Makefile to | |
| 60 do so (which was usually messy since it's generated by GNU automake). | |
| 61 Now, you can simply set the environment variable PLUGIN_LIBS to be the | |
| 62 extra libraries you want to link in. For example, to link plugin.c with | |
| 63 the math library, you can run the command | |
| 64 PLUGIN_LIBS=-lm make plugin.so | |
| 65 To link with multiple plugins, make sure to indicate spaces, e.g. | |
| 66 PLUGIN_LIBS='-lm -lcrypt' make encrypt.so | |
| 67 | |
| 57 There is a new event, event_quit, which signifies that gaim has exited | 68 There is a new event, event_quit, which signifies that gaim has exited |
| 58 correctly (i.e. didn't segfault). Also, after this event is called, all | 69 correctly (i.e. didn't segfault). Also, after this event is called, all |
| 59 plugins are removed, and their gaim_plugin_remove function is called. | 70 plugins are removed, and their gaim_plugin_remove function is called. |
| 60 This behavior is different from previous versions; however, it is the | 71 This behavior is different from previous versions; however, it is the |
| 61 proper way of doing things, and should have no effect on current | 72 proper way of doing things, and should have no effect on current |
