stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3e7f317313687aef41f0c21b2af990f98afd0682

commit 3e7f317313687aef41f0c21b2af990f98afd0682
Author: Elyes HAOUAS <[email protected]>
Date:   Mon Jun 22 18:24:38 2020 +0000

    Fix typos
    
    Fix some typos
    
    Reviewed-by: Stefan Schmidt <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D12015
---
 doc/ephysics_examples.dox                          | 4 ++--
 old/ChangeLog.evas                                 | 2 +-
 old/NEWS.evas                                      | 2 +-
 src/bin/elementary/test_factory.c                  | 2 +-
 src/lib/edje/edje_embryo.c                         | 2 +-
 src/lib/efl/interfaces/efl_gfx_path.c              | 2 +-
 src/lib/elementary/efl_ui_widget.c                 | 4 ++--
 src/lib/elementary/elm_factory.c                   | 2 +-
 src/lib/elementary/elm_gengrid.c                   | 4 ++--
 src/lib/elementary/elm_gesture_layer.c             | 2 +-
 src/lib/elementary/elm_photocam.h                  | 2 +-
 src/lib/elementary/elm_table_eo.h                  | 4 ++--
 src/lib/elementary/elm_table_eo.legacy.h           | 4 ++--
 src/lib/elementary/elm_widget_gengrid.h            | 2 +-
 src/lib/elementary/elm_widget_item_eo.h            | 2 +-
 src/lib/elementary/elm_widget_item_eo.legacy.h     | 2 +-
 src/lib/eo/eo_ptr_indirection.c                    | 4 ++--
 src/lib/evas/canvas/evas_clip.c                    | 2 +-
 src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c | 2 +-
 src/tests/efl_mono/EinaTestData.cs                 | 2 +-
 20 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/doc/ephysics_examples.dox b/doc/ephysics_examples.dox
index 6d99ed78ee..ba509b05f7 100644
--- a/doc/ephysics_examples.dox
+++ b/doc/ephysics_examples.dox
@@ -297,7 +297,7 @@
  * The purpose of this example is to demonstrate the EPhysics_Camera usage.
  *
  * The EPhysics_Camera facilitates the usage of scenarios bigger than the
- * viewport, thats because the EPhysics handles the position of objects
+ * viewport, that's because the EPhysics handles the position of objects
  * which has control.
  *
  * @image html camera.png
@@ -426,7 +426,7 @@
  * usage.
  *
  * The EPhysics_Camera facilitates the usage of scenarios bigger than the
- * viewport, thats because the EPhysics handles the position of objects
+ * viewport, that's because the EPhysics handles the position of objects
  * which has control.
  *
  * @image html camera_track.png
diff --git a/old/ChangeLog.evas b/old/ChangeLog.evas
index 3bc62e3d22..4b81090e92 100644
--- a/old/ChangeLog.evas
+++ b/old/ChangeLog.evas
@@ -296,7 +296,7 @@
 
 2011-05-04  Carsten Haitzler (The Rasterman)
 
-       * Improved table layout for homogenous mode to handle not column
+       * Improved table layout for homogeneous mode to handle not column
         or row multiple sized table better.
 
 2011-05-04  Jiyoun Park
diff --git a/old/NEWS.evas b/old/NEWS.evas
index 3271bbe905..3cc32ad5fa 100644
--- a/old/NEWS.evas
+++ b/old/NEWS.evas
@@ -240,7 +240,7 @@ Improvements:
     * speed and memory usage of textblock
     * cache handler to also use file size, mode and sub-second timestamp
     * textblock to re-layout only paragraphs that have changed
-    * homogenous table layout alignment and sizing
+    * homogeneous table layout alignment and sizing
     * textblock linebreaking by using liblinebreak
     * image loader to drop out instantly if image file is a directory
     * object allocation to use mempools
diff --git a/src/bin/elementary/test_factory.c 
b/src/bin/elementary/test_factory.c
index daae81b63d..71ca204023 100644
--- a/src/bin/elementary/test_factory.c
+++ b/src/bin/elementary/test_factory.c
@@ -5,7 +5,7 @@
 
 // 16 ^ 4 = 65k
 #define BLOK 16
-// homogenous layout
+// homogeneous layout
 //#define HOMOG 1
 // aligned to top of box
 #define ZEROALIGN 1
