Skip to content

Commit

Permalink
Fix incorrect spellings, add needed words to the word list
Browse files Browse the repository at this point in the history
  • Loading branch information
Skptak committed Aug 28, 2023
1 parent 7a22b44 commit d4ac129
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 296 deletions.
20 changes: 20 additions & 0 deletions .github/.cSpellWords.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
CBMC
CBOR
CMOCK
CMock
Cmock
Coverity
DCMOCK
DNDEBUG
DUNITY
Doesnt
LLHTTP
MISRA
MQTT
Misra
Wunused
abcdefghijk
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopq
cbmc
cbor
cmock
coverity
ctest
lcov
llhttp
lmnopqrstuvw
misra
sinclude
utest
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Checkout coreMQTT
uses: actions/checkout@v3
with:
ref: main
ref: CI-CD-Updates
repository: Skptak/coreMQTT
path: ssot
- name: Check transport_interface.h
Expand Down
2 changes: 1 addition & 1 deletion MISRA.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ _Ref 21.13.1_
- MISRA Rule 21.13 flags any value passed into a ctype.h function that isn't cast
as an unsigned char. Thorough testing by use of our CBMC proofs shows that adding
the cast to ( unsigned char ) inside of the toupper() call has potential to lead
to errors. Due to this we supress this warning for our use case.
to errors. Due to this we suppress this warning for our use case.
288 changes: 0 additions & 288 deletions lexicon.txt

This file was deleted.

17 changes: 14 additions & 3 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
name : "coreHTTP"
name: "coreHTTP"
version: "v3.0.0"
description: "Client implementation of the HTTP/1.1 specification for embedded devices."
description:
"Client implementation of the HTTP/1.1 specification for embedded devices."
license: "MIT"

dependencies:
- name : "llhttp"
- name: "llhttp"
version: "release/v6.0.5"
license: "MIT"
repository:
type: "git"
url: "https://github.com/nodejs/llhttp.git"
path: source/dependency/3rdparty/llhttp

- name: "CMock"
version: v2.5.2
license: "MIT"
repository:
type: "git"
url: "https://github.com/ThrowTheSwitch/CMock.git"
path: test/unit-test/CMock
2 changes: 1 addition & 1 deletion source/core_http_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ static int8_t caseInsensitiveStringCmp( const char * str1,
size_t n )
{
size_t i = 0U;
/* Inclusion of inbetween variables for MISRA rule 13.2 compliance */
/* Inclusion of temporary variables for MISRA rule 13.2 compliance */
char firstChar;
char secondChar;
/* Get the offset from a lowercase to capital character in a MISRA compliant way */
Expand Down
2 changes: 1 addition & 1 deletion source/include/core_http_client_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
typedef enum HTTPParsingState_t
{
HTTP_PARSING_NONE = 0, /**< The parser has not started reading any response. */
HTTP_PARSING_INCOMPLETE, /**< The parser found a partial reponse. */
HTTP_PARSING_INCOMPLETE, /**< The parser found a partial response. */
HTTP_PARSING_COMPLETE /**< The parser found the entire response. */
} HTTPParsingState_t;

Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ target_include_directories( coverity_analysis PUBLIC ${HTTP_INCLUDE_PUBLIC_DIRS}
target_compile_options(coverity_analysis PUBLIC -DNDEBUG )
# ===================== Clone needed third-party libraries ======================

# Define an llhttp paser resource path.
# Define an llhttp parser resource path.
set( LLHTTP_DIR ${MODULE_ROOT_DIR}/source/dependency/3rdparty/llhttp CACHE INTERNAL "llhttp library source directory." )

include( llhttp_build.cmake )
Expand Down

0 comments on commit d4ac129

Please sign in to comment.