* First version of built-in configs feature
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Generating configs header into generated_include folder
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Added comments, move some code, added a test for public interface, changed how CG.h get generated and other minors fixes
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Adding support for ocio://default and a unit test for it
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Renamed methods to get align with BuiltinConfig class name and to remove confusion with Config class.
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Refactor the test suite for Built-in config and comments/descriptions changes
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Adding guard for setenv, added two tests and other minor changes
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Added readme file to help add a new config, minors fixes, changed some built-in config unit tests and created a generic guard for set/unset env.
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Fix some coding styles and remove try catch that was not really needed.
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Updating setenv/unset to the guard pattern in config_tests module.
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Python bindings
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Fixing styling issues and minor modifications in python unit tests
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Fixing problem with test_create_builtin_config
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Remove the check for the number of colorspaces in the python tests for now - only checking the name, removed readme and fix issue around config begin null in test by adding a OCIO_REQUIRE_ASSERT.
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Fixing styling and comments issues and adding back the tests for the number of colorspaces using len().
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* missing spaces in comments.
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Adding display name and getBuiltinConfigUIName.
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Fix a few issues with the builds - Replacing get_filename_component/NAME_WLE by a regex, replacing assetRaisesRegex with a combination of assertRaises/assertEqual and fixing the link issue with Doxygen in OpenColorIO.h
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Adding missing comment and changing "displayName" to "uiName" to remove confusion within ocio
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Fixing build issue on Linux and Mac : config string was not null terminated
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* minor fixes
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* A more Pythonic interface
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Adding more information into the tuple and modified corresponding tests.
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* returning reference instead of smart pointer as it is not needed.
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Removed getNumBuiltinConfig from python binding since we have iterator and modified __contains__ magic method to not throw exception.
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Fix wrong type in for loop. (linux and mac issue)
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
Co-authored-by: Doug Walker <doug.walker@autodesk.com>