CVS log for epic4/source/expr.c

Epicsol.org
(back) Up to [Epic CVS] / epic4 / source

Request diff between arbitrary revisions


Default branch: MAIN
Bookmark a link to: HEAD / (download)

Revision 1.25 / (view) - annotate - [select for diffs] , Wed Dec 1 23:47:51 2004 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_8, epic4-2_6, epic4-2_4, epic4-2_2, epic4-2_1_3, epic4-2_10, HEAD
Changes since 1.24: +7 -2 lines
Diff to previous 1.24
Last material change to epic4! (hopefully -- cross fingers)
* Fix wording of default messages for 347 and 349 numerics.
* Fix column alignment for /timer list.
* Fix add_to_window() to stop runaway recursion through /set output_rewrite.
* Fix bug in expand_alias() -- all output must be privileged_yell()!
* Change /on send_to_server so it can't be hooked recursively.

Revision 1.24 / (view) - annotate - [select for diffs] , Wed Nov 10 03:20:35 2004 UTC (3 years, 7 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_1_2
Changes since 1.23: +6 -6 lines
Diff to previous 1.23
* Fix space-related panic.  See UPDATES for all the gruesome details.
* Add ALT_CHAR to the list of things that can be mangled.

Revision 1.23 / (view) - annotate - [select for diffs] , Sat Jan 31 22:15:01 2004 UTC (4 years, 5 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-2_1_1, epic4-2_0, epic4-1_2_9
Changes since 1.22: +11 -1 lines
Diff to previous 1.22
Fix $-at-end-of-string null deref (/echo $($))

Revision 1.22 / (view) - annotate - [select for diffs] , Tue Oct 28 05:53:57 2003 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_2_8, epic4-1_2_7, epic4-1_2_6, 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.21: +4 -4 lines
Diff to previous 1.21
* 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.21 / (view) - annotate - [select for diffs] , Fri Oct 10 05:22:39 2003 UTC (4 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_13
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
Implement "privleged yells" which allow syou to do /set debug 7 at the
same time as /set output_rewrite.  Yea~!

Revision 1.20 / (view) - annotate - [select for diffs] , Tue Jul 22 18:04:36 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
* Add "ON/OFF" toggle set variable to the system timer data.
* Create 'update_system_timer' which uses the "toggle" var to run or stop timer
* Merge '(start|stop)_system_timer' into 'update_system_timer'
* Nix #define MINIMUM_(NOTIFY|CLOCK|MAIL)_INTERVAL since we can't stop that.
* Do not enforce minimums for /SET *_INTERVAL since user could get around it.
* Track "last event" time, maybe I'll use that in the future
* Reset "now" global variable before calling timer callback.
* Fix null deref bug with $($$)
* Add default binding to ^G to "self_insert" for beeps.
* Do not enforce MINIMUM_NOTIFY_INTERVAL in do_notify()
* Don't include exec.h from screen.c
* Add 'number' (floating point) field to /set's
* Add FLOAT_TYPE_VAR type for /set's, using 'number' field
* Update all the /set entries to include a default 'number' field.
* Add get_float_var() to get the 'number' field in a set.
* Add set_float_var() to set the 'number' field in a set.
* Teach set_variable() about FLOAT_TYPE_VAR sets.
* Teach save_variables() about FLOAT_TYPE_VAR sets.
* Teach get_string_variable() about FLOAT_TYPE_VAR sets.

Revision 1.19 / (view) - annotate - [select for diffs] , Thu Jul 10 08:50:30 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.18: +2 -15 lines
Diff to previous 1.18
* Convert parse_line_with_return() to call_lambda_function().

Revision 1.18 / (view) - annotate - [select for diffs] , Wed Jul 9 20:10:25 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.17: +37 -37 lines
Diff to previous 1.17
Convert m_strdup() to malloc_strdup().

Revision 1.17 / (view) - annotate - [select for diffs] , Wed Jul 9 04:45:22 2003 UTC (4 years, 11 months ago) by jnelson
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16
Cut over m_sprintf() to malloc_sprintf().

Revision 1.16 / (view) - annotate - [select for diffs] , Sat Jun 28 17:40:38 2003 UTC (5 years ago) by jnelson
Branch: MAIN
Changes since 1.15: +13 -9 lines
Diff to previous 1.15
It is better to use (ssize_t) instead of (int) when refering to string lengths.

Revision 1.15 / (view) - annotate - [select for diffs] , Thu Jun 12 16:57:11 2003 UTC (5 years ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_12
Changes since 1.14: +6 -2 lines
Diff to previous 1.14
COMMIT 521
* Fix casts to update_transfer_buffer, so status info is more correct.
* Fix really lame bug that i'm responsible for (/eval echo }{)
* Work around infinite recursion in update_all_windows().

Revision 1.14 / (view) - annotate - [select for diffs] , Fri May 30 18:58:10 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.13: +7 -6 lines
Diff to previous 1.13
Commit 519
* Change m_strcat_ues_c to take a (char *) "unescape" param and not (int)
* Rename m_strcat_ues_c to malloc_strcat_ues_c
* Rewrite malloc_strcat_ues_c to support new semantics.
* Make sure not to pass 0 to alloca() in ctcp checks
* Initialize (DCC)->server [found by valgrind]
* Change 'expand_alias' so 'unescape' is (char *) and not (int)
* Add extra sanity checks in mangle_line against buffer overruns
* Fix window_channel() to use new malloc_strcat_ues() arguments.

Revision 1.13 / (view) - annotate - [select for diffs] , Fri May 30 00:05:30 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.12: +23 -10 lines
Diff to previous 1.12
Fix a bug reported by void, when you do @ foo = [....

Revision 1.12 / (view) - annotate - [select for diffs] , Fri May 9 03:29:52 2003 UTC (5 years, 1 month ago) by jnelson
Branch: MAIN
Changes since 1.11: +107 -78 lines
Diff to previous 1.11
* 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.11 / (view) - annotate - [select for diffs] , Thu Apr 24 20:49:25 2003 UTC (5 years, 2 months ago) by jnelson
Branch: MAIN
Changes since 1.10: +5 -9 lines
Diff to previous 1.10
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.9.2.3 / (view) - annotate - [select for diffs] , Wed Mar 26 09:20:46 2003 UTC (5 years, 3 months ago) by wd
Branch: wd-devel
Changes since 1.9.2.2: +2 -2 lines
Diff to previous 1.9.2.2 to branch point 1.9 to next main 1.10
Okay.  User input is now handled specially, and parse_command() will not
accept incomplete command names anymore.
-wd

Revision 1.9.2.2 / (view) - annotate - [select for diffs] , Mon Mar 24 17:53:00 2003 UTC (5 years, 3 months ago) by wd
Branch: wd-devel
Changes since 1.9.2.1: +4 -4 lines
Diff to previous 1.9.2.1 to branch point 1.9
Another merge.

Revision 1.10 / (view) - annotate - [select for diffs] , Sun Mar 23 19:44:17 2003 UTC (5 years, 3 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_11
Changes since 1.9: +4 -4 lines
Diff to previous 1.9
* 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.9.2.1 / (view) - annotate - [select for diffs] , Thu Feb 27 12:17:24 2003 UTC (5 years, 4 months ago) by wd
Branch: wd-devel
Changes since 1.9: +5 -5 lines
Diff to previous 1.9
Whee.  Preliminary work is done.  I've converted things to use hash tables
instead of alists (if this doesn't work out, I'll go back to alists).
Namespaces exist, but are not yet addable.  That will come.

I'm very sure things are still a bit unstable, but the absolute basics of
adding variables/functions and executing/retrieving them works.  That was
my first milestone.

-wd

Revision 1.9 / (view) - annotate - [select for diffs] , Mon Oct 28 23:45:39 2002 UTC (5 years, 8 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_9, epic4-1_1_8, epic4-1_1_10
Branch point for: wd-devel
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
Add $joinstr() and let $jot() work on floating point variables.

Revision 1.8 / (view) - annotate - [select for diffs] , Wed Jul 17 21:52:52 2002 UTC (5 years, 11 months ago) by jnelson
Branch: MAIN
CVS Tags: epic4-1_1_7, epic4-1_1_6
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
Update copyright notices and copyright dates.

Revision 1.7 / (view) - annotate - [select for diffs] , Sat Jul 6 02:50:11 2002 UTC (6 years ago) by jnelson
Branch: MAIN
Changes since 1.6: +31 -3 lines
Diff to previous 1.6
I'm going to start sweeping the entire source, adding the official
copyright notice to each file (like ircII does already), and making
sure that the /* $EPIC$ */ thingee is at the top of the file.  This is
my first swath of files.

Revision 1.6 / (view) - annotate - [select for diffs] , Fri Jun 21 22:37:31 2002 UTC (6 years ago) by crazyed
Branch: MAIN
Changes since 1.5: +9 -5 lines
Diff to previous 1.5
* Merged in another /fe fix I was brewing.
* Altered new_next_arg to not truncate the arguments list if the argument
  taken happened to be empty.  This fixes bugs with /fe and $shift() where
  the list has "" arguments.
* Gave malloc_strcat and m_strcat_ues a clue variable and used it within
  the variable expansion routines so that expanding works in liner time.
   * I am a little bothered by this.  The _correct_ thing to do is to put
     the clue variables into the malloc data for the strings themselves
     like perl does.
* Moved the base structure for 1cmd in command queues from last.qcmd. to
  1cmd.
* Added command completion to tabkey.ce.

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

Revision 1.4 / (view) - annotate - [select for diffs] , Mon Nov 26 18:35:36 2001 UTC (6 years, 7 months ago) by crazyed
Branch: MAIN
CVS Tags: epic4-1_1_5, epic4-1_1_4, epic4-1_1_3
Changes since 1.3: +12 -0 lines
Diff to previous 1.3
This extends /encrypt to add a new argument, which will be treated as a
program with which to filter messages through to be encrypted/decrypted.

The protocol so far is:  One line in text mode, with the key as the first
word.  Followed (starting on the second line and ending at EOF), by the
encrypted message in binary.  Binary messages returned are automatically
quoted and unquoted for transmission over the wire.  Ascii Armoring
if performed by the program will "bypass" the quoting features.

This patch also alters the way floating point numbers are returned.
Before, canon_number was passed over the textual value.  Now, ftoa()
reads the correct way to do it from FLOATING_POINT_MATH.

Revision 1.3 / (view) - annotate - [select for diffs] , Mon Nov 26 01:21:39 2001 UTC (6 years, 7 months ago) by crazyed
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2
Altered the floating point precision to 50 digits, added $ceil(), $floor()
and $abs(), rewrote exec_pipe.  _And_, altered $trunc(0 ...) to convert
the given number to an integer.

Revision 1.2 / (view) - annotate - [select for diffs] , Mon Nov 19 16:52:47 2001 UTC (6 years, 7 months ago) by crazyed
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1
Extended the precision of floating point return values to 999 characters
since some calculations can return hundreds of digits. This will
dramatically decrease the error of calculations, but the length may be a
little excessive for displaying, so it may need tuning. It would be nice                                                            to make this a define, but this could be a little tricky because the
format specifier in question is a string.

Revision 1.1.1.1 / (view) - annotate - [select for diffs] (vendor branch) , Tue Dec 5 00:11:57 2000 UTC (7 years, 7 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, 7 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