aboutsummaryrefslogtreecommitdiff
path: root/auto.def
AgeCommit message (Collapse)AuthorFilesLines
2012-11-29Use sqlite3_prepare_v2()af1231-1/+1
When I'm working with SQLite3 databases in Jim, I find that I occasionally get a 'schema has changed' error so I end up using catch to detect the error and try the query again. Here's a quick patch to change the SQLite3 extension to use the sqlite3_prepare_v2() API function instead of sqlite3_prepare() - trivial but the _v2() function has a number of benefits and everyone should have a new enough SQLite3 library to support it. Please can you consider it for inclusion? See - http://www.sqlite.org/c3ref/prepare.html The benefit I'm specifically interested in is: With the _v2() variant, "If the database schema changes, instead of returning SQLITE_SCHEMA as it always used to do, sqlite3_step() will automatically recompile the SQL statement and try to run it again."
2012-09-24Fix the check of readline library.Vadim Zborovskii1-1/+1
2012-09-06aio seek and tell should allow for 64 bit offsetsSteve Bennett1-2/+5
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2012-05-10Fix a compiler warning with namespaces disabledSteve Bennett1-0/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2012-02-27Add support for aio command: isattySteve Bennett1-2/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-20Need -lang c++ when testing for mk4.h0.73Steve Bennett1-6/+8
By default, headers are checked with -lang c Reported-by: Alexander Shpilkin <ashpilkin@gmail.com> Reported-by: Adrian Ho <ll-jim-devel@03s.net> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-16use execvpe if available in [exec]Steve Bennett1-1/+1
On cygwin, setting environ before execvp() doesn't work, but execvpe() does exist and works, so use that in preference Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-16cygwin also wants shared libraries named .dllSteve Bennett1-2/+6
And other minor changes for windows platforms
2011-12-13mingw requires shared libs to have a .dll extensionSteve Bennett1-0/+2
Otherwise they can't be linked with -l Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-12Add support for lightweight namespacesSteve Bennett1-0/+4
See README.namespaces Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-12Remove old sqlite0 extensionSteve Bennett1-1/+0
Anything older than sqlite3 is no longer worth supporting Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-12Enable more extensions by defaultSteve Bennett1-9/+7
For a better "out-of-the-box" experience, most extensions such as binary, tree and tclprefix are enabled by default. Also jim-regexp is enabled by default for better Tcl compatibility. It is still possible to disable any of these with --without-ext=... and --disable-jim-regexp Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-09Add the history commandSteve Bennett1-0/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-08Add support for tcl::prefix as an optional extensionSteve Bennett1-0/+2
Also adds Jim_ListGetIndex(), like Jim_ListIndex() but with a more convenient interface
2011-12-08Better extension selection in auto.defSteve Bennett1-213/+97
The old implementation was cumbersome for adding new extensions The new implementation is still too complex :-( Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-11-30Delete the nvp extensionSteve Bennett1-2/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-11-24Create build-jim-ext for building extensionsSteve Bennett1-0/+3
Simplifies the process of building loadable extensions Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-11-08Update autosetup, especially for include depsSteve Bennett1-1/+1
Correctly detect sys/socket.h and netinet/in.h on OpenBSD Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-11-07Allow building with MSVC on windowsSteve Bennett1-3/+3
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-09-26Get the SDL extension working againSteve Bennett1-4/+10
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-09-14Linenoise support for win32 consoleSteve Bennett1-1/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-09-14Restructure linenoise in prep. for win32 supportSteve Bennett1-5/+6
Separate out the termios-specific code Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-08-31Create a Metakit extension for Jim TclAlexander Shpilkin1-4/+34
Missing parts are binary properties and search.
2011-08-31Only link libs as requiredSteve Bennett1-12/+22
Both for loadable modules and for the core. Also, loadable modules should now build with BSD make. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-08-18Implement 'file mtime <file> newtime'Steve Bennett1-1/+1
Allows a file to be "touched" Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-08-18Add support for BSD makeSteve Bennett1-11/+7
Use the new conditional template support in autosetup to avoid (most) GNU-isms in the generated Makefile. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-08-18Fix build on Solaris (gcc)Steve Bennett1-6/+16
inet_ntop needs -lnsl on Solaris Solaris has sysinfo, but no uptime Link flags need to be a bit different Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-08-14On mingw32, use Sleep() if usleep() is unavailableSteve Bennett1-1/+0
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-07-22Help Jim Tcl build on HaikuSteve Bennett1-2/+9
Don't use -Werror Prefer user CFLAGS over default options Haiku needs -lnetwork for networking functions Haiku does not have -lm Haiku does not have SIGIO Silence some warnings Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-07-18Don't load and save history if not on a ttySteve Bennett1-1/+2
If jimsh is run in interactive mode but without a tty, don't bother to load and save line editing history. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-07-18Allow install to be a no-op with --disable-install-jimSteve Bennett1-0/+7
When running under automake (as openocd does) it seems impossible to build jimtcl but not install it, so add --disable-install-jim to help out. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-07-13Simplify approach for generated codeSteve Bennett1-6/+14
All generated sources are now prefixed with an underscore Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-07-13Add tcl_platform(pathSeparator)Steve Bennett1-0/+2
Tcl compatible. Also move jimsh initialisation script into initjimsh.tcl Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-07-08Add configure --full optionSteve Bennett1-4/+9
To more easily select some optional features which are disabled by default. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-07-08Update to the latest autosetupSteve Bennett1-2/+2
Mainly for msys/mingw support Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-07-07Do just enough to make Jim useable with msys/mingwSteve Bennett1-6/+15
Convert some paths from backslashes to forward slashes Handle splitting/joining paths which look like z:/abc/def Identify the platform as mingw Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-28Fix support for 64-bit mingwSteve Bennett1-6/+15
- Check for mkdir with one arg at configure time - mingw can't really do select(), so support only time events in eventloop - Declare dlerror() to be compatible with mingw Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-10Add --maintainer optionSteve Bennett1-0/+5
Enables [debug] and JimPanic() JimPanic() is an assertion feature which is generally only of interest to developers, so disable it by default to save space and time.
2011-06-10Implement the [binary] commandSteve Bennett1-4/+6
Supports everything except floating point types binary is implemented in Tcl on top of the low level [pack] and [unpack] commands Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-09Better handling of environ on Mac OS XSteve Bennett1-7/+9
Shared libraries can't access environ directly, so use _NSGetEnviron() on Mac OS X Also, load modules with (RTLD_NOW | RTLD_LOCAL) instead of RTLD_LAZY Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-09Don't needlessly link against -lmSteve Bennett1-0/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-09Provide a fallback basic [exec] for (e.g.) mingw32Steve Bennett1-2/+2
Use system() to implement [exec] if vfork() and waitpid() are not available. This is just functional enough for simple tasks. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-09Use autosetup instead of autoconfSteve Bennett1-0/+325
Faster, simpler auto-configuration Signed-off-by: Steve Bennett <steveb@workware.net.au>