CVS log for epic4/source/numbers.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.70 / (view) - annotate - [select for diffs] , Fri Dec 8 15:47:50 2006 UTC (19 months, 2 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_8, epic4-2_10, HEAD
Changes since 1.69: +7 -1 lines
Diff to previous 1.69
Introduce an intentional error after receiving 001, to avoid a problem
I'm seeing on epicsol.  Grrr.

Revision 1.69 / (view) - annotate - [select for diffs] , Tue Feb 14 00:53:45 2006 UTC (2 years, 5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_6, epic4-2_4
Changes since 1.68: +5 -2 lines
Diff to previous 1.68
Fix crash revealed by ircfuzz.  Thanks go to the anonymous person who
pointed this out.  Only one bug found by ircfuzz! ;-)

Revision 1.68 / (view) - annotate - [select for diffs] , Wed Mar 2 14:44:26 2005 UTC (3 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67
* Fix 353 numeric so channels w/o users on ratbox aren't "odd"

Revision 1.67 / (view) - annotate - [select for diffs] , Fri Dec 3 17:24:11 2004 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_2
Changes since 1.66: +4 -4 lines
Diff to previous 1.66
Fix end-of-invite/except list for braino.

Revision 1.66 / (view) - annotate - [select for diffs] , Wed Dec 1 23:47:51 2004 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_1_3
Changes since 1.65: +9 -4 lines
Diff to previous 1.65
Last material change to epic4! (hopefully -- cross fingers)
* Fix wording of default messages for 347 and 349 numerics.
* Fix column alignment for /timer list.
* Fix add_to_window() to stop runaway recursion through /set output_rewrite.
* Fix bug in expand_alias() -- all output must be privileged_yell()!
* Change /on send_to_server so it can't be hooked recursively.

Revision 1.65 / (view) - annotate - [select for diffs] , Fri Oct 1 19:37:30 2004 UTC (3 years, 9 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_1_2, epic4-2_1_1
Changes since 1.64: +11 -2 lines
Diff to previous 1.64
* Add %{2}W and %{3}W from epic5 (for blackjac)
* Fix $stripcrap(ALL,-<type> ...) from epic5.
* Add support for +e and +I numeric replies for efnet.

Revision 1.64 / (view) - annotate - [select for diffs] , Sun Aug 15 02:28:23 2004 UTC (3 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.63: +10 -8 lines
Diff to previous 1.63
* Avoid NULL deref on brok^H^H^H^Hempty numeric replies

Revision 1.63 / (view) - annotate - [select for diffs] , Sat Aug 7 17:33:35 2004 UTC (3 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.62: +19 -1 lines
Diff to previous 1.62
* 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.62 / (view) - annotate - [select for diffs] , Fri Feb 6 04:48:54 2004 UTC (4 years, 5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_0
Changes since 1.61: +2 -2 lines
Diff to previous 1.61
The nick list in 353 is not mandatory.  IE:
	:server.name 353 mynick = #chan\r\n
is perfectly acceptable.

Revision 1.61 / (view) - annotate - [select for diffs] , Sun Jan 25 19:03:09 2004 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_9, epic4-1_2_8
Changes since 1.60: +2 -2 lines
Diff to previous 1.60
* Document the material changes we made to the release candidate.
* Fix a few compiler warnings since we've already made changes.
* This is the second release candidate.
* The vote will not be restarted.

Revision 1.60 / (view) - annotate - [select for diffs] , Sun Jan 18 10:14:01 2004 UTC (4 years, 6 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_2_7
Changes since 1.59: +9 -2 lines
Diff to previous 1.59
Fixes and new features as per KNOWNBUGS and UPDATES.

Revision 1.59 / (view) - annotate - [select for diffs] , Thu Jan 8 20:14:58 2004 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.58: +4 -1 lines
Diff to previous 1.58
* Fix bug with nicks ending with \ in the 353 numeric which has trailing space
* Auto-close DCC's that can't send handshakes due to family mismatch.

Revision 1.58 / (view) - annotate - [select for diffs] , Sat Jan 3 19:57:25 2004 UTC (4 years, 6 months ago) by crazyed
Branch: MAIN
Changes since 1.57: +7 -4 lines
Diff to previous 1.57
Miscelaneous fixes and features as per UPDATES and KNOWNBUGS.

Revision 1.57 / (view) - annotate - [select for diffs] , Tue Dec 2 06:00:35 2003 UTC (4 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_6, epic4-1_2_5, epic4-1_2_4, epic4-1_2_3, epic4-1_2_2, epic4-1_2_1
Changes since 1.56: +35 -35 lines
Diff to previous 1.56
* Fix the larneproofing in numeric_handler(), it was defective all over.
-- Reported by jb.

Revision 1.56 / (view) - annotate - [select for diffs] , Thu Oct 23 08:09:53 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_0, epic4-1_1_17, epic4-1_1_16, epic4-1_1_15, epic4-1_1_14
Changes since 1.55: +6 -4 lines
Diff to previous 1.55
Commit 610:
* Use the server's message in our default 330 output.
* Make $numwords() use count_words() as a test.  Looks ok so far...
* Make $indextoword() use count_words().
* Implement regression tests for $indextoword()
* Any further problems with $indextoword() should add regress tests!
* Make epic behave like ircII when doing /window create with screen and X.
* Make move_to_next_word() stop when it hits a trailing nul, duh!

Revision 1.55 / (view) - annotate - [select for diffs] , Wed Oct 22 15:15:34 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.54: +1 -2 lines
Diff to previous 1.54
Bugger all.

Revision 1.54 / (view) - annotate - [select for diffs] , Wed Oct 22 15:05:10 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53
Ok.  Maybe my previous fix was wrong.

Revision 1.53 / (view) - annotate - [select for diffs] , Wed Oct 22 14:50:23 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52
Really fix 004 for ratbox this time.

Revision 1.52 / (view) - annotate - [select for diffs] , Wed Oct 22 14:47:57 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.51: +11 -1 lines
Diff to previous 1.51
* Work around "(brown paper bag release)" version in 004 in ratbox-1.2-3

Revision 1.51 / (view) - annotate - [select for diffs] , Tue Sep 23 20:49:47 2003 UTC (4 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_13
Changes since 1.50: +2 -2 lines
Diff to previous 1.50
* Revert all uses of LOG_CURRENT to LOG_CRAP
* Change all uses of message_to(0) to message_to(-1)
* Fix show_help() to not change to_window, it doesn't need to care about that.
* Fix help_put_it() to not change message_from, doesn't need to care about it.
* Fix /lastlog to use message_to(0) to send all output to current window.
* Don't make output of /log go to current window -- no point to that.
* Teach add_to_screen() to honor from_server's current window for LOG_CURRENT
* And for /set current_window_level as well
* Fix message_from() not to save/restore lastlog level, doesn't need to care.
* All of this pretty much nukes LOG_CURRENT except for /window, HUZZAH!

Revision 1.50 / (view) - annotate - [select for diffs] , Fri Jul 4 16:27:55 2003 UTC (5 years ago) by jnelson
Branch: MAIN
Changes since 1.49: +6 -3 lines
Diff to previous 1.49
Don't do WHOWAS on channels in 401 numeric handler. (rb larne)

Revision 1.49 / (view) - annotate - [select for diffs] , Fri May 9 03:29:52 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_12
Changes since 1.48: +7 -11 lines
Diff to previous 1.48
* 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.48 / (view) - annotate - [select for diffs] , Thu Apr 24 20:49:25 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.47: +13 -12 lines
Diff to previous 1.47
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.47 / (view) - annotate - [select for diffs] , Wed Mar 26 07:26:07 2003 UTC (5 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_11
Changes since 1.46: +4 -1 lines
Diff to previous 1.46
Document the stuff ce just commited.  Fix a userhost caching bug.

Revision 1.32.2.2 / (view) - annotate - [select for diffs] , Mon Mar 24 17:53:01 2003 UTC (5 years, 4 months ago) by wd
Branch: wd-devel
Changes since 1.32.2.1: +56 -5 lines
Diff to previous 1.32.2.1 to branch point 1.32 to next main 1.33
Another merge.

Revision 1.46 / (view) - annotate - [select for diffs] , Mon Mar 24 04:21:14 2003 UTC (5 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45
* Fix bug that caused cursor to go wacky on screen < 32 columns.
* Fix 464 handler to only prompt for password if we're not registered yet.
* Fix bug that made ^C,,, slurp up all ,'s after it.

Revision 1.45 / (view) - annotate - [select for diffs] , Mon Mar 24 03:03:19 2003 UTC (5 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.44: +55 -4 lines
Diff to previous 1.44
* Move add_user_who, add_user_end from parse.c to numbers.c
* Add (set|get)_server_max_cached_chan_size(), max chan size for u@h caching.
* Add $serverctl(SET|GET <refnum> MAXCACHESIZE), largest channel we do WHO for.
* Move 'whobase' call from /on join to /on 324.
* Don't call 'whobase' (userhost caching) if too many users on channel.

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

Revision 1.44 / (view) - annotate - [select for diffs] , Tue Feb 25 23:56:52 2003 UTC (5 years, 5 months ago) by crazyed
Branch: MAIN
Changes since 1.43: +3 -1 lines
Diff to previous 1.43
* CTCP-over-DCC fix.  There are some things that confuse me about the inner
  workings here, so I'm not sure if this fix was done properly, but I did
  a few tests including a DCC send over a SED encrypted DCC and everything
  seems to tick over well.
* Unix socket configure tests as per KNOWNBUGS.
* /set flood_ignore defaulted to off.
* Tuned commandqueues.
* The 324 hook is now called for joins as well.
* %{1}D status setting as per UPDATES.
* DCC hold mode as per UPDATES.

Revision 1.43 / (view) - annotate - [select for diffs] , Mon Feb 10 21:41:15 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.42: +16 -1 lines
Diff to previous 1.42
* Docs say that $info(o) includes 'g' if $glob() is available.  Add it.
* Revamp $win(serv|size|chan|bound|level)() to use get_window_by_desc.
* Revamp $win(screen)() to use get_window_by_desc.
* Use get_window_by_refnum(0) and not 'current_window'
* Allow a \ to escape a space where spaces would be stripped.
* Above bug fixes things like switch ($foo) {(foo\  ) {...}} to work.
* Add handler for /on 330, "user is logged in" numeric in ircu.
* Don't honor/ignore "#" in a window name/refnum.  This was lame anways.
* Fix is_window_visible/get_window to use get_window_by_desc().

Revision 1.42 / (view) - annotate - [select for diffs] , Sat Feb 8 06:38:30 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.41: +17 -2 lines
Diff to previous 1.41
Fix numeric handlers for 313, 317.

Revision 1.41 / (view) - annotate - [select for diffs] , Tue Feb 4 03:50:23 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.40: +1 -4 lines
Diff to previous 1.40
Don't hook /on names twice in the normal case.  Found by void.

Revision 1.40 / (view) - annotate - [select for diffs] , Tue Feb 4 01:24:45 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.39: +6 -2 lines
Diff to previous 1.39
* Fix default /on 321 output so it doesn't call display_msg.  BAH!

Revision 1.39 / (view) - annotate - [select for diffs] , Tue Feb 4 00:19:04 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.38: +6 -4 lines
Diff to previous 1.38
Commit 447 -- fix /on 311 as well.  Plus i fixed /on 312 in previous commit.
I forgot about that.

Revision 1.38 / (view) - annotate - [select for diffs] , Tue Feb 4 00:14:05 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.37: +27 -12 lines
Diff to previous 1.37
Fix /on 353, /on names to prior behavior (i think)
Fix /on 317.  This was just a brain-o.

Revision 1.37 / (view) - annotate - [select for diffs] , Sun Feb 2 07:54:30 2003 UTC (5 years, 5 months ago) by crazyed
Branch: MAIN
Changes since 1.36: +5 -3 lines
Diff to previous 1.36
* Fix for NAMES processing.  Discovered by Paladin.

Revision 1.36 / (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.35: +654 -237 lines
Diff to previous 1.35
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.35 / (view) - annotate - [select for diffs] , Wed Jan 29 05:11:29 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
Fix really obvious typo that caused /on 368 to not be thrown when
/set show_end_of_msgs ON and to be thrown when OFF.

Revision 1.34 / (view) - annotate - [select for diffs] , Sun Jan 26 03:25:38 2003 UTC (5 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.33: +478 -600 lines
Diff to previous 1.33
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.33 / (view) - annotate - [select for diffs] , Thu Dec 19 03:22:59 2002 UTC (5 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_9, epic4-1_1_8, epic4-1_1_10
Changes since 1.32: +19 -18 lines
Diff to previous 1.32
* 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.32 / (view) - annotate - [select for diffs] , Fri Nov 8 23:36:12 2002 UTC (5 years, 8 months ago) by jnelson
Branch: MAIN
Branch point for: wd-devel
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
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.31 / (view) - annotate - [select for diffs] , Thu Oct 24 21:28:07 2002 UTC (5 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.30: +1 -43 lines
Diff to previous 1.30
* 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.30 / (view) - annotate - [select for diffs] , Thu Sep 26 21:41:43 2002 UTC (5 years, 10 months ago) by jnelson
Branch: MAIN
Changes since 1.29: +4 -5 lines
Diff to previous 1.29
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.29 / (view) - annotate - [select for diffs] , Tue Aug 27 14:14:32 2002 UTC (5 years, 11 months ago) by crazyed
Branch: MAIN
Changes since 1.28: +4 -6 lines
Diff to previous 1.28
Cleaned the /userip thing up a bit more.  Withdrew the sending of unqueued
USERIPs and handled 307 responses "better".

Revision 1.28 / (view) - annotate - [select for diffs] , Mon Aug 26 17:10:55 2002 UTC (5 years, 11 months ago) by crazyed
Branch: MAIN
Changes since 1.27: +5 -2 lines
Diff to previous 1.27
* Cleaned up 307 processing a bit for now.

Revision 1.27 / (view) - annotate - [select for diffs] , Mon Aug 26 16:20:14 2002 UTC (5 years, 11 months ago) by crazyed
Branch: MAIN
Changes since 1.26: +4 -1 lines
Diff to previous 1.26
* /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.26 / (view) - annotate - [select for diffs] , Wed Jul 17 21:52:52 2002 UTC (6 years ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_7, epic4-1_1_6
Changes since 1.25: +29 -8 lines
Diff to previous 1.25
Update copyright notices and copyright dates.

Revision 1.25 / (view) - annotate - [select for diffs] , Mon Jul 15 17:36:23 2002 UTC (6 years ago) by crazyed
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24
* 010 numeric fix to add the new server to the old servers group, hence
  allowing it to connect.

Revision 1.24 / (view) - annotate - [select for diffs] , Mon Jul 15 17:11:22 2002 UTC (6 years ago) by crazyed
Branch: MAIN
Changes since 1.23: +19 -1 lines
Diff to previous 1.23
* Added 005 framework.  The internal interfaces to this are
  get_server_005() and set_server_005().  The scripting interface is
  $serverctl([gs]et [ref] 005 [set] [[value]]).  Unsetting is done by
  setting a null value, and $serverctl(..set..) will return 1 for set or
  0 for unset.  All values are reset upon successful reconnect.
* Altered $rand() to be more conservative when drawing on the random data
  source.  It should be faster for lower max-values now.
* Altered $splice() somehow.  I think it was for the clue variables.  It
  didn't improve the speed due to other problems, but it still works.

Revision 1.23 / (view) - annotate - [select for diffs] , Thu Jun 13 11:47:47 2002 UTC (6 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22
Unbreak the larneproofing which was too strict for ircnet. doh!
Found/reported by desaster.

Revision 1.22 / (view) - annotate - [select for diffs] , Thu May 9 22:32:21 2002 UTC (6 years, 2 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_5, epic4-1_1_4
Changes since 1.21: +39 -3 lines
Diff to previous 1.21
Add more larneproofing.

Revision 1.21 / (view) - annotate - [select for diffs] , Thu May 9 22:17:04 2002 UTC (6 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.20: +4 -1 lines
Diff to previous 1.20
Add some larneproofing.

Revision 1.20 / (view) - annotate - [select for diffs] , Wed Feb 27 02:57:19 2002 UTC (6 years, 4 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_3
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
* Applied Ay-Ars patch (with a few modifications) which fully melds ssl
  into the server spec, which is now server:port:pass:nick:group:proto
  where proto currently is "irc" or "irc-ssl".
* Removed -ssl flags from "/window server" and /server.
* Ay-Ars patch also includes a new function, $servertype() which returns
  the proto field by way of extrapolation, (it is not the exact text
  entered into that field).

* Entering a server spec in a /server or "/window server" that currently
  exists, but which has different additional field values normally
  alters the current spec to conform to the new spec.  This doesn't work
  with the proto field.  This is probably a bug.

I am somewhat uncomfortable with all of this.  I would like to alter
add_to_server_list to be the one true reference for decoding the server
spec and simplify the other functions to only breaking it into server,
port and "additional".  This may be too big a change currently.

Revision 1.19 / (view) - annotate - [select for diffs] , Mon Feb 4 05:37:44 2002 UTC (6 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.18: +14 -2 lines
Diff to previous 1.18
Stop doing special support for two numerics, 316 and 340, as a personal
favor to Kevin Mitchell (kev).

Revision 1.18 / (view) - annotate - [select for diffs] , Sat Feb 2 16:44:13 2002 UTC (6 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.17: +25 -2 lines
Diff to previous 1.17
Fix a null deref when writing to a window's logfile that doesn't exist.
Add some comments to numbers.c in anticipation of future work.

Revision 1.17 / (view) - annotate - [select for diffs] , Wed Oct 10 21:47:17 2001 UTC (6 years, 9 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_1
Changes since 1.16: +8 -3 lines
Diff to previous 1.16
* Minor optimisation to find_array_item().
* Fix to the "rolling nick" bug occasionally seen for lagged users.

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

Revision 1.15 / (view) - annotate - [select for diffs] , Tue May 8 21:14:22 2001 UTC (7 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.14: +8 -8 lines
Diff to previous 1.14
Rework some comments to avoid offending server coders who do not like
to see breaking of backwards compatability refered to as "broken".

Revision 1.14 / (view) - annotate - [select for diffs] , Mon Mar 26 15:45:05 2001 UTC (7 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_0_1, epic4-1_0, epic-test-tag2, epic-test-tag
Changes since 1.13: +10 -1 lines
Diff to previous 1.13
Add vampirmel to epic_thanks at the request of whitefang
Fix 477 numeric handling for ircnet, as they use it for something
	different than dalnet uses it for.  Oh well.

Revision 1.13 / (view) - annotate - [select for diffs] , Sat Mar 24 03:43:40 2001 UTC (7 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.12: +4 -2 lines
Diff to previous 1.12
The "Can't join channels" numerics were not having their /on's thrown
because i moved them from zone 3 to zone 1 but forgot to add the call
to do_hook for them.

Revision 1.12 / (view) - annotate - [select for diffs] , Fri Mar 23 18:35:43 2001 UTC (7 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-0_10_0
Changes since 1.11: +43 -40 lines
Diff to previous 1.11
* Move the "can't join channel" numerics into section #1, suppress them if you
  are actually on the channel already!  Add "cant_join_channel" function in
  names.c to wipe out window->waiting_channel(), and use it in the "cant join
  channel" numerics.

Revision 1.11 / (view) - annotate - [select for diffs] , Fri Mar 23 17:08:04 2001 UTC (7 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.10: +20 -18 lines
Diff to previous 1.10
Fix more bogons in numbers.c from using ArgList after calling display_msg.
I must remember not to touch ArgList after calling display_msg().
[repeat 1000 times]

Revision 1.10 / (view) - annotate - [select for diffs] , Wed Mar 21 19:46:01 2001 UTC (7 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.9: +2 -7 lines
Diff to previous 1.9
Try to handle the 464 numeric properly for server passwords.

Revision 1.9 / (view) - annotate - [select for diffs] , Wed Mar 21 18:49:10 2001 UTC (7 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.8: +7 -6 lines
Diff to previous 1.8
Must not touch ArgList after calling display_msg() in numeric handlers.
I am *such* a doofus some times.  This fixes the 010 numeric, natch.

Revision 1.8 / (view) - annotate - [select for diffs] , Wed Mar 21 16:57:36 2001 UTC (7 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
Fix a typo in the 477 numeric handler (spotted by robohak)
Fix reconnect stuff so it's done right.  Hopefully Q will accept this. ;-)
I'm hoping that channels are now saved properly, or at least that we can
arrange for them to be.  Watch out for the new panic i put in there!

Revision 1.7 / (view) - annotate - [select for diffs] , Tue Mar 20 19:35:36 2001 UTC (7 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-0_9_17
Changes since 1.6: +5 -1 lines
Diff to previous 1.6
EPIC4-0.9.16-11 -- support 477 numeric on dalnet.

Revision 1.6 / (view) - annotate - [select for diffs] , Fri Jan 12 20:11:36 2001 UTC (7 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-0_9_16
Changes since 1.5: +4 -18 lines
Diff to previous 1.5
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.5 / (view) - annotate - [select for diffs] , Fri Jan 12 17:43:11 2001 UTC (7 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.4: +11 -1 lines
Diff to previous 1.4
Add a "reconnect_to" feature to the servers.  The idea is that instead of
closing the server when we recieve a 465 or 010 numeric, instead we should
stash the refnum of the server we want to connect to in the server's data,
and then when we recieve the EOF from the server, at that point do the
reconnect.  This saves users pain and suffering when there is important data
after those numerics.  Thus, we only ever drop our connection to the server
when the user does /server + or /server -.

Revision 1.4 / (view) - annotate - [select for diffs] , Wed Dec 27 03:43:20 2000 UTC (7 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4_0_9_15, epic4-0_9_15
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
Commit #15 -- fix format log for 010 numeric handler.

Revision 1.3 / (view) - annotate - [select for diffs] , Thu Dec 21 07:45:05 2000 UTC (7 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.2: +23 -1 lines
Diff to previous 1.2
Commit #11 -- support efnext's 010 numeric (Please use another server)
Support dalnet's +O (elite bastard only) channel mode.

Revision 1.2 / (view) - annotate - [select for diffs] , Wed Dec 6 03:25:52 2000 UTC (7 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-0_9_14
Changes since 1.1: +3 -3 lines
Diff to previous 1.1
Don't forget; must use 'get_server_itsname' and never 'get_server_name'
when determining if the response is from the local server.

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