Commits

Anonymous committed 8203fc2

Updated readme. Added missing copyright/license headers. Fix for borland.

  • Participants
  • Parent commits a75be3a

Comments (0)

Files changed (7)

File docs/readme.html

 		See accompanying file <strong>LICENSE_1_0.txt</strong> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</a>
 		</p>
 		<p>
-		pngxx makes use of libpng and zlib, both of which are bundled with the distribution. The copyright and license information for libpng and zlib can be found in libpng_LICENSE.txt and zlib_LICENSE.txt respectively. I have made minor modifications to these libraries to ensure they compile cleanly on C++ compilers with warning levels turned up high.
+		pngxx makes use of libpng and zlib, both of which are bundled with the distribution. The copyright and license information for libpng and zlib can be found in libpng_LICENSE.txt and zlib_LICENSE.txt respectively. I have made minor modifications to zlib ensure it compiles cleanly on C++ compilers.
 		</p>
 
 		<h2>Instructions</h2>
-		<p>Thanks for downloading pngxx. Please visit <a href="http://www.mr-edd.co.uk">http://www.mr-edd.co.uk</a> for more information on pngxx, including compilation and usage instructions.</p>
+		<p>Thanks for downloading pngxx. Please visit <a href="http://bitbucket.org/edd/pngxx/wiki/Home">http://bitbucket.org/edd/pngxx/wiki/Home</a> for more information on pngxx, including compilation and usage instructions.</p>
 
 		<p>
 		&mdash; Edd
 
 		<!-- Note to self: don't forget to change the version in zlib.h when releasing new versions of pngxx -->
 
+		<h3>Version 0.3.0 release on 19 July 2009</h3>
+		<ul>
+			<li>The latest version of libpng (1.2.38) is now bundled with pngxx</li>
+			<li>It is now possible to use an existing copy of libpng and zlib, rather than the supplied copies</li>
+			<li>The <code>imagexx::raster_details</code> class now contains information about the image size in physical units (mm). pngxx will now load and save this information in PNG streams</li>
+			<li>Some minor clean-up work to the internals</li>
+		</ul>
+
         <h3>Version 0.2.0 released on 26 November 2008</h3>
 		<ul>
             <li>Initial release. Version number coincides with that of jpegxx, whose API this library mirrors closely</li>

File include/pngxx/version.hpp

 
 namespace pngxx
 {
-    //! The enumeration constants in the struct can be used to identify the version of the library
     struct version
     {
         enum
 defines : common : PNG_USER_WIDTH_MAX=0x7fffffffL PNG_USER_HEIGHT_MAX=0x7fffffffL
 defines : common : PNG_NO_READ_TEXT PNG_NO_READ_UNKNOWN_CHUNKS PNG_NO_WRITE_TEXT PNG_NO_WRITE_UNKNOWN_CHUNKS
 defines : common : PNG_NO_INFO_IMAGE PNG_SETJMP_NOT_SUPPORTED PNG_NO_SETJMP_SUPPORTED PNG_USER_MEM_SUPPORTED
+defines : common : PNG_USE_LOCAL_ARRAYS=1
 defines : common : PNGXX_CAN_THROW_EXCEPTIONS_THROUGH_C_LIB=1
 
 include : common : src/3rd_party/zlib src/3rd_party/libpng ../imagexx/include include

File src/best_exception_store.hpp

 
 #endif
 
-
-
 #endif // BEST_EXCEPTION_STORE_HPP_1144_17072009

File src/memory_pool.cpp

+// Copyright 2009 Edd Dawson.
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file BOOST_LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include "memory_pool.hpp"
 
 #include <algorithm>

File src/memory_pool.hpp

+// Copyright 2009 Edd Dawson.
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file BOOST_LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef MEMORY_POOL_HPP_0240_13072009
 #define MEMORY_POOL_HPP_0240_13072009
 
 // (See accompanying file BOOST_LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt)
 
+#ifndef OOM_HPP_1405_19072009
+#define OOM_HPP_1405_19072009
+
 namespace pngxx
 {
     namespace detail
         bool oom(const char *message);
     }
 }
+
+#endif // OOM_HPP_1405_19072009