June 14, 2007
View 20fded1fe8

- fix: run_actions() & friends used some static variables to save some internal state (run_flags, last_ret a.s.o). Problems would appear when different routes (e.g. main route and an onsend route) would execute in the same process (e.g. an onsend route return would exit also the main route). Now run_actions(), do_action() and eval_expr() take an extra "context" parameter (which must be initialized before use).

Andrei Pelinescu-Onciul authored on 14/06/2007 23:12:26
June 17, 2006
View d766c020ec

- run_flags published in header file. It may require any module command that calls run_actions, e.g. to absorb return.

Tomas Mandys authored on 17/06/2006 09:40:59
December 12, 2005
View 01dea12497

- return [val] support (returns from the current route with value val, by default 1) - exit [val] support (exits the script with code val, where 0 means drop, >0 means do default actions and <0 means error) - drop is now equivalent to exit 0 - drop should be faster when used to exit deep routes - break is now equivalent with return 1 - the return code can be checked with $?, e.g.: if ($?==1) {...} else if ($?==-1){...} else {...}.

Andrei Pelinescu-Onciul authored on 12/12/2005 23:47:56
August 24, 2004
View 53c7e0f19a

- Spelling checked - READMEs updated

Jan Janak authored on 24/08/2004 08:45:09
September 19, 2002
View 7dd0b34273

GPLization banner introduced to *.[hc] files

Jiri Kuthan authored on 19/09/2002 12:23:52
May 13, 2002
View 3881f12c2c

TM callbacks, acc, flags

Jiri Kuthan authored on 13/05/2002 01:15:40
September 21, 2001
View 4ac74c03d9

- compiles ok

Andrei Pelinescu-Onciul authored on 21/09/2001 15:24:24