eina: fix misspellings
authorlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 30 May 2011 16:08:20 +0000 (16:08 +0000)
committerlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 30 May 2011 16:08:20 +0000 (16:08 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59820 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/include/eina_file.h
src/include/eina_inline_lock_void.x
src/include/eina_mempool.h
src/include/eina_prefix.h
src/include/eina_refcount.h
src/lib/eina_inlist.c
src/lib/eina_object.c
src/tests/eina_test_ustr.c

index b6f1217..a8d9aa7 100644 (file)
@@ -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
index 0d0c398..6bcf151 100644 (file)
@@ -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().
index c6c0aa7..e75b03c 100644 (file)
@@ -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.
  *
  * @{
index 9d267a7..cdca08d 100644 (file)
@@ -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));
index 788995b..db4a117 100644 (file)
@@ -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 */
index d7d5a91..e2dac4a 100644 (file)
@@ -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++)
index 528a023..1028a8e 100644 (file)
@@ -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
index 9b845a9..eaeba9d 100644 (file)
@@ -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