Update ABI/API compatibility reports after commit d9f8f7ba9a51732eda9017cea6493cc86a6...
[openjpeg.git] / abi-check / changelog / openjpeg / current / log.html
index 247122f93a347b84ff44292a4e576cc0ec863f8e..c4b0554cebbb023efb336f4ac7200ad724034930 100644 (file)
 <br/>
 <h1>Changelog from Git</h1><br/><br/>
 <div class='changelog'>
-<pre class='wrap'>commit 0394f8d0f1c981e0bc587beddc14d1fb0b265b1b
-Merge: 3b1b067 bc3cb74
-Author: Antonin Descampe &lt;antonin@descampe.net&gt;
-Date:   2017-08-08 16:51:54 -0700
+<pre class='wrap'>commit d9f8f7ba9a51732eda9017cea6493cc86a62c7ef
+Merge: 53d2655 10d22ec
+Author: Even Rouault &lt;even.rouault@mines-paris.org&gt;
+Date:   2017-10-20 21:59:14 +0200
 
-    Merge pull request #975 from szukw000/changes-for-afl-tests
+    Merge pull request #1037 from gfiumara/master
     
-    Catch images broken by AFL
+    Add missing fclose() statement in error condition.
 
-commit 3b1b0672663b59853b63d48f94b63ca497883527
-Merge: 2fbd4bb 9211469
-Author: Even Rouault &lt;even.rouault@mines-paris.org&gt;
-Date:   2017-08-07 20:17:36 +0200
+commit 10d22ec26d864e93ad92b4570f044258c6c5bdf9
+Author: Gregory Fiumara &lt;gregory.fiumara@nist.gov&gt;
+Date:   2017-10-20 15:31:45 -0400
 
-    Merge pull request #968 from rouault/reduce_memory_decoding
-    
-    Reduce memory decoding
+    Add missing fclose() statement in error condition.
 
-commit 92114694a48638e86c07e4adf11b78878045c8a9
+commit 53d265576ae0cea480f22f3b08f1c05c8af40d4d
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-06 19:34:21 +0200
+Date:   2017-10-14 22:42:12 +0200
 
