]>
granicus.if.org Git - openjpeg/log
Mathieu Malaterre [Fri, 28 Feb 2014 16:04:11 +0000 (16:04 +0000)]
[trunk] Make sure to run *-decode-md5 only after *-decode tests. Update md5 since recent code change.
Mathieu Malaterre [Fri, 28 Feb 2014 16:01:07 +0000 (16:01 +0000)]
[trunk] Remove easy uint32 <-> int32 conversions
Mathieu Malaterre [Fri, 28 Feb 2014 15:27:30 +0000 (15:27 +0000)]
[trunk] Re-import chunk from r2458 that made textGBR.jp2 to fail otherwise
Update issue 225
Mathieu Malaterre [Fri, 28 Feb 2014 15:24:33 +0000 (15:24 +0000)]
[trunk] Rework r2458, instead we should reject 451.pdf.SIGSEGV.ce9.3723 since tile-parts are out of order (as per kakadu behavior).
Update issue 225
Mathieu Malaterre [Fri, 28 Feb 2014 15:14:53 +0000 (15:14 +0000)]
[trunk] Mark a file as being invalid for opj_dump
Mathieu Malaterre [Fri, 28 Feb 2014 14:54:37 +0000 (14:54 +0000)]
[trunk] Fix JPIP test with updated md5sum
Mathieu Malaterre [Fri, 28 Feb 2014 14:52:58 +0000 (14:52 +0000)]
[trunk] Really apply r2460 this time, but fix the original typo in the submitted patch
Update issue 225
Mathieu Malaterre [Fri, 28 Feb 2014 14:38:45 +0000 (14:38 +0000)]
[trunk] final round of minor cleanups
Mathieu Malaterre [Fri, 28 Feb 2014 14:31:01 +0000 (14:31 +0000)]
[trunk] Remove PNG generation code for now
Mathieu Malaterre [Fri, 28 Feb 2014 14:23:30 +0000 (14:23 +0000)]
[trunk] Prefer strcpy since it copies trailing 0 directly
Mathieu Malaterre [Fri, 28 Feb 2014 14:17:30 +0000 (14:17 +0000)]
[trunk] Simplify code to centralize code cleanup
Mathieu Malaterre [Fri, 28 Feb 2014 13:59:59 +0000 (13:59 +0000)]
[trunk] Some code cleanup add sentinels
Mathieu Malaterre [Fri, 28 Feb 2014 13:19:03 +0000 (13:19 +0000)]
[trunk] Remove a simple warning, and use static to detect unused functions. Simplify function declarations.
Mathieu Malaterre [Fri, 28 Feb 2014 12:30:11 +0000 (12:30 +0000)]
[trunk] run test suite on dataset from issue 171
Fixes issue 171
Mathieu Malaterre [Fri, 28 Feb 2014 12:06:57 +0000 (12:06 +0000)]
[trunk] Remove some simple warnings in opj_dump
Mathieu Malaterre [Fri, 28 Feb 2014 09:52:35 +0000 (09:52 +0000)]
[trunk] Merge final patch from issue 171 with code simplification. also handles signed case properly.
Fixes issue 171
Mathieu Malaterre [Fri, 28 Feb 2014 08:28:25 +0000 (08:28 +0000)]
[trunk] Fix find_path behavior within cross-compilation execution
Mathieu Malaterre [Thu, 27 Feb 2014 17:21:00 +0000 (17:21 +0000)]
[trunk] Import patch from issue 218. No dataset to check, so blindly applied it.
Fixes issue 218
Mathieu Malaterre [Thu, 27 Feb 2014 17:04:06 +0000 (17:04 +0000)]
[trunk] Import patch from issue 171. Only the imagetoraw part was not applied.
Update issue 171
Mathieu Malaterre [Thu, 27 Feb 2014 15:00:54 +0000 (15:00 +0000)]
[trunk] Try to run test suite on invalid dataset from sumatrapdf team
Update issue 225
Mathieu Malaterre [Thu, 27 Feb 2014 14:43:17 +0000 (14:43 +0000)]
[trunk] run test suite to illustrate patch from r2458
Mathieu Malaterre [Thu, 27 Feb 2014 14:17:53 +0000 (14:17 +0000)]
[trunk] Make sure that opj_decompress only output a single component
Update issue 110
Mathieu Malaterre [Thu, 27 Feb 2014 10:03:11 +0000 (10:03 +0000)]
[trunk] add issue 46 to the test suite
Fixes issue 46
Mathieu Malaterre [Thu, 27 Feb 2014 10:02:46 +0000 (10:02 +0000)]
[trunk] improve command line parser syntax checking
Mathieu Malaterre [Thu, 27 Feb 2014 09:56:06 +0000 (09:56 +0000)]
[trunk] add a sentinel in debug code
Mathieu Malaterre [Thu, 27 Feb 2014 08:38:55 +0000 (08:38 +0000)]
[trunk] simplify code using for loop
Mathieu Malaterre [Wed, 26 Feb 2014 17:13:46 +0000 (17:13 +0000)]
[trunk] Import test case from issue 208. This appears to be fixed now.
Fixes issue 208
Mathieu Malaterre [Wed, 26 Feb 2014 16:31:27 +0000 (16:31 +0000)]
[trunk] Run test suite on dataset from issue 211. Test is now passing nicely.
Fixes issue 211
Mathieu Malaterre [Wed, 26 Feb 2014 16:20:36 +0000 (16:20 +0000)]
[trunk] run test suite on dataset from issue 135. Add fake md5sum to make sure tests is failing.
Update issue 135
Mathieu Malaterre [Wed, 26 Feb 2014 15:55:49 +0000 (15:55 +0000)]
[trunk] Update missing md5sums
Mathieu Malaterre [Wed, 26 Feb 2014 15:41:57 +0000 (15:41 +0000)]
[trunk] kakadu does not support 451.pdf.SIGSEGV.ce9.372 we should not pretend to be able to decompress it
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 15:21:03 +0000 (15:21 +0000)]
[trunk] Run test suite on issue 141. Add a fake dataset to report that test is failing.
Update issue 141
Mathieu Malaterre [Wed, 26 Feb 2014 15:14:27 +0000 (15:14 +0000)]
[trunk] Add more details in case test fails
Mathieu Malaterre [Wed, 26 Feb 2014 14:32:11 +0000 (14:32 +0000)]
[trunk] run test suite on input dataset from issue 134
Fixes issue 134
Mathieu Malaterre [Wed, 26 Feb 2014 14:28:17 +0000 (14:28 +0000)]
[trunk] fixes test NR-DEC-file409752.jp2-40-decode, use proper naming convention (need to keep file extension)
Mathieu Malaterre [Wed, 26 Feb 2014 14:24:02 +0000 (14:24 +0000)]
[trunk] add test suite for issue 142
Fixes issue 142
Mathieu Malaterre [Wed, 26 Feb 2014 14:23:30 +0000 (14:23 +0000)]
[trunk] When no output PGX file is found, report an error
Mathieu Malaterre [Wed, 26 Feb 2014 14:04:03 +0000 (14:04 +0000)]
[trunk] Add missing include dir for wx app
Mathieu Malaterre [Wed, 26 Feb 2014 14:00:21 +0000 (14:00 +0000)]
[trunk] Remove some simple warnings about cast, and unused functions
Mathieu Malaterre [Wed, 26 Feb 2014 12:54:02 +0000 (12:54 +0000)]
[trunk] Remove a simple warning about a cast
Mathieu Malaterre [Wed, 26 Feb 2014 12:33:49 +0000 (12:33 +0000)]
[trunk] revert r2460 since it breaks ETS-C1P0-p0_03.j2k-decode.
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 12:30:44 +0000 (12:30 +0000)]
[trunk] Revert r2453 since it breaks conformance test ETS-C1P1-p1_06.j2k-decode
Mathieu Malaterre [Wed, 26 Feb 2014 11:27:01 +0000 (11:27 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 1336.pdf.asan.47.376
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:26:09 +0000 (11:26 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 1888.pdf.asan.35.988
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:25:27 +0000 (11:25 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 1851.pdf.SIGSEGV.ce9.948
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:24:38 +0000 (11:24 +0000)]
[trunk] Import patch from sumatrapdf team. Start using new color space when found.
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:22:34 +0000 (11:22 +0000)]
[trunk] Import patch from sumatrapdf team. This handle some Part-2 compliant file, by being more tolerant in COLR box. No testcase for now.
Fixes issue 247
Mathieu Malaterre [Wed, 26 Feb 2014 11:21:18 +0000 (11:21 +0000)]
[trunk] Import patch from sumatrapdf team. This handle some testcase with no input dataset, but changes looks ok.
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:17:18 +0000 (11:17 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 2977.pdf.asan.67.2198
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:16:32 +0000 (11:16 +0000)]
[trunk] Import (ugly) patch from sumatrapdf team. This feels like a hack rather than a solution.
Fixes issue 226
Mathieu Malaterre [Wed, 26 Feb 2014 11:14:27 +0000 (11:14 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 3635.pdf.asan.77.2930
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:13:21 +0000 (11:13 +0000)]
[trunk] Import patch from sumatrapdf team. Original commit is
5b0c9985e3359aca9b3fcfd94424166aa61a141a .
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:11:33 +0000 (11:11 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 451.pdf.SIGSEGV.ce9.3723
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:10:40 +0000 (11:10 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 2.pdf.SIGFPE.706.1112
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:09:59 +0000 (11:09 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 1610.pdf.SIGSEGV.59c.681
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:09:20 +0000 (11:09 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 2539.pdf.SIGFPE.706.1712
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:08:25 +0000 (11:08 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 4035.pdf.SIGSEGV.d8b.3375
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:06:18 +0000 (11:06 +0000)]
[trunk] Import patch from sumatrapdf team. Add detection for testcase 1802.pdf.SIGSEGV.36e.894
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:05:31 +0000 (11:05 +0000)]
[trunk] Import patch from sumatrapdf team. Add a new function to check color box.
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:04:33 +0000 (11:04 +0000)]
[trunk] Import patch from sumatrapdf team. This patch adds new colorspace handling.
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 11:03:55 +0000 (11:03 +0000)]
[trunk] Import patch from sumatrapdf team. This adds alpha handling. This patch changes ABI.
Update issue 225
Mathieu Malaterre [Wed, 26 Feb 2014 10:48:06 +0000 (10:48 +0000)]
[trunk] Update file extension function to handle cases where filename containes multiples dots.
Update issue 250
Mathieu Malaterre [Wed, 26 Feb 2014 09:57:38 +0000 (09:57 +0000)]
[trunk] Clearly indicate that mem-
b2ace68c -1381.jp2 should not be decompressed.
Update issue 250
Mathieu Malaterre [Wed, 26 Feb 2014 09:51:37 +0000 (09:51 +0000)]
[trunk] Fix TestJPIP1 on case sensitive system
Mathieu Malaterre [Wed, 26 Feb 2014 09:47:53 +0000 (09:47 +0000)]
[trunk] regex would not be used to remove java deprecation warning from dashboard
Mathieu Malaterre [Wed, 26 Feb 2014 09:46:01 +0000 (09:46 +0000)]
[trunk] Remove simple warnings about unused functions
Mathieu Malaterre [Wed, 26 Feb 2014 09:40:19 +0000 (09:40 +0000)]
[trunk] Properly store and use value returned by fread. Also invert nmemb and size in fread call.
Fixes issue 262
Mathieu Malaterre [Wed, 26 Feb 2014 09:35:11 +0000 (09:35 +0000)]
[trunk] Fix invalid write access in JPIP code.
Fixes issue 261
Mathieu Malaterre [Tue, 25 Feb 2014 17:15:22 +0000 (17:15 +0000)]
[trunk] Run decoder on input dataset from issue 254. Add fake md5sum to make sure the test is failing.
Update issue 254
Mathieu Malaterre [Tue, 25 Feb 2014 16:53:42 +0000 (16:53 +0000)]
[trunk] deprecationg warning issued by java compiler should be ignored
Mathieu Malaterre [Tue, 25 Feb 2014 16:49:26 +0000 (16:49 +0000)]
[trunk] Create a new static *_impl function to avoid a warning triggered by the deprecation mecanism
Fixes issue 257
Mathieu Malaterre [Tue, 25 Feb 2014 16:36:26 +0000 (16:36 +0000)]
[trunk] New decoded files are passing. Adding reference files.
Update issue 225
Mathieu Malaterre [Tue, 25 Feb 2014 16:16:34 +0000 (16:16 +0000)]
[trunk] For now assume any provided stream should not get decompressed.
Update issue 225
Mathieu Malaterre [Tue, 25 Feb 2014 15:36:09 +0000 (15:36 +0000)]
[trunk] Run decoder on issue 229 test cases
Update issue 229
Mathieu Malaterre [Tue, 25 Feb 2014 14:14:56 +0000 (14:14 +0000)]
[trunk] Revert r2415 for now since it introduce large regression
Mathieu Malaterre [Tue, 25 Feb 2014 14:03:30 +0000 (14:03 +0000)]
[trunk] Import commit
87b08a096bb8ad61f9dbe4811e208d9c9d7fe63b from ghostpdl
don't define lrintf for MSVC 2013 (fix compilation breakage)
Update issue 225
Mathieu Malaterre [Tue, 25 Feb 2014 13:50:29 +0000 (13:50 +0000)]
[trunk] Import commit
4cee6ceab21025079f439bb152fb9d8ae8c5c832 from ghostpdl
Bug 694906: fix potential heap overflow in opj_t2_read_packet_header
Update issue 225
Mathieu Malaterre [Tue, 25 Feb 2014 13:39:50 +0000 (13:39 +0000)]
[trunk] import commit
83dad6a76536222a3a51146f942e733a2e90ec52 from ghostpdl
fix potential NULL-pointer dereference caused by testing the wrong variable
after opj_realloc (happens only in OOM situations)
Update issue 225
Mathieu Malaterre [Tue, 25 Feb 2014 13:38:32 +0000 (13:38 +0000)]
[trunk] Import commit
fc884aee2b69c78500e65c3d05bf216791a9ea4a from ghostpdl
prevent heap overflow in opj_t2_read_packet_header
Also prevent a double-free of segment data under OOM conditions.
Problem found in a test file, 1802.pdf.SIGSEGV.36e.894 supplied
by Mateusz "j00ru" Jurczyk and Gynvael Coldwind of the Google
Security Team using Address Sanitizer. Many thanks!
Update issue 225
Mathieu Malaterre [Tue, 25 Feb 2014 13:33:43 +0000 (13:33 +0000)]
[trunk] Import commit
8ec8321df613986e8642e2975f7182072eb4be62 from ghostpdl
make opj_stream_set_user_data accept a NULL stream
for consistency with opj_stream_set_* which does so.
Update issue 225
Mathieu Malaterre [Tue, 25 Feb 2014 13:28:37 +0000 (13:28 +0000)]
[trunk] Import commit
f4139d702559649e577a5df9cfd64b0ca6107a7a from ghostpdl
Several functions accept a buffer size but never actually check whether
the buffer overflows during reading/writing. This fixes all cases where
a size variable has explicitly been marked as unused (through a (void)
cast).
This was discovered while investigating an assertion caused by
7cc691f332f26802c64cdc47e17bff8b_signal_sigabrt_7ffff6d59425_2247_2509.pdf
among others.
Thanks to Mateusz Jurczyk and Gynvael Coldwind of the Google Security
Team for providing the example files.
Mathieu Malaterre [Tue, 25 Feb 2014 10:35:07 +0000 (10:35 +0000)]
[trunk] Clarify raw input in openjpeg. LSB vs MSB are now documented.
Fixes issue 62
Mathieu Malaterre [Tue, 25 Feb 2014 10:30:40 +0000 (10:30 +0000)]
[trunk] Run test case for issue 228. Output has been validated.
Fixes issue 228
Mathieu Malaterre [Tue, 25 Feb 2014 10:06:37 +0000 (10:06 +0000)]
[trunk] Run sumatrapdf test cases
Mathieu Malaterre [Mon, 24 Feb 2014 17:22:48 +0000 (17:22 +0000)]
[trunk] add missing private lib. Update issue 223
Mathieu Malaterre [Mon, 24 Feb 2014 16:55:13 +0000 (16:55 +0000)]
[trunk] Make sure to always output pgx file. Handle case where multiple pgx files are generated. Fixes all tests.
Mathieu Malaterre [Mon, 24 Feb 2014 16:09:42 +0000 (16:09 +0000)]
[trunk] add test demonstrating a regression in 1.5.0 and up. Update issue 205
Mathieu Malaterre [Mon, 24 Feb 2014 16:07:21 +0000 (16:07 +0000)]
[trunk] improve test suite by checking against a reference md5
Mathieu Malaterre [Mon, 24 Feb 2014 14:55:32 +0000 (14:55 +0000)]
[trunk] Fix a simple mem leak
Mathieu Malaterre [Mon, 24 Feb 2014 14:50:40 +0000 (14:50 +0000)]
[trunk] Fix two simple warnings about sign mismatch
Mathieu Malaterre [Mon, 24 Feb 2014 14:27:02 +0000 (14:27 +0000)]
[trunk] Fix warning about signed/unsigned mismatch
Mathieu Malaterre [Mon, 24 Feb 2014 14:22:25 +0000 (14:22 +0000)]
[trunk] Make sure to handle ret value, and properly initialize output file
Mathieu Malaterre [Mon, 24 Feb 2014 14:10:11 +0000 (14:10 +0000)]
[trunk] Make sure to handle ret value in test
Mathieu Malaterre [Mon, 24 Feb 2014 12:48:23 +0000 (12:48 +0000)]
[trunk] Prefer the new style cmake: add_test command
Fixes issues 258
Mathieu Malaterre [Mon, 24 Feb 2014 08:52:44 +0000 (08:52 +0000)]
[trunk] Fix a warning about type conversion. Use a trick where unsigned wrapping is legal
Antonin Descampe [Wed, 12 Feb 2014 16:33:19 +0000 (16:33 +0000)]
[trunk] replaced fprintf with event_mgr in cinema-related stuff in j2k.c
Antonin Descampe [Wed, 12 Feb 2014 16:16:21 +0000 (16:16 +0000)]
[trunk] moved logic related to cinema profiles in library (was in
opj_compress.c). This enables one using the library with its own
executable to easily ask for cinema profiles.
Antonin Descampe [Wed, 12 Feb 2014 15:16:36 +0000 (15:16 +0000)]
[trunk] added a warning when tif conversion changes input image bitdepth
Antonin Descampe [Wed, 12 Feb 2014 14:56:49 +0000 (14:56 +0000)]
[trunk]re-indenting convert.c
Mathieu Malaterre [Fri, 7 Feb 2014 10:37:06 +0000 (10:37 +0000)]
Update kakadu cmake module