Tk Library Source Code

View Ticket
Login
Ticket UUID: 2993200
Title: ascii85 encode/decode implementation in pure tcl
Type: RFE Version: None
Submitter: egavilan Created on: 2010-04-27 19:53:02
Subsystem: base64 Assigned To: andreas_kupries
Priority: 7 High Severity:
Status: Closed Last Modified: 2010-05-04 04:48:51
Resolution: Closed By: andreas_kupries
    Closed on: 2010-05-03 21:48:51
Description:
When working with postscript files sometimes the need arises to work with ascii85 encoded strings as described in the Postscript Language Reference Manual.
Here is an implementation on pure Tcl for inclusion on tcllib.
User Comments: andreas_kupries added on 2010-05-04 04:48:51:

allow_comments - 1

Committed to CVS head.

egavilan added on 2010-05-03 23:21:30:

File Added - 372726: ascii85.tgz

egavilan added on 2010-05-03 23:20:42:

File Deleted - 372174:

egavilan added on 2010-04-29 08:12:07:

File Added - 372174: ascii85.tgz

egavilan added on 2010-04-29 08:11:32:

File Deleted - 372146:

egavilan added on 2010-04-29 02:08:17:
Uploaded new code (should work with 8.4) and some more tests

egavilan added on 2010-04-29 02:07:32:

File Added - 372146: ascii85.tgz

egavilan added on 2010-04-29 02:06:04:

File Deleted - 372035:

egavilan added on 2010-04-28 03:27:43:
While I've tried to write 8.4 compatible code, is untested with this Tcl version. The first problem noted: ascii85::checkrange contains a [return -level] command, which is an 8.5 feature.
Solution is either to remove it, or make the package dependant on 8.5, in which case some code could be simplified using newer features ( unsingned [binary scan]s, "in" operator, etc)

egavilan added on 2010-04-28 02:53:03:

File Added - 372035: ascii85.tgz

Attachments: