• Tcl/Tk 8.6.12 Release Candidates

    From Don Porter@21:1/5 to All on Thu Nov 4 11:59:12 2021
    Now available at

    https://sourceforge.net/projects/tcl/files/Tcl/8.6.12/

    are candidate files making up the RC2 pre-releases of Tcl and Tk 8.6.12.

    The most pressing goal of this release is to make a release of Tk
    available that is compatible with Mac OSX 12.0 (Monterey).

    The pre-release of Tcl 8.6.12 includes the released package sqlite3
    3.36.0 and pre-releases of Itcl 4.2.2, tdbc* 1.1.3, and Thread 2.8.7 .

    I expect these files to become the official releases tomorrow. If you
    find a reason that should not happen, please let me know.

    --
    | Don Porter Applied and Computational Mathematics Division |
    | donald.porter@nist.gov Information Technology Laboratory |
    | http://math.nist.gov/~DPorter/ NIST | |______________________________________________________________________|

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Don Porter@21:1/5 to All on Wed Nov 16 13:12:28 2022
    Now available at

    https://sourceforge.net/projects/tcl/files/Tcl/8.6.13/

    are candidate files making up the RC2 pre-releases of Tcl and Tk 8.6.13.

    The pre-release of Tcl 8.6.13 includes pre-releases of packages sqlite3.39.4, Itcl 4.2.3, tdbc* 1.1.5, and Thread 2.8.8 .

    I believe these files are ready to become the official releases. If you find a reason that should not happen, please let me know.

    --
    | Don Porter Applied and Computational Mathematics Division |
    | donald.porter@nist.gov Information Technology Laboratory |
    | http://math.nist.gov/~DPorter/ NIST | |______________________________________________________________________|

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dave@21:1/5 to All on Wed Nov 16 14:29:17 2022
    Release notes? Perhaps filed under a different name than "tcltk-release-notes-8.6.13"?

    Also, a minor thing, could the 'README' be renamed "README.txt" for us unfortunate windows users? Thank you.
    --
    computerjock AT mail DOT com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ralf Fassel@21:1/5 to All on Thu Nov 17 12:39:29 2022
    * Don Porter <donald.porter@nist.gov>
    | Now available at

    | https://sourceforge.net/projects/tcl/files/Tcl/8.6.13/

    | are candidate files making up the RC2 pre-releases of Tcl and Tk 8.6.13.

    | The pre-release of Tcl 8.6.13 includes pre-releases of packages sqlite3.39.4, Itcl 4.2.3, tdbc* 1.1.5, and Thread 2.8.8 .

    | I believe these files are ready to become the official releases. If
    | you find a reason that should not happen, please let me know.

    Linux/Opensuse 15.4

    itcl 3.4.3 fails to compile with Tcl 8.6.13:

    gcc -DPACKAGE_NAME=\"itcl\" -DPACKAGE_TARNAME=\"itcl\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"itcl\ 3.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_itcl=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
    1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=
    1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DITCL_LIBRARY=\"/homes/ralf/si++aegis/si++.4.0.C1153/tcltk/linux/lib64/itcl3.4\" -I"./generic" -I"/homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/
    generic" -I"/homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/unix" -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -c `echo ./generic/itcl_methods.c` -o itcl_methods.o
    In file included from /homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/generic/tclPort.h:25:0,
    from /homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/generic/tclInt.h:36,
    from ./generic/itclInt.h:50,
    from ./generic/itcl_methods.c:31:
    ./generic/itcl_methods.c: In function ‘Itcl_CreateArg’:
    ./generic/itcl_methods.c:1159:48: error: invalid application of ‘sizeof’ to incomplete type ‘char[]’
    (unsigned)(sizeof(CompiledLocal)-sizeof(localPtr->name) + nameLen+1)
    ^
    /homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/generic/tcl.h:2462:36: note: in definition of macro ‘ckalloc’
    ((void *) Tcl_Alloc((unsigned)(x)))
    ^
    make[1]: *** [Makefile:266: itcl_methods.o] Error 1
    make[1]: Leaving directory '/homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/itcl3.4.3'

    Seems strange since tcl.h has not changed between 8.6.12 (where itcl
    3.4.3 compiles) and 8.6.13. Will try to look into this later...




    NB. We're still using itcl3.4.3 since itcl4.0 as included 4.0x release leads
    to core dumps when shared libs are loaded, and some years ago it was said:

    From: Don Porter <donald.porter@nist.gov>
    Subject: New Itcl/Itk releases
    Newsgroups: comp.lang.tcl
    Date: Tue, 1 Mar 2016 10:04:08 -0500
    Organization: ACMD ITL NIST
    Message-ID: <56D5AF68.4000201@nist.gov>


    A set of new releases of Itcl and Itk are now available at

    https://sourceforge.net/projects/incrtcl/files/

    and from

    ftp://ftp.tcl.tk/pub/tcl/itcl

    Itcl 3.4.3 includes fixes for these bugs.

    http://core.tcl.tk/itcl/info/2e0e27de5f
    https://sourceforge.net/p/incrtcl/bugs/274/
    Proper results from tests info-4.4*

    Most notably, Itcl 3.4.3 ought to work properly with Tcl 8.6 now,
    [...]



    R'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ralf Fassel@21:1/5 to All on Thu Nov 17 12:58:24 2022
    * Ralf Fassel <ralfixx@gmx.de>
    | * Don Porter <donald.porter@nist.gov>
    | | Now available at
    | >
    | | https://sourceforge.net/projects/tcl/files/Tcl/8.6.13/
    | >
    | | are candidate files making up the RC2 pre-releases of Tcl and Tk 8.6.13.
    | >
    | | The pre-release of Tcl 8.6.13 includes pre-releases of packages sqlite3.39.4, Itcl 4.2.3, tdbc* 1.1.5, and Thread 2.8.8 .
    | >
    | | I believe these files are ready to become the official releases. If
    | | you find a reason that should not happen, please let me know.

    | Linux/Opensuse 15.4

    | itcl 3.4.3 fails to compile with Tcl 8.6.13:

    | gcc -DPACKAGE_NAME=\"itcl\" -DPACKAGE_TARNAME=\"itcl\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"itcl\ 3.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_itcl=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_
    H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_
    HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DITCL_LIBRARY=\"/homes/ralf/si++aegis/si++.4.0.C1153/tcltk/linux/lib64/itcl3.4\" -I"./generic" -I"/homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.
    13/generic" -I"/homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/unix" -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -c `echo ./generic/itcl_methods.c` -o itcl_methods.o
    | In file included from /homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/generic/tclPort.h:25:0,
    | from /homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/generic/tclInt.h:36,
    | from ./generic/itclInt.h:50,
    | from ./generic/itcl_methods.c:31:
    | ./generic/itcl_methods.c: In function ‘Itcl_CreateArg’:
    | ./generic/itcl_methods.c:1159:48: error: invalid application of ‘sizeof’ to incomplete type ‘char[]’
    | (unsigned)(sizeof(CompiledLocal)-sizeof(localPtr->name) + nameLen+1)
    | ^
    | /homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/generic/tcl.h:2462:36: note: in definition of macro ‘ckalloc’
    | ((void *) Tcl_Alloc((unsigned)(x)))
    | ^
    | make[1]: *** [Makefile:266: itcl_methods.o] Error 1
    | make[1]: Leaving directory '/homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/itcl3.4.3'

    | Seems strange since tcl.h has not changed between 8.6.12 (where itcl
    | 3.4.3 compiles) and 8.6.13. Will try to look into this later...

    Ok, this is due to a change in tclInt.h:

    8.6.12
    #if defined(__GNUC__) && (__GNUC__ > 2)
    # define TCLFLEXARRAY 0
    #else
    # define TCLFLEXARRAY 1
    #endif
    [...]
    typedef struct CompiledLocal {
    char name[TCLFLEXARRAY];

    8.6.13
    #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
    # define TCLFLEXARRAY
    #elif defined(__GNUC__) && (__GNUC__ > 2)
    # define TCLFLEXARRAY 0
    #else
    # define TCLFLEXARRAY 1
    #endif
    [...]
    typedef struct CompiledLocal {
    char name[TCLFLEXARRAY];

    So in 8.6.12, it is char[0], whereas in 8.6.13 it is char[].

    I can work around that.

    R'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ralf Fassel@21:1/5 to All on Thu Nov 17 13:28:12 2022
    * Ralf Fassel <ralfixx@gmx.de>
    | * Ralf Fassel <ralfixx@gmx.de>
    | | * Don Porter <donald.porter@nist.gov>
    | | | Now available at
    | | >
    | | | https://sourceforge.net/projects/tcl/files/Tcl/8.6.13/
    | | >
    | | | are candidate files making up the RC2 pre-releases of Tcl and Tk 8.6.13. | | >
    | | | The pre-release of Tcl 8.6.13 includes pre-releases of packages sqlite3.39.4, Itcl 4.2.3, tdbc* 1.1.5, and Thread 2.8.8 .
    | | >
    | | | I believe these files are ready to become the official releases. If
    | | | you find a reason that should not happen, please let me know.
    | >
    | | Linux/Opensuse 15.4
    | >
    | | itcl 3.4.3 fails to compile with Tcl 8.6.13:
    | >
    | | gcc -DPACKAGE_NAME=\"itcl\" -DPACKAGE_TARNAME=\"itcl\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"itcl\ 3.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_itcl=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_
    STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -
    DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DITCL_LIBRARY=\"/homes/ralf/si++aegis/si++.4.0.C1153/tcltk/linux/lib64/itcl3.4\" -I"./generic" -I"/homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/
    tcl8.6.13/generic" -I"/homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/unix" -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -c `echo ./generic/itcl_methods.c` -o itcl_methods.o
    | | In file included from /homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/generic/tclPort.h:25:0,
    | | from /homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/generic/tclInt.h:36,
    | | from ./generic/itclInt.h:50,
    | | from ./generic/itcl_methods.c:31:
    | | ./generic/itcl_methods.c: In function ‘Itcl_CreateArg’:
    | | ./generic/itcl_methods.c:1159:48: error: invalid application of ‘sizeof’ to incomplete type ‘char[]’
    | | (unsigned)(sizeof(CompiledLocal)-sizeof(localPtr->name) + nameLen+1)
    | | ^
    | | /homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/tcl8.6.13/generic/tcl.h:2462:36: note: in definition of macro ‘ckalloc’
    | | ((void *) Tcl_Alloc((unsigned)(x)))
    | | ^
    | | make[1]: *** [Makefile:266: itcl_methods.o] Error 1
    | | make[1]: Leaving directory '/homes/ralf/si++aegis/si++.4.0.C1153/src/tcltk/itcl3.4.3'

    Fix is in itcl3.4.3:

    diff -u itcl3.4.3/generic/itcl_methods.c\~ itcl3.4.3/generic/itcl_methods.c
    --- itcl3.4.3/generic/itcl_methods.c~ 2015-12-10 19:49:44.000000000 +0100
    +++ itcl3.4.3/generic/itcl_methods.c 2022-11-17 13:10:47.930940615 +0100
    @@ -1156,7 +1156,7 @@
    nameLen = strlen(name);

    localPtr = (CompiledLocal*)ckalloc(
    - (unsigned)(sizeof(CompiledLocal)-sizeof(localPtr->name) + nameLen+1)
    + TclOffset(CompiledLocal, name) + nameLen+1
    );

    localPtr->nextPtr = NULL;

    Diff finished. Thu Nov 17 13:10:57 2022

    R'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ralf Fassel@21:1/5 to All on Thu Nov 17 13:42:16 2022
    * Ralf Fassel <ralfixx@gmx.de>
    | Fix is in itcl3.4.3:

    | diff -u itcl3.4.3/generic/itcl_methods.c\~ itcl3.4.3/generic/itcl_methods.c
    | --- itcl3.4.3/generic/itcl_methods.c~ 2015-12-10 19:49:44.000000000 +0100
    | +++ itcl3.4.3/generic/itcl_methods.c 2022-11-17 13:10:47.930940615 +0100
    | @@ -1156,7 +1156,7 @@
    | nameLen = strlen(name);
    |
    | localPtr = (CompiledLocal*)ckalloc(
    | - (unsigned)(sizeof(CompiledLocal)-sizeof(localPtr->name) + nameLen+1) | + TclOffset(CompiledLocal, name) + nameLen+1
    | );
    |
    | localPtr->nextPtr = NULL;

    https://core.tcl-lang.org/itcl/tktview/ca7f4ddd4e627eae287590c138edff79d5ae493c

    R'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Don Porter@21:1/5 to All on Sun Nov 20 11:30:41 2022
    Now available at

    https://sourceforge.net/projects/tcl/files/Tcl/8.6.13/

    are candidate files making up the RC3 pre-releases of Tcl and Tk 8.6.13.

    The pre-release of Tcl 8.6.13 includes pre-releases of packages
    sqlite3.40.0, Itcl 4.2.3, tdbc* 1.1.5, and Thread 2.8.8 .

    The changes since RC2 include the new sqlite3.40.0 release, some
    packaging troubles with the tdbc* packages, and a few test suite corner
    cases.

    The RC3 files should become the release on Nov. 22, when release notes
    will also be published. Please report any release-blocking troubles you discover.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)