Commit Graph

328 Commits

Author SHA1 Message Date
Marcel Metz
1253700adb Use png_get_valid to properly identify tRNS chunks in PNG files
When loading PNG images with "simple transparency" the IO extension
should expland the contained alpha palette into a proper alpha channel.
Currenty the code queries if the image contains an alpha channel, which
is different from an alpha palette.

Fixes: #117
2018-07-18 08:10:51 +02:00
Stefan Seefeld
51cf617c63 Fix 'raw' IO extension. 2018-07-15 20:37:06 -04:00
Mateusz Łoskot
c95bcf96ad Remove #define GIL_VERSION "2.1.2"
The macro was replaced by recently added gil/version.hpp

Closes #82
2018-06-27 00:02:27 -04:00
Mateusz Łoskot
e4322aa094 Remove dependency on Boost.SmartPtr
Replace boost::shared_ptr with C++11 std::shared_ptr.
2018-06-27 00:02:27 -04:00
Mateusz Łoskot
a435900b34 Remove dependency on boost::lexical_cast
Replace lexical_cast with C++11 std::to_string function.
2018-06-27 00:02:27 -04:00
Mateusz Łoskot
8e1db33826 Remove dependency on boost::array
Replace boost::array with C++11 std::array.
2018-06-27 00:02:27 -04:00
Mateusz Łoskot
472d1e57d3 Fix warning: extra ';' [ci skip] 2018-06-27 00:02:27 -04:00
Mateusz Łoskot
cc6ba0ae72 Disable unaligned pointer access
Rename GIL_NONWORD_POINTER_ALIGNMENT_SUPPORTED
    to BOOST_GIL_CONFIG_HAS_UNALIGNED_ACCESS.
Undefine BOOST_GIL_CONFIG_HAS_UNALIGNED_ACCESS by default and document it.
If defined, issue warning or error, depending on target platform.

This changes how packed_channel_reference_base-based channels perform
access - aligned memory access by default.

This also fixes undefined behavior detected by UBSan in some test cases.
2018-06-27 00:02:27 -04:00
Mateusz Łoskot
94f5ad613a Use promote_integral in channel_invert algorithm
This should help to avoid UB due to possible signed integer overflows,
for minimum/maximum of input channel domain.

Fixes #89
2018-06-27 00:02:27 -04:00
Mateusz Łoskot
2658e2059a Replace some of Boost.MPL and Boost.TypeTraits with C++11 equivalents
Non-functional refactoring of promote_integral added in #91
Clean up 128-bit support remains.
2018-06-27 00:02:27 -04:00
Mateusz Łoskot
b8af11db87 Add promote_integral metafunction
Copied from Boost.Geometry, including original tests, with some non-functional
modifications explained in the comments.
The utility can be used where it is important to avoid integer overflow.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
9f4bc93ad6 Replace boost::integer_traits with std::numeric_limits
std::numeric_limits<T>::max() is constexpr since C++11
2018-06-27 00:02:27 -04:00
Mateusz Loskot
b80667f0c6 [io/bmp] Explain DIB orientation variants that affect reading
Trim trailing whitespaces (.editorconfig)

