CVS log for epic5/source/words.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.23 / (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_9, epic5-0_3_8, epic5-0_3_7, epic5-0_3_6, epic5-0_3_5, epic5-0_3_4, epic5-0_3_3, HEAD
Changes since 1.22: +3 -3 lines
Diff to previous 1.22
* Add arg to panic() controlling whether panic is sent via QUIT (rb black)

Revision 1.22 / (view) - annotate - [select for diffs] , Fri Oct 13 20:58:03 2006 UTC (23 months, 3 weeks ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_2
Changes since 1.21: +17 -8 lines
Diff to previous 1.21
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.21 / (view) - annotate - [select for diffs] , Wed Jan 12 00:12:21 2005 UTC (3 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_3_1, epic5-0_2_0, epic5-0_0_8, epic5-0_0_7, epic5-0_0_6, epic5-0_0_5, epic5-0_0_4, epic5-0_0_3
Changes since 1.20: +7 -9 lines
Diff to previous 1.20
* Refactor window_check_servers() to work with server's current window only.
* Roll forward all the rest of changes from epic4 (i think)
* Add /ON NEW_NICKNAME, when epic needs a new nickname from you.
* Run 'make depend', fix compile errors, fix 'environment' script

Revision 1.20 / (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.19: +1 -34 lines
Diff to previous 1.19
GC a bunch of useless cruft and stuff.

Revision 1.19 / (view) - annotate - [select for diffs] , Tue Dec 9 04:37:52 2003 UTC (4 years, 9 months ago) by jnelson
Branch: MAIN
CVS Tags: epic5-0_0_1, epic4-1_2_5
Changes since 1.18: +3 -1 lines
Diff to previous 1.18
* Add /ON WINDOW_BEFOREKILL
* Another iteration of the 'notify' script, hooks the system's /ONs now! =)
* Put a space in place of a newline in the PF loader.
* Always ignore spaces after semicolons in parse_line (the {} parser).
* Some compiler warning fixes from rain.

Revision 1.18 / (view) - annotate - [select for diffs] , Wed Dec 3 05:21:11 2003 UTC (4 years, 10 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_4, epic4-1_2_3, epic4-1_2_2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
More compiler nits fixed.  Nothing worth fretting over.

Revision 1.17 / (view) - annotate - [select for diffs] , Thu Oct 23 08:09:53 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
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
Commit 610:
* Use the server's message in our default 330 output.
* Make $numwords() use count_words() as a test.  Looks ok so far...
* Make $indextoword() use count_words().
* Implement regression tests for $indextoword()
* Any further problems with $indextoword() should add regress tests!
* Make epic behave like ircII when doing /window create with screen and X.
* Make move_to_next_word() stop when it hits a trailing nul, duh!

Revision 1.16 / (view) - annotate - [select for diffs] , Fri Sep 12 00:42:47 2003 UTC (5 years ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_13
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
Commit 581
* Fix /dcc chat nick -p 4444
* Return empty string if you do $aliasctl(pmatch <bogus> <whatever>)
* Update some copyright notices.

Revision 1.15 / (view) - annotate - [select for diffs] , Thu Jul 31 15:49:56 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.14: +8 -3 lines
Diff to previous 1.14
So what does one do when you ask for $0 from "foo   " ?
Previously, some places included the spaces, some did not.  I had
uniformly changed it to always include the spaces.  I don't really
think ce liked this very much.  So now we'll try it the other way;
Don't include the spaces, and "foo   " has two words, the second
word just containing the extra spaces.

Revision 1.14 / (view) - annotate - [select for diffs] , Mon Jul 28 13:21:22 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.13: +12 -6 lines
Diff to previous 1.13
Fix a really stupid bug I made last night.  :/

Revision 1.13 / (view) - annotate - [select for diffs] , Mon Jul 28 02:20:31 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.12: +7 -2 lines
Diff to previous 1.12
* Fix $<num> to not have leading or trailing spaces, cause zinx said so. ;-)

Revision 1.12 / (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.11: +100 -10 lines
Diff to previous 1.11
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.11 / (view) - annotate - [select for diffs] , Mon Jul 14 16:07:25 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.10: +12 -7 lines
Diff to previous 1.10
* Fix bug where $<num> (as the last word) would chop off the last character
* It is necessary to remove trailing spaces for $<num>, historical practice.

Revision 1.10 / (view) - annotate - [select for diffs] , Mon Jul 14 04:58:27 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.9: +261 -122 lines
Diff to previous 1.9
Commit 552
* Fix a couple of compiler warnings from freebsd-5
* Revamp move_to_prev_word() so its behavior isn't stinky
* Same thing with move_to_next_word(), and they need to be commented.
* Now move_to_abs_word() doesn't need to skip leading spaces.
* Remove now pointless "strip extraneous spaces" feature.
* Don't worry about cheating in real_extractw
* Fix last_arg() per all of the above

Revision 1.9 / (view) - annotate - [select for diffs] , Thu Jul 10 22:56:01 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.8: +1 -2 lines
Diff to previous 1.8
Commit 551 -- second to last commit for this project -- the big one!
* Roll in the new universal_next_arg_count() and attendant macros.
* Comment out some deprecated function decls in ircaux.h
* Do another round of make depends.
* Modify alias arglist code to use the new universal_next_arg_count() stuff
* Convert dequote() to dequoter().
* Convert new_new_next_arg() into new_new_next_arg_count().
* Comment out deprecated functions in ircaux.c -- will be deleted later.

Revision 1.8 / (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.7: +8 -8 lines
Diff to previous 1.7
Convert m_strdup() to malloc_strdup().

Revision 1.7 / (view) - annotate - [select for diffs] , Tue Jul 8 21:36:52 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
Changes since 1.6: +336 -87 lines
Diff to previous 1.6
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.6 / (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.5: +12 -8 lines
Diff to previous 1.5
* 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.5 / (view) - annotate - [select for diffs] , Fri May 2 19:22:26 2003 UTC (5 years, 5 months ago) by jnelson
Branch: MAIN
Changes since 1.4: +10 -3 lines
Diff to previous 1.4
Commit 509:
* Move /DCC from commands.c to dcc.c
* Nix the "dcc deadlist" crap.  Handle deleted dcc's more sensibly now.
* Add a "dequote" internal function that removes "s in extended words.
* Add "QWORDS" as new arglist type, for quoted-words with "s left in.
* Add "arglist" regression test.
* Fix strlcpy() in compat.c so it doesn't walk off end of string.
* Implement more sensible "locking" mechanism for dcc's
* Nix the nominally unimplemented "encrypt" feature for dcc
* Create "dcc_create" to create dcc entry
* Remove "creation" functionality from "dcc_searchlist"
* Nix global variables 'filesize' and 'global_family' now unneeded.
* Change order around of arguments to "dcc_searchlist".
* Rename "dcc_opened" to "dcc_connected" since that is what it does.
* Add "dcc_garbage_collect" which looks for dcc's that need removal.
* Add "get_dcc_by_filedesc" and "get_dcc_by_refnum" to look up dcc's
* Add "lock_dcc" and "unlock_dcc" to prevent dcc's from being GC'd.
* Double check that all output that occurs in dcc.c goes to LOG_DCC
* Use dcc_open in dcc_raw_listen() instead of doing the network stuff directly.
* Allow "booster ctcp" to be sent for dcc chat re-offerings.
* Reorganize register_dcc_offer() so it doesn't create dcc until all is well.
* Reorganize process_outgoing_file() into sub-functions.
* Don't call "dcc_dead" or "dcc_check" in main io() looper.
* Fix new_next_arg_count() to use real_move_to_abs_word() to emulate $1 usage

Revision 1.4 / (view) - annotate - [select for diffs] , Wed Jul 17 21:52:53 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.3: +28 -3 lines
Diff to previous 1.3
Update copyright notices and copyright dates.

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

Revision 1.2 / (view) - annotate - [select for diffs] , Tue Oct 2 16:53:35 2001 UTC (7 years ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_5, epic4-1_1_4, epic4-1_1_3, epic4-1_1_1
Changes since 1.1: +1 -1 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