diff --git a/CMakeLists.txt b/CMakeLists.txt index a9cc1e1bb..9ec447a7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -374,7 +374,7 @@ ELSE (NOT HAVE_ALLOCA) ENDIF (NOT HAVE_ALLOCA) # -# The wsman_config file checks include file existance via "#if", +# The wsman_config file checks include file existence via "#if", # requiring a 0/1 argument # However CHECK_INCLUDE_FILE , returns ""/"1" resulting in # an empty argument to "#if" in the 'false' case @@ -422,7 +422,7 @@ CHECK_FUNCTION_EXISTS("getifaddrs" HAVE_GETIFADDRS) SET( CRAY_STACKSEG_END 0 ) # -# The wsman_config file checks functions existance via "#if", +# The wsman_config file checks functions existence via "#if", # requiring a 0/1 argument # CHECK_FUNCTION_EXISTS however, returns ""/"1" resulting in # an empty argument to "#if" in the 'false' case @@ -448,7 +448,7 @@ INCLUDE(CheckTypeSize) SET( CMAKE_REQUIRED_IUNCLUDE "/usr/include/netinet" ) # -# The wsman_config file checks type existance via "#if", +# The wsman_config file checks type existence via "#if", # requiring a 0/1 argument # CHECK_TYPE_SIZE however, returns ""/"1" resulting in # an empty argument to "#if" in the 'false' case diff --git a/Doxyfile.in b/Doxyfile.in index 06335231a..8b21e2551 100644 --- a/Doxyfile.in +++ b/Doxyfile.in @@ -150,7 +150,7 @@ PREDEFINED = "OWSMAN_BEGIN_DECLS=" \ "_OWSMAN_GNUC_PRINTF(from,to)=" SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- -# Configuration::addtions related to external references +# Configuration::additions related to external references #--------------------------------------------------------------------------- TAGFILES = GENERATE_TAGFILE = @@ -175,6 +175,6 @@ MAX_DOT_GRAPH_HEIGHT = 1024 GENERATE_LEGEND = YES DOT_CLEANUP = YES #--------------------------------------------------------------------------- -# Configuration::addtions related to the search engine +# Configuration::additions related to the search engine #--------------------------------------------------------------------------- SEARCHENGINE = NO diff --git a/README.md b/README.md index 9dce8ac8c..b87d36af3 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ You can also specify the configuration file to be used on the command line using Tests -f, --from-file= Send request from file -R, --print-request print request on stdout - -Q, --request Only output reqest. Not send it. + -Q, --request Only output request. Not send it. -S, --step Do not perform multiple operations (do not pull data when enumerating) CIM @@ -152,7 +152,7 @@ You can also specify the configuration file to be used on the command line using -G, --delivery-mode= Four delivery modes available: push/pushwithack/events/pull -Z, --notification-uri= Where notifications are sent -r, --subscription-expiry-time= subscription expiry time in seconds - -H, --heartbeat= Send hearbeat in an interval + -H, --heartbeat= Send heartbeat in an interval -l, --bookmark Send bookmark -i, --subscription-identifier= Used to specify which subscription -L, --notify-reference-properties= Notify Reference Properties diff --git a/acinclude.m4 b/acinclude.m4 index 0c84f48af..a61a9ca91 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -221,7 +221,7 @@ AC_DEFUN([AC_PROG_SWIG],[ SWIG_VERSION_GOOD() elif test $available_major -lt $required_major ; then - # the avialable major is less than required major -- BAD + # the available major is less than required major -- BAD SWIG_VERSION_BAD() else # the available and require major are equal check the minor and patch versions. diff --git a/bindings/ruby/tests/win32_registry.rb b/bindings/ruby/tests/win32_registry.rb index 2e469c8bc..59d4ef209 100644 --- a/bindings/ruby/tests/win32_registry.rb +++ b/bindings/ruby/tests/win32_registry.rb @@ -59,7 +59,7 @@ def test_client "sSubKeyName" => "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall" } - # Name of method invoked on the class (resp. instrance) + # Name of method invoked on the class (resp. instance) method = "EnumKey" result = client.invoke( options, uri, method ) assert result diff --git a/bindings/wsman-client_opt.i b/bindings/wsman-client_opt.i index 4dc8ded6a..8ef72a396 100644 --- a/bindings/wsman-client_opt.i +++ b/bindings/wsman-client_opt.i @@ -89,7 +89,7 @@ typedef struct {} client_opt_t; * return current flags bitmask * * call-seq: - * optins.flags -> Integer + * options.flags -> Integer * */ unsigned long get_flags() { diff --git a/doc/README.memory-usage b/doc/README.memory-usage index 2970b44e8..786c532e8 100644 --- a/doc/README.memory-usage +++ b/doc/README.memory-usage @@ -119,7 +119,7 @@ max_threads=1 max_connections_per_thread=8 thread_stack_size=262144 -the idle memory usage was about 4MB and with 10 clients doing enumearation, it went +the idle memory usage was about 4MB and with 10 clients doing enumeration, it went up to about 19MB. NOTE: diff --git a/doc/README.serialization b/doc/README.serialization index 4c38a860e..61fa6eafb 100644 --- a/doc/README.serialization +++ b/doc/README.serialization @@ -92,7 +92,7 @@ size arrays constructed from these types. SER_TYPEINFO_UINT32; SER_TYPEINFO_BOOL; SER_TYPEINFO_STR; - If you use dymanic arrays of basic types you must define the corespondent + If you use dynamic arrays of basic types you must define the correspondent XmlSerializerInfo before defining TDO including this dynamic array. You will refer to these TDOs in SER_DYN_ARRAY define and use the fourth argument for these types uint8, uint16, uint32, bool and string as the last argument (see diff --git a/doc/event/TODO b/doc/event/TODO index 69f5c2b98..d046c48c7 100644 --- a/doc/event/TODO +++ b/doc/event/TODO @@ -1,3 +1,3 @@ -1. Notificaiton Manager +1. Notification Manager 2. Event part in CIM plug-in diff --git a/doc/event/event-implementation.txt b/doc/event/event-implementation.txt index 4a20fdeff..ee4b3ee2e 100644 --- a/doc/event/event-implementation.txt +++ b/doc/event/event-implementation.txt @@ -7,7 +7,7 @@ Event Source can also be considered to be consisted of two parts: Subscription M 2. Processing Model of WS-Eventing -In our implementation openwsman acts as Event Source, which is responsible for receiving a subscription from a subscriber and sending a notification to an event sink. As there are different events created by different applications in the real world, it is important to make this process as general as possible. The solution is to put the specific eventing production in the plug-in part and intergrate shared WS-Eventing protocol process in the framework of openwsman. That is to say, the framework and plug-in act together to accomplish a process of WS-Eventing. +In our implementation openwsman acts as Event Source, which is responsible for receiving a subscription from a subscriber and sending a notification to an event sink. As there are different events created by different applications in the real world, it is important to make this process as general as possible. The solution is to put the specific eventing production in the plug-in part and integrate shared WS-Eventing protocol process in the framework of openwsman. That is to say, the framework and plug-in act together to accomplish a process of WS-Eventing. 3. Core Data Structures To support WS-Eventing protocol, a few new data structures are added. The following are some of the critical ones. @@ -87,9 +87,9 @@ struct __Soap { pthread_mutex_t lockSubs; //lock for Subscription Repository list_t *subscriptionMemList; //memory Repository of Subscriptions char *uri_subsRepository; //URI of repository - SubsRepositoryOpSetH subscriptionOpSet; //Functions talbe of Subscription Repository + SubsRepositoryOpSetH subscriptionOpSet; //Functions table of Subscription Repository WsContextH cntx; - //TBD claen up and initilaize it; + //TBD clean up and initialize it; unsigned long lastResponseListScanTicks; diff --git a/etc/openwsman.conf b/etc/openwsman.conf index 84326f23f..4801d377d 100644 --- a/etc/openwsman.conf +++ b/etc/openwsman.conf @@ -43,10 +43,10 @@ ssl_disabled_protocols = SSLv2 SSLv3 # see 'ciphers' in the OpenSSL documentation #ssl_cipher_list = -# set these to enable digest authentication against a local datbase +# set these to enable digest authentication against a local database #digest_password_file = /etc/openwsman/digest_auth.passwd -# set these to enable basic authentication against a local datbase +# set these to enable basic authentication against a local database #basic_password_file = /etc/openwsman/simple_auth.passwd max_threads = 0 @@ -102,7 +102,7 @@ cim_client_frontend = XML #cim_client_cql = DMTF:CQL #indication_profile_implementation source namespace is used to define namespace where the -#CIMOM implemnts it's indication profile. For SFCB this is root/interop. +#CIMOM implements it's indication profile. For SFCB this is root/interop. #indication_profile_implementation_ns = root/interop # The following are in part fake namespaces for some publicly available CIM implementations. diff --git a/etc/openwsman_test.conf b/etc/openwsman_test.conf index 3512828f3..383d1cfd9 100644 --- a/etc/openwsman_test.conf +++ b/etc/openwsman_test.conf @@ -43,10 +43,10 @@ ssl_disabled_protocols = SSLv2 SSLv3 # see 'ciphers' in the OpenSSL documentation #ssl_cipher_list = -# set these to enable digest authentication against a local datbase +# set these to enable digest authentication against a local database #digest_password_file = /etc/openwsman/digest_auth.passwd -# set these to enable basic authentication against a local datbase +# set these to enable basic authentication against a local database #basic_password_file = /etc/openwsman/simple_auth.passwd max_threads = 0 @@ -102,7 +102,7 @@ cim_client_frontend = XML #cim_client_cql = DMTF:CQL #indication_profile_implementation source namespace is used to define namespace where the -#CIMOM implemnts it's indication profile. For SFCB this is root/interop. +#CIMOM implements it's indication profile. For SFCB this is root/interop. #indication_profile_implementation_ns = root/interop # The following are in part fake namespaces for some publicly available CIM implementations. diff --git a/include/wsman-soap.h b/include/wsman-soap.h index 4e414988a..97ca3a7c2 100644 --- a/include/wsman-soap.h +++ b/include/wsman-soap.h @@ -107,7 +107,7 @@ struct __Soap { pthread_mutex_t lockSubs; //lock for Subscription Repository char *uri_subsRepository; //URI of repository - SubsRepositoryOpSetH subscriptionOpSet; //Function talbe of Subscription Repository + SubsRepositoryOpSetH subscriptionOpSet; //Function table of Subscription Repository EventPoolOpSetH eventpoolOpSet; //Function table of event source WsContextH cntx; void *dispatcherData; @@ -332,7 +332,7 @@ struct __WsSubscribeInfo { WsmanAuth auth_data; WsEndPointEventPoll eventpoll; // plugin related poll process WsEndPointSubscriptionCancel cancel; //plugin related subscription cancel routine - WsXmlDocH templateDoc; //template notificaiton document + WsXmlDocH templateDoc; //template notification document WsXmlDocH heartbeatDoc; //Fixed heartbeat document }; diff --git a/src/cpp/OpenWsmanClient.cpp b/src/cpp/OpenWsmanClient.cpp index d3bf54368..f95a04b66 100644 --- a/src/cpp/OpenWsmanClient.cpp +++ b/src/cpp/OpenWsmanClient.cpp @@ -598,7 +598,7 @@ void OpenWsmanClient::SetClientCert( // Set server certificate params // params: cainfo - string naming a file holding one or more certificates to verify the peer with. // capath - string naming a dierctory holding multiple CA certificates to verify the peer with. -// Give empty strings if you want curl to search for certificates inthe default path +// Give empty strings if you want curl to search for certificates in the default path void OpenWsmanClient::SetServerCert( const string &cainfo, const string &capath) diff --git a/src/cpp/OpenWsmanClient.h b/src/cpp/OpenWsmanClient.h index d5a78decb..d0c2eea0b 100644 --- a/src/cpp/OpenWsmanClient.h +++ b/src/cpp/OpenWsmanClient.h @@ -152,7 +152,7 @@ namespace WsmanClientNamespace // Set user name void SetUserName(const string &user_name); - // Set passsword + // Set password void SetPassword(const string &password); // Set encoding diff --git a/src/lib/u/gettimeofday.c b/src/lib/u/gettimeofday.c index 3aaa313f4..4d32835a5 100644 --- a/src/lib/u/gettimeofday.c +++ b/src/lib/u/gettimeofday.c @@ -27,7 +27,7 @@ int gettimeofday(struct timeval *tv, struct timezone *tz) if(tz == NULL) return 0; - /* set the tiemzone struct */ + /* set the timezone struct */ tz->tz_minuteswest = tb.timezone; tz->tz_dsttime = tb.dstflag; diff --git a/src/plugins/cim/sfcc-interface.c b/src/plugins/cim/sfcc-interface.c index 246ff60a7..ff5fc6779 100644 --- a/src/plugins/cim/sfcc-interface.c +++ b/src/plugins/cim/sfcc-interface.c @@ -756,7 +756,7 @@ cim_verify_class_keys(CMPIConstClass * class, statusP->fault_code = WSMAN_INVALID_SELECTORS; statusP->fault_detail_code = WSMAN_DETAIL_INSUFFICIENT_SELECTORS; - debug("insuffcient selectors"); + debug("insufficient selectors"); goto cleanup; } else if (ccount < hash_count(keys)) { statusP->fault_code = WSMAN_INVALID_SELECTORS; @@ -830,7 +830,7 @@ cim_verify_keys(CMPIObjectPath * objectpath, hash_t * keys, if (opcount > count) { statusP->fault_code = WSMAN_INVALID_SELECTORS; statusP->fault_detail_code = WSMAN_DETAIL_INSUFFICIENT_SELECTORS; - debug("insuffcient selectors"); + debug("insufficient selectors"); goto cleanup; } else if (opcount < hash_count(keys)) { statusP->fault_code = WSMAN_INVALID_SELECTORS; @@ -2414,7 +2414,7 @@ cim_create_indication_filter(CimClientInfo *client, WsSubscribeInfo *subsInfo, W rc.rc, (rc.msg) ? CMGetCharPtr(rc.msg) : NULL); if (rc.rc == CMPI_RC_ERR_FAILED) { status->fault_code = WSA_ACTION_NOT_SUPPORTED; - } else if(rc.rc != 11){ // an object already exists. We take this erros as success + } else if(rc.rc != 11){ // an object already exists. We take this errors as success cim_to_wsman_status(rc, status); } if (rc.msg) @@ -2479,7 +2479,7 @@ cim_create_indication_handler(CimClientInfo *client, WsSubscribeInfo *subsInfo, rc.rc, (rc.msg) ? CMGetCharPtr(rc.msg) : NULL); if (rc.rc == CMPI_RC_ERR_FAILED) { status->fault_code = WSA_ACTION_NOT_SUPPORTED; - } else if(rc.rc != 11){ // an object already exists. We take this erros as success + } else if(rc.rc != 11){ // an object already exists. We take this errors as success cim_to_wsman_status(rc, status); } if (rc.msg) diff --git a/src/plugins/redirect/redirect-README b/src/plugins/redirect/redirect-README index aa02f82b8..457ee7ebc 100644 --- a/src/plugins/redirect/redirect-README +++ b/src/plugins/redirect/redirect-README @@ -31,7 +31,7 @@ cacert='/etc/dummy.cert' #default of 5985 is used. port=5985 -#Default vaule is 0 +#Default value is 0 noverifypeer=0 #default value is 0 diff --git a/src/plugins/swig/src/swig-plugin.c b/src/plugins/swig/src/swig-plugin.c index d82d2d199..13cffe096 100644 --- a/src/plugins/swig/src/swig-plugin.c +++ b/src/plugins/swig/src/swig-plugin.c @@ -154,7 +154,7 @@ fmtstr(const char* fmt, ...) /* * There is one target interpreter, serving multiple plugins * The number of plugins using the interpreter is counted in _PLUGIN_COUNT, - * when the last user goes aways, the target interpreter is unloaded. + * when the last user goes away, the target interpreter is unloaded. * * _PLUGIN_INIT_MUTEX protects this references counter from concurrent access. * diff --git a/src/server/shttpd/io_ssi.c b/src/server/shttpd/io_ssi.c index 750b0595d..4de0a70a1 100644 --- a/src/server/shttpd/io_ssi.c +++ b/src/server/shttpd/io_ssi.c @@ -26,7 +26,7 @@ struct ssi_func { struct ssi_inc { int state; /* Buffering state */ int cond; /* Conditional state */ - FILE *fp; /* Icluded file stream */ + FILE *fp; /* Included file stream */ char buf[CMDBUFSIZ]; /* SSI command buffer */ size_t nbuf; /* Bytes in a command buffer */ FILE *pipe; /* #exec stream */ diff --git a/tests/client/test_enumeration.c b/tests/client/test_enumeration.c index ecc417da9..5a995d3b5 100644 --- a/tests/client/test_enumeration.c +++ b/tests/client/test_enumeration.c @@ -158,7 +158,7 @@ TestData tests[] = { 0 }, { - "Enumeration with Count Estimation/Optimzation and get all elements.", + "Enumeration with Count Estimation/Optimization and get all elements.", "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem", NULL, 200, @@ -167,7 +167,7 @@ TestData tests[] = { }, { - "Enumeration with Count Estimation/Optimzation/Epr and get all elements.", + "Enumeration with Count Estimation/Optimization/Epr and get all elements.", "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem", NULL, 200, @@ -176,7 +176,7 @@ TestData tests[] = { }, { - "Enumeration with Count Estimation/Optimzation/ObjAndEpr and get all elements.", + "Enumeration with Count Estimation/Optimization/ObjAndEpr and get all elements.", "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem", NULL, 200, diff --git a/tests/client/test_pull.c b/tests/client/test_pull.c index 7a8691b42..1dacd35fd 100644 --- a/tests/client/test_pull.c +++ b/tests/client/test_pull.c @@ -141,7 +141,7 @@ TestData tests[] = { 0 }, { - "Enumeration with Count Estimation/Optimzation and get all elements.", + "Enumeration with Count Estimation/Optimization and get all elements.", "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem", NULL, NULL, @@ -152,7 +152,7 @@ TestData tests[] = { }, { - "Enumeration with Count Estimation/Optimzation/Epr and get all elements.", + "Enumeration with Count Estimation/Optimization/Epr and get all elements.", "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem", NULL, NULL, @@ -163,7 +163,7 @@ TestData tests[] = { }, { - "Enumeration with Count Estimation/Optimzation/ObjAndEpr and get all elements.", + "Enumeration with Count Estimation/Optimization/ObjAndEpr and get all elements.", "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem", NULL, NULL,