library

Clone Tools
  • last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use loopback IPv4 address, to work around the DN service being unavailable on GH macos runners

fixed misleading name of variable

Fixed handling of invalid parameter specs

This bug was occuring e.g. with an invalid parameter spec as in

:property {fiscalyear:integer, required}

where an additional space was introduced. The bug was reported by

Maksym Zinchenko on the xotcl mailing list (many thanks for that!)

and lead to an attempt of adding an empty parameter option.

Now, an error is generated in this case.

improved spelling

  1. … 1 more file in changeset.
Bug fix: potential crash and swallowed error

The change fixes 2 bugs:

- When a non-existing method was called in a situation where

* a filter with guards is registered, and

* all guards are failing, and

* the method to be called after the filter does not exist

nsf was crashing

- There was no code to produce the proper error message in such situations

  1. … 1 more file in changeset.
improved spelling

    • -1
    • +1
    ./xotcl/library/lib/metadataAnalyzer.xotcl
    • -1
    • +1
    ./xotcl/library/lib/staticMetadata.xotcl
  1. … 12 more files in changeset.
fix typo

whitespace changes

Provide Tcl9 compatibility after TIP #673

TIP #673 removed "trace variable", which was deprecated since the

release of Tcl 8.4. However, since Tcl does not warn about

deprecations, so it was not detected until TIP #673 removed the

command for Tcl9.

::mongo::oid::gettimestamp: new API call to obtain creation timestamp from OID

whitespace cleanup

  1. … 1 more file in changeset.
* accessor.test: Added tests to document the behaviour for internally generated per-slot accessor methods * nx.tcl (VariableSlot), properties.test: Make sure that calling delete on a single-valued property/ variable errors out, like calling add * nx.tcl (defineIncrementalOperations): Rewrite to avoid repetitive computations * nx.tcl: First take on fixing definition of incremental slot operations, in presence of custom provided ones (esp. value=delete)

  1. … 2 more files in changeset.
* nx.tcl (VariableSlot), properties.test: Make sure that calling delete on a single-valued property/ variable errors out, like calling add

  1. … 1 more file in changeset.
* nx.tcl (defineIncrementalOperations): Rewrite to avoid repetitive computations

* nx.tcl: First take on fixing definition of incremental slot operations, in presence of custom provided ones (esp. value=delete)

* nx.tcl: Make sure to return "switch" for object parameters via info-introspection. Added some tests.

  1. … 2 more files in changeset.
Adding more test cases

  1. … 2 more files in changeset.
Adding first tests and a tentative fix

  1. … 1 more file in changeset.
Provide support for TIP 627 (Tcl 8.7a6+ and Tcl 9)

TIP 627 introduces support for > 2^31 elements in object vectors

(e.g., number of words in a single Tcl command). For details, see

https://core.tcl-lang.org/tips/doc/trunk/tip/627.md

To provide also backwards compatibility, this change uses the macros

TCL_COMMAND_OBJPROC, TCL_CREATEOBJCOMMAND, TCL_NRCALLOBJPROC,

TCL_NRCREATECOMMAND, TCL_OBJCMDPROC_T, and TCL_OBJC_T.

  1. … 19 more files in changeset.
change encoding to UTF-8 to improve robustness in various Tcl9 variants (e.g. tip-657)

nx-zip.tcl: Added optional parameter channel to returnZipFile to ease usage in the background

Many thanks to Antonio Pisano for the suggestion!

improve spelling

    • -1
    • +1
    ./xotcl/apps/comm/secure-webserver.xotcl
  1. … 9 more files in changeset.
improve spelling

in NaviServer mode, flush buffers after every file

This avoid potential interger overruns in Tcl, when sending many large files

over slow lines.

Added a warning, when a name of a slot contains characters hinting a typo (missing ":")

make test more generic

Previously the test failed, since the file, which was read, was

changing its size. Now, the number of expected chunks is computed

depending on the actual file size.

tested with recent MongoDB (server 5.0.9, driver 1.22.1)

  1. … 1 more file in changeset.
improve spelling [skip ci]

  1. … 2 more files in changeset.
* mkIndex.tcl: Have mkIndex produce package-provide compliant ifneeded scripts

revert to earlier version of tcl.m4.

The version from head is not yet ready

  1. … 1 more file in changeset.