mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
--enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPT
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL -> /SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups. filename_complete() has extra argument for "default directory" which is searched if no path is given when completing. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
2d5edb8c4d
commit
6c2f9c685a
26 changed files with 1052 additions and 506 deletions
|
|
@ -18,6 +18,7 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define NEED_PERL_H
|
||||
#include "module.h"
|
||||
#include "modules.h"
|
||||
#include "signals.h"
|
||||
|
|
@ -513,7 +514,7 @@ static void perl_unregister_protocol(CHAT_PROTOCOL_REC *rec)
|
|||
GINT_TO_POINTER(rec->id));
|
||||
}
|
||||
|
||||
void perl_common_init(void)
|
||||
void perl_common_start(void)
|
||||
{
|
||||
static PLAIN_OBJECT_INIT_REC core_plains[] = {
|
||||
{ "Irssi::Command", (PERL_OBJECT_FUNC) perl_command_fill_hash },
|
||||
|
|
@ -539,7 +540,7 @@ void perl_common_init(void)
|
|||
signal_add("chat protocol destroyed", (SIGNAL_FUNC) perl_unregister_protocol);
|
||||
}
|
||||
|
||||
void perl_common_deinit(void)
|
||||
void perl_common_stop(void)
|
||||
{
|
||||
g_hash_table_foreach(iobject_stashes, (GHFunc) free_iobject_hash, NULL);
|
||||
g_hash_table_destroy(iobject_stashes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue