Custom Query (1630 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (70 - 72 of 1630)

Ticket Resolution Summary Owner Reporter
#82 fixed z3 egg DEFLATE and gzip confusion Tony Sidaway Tony Sidaway
Description

RFC1951 is the DEFLATE format. RFC1952 is the gzip file format. A gzip file is a data stream encoded using the DEFLATE format, in a file wrapper specified by RFC1952.

Although it is presented as a gzip egg that "Provides functions to read and write compressed data using the gzip algorithm", some of the calls actually use the raw DEFLATE format without being clear about it, resulting in unexpected errors.

Four interfaces are specified by this egg: the raw data interface, the buffer interface, the file system interface and the port interface.

The first two only read and write DEFLATE (RFC1951) format, while the second two read and write gzip (RFC1952) format.

The upshot is that if one reads a gzip file into a buffer and then attempts to use the z3 raw data or buffer interface functions to decode it, an error will result because they do not understand gzip file format.

In the interim, the egg documentation should specify the data formats being handled by each set of functions.

In the long run a buffer interface that handles RFC1952 format in memory would be useful because this format is commonly used, for instance, for data transmission from web servers to clients. At present if a RFC1952 stream is captured in a memory buffer the only way z3 can decode it is by writing to a temporary file and then using the file system or port interface to decode the file contents.

#84 fixed remove lolevel unbound and invalid-procedure hooks felix winkelmann
Description

These hooks should be removed. They are of very little value (mostly for dirty hacks) and add unneeded complexity to the implementation.

Committed to the "pending" branch as 6e5eb38f11a2a8f9a82d1009563e371139a76438

#85 fixed reexporting does not fully work for core library exports felix winkelmann felix winkelmann
Description

This code

(module x ()
  (import scheme chicken)
  (require-library srfi-1)
  (reexport (only srfi-1 cons*)))

will result in an unbound reference to #%cons*, when the import library is compiled. It seems that the alias symbol has a missing ##core#primitive property (which indicates that reexports of primitive symbols (non-module core library bindings) must be treated specially and somehow store this information in the import library).

Note: See TracQuery for help on using queries.