CVS log for epic5/source/debug.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.28 / (view) - annotate - [select for diffs] , Tue Feb 26 03:46:18 2008 UTC (7 months, 1 week ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_9, epic5-0_3_8, HEAD
Changes since 1.27: +4 -4 lines
Diff to previous 1.27
* Add /on signal (pegasus)
* Fix build on interix (twincest)
* Fix compile warnings and a c99-ism
* Fix another panic() causable by /echo. ugh.

Revision 1.27 / (view) - annotate - [select for diffs] , Tue Feb 19 13:13:12 2008 UTC (7 months, 2 weeks ago) by crazyed
Branch: MAIN
Changes since 1.26: +6 -2 lines
Diff to previous 1.26
* 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.26 / (view) - annotate - [select for diffs] , Wed Aug 22 17:40:26 2007 UTC (13 months, 2 weeks ago) by howl
Branch: MAIN
CVS Tags: epic5-0_3_7, epic5-0_3_6, epic5-0_3_5
Changes since 1.25: +2 -1 lines
Diff to previous 1.25
* Added $serverctl(get/set -1 realname/default_realname).
* $Y now is a synonym for $serverctl(get -1 realname).
* Added $xform(iconv fromcode/tocode ...) wrapper around iconv(3). With this
  epic5 takes babysteps towards supporting Unicode.

Revision 1.25 / (view) - annotate - [select for diffs] , Thu Apr 12 01:37:24 2007 UTC (17 months, 3 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_4, epic5-0_3_3
Changes since 1.24: +2 -1 lines
Diff to previous 1.24
* Fix warnings found by gcc4 and run make depend.
* Add check for -Wno-pointer-sign to configure; makes using gcc4 less painful.

Revision 1.24 / (view) - annotate - [select for diffs] , Sat Nov 4 17:16:56 2006 UTC (23 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_2
Changes since 1.23: +15 -7 lines
Diff to previous 1.23
* Change last_arg() so it dequotes the retval according to the word type
* Change $pop() so it only takes an lvalue
* Change $revw() to use the last_arg() improvements
* Improve /xdebug so it takes a block as an argument
* Improve $push() so it pushes the hole argument as dword

Revision 1.23 / (view) - annotate - [select for diffs] , Fri Sep 15 02:02:44 2006 UTC (2 years ago) by jnelson
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22
* Desupport dwords in a lot of builtin functions (see updates) [nullie]
* Make /window foo kill fail for want of 'foo' (see updates)

Revision 1.22 / (view) - annotate - [select for diffs] , Sat Sep 24 13:43:14 2005 UTC (3 years ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_1, epic5-0_2_0, epic5-0_0_8, epic5-0_0_7
Changes since 1.21: +6 -6 lines
Diff to previous 1.21
* Remove some now unused xdebugs, fix compile warnings.

Revision 1.21 / (view) - annotate - [select for diffs] , Wed Aug 3 03:21:39 2005 UTC (3 years, 2 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_6
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
* Add /set old_math_parser, to turn on the old math parser (don't do this! :P)

Revision 1.20 / (view) - annotate - [select for diffs] , Mon Apr 25 22:20:38 2005 UTC (3 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19
* Make /xdebug new_math the default, you can /xdebug old_math to go back.
* Make /xdebug new_math and /xdebug -new_math no-ops.
* Don't do %#p in printf formats, since it has no effect. (%p is better).

Revision 1.19 / (view) - annotate - [select for diffs] , Thu Feb 10 05:10:57 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_5, epic5-0_0_4
Changes since 1.18: +5 -1 lines
Diff to previous 1.18
* Add a dgets_buffer() to inject data into dgets() system.
* Fix up dgets() so it has read() like semantics.
* Fix up dgets() callers to use it like a read() type function.
* Turn off /xdebug server_connected hardcoded at startup for now.
* Fix up unix_* io functions to use dgets_buffer().
* Fix do_filedesc() to repeatedly call callback until buffer is clean
* Move set_socket_options() to network.c, make do_filedesc() global func

Revision 1.18 / (view) - annotate - [select for diffs] , Mon Oct 4 22:56:20 2004 UTC (4 years ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_3
Changes since 1.17: +2 -1 lines
Diff to previous 1.17
* Add a bunch of stuff to debug the who_queue to find and fix adm's bug.

Revision 1.17 / (view) - annotate - [select for diffs] , Sat Jul 3 05:31:18 2004 UTC (4 years, 3 months ago) by crazyed
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16
* Fixed a crash if certain args are passed to $xdebug().
* Fixed a lockup with /unload.

Revision 1.16 / (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.15: +2 -1 lines
Diff to previous 1.15
* 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.15 / (view) - annotate - [select for diffs] , Mon Jan 5 16:24:40 2004 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_2
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
* 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.14 / (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.13: +2 -2 lines
Diff to previous 1.13
Const correctness madness!

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

Revision 1.12 / (view) - annotate - [select for diffs] , Thu Jul 10 12:08:56 2003 UTC (5 years, 2 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, epic4-1_2_0, epic4-1_1_17, epic4-1_1_16, epic4-1_1_15, epic4-1_1_14, epic4-1_1_13
Changes since 1.11: +3 -3 lines
Diff to previous 1.11
Overhaul of malloced string handling functions:
* Convert m_[s]c3cat[_s]() to malloc_strcat_wordlist_c()
* Nix m_e3cat(), m_s3cat(), m_s3cat_s(), m_3cat()
* Nix m_ec3cat(), m_sc3cat(), m_sc3cat_s(), m_c3cat().
* Convert m_dupchar() to malloc_dupchar().
* Convert m_strndup() to malloc_strndup().
* Make malloc_strcpy/malloc_strcat/malloc_strcat2/malloc_strcat_wordlist macros
* Convert m_2dup() to malloc_strdup2().
* Convert m_3cat() to malloc_strcat2[_c]().
* Convert m_3dup() to malloc_strdup3().
* Convert m_ec3cat() to malloc_strcat2_c()
* Use strlcat_c() in $repeat() instead of strlcpy(). whee!
* Sanity check first arg to $regcomp(), to avoid crashes.
* Don't pass NULL to bsearch(), even if 'nmem' is 0 [$remws()]
* Nix the original malloc_strcpy (supplanted by malloc_strcpy_c)
* Comment out all the deprecated functions

Revision 1.11 / (view) - annotate - [select for diffs] , Tue Jul 8 21:36:51 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10
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.10 / (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.9: +8 -8 lines
Diff to previous 1.9
* 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.9 / (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.8: +3 -3 lines
Diff to previous 1.8
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.7.2.2 / (view) - annotate - [select for diffs] , Mon Mar 24 17:53:00 2003 UTC (5 years, 6 months ago) by wd
Branch: wd-devel
Changes since 1.7.2.1: +0 -0 lines
Diff to previous 1.7.2.1 to branch point 1.7 to next main 1.8
Another merge.

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

Revision 1.8 / (view) - annotate - [select for diffs] , Mon Dec 30 13:23:47 2002 UTC (5 years, 9 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_11
Changes since 1.7: +7 -1 lines
Diff to previous 1.7
Documented /exec features.

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

Revision 1.7 / (view) - annotate - [select for diffs] , Fri Aug 30 15:51:25 2002 UTC (6 years, 1 month ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_9, epic4-1_1_8, epic4-1_1_10
Branch point for: wd-devel
Changes since 1.6: +1 -2 lines
Diff to previous 1.6
Cleaned up a few -Wall warnings.

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

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

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

Revision 1.3 / (view) - annotate - [select for diffs] , Fri Jan 25 21:57:09 2002 UTC (6 years, 8 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_5, epic4-1_1_4, epic4-1_1_3
Changes since 1.2: +1 -0 lines
Diff to previous 1.2
Applied the SSL patch from ay-ar.

Details are in README.SSL.  This works well at this point, but there may
be teething problems.

Revision 1.2 / (view) - annotate - [select for diffs] , Fri Jun 22 21:34:35 2001 UTC (7 years, 3 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_1
Changes since 1.1: +1 -0 lines
Diff to previous 1.1
Two things:
* Remove /set notify_handler which didn't do anything.
* Rewrite /lastlog so i understand how it works.
  Big new feature, -regex, to support regex searching on lastlog!
* Commit #75.

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, epic4_0_9_15, epic4-1_0_1, epic4-1_0, epic4-0_9_17, epic4-0_9_16, epic4-0_9_15, epic4-0_9_14, epic4-0_10_0, epic-test-tag2, epic-test-tag
Changes since 1.1: +0 -0 lines
Diff to previous 1.1
Initial import into CVS

Revision 1.1 / (view) - annotate - [select for diffs] , Tue Dec 5 00:11:57 2000 UTC (7 years, 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