CVS log for epic5/source/status.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.73 / (view) - annotate - [select for diffs] , Sat Mar 29 18:00:16 2008 UTC (6 months, 1 week ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_9, epic5-0_3_8, HEAD
Changes since 1.72: +2 -2 lines
Diff to previous 1.72
* Roll forward portability changes from epic4-2.10 (larne)
* This also includes term.h -> termx.h -- Make sure you rerun configure!

Revision 1.72 / (view) - annotate - [select for diffs] , Fri Sep 14 01:55:54 2007 UTC (12 months, 3 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_7, epic5-0_3_6, epic5-0_3_5
Changes since 1.71: +23 -1 lines
Diff to previous 1.71
* Add new status expando %{1}H which expands when in hold mode and not holding.
* Add /set status_holdmode which controls %{1}H
* Add %{1}H to the default status format.

Revision 1.71 / (view) - annotate - [select for diffs] , Fri Jul 20 21:29:33 2007 UTC (14 months, 2 weeks ago) by jnelson
Branch: MAIN
Changes since 1.70: +9 -9 lines
Diff to previous 1.70
Remove u_* bsd-isms so we can compile with -ansi on linux.

Revision 1.70 / (view) - annotate - [select for diffs] , Mon May 14 01:33:33 2007 UTC (16 months, 3 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_4
Changes since 1.69: +3 -1 lines
Diff to previous 1.69
* Add ^Vs to the start of  DEFAULT_STATUS_FORMAT* in config.h
* Comment out code for /set reverse_status_line pending removal later.
* GC the code for -f/-F/-o/-O command line arguments
* Fix the serverctl() comment for howl

Revision 1.69 / (view) - annotate - [select for diffs] , Thu Apr 12 02:24:14 2007 UTC (17 months, 3 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_3
Changes since 1.68: +3 -3 lines
Diff to previous 1.68
* Add arg to panic() controlling whether panic is sent via QUIT (rb black)

Revision 1.68 / (view) - annotate - [select for diffs] , Sat Sep 30 00:36:08 2006 UTC (2 years ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_2
Changes since 1.67: +74 -4 lines
Diff to previous 1.67
* Pass double ptr to remove_bindings_recurse() to fix exit-time memory leak.
* Remove /set bad_style, input_aliases, security,  (unused)
* Remove /set ssl_certfile, ssl_keyfile, and ssl_path (unused)
* Add a (ServerInfo) object to (Server), switch to using it.
* Remove a bunch of unused thingees in (Server) while i'm here.
* Restore /set reverse_status_line to a builtin. oh well.

Revision 1.67 / (view) - annotate - [select for diffs] , Fri Jul 28 02:50:40 2006 UTC (2 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66
* Fix breakage for solaris found by zlonix
* Fix %{2}+ so it behaves like %+ and not like %{1}+, as per the docs.

Revision 1.66 / (view) - annotate - [select for diffs] , Tue Jun 6 04:08:48 2006 UTC (2 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_1
Changes since 1.65: +3 -3 lines
Diff to previous 1.65
* 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.65 / (view) - annotate - [select for diffs] , Wed Oct 5 21:37:25 2005 UTC (3 years ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_2_0, epic5-0_0_8, epic5-0_0_7
Changes since 1.64: +2 -2 lines
Diff to previous 1.64
* Change all the builtin functions to use new_normalize_string().
* Change the input prompt to use new_normalize_string().
* Add /set mangle_display. HUZZAH!
* Change the display stuff to new_normalize_string() and /set mangle_display
* Whack the now unused normalize_string(). HUZZAH! HUZZAH! HUZZAH!
* Change the seperator of the mangler-type-parser to be spaces and not commas.
* Start keeping a monotonically increasing refnum for all lastlog items
* Change add_to_lastlog() to return the lastlog refnum
* Change add_to[_window]_scrollback]() to take the lastlog refnum
* Cross-link scrollback items with the corresponding lastlog refnum.
* Save scrollback/hold position across scrollback rebuilds
* This means rebuilding doesn't affect scrollback/hold users! HUZZAH!
* Whack the now unnecessary /window auto_scrollback (mis)feature.
* Don't unconditionally unclear after rebuild, if everything still fits.

Revision 1.64 / (view) - annotate - [select for diffs] , Sat Sep 24 13:43:15 2005 UTC (3 years ago) by jnelson
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63
* Remove some now unused xdebugs, fix compile warnings.

Revision 1.63 / (view) - annotate - [select for diffs] , Sun Aug 7 23:39:07 2005 UTC (3 years, 1 month ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_6
Changes since 1.62: +1 -2 lines
Diff to previous 1.62
Fix /dcc get and remove some debugging info.

Revision 1.62 / (view) - annotate - [select for diffs] , Sun Aug 7 03:57:57 2005 UTC (3 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.61: +30 -1 lines
Diff to previous 1.61
Add support for per-window activity levels.

Revision 1.61 / (view) - annotate - [select for diffs] , Thu May 19 12:34:00 2005 UTC (3 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.60: +17 -27 lines
Diff to previous 1.60
No functional changes in this commit, just some source cleanup before
I go through and wrangle the screen recalculation code into submission.

Revision 1.60 / (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.59: +2 -17 lines
Diff to previous 1.59
GC a bunch of stuff no longer in use.

Revision 1.59 / (view) - annotate - [select for diffs] , Fri Apr 15 01:47:45 2005 UTC (3 years, 5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_5
Changes since 1.58: +2 -2 lines
Diff to previous 1.58
* Make /bind "compress" string, and bind and print it compressed.
* This fixes /bind'ing literal characters being displayed literally.
* Round 3 of blackjac's builtins script
* Round 1 of fudd's loadformats script.
* Fix some "all-the-world's-an-int" bugs reported by xlc (aix's compiler).

Revision 1.58 / (view) - annotate - [select for diffs] , Tue Mar 29 13:25:48 2005 UTC (3 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.57: +3 -2 lines
Diff to previous 1.57
Fix for fudd and others.

Revision 1.57 / (view) - annotate - [select for diffs] , Tue Mar 29 00:41:22 2005 UTC (3 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56
OK.   I botched /set full_status_line too.

Revision 1.56 / (view) - annotate - [select for diffs] , Tue Mar 29 00:39:01 2005 UTC (3 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.55: +5 -3 lines
Diff to previous 1.55
Fix the reverse status bar thing, i botched it.

Revision 1.55 / (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.54: +5 -1 lines
Diff to previous 1.54
* Round one of blackjac's 'builtins' script.
* Comment out a ton of now-scripted sets.  Will GC it later.

Revision 1.54 / (view) - annotate - [select for diffs] , Sat Mar 19 03:55:56 2005 UTC (3 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.53: +92 -90 lines
Diff to previous 1.53
* 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.53 / (view) - annotate - [select for diffs] , Fri Mar 11 05:02:22 2005 UTC (3 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_4
Changes since 1.52: +4 -6 lines
Diff to previous 1.52
* 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.52 / (view) - annotate - [select for diffs] , Fri Mar 4 00:57:45 2005 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
Changes since 1.51: +24 -13 lines
Diff to previous 1.51
* Add --with-multiplex=[select|poll|kqueue|pthread] to configure
* Check thread-safety of SSL in configure when using pthreads.
* Don't unconditionally skip leading :'s in symbol names.
* When calling functions, handle skipping leading :'s specially.
* Add support for pthread locking for ssl to ssl.c
* Add %{2}+ and %{3}+ status expandos that only show the mode string.
* Use AI_ADDRCONFIG flag to tell getaddrinfo() we only want addrs we can use.

Revision 1.51 / (view) - annotate - [select for diffs] , Thu Feb 3 01:33:39 2005 UTC (3 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.50: +14 -58 lines
Diff to previous 1.50
* Fix $symbolctl(pmatch <incorrect> *) crash
* Auto-create server's first altname, make %S and %{1}S use it.
* Don't add mode types 2, 3, or 4 (takes-args) to the channel mode string.
* This makes ircnet's +R not show up on the status bar.
* Fix /dmsg =<ircnet-numeric-nick>, for Q.
* Add $serverctl(GET <refnum> PROTOCOL), returns IRC or IRC-SSL

Revision 1.50 / (view) - annotate - [select for diffs] , Fri Jan 28 05:16:30 2005 UTC (3 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.49: +8 -3 lines
Diff to previous 1.49
Add %{3}S, to show the server's groupname.
Fix a raging bogon that redrew the status for every tie through io()

Revision 1.49 / (view) - annotate - [select for diffs] , Fri Oct 1 19:17:56 2004 UTC (4 years ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_3
Changes since 1.48: +22 -9 lines
Diff to previous 1.48
* Add %{3}W which is like %W but it's active for all input windows.

Revision 1.48 / (view) - annotate - [select for diffs] , Sat Aug 14 17:40:06 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.47: +20 -24 lines
Diff to previous 1.47
* Make the work buffer for %F and %{1}F much bigger (2k, was 80 bytes)

Revision 1.47 / (view) - annotate - [select for diffs] , Wed Aug 11 22:58:39 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46
* Nix /save and pray nobody notices.
* Implement pmatch_* stuff in alias.c to use the unified symbol table.
* Commands, functions, and expandos now 100% integrated.  HUZZAH!
* Reimplement $get(set|command|function)s() to use the pmatch_* stuff.
* So they now pick up changes at runtime. HUZZAH!
* Allow built in /set to be conditionally added to the "set bucket"
* Don't put user-created /set's in the bucket
* Allow user to replace one user-created /sets but not builtin sets.
* Allow mangling of ALT_CHAR -- how did this ever get missed?
* Fix $currchans() so it works the way the documentation says it does.
* Fix some const correctness issues, introduce others. bleh.

Revision 1.46 / (view) - annotate - [select for diffs] , Wed Aug 4 23:38:57 2004 UTC (4 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.45: +9 -3 lines
Diff to previous 1.45
* Implement /window notify_name for %{1}F, for howl (irssi-like status notify)

Revision 1.45 / (view) - annotate - [select for diffs] , Mon Jul 26 22:35:20 2004 UTC (4 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.44: +110 -110 lines
Diff to previous 1.44
* Add the rest of funcs to do builtin var support in unified symbol table.
* Change the unified data type for builtin funcs to (IrcVariable *).
* Implement "buckets", for O(N) scans of the unified symbol table.
* Change DEFAULT_USERINFO to DEFAULT_USER_INFORMATION to match the /set.
* Make the *_VAR stuff in vars.h 'int's.
* Change USER_INFO_VAR to USER_INFORMATION_VAR to match the /set.
* Change CLIENTINFO_VAR to CLIENT_INFORMATION_VAR to match the /set.
* Change STATUS_NICK_VAR to STATUS_NICKNAME_VAR to match the set.
* Put the defn of (struct IrcVariable) in vars.h, to expose to unified table.
* Convert all uses of now defunct (enum VAR_TYPES) to (int)
* Create "make_string_var_bydata", converts (IrcVariable *) to malloc string
* Change get_var_alias() to return (IrcVariable *)
* In that function that outputs set values, use make_string_var_bydata().
* Change hardcoded *_VAR uses into pointers to *_VAR, for deref at runtime.
* Major revamp of vars.c, to wholly create built in vars at runtime.
* Built in variables are stored in unified symbol table and vars.c xref array.
* *_VAR values now point through xref array to the actual variable data.
* Nix the now unnecessary get_variable_index().
* Add create_user_set(), backend for /SET -CREATE
* Add /SET -CREATE <name> <type> [{<code>}]
* Need to go back and implement the {<code>} thing.
* Revamp how /set works, using buckets, to implement auto-completion.
* $getsets() is not implemented yet, do that too.
* When looking up $<setname>, use the unified symbol table. HUZZAH!

Revision 1.44 / (view) - annotate - [select for diffs] , Tue May 4 00:06:55 2004 UTC (4 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.43: +5 -3 lines
Diff to previous 1.43
* Add /set old_server_lastlog_level, for when you merge windows to servers.
* Add %{2}W status expando for black, shows /set status_window in all windows.

Revision 1.43 / (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.42: +1 -5 lines
Diff to previous 1.42
GC a bunch of useless cruft and stuff.

Revision 1.42 / (view) - annotate - [select for diffs] , Fri Mar 19 04:38:19 2004 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41
* Split (Window)->miscflags into "notify_when_hidden" and "notified"
* Add $windowctl(... NOTIFY ...) and $windowctl(... NOTIFIED ...)
* Change $windowctl(GET <refnum> MISCFLAGS) to always return 0.
* Make /window notify and /window notified take ON|OFF|TOGGLE.
* New function, $strtol(<base> <num>), convert <num> in base <base> to base 10.
* New function, $tobase(<base> <num>), convert <num> in base 10 to base <base>.

Revision 1.41 / (view) - annotate - [select for diffs] , Fri Mar 19 01:02:02 2004 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.40: +5 -4 lines
Diff to previous 1.40
* Add a counter to WNickList, for tracking queries
* Each window gets a "current query counter", to find it's current query.
* Adding nicks with /window add <A>gives them query counters of 0
* Adding nicks with /window query <A> gives them next higher query counter.
* Removing query with /window query, still removes <A> from nick list!
* New binding "SWITCH_QUERY" to switch between queries, duh!
* Nix "query_list" in Window, totaly dynamic now, huzzah!
* Fix places using "query_list" to use "get_equery_by_refnum()"
* Refactor add_to_screen(). wheee!
* Change "Update %H on status bar..." to "Update %B on status bar..."
* So $windowctl(... QUERY_NICK ...) returns empty string now.

Revision 1.40 / (view) - annotate - [select for diffs] , Thu Mar 18 01:04:03 2004 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.39: +6 -6 lines
Diff to previous 1.39
* Move Lastlog definition to lastlog.c, leave stub behind for window.h
* Add window_all_channels(), return all windows for channel from names.c
* Change boolean vartype for windows and status: int -> short.
* Add do_short_boolean(), like do_boolean(), but it takes a short.
* Make the default server quit message "Leaving"
* Have /window describe show all the channels in a window.
* Have /window describe show nicks, channels in flat list, not one per line.
* Make sure to use the server's default quit message when closing it.
* Create a prototype of atoll() for compat systems.

Revision 1.39 / (view) - annotate - [select for diffs] , Mon Mar 15 03:24:52 2004 UTC (4 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.38: +4 -3 lines
Diff to previous 1.38
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.38 / (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.37: +3 -3 lines
Diff to previous 1.37
*********** 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.37 / (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.36: +3 -3 lines
Diff to previous 1.36
EPIC5-0.0.1!  Huzzah!

Revision 1.36 / (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.35: +2 -3 lines
Diff to previous 1.35
* 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.35 / (view) - annotate - [select for diffs] , Sun Dec 7 20:16:52 2003 UTC (4 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_5, epic4-1_2_4
Changes since 1.34: +12 -7 lines
Diff to previous 1.34
* Make the output-window-searcher ignore from_server for LOG_DCC
* Make status_hold and status_hold_lines use scrollback numbers too.
* Make add_to_scrollback() redraw status bar if output while scrollbacking.

Revision 1.34 / (view) - annotate - [select for diffs] , Wed Dec 3 22:17:40 2003 UTC (4 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_3, epic4-1_2_2
Changes since 1.33: +19 -1 lines
Diff to previous 1.33
* Add /SET STATUS_NOSWAP
* Fix #define DEBUG_EXTRACTW_DEBUG/LASTLOG
* Add -o and -O command line options to turn off IEXTEN termio() options
* Add /WINDOW SWAPPABLE (defaults to on)
* Add %{1}W status expando, expands to /SET STATUS_NOSWAP if SWAPPABLE OFF
* Don't allow windows to be swapped in or out if SWAPPABLE OFF
* Don't allow windows to be shown or hidden if SWAPPABLE OFF
* Do allow windows to be swapped in with WINDOW KILL even if SWAPPABLE OFF
* Add $windowctl(GET <refnum> SWAPPABLE)

Revision 1.33 / (view) - annotate - [select for diffs] , Fri Oct 10 05:09:01 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
CVS Tags: 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.32: +16 -10 lines
Diff to previous 1.32
* Add $servernick(<global>) to return the client's global nickname
* Update tabkey.jm to latest version
* Add new ircII-compatable /window hold_mode thingee.
* Add /set hold_slider, /window hold_slider
* Add 'hold_mode' script, implements ircII-like /set hold_mode[_interval]
* /XEVAL -- ends eval option processing, like how /xecho does it.

Revision 1.32 / (view) - annotate - [select for diffs] , Tue Jul 22 20:12:54 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
Teach all the /set callbacks to take a (const void *).
This fixes a bad-c problem with /set!

Revision 1.31 / (view) - annotate - [select for diffs] , Wed Jul 16 22:23:31 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30
Commit 558
* Don't allow user to /window number in a window with a channel (avoid panic)
* Make check_mail return a (const char *), fix status_mail().
* Modularize/reorganize mail checking, with mbox reference implementation.
* Automatically /set mail 0 if the user's mbox can't be found.

Revision 1.30 / (view) - annotate - [select for diffs] , Tue Jul 15 23:56:43 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29
Commit 556
* Change #define DEFAULT_CPU_SAVER_EVERY to 60, it needs not be 0.
* Create 'clock.c', to hold clock generation, system timers, cpu saver watchdog
* Create notion of "sys(tem)timers", callbacks for mail, notify, clock gen.
* Add 'system_timer', generalized callback for all of the system timers.
* Fix add_timer() so the 'command' argument does what the docs say it does.
* Extern 'timer_exists' so we don't try to remove_timer() and invalid timer
* Redo dependancies because clock.h exists.
* Add code to bootstrap mail systimer with /set mail
* Add code to bootstrap clock generation with /set clock
* Add code to bootstrap notify handling with /set notify_interval.
* Start enforcing "NOTIFY_INTERVAL" again in do_notify() to avoid excess flood.

Revision 1.29 / (view) - annotate - [select for diffs] , Tue Jul 15 00:26:04 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28
Commit #555:
* Add #define MINIMUM_CLOCK_INTERVAL and MINIMUM_MAIL_INTERVAL in config.h
* Add #define DEFAULT_CLOCK_INTERVAL and DEFAULT_MAIL_INTERVAL in config.h
* Add reset_system_timers(), do_update_clock(), and set_cpu_saver_after()
* Add time_to_next_interval(), general form of time_to_next_minute().
* Add get_clock() and reset_clock() to replace update_clock().
* Make remove_timer() an extern function so i can delete timers. ;-)
* Add /SET CLOCK_INTERVAL and /SET MAIL_INTERVAL
* Make $T use the static clock.
* Reorganize system timers 1 and 2 into four timers:
* - CPU SAVER timer, checks for idleness, to turn on cpu saver
* - CLOCK timer, updates the status bar clock periodically
* - MAIL timer, checks for new mail periodically
* - NOTIFY timer, checks for others on irc periodically
* The above three honor "cpu saver" mode.
* Nix the old "do_every_minute" timer.
* Reorganize the clock generation stuff into "reset_*_clock" functions
* Generate the clock statically; only update it from the CLOCK timer
* Add reset_system_timers() which regenerates all four system timers.
* Don't set system timers in main, call reset_system_timers() instead.
* Don't enforce "notify interval" in do_notify(), handle that in NOTIFY timer.
* Comment stuff in words.c

Revision 1.28 / (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.27: +3 -3 lines
Diff to previous 1.27
Convert m_strdup() to malloc_strdup().

Revision 1.27 / (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.26: +5 -5 lines
Diff to previous 1.26
* 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.26 / (view) - annotate - [select for diffs] , Mon May 5 01:30:46 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25
Expanding the status bar's expandos can occur during the "main output loop"
(the end of it, to be precise), and output is forbidden by rule during the
main output loop (because it is not recursive).  So we must specifically
and explicitly suppress error messages during status bar expansion to avoid
an infinite loop that causes a crash.

Revision 1.25 / (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.24: +26 -24 lines
Diff to previous 1.24
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.24 / (view) - annotate - [select for diffs] , Thu Apr 10 22:14:56 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.23: +35 -23 lines
Diff to previous 1.23
Add %{1}+ status expando.

Revision 1.23 / (view) - annotate - [select for diffs] , Fri Apr 4 17:56:50 2003 UTC (5 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22
Fix status_voice().

Revision 1.22 / (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.21: +24 -12 lines
Diff to previous 1.21
* 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.13.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.13.2.1: +8 -4 lines
Diff to previous 1.13.2.1 to branch point 1.13 to next main 1.14
Another merge.

Revision 1.21 / (view) - annotate - [select for diffs] , Sun Mar 23 19:44:17 2003 UTC (5 years, 6 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_11
Changes since 1.20: +5 -4 lines
Diff to previous 1.20
* Explicitly set "mask" to 0 in cs_alist_hash(), so it is initialized
* Change type() to typecmd() to avoid name conflicts.
* Change 'dot' to 'dotlocl' to avoid name conflicts.
* Change 'op' to 'reduce' to avoid name conflicts.
* Fix a typo in the error message from /window kill.
* Add a panic to detect larne's recent bug that I fixed, just in case.
* Constify the "path" argument to uzfopen().
* Make sure return value of strlen() is assigned to a 'size_t' not an 'int'.
* Split load() into load() and load1(), load1() reads a file opened by load().
* Now load() is "interpretation-free", and load1() can be replaced.
* Fix various minor compile-time issues.
* Change %P status line expando to give more useful information.

Revision 1.20 / (view) - annotate - [select for diffs] , Fri Mar 21 07:46:58 2003 UTC (5 years, 6 months ago) by jnelson
Branch: MAIN
Changes since 1.19: +4 -1 lines
Diff to previous 1.19
* Add extra slop for logically attributed denormalized display strings
* Const-ify a few Timevals, just for good measure.
* Don't hardcode use of AF_INET in dcc.c, rather use a global variable for it.
* Use "global_family" var to pass hint what socket fam to use.  AF_INET for now.
* Add extra sanity check just in case window->screen goes NULL in status redraw
* Fix several benign compile-time issues.
* Reword a few previous entries to fit onto one line.

Revision 1.13.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.13: +35 -16 lines
Diff to previous 1.13
Yikes.  Merged to become consistent with HEAD.  Sorry for all the commits,
I'll be quiet again soon. :)
-wd

Revision 1.19 / (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.18: +11 -1 lines
Diff to previous 1.18
* 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.18 / (view) - annotate - [select for diffs] , Thu Jan 23 06:27:22 2003 UTC (5 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.17: +4 -1 lines
Diff to previous 1.17
People have been bugging me to "fix" this forever.  Well, for at least
as long as /set status_does_expandos has existed.  The fix is when we
change current_window over to the window we're expanding for, also set
from_server so things like $channel() or whatever work correctly.

Revision 1.17 / (view) - annotate - [select for diffs] , Mon Jan 13 14:33:55 2003 UTC (5 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.16: +11 -1 lines
Diff to previous 1.16
Add %{1}R status format which always gives you the window refnum.

Revision 1.16 / (view) - annotate - [select for diffs] , Sat Jan 11 04:26:52 2003 UTC (5 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15
Commit #427
* Add -l<tcl> to the front of $LIBS so -lm can come after it
* Look for SSL stuff in default location before hunting for it in /usr/local.
* Reset $withval after check for perl so --without-perl doesn't --without-tcl
* Make first arg of cvtchar() a (const char *) to silence warning.
* Move 'this_sucks' label to a place where it is legal.
* Make check_val() cope with NaNs and INFs more graciously...
* Fix null deref with /lastlog -c
* Update the input line in set_update(), not the caller
* Do update the input line when redrawing status
* Change make_status() to return a success/failure value.
* Don't clear the "status line wants redraw" flag if redrawing status fails.
* Nuke the now unecessary "in_window_command" global variable.
* Fix bug where <scrollback> + <scrollforward> left you in scrollback mode.
* Force init of Window->lines_held = 0 even though that shouldnt be needed.

Revision 1.15 / (view) - annotate - [select for diffs] , Mon Dec 23 15:11:27 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.14: +1 -6 lines
Diff to previous 1.14
* Remove colon at end of RETURN_MSTR so it is like others.
* Unify dgets() and SSL_dgets()
* Add a 4th argument to dgets(), an (SSL *) for ssl reads, NULL for normals
* Integrate SSL stuff more tightly by removing unecessary #ifdef's
* Change 'enable_ssl' to 'try_ssl' to avoid confusion with 'ssl_enabled'
* Remove uneccesary members of (Window)
* #include "functions.h" in any file implementing built in functions.
* panic if ssl op attempted on non-ssl connection.
* Don't call functions in RETURN_* macros. (they're evaled twice)
* Nuke #ifdef 0'd uses of 'ceiling_of_display'

Revision 1.14 / (view) - annotate - [select for diffs] , Thu Dec 19 03:22:59 2002 UTC (5 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.13: +9 -9 lines
Diff to previous 1.13
* 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.13 / (view) - annotate - [select for diffs] , Thu Sep 26 21:41:43 2002 UTC (6 years ago) by jnelson
Branch: MAIN
Branch point for: wd-devel
Changes since 1.12: +72 -38 lines
Diff to previous 1.12
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.12 / (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.11: +31 -5 lines
Diff to previous 1.11
Update copyright notices and copyright dates.

Revision 1.11 / (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.10: +1 -1 lines
Diff to previous 1.10
No functional changes, just removal of unecessary whitespace at the end
of lines.  From adm.

Revision 1.10 / (view) - annotate - [select for diffs] , Sun May 19 16:16:27 2002 UTC (6 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_5, epic4-1_1_4
Changes since 1.9: +1 -1 lines
Diff to previous 1.9
It appears as though the last two changes to configure.in did not result
in the configure script being recreated and committed -- do that now.
This introduces configure changes to 'ssl' and the check for 'socklen_t'.
Also, fix a compiler warning in status.c.

Revision 1.9 / (view) - annotate - [select for diffs] , Tue May 7 17:47:51 2002 UTC (6 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
Fix typo.

Revision 1.8 / (view) - annotate - [select for diffs] , Tue May 7 15:47:16 2002 UTC (6 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.7: +7 -6 lines
Diff to previous 1.7
Remove some debugging code from compat.c
Fix /set status_ssl to not return NULL.  I should fix this.

Revision 1.7 / (view) - annotate - [select for diffs] , Sun Feb 17 22:40:29 2002 UTC (6 years, 7 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_3
Changes since 1.6: +10 -4 lines
Diff to previous 1.6
* New STATUS_HALFOP setting which acts much the same way as STATUS_CHANOP.
* New function $getcommands() which acts much the same way as $getsets().
  The internals for these two functions probably need to be rolled together.
* Cleanups and minor updates to tabkey.ce.

Revision 1.6 / (view) - annotate - [select for diffs] , Fri Jan 25 21:57:10 2002 UTC (6 years, 8 months ago) by crazyed
Branch: MAIN
Changes since 1.5: +21 -0 lines
Diff to previous 1.5
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.5 / (view) - annotate - [select for diffs] , Wed Jan 16 02:39:57 2002 UTC (6 years, 8 months ago) by jnelson
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
Apparantly newer version of gcc-3 choke on the ## in my macro. Bleh.

Revision 1.4 / (view) - annotate - [select for diffs] , Thu Nov 15 22:40:32 2001 UTC (6 years, 10 months ago) by jnelson
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3
Fix a bug found by Q -- in the recent changes, I failed to make sure
that the screen knows that the cursor is in the display -- so when we
call cursor_to_input() it doesn't move the cursor because we didn't bother
to tell it that it was moved to the window, capiche?  This caused some
"interesting" problems.

Also, make sure the output of the /query command actually goes to the
affected window, as this just makes more sense.

Revision 1.3 / (view) - annotate - [select for diffs] , Wed Nov 14 18:35:35 2001 UTC (6 years, 10 months ago) by jnelson
Branch: MAIN
Changes since 1.2: +17 -41 lines
Diff to previous 1.2
This is the new highlight/attribute renderer.  It is a "true renderer"
because it actually renders things to look like what you say.  No longer
does turning on some attributes (color) turn others off, nor does turning
some off (bold) turn others off.  Some things may break with this, please
let me know, or feel free to pitch in and fix them.

Zinx will be happy to know that i did NOT use the epic5 "prepare_display"
routine because he was right, i did totaly break it.  I used the epic4
prepare_display function but just made it aware of the new attribute stuff.

Revision 1.2 / (view) - annotate - [select for diffs] , Thu Sep 20 21:33:16 2001 UTC (7 years ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_1
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
Fix instant coredump if you do /set -status_channel.  Doh.

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