Commit Graph

849 Commits

Author SHA1 Message Date
Mateusz Loskot
774e5b15ab Add variant=release to Travis CI builds of tests
Add build jobs for GCC and clang versions.
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
a37469e3ad Extend GCC and clang cxxflags for detailed warnings
Bump MSVC warning level to W4
Preparing for detailed warnings clean up based on:
https://svn.boost.org/trac10/wiki/Guidelines/WarningsGuidelines
Group compilation flags and defines in common top-level Jamfile
- relies on Boost.Build feature of referring parent Jamfile-s.
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
Mateusz Loskot
7b5f917c9f [appveyor] Add CMAKE_CONFIG as CamelCase counterpart to VARIANT 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
b8d2b3f983 Allow AppVeyor failures for b2 variant=release 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
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
f7d83feb83 Sync gil_reference_checksums.txt with version in master 2018-06-27 00:02:27 -04:00
Mateusz Loskot
bd44e406c2 Revert: Temporarily comment the four checksum cases failing image tests
Reverts commit SHA-1:e80f9d2f4b2c688b3f7a77b9845e28793e4f5d0b

Preparing to verify if fix for overflowing bit-shift operation (UB)
suggested by Andrey Semashev via Boost ML will fix the checksum bug too.
See discussions for #46 and #50 for details.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
09c0b08eb2 [cmake] Specify Boost_ADDITIONAL_VERSIONS with 1.67
This is just in a remotely expected case... ;)

[ci skip]
2018-06-27 00:02:27 -04:00
Mateusz Loskot
c4d29651ab Simplify labelling proposal 2018-06-27 00:02:27 -04:00
Mateusz Loskot
43dfc05fb9 Simplify labelling proposal
[ci skip]
2018-06-27 00:02:27 -04:00
Mateusz Loskot
c4f4a85cbd Refine .gitattributes to reflect current content of repository (#63)
Thanks for the cleanup !
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
Mateusz Loskot
d9f8b7564e First stab at GitHub labelling scheme
Add labels.json for use with https://github.com/mloskot/github-label-maker/

[ci skip]
2018-06-27 00:02:27 -04:00
Mateusz Loskot
f34674024c [cmake] Download latest FindBoost.cmake from upstream when using Boost clone
Clone of Boost repository is likely develop branch at version number
not yet released unknown to any released CMake.
Download latest FindBoost.cmake from upstream which has likely been
updated with Boost version of develop.
2018-06-27 00:02:27 -04:00
Stefan Seefeld
878e7ebdab Correct doc link and add logo. 2018-06-27 00:02:27 -04:00
Mateusz Loskot
ab8bc04ccb Ignore Sphinx build folders inside doc
[ci skip]
2018-06-27 00:02:27 -04:00
Christian Henning
7de0a9ce99 added readme to refer to complete test image suite repository 2018-06-27 00:02:27 -04:00
Christian Henning
f82c0ccc85 toolbox doc corrections 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
0be31f965d #20 2018-06-27 00:02:27 -04:00
Mateusz Loskot
0cecc380aa Add empty Jamfile placeholder for examples 2018-06-27 00:02:27 -04:00
Mateusz Loskot
21eac67690 Add Boost.GIL top-level Jamfile 2018-06-27 00:02:27 -04:00
Mateusz Loskot
2d46e0e099 List the default branch develop first
[ci skip]
2018-06-27 00:02:27 -04:00
Mateusz Loskot
01c2f5355a Add Gitter webhook notifications for Travis CI and AppVeyor 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
Mateusz Loskot
86466ee82a Fix AppVeyor master branch URL
[ci skip]
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
a53e0629fd Compile tests with cl.exe -FC to force absolute path in __FILE__ 2018-06-27 00:02:27 -04:00
Mateusz Loskot
6db2434f61 Remove ml/add-cmake from branch filter in .appveyor.yml 2018-06-27 00:02:27 -04:00
Mateusz Loskot
5c328aa853 Add AppVeyor and Gitter badges 2018-06-27 00:02:27 -04:00
Mateusz Loskot
e7ee5d6f55 Restore default CMake settings in CMakeSettings.json
[ci skip]
2018-06-27 00:02:27 -04:00
Mateusz Loskot
b231bd5904 Add CMake option GIL_ENABLE_IO (default=ON)
Allow to enable/disable building of IO tests and examples
which depend on thirdparty libraries (libjpeg,libpng,libtiff).
2018-06-27 00:02:27 -04:00
Mateusz Loskot
f42953f1d8 First stab at README
[ci skip]
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
a3ef10aae4 Make headings in .github template less overwhelming
[ci skip]
2018-06-27 00:02:27 -04:00
Mateusz Loskot
c6a2476eb6 Add GitHub templates for issue and pull request 2018-06-27 00:02:27 -04:00
Mateusz Loskot
d50394aafe Uncomment read_pixel_per_meter test case (#52)
Closes #19
2018-06-27 00:02:27 -04:00
Mateusz Loskot
fab99207f2 Add basic CMake configuration for Boost.GIL
First stab at collection of CMakeLists.txt for Boost.GIL
  - Allow building and testing boostorg/gil against Boost from
    cloned superproject or installed distribution.
Add CMakeSettings.json config file for VS2017 integration with CMake
  - Defines build configurations for VS and Ninja generators.
  - Can be used as is or as a template ready to customise.
Add conanfile.txt for Conan package manager (eg. for cmake -DGIL_USE_CONAN=ON).
Add .editignore file to with basic encoding of CMake and CI scripts.
Update .appveyor.yml with two extra CMake-based builds (allowed to fail).
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
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