CVS log for epic5/source/numbers.c

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

Request diff between arbitrary revisions


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

Revision 1.97 / (view) - annotate - [select for diffs] , Tue Feb 19 13:13:12 2008 UTC (7 months, 2 weeks ago) by crazyed
Branch: MAIN
CVS Tags: epic5-0_3_9, epic5-0_3_8, HEAD
Changes since 1.96: +2 -1 lines
Diff to previous 1.96
* Fixed q1cmd in command queues to address space mangling issues
  first noticed by Kraca.
* Fixed data_struct to work with dword.
* Fixed tabkey.ce to work better with args with spaces in them.
* Fixed tabkey.ce to not put / prefix on recursed commands (again).
* Fixed tabkey.ce to work with 005 CHANTYPES.
* Fixed $xdebug() to work with multiple arguments as it once did.
* Fixed what appears to be a typo in elf.c and I don't really know what
  it does.  I hope it doesn't break anything for anybody.  XXX
* Minor optimisation for notify.c.
* Added handling of the 340 numeric in numbers.c
* Handle extraneous spaces in server MODE messages.  Austhex adds these.
* Trigger waiting ISON's when we connect again.  I don't recall why
  I took this out in the first place.
* Added "/userhost -flush", which will flush the queue of messages waiting
  to be sent, NOT the queue awaiting replies.
* Extended "/ison -f" to also flush the queue of ISON's waiting to be sent.

