docs: Fix common misspellings in H files
authorXavi Artigas <xavierartigas@yahoo.es>
Tue, 2 Apr 2019 11:28:48 +0000 (13:28 +0200)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 8 Apr 2019 01:45:21 +0000 (10:45 +0900)
Fixed all appearances of words from this list in H files:
https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

31 files changed:
src/lib/ecore/Ecore_Common.h
src/lib/ecore_cocoa/Ecore_Cocoa.h
src/lib/ecore_wl2/Ecore_Wl2.h
src/lib/ecore_x/Ecore_X.h
src/lib/ector/Ector.h
src/lib/edje/Edje_Legacy.h
src/lib/edje/edje_convert.h
src/lib/eet/Eet.h
src/lib/eina/eina_promise.h
src/lib/elementary/efl_ui_widget_common.h
src/lib/elementary/elm_config.h
src/lib/elementary/elm_image_legacy.h
src/lib/elementary/elm_need.h
src/lib/elementary/elm_sys_notify_eo.h
src/lib/elementary/elm_sys_notify_eo.legacy.h
src/lib/elput/Elput.h
src/lib/emile/emile_image.h
src/lib/emotion/Emotion.h
src/lib/eo/Eo.h
src/lib/eolian/Eolian.h
src/lib/eolian/Eolian_Aux.h
src/lib/eolian/eo_lexer.h
src/lib/ephysics/EPhysics.h
src/lib/escape/sys/mman.h
src/lib/ethumb_client/Ethumb_Client.h
src/lib/evas/Evas_Common.h
src/lib/evas/Evas_Legacy.h
src/lib/evas/common/evas_text_utils.h
src/lib/evil/evil_dlfcn.h
src/lib/evil/evil_stdlib.h
src/lib/evil/sys/mman.h

index e6554ca..6df1006 100644 (file)
@@ -71,7 +71,7 @@ EAPI int ecore_shutdown(void);
  * should call ecore_init() first, then register your callback on
  * @c EFL_LOOP_EVENT_ARGUMENTS and finally call ecore_init_ex().
  *
- * Once you are shuting down your program, you should symetrically
+ * Once you are shuting down your program, you should symmetrically
  * call ecore_shutdown_ex().
  */
 EAPI unsigned int ecore_init_ex(int argc, char **argv);
index e0baf8c..36f17b4 100644 (file)
@@ -47,7 +47,7 @@ typedef struct _Ecore_Cocoa_Screen Ecore_Cocoa_Screen;
 
 /**
  * @typedef Ecore_Cocoa_Object
- * Opaque handler to refer to an objective-c object (aka id)
+ * Opaque handler to refer to an objective-c object (a.k.a. id)
  * @since 1.18
  */
 typedef void Ecore_Cocoa_Object;
index 7c51169..a6bd9a6 100644 (file)
@@ -1806,7 +1806,7 @@ EAPI Ecore_Wl2_Offer* ecore_wl2_dnd_selection_get(Ecore_Wl2_Input *input);
  *
  * @param types a null-terminated array of mimetypes supported by the client
  *
- * @return serial of request on sucess, 0 on failure
+ * @return serial of request on success, 0 on failure
  *
  * @ingroup Ecore_Wl2_Dnd_Group
  * @since 1.17
