Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
* jim.c: Implement info hostname by calling os.hostname
* jim.c: Also fix some compiler warnings
|
|
* jim.c, jim.h: Improve error reporting, especially on package load
|
|
called from unknown
|
|
* 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
|
|
* jim-glob-1.0.tcl, jim-readdir.c: Add readdir extension and glob package for glob command
|
|
* jim-regexp.c: Add regexp extension for regexp and regsub commands
|
|
|
|
|
|
|
|
* jim-hwio.c: file added
* provides memory area and hardware access on linux i386
|
|
|
|
* jim.c: fix lazy expression evaluation with unary not
|
|
* 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.
|
|
* 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
|
|
with location of error
|
|
|
|
* 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.
|
|
|
|
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.
|
|
MMU.
|
|
* FreeBSD license cleanup wip
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* doc/jim_man.txt : an overlook over jim command basics
and the added commands. incomplete, additions welcome.
|
|
[pit] point in time and [jpit] julian point in time.
|
|
* This adds open async, fileevents and sockets ( tcp server, client )
to jim-aio, using fileevents requires the jim-eventloop package .
|
|
* jim.c: in Jim_SubstObj in the switch for tokentype
case: JIM_TT_DICTSUGAR and
accompanying code was missing.
|
|
* 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
|
|
{xx} is not run.
|
|
src/jim.c: This simple patch adds precision support to JIM's format command.
|
|
- ** 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.
|
|
aio.gets implementation for lines that are more than
AIO_BUF_LEN long. GCC 4.3.1 pointed out this problem.
|
|
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|