summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorRoss Vandegrift <ross@kallisti.us>2017-12-13 09:53:33 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-12-13 10:27:48 -0800
commit71e5c74eb6919114a9a96d8c282e7b931d20981f (patch)
tree7beeb2ab8087639cd072b83b3923950fd3995091 /src/lib
parent750e45e287d9b1046c49fcbd0c25423abe16a35b (diff)
efl: drop deprecated Encoding key from desktop files
Summary: The Encoding key is no longer required, all desktop files are assumed to be UTF-8 encoded. See details at: https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html Fix various typos and misspellings lintian, Debian's package checker, uses strings to check for common typos in compiled binaries. This change fixes the ones it identified in 1.20.6. Reviewers: cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5584 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore/ecore_timer.c2
-rw-r--r--src/lib/ecore_buffer/ecore_buffer_consumer.c6
-rw-r--r--src/lib/ecore_con/efl_net_control_access_point-connman.c6
-rw-r--r--src/lib/eet/eet_data.c6
-rw-r--r--src/lib/eeze/eeze_disk_mount.c4
-rw-r--r--src/lib/eina/eina_array.c2
-rw-r--r--src/lib/eina/eina_inarray.c2
-rw-r--r--src/lib/elementary/efl_ui_image.c2
-rw-r--r--src/lib/elementary/elm_atspi_bridge.c2
-rw-r--r--src/lib/elementary/elm_transit.c6
-rw-r--r--src/lib/elocation/elocation.c2
-rw-r--r--src/lib/emotion/emotion_smart.c2
-rw-r--r--src/lib/evas/canvas/evas_object_image.c2
-rw-r--r--src/lib/evas/canvas/evas_object_table.c4
-rw-r--r--src/lib/evas/common3d/save_load/evas_model_load_save_common.c2
-rw-r--r--src/lib/evas/filters/evas_filter_parser.c2
16 files changed, 26 insertions, 26 deletions
diff --git a/src/lib/ecore/ecore_timer.c b/src/lib/ecore/ecore_timer.c
index 128158d93c..ed63c72295 100644
--- a/src/lib/ecore/ecore_timer.c
+++ b/src/lib/ecore/ecore_timer.c
@@ -469,7 +469,7 @@ _efl_loop_timer_util_instanciate(Efl_Loop_Timer_Data *timer)
469 469
470 if (!timer->initialized) 470 if (!timer->initialized)
471 { 471 {
472 ERR("Trying to instanciate an uninitialized timer is impossible."); 472 ERR("Trying to instantiate an uninitialized timer is impossible.");
473 return ; 473 return ;
474 } 474 }
475 475
diff --git a/src/lib/ecore_buffer/ecore_buffer_consumer.c b/src/lib/ecore_buffer/ecore_buffer_consumer.c
index 59a4a046cf..d32026d891 100644
--- a/src/lib/ecore_buffer/ecore_buffer_consumer.c
+++ b/src/lib/ecore_buffer/ecore_buffer_consumer.c
@@ -169,7 +169,7 @@ ecore_buffer_consumer_buffer_dequeue(Ecore_Buffer_Consumer *consumer)
169 // This should not happen. 169 // This should not happen.
170 if (_shared_buffer_state_get(sb) != SHARED_BUFFER_STATE_ENQUEUE) 170 if (_shared_buffer_state_get(sb) != SHARED_BUFFER_STATE_ENQUEUE)
171 { 171 {
172 ERR("Unknown error occured - Not on Enqueued State: buffer %p, state %s", 172 ERR("Unknown error occurred - Not on Enqueued State: buffer %p, state %s",
173 sb, _shared_buffer_state_string_get(sb)); 173 sb, _shared_buffer_state_string_get(sb));
174 return NULL; 174 return NULL;
175 } 175 }
@@ -357,7 +357,7 @@ _ecore_buffer_consumer_cb_add_buffer(void *data, struct bq_consumer *bq_consumer
357 357
358 if (!sb) 358 if (!sb)
359 { 359 {
360 ERR("Unknown Error occured - maybe this buffer is not shared yet"); 360 ERR("Unknown Error occurred - maybe this buffer is not shared yet");
361 return; 361 return;
362 } 362 }
363 363
@@ -365,7 +365,7 @@ _ecore_buffer_consumer_cb_add_buffer(void *data, struct bq_consumer *bq_consumer
365 if ((state != SHARED_BUFFER_STATE_IMPORT) && 365 if ((state != SHARED_BUFFER_STATE_IMPORT) &&
366 (state != SHARED_BUFFER_STATE_RELEASE)) 366 (state != SHARED_BUFFER_STATE_RELEASE))
367 { 367 {
368 ERR("Unknown Error occured - Could not enqueued this state of buffer: buffer %p, state %s", 368 ERR("Unknown Error occurred - Could not enqueued this state of buffer: buffer %p, state %s",
369 sb, _shared_buffer_state_string_get(sb)); 369 sb, _shared_buffer_state_string_get(sb));
370 return; 370 return;
371 } 371 }
diff --git a/src/lib/ecore_con/efl_net_control_access_point-connman.c b/src/lib/ecore_con/efl_net_control_access_point-connman.c
index 634bebc857..efb4730859 100644
--- a/src/lib/ecore_con/efl_net_control_access_point-connman.c
+++ b/src/lib/ecore_con/efl_net_control_access_point-connman.c
@@ -621,7 +621,7 @@ _efl_net_control_access_point_configuration_ipv6_set(Eo *o, Efl_Net_Control_Acce
621 break; 621 break;
622 case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_TEMPORARY: 622 case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_TEMPORARY:
623 _append_dict_entry(array, "Method", "s", "auto"); 623 _append_dict_entry(array, "Method", "s", "auto");
624 _append_dict_entry(array, "Privacy", "s", "prefered"); 624 _append_dict_entry(array, "Privacy", "s", "preferred");
625 break; 625 break;
626 } 626 }
627 627
@@ -1238,7 +1238,7 @@ _efl_net_control_access_point_property_actual_ipv6_changed(Eo *o EINA_UNUSED, Ef
1238 pd->actual.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_NONE; 1238 pd->actual.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_NONE;
1239 else if (strcmp(str, "enabled") == 0) 1239 else if (strcmp(str, "enabled") == 0)
1240 pd->actual.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_PUBLIC; 1240 pd->actual.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_PUBLIC;
1241 else if (strcmp(str, "prefered") == 0) 1241 else if (strcmp(str, "preferred") == 0)
1242 pd->actual.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_TEMPORARY; 1242 pd->actual.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_TEMPORARY;
1243 else 1243 else
1244 WRN("Unexpected IPV6 Privacy value '%s'", str); 1244 WRN("Unexpected IPV6 Privacy value '%s'", str);
@@ -1460,7 +1460,7 @@ _efl_net_control_access_point_property_configured_ipv6_changed(Eo *o EINA_UNUSED
1460 pd->configured.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_NONE; 1460 pd->configured.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_NONE;
1461 else if (strcmp(str, "enabled") == 0) 1461 else if (strcmp(str, "enabled") == 0)
1462 pd->configured.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_PUBLIC; 1462 pd->configured.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_PUBLIC;
1463 else if (strcmp(str, "prefered") == 0) 1463 else if (strcmp(str, "preferred") == 0)
1464 pd->configured.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_TEMPORARY; 1464 pd->configured.ipv6.method = EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_AUTO_PRIVACY_TEMPORARY;
1465 else 1465 else
1466 WRN("Unexpected IPV6 Privacy value '%s'", str); 1466 WRN("Unexpected IPV6 Privacy value '%s'", str);
diff --git a/src/lib/eet/eet_data.c b/src/lib/eet/eet_data.c
index b0231ad548..bef8d7c071 100644
--- a/src/lib/eet/eet_data.c
+++ b/src/lib/eet/eet_data.c
@@ -2149,7 +2149,7 @@ eet_data_descriptor_element_add(Eet_Data_Descriptor *edd,
2149 if (type < EET_T_UNKNOW || 2149 if (type < EET_T_UNKNOW ||
2150 type >= EET_T_LAST) 2150 type >= EET_T_LAST)
2151 { 2151 {
2152 CRI("Preventing later bug due to unknow type: %i", type); 2152 CRI("Preventing later bug due to unknown type: %i", type);
2153 return; 2153 return;
2154 } 2154 }
2155 if (offset < 0) 2155 if (offset < 0)
@@ -2869,7 +2869,7 @@ _eet_data_dump_token_get(const char *src,
2869 TOK_ADD(p[0]); 2869 TOK_ADD(p[0]);
2870 break; 2870 break;
2871 default: 2871 default:
2872 ERR("Unknow escape character %#x (%c). Append as is", 2872 ERR("Unknown escape character %#x (%c). Append as is",
2873 p[0], p[0]); 2873 p[0], p[0]);
2874 TOK_ADD(p[0]); 2874 TOK_ADD(p[0]);
2875 } 2875 }
@@ -4585,7 +4585,7 @@ case Eet_Type: \
4585 return eet_node_null_new(name); 4585 return eet_node_null_new(name);
4586 4586
4587 default: 4587 default:
4588 ERR("Unknow type passed to eet_data_node_simple_type"); 4588 ERR("Unknown type passed to eet_data_node_simple_type");
4589 return NULL; 4589 return NULL;
4590 } 4590 }
4591} 4591}
diff --git a/src/lib/eeze/eeze_disk_mount.c b/src/lib/eeze/eeze_disk_mount.c
index 56b8fa9186..f6ba1207a1 100644
--- a/src/lib/eeze/eeze_disk_mount.c
+++ b/src/lib/eeze/eeze_disk_mount.c
@@ -122,7 +122,7 @@ _eeze_disk_mount_result_handler(void *data EINA_UNUSED, int type EINA_UNUSED, Ec
122 else 122 else
123 { 123 {
124 disk->mount_fail_count = 0; 124 disk->mount_fail_count = 0;
125 _eeze_disk_mount_error_handler(disk, "Maximimum number of mount-related failures reached"); 125 _eeze_disk_mount_error_handler(disk, "Maximum number of mount-related failures reached");
126 } 126 }
127 return ECORE_CALLBACK_RENEW; 127 return ECORE_CALLBACK_RENEW;
128 } 128 }
@@ -158,7 +158,7 @@ _eeze_disk_mount_result_handler(void *data EINA_UNUSED, int type EINA_UNUSED, Ec
158 else 158 else
159 { 159 {
160 disk->mount_fail_count = 0; 160 disk->mount_fail_count = 0;
161 _eeze_disk_mount_error_handler(disk, "Maximimum number of mount-related failures reached"); 161 _eeze_disk_mount_error_handler(disk, "Maximum number of mount-related failures reached");
162 } 162 }
163 return ECORE_CALLBACK_RENEW; 163 return ECORE_CALLBACK_RENEW;
164 } 164 }
diff --git a/src/lib/eina/eina_array.c b/src/lib/eina/eina_array.c
index 2a7446e647..cda5181213 100644
--- a/src/lib/eina/eina_array.c
+++ b/src/lib/eina/eina_array.c
@@ -310,7 +310,7 @@ eina_array_step_set(Eina_Array *array,
310 310
311 if (sizeof (Eina_Array) != sizeof_eina_array) 311 if (sizeof (Eina_Array) != sizeof_eina_array)
312 { 312 {
313 ERR("Unknow Eina_Array size ! Got %i, expected %i !\n", 313 ERR("Unknown Eina_Array size ! Got %i, expected %i !\n",
314 sizeof_eina_array, 314 sizeof_eina_array,
315 (int) sizeof (Eina_Array)); 315 (int) sizeof (Eina_Array));
316 /* Force memory to zero to provide a small layer of security */ 316 /* Force memory to zero to provide a small layer of security */
diff --git a/src/lib/eina/eina_inarray.c b/src/lib/eina/eina_inarray.c
index 80bb3ea059..709ae6ff36 100644
--- a/src/lib/eina/eina_inarray.c
+++ b/src/lib/eina/eina_inarray.c
@@ -373,7 +373,7 @@ eina_inarray_step_set(Eina_Inarray *array,
373 373
374 if (sizeof (Eina_Inarray) != sizeof_eina_inarray) 374 if (sizeof (Eina_Inarray) != sizeof_eina_inarray)
375 { 375 {
376 ERR("Unknow Eina_Inarray size ! Got %i, expected %i\n", 376 ERR("Unknown Eina_Inarray size ! Got %i, expected %i\n",
377 sizeof_eina_inarray, 377 sizeof_eina_inarray,
378 (int) sizeof (Eina_Inarray)); 378 (int) sizeof (Eina_Inarray));
379 /* Force memory to zero to provide a small layer of security */ 379 /* Force memory to zero to provide a small layer of security */
diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c
index dd184a5286..a9f0157af0 100644
--- a/src/lib/elementary/efl_ui_image.c
+++ b/src/lib/elementary/efl_ui_image.c
@@ -40,7 +40,7 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = {
40 {SIG_DOWNLOAD_ERROR, ""}, 40 {SIG_DOWNLOAD_ERROR, ""},
41 {SIG_LOAD_OPEN, "Triggered when the file has been opened (image size is known)"}, 41 {SIG_LOAD_OPEN, "Triggered when the file has been opened (image size is known)"},
42 {SIG_LOAD_READY, "Triggered when the image file is ready for display"}, 42 {SIG_LOAD_READY, "Triggered when the image file is ready for display"},
43 {SIG_LOAD_ERROR, "Triggered whenener an I/O or decoding error occured"}, 43 {SIG_LOAD_ERROR, "Triggered whenener an I/O or decoding error occurred"},
44 {SIG_LOAD_CANCEL, "Triggered whenener async I/O was cancelled"}, 44 {SIG_LOAD_CANCEL, "Triggered whenener async I/O was cancelled"},
45 {NULL, NULL} 45 {NULL, NULL}
46}; 46};
diff --git a/src/lib/elementary/elm_atspi_bridge.c b/src/lib/elementary/elm_atspi_bridge.c
index 6f8e2064fc..09ea6a1693 100644
--- a/src/lib/elementary/elm_atspi_bridge.c
+++ b/src/lib/elementary/elm_atspi_bridge.c
@@ -1890,7 +1890,7 @@ _editable_text_text_insert(const Eldbus_Service_Interface *iface, const Eldbus_M
1890 ELM_ATSPI_OBJ_CHECK_OR_RETURN_DBUS_ERROR(obj, EFL_ACCESS_EDITABLE_TEXT_INTERFACE, msg); 1890 ELM_ATSPI_OBJ_CHECK_OR_RETURN_DBUS_ERROR(obj, EFL_ACCESS_EDITABLE_TEXT_INTERFACE, msg);
1891 1891
1892 if (!eldbus_message_arguments_get(msg, "isi", &pos, &text, &len)) 1892 if (!eldbus_message_arguments_get(msg, "isi", &pos, &text, &len))
1893 return eldbus_message_error_new(msg, "org.freedesktop.DBus.Error.InvalidArgs", "Postion, string, length expected."); 1893 return eldbus_message_error_new(msg, "org.freedesktop.DBus.Error.InvalidArgs", "Position, string, length expected.");
1894 1894
1895 ret = eldbus_message_method_return_new(msg); 1895 ret = eldbus_message_method_return_new(msg);
1896 EINA_SAFETY_ON_NULL_RETURN_VAL(ret, NULL); 1896 EINA_SAFETY_ON_NULL_RETURN_VAL(ret, NULL);
diff --git a/src/lib/elementary/elm_transit.c b/src/lib/elementary/elm_transit.c
index af68978706..7ff9a9b26d 100644
--- a/src/lib/elementary/elm_transit.c
+++ b/src/lib/elementary/elm_transit.c
@@ -589,7 +589,7 @@ elm_transit_effect_add(Elm_Transit *transit, Elm_Transit_Effect_Transition_Cb tr
589 EINA_INLIST_FOREACH(transit->effect_list, effect_module) 589 EINA_INLIST_FOREACH(transit->effect_list, effect_module)
590 if ((effect_module->transition_cb == transition_cb) && (effect_module->effect == effect)) 590 if ((effect_module->transition_cb == transition_cb) && (effect_module->effect == effect))
591 { 591 {
592 WRN("elm_transit does not allow to add the duplicated effect! : transit=%p", transit); 592 WRN("elm_transit does not allow one to add the duplicated effect! : transit=%p", transit);
593 return; 593 return;
594 } 594 }
595 595
@@ -792,7 +792,7 @@ elm_transit_duration_set(Elm_Transit *transit, double duration)
792 ELM_TRANSIT_CHECK_OR_RETURN(transit); 792 ELM_TRANSIT_CHECK_OR_RETURN(transit);
793 if (transit->animator) 793 if (transit->animator)
794 { 794 {
795 WRN("elm_transit does not allow to set the duration time in operating! : transit=%p", transit); 795 WRN("elm_transit does not allow one to set the duration time in operating! : transit=%p", transit);
796 return; 796 return;
797 } 797 }
798 transit->time.duration = duration; 798 transit->time.duration = duration;
@@ -918,7 +918,7 @@ elm_transit_objects_final_state_keep_set(Elm_Transit *transit, Eina_Bool state_k
918 if (transit->state_keep == state_keep) return; 918 if (transit->state_keep == state_keep) return;
919 if (transit->animator) 919 if (transit->animator)
920 { 920 {
921 WRN("elm_transit does not allow to change final state keep mode in operating! : transit=%p", transit); 921 WRN("elm_transit does not allow one to change final state keep mode in operating! : transit=%p", transit);
922 return; 922 return;
923 } 923 }
924 transit->state_keep = !!state_keep; 924 transit->state_keep = !!state_keep;
diff --git a/src/lib/elocation/elocation.c b/src/lib/elocation/elocation.c
index dc00a00aa1..0edf925480 100644
--- a/src/lib/elocation/elocation.c
+++ b/src/lib/elocation/elocation.c
@@ -985,7 +985,7 @@ _name_owner_changed(void *data EINA_UNUSED, const char *bus EINA_UNUSED, const c
985 } 985 }
986 else 986 else
987 { 987 {
988 DBG("unknow change from %s to %s", old, new); 988 DBG("unknown change from %s to %s", old, new);
989 } 989 }
990} 990}
991 991
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index 04e190151f..8feac862b1 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -355,7 +355,7 @@ _efl_canvas_video_efl_file_file_set(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *
355 if (!sd->engine_instance) _engine_init(obj, sd); 355 if (!sd->engine_instance) _engine_init(obj, sd);
356 if (!sd->engine_instance) 356 if (!sd->engine_instance)
357 { 357 {
358 WRN("No engine choosen. Please set an engine."); 358 WRN("No engine chosen. Please set an engine.");
359 return EINA_FALSE; 359 return EINA_FALSE;
360 } 360 }
361 361
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index e565baf9b0..02be7f017b 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -3462,7 +3462,7 @@ _evas_image_data_convert_internal(Evas_Image_Data *o, void *data, Evas_Colorspac
3462 break; 3462 break;
3463 3463
3464 default: 3464 default:
3465 WRN("unknow colorspace: %i\n", o->cur->cspace); 3465 WRN("unknown colorspace: %i\n", o->cur->cspace);
3466 break; 3466 break;
3467 } 3467 }
3468 3468
diff --git a/src/lib/evas/canvas/evas_object_table.c b/src/lib/evas/canvas/evas_object_table.c
index e05c686e73..a07461f0f3 100644
--- a/src/lib/evas/canvas/evas_object_table.c
+++ b/src/lib/evas/canvas/evas_object_table.c
@@ -405,13 +405,13 @@ _evas_object_table_calculate_hints_homogeneous(Evas_Object *o, Evas_Table_Data *
405 if (o_minw < 1) 405 if (o_minw < 1)
406 { 406 {
407 ERR("homogeneous table based on item size but no " 407 ERR("homogeneous table based on item size but no "
408 "horizontal mininum size specified! Using expand."); 408 "horizontal minimum size specified! Using expand.");
409 expand_h = 1; 409 expand_h = 1;
410 } 410 }
411 if (o_minh < 1) 411 if (o_minh < 1)
412 { 412 {
413 ERR("homogeneous table based on item size but no " 413 ERR("homogeneous table based on item size but no "
414 "vertical mininum size specified! Using expand."); 414 "vertical minimum size specified! Using expand.");
415 expand_v = 1; 415 expand_v = 1;
416 } 416 }
417 } 417 }
diff --git a/src/lib/evas/common3d/save_load/evas_model_load_save_common.c b/src/lib/evas/common3d/save_load/evas_model_load_save_common.c
index 925793b0dc..309b8435cc 100644
--- a/src/lib/evas/common3d/save_load/evas_model_load_save_common.c
+++ b/src/lib/evas/common3d/save_load/evas_model_load_save_common.c
@@ -165,7 +165,7 @@ evas_model_load_aabb_add_to_frame(Evas_Canvas3D_Mesh *mesh,
165 165
166 if (!evas_canvas3d_mesh_aabb_add_to_frame(pd, frame, stride.positions)) 166 if (!evas_canvas3d_mesh_aabb_add_to_frame(pd, frame, stride.positions))
167 { 167 {
168 ERR("Axis-Aligned Bounding Box wan't added in frame %d ", 0); 168 ERR("Axis-Aligned Bounding Box wasn't added in frame %d ", 0);
169 } 169 }
170} 170}
171 171
diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c
index cf276b29cd..e916b2efc7 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -889,7 +889,7 @@ _lua_buffer_new(lua_State *L)
889 if (!_lua_instruction_run(L, instr)) 889 if (!_lua_instruction_run(L, instr))
890 { 890 {
891 _instruction_del(instr); 891 _instruction_del(instr);
892 return luaL_error(L, "buffer instanciation failed"); 892 return luaL_error(L, "buffer instantiation failed");
893 } 893 }
894 else 894 else
895 { 895 {