diff --git a/src/lib/edje/edje_embryo.c b/src/lib/edje/edje_embryo.c
index 9f50bd2afc..df102b35b8 100644
--- a/src/lib/edje/edje_embryo.c
+++ b/src/lib/edje/edje_embryo.c
@@ -4701,7 +4701,7 @@ _edje_embryo_test_run(Edje *ed, Edje_Program *pr, const 
char *sig, const char *s
         pdata = embryo_program_data_get(ed->collection->script);
         embryo_program_data_set(ed->collection->script, ed);
         /* 5 million instructions is an arbitrary number. on my p4-2.6 here */
-        /* IF embryo is ONLY running embryo stuff and NO native calls thats */
+        /* IF embryo is ONLY running embryo stuff and NO native calls that's */
         /* about 0.016 seconds, and longer on slower cpu's. if a simple */
         /* embryo script snippet hasn't managed to do its work in 5 MILLION */
         /* embryo virtual machine instructions - something is wrong, or */
diff --git a/src/lib/efl/interfaces/efl_gfx_path.c 
b/src/lib/efl/interfaces/efl_gfx_path.c
index 5f2898f06e..df476921f2 100644
--- a/src/lib/efl/interfaces/efl_gfx_path.c
+++ b/src/lib/efl/interfaces/efl_gfx_path.c
@@ -683,7 +683,7 @@ _efl_gfx_path_append_arc_to(Eo *obj, Efl_Gfx_Path_Data *pd,
    cy += (sy + y) / 2.0;
 
    // step 4 (F6.5.4)
-   // we dont' use arccos (as per w3c doc), see
+   // we don't use arccos (as per w3c doc), see
    // 
http://www.euclideanspace.com/maths/algebra/vectors/angleBetween/index.htm
    // note: atan2 (0.0, 1.0) == 0.0
    at = atan2(((y1p - cyp) / ry), ((x1p - cxp) / rx));
diff --git a/src/lib/elementary/efl_ui_widget.c 
b/src/lib/elementary/efl_ui_widget.c
index 5607a2060c..423e313db9 100644
--- a/src/lib/elementary/efl_ui_widget.c
+++ b/src/lib/elementary/efl_ui_widget.c
@@ -1728,7 +1728,7 @@ _tree_unfocusable_counter_get(Eo *widget)
  *
  * The basic idea here is:
  * - The numeric number beeing bigger than 0, means that the property is true
- * - The differnce between the number of the parent, and the number of the 
object, represents the boolean flag
+ * - The difference between the number of the parent, and the number of the 
object, represents the boolean flag
  *   (0 means that the flag is equal to the one of the parent, 1 means that if 
the parent is false, this child is true).
  */
 static int
@@ -2815,7 +2815,7 @@ _efl_ui_widget_efl_object_dbg_info_get(Eo *eo_obj, 
Elm_Widget_Smart_Data *_pd EI
 
      }
 
-   //if thats a focus manager, give useful information like the border elements
+   //if that's a focus manager, give useful information like the border 
elements
    if (efl_isa(eo_obj, EFL_UI_FOCUS_MANAGER_INTERFACE))
      {
         Efl_Dbg_Info *border;
diff --git a/src/lib/elementary/elm_factory.c b/src/lib/elementary/elm_factory.c
index 7bbeccfb2e..56e7bd4f06 100644
--- a/src/lib/elementary/elm_factory.c
+++ b/src/lib/elementary/elm_factory.c
@@ -117,7 +117,7 @@ _eval(Evas_Object *obj)
    evas_output_viewport_get(evas_object_evas_get(obj),
                             &cvx, &cvy, &cvw, &cvh);
    if ((cvw < 1) || (cvh < 1)) return;
-   // need some fuzz value thats beyond the current viewport
+   // need some fuzz value that's beyond the current viewport
    // for now just make it the viewport * 3 in size (so 1 vp in each direction)
    /*
    cvx -= cvw;
diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c
index d5c90277a5..c42f8c354a 100644
--- a/src/lib/elementary/elm_gengrid.c
+++ b/src/lib/elementary/elm_gengrid.c
@@ -4049,7 +4049,7 @@ _elm_gengrid_item_new(Elm_Gengrid_Data *sd,
    GG_IT(it) = ELM_NEW(Elm_Gen_Item_Type);
    GG_IT(it)->wsd = sd;
 
-   /* for non homogenous items */
+   /* for non homogeneous items */
    it->item->w = sd->item_width;
    it->item->h = sd->item_height;
 
@@ -4167,7 +4167,7 @@ _elm_gengrid_efl_canvas_group_group_add(Eo *obj, 
Elm_Gengrid_Data *priv)
 
    elm_interface_scrollable_extern_pan_set(obj, priv->pan_obj);
 
-   /* for non homogenous mode */
+   /* for non homogeneous mode */
    priv->custom_size_mode = EINA_FALSE;
    priv->custom_size_sum = NULL;
    priv->custom_tot_sum = NULL;
diff --git a/src/lib/elementary/elm_gesture_layer.c 
b/src/lib/elementary/elm_gesture_layer.c
index 9e1a787c4e..e7fb88348c 100644
--- a/src/lib/elementary/elm_gesture_layer.c
+++ b/src/lib/elementary/elm_gesture_layer.c
@@ -3187,7 +3187,7 @@ _zoom_compute(Zoom_Type *st,
  * @internal
  *
  * This function handles zoom with mouse wheel.
- * thats a combination of wheel + CTRL key.
+ * that's a combination of wheel + CTRL key.
  * @param obj The gesture-layer object.
  * @param event_info Original input event pointer.
  * @param event_type Type of original input event.
diff --git a/src/lib/elementary/elm_photocam.h 
b/src/lib/elementary/elm_photocam.h
index a1ad4fd2d0..8e8df2ea3b 100644
--- a/src/lib/elementary/elm_photocam.h
+++ b/src/lib/elementary/elm_photocam.h
@@ -69,7 +69,7 @@ struct _Elm_Photocam_Progress
 };
 
 /**
- * Structre associated with smart callback 'download,error'
+ * Structure associated with smart callback 'download,error'
  * @since 1.8
  */
 typedef struct _Elm_Photocam_Error Elm_Photocam_Error;
diff --git a/src/lib/elementary/elm_table_eo.h 
b/src/lib/elementary/elm_table_eo.h
index b203ddce63..bbfd371c20 100644
--- a/src/lib/elementary/elm_table_eo.h
+++ b/src/lib/elementary/elm_table_eo.h
@@ -22,7 +22,7 @@ typedef Eo Elm_Table;
 EWAPI const Efl_Class *elm_table_class_get(void);
 
 /**
- * @brief Control the homogenous state in a table.
+ * @brief Control the homogeneous state in a table.
  *
  * @param[in] obj The object.
  * @param[in] homogeneous A boolean to set if the layout is homogeneous in the
@@ -33,7 +33,7 @@ EWAPI const Efl_Class *elm_table_class_get(void);
 EOAPI void elm_obj_table_homogeneous_set(Eo *obj, Eina_Bool homogeneous);
 
 /**
- * @brief Control the homogenous state in a table.
+ * @brief Control the homogeneous state in a table.
  *
  * @param[in] obj The object.
  *
diff --git a/src/lib/elementary/elm_table_eo.legacy.h 
b/src/lib/elementary/elm_table_eo.legacy.h
index 507465310e..0c7ab3fcd8 100644
--- a/src/lib/elementary/elm_table_eo.legacy.h
+++ b/src/lib/elementary/elm_table_eo.legacy.h
@@ -15,7 +15,7 @@ typedef Eo Elm_Table;
 #endif
 
 /**
- * @brief Control the homogenous state in a table.
+ * @brief Control the homogeneous state in a table.
  *
  * @param[in] obj The object.
  * @param[in] homogeneous A boolean to set if the layout is homogeneous in the
@@ -26,7 +26,7 @@ typedef Eo Elm_Table;
 EAPI void elm_table_homogeneous_set(Elm_Table *obj, Eina_Bool homogeneous);
 
 /**
- * @brief Control the homogenous state in a table.
+ * @brief Control the homogeneous state in a table.
  *
  * @param[in] obj The object.
  *
diff --git a/src/lib/elementary/elm_widget_gengrid.h 
b/src/lib/elementary/elm_widget_gengrid.h
index dc93910041..8f55c4b73f 100644
--- a/src/lib/elementary/elm_widget_gengrid.h
+++ b/src/lib/elementary/elm_widget_gengrid.h
@@ -174,7 +174,7 @@ struct Elm_Gen_Item_Type
                                               * this item only once */
    Eina_Bool               nocache : 1; /* do not use cache for this item */
 
-   /* for non homogenous items */
+   /* for non homogeneous items */
    Evas_Coord              w, h, sw, sh;
 };
 
diff --git a/src/lib/elementary/elm_widget_item_eo.h 
b/src/lib/elementary/elm_widget_item_eo.h
index f077e2152d..09ac2258c2 100644
--- a/src/lib/elementary/elm_widget_item_eo.h
+++ b/src/lib/elementary/elm_widget_item_eo.h
@@ -677,7 +677,7 @@ EOAPI void 
elm_wdg_item_domain_part_text_translatable_set(Eo *obj, const char *p
  * items may/may not have the internal object so this api may return @c NULL if
  * the widget item doesn't have it. Additionally, the widget item is
  * managed/controlled by the widget, the widget item could be changed(moved,
- * resized even deleted) anytime by it's own widget's decision. So please dont'
+ * resized even deleted) anytime by it's own widget's decision. So please don't
  * change the track object as well as don't keep the track object in your side
  * as possible but get the track object at the moment you need to refer.
  * Otherwise, you need to add some callbacks to the track object to track it's
diff --git a/src/lib/elementary/elm_widget_item_eo.legacy.h 
b/src/lib/elementary/elm_widget_item_eo.legacy.h
index 2937be3df0..7efaae6374 100644
--- a/src/lib/elementary/elm_widget_item_eo.legacy.h
+++ b/src/lib/elementary/elm_widget_item_eo.legacy.h
@@ -625,7 +625,7 @@ EAPI void 
elm_object_item_domain_part_text_translatable_set(Elm_Widget_Item *obj
  * items may/may not have the internal object so this api may return @c NULL if
  * the widget item doesn't have it. Additionally, the widget item is
  * managed/controlled by the widget, the widget item could be changed(moved,
- * resized even deleted) anytime by it's own widget's decision. So please dont'
+ * resized even deleted) anytime by it's own widget's decision. So please don't
  * change the track object as well as don't keep the track object in your side
  * as possible but get the track object at the moment you need to refer.
  * Otherwise, you need to add some callbacks to the track object to track it's
diff --git a/src/lib/eo/eo_ptr_indirection.c b/src/lib/eo/eo_ptr_indirection.c
index 14748a377b..cd578a5a2a 100644
--- a/src/lib/eo/eo_ptr_indirection.c
+++ b/src/lib/eo/eo_ptr_indirection.c
@@ -138,7 +138,7 @@ _eo_obj_pointer_get(const Eo_Id obj_id, const char 
*func_name, const char *file,
      {
         eina_lock_take(&(_eo_table_data_shared_data->obj_lock));
         if (obj_id == tdata->cache.id)
-        // yes we return keeping the lock locked. thats why
+        // yes we return keeping the lock locked. that's why
         // you must call _eo_obj_pointer_done() wrapped
         // by EO_OBJ_DONE() to release
           return tdata->cache.object;
@@ -169,7 +169,7 @@ _eo_obj_pointer_get(const Eo_Id obj_id, const char 
*func_name, const char *file,
                        // Cache the result of that lookup
                        tdata->cache.object = entry->ptr;
                        tdata->cache.id = obj_id;
-                       // yes we return keeping the lock locked. thats why
+                       // yes we return keeping the lock locked. that's why
                        // you must call _eo_obj_pointer_done() wrapped
                        // by EO_OBJ_DONE() to release
                        return entry->ptr;
diff --git a/src/lib/evas/canvas/evas_clip.c b/src/lib/evas/canvas/evas_clip.c
index 55ecdb2179..af8d4d2431 100644
--- a/src/lib/evas/canvas/evas_clip.c
+++ b/src/lib/evas/canvas/evas_clip.c
@@ -58,7 +58,7 @@ evas_object_recalc_clippees(Evas_Object_Protected_Data *obj)
  * or any change in clipper of an object or any change in smart object
  * membership needs to walk the obj tree both up and down from the changed
  * object and probably walk entire object trees to find these and mark them.
- * thats silly-expensive and i was about to fix it that way but it has since
+ * that's silly-expensive and i was about to fix it that way but it has since
  * dawned on me that that is just going to kill performance in some critical
  * areas like during object setup and manipulation, as well as teardown.
  *
diff --git a/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c 
b/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
index ece54ca455..cefdc3304f 100644
--- a/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
+++ b/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
@@ -773,7 +773,7 @@ _attr_parse_svg_node(void *data, const char *key, const 
char *value)
    Svg_Doc_Node *doc = &(node->node.doc);
    Svg_Length_Type type;
 
-   // @TODO handle lenght unit.
+   // @TODO handle length unit.
    if (!strcmp(key, "width"))
      {
         doc->width = parse_length(value, &type);
diff --git a/src/tests/efl_mono/EinaTestData.cs 
b/src/tests/efl_mono/EinaTestData.cs
index 2fd46f214b..3948b4e523 100644
--- a/src/tests/efl_mono/EinaTestData.cs
+++ b/src/tests/efl_mono/EinaTestData.cs
@@ -99,7 +99,7 @@ public static class BaseData
         [ CallerMemberName ] string member = null) {
         Contract.Requires(a != null, nameof(a));
         Contract.Requires(b != null, nameof(b));
-        Test.Assert(a.Length == b.Length, "Different lenght", line, file, 
member);
+        Test.Assert(a.Length == b.Length, "Different length", line, file, 
member);
         for (int i = 0; i < a.Length; ++i)
         {
             int av = a[i].Number;

-- 


Reply via email to