CVS log for epic4/source/alias.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.38 / (view) - annotate - [select for diffs] , Sun Dec 7 21:26:29 2003 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_8, epic4-2_6, epic4-2_4, epic4-2_2, epic4-2_1_3, epic4-2_1_2, epic4-2_1_1, epic4-2_10, epic4-2_0, epic4-1_2_9, epic4-1_2_8, epic4-1_2_7, epic4-1_2_6, epic4-1_2_5, epic4-1_2_4, HEAD
Changes since 1.37: +4 -2 lines
Diff to previous 1.37
* Do not increment arg_count when ignoring an empty argument in arglists.

Revision 1.37 / (view) - annotate - [select for diffs] , Sat Nov 15 22:15:59 2003 UTC (4 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_3, epic4-1_2_2, epic4-1_2_1, epic4-1_2_0, epic4-1_1_17
Changes since 1.36: +2 -1 lines
Diff to previous 1.36
* Fix a possible logic hole in ok_to_output()
* Fix memory leaks found by valgrind.

Revision 1.36 / (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_16
Changes since 1.35: +17 -3 lines
Diff to previous 1.35
Implement infinite recursion detector and thwarter.  It requires a #define
in config.h, the future of which I have not decided yet.

Revision 1.35 / (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.34: +55 -20 lines
Diff to previous 1.34
* 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.34 / (view) - annotate - [select for diffs] , Tue Oct 28 05:53:57 2003 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33
* 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.33 / (view) - annotate - [select for diffs] , Thu Sep 25 20:24:33 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_13
Changes since 1.32: +6 -2 lines
Diff to previous 1.32
Fix it so you can compile on systems without (intptr_t) again.

Revision 1.32 / (view) - annotate - [select for diffs] , Thu Sep 25 02:50:23 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31
Fix the {...} expression parser operator to not infinite loop when it
can't find the $FUNCTION_RETURN local variable.  Umm, yea.

Revision 1.31 / (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.30: +7 -3 lines
Diff to previous 1.30
Commit 581
* Fix /dcc chat nick -p 4444
* Return empty string if you do $aliasctl(pmatch <bogus> <whatever>)
* Update some copyright notices.

Revision 1.30 / (view) - annotate - [select for diffs] , Thu Jul 31 05:53:19 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.29: +5 -2 lines
Diff to previous 1.29
Fix bug 5 -- panic when you do $push(:foo   ) [and $unshift() too]

Revision 1.29 / (view) - annotate - [select for diffs] , Thu Jul 31 05:29:37 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28
Make some compile warnings go away by using (intptr_t).  I hope this
doesn't bite me -- every system I checked has (intptr_t)..

Revision 1.28 / (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.27: +25 -12 lines
Diff to previous 1.27
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.27 / (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.26: +5 -5 lines
Diff to previous 1.26
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.26 / (view) - annotate - [select for diffs] , Thu Jul 10 09:30:45 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.25: +3 -1 lines
Diff to previous 1.25
Commit 548
* Nix channel_window, duplicate of get_winref_by_channame()
* Make arglist processor panic if it sees an argtype that doesn't exist.
* Fix bug with * operator in exprs like (a ? b : *c) in new expression parser.
* Fix theoretical crash with deleting hooks from /on window. Bleh.
* General cleanups in if.c.
* Fix /timer -list acting all wacky.
* Fix compilation warnings, you know the deal...

Revision 1.25 / (view) - annotate - [select for diffs] , Thu Jul 10 08:50:30 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.24: +33 -4 lines
Diff to previous 1.24
* Convert parse_line_with_return() to call_lambda_function().

Revision 1.24 / (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.23: +15 -15 lines
Diff to previous 1.23
Convert m_strdup() to malloc_strdup().

Revision 1.23 / (view) - annotate - [select for diffs] , Tue Jul 8 21:36:51 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22
Commit 541
* Move #define CTCP_* into ctcp.h
* Add /xdebug extractw_debug
* Move #define LOCAL_COPY and SAFE into irc_std.h
* Create compat.h, move all the compat.c decls into there (from ircaux.h)
* Create network.h, move all the network.c decls into there (from ircaux.h)
* Create words.h, move all the words.c decls into there (from ircaux.h)
* Include "compat.h" and "network.h" in ircaux.h
* Do another round of make depends
* Rename 'search' to 'search_for'.
* Fix the metric clock hooking /on timer too much.
* Revamp words.c, to support passing word quoter (' or ") as an argument.

Revision 1.22 / (view) - annotate - [select for diffs] , Tue May 13 12:09:34 2003 UTC (5 years, 1 month ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_12
Changes since 1.21: +7 -2 lines
Diff to previous 1.21
* Fixed two language related leaks.
* Added flags for dccctl as in, $dccctl(get [ref] FLAGS).

Revision 1.21 / (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.20: +163 -129 lines
Diff to previous 1.20
* 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.20 / (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.19: +19 -3 lines
Diff to previous 1.19
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.19 / (view) - annotate - [select for diffs] , Thu Apr 24 20:49:24 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
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.11.2.12 / (view) - annotate - [select for diffs] , Wed Mar 26 13:30:39 2003 UTC (5 years, 3 months ago) by wd
Branch: wd-devel
Changes since 1.11.2.11: +20 -14 lines
Diff to previous 1.11.2.11 to branch point 1.11 to next main 1.12
Just some more work/cleanup/etc.  Now $<namespacegunk>::function() works
right.
-wd

Revision 1.11.2.11 / (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.11.2.10: +74 -73 lines
Diff to previous 1.11.2.10 to branch point 1.11
A lot more cleanup.  Namespace scope changing within aliases now works.
-wd

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

Revision 1.11.2.9 / (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.11.2.8: +2 -18 lines
Diff to previous 1.11.2.8 to branch point 1.11
Initial namespace work seems to be done.  Huzzah.
-wd

Revision 1.11.2.8 / (view) - annotate - [select for diffs] , Tue Mar 25 09:20:33 2003 UTC (5 years, 3 months ago) by wd
Branch: wd-devel
Changes since 1.11.2.7: +17 -16 lines
Diff to previous 1.11.2.7 to branch point 1.11
Found and fixed that ridiculous crashing bug!  Sweet!
-wd

Revision 1.11.2.7 / (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.11.2.6: +123 -120 lines
Diff to previous 1.11.2.6 to branch point 1.11
Another merge.

Revision 1.18 / (view) - annotate - [select for diffs] , Sun Mar 23 19:44:17 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_11
Changes since 1.17: +6 -5 lines
Diff to previous 1.17
* 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.17 / (view) - annotate - [select for diffs] , Mon Mar 17 19:39:39 2003 UTC (5 years, 3 months ago) by crazyed
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16
* $dccctl() changes as per UPDATES.
* Misc bug fixes as per KNOWNBUGS.

Revision 1.16 / (view) - annotate - [select for diffs] , Thu Feb 27 20:20:56 2003 UTC (5 years, 4 months ago) by wd
Branch: MAIN
Changes since 1.15: +5 -2 lines
Diff to previous 1.15
Fix a little bug in /stack (alias|assign) pop.
-wd

Revision 1.11.2.6 / (view) - annotate - [select for diffs] , Thu Feb 27 18:15:57 2003 UTC (5 years, 4 months ago) by wd
Branch: wd-devel
Changes since 1.11.2.5: +37 -26 lines
Diff to previous 1.11.2.5 to branch point 1.11
Urgh.  Fix some stuff here and there.
-wd

Revision 1.11.2.5 / (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.11.2.4: +62 -10 lines
Diff to previous 1.11.2.4 to branch point 1.11
Yikes.  Merged to become consistent with HEAD.  Sorry for all the commits,
I'll be quiet again soon. :)
-wd

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

Revision 1.11.2.3 / (view) - annotate - [select for diffs] , Thu Feb 27 14:31:08 2003 UTC (5 years, 4 months ago) by wd
Branch: wd-devel
Changes since 1.11.2.2: +4 -5 lines
Diff to previous 1.11.2.2 to branch point 1.11
Fix a few bugs.  Notably, get_variable() (and co) should never return
NULL.  Hum.
-wd

Revision 1.11.2.2 / (view) - annotate - [select for diffs] , Thu Feb 27 12:42:48 2003 UTC (5 years, 4 months ago) by wd
Branch: wd-devel
Changes since 1.11.2.1: +12 -4 lines
Diff to previous 1.11.2.1 to branch point 1.11
Fix local variable lookup breakage.
-wd

Revision 1.11.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.11: +460 -788 lines
Diff to previous 1.11
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.15 / (view) - annotate - [select for diffs] , Mon Feb 17 23:48:48 2003 UTC (5 years, 4 months ago) by crazyed
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14
* "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.14 / (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.13: +1 -3 lines
Diff to previous 1.13
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.13 / (view) - annotate - [select for diffs] , Thu Jan 9 01:10:56 2003 UTC (5 years, 5 months ago) by crazyed
Branch: MAIN
Changes since 1.12: +44 -11 lines
Diff to previous 1.12
* Altered the default FLOATING_POINT_PRECISION from 6 to 16 which fixes a
  math bug.
* Melded a count argument into next_args and new_next args to cause a
  specific number of words to be returned.
* Rewrote the /alias xxx (args) form of /alias to avoid using extractw and
  to use *next_args_count instead.
* Tuned the call.xtrace alias in debug.irc.
* Extended $is_on() in guh to allow and return multiple arguments.
* Added $is_off() as a compliment to $is_on().
* Made a minor philosophical change to the way flood detection works:  A
  message is not counted as a flood if it is the first message in a flood.
  The most important impact of this is that rate calculations are more
  accurate.

Revision 1.12 / (view) - annotate - [select for diffs] , Wed Dec 11 19:20:23 2002 UTC (5 years, 6 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_9, epic4-1_1_8, epic4-1_1_10
Changes since 1.11: +30 -9 lines
Diff to previous 1.11
* 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.11 / (view) - annotate - [select for diffs] , Thu Sep 26 21:41:43 2002 UTC (5 years, 9 months ago) by jnelson
Branch: MAIN
Branch point for: wd-devel
Changes since 1.10: +3 -3 lines
Diff to previous 1.10
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.10 / (view) - annotate - [select for diffs] , Mon Sep 2 21:05:51 2002 UTC (5 years, 10 months ago) by jnelson
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9
Fix /alias /s to use %lu for unsigned longs in say().

Revision 1.9 / (view) - annotate - [select for diffs] , Mon Aug 26 16:20:14 2002 UTC (5 years, 10 months ago) by crazyed
Branch: MAIN
Changes since 1.8: +26 -4 lines
Diff to previous 1.8
* /exec leak fix for -line, -part, etc.
* /for var from x to y step z will work for negative z now, but for bug
  compatibility, you must use a negative step to actually make this work.
* Local variable tweaks.
* Fixed $word() to not discard words after a "".
* /userip now uses the internal queue, if the server supports it via the
  USERIP 005.  Otherwise, it will send the command directly to the server.
  The problem with this is that to avoid the internal cache returning the
  users address, you must use -direct.  This needs to be fixed.
* Karll Array overhaul.  Removed certain performance traps for very large
  arrays, which have very large numbers of like items, and made it such
  that arrays can be in an unsorted internaly until the time that they
  need to be sorted, when a quicksort is called on them.
   * Added two new functions to deal with this:  $usetitem() and
     $delitems().  These work like their similarly named counterparts, but
     leave the array unsorted, and generally perform better.
   * Any function which uses indexes or performs a binary search on an
     array will cause the array to be sorted.
   * For the most part, extended functions to allow for additional
     item/index args.  $getitem(array $getmatches(array *cat*)) will
     return the contents of all items that have the character sequence
     "cat" in them.  $getitem(array2 $getmatches(array1 *cat*)) will
     act much like $copattern().

Revision 1.8 / (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.7: +4 -4 lines
Diff to previous 1.7
* 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.7 / (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.6: +2 -2 lines
Diff to previous 1.6
Update copyright notices and copyright dates.

Revision 1.6 / (view) - annotate - [select for diffs] , Sat Jul 6 02:50:10 2002 UTC (6 years ago) by jnelson
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5
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.5 / (view) - annotate - [select for diffs] , Thu Jan 24 10:45:25 2002 UTC (6 years, 5 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_5, epic4-1_1_4, epic4-1_1_3
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
* Enhanced flood checking to keep records based on userhost rather than
  nick.  Not designed to catch clones but to make it harder to avoid.
* Flood checking keeps its time in microseconds now, which _may_ make it
  a little hyperactive on occasions.
* Small re-arrangement to find_array_item() to make it slightly faster.
* Terminology fix in /alias /s.
* Added $regmatches() which works exactly like $regexec, but returns pairs
  of numbers which can be applied to $mid() to extract the matched strings
  and substrings from the original string.  It also takes a new second
  argument indicating the maximum number of subexpressions to return.
* New -file option to /lastlog.  If given, all output will be written to
  the file rather than the screen.  file_put_it() may be questionable.
* $channel() will return "h" in the op field if the user is a half-op.

Revision 1.4 / (view) - annotate - [select for diffs] , Sun Jan 6 19:42:30 2002 UTC (6 years, 5 months ago) by crazyed
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3
Fixed a bunch of memory leaks:

* In /alias with no args, one leak for each line printed.
* If an /on would clober another /on, there would be a leak.
* In "/timer -ref xxx", if xxx existed and therefore blocked the timer,
  there would be a leak.
* "/server -d" wouldn't erase the notify list and one or two other things
  for the server
* And the last one I am _not_ sure about.  prepare_display() had a leak,
  however, this does appear to be a work in progress, and the pointer
  in question points to a strange combination of static, dynamic and
  alloca() variables.  I made the smallest possible patch which seems
  to work, however, its quality may be questionable.

Revision 1.3 / (view) - annotate - [select for diffs] , Sun Dec 30 04:56:01 2001 UTC (6 years, 6 months ago) by crazyed
Branch: MAIN
Changes since 1.2: +70 -62 lines
Diff to previous 1.2
* Optimised the search algorithms that apply to /foreach and aliasctls
  match function.
* Altered $uh() in script/guh to use the cached variables from $userhost()
  where possible.  Perhaps it's a better idea to add a new function?
* Bugfix to deban.

Revision 1.2 / (view) - annotate - [select for diffs] , Mon Sep 24 15:49:08 2001 UTC (6 years, 9 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_1
Changes since 1.1: +4 -2 lines
Diff to previous 1.1
Two patches applied, aka, the string and perl patches.

The perl patch adds perl support via three perl functions.

The string patch:
  * Rewrites new_realloc to more closely resemble new_realloc in its
    interface, and in that it calls realloc directly.
  * Adds an argument to the 3cat functions that permits it to seek
    directly to the end of the string.  Designed to improve performance.
  * Alters a few things to use the above.
  * Tunes a few other string functions in ircaux.c.
  * Rewrites $uniq() for performance reasons.
  * Removes the part of $jot() that preallocates the string.  I feel a
    little guilty about this somehow though it seems to have absolutely
    no effect on performance anymore.

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