CVS log for epic4/source/commands.c

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

Request diff between arbitrary revisions


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

Revision 1.86 / (view) - annotate - [select for diffs] , Mon Mar 17 02:42:46 2008 UTC (3 months, 2 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_10, HEAD
Changes since 1.85: +2 -2 lines
Diff to previous 1.85
* Move "term.h" out of the way so we can #include <term.h> (mv'd to termx.h)
* This makes it possible to avoid empty decls for tparm()
* Which is supposed to fix the build for larne on who-only-knows-what.
* Rename tparm() to my_tparm().
* Do a make depend since i changed the name of a header file. ugh.
* Change the name of (struct term) to (struct my_term) for freebsd sake. ugh.

Revision 1.85 / (view) - annotate - [select for diffs] , Tue Feb 8 16:28:56 2005 UTC (3 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_8, epic4-2_6, epic4-2_4
Changes since 1.84: +2 -2 lines
Diff to previous 1.84
Fix /away -all

Revision 1.84 / (view) - annotate - [select for diffs] , Wed Nov 10 03:20:35 2004 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_2, epic4-2_1_3, epic4-2_1_2
Changes since 1.83: +11 -20 lines
Diff to previous 1.83
* Fix space-related panic.  See UPDATES for all the gruesome details.
* Add ALT_CHAR to the list of things that can be mangled.

Revision 1.83 / (view) - annotate - [select for diffs] , Sat Aug 7 17:33:35 2004 UTC (3 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_1_1
Changes since 1.82: +7 -2 lines
Diff to previous 1.82
* Implement "unique id" support for ircnet (042 numeric)
* You can /nick 0 or /nick <unique_id>
* You can use $servertctl([SET|GET] <refnum> UNIQUE_ID)

Revision 1.82 / (view) - annotate - [select for diffs] , Thu Mar 25 04:26:59 2004 UTC (4 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.81: +0 -8 lines
Diff to previous 1.81
This should NOT have been commited.  Back it out.

Revision 1.81 / (view) - annotate - [select for diffs] , Thu Mar 25 04:20:29 2004 UTC (4 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.80: +9 -1 lines
Diff to previous 1.80
Add /xecho -f for howl
Add a timer dump for "stuck in a polling loop!"

Revision 1.80 / (view) - annotate - [select for diffs] , Fri Feb 20 23:40:22 2004 UTC (4 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_0
Changes since 1.79: +3 -3 lines
Diff to previous 1.79
Fix many errors using realpath() and normalize_filename().

Revision 1.79 / (view) - annotate - [select for diffs] , Fri Feb 20 00:28:07 2004 UTC (4 years, 4 months ago) by keerf
Branch: MAIN
Changes since 1.78: +4 -3 lines
Diff to previous 1.78
EPIC4-2.0 Release

Revision 1.78 / (view) - annotate - [select for diffs] , Tue Dec 9 05:12:37 2003 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_9, epic4-1_2_8, epic4-1_2_7, epic4-1_2_6, epic4-1_2_5
Changes since 1.77: +4 -3 lines
Diff to previous 1.77
Fix some more problems in the pf loader.

Revision 1.77 / (view) - annotate - [select for diffs] , Tue Dec 9 04:37:52 2003 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.76: +11 -1 lines
Diff to previous 1.76
* Add /ON WINDOW_BEFOREKILL
* Another iteration of the 'notify' script, hooks the system's /ONs now! =)
* Put a space in place of a newline in the PF loader.
* Always ignore spaces after semicolons in parse_line (the {} parser).
* Some compiler warning fixes from rain.

Revision 1.76 / (view) - annotate - [select for diffs] , Mon Dec 1 03:21:19 2003 UTC (4 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_4, epic4-1_2_3, epic4-1_2_2, epic4-1_2_1, epic4-1_2_0
Changes since 1.75: +9 -10 lines
Diff to previous 1.75
(*gulp*) Some changes for fudd.
* Add /ON WINDOW_COMMAND, hooked after every /window command, $* is refnum.
* Add concept of "fixed" or "frozen" windows when you SKIP ON FIXED ON
* Fix /window kill to not kill the last "non-fixed" window
* Fix /window hide to not hide the last "non-fixed" window
* Allow /window kill to kill a "fixed" window, but not the last window.
* (*gulp*) I hope all of the above works!
* Fix $windowctl(REFNUM ...) it was out of order with REFNUMS
* Make /xecho -l override the "who_from" target and always send to the level

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

Revision 1.74 / (view) - annotate - [select for diffs] , Fri Oct 31 08:19:24 2003 UTC (4 years, 8 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_15, epic4-1_1_14
Changes since 1.73: +9 -2 lines
Diff to previous 1.73
* 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.73 / (view) - annotate - [select for diffs] , Fri Oct 10 05:22:38 2003 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_13
Changes since 1.72: +2 -2 lines
Diff to previous 1.72
Implement "privleged yells" which allow syou to do /set debug 7 at the
same time as /set output_rewrite.  Yea~!

Revision 1.72 / (view) - annotate - [select for diffs] , Fri Oct 10 05:09:01 2003 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.71: +4 -1 lines
Diff to previous 1.71
* 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.71 / (view) - annotate - [select for diffs] , Fri Sep 12 00:42:47 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70
Commit 581
* Fix /dcc chat nick -p 4444
* Return empty string if you do $aliasctl(pmatch <bogus> <whatever>)
* Update some copyright notices.

Revision 1.70 / (view) - annotate - [select for diffs] , Sun Aug 31 00:33:48 2003 UTC (4 years, 10 months ago) by jnelson
Branch: MAIN
Changes since 1.69: +5 -2 lines
Diff to previous 1.69
* Fix buffer overrun crash with CTCP UTC.

Revision 1.69 / (view) - annotate - [select for diffs] , Fri Jul 18 00:36:34 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.68: +19 -2 lines
Diff to previous 1.68
* 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.68 / (view) - annotate - [select for diffs] , Mon Jul 14 17:22:03 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.67: +18 -3 lines
Diff to previous 1.67
Fix up /load to honor the /return command so you can abort early from
within a /load'ed file.  See 'pf-loader' for details on why you would
want to do this.

Revision 1.67 / (view) - annotate - [select for diffs] , Thu Jul 10 22:56:01 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.66: +2 -1 lines
Diff to previous 1.66
Commit 551 -- second to last commit for this project -- the big one!
* Roll in the new universal_next_arg_count() and attendant macros.
* Comment out some deprecated function decls in ircaux.h
* Do another round of make depends.
* Modify alias arglist code to use the new universal_next_arg_count() stuff
* Convert dequote() to dequoter().
* Convert new_new_next_arg() into new_new_next_arg_count().
* Comment out deprecated functions in ircaux.c -- will be deleted later.

Revision 1.66 / (view) - annotate - [select for diffs] , Thu Jul 10 12:08:56 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.65: +4 -4 lines
Diff to previous 1.65
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.65 / (view) - annotate - [select for diffs] , Wed Jul 9 20:10:24 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.64: +5 -5 lines
Diff to previous 1.64
Convert m_strdup() to malloc_strdup().

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

Revision 1.63 / (view) - annotate - [select for diffs] , Fri May 9 03:29:52 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.62: +46 -39 lines
Diff to previous 1.62
* 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.62 / (view) - annotate - [select for diffs] , Fri May 2 19:22:25 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.61: +2 -11 lines
Diff to previous 1.61
Commit 509:
* Move /DCC from commands.c to dcc.c
* Nix the "dcc deadlist" crap.  Handle deleted dcc's more sensibly now.
* Add a "dequote" internal function that removes "s in extended words.
* Add "QWORDS" as new arglist type, for quoted-words with "s left in.
* Add "arglist" regression test.
* Fix strlcpy() in compat.c so it doesn't walk off end of string.
* Implement more sensible "locking" mechanism for dcc's
* Nix the nominally unimplemented "encrypt" feature for dcc
* Create "dcc_create" to create dcc entry
* Remove "creation" functionality from "dcc_searchlist"
* Nix global variables 'filesize' and 'global_family' now unneeded.
* Change order around of arguments to "dcc_searchlist".
* Rename "dcc_opened" to "dcc_connected" since that is what it does.
* Add "dcc_garbage_collect" which looks for dcc's that need removal.
* Add "get_dcc_by_filedesc" and "get_dcc_by_refnum" to look up dcc's
* Add "lock_dcc" and "unlock_dcc" to prevent dcc's from being GC'd.
* Double check that all output that occurs in dcc.c goes to LOG_DCC
* Use dcc_open in dcc_raw_listen() instead of doing the network stuff directly.
* Allow "booster ctcp" to be sent for dcc chat re-offerings.
* Reorganize register_dcc_offer() so it doesn't create dcc until all is well.
* Reorganize process_outgoing_file() into sub-functions.
* Don't call "dcc_dead" or "dcc_check" in main io() looper.
* Fix new_next_arg_count() to use real_move_to_abs_word() to emulate $1 usage

Revision 1.61 / (view) - annotate - [select for diffs] , Thu Apr 24 20:49:25 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.60: +25 -19 lines
Diff to previous 1.60
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.60 / (view) - annotate - [select for diffs] , Sat Mar 29 08:10:22 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.59: +30 -27 lines
Diff to previous 1.59
* 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.44.2.7 / (view) - annotate - [select for diffs] , Wed Mar 26 12:38:50 2003 UTC (5 years, 3 months ago) by wd
Branch: wd-devel
Changes since 1.44.2.6: +23 -38 lines
Diff to previous 1.44.2.6 to branch point 1.44 to next main 1.45
A lot more cleanup.  Namespace scope changing within aliases now works.
-wd

Revision 1.44.2.6 / (view) - annotate - [select for diffs] , Wed Mar 26 09:53:28 2003 UTC (5 years, 3 months ago) by wd
Branch: wd-devel
Changes since 1.44.2.5: +5 -7 lines
Diff to previous 1.44.2.5 to branch point 1.44
Fix a niggling little bug in ifcmd where parse_line was being called with
nothing in it. :)
-wd

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

Revision 1.44.2.4 / (view) - annotate - [select for diffs] , Tue Mar 25 13:16:53 2003 UTC (5 years, 3 months ago) by wd
Branch: wd-devel
Changes since 1.44.2.3: +3 -1 lines
Diff to previous 1.44.2.3 to branch point 1.44
Initial namespace work seems to be done.  Huzzah.
-wd

Revision 1.44.2.3 / (view) - annotate - [select for diffs] , Mon Mar 24 17:53:00 2003 UTC (5 years, 3 months ago) by wd
Branch: wd-devel
Changes since 1.44.2.2: +510 -361 lines
Diff to previous 1.44.2.2 to branch point 1.44
Another merge.

Revision 1.59 / (view) - annotate - [select for diffs] , Mon Mar 24 09:20:29 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_11
Changes since 1.58: +38 -23 lines
Diff to previous 1.58
Whooo!  I'm on a roll!  Commit #487

* Add /timer -delete_for_window <winref> to delete window's timer.
* Enhance my_strerror() to take an EPIC Network Error and an errno.
* Enhance Getaddrinfo() to use AF_UNIX path as 'path' not 'host'.
* Confirmed that $match("\\[s s1 "s *"\\]" "s s") works like it should now.
* Store a "current window priority" number in each window.
* Add get_winref_by_servref() returns highest "priority" window for a server
* Have /defer track server, use server's "current window" (per above)
* I'd like to have other things use this, like maybe /xeval -s.

Revision 1.58 / (view) - annotate - [select for diffs] , Sun Mar 23 23:30:53 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.57: +66 -4 lines
Diff to previous 1.57
* Add "loader" info to "load_level" data; It's $2 in $loadinfo().
* /LOAD now takes -std and -pf arguments to specify which loader you want.
* Implement the "PF" (preformatted) loader.  /LOAD -PF <filename>
* Set the "loader type" within each /LOADer

Revision 1.57 / (view) - annotate - [select for diffs] , Sun Mar 23 22:47:50 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.56: +86 -67 lines
Diff to previous 1.56
* Make /LOAD locate and open file arguments; and a generic handler
* Create loader_which() which a /LOAD handler for /WHICH command
* The standard loader is now called "loader_std"
* Add an empty next-generation loader called "loader_pf"
* Add "loader" info to "load_level" data; It's $2 in $loadinfo().
* /LOAD now takes -std and -pf arguments to specify which loader you want.

Revision 1.56 / (view) - annotate - [select for diffs] , Sun Mar 23 19:44:17 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.55: +398 -345 lines
Diff to previous 1.55
* Explicitly set "mask" to 0 in cs_alist_hash(), so it is initialized
* Change type() to typecmd() to avoid name conflicts.
* Change 'dot' to 'dotlocl' to avoid name conflicts.
* Change 'op' to 'reduce' to avoid name conflicts.
* Fix a typo in the error message from /window kill.
* Add a panic to detect larne's recent bug that I fixed, just in case.
* Constify the "path" argument to uzfopen().
* Make sure return value of strlen() is assigned to a 'size_t' not an 'int'.
* Split load() into load() and load1(), load1() reads a file opened by load().
* Now load() is "interpretation-free", and load1() can be replaced.
* Fix various minor compile-time issues.
* Change %P status line expando to give more useful information.

Revision 1.44.2.2 / (view) - annotate - [select for diffs] , Thu Feb 27 15:29:55 2003 UTC (5 years, 4 months ago) by wd
Branch: wd-devel
Changes since 1.44.2.1: +87 -98 lines
Diff to previous 1.44.2.1 to branch point 1.44
Yikes.  Merged to become consistent with HEAD.  Sorry for all the commits,
I'll be quiet again soon. :)
-wd

Revision 1.44.2.1 / (view) - annotate - [select for diffs] , Thu Feb 27 12:17:24 2003 UTC (5 years, 4 months ago) by wd
Branch: wd-devel
Changes since 1.44: +2 -2 lines
Diff to previous 1.44
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.55 / (view) - annotate - [select for diffs] , Fri Jan 31 23:50:18 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.54: +8 -9 lines
Diff to previous 1.54
Commit 443
* Uniformly use 32 bit file sizes in dcc.  That's the way it has to be.
* Split process_incoming_chat into modular functions.  It's an experiment.
* Remove the old, #if 0'd dcc_getfile_resume.
* Remove the second, redundant warning from /window refnum(_or_swap).
* Make the ArgList portion of server messages const.  All const!  Huzzah!
* Roll /names, /list, and /mode numeric handlers into numbers.c
* Roll "funny" global variables into server-specific variables
* Nuke funny.c and funny.h -- huzzah!
* /on window_kill provides two args now, $0 is refnum, $1 is name/refnum.
* Rename "numeric_banner" to "banner"
* Rename "parse_notice" to "p_notice"
* In /xecho, rename 'banner' local var to 'want_banner'.
* Revamp p_notice to look like and act like p_privmsg as much as possible.
* Finish the rest of the larnifications.  Done with phase 1.  Huzzah!

Revision 1.54 / (view) - annotate - [select for diffs] , Wed Jan 29 21:56:01 2003 UTC (5 years, 5 months ago) by crazyed
Branch: MAIN
Changes since 1.53: +10 -2 lines
Diff to previous 1.53
* 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.53 / (view) - annotate - [select for diffs] , Sun Jan 26 03:25:38 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.52: +8 -6 lines
Diff to previous 1.52
Commit 436
This commit is deceptive because it is huge in scope but can be explained
pretty simply.

* Const correctness improvements.
* Invert the meaning of 'new_check_flooding' to return TRUE if flooding.
* Revamp funny.c, /list, /names, /mode reply handling.
* Remove unused joined_nick, public_nick
* Change got_initial_version_28() arguments singly and not an array
* Change signature of protocol handling to take "command" as an argument
* The above change cascades to a lot of other changes.
* Allow the /msg'ing of @W<refnum> to msg a window's refnum.
* First round of larnification (Protection against unexpected server data)
* This involved substantial rewrites of parse.c, and numbers.c
* Now "fake" stuff goes through /on odd_server_stuff.
* Fix /on invite so it takes 3 arguments, not 2.

Revision 1.52 / (view) - annotate - [select for diffs] , Mon Jan 13 17:42:00 2003 UTC (5 years, 5 months ago) by crazyed
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51
* Updated the /redirect usage line to reflect features it already had.
* Removed the size limitations in enquote_it() which fixes a bug with the
  two argument mode of $read().

Revision 1.51 / (view) - annotate - [select for diffs] , Sat Jan 11 04:26:52 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.50: +1 -6 lines
Diff to previous 1.50
Commit #427
* Add -l<tcl> to the front of $LIBS so -lm can come after it
* Look for SSL stuff in default location before hunting for it in /usr/local.
* Reset $withval after check for perl so --without-perl doesn't --without-tcl
* Make first arg of cvtchar() a (const char *) to silence warning.
* Move 'this_sucks' label to a place where it is legal.
* Make check_val() cope with NaNs and INFs more graciously...
* Fix null deref with /lastlog -c
* Update the input line in set_update(), not the caller
* Do update the input line when redrawing status
* Change make_status() to return a success/failure value.
* Don't clear the "status line wants redraw" flag if redrawing status fails.
* Nuke the now unecessary "in_window_command" global variable.
* Fix bug where <scrollback> + <scrollforward> left you in scrollback mode.
* Force init of Window->lines_held = 0 even though that shouldnt be needed.

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

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

Revision 1.49 / (view) - annotate - [select for diffs] , Mon Dec 23 18:37:15 2002 UTC (5 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_9, epic4-1_1_8, epic4-1_1_10
Changes since 1.48: +2 -2 lines
Diff to previous 1.48
* 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.48 / (view) - annotate - [select for diffs] , Fri Dec 20 01:38:50 2002 UTC (5 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.47: +3 -1 lines
Diff to previous 1.47
Fix /CLEAR so it doesn't fail if you run another command right after it.

Revision 1.47 / (view) - annotate - [select for diffs] , Thu Dec 19 03:22:58 2002 UTC (5 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.46: +59 -62 lines
Diff to previous 1.46
* Use server_list_size() and not number_of_servers outside of server.c
* Use NOSERV and not -1 for "no server"
* Use (Timeval) and not (struct timeval)
* Fix (get|set)_server_sent_*() et al to take server refnum.
* Use parse_server_index() and not my_atol() to parse server refnums
* re-indent quotecmd
* Rename is_server_connected() to is_server_registered
* Make /quote work as long as server is open (not registered)
* Use send_to_aserver() when it can avoid setting from_server unecessarily
* Change sent_to_server and clear_sent_to_server to (set|get)server_sent().
* Change doing_* to get_server_doing_*.
* Use (unsigned short) and not (u_short)
* Use (unsigned long) and not (u_long)
* Make output_reject_ctcp() take a refnum
* Lock a dcc while we are connecting it, just in case. ;-)
* Fix /dcc send -p <port>
* Store protocol enforcements as (get|set)_server_protocol_state().
* Use (Stat) and not (struct stat)
* Rewrite $timerctl() so it works like $logctl()
* Rename is_server_connected() to is_server_registered()
* Fix an off-by-one error with /FOR ... IN ...
* Keep track of both readable and writable fd's with newio stuff.
* Convert server_list to an array of pointers
* When user /server -delete's, leave a gap, don't change refnums around.
* Nix code that handles deleting server refnums.
* New function, new_open_for_writing(), for when we do nonblocking connects.
* Change new_open() to deregister fd as "writable"
* Renovate the notify stuff to take refnums and not just use from_server.
* Renovate /WHO, /ISON, /USERHOST to take refnums and not just use from_server.
* Make everything that uses server_list[] use get_server() instead.
* Make everything capable of dealing with "gaps" in server_list[].
* Use a bunch of macros, to handle with getting and setting server attrs.
* Make as much as possible use refnums as params and not from_server.
* And a lot of other stuff...

Revision 1.46 / (view) - annotate - [select for diffs] , Wed Dec 11 19:20:23 2002 UTC (5 years, 6 months ago) by crazyed
Branch: MAIN
Changes since 1.45: +2 -4 lines
Diff to previous 1.45
* 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.45 / (view) - annotate - [select for diffs] , Tue Nov 26 23:03:13 2002 UTC (5 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.44: +2 -14 lines
Diff to previous 1.44
* Change do_input_timeouts() to a timer callback.
* Nuke the now unused global /wait stuff
* Revamp timer.c so you can add/change/delete/update timers during a timer
* Change add_timer() so it takes a winref not a window pointer.
* Make the "key timeout" thing happen on demand instead of a recurring timer
* Remove the recurring "key timeout" timer.
* Remove the 'key timeout' thing from io(), also 'first time' stuff.
* Call get_time() after select() in io().
* Fix two compile bugs found by larne.
* Fix bug when you did /flush on a /clear window.

Revision 1.44 / (view) - annotate - [select for diffs] , Tue Nov 12 00:28:11 2002 UTC (5 years, 7 months ago) by jnelson
Branch: MAIN
Branch point for: wd-devel
Changes since 1.43: +4 -2 lines
Diff to previous 1.43
* Implement top-of-minute handling in a system timer
* Eliminate top-of-minute handling from io().
* Eliminate CPU_SAVER stuff for the time being.
* Change time_to_next_minute() to return a (double) not (Timeval)

Revision 1.43 / (view) - annotate - [select for diffs] , Fri Nov 8 23:36:12 2002 UTC (5 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.42: +13 -102 lines
Diff to previous 1.42
Another round of epic5 changes...
* Make $B, $., $,, $:, $;, $I, /WAIT stuff server specific, from epic5
* Make tracking of doing_(privmsg|notice|ctcp) server specific, from epic5
* Fixes for Const Correctness.

Revision 1.42 / (view) - annotate - [select for diffs] , Fri Nov 8 03:12:10 2002 UTC (5 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.41: +6 -6 lines
Diff to previous 1.41
* Allow /XECHO -W <#CHANNEL>, (echo to channel's window) from epic5
This is the last of the commits tonight.  Really.  I promise.

Revision 1.41 / (view) - annotate - [select for diffs] , Fri Nov 8 03:06:47 2002 UTC (5 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.40: +55 -48 lines
Diff to previous 1.40
* Split apart /ECHO and /XECHO, make /ECHO very streamlined, from epic5

Revision 1.40 / (view) - annotate - [select for diffs] , Thu Nov 7 05:48:37 2002 UTC (5 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.39: +2 -3 lines
Diff to previous 1.39
* Update copyright notices. erf.
* Fix short circuiting in new math parser not to spuriously error
* #ifdef out all uses of bogus 'ceiling_of_display' for now.
* Pull "initial" part of resize_window_display() into new_window()
* Then forcibly call resize_window_display() to update old_display_size.
* And then call make_window_current() last to make sure window updates there.
* But I think that calling recalc_win_curs_and_disp_ip might be bogus there.
* Make notes that calling make_window_current() can kill the window.

Revision 1.39 / (view) - annotate - [select for diffs] , Wed Oct 30 16:37:59 2002 UTC (5 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.38: +4 -6 lines
Diff to previous 1.38
Man i really dropped the ball on this one.  Fix /save

Revision 1.38 / (view) - annotate - [select for diffs] , Mon Oct 21 14:21:43 2002 UTC (5 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37
Fix brain-o and a few other non-operative changes.

Revision 1.37 / (view) - annotate - [select for diffs] , Fri Oct 18 20:10:22 2002 UTC (5 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.36: +28 -34 lines
Diff to previous 1.36
* Change expand_twiddle(), path_search() to take results as params, int retval
* Add normalize_filename(), to do job expand_twiddle() used to do.
* Add isdir(), just because
* Change /CD, /LOAD, /SAVE, /DCC SEND, /DCC GET, to use normalize_filename.
* Change /DCC RESUME, $open(), $which(), $unlink() to use normalize_filename.
* Change $rename(), $rmdir(), $fexist(), $fsize() to use normalize_filename.
* Change $glob(), $globi(), $mkdir(), $chmod() to use normalize_filename.
* Change $ftime(), $randread(), and uzfopen() to use normalize_filename.
* Change /LOG, /SET LOGFILE, servers file to use normalize_filename.
* Fix /LOG so maximum number of targets per log is a compile time #define.
* Revamp expand_twiddle() and uzfopen().
* Fix uzfopen() to look for 'bunzip2' in addition to 'bunzip'.
* Fix bug with /QUEUE -delete
* Remove unused variable in window_scroll().

Revision 1.36 / (view) - annotate - [select for diffs] , Mon Sep 30 22:15:38 2002 UTC (5 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.35: +7 -3 lines
Diff to previous 1.35
Allow /hostname -  (or /irchost -)   to turn off current vhost.

Revision 1.35 / (view) - annotate - [select for diffs] , Thu Sep 26 21:41:43 2002 UTC (5 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.34: +13 -25 lines
Diff to previous 1.34
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.34 / (view) - annotate - [select for diffs] , Tue Sep 3 10:43:12 2002 UTC (5 years, 10 months ago) by jnelson
Branch: MAIN
Changes since 1.33: +3 -1 lines
Diff to previous 1.33
Commit the current /LOG command and $logctl() function.
These are nowhere near ready to be used at this point.  I am still working
on them, but this is good enough if you want to take a look at it.

THINGS WILL STILL CHANGE FROM THIS POINT.  DON'T BE USING THIS YET.

Revision 1.33 / (view) - annotate - [select for diffs] , Tue Jul 30 15:12:59 2002 UTC (5 years, 11 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_7, epic4-1_1_6
Changes since 1.32: +2 -2 lines
Diff to previous 1.32
* Added support for CHANMODES, PREFIX and CHANTYPES in the processing of
  modes.  If the server doesn't support these, then hopefuly sane default
  strings are chosen, and these _don't_ include the wacky extensions that
  have been added over the years, so conceivably, this could break things
  like halfops and ban/invite exemptions.
* Stored the UMODES field from the 004 numeric in the server data.  Can be
  retrieved with $serverctl(get x umodes).
* Altered "/msg @$fd" so that $fd must be a number, otherwise, it will be
  treated as a privmsg.
* Added $xdebug() which returns all single bit flags with + or - added as
  appropriate.  /xdebug $xdebug() is a no-op.
* Fixed an /xdebug bug in which - would cause all subsequent flags to be
  switched off.  For bug compatibility, it still works this way, but you
  can specify + to turn all subsequent values on.
* Altered m_sc3cat_s() to call m_sc3cat rather than m_c3cat, which results
  in a cleaner string.  Examination of the uses of this function showed
  that they all dealt with this bug in some way.
* Altered $which() to call path_search() directly, rather than uzfopen().
  It may be useful to add a flag to path_search indicating which attributes
  we are searching for.  This could cause problems since the old method
  would skip over a file if it wasn't readable.
* Added clue variables for $unsplit().

Revision 1.32 / (view) - annotate - [select for diffs] , Mon Jul 22 23:16:58 2002 UTC (5 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.31: +11 -2 lines
Diff to previous 1.31
Track $* along with /defer'ed commands -- this unbreaks several things
regarding /defer not the least of which was the inability to support {}s.
I hope this doesn't break stuff.  Surround your /defer stuff with {}s please.

Revision 1.31 / (view) - annotate - [select for diffs] , Wed Jul 17 21:52:52 2002 UTC (5 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30
Update copyright notices and copyright dates.

Revision 1.30 / (view) - annotate - [select for diffs] , Sat Jul 6 02:50:10 2002 UTC (6 years ago) by jnelson
Branch: MAIN
Changes since 1.29: +33 -5 lines
Diff to previous 1.29
I'm going to start sweeping the entire source, adding the official
copyright notice to each file (like ircII does already), and making
sure that the /* $EPIC$ */ thingee is at the top of the file.  This is
my first swath of files.

Revision 1.29 / (view) - annotate - [select for diffs] , Wed Jul 3 20:46:12 2002 UTC (6 years ago) by wd
Branch: MAIN
Changes since 1.28: +2 -0 lines
Diff to previous 1.28
Added /STACK ... BIND (per discussion w/ hop)
-wd

Revision 1.28 / (view) - annotate - [select for diffs] , Thu May 30 01:15:20 2002 UTC (6 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
Add the commit_id to /version, requested by adm
Fix an obscure bug that caused an abort() in the attribute code.
  This was found/reported by fudd and was caused when the first line of
  a multi-line output contained an attribute change but no space.

Revision 1.27 / (view) - annotate - [select for diffs] , Fri May 24 03:09:34 2002 UTC (6 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.26: +4 -0 lines
Diff to previous 1.26
/xecho -v didn't eat up the "-v", causing an infinite loop to occur.
This was found/reported by elmo to genok, who told me about it.

Revision 1.26 / (view) - annotate - [select for diffs] , Wed May 8 02:04:02 2002 UTC (6 years, 1 month ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_5, epic4-1_1_4
Changes since 1.25: +1 -1 lines
Diff to previous 1.25
It breaks too many things to let /msg take double-quoted words as
the target.  So don't do that.  I doubt anyone uses this anyways.

Revision 1.25 / (view) - annotate - [select for diffs] , Mon May 6 23:05:45 2002 UTC (6 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
This is a huge monster commit -- I put the particulars of the commit in
KNOWNBUGS.  I will only say here that this fixes a lot of issues with
DCC and introduces a lot of protocol independance into the networking API
that epic works with.  Good things will continue to come in the future!

Revision 1.24 / (view) - annotate - [select for diffs] , Fri Apr 26 19:59:40 2002 UTC (6 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.23: +3 -14 lines
Diff to previous 1.23
Next round of in_addr/u_short -> sockaddr_in conversions, along with some
other minor details.  As far as i know, this shouldn't break anything,
but I don't promise that.  Save your old binary first!
If anything is really bad, let me know.  I'll fix it ASAP.

Revision 1.23 / (view) - annotate - [select for diffs] , Thu Apr 4 22:58:20 2002 UTC (6 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.22: +14 -8 lines
Diff to previous 1.22
Update /INFO, year in startup message
Fix compile warning in function_get*().

Revision 1.22 / (view) - annotate - [select for diffs] , Tue Apr 2 21:02:13 2002 UTC (6 years, 3 months ago) by crazyed
Branch: MAIN
Changes since 1.21: +1 -30 lines
Diff to previous 1.21
* 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.21 / (view) - annotate - [select for diffs] , Mon Feb 18 06:59:13 2002 UTC (6 years, 4 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_3
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
* Fixed two compiler warnings that apparently occur under macos X.
* Altered "/ignore #channel crap" to work for quit messages.  The rationale
  behind this is that "/ignore #channel nick" works, and the code for both
  are very similar.  This may conceivably alter the exact behaviour of
  channel_signoff, but I have made efforts to keep it working as is.

Revision 1.20 / (view) - annotate - [select for diffs] , Sun Feb 17 22:40:29 2002 UTC (6 years, 4 months ago) by crazyed
Branch: MAIN
Changes since 1.19: +29 -0 lines
Diff to previous 1.19
* 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.19 / (view) - annotate - [select for diffs] , Fri Feb 1 23:04:28 2002 UTC (6 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.18: +27 -14 lines
Diff to previous 1.18
Bulk commit:
1) Fix typos in KNOWNBUGS
2) Flesh out the things in UPDATES that need documenting
3) Add target_file_write() to files.[ch] for send_text()'s use.
4) Create "reg.h", to hold protos for reg.c
5) Add some missing protos.
6) If /redirect'ing to 0 or to @<fd>, don't output to the screen.
7) Messages sent to target 0 are dropped (/redirect 0 now actually sends
   to target 0, and epic drops it.)  You can /query 0 now if you want.
8) Messages sent to @NUMBER get sent to the NUMBER file, where NUMBER is
   returned by $open().  For example, to paste stuff to log but not to screen:
        @fd = open(FILE w)
        query @$fd
        <paste some stuff>
        query
        @close($fd)
   or
        @fd = open(FILE w)
        redirect @$fd lastlog foo
        @close($fd)
9) Add a function to reg.c to compile a pattern into a regex -- experimental.
10) Fix some compile warnings regarding ssl.

Revision 1.18 / (view) - annotate - [select for diffs] , Wed Jan 23 21:09:45 2002 UTC (6 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.17: +13 -9 lines
Diff to previous 1.17
Permit /on redirect to be hooked when things are redirected to the
redirect sink (/redirect 0).  This permits scripters to do things like
this:
	/on ^redirect "% *text*" {....}
	/redirect 0 <command>
Allowing them to catch the output of <command> that matches "text",
with the assurance that whatever they don't catch won't go anywhere,
not to the screen, nor out to the server.  This allows scripters to
implement general purpose "filter" tools for command output.

Revision 1.17 / (view) - annotate - [select for diffs] , Thu Jan 10 02:26:30 2002 UTC (6 years, 5 months ago) by crazyed
Branch: MAIN
Changes since 1.16: +21 -5 lines
Diff to previous 1.16
* Added a url encoded message switch to /xquote, designed with socks proxy
  scripts in mind.  eg: "xquote -u $urlencode(ISON xxx)%0a" works.  One
  problem with this is that the last command works, and can be used to get
  around the built in barriers for such things.  Is this good or bad?
* -- and any other invalid option will end /xquote switch processing now.
* Added $servergroup() and $serverourname().  These were copied from
  $servername() and behave in much the same way, differing in their return
  values.

Revision 1.16 / (view) - annotate - [select for diffs] , Mon Nov 26 18:35:36 2001 UTC (6 years, 7 months ago) by crazyed
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
This extends /encrypt to add a new argument, which will be treated as a
program with which to filter messages through to be encrypted/decrypted.

The protocol so far is:  One line in text mode, with the key as the first
word.  Followed (starting on the second line and ending at EOF), by the
encrypted message in binary.  Binary messages returned are automatically
quoted and unquoted for transmission over the wire.  Ascii Armoring
if performed by the program will "bypass" the quoting features.

This patch also alters the way floating point numbers are returned.
Before, canon_number was passed over the textual value.  Now, ftoa()
reads the correct way to do it from FLOATING_POINT_MATH.

Revision 1.15 / (view) - annotate - [select for diffs] , Fri Nov 16 06:42:28 2001 UTC (6 years, 7 months ago) by crazyed
Branch: MAIN
Changes since 1.14: +7 -0 lines
Diff to previous 1.14
Hurried patch.  This rolls back the $read() patch for now.

Revision 1.14 / (view) - annotate - [select for diffs] , Tue Nov 13 19:37:19 2001 UTC (6 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.13: +6 -2 lines
Diff to previous 1.13
Implement the "redirect sink", which instead of sending all output to another
irc server, drops the output entirely.  This is used by /flush (which is now
safe to use again) and can be used by the user via /redirect 0 to execute
a server query but suppress it's output.

Revision 1.13 / (view) - annotate - [select for diffs] , Tue Nov 13 18:18:35 2001 UTC (6 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.12: +6 -5 lines
Diff to previous 1.12
Extend /pause <seconds> to support fractional seconds, ie, /pause 1.5

Revision 1.12 / (view) - annotate - [select for diffs] , Tue Nov 13 17:47:20 2001 UTC (6 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.11: +1 -0 lines
Diff to previous 1.11
/xecho -v was broken because of a missing 'break;'.  Oops.

Revision 1.11 / (view) - annotate - [select for diffs] , Mon Nov 12 18:07:06 2001 UTC (6 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.10: +10 -2 lines
Diff to previous 1.10
Get rid of the awful hideous bsd_*env() hacks we had in compat.c and
start using getenv() and setenv() like normal programs do.  Unfortunately
on many systems, setenv() may result in memory leaks, but this is really
not anything I have control over.  It's better that we use environment
variables in the way the system intends it than to try to go off and do
it on our own.  This means you can /setenv TZ EST5EDT for example, to set
the timezone of your clock, and it also means you can do /setenv ONE two
and expect $ONE to expand to "two".  It also means that /setenv values
are actually propogated to child processes.  This is all just a better
choice than avoiding a theoretical memory leak.

Revision 1.10 / (view) - annotate - [select for diffs] , Sat Oct 6 00:46:38 2001 UTC (6 years, 9 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_1
Changes since 1.9: +1 -20 lines
Diff to previous 1.9
* Add /window rebind, which moves a channel binding forcibly to a new window
* Add /window rejoin, which joins a channel in the window you want it to go.
* Make /join use /window rejoin, you can use it in an /on now! Huzzah!
* Fix move_channel_to_window to revoke /window bind when a chan moves away.
Commit 92

Revision 1.9 / (view) - annotate - [select for diffs] , Wed Sep 26 17:32:03 2001 UTC (6 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.8: +10 -6 lines
Diff to previous 1.8
More complete support for random local ports; /set random_local_ports now
cooperates with /setenv EPIC_USE_HIGHPORTS=1, and it works on freebsd,
openbsd, and linux, such as it is.

Revision 1.8 / (view) - annotate - [select for diffs] , Tue Sep 25 17:57:26 2001 UTC (6 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
Oh you didn't know?  Server groups, try one!

Revision 1.7 / (view) - annotate - [select for diffs] , Tue Sep 25 16:52:24 2001 UTC (6 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
Permit double quotes in the target of /msg, Reformat some of the
stuff that ce commited, and fix an issue with word breaking.

Revision 1.6 / (view) - annotate - [select for diffs] , Mon Jul 30 14:57:44 2001 UTC (6 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
There are two fixes here:
1) An obscure bug in COMMAND_COMPLETION if the input line has only
   space characters in it would walk off the end of the string (no crash)
2) /FOR I IN    would crash.

Revision 1.5 / (view) - annotate - [select for diffs] , Tue Mar 20 19:42:58 2001 UTC (7 years, 3 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_0_1, epic4-1_0, epic4-0_9_17, epic4-0_10_0, epic-test-tag2, epic-test-tag
Changes since 1.4: +14 -0 lines
Diff to previous 1.4
Commit #49 -- Add /xecho -v (echo to a visible window)
and add $sin(), $cos(), and $tan() functions. This is epic4-0.9.16-12.

Revision 1.4 / (view) - annotate - [select for diffs] , Fri Feb 9 18:46:11 2001 UTC (7 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.3: +4 -0 lines
Diff to previous 1.3
Commit #38 -- From Robohak (thanks!)
Fix /server <N> where you are already connected to <N> to output the
	customary "Connected to port %d of server %s" message rather
	than reconnecting to the server (oops!)
Fix /reconnect to honor arguments as a reason for reconnecting, or use
	"Reconnecting" as the default message if none is given.

Revision 1.3 / (view) - annotate - [select for diffs] , Tue Jan 23 19:00:27 2001 UTC (7 years, 5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-0_9_16
Changes since 1.2: +43 -0 lines
Diff to previous 1.2
Commit #29:
* Add /on error, to handle ERROR protocol messages.
* Fix /window * toggle, to actually toggle.
* Add /defer command, per email on epic list.
* New hybrid6 script from is-.
* Fix a bug with strlcat() from openbsd via freebsd.
* Axe long broken "1 second cursor in window" delay thing.
* Repeal the "deferred free" stuff in 0.9.15-10 that wasn't too good.
That's it!

Revision 1.2 / (view) - annotate - [select for diffs] , Fri Jan 12 20:11:36 2001 UTC (7 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.1: +2 -9 lines
Diff to previous 1.1
Stage 2 -- what am i getting into?  This is the second stage of the server
connection closed coping mechanism.  This will be tested, bugs may ensue!

Revision 1.1.1.1 / (view) - annotate - [select for diffs] (vendor branch) , Tue Dec 5 00:11:57 2000 UTC (7 years, 7 months ago) by jnelson
Branch: epicsol
CVS Tags: start, epic4_0_9_15, epic4-0_9_15, epic4-0_9_14
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, 7 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