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

30 Commits

Author SHA1 Message Date
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
eee3c526fc Add missing #include <stdexcept>
Fix GCC 4.7 error: 'runtime_error' is not a member of 'std'
2018-06-27 00:02:27 -04:00
Mateusz Loskot
9f028e67ad Replace C++11 std::string::front with indexing operator 2018-06-27 00:02:27 -04:00
Niklas Angare
acf760719c Take input filename on the command line to test/image.
This enables test runners to copy the file to the target. It also makes
the code that looks for the file in a different path unnecessary since
Boost.Build will pass the proper relative path.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
862539f6c4 Add AppVeyor jobs for b2 variant=release (#46)
Add AppVeyor jobs for b2 variant=release
2018-06-27 00:02:27 -04:00
Mateusz Loskot
fe67000f7e Temporarily comment the four checksum cases failing image tests.
This is to decrease noise of CI builds failures
until #49 issue has been resolved.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
5a67de8875 Allow test/image.cpp accept checksums file via command line argument
Print calculate checksum in test output and print expected
checksum too in case of test case failure.
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
Mateusz Loskot
93d99f4964 Add try-catch to avoid std::terminate on test program failure 2018-06-27 00:02:27 -04:00
Stefan Seefeld
e2c423bb8f Fix file lookup error. 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
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
d14d22caf7 Updated gil release from boost trunk.
[SVN r58300]
2009-12-11 21:40:24 +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
Douglas Gregor
afcd17e92f Fix GIL image test for CMake
[SVN r52893]
2009-05-11 03:11:03 +00:00
Daniel James
a587183076 Detab a few files.
[SVN r52730]
2009-05-02 12:45:51 +00:00
Beman Dawes
8fed7d4a1e Merge gil changes from trunk per Lubomir Bourdev
[SVN r47246]
2008-07-08 18:56:09 +00:00
Hailin Jin
bc6f1f7d89 GIL: fixed the problem with std::hex by adding #include <ios>
[SVN r42917]
2008-01-22 22:10:48 +00: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
0bdf433b19 GIL: added namespace prefix to avoid confusion
[SVN r40937]
2007-11-08 17:35:37 +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
Hailin Jin
db55fd2347 GIL: fixed the C4503 warnings under VC
[SVN r39392]
2007-09-19 18:41:47 +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
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
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