Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed version string to 0.7.8
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | rel-0-7-branch
Files: files | file ages | folders
SHA1:66b65c5ffd6eb82deb4c070cac2b921dcfa2f52a
User & Date: zoran 2003-07-04 18:17:05
Context
2003-07-06
22:33
Backported from HEAD: Fixed a bug in xsl:number. If there is no 'count' attribute given to xsl:number, it must default to the pattern that matches any node with the same node type as the current node and, if the current node has an expanded-name, with the same expanded-name as the current node. But in case of PROCESSING_INSTRUCTION_NODEs as the current node and no 'count' attribute, it counted all pi's regardless of the name. Now, the name is respected, as it should be. check-in: bf096e452a user: rolf tags: trunk, rel-0-7-branch
2003-07-04
18:17
Fixed version string to 0.7.8 check-in: 66b65c5ffd user: zoran tags: trunk, rel-0-7-branch
2003-07-03
19:18
See file check-in: add8b6d8d0 user: zoran tags: trunk, rel-0-7-branch
Changes

Changes to ChangeLog.

1
2
3
4
5
6












7
8
9
10
11
12
13
2003-07-03  Zoran Vasiljevic  <zoran@archiware.com>


	---- Changes done in rel-0-7-branch ----
	---- Those should be merged in HEAD ----













	* generic/domlock.c: fixed double mutex unlock.

	* generic/tcldom.c: allows same thread to issue several
	  "attachDocument" commands to artificially bump the 
          document refcount thus making the document sticky.
	  
	  Also, fixed variable tracing issues when tearing down the


<



>
>
>
>
>
>
>
>
>
>
>
>







1
2

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2003-07-03  Zoran Vasiljevic  <zoran@archiware.com>


	---- Changes done in rel-0-7-branch ----
	---- Those should be merged in HEAD ----

	* README
	* README.AOL
	* configure
	* configure-tcl8.0.5
	* configure.in
	* apps/xslt.tcl
	* extensions/tnc/tnc.c
	* generic/tcldom.c
	* mac/Prefix/tDOMPrefix.h
	* mac/Prefix/tDOMPrefix_OSX.h
	* mac/tDOM/pkgIndex.tcl
	* tests/loadtdom.tcl: bumped version string to 0.7.8
	* generic/domlock.c: fixed double mutex unlock.

	* generic/tcldom.c: allows same thread to issue several
	  "attachDocument" commands to artificially bump the 
          document refcount thus making the document sticky.
	  
	  Also, fixed variable tracing issues when tearing down the

Changes to README.

1
2
3
4
5
6
7
8
9
10
11


              tDOM - a XML/DOM/XPath/XSLT implementation for Tcl
                          (Version 0.8.0 alpha)

		    Jochen Loewer (loewerj@hotmail.com)
                       Rolf Ade (rolf@pointsman.de)

                       with some contributions by:

                 Zoran Vasiljevic (zoran@archiware.com)



|







1
2
3
4
5
6
7
8
9
10
11


              tDOM - a XML/DOM/XPath/XSLT implementation for Tcl
                     (Version 0.7.8 / July 7, 2003)

		    Jochen Loewer (loewerj@hotmail.com)
                       Rolf Ade (rolf@pointsman.de)

                       with some contributions by:

                 Zoran Vasiljevic (zoran@archiware.com)

Changes to README.AOL.

1
2
3
4
5
6
7
8
9
10
11


              tDOM - a XML/DOM/XPath/XSLT implementation for Tcl
                          (Version 0.8.0 alpha)

		    Jochen Loewer (loewerj@hotmail.com)
                       Rolf Ade (rolf@pointsman.de)

                       with some contributions by:

                 Zoran Vasiljevic (zoran@archiware.com)



|







1
2
3
4
5
6
7
8
9
10
11


              tDOM - a XML/DOM/XPath/XSLT implementation for Tcl
                     (Version 0.7.8 / July 7, 2003)

		    Jochen Loewer (loewerj@hotmail.com)
                       Rolf Ade (rolf@pointsman.de)

                       with some contributions by:

                 Zoran Vasiljevic (zoran@archiware.com)

Changes to apps/xslt.tcl.

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
#
#   written by Rolf Ade
#   August, 2001
#
#----------------------------------------------------------------------------

package require tdom 0.7.5