-    Slight improvement in management of code block chunks
-    
-    Instead of having the chunk array at the segment level, we can move it down to
-    the codeblock itself since segments are filled in sequential order.
-    Limit the number of memory allocation, and decrease slightly the memory usage.
+    CMakeLists.txt: turn BUILD_PKGCONFIG_FILES ON by default on Windows if compiler is GCC
+
+commit be6ea90e13fe81a922d831b589c54554282e5545
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-10-12 01:16:23 +0200
+
+    opj_j2k_set_threads(): add sanity check to error out if called after opj_read_header()
+
+commit b8bf9bf78995526bbf0dc0536914661a07f9d2f5
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-10-12 01:05:04 +0200
+
+    Improve doc of opj_codec_set_threads()
+
+commit 66297f07a43d2770a97c8456d20202f3d051d980
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-10-09 11:40:43 +0200
+
+    Unix build: fix regression of 2.3.0 where a shared-only or static-only build lacks the installation target for the library (#1019, fixes regression introduced by 3dfc6ca2bcf06fd1adb6b6b4cecc6c092f08ba0b)
+
+commit e8b6b54d1f7a2c3d501b9afebe9019ad14f4053a
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-10-06 19:25:07 +0200
+
+    opj_decompress -h: document -threads ALL_CPUS
+
+commit acd915080e7a63d1892171533ec245e629c88116
+Author: Antonin Descampe &lt;antonin@gmail.com&gt;
+Date:   2017-10-04 23:17:04 -0300
+
+    Finalise ABI check update for v2.3.0
+
+commit d322cc876f976a88328c00c148e5a5536f5c1b56
+Author: Antonin Descampe &lt;antonin@gmail.com&gt;
+Date:   2017-10-04 22:59:08 -0300
+
+    Update ABI check for v2.3.0
+
+commit 081de4b15f54cb4482035b7bf5e3fb443e4bc84b
+Author: Antonin Descampe &lt;antonin@descampe.net&gt;
+Date:   2017-10-04 19:23:14 -0300
+
+    Update CHANGELOG.md
+
+commit 3916fa2e2a286ea795cdb6df7cebed6ac05be983
+Author: Antonin Descampe &lt;antonin@descampe.net&gt;
+Date:   2017-10-03 17:48:44 -0300
+
+    Update NEWS.md
+
+commit ab84ad39d71481555efdd2dd7c56b344b7b75f0f
+Author: Antonin Descampe &lt;antonin@descampe.net&gt;
+Date:   2017-10-03 17:48:09 -0300
+
+    Update CHANGELOG.md
+
+commit 5a67128a251af3f9557d6a9b3b23a7925aec1a5f
+Author: Antonin Descampe &lt;antonin@descampe.net&gt;
+Date:   2017-10-03 17:15:44 -0300
+
+    Update NEWS.md
+
+commit 0b8903d9ea482d85dcaf8def1ddc41597105b228
+Author: Antonin Descampe &lt;antonin@gmail.com&gt;
+Date:   2017-10-03 17:08:30 -0300
+
+    Preparing v2.3.0 release
+
+commit 47b43dbc2bb5a1e6d61bde91e57ccf7191b07616
+Merge: d45ccb0 8ed5886
+Author: Even Rouault &lt;even.rouault@mines-paris.org&gt;
+Date:   2017-09-28 11:24:59 +0200
+
+    Merge pull request #1028 from quangnh89/master
     
-    On MAPA_005.jp2
+    update instructions to build with Visual Studio and 64-Bit Visual C++ Toolset.
+
+commit 8ed588608f13af16f63e38267c1d51b124d6d8ad
+Author: Quang Nguyen &lt;quangnh89@gmail.com&gt;
+Date:   2017-09-28 10:00:09 +0700
+
+    update instructions to build with Visual Studio and 64-Bit Visual C++ Toolset.
+
+commit d45ccb048bb2166c5d975f4e1b8acaf8ba3d198d
+Merge: 3f0de88 e17bbde
+Author: Antonin Descampe &lt;antonin@descampe.net&gt;
+Date:   2017-09-26 18:30:20 -0300
+
+    Merge pull request #1022 from rouault/partial_component_decoding
     
-    n4: 1871312549 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-     n1: 1610689344 0x4E781E7: opj_aligned_malloc (opj_malloc.c:61)
-      n1: 1610689344 0x4E71D1B: opj_alloc_tile_component_data (tcd.c:676)
-       n1: 1610689344 0x4E726CF: opj_tcd_init_decode_tile (tcd.c:816)
-        n1: 1610689344 0x4E4BE39: opj_j2k_read_tile_header (j2k.c:8617)
-         n1: 1610689344 0x4E4C902: opj_j2k_decode_tiles (j2k.c:10348)
-          n1: 1610689344 0x4E4E3CE: opj_j2k_decode (j2k.c:7846)
-           n1: 1610689344 0x4E53002: opj_jp2_decode (jp2.c:1564)
-            n0: 1610689344 0x40374E: main (opj_decompress.c:1459)
-     n1: 219232541 0x4E4BC50: opj_j2k_read_tile_header (j2k.c:4683)
-      n1: 219232541 0x4E4C902: opj_j2k_decode_tiles (j2k.c:10348)
-       n1: 219232541 0x4E4E3CE: opj_j2k_decode (j2k.c:7846)
-        n1: 219232541 0x4E53002: opj_jp2_decode (jp2.c:1564)
-         n0: 219232541 0x40374E: main (opj_decompress.c:1459)
-     n1: 23893200 0x4E72735: opj_tcd_init_decode_tile (tcd.c:1225)
-      n1: 23893200 0x4E4BE39: opj_j2k_read_tile_header (j2k.c:8617)
-       n1: 23893200 0x4E4C902: opj_j2k_decode_tiles (j2k.c:10348)
-        n1: 23893200 0x4E4E3CE: opj_j2k_decode (j2k.c:7846)
-         n1: 23893200 0x4E53002: opj_jp2_decode (jp2.c:1564)
-          n0: 23893200 0x40374E: main (opj_decompress.c:1459)
-     n0: 17497464 in 52 places, all below massif's threshold (1.00%)
-
-commit ca34d13e76a588a00171e57690c1deeaf068723a
-Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-06 16:11:11 +0200
-
-    Decoding: do not allocate memory for the codestream of each codeblock
+    Add capability to decode only a subset of all components of an image.
+
+commit 3f0de88c7bf4e56826987aa7d3edb5acdd4399f2
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-09-22 21:43:09 +0200
+
+    Remove opjstyle binary that went inadvertently committed in d4e54e9f35d532062533f1d369c159810b01d224 (#1026)
+
+commit 3dfb01228b4f06a538c2a19352e34fd172e20fe3
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-09-22 12:03:29 +0200
+
+    INSTALL.md: add instructions to build with Visual Studio (#1023, from Winfried instructions)
+
+commit e5a561b5d86e6292832a7baefdcdf24e25821ae3
+Merge: 4c8aba2 f92d30f
+Author: Even Rouault &lt;even.rouault@mines-paris.org&gt;
+Date:   2017-09-21 17:39:24 +0200
+
+    Merge pull request #1024 from stweil/warnings
     
-    Currently we allocate at least 8192 bytes for each codeblock, and copy
-    the relevant parts of the codestream in that per-codeblock buffer as we
-    decode packets.
-    As the whole codestream for the tile is ingested in memory and alive
-    during the decoding, we can directly point to it instead of copying. But
-    to do that, we need an intermediate concept, a 'chunk' of code-stream segment,
-    given that segments may be made of data at different places in the code-stream
-    when quality layers are used.
+    Add missing newline at end of file
+
+commit f92d30f9e7340f50294cca438c1fb62fb4fb03dd
+Author: Stefan Weil &lt;sw@weilnetz.de&gt;
+Date:   2017-09-14 22:02:41 +0200
+
+    Add missing newline at end of file
     
-    With that change, the decoding of MAPA_005.jp2 goes down from the previous
-    improvement of 2.7 GB down to 1.9 GB.
+    This fixes warnings from the clang compiler:
     
-    New profile:
+    /openjpeg/src/lib/openjp2/sparse_array.h:141:32: warning:
+     no newline at end of file [-Wnewline-eof]
     
-    n4: 1885648469 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-     n1: 1610689344 0x4E78287: opj_aligned_malloc (opj_malloc.c:61)
-      n1: 1610689344 0x4E71D7B: opj_alloc_tile_component_data (tcd.c:676)
-       n1: 1610689344 0x4E7272C: opj_tcd_init_decode_tile (tcd.c:816)
-        n1: 1610689344 0x4E4BDD9: opj_j2k_read_tile_header (j2k.c:8618)
-         n1: 1610689344 0x4E4C8A2: opj_j2k_decode_tiles (j2k.c:10349)
-          n1: 1610689344 0x4E4E36E: opj_j2k_decode (j2k.c:7847)
-           n1: 1610689344 0x4E52FA2: opj_jp2_decode (jp2.c:1564)
-            n0: 1610689344 0x40374E: main (opj_decompress.c:1459)
-     n1: 219232541 0x4E4BBF0: opj_j2k_read_tile_header (j2k.c:4685)
-      n1: 219232541 0x4E4C8A2: opj_j2k_decode_tiles (j2k.c:10349)
-       n1: 219232541 0x4E4E36E: opj_j2k_decode (j2k.c:7847)
-        n1: 219232541 0x4E52FA2: opj_jp2_decode (jp2.c:1564)
-         n0: 219232541 0x40374E: main (opj_decompress.c:1459)
-     n1: 39822000 0x4E727A9: opj_tcd_init_decode_tile (tcd.c:1219)
-      n1: 39822000 0x4E4BDD9: opj_j2k_read_tile_header (j2k.c:8618)
-       n1: 39822000 0x4E4C8A2: opj_j2k_decode_tiles (j2k.c:10349)
-        n1: 39822000 0x4E4E36E: opj_j2k_decode (j2k.c:7847)
-         n1: 39822000 0x4E52FA2: opj_jp2_decode (jp2.c:1564)
-          n0: 39822000 0x40374E: main (opj_decompress.c:1459)
-     n0: 15904584 in 52 places, all below massif's threshold (1.00%)
+    Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
 
-commit 373520db309430b68dd9ff09cba03a25f711a88e
+commit 4c8aba2add074c4a8101156037e9ca7051bc4baf
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-06 13:23:29 +0200
+Date:   2017-09-21 14:37:01 +0200
 
-    Add documentation for magic values in the code
+    Add assertion
 
-commit 434ace4ff74cc3eee401d4d3c02668c1d85f2a0d
+commit 113e0976e232ac2110d50405f8629787f3f53cfc
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-06 02:17:26 +0200
+Date:   2017-09-21 14:14:32 +0200
 
-    opj_jp2_apply_pclr() also needs to use opj_image_data_alloc/opj_image_data_free
+    Comment dead code (Coverity CID 94681)
 
-commit 0c1fc0593ef5b918068709fd74d76e4824c90e7c
+commit 39082fc6654553f43f6f3a73e0eeaedebc4bdf9f
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-06 02:02:25 +0200
+Date:   2017-09-21 14:13:16 +0200
 
-    Complementary fix to previous commit
+    Workaround Coverity CID 113061
 
-commit f58aab9d6a57e48bdc60e15dd373c24de74719a9
+commit 7711307d865d46ca1bb8bb152071178b10066d05
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-06 01:47:40 +0200
+Date:   2017-09-21 14:10:49 +0200
 
-    Add opj_image_data_alloc() / opj_image_data_free()
-    
-    As bin/common/color.c used to directly call malloc()/free(), we need
-    to export functions dedicated to allocating/freeing image component data.
+    Workaround Coverity CID 169392
 
-commit 61fb5dd7f81c2e3dfabbb99f59dc89572d59fa37
+commit 19e157871ff28bb5e8296f9e9f9aee6a17a37ace
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-06 01:05:24 +0200
+Date:   2017-09-21 14:06:03 +0200
 
-    Fix crash on Windows due to b7594c0fcb9dd3aa6356d72c4a525d76168da689
-    
-    b7594c0fcb9dd3aa6356d72c4a525d76168da689 may put opj_tcd_tilecomp_t-&gt;data
-    allocated by opj_alloc_tile_component_data() as the image-&gt;comps[].data. As
-    opj_alloc_tile_component_data() use opj_aligned_malloc() we must be sure to
-    ue opj_alined_malloc()/_free() in all places where we alloc/free
-    image-&gt;comps[].data.
-    
-    Note: this might have some compatibility impact in case user code does itself
-    the allocation/free of image-&gt;comps[].data
+    opj_j2k_get_default_thread_count(): validate value of OPJ_NUM_THREADS to fix Coverity 179465 and 179463
 
-commit 793edc38e41700e9b4cda4b7f9c79aba95b8d989
+commit 68e596dada2ee38a66b01494e5a425e623688300
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-05 23:48:28 +0200
+Date:   2017-09-21 13:54:14 +0200
 
-    Decrease memory consumption for whole image single tile decoding.
-    
-    We can use the same buffer for the tile decoding and the final image, and
-    save the intermediate buffer to transfer between those.
-    
-    Effect on the decoding of MAPA (9944 x 13498 x 3 components of size byte)
-    
-    Peak memory from 4.5 GB to 2.7 GB
-    
-    Now:
-    n5: 2699708767 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-     n1: 1610689344 0x4E77E07: opj_aligned_malloc (opj_malloc.c:61) &lt;-- final image
-      n1: 1610689344 0x4E7195B: opj_alloc_tile_component_data (tcd.c:676)
-       n1: 1610689344 0x4E722D2: opj_tcd_init_decode_tile (tcd.c:816)
-        n1: 1610689344 0x4E4BCF1: opj_j2k_read_tile_header (j2k.c:8597)
-         n1: 1610689344 0x4E4C742: opj_j2k_decode_tiles (j2k.c:10324)
-          n1: 1610689344 0x4E4E20E: opj_j2k_decode (j2k.c:7826)
-           n1: 1610689344 0x4E52E42: opj_jp2_decode (jp2.c:1564)
-            n0: 1610689344 0x40369E: main (opj_decompress.c:1459)
-     n1: 815554560 0x4E72231: opj_tcd_init_decode_tile (tcd.c:1217) &lt;-- working memory for code blocks: 9944*13498/64/64*8192*3
-      n1: 815554560 0x4E4BCF1: opj_j2k_read_tile_header (j2k.c:8597)
-       n1: 815554560 0x4E4C742: opj_j2k_decode_tiles (j2k.c:10324)
-        n1: 815554560 0x4E4E20E: opj_j2k_decode (j2k.c:7826)
-         n1: 815554560 0x4E52E42: opj_jp2_decode (jp2.c:1564)
-          n0: 815554560 0x40369E: main (opj_decompress.c:1459)
-     n1: 219758391 0x4E4C0BF: opj_j2k_read_tile_header (j2k.c:4661) &lt;-- ingestion of code stream
-      n1: 219758391 0x4E4C742: opj_j2k_decode_tiles (j2k.c:10324)
-       n1: 219758391 0x4E4E20E: opj_j2k_decode (j2k.c:7826)
-        n1: 219758391 0x4E52E42: opj_jp2_decode (jp2.c:1564)
-         n0: 219758391 0x40369E: main (opj_decompress.c:1459)
-     n1: 39822000 0x4E7224F: opj_tcd_init_decode_tile (tcd.c:1224) &lt;-- OPJ_J2K_DEFAULT_NB_SEGS*sizeof(opj_tcd_seg_t) per codeblock
-      n1: 39822000 0x4E4BCF1: opj_j2k_read_tile_header (j2k.c:8597)
-       n1: 39822000 0x4E4C742: opj_j2k_decode_tiles (j2k.c:10324)
-        n1: 39822000 0x4E4E20E: opj_j2k_decode (j2k.c:7826)
-         n1: 39822000 0x4E52E42: opj_jp2_decode (jp2.c:1564)
-          n0: 39822000 0x40369E: main (opj_decompress.c:1459)
-     n0: 13884472 in 49 places, all below massif's threshold (1.00%)
-    
-    Before:
-    n5: 4493329848 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-     n2: 1610709160 0x4E77C87: opj_aligned_malloc (opj_malloc.c:61)
-      n1: 1610689344 0x4E717DB: opj_alloc_tile_component_data (tcd.c:676)
-       n1: 1610689344 0x4E72152: opj_tcd_init_decode_tile (tcd.c:816)
-        n1: 1610689344 0x4E4BCF1: opj_j2k_read_tile_header (j2k.c:8597)
-         n1: 1610689344 0x4E4C64A: opj_j2k_decode_tiles (j2k.c:10318)
-          n1: 1610689344 0x4E4E08E: opj_j2k_decode (j2k.c:7826)
-           n1: 1610689344 0x4E52CC2: opj_jp2_decode (jp2.c:1564)
-            n0: 1610689344 0x40369E: main (opj_decompress.c:1459)
-      n0: 19816 in 2 places, all below massif's threshold (1.00%)
-     n1: 1610689344 0x4E43F36: opj_j2k_update_image_data.isra.7 (j2k.c:8743)
-      n1: 1610689344 0x4E4C5C1: opj_j2k_decode_tiles (j2k.c:10358)
-       n1: 1610689344 0x4E4E08E: opj_j2k_decode (j2k.c:7826)
-        n1: 1610689344 0x4E52CC2: opj_jp2_decode (jp2.c:1564)
-         n0: 1610689344 0x40369E: main (opj_decompress.c:1459)
-     n1: 815554560 0x4E720B1: opj_tcd_init_decode_tile (tcd.c:1217)
-      n1: 815554560 0x4E4BCF1: opj_j2k_read_tile_header (j2k.c:8597)
-       n1: 815554560 0x4E4C64A: opj_j2k_decode_tiles (j2k.c:10318)
-        n1: 815554560 0x4E4E08E: opj_j2k_decode (j2k.c:7826)
-         n1: 815554560 0x4E52CC2: opj_jp2_decode (jp2.c:1564)
-          n0: 815554560 0x40369E: main (opj_decompress.c:1459)
-     n1: 402672336 0x4E4C545: opj_j2k_decode_tiles (j2k.c:10336)
-      n1: 402672336 0x4E4E08E: opj_j2k_decode (j2k.c:7826)
-       n1: 402672336 0x4E52CC2: opj_jp2_decode (jp2.c:1564)
-        n0: 402672336 0x40369E: main (opj_decompress.c:1459)
-     n0: 53704448 in 58 places, all below massif's threshold (1.00%)
-
-commit bc3cb7410023e9d0c7ff9972a0bc8cf1fe9b32a4
-Author: szukw000 &lt;szukw000@arcor.de&gt;
-Date:   2017-08-07 16:44:28 +0200
-
-    Changes for converttif.c to fix tsize_t
-
-commit 2fbd4bb0b9c6178f12c852dc40db6ab05734bfe2
-Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-08-04 18:01:29 +0200
-
-    opj_j2k_read_sot(): check current TPSot number regarding previous (non-zero) TNsot to avoid opj_j2k_merge_ppt() to be called several times. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2851. Credit to OSS Fuzz
-
-commit 57e36dbfeb57451444c5c20eab66ab0bedd3d3b3
-Author: szukw000 &lt;szukw000@arcor.de&gt;
-Date:   2017-08-02 17:27:08 +0200
-
-    First change on changes-for-afl-tests
-
-commit 155fc2e279b85bd04709967b2797de4f69b0cf3e
-Author: Antonin Descampe &lt;antonin@gmail.com&gt;
-Date:   2017-08-02 17:07:29 +0200
+    Fix copy&amp;paste error (Coverity CID 169394)
 
-    Update abi-check to take into account new defaults for "add" git command
+commit 16b701659d7d9f72aade1d695818a645e2f603a6
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-09-20 01:06:02 +0200
 
-commit eb90d8ec935eba934bfd260cc80c8ef445dff4fd
-Author: Antonin Descampe &lt;antonin@gmail.com&gt;
-Date:   2017-08-02 16:50:11 +0200
+    opj_decompress: add a warning when -d and -t are used together (#693)
+
+commit b8c4b450c4b5bec649463573f57235c4f41c57cd
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-09-20 00:55:22 +0200
+
+    Use a #define J2K_MAX_POCS 32 to avoid hard-coded constant (#349)
+
+commit 9cba05762ded66b803df94b00adbd5a97727da95
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-09-20 00:43:54 +0200
 
-    WIP: fix abi-check and automatic upload
+    Avoid index-out-of-bounds access when invoking opj_compress with -n 11 or higher. But not a proper fix itself (refs #493)
 
-commit 48125b0d124bc668b971b1f5df5a3c39798cfcf9
+commit 8df07d5866c9e3517bf04a7abee4a07a04735df4
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-31 17:35:10 +0200
+Date:   2017-09-19 18:35:52 +0200
 
-    src/bin/jpwl/convert.c: add missing fclose() in error code path (suggested by maddin200, #976)
+    Avoid relying on operator precedence (raised by cppcheck)
 
-commit 00f45684a8339e69ed55df2397f3c19d09fecaed
-Author: szukw000 &lt;szukw000@arcor.de&gt;
-Date:   2017-07-31 13:58:08 +0200
+commit c22ea12219c711031ef9b5823f2d9eb1081261e9
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-09-19 18:35:31 +0200
 
-    Catch images broken by AFL
+    Workaroudn cppcheck (correct) warning about same code in then and else branches
 
-commit 13cde9fa37249628af6b6f10601b733f87a025f4
+commit c84e594cffb181b96f522becf1ba0302e2cc6da7
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-30 19:46:52 +0200
+Date:   2017-09-19 18:35:07 +0200
 
-    src/lib/openjp2/*.h: use OPJ_ prefix for inclusion guards instead of reserved __ (#587)
+    Fix badly named variable in function prototype (raised by cppcheck)
 
-commit 9a6d41d22b1a4f17a376d2f6f208c52c58b8e4b3
+commit 82ab7effe3e65b989ee8e97719ceca71908b16ed
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-30 19:27:01 +0200
+Date:   2017-09-19 18:34:49 +0200
 
-    opj_event_msg(): force zero termination of buffer
+    Remove redundant test (raised by cppcheck)
 
-commit b716f8616394252724ca0811eab3a20ab42b2189
+commit ce8edf9bffb8caae5480b862a04b66e0e355394b
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-30 19:26:47 +0200
+Date:   2017-09-19 18:25:55 +0200
 
-    Fix breakage of 22bf99ce0220811bfce1562ee61423cb0245b683
+    Replace  C++ style comments by C ones
 
-commit 22bf99ce0220811bfce1562ee61423cb0245b683
+commit d415723fd9f2ee415e506e94ee8be8127680fdcd
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-30 19:07:16 +0200
+Date:   2017-09-19 18:22:07 +0200
 
-    Test return value of opj_j2k_setup_decoding_tile() (commit https://github.com/uclouvain/openjpeg/pull/561/commits/ec31fa0c7f1ff8979312c07296cba41584c458a0 by  ak-dxdy, #561)
+    Replace  C++ style comments by C ones
 
-commit ffa9a4f6585dc199fb850dee4255e7a7b84aad63
+commit e17bbde9066600528ab523adee69d9c9c33ba157
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-30 18:46:34 +0200
+Date:   2017-09-19 17:48:07 +0200
 
-    Fix warnings in USE_JPIP compilation mode
+    opj_set_decoded_components(): add a provision for a apply_color_transforms parameter in case we support it in the future
 
-commit c22cbd8bdf8ff2ae372f94391a4be2d322b36b41
+commit 7e2b6bebff12eab8bdc17fc9af017e8c11652f4f
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-30 18:43:25 +0200
+Date:   2017-09-19 16:52:07 +0200
 
-    Avoid heap buffer overflow in function pnmtoimage of convert.c, and unsigned integer overflow in opj_image_create() (CVE-2016-9118, #861)
+    Add capability to decode only a subset of all components of an image.
+    
+    This adds a opj_set_decoded_components(opj_codec_t *p_codec,
+    OPJ_UINT32 numcomps, const OPJ_UINT32* comps_indices) function,
+    and equivalent "opj_decompress -c compno[,compno]*" option.
+    
+    When specified, neither the MCT transform nor JP2 channel transformations
+    will be applied.
+    
+    Tests added for various combinations of whole image vs tiled-based decoding,
+    full or reduced resolution, use of decode area or not.
 
-commit 83342f2aafcab4599b49f780e35fd249e8402b61
+commit ce199f42e77f972d6ee782b63492f6d861891053
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-30 18:18:59 +0200
+Date:   2017-09-19 12:48:12 +0200
 
-    Fix Doxygen warnings (patch derived from Winfried's doxygen-dif.txt.zip, #849)
+    src/bin/jp3d/convert.c: add missing fclose() in error code path (#1018)
 
-commit 4748318136626dd9e841ea1aa8b52adfbab26772
+commit fdef69b43ce5222ac0f2a87f2fad1442ece340e8
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-30 17:26:03 +0200
+Date:   2017-09-19 12:46:20 +0200
 
-    j2k.c: remove hardcoded constants related to m_state, and useless FIXME
+    Fix warnings and errors when compiling with a c++ compiler (#1021)
 
-commit e23e0c94d0eb30623bc67be19c38c22ee5378344
+commit 18f6696372f4c32334385f8dcc8d39ad8ac24601
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-30 16:48:15 +0200
+Date:   2017-09-19 12:13:34 +0200
 
-    Avoid p_stream-&gt;m_user_data_length &gt;= (OPJ_UINT64)p_stream-&gt;m_byte_offset assertion in opj_stream_get_number_byte_left(). Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2786. Credit to OSS Fuzz
+    Fix compilation with AppleClang 8.1.0.8020042 (#1020)
 
-commit 1ed8d67797ef57143e2c855b602016bf9d89337d
+commit 3dfc6ca2bcf06fd1adb6b6b4cecc6c092f08ba0b
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-30 15:35:47 +0200
+Date:   2017-09-17 12:17:49 +0200
 
-    opj_j2k_set_decode_area: replace assertions by runtime checks. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2795. Credit to OSS Fuzz
+    Build: make sure that -DBUILD_SHARED_LIBS:bool=off is honoured to build only the static lib (#1019)
 
-commit 68832af20e3b3710424947e12762b6b52d3b6ac0
+commit 28094e1ebfa420f9a0bdc7a11b8d4ee5f154db35
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-30 15:22:24 +0200
+Date:   2017-09-08 10:56:49 +0200
 
-    opj_tcd_dc_level_shift_decode: avoid int32 overflow when prec == 31. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2799. Credit to OSS Fuzz
+    opj_tcd_mct_decode(): avoid heap buffer overflow when components have not the same number of resolutions. Also fixes an issue with subtile decoding. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3331. Credit to OSS Fuzz
 
-commit 517bf6fd86dae18b62390a03533d30da0e5bb701
+commit 33167ddc13fd20313ccfcdc64141000407b68b8f
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 21:11:23 +0200
+Date:   2017-09-08 09:53:52 +0200
 
-    src/bin/jpwl/convert.c: fix memleak (fix suggested by maddin200, #631)
+    opj_j2k_update_image_data(): restrict optimized path
 
-commit 51eb86d8f7a6297a4f0e8ca44977b72532de0353
+commit b73ce715d2a484d7355639d863d0418a0e5b8858
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 19:43:23 +0200
+Date:   2017-09-08 09:16:51 +0200
 
-    Fix warnings in pi.c raised by VS11 analyze (#190)
+    Use opj_image_data_free() where appropriate (adapted from https://github.com/uclouvain/openjpeg/pull/1015/commits/dab9db0723a5bb9f3d745f9dd7a0b8b3b18b8054, #1014)
 
-commit 397f62c0a838e15d667ef50e27d5d011d2c79c04
+commit 5abd86b14bb26d1882ee1c07b03f809f85162a5d
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 19:13:49 +0200
+Date:   2017-09-07 18:01:33 +0200
 
-    Fix write heap buffer overflow in opj_mqc_byteout(). Discovered by Ke Liu of Tencent's Xuanwu LAB (#835)
+    Properly fix cc893a4ebfaf8c42cf1221ac82c83df91e77340b to avoid heap-buffer-overflow when numcomps &lt; 3
 
-commit 11445eddad7e7fa5b273d1c83c91011c44e5d586
+commit 51a1dcaa6ed5713520dca36fc58cd9240c08b7ca
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 19:03:13 +0200
+Date:   2017-09-07 17:52:59 +0200
 
-    opj_pi_update_decode_poc(): limit layno1 to the number of layers (CVE-2016-1626 and CVE-2016-1628, #850)
-    
-    This has been recently fixed in a less elegant way per
-    80818c39f5bfbac37768fcee95b0ffeceaa77264
+    Avoid malloc poisoning issue when including &lt;pthread.h&gt; of uclibc (#1013)
+
+commit cc893a4ebfaf8c42cf1221ac82c83df91e77340b
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-09-07 15:32:54 +0200
 
-commit 3fbe71369019df0b47c7a2be4fab8c05768f2f32
+    opj_tcd_mct_decode(): fix checks to verify MCT can be done safely. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3305 (master only)
+
+commit c67e1cd73f6c1fca081f5445af4f65b240c40edc
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-09-06 17:33:38 +0200
+
+    Fix invalid access out of bounds, and bad behaviour, when calling repeatdly opj_get_decoded_tile() on an image with a color palette
+
+commit 297f202104fc0ff6b0627e15e7e6883c915f80bf
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 18:38:16 +0200
+Date:   2017-09-06 16:49:28 +0200
 
-    opj_tcd_get_decoded_tile_size(): fix potential UINT32 overflow (#854, CVE-2016-5152)
+    Fix 2.2.0 regression when reading codestream with reperated calls to opj_get_decoded_tile() where tile parts of a same tile are not consecutive
     
-    Fix derived from https://pdfium.googlesource.com/pdfium.git/+/d8cc503575463ff3d81b22dad292665f2c88911e/third_party/libopenjpeg20/0018-tcd_get_decoded_tile_size.patch
+    This check was introduced per #939, but relied on the incorrect assumption
+    we decode all the tile parts of all tiles.
 
-commit 5a3e7aaf339943bc988adbada39a1fc8f5046899
+commit 003759a4829f3f1baa5a2292956618fecf314818
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 17:56:12 +0200
+Date:   2017-09-06 15:59:19 +0200
 
-    color_cielab_to_rgb(): reject images with components of different dimensions to void read heap buffer overflow (#909)
+    Fix null pointer dereference on partial tile decoding when they are empty. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3297 (master only)
 
-commit 784d4d47e97b5d0fccccbd931349997a0e2074cc
+commit e656822f927c869f31f2685c67644eacb75fc5d2
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 17:51:10 +0200
+Date:   2017-09-05 23:32:03 +0200
+
+    Add knownfailures-Ubuntu12.04-gcc4.6.3-x86_64-Release-3rdP.txt
+    
+    For some reason, the OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Release OPJ_NUM_THREADS=2
+    configuration fails once PR1010 has been merged in master
+    ( https://travis-ci.org/uclouvain/openjpeg/jobs/272219011 ) whereas (almost) the same
+    code in my branch didn't fail per https://travis-ci.org/rouault/openjpeg/jobs/271738113
+    
+    The errors we get are the same as with the other x86_64 compilers, so nothing alarming here.
+
+commit 968e36bbd989fdf789c6a02c80c747346bb851c5
+Merge: 3a382d3 579b893
+Author: Even Rouault &lt;even.rouault@mines-paris.org&gt;
+Date:   2017-09-05 22:18:58 +0200
 
-    Fix breakage of 2fa0fc61f2d546c8b67e7c5a9cbc61d98e1f7af0 (#970)
+    Merge pull request #1010 from rouault/subtile_decoding_stage3
+    
+    Subtile decoding: memory use reduction and perf improvements
 
-commit 2fa0fc61f2d546c8b67e7c5a9cbc61d98e1f7af0
+commit 579b8937eae7e6b6868b8b5c6286a742c10a5130
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 17:28:55 +0200
+Date:   2017-09-04 17:35:52 +0200
 
-    imagetopnm(): make sure the alpha component has same dimension as other components to avoid read heap buffer overflow (#970)
+    Replace uses of size_t by OPJ_SIZE_T
 
-commit db9ef99f6dd054a84fa8382c02869fb0656abfc8
+commit 3a382d312306f45853b3ad78b770754d4bc7e440
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 16:34:35 +0200
+Date:   2017-09-03 00:30:36 +0200
 
-    opj_t1_decode_cblk(): avoid undefined shift behaviour. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2487. Credit to OSS Fuzz
+    opj_getopt.c: avoid crash on invalid input (#301)
 
-commit f6551f822fe020843299bd807ec6989abd070b2c
+commit e5ab1682a1bf52c203b16720011d869901929ac9
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 16:29:11 +0200
+Date:   2017-09-02 09:10:53 +0200
 
-    opj_t1_clbl_decode_processor(): avoid undefined behaviour if roishift &gt;= 31. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2506. Credit to OSS Fuzz
+    Improve error message when specifying a too big cp_reduce parameter (#474)
 
-commit 9906fbf737692486cebabe98169988d818e2e66a
+commit c1e0fba0c46cb528a08b89b986e86ff0f4792558
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 16:22:36 +0200
+Date:   2017-09-01 22:09:58 +0200
 
-    Avoid assertion in opj_j2k_merge_ppt() in case premature EOC is encountered in opj_j2k_read_tile_header(). Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2785. Credit to OSS Fuzz
+    opj_v4dwt_decode_step1_sse(): rework a bit to improve code generation
 
-commit 71b4f5b124d14ed609763b11e19d2d480bc32f58
+commit 676d4c807f0162877f9f32e4cdda2e242788d410
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-29 15:52:11 +0200
+Date:   2017-09-01 21:36:35 +0200
 
-    opj_pi_next_pcrl(): avoid undefined shift behaviour. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2787. Credit to OSS Fuzz
+    opj_j2k_update_image_data(): avoid allocating image buffer if we can just reuse the tile buffer one
 
-commit d6654d906c1ae66590b6d600458a91f1ee923de5
+commit 4c7effa6bc37beb2a8e2f29ecf5845cde93f6b88
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-28 22:15:47 +0200
+Date:   2017-09-01 21:17:26 +0200
 
-    opj_int_ceildiv(): fix int32 overflow. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2494. Credit to OSS Fuzz
+    opj_t1_clbl_decode_processor(): use SSE2 in subtile decoding code path, for irreversible
 
-commit 361c4506fdfb9b6f0e41d86d5d0ea1efb5704ecf
+commit 2c365fe0ecc8c6597db491a953a91308b1d0d4b1
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-28 22:06:26 +0200
+Date:   2017-09-01 20:43:39 +0200
 
-    opj_tcd_dc_level_shift_decode(): avoid int overflow. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2516. Credit to OSS Fuzz
+    Replace error message 'Not enough memory for tile data' by 'Size of tile data exceeds system limits' (refs https://github.com/uclouvain/openjpeg/pull/730#issuecomment-326654188)
 
-commit 7bdbe490cba9990916f94a40379cc787434340ff
+commit 559d16e8f43a0cd090d217d7d111820989299b85
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-28 21:55:22 +0200
+Date:   2017-09-01 16:31:13 +0200
 
-    Fix null pointer dereference in opj_jp2_apply_pclr(). Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2558. Credit to OSS Fuzz
+    opj_t1_decode_cblk(): move some code to codeblock processor for (theoretical) better multi-threading in subtile decoding
 
-commit 16aeb9282f6b3877aa8365c461ba8d3d1338adae
+commit 7017e67a01c378a7a1ee5e34dd544c793b5c23e4
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-28 21:39:30 +0200
+Date:   2017-09-01 16:31:10 +0200
 
-    Fix null pointer dereference in opj_j2k_add_mct() (#895)
-    
-    Fixes openjeg-crashes-2017-07-27/issue879-poc1.j2k of #895
+    sparse_array: optimizations for lossy case
 
-commit c5bf5ef4d6552e9159aaad29cb27826acd1a3389
+commit b428b8c7e7227cf96c83229df4d7bf009b6d2172
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-28 21:29:55 +0200
+Date:   2017-09-01 20:01:39 +0200
 
-    Avoid use-after-free when a MCT marker is found after a MCC one (#895)
+    opj_tcd_rateallocate(): make sure to use all passes for a lossless layer (#1009)
     
-    Fixes openjeg-crashes-2017-07-27/issue880-poc2.j2k of #895
+    And save a useless loop, which should be a tiny faster.
 
-commit e03e9474667e5117341351699f0b1dbb06f93346
+commit 7aa071aa273aa0b8fafbf055e5eb99b9cb8600a8
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-27 22:29:17 +0200
+Date:   2017-09-01 19:49:01 +0200
 
-    Avoid undefined shift behaviour if bit depth == 32 (#895)
-    
-    Fixes openjeg-crashes-2017-07-27/id:000000,sig:11,src:003798,op:ext_AO,pos:128.jp2
+    opj_j2k_setup_encoder(): emit warnings if tcp_rates are not decreasing or tcp_distoratio are not increasing (#1009)
 
-commit 820fcfe8bb101a2862c076b02c9b6b636ce39d2f
+commit a538815c774db94a0d3fa323c9ca4f456ef04903
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-27 19:34:54 +0200
+Date:   2017-09-01 19:27:56 +0200
 
-    opj_j2k_update_image_data / opj_tcd_update_tile_data: fix unaligned load/store (#895)
-    
-    When components don't have the same width, unaligned load/store are possible.
-    
-    Fixes openjeg-crashes-2017-07-27/id:000000,sig:11,src:001342,op:flip4,pos:162.jp2 of #895
+    opj_j2k_setup_encoder(): avoid potential int overflow in computations related to max_cs_size
 
-commit 6c4e5bacb9d9791fc6ff074bd7958b3820d70514
+commit 09929bb615bd6bf2a9f7703fc7b04a12096b091e
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-27 19:22:14 +0200
+Date:   2017-09-01 19:16:35 +0200
 
-    opj_pi_next_rpcl / opj_pi_next_pcrl / opj_pi_next_cprl: avoid int overflow (#895)
-    
-    Fixes int overflow on openjeg-crashes-2017-07-27/id:000000,sig:08,src:000879,op:flip2,pos:128.jp2
+    opj_compress help: revert 32572617765cb9d77302384653a48d793b8f657f and indicate 1 again as being the value to get lossless for -r. In opj_j2k_setup_encoder(), make sure that ll rates[] &lt;= 1.0 are set to 0. Document 0 as being lossless for -q / tcp_distoratio (#1009)
 
-commit 178194c093422c9564efc41f9ecb5c630b43f723
+commit 32572617765cb9d77302384653a48d793b8f657f
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-27 18:51:51 +0200
+Date:   2017-09-01 17:32:54 +0200
 
-    opj_jp2_check_color(): replace assertion regarding mtyp by runtime check (#672, #895)
-    
-    Fixes test case openjeg-crashes-2017-07-27/id:000000,sig:06,src:000001,op:flip1,pos:808.jp2
-    of #895
+    opj_compress help: indicate 0 value, instead of 1, for -r parameter to get lossless encoding (#1009)
 
-commit d6fa30099797c68c6a67decf58571dd59dbf734b
+commit 8a17be8945f6f8fcae3f9e5c7c4988e971d245ee
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-26 23:25:38 +0200
+Date:   2017-09-01 16:31:08 +0200
 
-    Avoids undefined shift behaviour in m_dc_level_shift computation
-    
-    Fixes warning found on clusterfuzz-testcase-minimized-5146316340461568
-    https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2495
-    
-    Credit to OSS Fuzz
+    opj_v4dwt_decode_step2_sse(): loop unroll
 
-commit a88cbb6a0b3539461dfb29922102953b7a7fc3a7
+commit 83b5a168ec0e89210671d60670c9a1143ce8776b
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-26 22:53:59 +0200
+Date:   2017-09-01 16:31:06 +0200
 
-    Fix various undefined shift behaviour in pi.c
-    
-    Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2496
-    Credit to OSS Fuzz
+    opj_dwt_decode_partial_97(): simplify/more efficient use of sparse arrays in vertical pass
 
-commit 6c5fe9407b7768eb2ac55b83511bc103551d207a
+commit ae19001ba425a9b396a29fba3417dccc746bd2ef
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-26 22:22:44 +0200
+Date:   2017-09-01 16:31:04 +0200
 
-    Avoid potential undefined shift behaviour in opj_bio_read() from opj_t2_read_packet_header()
-    
-    Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2485
-    Credit to OSS Fuzz
+    opj_tcd_dc_level_shift_decode(): optimize lossy case
 
-commit dbf527bf2a53bc88e6cf1373991002ec0e8e22a1
-Merge: 5e795d9 94c4b73
-Author: Even Rouault &lt;even.rouault@mines-paris.org&gt;
-Date:   2017-07-26 22:05:32 +0200
+commit 470f3ed416a8cc3618b2c04000ea7b4694043f34
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-09-01 16:31:02 +0200
 
-    Merge pull request #800 from rouault/tier1_optimizations_multithreading_pterm_check
-    
-    Implement predictive termination check
+    opj_dwt_decode_partial_1_parallel(): add SSE2 optimization
 
-commit 94c4b7300cc515330bf798bb45eb0d68e2c84aa0
+commit 873004c615b1bed3ce780e869288602af86fdee5
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-26 21:39:50 +0200
+Date:   2017-09-01 16:31:00 +0200
 
-    T1 decoder: check code stream errors when predictable termination is enabled and emit a warning when errors are found
+    Sub-tile decoding: speed up vertical pass in IDWT5x3 by processing 4 cols at a time
 
-commit 5e795d90a1e47616e0c7a2e39381c13ccf7fd6dd
+commit ccac773556070ede24ea3dfbdec47c2b3c5be5c4
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-26 21:06:38 +0200
+Date:   2017-09-01 16:30:58 +0200
 
-    Spelling fixes (patch by ka7, #890, rebased on top of master)
+    Tiny perf improvement in T1 stage for subtile decoding
 
-commit 2be20ce7d9996e960d79f3ad6ec439a9895849ed
+commit 18635df518602265b71da3c70c4d3b774bc3dfc2
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-26 21:04:01 +0200
+Date:   2017-09-01 16:30:56 +0200
 
-    Reformat src/bin/wx/OPJViewer/source/OPJThreads.cpp src/bin/wx/OPJViewer/source/imagjpeg2000.cpp wrapping/java/openjp2/JavaOpenJPEG.c
+    test_decode_area: accept user bounds in -strip_height mode
 
-commit 94cc97c58acfa574e734fac5eb673c516c0ac469
+commit 82a43d8035ca5f43e198e15faef6c9ac44b39541
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-26 20:13:09 +0200
+Date:   2017-09-01 16:30:54 +0200
 
-    opj_decompress: fix null pointer dereference on comps[].data on id_000167,sig_11,src_006079,op_havoc,rep_4 (#939)
+    Optimize opj_dwt_decode_partial_1() when cas == 0
 
-commit 8d2e69e37d01bf6a0440d3109d92235c3c586ffe
+commit 1644665a9105e2d761e8b29f43af602560e6bcf9
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-26 19:49:38 +0200
+Date:   2017-09-01 16:30:52 +0200
 
-    Fix assertion / memory leak in opj_j2k_merge_ppt() on corrupted images (#939)
-    
-    Fixes issue on id:000020,sig:06,src:001958,op:flip4,pos:149 that has two
-    SOT markers for the same tile with the same tile part number, causing
-    opj_j2k_merge_ppt() to be called several times.
+    opj_j2k_update_image_data(): avoid zero-ing the buffer if not needed
 
-commit 5c5319984b81e2aa32d1d83abdef0cdb8dbe7b18
+commit b2cc8f7f81242f967b65e76de043e5e31663d793
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-26 18:05:56 +0200
+Date:   2017-09-01 16:30:50 +0200
 
-    Avoid division by zero in opj_pi_next_rpcl, opj_pi_next_pcrl, opj_pi_next_cprl (#938)
-    
-    Fixes crash on id_000004,sig_06,src_000679,op_arith8,pos_49,val_-17
+    Optimize reading/write into sparse array
 
-commit 80818c39f5bfbac37768fcee95b0ffeceaa77264
+commit 0ae3cba3404674bbe2028ea9a801301a4c951b33
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-26 12:24:26 +0200
+Date:   2017-09-01 16:30:48 +0200
 
-    Avoid index out of bounds access to pi-&gt;include[] (#938)
+    Allow several repeated calls to opj_set_decode_area() and opj_decode() for single-tiled images
     
-    Fix id:000098,sig:11,src:005411,op:havoc,rep:2 test case
+    * Only works for single-tiled images --&gt; will error out cleanly, as currently
+      in other cases
+    * Save re-reading the codestream for the tile, and re-use code-blocks of the
+      previous decoding pass.
+    * Future improvements might involve improving opj_decompress, and the image writing logic,
+      to use this strategy.
 
-commit d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b
+commit 6ce49bf5aebb3c45c464fa82d14cfd4bf7026a28
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-26 11:30:56 +0200
+Date:   2017-09-01 10:26:18 +0200
 
-    Avoid division by zero in opj_pi_next_rpcl, opj_pi_next_pcrl and opj_pi_next_cprl (#938)
-    
-    Fixes issues with id:000026,sig:08,src:002419,op:int32,pos:60,val:+32 and
-    id:000019,sig:08,src:001098,op:flip1,pos:49
+    Fix undefined shift behaviour in opj_dwt_is_whole_tile_decoding(). Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3255. Credit to OSS Fuzz
 
-commit 39e962a0ca5e53722f6badda8e93681aad412cf1
-Merge: 60f8ddf 90ced71
-Author: Even Rouault &lt;even.rouault@mines-paris.org&gt;
-Date:   2017-07-13 13:33:21 +0200
+commit 04b70908a7ada29481d2e1903b76f44a68d4d268
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-08-29 11:40:53 +0200
+
+    Use IDWT whole tile decoding if the area of interest equals to the image bounds, taking into account the reduced resolution factor
+
+commit 4776b15fa7ec2afa74f65cd471f94513ea08205a
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-08-28 18:07:44 +0200
+
+    Add test for fix of a55c024fc6b917a409b85aeafd7326421c4aea34
 
-    Merge pull request #969 from jeroen/staticlibs
+commit a55c024fc6b917a409b85aeafd7326421c4aea34
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-08-28 17:18:33 +0200
+
+    Subtile decoding: fix overflows in subband coordinate computation that cause later buffer overflow. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3115. Credit to OSS Fuzz. master only
+
+commit 8f92fc97913bec7ffa2dc10d062c0cdd19da20e4
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-08-28 14:57:49 +0200
+
+    Make opj_set_decode_area() and opj_decode() take into account opj_set_decoded_resolution_factor() (#1006, affect API use)
     
-    install static libraries
+    * Better document usage of opj_set_decode_area(), ie expecting coordinates
+      in full resolution/reference grid even if requesting at a lower resolution
+      factor
+    * Make sure that image-&gt;comps[].factor is set by opj_set_decode_area() and
+      opj_decode() from the value specified in opj_set_decoded_resolution_factor()
+    * opj_decompress: add 2 environmenet variables to test alternate ways of
+      using the API, namely USE_OPJ_SET_DECODED_RESOLUTION_FACTOR=YES to use
+      opj_set_decoded_resolution_factor() instead of parameters.cp_reduce, and
+      SKIP_OPJ_SET_DECODE_AREA=YES to not call opj_set_decode_area() if -d is
+      not specified.
+
+commit 5a4a10120a648848de7522245f8671c3ce285dbc
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-08-24 14:38:24 +0200
+
+    Another cleanup in knownfailures-* files
 
-commit 90ced71601f05e87b4fa922261554eeeb11118b9
-Author: Jeroen &lt;jeroenooms@gmail.com&gt;
-Date:   2017-07-13 11:34:15 +0200
+commit e0a5d148f7e84d18a52c97bd08b21b1dffa9570a
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-08-24 14:32:36 +0200
+
+    Remove test steps from specialized knownfailures- that are already in knownfailures-all.txt
+
+commit 79aa0b54ddd3e4e3ca09374cb82bd3302a65783a
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-08-24 14:31:13 +0200
 
-    install static libraries
+    issue104_jpxstream.jp2 decompresses just fine (and like Kakadu). Update md5refs.txt and remove from knownfailures
 
-commit 60f8ddf577b20ccbb3dc0559b624115b9ba522ba
+commit c059f431e6262fe5ce296e8137dd478dfe4d1af1
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-06 12:11:37 +0200
+Date:   2017-08-24 14:09:34 +0200
 
-    Comment fix
+    Remove broken.jpc test from known failures, by avoiding too long processing time
 
-commit a38c4496b631bb5d3f8d5ea42d394544523a9bc6
+commit 5146abc02ebd871aa1e737373cdc7654e8e4b07f
 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
-Date:   2017-07-05 21:33:42 +0200
+Date:   2017-08-24 14:09:31 +0200
 
-    Remove unused m_DA_x0, m_DA_y0, m_DA_x1, m_DA_y1 members from opj_j2k_dec structure
+    imagetopgx(): improve performance in 8 bit case (relates to broken.jpc test case)
+
+commit fdcd4e6365731cc1015213e424068131bcd1f31f
+Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
+Date:   2017-08-24 13:23:25 +0200
+
+    Remove -NR-DEC-p1_06.j2k-156-decode and NR-DEC-p1_06.j2k-164-decode from knownfailures
+    
+    and make them explicit failures. The result images are empty at the requested resolution
 
 ...</pre></div>