aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-04-13Added GetLastInputInfo APIpatthoyts1-1/+37
2005-04-13Win32API module permits dynamic creation of Jim commands that call intopatthoyts1-0/+448
Win32 DLL functions. Its not complete and at the moment only void or integer parameters are working.
2005-04-13JimGetExePath needs to be a _path_ not the file name.patthoyts1-2/+4
2005-04-12AIO fix: the Id is not get with the GetGlobalVar function.antirez2-2/+6
2005-04-12string tolower/toupper supportantirez2-4/+43
2005-04-12new methods for AIO files, 'read' and 'eof'. Documentationantirez2-3/+102
still no longer in sync.
2005-04-11- Remove the '%lu' scan format specification. The largest possible typechi1-9/+13
in the Jim core is jim_wide. That type is a signed one. A unsigned variante of jim_wide is not forseen. So a '%lu' specification seems not to make any sense. - Some extra castings necessary to let the Jim core interpreter compile and run under Tru64U on Dec Alpha. - Fix a bug in UpdateStringOfList(). If a list was created via the Jim command [list] w/o any argument, the internal representation of that list pointed to ZERO and the len attribute was equally set to ZERO. If now UpdateStringOfList was called to create the string representation of the list, Jim_Alloc for quotingType got a ZERO size for number of bytes to allocate. That let to SIGSEGV under Tru64U, so I changed that to allocate at least 1 byte then.
2005-04-11RHS/Nem vision about [tailcall] implementation/behaviour is now Jim'santirez3-12/+14
way to go.
2005-04-11[tailcall] command addedantirez2-3/+32
2005-04-11Fixes for this two bugs:antirez3-8/+29
(1) jim.c Jim_FormatString() char array spec[] is defined as having two elements but at the 'default:' case of the switch statement an assignment is made to the third element (2) jimsh.c JimGetExePath() After the call of strrchr() the value of p could be NULL in the case that argv[0] is just plain "jim". The next line should have a test for NULL added to avoid dereferencing the NULL pointer. (This is the cause of a Bus Error on Mac OS X.) Many thanks to Colin McPhail for reporting this two problems.
2005-04-10Rework of the [scan] command finished. It does not any longer usechi2-84/+218
sscanf for scanning purposes, only for parsing within SetScanFmtFromAny. We could get rid of it there too, if necessary. It pass all tests on all platforms I had access to (mainly Linux, Solaris, FreeBSD, MacOS X). But I am confident, that it will pass on the others as well. A small new introduced C99-ism was fixed in jimsh.c as well.
2005-04-10Fix for [return -code eval]antirez3-9/+22
2005-04-09Experimental verison of JIM_EVAL retcode in order to implementantirez3-7/+28
what RHS proposed in the Wiki for tail recursion: return -code eval [list proc $a $b ...] I'm not sure I'll take this, but it needs to be inside for some time in order to experiment and evaluate it I guess.
2005-04-09TODO updated, spurious free changed into Jim_Free().antirez3-3/+29
2005-04-08Do not add cursorinfo if build target cannot cope.patthoyts1-2/+7
2005-04-08Fix win32 buildpatthoyts2-4/+13
2005-04-07Fixed a typo that prevented compilation with JIM_ANSICantirez2-2/+9
2005-04-07The ** expr operator, thanks to Richard Suchenwirth.antirez2-32/+41
Limited to integers because pow() needs the inclusion of math.h. The plan is to put everything depends on math.h in the math lib.
2005-04-06Modified jimsh.c in order to put the directory of the Jim executableantirez3-33/+107
as a component of jim_libpath.
2005-04-06Add the executable file location into jim_libpath for finding packages.patthoyts2-10/+39
2005-04-06Fix a problem with usie of mingw gcc and remove some gcc warnings.patthoyts1-4/+10
2005-04-06Use __stdcall for mingwpatthoyts1-2/+2
2005-04-06Shhhhh. Silenced a number of warnings when using MSVC.patthoyts2-8/+8
2005-04-06Made GetPerformanceInfo dynamically available at runtime only if thepatthoyts2-21/+74
relevant library can be loaded. Fixed for impoverished compilers.
2005-04-06Generic API implementing the Stack data structure exported toantirez3-9/+41
extensions.
2005-04-05Disabled from jim-win32.c commands that need include <psapi.h>antirez2-3/+11
because this is not generally available.
2005-04-05[scope] command removed. Will be added later with the [let] name andantirez3-47/+9
a bit different semantic.
2005-04-05minor rlprompt fix.antirez2-1/+9
2005-04-05.jimrc support (or jimrc.tcl). Minimal readline extension, just enoughantirez7-11/+146
to allow to the pure-Jim rlprompt extension to provide a readline-aware interactive shell with history.
2005-04-04Fixed a memory leak introduced some day ago.antirez3-108/+18
Thanks to 'valgrind'.
2005-04-04[memoize] is now inside the Jim Standard Library!antirez2-1/+12
More info here: http://wiki.tcl.tk/10981 Our version uses a static var to take state instead of a global var, for the rest it is the same.
2005-04-04Version marked as "0.51".antirez2-2/+9
2005-04-04Some change in the standard library, a bug about [info body/args]antirez4-12/+128
fixed. some commented work in progress for exposing the Jim parse at script level. Default compilation set to -Os again.
2005-04-02Committed the sqlite extension and documentation.antirez6-2/+485
2005-04-02minor docs updateantirez3-5/+14
2005-04-02Added a very immature start of a Jim standard library.antirez4-5/+62
2005-04-02Changes to Makefile to reflect that now libraries must have the versionantirez2-15/+22
in the .so/.dll filename.
2005-04-02win32 opendir() and related compatibility API.antirez2-6/+98
2005-04-02fix for win32antirez2-6/+13
2005-04-02[package require] + Makefile changes about libraries currently not working...antirez5-39/+272
2005-03-31Implemented the C API "background" for the packages system of Jim.antirez10-21/+201
2005-03-29[info args] addedantirez3-7/+39
2005-03-29Fixed [range] for the case of unique element possible as output.antirez2-4/+10
2005-03-29random number generator fixed. Was a problem with the initializationantirez2-5/+18
of the sbox. (see prev CVS commit comment.)
2005-03-29First fix for [rand]. More later as there is an evident bias due toantirez2-3/+9
some programming error probably.
2005-03-29A number of fix for commands optimizing a bit too much objectsantirez4-22/+137
not shared, that didn't played very well with Jim arrays. Added the [rand] command.
2005-03-28The behaviour of [scope] modified a bit. Test updated accordingly.antirez3-10/+16
2005-03-28[scope] command + testsantirez3-6/+105
2005-03-26some GFX primitive to SDL extension. Minor changes to jim.cantirez4-135/+96
2005-03-25SetReturnCodeFromAny() modified to accept numerical codes.antirez3-4/+38