Commit 07dfb49d authored by Lucas De Marchi's avatar Lucas De Marchi

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
parent 33dcb37a
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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],
[
......
......@@ -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.
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment