aboutsummaryrefslogtreecommitdiff
path: root/auto.def
AgeCommit message (Collapse)AuthorFilesLines
2018-11-24aio: Prefer TLS_method() over TLSv1_2_method()Steve Bennett1-0/+4
To avoid a deprecation warning Signed-off-by: Steve Bennett <steveb@workware.net.au>
2018-09-21file: Add microsecond resolution for mtime: mtimeusSteve Bennett1-0/+5
Note that actual support is dependent upon the underlying operating system and filesystem. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2018-07-25Update autosetup to v0.6.8Steve Bennett1-0/+6
autosetup changes: - The syntax for templates has changed slightly - Update config.guess and config.sub to 2018-03-08 - Add rpath support - Add --runstatedir Also: - enable rpath when building libjim as shared - ensure that 'make test' works on MacOS when libjim is shared Signed-off-by: Steve Bennett <steveb@workware.net.au>
2018-07-08build-jim-ext: Improvements when cross compiling, TclSteve Bennett1-0/+7
Detect when cross compiling (build != host) Tcl exec loses stderr if redirected and an error code is returned, so redo the approach to exec so that it works on both Tcl and Jim Signed-off-by: Steve Bennett <steveb@workware.net.au>
2018-07-01Bump version to 0.780.78Steve Bennett1-1/+1
2017-11-26build: Support --silent-rulesSteve Bennett1-0/+16
And enable silent rules by default if using GNU make. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-11-26Update autosetup to v0.6.7-17-gb5a0e85Steve Bennett1-5/+1
Mostly for --{enable,disable}-silent-rules Use new opt-str where appropriate Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-10-21doc: Update remaining references to os.waitSteve Bennett1-1/+1
Now simply 'wait' Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-10-17signal, exec, wait, pid: improvements, especially to execSteve Bennett1-1/+6
- fix popen [open "|pipeline ..."] to return meaningful status in close (but note that stderr is not captured) - popen pipelines can now be used as the target of exec redirection - overally improvements to exec on windows. Now crt file descriptors are used throughout - add support for [pid], [wait] and popen on windows - os.wait is now wait, and integrates with [exec ... &] to be able to wait for running background tasks - [socket pipe] is now also [pipe] and is supported on windows - [file tempfile] is supported on windows - move duplicated code between jim-aio.c and jim-exec.c to jimiocompat.c - Fix [exec] on windows to match unix semantics wrt sharing the parent stream unless redirected rather than using /dev/null - On windows redirect to or from /dev/null is automatically converted to NUL: - If signal support is disabled, implement a minimal Jim_SignalId() for exec and wait - aio now supports getfd, to return the underlying file descriptor. This is used by exec to support redirection, and allows popen channels to support exec redirection. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-10-16eventloop: support sub-millisecond timer resolutionSteve Bennett1-1/+1
Timeouts may now be specified in fractions of milliseconds. e.g. after 0.5 This can be useful on faster systems where 1ms resolution is too coarse. Also, use clock_gettime(CLOCK_MONOTONIC_RAW) for timers, if available. This clock is insensitive to system clock changes and ntp adjustments. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-09-21configure: Remove reference to ensemble extensionSteve Bennett1-1/+0
It is not pushed to mainline yet. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-09-21configure: --with-mod and --with-ext allow commasSteve Bennett1-6/+17
Makes it a bit easier to type on the command line. e.g. --with-mod=binary,zlib --with-ext=sqlite3 Spaces are still accepted, as are multiple instances of --with-mod, --with-ext and --without-ext Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-09-21configure: Improve module selectionSteve Bennett1-11/+17
Modules/extensions are now explicitly marked as optional (and enabled with --full), or off (must be explicitly enabled with --with-mod/--with-ext) This means that now binary and tclprefix are correctly not enabled by default, and zlib is enabled with --full. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-09-21auto.def: tclprefix should not be enabled by defaultSteve Bennett1-1/+1
It is listed as not enabled by default, but it is enabled by default Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-09-13docs: Remove Last Modified footer - take 2Steve Bennett1-1/+1
More reliable way to remove the footer Reported-by: Bernhard M. Wiedemann <bwiedemann@suse.de> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-09-13docs: Remove Last Modified footerSteve Bennett1-1/+1
For reproducible builds Reported-by: Bernhard M. Wiedemann <bwiedemann@suse.de> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-04-22build: Update autosetup to v0.6.6-8-g062d650Steve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-04-21configure: fix --docdir optionSteve Bennett1-1/+1
opt-val now returns a list, so take the last option given Reported-by: Stuart Cassoff <stwo@bell.net> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-04-18clock: Add -gmt option to format and scanSteve Bennett1-1/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-26build: On NetBSD backtrace is in -lexecinfoSteve Bennett1-1/+5
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-17Add pkg-config support: jimtcl.pcSteve Bennett1-1/+5
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-11build: remove -Werror when running ./configureSteve Bennett1-0/+6
Building with CFLAGS="-Werror -Wall" caused configure to fail due to the following warnings being converted to errors: * conflicting types for built-in function * unused variable When these warnings get converted to errors, they prevent the detection of fork, isascii, isinf, isnan, math libs, long long & struct flock. Add -Wno-error in this case to prevent these warnings being treated as errors. Reported-by: Evan Hunter <evan@ozhiker.com> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-09docs: Only try to build Tcl.html if asciidoc is foundSteve Bennett1-0/+11
Otherwise install the shipped docs with a warning. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-06Fix for systems without umaskSteve Bennett1-2/+10
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-29jimsh: Scriptable command-line completion supportSteve Bennett1-1/+0
via tcl::autocomplete Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-29configure: allow "--full" options to be explicitly disabledSteve Bennett1-5/+19
Now it is possible to do: configure --full --disable-ssl Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-09aio: add tty settings support (via termios)Steve Bennett1-0/+3
Enough to make serial ports work and support raw and cooked input/output Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-05Add utf-8 display width infoSteve Bennett1-0/+2
Needed when using linenoise line editing with utf-8 support Note that variable width support is not yet added to linenoise Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-05Update linenoise to the latest versionSteve Bennett1-0/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-08-29Update version to 0.77Steve Bennett1-1/+1
And update the shipped documentation Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-08-29configure: Use pkg-config to find openssl/libsslSteve Bennett1-6/+20
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-08-28configure: Use pkg-config if possibleSteve Bennett1-5/+5
Use the new pkg-config support in autosetup to search for certain packages such as sqlite3 and sdl
2016-08-26Add support for sub-interpretersSteve Bennett1-0/+1
Includes support for aliases in sub-interp These are not identical to Tcl interp, but are conceptually very similar For example: set i [interp] $i alias localcmd parentcmd arg1 $i eval { localcmd x } Invokes: parentcmd arg1 x Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-08-20Fix aio locking on non-linux platformsSteve Bennett1-0/+4
And improve the tests Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-08-17Don't unconditionally define _GNU_SOURCESteve Bennett1-1/+1
Also, fix build if JIM_OPTIMIZATION is disabled Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-03-28zlib: add zlib bindingsDima Krasner1-0/+3
Including documentation and tests
2016-02-01aio: add OpenSSL/LibreSSL bindings.Dima Krasner1-2/+12
Example usage: set s [socket stream.server 127.0.0.1:8443] set c [[$s accept] ssl -server certificate.pem key.pem] puts [$c gets]
2015-04-29add support for configure --docdirSteve Bennett1-1/+7
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-03-19aio: add 'sync' subcommandSteve Bennett1-1/+1
If the underlying platform supports fsync(), $handle sync invokes fsync() on the stream file descriptor. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-01-31Update version to 0.760.76Steve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-11-28file: add support for file linkSteve Bennett1-1/+1
Currently only on systems that support both hard and symbolic links. Update docs for 'file link' and some other [file] commands Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-11-28Keep $LIBS as user-specified libraries onlySteve Bennett1-0/+7
Normally detected libraries are automatically added to $LIBS, but we use $LDLIBS to build the list of libraries. So don't add these libraries to $LIBS to avoid duplicates. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-12-21Make identification of nan and inf more robustSteve Bennett1-1/+1
Use isinf() and isnan() when converting double to string to ensure that the value is given canonical form. And implement our own isinf and isnan if necessary
2013-12-21Avoid .eh_frame bloat with newer gccSteve Bennett1-0/+9
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-12-21allow hash tables to be randomiseSteve Bennett1-0/+2
To avoid hash table collision attacks (n.runs-SA-2011.004) Note that this options is *off* by default, but it is reasonable to consider reversing this. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-12-21Add support for 'socket pair'Steve Bennett1-1/+2
Creates a pair of bidirectional sockets with socketpair(2) Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-12-21aio: add support for half-closeSteve Bennett1-0/+1
Currently only for sockets since Jim Tcl does not support bidirectional pipes. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-09-19Build on platforms without isasciiSteve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au> Reported-by: Paul Fertser <fercerpav@gmail.com>
2013-08-23Unbreak shared build on Windows. Collect all version ids to auto.def.Vadim Zborovskii1-7/+4
2013-05-18Allow docs not to be built/installedSteve Bennett1-0/+2
With --disable-docs Signed-off-by: Steve Bennett <steveb@workware.net.au>