# HG changeset patch # User Sebastien Jodogne # Date 1346852288 -7200 # Node ID e1a3ae0dadf3064a4a816ae9360f507df1b73f22 # Parent 0a04c70747d97ec88fd4b7fae005aedf95e40ee6 renaming of resources diff -r 0a04c70747d9 -r e1a3ae0dadf3 Resources/Configuration.json --- 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" : { } } diff -r 0a04c70747d9 -r e1a3ae0dadf3 Resources/EmbedResources.py --- 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 -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 #include -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); } } """) diff -r 0a04c70747d9 -r e1a3ae0dadf3 Resources/Palanthir.doxygen --- 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