changeset 49:e1a3ae0dadf3

renaming of resources
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Sep 2012 15:38:08 +0200
parents 0a04c70747d9
children a15e90e5d6fc
files Resources/Configuration.json Resources/EmbedResources.py Resources/Palanthir.doxygen
diffstat 3 files changed, 17 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/Configuration.json	Wed Sep 05 15:36:45 2012 +0200
+++ b/Resources/Configuration.json	Wed Sep 05 15:38:08 2012 +0200
@@ -1,10 +1,10 @@
 {
     /**
-     * General configuration of Palantir
+     * General configuration of Palanthir
      **/
 
     // Path to the directory that holds the database
-    "StorageDirectory" : "PalantirStorage",
+    "StorageDirectory" : "PalanthirStorage",
 
 
 
@@ -45,7 +45,7 @@
     // Whether or not the password protection is enabled
     "AuthenticationEnabled" : false,
 
-    // The list of the registered users. Because Palantir uses HTTP
+    // The list of the registered users. Because Palanthir uses HTTP
     // Basic Authentication, the passwords are stored as plain text.
     "RegisteredUsers" : {
         "alice" : "alicePassword"
@@ -62,7 +62,7 @@
         // "sample" : [ "SAMPLESCP", "192.168.100.42", 104 ]
     },
 
-    // The list of the known Palantir peers (currently unused)
-    "PalantirPeers" : {
+    // The list of the known Palanthir peers (currently unused)
+    "PalanthirPeers" : {
     }
 }
--- a/Resources/EmbedResources.py	Wed Sep 05 15:36:45 2012 +0200
+++ b/Resources/EmbedResources.py	Wed Sep 05 15:38:08 2012 +0200
@@ -88,7 +88,7 @@
 
 #include <string>
 
-namespace Palantir
+namespace Palanthir
 {
   namespace EmbeddedResources
   {
@@ -172,12 +172,12 @@
 
 cpp.write("""
 #include "%s.h"
-#include "%s/Core/PalantirException.h"
+#include "%s/Core/PalanthirException.h"
 
 #include <stdint.h>
 #include <string.h>
 
-namespace Palantir
+namespace Palanthir
 {
   namespace EmbeddedResources
   {
@@ -211,7 +211,7 @@
 
 cpp.write("""
       default:
-        throw PalantirException(ErrorCode_ParameterOutOfRange);
+        throw PalanthirException(ErrorCode_ParameterOutOfRange);
       }
     }
 
@@ -228,7 +228,7 @@
 
 cpp.write("""
       default:
-        throw PalantirException(ErrorCode_ParameterOutOfRange);
+        throw PalanthirException(ErrorCode_ParameterOutOfRange);
       }
     }
 """)
@@ -253,10 +253,10 @@
         for path in resources[name]['Files']:
             cpp.write('        if (!strcmp(path, "%s"))\n' % path)
             cpp.write('          return resource%dBuffer;\n' % resources[name]['Files'][path]['Index'])
-        cpp.write('        throw PalantirException("Unknown path in a directory resource");\n\n')
+        cpp.write('        throw PalanthirException("Unknown path in a directory resource");\n\n')
 
 cpp.write("""      default:
-        throw PalantirException(ErrorCode_ParameterOutOfRange);
+        throw PalanthirException(ErrorCode_ParameterOutOfRange);
       }
     }
 
@@ -273,10 +273,10 @@
         for path in resources[name]['Files']:
             cpp.write('        if (!strcmp(path, "%s"))\n' % path)
             cpp.write('          return resource%dSize;\n' % resources[name]['Files'][path]['Index'])
-        cpp.write('        throw PalantirException("Unknown path in a directory resource");\n\n')
+        cpp.write('        throw PalanthirException("Unknown path in a directory resource");\n\n')
 
 cpp.write("""      default:
-        throw PalantirException(ErrorCode_ParameterOutOfRange);
+        throw PalanthirException(ErrorCode_ParameterOutOfRange);
       }
     }
 """)
--- a/Resources/Palanthir.doxygen	Wed Sep 05 15:36:45 2012 +0200
+++ b/Resources/Palanthir.doxygen	Wed Sep 05 15:38:08 2012 +0200
@@ -25,7 +25,7 @@
 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
 # by quotes) that should identify the project.
 
-PROJECT_NAME           = Palantir
+PROJECT_NAME           = Palanthir
 
 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
 # This could be handy for archiving the generated documentation or
@@ -610,7 +610,7 @@
 # directories like "/usr/src/myproject". Separate the files or directories
 # with spaces.
 
-INPUT                  =  @CMAKE_SOURCE_DIR@/Core @CMAKE_SOURCE_DIR@/PalantirServer @CMAKE_SOURCE_DIR@/PalantirCppClient
+INPUT                  =  @CMAKE_SOURCE_DIR@/Core @CMAKE_SOURCE_DIR@/PalanthirServer @CMAKE_SOURCE_DIR@/PalanthirCppClient
 
 # This tag can be used to specify the character encoding of the source files
 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
@@ -662,7 +662,7 @@
 # wildcard * is used, a substring. Examples: ANamespace, AClass,
 # AClass::ANamespace, ANamespace::*Test
 
-EXCLUDE_SYMBOLS        = Palantir::Internals
+EXCLUDE_SYMBOLS        = Palanthir::Internals
 
 # The EXAMPLE_PATH tag can be used to specify one or more files or
 # directories that contain example code fragments that are included (see