Skip to content

Commit

Permalink
Release/2.3.2 (#384)
Browse files Browse the repository at this point in the history
* skipping leading whitespaces

* Update CMakeLists.txt to ignore cmake_osx_architecture in TESTS

Previously libreSSL could not be built on arm64 machines, so there was a flag to build the test only for intel x86_64 machines. 

After updating the libreSSL library, it might not be the case anymore. So removing the CMAKE_OSX_ARCHITECTURE flag.

* First batch of python examples

* Update 3mf copyright based on existing template

* Modify python imports to work with SDK package too (Even if lib3mf is not installed through PyPI, the examples would work as long as the SDK structure is maintained)

* Integration tests (#367)

* Added CMake and CPack configuration for building and packaging lib3mf across all platforms, including Debian and RPM builds + VCPKG.
* Updated and debugged workflows, .gitignore, and integration tests, ensuring smooth deployment and artifact handling.
* Fixed paths and linking issues across Windows, macOS, and Linux, including handling symlinks and double zipping problems.    
* Enhanced SDK generation and included examples for various build variants, ensuring compatibility and thorough testing.    
* Cleaned up and finalized actions, environment variables, and documentation for consistent and efficient builds and deployments.

* Integration tests (#367) + CMake Refactoring + CPack based Packaging introduction + CI / CD action improvements

* Added CMake and CPack configuration for building and packaging lib3mf across all platforms, including Debian and RPM builds + VCPKG.
* Updated and debugged workflows, .gitignore, and integration tests, ensuring smooth deployment and artifact handling.
* Fixed paths and linking issues across Windows, macOS, and Linux, including handling symlinks and double zipping problems.
* Enhanced SDK generation and included examples for various build variants, ensuring compatibility and thorough testing.
* Cleaned up and finalized actions, environment variables, and documentation for consistent and efficient builds and deployments.

* Issue-363: changing int to long long for putDoubleFactor

* fixing stringRepResenationsDiffer to use long long putFactor

* Include a additional entry to build.yml to pack source code + submodules (#372)

* Include an additional artifact that packs the code with submodules

* exclude unnecessary stuff

* avoid recursion

* avoid zip.zip

* Included a new script to automatically update lib3mf version in all the required places

* Include some rudimentary documentation in lib3mf_version_update.py

* updating zlib 1.3.1

* updating zlib 1.3.1 version file

* Update README.md

* Modify integration tests

* Fix some mistakes in integration tests

* Accidentally reverted zlib version. Switching back

* Include total must pass and must fail in all integration test outputs

* There's multiple release artifacts with .zip extension. Some adjustments are required

* Fix the issue in 2 integration test workflows. Only 1 must fail now

* Attempting to fix the last two releases action

* Cleaned a little more. All Integration tests should pass now.

* Introduce some more generics in actions (Integration test suite url is not hard coded anymore)

* Make test suite url fetching local to the test jobs

* Switch to hard coded urls for now. Can switch in the next release

* Weird osx build error fix in .yml and .sh

---------

Co-authored-by: Martin Weismann <[email protected]>
Co-authored-by: Vijai Kumar S <[email protected]>
Co-authored-by: Vijai Kumar S <[email protected]>
  • Loading branch information
4 people authored Aug 3, 2024
1 parent 0dc7c6b commit 5746aa3
Show file tree
Hide file tree
Showing 102 changed files with 4,816 additions and 207 deletions.
765 changes: 712 additions & 53 deletions .github/workflows/build.yml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ Include/Model/COM/NMR_COMVersion.h
debug
.DS_Store
.vscode
.idea
cmake-build-*
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/C/lib3mf.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated plain C Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
4 changes: 2 additions & 2 deletions Autogenerated/Bindings/C/lib3mf_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated plain C Header file with basic types in
order to allow an easy use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down Expand Up @@ -85,7 +85,7 @@ typedef void * Lib3MF_pvoid;

#define LIB3MF_VERSION_MAJOR 2
#define LIB3MF_VERSION_MINOR 3
#define LIB3MF_VERSION_MICRO 1
#define LIB3MF_VERSION_MICRO 2
#define LIB3MF_VERSION_PRERELEASEINFO ""
#define LIB3MF_VERSION_BUILDINFO ""

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/CDynamic/lib3mf_dynamic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated plain C Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/CDynamic/lib3mf_dynamic.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated plain C Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
4 changes: 2 additions & 2 deletions Autogenerated/Bindings/CDynamic/lib3mf_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated plain C Header file with basic types in
order to allow an easy use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down Expand Up @@ -85,7 +85,7 @@ typedef void * Lib3MF_pvoid;

#define LIB3MF_VERSION_MAJOR 2
#define LIB3MF_VERSION_MINOR 3
#define LIB3MF_VERSION_MICRO 1
#define LIB3MF_VERSION_MICRO 2
#define LIB3MF_VERSION_PRERELEASEINFO ""
#define LIB3MF_VERSION_BUILDINFO ""

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/CSharp/Lib3MF.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated CSharp file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/Cpp/lib3mf_abi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++-Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/Cpp/lib3mf_implicit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++-Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
4 changes: 2 additions & 2 deletions Autogenerated/Bindings/Cpp/lib3mf_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++-Header file with basic types in
order to allow an easy use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down Expand Up @@ -84,7 +84,7 @@ typedef void * Lib3MF_pvoid;

#define LIB3MF_VERSION_MAJOR 2
#define LIB3MF_VERSION_MINOR 3
#define LIB3MF_VERSION_MICRO 1
#define LIB3MF_VERSION_MICRO 2
#define LIB3MF_VERSION_PRERELEASEINFO ""
#define LIB3MF_VERSION_BUILDINFO ""

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/CppDynamic/lib3mf_abi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++-Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/CppDynamic/lib3mf_dynamic.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++-Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/CppDynamic/lib3mf_dynamic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++-Header file in order to allow an easy
use of the 3MF Library

Interface version: 2.3.1
Interface version: 2.3.2

*/

Expand Down
4 changes: 2 additions & 2 deletions Autogenerated/Bindings/CppDynamic/lib3mf_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++-Header file with basic types in
order to allow an easy use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down Expand Up @@ -84,7 +84,7 @@ typedef void * Lib3MF_pvoid;

#define LIB3MF_VERSION_MAJOR 2
#define LIB3MF_VERSION_MINOR 3
#define LIB3MF_VERSION_MICRO 1
#define LIB3MF_VERSION_MICRO 2
#define LIB3MF_VERSION_PRERELEASEINFO ""
#define LIB3MF_VERSION_BUILDINFO ""

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/Go/cfunc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Autogenerated/Bindings/Go/lib3mf.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Autogenerated/Bindings/Go/lib3mf_dynamic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated plain C Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/Go/lib3mf_dynamic.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated plain C Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/Go/lib3mf_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated Go implementation file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
4 changes: 2 additions & 2 deletions Autogenerated/Bindings/Go/lib3mf_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated plain C Header file with basic types in
order to allow an easy use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down Expand Up @@ -85,7 +85,7 @@ typedef void * Lib3MF_pvoid;

#define LIB3MF_VERSION_MAJOR 2
#define LIB3MF_VERSION_MINOR 3
#define LIB3MF_VERSION_MICRO 1
#define LIB3MF_VERSION_MICRO 2
#define LIB3MF_VERSION_PRERELEASEINFO ""
#define LIB3MF_VERSION_BUILDINFO ""

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/NodeJS/lib3mf_dynamic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated plain C Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/NodeJS/lib3mf_dynamic.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated plain C Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/NodeJS/lib3mf_nodeaddon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++ Implementation file for the Node addon class
of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/NodeJS/lib3mf_nodewrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++ Implementation file for the Node wrapper class
of the 3MF Library

Interface version: 2.3.1
Interface version: 2.3.2

*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Bindings/NodeJS/lib3mf_nodewrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++ Header file for the Node wrapper class
of the 3MF Library

Interface version: 2.3.1
Interface version: 2.3.2

*/

Expand Down
4 changes: 2 additions & 2 deletions Autogenerated/Bindings/NodeJS/lib3mf_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated plain C Header file with basic types in
order to allow an easy use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down Expand Up @@ -85,7 +85,7 @@ typedef void * Lib3MF_pvoid;

#define LIB3MF_VERSION_MAJOR 2
#define LIB3MF_VERSION_MINOR 3
#define LIB3MF_VERSION_MICRO 1
#define LIB3MF_VERSION_MICRO 2
#define LIB3MF_VERSION_PRERELEASEINFO ""
#define LIB3MF_VERSION_BUILDINFO ""

Expand Down
4 changes: 2 additions & 2 deletions Autogenerated/Bindings/Pascal/Unit_Lib3MF.pas
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
Abstract: This is an autogenerated Pascal Header file in order to allow an easy
use of the 3MF Library

Interface version: 2.3.1
Interface version: 2.3.2

*)

Expand All @@ -55,7 +55,7 @@ interface
const
LIB3MF_VERSION_MAJOR = 2;
LIB3MF_VERSION_MINOR = 3;
LIB3MF_VERSION_MICRO = 1;
LIB3MF_VERSION_MICRO = 2;
LIB3MF_VERSION_PRERELEASEINFO = '';
LIB3MF_VERSION_BUILDINFO = '';

Expand Down
4 changes: 2 additions & 2 deletions Autogenerated/Bindings/Python/Lib3MF.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
Abstract: This is an autogenerated Python file in order to allow an easy
use of the 3MF Library

Interface version: 2.3.1
Interface version: 2.3.2

'''

Expand Down Expand Up @@ -58,7 +58,7 @@ def __str__(self):
class BindingVersion(enum.IntEnum):
MAJOR = 2
MINOR = 3
MICRO = 1
MICRO = 2

'''Definition Error Codes
'''
Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Source/lib3mf_abi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++-Header file in order to allow an easy
use of the 3MF Library
Interface version: 2.3.1
Interface version: 2.3.2
*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Source/lib3mf_interfaceexception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++ Implementation file with the basic internal
exception type in order to allow an easy use of the 3MF Library

Interface version: 2.3.1
Interface version: 2.3.2

*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Source/lib3mf_interfaceexception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++ Header file with the basic internal
exception type in order to allow an easy use of the 3MF Library

Interface version: 2.3.1
Interface version: 2.3.2

*/

Expand Down
4 changes: 2 additions & 2 deletions Autogenerated/Source/lib3mf_interfacejournal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++ implementation file in order to allow easy
development of the 3MF Library. It provides an automatic Journaling mechanism for the library implementation.

Interface version: 2.3.1
Interface version: 2.3.2

*/

Expand Down Expand Up @@ -286,7 +286,7 @@ CLib3MFInterfaceJournal::CLib3MFInterfaceJournal (const std::string & sFileName)
m_StartTime = std::chrono::high_resolution_clock::now();
m_Stream.open (sFileName, std::ios::out);
m_Stream << "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n";
m_Stream << "<journal library=\"Lib3MF\" version=\"2.3.1\" xmlns=\"http://schemas.autodesk.com/components/Lib3MF/2.3.1\">\n";
m_Stream << "<journal library=\"Lib3MF\" version=\"2.3.2\" xmlns=\"http://schemas.autodesk.com/components/Lib3MF/2.3.2\">\n";
m_Stream << "\n";

}
Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Source/lib3mf_interfacejournal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++ header file in order to allow easy
development of the 3MF Library. It provides an automatic Journaling mechanism for the library implementation.

Interface version: 2.3.1
Interface version: 2.3.2

*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Source/lib3mf_interfaces.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Abstract: This is an autogenerated C++ header file in order to allow easy
development of the 3MF Library. The implementer of the 3MF Library needs to
derive concrete classes from the abstract classes in this header.

Interface version: 2.3.1
Interface version: 2.3.2

*/

Expand Down
2 changes: 1 addition & 1 deletion Autogenerated/Source/lib3mf_interfacewrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
Abstract: This is an autogenerated C++ implementation file in order to allow easy
development of the 3MF Library. The functions in this file need to be implemented. It needs to be generated only once.

Interface version: 2.3.1
Interface version: 2.3.2

*/

Expand Down
Loading

0 comments on commit 5746aa3

Please sign in to comment.