elm: Fix typos fun!
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 28 Oct 2015 17:06:29 +0000 (02:06 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 28 Oct 2015 17:08:16 +0000 (02:08 +0900)
16 files changed:
src/bin/test_box.c
src/bin/test_list.c
src/examples/performance/performance.c
src/examples/transit_example_03.c
src/lib/elc_ctxpopup.c
src/lib/elc_naviframe.c
src/lib/elm_atspi_bridge.c
src/lib/elm_cnp.c
src/lib/elm_diskselector.c
src/lib/elm_entry.c
src/lib/elm_gesture_layer.c
src/lib/elm_prefs_common.h
src/lib/elm_store.c
src/lib/elm_widget_map.h
src/lib/elm_win.c
src/tests/elm_test_atspi.c

index 594fca60ea130e463d24a04a2af150ba8ce45ed9..6da21d63c4d6421734f97689dd27c7470cb8578a 100644 (file)
@@ -45,14 +45,14 @@ set_api_state(api_data *api)
    /* use elm_box_children_get() to get list of children */
    switch(api->state)
      { /* Put all api-changes under switch */
-      case BOX_PACK_START:  /* Move last item to begining */
+      case BOX_PACK_START:  /* Move last item to beginning */
          elm_box_unpack(api->box, eina_list_data_get(eina_list_last(items)));
          elm_box_pack_start(api->box, eina_list_data_get(eina_list_last(items)));
          break;
 
       case BOX_PACK_BEFORE:
          if (eina_list_count(items) > 1)
-               {  /* Put last item before the one preceeding it */
+               {  /* Put last item before the one preceding it */
                   elm_box_unpack(api->box, eina_list_data_get(eina_list_last(items)));
                   elm_box_pack_before(api->box,
                         eina_list_data_get(eina_list_last(items)),
index 7c9a27e72d631be4bdb8db8a85a654fc31f6423f..8f72e4bb2141ff483cc706c94ab1bd1f852d19fb 100644 (file)
@@ -47,7 +47,7 @@ Scroll to end
 1 INSERT BEFORE
 Scroll to end
 2 INSERT AFTER
-3 INSERT SEPERATOR
+3 INSERT SEPARATOR
 Scroll to end
 4 ITEM DEL
 5 POLICY ON, BOUNCE_SET(TRUE, TRUE)
index 2d3080b060c6b52db0d2b814bae19b09ce7cbc62..b22219307c8be10b3560e3e0ed0209ca2dc9b15d 100644 (file)
@@ -526,7 +526,7 @@ _load_mesh(void *data, Evas_Object *obj, void *event_info)
         free(a);
         tmp = NULL;
         a = NULL;
-        /*Get extention of file*/
+        /*Get extension of file*/
         tmp = strdup(event_info);
         a = strrchr(tmp,'.');
         format = malloc(sizeof (char) * (strlen(a) - 1));
@@ -591,7 +591,7 @@ EAPI_MAIN
    if (!elm_init(argc, argv)) return 1;
 
    elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
-   win = elm_win_add(NULL, "3D Perfomance", ELM_WIN_BASIC);
+   win = elm_win_add(NULL, "3D Performance", ELM_WIN_BASIC);
    evas_object_resize(win, WIDTH, HEIGHT);
    elm_win_autodel_set(win, EINA_TRUE);
    evas_object_show(win);
index 1801eceff20698695bec48f880e3cfb567be72ee..caca85b25747e0c2741bb17457177bfe7d99f124 100644 (file)
@@ -199,7 +199,7 @@ elm_main(int argc, char **argv)
 
    /* add an object that we are going to play with */
    /* this object isn't packed inside the box because we don't want it to have
-    * its size, position, aspect or anything else controled by the container */
+    * its size, position, aspect or anything else controlled by the container */
    obj = elm_button_add(win);
    elm_object_text_set(obj, "Transformed object!");
    icon = elm_icon_add(win);
index df95f0844f776fa2d531f13b740b98c3e10bdb01..274e5cbe3eaebca79c189e46f94dc8e6a2bd1828 100644 (file)
@@ -970,7 +970,7 @@ _on_show(void *data EINA_UNUSED,
          * XXX: Giving focus to the list when it has nothing selected makes
          * it select the first of its items, which makes the popup in
          * Terminology never open and instead just trigger the first option.
-         * I'll let as an excercise to the reader to figure out why that
+         * I'll let as an exercise to the reader to figure out why that
          * is so fucking annoying. Extra points for noting why this is my
          * choice of a "fix" instead of fixing the actual focus/select issue
          * that seems to be spread all over Elementary.
index 6dba6e5a4d6b4171f264cdf5a92747f80c09b396..353f9fae5ac70eed874de3b290d69ad46858ebee 100644 (file)
@@ -946,7 +946,7 @@ static Eina_Bool
 _on_item_back_btn_clicked(void *data,
       Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
 {
-   /* Since edje has the event queue, clicked event could be happend
+   /* Since edje has the event queue, clicked event could be happened
       multiple times on some heavy environment. This callback del will
       prevent those scenario and guarantee only one clicked for it's own
       page. */
index 6019cca77f771927123bb19081d6ef994745c171..edd10fcd38aa1da620aa37e4408b7773ed9c8b72 100644 (file)
@@ -2442,7 +2442,7 @@ _collection_iter_match_rule_get(Eldbus_Message_Iter *iter, struct collection_mat
    if (!eldbus_message_iter_fixed_array_get(states_iter, 'i', &array, &array_count))
      return EINA_FALSE;
 
-   //Roles according to libatspi impementation are transfered in 2-int element fixed bit array
+   //Roles according to libatspi impementation are transferred in 2-int element fixed bit array
    if (array_count != 2)
      {
         ERR("Unexpected states array size");
@@ -2451,7 +2451,7 @@ _collection_iter_match_rule_get(Eldbus_Message_Iter *iter, struct collection_mat
    uint64_t states = ((uint64_t)array[0] | ((uint64_t)array[1] << 32));
    rule->states = _atspi_state_set_to_elm_atspi_state_set(states);
 
-   //Roles according to libatspi impementation are transfered in 4-int element fixed bit array
+   //Roles according to libatspi impementation are transferred in 4-int element fixed bit array
    if (!eldbus_message_iter_fixed_array_get(role_iter, 'i', &array, &array_count))
      return EINA_FALSE;
 
index 2f7ab7d28a2837a8e7d9cb465fe87997e02216fe..fb3f2ae864da7a92f803e7839da32adce080acbe 100644 (file)
@@ -3550,7 +3550,7 @@ _local_elm_cnp_selection_loss_callback_set(Evas_Object *obj EINA_UNUSED,
                                            const void *data EINA_UNUSED)
 {
    _local_elm_cnp_init();
-   // this doesnt need to do anything as we never lose selection to anyone
+   // this doesn't need to do anything as we never lose selection to anyone
    // as thisis local
 }
 
index 34cc99bb7d52867f305bb36dec08739a12f644b1..7f38288873d431429ef1c3e46795e64c62f69d96 100644 (file)
@@ -536,7 +536,7 @@ _identical_item_check(Elm_Diskselector_Item_Data *it,
 
    if (sd->round)
      {
-        // Get index from indentical item from round items
+        // Get index from identical item from round items
         EINA_LIST_FOREACH(sd->r_items, l, dit)
           {
              if (it == dit) break;
index 3f0ab0f99ab1ddb45f0a6d1d2ac6e2aade2bc636..5cf77a52171d50001633577da5b595474db60ee0 100644 (file)
@@ -3891,7 +3891,7 @@ _elm_entry_is_empty(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd)
    Evas_Textblock_Cursor *cur;
 
    /* It's a hack until we get the support suggested above.  We just
-    * create a cursor, point it to the begining, and then try to
+    * create a cursor, point it to the beginning, and then try to
     * advance it, if it can advance, the tb is not empty, otherwise it
     * is. */
    tb = edje_object_part_object_get(sd->entry_edje, "elm.text");
index 7a37ae36d5c3e331e79beac8c00b0b52a545c119..476e682fb8f5ee0f25631ee682513d6730fc9a98 100644 (file)
@@ -1394,7 +1394,7 @@ _inside(Evas_Coord xx1,
 {
    w >>= 1; /* Use half the distance, from center to all directions */
    if (!w)  /* use system default instead */
-     w = elm_config_finger_size_get() >> 1; /* Finger size devided by 2 */
+     w = elm_config_finger_size_get() >> 1; /* Finger size divided by 2 */
 
    if (xx1 < (xx2 - w))
      return EINA_FALSE;
@@ -1660,7 +1660,7 @@ static Eina_Bool
 _tap_gesture_check_finish(Gesture_Info *gesture, Evas_Coord tap_finger_size)
 {
    /* Here we check if taps-gesture was completed successfuly */
-   /* Count how many taps were recieved on each device then   */
+   /* Count how many taps were received on each device then   */
    /* determine if it matches n_taps_needed defined on START  */
    unsigned int i;
    Taps_Type *st = gesture->data;
index 8552fbff93c62d3963eebe612f3c31b4a06fdd54..8d7ab7b944cc3e77764076b1151190f05b1510cf 100644 (file)
@@ -165,7 +165,7 @@ struct _Elm_Prefs_Item_Iface
 
    Eina_Bool                  (*editable_get)(Evas_Object *obj); /**< function to retrieve whether an item widget is editable or not */
 
-   Eina_Bool                  (*expand_want)(Evas_Object *obj); /**< function to get wether the item implementation needs to be expanded in the page's longitudinal axis or not */
+   Eina_Bool                  (*expand_want)(Evas_Object *obj); /**< function to get whether the item implementation needs to be expanded in the page's longitudinal axis or not */
 };
 
 typedef struct _Elm_Prefs_Item_Iface_Info Elm_Prefs_Item_Iface_Info;
index affc198065522b6f4125071c2c6fc473fbe3ccc0..b4eaf2b7e53b86db3fec4f74819511b458b3e76c 100644 (file)
@@ -486,7 +486,7 @@ _elm_store_new(size_t size)
    eina_magic_string_set(ELM_STORE_MAGIC, "Elm_Store");
    eina_magic_string_set(ELM_STORE_FILESYSTEM_MAGIC, "Elm_Store_Filesystem");
    eina_magic_string_set(ELM_STORE_ITEM_MAGIC, "Elm_Store_Item");
-   // setup default item class (always the same) if list cb doesnt provide one
+   // setup default item class (always the same) if list cb doesn't provide one
    _store_item_class.item_style = "default";
    _store_item_class.func.text_get = _store_item_text_get;
    _store_item_class.func.content_get  = _store_item_content_get;
index 6e4408abb579647b25a4087b3f64002bdf259cd8..61e70d19ef459b9e78e8bb067cd3dd272cf14d80 100644 (file)
@@ -228,7 +228,7 @@ struct _Overlay_Circle
 {
    Elm_Map_Data *wsd;
    double              lon, lat;
-   double              radius; // Intial pixel in intial view
+   double              radius; // Initial pixel in initial view
    double              ratio; // initial-radius/map-size
    Evas_Object        *obj;
 };
index 05fbcecddd060f25d4bbac359e1579fd17a50daf..12bc7c1f680db7d422823882b6983fa0ac0693fe 100644 (file)
@@ -2978,7 +2978,7 @@ _elm_win_frame_add(Elm_Win_Data *sd,
 #endif
 
    /* NB: Do NOT remove these calls !! Needed to calculate proper
-    * framespace on inital show of the window */
+    * framespace on initial show of the window */
    edje_object_size_min_calc(sd->frame_obj, &mw, &mh);
    evas_object_move(sd->frame_obj, 0, 0);
    evas_object_resize(sd->frame_obj, mw, mh);
@@ -5562,7 +5562,7 @@ _on_atspi_bus_connected(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Ev
         /**
          * Reemit accessibility events when AT-SPI2 connection is begin
          * established. This assures that Assistive Technology clients will
-         * recieve all org.a11y.window events and could keep track of active
+         * receive all org.a11y.window events and could keep track of active
          * windows whithin system.
          */
         elm_interface_atspi_window_created_signal_emit(win);
index bf7c3b55fded49fd9638a96e3a869e6f7f120bb9..23fbdbf4aa09b0a30550c00f88cda2397cadad3f 100644 (file)
@@ -209,7 +209,7 @@ START_TEST (elm_atspi_description_set)
 }
 END_TEST
 
-/* Test if intial description value is NULL */
+/* Test if initial description value is NULL */
 START_TEST (elm_atspi_description_get)
 {
    elm_init(0, NULL);