maxima:read-compressed-info

Last commit made on 2016-12-12
Get this branch:
git clone -b read-compressed-info https://git.launchpad.net/maxima

Branch merges

Branch information

Name:
read-compressed-info
Repository:
lp:maxima

Recent commits

9dc979a... by Robert Dodier <email address hidden> on 2016-12-12

In package read_compressed_file, use defsystem to load files.
With this change, load(read_compressed_file) loads the package.

94a60ed... by Robert Dodier <email address hidden> on 2016-12-12

Move files for reading compressed files out of src and into share/read_compressed_file.

ad65a08... by Robert Dodier <email address hidden> on 2016-04-20

In code to handle compressed info, add a convenience function read_compressed_file
to read a compressed file and return its content as a string.
Also adjust ASDF and defsystem config files as necessary for this.

Note that read_compressed_file is not completely general because it does not take
different encodings into account. It works OK for content which is 7-bit ASCII
since that is a subset of UTF-8, but I suspect it will not work for Latin-1
or other 8-bit, 1-byte encodings, although, for the record, I did not
actually try it.

Note also that even with read_compressed_file, we are not anywhere near able
to read documentation items from compressed info, since the index has byte offsets
plus numbers of characters to read. That works OK for file input, but as it
stands, we can jump to the appropriate place in a byte array, or extract the
appropriate number of characters from a string, but we cannot do both.

c0c825a... by Robert Dodier <email address hidden> on 2016-04-20

In code to handle compressed info, add src/trivial-utf-8.lisp to list of
files for ASDF and defsystem.

795e500... by Robert Dodier <email address hidden> on 2016-04-20

In code for handling compressed info, call methods to write decompressed
data to in-memory streams. (It is necessary to call these methods explicitly instead
of relying on method dispatch because hooking the in-memory streams into the
Gray stream system would mean bringing in another library, which just seems too much.)

6f60713... by Robert Dodier <email address hidden> on 2016-04-20

In code for handling compressed info files:
(1) make minimal changes to src/in-memory.lisp in order to compile with Maxima.
(2) add in-memory.lisp to list of files for info handling in ASDF and defsystem config files.

da9d5cd... by Robert Dodier <email address hidden> on 2016-04-19

Commit in-memory.lisp from flex-streams verbatim.

Commit in-memory.lisp from the flexi-streams project, as copied verbatim
from the current version retrieved from: https://github.com/edicl/flexi-streams.git
Thanks to Edmund Weitz for making this work available.
License is a BSD-style license; see the comment header for the license.

39c1988... by Robert Dodier <email address hidden> on 2016-04-15

Add deflate.lisp to ASDF and defsystem configuration files.
With this change, make includes deflate in Maxima image.

29c74e4... by Robert Dodier <email address hidden> on 2016-04-15

Commit deflate.lisp by Pierre Mai

Copy deflate.lisp verbatim from the github project pmai/Deflate.
This file provides a Common Lisp implementation of Deflate (RFC 1951) decompression,
with optional support for ZLIB-style (RFC 1950) and gzip-style (RFC 1952)
wrappers of deflate streams.

5a300aa... by Robert Dodier <email address hidden> on 2016-04-14

Return noun instead of spurious result for integrands containing signum

RAT10 appears to try to recognize rational expressions. Assume that any expression
with operator other than MEXPT, MTIMES, or MPLUS cannot be a rational expression.
This fixes a bug in which integrands such as signum(x^2 - 4) were handled incorrectly.
With this patch, integrate returns noun expressions for such integrals instead of
an incorrect result as before.

Fixes SF bugs #2242: "integrating function with signum incorrect"
and #3123: "integrate(x*signum(x^2 - 4), x, 0, 3) yields spurious result"