Dashboard

Merge branch 'main' of git.complex.wu.ac.at:tcltk/nsf

improved spelling

Tcl9 fix: fixed handling of leading "~" in file paths.

In the Unix shell tradition, leading "~" in file paths denotes

to the home directory. In Tcl9, we have to use [file home] instead.

    • -1
    • +1
    /library/xotcl/library/comm/Httpd.xotcl
    • -1
    • +1
    /library/xotcl/library/comm/Mime.xotcl
New feature: Added method nx::Object->"info consts"

A "const" is a variable that cannot be altered later. So far, such

constant variables have to be created via the Tcl9 "const" cmd, like

in the example below. The introspection method "/obj/ info consts" is

very similar to "/obj/ info vars", but it lists only unmodifiable

variables.

nx::Object create o {

#

# Create a "const" instance variable

#

const :x 1

set :y 2

...

}

puts [o info consts]

puts [o info vars]

fixed typo (space was missing)

re-establish sanity check

minor cleanup of debug and log messages

Remove CI/CD support for the Tcl 8.5.19 release. See ticket #2

improved warning message, when Tcl command "::history" is not defined

updated year in comment

fixed false positive in memcount statistics

Before this fix, we saw messages like the following accompanied with wrong memcount

statistics, when running library/xotcl/tests/testo.xotcl

******** MEM COUNT ALERT: Trying to free 0x14f91fc10 <Tcl_Obj* *>, but was not allocated

regression test: increased independency of test cases

Add Announce2.4.1 and ChangeLog-2.4.0-HEAD drafts [skip ci]

    • -0
    • +311
    /ChangeLog-2.4.0-HEAD
Merge branch 'memleak-nsfparam-issue1' into 'main'

Memleak nsfparam issue1

See merge request tcltk/nsf!1

Memleak nsfparam issue1

added one more test to pinpoint issue #3 with Tcl 8.5.19

added casts to debug output

Make handling of colonLocalVarCache more type-safe

Since the usual macro TCL_SIZE_T does not work together with the

macros for the memcount macros, a new typedef "Nsf_Tcl_Size_t" was

introduced. Using a typedef is better and eases maintenance. The new

typedef has a "Nsf_" prefix, since it is defined in nsf.h.

fix for issue #4; Memory leak of NsfMethodContext with Tcl9

Ths is not a fully satisfying fix, since it just fixes the symptom, not the cause.

Also the old variant is supposed to run free of this issue. However, we are

talking here about a single Tcl_Obj inside the nx object system, so the harm

is very limited. More details in the ticket.

removed mostly obsolete hint

memcount: fix type spec leading to a wrong false positive on memcount tests

Tcl9 regression test: deactivated case broken in tcl9 with unclear semantics

whitespace change

tcl9 changes in regression test: "2000-00-00 00:00:00" is not a valid date anymore

tcl9 changes: "string bytelength" does not exist in tcl9

tcl9 changes in regression test: fix read of latin1 file with wrong encoding

tcl9 changes in regression test: address changes in tcl9 tilde explansion

tcl9 change: "... -encoding binary ..." not valid in tcl9

regenerated resources

* nsf.c (ParamFreeInternalRep): Remove some left-over.