lp:~rsalveti/libjpeg-turbo/libjpeg-turbo-trunk
- Get this branch:
- bzr branch lp:~rsalveti/libjpeg-turbo/libjpeg-turbo-trunk
Branch merges
Branch information
Import details
This branch is an import of the Subversion branch from https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo/trunk.
Last successful import was .
Recent revisions
- 1098. By dcommander
-
Throw idiomatic unchecked exceptions from the Java classes and JNI wrapper if there is an unrecoverable error caused by incorrect API usage (such as illegal arguments, etc.), and throw Errors if there is an unrecoverable error at the C level (such as a failed malloc() call.)
Change the behavior of the bailif0() macro in the JNI wrapper so that it doesn't throw an exception for an unexpected NULL condition. In fact, in all cases, the underlying JNI API function (such as GetFieldID(), etc.) will throw an Error on its own whenever it returns NULL, so our custom exceptions were never being thrown in that case anyhow. All we need to do is just detect the error and bail out of the C code.
This also corrects a couple of formatting issues (semicolons aren't needed at the end of class definitions, and @Override should be specified for the methods we're overriding from super-classes, so the compiler can sanity-check that we're actually overriding a method and not declaring a new one.)
- 1097. By dcommander
-
Allow TJCompressor and TJDecompressor to be used with a try-with-resources statement in Java 7 and later.
- 1096. By dcommander
-
Add additional protections against defining INT32 if another header has already defined it (code borrowed from libjpeg v8.) This isn't necessary when using the libjpeg-turbo build system on Windows, because the CMake generated jconfig.h defines INT32 and then defines XMD_H to trick jmorecfg.h into not redefining it. However, some projects build libjpeg-turbo using their own build systems.
- 1092. By dcommander
-
Fix compiler warnings in jpeg_skip_
scanlines( ) when building under Visual Studio. - 1091. By dcommander
-
Add regression tests for jpeg_skip_
scanlines( ); change "stripe" to "strip" in djpeg; document -strip and -skip parameters in djpeg - 1090. By dcommander
-
Fix a couple of seg faults discovered when testing the new jpeg_skip_
scanlines( ) function + remove comment that is no longer relevant.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)