From d8d98a2e4e02f9fc9a5cd202fcdaf3e1dfa412b6 Mon Sep 17 00:00:00 2001 From: lucas Date: Mon, 30 May 2011 16:08:20 +0000 Subject: [PATCH] eina: fix misspellings git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59820 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/include/eina_file.h | 2 +- src/include/eina_inline_lock_void.x | 2 +- src/include/eina_mempool.h | 2 +- src/include/eina_prefix.h | 12 ++++++------ src/include/eina_refcount.h | 2 +- src/lib/eina_inlist.c | 2 +- src/lib/eina_object.c | 2 +- src/tests/eina_test_ustr.c | 10 +++++----- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/include/eina_file.h b/src/include/eina_file.h index b6f1217..a8d9aa7 100644 --- a/src/include/eina_file.h +++ b/src/include/eina_file.h @@ -93,7 +93,7 @@ typedef enum { /* Why do this? Well PATH_MAX may vary from when eina itself is compiled * to when the app using eina is compiled. exposing the path buffer below - * cant safely and portably vary based on how/when you compile. it should + * can't safely and portably vary based on how/when you compile. it should * always be the same for both eina inside AND for apps outside that use eina * so define this to 8192 - most PATH_MAX values are like 4096 or 1024 (with * windows i think being 260), so 8192 should cover almost all cases. there diff --git a/src/include/eina_inline_lock_void.x b/src/include/eina_inline_lock_void.x index 0d0c398..6bcf151 100644 --- a/src/include/eina_inline_lock_void.x +++ b/src/include/eina_inline_lock_void.x @@ -105,7 +105,7 @@ eina_lock_take(Eina_Lock *mutex EINA_UNUSED) * eina_lock_new(). If @p mutex can be locked, this function returns * #EINA_TRUE; if @p mutex can not be locked, or is already locked, it * returns #EINA_FALSE. This function does not block and returns - * immediatly. For performance reasons, no check is done on + * immediately. For performance reasons, no check is done on * @p mutex. * * @note On Windows CE, this function is actually eina_lock_take(). diff --git a/src/include/eina_mempool.h b/src/include/eina_mempool.h index c6c0aa7..e75b03c 100644 --- a/src/include/eina_mempool.h +++ b/src/include/eina_mempool.h @@ -54,7 +54,7 @@ * faster on some computers than using our own allocators (like having * a huge L2 cache, over 4MB). * @li @c one_big: It call just one time malloc for the requested number - * of items. Usefull when you know in advance how many object of some + * of items. Useful when you know in advance how many object of some * type will live during the life of the mempool. * * @{ diff --git a/src/include/eina_prefix.h b/src/include/eina_prefix.h index 9d267a7..cdca08d 100644 --- a/src/include/eina_prefix.h +++ b/src/include/eina_prefix.h @@ -44,8 +44,8 @@ typedef struct _Eina_Prefix Eina_Prefix; * location at compile-time, but this disallows the ability to re-locate * the application (or library) somewhere else after compilation (if you run * out of space on a given disk, partition etc. for example), or necessitate - * the need for having to maintain enviornment variables for every piece of - * software to let it know its location, or or have to use large sets of + * the need for having to maintain environment variables for every piece of + * software to let it know its location, or have to use large sets of * symlinks pointing from the compiled location to the new one. * * Being re-locatable at runtime allows much easier distribution and @@ -64,7 +64,7 @@ typedef struct _Eina_Prefix Eina_Prefix; * to determine its location. Call eina_prefix_new() early on before you * change working directory or anything about argv[0] so it gets accurate * information. It will use the first argument, being the executable itself, - * to look in absolutel directories, relative paths and PATH to see if it + * to look in absolute directories, relative paths and PATH to see if it * finds the right executable to determine just where the actual binary is * installed and being run from. If you develop a share library, just pass * NULL as argv0 @@ -82,14 +82,14 @@ typedef struct _Eina_Prefix Eina_Prefix; * the exact install prefix for the software, or more specific environment * variables like "MYAPP_BIN_DIR", "MYAPP_LIB_DIR", "MYAPP_DATA_DIR" and * "MYAPP_LOCALE_DIR" which can be set by the user or scripts before - * launching. If not provided (NULL) enviornment variables will not be + * launching. If not provided (NULL) environment variables will not be * used to override compiled-in defaults or auto detections. * * The @p sharedir string provides a subdirectory inside the system shared * data dir for data files. For example, if the system dir is * /usr/local/share then this dir name is appended, creating * /usr/local/share/appname if this dir was the "appname" string. It is - * expexcted the application or library installs data files in this directory. + * expected the application or library installs data files in this directory. * * The @p magicsharefile is a filename or path of something inside the share * or data dir to be used to test that the prefix detection worked. For @@ -126,7 +126,7 @@ typedef struct _Eina_Prefix Eina_Prefix; * { * pfx = eina_prefix_new(argv[0], main, "APPNAME", "appname", NULL, * PACKAGE_BIN_DIR, PACKAGE_LIB_DIR, - * PACKAGE_DATA_DIR, LOCALE_DIR); + * PACKAGE_DATA_DIR, LOCALE_DIR); * if (!pfx) printf("ERROR: Critical error in finding prefix\n"); * printf("install prefix is: %s\n", eina_prefix_get(pfx)); * printf("binaries are in: %s\n", eina_prefix_bin_get(pfx)); diff --git a/src/include/eina_refcount.h b/src/include/eina_refcount.h index 788995b..db4a117 100644 --- a/src/include/eina_refcount.h +++ b/src/include/eina_refcount.h @@ -57,7 +57,7 @@ typedef int Eina_Refcount; /** Used just after allocating a object */ #define EINA_REFCOUNT_INIT(Variable) (Variable)->__refcount = 1 -/** Used when using refering to an object one more time */ +/** Used when using referring to an object one more time */ #define EINA_REFCOUNT_REF(Variable) (Variable)->__refcount++ /** Used when removing a reference to an object. Free_Callback will automatically be called when necessary */ diff --git a/src/lib/eina_inlist.c b/src/lib/eina_inlist.c index d7d5a91..e2dac4a 100644 --- a/src/lib/eina_inlist.c +++ b/src/lib/eina_inlist.c @@ -451,7 +451,7 @@ eina_inlist_sorted_insert(Eina_Inlist *list, } /* - * prepare a jump table to avoid doing unecessary rewalk + * prepare a jump table to avoid doing unnecessary rewalk * of the inlist as much as possible. */ for (ct = list; ct; ct = ct->next, jump_count++, count++) diff --git a/src/lib/eina_object.c b/src/lib/eina_object.c index 528a023..1028a8e 100644 --- a/src/lib/eina_object.c +++ b/src/lib/eina_object.c @@ -42,7 +42,7 @@ */ /* If we are on a 64bits computer user bigger generation and ID */ -/* FIXME: make it GCC independant */ +/* FIXME: make it GCC independent */ /* FIXME: maybe having 2^32 objects doesn't make sense and 2^24 are enough so instead of increasing the object count, we could just add a magic to first check if the pointer is valid at all (and maybe use a pointer diff --git a/src/tests/eina_test_ustr.c b/src/tests/eina_test_ustr.c index 9b845a9..eaeba9d 100644 --- a/src/tests/eina_test_ustr.c +++ b/src/tests/eina_test_ustr.c @@ -333,15 +333,15 @@ START_TEST(eina_unicode_utf8) } \ } \ while (0) - /* all first bytes of 2-byte sequences seperated by spaces. */ + /* all first bytes of 2-byte sequences separated by spaces. */ _FIRST_SEQUENCES(0xC0, 0xDF); - /* all first bytes of 3-byte sequences seperated by spaces. */ + /* all first bytes of 3-byte sequences separated by spaces. */ _FIRST_SEQUENCES(0xE0, 0xEF); - /* all first bytes of 4-byte sequences seperated by spaces. */ + /* all first bytes of 4-byte sequences separated by spaces. */ _FIRST_SEQUENCES(0xF0, 0xF7); - /* all first bytes of 5-byte sequences seperated by spaces. */ + /* all first bytes of 5-byte sequences separated by spaces. */ _FIRST_SEQUENCES(0xF8, 0xFB); - /* all first bytes of 6-byte sequences seperated by spaces. */ + /* all first bytes of 6-byte sequences separated by spaces. */ _FIRST_SEQUENCES(0xFC, 0xFD); /* Incomplete sequences first means the first utf8 char, len means -- 2.7.4