Fossil

History of auto.def

Added a check for ns_parserr(), which we currently don't know how to
find on OpenBSD. This also fixes a logic error in auto.def which would
cause the warning that this feature won't be compiled to not be given.
file: [fd3128fb]
check-in: [f99e7632]
user: wyoung
branch: libbind-ns-alternative,
size: 20538

Replaced the call to the undocumented ns_name_uncompress() function with
dn_expand(), which is documented, at least on OpenBSD, and it's shorter.
Then made ns_name_uncompress() and __ns_name_uncompress() fallbacks for
this, with suitable autosetup tests for all of it.
file: [799ce6d5]
check-in: [d0fb5ac7]
user: wyoung
branch: libbind-ns-alternative,
size: 20395

The previous checkin on this branch prevented src/smtp.c from both
building and linking because the code previously assumed that it could
only build against libresolv for MX lookups and such on Linux, but the
checkin gave it enough slack to *attempt* to build on macOS. This
checkin prevents that from happening if run on stock macOS, but if you
install libbind via Homebrew, it also opens up the possibilty to biuld
against it for the first time. It's a complicated sequence of checks
due to the way libbind interacts with the stock libresolv. This means
we have yet more reason to want to test this widely before merging it
to trunk.
file: [682f6428]
check-in: [4d9970f6]
user: wyoung
branch: libbind-ns-alternative,
size: 20244

Added autosetup checks for alternative libraries and names for
the res_query() and ns_*() functions that module smtp.c previously
depended on finding in libresolv/glibc. Checking it in on a branch
because it needs multiplatform testing. This version solves the problem
originally reported on the forum by Andy Goth, being that the current
trunk doesn't build on CentOS 5.
file: [28c77ace]
check-in: [ed3b1e4d]
user: wyoung
branch: libbind-ns-alternative,
size: 19925

Explained "Why can't we use Jim Tcl for the test suite?" in the auto.def
comment above the check for a suitable tclsh version. Basically, I
tried it and then documented a few of the resulting failures.
file: [a26e5fc5]
check-in: [91eaef61]
user: wyoung
branch: tclsh-macos,
size: 19603

After autosetup checks for the existence of tclsh in the PATH, it now
checks whether it's at least version 8.6, because macOS is still
shipping 8.5, despite it being nearly 6 years old. If we find an old
tclsh, try to find the Homebrew tcl-tk package, and use that version
instead. This is not a macOS or Homebrew specific change in principle:
we can extend this logic for other systems to find their best Tcl/Tk
version, as needed. On systems where autosetup is used, this only affects "make test".
There are other uses of tclsh in this tree which may also benefit from
our PATH discoveries, but this checkin doesn't update those. This checkin also doesn't try to address similar problems on other
platforms, such as the "TCLSH = tclsh" line in Makefile.mingw.
file: [67084ac8]
check-in: [e449cb09]
user: wyoung
branch: tclsh-macos,
size: 19073

Moved the check for iconv(3) in -liconv up within auto.def. If it
happens after the checks for OpenSSL on certain macOS configurations,
autosetup can be fooled into believing it doesn't need -liconv on that
platform. This checkin splits up the group of cc-check-functions calls,
so the moved call is now documented as to why its segregated.
file: [b1ca09fa]
check-in: [e6f64f5e]
user: wyoung
branch: trunk,
size: 16954

Remove support for miniz because the upstream project appears to be unmaintained.
UPDATE: The miniz project is still being maintained and this branch is a dead-end.
file: [acec6eb3]
check-in: [b9f31fe1]
user: mistachkin
branch: removeMiniz,
size: 16144

Add /usr/local/opt/openssl to the list of directories for which OpenSSL is
searched (as this is the directory into which brew installs OpenSSL on macs.)
file: [71360c5c]
check-in: [92877364]
user: drh
branch: trunk,
size: 16560

Only define and use the new 'move-files' and 'remove-files' settings when compiled with the FOSSIL_ENABLE_LEGACY_MV_RM option.
file: [e46f5fe7]
check-in: [c227e14f]
user: mistachkin
branch: mvAndRmFiles,
size: 10704

Add miniz as a compile-time feature, leaving zlib as the default compression library. All makefiles should build. The DMC and PellesCGMake makefiles are not yet supported with miniz. Also, when using miniz, OpenSSL support for zlib is disabled in the MinGW makefile.
file: [15096163]
check-in: [c693a336]
user: mistachkin
branch: optionalMiniz,
size: 10019

If the system knows about utime() and/or usleep(), allow the built-in SQLite to use those functions. e.g. for executing delays which are not a multiple of 1 second.
file: [821b3116]
check-in: [1dc9b7cb]
user: jan.nijtmans
branch: branch-1.29,
size: 9041

If the system knows about utime() and/or usleep(), allow the built-in SQLite to use those functions. e.g. for executing delays which are not a multiple of 1 second.
file: [5167d602]
check-in: [45feda65]
user: jan.nijtmans
branch: utime_usleep,
size: 9822

Eliminate the need for the Tcl stub library to be linked with.
Fossil uses public Tcl functions only, so tclStubPtr is the only variable which needs to be present and initialized.
The function Tcl_InitStubs reduces to only 15 lines of code, which as well can be put in directly.
Advantage: Presence of 3 header files (tcl.h, tclDecls.h and tclPlatDecls.h) from whatever Tcl version is sufficient to compile Fossil with Tcl support through stubs.
file: [c30a4ce4]
check-in: [9f77be88]
user: jan.nijtmans
branch: tcl-stubs,
size: 7918

Merge the json branch into trunk. Json is disabled by default for now.
Use the --enable-json option to configure, or set FOSSIL_ENABLE_JSON in the
makefile to turn json processing on.
file: [054fa8df]
check-in: [796dcfe0]
user: drh
branch: trunk,
size: 6634