From 07dfb49db2ee753d6fca2e17af3138ae3fc6fdef Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 8 Sep 2010 03:26:19 +0000 Subject: [PATCH] Fix common misspellings The following misspellings were fixed: adress->address alreayd->already arbitary->arbitrary cant->can't convertion->conversion impliment->implement independant->independent successfull->successful tranformed->transformed usefull->useful SVN revision: 51963 --- legacy/eet/ChangeLog | 4 ++-- legacy/eet/README.in | 6 +++--- legacy/eet/debian/control | 10 +++++----- legacy/eet/doc/eet.dox.in | 8 ++++---- legacy/eet/eet.spec.in | 6 +++--- legacy/eet/m4/efl_binary.m4 | 12 ++++++------ legacy/eet/src/lib/Eet.h | 20 ++++++++++---------- legacy/eet/src/lib/eet_lib.c | 10 +++++----- 8 files changed, 38 insertions(+), 38 deletions(-) diff --git a/legacy/eet/ChangeLog b/legacy/eet/ChangeLog index 0a8cd3e891..3881dff1b2 100644 --- a/legacy/eet/ChangeLog +++ b/legacy/eet/ChangeLog @@ -10,7 +10,7 @@ 2008-05-14 Cedric BAIL - * Fix convertion from a text to a hash (EET_G_HASH). + * Fix conversion from a text to a hash (EET_G_HASH). * Fix inlined string (EET_T_INLINED_STRING) dump/undump by introducing the new word for the parser 'inlined'. @@ -273,7 +273,7 @@ 2009-12-07 Cedric BAIL * Fix error when retrieving a different float type than the stored one. - * Reduce convertion with a little memory overhead. + * Reduce conversion with a little memory overhead. 2009-12-07 Vincent Torri diff --git a/legacy/eet/README.in b/legacy/eet/README.in index 182ac0a213..b506459484 100644 --- a/legacy/eet/README.in +++ b/legacy/eet/README.in @@ -21,7 +21,7 @@ Optional requirements: gnutls (1.7.6 or better) openssl -Eet is a tiny library designed to write an arbitary set of chunks of +Eet is a tiny library designed to write an arbitrary set of chunks of data to a file and optionally compress each chunk (very much like a zip file) and allow fast random-access reading of the file later on. It does not do zip as a zip itself has more complexity than is @@ -29,8 +29,8 @@ needed, and it was much simpler to implement this once here. It also can encode and decode data structures in memory, as well as image data for saving to eet files or sending across the network to -other machines, or just writing to arbitary files on the system. All -data is encoded in a platform independant way and can be written and +other machines, or just writing to arbitrary files on the system. All +data is encoded in a platform independent way and can be written and read by any architecture. This data once encoded can be sent to another process or machine and decoded on the other end without needing to go into an eet file. Eet can also optionally encrypt files diff --git a/legacy/eet/debian/control b/legacy/eet/debian/control index 082b929256..ed910aec9a 100644 --- a/legacy/eet/debian/control +++ b/legacy/eet/debian/control @@ -14,7 +14,7 @@ Architecture: any Depends: libeet1 (= ${binary:Version}), libjpeg62-dev, pkg-config Recommends: libeet-doc Description: Enlightenment DR17 file chunk reading/writing library development files - Eet is a tiny library designed to write an arbitary set of chunks of data to a + Eet is a tiny library designed to write an arbitrary set of chunks of data to a file and optionally compress each chunk (very much like a zip file) and allow fast random-access reading of the file later on. It does not do zip as zip itself has more complexity than we need, and it was much simpler to implement @@ -27,7 +27,7 @@ Section: doc Architecture: all Enhances: libeet-dev Description: libeet1 API documentation - Eet is a tiny library designed to write an arbitary set of chunks of data to a + Eet is a tiny library designed to write an arbitrary set of chunks of data to a file and optionally compress each chunk (very much like a zip file) and allow fast random-access reading of the file later on. It does not do zip as zip itself has more complexity than we need, and it was much simpler to implement @@ -40,7 +40,7 @@ Package: libeet1 Architecture: any Depends: ${shlibs:Depends} Description: Enlightenment DR17 file chunk reading/writing library - Eet is a tiny library designed to write an arbitary set of chunks of data to a + Eet is a tiny library designed to write an arbitrary set of chunks of data to a file and optionally compress each chunk (very much like a zip file) and allow fast random-access reading of the file later on. It does not do zip as zip itself has more complexity than we need, and it was much simpler to implement @@ -52,7 +52,7 @@ Package: libeet-bin Architecture: any Depends: ${shlibs:Depends} Description: Enlightenment DR17 file chunk reading/writing utility - Eet is a tiny library designed to write an arbitary set of chunks of data to a + Eet is a tiny library designed to write an arbitrary set of chunks of data to a file and optionally compress each chunk (very much like a zip file) and allow fast random-access reading of the file later on. It does not do zip as zip itself has more complexity than we need, and it was much simpler to implement @@ -67,7 +67,7 @@ Section: libdevel Priority: extra Depends: libeet1 (= ${binary:Version}) Description: Enlightenment DR17 file chunk reading/writing library - debug symbols - Eet is a tiny library designed to write an arbitary set of chunks of data to a + Eet is a tiny library designed to write an arbitrary set of chunks of data to a file and optionally compress each chunk (very much like a zip file) and allow fast random-access reading of the file later on. It does not do zip as zip itself has more complexity than we need, and it was much simpler to implement diff --git a/legacy/eet/doc/eet.dox.in b/legacy/eet/doc/eet.dox.in index d6a7bfbd3d..14c0ed4464 100644 --- a/legacy/eet/doc/eet.dox.in +++ b/legacy/eet/doc/eet.dox.in @@ -39,11 +39,11 @@ These routines are used for Eet Library interaction @section intro What is Eet? -It is a tiny library designed to write an arbitary set of chunks of data +It is a tiny library designed to write an arbitrary set of chunks of data to a file and optionally compress each chunk (very much like a zip file) and allow fast random-access reading of the file later on. It does not do zip as a zip itself has more complexity than is needed, and it was much -simpler to impliment this once here. +simpler to implement this once here. Eet is extremely fast, small and simple. Eet files can be very small and highly compressed, making them very optimal for just sending across the @@ -54,8 +54,8 @@ times, but the program does not want to have to read it all in at once. It also can encode and decode data structures in memory, as well as image data for saving to Eet files or sending across the network to other -machines, or just writing to arbitary files on the system. All data is -encoded in a platform independant way and can be written and read by any +machines, or just writing to arbitrary files on the system. All data is +encoded in a platform independent way and can be written and read by any architecture. @section example A simple example on using Eet diff --git a/legacy/eet/eet.spec.in b/legacy/eet/eet.spec.in index 58d64c54b0..119266b440 100644 --- a/legacy/eet/eet.spec.in +++ b/legacy/eet/eet.spec.in @@ -16,7 +16,7 @@ BuildRequires: libjpeg-devel zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description -Eet is a tiny library designed to write an arbitary set of chunks of +Eet is a tiny library designed to write an arbitrary set of chunks of data to a file and optionally compress each chunk (very much like a zip file) and allow fast random-access reading of the file later on. It does not do zip as a zip itself has more complexity than is @@ -24,8 +24,8 @@ needed, and it was much simpler to implement this once here. It also can encode and decode data structures in memory, as well as image data for saving to eet files or sending across the network to -other machines, or just writing to arbitary files on the system. All -data is encoded in a platform independant way and can be written and +other machines, or just writing to arbitrary files on the system. All +data is encoded in a platform independent way and can be written and read by any architecture. %package devel diff --git a/legacy/eet/m4/efl_binary.m4 b/legacy/eet/m4/efl_binary.m4 index 08732564dc..fc2f200509 100644 --- a/legacy/eet/m4/efl_binary.m4 +++ b/legacy/eet/m4/efl_binary.m4 @@ -4,9 +4,9 @@ dnl That code is public domain and can be freely used or copied. dnl Macro that checks if a binary is built or not dnl Usage: EFL_ENABLE_BIN(binary) -dnl Call AC_SUBST(BINARY_PRG) (BINARY is the uppercase of binary, - being tranformed into _) -dnl Define have_binary (- is tranformed into _) -dnl Define conditional BUILD_BINARY (BINARY is the uppercase of binary, - being tranformed into _) +dnl Call AC_SUBST(BINARY_PRG) (BINARY is the uppercase of binary, - being transformed into _) +dnl Define have_binary (- is transformed into _) +dnl Define conditional BUILD_BINARY (BINARY is the uppercase of binary, - being transformed into _) AC_DEFUN([EFL_ENABLE_BIN], [ @@ -46,9 +46,9 @@ AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$2], [$3]) dnl Macro that specifies the binary to be used dnl Usage: EFL_WITH_BIN(binary, package, msg) -dnl Call AC_SUBST(BINARY_PRG) (BINARY is the uppercase of binary, - being tranformed into _) -dnl Define with_binary (- is tranformed into _) -dnl Define conditional BUILD_BINARY (BINARY is the uppercase of binary, - being tranformed into _) +dnl Call AC_SUBST(BINARY_PRG) (BINARY is the uppercase of binary, - being transformed into _) +dnl Define with_binary (- is transformed into _) +dnl Define conditional BUILD_BINARY (BINARY is the uppercase of binary, - being transformed into _) AC_DEFUN([EFL_WITH_BIN], [ diff --git a/legacy/eet/src/lib/Eet.h b/legacy/eet/src/lib/Eet.h index 17446762f3..e9c5028ca5 100644 --- a/legacy/eet/src/lib/Eet.h +++ b/legacy/eet/src/lib/Eet.h @@ -629,7 +629,7 @@ eet_write_cipher(Eet_File *ef, * @param compress A pointer to the int to hold the compression amount. * @param quality A pointer to the int to hold the quality amount. * @param lossy A pointer to the int to hold the lossiness flag. - * @return 1 on successfull decode, 0 otherwise + * @return 1 on successful decode, 0 otherwise * * This function reads an image from an eet file stored under the named * key in the eet file and return a pointer to the decompressed pixel data. @@ -1027,7 +1027,7 @@ eet_data_image_encode(const void *data, * @param compress A pointer to the int to hold the compression amount. * @param quality A pointer to the int to hold the quality amount. * @param lossy A pointer to the int to hold the lossiness flag. - * @return 1 on successfull decode, 0 otherwise + * @return 1 on successful decode, 0 otherwise * * This function reads an image from an eet file stored under the named * key in the eet file and return a pointer to the decompressed pixel data. @@ -1820,7 +1820,7 @@ struct _Eet_Data_Descriptor_Class char *(*str_direct_alloc)(const char *str); /**< how to allocate a string directly from file backed/mmaped region pointed by @p str */ void (*str_direct_free)(const char *str); /**< how to free a string returned by str_direct_alloc */ const char *(*type_get)(const void *data, Eina_Bool *unknow); /**< convert any kind of data type to a name that define an Eet_Data_Element. */ - Eina_Bool (*type_set)(const char *type, void *data, Eina_Bool unknow); /**< set the type at a particular adress */ + Eina_Bool (*type_set)(const char *type, void *data, Eina_Bool unknow); /**< set the type at a particular address */ void *(*array_alloc)(size_t size); /**< how to allocate memory for array (usually malloc()) */ void (*array_free)(void *mem); /**< how to free memory for array (usually free()) */ } func; @@ -1856,7 +1856,7 @@ struct _Eet_Data_Descriptor_Class * * Once you have described all the members of a struct you want loaded, or * saved eet can load and save those members for you, encode them into - * endian-independant serialised data chunks for transmission across a + * endian-independent serialised data chunks for transmission across a * a network or more. * * The function pointers to the list and hash table functions are only @@ -1905,11 +1905,11 @@ eet_data_descriptor3_new(const Eet_Data_Descriptor_Class *eddc); * * Once you have described all the members of a struct you want loaded, or * saved eet can load and save those members for you, encode them into - * endian-independant serialised data chunks for transmission across a + * endian-independent serialised data chunks for transmission across a * a network or more. * * This function specially ignore str_direct_alloc and str_direct_free. It - * is usefull when the eet_data you are reading don't have a dictionnary + * is useful when the eet_data you are reading don't have a dictionnary * like network stream or ipc. It also mean that all string will be allocated * and duplicated in memory. * @@ -1932,11 +1932,11 @@ eet_data_descriptor_stream_new(const Eet_Data_Descriptor_Class *eddc); * * Once you have described all the members of a struct you want loaded, or * saved eet can load and save those members for you, encode them into - * endian-independant serialised data chunks for transmission across a + * endian-independent serialised data chunks for transmission across a * a network or more. * * This function use str_direct_alloc and str_direct_free. It is - * usefull when the eet_data you are reading come from a file and + * useful when the eet_data you are reading come from a file and * have a dictionnary. This will reduce memory use, improve the * possibility for the OS to page this string out. But be carrefull * all EET_T_STRING are pointer to a mmapped area and it will point @@ -2264,7 +2264,7 @@ eet_data_undump(Eet_File *ef, int compress); /** - * Decode a data structure from an arbitary location in memory. + * Decode a data structure from an arbitrary location in memory. * @param edd The data descriptor to use when decoding. * @param data_in The pointer to the data to decode into a struct. * @param size_in The size of the data pointed to in bytes. @@ -2826,7 +2826,7 @@ eet_data_undump_cipher(Eet_File *ef, int compress); /** - * Decode a data structure from an arbitary location in memory + * Decode a data structure from an arbitrary location in memory * using a cipher. * @param edd The data descriptor to use when decoding. * @param data_in The pointer to the data to decode into a struct. diff --git a/legacy/eet/src/lib/eet_lib.c b/legacy/eet/src/lib/eet_lib.c index ef8e5c93f7..36f0e2386c 100644 --- a/legacy/eet/src/lib/eet_lib.c +++ b/legacy/eet/src/lib/eet_lib.c @@ -915,11 +915,11 @@ eet_internal_read2(Eet_File *ef) bytes_dictionary_entries = EET_FILE2_DICTIONARY_ENTRY_SIZE * num_dictionary_entries; - /* we cant have <= 0 values here - invalid */ + /* we can't have <= 0 values here - invalid */ if (eet_test_close((num_directory_entries <= 0), ef)) return NULL; - /* we cant have more bytes directory and bytes in dictionaries than the size of the file */ + /* we can't have more bytes directory and bytes in dictionaries than the size of the file */ if (eet_test_close((bytes_directory_entries + bytes_dictionary_entries) > ef->data_size, ef)) return NULL; @@ -1167,7 +1167,7 @@ eet_internal_read1(Eet_File *ef) EXTRACT_INT(num_entries, ef->data, idx); EXTRACT_INT(byte_entries, ef->data, idx); - /* we cant have <= 0 values here - invalid */ + /* we can't have <= 0 values here - invalid */ if (eet_test_close((num_entries <= 0) || (byte_entries <= 0), ef)) return NULL; @@ -1289,7 +1289,7 @@ eet_internal_read1(Eet_File *ef) efn->name); } else - /* The only really usefull peace of code for efn->name (no backward compatibility) */ + /* The only really useful peace of code for efn->name (no backward compatibility) */ efn->name = (char *)((unsigned char *)(p + HEADER_SIZE)); /* get hash bucket it should go in */ @@ -1793,7 +1793,7 @@ eet_read_cipher(Eet_File *ef, { void *data_deciphered = NULL; unsigned int data_deciphered_sz = 0; - /* if we alreayd have the data in ram... copy that */ + /* if we already have the data in ram... copy that */ if (efn->data) memcpy(data, efn->data, efn->size);