occt: master ee5befae
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
apn | master | 2016-10-28 11:29:58 | master 30f5e1a7 | |
Affected Issues | 0027258: Configuration - generate built-in replacement for mandatory resource files | |||
Changeset | 0027258: Configuration - generate built-in replacement for mandatory resource files Generation of header files from resource files was added to CMake and genproj procedures. Message_MsgFile has been extended with new method ::LoadFromString() for loading messages from embedded resources. Message_MsgFile::LoadFromString() is now a preferred way for loading message resources by application as alternative to environment variables. TObje/TObj.msg is now embedded into TObj_Application.cxx. TObj_Application now loads its global messages on instantiation of the first class instance. UnitsAPI/Lexi_Expr.dat now completely embedded into Units_Lexicon.cxx. UnitsAPI/Units.dat now embedded into Units_UnitsDictionary.cxx but can be regenerated from resource file. The definition of the following units have been removed: benne à charbon, calorie (diététique). Unused message files XSMessage/IGES.us and IGES.fr have been removed. Related code IGESData.cxx has been removed as well. XSMessage/XSTEP.us is now embedded into Interface_StaticStandards.cxx and used for fallback initialization in case when file resources defined by CSF_XSMessage environment variable are missing. SHMessage/SHAPE.us is now embedded into ShapeExtend.cxx and used for fallback initialization in case when file resources defined by CSF_XHMessage environment variable are missing. Duplicating code has been removed from ShapeProcess_OperLibrary.cxx. Shaders/Declarations.glsl and Shaders/DeclarationsImpl.glsl are now embedded into OpenGl_ShaderProgram.cxx. CSF_ShadersDirectory is no more required for using OCCT 3D Viewer. Ray-Tracing GLSL programs from Shaders are now embedded into OpenGl_View_Raytrace.cxx. File resources are still used instead of embedded programs when CSF_ShadersDirectory is defined, but this functionality is intended for OCCT development. Enumeration Graphic3d_ShaderProgram::ShaderName_Phong demonstrating custom GLSL program usage has been removed. |
|||
mod - adm/cmake/occt_macros.cmake | Diff File | |||
add - adm/cmake/occt_resources.cmake | Diff File | |||
mod - adm/cmake/vardescr.cmake | Diff File | |||
mod - adm/genproj.tcl | Diff File | |||
mod - adm/RESOURCES | Diff File | |||
mod - adm/templates/env.bat | Diff File | |||
mod - adm/templates/env.bat.in | Diff File | |||
mod - adm/templates/env.sh | Diff File | |||
mod - adm/templates/env.sh.in | Diff File | |||
mod - adm/templates/header.in | Diff File | |||
mod - CMakeLists.txt | Diff File | |||
mod - dox/dev_guides/upgrade/upgrade.md | Diff File | |||
mod - dox/overview/overview.md | Diff File | |||
mod - samples/java/jniviewer/jni/Android.mk | Diff File | |||
mod - samples/java/jniviewer/jni/OcctJni_Viewer.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_ShaderProgram.cxx | Diff File | |||
mod - src/Graphic3d/Graphic3d_ShaderProgram.hxx | Diff File | |||
mod - src/IGESData/IGESData.cxx | Diff File | |||
mod - src/Interface/Interface_StaticStandards.cxx | Diff File | |||
mod - src/Message/Message_MsgFile.cxx | Diff File | |||
mod - src/Message/Message_MsgFile.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_ShaderProgram.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_View.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_View_Raytrace.cxx | Diff File | |||
mod - src/Shaders/FILES | Diff File | |||
mod - src/Shaders/RaytraceBase.fs | Diff File | |||
mod - src/Shaders/RaytraceRender.fs | Diff File | |||
mod - src/Shaders/RaytraceSmooth.fs | Diff File | |||
add - src/Shaders/Shaders_DeclarationsImpl_glsl.pxx | Diff File | |||
add - src/Shaders/Shaders_Declarations_glsl.pxx | Diff File | |||
add - src/Shaders/Shaders_Display_fs.pxx | Diff File | |||
add - src/Shaders/Shaders_PathtraceBase_fs.pxx | Diff File | |||
add - src/Shaders/Shaders_RaytraceBase_fs.pxx | Diff File | |||
add - src/Shaders/Shaders_RaytraceBase_vs.pxx | Diff File | |||
add - src/Shaders/Shaders_RaytraceRender_fs.pxx | Diff File | |||
add - src/Shaders/Shaders_RaytraceSmooth_fs.pxx | Diff File | |||
mod - src/ShapeExtend/ShapeExtend.cxx | Diff File | |||
mod - src/ShapeProcess/ShapeProcess_OperLibrary.cxx | Diff File | |||
mod - src/SHMessage/FILES | Diff File | |||
add - src/SHMessage/SHMessage_SHAPE_us.pxx | Diff File | |||
mod - src/TObj/FILES | Diff File | |||
mod - src/TObj/TObj_Application.cxx | Diff File | |||
add - src/TObj/TObj_TObj_msg.pxx | Diff File | |||
mod - src/TObjDRAW/TObjDRAW.cxx | Diff File | |||
mod - src/Units/Units.cxx | Diff File | |||
mod - src/Units/Units_Lexicon.cxx | Diff File | |||
mod - src/Units/Units_Lexicon.hxx | Diff File | |||
mod - src/Units/Units_UnitsDictionary.cxx | Diff File | |||
mod - src/Units/Units_UnitsDictionary.hxx | Diff File | |||
mod - src/Units/Units_UnitsLexicon.cxx | Diff File | |||
mod - src/Units/Units_UnitsLexicon.hxx | Diff File | |||
mod - src/UnitsAPI/FILES | Diff File | |||
rm - src/UnitsAPI/Lexi_Expr.dat | Diff File | |||
mod - src/UnitsAPI/Units.dat | Diff File | |||
mod - src/UnitsAPI/UnitsAPI.cxx | Diff File | |||
add - src/UnitsAPI/UnitsAPI_Units_dat.pxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_OpenGlCommands.cxx | Diff File | |||
mod - src/XSMessage/FILES | Diff File | |||
rm - src/XSMessage/IGES.fr | Diff File | |||
rm - src/XSMessage/IGES.us | Diff File | |||
add - src/XSMessage/XSMessage_XSTEP_us.pxx | Diff File | |||
mod - src/XSMessage/XSTEP.us | Diff File |