]>
granicus.if.org Git - openjpeg/log
Mathieu Malaterre [Mon, 10 Mar 2014 16:43:04 +0000 (16:43 +0000)]
[trunk] Another final round of fixes for sign conversion warnings.
Fixes issue 256
Mathieu Malaterre [Mon, 10 Mar 2014 16:17:12 +0000 (16:17 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Mon, 10 Mar 2014 16:17:01 +0000 (16:17 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Mon, 10 Mar 2014 15:51:05 +0000 (15:51 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Mon, 10 Mar 2014 14:51:59 +0000 (14:51 +0000)]
[trunk] Remove old warnings about deprecated API
Mathieu Malaterre [Mon, 10 Mar 2014 14:15:27 +0000 (14:15 +0000)]
[trunk] Remove a set of warning about sign conversion
Update issue 266
Mathieu Malaterre [Mon, 10 Mar 2014 14:05:25 +0000 (14:05 +0000)]
[trunk] Remove warning about sign conversion in color.c
Update issue 256
Mathieu Malaterre [Mon, 10 Mar 2014 13:51:16 +0000 (13:51 +0000)]
[trunk] Run richter test suite, correct a regression introduced in r2668
Mathieu Malaterre [Mon, 10 Mar 2014 13:31:51 +0000 (13:31 +0000)]
[trunk] Tweak JP2 conformance test suite add documentation
Mathieu Malaterre [Mon, 10 Mar 2014 13:05:20 +0000 (13:05 +0000)]
[trunk] Properly handle number of components to run kakadu test suite.
Update issue 266
Mathieu Malaterre [Mon, 10 Mar 2014 12:22:56 +0000 (12:22 +0000)]
[trunk] Fix simple sign conversion warnings only visible on 32bits arch
Mathieu Malaterre [Mon, 10 Mar 2014 12:20:55 +0000 (12:20 +0000)]
[trunk] Handle multi components files with PGM outputs
Mathieu Malaterre [Mon, 10 Mar 2014 10:52:09 +0000 (10:52 +0000)]
[trunk] Properly handle PGM file generation when fullpath is specified in the cmd line
This will break a very old behavior (since 2005), but avoid writing in un-expected places for users
This also make the behavior similar with PGX file generation
Mathieu Malaterre [Mon, 10 Mar 2014 10:43:45 +0000 (10:43 +0000)]
[trunk] Fix inversion in code convention
Mathieu Malaterre [Mon, 10 Mar 2014 10:12:25 +0000 (10:12 +0000)]
[trunk] Fix typo in the code
Mathieu Malaterre [Mon, 10 Mar 2014 10:09:30 +0000 (10:09 +0000)]
[trunk] rework actual code to handle DOS/UNIX end of lines in a transparent manner.
This will help cross compilation cases
Mathieu Malaterre [Mon, 10 Mar 2014 09:56:22 +0000 (09:56 +0000)]
[trunk] First pass to cleanup compare_dump_files
Mathieu Malaterre [Mon, 10 Mar 2014 09:36:14 +0000 (09:36 +0000)]
[trunk] Fix compilation when TIFF lib is neither found nor compiled
Mathieu Malaterre [Mon, 10 Mar 2014 08:40:02 +0000 (08:40 +0000)]
[trunk] Make sure to always initialize variable
Mathieu Malaterre [Mon, 10 Mar 2014 08:25:08 +0000 (08:25 +0000)]
[trunk] Fix warnings about shadow variables
Mathieu Malaterre [Mon, 10 Mar 2014 08:15:43 +0000 (08:15 +0000)]
[trunk] remove a warning when using strict prototype
Mathieu Malaterre [Mon, 10 Mar 2014 08:13:05 +0000 (08:13 +0000)]
[trunk] Remove 2 warnings about set but not used variables
Mathieu Malaterre [Fri, 7 Mar 2014 17:23:19 +0000 (17:23 +0000)]
[trunk] Upon failure, need to return proper return code
Mathieu Malaterre [Fri, 7 Mar 2014 17:18:13 +0000 (17:18 +0000)]
[trunk] Add new test suite that run on kakadu conformance images
Mathieu Malaterre [Fri, 7 Mar 2014 16:24:24 +0000 (16:24 +0000)]
[trunk] Cleanup commit. Rename compare family since comparePGX now support TIFF.
Rename compareRAWimage for clarity since it merely compare files (not images).
Mathieu Malaterre [Fri, 7 Mar 2014 16:17:21 +0000 (16:17 +0000)]
[trunk] Use C-style comments
Mathieu Malaterre [Fri, 7 Mar 2014 16:15:59 +0000 (16:15 +0000)]
[trunk] Rework the code to simplify cleanup code
Mathieu Malaterre [Fri, 7 Mar 2014 14:33:03 +0000 (14:33 +0000)]
[trunk] Also override the default error handler for TIFF files
Mathieu Malaterre [Fri, 7 Mar 2014 14:14:31 +0000 (14:14 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 14:00:47 +0000 (14:00 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 13:50:58 +0000 (13:50 +0000)]
[trunk] Rework r2597, make sure test suite is passing now.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 13:43:15 +0000 (13:43 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 13:40:54 +0000 (13:40 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 13:37:45 +0000 (13:37 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 13:33:47 +0000 (13:33 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 13:31:25 +0000 (13:31 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 13:29:35 +0000 (13:29 +0000)]
[trunk] Redo r2623, and remove guilty section
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 13:14:26 +0000 (13:14 +0000)]
[trunk] Revert r2623 for now
Mathieu Malaterre [Fri, 7 Mar 2014 12:06:00 +0000 (12:06 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 12:01:41 +0000 (12:01 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 11:59:29 +0000 (11:59 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 11:57:37 +0000 (11:57 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 11:43:50 +0000 (11:43 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 11:28:34 +0000 (11:28 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 11:27:34 +0000 (11:27 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 11:20:59 +0000 (11:20 +0000)]
[trunk] As reported by clang analyzer thoses values were never read
Mathieu Malaterre [Fri, 7 Mar 2014 11:17:51 +0000 (11:17 +0000)]
[trunk] Remove mem leak and warning reported by clang
Mathieu Malaterre [Fri, 7 Mar 2014 11:11:43 +0000 (11:11 +0000)]
[trunk] Remove simple warnings about format
Mathieu Malaterre [Fri, 7 Mar 2014 11:08:35 +0000 (11:08 +0000)]
[trunk] Remove simple warning about functions not used
Mathieu Malaterre [Fri, 7 Mar 2014 11:06:13 +0000 (11:06 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 10:25:16 +0000 (10:25 +0000)]
[trunk] Another round of fixes for sign conversion warnings.
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 10:21:51 +0000 (10:21 +0000)]
[trunk] Fix simple warning about sign conversion
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 10:19:39 +0000 (10:19 +0000)]
[trunk] Another of fixes for warning about sign conversion
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 10:03:56 +0000 (10:03 +0000)]
[trunk] Fix warning about sign conversion
Update issue 256
Mathieu Malaterre [Fri, 7 Mar 2014 09:58:32 +0000 (09:58 +0000)]
[trunk] un-deprecated opj_stream_destroy API, import patch manually
In some case user still want to be able to call opj_stream_destroy.
Fixes issue 227
Mathieu Malaterre [Fri, 7 Mar 2014 09:44:32 +0000 (09:44 +0000)]
[trunk] Update memory management mecanism
Fixes issue 253
Mathieu Malaterre [Fri, 7 Mar 2014 09:33:32 +0000 (09:33 +0000)]
[trunk] Remove self-assignement.
Fixes issue 273
Mathieu Malaterre [Fri, 7 Mar 2014 09:15:27 +0000 (09:15 +0000)]
[trunk] Fix compilation in visual studio, inline cannot be used directly.
Fixes issue 272
Mathieu Malaterre [Fri, 7 Mar 2014 09:14:39 +0000 (09:14 +0000)]
[trunk] Remove warning about implicitly defined function
Mathieu Malaterre [Fri, 7 Mar 2014 09:03:15 +0000 (09:03 +0000)]
[trunk] Remove TIFF warning handler. This help test suite run smoothly on windows by removing the message box.
Fixes issue 276
Mathieu Malaterre [Fri, 7 Mar 2014 08:48:47 +0000 (08:48 +0000)]
[trunk] Fix mem leaks reported by cppcheck
Mathieu Malaterre [Fri, 7 Mar 2014 08:11:49 +0000 (08:11 +0000)]
[trunk] Simplify code and remove bogus out of bound check
Mathieu Malaterre [Thu, 6 Mar 2014 17:25:08 +0000 (17:25 +0000)]
[trunk] Revert r2597 for now, since it breaks a lot of tests
Mathieu Malaterre [Thu, 6 Mar 2014 16:59:34 +0000 (16:59 +0000)]
[trunk] Remove warning about sign conversion.
Update issue 256
Mathieu Malaterre [Thu, 6 Mar 2014 16:29:03 +0000 (16:29 +0000)]
[trunk] Remove some easy warnings
Mathieu Malaterre [Thu, 6 Mar 2014 16:26:24 +0000 (16:26 +0000)]
[trunk] Remove warning about sign conversion.
Update issue 256
Mathieu Malaterre [Thu, 6 Mar 2014 16:01:23 +0000 (16:01 +0000)]
[trunk] Remove warning about sign conversion.
Update issue 256
Mathieu Malaterre [Thu, 6 Mar 2014 15:16:44 +0000 (15:16 +0000)]
[trunk] Remove warning about sign conversion.
Update issue 256
Mathieu Malaterre [Thu, 6 Mar 2014 15:10:39 +0000 (15:10 +0000)]
[trunk] Remove warning about sign conversion.
Update issue 256
Mathieu Malaterre [Thu, 6 Mar 2014 15:05:00 +0000 (15:05 +0000)]
[trunk] Remove warning about sign conversion.
Update issue 256
Mathieu Malaterre [Thu, 6 Mar 2014 15:00:41 +0000 (15:00 +0000)]
[trunk] Remove some easy warnings about sign compare reported by gcc
Mathieu Malaterre [Thu, 6 Mar 2014 14:50:42 +0000 (14:50 +0000)]
[trunk] Remove out of bound access in code and simplify code. this is a test tool, security is not an issue here.
Mathieu Malaterre [Thu, 6 Mar 2014 14:47:52 +0000 (14:47 +0000)]
[trunk] Remove simple warning about unused variables
Mathieu Malaterre [Thu, 6 Mar 2014 14:43:21 +0000 (14:43 +0000)]
[trunk] Make sure that all output files from the test suite are using a different output name
Fixes issue 271
Mathieu Malaterre [Wed, 5 Mar 2014 09:45:04 +0000 (09:45 +0000)]
[trunk] Handle cmap where direct use is specified (issue235_cmapsubbox.jp2)
I doubt the old code ever work. The new code copy the old codestream bytes into the new components (instead of copying the pointer).
Technically the issue235.jp2 file should be handled since I.5.3.5 specifies that:
...
If the JP2 Header box does not contain a Component Mapping box, the components shall be mapped directly to channels,
such that component i is mapped to channel i.
...
Update issue 235
Mathieu Malaterre [Tue, 4 Mar 2014 10:32:26 +0000 (10:32 +0000)]
[trunk] Make sure to reject images such as 1336.pdf.asan.47.376.jp2
Fixes issue 267
Mathieu Malaterre [Tue, 4 Mar 2014 09:58:07 +0000 (09:58 +0000)]
[trunk] remove more conversion warning in multi-lines macro.
C allow simple tricks such as to find those:
gcc -E tcd.c | sed '/^\#/d' | indent -st -i2 > clean.c
Update issue 256
Mathieu Malaterre [Tue, 4 Mar 2014 09:55:38 +0000 (09:55 +0000)]
[trunk] Remove some conversion warnings reported by gcc
Update issue 256
Mathieu Malaterre [Tue, 4 Mar 2014 09:32:19 +0000 (09:32 +0000)]
[trunk] Remove another warning. ftell returns long int
Update issue 256
Mathieu Malaterre [Tue, 4 Mar 2014 09:30:07 +0000 (09:30 +0000)]
[trunk] Remove more conversion warnings.
Update issue 256
Mathieu Malaterre [Tue, 4 Mar 2014 09:19:49 +0000 (09:19 +0000)]
[trunk] Remove warning about conversion.
Update issue 256
Mathieu Malaterre [Tue, 4 Mar 2014 09:14:47 +0000 (09:14 +0000)]
[trunk] Add a TIFF compare function (PEAK/MSE)
Fixes issue 100
Mathieu Malaterre [Tue, 4 Mar 2014 08:40:06 +0000 (08:40 +0000)]
[trunk] Revert portion of r2562, need to investigate issue.
Update issue 269
Mathieu Malaterre [Mon, 3 Mar 2014 16:11:41 +0000 (16:11 +0000)]
[trunk] Remove remaining conversion issues in mqc.c
Mathieu Malaterre [Mon, 3 Mar 2014 16:08:03 +0000 (16:08 +0000)]
[trunk] Remove remainings conversion issues in t2.c + clock.c
Mathieu Malaterre [Mon, 3 Mar 2014 16:02:36 +0000 (16:02 +0000)]
[trunk] Remove a simple warning about int -> float conversion
Mathieu Malaterre [Mon, 3 Mar 2014 16:02:16 +0000 (16:02 +0000)]
[trunk] rework code to avoid a warning. this also remove a division and prefer bit-shift
Mathieu Malaterre [Mon, 3 Mar 2014 15:55:27 +0000 (15:55 +0000)]
[trunk] Remove some more warnings about conversion
Mathieu Malaterre [Mon, 3 Mar 2014 15:55:06 +0000 (15:55 +0000)]
[trunk] Prefer compile time constant to avoid conversion double -> int
Mathieu Malaterre [Mon, 3 Mar 2014 15:47:23 +0000 (15:47 +0000)]
[trunk] Review warning about types conversion, and add cast when needed
Mathieu Malaterre [Mon, 3 Mar 2014 12:13:11 +0000 (12:13 +0000)]
[trunk] Remove some simple warnings about conversion
Mathieu Malaterre [Mon, 3 Mar 2014 12:11:53 +0000 (12:11 +0000)]
[trunk] fgets takes an int as parameter
Mathieu Malaterre [Mon, 3 Mar 2014 12:01:36 +0000 (12:01 +0000)]
[trunk] Remove warning about cast double -> int. Instead use bit-shifting (compile time computation)
Mathieu Malaterre [Mon, 3 Mar 2014 12:00:24 +0000 (12:00 +0000)]
[trunk] Remove easy to fix warnings about conversion
Mathieu Malaterre [Mon, 3 Mar 2014 11:48:27 +0000 (11:48 +0000)]
[trunk] Import left over from patch submitted as issue 225 (comment #14)
Update issue 225
Mathieu Malaterre [Mon, 3 Mar 2014 11:40:59 +0000 (11:40 +0000)]
[trunk] remove some simple warnings about unused params
Mathieu Malaterre [Mon, 3 Mar 2014 11:36:31 +0000 (11:36 +0000)]
[trunk] remove all api with invalid FILE* parameters which could leads to issues when applications are compiled with different flags from openjpeg.
Fixes issue 198
Mathieu Malaterre [Mon, 3 Mar 2014 11:30:54 +0000 (11:30 +0000)]
[trunk] Explicitely trigger issue 229, there may be an impact in code execution. The assert may get removed afterward
Update issue 229
Mathieu Malaterre [Mon, 3 Mar 2014 10:41:13 +0000 (10:41 +0000)]
[trunk] Remove simple warnings
Mathieu Malaterre [Mon, 3 Mar 2014 10:38:41 +0000 (10:38 +0000)]
[trunk] Remove 3635.pdf.asan.77.2930.jp2 from opj_dump tests
Update issue 250