CVS log for epic5/include/alias.h

Epicsol.org
(back) Up to [Epic CVS] / epic5 / include

Request diff between arbitrary revisions


Default branch: MAIN
Bookmark a link to: HEAD / (download)

Revision 1.27 / (view) - annotate - [select for diffs] , Sat Sep 23 01:56:42 2006 UTC (23 months, 2 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_9, epic5-0_3_8, epic5-0_3_7, epic5-0_3_6, epic5-0_3_5, epic5-0_3_4, epic5-0_3_3, epic5-0_3_2, HEAD
Changes since 1.26: +3 -0 lines
Diff to previous 1.26
Fix compiler warnings, should not be any functional changes.

Revision 1.26 / (view) - annotate - [select for diffs] , Tue Jun 6 04:08:48 2006 UTC (2 years, 3 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_1
Changes since 1.25: +2 -7 lines
Diff to previous 1.25
* Eliminate the third argument to expand_alias(), the statement spanner.
* Rename parse_line() to parse_block() to better reflect its duties.
* Make parse_block() static.  Everything needs to call runcmds() now.
* Eliminate the local-stack-creating feature of parse_block(), callers do this.
* Rename 'line' to 'stmt' in parse_statement().
* Sort of forget to re-implement /set cmdchars.  The / is the cmdchar.
* Try to optimize parse_statement() and next_statement() some.

Revision 1.25 / (view) - annotate - [select for diffs] , Sat Jun 3 15:47:04 2006 UTC (2 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.24: +4 -0 lines
Diff to previous 1.24
Add a /perl command, just for laughs
Fix some compiler warnings.

Revision 1.24 / (view) - annotate - [select for diffs] , Thu Jun 1 22:44:14 2006 UTC (2 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23
* Constify get_*_alias(), so lookups can't modify the actual alias this way.
* Rename parse_command() to parse_statement().
* Create a next_statement() to figure out how long the next stmt is.
* Stop using expand_alias() to rip apart statements. yay!
* Refactor parse_command and parse_statement to better define their roles.
* Push responsibility for expansion to parse_statement, someday, to cmds!
* Push responsibility for handling block statements to parse_statement.
* "Forget" to re-implement /set input_aliases.  I wonder if anyone will notice.
* Change the name of "hist_flag" to "interactive" to reflect its purpose.
* Change /load -std to use parse_statement() instead of parse_line()

Revision 1.23 / (view) - annotate - [select for diffs] , Fri Oct 21 02:50:00 2005 UTC (2 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_2_0, epic5-0_0_8, epic5-0_0_7
Changes since 1.22: +1 -0 lines
Diff to previous 1.22
* Add flush_all_symbols() which does a total cleanup of symbols at exit-time.
* Fix a few bugs
* Use flush_all_symbols() instead of /dump to catch memory leaks.

Revision 1.22 / (view) - annotate - [select for diffs] , Sat Mar 19 03:55:55 2005 UTC (3 years, 5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_6, epic5-0_0_5
Changes since 1.21: +0 -2 lines
Diff to previous 1.21
* Change "ERROR --" to "INFO --" to not alarm people as much.
* Change a few other warnings to not be so alarming.
* Change new_realloc() to not move ptr if it is big enough to hold new size.
* Fix all the status_* sub-formats to not have any hardcoded size limits.

Revision 1.21 / (view) - annotate - [select for diffs] , Tue Jan 25 23:45:39 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_4, epic5-0_0_3
Changes since 1.20: +1 -0 lines
Diff to previous 1.20
* Fix /dump
* Add $symbolctl(), huzzah!

Revision 1.20 / (view) - annotate - [select for diffs] , Sun Jan 23 21:41:28 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.19: +4 -3 lines
Diff to previous 1.19
* Hide ArgListT in alias.h to only those who need it, to save numbers.c
* Fix up a lot of compile warnings all over the place.
* Some changes to $hookctl() might need feedback from howl...
* Fix vhost support so we can do inbound sockets again.

Revision 1.19 / (view) - annotate - [select for diffs] , Sat Jan 1 18:03:22 2005 UTC (3 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.18: +30 -0 lines
Diff to previous 1.18
* Add arglists to hooks (by howl, who I will pester to document this). Woot!
* Finish $hookctl(), by howl.

Revision 1.18 / (view) - annotate - [select for diffs] , Wed Aug 11 22:58:39 2004 UTC (4 years ago) by jnelson
Branch: MAIN
Changes since 1.17: +7 -0 lines
Diff to previous 1.17
* Nix /save and pray nobody notices.
* Implement pmatch_* stuff in alias.c to use the unified symbol table.
* Commands, functions, and expandos now 100% integrated.  HUZZAH!
* Reimplement $get(set|command|function)s() to use the pmatch_* stuff.
* So they now pick up changes at runtime. HUZZAH!
* Allow built in /set to be conditionally added to the "set bucket"
* Don't put user-created /set's in the bucket
* Allow user to replace one user-created /sets but not builtin sets.
* Allow mangling of ALT_CHAR -- how did this ever get missed?
* Fix $currchans() so it works the way the documentation says it does.
* Fix some const correctness issues, introduce others. bleh.

Revision 1.17 / (view) - annotate - [select for diffs] , Mon Jul 26 22:35:20 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.16: +13 -1 lines
Diff to previous 1.16
* Add the rest of funcs to do builtin var support in unified symbol table.
* Change the unified data type for builtin funcs to (IrcVariable *).
* Implement "buckets", for O(N) scans of the unified symbol table.
* Change DEFAULT_USERINFO to DEFAULT_USER_INFORMATION to match the /set.
* Make the *_VAR stuff in vars.h 'int's.
* Change USER_INFO_VAR to USER_INFORMATION_VAR to match the /set.
* Change CLIENTINFO_VAR to CLIENT_INFORMATION_VAR to match the /set.
* Change STATUS_NICK_VAR to STATUS_NICKNAME_VAR to match the set.
* Put the defn of (struct IrcVariable) in vars.h, to expose to unified table.
* Convert all uses of now defunct (enum VAR_TYPES) to (int)
* Create "make_string_var_bydata", converts (IrcVariable *) to malloc string
* Change get_var_alias() to return (IrcVariable *)
* In that function that outputs set values, use make_string_var_bydata().
* Change hardcoded *_VAR uses into pointers to *_VAR, for deref at runtime.
* Major revamp of vars.c, to wholly create built in vars at runtime.
* Built in variables are stored in unified symbol table and vars.c xref array.
* *_VAR values now point through xref array to the actual variable data.
* Nix the now unnecessary get_variable_index().
* Add create_user_set(), backend for /SET -CREATE
* Add /SET -CREATE <name> <type> [{<code>}]
* Need to go back and implement the {<code>} thing.
* Revamp how /set works, using buckets, to implement auto-completion.
* $getsets() is not implemented yet, do that too.
* When looking up $<setname>, use the unified symbol table. HUZZAH!

Revision 1.16 / (view) - annotate - [select for diffs] , Thu Jul 22 23:49:45 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.15: +0 -5 lines
Diff to previous 1.15
* Make stripcrap(ALL) exclude "ALL_OFF", so I can...
* Fix bug with $stripcrap(ALL,-BOLD ^B^B^Btest). (rb BlackJac)
* Make the #define Char const char thing global to all of epic now.
* Whack /set scroll.
* Create a "/set data" type (VARIABLE) which is union of (int) and (char *).
* Expose VARIABLE and variable types in vars.h for others to use.
* Break init of /set's into two parts, one to malloc() the set data
* The second part is to init the default values once command line is done.
* Fix some warnings from --with-warns
* Fix all /set callbacks to accept a (void *)(VARIABLE *) variable
* /Set callbacks can now directly modify the /set via that variable!
* So don't allow direct setting of /set's from outside vars.c.
* Everybody must use set_var_value() which is the backend to /set.
* Whack the /IRCNAME and /REALNAME variable -- use /SET REALNAME, eh!
* Hack up /xecho -x to bide my time until i whack all those /sets it uses.
* Don't call set_input_prompt() in main() any more, it's handled elsewhere.
* Whack /set logfile callback, since nobody seems to have missed it.
* Whack the "number" (float) data in /set since i wasn't gonna use it.
* Whack the "GLOBAL/CHANGED" tracking in /set's.  Tell me if you miss this.
* Unify output of /set values as "[New|Current] value of <var> is <val>"
* Don't limit the size of /set continued_line, this will be revisited soon.
* Quick and dirty hack to work around adm's bug, will fix this later.

Revision 1.15 / (view) - annotate - [select for diffs] , Fri Jul 2 21:29:21 2004 UTC (4 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.14: +16 -1 lines
Diff to previous 1.14
* Add a "saved" list item off of the Symbol type to store /stack'ed stuff.
* Implement stack push|pop|list for all 6 symbol types.
* Nix the "line/global" tracking for symbols
* Rename "filename" tracking for symbols to "package"
* Create clone_arglist() to clone an arglist, duh.
* Change "user_variable_stub" symbol field to be an integer
* Stash the stubbed filename in "user_variable" if stub is set.

Revision 1.14 / (view) - annotate - [select for diffs] , Mon Jun 28 22:48:15 2004 UTC (4 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.13: +57 -31 lines
Diff to previous 1.13
* Begin massive refactorization of alias.c, redefining "Alias" as "Symbol"
* Refactor parse_line() with a bunch of front end call_* functions.
* And a general parse_line() front end, "runcmds()".
* Roll builtin expandos in with the user variables
* Roll variables and commands together into one name space. HUZZAH!
* Nix the caches for the global name space, for now.
* I definitely broke /stack alias|assign here.  I'll fix it later.
* Inline expandos are now officially strings instead of a single char.
* Fix bug with $unshift() that popped up.
* Move after_expando() to ircaux.c.  I think it belongs there more.

Revision 1.13 / (view) - annotate - [select for diffs] , Sun Jun 27 14:07:07 2004 UTC (4 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.12: +8 -1 lines
Diff to previous 1.12
Unify functions with commands/aliases. HUZZAH!

Revision 1.12 / (view) - annotate - [select for diffs] , Sun Jun 27 13:33:36 2004 UTC (4 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11
Optimize some stuff.

Revision 1.11 / (view) - annotate - [select for diffs] , Sun Jun 27 03:30:16 2004 UTC (4 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.10: +3 -1 lines
Diff to previous 1.10
* Fix up parse_command() to get aliases and built in commands from aliases.
* This unifies commands and alias name spaces. HUZZAH!

Revision 1.10 / (view) - annotate - [select for diffs] , Fri Jun 25 21:01:16 2004 UTC (4 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.9: +23 -16 lines
Diff to previous 1.9
*** WARNING **** WARNING *** WARNING *** WARNING ***
This project is half finished.  I think this stuff works, but I can't be
held responsible if something breaks.  Please wait until I finish the rest
of this project before getting unhappy with me for breaking stuff.
*** WARNING **** WARNING *** WARNING *** WARNING ***

* Split alias item to hold commands and variables separately
* Nix COMMAND_COMPLETION keybinding.  Script replacement forthcoming.
* Nix "Use your nickname as alias for /me" feature.
* Nix automatic command completion (ie, /whoi no longer expands to /whois)
* Work towards not using 'command' var in builtin commands.
* This will allow me to get rid of 'server_func' in builtin command data type
* Nix the 'flags' var in builtin command data type.
* Nix the 'serv_command' var in builtin command data type.
* Create 'init_builtin_commands' to run at startup, add commands to alias
* Shimmy find_cmd_alias to ignore built in commands for now.  Not for long!
* So built in commands should be hung off of aliases now.
* Create 'builtins' script that aliases some previously builtin commands.
* Load this script from global.  Don't forget to alarm users.

Revision 1.9 / (view) - annotate - [select for diffs] , Sun Dec 14 20:04:09 2003 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_2, epic5-0_0_1
Changes since 1.8: +3 -3 lines
Diff to previous 1.8
* Nix auto-append-of-$* feature (args_flag to expand_alias/parse_inline)
* Fix provided scripts to add $* when necessary.
* Fix up Makefile, configure, et al, to use epic5/ directories.

Revision 1.8 / (view) - annotate - [select for diffs] , Fri Nov 7 23:43:47 2003 UTC (4 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_5, epic4-1_2_4, epic4-1_2_3, epic4-1_2_2, epic4-1_2_1, epic4-1_2_0, epic4-1_1_17, epic4-1_1_16
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
Implement infinite recursion detector and thwarter.  It requires a #define
in config.h, the future of which I have not decided yet.

Revision 1.7 / (view) - annotate - [select for diffs] , Fri Oct 31 08:19:23 2003 UTC (4 years, 10 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_15, epic4-1_1_14
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
* Numerous updates/changes/fixes to DCC, functions, scripts, /EXEC, the
  new math parser, as per UPDATES and KNOWNBUGS.

One potential incompatibility is in the change to $open(). (as per UPDATES)

Revision 1.6 / (view) - annotate - [select for diffs] , Thu Jul 31 05:53:19 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_13
Changes since 1.5: +2 -0 lines
Diff to previous 1.5
Fix bug 5 -- panic when you do $push(:foo   ) [and $unshift() too]

Revision 1.5 / (view) - annotate - [select for diffs] , Thu Jul 10 08:50:30 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.4: +7 -1 lines
Diff to previous 1.4
* Convert parse_line_with_return() to call_lambda_function().

Revision 1.4 / (view) - annotate - [select for diffs] , Fri May 9 03:29:52 2003 UTC (5 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_12
Changes since 1.3: +13 -12 lines
Diff to previous 1.3
* Rename 'dcc()' to 'dcc_cmd()' so we can use dcc as variable
* Garbage collect unused 'irc_path' global variable.
* Add --with-warns to configure to do FreeBSD "WARNS" like compiler checks
* Many hundreds of changes to improve the "quality of code" in epic, including:
* - Treat all literal strings as (const char *) and fix const correctness.
* - Mopping up all remaining const-correctness issues
* - Do not "launder" a (const char *) to a (char *) in string searches, (ala
    strchr) but rather return a ssize_t offset value.
* - Particular, MatchingBracket() returns (ssize_t) and not (char *).
* - Eliminate all "shadow" variable names by changing them to something else.
* - Eliminate most function decls that do not include a prototype list.
* - Add prototypes for all extern functions that are missing them.
* - Ensure most function pointers include a prototype list.
* - In term.c, most of those (char *)'s are really (const char *)'s.
* - Explicitly specify 'static' functions as 'static'
* - Ensure every function is either 'static' or has a prototype.
* - Eliminate (unsigned) < (signed) type comparisons.
* Hopefully you should not notice any changes!

Revision 1.3.2.4 / (view) - annotate - [select for diffs] , Wed Mar 26 12:38:50 2003 UTC (5 years, 5 months ago) by wd
Branch: wd-devel
Changes since 1.3.2.3: +3 -15 lines
Diff to previous 1.3.2.3 to branch point 1.3 to next main 1.4
A lot more cleanup.  Namespace scope changing within aliases now works.
-wd

Revision 1.3.2.3 / (view) - annotate - [select for diffs] , Wed Mar 26 09:20:45 2003 UTC (5 years, 5 months ago) by wd
Branch: wd-devel
Changes since 1.3.2.2: +3 -6 lines
Diff to previous 1.3.2.2 to branch point 1.3
Okay.  User input is now handled specially, and parse_command() will not
accept incomplete command names anymore.
-wd

Revision 1.3.2.2 / (view) - annotate - [select for diffs] , Thu Feb 27 15:14:17 2003 UTC (5 years, 6 months ago) by wd
Branch: wd-devel
Changes since 1.3.2.1: +2 -2 lines
Diff to previous 1.3.2.1 to branch point 1.3
Getting ready for a branch merge (don't worry, I'm merging epic's HEAD on
to my tree, not the other way around! :)
-wd

Revision 1.3.2.1 / (view) - annotate - [select for diffs] , Thu Feb 27 12:17:23 2003 UTC (5 years, 6 months ago) by wd
Branch: wd-devel
Changes since 1.3: +21 -4 lines
Diff to previous 1.3
Whee.  Preliminary work is done.  I've converted things to use hash tables
instead of alists (if this doesn't work out, I'll go back to alists).
Namespaces exist, but are not yet addable.  That will come.

I'm very sure things are still a bit unstable, but the absolute basics of
adding variables/functions and executing/retrieving them works.  That was
my first milestone.

-wd

Revision 1.3 / (view) - annotate - [select for diffs] , Mon Oct 28 23:45:39 2002 UTC (5 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_9, epic4-1_1_8, epic4-1_1_11, epic4-1_1_10
Branch point for: wd-devel
Changes since 1.2: +1 -0 lines
Diff to previous 1.2
Add $joinstr() and let $jot() work on floating point variables.

Revision 1.2 / (view) - annotate - [select for diffs] , Tue Aug 6 15:54:38 2002 UTC (6 years, 1 month ago) by wd
Branch: MAIN
CVS Tags: epic4-1_1_7, epic4-1_1_6
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
Fix typo, increment commit_id which I forgot to do. :)
-wd

Revision 1.1.1.1 / (view) - annotate - [select for diffs] (vendor branch) , Tue Dec 5 00:11:57 2000 UTC (7 years, 9 months ago) by jnelson
Branch: epicsol
CVS Tags: start, epic4_0_9_15, epic4-1_1_5, epic4-1_1_4, epic4-1_1_3, epic4-1_1_1, epic4-1_0_1, epic4-1_0, epic4-0_9_17, epic4-0_9_16, epic4-0_9_15, epic4-0_9_14, epic4-0_10_0, epic-test-tag2, epic-test-tag
Changes since 1.1: +0 -0 lines
Diff to previous 1.1
Initial import into CVS

Revision 1.1 / (view) - annotate - [select for diffs] , Tue Dec 5 00:11:57 2000 UTC (7 years, 9 months ago) by jnelson
Branch: MAIN
Initial revision

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Diffs between and
Type of Diff should be a

View only Branch:
Sort log by:

CVS Admin
Powered by
ViewCVS 0.9.2