Skip to content

Commit 4d53bf0

Browse files
committed
Fix CSpell in PR
1 parent 4fc242f commit 4d53bf0

File tree

13 files changed

+46
-40
lines changed

13 files changed

+46
-40
lines changed

cspell.json renamed to .cspell.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,20 @@
99
"retryable", "payloadless", "Subclassing", "BASECLASS", "Millis", "hashcode", "LOGSTREAM", "timepoint",
1010
"Bytebuf", "backbuf", "bitslen", "CLSCTX", "openrequest", "logtag", "stdext", "CPPRTTI", "backbuffer",
1111
"Bodyless", "HTTPGET", "ratelimiter", "Ratelimiter", "STDMETHODCALLTYPE", "CANTSAVE", "OLECHAR", "DISPID",
12-
"UNKNOWNNAME", "DISPPARAMS", "XMLHTTP", "comptr", "Metadataservice",
12+
"UNKNOWNNAME", "DISPPARAMS", "XMLHTTP", "comptr", "Metadataservice", "Streamfn", "HWAVEOUT", "matdesc",
13+
"Presigner", "xindex", "errortype", "waveout", "WAVEOUTCAPSA", "ALLOWSYNC", "WAVEHDR", "MMSYSERR",
14+
"WAVEFORMATEX", "Unprepare",
1315
// AWS general
1416
"Arns", "AMZN", "amzn", "Paulo", "Ningxia", "ISOB", "isob", "AWSXML",
1517
// AWS Signature
1618
"SIGV", "AUTHV",
1719
// CMake
1820
"cmake", "DCMAKE", "AUTORUN", "DEPS", "STREQUAL", "RPATH", "STREQUAL", "DTARGET", "TOOLCHAIN", "DANDROID",
1921
"DBUILD", "DDEBUG","DGIT", "DLEGACY","SYSROOT", "DSTATIC", "BINDIR", "LIBDIR", "INCLUDEDIR", "DHAS",
20-
"PythonInterp",
22+
"PythonInterp", "DWAVE", "Winmm", "DPULSE", "pulseaudio", "MSVC", "NOTFOUND", "libpulse", "COREAUDIO",
23+
"devel", "AUDIOTOOLBOX", "DCORE", "CONCAT", "DNON", "FULLPATCH", "setopt", "CURLOPT", "SSLCERT",
24+
"CROSSCOMPILING", "nullptr", "DWORD", "lpsz", "commoncrypto", "COMMONCRYPTO", "endforeach", "pkgconfig",
25+
"MGMT",
2126
// Compiler and linker
2227
"Wpedantic", "Wextra", "Werror", "xldscope", "Wtype", "Wunused", "RTTI", "ffunction", "fdata", "fsanitize",
2328
"pathconf", "unistd", "umask", "GNUCXX", "libasan", "SUNPRO", "gnustl", "libgnustl", "Wmissing",

.github/workflows/cspell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
- name: cspell
1818
run: |
1919
cd aws-sdk-cpp
20-
export CSPELL_OUTPUT=$(sudo cspell --no-summary "**.txt" "src/aws-cpp-sdk-core/**/*.h" "src/aws-cpp-sdk-core/**/*.cpp")
21-
if [ -n "$CSPELL_OUTPUT" ]; then echo "$CSPELL_OUTPUT" && exit 1; fi;
20+
sudo cspell --silent --fail-fast "src/**/*.txt" "*.txt" "src/aws-cpp-sdk-core/**/*.h" "src/aws-cpp-sdk-core/**/*.cpp"
21+
if [ $? -ne 0 ]; then sudo cspell "src/**/*.txt" "*.txt" "src/aws-cpp-sdk-core/**/*.h" "src/aws-cpp-sdk-core/**/*.cpp"; exit 1; fi;

