nx-zip.tcl

Clone Tools
  • last updated 11 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. … 2 more files in changeset.
in NaviServer mode, flush buffers after every file

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

over slow lines.

* 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).

improve spelling: move closer to the linux documentation recommendations

  1. … 19 more files in changeset.
improve spelling

  1. … 1 more file in changeset.
improve spelling

  1. … 7 more files in changeset.
Change http:// occurrences to https://, if applicable (URLs tested)

  1. … 57 more files in changeset.
Rewrite URLs containing tcl.tk as authority to tcl-lang.org

  1. … 13 more files in changeset.
base package nx::zip on Tcl 8.6 builtins instead of relying on the Trf package

improve spelling

  1. … 6 more files in changeset.
improve comments

  1. … 13 more files in changeset.
- Use more straightforward Tcl idiom to access first character of a string - Standardize spelling of names of products (Tcl, AOLserver, PostgreSQL)

  1. … 10 more files in changeset.
quote filename in content disposition

- protect trf against leading dashes

- deactivate tests in library file

- add additional "convertto" when generating zip files from strings

- library/lib/nx-zip.tcl: refactored implementqtion, improved utf-8 file-name handling (which is a mess in pkzip)

  1. … 4 more files in changeset.