Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Truth has always been found to promote the best interests of mankind... -- Percy Bysshe Shelley


devel / comp.lang.tcl / Re: finding changes in tcl8.7?

SubjectAuthor
* finding changes in tcl8.7?Ralf Fassel
`* Re: finding changes in tcl8.7?Harald Oehlmann
 `* Re: finding changes in tcl8.7?Ralf Fassel
  `* Re: finding changes in tcl8.7?Paul Obermeier
   `- Re: finding changes in tcl8.7?Ralf Fassel

1
finding changes in tcl8.7?

<ygao7ytzzl6.fsf@akutech.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=19546&group=comp.lang.tcl#19546

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ralfixx@gmx.de (Ralf Fassel)
Newsgroups: comp.lang.tcl
Subject: finding changes in tcl8.7?
Date: Wed, 15 Jun 2022 18:00:21 +0200
Lines: 38
Message-ID: <ygao7ytzzl6.fsf@akutech.de>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net 0e55CadYWVK3OaSCNobSKQMLce/CgUjKPI0Je6GDACeK5x8tI=
Cancel-Lock: sha1:OnFa1OHipKKR84lUERPJUoO9+Pw= sha1:9CP5YZ6KgcvV1Zq5v8/wFkcToFE=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
 by: Ralf Fassel - Wed, 15 Jun 2022 16:00 UTC

Triggered by yesterdays' virtual meetup I took a chance on recompiling
our code base against tcl8.7a5. Compilation succeeded with minor
changes in some outdated packages (eg still using CONST84 macro which
seems no longer available in 8.7).

Now I'm facing some problems when running the resulting programs.
In order to research these I'm wondering what is the best way to search
for recent changes in tcl8.7 vs tcl8.6.

In the good old ages there were the Changelog files, which are no longer
maintained. Searching the timeline on https://core.tcl-lang.org/ either
returns tons of unrelated results, or none at all.

Eg. I have the problem with old Tix using

global tkPriv
if {![llength [info globals tkPriv]]} {
tk::unsupported::ExposePrivateVariable tkPriv
}

resulting in

invalid command name "tk::unsupported::ExposePrivateVariable"
while executing
"tk::unsupported::ExposePrivateVariable tkPriv"
(file "/homes/ralf/si++aegis/si++.4.0.C716/tcltk/linux/lib64/Tix8.4.3/ComboBox.tcl" line 20)
invoked from within
"source /homes/ralf/si++aegis/si++.4.0.C716/tcltk/linux/lib64/Tix8.4.3/ComboBox.tcl"

Now I wanted to check what happened to either 'tkPriv' (1000+ results)
or "tk::unsupported::ExposePrivateVariable" (1 result which added the
function in 2001, but none about removal).

So: how do I find which check-in affected a specific part of Tcl/Tk?

Thanks
R'

Re: finding changes in tcl8.7?

<t8d0qc$qhv$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=19547&group=comp.lang.tcl#19547

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: wortkarg2@yahoo.de (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: finding changes in tcl8.7?
Date: Wed, 15 Jun 2022 18:19:24 +0200
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <t8d0qc$qhv$1@dont-email.me>
References: <ygao7ytzzl6.fsf@akutech.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 15 Jun 2022 16:19:24 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1d8bc59470731fed2256d9f377c81186";
logging-data="27199"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18MfhvnCsWRDoHcXKKW8Rum"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Cancel-Lock: sha1:yykPn0yymTNCKjhe18eButN8+Cc=
In-Reply-To: <ygao7ytzzl6.fsf@akutech.de>
Content-Language: en-GB
 by: Harald Oehlmann - Wed, 15 Jun 2022 16:19 UTC

Am 15.06.2022 um 18:00 schrieb Ralf Fassel:
> Triggered by yesterdays' virtual meetup I took a chance on recompiling
> our code base against tcl8.7a5.

Great ! But as tcl8.7a5 is also quite outdated, it would be great to
test against core-8-branch (tcl) and main (tk). Or better main branch in
both of them.

Unfortunately, I have no answer to your real question, sorry.
I may remark, that the "changes" file is still maintained.
But I did not find your issue there, sorry.

Take care,
Harald

Re: finding changes in tcl8.7?

<ygak09hzwju.fsf@akutech.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=19548&group=comp.lang.tcl#19548

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ralfixx@gmx.de (Ralf Fassel)
Newsgroups: comp.lang.tcl
Subject: Re: finding changes in tcl8.7?
Date: Wed, 15 Jun 2022 19:05:57 +0200
Lines: 25
Message-ID: <ygak09hzwju.fsf@akutech.de>
References: <ygao7ytzzl6.fsf@akutech.de> <t8d0qc$qhv$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net mQ2p/pkqcWnnI2FCJ5EVpg1tw5eN/aBkSslLvPJsHf2eui1fE=
Cancel-Lock: sha1:TlXxSJUzKVpf8l1FXsVlmPQT698= sha1:5I0VvUNy842JHNgnbqr19qGcR08=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
 by: Ralf Fassel - Wed, 15 Jun 2022 17:05 UTC

* Harald Oehlmann <wortkarg2@yahoo.de>
| Am 15.06.2022 um 18:00 schrieb Ralf Fassel:
| > Triggered by yesterdays' virtual meetup I took a chance on recompiling
| > our code base against tcl8.7a5.
>
| Great ! But as tcl8.7a5 is also quite outdated, it would be great to
| test against core-8-branch (tcl) and main (tk). Or better main branch
| in both of them.

Ah, ok. I just took what was linked on https://www.tcl-lang.org/ which
leads to https://www.tcl-lang.org/software/tcltk/8.7.html which has a
big "DOWNLOAD SOURCES" link - zu verführerisch :-)

