Jay Berkenbilt
bf059a6001
Replace the 8-bit characters with \x.. in QPDFWriter.cc
...
This just makes it safer to pull up this file in an editor.
2012-06-23 09:05:06 -04:00
Jay Berkenbilt
6c0af0844c
Switch some code to use empty newArray/newDictionary
2012-06-22 10:09:42 -04:00
Jay Berkenbilt
b6bdc0f595
Add factory methods for creating empty arrays and dictionaries.
...
Also updated pdf_from_scratch test driver to use the new factories,
and made some cosmetic improvements and documentation updates for the
emptyPDF() method.
2012-06-22 09:46:33 -04:00
Jay Berkenbilt
a0768e4190
Add QPDF::emptyPDF() and pdf_from_scratch test code
2012-06-21 23:09:05 -04:00
Jay Berkenbilt
9eb8c9159b
Update TODO file
2012-06-21 21:24:54 -04:00
Jay Berkenbilt
30dbf94f53
Fix order of build flags.
...
Place user-specified CPPFLAGS and LDFLAGS later so that user-specified
non-standard paths that have old versions of qpdf don't cause the
build to fail.
2012-06-21 21:24:06 -04:00
Jay Berkenbilt
81e8752362
Use qpdf_offset_t in place of off_t in public APIs.
...
off_t is used internally only when needed to talk to standard
libraries. This requires that the "long long" type be supported by
the compiler.
2012-06-21 21:23:24 -04:00
Jay Berkenbilt
c833295a39
Adjust Windows built to support 32-bit and 64-bit builds
...
Update the build to support new external-libs layout, and autoconf
options to specify windows word size. Split make_windows_releases
into multiple scripts.
2012-06-21 21:22:35 -04:00
Jay Berkenbilt
85d9e7dfed
Fix version pattern for configure.ac
2012-06-21 17:28:19 -04:00
Jay Berkenbilt
c2e5ca48e0
ChangeLog entry for pkg-config files
2012-06-21 16:40:31 -04:00
Jay Berkenbilt
717fbbd25b
Add doc files to .gitignore
2012-06-21 16:36:34 -04:00
Jay Berkenbilt
f7e53c6d74
Add pkg-config support
2012-06-21 16:36:34 -04:00
Jay Berkenbilt
9cdaa76b52
note to add pkg-config
2012-06-21 16:15:09 -04:00
Jay Berkenbilt
d1ebe30ff6
Add QPDFObjectHandle::shallowCopy()
2012-06-21 16:15:09 -04:00
Jay Berkenbilt
9689f4cdcf
Use getRoot() instead of looking it up in the trailer
2012-06-21 16:15:09 -04:00
Jay Berkenbilt
11d33a45fa
Iterate of /Info's keys, not trailer's keys, to seed /ID
...
Thanks Tobias Hoffmann for noticing the error.
2012-06-21 15:52:53 -04:00
Jay Berkenbilt
476ce7c407
ChangeLog entries for page API
2012-06-21 15:28:58 -04:00
Jay Berkenbilt
1b364ad7b8
Add additional page API test cases
2012-06-21 15:27:32 -04:00
Jay Berkenbilt
ba61c3aef0
Updates to TODO file
2012-06-21 15:04:45 -04:00
Jay Berkenbilt
3844aedd93
Add testing for page APIs
2012-06-21 15:01:02 -04:00
Jay Berkenbilt
eb802cfa8c
Implement page manipulation APIs
2012-06-21 15:01:02 -04:00
Jay Berkenbilt
e01ae1968b
Split page handling APIs into a separate source file
2012-06-21 15:01:02 -04:00
Jay Berkenbilt
df493c352f
Refactor optimizePagesTree
...
Split optimizePagesTree into a simpler top-level routine and a
recursive internal routine.
2012-06-21 15:01:02 -04:00
Tobias Hoffmann
5d3f93be29
Added first version of pages API.
2012-06-21 15:01:02 -04:00
Tobias Hoffmann
405a549f8c
Make QPDFObjectHandle::assertPageObject() public.
...
The method is helpful in other places, like the upcoming QPDF::addPage, too.
2012-06-21 15:01:02 -04:00
Tobias Hoffmann
47a846a7e0
Added method to clear pages cache.
2012-06-21 15:01:02 -04:00
Jay Berkenbilt
3b413ca87c
Fix typo in comment
2012-06-21 15:00:58 -04:00
Jay Berkenbilt
f59ff6fcc2
fix include order for off_t
2012-06-21 14:11:22 -04:00
Jay Berkenbilt
fbe68d63f0
fix doc comment
2012-06-21 10:59:33 -04:00
Jay Berkenbilt
bbfaf43235
Fix spelling of Tobias's last name. Sorry about that!
2012-06-21 10:58:00 -04:00
Jay Berkenbilt
bc1c4bb578
Add QPDF::processFile that takes an open FILE*
2012-06-21 08:00:35 -04:00
Jay Berkenbilt
ed6a56a3cd
add ChangeLog entries for previous work
2012-06-21 08:00:35 -04:00
Jay Berkenbilt
91d175452d
Add testing for new array mutators
2012-06-20 15:29:44 -04:00
Tobias Hoffmann
db7474e0fa
Added additional array mutators
...
Added methods to append to arrays, insert items into arrays, and
replace array contents with a vector of items.
2012-06-20 15:29:44 -04:00
Jay Berkenbilt
b2e6818935
Fix wording error in error message
2012-06-20 15:29:42 -04:00
Jay Berkenbilt
5d4cad9c02
ABI change: fix use of off_t, size_t, and integer types
...
Significantly improve the code's use of off_t for file offsets, size_t
for memory sizes, and integer types in cases where there has to be
compatibility with external interfaces. Rework sections of the code
that would have prevented qpdf from working on files larger than 2 (or
maybe 4) GB in size.
2012-06-20 15:20:26 -04:00
Jay Berkenbilt
24e2b2b76f
Fix gcc 4.7 warnings about C++11
2012-06-20 15:18:14 -04:00
Jay Berkenbilt
b856379370
Portability issues: off_t, unlink
...
New header qpdf/Types.h attempts to make sure size_t and off_t are
defined on any platform and in a way that would work with large file
support. Additionally, missing header files are included to get
unlink.
2012-06-20 15:18:14 -04:00
Jay Berkenbilt
92c94e7df2
Add symbol versioning
...
For ELF systems, turn on versioned symbols by default, and add a
configure option to enable or disable them.
2012-06-20 15:18:12 -04:00
Jay Berkenbilt
81fc594342
Remove extraneous execute bits
2012-06-20 15:18:08 -04:00
Jay Berkenbilt
7dbd1cc072
Update autoconf and libtool files
2012-06-20 08:50:33 -04:00
Jay Berkenbilt
a04de932d2
to-do updates for planned work
2012-06-16 20:35:16 -04:00
Jay Berkenbilt
d59600d63b
update README for github
2012-06-03 13:42:01 -04:00
Jay Berkenbilt
e1a60126b3
create signed release tags
2012-06-03 13:39:09 -04:00
Jay Berkenbilt
17de39a6a0
notes for portability fixes
2012-05-19 09:23:00 -04:00
Jay Berkenbilt
271dcb3ac0
fix typo in manual page
...
Thanks A. Costa for reporting the error.
2012-04-06 21:48:20 -04:00
Jay Berkenbilt
01bcda8974
fix PCRE calls to remove use of deprecated API
...
pcre_info -> pcre_fullinfo. Closes issue 3489349. Thanks Tim Harder.
2012-04-06 21:47:46 -04:00
Jay Berkenbilt
e3c9512b25
notes on symbol versioning
2012-02-11 12:49:47 -05:00
Jay Berkenbilt
8e9fe21316
Update for 2.3.1
2011-12-28 17:19:40 -05:00
Jay Berkenbilt
92f0207de8
fix MSVC 2010 issues
2011-12-28 16:40:33 -05:00