some op stubs
add TODO to the readme
RunLengthDecode: forgot to inc
RunLengthDecode
jbig2: extract as a full jbig2 file, honor JBIG2Globals
ccitfax: static
ccittfax: default width is 1728
dct, jpx: extract as is
ccittfax: bps is always 1
extract ccitt fax as tiff
jbig2: copy input to output as is
add * to list the keys of a dict
mkfile: define BIN (thanks qwx)
update readme
command line: evaluate @NUMBER arguments as ref objects
jpx filter: plain copy for now
remove TODO
mkfile: remove duplicate from OFILES
lzw and flate filters: use common predict logic
ascii85 filter: call bufput once per 4 bytes
mkfile: add pdf.h to HFILES
ascii85 filter: drain the input buffer
buffer: remove "eof" field
remove unneeded code
ascii85 filter
flate filter: ignore trailing garbage
object: print the position of the unexpected char
stream: wrong filters order, fix it; add Sobjoffset
change the command line array indexing
keep filters in their own files
sort out integers and store the top of the document, not just the root
leave dctd (jpeg) as is for now, ie just do a plain copy in the filter
print the error when resolved object is null
pdfobj: another return early error
number can be negative
pdfobj: return error right away when pdfdict fails
stream: fix objects with no filters
dump to stdout as is
fix tons of bugs, use proper streaming
move xref logic into a separate file
pdfeval: handle nil case better
fix flate-encoded streams with PNG prediction; parse compressed xref streams
move stuff around and just use Biobuf* everywhere
main: print filename on error
remove stream/filter traces
make pdfeval update the pointer; add a dumb ref counter to objects
better api (less Pdf *pdf); eval more often; use null
add and use flate filter
rename some of the functions
attach dicts to streams if there is one
rewrite the API, support more object types and actual evaluation
fix xref parsing and add pdfeval to resolve indirect objects
add more object types, parse file trailer
pdfstring: octal chars