@@ -1818,7 +1818,7 @@ EAPI uint32_t ecore_wl2_dnd_selection_set(Ecore_Wl2_Input *input, const char **t
  *
  * @param input the input to clear
  *
- * @return serial of request on sucess, 0 on failure
+ * @return serial of request on success, 0 on failure
  *
  * @ingroup Ecore_Wl2_Dnd_Group
  * @since 1.17
index cb55dfa..223bc91 100644 (file)
@@ -2763,7 +2763,7 @@ EAPI Eina_Bool                             ecore_x_window_keygrab_unset(Ecore_X_
 
 //this API for keyrouter protocol
 EAPI void                                  ecore_x_e_keyrouter_set(Ecore_X_Window root, Eina_Bool on); /**< @since 1.15 */ //Key router set keyrouter flag using this
-EAPI Eina_Bool                             ecore_x_e_keyrouter_get(Ecore_X_Window root); /**< @since 1.15 */ //Client check the existance of keyrouter using this
+EAPI Eina_Bool                             ecore_x_e_keyrouter_get(Ecore_X_Window root); /**< @since 1.15 */ //Client check the existence of keyrouter using this
 
 #ifdef EFL_BETA_API_SUPPORT
 // XXX: FIXME: re-evaluate this after looking at xdg foreign in wayland
index 729f4e5..01a71d6 100644 (file)
@@ -100,7 +100,7 @@ typedef Eo Ector_Renderer;
 
 /**
  * @typedef Ector_Colorspace
- * The definiton of colorspace.
+ * The definition of colorspace.
  */
   // FIXME: Enable this when we have merged Emile
 /* typedef Evas_Colorspace Ector_Colorspace; */
index 239157d..7608b98 100644 (file)
@@ -426,7 +426,7 @@ EAPI int edje_object_freeze(Evas_Object *obj);
  *
  * This function thaws the given Edje object.
  *
- * @note If sucessive freezes were done, an equal number of thaws will be
+ * @note If successive freezes were done, an equal number of thaws will be
  * required.
  *
  * See also @ref edje_object_freeze()
index be7bac4..e199d1b 100644 (file)
@@ -193,13 +193,13 @@ Edje_Part_Collection *_edje_collection_convert(Edje_File *file,
                                                Old_Edje_Part_Collection *oedc);
 
 /**
- * Convert old Edje part descripton into new format.
+ * Convert old Edje part description into new format.
  *
  * @param type The edje par description common type
  * @param ce an edje collection directory entry
- * @param the old edje part descripton
+ * @param the old edje part description
  *
- * @return a new edje part descripton common
+ * @return a new edje part description common
  */
 Edje_Part_Description_Common *_edje_description_convert(int type,
                                                         Edje_Part_Collection_Directory_Entry *ce,
index 54c87f8..9c3f666 100644 (file)
@@ -1587,7 +1587,7 @@ eet_data_image_header_read_cipher(Eet_File *ef,
 
 /**
  * @ingroup Eet_File_Image_Group
- * @brief Gets the colorspace Eet can decode into of a given eet image ressource.
+ * @brief Gets the colorspace Eet can decode into of a given eet image resource.
  *
  * @param ef A valid eet file handle opened for reading.
  * @param name Name of the entry. eg: "/base/file_i_want".
index 122b78c..e699a9f 100644 (file)
@@ -53,7 +53,7 @@ typedef struct _Eina_Future_Cb_Log_Desc Eina_Future_Cb_Log_Desc;
  *
  * @return An Eina_Value to pass to the next Eina_Future in the chain (if any).
  * If there is no need to convert the received value, it's @b recommended
- * to pass-thru @p value argument. If you need to convert to a different type
+ * to passthrough @p value argument. If you need to convert to a different type
  * or generate a new value, use @c eina_value_setup() on @b another Eina_Value
  * and return it. By returning a promise Eina_Value (eina_promise_as_value()) the
  * whole chain will wait until the promise is resolved in
@@ -206,7 +206,7 @@ typedef void (*Eina_Promise_Cancel_Cb) (void *data, const Eina_Promise *dead_pro
  * @param[in] value The operation result
  * @return An Eina_Value to pass to the next Eina_Future in the chain (if any).
  * If there is no need to convert the received value, it's @b recommended
- * to pass-thru @p value argument. If you need to convert to a different type
+ * to passthrough @p value argument. If you need to convert to a different type
  * or generate a new value, use @c eina_value_setup() on @b another Eina_Value
  * and return it. By returning a promise Eina_Value (eina_promise_as_value()) the
  * whole chain will wait until the promise is resolved in
@@ -303,7 +303,7 @@ struct _Eina_Future_Cb_Easy_Desc {
     * may also return a non-error, in this case the next future in chain will receive a regular
     * value, which may call its @c success.
     *
-    * If this function is not provided, then it will pass thru the error to the next error handler.
+    * If this function is not provided, then it will passthrough the error to the next error handler.
     *
     * It may be called with @c EINVAL if @c success_type is provided and doesn't
     * match the received type.
index 0e538cb..3d232b8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * This iterator contains also the canvas objects which are part of the widgets,
  * be aware that the construction of this tree is internal and might change heavily
- * inbetween versions.
+ * between versions.
  *
  * @param obj The widget which is the root of the subtree.
  *
index 352c424..c899d7c 100644 (file)
@@ -1737,8 +1737,8 @@ EAPI Eina_Bool  elm_config_vsync_get(void);
 EAPI void       elm_config_vsync_set(Eina_Bool enabled);
 
 /**
- * Get the configure flag that will define if a window agressively drop its
- * ressource when minimized.
+ * Get the configure flag that will define if a window aggressively drop its
+ * resources when minimized.
  *
  * @return if it does.
  *
@@ -1747,8 +1747,8 @@ EAPI void       elm_config_vsync_set(Eina_Bool enabled);
 EAPI Eina_Bool elm_config_agressive_withdrawn_get(void);
 
 /**
- * Set the configure flag that will make a window agressively drop its
- * ressource when minimized.
+ * Set the configure flag that will make a window aggressively drop its
+ * resources when minimized.
  *
  * @param enabled This should be @c EINA_TRUE if enabled, or @c EINA_FALSE if
  * not.
index a53e063..d09060f 100644 (file)
@@ -434,7 +434,7 @@ EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj);
  *
  * @note Be careful to not manipulate it, as it is under control of elementary.
  *
- * @warning It doesn't gurantee the inlined object must be a type of Evas_Object_Image.
+ * @warning It doesn't guarantee the inlined object must be a type of Evas_Object_Image.
  *          It would be one of @c Evas_Object_Image or @c Edje_Object depending
             on image file type.
  *
index 84bba74..ad290db 100644 (file)
@@ -58,7 +58,7 @@ EAPI Eina_Bool elm_need_e_dbus(void) EINA_DEPRECATED;
 /**
  * Request that your elementary application needs eldbus
  *
- * This initializes the eldbus (aka v2) library when called and if
+ * This initializes the eldbus (a.k.a. v2) library when called and if
  * support exists it returns @c EINA_TRUE, otherwise returns
  * @c EINA_FALSE. This must be called before any eldbus calls.
  *
index 247fef9..0f1f194 100644 (file)
@@ -78,7 +78,7 @@ EWAPI const Efl_Class *elm_sys_notify_class_get(void);
 /**
  * @brief Set the notifications server to be used.
  *
- * @note This is an advanced function that should be used only to fullfill very
+ * @note This is an advanced function that should be used only to fulfill very
  * specific purposes. Use elm_need_sys_notify() which activates the default
  * available notification servers.
  *
index a566673..74dafc8 100644 (file)
@@ -71,7 +71,7 @@ typedef struct _Elm_Sys_Notify_Action_Invoked
 /**
  * @brief Set the notifications server to be used.
  *
- * @note This is an advanced function that should be used only to fullfill very
+ * @note This is an advanced function that should be used only to fulfill very
  * specific purposes. Use elm_need_sys_notify() which activates the default
  * available notification servers.
  *
index 495fa06..14a7069 100644 (file)
@@ -271,7 +271,7 @@ EAPI const Eina_List *elput_manager_seats_get(Elput_Manager *manager);
  * input manager. Setting a window on the input manager is done so that
  * when we raise events (mouse movement, keyboard key, etc) then this
  * window is passed to the event structure as the window which the event
- * occured on.
+ * occurred on.
  *
  * @param manager
  * @param window
@@ -522,7 +522,7 @@ EAPI Eina_Bool elput_touch_drag_enabled_get(Elput_Device *device);
  * @param device
  * @param enabled
  *
- * @return EINA_TRUE on sucess, EINA_FALSE otherwise
+ * @return EINA_TRUE on success, EINA_FALSE otherwise
  *
  * @ingroup Elput_Touch_Group
  * @since 1.19
index 6693776..0407486 100644 (file)
@@ -155,7 +155,7 @@ typedef struct _Emile_Image_Property Emile_Image_Property;
 /**
  * @enum _Emile_Action
  * @typedef Emile_Action
- * What action emile is refering to.
+ * What action emile is referring to.
  * @since 1.19
  */
 typedef enum _Emile_Action
@@ -231,7 +231,7 @@ struct _Emile_Image_Load_Opts
     int smooth;
 
     /* This should have never been part of this structure, but we keep it
-       for ABI/API compability with Evas_Loader */
+       for ABI/API compatibility with Evas_Loader */
     Emile_Image_Scale_Hint scale_hint;
   } scale_load;
   double dpi;
index d8eb052..e67d9a2 100644 (file)
@@ -236,7 +236,7 @@ enum _Emotion_Vis
 /**
  * @enum Emotion_Suspend
  *
- * Used for emotion pipeline ressource management.
+ * Used for emotion pipeline resource management.
  *
  * @see emotion_object_suspend_set()
  * @see emotion_object_suspend_get()
@@ -246,7 +246,7 @@ enum _Emotion_Vis
 typedef enum
 {
   EMOTION_WAKEUP, /**< pipeline is up and running */
-  EMOTION_SLEEP, /**< turn off hardware ressource usage like overlay */
+  EMOTION_SLEEP, /**< turn off hardware resource usage like overlay */
   EMOTION_DEEP_SLEEP, /**< destroy the pipeline, but keep full resolution pixels output around */
   EMOTION_HIBERNATE /**< destroy the pipeline, and keep half resolution or object resolution if lower */
 } Emotion_Suspend;
@@ -370,7 +370,7 @@ EAPI extern Emotion_Version *emotion_version;
  */
 
 /**
- * @defgroup Emotion_Ressource Video ressource management
+ * @defgroup Emotion_Ressource Video resource management
  */
 
 /**
@@ -1181,7 +1181,7 @@ EAPI Eina_Bool    emotion_object_vis_supported         (const Evas_Object *obj,
  * Picture in Picture is needed. And most application just have a few video stream that really
  * deserve high frame rate, high quality output. That's why this call is for.
  *
- * Please note that if Emotion can't acquire a priviledged hardware ressource, it will fallback
+ * Please note that if Emotion can't acquire a priviledged hardware resource, it will fallback
  * to the no-priority path. This work on the first asking first get basis system.
  *
  * @see emotion_object_priority_get()
index f5fb5ee..63e4c6b 100644 (file)
@@ -359,7 +359,7 @@ typedef struct _Efl_Future_Cb_Desc {
     * @param value The operation result
     * @return An Eina_Value to pass to the next Eina_Future in the chain (if any).
     * If there is no need to convert the received value, it's @b recommended
-    * to pass-thru @p value argument. If you need to convert to a different type
+    * to passthrough @p value argument. If you need to convert to a different type
     * or generate a new value, use @c eina_value_setup() on @b another Eina_Value
     * and return it. By returning a promise Eina_Value (eina_promise_as_value()) the
     * whole chain will wait until the promise is resolved in
@@ -378,7 +378,7 @@ typedef struct _Efl_Future_Cb_Desc {
     * may also return a non-error, in which case the next future in the chain will receive a regular
     * value, which may call its @c success.
     *
-    * If this function is not provided, then it will pass thru the error to the next error handler.
+    * If this function is not provided, then it will passthrough the error to the next error handler.
     *
     * It may be called with @c EINVAL if @c success_type is provided and doesn't
     * match the received type.
index 20979ec..c60272e 100644 (file)
@@ -2566,7 +2566,7 @@ eolian_typedecl_namespaces_get(const Eolian_Typedecl *tp)
 EAPI Eina_Stringshare *eolian_typedecl_free_func_get(const Eolian_Typedecl *tp);
 
 /*
- * @breif Get the function object for this function pointer type.
+ * @brief Get the function object for this function pointer type.
  *
  * @param[in] tp the type.
  * @return the function or NULL;
index 4313d49..a3c90fe 100644 (file)
@@ -105,7 +105,7 @@ EAPI size_t eolian_aux_class_callables_get(const Eolian_Class *klass, Eina_List
 /**
  * @brief Get all implementations of a function in a state.
  *
- * Given a function and a childen hierarchy from
+ * Given a function and a children hierarchy from
  * eolian_aux_state_class_children_find(), this will func
  * all implementations of that function in the system. This
  * is useful for various utilities. You need to free the list
index 90a79c2..9a510e1 100644 (file)
@@ -212,7 +212,7 @@ int         eo_lexer_get            (Eo_Lexer *ls);
 int         eo_lexer_lookahead      (Eo_Lexer *ls);
 /* "throws" an error, with a custom message and custom token */
 void        eo_lexer_lex_error      (Eo_Lexer *ls, const char *msg, int token);
-/* like above, but uses the lexstate->t.token, aka current token */
+/* like above, but uses the lexstate->t.token, a.k.a. current token */
 void        eo_lexer_syntax_error   (Eo_Lexer *ls, const char *msg);
 /* turns the token into a string, writes into the given buffer */
 void        eo_lexer_token_to_str   (int token, char *buf);
index 2311975..cc5d221 100644 (file)
@@ -446,7 +446,7 @@ EAPI double ephysics_quaternion_angle_get(const EPhysics_Quaternion *quat1, cons
  * Return the length of the quaternion.
  *
  * @param quat Quaternion to get length of.
- * @return The lenght of @p quat or @c 0 on error.
+ * @return The length of @p quat or @c 0 on error.
  *
  * @ingroup EPhysics_Quaternion
  */
@@ -457,7 +457,7 @@ EAPI double ephysics_quaternion_length_get(const EPhysics_Quaternion *quat);
  * Return the length squared of the quaternion.
  *
  * @param quat Quaternion to get length of.
- * @return The lenght of @p quat or @c 0 on error.
+ * @return The length of @p quat or @c 0 on error.
  *
  * @ingroup EPhysics_Quaternion
  */
@@ -489,7 +489,7 @@ EAPI double ephysics_quaternion_length2_get(const EPhysics_Quaternion *quat);
  * @ref ephysics_shape_save(). With that shapes can be done or visualized
  * on design applications.
  *
- * @note Using primitive shapes has better perfomance than generic shapes.
+ * @note Using primitive shapes has better performance than generic shapes.
  * @note For now, only convex shapes are supported.
  *
  */
@@ -2435,11 +2435,11 @@ EAPI double ephysics_body_soft_body_drag_coefficient_get(const EPhysics_Body *bo
  *
  * While dragging a soft body the user may want to freeze a specific trimesh
  * face, after calling this function EPhysics will do freeze the @p triangle
- * untill it gets a call to unset it with
+ * until it gets a call to unset it with
  * ephysics_body_soft_body_dragging_unset().
  *
  * @note Freezing a specific trimesh face means no forces are applied to it, no
- * gravity enforced, that's @p triangle will have no mass untill it dragging
+ * gravity enforced, that's @p triangle will have no mass until it dragging
  * gets unset.
  *
  * @param body The body of interest.
index aebbbc9..6c328c4 100644 (file)
@@ -122,7 +122,7 @@ EAPI void *mmap(void *addr,
  * Unmaps a mapped view of a file from the calling process's
  * address space. @p addr is the pointer to the base address.
  * This value must be identical to the value returned by a
- * previous call to mmap(). The parameter @p len is unsed.
+ * previous call to mmap(). The parameter @p len is unused.
  *
  * Conformity: None.
  *
index c8d90b2..ecf8f07 100644 (file)
@@ -112,7 +112,7 @@ typedef void (*Ethumb_Client_Generate_Cb)(void *data, Ethumb_Client *client, int
  * @param data extra context given to ethumb_client_thumb_exists().
  *
  * During the execution of the callback the state of the @p client is
- * temporarily realy restored to what it was when the call to
+ * temporarily really restored to what it was when the call to
  * ethumb_client_thumb_exists() was done.
  */
 typedef void (*Ethumb_Client_Thumb_Exists_Cb)(void *data, Ethumb_Client *client, Ethumb_Exists *thread, Eina_Bool exists);
index 779c30f..e6b831a 100644 (file)
@@ -1040,7 +1040,7 @@ EAPI const Eina_List *evas_device_list(Evas *e, const Evas_Device *dev);
  * @param e The canvas to find the device on
  * @param name The name of the device.
  *
- * Gets the first ocurrence of a device named as @p name
+ * Gets the first occurrence of a device named as @p name
  * on Evas @p e list of devices.
  *
  * @return the device or NULL if an error occurred, no name was provided,
index 91f755d..08508c2 100755 (executable)
@@ -5224,7 +5224,7 @@ EAPI int evas_object_image_load_scale_down_get(const Evas_Object *obj);
 EAPI void evas_object_image_load_head_skip_set(Evas_Object *obj, Eina_Bool skip);
 
 /**
- * @breif Get the load option to skip header loads before preload
+ * @brief Get the load option to skip header loads before preload
  * 
  * This gets the heade skip value set by evas_object_image_load_head_skip_set()
  * 
index 9350b6e..087e6b9 100644 (file)
@@ -102,7 +102,7 @@ struct _Evas_Text_Props
 #define EVAS_TP_SZLEN_ONE 1
 
 // special case textprop for ONE char! should use this for textgrid but
-// we have to modify every bit of code that usea a textprop to go thru a
+// we have to modify every bit of code that usea a textprop to go through a
 // getter or setter etc. etc.
 struct _Evas_Text_Props_One
 {
index 1c05b1f..af18ed1 100644 (file)
@@ -61,7 +61,7 @@ x * This header provides functions to load and unload dynamic-link
 
 /**
  * @typedef Dl_info
- * @brief A structure that stores infomation of a calling process.
+ * @brief A structure that stores information of a calling process.
  * This typedef is defined only when _GNU_SOURCE was defined before
  * including dlfcn.h.
  */
@@ -69,7 +69,7 @@ typedef struct Dl_info Dl_info;
 
 /**
  * @struct Dl_info
- * @brief A structure that stores infomation of a calling process.
+ * @brief A structure that stores information of a calling process.
  * This structure is defined only when _GNU_SOURCE was defined before
  * including dlfcn.h.
  */
@@ -148,7 +148,7 @@ EAPI void *dlopen(const char* path, int mode);
  * @brief Close a dynamic-link library.
  *
  * @param handle Handle that references a dynamic-link library.
- * @return O on sucess, -1 otherwise.
+ * @return O on success, -1 otherwise.
  *
  * Release a reference to the dynamic-link library referenced
  * by @p handle.  If the reference count drops to 0, the handle is
@@ -173,7 +173,7 @@ EAPI int dlclose(void* handle);
  *
  * @param handle Handle that references a dynamic-link library.
  * @param symbol @c NULL-terminated string.
- * @return O on sucess, NULL otherwise.
+ * @return O on success, NULL otherwise.
  *
  * Return the address of the code or data location specified by the
  * string @p symbol.  @p handle references a library that contains
index 6e0b27c..34c9f7c 100644 (file)
@@ -97,7 +97,7 @@ EAPI int mkstemps(char *__template, int suffixlen);
  * by @p resolved_name. The buffer is at most @c PATH_MAX bytes long.
  * If @p resolved_name is @c NULL, malloc() is used to allocate a
  * buffer of sufficient length to hold the path name. In that case, it
- * is the responsability of the caller to free this buffer with free().
+ * is the responsibility of the caller to free this buffer with free().
  *
  * That function can be used to obtain the absolute path name for
  * relative paths (relPath) that include "./" or "../" in their names.
index 0a36ebf..93b6bd4 100644 (file)
@@ -130,7 +130,7 @@ EAPI void *mmap(void   *addr,
  * Unmaps a mapped view of a file from the calling process's
  * address space. @p addr is the pointer to the base address.
  * This value must be identical to the value returned by a
- * previous call to mmap(). The parameter @p len is unsed.
+ * previous call to mmap(). The parameter @p len is unused.
  *
  * Conformity: None.
  *