From 5d4cad9c02e9d4f31477fed0e3b20b35c83936f8 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Wed, 20 Jun 2012 11:20:57 -0400 Subject: 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. --- TODO | 40 +++++++--------------------------------- 1 file changed, 7 insertions(+), 33 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 0083c89f..6e998f2c 100644 --- a/TODO +++ b/TODO @@ -1,35 +1,12 @@ Next ==== - * Get rid of off_t. size_t is okay. Use autoconf to figure out what - type to use for offsets. - - * Get rid of int/size_t/off_t inconsistencies. MSVC 2010 can find - these if you add /w14267 to the compilation. We might want to do - this by default. The easiest way to fix this on Windows is to - modify msvc.mk to add this to both cl /c lines and run - - make 2>&1 | tee build.log - - * Deal with portability issues from gcc 4.7. See portability.patch - from debian package. +*** ABI changes have been made. build.mk has been updated. * Do a Windows 64-bit build. MSVC 2010 Professional x86_64 verified to build and test cleanly in 2.3.1. Hopefully the next release will include 64-bit binary distributions and external libraries. - * Provide an option to copy encryption parameters from another file. - This would make it possible to decrypt a file, manually work with - it, and then re-encrypt it using the original encryption parameters - including a possibly unknown owner password. - - * See if I can support the new encryption formats mentioned in the - open bug on sourceforge. Check other sourceforge bugs. - - -Better 64-bit support on Windows -================================ - * Building 64-bit libraries with MSVC works with existing build.sh as long as the x86_64 version of the compiler is in the path. Currently this generates 32-bit mingw and 64-bit msvc. We need to @@ -38,16 +15,13 @@ Better 64-bit support on Windows only been verified with MSVC 2010 so far; we still need to get it working with 64-bit mingw. - * Get rid of int/size_t/off_t inconsistencies. MSVC 2010 can find - these if you add /w14267 to the compilation. We might want to do - this by default. The easiest way to fix this on Windows is to - modify msvc.mk to add this to both cl /c lines and run - - make 2>&1 | tee build.log - - Then, from emacs, compile with command cat build.log. + * Provide an option to copy encryption parameters from another file. + This would make it possible to decrypt a file, manually work with + it, and then re-encrypt it using the original encryption parameters + including a possibly unknown owner password. - This will probably require ABI changes, but it seems worth doing. + * See if I can support the new encryption formats mentioned in the + open bug on sourceforge. Check other sourceforge bugs. General -- cgit v1.2.3-70-g09d2