library

Clone Tools
  • last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
generated files

  1. … 1 more file in changeset.
update README for mongoDB interface

generated file

updated with upstream versions of tcl.m4

  1. … 2 more files in changeset.
generated files

  1. … 1 more file in changeset.
generated file

regenerated files

  1. … 1 more file in changeset.
exclude pkgIndex.tcl from searched files, whitespace changes

Added support for compiling with Tcl 9.0 (Many Thanks to Jan Nijtmans for first steps)

This version compiles cleanly at least with Tcl 8.6.* and Tcl 9.0 (fossil trunk),

having -pedantic and -Wextra defined.

  1. … 18 more files in changeset.
Bug fix: include alias to object in "info methods -path"

Previously, it was not possible to define an alias to an object for

NaviServer, since it was not returned by "info methods -path" and

was therefore not included in the blueprint.

Extended regression test.

  1. … 4 more files in changeset.
* nx-zip.tcl: Add closing paren in comment

* nx-zip.tcl (writeToZipFile): 'writeToStream' requires a command prefixed defined by an object variable 'writer'. In a direct call on 'writeToZipFile', this variable was not defined. Thanks to Héctor Romojaro for the catch and patch.

- use buffered ns_connchan for writing to slow channels for handling partial write operations properly

added support for returning streaming zip files via HTTPs

The old version was just replying via ns_write, which can be only

used for plain TCP connections (no TLS).

update copyright dates

  1. … 1 more file in changeset.
Minor cleanup

- reduce strlen operations

- reduce hard-coded constants

- perfer Tcl_Obj based interfaces of string based ones (opens opportunities for special objtypes)

whitespace cleanup (replace tabs)

make warning message more precise about unexpected slot structures during delete

added enumeration values

  1. … 5 more files in changeset.
improve regularity and linebreaking in comments (mostly function headers)

  1. … 16 more files in changeset.