# The following is normaly not needed, given, that tDOM is correctly
# installed. This code only ensures, that the tDOM script library gets
# sourced, if the script is called with a tcldomsh out of the build
# dir of a complete tDOM source installation.
if {[lsearch [namespace children] ::tdom] == -1} {
    # tcldomsh without the script library. Source the lib.







|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
#
#   written by Rolf Ade
#   August, 2001
#
#----------------------------------------------------------------------------

package require tdom 0.7.8

# The following is normaly not needed, given, that tDOM is correctly
# installed. This code only ensures, that the tDOM script library gets
# sourced, if the script is called with a tcldomsh out of the build
# dir of a complete tDOM source installation.
if {[lsearch [namespace children] ::tdom] == -1} {
    # tcldomsh without the script library. Source the lib.

Changes to configure.

664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681

TDOMSHELL=tcldomsh


MAJOR_VERSION=0


MINOR_VERSION=8


PATCHLEVEL=0


# This package name must be replaced statically for AC_SUBST to work


# Substitute stub_LIB_FILE if your package creates a stub library too.








|


|







664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681

TDOMSHELL=tcldomsh


MAJOR_VERSION=0


MINOR_VERSION=7


PATCHLEVEL=8


# This package name must be replaced statically for AC_SUBST to work


# Substitute stub_LIB_FILE if your package creates a stub library too.

Changes to configure-tcl8.0.5.

661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678

TDOMSHELL=tcldomsh


MAJOR_VERSION=0


MINOR_VERSION=8


PATCHLEVEL=0


# This package name must be replaced statically for AC_SUBST to work


# Substitute stub_LIB_FILE if your package creates a stub library too.








|


|







661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678

TDOMSHELL=tcldomsh


MAJOR_VERSION=0


MINOR_VERSION=7


PATCHLEVEL=8


# This package name must be replaced statically for AC_SUBST to work


# Substitute stub_LIB_FILE if your package creates a stub library too.

Changes to configure.in.

65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

TDOMSHELL=tcldomsh
AC_SUBST(TDOMSHELL)

MAJOR_VERSION=0
AC_SUBST(MAJOR_VERSION)

MINOR_VERSION=8
AC_SUBST(MINOR_VERSION)

PATCHLEVEL=0
AC_SUBST(PATCHLEVEL)

# This package name must be replaced statically for AC_SUBST to work
AC_SUBST(tdom_LIB_FILE)

# Substitute stub_LIB_FILE if your package creates a stub library too.
AC_SUBST(tdomstub_LIB_FILE)







|


|







65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

TDOMSHELL=tcldomsh
AC_SUBST(TDOMSHELL)

MAJOR_VERSION=0
AC_SUBST(MAJOR_VERSION)

MINOR_VERSION=7
AC_SUBST(MINOR_VERSION)

PATCHLEVEL=8
AC_SUBST(PATCHLEVEL)

# This package name must be replaced statically for AC_SUBST to work
AC_SUBST(tdom_LIB_FILE)

# Substitute stub_LIB_FILE if your package creates a stub library too.
AC_SUBST(tdomstub_LIB_FILE)

Changes to extensions/tnc/tnc.c.

2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
{
#ifdef USE_TCL_STUBS
    if (Tcl_InitStubs(interp, "8", 0) == NULL) {
        return TCL_ERROR;
    }
#endif
#ifdef USE_TDOM_STUBS
    if (Tdom_InitStubs(interp, "0.8", 0) == NULL) {
        return TCL_ERROR;
    }
#endif
    Tcl_PkgRequire (interp, "tdom", "0.8.0", 0);
    Tcl_CreateObjCommand (interp, "tnc", TclTncObjCmd, NULL, NULL );
    Tcl_PkgProvide (interp, "tnc", VERSION);
    return TCL_OK;
}








|



|





2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
{
#ifdef USE_TCL_STUBS
    if (Tcl_InitStubs(interp, "8", 0) == NULL) {
        return TCL_ERROR;
    }
#endif
#ifdef USE_TDOM_STUBS
    if (Tdom_InitStubs(interp, "0.7", 0) == NULL) {
        return TCL_ERROR;
    }
#endif
    Tcl_PkgRequire (interp, "tdom", "0.7.8", 0);
    Tcl_CreateObjCommand (interp, "tnc", TclTncObjCmd, NULL, NULL );
    Tcl_PkgProvide (interp, "tnc", VERSION);
    return TCL_OK;
}

Changes to generic/tcldom.c.

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
|
|   written by Jochen Loewer
|   April, 1999
|
\---------------------------------------------------------------------------*/

#define DEBUG 1

/*----------------------------------------------------------------------------
|   Includes
|
\---------------------------------------------------------------------------*/
#include <tcl.h>
#include <stdlib.h>







<







32
33
34
35
36
37
38

39
40
41
42
43
44
45
|
|
|   written by Jochen Loewer
|   April, 1999
|
\---------------------------------------------------------------------------*/



/*----------------------------------------------------------------------------
|   Includes
|
\---------------------------------------------------------------------------*/
#include <tcl.h>
#include <stdlib.h>

Changes to mac/Prefix/tDOMPrefix.h.

1
#pragma once on  #include "tclMacCommonPch.h"  #define USE_TCL_STUBS 1  #define TDOM_NO_UNKNOWN_CMD  #define VERSION "0.8.0"  
|
1
#pragma once on  #include "tclMacCommonPch.h"  #define USE_TCL_STUBS 1  #define TDOM_NO_UNKNOWN_CMD  #define VERSION "0.7.8"  

Changes to mac/Prefix/tDOMPrefix_OSX.h.

1
#pragma once on  #include "CoreHeadersMach-O.h"   // These symbols are defined from MSL MacHeadersMach-O.h  // (errno.h and stat.h are in the Kernel.framework) // and are redefined later in TclErrno.h : undef them // to avoid error message #undef	EOVERFLOW #undef	EOPNOTSUPP  // This avoids the loading of stat.h from tclMacPort.h #define	_MSL_STAT_H   // --------------------------------------------------------------- // Replace #include "tclMacCommonPch.h" by its partial contents. #if !__option(enumsalwaysint) #error Tcl requires the Metrowerks setting "Enums always ints". #endif   // Tell Tcl (or any Tcl extensions) that we are compiling for the Macintosh platform. #define MAC_TCL  // ---------------------------------------------------------------  #define USE_TCL_STUBS 1  // See dom.h for this one: #define USE_NORMAL_ALLOCATOR  #define TCL_MEM_DEBUG  #define MAC_OSX_TCL  #define TDOM_NO_UNKNOWN_CMD  #define VERSION "0.8.0"  #include <Tcl/tcl.h>
|
1
#pragma once on  #include "CoreHeadersMach-O.h"   // These symbols are defined from MSL MacHeadersMach-O.h  // (errno.h and stat.h are in the Kernel.framework) // and are redefined later in TclErrno.h : undef them // to avoid error message #undef	EOVERFLOW #undef	EOPNOTSUPP  // This avoids the loading of stat.h from tclMacPort.h #define	_MSL_STAT_H   // --------------------------------------------------------------- // Replace #include "tclMacCommonPch.h" by its partial contents. #if !__option(enumsalwaysint) #error Tcl requires the Metrowerks setting "Enums always ints". #endif   // Tell Tcl (or any Tcl extensions) that we are compiling for the Macintosh platform. #define MAC_TCL  // ---------------------------------------------------------------  #define USE_TCL_STUBS 1  // See dom.h for this one: #define USE_NORMAL_ALLOCATOR  #define TCL_MEM_DEBUG  #define MAC_OSX_TCL  #define TDOM_NO_UNKNOWN_CMD  #define VERSION "0.7.8"  #include <Tcl/tcl.h>

Changes to mac/tDOM/pkgIndex.tcl.

1
2
3
4
5
6
7
if {[catch {package require Tcl 8.2}]} return

package ifneeded tdom 0.7.6 [list load [file join $dir tDOM.0.7.6.dylib] Tdom]


package ifneeded tnc 0.3.0 "package require tdom;
load [list [file join $dir tnc.0.3.0.dylib]] tnc"


|




1
2
3
4
5
6
7
if {[catch {package require Tcl 8.2}]} return

package ifneeded tdom 0.7.8 [list load [file join $dir tDOM.0.7.8.dylib] Tdom]


package ifneeded tnc 0.3.0 "package require tdom;
load [list [file join $dir tnc.0.3.0.dylib]] tnc"

Changes to tests/loadtdom.tcl.

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
        set auto_path [pwd]
    } else {
        package require tcltest
        namespace import ::tcltest::*
    }
}

if {[catch {package present -exact tdom 0.8.0}]} {
    package require -exact tdom 0.8.0
} else {
    if {[lsearch [namespace children] ::tDOM] == -1} {
        # tcldomsh without the script library. Source the lib.
        source [file join [file dir [info script]] ../lib tdom.tcl]
    }
}








|
|







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
        set auto_path [pwd]
    } else {
        package require tcltest
        namespace import ::tcltest::*
    }
}

if {[catch {package present tdom}]} {
    package require tdom 0.7.8
} else {
    if {[lsearch [namespace children] ::tDOM] == -1} {
        # tcldomsh without the script library. Source the lib.
        source [file join [file dir [info script]] ../lib tdom.tcl]
    }
}