summaryrefslogtreecommitdiff
path: root/jim-eventloop.c
Commit message (Collapse)AuthorAge
* Fix some build problems and add lost featuresSteve Bennett2010-10-15
| | | | | | | | | | 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>
* Documentation, build system updatesSteve Bennett2010-10-15
| | | | | | | | | Document reference-related commands *: ref, getref, setref, finalize, lambda were missing Build system updates *: Add check for long long to configure *: Change -Dwith_jim_ext_... to -Djim_ext_... *: Fix jim-eventloop when compiling with no long long
* Various general fixes and cleanupsSteve Bennett2010-10-15
| | | | | | | | | | Add lsearch -command, update case to use lsearch Rename tcl6.tcl to tclcompat.tcl Remove // style comments Expand some tabs to spaces Fix some compiler warnings Remove some unused functions Don't close fd=-1 in exec
* Build improvements, bug fixes and compiler warningsSteve Bennett2010-10-15
| | | | | | | | | | | | | | Remove unimplemented 'after restart|expire' from eventloop Allow libjim to be build as a shared library On some platforms, regex.h needs stdlib.h first Use ualarm() only for times < 1 second Fix warnings found by clang static analyser *: printf/syslog %m isn't portable *: some variables set but never read *: some possible null pointer references (although mostly impossible) *: also minor fixes to jim unit tests Fix 'syslog -options <n>' Must null terminate readlink() result
* Simplify use of eventloopSteve Bennett2010-10-15
| | | | Just assume direct static linking for now
* Fix eCos compatiblity problems with autotools.oyvind2010-10-15
|
* 2009-10-08 Øyvind Harboeoharboe2010-10-15
| | | | | * jim.c/h: bring in changes from OpenOCD. Warnings and some bug fixes. Copyright list updated in jim.c
* Convert jim-aio.c to use subcmdSteve Bennett2010-10-15
| | | | | | | | | | | Also: - make stream.server set SO_REUSEADDR - do object reference properly for callbacks - white space cleanup in jim-eventloop.c - fix the pwd command - add support for JIM_MODFLAG_FULLARGV to subcmd - make verbose runtests easier to read - bio might not be available
* Make static extensions buildSteve Bennett2010-10-15
| | | | Also clean up some white space
* Strip out unneeded junk from JimSteve Bennett2010-10-15
| | | | Nvp, getopt, move interactive processing to jim-interactive.c
* Cutover to new workware fork of Jim TclSteve Bennett2010-10-15
| | | | | | | | 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>
* Bring corrected license as mentioned in freebsd/...Wojciech A. Koszek2010-02-01
| | | | | | | Remove "FreeBSD license" statements, since it's not a correct term I believe. Small cleanup while being here.
* Revert "Bring correct license -- I think freebsd/ directory has an agreements"Wojciech A. Koszek2010-02-01
| | | | This reverts commit 1e2fdd7d9e877fbe2c88a4c32f098ce1e575dc1d.
* Bring correct license -- I think freebsd/ directory has an agreementsWojciech A. Koszek2010-02-01
| | | | | | | | for relicensing all files within Jim project. "FreeBSD license" isn't correct term, so basically remove it. Try to make the whole place consistent.
* Fix eCos compatiblity problems with autotools.oyvind2009-10-19
|
* 2009-10-08 Øyvind Harboeoharboe2009-10-08
| | | | | * jim.c/h: bring in changes from OpenOCD. Warnings and some bug fixes. Copyright list updated in jim.c
* * jim.c: reduce stack usage. Important for embedded devices withoutoharboe2008-07-23
| | | | | | | 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.
* * changes to jim-eventloop.[ch]oharboe2008-07-08
| | | | | | | | * 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
* * retire CVS keyword expansion. Plays havoc with patches.oharboe2008-06-16
|
* Fixed a bug reported by Craig Denson about jim-eveloop.c and filemasks.antirez2005-09-19
|
* First version of the Jim eventloop extension, exportingantirez2005-04-18
[after], [vwait], and the C API to write other extensions using events. No win32 port for now, just posix. UDP extension will follow shortly and will be the first extension using the event loop.