aboutsummaryrefslogtreecommitdiff
path: root/TODO
AgeCommit message (Collapse)AuthorFilesLines
2017-09-15Implement defer, $jim::deferSteve Bennett1-7/+3
Allows commands to run when a proc or interpreter exits. If the $jim::defer variables exists at proc or interp exit, it is treated as a list of scripts to evaluate (in reverse order). The [defer] command is a helper to add scripts to $jim::defer See tests/defer.test Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-10Update TODO to reflect the current state of JimSteve Bennett1-20/+0
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-10-15Better internal script representationSteve Bennett1-10/+0
Should have better performance No longer need the command struct Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-10-15Fix some build problems and add lost featuresSteve Bennett1-6/+5
Add some missing files needed for autoconf Make jim build standalone and without host jimsh Use (FILE *) for eventloop file handle Don't expect to support dynlib if no mmu Re-add nvp and win32 support (untested) Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-10-15Rework script/subst parser for improved performanceSteve Bennett1-6/+0
*: Keep abc(def) as a single token, but split abc($def) into 4 tokens *: Then optimise when interpolating to keep a reference to the underlying objects *: This speeds up the 'set a($b)' case a lot *: Also avoid so much alloc/realloc when parsing scripts and subst objects Also simplify cmdStruct creation *: Can omit args=-1 for expand *: Makes it easy to calculate the length *: Do it all in a single loop for simplicity, size and speed
2010-10-15Many improvements, bug fixesSteve Bennett1-8/+11
*: Allow math functions to be enabled via configure *: Allow support for references to be removed *: Documentation updates *: Jim_ListLength() now returns the result directly *: Optimise list -> dict conversion *: Consistent capitalisation of some structures, functions *: Add support for abbreviations to Jim_GetEnum() *: The commands to 'info' may be abbreviated *: Use abbreviation support in parsing options to 'subst' *: Use Jim_GetEnum() to parse return code names *: Optimise 'array get', 'array set' if no conversion needed *: Import Tcl string.test *: string compare now returns -1,0,1 like Tcl *: Fix 'string last' with index=0 *: Add support for 'string reverse' *: Add -nocase option to 'string equal' *: Fix infinite loop in 'string repeat str -1' *: Support braced patterns in glob *: glob should not return dot files unless the pattern starts with . *: Simplify glob.tcl by using some new features *: When creating C extensions from Tcl, preserve newlines and invoke with Jim_Eval_Named() to produce more meaningful error messages. *: Also remove all comments, not just those starting in the first column *: Add support for 'n+n' and 'n-n' in string/list indexes (Tcl 8.5) *: Add a level to the stack trace for 'return -code error' *: 'return -code' should also affect the return from 'source' (see Tcl docs) *: Fix lsort -command *: Some systems don't have INFINITY
2010-10-15More expr tests and fixesSteve Bennett1-12/+0
*: Add tests/expr-new.test from Tcl *: Directly convert from int to double if possible *: Always treat '-' in front of a number as unary minus so that '-0x1234' works. *: Fix expr when the variable does not exist *: Add optional support for math functions *: Also double/0 == Inf or -Inf
2010-10-15New featuresSteve Bennett1-1/+0
Add unset -nocomplain and tests Implement lrepeat
2010-10-15Simplify expr evaluationSteve Bennett1-34/+7
2010-10-15Simplify use of eventloopSteve Bennett1-2/+2
Just assume direct static linking for now
2010-10-15Cutover to new workware fork of Jim TclSteve Bennett1-2/+2
Note that this commit removes some files and undoes some commits which will be reapplied later. This is the easiest way to switch across. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-01-22docs: Minor stylistic tweaksWojciech A. Koszek1-2/+2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2005-04-11RHS/Nem vision about [tailcall] implementation/behaviour is now Jim'santirez1-1/+0
way to go.
2005-04-09TODO updated, spurious free changed into Jim_Free().antirez1-0/+4
2005-04-02Committed the sqlite extension and documentation.antirez1-0/+1
2005-04-02[package require] + Makefile changes about libraries currently not working...antirez1-1/+14
2005-03-31Implemented the C API "background" for the packages system of Jim.antirez1-0/+13
2005-03-24A simple SDL extension for Jim.antirez1-0/+4
2005-03-19[finalize] command and relative C API added (SS).antirez1-1/+6
2005-03-17[lreverse]antirez1-1/+0
2005-03-17TODO file updated, things already done removed.antirez1-14/+5
2005-03-17The interactive prompt can now used to type/paste multi line scripts.antirez1-0/+7
Every line is appended to the previous until the script does not appear to be complete (tested by Jim_IsScriptComplete()).
2005-03-14Removed the inclusion of a not-needed header file "sys/time.h"antirez1-0/+2
that prevented compilation with JIM_ANSIC under non POSIX systems.
2005-03-14[lmap] command.antirez1-1/+1
2005-03-09An initial [format] command.antirez1-12/+8
2005-03-07TODO changesantirez1-0/+3
2005-03-06Added Jim_GetEnum() API function. StringCoreCommand and AIO extensionantirez1-1/+1
modified to use this API. There are plenty of other places where this will work better than the raw CompareStringImmediate(). Original idea from Tcl, Original implementation from Pat Thoyts, I changed the implementationto use CSI and for automatic error generation with all the valid options listed.
2005-03-04more benchmarks. Initial size of hashtables modified.antirez1-0/+2
Some documentation change.
2005-03-02one more benchmarkantirez1-0/+1
2005-03-01Fix to Jim_StringMatch. Still not embedded nuls safe.antirez1-3/+0
2005-02-27const added to Jim_NewStringObjantirez1-0/+13
2005-02-27Now there is implicit subst in expr's strings like expr {"foo $i" eq $bar}.antirez1-0/+11
More tests. A fix in the parsing code for line number calculation.
2005-02-26Initial revisionantirez1-0/+39