[ci skip]
2018-06-27 00:02:27 -04:00
Mateusz Loskot
47461ab59c Fix -Wconversion about float from unsigned int (#84)
Use of gil::float32_t type members typedefs with variables for half-results.
Observing intermediate values migth be useful during debugging.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
ed67f9a571 Replace bitsN[s] aliases with C++11 fixed width integer types
Import the selection of integer types into boost::gil namespace,
  and move from channel.hpp to typedefs.hpp for easier access.
Replace bits32f with float32_t and bits64f with float64_t
  - kept as alias of scoped_channel_value.
Move float64_t (bits64f) to typedefs.hpp.
Replace the four {float|double}_{zero|one} min/max channel values
  with float_point_zero and float_point_one templates.
Replace <boost/cstdint,hpp> with C++11 <cstdint>.

Introduce preference of using declaration instead of typedef.
Reformat typedefs.hpp to take advantage of the using declaration
  - works much better for left-to-right reading, alias name as
    most important detail comes first.
Add some of missing #include typedefs.hpp, sort some headers.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
f3fd792787 Test float-point divisor for less/greater-than Zero
Add divisor check to point2<T>::operator/=, if Zero do nothing.

This hack helps to avoid compiler warnings without
polluting the source with pragmas.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
99f765c24c Remove #if _MSC_VER > 1310 as always true since switch to C++11 2018-06-27 00:02:27 -04:00
Mateusz Loskot
056415f513 Improve casts in channel_convert_from_unsigned (refines PR #74) (#76)
Add cast to explicitly indicate val promotion to at least
32-bit integer. The arithmetic operations are performed on
int of higher rank type. Finally, since the result value is
guaranteed to fit range of 8/16-bit result integer type,
it is safe to cast.
This should make it clearer for a reader that subtleties
of implicit promotions and conversions have been considered.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
0984b7586b Fix some warnings reported by clang (#74)
- unused parameter
- shadowed typedef
- implicit conversion changes signedness:
  int to signed <int>
  int to unsigned <int>

Note, arithmetic op is performed on int as higher rank type
with result is in range of return type, safe to cast.
2018-06-27 00:02:27 -04:00
Stefan Seefeld
2a74410c4e Rename top-level IO extension headers. (#71)
Refactor IO extension headers.
2018-06-27 00:02:27 -04:00
Stefan Seefeld
1f0bc35012 Introduce top-level gil.hpp header. (#70)
Introduce top-level boost/gil.hpp header.
2018-06-27 00:02:27 -04:00
Daniela Engert
bf4e22957f Most members of std::allocate are deprecated in C++17
Replace them by their cousins from std::allocator_traits.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-06-27 00:02:27 -04:00
Mateusz Loskot
d754d41373 Fix MSVC warning: C4100 unreferenced formal parameter 2018-06-27 00:02:27 -04:00
Mateusz Loskot
6c230bf1cf Remove redundant local num_values in packed_channel_reference_base::set()
Pre-defined packed_channel_reference_base::set::num_values already
represents the value.
Fixes warning C4458: declaration of 'num_values' hides class member
2018-06-27 00:02:27 -04:00
Gogs
fac3ffe7c8 Updated targa reader to support screen origin bit. 2018-06-27 00:02:27 -04:00
Mateusz Loskot
94a4abee52 Fix potentially uninitialized local variable y
Continuation of #64
2018-06-27 00:02:27 -04:00
Daniela Engert
a3b8c7eb77 Conditionally replace deprecated/removed C++98 binder by more modern equivalent, and inline deprecated/removed C++98 function adapters.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-06-27 00:02:27 -04:00
Stefan Seefeld
4f3b5187c6 Suppress concept-related compiler warnings. (#65)
* Suppress concept-related compiler warnings.
* Fix more warnings.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
b6174343af Fix UB due to overflowing bit-shift operation (#68)
Patch courtesy of Andrey Semashev via Boost ML.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
dd268e8f67 Fix potentially uninitialized local variable y
Minor severity: compiler warning clean up
2018-06-27 00:02:27 -04:00
Christian Henning
d881a3c8db Fixed issues raised by reviewer 2018-06-27 00:02:27 -04:00
Christian Henning
9a7bfe8f71 generate indexed_image_view from two views 2018-06-27 00:02:27 -04:00
Christian Henning
dfc86f6895 Added version.hpp 2018-06-27 00:02:27 -04:00
martin-osborne
29fa74d930 Added support for screen origin bit of targa files (Ticket 8429)
Currently GIL refuses to load TARGA files whose screen origin is
in the upper left-hand corner.  See Trac ticket 8429 for sample
image files created from GIMP 2.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
7a2bfd9360 Fix test of TARGA header descriptor for 24bpp file (#42)
Ensure that for TARGA Data Type 1, entire descriptor byte is set to 0.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
812203fec9 Fix implicit int to libjpeg boolean conversion
Apparently, clang-802.0.42 (Apple LLVM version 8.1.0) is
complaining as per the recent Travis CI build failures.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
0570cbaa2a Remove uncommented raw URL
Likely, committed by accident as part of fix of #33
2018-06-27 00:02:27 -04:00
Christian Henning
2bc4f9df91 #34 2018-06-27 00:02:27 -04:00
Christian Henning
72ee74900c #31 if stream is bad then throw 2018-06-27 00:02:27 -04:00
Christian Henning
60cf7f75a2 #33 2018-06-27 00:02:27 -04:00
Christian Henning
6676481458 #32 2018-06-27 00:02:27 -04:00
Stefan Seefeld
4dd3679ee2 Eliminate warning. 2018-06-27 00:02:27 -04:00
Stefan Seefeld
56411353cf Conditionalize png tags to libpng API changes. 2018-06-27 00:02:27 -04:00
Stefan Seefeld
34011225c0 Fix compilation errors. 2018-06-27 00:02:27 -04:00
Christian Henning
b46b3e12e7 tiff writing premul 2018-06-27 00:02:27 -04:00
Christian Henning
535c17b786 some patches for bmp and tiff 2018-06-27 00:02:27 -04:00
Peter Dimov
83aa397f23 Remove use of boost/config/suffix.hpp 2018-06-27 00:02:27 -04:00
Benjamin Buch
a1b0d1d0e6 Fix includes in extension/numeric/convolve.hpp 2018-06-27 00:02:27 -04:00
martin-osborne
cfe606ab7c Added support for screen origin bit of targa files (Ticket 8429)
Currently GIL refuses to load TARGA files whose screen origin is
in the upper left-hand corner.  See Trac ticket 8429 for sample
image files created from GIMP 2.
2018-06-27 00:02:27 -04:00
Antony Polukhin
f15b385d96 Removed inclusion of the boost/cast.hpp (functions from this library were not used) 2018-06-27 00:02:27 -04:00
William Gallafent
22697e0e66 Correct header inclusion 2018-06-27 00:02:27 -04:00
William Gallafent
4aec98c7bf Minor header / indent correction 2018-06-27 00:02:27 -04:00
William Gallafent
0fce727b93 Improve handling of multi-valued properties in TIFF, and fix some problems with ICC profiles in PNG 2018-06-27 00:02:27 -04:00
William Gallafent
180d7326b1 Minor changes for extraneous duplicate line, and constness 2018-06-27 00:02:27 -04:00
William Gallafent
eb3d3d919d Neaten up multi-element property handling by using fusion vectors, and switch extrasamples property to work in this way. Add ability to load and save ICC colour profile information. 2018-06-27 00:02:27 -04:00
Daniel James
a213a0efb2 Clean up faulty merge in 42fcf6d.
This deletes a few files that were previously deleted in develop, in 243fa33.
2018-06-27 00:02:27 -04:00
Christian Henning
a2a74eb8c4 Adding boost license 2018-06-27 00:02:27 -04:00
William Gallafent
af43112b22 Get TIFF physical resolution load / save sorted out 2018-06-27 00:02:27 -04:00
William Gallafent
11c6910bf4 Allow more complex properties (with more than one element) to be set when saving TIFF. 2018-06-27 00:02:27 -04:00
William Gallafent
271f5fdf3c Initial implementation of premultiplier, which is used when saving TIFF (since by convention this uses premultiplied alpha) 2018-06-27 00:02:27 -04:00
William Gallafent
85a02eaade First bit of getting alpha channels saved in TIFF files. The Extra Samples tag is now set. 2018-06-27 00:02:27 -04:00
William Gallafent
5b2e3ef0c7 Match original indenting 2018-06-27 00:02:27 -04:00
William Gallafent
e981553f92 Fix inverted logic deciding whether to use the user's specified value, or a “guessed” value based on the pixel type of the image, when saving a TIFF. 2018-06-27 00:02:27 -04:00
William Gallafent
b3ea3169df Fix incorrect arithmetic in CMYK -> RGB conversion 2018-06-27 00:02:27 -04:00
William Gallafent
39926162af Remove duplicate definition of this_t in pnm format's scanline_reader 2018-06-27 00:02:27 -04:00
Lubomir Bourdev
22ab5ce041 GIL: Added support for copying between variants of different types
[SVN r61899]
2018-06-27 00:02:27 -04:00
Christian Henning
fc5e0eb35b Small bugfix.
[SVN r85975]
2018-06-27 00:02:27 -04:00
Christian Henning
b90e1780d6 Fixed compiler errors with gcc.
[SVN r85549]
2018-06-27 00:02:27 -04:00
Christian Henning
bd2bd44b5b Added missing typename specifiers.
[SVN r85506]
2018-06-27 00:02:27 -04:00
Christian Henning
3e9b6893e1 small bugfix when calculating v plane offset.
[SVN r85436]
2018-06-27 00:02:27 -04:00
Christian Henning
d35d8db0c0 Replacing boost::conditional with boost::bool_.
[SVN r85433]
2018-06-27 00:02:27 -04:00
Christian Henning
fe1e686ad5 Set compiler symbol indicating an older libpng version.
[SVN r84990]
2018-06-27 00:02:27 -04:00
Christian Henning
e566f3de71 removed duplicate typedef.
[SVN r84989]
2018-06-27 00:02:27 -04:00
Christian Henning
af5c97bf59 Removing compiler warnings for x86 builds.
[SVN r84884]
2018-06-27 00:02:27 -04:00
Christian Henning
179a286447 Added compiler symbol to allow compiling with libpng 1.4 or lower.
[SVN r84883]
2018-06-27 00:02:27 -04:00
Christian Henning
56c5f9c446 Added comment explaining how memory will be reused when possible.
[SVN r84658]
2018-06-27 00:02:27 -04:00
Christian Henning
ae0bd42d22 Fixing image recreate.
[SVN r84600]
2018-06-27 00:02:27 -04:00
Christian Henning
896cff3534 bug fix relating to png's compression settings.
[SVN r84469]
2018-06-27 00:02:27 -04:00
Christian Henning
6bd2a8a25e Fixed syntax error.
[SVN r84461]
2018-06-27 00:02:27 -04:00
Christian Henning
68b36f5be8 Eliminated linker errors.
[SVN r84446]
2018-06-27 00:02:27 -04:00
Christian Henning
74ed5ca92d Added some metafunctions to fulfill some og gil's concepts.
[SVN r84391]
2018-06-27 00:02:27 -04:00
Christian Henning
cb66285008 Small bug fix.
[SVN r84269]
2018-06-27 00:02:27 -04:00
Christian Henning
9e12705b03 Some fixes when recreating an image.
[SVN r84094]
2018-06-27 00:02:27 -04:00
Christian Henning
a3b179cfa8 Some small corrections.
[SVN r84090]
2018-06-27 00:02:27 -04:00
Christian Henning
33f87ab1cd Fixed bug with recreate and planar images.
[SVN r84081]
2018-06-27 00:02:27 -04:00
Christian Henning
671625f4e4 Added support for different kinds of subchroma image types.
[SVN r84079]
2018-06-27 00:02:27 -04:00
Christian Henning
1900b7d2ed Added ycbcr 709 pixel type and conversions.
[SVN r84060]
2018-06-27 00:02:27 -04:00
Christian Henning
111fcc5222 fixed a merging issue.
[SVN r84050]
2018-06-27 00:02:27 -04:00
Christian Henning
cb61657ad6 Fix for reusing memory in image class.
[SVN r84049]
2018-06-27 00:02:27 -04:00
Christian Henning
83d2797277 reverted back fix to reuse memory.
[SVN r84048]
2018-06-27 00:02:27 -04:00
Christian Henning
5b6ef45728 Correcting wrong fix committed before.
[SVN r84041]
2018-06-27 00:02:27 -04:00
Christian Henning
06945ef7d9 Fix for reusing memory when recreating an image.
[SVN r84040]
2018-06-27 00:02:27 -04:00
Christian Henning
cb8907835c Added some more parameter to configure libpng on how to write images.
[SVN r83970]
2018-06-27 00:02:27 -04:00
Christian Henning
8c2b315fd8 Added sub-image factors as template parameters.
[SVN r83883]
2018-06-27 00:02:27 -04:00
Christian Henning
c9267d3ffe Change to more appropriate image type name.
[SVN r83876]
2018-06-27 00:02:27 -04:00
Christian Henning
707ff7f656 Added pixel by pixel multiplication and division.
[SVN r83634]
2018-06-27 00:02:27 -04:00
Christian Henning
b844bc1f85 * Added integer optimization for bit8 channels.
* fixed compiler error

[SVN r83605]
2018-06-27 00:02:27 -04:00
Christian Henning
2953f97bce * Exchanged GIL_FORCEINLINE with BOOST_FORCE_INLINE.
* Eliminated some useless warnings.

[SVN r83577]
2018-06-27 00:02:27 -04:00
Christian Henning
80368d304c First version of subsampled_image.
[SVN r83501]
2018-06-27 00:02:27 -04:00
Christian Henning
58df25bc2d Added some comments.
[SVN r83500]
2018-06-27 00:02:27 -04:00
Christian Henning
9ec644655d YCbCr color space.
[SVN r83495]
2018-06-27 00:02:27 -04:00
Christian Henning
8834b3f55d * All patches I have received, so far.
* Changed to boost license



[SVN r83451]
2018-06-27 00:02:27 -04:00
Christian Henning
a77f0be309 I believe that the latest version released by Adobe. Any changes after this commit has nothing to do with Adobe.
[SVN r83450]
2018-06-27 00:02:27 -04:00
Christian Henning
fde2516226 Added missing newline.
[SVN r83196]
2018-06-27 00:02:27 -04:00
Christian Henning
89803b0ddf Removed all Tab characters and added missing newlines.
[SVN r83195]
2018-06-27 00:02:27 -04:00
Christian Henning
bfc78c1438 Using iterator_facade as base for scanline_read_iterator.
[SVN r83141]
2018-06-27 00:02:27 -04:00
Christian Henning
b7109dd3a7 #4517
[SVN r83107]
2018-06-27 00:02:27 -04:00
Christian Henning
2dc99f8427 changes to scanline_read_iterator.
[SVN r83075]
2018-06-27 00:02:27 -04:00
Christian Henning
8e77e11478 bug fix with scanline_read_iterator. Now reads and skips should happen at the correct call.
[SVN r83043]
2018-06-27 00:02:27 -04:00
Christian Henning
75fd165505 Added difference_type to scanline_read_iterator.
[SVN r82992]
2018-06-27 00:02:27 -04:00
Christian Henning
72b67b13af Only increase the position inside operator++.
[SVN r82991]
2018-06-27 00:02:27 -04:00
Christian Henning
e8da58de6f Fixed scanline_read_iterator interface.
[SVN r82988]
2018-06-27 00:02:27 -04:00
Christian Henning
64a624c22e Fixed incorrect header.
[SVN r82983]
2018-06-27 00:02:27 -04:00
Christian Henning
e9f77d30bf Adding new io extension.
[SVN r82981]
2018-06-27 00:02:27 -04:00
Christian Henning
4b4f3e8ea9 Replacing io extension.
[SVN r82980]
2018-06-27 00:02:27 -04:00
Christian Henning
be914e0269 packed_channel_value is now using low_bits_mask_t to reduce code.
[SVN r82883]
2018-06-27 00:02:27 -04:00
Christian Henning
75342fedd2 Added more specializations for get_num_bits.
[SVN r82882]
2018-06-27 00:02:27 -04:00
Christian Henning
12771230f1 Added packed_channel_value to get_num_bits metafunction.
[SVN r82855]
2018-06-27 00:02:27 -04:00
Christian Henning
295c5a47d5 Fixed comments for code consistency.
[SVN r82854]
2018-06-27 00:02:27 -04:00
Christian Henning
887a6f8ff7 Fixed compiler errors for gcc and clang.
[SVN r82774]
2018-06-27 00:02:27 -04:00
Christian Henning
8d619b5111 Toolbox extension inital commit.
[SVN r82769]
2018-06-27 00:02:27 -04:00
Christian Henning
18eacb424b #7920
[SVN r82755]
2018-06-27 00:02:27 -04:00
Christian Henning
0157058440 The last fix produces a compiler with Visual Studio 2010.
See ticket 7970.

[SVN r82745]
2018-06-27 00:02:27 -04:00
Christian Henning
8b3ceb2de0 Added missing header file.
[SVN r82705]
2018-06-27 00:02:27 -04:00
Christian Henning
ee225cf270 #6681
[SVN r82704]
2018-06-27 00:02:27 -04:00
Christian Henning
ce31c5ccb7 #6681
[SVN r82703]
2018-06-27 00:02:27 -04:00
Christian Henning
5db659d5b5 #7970
[SVN r82702]
2018-06-27 00:02:27 -04:00
Marshall Clow
c1084347af Apply patch for Lubomir; Refs #4919
[SVN r82092]
2018-06-27 00:02:27 -04:00
Christian Henning
5cc317cdab Introducing base_channel_type metafunction which helps to avoid useless casting between integral data types. For older compilers it also reduces warnings about those castings operations.
[SVN r66416]
2018-06-27 00:02:27 -04:00
Lubomir Bourdev
e548b4477d GIL: Added support for copying between variants of different types
[SVN r61899]
2018-06-27 00:02:27 -04:00
Christian Henning
33d94c303e Added gil:: namespace to all at_c calls. This seems necessary for current gcc ( 4.4 and more ) compilers. See #3041 and #3619.
[SVN r58777]
2018-06-27 00:02:27 -04:00
Christian Henning
6805259c26 Enables reading multi-page tiff.
[SVN r66841]
2010-11-29 15:08:44 +00:00
Christian Henning
048dafbcc0 Allows to compile with recent libpng version ( 1.4 and greater ).
[SVN r66840]
2010-11-29 15:08:00 +00:00
Christian Henning
4aeac05678 Changes suppress compiler warnings when dealing with on-the-edge bit_aligned images, for instance rgb31 or rgb63.
[SVN r65912]
2010-10-11 15:59:24 +00:00
Christian Henning
b4aa265399 Allow for image creating with non-pixel types, like int or float, that satisfy the regular type concept.
[SVN r65910]
2010-10-11 15:55:32 +00:00
Christian Henning
73c9bac7f5 Allow for image creating with non-pixel types, like int or float, that satisfy the regular type concept.
[SVN r65909]
2010-10-11 15:54:49 +00:00
Christian Henning
21fd3028a2 Code changes to suppress some compiler warnings when using scoped_channel_value.
[SVN r65908]
2010-10-11 15:51:55 +00:00
Christian Henning
740abbaf8d Added gil:: namespace to all at_c calls. This seems necessary for current gcc ( 4.4 and more ) compilers. See #3041 and #3619.
[SVN r65907]
2010-10-11 15:49:50 +00:00
Christian Henning
c7f9a1bff6 Made scoped_channel_value's base type accessible to users.
[SVN r64261]
2010-07-22 14:43:04 +00:00
Christian Henning
af58445a4b Fixing potential compilation errors with newer and more standard conformant compilers when using gil and STL. Basically gil's iterators and interator adaptors are now explicit what iterator category they are belonging to, e.g. random access iterator.
[SVN r62551]
2010-06-08 05:22:50 +00:00
Douglas Gregor
00031862c7 Merge standards-conformance fixes for Boost.GIL
[SVN r61875]
2010-05-09 12:35:46 +00:00
Christian Henning
fde81c000c Fix for ticket #2831.
[SVN r60194]
2010-03-05 16:15:07 +00:00
Christian Henning
db59f768b3 Updated gil release from boost trunk.
[SVN r58301]
2009-12-11 21:40:58 +00:00
Daniel James
f15809f257 Update the gil documentation.
Merged revisions 52726-52731 via svnmerge from 
https://svn.boost.org/svn/boost/trunk

........
  r52726 | danieljames | 2009-05-02 13:38:39 +0100 (Sat, 02 May 2009) | 3 lines
  
  Check in the doxygen files for building standalone gil docs.
  
  They are mostly unchanged. I've just changed some of the paths.
........
  r52727 | danieljames | 2009-05-02 13:39:02 +0100 (Sat, 02 May 2009) | 16 lines
  
  Make the gil doxygen docs a litte more boost friendly and a bit to build.
  
  * Add a shell script to make building easier.
  * Merge the two different versions of adobe_source.css.
  * `shorten_file_name.sh`:
    * Add copyright.
    * Use GNU sed and expr in shorten_file_name.sh.
    * Optimise it slightly by using xargs instead of a loop.
    * Only shorten file names in html files.
  * `header.html`:
    * Add copyright notice to doxygen header.
    * Remove google analytics tags.
    * Remove adobe RSS feed.
    * Remove the link to `globals.html` as it isn't generated.
    * Rename to `header_html.txt` to stop inspect complaining about it.
  * Remove `insert_boost_licence.sh` as the copyright is already in the header.
........
  r52728 | danieljames | 2009-05-02 13:43:21 +0100 (Sat, 02 May 2009) | 1 line
  
  Regenerate gil documentation.
........
  r52729 | danieljames | 2009-05-02 13:45:17 +0100 (Sat, 02 May 2009) | 1 line
  
  Redirect to the correct page for the adobe docs.
........
  r52730 | danieljames | 2009-05-02 13:45:51 +0100 (Sat, 02 May 2009) | 1 line
  
  Detab a few files.
........
  r52731 | danieljames | 2009-05-02 13:58:46 +0100 (Sat, 02 May 2009) | 3 lines
  
  Generate GIL documentation again.
  
  Something went wrong checking it in last time.
........


[SVN r53046]
2009-05-16 14:11:54 +00:00
Daniel James
a587183076 Detab a few files.
[SVN r52730]
2009-05-02 12:45:51 +00:00
Hailin Jin
523fd439fb GIL: Fixed Ticket #1520: Added several missing header files
[SVN r51353]
2009-02-20 19:27:49 +00:00
Hailin Jin
74d43c6b41 GIL: fixed Ticket 784: Wrong initilization of data members in packed_pixel constructors
[SVN r51352]
2009-02-20 19:10:33 +00:00
Boris Gubenko
ab7f23636b merge workaround for EDG-based compilers into release branch
[SVN r49886]
2008-11-23 04:06:57 +00:00
Boris Gubenko
7e540f5e1b extend workaround to icc 10.0
[SVN r49827]
2008-11-18 17:41:32 +00:00
Boris Gubenko
3ae846948b extend workaround for Core Issue 574 to icc 10.1 and later
[SVN r49760]
2008-11-14 18:14:24 +00:00
Boris Gubenko
37ad55c0ec add workaround for HP-UX aC++ compiler
[SVN r49706]
2008-11-12 23:25:03 +00:00
John Maddock
ab9f90c49d Merge fixes from Trunk.
Fixes #2392.

Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.

Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library. With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only. 

[SVN r49314]
2008-10-13 09:00:03 +00:00
John Maddock
2cf0711cd1 Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.
Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library.  With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only.

Fixes #2392.


[SVN r49254]
2008-10-10 16:10:00 +00:00
Beman Dawes
8fed7d4a1e Merge gil changes from trunk per Lubomir Bourdev
[SVN r47246]
2008-07-08 18:56:09 +00:00
Lubomir Bourdev
68b33f6e7b GIL: Replaced tabs with spaces.
[SVN r43742]
2008-03-21 09:43:19 +00:00
Lubomir Bourdev
ddf9f44ed3 GIL: Fixed a bug in planar device_n view construction.
[SVN r43741]
2008-03-21 09:40:59 +00:00
Lubomir Bourdev
310ec6f28d GIL: Changed a private type name to differ from #define used on some Linux systems.
[SVN r43735]
2008-03-20 04:27:41 +00:00
Hailin Jin
3a9c8996fa Fixed two minor compiler errors showing up under in the new GCC 4.3.0
[SVN r43565]
2008-03-11 17:28:42 +00:00
Lubomir Bourdev
08db3e7bec GIL: Changing size_t to std::size_t
[SVN r42781]
2008-01-14 23:25:10 +00:00
Lubomir Bourdev
f973cf2e09 Changed size_t to std::size_t
[SVN r42780]
2008-01-14 22:06:07 +00:00
Lubomir Bourdev
40f057b910 GIL: Fixed Intel compiler errors.
[SVN r42023]
2007-12-14 05:32:21 +00:00
Lubomir Bourdev
77b9620a8b Updated to version 2.1.2
Added support for more compilers.
Added new flag GIL_NONWORD_POINTER_ALIGNMENT_SUPPORTED to indicate whether dereferencing on non-word
boundary is supported. Enabling this flag improves performance.
Fixed two bugs related to non-byte-aligned images. The image alignment parameter is now specified in
bytes, and has a default of 0, which means "packed" alignment. In particular, for non-byte-aligned
images alignment of 0 means there are no padding bits at the ends of rows.
Added the allocator as an optional parameter to image constructors and image recreate methods.



[SVN r41165]
2007-11-17 03:38:25 +00:00
Lubomir Bourdev
31f7008924 GIL: Minor fix to tiff_io
[SVN r41009]
2007-11-11 18:25:39 +00:00
Hailin Jin
7e8f54c3f1 GIL: added missing standard C++ header files
[SVN r40936]
2007-11-08 17:31:56 +00:00
Hailin Jin
258332a785 GIL: removed an extra semi-colon and made some cosmetic changes
[SVN r40850]
2007-11-06 19:15:03 +00:00
Hailin Jin
f9b55241ad GIL: minor cumulative fixes
[SVN r40804]
2007-11-05 19:04:08 +00:00
Hailin Jin
f59c80103f GIL: fixed endian-ness related bugs for bit_aligned_pixel_reference and pixel_aligned_pixel_iterator
[SVN r39511]
2007-09-24 18:25:48 +00:00
Hailin Jin
f3f25f6ef5 GIL: commented out unnecessary pragma warning directives
[SVN r39393]
2007-09-19 18:45:30 +00:00
Hailin Jin
68f9f61d94 GIL: fixed incorrect header files for std::bad_cast
[SVN r39377]
2007-09-18 21:37:08 +00:00
Hailin Jin
918acc7451 GIL:
1. changed int to std::ptrdiff_t in utilities.hpp and iterator_from_2d.hpp for problems under 64-bit platforms
2. removed several extra semi-colons after GIL_CLASS_REQUIRE


[SVN r39376]
2007-09-18 21:19:05 +00:00
Lubomir Bourdev
2ad6747dd0 GIL 2.0 to 2.1 (see http://opensource.adobe.com/gil/gil2.1_changes.pdf). GIL 2.1 to 2.1.1 (see http://sourceforge.net/forum/forum.php?thread_id=1824588&forum_id=648138)
[SVN r39339]
2007-09-17 08:12:19 +00:00
Hailin Jin
1e92d4580e GIL: a further fix on the PNG IO 16-bit bug
[SVN r38868]
2007-08-23 19:26:55 +00:00
Hailin Jin
fd70ef69e7 GIL: fixed a endian-ness related bug in PNG IO routines
[SVN r38705]
2007-08-15 22:21:06 +00:00
Hailin Jin
a2ddafd181 GIL: added runtime endian-ness detection routines: little_endian() and big_endian()
[SVN r38704]
2007-08-15 22:19:48 +00:00
Lubomir Bourdev
560f17c1d1 Hooked up GIL regression tests to run from boost/status
Added kth_channel_view (like nth_channel_view but operates on heterogeneous views)


[SVN r37659]
2007-05-10 22:39:02 +00:00
Lubomir Bourdev
7af0b3c796 Fixed headers to refer to the Boost license. Fixed min/max issues and removed tabs.
[SVN r37609]
2007-05-07 07:32:02 +00:00
Lubomir Bourdev
6325625037 Initial submission of GIL 2.0
[SVN r37494]
2007-04-23 23:15:01 +00:00
Lubomir Bourdev
56808e228b Adding the first GIL file (testing CVS and SSH)
[SVN r37493]
2007-04-23 23:09:57 +00:00