2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-01 20:42:10 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Mateusz Loskot
ce82941fa2 Rename point2<T> to point<T> (#155)
Add point2<T> alias template for backward compatibility with Boost <=1.68.
Replace multiple point_t aliases of point<ptrdiff_t> with single defined
in point.hpp. The point_t is common used to represent dimensions.
Replace many uses of point<ptrdiff_t> with point_t.

Apply reformatting around point2 changes to respect the line length limit.

Follows up discussion in #154
2018-10-19 09:32:23 +02:00
Mateusz Łoskot
32fec9f05b Refactor library includes to #include <boost/gil/...>
Group include directives, sort within group:
* In headers of GIL core and extensions:
  1. boost/gil/extension/*
  2. boost/gil/*
  3. boost/*
  4. C++ standard library headers
* In programs:
  1. boost/gil/*
  2. boost/*
  3. C++ standard library headers
  4. "xxx.hpp" for local headers
Add basic guidelines to CONTRIBUTING.md.
Add/Remove #include <boost/config.hpp> or std headers un/necessary.
Rename gil_concept.hpp to concepts.hpp.
Remove gil_all.hpp - we already have all-in-one boost/gil.hpp.
Tidy up and unify copyright and license header.
Tidy up formatting and excessive whitespaces in some comments.
Remove Doxygen block with file description, author, date, etc.
Remove dead or commented pragmas and directives.
Trim trailing whitespaces.
2018-09-28 16:26:34 +02: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
d754d41373 Fix MSVC warning: C4100 unreferenced formal parameter 2018-06-27 00:02:27 -04:00
Mateusz Loskot
6068807868 Catch std::exception in main of test programs
Refines #37
2018-06-27 00:02:27 -04:00
Stefan Seefeld
31879b85cb Stop using boost::test 2018-06-27 00:02:27 -04:00
Christian Henning
2b46211992 Added test code to make sure cross byte pixel values work correctly. See comments.
[SVN r65173]
2018-06-27 00:02:27 -04:00
Christian Henning
7944bdd397 Changed gil's test suite to use boost::test.
[SVN r83575]
2018-06-27 00:02:27 -04:00
Christian Henning
b7109dd3a7 #4517
[SVN r83107]
2018-06-27 00:02:27 -04:00
Christian Henning
6631602f89 Added test code to make sure cross byte pixel values work correctly. See comments.
[SVN r65173]
2018-06-27 00:02:27 -04:00
Beman Dawes
2a7dcebb2b Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41370]
2007-11-25 18:38:02 +00:00
Beman Dawes
6e2ae34489 Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41369]
2007-11-25 18:07:19 +00:00
Hailin Jin
ed397659f0 GIL: broke the main test into small tests
[SVN r41241]
2007-11-19 18:34:59 +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
Hailin Jin
d3a8a4103f GIL: fixed the test files to the new bit_aligned_pixel_reference interface
[SVN r39510]
2007-09-24 18:20:56 +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
Lubomir Bourdev
bde62ada6b Fixed headers to refer to the Boost license.
[SVN r37610]
2007-05-07 07:33:33 +00:00
Lubomir Bourdev
9311679cb0 Initial version of boost/libs/gil
[SVN r37496]
2007-04-24 01:58:42 +00:00