Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You worry too much about your job. Stop it. You are not paid enough to worry.


comp / comp.lang.tcl / ANNOUNCE: cookfs 1.5.0

SubjectAuthor
o ANNOUNCE: cookfs 1.5.0Konstantin Kushnir

1
Subject: ANNOUNCE: cookfs 1.5.0
From: Konstantin Kushnir
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Wed, 5 Jun 2024 21:32 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chpock@gmail.com (Konstantin Kushnir)
Newsgroups: comp.lang.tcl
Subject: ANNOUNCE: cookfs 1.5.0
Date: Thu, 6 Jun 2024 00:32:02 +0300
Organization: A noiseless patient Spider
Lines: 63
Message-ID: <20240606003202.9ffbf399b416df635338cfaf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 05 Jun 2024 23:32:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3e9157c2b74109872c0c77eeea141c36";
logging-data="1021434"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX187HKbC5Uc5DViEck1Y9aAQ"
Cancel-Lock: sha1:9xo9BVjppcLT5ntaGSLnLk+MUhg=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
View all headers

Hi Everyone!

I am pleased to announce version 1.6.0 of cookfs.
Homepage and downloads are on github: https://github.com/chpock/cookfs

Please fill free to check/build/use it. Any feedback is welcome!

Offtopic: I am actively looking for a new job and would welcome any
offers with interesting projects. Tcl related development is very much
welcomed. My linkedin is here: https://www.linkedin.com/in/kku/

=====================================================================

Cookfs is a Tcl virtual filesystem using a compressed archive format to
allow embedding multiple files in an archive that Tcl scripts can
access directly.

It is optimized for storing Tcl packages (allowing around 10%-20%
smaller sizes ratio than mk4vfs while still using zlib compression),
small, fast and integrated with Tcl.

Major changes since the last public release:

1. Added C variants for all parts of Cookfs. Removed dependency on
tclvfs. This means that now the cookfs package does not depend on any
Tcl scripts and will work when built as a single loadable binary
module. If static linking is used, the process is also significantly
simplified. You can use VFS immediately after loading a static package.

2. Added the ability to detect that a file has been truncated. This is
a common error when a file is copied/downloaded incompletely. In this
case the file is corrupted and using it causes an error. If it is
tclkit, then it will cause an application startup error. Usually in
such cases some error like "file system mount error", "interpreter
initialization error" or some "internal error" is returned. This
completely confuses the user and leads to the wrong conclusion that the
application is not working. Cookfs tries to identify such cases. If
such a case is detected, then cookfs will return the following error:

The archive "<filename>" appears to be corrupted or truncated.
Expected archive size is <size> bytes or larger.

3. Added support for Tcl 9

4. Tests have been significantly improved. Added an automatic check for
memory leaks to CI. It can be confidently confirmed that there are no
memory leaks in this module.

5. Added a simple (for now) interface to mount VFS from C code.

6. XZ format was replaced by a simple LZMA. This allowed to reduce the
size of the module and the size of the service data in the archive,
which is generated by XZ format. Also, the LZMA library has been updated
from v23.01 to v.24.05

7. Added the ability to create a VFS entirely in memory (in-memory VFS),
without using a physical file.

8. Other miscellaneous updates and bug fixes.

--
Best regards,
Konstantin Kushnir

1

rocksolid light 0.9.8
clearnet tor