changeset 4603:c125bfd31023 db-changes

rename 1.10.0 as 1.9.2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Mar 2021 15:30:06 +0100
parents cfdd1f59ff6f
children 2c702cfae274
files NEWS OrthancServer/Plugins/Engine/OrthancPluginDatabase.h OrthancServer/Plugins/Engine/OrthancPlugins.cpp OrthancServer/Plugins/Include/orthanc/OrthancCDatabasePlugin.h OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h
diffstat 5 files changed, 18 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Mon Mar 22 19:25:27 2021 +0100
+++ b/NEWS	Wed Mar 24 15:30:06 2021 +0100
@@ -1,6 +1,16 @@
 Pending changes in the mainline
 ===============================
 
+Plugins
+-------
+
+* Possibility to create database index plugins that don't lock a global mutex
+
+Maintenance
+-----------
+
+* Full refactoring of the database engine
+
 
 Version 1.9.1 (2021-02-25)
 ==========================
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabase.h	Mon Mar 22 19:25:27 2021 +0100
+++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabase.h	Wed Mar 24 15:30:06 2021 +0100
@@ -46,8 +46,8 @@
 {
   /**
    * This class is for backward compatibility with database plugins
-   * that don't use the primitives introduced in Orthanc 1.10.0 to
-   * deal with concurrent read-only transactions.
+   * that don't use the primitives introduced in Orthanc 1.9.2 to deal
+   * with concurrent read-only transactions.
    *
    * In Orthanc <= 1.9.1, Orthanc assumed that at most 1 single thread
    * was accessing the database plugin at anytime, in order to match
--- a/OrthancServer/Plugins/Engine/OrthancPlugins.cpp	Mon Mar 22 19:25:27 2021 +0100
+++ b/OrthancServer/Plugins/Engine/OrthancPlugins.cpp	Wed Mar 24 15:30:06 2021 +0100
@@ -1193,7 +1193,7 @@
     int argc_;
     char** argv_;
     std::unique_ptr<OrthancPluginDatabase>  database_;
-    std::unique_ptr<OrthancPluginDatabaseV3>  databaseV3_;  // New in Orthanc 1.10.0
+    std::unique_ptr<OrthancPluginDatabaseV3>  databaseV3_;  // New in Orthanc 1.9.2
     PluginsErrorDictionary  dictionary_;
 
     PImpl() : 
--- a/OrthancServer/Plugins/Include/orthanc/OrthancCDatabasePlugin.h	Mon Mar 22 19:25:27 2021 +0100
+++ b/OrthancServer/Plugins/Include/orthanc/OrthancCDatabasePlugin.h	Wed Mar 24 15:30:06 2021 +0100
@@ -46,7 +46,7 @@
 
   /**
    * Opaque structure that represents a transaction of a custom database engine.
-   * New in Orthanc 1.10.0.
+   * New in Orthanc 1.9.2.
    * @ingroup Callbacks
    **/
   typedef struct _OrthancPluginDatabaseTransaction_t OrthancPluginDatabaseTransaction;
@@ -976,7 +976,7 @@
 
 
   /**
-   * New interface starting with Orthanc 1.10.0
+   * New interface starting with Orthanc 1.9.2
    **/
 
 /*<! @cond Doxygen_Suppress */
--- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h	Mon Mar 22 19:25:27 2021 +0100
+++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h	Wed Mar 24 15:30:06 2021 +0100
@@ -116,8 +116,8 @@
 #endif
 
 #define ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER     1
-#define ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER     10
-#define ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER  0
+#define ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER     9
+#define ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER  2
 
 
 #if !defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE)
@@ -524,7 +524,7 @@
     _OrthancPluginService_StorageAreaCreate = 5003,
     _OrthancPluginService_StorageAreaRead = 5004,
     _OrthancPluginService_StorageAreaRemove = 5005,
-    _OrthancPluginService_RegisterDatabaseBackendV3 = 5006,  /* New in Orthanc 1.10.0 */
+    _OrthancPluginService_RegisterDatabaseBackendV3 = 5006,  /* New in Orthanc 1.9.2 */
 
     /* Primitives for handling images */
     _OrthancPluginService_GetImagePixelFormat = 6000,