CVS log for epic4/source/who.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.32 / (view) - annotate - [select for diffs] , Thu Feb 16 06:14:09 2006 UTC (2 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_8, epic4-2_6, epic4-2_4, epic4-2_10, HEAD
Changes since 1.31: +12 -1 lines
Diff to previous 1.31
Fix more larnification bugs found by ircfuzz.  All clear now, really! ;-)

Revision 1.31 / (view) - annotate - [select for diffs] , Sun Oct 23 02:52:07 2005 UTC (2 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.30: +2 -3 lines
Diff to previous 1.30
* Fix two 64-bit pointer errors (one in dcc.c, and one in who.c)
* Fix refresh_a_screen() to not pass NULL to recalculate_windows().
	(reported by cshepherd, thanks!)

Revision 1.30 / (view) - annotate - [select for diffs] , Sat Aug 7 18:54:55 2004 UTC (4 years, 2 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_2, epic4-2_1_3, epic4-2_1_2, epic4-2_1_1
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
* Allow /userhost <uniqueid> for ircnet.
* Allow 'epic 0 <servername' for ircnet.

Revision 1.29 / (view) - annotate - [select for diffs] , Fri Jul 23 23:02:31 2004 UTC (4 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28
Flush all of the small bug fixes i've been sitting on.

Revision 1.28 / (view) - annotate - [select for diffs] , Thu Jan 29 01:32:06 2004 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_0, epic4-1_2_9
Changes since 1.27: +76 -74 lines
Diff to previous 1.27
* Fix /WHO arg handling.  The old code was crap and wouldn't do /who -oper

Revision 1.27 / (view) - annotate - [select for diffs] , Wed Oct 29 20:15:10 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_8, epic4-1_2_7, epic4-1_2_6, epic4-1_2_5, epic4-1_2_4, epic4-1_2_3, epic4-1_2_2, epic4-1_2_1, epic4-1_2_0, epic4-1_1_17, epic4-1_1_16, epic4-1_1_15, epic4-1_1_14
Changes since 1.26: +9 -1 lines
Diff to previous 1.26
Add /who -operspy for hybrid opers.

Revision 1.26 / (view) - annotate - [select for diffs] , Thu Jul 10 09:30:45 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_13
Changes since 1.25: +4 -4 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] , Wed Jul 9 20:10:25 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.24: +6 -6 lines
Diff to previous 1.24
Convert m_strdup() to malloc_strdup().

Revision 1.24 / (view) - annotate - [select for diffs] , Tue Jul 8 21:36:52 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23
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.23 / (view) - annotate - [select for diffs] , Tue May 27 16:24:55 2003 UTC (5 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_12
Changes since 1.22: +19 -12 lines
Diff to previous 1.22
Larnify whoreply(), for larne, of course! =)

I'll do the other who replies in a little bit.  He needed this right away.

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

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

Revision 1.12.2.2 / (view) - annotate - [select for diffs] , Mon Mar 24 17:53:02 2003 UTC (5 years, 6 months ago) by wd
Branch: wd-devel
Changes since 1.12.2.1: +15 -12 lines
Diff to previous 1.12.2.1 to branch point 1.12
Another merge.

Revision 1.19 / (view) - annotate - [select for diffs] , Mon Mar 24 03:24:18 2003 UTC (5 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_11
Changes since 1.18: +5 -5 lines
Diff to previous 1.18
* Fix who replies to use "who target" as target for output.
* This makes /ON WHO hook in the correct window.

Revision 1.18 / (view) - annotate - [select for diffs] , Mon Mar 17 19:39:39 2003 UTC (5 years, 6 months ago) by crazyed
Branch: MAIN
Changes since 1.17: +11 -8 lines
Diff to previous 1.17
* $dccctl() changes as per UPDATES.
* Misc bug fixes as per KNOWNBUGS.

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

Revision 1.17 / (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.16: +33 -27 lines
Diff to previous 1.16
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.16 / (view) - annotate - [select for diffs] , Mon Jan 27 06:56:13 2003 UTC (5 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.15: +10 -2 lines
Diff to previous 1.15
Commit 437

* Fix targets not being assigned correctly for privmsgs to user.
* Send output of who replies to LOG_CRAP as per previous behavior.

Revision 1.15 / (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.14: +23 -16 lines
Diff to previous 1.14
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.14 / (view) - annotate - [select for diffs] , Thu Dec 26 16:40:31 2002 UTC (5 years, 9 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_10
Changes since 1.13: +2 -1 lines
Diff to previous 1.13
Fix all the rest of the compile issues. bleh.

Revision 1.13 / (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
Changes since 1.12: +184 -130 lines
Diff to previous 1.12
* 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.12 / (view) - annotate - [select for diffs] , Tue Aug 27 14:14:32 2002 UTC (6 years, 1 month ago) by crazyed
Branch: MAIN
Branch point for: wd-devel
Changes since 1.11: +2 -6 lines
Diff to previous 1.11
Cleaned the /userip thing up a bit more.  Withdrew the sending of unqueued
USERIPs and handled 307 responses "better".

Revision 1.11 / (view) - annotate - [select for diffs] , Mon Aug 26 17:27:10 2002 UTC (6 years, 1 month ago) by crazyed
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
* Backed the majority of the /userip patch out for a bit.

Revision 1.10 / (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.9: +6 -2 lines
Diff to previous 1.9
* /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.9 / (view) - annotate - [select for diffs] , Wed Jul 17 21:52:53 2002 UTC (6 years, 2 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_7, epic4-1_1_6
Changes since 1.8: +28 -2 lines
Diff to previous 1.8
Update copyright notices and copyright dates.

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

Revision 1.7 / (view) - annotate - [select for diffs] , Thu Mar 29 20:58:11 2001 UTC (7 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_0_1, epic4-1_0
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
Whoops. i botched the last commit.

Revision 1.6 / (view) - annotate - [select for diffs] , Thu Mar 29 20:57:32 2001 UTC (7 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
Flush queues with a little more persistance.

Revision 1.5 / (view) - annotate - [select for diffs] , Fri Feb 16 17:59:53 2001 UTC (7 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-0_9_17, epic4-0_10_0, epic-test-tag2, epic-test-tag
Changes since 1.4: +16 -3 lines
Diff to previous 1.4
Commit #39 -- add debugging flags to /ison
/ison -d	(debug) shows the ison queue
/ison -f	(flush) deletes the ison queue
These features will probably be removed once I find the bug.

Revision 1.4 / (view) - annotate - [select for diffs] , Tue Dec 26 03:13:58 2000 UTC (7 years, 9 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4_0_9_15, epic4-0_9_16, epic4-0_9_15
Changes since 1.3: +3 -3 lines
Diff to previous 1.3
Fix an obvious null dereference, reported by HSOC.  Commit #13

Revision 1.3 / (view) - annotate - [select for diffs] , Fri Dec 8 20:56:39 2000 UTC (7 years, 10 months ago) by jnelson
Branch: MAIN
Changes since 1.2: +3 -0 lines
Diff to previous 1.2
Fix the last (i hope) of the bugs related to extended dalnet who queries.

Revision 1.2 / (view) - annotate - [select for diffs] , Wed Dec 6 03:26:42 2000 UTC (7 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-0_9_14
Changes since 1.1: +7 -7 lines
Diff to previous 1.1
Do some more repair work on the "fake_who_end" stuff for those crazy dalnet
extended who error replies.  I think this actually works now!

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