Will retry with latest main branch for Tcl and Tk.

| Unfortunately, I have no answer to your real question, sorry.
| I may remark, that the "changes" file is still maintained.
| But I did not find your issue there, sorry.

My main issue seems related to the changes due to having all the Tcl/Tk
init startup code in zipfs, plus some issues relating to TCL_LIBRARY
environment variables which we required up to 8.6, but these seem no
longer required in 8.7. Stay tuned :-)

R'

Re: finding changes in tcl8.7?

<t8d55d$sj9$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=19549&group=comp.lang.tcl#19549

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: obermeier@poSoft.de (Paul Obermeier)
Newsgroups: comp.lang.tcl
Subject: Re: finding changes in tcl8.7?
Date: Wed, 15 Jun 2022 19:33:33 +0200
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <t8d55d$sj9$1@dont-email.me>
References: <ygao7ytzzl6.fsf@akutech.de> <t8d0qc$qhv$1@dont-email.me>
<ygak09hzwju.fsf@akutech.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 15 Jun 2022 17:33:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f0824a1a3883cf14d4bffada5b7948df";
logging-data="29289"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8N3cjvm3W0w0Z8xRQTAQaTLhsIFnQt5U="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Cancel-Lock: sha1:u/crZKFxNp6xTXnTXYf1U6m85VE=
In-Reply-To: <ygak09hzwju.fsf@akutech.de>
 by: Paul Obermeier - Wed, 15 Jun 2022 17:33 UTC

Am 15.06.2022 um 19:05 schrieb Ralf Fassel:
> * Harald Oehlmann <wortkarg2@yahoo.de>
> | Am 15.06.2022 um 18:00 schrieb Ralf Fassel:
> | > Triggered by yesterdays' virtual meetup I took a chance on recompiling
> | > our code base against tcl8.7a5.
>>
> | Great ! But as tcl8.7a5 is also quite outdated, it would be great to
> | test against core-8-branch (tcl) and main (tk). Or better main branch
> | in both of them.
>
> Ah, ok. I just took what was linked on https://www.tcl-lang.org/ which
> leads to https://www.tcl-lang.org/software/tcltk/8.7.html which has a
> big "DOWNLOAD SOURCES" link - zu verführerisch :-)
>
> Will retry with latest main branch for Tcl and Tk.
>
> | Unfortunately, I have no answer to your real question, sorry.
> | I may remark, that the "changes" file is still maintained.
> | But I did not find your issue there, sorry.
>
> My main issue seems related to the changes due to having all the Tcl/Tk
> init startup code in zipfs, plus some issues relating to TCL_LIBRARY
> environment variables which we required up to 8.6, but these seem no
> longer required in 8.7. Stay tuned :-)
>

Hi Ralf,

Tix does work with Tcl/Tk 8.7.a5 using my BAWT framework.
But I disable zipfs using "--disable-zipfs" when compiling Tcl and Tk.

Paul

Re: finding changes in tcl8.7?

<ygafsk5ymzb.fsf@akutech.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=19554&group=comp.lang.tcl#19554

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ralfixx@gmx.de (Ralf Fassel)
Newsgroups: comp.lang.tcl
Subject: Re: finding changes in tcl8.7?
Date: Thu, 16 Jun 2022 11:30:16 +0200
Lines: 33
Message-ID: <ygafsk5ymzb.fsf@akutech.de>
References: <ygao7ytzzl6.fsf@akutech.de> <t8d0qc$qhv$1@dont-email.me>
<ygak09hzwju.fsf@akutech.de> <t8d55d$sj9$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net XNfA9/Qq4Nt3RZnkTHKRnQRcgqzdc9264q03oqbvNVH42C974=
Cancel-Lock: sha1:578HbNS6iygdCP8Aitl6OiRMdWg= sha1:axpFZ3nAW5+SvZ4Olm1cPEDbyI0=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
 by: Ralf Fassel - Thu, 16 Jun 2022 09:30 UTC

* Paul Obermeier <obermeier@poSoft.de>
| > My main issue seems related to the changes due to having all the Tcl/Tk
| > init startup code in zipfs, plus some issues relating to TCL_LIBRARY
| > environment variables which we required up to 8.6, but these seem no
| > longer required in 8.7. Stay tuned :-)
| >
>
--<snip-snip>--
| Tix does work with Tcl/Tk 8.7.a5 using my BAWT framework.
| But I disable zipfs using "--disable-zipfs" when compiling Tcl and Tk.

Thanks, Paul!

In the meantime I got it compiling and running with ZIPFS (which I like
to have in the core :-).

The main issue was
a) setting TCL_LIBRARY/TK_LIBRARY in the environment (left-over from
ancient times tcl 8.3, don't ask), and
b) overriding auto_path in our startup instead of appending to it:

set auto_path [list \
$env(TCL_LIBRARY) \
$env(TK_LIBRARY) \
[our libs go here]]

instead of leaving the TCL stuff to tcl, and just appending our stuff

lappend auto_path [our libs go here]

Regression tests are running right now :-)

R'

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor