# HG changeset patch # User Sebastien Jodogne # Date 1699958686 -3600 # Node ID 517ef20aef74d429a52c2b1ea4c8ac6f9a6085cd # Parent 67db5afb305db33b7d2f6fef06b7224f9faf3f12 sync diff -r 67db5afb305d -r 517ef20aef74 OrthancStone/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake --- a/OrthancStone/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake Wed Nov 08 17:26:22 2023 +0100 +++ b/OrthancStone/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake Tue Nov 14 11:44:46 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 67db5afb305d -r 517ef20aef74 OrthancStone/Resources/SyncOrthancFolder.py --- a/OrthancStone/Resources/SyncOrthancFolder.py Wed Nov 08 17:26:22 2023 +0100 +++ b/OrthancStone/Resources/SyncOrthancFolder.py Tue Nov 14 11:44:46 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 67db5afb305d -r 517ef20aef74 RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp --- a/RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Wed Nov 08 17:26:22 2023 +0100 +++ b/RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Tue Nov 14 11:44:46 2023 +0100 @@ -79,6 +79,10 @@ } } + void ResetGlobalContext() + { + globalContext_ = NULL; + } bool HasGlobalContext() { diff -r 67db5afb305d -r 517ef20aef74 RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h --- a/RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h Wed Nov 08 17:26:22 2023 +0100 +++ b/RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h Tue Nov 14 11:44:46 2023 +0100 @@ -137,6 +137,8 @@ void SetGlobalContext(OrthancPluginContext* context); + void ResetGlobalContext(); + bool HasGlobalContext(); OrthancPluginContext* GetGlobalContext(); diff -r 67db5afb305d -r 517ef20aef74 RenderingPlugin/Resources/SyncOrthancFolder.py --- a/RenderingPlugin/Resources/SyncOrthancFolder.py Wed Nov 08 17:26:22 2023 +0100 +++ b/RenderingPlugin/Resources/SyncOrthancFolder.py Tue Nov 14 11:44:46 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'),