Index: README.AOL ================================================================== --- README.AOL +++ README.AOL @@ -1,9 +1,9 @@ tDOM - a XML/DOM/XPath/XSLT implementation for Tcl - (Version 0.9.4) + (Version 0.9.5) Jochen Loewer (loewerj@hotmail.com) Rolf Ade (rolf@pointsman.de) with some contributions by: Index: README.md ================================================================== --- README.md +++ README.md @@ -1,10 +1,10 @@ ## tDOM - a XML / DOM / XPath / XSLT / HTML / JSON implementation for Tcl -### Version 0.9.4 +### Version 0.9.5 -tDOM 0.9.4 works with Tcl 8.5, 8.6 and 9.0. +tDOM 0.9.5 works with Tcl 8.5, 8.6 and 9.0. ### tDOM contains: * for convenience expat 2.6.3, the XML parser originated from James Clark, although you're able to link tDOM with other @@ -63,19 +63,19 @@ mirrored at . You are invited to use trunk which you get as [tarball](http://tdom.org/index.html/tarball/trunk/tdom-trunk.tar.gz) or as [zip archive](http://tdom.org/index.html/zip/trunk/tdom-trunk.zip) -The latest release is 0.9.4. Get the source code as -[tarball](http://tdom.org/downloads/tdom-0.9.4-src.tgz) or -as [zip archive](http://tdom.org/downloads/tdom-0.9.4-src.zip). - -Windows binaries of the 0.9.4 release are also available. Get it for -[Tcl 8.6 / 64 bit](http://tdom.org/downloads/tdom-0.9.4-windows-x64.zip) or [Tcl 8.6 -/ 32 bit](http://tdom.org/downloads/tdom-0.9.4-windows-x86.zip) or -[Tcl 9 / 64 bit](http://tdom.org/downloads/tcl9-tdom-0.9.4-windows-x64.zip) -or [Tcl 9 / 32 bit](http://tdom.org/downloads/tcl9-tdom-0.9.4-windows-x86.zip) +The latest release is 0.9.5. Get the source code as +[tarball](http://tdom.org/downloads/tdom-0.9.5-src.tgz) or +as [zip archive](http://tdom.org/downloads/tdom-0.9.5-src.zip). + +Windows binaries of the 0.9.5 release are also available. Get it for +[64 bit](http://tdom.org/downloads/tdom-0.9.5-windows-64.zip) or +[32_bit](http://tdom.org/downloads/tdom-0.9.5-windows-32.zip). The zip +archives include binaries for tDOM and the tDOM extension tcl for Tcl +8.6 and Tcl 9. The provided windows binaries include (statically linked) the HTML5 parser. Index: configure ================================================================== --- configure +++ configure @@ -1,8 +1,8 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for tdom 0.9.4. +# Generated by GNU Autoconf 2.69 for tdom 0.9.5. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # @@ -575,12 +575,12 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='tdom' PACKAGE_TARNAME='tdom' -PACKAGE_VERSION='0.9.4' -PACKAGE_STRING='tdom 0.9.4' +PACKAGE_VERSION='0.9.5' +PACKAGE_STRING='tdom 0.9.5' PACKAGE_BUGREPORT='' PACKAGE_URL='' # Factoring default headers for most tests. ac_includes_default="\ @@ -1326,11 +1326,11 @@ # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures tdom 0.9.4 to adapt to many kinds of systems. +\`configure' configures tdom 0.9.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. @@ -1388,11 +1388,11 @@ _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of tdom 0.9.4:";; + short | recursive ) echo "Configuration of tdom 0.9.5:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options @@ -1500,11 +1500,11 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -tdom configure 0.9.4 +tdom configure 0.9.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. @@ -1919,11 +1919,11 @@ } # ac_fn_c_check_header_mongrel cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by tdom $as_me 0.9.4, which was +It was created by tdom $as_me 0.9.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF @@ -9669,11 +9669,11 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by tdom $as_me 0.9.4, which was +This file was extended by tdom $as_me 0.9.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS @@ -9722,11 +9722,11 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -tdom config.status 0.9.4 +tdom config.status 0.9.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -17,11 +17,11 @@ # so you can encode the package version directly into the source files. # This will also define a special symbol for Windows (BUILD_ # so that we create the export library with the dll. #----------------------------------------------------------------------- -AC_INIT([tdom],[0.9.4]) +AC_INIT([tdom],[0.9.5]) #-------------------------------------------------------------------- # Call TEA_INIT as the first TEA_ macro to set up initial vars. # This will define a ${TEA_PLATFORM} variable == "unix" or "windows" # as well as PKG_LIB_FILE and PKG_STUB_LIB_FILE. Index: tests/loadtdom.tcl ================================================================== --- tests/loadtdom.tcl +++ tests/loadtdom.tcl @@ -9,12 +9,17 @@ package require Tcl 8.5- package require tcltest 2.2 namespace import ::tcltest::* catch {tcltest::loadTestedCommands} -if {[catch {package require -exact tdom 0.9.4}]} { - if {[catch {load [file join [file dir [info script]] ../unix/libtdom0.9.4.so]}]} { +if {[catch {package require -exact tdom 0.9.5}]} { + if {[package vsatisfies [package provide Tcl] 9.0-]} { + set libname libtcl9tdom0.9.5[info sharedlibextension] + } else { + set libname libtdom0.9.5[info sharedlibextension] + } + if {[catch {load [file join [file dir [info script]] ../unix/$libname]}]} { error "Unable to load the appropriate tDOM version!" } } if {[info commands ::tdom::xmlReadFile] == ""} { # tcldomsh without the script library. Source the lib. Index: win/pkgIndex.tcl ================================================================== --- win/pkgIndex.tcl +++ win/pkgIndex.tcl @@ -1,12 +1,12 @@ # # Tcl package index file # if {[package vsatisfies [package provide Tcl] 9.0-]} { - package ifneeded tdom 0.9.4 \ + package ifneeded tdom 0.9.5 \ "[list load [file join $dir tcl9tdom094.dll]]; [list source [file join $dir tdom.tcl]]" } else { - package ifneeded tdom 0.9.4 \ + package ifneeded tdom 0.9.5 \ "[list load [file join $dir tdom094.dll]]; [list source [file join $dir tdom.tcl]]" }