CVS log for epic5/source/vars.c

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

Request diff between arbitrary revisions


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

Revision 1.105 / (view) - annotate - [select for diffs] , Mon Aug 25 22:58:57 2008 UTC (10 days, 22 hours ago) by jnelson
Branch: MAIN
CVS Tags: HEAD
Changes since 1.104: +60 -60 lines
Diff to previous 1.104
* Add stub code for a scrollback indicator in the future (rb twincest)
* Add stub code for a ucs32 input line in the future.
* Reformat all of the /set creation code in vars.c

Revision 1.104 / (view) - annotate - [select for diffs] , Fri May 9 15:26:34 2008 UTC (3 months, 3 weeks ago) by alex
Branch: MAIN
CVS Tags: epic5-0_3_9
Changes since 1.103: +4 -2 lines
Diff to previous 1.103
Revamped input line a little. Added indicator for text scrolled off the left
of our input line.

Revision 1.103 / (view) - annotate - [select for diffs] , Fri Apr 4 03:51:05 2008 UTC (5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_8
Changes since 1.102: +2 -2 lines
Diff to previous 1.102
* Roll in a bunch of changes from larne to make epic5 more vms-friendly
* Rename if.h -> ifcmd.h  (larne) -- Make sure you rerun configure!
* Run make depend to pick up name change of if.h
* Check for <sys/param.h> in configure (larne)
* Extern funcs are case insensitive in strict c90, fix (larne)
* Rename options -> options.h since vms requires a dot in filename (larne)
* Change "readonly" -> "rdonly" since "readonly" is a symbol in vms. (larne)
* Pull in "compat.h" for gailib.c and glob.c (larne)
* Set stdout to be explciitly line buffered at startup (larne)
* Returning a value from void functino forbidden by strict c90. fix (larne)
* Fix some compiler warnings that were lying around.
* There are more changes forthcoming, these were the easy ones.

Revision 1.102 / (view) - annotate - [select for diffs] , Sat Mar 29 18:00:16 2008 UTC (5 months, 1 week ago) by jnelson
Branch: MAIN
Changes since 1.101: +2 -2 lines
Diff to previous 1.101
* Roll forward portability changes from epic4-2.10 (larne)
* This also includes term.h -> termx.h -- Make sure you rerun configure!

Revision 1.101 / (view) - annotate - [select for diffs] , Fri Sep 14 01:55:54 2007 UTC (11 months, 3 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_7, epic5-0_3_6, epic5-0_3_5
Changes since 1.100: +2 -1 lines
Diff to previous 1.100
* Add new status expando %{1}H which expands when in hold mode and not holding.
* Add /set status_holdmode which controls %{1}H
* Add %{1}H to the default status format.

Revision 1.100 / (view) - annotate - [select for diffs] , Tue Aug 14 01:29:50 2007 UTC (12 months, 3 weeks ago) by jnelson
Branch: MAIN
Changes since 1.99: +5 -6 lines
Diff to previous 1.99
* Add /SET DEFAULT_REALNAME and DEFAULT_USERNAME
* Add scripted /set realname and /ircuser in builtins for backwards compat.

Revision 1.99 / (view) - annotate - [select for diffs] , Fri Jul 20 22:03:59 2007 UTC (13 months, 2 weeks ago) by jnelson
Branch: MAIN
Changes since 1.98: +2 -1 lines
Diff to previous 1.98
* Add /lastlog -rewrite (see UPDATES)
* Add /set lastlog_rewrite as a special favor for larne.

Revision 1.98 / (view) - annotate - [select for diffs] , Sun May 20 00:06:49 2007 UTC (15 months, 2 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_4
Changes since 1.97: +31 -1 lines
Diff to previous 1.97
* Fix a couple of bugs rb zlonix
* When doing /stack pop set ... the callback (if any) should be invoked.

Revision 1.97 / (view) - annotate - [select for diffs] , Mon May 14 01:33:33 2007 UTC (15 months, 3 weeks ago) by jnelson
Branch: MAIN
Changes since 1.96: +3 -1 lines
Diff to previous 1.96
* Add ^Vs to the start of  DEFAULT_STATUS_FORMAT* in config.h
* Comment out code for /set reverse_status_line pending removal later.
* GC the code for -f/-F/-o/-O command line arguments
* Fix the serverctl() comment for howl

Revision 1.96 / (view) - annotate - [select for diffs] , Thu Apr 12 02:24:14 2007 UTC (16 months, 3 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_3
Changes since 1.95: +2 -2 lines
Diff to previous 1.95
* Add arg to panic() controlling whether panic is sent via QUIT (rb black)

Revision 1.95 / (view) - annotate - [select for diffs] , Mon Mar 26 23:20:53 2007 UTC (17 months, 1 week ago) by jnelson
Branch: MAIN
Changes since 1.94: +4 -1 lines
Diff to previous 1.94
* Fix bugs with 'builtins' (zlonix)
* Revamp the term_init() function, document, etc.
* Unconditionally turn off IEXTEN, IXON, IXOFF, to reclaim all of the chars
  that kernels steal from us (like ^S, ^Q, ^O, ^V, etc)
* Whack the -f/-F/-o/-O command line options; per above.
* I can now bind and use ^S and ^Q and ^V.  Yay!
* Fix initialization of ruby, so it actually works for the first time! YAY!
* Refactor how lastlog is trimmed, by removing a specific item
* Start working on code to remove items from lastlog by grep.
* Fix crashes with /stack push set that kitambi told me about
* Put in a trivial sleep when checking screen size to avoid race with screen.

Revision 1.94 / (view) - annotate - [select for diffs] , Sat Sep 30 00:36:08 2006 UTC (23 months, 1 week ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_2
Changes since 1.93: +2 -10 lines
Diff to previous 1.93
* Pass double ptr to remove_bindings_recurse() to fix exit-time memory leak.
* Remove /set bad_style, input_aliases, security,  (unused)
* Remove /set ssl_certfile, ssl_keyfile, and ssl_path (unused)
* Add a (ServerInfo) object to (Server), switch to using it.
* Remove a bunch of unused thingees in (Server) while i'm here.
* Restore /set reverse_status_line to a builtin. oh well.

Revision 1.93 / (view) - annotate - [select for diffs] , Sun Sep 24 15:03:58 2006 UTC (23 months, 1 week ago) by jnelson
Branch: MAIN
Changes since 1.92: +13 -1 lines
Diff to previous 1.92
* Fixes for two memory leaks from nullie
* New /on, /ON WINDOW_SERVER, from nullie who needs to write a blurb.

Revision 1.92 / (view) - annotate - [select for diffs] , Sat Sep 23 01:56:44 2006 UTC (23 months, 2 weeks ago) by jnelson
Branch: MAIN
Changes since 1.91: +1 -7 lines
Diff to previous 1.91
Fix compiler warnings, should not be any functional changes.

Revision 1.91 / (view) - annotate - [select for diffs] , Thu Sep 21 11:09:09 2006 UTC (23 months, 2 weeks ago) by jnelson
Branch: MAIN
Changes since 1.90: +93 -1 lines
Diff to previous 1.90
* Finish implementation of /stack push|pop set with symbol table, rb nullie.
* Preliminary work making @#chan public show up in #chan's window.

Revision 1.90 / (view) - annotate - [select for diffs] , Sun Aug 27 19:12:04 2006 UTC (2 years ago) by jnelson
Branch: MAIN
Changes since 1.89: +1 -2 lines
Diff to previous 1.89
* Finally whack unused /set status_truncate_rhs
* New versions of autojoin and reconnect from nullie
* Fix /xecho -l for larne. yay!

Revision 1.89 / (view) - annotate - [select for diffs] , Sat Jun 24 14:54:25 2006 UTC (2 years, 2 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_1
Changes since 1.88: +2 -1 lines
Diff to previous 1.88
* Add /set mail_type (MBOX or MAILDIR) to control what we check for mail.
* Make rebuild-scrollback a toggle flag instead of an operation.
* Teach update_all_windows() how to rebuild scrollback
* Write some preliminary code for the unified lastlog

Revision 1.88 / (view) - annotate - [select for diffs] , Sat May 27 17:14:08 2006 UTC (2 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.87: +2 -27 lines
Diff to previous 1.87
* Whack /set highlight_char which is no longer being used.
* Move away from calling parse_line() and runcmds(), towards the call_* funcs

Revision 1.87 / (view) - annotate - [select for diffs] , Sat Dec 10 04:24:13 2005 UTC (2 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_2_0, epic5-0_0_8
Changes since 1.86: +22 -2 lines
Diff to previous 1.86
* Add /window indent, allowing you to overrule /set indent per-window basis.
* Make window breaking use /window indent
* But /set indent still overrules any /window indent's you've set. :/

Revision 1.86 / (view) - annotate - [select for diffs] , Thu Oct 13 00:11:59 2005 UTC (2 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_7
Changes since 1.85: +1 -2 lines
Diff to previous 1.85
* Nix some func decls in windows.h that don't exist any more
* Add message_setall(), lets you save to_window on the message_from stack.
* Replace users of message_to() with message_setall().
* Replace direct users of to_window with message_setall(). yay!
* /XECHO got rewritten as part of this.  See UPDATES
* Fix various compiler warnings.

Revision 1.85 / (view) - annotate - [select for diffs] , Wed Oct 5 22:51:36 2005 UTC (2 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.84: +3 -26 lines
Diff to previous 1.84
Remove all these evil /set's that i have hated for years and years!
* Fix /xecho -x
* Remove /set alt_charset, blink_video, bold_video, color, display_ansi
* Remove /set display_pc_characters, inverse_video, underline_video. HUZZAH!

Revision 1.84 / (view) - annotate - [select for diffs] , Wed Oct 5 21:37:25 2005 UTC (2 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.83: +30 -13 lines
Diff to previous 1.83
* Change all the builtin functions to use new_normalize_string().
* Change the input prompt to use new_normalize_string().
* Add /set mangle_display. HUZZAH!
* Change the display stuff to new_normalize_string() and /set mangle_display
* Whack the now unused normalize_string(). HUZZAH! HUZZAH! HUZZAH!
* Change the seperator of the mangler-type-parser to be spaces and not commas.
* Start keeping a monotonically increasing refnum for all lastlog items
* Change add_to_lastlog() to return the lastlog refnum
* Change add_to[_window]_scrollback]() to take the lastlog refnum
* Cross-link scrollback items with the corresponding lastlog refnum.
* Save scrollback/hold position across scrollback rebuilds
* This means rebuilding doesn't affect scrollback/hold users! HUZZAH!
* Whack the now unnecessary /window auto_scrollback (mis)feature.
* Don't unconditionally unclear after rebuild, if everything still fits.

Revision 1.83 / (view) - annotate - [select for diffs] , Fri Sep 30 02:38:04 2005 UTC (2 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.82: +9 -11 lines
Diff to previous 1.82
For a little while at least, $stripcrap() acts differently from the
/set mangle_* type stuff.  This is a work in progress.  Please be patient =)

* Nix the last vestiges of the unsupported ROM_CHAR feature.
* Nix some now unused function decls in screen.h
* Add new_normalize_line, which is a unified normalizer/mangler (*gulp*)
* Cut over $stripcrap() to use new_normalize_line (*double gulp*)
* Rename "ANSI" mangle type to "NORMALIZE", but still accept "ANSI"
* Nix the gxlate table, and change ^T from State 4 to State 6 character.

Revision 1.82 / (view) - annotate - [select for diffs] , Tue Aug 30 22:45:13 2005 UTC (3 years ago) by jnelson
Branch: MAIN
Changes since 1.81: +1 -44 lines
Diff to previous 1.81
* Fix bug with comma operator in new math parser that crazyeddy found.
* Whack support for 7 bit terminals (8 bit support is now assumed)
* Whack support for /set eight_bit_characters
* Whack support for /set beep_max, tab, tab_max, and nd_space_max

Revision 1.81 / (view) - annotate - [select for diffs] , Wed Aug 24 01:31:25 2005 UTC (3 years ago) by jnelson
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80
Fix braino.

Revision 1.80 / (view) - annotate - [select for diffs] , Wed Aug 24 00:57:36 2005 UTC (3 years ago) by jnelson
Branch: MAIN
Changes since 1.79: +5 -1 lines
Diff to previous 1.79
* Wrap scripted set callbacks in window_display = 0 to simulate /on ^set.

Revision 1.79 / (view) - annotate - [select for diffs] , Thu Aug 11 03:51:57 2005 UTC (3 years ago) by jnelson
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78
* Fix "ALL" mangle level to not include "UNPRINTABLE"
* Fix /on 367 in 2.8script, from larne.

Revision 1.78 / (view) - annotate - [select for diffs] , Wed Aug 3 03:21:39 2005 UTC (3 years, 1 month ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_6
Changes since 1.77: +2 -1 lines
Diff to previous 1.77
* Add /set old_math_parser, to turn on the old math parser (don't do this! :P)

Revision 1.77 / (view) - annotate - [select for diffs] , Wed Aug 3 02:10:07 2005 UTC (3 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.76: +9 -3 lines
Diff to previous 1.76
* Add "UNPRINTABLE" as a mangle type, remove all non-printable chars.

Revision 1.76 / (view) - annotate - [select for diffs] , Sat Jul 30 16:29:43 2005 UTC (3 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.75: +5 -1 lines
Diff to previous 1.75
Fix /on set which breaks if you hook it with /on ^set, noticed by jm.

Revision 1.75 / (view) - annotate - [select for diffs] , Sat Jun 4 12:51:50 2005 UTC (3 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.74: +1 -5 lines
Diff to previous 1.74
Fix a really dumb bug i left beind.

Revision 1.74 / (view) - annotate - [select for diffs] , Sat Jun 4 02:59:33 2005 UTC (3 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.73: +1 -24 lines
Diff to previous 1.73
* Don't do LOCAL_COPY within an infinite loop, leads to stack exahustion.
* Support new signal, SIGUSR2 which throws "system_exception".
* Teach the block commands about "system_exception" so they can be stopped.
* Whack a bunch of unused timers from vars.c. (see UPDATES)
* Sync up config.h, vars.h, and vars.c with each other.
* Add "domains" to timers, server timers, window timer, general timers
* When timers go off, latch back to their domain
* Allow timers to self-cancel if their latched item has gone away
* Add /timer -general to set a general timer.
* Make /timer -win or /timer -serv set a window or serv timer especially.

Revision 1.73 / (view) - annotate - [select for diffs] , Mon May 2 02:55:49 2005 UTC (3 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.72: +1 -123 lines
Diff to previous 1.72
GC a bunch of stuff no longer in use.

Revision 1.72 / (view) - annotate - [select for diffs] , Tue Apr 26 12:57:24 2005 UTC (3 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.71: +5 -2 lines
Diff to previous 1.71
Comment out /set -create, now that /addset is mature.

Revision 1.71 / (view) - annotate - [select for diffs] , Tue Mar 29 00:45:23 2005 UTC (3 years, 5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_5
Changes since 1.70: +2 -2 lines
Diff to previous 1.70
Oh yea, wasn't I supposed to not nix /set show_channel_names?

Revision 1.70 / (view) - annotate - [select for diffs] , Mon Mar 28 23:50:07 2005 UTC (3 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.69: +25 -1 lines
Diff to previous 1.69
* Round one of blackjac's 'builtins' script.
* Comment out a ton of now-scripted sets.  Will GC it later.

Revision 1.69 / (view) - annotate - [select for diffs] , Mon Mar 21 03:16:28 2005 UTC (3 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68
Commit the last changes.

Revision 1.68 / (view) - annotate - [select for diffs] , Mon Mar 21 02:59:16 2005 UTC (3 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.67: +3 -2 lines
Diff to previous 1.67
Comment out all of the history code.  Will GC it later.

Revision 1.67 / (view) - annotate - [select for diffs] , Fri Mar 11 05:02:22 2005 UTC (3 years, 5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_4
Changes since 1.66: +2 -3 lines
Diff to previous 1.66
* Fix compile error for #define UNAME_HACK
* Fix crash when you do $open(/file/doesnt/exist R)
* Add an /on 338 default handler.
* Fix integer underflow with log file refnums
* Rename STATUS_USER0 to STATUS_USER for backwards compat. oops!
* Whack BRACE_LOAD_HACK, it's been unsupported for a while.  PF loader rules!
* Don't allow /botmode if #define NO_BOTS
* Fix DCC connections instantly "timing out"? (Check on this)
* Whack FLOATING_POINT_SUPPORT and depend only on /set floating_point_math

Revision 1.66 / (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_3
Changes since 1.65: +20 -16 lines
Diff to previous 1.65
* Fix /dump
* Add $symbolctl(), huzzah!

Revision 1.65 / (view) - annotate - [select for diffs] , Wed Jan 12 00:12:21 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.64: +4 -2 lines
Diff to previous 1.64
* Refactor window_check_servers() to work with server's current window only.
* Roll forward all the rest of changes from epic4 (i think)
* Add /ON NEW_NICKNAME, when epic needs a new nickname from you.
* Run 'make depend', fix compile errors, fix 'environment' script

Revision 1.64 / (view) - annotate - [select for diffs] , Tue Nov 2 23:17:34 2004 UTC (3 years, 10 months ago) by jnelson
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63
* Fix $logctl() from epic4.
* ALL/ALL_OFF fix from epic4.

Revision 1.63 / (view) - annotate - [select for diffs] , Tue Aug 24 22:27:24 2004 UTC (4 years ago) by jnelson
Branch: MAIN
Changes since 1.62: +10 -2 lines
Diff to previous 1.62
* Nix calls to dcc_connected(<fd>, 0) which were always bogus.
* Create print_arglist() for printing alias arglists, natch.
* Fix crash from /queue -del <name> <num> for <num> = <items> + 1 (rb black)
* Show arglist when creating and listing aliases.
* Fix memory leaks of buckets when user grabs /on set.
* Add a "alternate names" bucket to server data.
* Create a whole new api for querying and creating server refnums.
* Fix crash with /dump on (/dump all)
* Add $serverctl(GET|SET <refnum> ALIAS) get and set server alternate desigs
* Add $serverctl(GET|SET <refnum> ALIASES) get and set entire list.
* Fix memory leak with /on set

Revision 1.62 / (view) - annotate - [select for diffs] , Fri Aug 13 01:21:19 2004 UTC (4 years ago) by jnelson
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61
Fix $getset() so it's case insensitive again, reported by Xavier.

Revision 1.61 / (view) - annotate - [select for diffs] , Thu Aug 12 15:59:29 2004 UTC (4 years ago) by jnelson
Branch: MAIN
Changes since 1.60: +9 -2 lines
Diff to previous 1.60
Fix memory leak reported by crazyeddy.

Revision 1.60 / (view) - annotate - [select for diffs] , Thu Aug 12 15:48:01 2004 UTC (4 years ago) by jnelson
Branch: MAIN
Changes since 1.59: +8 -2 lines
Diff to previous 1.59
Fix typo that caused crash.

Revision 1.59 / (view) - annotate - [select for diffs] , Wed Aug 11 22:58:39 2004 UTC (4 years ago) by jnelson
Branch: MAIN
Changes since 1.58: +52 -74 lines
Diff to previous 1.58
* 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.58 / (view) - annotate - [select for diffs] , Thu Jul 29 15:39:50 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.57: +2 -9 lines
Diff to previous 1.57
Implement $getsets() again.

Revision 1.57 / (view) - annotate - [select for diffs] , Wed Jul 28 00:02:39 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.56: +96 -96 lines
Diff to previous 1.56
* Refactor IrcVariable to not depend on having the varname.
* This will lead to multiple hard links to the same /set value in the future.
* Nix the 'name' and 'hash' values in IrcVariable, no longer needed.
* Make all uses of "realname" use the /set realname variable (rb adm)
* Nix the global "realname" variable, use /set realname for all.
* Fix bug with free_bucket()
* Fix compile warnings in vars.c
* Store built in variable xref table in a bucket.
* When changing a user-created /set, start calling the user's scriptback
* Allow the user's scriptback to call /set to override the user's value.
* Tell the user that they created a new /set.

Revision 1.56 / (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.55: +463 -585 lines
Diff to previous 1.55
* 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.55 / (view) - annotate - [select for diffs] , Fri Jul 23 23:51:07 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.54: +29 -31 lines
Diff to previous 1.54
Fix another bogon, reported by hsoc, crazyeddy.

Revision 1.54 / (view) - annotate - [select for diffs] , Fri Jul 23 23:26:46 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.53: +4 -2 lines
Diff to previous 1.53
Fix bogon.

Revision 1.53 / (view) - annotate - [select for diffs] , Fri Jul 23 00:07:13 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.52: +212 -210 lines
Diff to previous 1.52
I promise I am going somewhere with this.

Revision 1.52 / (view) - annotate - [select for diffs] , Thu Jul 22 23:49:46 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.51: +569 -558 lines
Diff to previous 1.51
* 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.51 / (view) - annotate - [select for diffs] , Tue May 4 00:06:55 2004 UTC (4 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.50: +4 -1 lines
Diff to previous 1.50
* Add /set old_server_lastlog_level, for when you merge windows to servers.
* Add %{2}W status expando for black, shows /set status_window in all windows.

Revision 1.50 / (view) - annotate - [select for diffs] , Mon Apr 12 23:19:49 2004 UTC (4 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.49: +2 -1 lines
Diff to previous 1.49
* Move some defines from comands.h to where they belong
* Add and remove func decls in header files as necessary.
* Add /wait =<fd> which returns when a nonblocking dcc connection finishes
* Make all keybinding funcs/decls use the BUILT_IN_KEYBINDING macro.
* Make the BUILT_IN_KEYBINDING macro use unsigned chars.
* Hide (struct Key) inside keys.c, and use (void *) to hold state.
* Make the input line use (unsigned char), not (char), huzzah!
* Make the "othername" ($3 in /on dcc_raw "E") the port number.
* Avoid a NULL deref with "parse_command" keybinding.

Revision 1.49 / (view) - annotate - [select for diffs] , Thu Mar 18 01:04:03 2004 UTC (4 years, 5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_2
Changes since 1.48: +24 -1 lines
Diff to previous 1.48
* Move Lastlog definition to lastlog.c, leave stub behind for window.h
* Add window_all_channels(), return all windows for channel from names.c
* Change boolean vartype for windows and status: int -> short.
* Add do_short_boolean(), like do_boolean(), but it takes a short.
* Make the default server quit message "Leaving"
* Have /window describe show all the channels in a window.
* Have /window describe show nicks, channels in flat list, not one per line.
* Make sure to use the server's default quit message when closing it.
* Create a prototype of atoll() for compat systems.

Revision 1.48 / (view) - annotate - [select for diffs] , Thu Jan 29 06:59:55 2004 UTC (4 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.47: +2 -1 lines
Diff to previous 1.47
Merge changes from epic4 commits 674 to 692, inclusive.

Revision 1.47 / (view) - annotate - [select for diffs] , Wed Dec 17 09:25:31 2003 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.46: +11 -3 lines
Diff to previous 1.46
Make 'empty_string' (const char []).  Now we're cooking with gas!

Revision 1.46 / (view) - annotate - [select for diffs] , Tue Dec 16 23:25:45 2003 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_1
Changes since 1.45: +5 -5 lines
Diff to previous 1.45
EPIC5-0.0.1!  Huzzah!

Revision 1.45 / (view) - annotate - [select for diffs] , Mon Dec 15 23:23:02 2003 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.44: +1 -4 lines
Diff to previous 1.44
* Remove /set beep_on_msg, a half-broken feature which can be scripted.
* Nix /set beep_when_away, a 1-line scriptable feature.
* Add new noise level %, (/ON %TYPE); like ^ but doesn't turn off display
and other stuff as well.

Revision 1.44 / (view) - annotate - [select for diffs] , Wed Dec 3 22:17:40 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_5, epic4-1_2_4, epic4-1_2_3, epic4-1_2_2
Changes since 1.43: +3 -1 lines
Diff to previous 1.43
* Add /SET STATUS_NOSWAP
* Fix #define DEBUG_EXTRACTW_DEBUG/LASTLOG
* Add -o and -O command line options to turn off IEXTEN termio() options
* Add /WINDOW SWAPPABLE (defaults to on)
* Add %{1}W status expando, expands to /SET STATUS_NOSWAP if SWAPPABLE OFF
* Don't allow windows to be swapped in or out if SWAPPABLE OFF
* Don't allow windows to be shown or hidden if SWAPPABLE OFF
* Do allow windows to be swapped in with WINDOW KILL even if SWAPPABLE OFF
* Add $windowctl(GET <refnum> SWAPPABLE)

Revision 1.43 / (view) - annotate - [select for diffs] , Tue Oct 28 05:53:57 2003 UTC (4 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_1, epic4-1_2_0, epic4-1_1_17, epic4-1_1_16, epic4-1_1_15, epic4-1_1_14
Changes since 1.42: +19 -1 lines
Diff to previous 1.42
* Add /set wserv_type, either "xterm" or "screen".
* Add malloc_strcat_word_c, add a single word to word list, with "" support
* Convert a bunch of stuff to use malloc_strcat_word_c to honor ""s right.
* GC a bunch of unused code.

Revision 1.42 / (view) - annotate - [select for diffs] , Fri Oct 10 05:09:01 2003 UTC (4 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_13
Changes since 1.41: +2 -1 lines
Diff to previous 1.41
* Add $servernick(<global>) to return the client's global nickname
* Update tabkey.jm to latest version
* Add new ircII-compatable /window hold_mode thingee.
* Add /set hold_slider, /window hold_slider
* Add 'hold_mode' script, implements ircII-like /set hold_mode[_interval]
* /XEVAL -- ends eval option processing, like how /xecho does it.

Revision 1.41 / (view) - annotate - [select for diffs] , Tue Jul 22 20:12:54 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.40: +45 -31 lines
Diff to previous 1.40
Teach all the /set callbacks to take a (const void *).
This fixes a bad-c problem with /set!

Revision 1.40 / (view) - annotate - [select for diffs] , Tue Jul 22 18:04:36 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.39: +262 -209 lines
Diff to previous 1.39
* Add "ON/OFF" toggle set variable to the system timer data.
* Create 'update_system_timer' which uses the "toggle" var to run or stop timer
* Merge '(start|stop)_system_timer' into 'update_system_timer'
* Nix #define MINIMUM_(NOTIFY|CLOCK|MAIL)_INTERVAL since we can't stop that.
* Do not enforce minimums for /SET *_INTERVAL since user could get around it.
* Track "last event" time, maybe I'll use that in the future
* Reset "now" global variable before calling timer callback.
* Fix null deref bug with $($$)
* Add default binding to ^G to "self_insert" for beeps.
* Do not enforce MINIMUM_NOTIFY_INTERVAL in do_notify()
* Don't include exec.h from screen.c
* Add 'number' (floating point) field to /set's
* Add FLOAT_TYPE_VAR type for /set's, using 'number' field
* Update all the /set entries to include a default 'number' field.
* Add get_float_var() to get the 'number' field in a set.
* Add set_float_var() to set the 'number' field in a set.
* Teach set_variable() about FLOAT_TYPE_VAR sets.
* Teach save_variables() about FLOAT_TYPE_VAR sets.
* Teach get_string_variable() about FLOAT_TYPE_VAR sets.

Revision 1.39 / (view) - annotate - [select for diffs] , Sun Jul 20 14:56:02 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38
* Protect against panic if /set mail 0 is off by default

Revision 1.38 / (view) - annotate - [select for diffs] , Fri Jul 18 00:36:35 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.37: +16 -3 lines
Diff to previous 1.37
* Fix time functions to take (const Timeval) if they don't change the arg.
* Create a special handler for /squit to avoid sending QUIT * to server.
* Protect some IPv6 stuff i added recently to dcc with #ifdef INET6.  Ooops.
* Hack up $repeat(<num><space><space>) so it works again. ugh.
* Hack up /set <variable><space><space> so it works again.  ugh.
* Dont allow /timer -repeat -1 0 because that busy-loops.
* Add shell of $windowctl() which will be filled in going forward.

Revision 1.37 / (view) - annotate - [select for diffs] , Wed Jul 16 22:23:31 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
Commit 558
* Don't allow user to /window number in a window with a channel (avoid panic)
* Make check_mail return a (const char *), fix status_mail().
* Modularize/reorganize mail checking, with mbox reference implementation.
* Automatically /set mail 0 if the user's mbox can't be found.

Revision 1.36 / (view) - annotate - [select for diffs] , Tue Jul 15 23:56:43 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.35: +5 -45 lines
Diff to previous 1.35
Commit 556
* Change #define DEFAULT_CPU_SAVER_EVERY to 60, it needs not be 0.
* Create 'clock.c', to hold clock generation, system timers, cpu saver watchdog
* Create notion of "sys(tem)timers", callbacks for mail, notify, clock gen.
* Add 'system_timer', generalized callback for all of the system timers.
* Fix add_timer() so the 'command' argument does what the docs say it does.
* Extern 'timer_exists' so we don't try to remove_timer() and invalid timer
* Redo dependancies because clock.h exists.
* Add code to bootstrap mail systimer with /set mail
* Add code to bootstrap clock generation with /set clock
* Add code to bootstrap notify handling with /set notify_interval.
* Start enforcing "NOTIFY_INTERVAL" again in do_notify() to avoid excess flood.

Revision 1.35 / (view) - annotate - [select for diffs] , Tue Jul 15 00:26:04 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.34: +30 -5 lines
Diff to previous 1.34
Commit #555:
* Add #define MINIMUM_CLOCK_INTERVAL and MINIMUM_MAIL_INTERVAL in config.h
* Add #define DEFAULT_CLOCK_INTERVAL and DEFAULT_MAIL_INTERVAL in config.h
* Add reset_system_timers(), do_update_clock(), and set_cpu_saver_after()
* Add time_to_next_interval(), general form of time_to_next_minute().
* Add get_clock() and reset_clock() to replace update_clock().
* Make remove_timer() an extern function so i can delete timers. ;-)
* Add /SET CLOCK_INTERVAL and /SET MAIL_INTERVAL
* Make $T use the static clock.
* Reorganize system timers 1 and 2 into four timers:
* - CPU SAVER timer, checks for idleness, to turn on cpu saver
* - CLOCK timer, updates the status bar clock periodically
* - MAIL timer, checks for new mail periodically
* - NOTIFY timer, checks for others on irc periodically
* The above three honor "cpu saver" mode.
* Nix the old "do_every_minute" timer.
* Reorganize the clock generation stuff into "reset_*_clock" functions
* Generate the clock statically; only update it from the CLOCK timer
* Add reset_system_timers() which regenerates all four system timers.
* Don't set system timers in main, call reset_system_timers() instead.
* Don't enforce "notify interval" in do_notify(), handle that in NOTIFY timer.
* Comment stuff in words.c

Revision 1.34 / (view) - annotate - [select for diffs] , Thu Jul 10 12:08:57 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.33: +13 -13 lines
Diff to previous 1.33
Overhaul of malloced string handling functions:
* Convert m_[s]c3cat[_s]() to malloc_strcat_wordlist_c()
* Nix m_e3cat(), m_s3cat(), m_s3cat_s(), m_3cat()
* Nix m_ec3cat(), m_sc3cat(), m_sc3cat_s(), m_c3cat().
* Convert m_dupchar() to malloc_dupchar().
* Convert m_strndup() to malloc_strndup().
* Make malloc_strcpy/malloc_strcat/malloc_strcat2/malloc_strcat_wordlist macros
* Convert m_2dup() to malloc_strdup2().
* Convert m_3cat() to malloc_strcat2[_c]().
* Convert m_3dup() to malloc_strdup3().
* Convert m_ec3cat() to malloc_strcat2_c()
* Use strlcat_c() in $repeat() instead of strlcpy(). whee!
* Sanity check first arg to $regcomp(), to avoid crashes.
* Don't pass NULL to bsearch(), even if 'nmem' is 0 [$remws()]
* Nix the original malloc_strcpy (supplanted by malloc_strcpy_c)
* Comment out all the deprecated functions

Revision 1.33 / (view) - annotate - [select for diffs] , Wed Jul 9 20:10:25 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.32: +6 -6 lines
Diff to previous 1.32
Convert m_strdup() to malloc_strdup().

Revision 1.32 / (view) - annotate - [select for diffs] , Mon Jul 7 21:10:57 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.31: +2 -1 lines
Diff to previous 1.31
Metric clock support!

Revision 1.31 / (view) - annotate - [select for diffs] , Mon Jun 30 03:14:02 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.30: +20 -1 lines
Diff to previous 1.30
Commit 527
New ignore implementation.  I will document all this stuff tomorrow.
As it stands, I've tested this for several days and all seems well.
Of course let me know if you see any problems.

Revision 1.30 / (view) - annotate - [select for diffs] , Sat May 17 17:30:21 2003 UTC (5 years, 3 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_12
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
* Misc bugfixes as per KNOWNBUGS.
* This patch involves renaming crypt.h to sedcrypt.h.

Revision 1.29 / (view) - annotate - [select for diffs] , Fri May 9 03:29:52 2003 UTC (5 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.28: +35 -24 lines
Diff to previous 1.28
* 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.28 / (view) - annotate - [select for diffs] , Thu Apr 24 20:49:25 2003 UTC (5 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27
Nominally remove all uses of "unsafe" functions: (Commit 506)
* Convert all uses of strcpy() to strlcpy()
* Convert all uses of strcat() to strlcat()
* Convert all uses of strmcpy() to strlcpy()
* Convert all uses of strmcat() to strlcat()
* Convert all uses of sprintf() to snprintf()
* As much as possible, use 'sizeof var' in snprintf/strlcpy/strlcat.
* Qualify the size of some global vars so we can sizeof() them.
* Nuke strmcpy(), strmcat(), strmcat_ue(), strmccat(),
* Change strmopencat() to strlopencat().
* Change strmpcat() to strlpcat().
* Fix switch_hostname so it doesn't return a (const) string.
* Fix TimerTimeout so it doesn't return a (const) Timeval.
* Change things like (ret) to do ret while (0); for when "ret" is "{}".
* Fix initialization for load_level
* Stop passing in static strings into io(), so we can modify them.
* Make messages passed to io() more informative to the user.
* Fix CTCP FINGER handler not to assume (struct pw) strings can be overwritten.
* Use (socklen_t) and not an (int) for socket sizes.
* Don't return a value in a void function...
* Don't use return value of process_dcc_chat_ctcps() for assignment.
* Don't put semicolons after function bodies
* Fix $getopt() to save 'input_size' so we can use it with strl*().
* Convert all uses of stpcpy() to strlcat() and strlopencat().
* Nix checks for stpcpy() in configure -- regen configure.

Revision 1.27 / (view) - annotate - [select for diffs] , Sat Mar 29 08:10:22 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26
* New /set, /SET SWITCH_CHANNELS_BETWEEN_WINDOWS
* C language issues (const correctness, integer size correctness)
* Revamp channel structure to hold window refnum and not window pointer
* Add "current channel counter" to channel structure.
* Determine "current channel" by election.
* Garbage collect a lot of now unnecessary code.
* Add get_echannel_by_refnum(), returns window's "elected" current channel
* Add internal function is_waiting_for_channel()
* Add internal function move_waiting_channel()
* Add internal function get_winref_by_bound_channel()
* Add internal function get_bound_channel_by_refnum()
* Convert uses of get_channel_by_refnum() to get_echannel_by_refnum()
* Fix $winbound() to work when given a window refnum
* Fix valgrind issue with $regcomp()
* Remove sanity checks from traverse_all_channels(); handled elsewhere now
* Change traverse_all_channels() with "this server" or "not this server" arg
* Nuke (Window *)->current_channel.  Handled by channels now.  HUZZAH!
* Implement /ON SWITCH_WINDOWS again.

Revision 1.19.2.2 / (view) - annotate - [select for diffs] , Mon Mar 24 17:53:02 2003 UTC (5 years, 5 months ago) by wd
Branch: wd-devel
Changes since 1.19.2.1: +0 -0 lines
Diff to previous 1.19.2.1 to branch point 1.19 to next main 1.20
Another merge.

Revision 1.19.2.1 / (view) - annotate - [select for diffs] , Thu Feb 27 15:29:57 2003 UTC (5 years, 6 months ago) by wd
Branch: wd-devel
Changes since 1.19: +106 -79 lines
Diff to previous 1.19
Yikes.  Merged to become consistent with HEAD.  Sorry for all the commits,
I'll be quiet again soon. :)
-wd

Revision 1.26 / (view) - annotate - [select for diffs] , Mon Feb 17 23:48:48 2003 UTC (5 years, 6 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_11
Changes since 1.25: +2 -1 lines
Diff to previous 1.25
* "Word Philosophy" alterations, /alias leak, flood checking, $glob(),
  tabkey.ce, regression tests, autoget, /fe, /fec, safe_new_next_arg, as
  per KNOWNBUGS.
* $findws(), functions (script), ${i}finditems(), $dccctl(), as per
  UPDATES.

Revision 1.25 / (view) - annotate - [select for diffs] , Tue Feb 4 01:13:20 2003 UTC (5 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.24: +13 -2 lines
Diff to previous 1.24
Commit 449.  New feature added
* Split NOTIFY stuff off into its own timer
* Add #define MINIMUM_NOTIFY_INTERVAL in config.h
* Add set_notify_interval, force that /SET NOTIFY_INTERVAL >= MIN_NOT_INT

Revision 1.24 / (view) - annotate - [select for diffs] , Wed Jan 29 21:56:01 2003 UTC (5 years, 7 months ago) by crazyed
Branch: MAIN
Changes since 1.23: +21 -12 lines
Diff to previous 1.23
* Added Tyraks /stack patch as per KNOWNBUGS.
* $afterw(), $beforew(), $fromw(), $tow() as per UPDATES.  *potential bug*
* Regress tests as per KNOWNBUGS.
* ERROR hook fix as per KNOWNBUGS.
* autoget script as per KNOWNBUGS.
* $serverctl() as per UPDATES.
* $writeb() as per UPDATES.
* /sleep as per UPDATES.

Revision 1.23 / (view) - annotate - [select for diffs] , Mon Dec 30 13:23:47 2002 UTC (5 years, 8 months ago) by crazyed
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22
Documented /exec features.

Note:  The -line* switches for the %proc mode are new and haven't been
       commited yet.

Revision 1.22 / (view) - annotate - [select for diffs] , Wed Dec 25 05:54:06 2002 UTC (5 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_9, epic4-1_1_10
Changes since 1.21: +3 -3 lines
Diff to previous 1.21
Commit 412 -- Fix $getset().

Revision 1.21 / (view) - annotate - [select for diffs] , Mon Dec 23 18:37:15 2002 UTC (5 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_8
Changes since 1.20: +81 -78 lines
Diff to previous 1.20
* Fix minor bug with /xquote
* Fix minor bug with reconnecting after server write failed.
* Set input idle timer better.
* Rewrite /stack (push|pop) set so they actually work now.

Revision 1.20 / (view) - annotate - [select for diffs] , Wed Dec 11 19:20:24 2002 UTC (5 years, 8 months ago) by crazyed
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19
* Added functions $asciiq() $chrq() $exec() $timerctl() $tcl() $winline()
  and $floodinfo().
* Altered the two argument version of $read() to ctcp quote the strings it
  returns.
* Added sets FLOOD_RATE_PER and FLOOD_MASKUSER.
* Altered the "accept" mode of the dcc_raw and dcc_connect hooks to refer
  to the local port instead of the remote port.
* Added a "-closein %proc" switch to /exec.
* Altered the arg list mode of /alias to use extractw instead of next_arg.
* Added the documented "words" argument to the above.
* Tuned autoget, mudirc, tabkey.ce and commandqueues.
* Altered /pretend to not chop the string.
* Set about rewriting the flood detection and then decided that it's better
  off being a script.
* Moved the function macros to their own file (functions.h) and replaced
  all the copies that are strewn throughout the source with an #include.
  The exception is array.c which broke when I tried it.
* Moved the ctcp enquoting/dequoting functions to ircaux.c.
* Added some command/function ordering checks to funcs/regress, and a check
  for all the functions that are undocumented.
* Rewrote function chanmodetype() so that it doesn't have all those flakey
  buffering things.  Hopefully it's readable now.  The significant change
  is that if a mode character appears twice in CHANMODES, the first one is
  returned instead of the last.
* Added EPIC::call() in the perl routines and an equivalent under tcl.
  this is designed to call a $function() directly, but it isn't really that
  fast, so I might rip them out again.
* The /wait internals used to store a few other settings, which were taken
  out, so I put them back.
* Fixed a few problems with normalize_filename() around the place.
* Fixed a bug with /timer in which it would never show the timers after a
  callback.

Revision 1.19 / (view) - annotate - [select for diffs] , Thu Oct 24 21:28:07 2002 UTC (5 years, 10 months ago) by jnelson
Branch: MAIN
Branch point for: wd-devel
Changes since 1.18: +1 -2 lines
Diff to previous 1.18
* Remove /set suppress_server_motd which didn't really work anyways.
* Add function decls for bsd_arc4* to ircaux.c
* Always check (window->hold_mode || window->autohold) together!
* Unhold_window()s only if both hold_mode and autohold are off!
* unhold_window()s instead of doing scrollback_end for robustness.
* Attempt to recover from the "output is below bottom of window" bug, whine.

Revision 1.18 / (view) - annotate - [select for diffs] , Thu Sep 26 21:41:43 2002 UTC (5 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.17: +1 -19 lines
Diff to previous 1.17
Ach.  Here goes nothing.
Major commit which does many things, but the most prominent of which
is the final integration of the scrollback buffer with the hold buffer.
This fixes several annoying "features" and introduces a small truckload
of new features which have been requested recently.  Please see the
KNOWNBUGS or UPDATES file for more info, since I don't want this message
to be ridiculously long.

Revision 1.17 / (view) - annotate - [select for diffs] , Mon Aug 12 15:41:11 2002 UTC (6 years ago) by wd
Branch: MAIN
CVS Tags: epic4-1_1_7
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
New keybindings system coming through.  Details can be found in doc/keys
and in a few other places. :)
-wd

Revision 1.16 / (view) - annotate - [select for diffs] , Mon Jul 29 21:27:05 2002 UTC (6 years, 1 month ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_6
Changes since 1.15: +1 -2 lines
Diff to previous 1.15
Update documentation prior to epic4-1.1.6 release
Add "HAVE_GETSERVBYNAME" check to configure stuff.
Remove /SET RANDOM_LOCAL_PORTS which has gone away.
Fix some layout issues with gailib.c and change two function names.
Fix comment issue with ircsig.c
Fix uninitialized variable issue with keys.c
Remove mention of /SET RANDOM_LOCAL_PORTS in network.c

Revision 1.15 / (view) - annotate - [select for diffs] , Wed Jul 17 21:52:53 2002 UTC (6 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.14: +29 -7 lines
Diff to previous 1.14
Update copyright notices and copyright dates.

Revision 1.14 / (view) - annotate - [select for diffs] , Wed May 29 03:15:32 2002 UTC (6 years, 3 months ago) by crazyed
Branch: MAIN
Changes since 1.13: +8 -2 lines
Diff to previous 1.13
* Fix for an SSL problem where SSL fails to negotiate.  It will bail to
  non-encrytion in this case now.
* Fix for splitw() which is used by $uniq() and other functions where some
  of the elements could be null pointers due to its use of new_next arg.
  This would cause qsort() to coredump.  Switched to safe_new_next_arg
  which seems to have a performance penalty of about 4%.
* Added an "OTHER" flag to $stripcrap() and the mangle settings, which
  catches all characters that other flags don't.  It isn't included in
  the ALL flag.

Revision 1.13 / (view) - annotate - [select for diffs] , Mon May 13 20:53:15 2002 UTC (6 years, 3 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_5, epic4-1_1_4
Changes since 1.12: +4 -3 lines
Diff to previous 1.12
DEATH TO MEMCPY()!
Also, make need_redraw 'volatile' since we alter it in a signal handler.

Revision 1.12 / (view) - annotate - [select for diffs] , Tue Apr 2 21:02:13 2002 UTC (6 years, 5 months ago) by crazyed
Branch: MAIN
Changes since 1.11: +2 -29 lines
Diff to previous 1.11
* Rolled the $getsets() and $getcommands() code into macros and added
  $getfunctions().
* Added a server_established hook.  This is called before anything is sent
  to the server, and it is intended that for ssl connections, stuff can be
  quoted and hooked in plain text until the hook returns, although, it is
  difficult to verify that this will actually work.
* Made it so that when all variables are erased, the low level array that
  contains the variables is erased.  This is intended to make it easier to
  profile the memory use.
* Copyright notice added to perl.c.
* Minor stuff for tabkey.ce.

Revision 1.11 / (view) - annotate - [select for diffs] , Sun Feb 17 22:40:29 2002 UTC (6 years, 6 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_3
Changes since 1.10: +3 -1 lines
Diff to previous 1.10
* New STATUS_HALFOP setting which acts much the same way as STATUS_CHANOP.
* New function $getcommands() which acts much the same way as $getsets().
  The internals for these two functions probably need to be rolled together.
* Cleanups and minor updates to tabkey.ce.

Revision 1.10 / (view) - annotate - [select for diffs] , Fri Jan 25 21:57:10 2002 UTC (6 years, 7 months ago) by crazyed
Branch: MAIN
Changes since 1.9: +11 -1 lines
Diff to previous 1.9
Applied the SSL patch from ay-ar.

Details are in README.SSL.  This works well at this point, but there may
be teething problems.

Revision 1.9 / (view) - annotate - [select for diffs] , Wed Dec 19 20:21:45 2001 UTC (6 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
The whole ROM_CHAR thing was an accident waiting to happen.  Removed.
Add /SET ALLOW_C1_CHARS to protect from the ascii char 128-159 attacks
upon XTerm and GNU Screen users.  Defaults to OFF.

Revision 1.8 / (view) - annotate - [select for diffs] , Wed Dec 19 19:51:15 2001 UTC (6 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7
Thanks go to crazyeddy and zinx for working on this in my absence.
Add /set rom_char (defaults to off) which determines whether ^R rom_char
sequences will be honored or dishonored by epic.  Dishonored sequences
are not removed; they are just mangled.  This will help you detect those
who might try to use this feature for less than noble purposes.

Re-set the ^R character to "mode 5" processing; it had been set to "mode 6"
as a stop-gap measure.

Revision 1.7 / (view) - annotate - [select for diffs] , Tue Nov 13 22:12:26 2001 UTC (6 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6
Resizable wserv support!  No, really!  Backported from epic5.
I have to go through term.c again and make sure there are no unintended
casualties of the merge.  We should also start testing the resize handlers
to make sure they're happy.  I don't promise they'll all work first time,
but this is a good place to start!

Revision 1.6 / (view) - annotate - [select for diffs] , Wed Oct 24 15:18:13 2001 UTC (6 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_1
Changes since 1.5: +2 -1 lines
Diff to previous 1.5
Add /set auto_rejoin_connect -- this controls whether epic will try to
rejoin your channels when you are disconnected from a server *AND EPIC
WOULD ORDINARILY TRY TO REJOIN YOUR CHANNELS*.  This has *ABSOLUTELY NO
EFFECT AT ALL* in those cases where epic has thrown away your channels
and has no intentions of rejoining them.  This is only a way for you to
reduce current functionality, there are no bugs fixed with this.

Revision 1.5 / (view) - annotate - [select for diffs] , Sat Oct 20 16:19:04 2001 UTC (6 years, 10 months ago) by jnelson
Branch: MAIN
Changes since 1.4: +5 -1 lines
Diff to previous 1.4
Translation table support.  I pulled this from ircII-2.8.2.  Re-added by
incessant requests from russian users.  This adds /set translation and
/set translation_path.  The translation path is not hardcoded into the binary,
it is $IRCLIB/translation, where IRCLIB is determined at runtime.  You can
of course always /set it to whatever you want.  I am not making the
translation tables available with epic.  They are available in zillions of
places, and i'll probably create a tarfile that contains them.

Revision 1.4 / (view) - annotate - [select for diffs] , Tue Oct 9 03:27:09 2001 UTC (6 years, 10 months ago) by crazyed
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
bugfix:  /stack push+pop of an unset /set will now restore it to its
original value, ie, unset.

Revision 1.3 / (view) - annotate - [select for diffs] , Tue Oct 2 16:53:35 2001 UTC (6 years, 11 months ago) by crazyed
Branch: MAIN
Changes since 1.2: +5 -3 lines
Diff to previous 1.2
* Miscelaneous 3cat updates.
* History expansion copies the history buffer verbatim now.
  * Bugfix:  /!0 would not retrieve the first command entered.
  * Bugfix:  Negative numbers not found would be display the
    incorrect number in the error message.  eg:  /!-4444
* Alterations to remove_trailing_spaces interface.
* $igetrmatches() was defined, but inaccessible.

Revision 1.2 / (view) - annotate - [select for diffs] , Fri Jun 22 21:34:35 2001 UTC (7 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.1: +1 -3 lines
Diff to previous 1.1
Two things:
* Remove /set notify_handler which didn't do anything.
* Rewrite /lastlog so i understand how it works.
  Big new feature, -regex, to support regex searching on lastlog!
* Commit #75.

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_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