CVS log for epic5/source/ignore.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.35 / (view) - annotate - [select for diffs] , Thu Jun 26 03:23:11 2008 UTC (3 months, 1 week ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_9, HEAD
Changes since 1.34: +12 -2 lines
Diff to previous 1.34
* Add support for /ignore'ing a server (for undernet)
* Add --without-wserv flag to configure (see UPDATES)
* Add checks in configure for posix-like job control
* Add support so no job control -> no wserv support.

Revision 1.34 / (view) - annotate - [select for diffs] , Mon Mar 10 05:29:39 2008 UTC (6 months, 3 weeks ago) by crazyed
Branch: MAIN
CVS Tags: epic5-0_3_8
Changes since 1.33: +12 -1 lines
Diff to previous 1.33
* Fixed an apparent typo in getnrolitems in data_array.
* Fixed a bug in autoget where it wasn't actually starting a download.
* Fixed yet another bug in commandqueues involving double quote dequoting.
* This covers for an apparent bug in $shift() which should automatically
  dequote quotes (unfixed).
* Added USER1 - USER10, OPERWALL and SYSERR levels to the ignore system.
* Added ":" hack to /notify as per UPDATES.

Revision 1.33 / (view) - annotate - [select for diffs] , Tue Jan 22 06:44:15 2008 UTC (8 months, 2 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_7, epic5-0_3_6
Changes since 1.32: +11 -1 lines
Diff to previous 1.32
* Make /xecho -w -1 go to the current window, for compat with epic4 (rb Black)
* Make the /server list show the vhost you're using.
* /LOADing an executable file results in a warning and not an error.
* Fix input line so it doesn't display hidden contents after ^L (rb wjr)
* Add a $strptime() function, but I still need a strptime() compat version.
* Add $ignorectl(SUSPEND) and $ignorectl(UNSUSPEND) to turn off ignores.

Revision 1.32 / (view) - annotate - [select for diffs] , Fri Oct 13 20:58:02 2006 UTC (23 months, 3 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_5, epic5-0_3_4, epic5-0_3_3, epic5-0_3_2
Changes since 1.31: +11 -11 lines
Diff to previous 1.31
This is the start of a major project to normalize the behavior of word
handling in built in functions.  The project involves stipulating that every
place that handles a "word list" define what a "word" is and use it
consistenly, and to output the same type of "words" that it accepts as
input.  This leverages /xdebug dword to control optional support for dwords
in many built in functions.

Revision 1.31 / (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_3_1, epic5-0_2_0, epic5-0_0_8
Changes since 1.30: +4 -4 lines
Diff to previous 1.30
* 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.30 / (view) - annotate - [select for diffs] , Sat Oct 29 16:38:46 2005 UTC (2 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.29: +8 -17 lines
Diff to previous 1.29
* New file, levels.c, holds all the Mask and window level manip stuff.
* Move level_to_str/str_to_level, mask_to_str/str_to_mask to levels.c
* Change #define LEVEL_*'s into (int)s
* Use BIT_VALID() instead of NUMBER_OF_LEVELS, whack NUMBER_OF_LEVELS.
* Whack hardcoded level_types char array. yay!
* Change users of "LEVEL_CURRENT" into "LEVEL_NONE" and whack "LEVEL_CURRENT"
* Add "OTHER" window level, as replacement for "CRAP"
* Continue to honor "CRAP" as a synonym for "OTHER".
* New function $levelctl(), to add/query window levels.
* Window/lastlog levels can now be added at runtime. HUZZAH!

Revision 1.29 / (view) - annotate - [select for diffs] , Tue Oct 18 00:40:23 2005 UTC (2 years, 11 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_7
Changes since 1.28: +14 -63 lines
Diff to previous 1.28
* Add the 'highlight' script which implements the highlight-ignore thingee
* Whack the 'highlight ignore' feature as per discussion on the list.

Revision 1.28 / (view) - annotate - [select for diffs] , Sat Jun 4 02:59:33 2005 UTC (3 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_6
Changes since 1.27: +5 -3 lines
Diff to previous 1.27
* Don't do LOCAL_COPY within an infinite loop, leads to stack exahustion.
* Support new signal, SIGUSR2 which throws "system_exception".
* Teach the block commands about "system_exception" so they can be stopped.
* Whack a bunch of unused timers from vars.c. (see UPDATES)
* Sync up config.h, vars.h, and vars.c with each other.
* Add "domains" to timers, server timers, window timer, general timers
* When timers go off, latch back to their domain
* Allow timers to self-cancel if their latched item has gone away
* Add /timer -general to set a general timer.
* Make /timer -win or /timer -serv set a window or serv timer especially.

Revision 1.27 / (view) - annotate - [select for diffs] , Fri May 13 01:06:10 2005 UTC (3 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.26: +9 -1 lines
Diff to previous 1.26
When changing expiration time in $ignorectl(), schedule a new timer.

Revision 1.26 / (view) - annotate - [select for diffs] , Sun Apr 3 14:37:57 2005 UTC (3 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_5
Changes since 1.25: +5 -5 lines
Diff to previous 1.25
* Make //ignore output less visually jarring (change a tab to a space)

Revision 1.25 / (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.24: +3 -3 lines
Diff to previous 1.24
* 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.24 / (view) - annotate - [select for diffs] , Thu Jul 29 15:59:03 2004 UTC (4 years, 2 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_4, epic5-0_0_3
Changes since 1.23: +3 -1 lines
Diff to previous 1.23
* Make $getsets() work again.
* Fix alloca() warning for freebsd-current
* Fix warnings about static variables not used
* Fix /set notify_level, which is supposed to cascade to /window notify_level
* Fix /set lastlog_level, same thing.

Revision 1.23 / (view) - annotate - [select for diffs] , Tue May 11 01:43:14 2004 UTC (4 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.22: +11 -1 lines
Diff to previous 1.22
Add $ignorectl(SET [refnum] ENABLED [0|1]) for larne
Add $ignorectl(SET [refnum] ENABLED) for larne

Revision 1.22 / (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.21: +2 -1 lines
Diff to previous 1.21
* 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.21 / (view) - annotate - [select for diffs] , Tue Mar 16 00:24:33 2004 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_2
Changes since 1.20: +3 -3 lines
Diff to previous 1.20
* Make dcc connections ($connect, /dcc get, /dcc chat) nonblocking
* /DCC RESUME is totaly broken by this.  Will fix later, maybe ;-)
* Add $startupfile(), which returns the epicrc/ircrc file that was loaded
* Offer unknown ctcp requests through /on ctcp_request before /on ctcp.
* Fix /window level none and other such breakages (adm)

Revision 1.20 / (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.19: +62 -52 lines
Diff to previous 1.19
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.19 / (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.18: +30 -30 lines
Diff to previous 1.18
*********** 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.18 / (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.17: +3 -5 lines
Diff to previous 1.17
* 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.17 / (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.16: +7 -3 lines
Diff to previous 1.16
Const correctness madness!

Revision 1.16 / (view) - annotate - [select for diffs] , Wed Dec 17 09:25:30 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
Make 'empty_string' (const char []).  Now we're cooking with gas!

Revision 1.15 / (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.14: +88 -90 lines
Diff to previous 1.14
EPIC5-0.0.1!  Huzzah!

Revision 1.14 / (view) - annotate - [select for diffs] , Tue Oct 28 05:53:57 2003 UTC (4 years, 11 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
Changes since 1.13: +4 -4 lines
Diff to previous 1.13
* Add /set wserv_type, either "xterm" or "screen".
* Add malloc_strcat_word_c, add a single word to word list, with "" support
* Convert a bunch of stuff to use malloc_strcat_word_c to honor ""s right.
* GC a bunch of unused code.

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

Revision 1.11 / (view) - annotate - [select for diffs] , Fri Jul 4 16:11:53 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.10: +61 -1 lines
Diff to previous 1.10
* Add "creation time", "last used time" and "usage counter" features to
  ignore.  This was specifically asked for, but I don't know who asked for
  it (i don't have it written down here), so please forgive me for not
  crediting you with the idea. =)

Revision 1.10 / (view) - annotate - [select for diffs] , Wed Jul 2 02:38:17 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9
Fix backporting bug trying to malloc_strcpy() to NULL
when you do $ignorectl(GET <refnum> EXPIRATION).  Reported by hsoc.

Revision 1.9 / (view) - annotate - [select for diffs] , Mon Jun 30 21:40:34 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.8: +12 -4 lines
Diff to previous 1.8
Commit 529.
Do final fixup on $ignorectl().

Revision 1.8 / (view) - annotate - [select for diffs] , Mon Jun 30 03:14:01 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.7: +998 -465 lines
Diff to previous 1.7
Commit 527
New ignore implementation.  I will document all this stuff tomorrow.
As it stands, I've tested this for several days and all seems well.
Of course let me know if you see any problems.

Revision 1.7 / (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.6: +9 -9 lines
Diff to previous 1.6
* 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.6 / (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.5: +20 -21 lines
Diff to previous 1.5
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.5 / (view) - annotate - [select for diffs] , Wed Jul 17 21:52:52 2002 UTC (6 years, 2 months ago) by jnelson
Branch: MAIN
CVS Tags: wd-devel, epic4-1_1_9, epic4-1_1_8, epic4-1_1_7, epic4-1_1_6, epic4-1_1_11, epic4-1_1_10
Changes since 1.4: +29 -3 lines
Diff to previous 1.4
Update copyright notices and copyright dates.

Revision 1.4 / (view) - annotate - [select for diffs] , Thu May 23 02:35:17 2002 UTC (6 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
No functional changes, just removal of unecessary whitespace at the end
of lines.  From adm.

Revision 1.3 / (view) - annotate - [select for diffs] , Thu Jan 31 21:47:29 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: +7 -16 lines
Diff to previous 1.2
Thanks to wd for this patch, which:

* Breaks part of figure_out_address() off into figure_out_domain().
* Fixes /ignore and $mask() such that they don't munge the given address
  inappropriately.

I have compared $mask() behaviour with previous versions to confirm that
it works, which would tend to imply that the main guts are all working,
but nevertheless, figure_out_address seems to be particularly delicate so
there may be problems.

Revision 1.2 / (view) - annotate - [select for diffs] , Tue Oct 2 16:53:34 2001 UTC (7 years ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_1
Changes since 1.1: +4 -2 lines
Diff to previous 1.1
* Miscelaneous 3cat updates.
* History expansion copies the history buffer verbatim now.
  * Bugfix:  /!0 would not retrieve the first command entered.
  * Bugfix:  Negative numbers not found would be display the
    incorrect number in the error message.  eg:  /!-4444
* Alterations to remove_trailing_spaces interface.
* $igetrmatches() was defined, but inaccessible.

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