Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/3rdparty/libpng/CHANGES

    r2 r561  
    1 
     1/*
    22CHANGES - changes for libpng
    33
     
    540540  Renamed "PNG_GLOBAL_ARRAYS" to "PNG_USE_GLOBAL_ARRAYS" and made available
    541541    to applications a macro "PNG_USE_LOCAL_ARRAYS".
    542   #ifdef out all the new declarations when PNG_USE_GLOBAL_ARRAYS is defined.
     542  Remove all the new declarations with #ifdef/#endif when
     543    PNG_USE_GLOBAL_ARRAYS is defined.
    543544  Added PNG_EXPORT_VAR macro to accommodate making DLL's.
    544545version 1.0.5e [November 30, 1999]
     
    11801181  Detect buffer overflow in pngpread.c when IDAT is corrupted with extra data.
    11811182  Added "test-installed" target to makefile.32sunu, makefile.64sunu,
    1182     makefile.beos, makefile.darwin, makefile.dec, makefile.macosx, 
     1183    makefile.beos, makefile.darwin, makefile.dec, makefile.macosx,
    11831184    makefile.solaris, makefile.hpux, makefile.hpgcc, and makefile.so9.
    11841185version 1.2.4rc1 and 1.0.14rc1 [July 2, 2002]
     
    13011302    sequential read support.
    13021303  Added some "#if PNG_WRITE_SUPPORTED" blocks.
    1303   #ifdef'ed out some redundancy in png_malloc_default().
     1304  Removed some redundancy with #ifdef/#endif in png_malloc_default().
    13041305  Use png_malloc instead of png_zalloc to allocate the pallete.
    13051306version 1.0.16rc1 and 1.2.6rc1 [August 4, 2004]
     
    13711372    strip alpha operation in png_do_strip_filler().
    13721373  Added PNG_1_2_X definition in pngconf.h
    1373   #ifdef out png_info_init in png.c and png_read_init in pngread.c (as of 1.3.0)
     1374  Comment out with #ifdef/#endif png_info_init in png.c and png_read_init
     1375    in pngread.c (as of 1.3.0)
    13741376version 1.2.8beta2 [November 2, 2004]
    13751377  Reduce color_type to a nonalpha type after strip alpha operation in
     
    13881390    PNG_STRIP_ALPHA info to png_do_strip_filler(), to preserve ABI
    13891391    compatibility.
    1390   Revised handling of SPECIALBUILD, PRIVATEBUILD, 
     1392  Revised handling of SPECIALBUILD, PRIVATEBUILD,
    13911393    PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING.
    13921394version 1.2.8rc1 [November 24, 2004]
     
    16861688version 1.2.16beta2 [January 16, 2007]
    16871689  Revised scripts/CMakeLists.txt
    1688  
     1690
    16891691version 1.0.24, 1.2.16 [January 31, 2007]
    16901692  No changes.
    1691  
     1693
    16921694version 1.2.17beta1 [March 6, 2007]
    16931695  Revised scripts/CMakeLists.txt to install both shared and static libraries.
    16941696  Deleted a redundant line from pngset.c.
    1695  
     1697
    16961698version 1.2.17beta2 [April 26, 2007]
    16971699  Relocated misplaced test for png_ptr == NULL in pngpread.c
     
    17141716    can be free'ed in case of error.  Revised unknown chunk handling in
    17151717    pngrutil.c and pngpread.c to use this structure.
    1716  
     1718
    17171719version 1.2.17rc3 [May 8, 2007]
    17181720  Revised symbol-handling in configure script.
     
    17571759
    17581760version 1.2.19beta7 [May 22, 2007]
    1759   Squelched png_squelch_warnings() in pnggccrd.c and added an
    1760     #ifdef PNG_MMX_CODE_SUPPORTED block around the declarations that caused
    1761     the warnings that png_squelch_warnings was squelching.
     1761  Squelched png_squelch_warnings() in pnggccrd.c and added
     1762    an #ifdef PNG_MMX_CODE_SUPPORTED/#endif block around the declarations
     1763    that caused the warnings that png_squelch_warnings was squelching.
    17621764
    17631765version 1.2.19beta8 [May 22, 2007]
     
    21082110    unknown chunks.
    21092111  Added more information about png_set_keep_unknown_chunks() to the
    2110     documetation.
     2112    documentation.
    21112113  Reject tRNS chunk with out-of-range samples instead of masking off
    21122114    the invalid high bits as done in since libpng-1.2.19beta5.
     
    21282130
    21292131version 1.2.27beta05 [April 19, 2008]
    2130   Added MAINTEINERCLEANFILES variable to Makefile.am
     2132  Added MAINTAINERCLEANFILES variable to Makefile.am
    21312133
    21322134version 1.2.27beta06 [April 21, 2008]
     
    21572159  Changed $(ECHO) to echo in Makefile.am and Makefile.in
    21582160  Updated all configure files to autoconf-2.62
    2159   #ifdef out pnggcrd.c code if using MSC_VER
     2161  Comment out pnggcrd.c code with #ifdef/#endif if using MSC_VER
    21602162
    21612163version 1.2.29rc01 [May 4, 2008]
     
    21632165
    21642166version 1.0.35 and 1.2.29 [May 8, 2008]
     2167  No changes.
     2168
     2169version 1.0.37 [May 9, 2008]
     2170  Updated Makefile.in and configure (omitted version 1.0.36).
     2171
     2172version 1.2.30beta01 [May 29, 2008]
     2173  Updated libpng.pc-configure.in and libpng-config.in per debian bug reports.
     2174
     2175version 1.2.30beta02 [June 25, 2008]
     2176  Restored png_flush(png_ptr) at the end of png_write_end(), that was
     2177    removed from libpng-1.0.9beta03.
     2178
     2179version 1.2.30beta03 [July 6, 2008]
     2180  Merged some cosmetic whitespace changes from libpng-1.4.0beta19.
     2181  Inline call of png_get_uint_32() in png_get_uint_31(), as in 1.4.0beta19.
     2182  Added demo of decoding vpAg and sTER chunks to pngtest.c, from 1.4.0beta19.
     2183  Changed PNGMAJ from 0 to 12 in makefile.darwin, which does not like 0.
     2184  Added new private function png_read_chunk_header() from 1.4.0beta19.
     2185  Merge reading of chunk length and chunk type into a single 8-byte read.
     2186  Merge writing of chunk length and chunk type into a single 8-byte write.
     2187
     2188version 1.2.30beta04 [July 10, 2008]
     2189  Merged more cosmetic whitespace changes from libpng-1.4.0beta19.
     2190
     2191version 1.0.38rc01, 1.2.30rc01 [July 18, 2008]
     2192  No changes.
     2193
     2194version 1.0.38rc02, 1.2.30rc02 [July 21, 2008]
     2195  Moved local array "chunkdata" from pngrutil.c to the png_struct, so
     2196    it will be freed by png_read_destroy() in case of a read error (Kurt
     2197    Christensen).
     2198
     2199version 1.0.38rc03, 1.2.30rc03 [July 21, 2008]
     2200  Changed "purpose" and "buffer" to png_ptr->chunkdata to avoid memory leaking.
     2201
     2202version 1.0.38rc04, 1.2.30rc04 [July 22, 2008]
     2203  Changed "chunkdata = NULL" to "png_ptr->chunkdata = NULL" several places in
     2204    png_decompress_chunk().
     2205
     2206version 1.0.38rc05, 1.2.30rc05 [July 25, 2008]
     2207  Changed all remaining "chunkdata" to "png_ptr->chunkdata" in
     2208    png_decompress_chunk() and remove chunkdata from parameter list.
     2209  Put a call to png_check_chunk_name() in png_read_chunk_header().
     2210  Revised png_check_chunk_name() to reject a name with a lowercase 3rd byte.
     2211  Removed two calls to png_check_chunk_name() occuring later in the process.
     2212
     2213version 1.0.38rc06, 1.2.30rc06 [July 29, 2008]
     2214  Added a call to png_check_chunk_name() in pngpread.c
     2215  Reverted png_check_chunk_name() to accept a name with a lowercase 3rd byte.
     2216
     2217version 1.0.38r07, 1.2.30r07 [August 2, 2008]
     2218  Changed "-Wall" to "-W -Wall" in the CFLAGS in all makefiles (Cosmin Truta)
     2219  Declared png_ptr "volatile" in pngread.c and pngwrite.c to avoid warnings.
     2220  Added code in pngset.c to quiet compiler warnings.
     2221  Updated contrib/visupng/cexcept.h to version 2.0.1
     2222  Relocated a misplaced "#endif /* PNG_NO_WRITE_FILTER */" in pngwutil.c
     2223
     2224version 1.0.38r08, 1.2.30r08 [August 2, 2008]
     2225  Enclose "volatile" declarations in #ifdef PNG_SETJMP_SUPPORTED (Cosmin).
     2226
     2227version 1.0.38, 1.2.30 [August 14, 2008]
     2228  No changes.
     2229
     2230version 1.2.31rc01 [August 19, 2008]
     2231  Removed extra crc check at the end of png_handle_cHRM().  Bug introduced
     2232    in libpng-1.2.30beta03 (Heiko Nitzsche).
     2233
     2234version 1.2.31rc02 [August 19, 2008]
     2235  Added PNG_WRITE_FLUSH_SUPPORTED block around new png_flush() call.
     2236
     2237version 1.2.31rc03 [August 19, 2008]
     2238  Added PNG_WRITE_FLUSH_AFTER_IEND_SUPPORTED block, off by default, around
     2239    new png_flush().
     2240
     2241version 1.0.39, 1.2.31 [August 21, 2008]
     2242  No changes.
     2243
     2244version 1.2.32beta01 [September 6, 2008]
     2245  Shortened tIME_string to 29 bytes in pngtest.c (bug introduced in
     2246    libpng-1.2.22).
     2247  Fixed off-by-one error introduced in png_push_read_zTXt() function in
     2248    libpng-1.2.30beta04/pngpread.c (Harald van Dijk)
     2249  These bugs have been given the vulnerability id CVE-2008-3964.
     2250
     2251version 1.0.40, 1.2.32 [September 18, 2008]
     2252  No changes.
     2253
     2254version 1.2.33beta01 [October 6, 2008]
     2255  Revised makefile.darwin to fix shared library numbering.
     2256  Change png_set_gray_1_2_4_to_8() to png_set_expand_gray_1_2_4_to_8()
     2257    in example.c (debian bug report)
     2258
     2259version 1.2.33rc01 [October 15, 2008]
     2260  No changes.
     2261
     2262version 1.0.41rc01, version 1.2.33rc02 [October 23, 2008]
     2263  Changed remaining "key" to "png_ptr->chunkdata" in png_handle_tEXt()
     2264    to avoid memory leak after memory failure while reading tEXt chunk.`
     2265
     2266version 1.2.33 [October 31, 2008]
     2267  No changes.
     2268
     2269version 1.2.34beta01 [November 27, 2008]
     2270  Revised png_warning() to write its message on standard output by default
     2271    when warning_fn is NULL. This was the behavior prior to libpng-1.2.9beta9.
     2272  Fixed string vs pointer-to-string error in png_check_keyword().
     2273  Added png_check_cHRM_fixed() in png.c and moved checking from pngget.c,
     2274    pngrutil.c, and pngwrite.c, and eliminated floating point cHRM checking.
     2275  Added check for zero-area RGB cHRM triangle in png_check_cHRM_fixed().
     2276  In png_check_cHRM_fixed(), ensure white_y is > 0, and removed redundant
     2277    check for all-zero coordinates that is detected by the triangle check.
     2278  Revised png_warning() to write its message on standard output by default
     2279    when warning_fn is NULL.
     2280
     2281version 1.2.34beta02 [November 28, 2008]
     2282  Corrected off-by-one error in bKGD validity check in png_write_bKGD()
     2283    and in png_handle_bKGD().
     2284
     2285version 1.2.34beta03 [December 1, 2008]
     2286  Revised bKGD validity check to use >= x instead of > x + 1
     2287  Merged with png_debug from libpng-1.4.0 to remove newlines.
     2288
     2289version 1.2.34beta04 [December 2, 2008]
     2290  More merging with png_debug from libpng-1.4.0 to remove newlines.
     2291
     2292version 1.2.34beta05 [December 5, 2008]
     2293  Removed redundant check for key==NULL before calling png_check_keyword()
     2294    to ensure that new_key gets initialized and removed extra warning
     2295    (Arvan Pritchard).
     2296
     2297version 1.2.34beta06 [December 9, 2008]
     2298  In png_write_png(), respect the placement of the filler bytes in an earlier
     2299    call to png_set_filler() (Jim Barry).
     2300
     2301version 1.2.34beta07 [December 9, 2008]
     2302  Undid previous change and added PNG_TRANSFORM_STRIP_FILLER_BEFORE and
     2303    PNG_TRANSFORM_STRIP_FILLER_AFTER conditionals and deprecated
     2304    PNG_TRANSFORM_STRIP_FILLER (Jim Barry).
     2305
     2306version 1.0.42rc01, 1.2.34rc01 [December 11, 2008]
     2307  No changes.
     2308
     2309version 1.0.42, 1.2.34 [December 18, 2008]
     2310  No changes.
     2311
     2312version 1.2.35beta01 [February 4, 2009]
     2313  Zero out some arrays of pointers after png_malloc(). (Tavis Ormandy)
     2314
     2315version 1.2.35beta02 [February 4, 2009]
     2316  Zero out more arrays of pointers after png_malloc().
     2317
     2318version 1.2.35beta03 [February 5, 2009]
     2319  Use png_memset() instead of a loop to intialize pointers.  We realize
     2320    this will not work on platforms where the NULL pointer is not all zeroes.
     2321
     2322version 1.2.35rc01 [February 11, 2009]
     2323  No changes.
     2324
     2325version 1.2.35rc02 [February 12, 2009]
     2326  Fix typo in new png_memset call in pngset.c (png_color should be png_charp)
     2327
     2328version 1.0.43 and 1.2.35 [February 14, 2009]
     2329  No changes.
     2330
     2331version 1.2.36beta01 [February 28, 2009]
     2332  Revised comments in png_set_read_fn() and png_set_write_fn().
     2333  Revised order of #ifdef's and indentation in png_debug definitions of png.h
     2334    bug introduced in libpng-1.2.34.
     2335
     2336version 1.2.36beta02 [March 21, 2009]
     2337  Use png_memset() after png_malloc() of big_row_buf when reading an
     2338    interlaced file, to avoid a possible UMR.
     2339  Undid recent revision of PNG_NO_STDIO version of png_write_flush().  Users
     2340    having trouble with fflush() can build with PNG_NO_WRITE_FLUSH defined.
     2341  Revised libpng*.txt documentation about use of png_write_flush().
     2342  Removed fflush() from pngtest.c.
     2343  Added "#define PNG_NO_WRITE_FLUSH" to contrib/pngminim/encoder/pngusr.h
     2344
     2345version 1.2.36beta03 [March 27, 2009]
     2346  Relocated misplaced PNG_1_0_X define in png.h that caused the prototype
     2347    for png_set_strip_error_numbers() to be omitted from PNG_NO_ASSEMBLER_CODE
     2348    builds.  This bug was introduced in libpng-1.2.15beta4.
     2349  Added a section on differences between 1.0.x and 1.2.x to libpng.3/libpng.txt
     2350
     2351version 1.2.36beta04 [April 5, 2009]
     2352  Fixed potential memory leak of "new_name" in png_write_iCCP() (Ralph Giles)
     2353
     2354version 1.2.36beta05 [April 24, 2009]
     2355  Added "ifndef PNG_SKIP_SETJMP_CHECK" block in pngconf.h to allow
     2356    application code writers to bypass the check for multiple inclusion
     2357    of setjmp.h when they know that it is safe to ignore the situation.
     2358  Made some cosmetic changes to whitespace in pngtest output.
     2359  Renamed "user_chunk_data" to "my_user_chunk_data" in pngtest.c to suppress
     2360    "shadowed declaration" warning from gcc-4.3.3.
     2361  Renamed "gamma" to "png_gamma" in pngset.c to avoid "shadowed declaration"
     2362    warning about a global "gamma" variable in math.h on some platforms.
     2363
     2364version 1.2.36rc01 [April 30, 2009]
     2365  No changes.
     2366
     2367version 1.0.44 and 1.2.36 [May 7, 2009]
     2368  No changes.
     2369
     2370version 1.2.37beta01 [May 14, 2009]
     2371  Fixed inconsistency in pngrutil.c, introduced in libpng-1.2.36.  The
     2372    memset() was using "png_ptr->rowbytes" instead of "row_bytes", which
     2373    the corresponding png_malloc() uses (Joe Drew).
     2374  Clarified usage of sig_bit versus sig_bit_p in example.c (Vincent Torri)
     2375  Updated some of the makefiles in the scripts directory (merged with
     2376    those in libpng-1.4.0beta57).
     2377
     2378version 1.2.37beta02 [May 19, 2009]
     2379  Fixed typo in libpng documentation (FILTER_AVE should be FILTER_AVG)
     2380  Relocated misplaced #endif in pngwrite.c, sCAL chunk handler.
     2381  Conditionally compile png_read_finish_row() which is not used by
     2382    progressive readers.
     2383  Added contrib/pngminim/preader to demonstrate building minimal progressive
     2384    decoder, based on contrib/gregbook with embedded libpng and zlib.
     2385
     2386version 1.2.37beta03 [May 20, 2009]
     2387  In contrib/pngminim/*, renamed "makefile.std" to "makefile", since there
     2388    is only one makefile in those directories, and revised the README files
     2389    accordingly.
     2390  Reformated sources in libpng style (3-space indentation, comment format)
     2391
     2392version 1.2.37rc01 [May 27, 2009]
     2393  No changes.
     2394
     2395versions 1.2.37 and 1.0.45 [June 4, 2009]
     2396  Reformatted several remaining "else statement;" and "if () statement;" into
     2397    two lines.
     2398  Added "#define PNG_NO_WRITE_SWAP" to contrib/pngminim/encoder/pngusr.h
     2399    and "define PNG_NO_READ_SWAP" to decoder/pngusr.h and preader/pngusr.h
     2400  Added sections about the git repository and our coding style to the
     2401    documentation (merged from libpng-1.4.0beta62)
     2402  Added a section to the libpng documentation about using png_get_io_ptr()
     2403    in configure scripts to detect the presence of libpng.
     2404
     2405version 1.2.38beta01 [June 17, 2009]
     2406  Revised libpng*.txt and libpng.3 to mention calling png_set_IHDR()
     2407    multiple times and to specify the sample order in the tRNS chunk,
     2408    because the ISO PNG specification has a typo in the tRNS table.
     2409  Changed several PNG_UNKNOWN_CHUNK_SUPPORTED to
     2410    PNG_HANDLE_AS_UNKNOWN_SUPPORTED, to make the png_set_keep mechanism
     2411    available for ignoring known chunks even when not saving unknown chunks.
     2412  Adopted preference for consistent use of "#ifdef" and "#ifndef" versus
     2413    "#if defined()" and "if !defined()" where possible.
     2414  Added PNG_NO_HANDLE_AS_UNKNOWN in the PNG_LEGACY_SUPPORTED block of
     2415    pngconf.h, and moved the various unknown chunk macro definitions
     2416    outside of the PNG_READ|WRITE_ANCILLARY_CHUNK_SUPPORTED blocks.
     2417
     2418version 1.0.46 [June 18, 2009]
     2419  Removed some editing cruft from scripts/libpng.pc.in and some makefiles.
     2420
     2421version 1.2.38rc01 [June 24, 2009]
     2422  No changes.
     2423
     2424version 1.2.38rc02 [June 29, 2009]
     2425  Added a reference to the libpng license in each source file.
     2426
     2427version 1.2.38rc03 [July 11, 2009]
     2428  Revised references to the libpng license in pngconf.h and contrib/visupng
     2429    source files.
     2430  Rebuilt configure scripts with autoconf-2.63.
     2431
     2432version 1.0.47 and 1.2.38 [July 16, 2009]
     2433  No changes.
     2434
     2435version 1.2.39beta01 [July 25, 2009]
     2436  Added a prototype for png_64bit_product() in png.c
     2437
     2438version 1.2.39beta02 [July 27, 2009]
     2439  Avoid a possible NULL dereference in debug build, in png_set_text_2().
     2440    (bug introduced in libpng-0.95, discovered by Evan Rouault)
     2441
     2442version 1.2.39beta03 [July 29, 2009]
     2443  Relocated new png_64_bit_product() prototype into png.h
     2444  Expanded the information about prototypes in the libpng style section of
     2445    the documentation.
     2446  Rebuilt configure scripts with autoconf-2.64.
     2447
     2448version 1.2.39beta04 [August 1, 2009]
     2449  Replaced *.tar.lzma with *.txz in distribution.  Get the xz codec
     2450    from <http://tukaani.org/xz>.
     2451
     2452version 1.2.39beta05 [August 1, 2009]
     2453  Reject attempt to write iCCP chunk with negative embedded profile length
     2454    (JD Chen)
     2455
     2456version 1.2.39c01 [August 6, 2009]
     2457  No changes.
     2458
     2459version 1.2.39 and 1.0.48 [August 13, 2009]
     2460  No changes.
     2461
     2462version 1.2.40beta01 [August 20, 2009]
     2463  Removed an extra png_debug() recently added to png_write_find_filter().
     2464  Fixed incorrect #ifdef in pngset.c regarding unknown chunk support.
     2465
     2466version 1.2.40rc01 [September 2, 2009]
     2467  Various bugfixes and improvements to CMakeLists.txt (Philip Lowman)
     2468
     2469version 1.2.40 and 1.0.49 [September 10, 2009]
    21652470  No changes.
    21662471
     
    21722477
    21732478Glenn R-P
     2479*/
Note: See TracChangeset for help on using the changeset viewer.