diff options
author | Allen Winter <allen.winter@kdab.com> | 2022-10-05 17:07:27 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2022-10-05 17:07:27 -0400 |
commit | 8bdc40c008023d3b04edf95b1a6773ec3ebb6d7d (patch) | |
tree | e355adab7bd9837d33234e8d3d1e4bf398f259c9 | |
parent | daed6c181f43e573f8f49272571ce46ab79aef36 (diff) | |
download | libical-git-8bdc40c008023d3b04edf95b1a6773ec3ebb6d7d.tar.gz |
codespelling fixes
-rw-r--r-- | .codespellrc | 2 | ||||
-rw-r--r-- | TODO | 5 | ||||
-rw-r--r-- | cmake/modules/GtkDoc.cmake | 2 | ||||
-rw-r--r-- | src/Net-ICal-Libical/netical.i | 2 | ||||
-rw-r--r-- | src/libical-glib/api/i-cal-time.xml | 2 | ||||
-rw-r--r-- | src/libical/icalproperty.c | 2 | ||||
-rw-r--r-- | src/libical/icaltime.h | 4 | ||||
-rw-r--r-- | src/libical/pvl.c | 2 | ||||
-rw-r--r-- | src/python/Time.py | 2 |
9 files changed, 11 insertions, 12 deletions
diff --git a/.codespellrc b/.codespellrc index 722fb2d9..ebf982b8 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,4 +1,4 @@ [codespell] skip = ./build-*,.git,test-data,zoneinfo,regression.c interactive = 3 -ignore-words-list = inout,gir,parameterizes,yau,crasher,thur +ignore-words-list = inout,gir,parameterizes,yau,crasher,thur,damon @@ -8,7 +8,7 @@ separates multiple values into multiple properties. This is not acceptable for CATEGORIES and RESOURCES. Some TEXT valued properties, like METHOD, have a limited set of valid -values. The code should check that the values of these properites are +values. The code should check that the values of these properties are valid. ( Although METHOD now uses enums, and is not really TEXT valued ) Finish implementing values @@ -16,7 +16,7 @@ Finish implementing values content_type language -Check for buffer overflow on external input. +Check for buffer overflow on external input. Error Handling @@ -38,4 +38,3 @@ rather than having a hard limit. in sspm.c, and unrecognized content-transfer-encoding values must force a content type of application/octet-stream. - diff --git a/cmake/modules/GtkDoc.cmake b/cmake/modules/GtkDoc.cmake index 2cf76aaa..8a787841 100644 --- a/cmake/modules/GtkDoc.cmake +++ b/cmake/modules/GtkDoc.cmake @@ -1,6 +1,6 @@ # GtkDoc.cmake # -# Macros to support develper documentation build from sources with gtk-doc. +# Macros to support developer documentation build from sources with gtk-doc. # # Note that every target and dependency should be defined before the macro is # called, because it uses information from those targets. diff --git a/src/Net-ICal-Libical/netical.i b/src/Net-ICal-Libical/netical.i index ab06efbd..e211ee88 100644 --- a/src/Net-ICal-Libical/netical.i +++ b/src/Net-ICal-Libical/netical.i @@ -197,7 +197,7 @@ struct icaltimetype icaltime_from_timet_with_zone(int v, int is_date, const char into a pointer */ int icaltime_as_timet(struct icaltimetype); -/* Returns a string represention of the time, in RFC2445 format. The +/* Returns a string representation of the time, in RFC2445 format. The string is owned by libical */ char* icaltime_as_ical_string(struct icaltimetype tt); diff --git a/src/libical-glib/api/i-cal-time.xml b/src/libical-glib/api/i-cal-time.xml index c319ea08..62f894ad 100644 --- a/src/libical-glib/api/i-cal-time.xml +++ b/src/libical-glib/api/i-cal-time.xml @@ -81,7 +81,7 @@ <method name="i_cal_time_as_ical_string" corresponds="icaltime_as_ical_string_r" since="1.0"> <parameter type="const ICalTime *" name="tt" comment="The #ICalTime to be converted"/> <returns type="gchar *" annotation="transfer full" comment="The string representation" /> - <comment xml:space="preserve">Returns a string represention of the time, in RFC2445 format.</comment> + <comment xml:space="preserve">Returns a string representation of the time, in RFC2445 format.</comment> </method> <method name="i_cal_time_get_timezone" corresponds="(void *)icaltime_get_timezone" kind="get" since="1.0"> <parameter type="const ICalTime *" name="tt" annotation="in, transfer none" comment="The #ICalTime to be queried"/> diff --git a/src/libical/icalproperty.c b/src/libical/icalproperty.c index 661d2547..15dc7320 100644 --- a/src/libical/icalproperty.c +++ b/src/libical/icalproperty.c @@ -258,7 +258,7 @@ static char *get_next_line_start(char *line_start, size_t chars_left) return line_start + MAX_LINE_LEN - 1; } -/** This splits the property into lines less than 75 octects long (as +/** This splits the property into lines less than 75 octets long (as * specified in RFC5545). It tries to split after a ';' if it can. * It returns a tmp buffer. NOTE: I'm not sure if it matters if we * split a line in the middle of a UTF-8 character. It probably won't diff --git a/src/libical/icaltime.h b/src/libical/icaltime.h index e7c7d1a2..816eac6f 100644 --- a/src/libical/icaltime.h +++ b/src/libical/icaltime.h @@ -215,7 +215,7 @@ LIBICAL_ICAL_EXPORT time_t icaltime_as_timet_with_zone(const struct icaltimetype const icaltimezone *zone); /** - * @brief Returns a string represention of the time, in RFC5545 format. + * @brief Returns a string representation of the time, in RFC5545 format. * * @par Ownership * The created string is owned by libical. @@ -223,7 +223,7 @@ LIBICAL_ICAL_EXPORT time_t icaltime_as_timet_with_zone(const struct icaltimetype LIBICAL_ICAL_EXPORT const char *icaltime_as_ical_string(const struct icaltimetype tt); /** - * @brief Returns a string represention of the time, in RFC5545 format. + * @brief Returns a string representation of the time, in RFC5545 format. * * @par Ownership * The string is owned by the caller. diff --git a/src/libical/pvl.c b/src/libical/pvl.c index 4f66c920..960941a7 100644 --- a/src/libical/pvl.c +++ b/src/libical/pvl.c @@ -109,7 +109,7 @@ void pvl_free(pvl_list l) * @brief Creates a new list element, assigns a magic number, and assigns * the next and previous pointers. * - * Passing in the next and previous points may seem odd, but it allos the user + * Passing in the next and previous points may seem odd, but it allows the user * to set them while keeping the internal data hidden. In nearly all cases, * the user is the pvl library itself. * diff --git a/src/python/Time.py b/src/python/Time.py index f94770ce..d5e092ca 100644 --- a/src/python/Time.py +++ b/src/python/Time.py @@ -216,4 +216,4 @@ class Time(Property): seconds = self.utc_seconds() - other.seconds() return Time(seconds) else: - raise TypeError, "subtraction with Time reqires Time or Duration" + raise TypeError, "subtraction with Time requires Time or Duration" |