1. eddc355 Actually, we need to increase the size of BUFSIZE, not just the size of _buffer. The previous patch might have cause problems if, for instance, state->free_in_buffer was 127 but 129 bytes were compressed. In that case, only 127 of the 129 bytes would have been written to the file. Also document the fix. by DRC · 10 years ago
  2. 29823fa Fix an extremely rare crash that can occur when compressing a very high-frequency MCU using quality 100 and no subsampling, and when dynamically allocating the JPEG buffer in the destination manager. Even with a test program designed specifically to reproduce the crash, it only occurred once in about 25 million iterations. More details here: https://sourceforge.net/p/libjpeg-turbo/bugs/64 by DRC · 10 years ago
  3. d2a7495 Make the wrapped functions static by DRC · 10 years ago
  4. b7c8c86 Whitespace formatting tweaks by DRC · 10 years ago
  5. e31e494 Allow the int pixel versions of the various TurboJPEG JNI functions to share the same code as the byte pixel versions. by DRC · 10 years ago
  6. 3276045 Add descriptions to help sort out which function goes with which version of the API. by DRC · 10 years ago
  7. fa8bcb8 Compiler warnings by DRC · 10 years ago
  8. cdcac99 Clean up exception handling in the JNI code. The exception is actually not thrown until the function exits, so we can let the code fall through to bailout: if the TurboJPEG C function fails. Also, per the JNI spec, no other JNI functions can be called between GetPrimitiveArrayCritical() and ReleasePrimitiveArrayCritical(). This hasn't caused any problems thus far, but better safe than sorry. by DRC · 10 years ago
  9. d13df21 Clean up notes using the doxygen @note command by DRC · 10 years ago
  10. 983503e Fix a display issue in the documentation for tjDecompress2() (doxygen treats a star at the beginning of the line as a list bullet); make the documentation more readable by displaying fixed-width text (which is used to refer to variables and functions) in a different color. by DRC · 10 years ago
  11. 8214555 Include "Installed-Size" field in the deb-control file to prevent Ubuntu from complaining by DRC · 10 years ago
  12. 3da1033 Big oops. wrjpgcom on Windows was being built using the rdjpgcom source. by DRC · 10 years ago
  13. a81f542 Big oops. wrjpgcom on Windows was being built using the rdjpgcom source. by DRC · 10 years ago
  14. 2384331 Prevent a buffer overrun if the comment begins with a literal quote character and the string exceeds 65k characters. Also prevent comments longer than 65k characters from being written, since this will produce an incorrect JPEG file. by DRC · 10 years ago
  15. 88c7e30 Our copyright string is longer than JMSG_LENGTH_MAX, and this was causing a buffer overrun if output_message() was called with msg_code set to JMSG_COPYRIGHT, or if format_message() was called with msg_code set to JMSG_COPYRIGHT and with a buffer of length JMSG_LENGTH_MAX. by DRC · 10 years ago
  16. d7a2559 Our copyright string is longer than JMSG_LENGTH_MAX, and this was causing a buffer overrun if output_message() was called with msg_code set to JMSG_COPYRIGHT, or if format_message() was called with msg_code set to JMSG_COPYRIGHT and with a buffer of length JMSG_LENGTH_MAX. by DRC · 10 years ago
  17. d88f7dd Further copyright header cleanup by DRC · 10 years ago
  18. 6408628 Clean up code formatting in the SIMD interface functions by DRC · 10 years ago
  19. 3b489c3 Minor tweak to improve code readability by DRC · 10 years ago
  20. 976fd96 The x86/x86-64 SIMD extensions were originally designed to accommodate changing the value of RGB_*, but this apparently broke when RGB-to-gray colorspace conversion was accelerated. Further, the ARM NEON extensions have always assumed that JCS_RGB behaves identically to JCS_EXT_RGB. Rather than fix these issues, it makes more sense to just stop claiming that we support changing the values of RGB_*, since doing so is no longer necessary. by DRC · 10 years ago
  21. 90d6c38 Document -rgb option in djpeg man page; "gray-scale"="grayscale" by DRC · 10 years ago
  22. 333e918 Use 2-space indentation for the enums, to be consistent with the structs by DRC · 10 years ago
  23. 05524e6 Document the fact that the fast integer FDCT is not fully accelerated for quality levels above 97 + additional wordsmithing by DRC · 10 years ago
  24. 8940e6c Provide a more thorough description of the trade-offs between the various DCT/IDCT algorithms, based on new resarch by DRC · 10 years ago
  25. b775351 Convert tabs to spaces in the libjpeg code and the SIMD code (TurboJPEG retains the use of tabs for historical reasons. They were annoying in the libjpeg code primarily because they were not consistently used and because they were used to format as well as indent the code. In the case of TurboJPEG, tabs are used just to indent the code, so even if the editor assumes a different tab width, the code will still be readable.) by DRC · 10 years ago
  26. 393bac6 Android build instructions by DRC · 10 years ago
  27. 425c5a5 Wordsmithing by DRC · 10 years ago
  28. 61976bd We use __CHAR_UNSIGNED__ (automatically defined by the AC_C_CHAR_UNSIGNED macro) rather than CHAR_IS_UNSIGNED (defined by custom autoconf code in libjpeg that we didn't port over), although I doubt it matters on any of the platforms we support. by DRC · 10 years ago
  29. ff6961f This patch accomplishes the following: by DRC · 10 years ago
  30. beb0b33 Work around an issue in Visual C++ 2010 and 2013 that was causing the 256-bit bitmap test in the regression tests to fail. More specifically, when optimization is enabled in these versions of Visual C++, the optimizer seems to get confused by the following code block: by DRC · 10 years ago
  31. b1398cb Prevent svn:mergeinfo from being modified on Makefile.am and simd/jsimd*.c every time a merge is done. by DRC · 10 years ago
  32. ac9a92e Work around an issue in Visual C++ 2010 and 2013 that was causing the 256-bit bitmap test in the regression tests to fail. More specifically, when optimization is enabled in these versions of Visual C++, the optimizer seems to get confused by the following code block: by DRC · 10 years ago
  33. 06fa20d 1.3.2 by DRC · 10 years ago
  34. fe9c907 Minor comment correction (we support the full range of IDCT scaling factors now.) by DRC · 10 years ago
  35. d0c9f0c Clarify how to do a 64-bit build using the Visual Studio IDE by DRC · 10 years ago
  36. 4d2ff7d Update Windows build instructions by DRC · 10 years ago
  37. 0c989d9 Fix warnings about unused variables when building with GCC 4.8.x by DRC · 10 years ago
  38. c2caad0 Fix compiler warning ("always_inline function might not be inlinable") when building with recent versions of GCC; Unix EOL by DRC · 10 years ago
  39. 9fe22da Set the BUILD environment variable properly when building with MinGW implementations that lack a Unix shell (TDM-GCC, for instance); Only set CMP0022 if it is supported (older CMake implementations don't support it); Remove trailing spaces by DRC · 10 years ago
  40. 9a341f8 Remove trailing spaces by DRC · 10 years ago
  41. 51d6bb3 Modify svn:ignore so that it lists only files generated in-tree by autoreconf -fiv. It's pretty much impossible to maintain an up-to-date list of files generated by the actual build, so we'll just assume that the user will do an out-of-tree build if they want to avoid cluttering up their 'svn status' display. by DRC · 11 years ago
  42. 26c6606 Make iOS build instructions more generic and applicable to all versions of Xcode; modify iOS build procedure for Xcode 5.0 and later to fix a build issue with Xcode 5.1. by DRC · 11 years ago
  43. c8b0226 by DRC · 11 years ago
  44. 7a9faae Since we're now maintaining our own Cygwin pseudo-repository directories instead of recommending that users install these packages from a local source, it makes more sense to name the packages according to Cygwin specs, so they can be copied as-is into the pseudo-repository. by DRC · 11 years ago
  45. 3064cf7 RHEL 6 (and probably other platforms as well) sets _defaultdocdir=%{_datadir}/doc, which screws things up, since we're overriding _datadir. Since we intend _defaultdocdir to be /usr/share/doc, just be explicit about it. by DRC · 11 years ago
  46. fc9995e Prevent svn:mergeinfo from being modified on Makefile.am and simd/jsimd*.c every time a merge is done. by DRC · 11 years ago
  47. 506a742 Fix compiler warning about unused function when building with the libjpeg v6b API/ABI by DRC · 11 years ago
  48. ad64b5a Fix compiler warning ("always_inline function might not be inlinable") when building with recent versions of GCC by DRC · 11 years ago
  49. c7e10b2 Enable silent build (can be overridden with 'make V=1') if the version of autotools being used is new enough. by DRC · 11 years ago
  50. 2ae7918 Fix an error that occurred when trying to use the lossless transform feature without specifying -quiet; formatting tweak by DRC · 11 years ago
  51. 88f260c Move the garbage collection of the JPEG tiles into the decompression function to increase the chances that tiled decompression of large images will succeed without an OutOfMemoryError. by DRC · 11 years ago
  52. 40a0a02 Update (C) year by DRC · 11 years ago
  53. 695b6e8 Don't use deprecated constructor by DRC · 11 years ago
  54. aa255e2 Doc tweaks by DRC · 11 years ago
  55. bcb5f02 Go ahead and deprecate the old constructor in 1.3.1 instead of in 1.4, since it uses a deprecated method by DRC · 11 years ago
  56. c33347c Add @Deprecated to the deprecated Java methods, so javac will actually print deprecation warnings, as opposed to just listing the methods as deprecated in javadoc; remove the use of the deprecated methods by our own test programs. by DRC · 11 years ago
  57. df42b3c Whitespace tweaks by DRC · 11 years ago
  58. dd59233 Fix a segfault that would occur in decompress-only mode if -alloc was specified without -tile. by DRC · 11 years ago
  59. a15f19f Wordsmithing & formatting tweaks by DRC · 11 years ago
  60. d4b453c Back-port the -subsamp option from 1.4 rather than use the hackish approach of replacing 4:2:2 with 4:4:0. This has the added advantage of allowing the user to test only a specific level of subsampling. by DRC · 11 years ago
  61. db0e279 Oops. This was apparently the victim of an overly aggressive search/replace. by DRC · 11 years ago
  62. 5eb1efa Silence warning in CMake 2.8.12 and later by DRC · 11 years ago
  63. d45c549 Fix the build of the Java classes when using MSVC 2010 and later. Something in the recesses of my brain is telling me that I tried this before and it failed under some circumstances, but it must have been a bug in an older CMake implementation. CMake 2.8.8 and later seem to work fine with this patch. This patch also updates the minimum required version to 2.8.8, because 2.8.8 fixed another issue that was preventing the SIMD code from building under MSVC 2010 and later. by DRC · 11 years ago
  64. 05d24e8 Fix Windows build by DRC · 11 years ago
  65. 42aeac3 Formatting tweaks by DRC · 11 years ago
  66. 4798b7e Add a blank line before the alpha-enabled colorspace tests in order to improve readability by DRC · 11 years ago
  67. 50cfc46 Oops. We need to call start_pass() on the color converter in order to allocate the conversion tables used by the plain C code. by DRC · 11 years ago
  68. 84c25cb Oops. We need to call start_pass() on the color converter in order to allocate the conversion tables used by the plain C code. by DRC · 11 years ago
  69. ea657b2 Fix regression introduced in r1128 that caused SIMD detection to malfunction for ARM platforms (and probably ARM64 and MIPS as well.) by DRC · 11 years ago
  70. e2ce3b5 Remove unused code (the destination manager is not used during YUV encoding, there are no virtual arrays to realize, and jinit_c_prep_controller() is unnecessary because we are not using smoothing.) by DRC · 11 years ago
  71. ffa5e59 Fix autoconf warnings by DRC · 11 years ago
  72. 5aec4af Use C-style comments by DRC · 11 years ago
  73. c7a3246 Remove unused code (the destination manager is not used during YUV encoding, there are no virtual arrays to realize, and jinit_c_prep_controller() is unnecessary because we are not using smoothing.) by DRC · 11 years ago
  74. 693f4a5 Fix an issue that prevented tjEncodeYUV2() and TJCompressor.encodeYUV() from working properly if the source image was very tiny. Basically, jpeg_start_compress() was attempting to write the JPEG headers, which was overrunning the YUV buffer. This patch removes the call to jpeg_start_compress() in tjEncodeYUV2() and replaces it with calls to the individual routines that are necessary to initialize the color converter and downsampler. TJUnitTest has also been modified to test for this condition (the buffer size regression test now works in YUV mode.) by DRC · 11 years ago
  75. 2c0c807 Fix an issue that prevented tjEncodeYUV2() and TJCompressor.encodeYUV() from working properly if the source image was very tiny. Basically, jpeg_start_compress() was attempting to write the JPEG headers, which was overrunning the YUV buffer. This patch removes the call to jpeg_start_compress() in tjEncodeYUV2() and replaces it with calls to the individual routines that are necessary to initialize the color converter and downsampler. TJUnitTest has also been modified to test for this condition (the buffer size regression test now works in YUV mode.) by DRC · 11 years ago
  76. 2885cf5 Further examination of the code reveals that this change is unnecessary. The histogram stores a count of each color in the image, so it will always contain at least one non-zero element, and thus the total can never be zero. Since the histogram is generated from the image data and not read from the header, there is no chance that header corruption would affect it. by DRC · 11 years ago
  77. d4ab63d Fix several potential overflow issues identified by the community. by DRC · 11 years ago
  78. 88dee58 Formatting tweak by DRC · 11 years ago
  79. e189ec7 Remove trailing space by DRC · 11 years ago
  80. 3e00f03 Formatting tweaks by DRC · 11 years ago
  81. 8d55c88 Include instructions for building iOS binaries using Xcode 4.6.x and Xcode 5.0. by DRC · 11 years ago
  82. b3a028e Per the conventions of the image compression and digital video communities, use "YCbCr" to describe the JPEG colorspace and "YUV" to describe an image format consisting of Y, Cb, and Cr planes (this partially reverts r959.) by DRC · 11 years ago
  83. 5a7e9e5 Per the conventions of the image compression and digital video communities, use "YCbCr" to describe the JPEG colorspace and "YUV" to describe an image format consisting of Y, Cb, and Cr planes (this partially reverts r959.) by DRC · 11 years ago
  84. 43d8cf4 Fix CVE-2013-6629 and CVE-2013-6630 by DRC · 11 years ago
  85. 7ebf294 Fix CVE-2013-6629 and CVE-2013-6630 by DRC · 11 years ago
  86. cb92dcc Make documentation viewable directly from http://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x by DRC · 11 years ago
  87. e163653 Back-port code from jpeg-8 that removes unpopulated (and unneeded) tables for AC and DC coefficients when generating progressive JPEG files with arithmetic coding. This should make such files bitwise compatible with jpeg-8, barring any other mathematical differences (such as the different subsampling algorithm used in jpeg-8.) Add regression tests for progressive+arithmetic JPEG files. by DRC · 11 years ago
  88. 5829cb2 The Independent JPEG Group's JPEG software v8d by Guido Vollbeding · 13 years ago
  89. c39ec14 The Independent JPEG Group's JPEG software v8c by Guido Vollbeding · 14 years ago
  90. a4ecaac The Independent JPEG Group's JPEG software v8b by Guido Vollbeding · 14 years ago
  91. f18f81b The Independent JPEG Group's JPEG software v8a by Guido Vollbeding · 15 years ago
  92. 989630f The Independent JPEG Group's JPEG software v8 by Guido Vollbeding · 15 years ago
  93. 5996a25 The Independent JPEG Group's JPEG software v7 by Guido Vollbeding · 15 years ago
  94. 1e247ac The Independent JPEG Group's JPEG software v6b with arithmetic coding support by Guido Vollbeding · 27 years ago
  95. 5ead57a The Independent JPEG Group's JPEG software v6b by Thomas G. Lane · 27 years ago
  96. 489583f The Independent JPEG Group's JPEG software v6a by Thomas G. Lane · 29 years ago
  97. bc79e06 The Independent JPEG Group's JPEG software v6 by Thomas G. Lane · 29 years ago
  98. a8b67c4 The Independent JPEG Group's JPEG software v5b by Thomas G. Lane · 30 years ago
  99. 9ba2f5e The Independent JPEG Group's JPEG software v5a by Thomas G. Lane · 30 years ago
  100. 36a4ccc The Independent JPEG Group's JPEG software v5 by Thomas G. Lane · 30 years ago