mirror of
https://github.com/pmai/Deflate.git
synced 2025-12-22 13:34:30 +01:00
Compare commits
9 Commits
release-1.
...
release-1.
| Author | SHA1 | Date | |
|---|---|---|---|
| 8353354be3 | |||
| a8dba48d31 | |||
| 9f0487e414 | |||
| bc063b6b98 | |||
| 42f1aaab07 | |||
| 3f472585bd | |||
| 797adba286 | |||
| 929d3f9bc9 | |||
| b18f8fa1da |
2
COPYING
2
COPYING
@ -1,4 +1,4 @@
|
||||
Copyright (C) 2000-2009 PMSF IT Consulting Pierre R. Mai
|
||||
Copyright (C) 2000-2013 PMSF IT Consulting Pierre R. Mai
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
|
||||
20
NEWS
Normal file
20
NEWS
Normal file
@ -0,0 +1,20 @@
|
||||
Release 1.0.2
|
||||
=============
|
||||
|
||||
* Adjust package name specifications to belatedly support ACL in its
|
||||
"modern-mode".
|
||||
|
||||
Release 1.0.1
|
||||
=============
|
||||
|
||||
* Renamed Deflate system from Deflate to deflate to support
|
||||
convenience references to system by symbol rather than string name.
|
||||
NOTE: This is an incompatible change from all prior releases, all
|
||||
references to "Deflate" in system definitions will have to be
|
||||
changed to "deflate" or :deflate or equivalents.
|
||||
|
||||
* Preliminary support for ecl has been added: Due to bugs in current
|
||||
versions of ecl (10.7.1), prior versions of Deflate do not work out
|
||||
of the box. This version should work better, once fixnum-specialized
|
||||
arrays work again on 64bit versions of ecl in an upcoming release of
|
||||
ecl.
|
||||
@ -1,6 +1,6 @@
|
||||
;;;; Deflate --- RFC 1951 Deflate Decompression
|
||||
;;;;
|
||||
;;;; Copyright (C) 2000-2009 PMSF IT Consulting Pierre R. Mai.
|
||||
;;;; Copyright (C) 2000-2013 PMSF IT Consulting Pierre R. Mai.
|
||||
;;;;
|
||||
;;;; Permission is hereby granted, free of charge, to any person obtaining
|
||||
;;;; a copy of this software and associated documentation files (the
|
||||
@ -28,7 +28,7 @@
|
||||
;;;;
|
||||
;;;; $Id$
|
||||
|
||||
(cl:in-package "CL-USER")
|
||||
(cl:in-package #:cl-user)
|
||||
|
||||
;;;; %File Description:
|
||||
;;;;
|
||||
@ -37,7 +37,10 @@
|
||||
;;;; ASDF system definition facility.
|
||||
;;;;
|
||||
|
||||
(asdf:defsystem "Deflate"
|
||||
:description "Deflate Decompression Library"
|
||||
:author "Pierre R. Mai <pmai@pmsf.de>"
|
||||
:components ((:file "deflate")))
|
||||
(asdf:defsystem "deflate"
|
||||
:description "Deflate Decompression Library"
|
||||
:author "Pierre R. Mai <pmai@pmsf.de>"
|
||||
:maintainer "Pierre R. Mai <pmai@pmsf.de>"
|
||||
:licence "MIT/X11"
|
||||
:version "1.0.2"
|
||||
:components ((:file "deflate")))
|
||||
10
deflate.lisp
10
deflate.lisp
@ -1,6 +1,6 @@
|
||||
;;;; Deflate --- RFC 1951 Deflate Decompression
|
||||
;;;;
|
||||
;;;; Copyright (C) 2000-2009 PMSF IT Consulting Pierre R. Mai.
|
||||
;;;; Copyright (C) 2000-2013 PMSF IT Consulting Pierre R. Mai.
|
||||
;;;;
|
||||
;;;; Permission is hereby granted, free of charge, to any person obtaining
|
||||
;;;; a copy of this software and associated documentation files (the
|
||||
@ -28,15 +28,15 @@
|
||||
;;;;
|
||||
;;;; $Id$
|
||||
|
||||
(cl:defpackage "DEFLATE"
|
||||
(:use "COMMON-LISP")
|
||||
(cl:defpackage #:deflate
|
||||
(:use #:common-lisp)
|
||||
(:export #:decompression-error #:deflate-decompression-error
|
||||
#:zlib-decompression-error #:gzip-decompression-error
|
||||
#:inflate-stream
|
||||
#:inflate-zlib-stream #:parse-zlib-header #:parse-zlib-footer
|
||||
#:inflate-gzip-stream #:parse-gzip-header #:parse-gzip-footer))
|
||||
|
||||
(cl:in-package "DEFLATE")
|
||||
(cl:in-package #:deflate)
|
||||
|
||||
;;;; %File Description:
|
||||
;;;;
|
||||
@ -287,7 +287,7 @@
|
||||
|
||||
(declaim (inline bit-stream-read-bits))
|
||||
(defun bit-stream-read-bits (stream bits)
|
||||
(declare (type bit-stream stream) (type (unsigned-byte 8) bits))
|
||||
(declare (type bit-stream stream) #-ecl (type (unsigned-byte 8) bits))
|
||||
"Read single or multiple bits from the given bit-stream."
|
||||
(loop while (< (bit-stream-bit-count stream) bits)
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user