Skip to content

Commit

Permalink
First work towards v2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwhitington committed Apr 12, 2024
1 parent 2217259 commit e1b32ad
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
2.7 (August 2024)

2.5 (August 2022)

o First release of coherentpdf.js library
17 changes: 10 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# Build coherentpdf.js
PDFMODS = pdfutil pdfio pdftransform pdfunits pdfpaper pdfcryptprimitives \
PDFMODS = pdfe pdfutil pdfio pdftransform pdfunits pdfpaper pdfcryptprimitives \
pdf pdfcrypt pdfflate pdfcodec pdfwrite pdfgenlex pdfread pdfjpeg pdfops \
pdfdest pdfmarks pdfpagelabels pdfpage pdfannot pdffun pdfspace pdfimage \
pdfafm pdfafmdata pdfglyphlist pdftext pdfstandard14 pdfgraphics pdfshapes \
pdfdate pdfocg pdfcff pdftype1 pdftruetype pdftype0 pdfmerge \
cpdfyojson cpdfxmlm cpdfutil \
pdfafm pdfafmdata pdfglyphlist pdftext pdfstandard14 \
pdfdate pdfocg pdfmerge \
cpdfyojson cpdfxmlm \
cpdfunicodedata cpdferror cpdfdebug cpdfjson cpdfstrftime cpdfcoord \
cpdfattach cpdfpagespec cpdfposition cpdfpresent cpdfmetadata \
cpdfbookmarks cpdfpage cpdfaddtext cpdfimage cpdffont cpdftype \
cpdftexttopdf cpdftoc cpdfpad cpdfocg cpdfsqueeze cpdfdraft cpdfspot \
cpdfpagelabels cpdfcreate cpdfannot cpdfxobject cpdfimpose cpdftweak \
cpdfbookmarks cpdfpage cpdftruetype cpdfremovetext cpdfextracttext \
cpdfembed cpdffont cpdftype cpdfaddtext cpdfpad cpdfocg \
cpdfsqueeze cpdfdraft cpdfspot cpdfpagelabels cpdfcreate cpdfannot \
cpdfxobject cpdfimpose cpdfchop cpdftweak cpdftexttopdf cpdftoc \
cpdfjpeg cpdfjpeg2000 cpdfpng cpdfimage cpdfdraw cpdfcomposition \
cpdfshape cpdfcolours cpdfdrawcontrol cpdfcommand \
cpdf

SOURCES = flatestubs.c rijndael-alg-fst.c stubs-aes.c sha2.c stubs-sha2.c \
Expand Down
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ cp ../cpdflib-source/*.ml .
cp ../cpdflib-source/*.mli .
mv cpdflib.ml cpdf.ml
mv cpdflib.mli cpdf.mli
awk 'NR!~/^(132|144)$/' cpdfstrftime.ml > tmp.ml
awk 'NR!~/^(127|139)$/' cpdfstrftime.ml > tmp.ml
cp tmp.ml cpdfstrftime.ml
make
2 changes: 1 addition & 1 deletion clean
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rm *.h *.c tmp.ml pdf*.ml pdf*.mli cpdf*.ml cpdf*.mli *.cmi *.cmo *.br *.gz foo.diff
rm *.h *.c tmp.ml pdf*.ml pdf*.mli cpdf*.ml cpdf*.mli auto.ml *.cmi *.cmo *.br *.gz foo.diff
rm -rf testoutputs/* manual
rm jsdoc.js cpdf.*.js cpdflib.*.js
make clean
4 changes: 2 additions & 2 deletions exports.ml
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ let _ =
checkerror (Cpdf.getMajorVersion pdf)
method isLinearized filename =
checkerror_bool (Cpdf.isLinearized (Js.to_string filename))
method isLinearizedMemory data =
checkerror_bool (Cpdf.isLinearizedMemory (data_in data))
(*method isLinearizedMemory data =
checkerror_bool (Cpdf.isLinearizedMemory (data_in data)) *) (* FIXME Why is this gone? *)
method getTitle pdf =
checkerror (Js.string (Cpdf.getTitle pdf))
method getAuthor pdf =
Expand Down

0 comments on commit e1b32ad

Please sign in to comment.