# HG changeset patch # User Sebastien Jodogne # Date 1699958739 -3600 # Node ID 2c11573602b9337d4642770e66321029b9370615 # Parent 129cb165ea8d88d299429fc00cad9c48212a5329# Parent 517ef20aef74d429a52c2b1ea4c8ac6f9a6085cd integration mainline->dicom-sr diff -r 129cb165ea8d -r 2c11573602b9 OrthancStone/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake --- a/OrthancStone/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake Wed Nov 08 17:26:44 2023 +0100 +++ b/OrthancStone/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake Tue Nov 14 11:45:39 2023 +0100 @@ -271,7 +271,7 @@ else() message("Forking the Orthanc source repository using Mercurial") execute_process( - COMMAND ${ORTHANC_FRAMEWORK_HG} clone "https://hg.orthanc-server.com/orthanc/" + COMMAND ${ORTHANC_FRAMEWORK_HG} clone "https://orthanc.uclouvain.be/hg/orthanc/" WORKING_DIRECTORY ${CMAKE_BINARY_DIR} RESULT_VARIABLE Failure ) diff -r 129cb165ea8d -r 2c11573602b9 OrthancStone/Resources/SyncOrthancFolder.py --- a/OrthancStone/Resources/SyncOrthancFolder.py Wed Nov 08 17:26:44 2023 +0100 +++ b/OrthancStone/Resources/SyncOrthancFolder.py Tue Nov 14 11:45:39 2023 +0100 @@ -38,7 +38,7 @@ TARGET = os.path.join(os.path.dirname(__file__), 'Orthanc') -REPOSITORY = 'https://hg.orthanc-server.com/orthanc/raw-file' +REPOSITORY = 'https://orthanc.uclouvain.be/hg/orthanc/raw-file' FILES = [ ('OrthancFramework/Resources/CMake/AutoGeneratedCode.cmake', 'CMake'), diff -r 129cb165ea8d -r 2c11573602b9 RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp --- a/RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Wed Nov 08 17:26:44 2023 +0100 +++ b/RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Tue Nov 14 11:45:39 2023 +0100 @@ -79,6 +79,10 @@ } } + void ResetGlobalContext() + { + globalContext_ = NULL; + } bool HasGlobalContext() { diff -r 129cb165ea8d -r 2c11573602b9 RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h --- a/RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h Wed Nov 08 17:26:44 2023 +0100 +++ b/RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h Tue Nov 14 11:45:39 2023 +0100 @@ -137,6 +137,8 @@ void SetGlobalContext(OrthancPluginContext* context); + void ResetGlobalContext(); + bool HasGlobalContext(); OrthancPluginContext* GetGlobalContext(); diff -r 129cb165ea8d -r 2c11573602b9 RenderingPlugin/Resources/SyncOrthancFolder.py --- a/RenderingPlugin/Resources/SyncOrthancFolder.py Wed Nov 08 17:26:44 2023 +0100 +++ b/RenderingPlugin/Resources/SyncOrthancFolder.py Tue Nov 14 11:45:39 2023 +0100 @@ -38,7 +38,7 @@ TARGET = os.path.join(os.path.dirname(__file__), 'Orthanc') PLUGIN_SDK_VERSION = '1.0.0' -REPOSITORY = 'https://hg.orthanc-server.com/orthanc/raw-file' +REPOSITORY = 'https://orthanc.uclouvain.be/hg/orthanc/raw-file' FILES = [ ('OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h', 'Plugins'),