Revision 1.96 / (view) - annotate - [select for diffs] , Sat Oct 20 15:10:11 2007 UTC (11 months, 2 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_7, epic5-0_3_6
Changes since 1.95: +30 -9 lines
Diff to previous 1.95
* Change /on listings so they tell you if a hook is "disabled".
* Add forgotten code to move lastlog items between windows for /window number
* Fix bug where default numeric output wouldn't go to a channel's window.
* Remove a superfluous message_from() when parsing server stuff.

Revision 1.95 / (view) - annotate - [select for diffs] , Thu Jun 29 00:13:53 2006 UTC (2 years, 3 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_5, epic5-0_3_4, epic5-0_3_3, epic5-0_3_2, epic5-0_3_1
Changes since 1.94: +13 -1 lines
Diff to previous 1.94
___ WARNING ___ This stuff is all wildly un(der)tested.
I will get to that soon!  But I'm too excited about this to sit on it.

* Add AESSHA256 support (AES256 using the SHA256 digest of your passkey)
* Rename "EXTCRYPT" to "PROGCRYPT"
* Migrate SED support from crypt.c to crypto.c
* Integrate SED and extprog support into the mainline [de]cipher_message()
* Refactor [de]cipher_message() to be less lame.
* Support "anycrypt" support (AESSHA, AES, BLOWFISH, CAST5, SED, PROG)
* Include sha256 implementation from Karll.  Thanks Karll!
* Unify the ctcp handling of all crypto ctcps
* Add $sha256() function to test sha support (digest)
* Make funcs in crypto.c static and just expose [de]crypt_msg().
* This finishes the divide between crypt.c (front end) and crypto.c (back end)
* Fix a gazillion compiler warnings and sort out const/unsigned char issues.

Revision 1.94 / (view) - annotate - [select for diffs] , Sat Jun 24 16:15:06 2006 UTC (2 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.93: +4 -1 lines
Diff to previous 1.93
* Add /ON NUMERIC which is thrown if you don't hook the numeric specifically.

Revision 1.93 / (view) - annotate - [select for diffs] , Sat Jun 17 03:04:02 2006 UTC (2 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92
* Lay the foundations for nonblocking ssl connection (not supported yet)
* Change SEND_LINE to do SCROLL_FORWARD if we're in scrollback mode
* Add support for maildir mailboxes.
* Fix crash with 042 numeric.

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

Revision 1.91 / (view) - annotate - [select for diffs] , Tue Feb 14 00:53:11 2006 UTC (2 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_2_0
Changes since 1.90: +5 -2 lines
Diff to previous 1.90
Fix the one bug found by ircfuzz.  Thanks go to the anonymous person
who pointed this out.

Revision 1.90 / (view) - annotate - [select for diffs] , Sun Oct 30 22:41:19 2005 UTC (2 years, 11 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_8
Changes since 1.89: +6 -6 lines
Diff to previous 1.89
* Switch users of LEVEL_CRAP to LEVEL_OTHER. yay!
* Whack some unused functions and decls, make *toa() funcs return const.
* Roll get_window_by_name() into get_window_by_desc(), it's only user.

Revision 1.89 / (view) - annotate - [select for diffs] , Wed Aug 17 22:35:23 2005 UTC (3 years, 1 month ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_7
Changes since 1.88: +3 -6 lines
Diff to previous 1.88
Round 1 of an attempt to support 64 bit ints without breaking the build for
systems with only 32 bit ints (ie, vms).  I will phase in support for c99's
"intmax_t" and hacks for backwards compatability "soon".

Revision 1.88 / (view) - annotate - [select for diffs] , Mon May 9 02:43:52 2005 UTC (3 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_6
Changes since 1.87: +2 -12 lines
Diff to previous 1.87
Reorganize how nickname changes are handled, refactoring coming soon!

Revision 1.87 / (view) - annotate - [select for diffs] , Sat May 7 04:43:54 2005 UTC (3 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.86: +15 -10 lines
Diff to previous 1.86
* Fix $windowctl(GET * QUERY_NICK)
* Don't do WHO on anonymous channels (channel mode +a) (for ircnet users)
* Don't set server's default nickname until we first try to connect.

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

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

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

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

Revision 1.82 / (view) - annotate - [select for diffs] , Sat Mar 12 01:40:22 2005 UTC (3 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_4
Changes since 1.81: +2 -2 lines
Diff to previous 1.81
* Add $hookctl(SET LIST <type> IMPLIED <string>) though it's off by default.
* If you do turn it on, it shows up as 'h' in $info(o)
* Sort logfiles by refnum, so new refnums always go at the end of the list.
* Fix up 338 again, oops!

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

Revision 1.80 / (view) - annotate - [select for diffs] , Thu Mar 3 02:22:12 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79
Fix more compiler warnings.

Revision 1.79 / (view) - annotate - [select for diffs] , Thu Mar 3 02:10:39 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78
* Refactor the error stuff by eliminating my_strerror() and dgets_errno.
* Error messages are now delivered on multiple levels as info is available.
* This may get annoying, but it's a lot more accurate now!
* Change inet_* functions to return int's since their retval is unused.
* Add a new internal "syserr()" function that generates formatted errors.
* Syserr's look like say()s but they act like yell()s. (can hook with /on yell)
* Keep an counter in the server stuff so we can count off as addrs are used.
* So the error message in /ON DCC_LOST is always just "ERROR" now.
* Fix various compiler warnings and stuff.
* Add $hookctl(GET HOOK <ref> STRING), return /load'able format of ON
* Fix some debugging outbound in switch_hostname(), doh!
* Roll set_socket_options() into a new Socket() function.
* Roll connections to AF_UNIX sockets into the mainline stuff.
* Roll nonblocking/connect/nonblocking into Connect().
* Add AF_UNIX support to Getnameinfo() to remove annoying errors.
* When doing recovery from EBADF in select, only check fd's we're using
* Just puke if configured for kqueue() and kqueue() fails.
* Don't puke on default 353 output if the userlist arg is missing. (for ratbox)
* Permit doing /window name to change case of window's name.

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

Revision 1.77 / (view) - annotate - [select for diffs] , Fri Oct 1 19:30:53 2004 UTC (4 years ago) by jnelson
Branch: MAIN
Changes since 1.76: +10 -1 lines
Diff to previous 1.76
* Support efnet's +e and +I numeric replies.

Revision 1.76 / (view) - annotate - [select for diffs] , Wed Aug 25 22:03:36 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75
* Fix memory leak with /timer
* Fix $server*() functions, when passed no arguments.

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

Revision 1.74 / (view) - annotate - [select for diffs] , Sun Aug 15 02:25:11 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.73: +10 -9 lines
Diff to previous 1.73
* Avoid NULL deref on brok^H^H^H^Hempty numeric replies

Revision 1.73 / (view) - annotate - [select for diffs] , Sun Aug 8 02:52:50 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.72: +15 -1 lines
Diff to previous 1.72
Sync up with all the bug fixes from epic4.

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

Revision 1.71 / (view) - annotate - [select for diffs] , Mon May 3 23:34:59 2004 UTC (4 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.70: +4 -4 lines
Diff to previous 1.70
* Create one unified "hook" table for numerics and named hooks
* Nuke "numeric lists" as separate beast in hook.c
* Refactor code to only worry about one hook table.
* Refactor do_hook() to re-start at start of list every time /on runs
* This makes it 100% safe to edit/delete /on's from within /on's, HUZZAH!
* Revert /on type ^"pattern" to epic4 behavior (suppressive action)
* Add /on type !"pattern" to act like ircII's /on type ^"pattern" (exceptive)

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

Revision 1.69 / (view) - annotate - [select for diffs] , Fri Mar 19 06:05:13 2004 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_2
Changes since 1.68: +1 -4 lines
Diff to previous 1.68
GC a bunch of useless cruft and stuff.

Revision 1.68 / (view) - annotate - [select for diffs] , Mon Mar 15 03:24:51 2004 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.67: +6 -6 lines
Diff to previous 1.67
Well, at least it compiles again, but I think i still need at least one
or two sweeps of the code to make sure I got everything proper.

Revision 1.67 / (view) - annotate - [select for diffs] , Fri Mar 12 22:22:00 2004 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.66: +7 -7 lines
Diff to previous 1.66
*********** DONT RUN THIS -- IT'S WORK IN PROGRESS -- DONT RUN THIS ***********
* Import epic4 commits 674 through 692, inclusive.
* Import epic4 commits 693 through 710, inclusive (epic4-2.0 final)
* Change _X and _Y macros to LEVEL and LEVELMASK for linux (sigh)
* Add a searchbuf() 8 bit clean byte-finder for future use.
* Convert flood checking, ignore checking, lastlog, logfiles to int masks.
* Convert message_from to int masks.
*********** DONT RUN THIS -- IT'S WORK IN PROGRESS -- DONT RUN THIS ***********

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

Revision 1.65 / (view) - annotate - [select for diffs] , Thu Jan 15 22:28:04 2004 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.64: +1 -12 lines
Diff to previous 1.64
Don't do anything for /on 465, refactor /server.

Revision 1.64 / (view) - annotate - [select for diffs] , Wed Jan 7 16:05:02 2004 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.63: +1 -2 lines
Diff to previous 1.63
* Assimilate notice.c into parse.c.  *poof*
* Fix some compiler issues and so forth
* Nix the NOTE level.
* Move load_ircrc() to irc.c, nix "startup_file" global var.

Revision 1.63 / (view) - annotate - [select for diffs] , Mon Jan 5 16:24:40 2004 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.62: +3 -4 lines
Diff to previous 1.62
* Allow client_connect() to be nonblocking
* Allow Getaddrinfo() and Freeaddrinfo() to be called extern.
* Track writable sockets in 'global_max_fd' too.
* Keep a list of AI's for server addresses in the server code
* When server connection lost before registration, use the next AI
* Implement set_server_status(), which controls where server is in lifetime
* Nix reconnect(), which is replaced by close_server + set_server_status().
* Nix server_reconnects_to(), we no longer reconnect to servers.
* Make /xdebug server_connect the default for this commit at least
* Call window_check_servers() every time through io(), because...
* Make window_check_servers() look for disconnected servers and restart them.
* Add add_mode_to_str() which adds a channel or usermode to a string (sorted)
* Make usermodes use add_mode_to_str()
* Make channel modes use add_mode_to_str()
* Now modes are not stored in bitmasks, not hard-coded at compile time. HUZZAH!
* Nix "inactive" field in channels, channels are thrown away at disconnect
* Don't allow channels to move between servers, natch.
* Nix all the code to handle disconnected channels and such.
* Use change_window_server() to move windows to new servers, because...
* Make window_check_servers() auto-close windowless servers.
* Make change_window_server(<server>, NOSERV) cause a disconnect from <server>
* Don't honor /set auto_reconnect, we don't ever reconnect.
* Fix printf() error in /on kick default output
* Add new server state, SERVER_RECONNECT which means "i can be connected"
* So now SERVER_CLOSED means "don't reconnect me"
* Allow /server, /window server, and /reconnect to change CLOSED -> RECONNECT
* Make server connections nonblocking.
* Server connections are now nonrecursive, nonblocking, multi-protocol. HUZZAH!
* GC a bunch of server code dealing with reconnection we don't use now.
* Don't call window_check_servers() other than io() for sanity reasons.
* Make /window server just change server, let w_c_s() bootstrap connection
* Remove many window->channel->server sanity checks.

Revision 1.62 / (view) - annotate - [select for diffs] , Sun Dec 28 05:59:15 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.61: +4 -19 lines
Diff to previous 1.61
* commit 1013:
* Use a "status" variable in server, instead of a plurality of binary flags
* Process usermodes as strings only.
* Nix 'flags', 'flags2' and 'umodes', 's_takes_arg', and 'eof'.
* Change update_user_mode() to take a server refnum.
* Nix $serverctl(... UMODES)
* Change server_is_registered() so it takes a server name and our nickname.
* Add server_is_unregistered() which i'll use in the future.
* Hook /on server_lost all the time in close_server() by popular request.
* Make $version() always return "2.8" since all servers are 2.8 servers.
* Check /set auto_rejoin_connect at disconnect-time, instead of connect-time.
* Use a "is_server_active()" function instead of "did_server_rejoin_channels"
* Move the guts of got_initial_version_28() into server_is_registered()
* Call "server_is_registered()" from 001, which loads ircrc among other things.
* Reduce 004 so it only sets the server's version string id.
* Nix got_initial_version_28

Revision 1.61 / (view) - annotate - [select for diffs] , Thu Dec 18 02:22:31 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60
Const correctness madness!

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

Revision 1.59 / (view) - annotate - [select for diffs] , Mon Dec 15 05:41:02 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.58: +11 -11 lines
Diff to previous 1.58
Make message_from() work off of a stack; use panics to guard against
unmatched message_from()s, and other wackiness.

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

Revision 1.57 / (view) - annotate - [select for diffs] , Tue Dec 2 06:00:35 2003 UTC (4 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_5, epic4-1_2_4, epic4-1_2_3, epic4-1_2_2, epic4-1_2_1
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, 11 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, 11 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, 11 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, 11 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, 11 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 (5 years 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, 3 months 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, 5 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, 5 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, 6 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, 6 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, 6 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, 6 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, 7 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, 7 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, 7 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, 7 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, 8 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, 8 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, 8 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, 8 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, 8 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, 8 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, 8 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, 8 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, 9 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, 10 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, 11 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 (6 years 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 (6 years, 1 month 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 (6 years, 1 month 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 (6 years, 1 month 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, 2 months 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, 2 months 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, 2 months 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, 3 months 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, 4 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, 4 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, 7 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, 8 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, 8 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, 11 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 (7 years 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, 5 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 8 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, 8 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, 9 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, 9 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, 10 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, 10 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, 10 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