Changeset f1e629d for

Jul 6, 2003, 6:42:06 PM (18 years ago)
Erik Nygren <>
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
	New API for perl message formatting functions.
	        Legacy variables are still supported for owl::format_msg
		and owl::receive_msg, but these functions are now also
		passed an owl::Message object which contains methods
		for accessing the contents of the message.  See
		(and docs TBD) for the available methods.
		*** WARNING:  The exact API for owl::Message has
		*** not yet stabilized.
	Added "style" command for creating new styles.
	        Usage:  style <name> perl <function_name>
	Added support for "show styles".  Changed global style table
	        from list to dictionary.
	Changed AIM password prompt from "Password:" to "AIM Password:".
	Messages are reformatted after a window resize to allow styles
	        to take into account the width of the window.
	When perl throws an error, the message is put in the msgwin
	        if possible.
	Added perl functions for:
	        owl::getcurmsg() -- returns an owl::Message object for
		                    the active message
		                    in the current view.
	        owl::getnumcols() -- returns the column width of the window
		owl::zephyr_getrealm() -- returns the zephyr realm
	        owl::zephyr_getsender() -- returns the zephyr sender
	Made owl::COMMAND("foo"); be syntactic sugar for
	        owl::command("COMMAND foo");
		*** Is this a good or bad idea?
		*** This feature may be taken out before release.
	Added to contain perl code to be compiled into
	        the binary.  This is transformed into perlwrap.c by
	Renamed readconfig.c to perlconfig.c and changed variables accordingly.
	Minor bugfixes in cmd.c and commands.c
1 edited



    rbd3f232 rf1e629d  
    2020BASE_SRCS=list.c message.c mainwin.c popwin.c zephyr.c messagelist.c \
    2121     commands.c global.c text.c fmtext.c editwin.c util.c logging.c \
    22      readconfig.c keys.c functions.c zwrite.c viewwin.c help.c filter.c \
     22     perlconfig.c keys.c functions.c zwrite.c viewwin.c help.c filter.c \
    2323     regex.c history.c view.c dict.c variable.c filterelement.c pair.c \
    2424     keypress.c keymap.c keybinding.c cmd.c context.c zcrypt.c \
    25      aim.c buddylist.c timer.c style.c stylefunc.c
     25     aim.c buddylist.c timer.c style.c stylefunc.c 
    2626OWL_SRC = owl.c
    2727TESTER_SRC = tester.c
    2929BASE_OBJS = $(BASE_SRCS:.c=.o)
    31 GEN_C = varstubs.c perlglue.c
     31GEN_C = varstubs.c perlglue.c perlwrap.c
    3232GEN_H = owl_prototypes.h
    3333GEN_O = $(GEN_C:.c=.o)
    6161varstubs.c: variable.c
    6262        perl > varstubs.c
     65        perl owl_perlwrap_codebuff > perlwrap.c
    6467# Only move owl_prototypes.h into place if the new one is different
Note: See TracChangeset for help on using the changeset viewer.