forked from enlightenment/efl
Fix typos
Fix some typos Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12015
This commit is contained in:
parent
fd4f4c4364
commit
3e7f317313
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue