CVS log for epic5/include/levels.h |
![]() |
Request diff between arbitrary revisions
Fix all the compile warnings that I let go way too long.
* Add a "rejects" variable to str_to_mask() * Make str_to_mask() shut up. Callers should handle error output * Create a standard_level_warning() handler callers can use. * Make the consumers of str_to_mask() handle their own error messages. yay!
* Add new level SYSERR (see UPDATES) * Add a server refnum to syserr() to send the syserr to the proper window. * Add a server refnum to new_open() so we can pass it to syserr(). * Add new flag to /XECHO, /XECHO -AS (output to all windows on server) * This should make syserrs go to the "correct window" most of the time (larne)
* Add mask_to_(positive|negative)_str to convert masks to shorter strings * So now mask_to_str() returns strings like "ALL -DCC" if it's shorter!
* Add /on operwall and operwall window level for black. * Fix $levelwindow()
* 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.
* 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!
* 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.
* Make all of the level names plural, it's more forgiving that way.
* Reduce the size of level masks to 1 byte, to save cpu. * Add turn_on_level() and turn_off_level(), for reasons that escape me. * Nix the /help command, make howl's scripted replacement the default. * Add $cofilter() entry so you can use it (it was already written)
Add 6 new user lastlog levels (USER5 through USER10).
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.
DOES NOT EVEN COMPILE DO NOT USE DOES NOT EVEN COMPILE DO NOT USE DOES NOT EVEN COMPILE DO NOT USE DOES NOT EVEN COMPILE DO NOT USE More work in progress DOES NOT EVEN COMPILE DO NOT USE DOES NOT EVEN COMPILE DO NOT USE DOES NOT EVEN COMPILE DO NOT USE DOES NOT EVEN COMPILE DO NOT USE
*********** 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 ***********
* 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.
Oops. I forgot to add levels.h
| CVS Admin |
Powered by ViewCVS 0.9.2 |