Skip to content

Commit

Permalink
Switch version in all the required places + A Python script to automa…
Browse files Browse the repository at this point in the history
…tically make the version change in required places (#373)

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

* Include some rudimentary documentation in lib3mf_version_update.py
  • Loading branch information
vijaiaeroastro authored Jun 12, 2024
1 parent 216be33 commit 4889e3f
Show file tree
Hide file tree
Showing 56 changed files with 322 additions and 72 deletions.
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 4889e3f

Please sign in to comment.