# HG changeset patch
# User Sebastien Jodogne <s.jodogne@gmail.com>
# Date 1725891644 -7200
# Node ID 23b5a090a64b9be751f234b48db93392077a1135
# Parent  3915736c40a55b5a421b81887af2089ac29c595c# Parent  b4fbd9d2c90708035078d35e8fa2b3b8bad4016d
integration mainline->find-refactoring

diff -r 3915736c40a5 -r 23b5a090a64b OrthancServer/Sources/ServerContext.cpp
--- a/OrthancServer/Sources/ServerContext.cpp	Mon Sep 09 16:14:34 2024 +0200
+++ b/OrthancServer/Sources/ServerContext.cpp	Mon Sep 09 16:20:44 2024 +0200
@@ -1943,6 +1943,7 @@
       }
     }
 
+#if ORTHANC_ENABLE_PLUGINS == 1
     if (HasPlugins() && GetPlugins().HasCustomTranscoder())
     {
       LOG(INFO) << "The plugins and built-in image decoders failed to decode a frame, "
@@ -1960,6 +1961,7 @@
         return file->DecodeFrame(frameIndex);
       }
     }
+#endif
 
     return NULL;
   }
diff -r 3915736c40a5 -r 23b5a090a64b TODO
--- a/TODO	Mon Sep 09 16:14:34 2024 +0200
+++ b/TODO	Mon Sep 09 16:20:44 2024 +0200
@@ -203,6 +203,8 @@
   We should first filter in SQL by StudyDate only, combine it with StudyTime into a single 
   DateTime string and filter again in C++.
   https://discourse.orthanc-server.org/t/performin-find-within-orthanc-for-time-frames/4704
+* Worklist plugin: support MPPS
+  https://github.com/orthanc-server/orthanc-setup-samples/blob/master/python-samples/worklist-with-mpps.py
 
 --------------------
 Internationalization
@@ -220,8 +222,6 @@
 Performance
 ===========
 
-* (3) ServerContext::DicomCacheLocker => give access to the raw buffer,
-  useful in ServerContext::DecodeDicomInstance()
 * (2) DicomMap: create a cache to the main DICOM tags index
 * (3) Check out rapidjson: https://github.com/miloyip/nativejson-benchmark
 * For C-Find results: we could store the computed tags