# HG changeset patch # User Sebastien Jodogne # Date 1603378763 -7200 # Node ID 8c5f9864545fd08235d5fb1f50fc3943378d61ba # Parent b91ea9566d16d6716123d7e83bf0acc3b5ef9333 adding missing headers diff -r b91ea9566d16 -r 8c5f9864545f Applications/Resources/Colormaps/GenerateColormaps.py --- a/Applications/Resources/Colormaps/GenerateColormaps.py Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Resources/Colormaps/GenerateColormaps.py Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/usr/bin/python +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + import array import matplotlib.pyplot as plt diff -r b91ea9566d16 -r 8c5f9864545f Applications/Resources/LinuxStandardBaseUic.py --- a/Applications/Resources/LinuxStandardBaseUic.py Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Resources/LinuxStandardBaseUic.py Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/usr/bin/env python +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + import subprocess import sys diff -r b91ea9566d16 -r 8c5f9864545f Applications/Resources/RunCppCheck.sh --- a/Applications/Resources/RunCppCheck.sh Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Resources/RunCppCheck.sh Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/bin/bash +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + set -ex CPPCHECK=cppcheck diff -r b91ea9566d16 -r 8c5f9864545f Applications/Resources/SyncOrthancFolder.py --- a/Applications/Resources/SyncOrthancFolder.py Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Resources/SyncOrthancFolder.py Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/usr/bin/python +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + # # This maintenance script updates the content of the "Orthanc" folder # to match the latest version of the Orthanc source code. diff -r b91ea9566d16 -r 8c5f9864545f Applications/Samples/RtViewerPlugin/CMakeLists.txt --- a/Applications/Samples/RtViewerPlugin/CMakeLists.txt Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Samples/RtViewerPlugin/CMakeLists.txt Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,22 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + cmake_minimum_required(VERSION 2.8.3) project(StoneWebViewerPlugin) diff -r b91ea9566d16 -r 8c5f9864545f Applications/Samples/RtViewerPlugin/OrthancExplorer.js --- a/Applications/Samples/RtViewerPlugin/OrthancExplorer.js Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Samples/RtViewerPlugin/OrthancExplorer.js Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,24 @@ +/** + * Stone of Orthanc + * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics + * Department, University Hospital of Liege, Belgium + * Copyright (C) 2017-2020 Osimis S.A., Belgium + * + * This program is free software: you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + **/ + + $('#series').live('pagebeforecreate', function() { var b = $('') .attr('data-role', 'button') diff -r b91ea9566d16 -r 8c5f9864545f Applications/Samples/Sdl/CMakeLists.txt --- a/Applications/Samples/Sdl/CMakeLists.txt Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Samples/Sdl/CMakeLists.txt Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,22 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + cmake_minimum_required(VERSION 2.8.10) project(OrthancStone) diff -r b91ea9566d16 -r 8c5f9864545f Applications/Samples/Sdl/Utilities.cmake --- a/Applications/Samples/Sdl/Utilities.cmake Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Samples/Sdl/Utilities.cmake Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,20 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . macro(GetFilenameFromPath TargetVariable Path) diff -r b91ea9566d16 -r 8c5f9864545f Applications/Samples/WebAssembly/CMakeLists.txt --- a/Applications/Samples/WebAssembly/CMakeLists.txt Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Samples/WebAssembly/CMakeLists.txt Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,22 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + cmake_minimum_required(VERSION 2.8.3) project(OrthancStone) diff -r b91ea9566d16 -r 8c5f9864545f Applications/Samples/WebAssembly/RtViewer/RtViewerWasmApp.js --- a/Applications/Samples/WebAssembly/RtViewer/RtViewerWasmApp.js Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Samples/WebAssembly/RtViewer/RtViewerWasmApp.js Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,23 @@ +/** + * Stone of Orthanc + * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics + * Department, University Hospital of Liege, Belgium + * Copyright (C) 2017-2020 Osimis S.A., Belgium + * + * This program is free software: you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + **/ + // This object wraps the functions exposed by the wasm module diff -r b91ea9566d16 -r 8c5f9864545f Applications/Samples/WebAssembly/RtViewer/RtViewerWasmWrapper.js --- a/Applications/Samples/WebAssembly/RtViewer/RtViewerWasmWrapper.js Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Samples/WebAssembly/RtViewer/RtViewerWasmWrapper.js Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,23 @@ +/** + * Stone of Orthanc + * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics + * Department, University Hospital of Liege, Belgium + * Copyright (C) 2017-2020 Osimis S.A., Belgium + * + * This program is free software: you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + **/ + const Stone = function() { this._InitializeViewport = undefined; diff -r b91ea9566d16 -r 8c5f9864545f Applications/Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApp.js --- a/Applications/Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApp.js Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApp.js Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,23 @@ +/** + * Stone of Orthanc + * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics + * Department, University Hospital of Liege, Belgium + * Copyright (C) 2017-2020 Osimis S.A., Belgium + * + * This program is free software: you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + **/ + // This object wraps the functions exposed by the wasm module diff -r b91ea9566d16 -r 8c5f9864545f Applications/Samples/WebAssembly/docker-build.sh --- a/Applications/Samples/WebAssembly/docker-build.sh Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Samples/WebAssembly/docker-build.sh Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/bin/bash +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + set -ex IMAGE=jodogne/wasm-builder:1.39.17-upstream diff -r b91ea9566d16 -r 8c5f9864545f Applications/Samples/WebAssembly/docker-internal.sh --- a/Applications/Samples/WebAssembly/docker-internal.sh Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Samples/WebAssembly/docker-internal.sh Thu Oct 22 16:59:23 2020 +0200 @@ -1,4 +1,24 @@ #!/bin/bash + +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + set -ex source /opt/emsdk/emsdk_env.sh diff -r b91ea9566d16 -r 8c5f9864545f Applications/Samples/build-wasm-samples.sh --- a/Applications/Samples/build-wasm-samples.sh Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/Samples/build-wasm-samples.sh Thu Oct 22 16:59:23 2020 +0200 @@ -1,4 +1,24 @@ #!/bin/bash + +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + # # usage: # to build the samples in RelWithDebInfo: @@ -6,6 +26,7 @@ # # to build the samples in Release: # ./build-wasm-samples.sh Release +# set -e @@ -45,4 +66,4 @@ echo "If all went well, the output files can be found in $installFolderName:" -ls $installFolderName \ No newline at end of file +ls $installFolderName diff -r b91ea9566d16 -r 8c5f9864545f Applications/StoneWebViewer/Plugin/CMakeLists.txt --- a/Applications/StoneWebViewer/Plugin/CMakeLists.txt Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/StoneWebViewer/Plugin/CMakeLists.txt Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,22 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + cmake_minimum_required(VERSION 2.8.3) project(StoneWebViewerPlugin) diff -r b91ea9566d16 -r 8c5f9864545f Applications/StoneWebViewer/Plugin/OrthancExplorer.js --- a/Applications/StoneWebViewer/Plugin/OrthancExplorer.js Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/StoneWebViewer/Plugin/OrthancExplorer.js Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,24 @@ +/** + * Stone of Orthanc + * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics + * Department, University Hospital of Liege, Belgium + * Copyright (C) 2017-2020 Osimis S.A., Belgium + * + * This program is free software: you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + **/ + + $('#study').live('pagebeforecreate', function() { var b = $('') .attr('data-role', 'button') diff -r b91ea9566d16 -r 8c5f9864545f Applications/StoneWebViewer/Resources/Graveyard/print.js --- a/Applications/StoneWebViewer/Resources/Graveyard/print.js Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/StoneWebViewer/Resources/Graveyard/print.js Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,24 @@ +/** + * Stone of Orthanc + * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics + * Department, University Hospital of Liege, Belgium + * Copyright (C) 2017-2020 Osimis S.A., Belgium + * + * This program is free software: you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + **/ + + function beforePrint(event){ console.log('beforePrint'); var $body = $('body'); diff -r b91ea9566d16 -r 8c5f9864545f Applications/StoneWebViewer/WebApplication/print.js --- a/Applications/StoneWebViewer/WebApplication/print.js Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/StoneWebViewer/WebApplication/print.js Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,24 @@ +/** + * Stone of Orthanc + * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics + * Department, University Hospital of Liege, Belgium + * Copyright (C) 2017-2020 Osimis S.A., Belgium + * + * This program is free software: you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + **/ + + function beforePrint(event) { var body = $('body'); body.addClass('print'); diff -r b91ea9566d16 -r 8c5f9864545f Applications/StoneWebViewer/WebAssembly/CMakeLists.txt --- a/Applications/StoneWebViewer/WebAssembly/CMakeLists.txt Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/StoneWebViewer/WebAssembly/CMakeLists.txt Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,22 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + cmake_minimum_required(VERSION 2.8.3) project(OrthancStone) diff -r b91ea9566d16 -r 8c5f9864545f Applications/StoneWebViewer/WebAssembly/JavaScriptLibraries.cmake --- a/Applications/StoneWebViewer/WebAssembly/JavaScriptLibraries.cmake Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/StoneWebViewer/WebAssembly/JavaScriptLibraries.cmake Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,22 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + set(BASE_URL "http://orthanc.osimis.io/ThirdPartyDownloads") DownloadPackage( diff -r b91ea9566d16 -r 8c5f9864545f Applications/StoneWebViewer/WebAssembly/StoneModule/CMakeLists.txt --- a/Applications/StoneWebViewer/WebAssembly/StoneModule/CMakeLists.txt Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/StoneWebViewer/WebAssembly/StoneModule/CMakeLists.txt Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,22 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + cmake_minimum_required(VERSION 2.8.3) project(OrthancStone) diff -r b91ea9566d16 -r 8c5f9864545f Applications/StoneWebViewer/WebAssembly/docker-build.sh --- a/Applications/StoneWebViewer/WebAssembly/docker-build.sh Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/StoneWebViewer/WebAssembly/docker-build.sh Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/bin/bash +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + set -ex IMAGE=jodogne/wasm-builder:1.39.17-upstream diff -r b91ea9566d16 -r 8c5f9864545f Applications/StoneWebViewer/WebAssembly/docker-internal.sh --- a/Applications/StoneWebViewer/WebAssembly/docker-internal.sh Thu Oct 22 16:29:08 2020 +0200 +++ b/Applications/StoneWebViewer/WebAssembly/docker-internal.sh Thu Oct 22 16:59:23 2020 +0200 @@ -1,4 +1,24 @@ #!/bin/bash + +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + set -ex source /opt/emsdk/emsdk_env.sh diff -r b91ea9566d16 -r 8c5f9864545f OrthancStone/Resources/CMake/FreetypeConfiguration.cmake --- a/OrthancStone/Resources/CMake/FreetypeConfiguration.cmake Thu Oct 22 16:29:08 2020 +0200 +++ b/OrthancStone/Resources/CMake/FreetypeConfiguration.cmake Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,22 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + if (STATIC_BUILD OR NOT USE_SYSTEM_FREETYPE) set(FREETYPE_SOURCES_DIR ${CMAKE_BINARY_DIR}/freetype-2.9.1) set(FREETYPE_URL "http://orthanc.osimis.io/ThirdPartyDownloads/freetype-2.9.1.tar.gz") diff -r b91ea9566d16 -r 8c5f9864545f OrthancStone/Resources/CMake/Version.cmake --- a/OrthancStone/Resources/CMake/Version.cmake Thu Oct 22 16:29:08 2020 +0200 +++ b/OrthancStone/Resources/CMake/Version.cmake Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,22 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + set(ORTHANC_STONE_VERSION "mainline") add_definitions( diff -r b91ea9566d16 -r 8c5f9864545f OrthancStone/Resources/Computations/ComputeShearOnSlice.py --- a/OrthancStone/Resources/Computations/ComputeShearOnSlice.py Thu Oct 22 16:29:08 2020 +0200 +++ b/OrthancStone/Resources/Computations/ComputeShearOnSlice.py Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/usr/bin/python +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + from sympy import * import pprint diff -r b91ea9566d16 -r 8c5f9864545f OrthancStone/Resources/Computations/ComputeShearParameters.py --- a/OrthancStone/Resources/Computations/ComputeShearParameters.py Thu Oct 22 16:29:08 2020 +0200 +++ b/OrthancStone/Resources/Computations/ComputeShearParameters.py Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/usr/bin/python +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + from sympy import * import pprint diff -r b91ea9566d16 -r 8c5f9864545f OrthancStone/Resources/Computations/ComputeWarp.py --- a/OrthancStone/Resources/Computations/ComputeWarp.py Thu Oct 22 16:29:08 2020 +0200 +++ b/OrthancStone/Resources/Computations/ComputeWarp.py Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/usr/bin/python +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + from sympy import * from sympy.solvers import solve import pprint diff -r b91ea9566d16 -r 8c5f9864545f OrthancStone/Resources/Computations/IntersectSegmentAndHorizontalLine.py --- a/OrthancStone/Resources/Computations/IntersectSegmentAndHorizontalLine.py Thu Oct 22 16:29:08 2020 +0200 +++ b/OrthancStone/Resources/Computations/IntersectSegmentAndHorizontalLine.py Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/usr/bin/env python +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + from sympy import * # Intersection between the 2D line segment (prevX,prevY)-(curX,curY) and the diff -r b91ea9566d16 -r 8c5f9864545f OrthancStone/Resources/Computations/IntersectSegmentAndVerticalLine.py --- a/OrthancStone/Resources/Computations/IntersectSegmentAndVerticalLine.py Thu Oct 22 16:29:08 2020 +0200 +++ b/OrthancStone/Resources/Computations/IntersectSegmentAndVerticalLine.py Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/usr/bin/env python +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + from sympy import * # Intersection between the 2D line segment (prevX,prevY)-(curX,curY) and the diff -r b91ea9566d16 -r 8c5f9864545f OrthancStone/Resources/SyncOrthancFolder.py --- a/OrthancStone/Resources/SyncOrthancFolder.py Thu Oct 22 16:29:08 2020 +0200 +++ b/OrthancStone/Resources/SyncOrthancFolder.py Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/usr/bin/python +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + # # This maintenance script updates the content of the "Orthanc" folder # to match the latest version of the Orthanc source code. diff -r b91ea9566d16 -r 8c5f9864545f OrthancStone/SharedLibrary/OrthancStone.h.in --- a/OrthancStone/SharedLibrary/OrthancStone.h.in Thu Oct 22 16:29:08 2020 +0200 +++ b/OrthancStone/SharedLibrary/OrthancStone.h.in Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,24 @@ +/** + * Stone of Orthanc + * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics + * Department, University Hospital of Liege, Belgium + * Copyright (C) 2017-2020 Osimis S.A., Belgium + * + * This program is free software: you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + **/ + + #pragma once /** diff -r b91ea9566d16 -r 8c5f9864545f OrthancStone/SharedLibrary/WebAssembly/CMakeLists.txt --- a/OrthancStone/SharedLibrary/WebAssembly/CMakeLists.txt Thu Oct 22 16:29:08 2020 +0200 +++ b/OrthancStone/SharedLibrary/WebAssembly/CMakeLists.txt Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,22 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + cmake_minimum_required(VERSION 2.8.3) project(OrthancStoneModule) diff -r b91ea9566d16 -r 8c5f9864545f OrthancStone/Sources/OrthancStone.h --- a/OrthancStone/Sources/OrthancStone.h Thu Oct 22 16:29:08 2020 +0200 +++ b/OrthancStone/Sources/OrthancStone.h Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,24 @@ +/** + * Stone of Orthanc + * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics + * Department, University Hospital of Liege, Belgium + * Copyright (C) 2017-2020 Osimis S.A., Belgium + * + * This program is free software: you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + **/ + + #pragma once /** diff -r b91ea9566d16 -r 8c5f9864545f UnitTestsSources/CMakeLists.txt --- a/UnitTestsSources/CMakeLists.txt Thu Oct 22 16:29:08 2020 +0200 +++ b/UnitTestsSources/CMakeLists.txt Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,22 @@ +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + cmake_minimum_required(VERSION 2.8.10) project(UnitTests) diff -r b91ea9566d16 -r 8c5f9864545f UnitTestsSources/Graveyard/TestStructureSet_BGO.cpp --- a/UnitTestsSources/Graveyard/TestStructureSet_BGO.cpp Thu Oct 22 16:29:08 2020 +0200 +++ b/UnitTestsSources/Graveyard/TestStructureSet_BGO.cpp Thu Oct 22 16:59:23 2020 +0200 @@ -1,3 +1,24 @@ +/** + * Stone of Orthanc + * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics + * Department, University Hospital of Liege, Belgium + * Copyright (C) 2017-2020 Osimis S.A., Belgium + * + * This program is free software: you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + **/ + + /* these tests are single-threaded... no worries for old buggy compilers (I'm talking to YOU, cl.exe v100! And to your ancestors!) diff -r b91ea9566d16 -r 8c5f9864545f UnitTestsSources/SortedFramesCreateTest.py --- a/UnitTestsSources/SortedFramesCreateTest.py Thu Oct 22 16:29:08 2020 +0200 +++ b/UnitTestsSources/SortedFramesCreateTest.py Thu Oct 22 16:59:23 2020 +0200 @@ -1,5 +1,24 @@ #!/usr/bin/env python +# Stone of Orthanc +# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics +# Department, University Hospital of Liege, Belgium +# Copyright (C) 2017-2020 Osimis S.A., Belgium +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU Affero General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + import pprint import requests import sys