aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-11-13sync up eCos repositoryoharboe2-22/+70
2008-11-07more whitespace fixesoharboe1-2/+2
2008-11-072008-11-06 Steve Bennett <steveb@workware.net.au>oharboe2-9/+18
* jim.c: Implement info hostname by calling os.hostname * jim.c: Also fix some compiler warnings
2008-11-072008-11-06 Steve Bennett <steveb@workware.net.au>oharboe3-13/+48
* jim.c, jim.h: Improve error reporting, especially on package load
2008-11-07 * jim.c, jim.h: Prevent infinite recursion if an unknown command isoharboe3-0/+18
called from unknown
2008-11-072008-11-06 Steve Bennett <steveb@workware.net.au>oharboe2-0/+112
* jim-array-1.0.tcl: Add array command wrapper 2008-11-05 Steve Bennett <steveb@workware.net.au> * jim-glob-1.0.tcl, jim-readdir.c: Add readdir extension and glob package for glob command
2008-11-062008-11-05 Steve Bennett <steveb@workware.net.au>oharboe3-0/+259
* jim-glob-1.0.tcl, jim-readdir.c: Add readdir extension and glob package for glob command
2008-11-062008-11-05 Steve Bennett <steveb@workware.net.au>oharboe3-3/+1069
* jim-regexp.c: Add regexp extension for regexp and regsub commands
2008-11-06whitespace fixoharboe1-37/+39
2008-11-05* jim-hwio.c: file addedoharboe2-9/+10
2008-11-05sync ecos snapshotoharboe1-10/+53
2008-11-052008-11-04 Uwe Klein <uklein@klein-messgeraete.de>oharboe3-0/+758
* jim-hwio.c: file added * provides memory area and hardware access on linux i386
2008-11-05* jim.c: add support for proc default arguments to jimoharboe2-10/+54
2008-11-052008-11-05 Steve Bennett <steveb@workware.net.au>oharboe4-2/+29
* jim.c: fix lazy expression evaluation with unary not
2008-11-042008-11-04 Steve Bennett <steveb@workware.net.au>oharboe3-27/+44
* jim.c: fix problems with "puts [list ${a}]". Resulted in syntax error. * jim.c: :: scoping for set * jim.c: Creating a C command when a Tcl command of the same name already exists can cause a crash.
2008-11-042008-11-03 Steve Bennett <steveb@workware.net.au>oharboe3-30/+158
* Allow env with no arguments to retrieve all environment variables as a list of name value ... * Add format support for %o -- octal * Allow direct access to variables in the global scope by prefixing with :: * For compatibility with older versions of Tcl, allow == and != to compare strings if the arguments can't be interpreted as numbers * Ensure that the string representation exists before doing string toupper or tolower
2008-09-01 * jim.c, jim.h: more text formatting fixes, improved error messagesoharboe5-34/+147
with location of error
2008-08-25 * jim.c, jim.h: name value pair and formatting fixesoharboe6-13/+1605
2008-07-23Uwe Klein:oharboe5-4/+13
* fix missing vararg.h in some files ( included in jim.h ) * in aio.socket return an error when hosti resolution fails instead of just carrying on.
2008-07-23JIM_SUPPORT_EVENTLOOP addedoharboe1-0/+10
2008-07-23 * jim.c: reduce stack usage. Important for embedded devices withoutoharboe10-60/+801
MMU. * jim.c, jim-aio.c, jim-eventloop.c, jim-eventloop.h: emergency repairs to make code compile with eCos after event loops was added. event loop stuff compiles under eCos at least, but this was not tested for regressions.
2008-07-23 * jim.c: reduce stack usage. Important for embedded devices withoutoharboe1-6/+16
MMU.
2008-07-21 * src/jim.c: very slightly improved error messages.oharboe9-87/+573
* FreeBSD license cleanup wip
2008-07-17Switched core files to FreeBSD licenseoharboe5-215/+155
2008-07-16clemens and chi are the same personoharboe1-2/+1
2008-07-16clemens and chi (same person :-) are OK with FreeBSD license.oharboe1-0/+87
2008-07-16oharboe's contributions to Jim Tcl can be put under FreeBSD license.oharboe1-0/+85
2008-07-16salvatore ok'd freebsd licenseoharboe1-0/+88
2008-07-16pat ok'd freebsd licenseoharboe1-0/+84
2008-07-16OK to switch to FreeBSDoharboe1-0/+65
2008-07-16FreeBSD OK w/Uwe.oharboe1-0/+73
2008-07-16andrew agreed to FreeBSD license.oharboe1-0/+65
2008-07-15Tried to complete the AUTHORS list.oharboe1-0/+12
2008-07-142008-07-13 Uwe Klein <uklein@klein-messgeraete.de>oharboe2-0/+85
* doc/jim_man.txt : an overlook over jim command basics and the added commands. incomplete, additions welcome.
2008-07-14 * signals ( not complete , no eventscripts yet ) sleep and usleepoharboe2-0/+250
[pit] point in time and [jpit] julian point in time.
2008-07-142008-07-13 Uwe Klein <uklein@klein-messgeraete.de>oharboe2-10/+388
* This adds open async, fileevents and sockets ( tcp server, client ) to jim-aio, using fileevents requires the jim-eventloop package .
2008-07-142008-07-13 Uwe Klein <uklein@klein-messgeraete.de>oharboe2-0/+13
* jim.c: in Jim_SubstObj in the switch for tokentype case: JIM_TT_DICTSUGAR and accompanying code was missing.
2008-07-08 * changes to jim-eventloop.[ch]oharboe3-35/+118
* fix negative displacement in timeout computation for select * add basic support for the fileevent stuff [ used from jim-aio ] * add basic support for signal handling / actions * add basic support for timer [via after] restart, cancel and returning the remaining time for cancled events
2008-07-08 * src/jim.c: remove bogus return value from if {[expr]} {xx} whenoharboe3-4/+53
{xx} is not run.
2008-07-072008-07-07 Duane Ellis <openocd@duaneellis.com>oharboe2-2/+44
src/jim.c: This simple patch adds precision support to JIM's format command.
2008-07-07src/Jim.coharboe6-132/+728
- ** THIS INCLUDES A PREVIOUS PATCH I SENT EARLIER ** - that impliments many [format] specifies JIM did not support. - Jim_FormatString() - **MAJOR** work. - Previously only supported "%s" "%d" and "%c" - And what support existed had bugs. - NEW: *MANY* formating parameters are now supported. - TODO: The "precision" specifier is not supported. ** NEW ** This patch. - Jim_StringToWide() test if no conversion occured. - Jim_StringToIndex() test if no conversion occured. - Jim_StringToDouble() test if no conversion occured. ** NEW ** This Patch. Major Work. - Previously output from JIM did not get sent to GDB - Ditto: Output to Telnet session. - Above items are now fixed - By introducing callbacks new function pointers in the "interp" structure. - Helpers that call the callbacks. - New function: Jim_fprintf() - New function: Jim_vfprintf() - New function: Jim_fwrite() - New function: Jim_fread() - New function: Jim_fflush() - New function: Jim_fgets() By default: the output is to STDIO as previous. The "openocd.c" - redirects the output as needed. - Jim_Panic() - Send panic to both STDERR and the interps specified STDERR output as a 2nd choice. - Now JIM's "stdin/stdout/stderr" paramters are "void *" and are no longer "FILE *". src/Jim.h - **MAJOR** - New JIM STDIO callbacks in the "interp" structure. - change: "stdin/stdout/stderr" are now "void *" cookies. - New JIM stdio helper functions.
2008-06-18 * ChangeLog, jim-aio.c: Andrew spotted a bug in theoharboe2-2/+8
aio.gets implementation for lines that are more than AIO_BUF_LEN long. GCC 4.3.1 pointed out this problem.
2008-06-16 * retire CVS keyword expansion. Plays havoc with patches.oharboe19-41/+8
2008-06-16* ChangeLog, jim.c: fixed parsing in "expr 0x1234".oharboe6-56/+101
2008-06-16 * ChangeLog, ecos/ecos.db: eCos repository smoketested.oharboe2-1/+5
2008-06-15 * ChangeLog, jim.c, jim.h, jim-aio.c: Support for eCos.oharboe4-5/+22
2008-06-15added eCos Jim Tcl repository. Work in progress.oharboe11-0/+14208
2008-06-15 * ChangeLog, jim.c: realloc/malloc(0) fix. Convertoharboe2-4/+17
realloc/malloc(0) => realloc/malloc(1) which has an identical implementation, whereas realloc/malloc(0) is ambigous. "string map {} {}" used to result in malloc(0)
2008-06-13* ChangeLog: Øyvind Harboe's first test as a committer.oharboe1-0/+4
2007-01-31Sqlite3 packagepatthoyts1-0/+299