src/aws-cpp-sdk-identity-management/source/auth/CognitoCachingCredentialsProvider.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ AWSCredentials CognitoCachingCredentialsProvider::GetAWSCredentials()
3434
{
3535
if (IsTimeExpired(m_expiry.load()))
3636
{
37-
AWS_LOGSTREAM_TRACE(LOG_TAG, "Expiry expired, attempting to aquire lock and refresh credentials.");
37+
AWS_LOGSTREAM_TRACE(LOG_TAG, "Expiry expired, attempting to acquire lock and refresh credentials.");
3838
std::lock_guard<std::mutex> locker(m_credsMutex);
39-
AWS_LOGSTREAM_TRACE(LOG_TAG, "Lock aquired, checking if the expiry is still expired.");
39+
AWS_LOGSTREAM_TRACE(LOG_TAG, "Lock acquired, checking if the expiry is still expired.");
4040
if (IsTimeExpired(m_expiry.load()))
4141
{
4242
AWS_LOGSTREAM_INFO(LOG_TAG, "Expiry expired on cognito credentials attempting to pull new credentials.");

src/aws-cpp-sdk-queues/source/sqs/SQSQueue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ void SQSQueue::OnGetQueueAttributesOutcomeReceived(const SQSClient*, const GetQu
257257
}
258258
else
259259
{
260-
AWS_LOGSTREAM_TRACE(CLASS_TAG, "GetQueueAttribute successfull.");
260+
AWS_LOGSTREAM_TRACE(CLASS_TAG, "GetQueueAttribute successful.");
261261
auto& queueAttributeSuccessHandler = GetQueueAttributeSuccessEventHandler();
262262

263263
if (queueAttributeSuccessHandler)

src/aws-cpp-sdk-s3-encryption/include/aws/s3-encryption/handlers/DataHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ namespace Aws
4848
virtual Aws::Utils::Crypto::ContentCryptoMaterial ReadContentCryptoMaterial(Aws::S3::Model::GetObjectResult& result) = 0;
4949

5050
/*
51-
Function to json serialize a map contianing pairs of strings.
51+
Function to json serialize a map containing pairs of strings.
5252
*/
5353
const Aws::String SerializeMap(const Aws::Map<Aws::String, Aws::String>& currentMap);
5454

src/aws-cpp-sdk-s3-encryption/include/aws/s3-encryption/modules/CryptoModule.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,13 @@ namespace Aws
9898
virtual Aws::Utils::CryptoBuffer GetTag(const Aws::S3::Model::GetObjectRequest& request, const std::function < Aws::S3::Model::GetObjectOutcome(const Aws::S3::Model::GetObjectRequest&) >& getObjectFunction) = 0;
9999

100100
/*
101-
* This function checks for any prohibitted actions within each module.
101+
* This function checks for any prohibited actions within each module.
102102
*/
103103
virtual bool DecryptionConditionCheck(const Aws::String& requestRange) = 0;
104104

105105
/*
106-
* This function adjusts the get object request range to specifically get only the body of the content and not any addition content. It also adjusts the range if the a range-get request was specified according to the range for the cipher block.
106+
* This function adjusts the get object request range to specifically get only the body of the content and not any addition content.
107+
* It also adjusts the range if a range-get request was specified according to the range for the cipher block.
107108
*/
108109
virtual std::pair<int64_t, int64_t> AdjustRange(Aws::S3::Model::GetObjectRequest& getObjectRequest, const Aws::S3::Model::HeadObjectResult& headObjectResult) = 0;
109110

@@ -148,7 +149,7 @@ namespace Aws
148149
Aws::Utils::CryptoBuffer GetTag(const Aws::S3::Model::GetObjectRequest& request, const std::function < Aws::S3::Model::GetObjectOutcome(const Aws::S3::Model::GetObjectRequest&) >& getObjectFunction) override;
149150

150151
/*
151-
* Function to check for any prohibitted actions specific to each module for decryption.
152+
* Function to check for any prohibited actions specific to each module for decryption.
152153
*/
153154
virtual bool DecryptionConditionCheck(const Aws::String& requestRange) override;
154155

@@ -192,7 +193,7 @@ namespace Aws
192193
Aws::Utils::CryptoBuffer GetTag(const Aws::S3::Model::GetObjectRequest& request, const std::function < Aws::S3::Model::GetObjectOutcome(const Aws::S3::Model::GetObjectRequest&) >& getObjectFunction) override;
193194

194195
/*
195-
* Function to check for any prohibitted actions specific to each module for decryption.
196+
* Function to check for any prohibited actions specific to each module for decryption.
196197
*/
197198
virtual bool DecryptionConditionCheck(const Aws::String& requestRange) override;
198199

@@ -236,7 +237,7 @@ namespace Aws
236237
Aws::Utils::CryptoBuffer GetTag(const Aws::S3::Model::GetObjectRequest& request, const std::function < Aws::S3::Model::GetObjectOutcome(const Aws::S3::Model::GetObjectRequest&) >& getObjectFunction) override;
237238

238239
/*
239-
* Function to check for any prohibitted actions specific to each module for decryption.
240+
* Function to check for any prohibited actions specific to each module for decryption.
240241
*/
241242
virtual bool DecryptionConditionCheck(const Aws::String& requestRange) override;
242243

src/aws-cpp-sdk-s3-encryption/source/s3-encryption/handlers/MetadataHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ namespace Aws
5454

5555
}//namespace Handlers
5656
}//namespace S3Encryption
57-
}//nameespace Aws
57+
}//namespace Aws

