Skip to content

Commit 39a4b9b

Browse files
luzpazkmilos
authored andcommitted
Fix various typos
Found via `codespell -q 3 -S *.po,*.pot,*.ts,./doc/ChangeLog,./xmpsdk -L alis,discus,filetest,ist,nd,ois,optio,siz,te,tempdate` Excluded 3rd-party code (ie ./xmpsdk)
1 parent 3202e86 commit 39a4b9b

23 files changed

+38
-38
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Available configure presets:
161161
"linux-release" - Linux Release with default architecture
162162
```
163163

164-
The project configuration with a specific preset can be choosen with the CMake `--preset` option. In the following terminal output we comment out some interesting things happening during the project configuration:
164+
The project configuration with a specific preset can be chosen with the CMake `--preset` option. In the following terminal output we comment out some interesting things happening during the project configuration:
165165

166166
```bash
167167
# Configuring the project using a preset
@@ -509,7 +509,7 @@ The tag webpage build files are in the `<exiv2dir>/doc/templates` directory. If
509509
tag groups in the Exiv2 source code then the build files need to be updated. Any changes made
510510
to individual tags in an existing tag group are automatically included.
511511

512-
Building the tag webpages requires building the Exiv2 sample programs and using scripts which have additional dependancies on
512+
Building the tag webpages requires building the Exiv2 sample programs and using scripts which have additional dependencies on
513513
[BASH](https://www.gnu.org/software/bash/), [make](https://manpages.org/make), [xsltproc](https://manpages.org/xsltproc)
514514
and [Python3](https://www.python.org/).
515515

ci/test_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def run(cmd):
7979
description="Build and test exiv2 using a matrix of build switches")
8080
parser.add_argument(
8181
"--compilers",
82-
help="Compilers to be used to build exiv2 (when none ore specified, "
82+
help="Compilers to be used to build exiv2 (when none are specified, "
8383
"then the default compiler will be used)",
8484
nargs='*',
8585
default=["gcc", "clang"],

include/exiv2/image.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ class EXIV2API Image {
409409
/*!
410410
@brief Return a reference to the BasicIo instance being used for Io.
411411
412-
This refence is particularly useful to reading the results of
412+
This reference is particularly useful to reading the results of
413413
operations on a MemIo instance. For example after metadata has
414414
been modified and the writeMetadata() method has been called,
415415
this method can be used to get access to the modified image.

include/exiv2/matroskavideo.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class EXIV2API MatroskaVideo : public Image {
128128

129129
protected:
130130
/*!
131-
@brief Function used to calulate the size of a block.
131+
@brief Function used to calculate the size of a block.
132132
This information is only stored in one byte.
133133
The size of the block is calculated by counting
134134
the number of leading zeros in the binary code of the byte.

include/exiv2/photoshop.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ struct EXIV2API Photoshop {
3434
/// @return true if all IRBs are valid;<BR> false otherwise
3535
static bool valid(const byte* pPsData, size_t sizePsData);
3636

37-
/// @brief Locates the data for a %Photoshop tag in a %Photoshop formated memory buffer.
37+
/// @brief Locates the data for a %Photoshop tag in a %Photoshop formatted memory buffer.
3838
/// Operates on raw data to simplify reuse.
39-
/// @param pPsData Pointer to buffer containing entire payload of %Photoshop formated data (from APP13 Jpeg segment)
39+
/// @param pPsData Pointer to buffer containing entire payload of %Photoshop formatted data (from APP13 Jpeg segment)
4040
/// @param sizePsData Size in bytes of pPsData.
4141
/// @param psTag %Tag number of the block to look for.
4242
/// @param record Output value that is set to the start of the data block within pPsData (may not be null).

include/exiv2/quicktimevideo.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class EXIV2API QuickTimeVideo : public Image {
7777
to save it in the respective XMP container. Decodes a Tag
7878
Information and saves it in the respective XMP container, if
7979
the block size is small.
80-
@param buf Data buffer which cotains tag ID.
80+
@param buf Data buffer which contains tag ID.
8181
@param size Size of the data block used to store Tag Information.
8282
*/
8383
void tagDecoder(Exiv2::DataBuf& buf, size_t size);
@@ -195,7 +195,7 @@ class EXIV2API QuickTimeVideo : public Image {
195195

196196
//! Variable which stores Time Scale unit, used to calculate time.
197197
uint64_t timeScale_ = 0;
198-
//! Variable which stores current stream being processsed.
198+
//! Variable which stores current stream being processed.
199199
int currentStream_ = 0;
200200
//! Variable to check the end of metadata traversing.
201201
bool continueTraversing_ = false;

include/exiv2/value.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -961,13 +961,13 @@ class EXIV2API DateValue : public Value {
961961
size_t count() const override;
962962
size_t size() const override;
963963
std::ostream& write(std::ostream& os) const override;
964-
//! Return the value as a UNIX calender time converted to int64_t.
964+
//! Return the value as a UNIX calendar time converted to int64_t.
965965
int64_t toInt64(size_t n = 0) const override;
966-
//! Return the value as a UNIX calender time converted to uint32_t.
966+
//! Return the value as a UNIX calendar time converted to uint32_t.
967967
uint32_t toUint32(size_t n = 0) const override;
968-
//! Return the value as a UNIX calender time converted to float.
968+
//! Return the value as a UNIX calendar time converted to float.
969969
float toFloat(size_t n = 0) const override;
970-
//! Return the value as a UNIX calender time converted to Rational.
970+
//! Return the value as a UNIX calendar time converted to Rational.
971971
Rational toRational(size_t n = 0) const override;
972972
//@}
973973

samples/easyaccess-test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ int main(int argc, char** argv) {
9999
}
100100
}
101101
if (!categoryOk) {
102-
std::cout << "Categoy >" << argv[i] << "< is invalid.\n";
102+
std::cout << "Category >" << argv[i] << "< is invalid.\n";
103103
return EXIT_FAILURE;
104104
}
105105
}

src/asfvideo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Exiv2 {
2020
/*!
2121
Look-up list for ASF Type Video Files
2222
Associates the GUID with its Name(i.e. Human Readable Form)
23-
Tags have been diferentiated into Various Categories.
23+
Tags have been differentiated into Various Categories.
2424
The categories have been listed above Groups
2525
see :
2626
- https://fr.wikipedia.org/wiki/Advanced_Systems_Format

src/basicio.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1708,14 +1708,14 @@ size_t CurlIo::write(const byte* data, size_t wcount) {
17081708
if (p_->protocol_ == pHttp || p_->protocol_ == pHttps) {
17091709
return RemoteIo::write(data, wcount);
17101710
}
1711-
throw Error(ErrorCode::kerErrorMessage, "doesnt support write for this protocol.");
1711+
throw Error(ErrorCode::kerErrorMessage, "does not support write for this protocol.");
17121712
}
17131713

17141714
size_t CurlIo::write(BasicIo& src) {
17151715
if (p_->protocol_ == pHttp || p_->protocol_ == pHttps) {
17161716
return RemoteIo::write(src);
17171717
}
1718-
throw Error(ErrorCode::kerErrorMessage, "doesnt support write for this protocol.");
1718+
throw Error(ErrorCode::kerErrorMessage, "does not support write for this protocol.");
17191719
}
17201720

17211721
CurlIo::CurlIo(const std::string& url, size_t blockSize) {

0 commit comments

Comments
 (0)