CVS log for epic5/source/term.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.25 / (view) - annotate - [select for diffs] , Fri Apr 4 03:51:05 2008 UTC (5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_9, epic5-0_3_8, HEAD
Changes since 1.24: +4 -4 lines
Diff to previous 1.24
* Roll in a bunch of changes from larne to make epic5 more vms-friendly
* Rename if.h -> ifcmd.h  (larne) -- Make sure you rerun configure!
* Run make depend to pick up name change of if.h
* Check for <sys/param.h> in configure (larne)
* Extern funcs are case insensitive in strict c90, fix (larne)
* Rename options -> options.h since vms requires a dot in filename (larne)
* Change "readonly" -> "rdonly" since "readonly" is a symbol in vms. (larne)
* Pull in "compat.h" for gailib.c and glob.c (larne)
* Set stdout to be explciitly line buffered at startup (larne)
* Returning a value from void functino forbidden by strict c90. fix (larne)
* Fix some compiler warnings that were lying around.
* There are more changes forthcoming, these were the easy ones.

Revision 1.24 / (view) - annotate - [select for diffs] , Sat Mar 29 18:00:16 2008 UTC (5 months, 1 week ago) by jnelson
Branch: MAIN
Changes since 1.23: +102 -72 lines
Diff to previous 1.23
* Roll forward portability changes from epic4-2.10 (larne)
* This also includes term.h -> termx.h -- Make sure you rerun configure!

Revision 1.23 / (view) - annotate - [select for diffs] , Fri Jul 20 21:29:33 2007 UTC (13 months, 2 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_7, epic5-0_3_6, epic5-0_3_5
Changes since 1.22: +2 -2 lines
Diff to previous 1.22
Remove u_* bsd-isms so we can compile with -ansi on linux.

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

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

Revision 1.20 / (view) - annotate - [select for diffs] , Wed Mar 28 00:14:38 2007 UTC (17 months, 1 week ago) by jnelson
Branch: MAIN
Changes since 1.19: +5 -4 lines
Diff to previous 1.19
Stage 1 in a major overhaul of the input line handling code.
Caution -- road may be slippery when wet.  Many more changes to come.

Revision 1.19 / (view) - annotate - [select for diffs] , Mon Mar 26 23:20:53 2007 UTC (17 months, 1 week ago) by jnelson
Branch: MAIN
Changes since 1.18: +106 -20 lines
Diff to previous 1.18
* Fix bugs with 'builtins' (zlonix)
* Revamp the term_init() function, document, etc.
* Unconditionally turn off IEXTEN, IXON, IXOFF, to reclaim all of the chars
  that kernels steal from us (like ^S, ^Q, ^O, ^V, etc)
* Whack the -f/-F/-o/-O command line options; per above.
* I can now bind and use ^S and ^Q and ^V.  Yay!
* Fix initialization of ruby, so it actually works for the first time! YAY!
* Refactor how lastlog is trimmed, by removing a specific item
* Start working on code to remove items from lastlog by grep.
* Fix crashes with /stack push set that kitambi told me about
* Put in a trivial sleep when checking screen size to avoid race with screen.

Revision 1.18 / (view) - annotate - [select for diffs] , Sat Dec 9 18:00:07 2006 UTC (20 months, 3 weeks ago) by jnelson
Branch: MAIN
Changes since 1.17: +121 -1 lines
Diff to previous 1.17
Add code to do threaded stdout (from larne)

Revision 1.17 / (view) - annotate - [select for diffs] , Fri Oct 21 02:50:01 2005 UTC (2 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_2, epic5-0_3_1, epic5-0_2_0, epic5-0_0_8, epic5-0_0_7
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
* Add flush_all_symbols() which does a total cleanup of symbols at exit-time.
* Fix a few bugs
* Use flush_all_symbols() instead of /dump to catch memory leaks.

Revision 1.16 / (view) - annotate - [select for diffs] , Tue Aug 30 22:45:13 2005 UTC (3 years ago) by jnelson
Branch: MAIN
Changes since 1.15: +6 -43 lines
Diff to previous 1.15
* Fix bug with comma operator in new math parser that crazyeddy found.
* Whack support for 7 bit terminals (8 bit support is now assumed)
* Whack support for /set eight_bit_characters
* Whack support for /set beep_max, tab, tab_max, and nd_space_max

Revision 1.15 / (view) - annotate - [select for diffs] , Wed Aug 11 22:58:39 2004 UTC (4 years ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_6, epic5-0_0_5, epic5-0_0_4, epic5-0_0_3
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
* 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.14 / (view) - annotate - [select for diffs] , Thu Jul 22 23:49:46 2004 UTC (4 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.13: +6 -2 lines
Diff to previous 1.13
* Make stripcrap(ALL) exclude "ALL_OFF", so I can...
* Fix bug with $stripcrap(ALL,-BOLD ^B^B^Btest). (rb BlackJac)
* Make the #define Char const char thing global to all of epic now.
* Whack /set scroll.
* Create a "/set data" type (VARIABLE) which is union of (int) and (char *).
* Expose VARIABLE and variable types in vars.h for others to use.
* Break init of /set's into two parts, one to malloc() the set data
* The second part is to init the default values once command line is done.
* Fix some warnings from --with-warns
* Fix all /set callbacks to accept a (void *)(VARIABLE *) variable
* /Set callbacks can now directly modify the /set via that variable!
* So don't allow direct setting of /set's from outside vars.c.
* Everybody must use set_var_value() which is the backend to /set.
* Whack the /IRCNAME and /REALNAME variable -- use /SET REALNAME, eh!
* Hack up /xecho -x to bide my time until i whack all those /sets it uses.
* Don't call set_input_prompt() in main() any more, it's handled elsewhere.
* Whack /set logfile callback, since nobody seems to have missed it.
* Whack the "number" (float) data in /set since i wasn't gonna use it.
* Whack the "GLOBAL/CHANGED" tracking in /set's.  Tell me if you miss this.
* Unify output of /set values as "[New|Current] value of <var> is <val>"
* Don't limit the size of /set continued_line, this will be revisited soon.
* Quick and dirty hack to work around adm's bug, will fix this later.

Revision 1.13 / (view) - annotate - [select for diffs] , Mon Apr 12 23:19:49 2004 UTC (4 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12
* 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.12 / (view) - annotate - [select for diffs] , Wed Dec 3 22:17:40 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_2, epic5-0_0_1, epic4-1_2_5, epic4-1_2_4, epic4-1_2_3, epic4-1_2_2
Changes since 1.11: +12 -1 lines
Diff to previous 1.11
* 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.11 / (view) - annotate - [select for diffs] , Tue Jul 22 20:12:54 2003 UTC (5 years, 1 month 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.10: +6 -4 lines
Diff to previous 1.10
Teach all the /set callbacks to take a (const void *).
This fixes a bad-c problem with /set!

Revision 1.10 / (view) - annotate - [select for diffs] , Wed Jul 9 20:10:25 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9
Convert m_strdup() to malloc_strdup().

Revision 1.9 / (view) - annotate - [select for diffs] , Fri May 9 03:29:52 2003 UTC (5 years, 4 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_12
Changes since 1.8: +14 -9 lines
Diff to previous 1.8
* 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.8 / (view) - annotate - [select for diffs] , Thu Apr 24 20:49:25 2003 UTC (5 years, 4 months ago) by jnelson
Branch: MAIN
Changes since 1.7: +34 -34 lines
Diff to previous 1.7
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 / (view) - annotate - [select for diffs] , Wed Jul 17 21:52:53 2002 UTC (6 years, 1 month 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.6: +6 -5 lines
Diff to previous 1.6
Update copyright notices and copyright dates.

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

Revision 1.5 / (view) - annotate - [select for diffs] , Mon May 13 20:53:15 2002 UTC (6 years, 3 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_5, epic4-1_1_4
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
DEATH TO MEMCPY()!
Also, make need_redraw 'volatile' since we alter it in a signal handler.

Revision 1.4 / (view) - annotate - [select for diffs] , Tue Dec 18 17:04:36 2001 UTC (6 years, 8 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_3
Changes since 1.3: +6 -1 lines
Diff to previous 1.3
Thanks to zinx, terminal problem with ^e fixed, and the default alt_charset
is back to on.

Revision 1.3 / (view) - annotate - [select for diffs] , Tue Nov 13 23:04:02 2001 UTC (6 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2
Fix a bogon with setting up colors that caused a crash for keerf.

Revision 1.2 / (view) - annotate - [select for diffs] , Tue Nov 13 22:12:26 2001 UTC (6 years, 9 months ago) by jnelson
Branch: MAIN
Changes since 1.1: +64 -61 lines
Diff to previous 1.1
Resizable wserv support!  No, really!  Backported from epic5.
I have to go through term.c again and make sure there are no unintended
casualties of the merge.  We should also start testing the resize handlers
to make sure they're happy.  I don't promise they'll all work first time,
but this is a good place to start!

Revision 1.1.1.1 / (view) - annotate - [select for diffs] (vendor branch) , Tue Dec 5 00:11:57 2000 UTC (7 years, 9 months ago) by jnelson
Branch: epicsol
CVS Tags: start, epic4_0_9_15, epic4-1_1_1, 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, 9 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