src/aws-cpp-sdk-text-to-speech/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if (PLATFORM_LINUX)
3030
else()
3131
message(WARNING "We've detected that you are building on linux, but the header files for pulseaudio are not available.\
3232
If you are providing your own audio implementation or you will not be using the text-to-speech library, this is fine.\
33-
However, if you are not providing your own implemenation and you want to use text-to-speech, you need to install the dev files for pulseAudio.\
33+
However, if you are not providing your own implementation and you want to use text-to-speech, you need to install the dev files for pulseAudio.\
3434
e.g. apt-get install libpulse-dev or yum install pulseaudio-libs-devel. Currently, no audio implementation will be built into this library.")
3535
endif()
3636
endif()
@@ -47,7 +47,7 @@ if(PLATFORM_APPLE)
4747
else()
4848
message(FATAL "We've detected that you are building on macos, but there is no coreAudio library and pulseAudio library available.\
4949
If you are providing your own audio implementation or you will not be using the text-to-speech library, this is fine.\
50-
However, if you are not providing your own implemenation and you want to use text-to-speech, you need to install the dev files for coreAudio or pulseAudio.\
50+
However, if you are not providing your own implementation and you want to use text-to-speech, you need to install the dev files for coreAudio or pulseAudio.\
5151
e.g. apt-get install libpulse-dev or yum install pulseaudio-libs-devel. Currently, no audio implementation will be built into this library.")
5252
endif()
5353
else()

src/aws-cpp-sdk-text-to-speech/include/aws/text-to-speech/TextToSpeechManager.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ namespace Aws
7373
OutputDeviceList EnumerateDevices() const;
7474

7575
/**
76-
* Sets the active driver (if there are multiple possbilities), the device to use for that driver, and the
76+
* Sets the active driver (if there are multiple possibilities), the device to use for that driver, and the
7777
* audio format to configure the device for. This format will also be used for calls to the Polly service.
7878
*/
7979
void SetActiveDevice(const std::shared_ptr<PCMOutputDriver>&, const DeviceInfo&, const CapabilityInfo&);
@@ -93,9 +93,9 @@ namespace Aws
9393
TextToSpeechManager(const std::shared_ptr<Polly::PollyClient>& pollyClient,
9494
const std::shared_ptr<PCMOutputDriverFactory>& driverFactory);
9595

96-
void OnPollySynthSpeechOutcomeRecieved(const Polly::PollyClient*, const Polly::Model::SynthesizeSpeechRequest&,
97-
const Polly::Model::SynthesizeSpeechOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) const;
98-
96+
void OnPollySynthSpeechOutcomeReceived(const Polly::PollyClient*, const Polly::Model::SynthesizeSpeechRequest&,
97+
const Polly::Model::SynthesizeSpeechOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) const;
98+
9999
Polly::PollyClient* m_pollyClient;
100100
std::shared_ptr<PCMOutputDriver> m_activeDriver;
101101
Aws::Vector<std::shared_ptr<PCMOutputDriver>> m_drivers;

src/aws-cpp-sdk-text-to-speech/source/text-to-speech/TextToSpeechManager.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ namespace Aws
7878
const Polly::Model::SynthesizeSpeechOutcome& speechOutcome,
7979
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& lambdaContext)
8080
{
81-
self->OnPollySynthSpeechOutcomeRecieved(client, request, speechOutcome, lambdaContext);
81+
self->OnPollySynthSpeechOutcomeReceived(client, request, speechOutcome, lambdaContext);
8282
},
8383
context);
8484
}
@@ -140,17 +140,17 @@ namespace Aws
140140
m_activeVoice = VoiceIdMapper::GetVoiceIdForName(voice);
141141
}
142142

143-
void TextToSpeechManager::OnPollySynthSpeechOutcomeRecieved(const Polly::PollyClient*, const Polly::Model::SynthesizeSpeechRequest& request,
144-
const Polly::Model::SynthesizeSpeechOutcome& outcome, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const
143+
void TextToSpeechManager::OnPollySynthSpeechOutcomeReceived(const Polly::PollyClient*, const Polly::Model::SynthesizeSpeechRequest& request,
144+
const Polly::Model::SynthesizeSpeechOutcome& outcome, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const
145145
{
146146
bool played(false);
147147

148148
if(outcome.IsSuccess())
149149
{
150150
auto result = const_cast<Polly::Model::SynthesizeSpeechOutcome&>(outcome).GetResultWithOwnership();
151151
auto& stream = result.GetAudioStream();
152-
AWS_LOGSTREAM_TRACE(CLASS_TAG, "Audio retrieved from Polly. " << result.GetContentType() << " with "
153-
<< result.GetRequestCharacters() << " characters syntesized");
152+
AWS_LOGSTREAM_TRACE(CLASS_TAG, "Audio retrieved from Polly. " << result.GetContentType() << " with "
153+
<< result.GetRequestCharacters() << " characters synthesized");
154154

155155
unsigned char buffer[BUFF_SIZE];
156156

@@ -172,7 +172,7 @@ namespace Aws
172172
else
173173
{
174174
AWS_LOGSTREAM_ERROR(CLASS_TAG, "Error while fetching audio from polly. " << outcome.GetError().GetExceptionName() << " "
175-
<< outcome.GetError().GetMessage());
175+
<< outcome.GetError().GetMessage());
176176
}
177177

178178
auto callback = ((const std::shared_ptr<SendTextCompletionHandlerCallbackContext>&)context)->callback;

0 commit comments

Comments
 (0)