Jay Berkenbilt
956c8f6432
Obscure bug fix copying foreign streams in special cases ( fixes #449 )
...
Specifically, if a stream had its stream data replaced and had
indirect /Filter or /DecodeParms, it would result in non-silent loss
of data and/or internal error.
2020-10-21 19:23:23 -04:00
Jay Berkenbilt
cfafac8d13
Create a minimal Linux binary distribution ( fixes #352 )
...
This is suitable for use as a Lambda layer in AWS, inclusion in a
docker container, or other places where a minimal binary distribution
is desired.
2020-10-21 10:07:34 -04:00
Jay Berkenbilt
56d96e2260
Add --disable-rpath to configure ( fixes #422 )
2020-10-20 17:18:20 -04:00
Jay Berkenbilt
30df7c886c
Make QTEST_COLOR=1 force qtest to print in color
2020-10-16 14:16:23 -04:00
Jay Berkenbilt
ff65e272a8
Fix printf formatting for newer msvc
...
Use autoconf rather than ifdefs to determine what format string to use
for long long.
2020-10-16 07:02:23 -04:00
Jay Berkenbilt
388990f7bc
Rewrite fix-qdf in C++
2020-01-14 11:53:19 -05:00
Jay Berkenbilt
07da0039d3
Link with setargv or wsetargv with MSVC ( fixes #224 )
...
For wildcard expansion to work properly with the msvc binary, it is
necessary to link with setargv.obj or wsetargv.obj, depending on
whether wmain is in use.
2019-11-09 18:50:42 -05:00
Jay Berkenbilt
1639d972ea
Run libtests for crypto with all available providers
...
If QPDF_CRYPTO_PROVIDER is set, just run the tests for the given
provider. This is to support cases of running the entire test suite
for each provider. If QPDF_CRYPTO_PROVIDER is not set, run the tests
that exercise the cyrpto provider for each available provider.
2019-11-09 09:53:42 -05:00
Jay Berkenbilt
f2ef161261
Override umask on install ( fixes #326 )
2019-06-22 16:57:52 -04:00
Jay Berkenbilt
ade8e2cd7f
Remove unused gcc-linux make rules
...
I don't want to maintain them or make anyone think they should be used.
2019-06-21 22:29:31 -04:00
Jay Berkenbilt
429ffcf397
Unicode main for Windows qpdf.cc
2019-01-17 11:43:56 -05:00
Jay Berkenbilt
e91e41034d
Specify junit suffix
2018-10-13 18:31:58 -04:00
Jay Berkenbilt
ab436eb2db
Fix typo
2018-10-11 18:32:38 -04:00
Jay Berkenbilt
449cb67915
Make windows install not fail on missing docs
...
libtool make install already works this way.
2018-10-11 17:27:54 -04:00
Jay Berkenbilt
e37ce85190
Clarify static vs. import library on Windows ( fixes #225 )
2018-08-14 16:57:37 -04:00
Jay Berkenbilt
95ba7125ff
Fix link order ( fixes #176 )
...
Specify qpdf libraries before external ones.
Specify LDFLAGS before libraries.
This should eliminate remaining cases of qpdf builds favoring
previously installed versions.
2018-02-04 14:19:00 -05:00
Jay Berkenbilt
d7d446e0b8
Remove valgrind -- address santizer is better
2017-08-28 22:28:12 -04:00
Jay Berkenbilt
46728e49cc
Fix from cygwin package maintainer
...
Resolve link error on cygwin
2017-08-24 17:41:30 -04:00
Jay Berkenbilt
84113a572f
Fix doc installation
2017-08-22 16:50:48 -04:00
Jay Berkenbilt
6219111ed7
Update references to README files
...
Most of the README files have been renamed. Refer to the new names.
2017-08-22 14:13:10 -04:00
Jay Berkenbilt
83ec09f66c
Do memory checks
...
Slightly improve memory cleanup in Pl_DCT
Make it easier to test with valgrind
2017-08-22 14:13:10 -04:00
Jay Berkenbilt
a3f872020d
Move qtest invocation into rules.mk
2017-08-16 07:57:08 -04:00
Jay Berkenbilt
e0ee307a19
Updates for newer Windows toolchain
2017-07-26 06:24:07 -04:00
Jay Berkenbilt
e8b845dd03
install target: only install docs if building
...
Don't try to install HTML or PDF documentation if we're not building
docs.
2016-09-10 14:30:47 -04:00
Jay Berkenbilt
3c5e602a1e
Windows build (msvc): target Windows 5.0.1 (XP)
...
Without this, qpdf executables work only on Vista or newer.
Fixes #35
2014-06-07 17:16:50 -04:00
Jay Berkenbilt
88c29873e5
Add /FS flag (msvc) for parallel builds
2013-11-30 15:58:32 -05:00
Jay Berkenbilt
197af341de
Use ./install-sh instead of install -c
2013-03-07 11:29:56 -05:00
Jay Berkenbilt
7276ab934d
Use -Wold-style-cast for C++ if supported
...
Also separate C and C++ warning flags.
2013-03-04 16:45:15 -05:00
Jay Berkenbilt
a11081085b
Handle warning flags better
...
Make --enable-werror work properly on msvc, handle extra warnings
flags for msvc in configure.ac instead of hardcoding into
make/msvc.mk, separate warnings flags into WFLAGS in autoconf.mk to
avoid duplication and to make it easier to override.
2013-03-04 16:45:15 -05:00
Jay Berkenbilt
7e7c93951f
Do not remove libqpdf.la
...
Some distributions (like debian) don't want .la files to be installed,
but the responsibility for doing this should like in the packaging,
not in qpdf itself.
2013-01-31 16:16:45 -05: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
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
f7e53c6d74
Add pkg-config support
2012-06-21 16:36:34 -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
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
7dbd1cc072
Update autoconf and libtool files
2012-06-20 08:50:33 -04:00
Jay Berkenbilt
a8a95fba47
disable -Werror by default, don't strip shared libraries and executables during install
...
git-svn-id: svn+q:///qpdf/trunk@1058 71b93d88-0707-0410-a8cf-f5a4172ac649
2011-06-23 18:40:37 +00:00
Jay Berkenbilt
b282fd818d
further tweaking of dll creation to deal with msys shell issues
...
git-svn-id: svn+q:///qpdf/trunk@1008 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-08 22:29:49 +00:00
Jay Berkenbilt
bc91aa2945
tweak shared library creation
...
git-svn-id: svn+q:///qpdf/trunk@1007 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-08 22:13:24 +00:00
Jay Berkenbilt
c9e5fe6f43
use revision - age on windows like on linux
...
git-svn-id: svn+q:///qpdf/trunk@1003 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-08 21:07:14 +00:00
Jay Berkenbilt
b84b698a17
add optimization to cl
...
git-svn-id: svn+q:///qpdf/trunk@881 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-23 03:44:51 +00:00
Jay Berkenbilt
6e7e9be94a
retest windows install
...
git-svn-id: svn+q:///qpdf/trunk@865 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-22 17:53:21 +00:00
Jay Berkenbilt
ac4d4dab7f
call copy_dlls
...
git-svn-id: svn+q:///qpdf/trunk@864 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-22 17:43:13 +00:00
Jay Berkenbilt
82c4a8ff0f
push install down a level
...
git-svn-id: svn+q:///qpdf/trunk@861 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-22 15:57:41 +00:00
Jay Berkenbilt
3bbd269775
typo
...
git-svn-id: svn+q:///qpdf/trunk@860 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-22 15:43:14 +00:00
Jay Berkenbilt
8c653d5cac
typo
...
git-svn-id: svn+q:///qpdf/trunk@859 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-22 15:42:42 +00:00
Jay Berkenbilt
96bc48a4e0
windows install fixes
...
git-svn-id: svn+q:///qpdf/trunk@858 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-22 15:42:09 +00:00
Jay Berkenbilt
1426b4002a
make the install directory
...
git-svn-id: svn+q:///qpdf/trunk@857 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-22 15:40:31 +00:00
Jay Berkenbilt
1fc7c89cb4
revamp install targets
...
git-svn-id: svn+q:///qpdf/trunk@854 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-22 15:20:41 +00:00
Jay Berkenbilt
27ee889c0e
tweak dll stuff again
...
git-svn-id: svn+q:///qpdf/trunk@851 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-21 01:45:13 +00:00