summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2018-05-13 17:28:47 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2018-05-13 17:28:47 +0200
commit6be3809c04fad847e353edecf5b6eef3c8766df4 (patch)
tree3ea4e72abebffd2446192829b510bef8ca0cfadb
parent1f4f7e859795c175fddcdceafc25ee89ac78511b (diff)
eolian: first batch of unused import removals
Initial results of our static analysis showed a bunch of unused imports or imports used only for documentation references. In the first case, remove entirely, in the second case, change to 'parse' in order to keep references working. The static analysis is not perfect and yields false negatives for certain cases, so there will be a second batch later.
-rw-r--r--src/lib/ecore/ecore_event_message.eo1
-rw-r--r--src/lib/ecore/ecore_event_message_handler.eo1
-rw-r--r--src/lib/ecore/efl_appthread.eo1
-rw-r--r--src/lib/ecore/efl_exe.eo1
-rw-r--r--src/lib/ecore/efl_loop.eo1
-rw-r--r--src/lib/ecore/efl_loop_message.eo1
-rw-r--r--src/lib/ecore/efl_loop_message_future.eo1
-rw-r--r--src/lib/ecore/efl_loop_message_future_handler.eo1
-rw-r--r--src/lib/ecore/efl_loop_message_handler.eo1
-rw-r--r--src/lib/ecore/efl_task.eo1
-rw-r--r--src/lib/ecore/efl_thread.eo1
-rw-r--r--src/lib/ecore/efl_threadio.eo2
-rw-r--r--src/lib/ecore_con/efl_net_control_technology.eo2
-rw-r--r--src/lib/edje/efl_canvas_layout.eo2
-rw-r--r--src/lib/edje/efl_layout_group.eo1
-rw-r--r--src/lib/efl/interfaces/efl_gfx_entity.eo1
-rw-r--r--src/lib/efl/interfaces/efl_gfx_image.eo1
-rw-r--r--src/lib/efl/interfaces/efl_orientation.eo2
-rw-r--r--src/lib/efl/interfaces/efl_pack_table.eo1
-rw-r--r--src/lib/efl/interfaces/efl_text_annotate.eo1
-rw-r--r--src/lib/efl/interfaces/efl_ui_direction.eo2
-rw-r--r--src/lib/efl/interfaces/efl_ui_format.eo2
-rw-r--r--src/lib/eldbus/eldbus_types.eot2
-rw-r--r--src/lib/elementary/efl_ui_flip.eo2
-rw-r--r--src/lib/elementary/elm_box.eo2
-rw-r--r--src/lib/elementary/elm_code_widget.eo1
-rw-r--r--src/lib/evas/canvas/efl_input_pointer.eo1
-rw-r--r--src/lib/evas/include/evas_ector_buffer.eo2
28 files changed, 5 insertions, 33 deletions
diff --git a/src/lib/ecore/ecore_event_message.eo b/src/lib/ecore/ecore_event_message.eo
index c1359b0..57d3848 100644
--- a/src/lib/ecore/ecore_event_message.eo
+++ b/src/lib/ecore/ecore_event_message.eo
@@ -1,4 +1,3 @@
1import efl_types;
2import eina_types; 1import eina_types;
3 2
4class Ecore.Event.Message (Efl.Loop_Message) 3class Ecore.Event.Message (Efl.Loop_Message)
diff --git a/src/lib/ecore/ecore_event_message_handler.eo b/src/lib/ecore/ecore_event_message_handler.eo
index 2601ae9..b12e6f8 100644
--- a/src/lib/ecore/ecore_event_message_handler.eo
+++ b/src/lib/ecore/ecore_event_message_handler.eo
@@ -1,4 +1,3 @@
1import efl_types;
2import eina_types; 1import eina_types;
3 2
4class Ecore.Event.Message.Handler (Efl.Loop_Message_Handler) 3class Ecore.Event.Message.Handler (Efl.Loop_Message_Handler)
diff --git a/src/lib/ecore/efl_appthread.eo b/src/lib/ecore/efl_appthread.eo
index 67de1c7..58984ed 100644
--- a/src/lib/ecore/efl_appthread.eo
+++ b/src/lib/ecore/efl_appthread.eo
@@ -1,4 +1,3 @@
1import efl_types;
2import eina_types; 1import eina_types;
3 2
4class Efl.Appthread (Efl.Loop, Efl.ThreadIO) 3class Efl.Appthread (Efl.Loop, Efl.ThreadIO)
diff --git a/src/lib/ecore/efl_exe.eo b/src/lib/ecore/efl_exe.eo
index 4fd5854..59b8991 100644
--- a/src/lib/ecore/efl_exe.eo
+++ b/src/lib/ecore/efl_exe.eo
@@ -1,4 +1,3 @@
1import efl_types;
2import eina_types; 1import eina_types;
3 2
4enum Efl.Exe.Signal { 3enum Efl.Exe.Signal {
diff --git a/src/lib/ecore/efl_loop.eo b/src/lib/ecore/efl_loop.eo
index e1d5c3f..7006e69 100644
--- a/src/lib/ecore/efl_loop.eo
+++ b/src/lib/ecore/efl_loop.eo
@@ -1,4 +1,3 @@
1import efl_types;
2import eina_types; 1import eina_types;
3 2
4struct Efl.Loop_Arguments { 3struct Efl.Loop_Arguments {
diff --git a/src/lib/ecore/efl_loop_message.eo b/src/lib/ecore/efl_loop_message.eo
index 57a81c5..a807926 100644
--- a/src/lib/ecore/efl_loop_message.eo
+++ b/src/lib/ecore/efl_loop_message.eo
@@ -1,4 +1,3 @@
1import efl_types;
2import eina_types; 1import eina_types;
3 2
4class Efl.Loop_Message (Efl.Object) 3class Efl.Loop_Message (Efl.Object)
diff --git a/src/lib/ecore/efl_loop_message_future.eo b/src/lib/ecore/efl_loop_message_future.eo
index ec90dcf..02d8cb4 100644
--- a/src/lib/ecore/efl_loop_message_future.eo
+++ b/src/lib/ecore/efl_loop_message_future.eo
@@ -1,4 +1,3 @@
1import efl_types;
2import eina_types; 1import eina_types;
3 2
4class Efl.Loop_Message_Future (Efl.Loop_Message) 3class Efl.Loop_Message_Future (Efl.Loop_Message)
diff --git a/src/lib/ecore/efl_loop_message_future_handler.eo b/src/lib/ecore/efl_loop_message_future_handler.eo
index cc0f5a8..06ccb54 100644
--- a/src/lib/ecore/efl_loop_message_future_handler.eo
+++ b/src/lib/ecore/efl_loop_message_future_handler.eo
@@ -1,4 +1,3 @@
1import efl_types;
2import eina_types; 1import eina_types;
3 2
4class Efl.Loop_Message_Future_Handler (Efl.Loop_Message_Handler) 3class Efl.Loop_Message_Future_Handler (Efl.Loop_Message_Handler)
diff --git a/src/lib/ecore/efl_loop_message_handler.eo b/src/lib/ecore/efl_loop_message_handler.eo
index 9d95519..7888fbc 100644
--- a/src/lib/ecore/efl_loop_message_handler.eo
+++ b/src/lib/ecore/efl_loop_message_handler.eo
@@ -1,4 +1,3 @@
1import efl_types;
2import eina_types; 1import eina_types;
3 2
4class Efl.Loop_Message_Handler (Efl.Object) 3class Efl.Loop_Message_Handler (Efl.Object)
diff --git a/src/lib/ecore/efl_task.eo b/src/lib/ecore/efl_task.eo
index 3d4e6e9..0c6a4c1 100644
--- a/src/lib/ecore/efl_task.eo
+++ b/src/lib/ecore/efl_task.eo
@@ -1,4 +1,3 @@
1import efl_types;
2import eina_types; 1import eina_types;
3 2
4enum Efl.Task.Priority { 3enum Efl.Task.Priority {
diff --git a/src/lib/ecore/efl_thread.eo b/src/lib/ecore/efl_thread.eo
index 15f8173..b3b6cc0 100644
--- a/src/lib/ecore/efl_thread.eo
+++ b/src/lib/ecore/efl_thread.eo
@@ -1,4 +1,3 @@
1import efl_types;
2import eina_types; 1import eina_types;
3 2
4class Efl.Thread (Efl.Task, Efl.ThreadIO) 3class Efl.Thread (Efl.Task, Efl.ThreadIO)
diff --git a/src/lib/ecore/efl_threadio.eo b/src/lib/ecore/efl_threadio.eo
index bfb7e26..8cca728 100644
--- a/src/lib/ecore/efl_threadio.eo
+++ b/src/lib/ecore/efl_threadio.eo
@@ -1,4 +1,4 @@
1import efl_types; 1import efl_object;
2import eina_types; 2import eina_types;
3 3
4function EFlThreadIOCall { 4function EFlThreadIOCall {
diff --git a/src/lib/ecore_con/efl_net_control_technology.eo b/src/lib/ecore_con/efl_net_control_technology.eo
index eecf21a..bbf7af8 100644
--- a/src/lib/ecore_con/efl_net_control_technology.eo
+++ b/src/lib/ecore_con/efl_net_control_technology.eo
@@ -1,5 +1,3 @@
1import efl_net_control_access_point;
2
3enum Efl.Net.Control.Technology_Type { 1enum Efl.Net.Control.Technology_Type {
4 [[Technology types 2 [[Technology types
5 3
diff --git a/src/lib/edje/efl_canvas_layout.eo b/src/lib/edje/efl_canvas_layout.eo
index 2610ab2..62c16c5 100644
--- a/src/lib/edje/efl_canvas_layout.eo
+++ b/src/lib/edje/efl_canvas_layout.eo
@@ -1,5 +1,3 @@
1import edje_types;
2
3// FIXME: This EO doc needs a direct link to the "edcref" doc 1// FIXME: This EO doc needs a direct link to the "edcref" doc
4 2
5class Efl.Canvas.Layout (Efl.Canvas.Group, Efl.File, Efl.Container, Efl.Part, 3class Efl.Canvas.Layout (Efl.Canvas.Group, Efl.File, Efl.Container, Efl.Part,
diff --git a/src/lib/edje/efl_layout_group.eo b/src/lib/edje/efl_layout_group.eo
index a3334cc..864a3a8 100644
--- a/src/lib/edje/efl_layout_group.eo
+++ b/src/lib/edje/efl_layout_group.eo
@@ -1,5 +1,4 @@
1import eina_types; 1import eina_types;
2import edje_types;
3 2
4interface Efl.Layout.Group 3interface Efl.Layout.Group
5{ 4{
diff --git a/src/lib/efl/interfaces/efl_gfx_entity.eo b/src/lib/efl/interfaces/efl_gfx_entity.eo
index 5133c80..b304a3e 100644
--- a/src/lib/efl/interfaces/efl_gfx_entity.eo
+++ b/src/lib/efl/interfaces/efl_gfx_entity.eo
@@ -1,5 +1,4 @@
1import eina_types; 1import eina_types;
2import efl_gfx_types;
3 2
4interface Efl.Gfx.Entity { 3interface Efl.Gfx.Entity {
5 [[Efl graphics interface]] 4 [[Efl graphics interface]]
diff --git a/src/lib/efl/interfaces/efl_gfx_image.eo b/src/lib/efl/interfaces/efl_gfx_image.eo
index f71c23f..6a0d10c 100644
--- a/src/lib/efl/interfaces/efl_gfx_image.eo
+++ b/src/lib/efl/interfaces/efl_gfx_image.eo
@@ -1,5 +1,4 @@
1import efl_gfx_types; 1import efl_gfx_types;
2import efl_gfx_fill;
3 2
4enum Efl.Gfx.Image_Content_Hint 3enum Efl.Gfx.Image_Content_Hint
5{ 4{
diff --git a/src/lib/efl/interfaces/efl_orientation.eo b/src/lib/efl/interfaces/efl_orientation.eo
index 087de1b..4f83c25 100644
--- a/src/lib/efl/interfaces/efl_orientation.eo
+++ b/src/lib/efl/interfaces/efl_orientation.eo
@@ -1,4 +1,4 @@
1import efl_ui_direction; // For documentation references 1parse efl_ui_direction;
2 2
3enum Efl.Orient 3enum Efl.Orient
4{ 4{
diff --git a/src/lib/efl/interfaces/efl_pack_table.eo b/src/lib/efl/interfaces/efl_pack_table.eo
index 335b269..33323ac 100644
--- a/src/lib/efl/interfaces/efl_pack_table.eo
+++ b/src/lib/efl/interfaces/efl_pack_table.eo
@@ -1,4 +1,3 @@
1import efl_gfx_types;
2import efl_ui_direction; 1import efl_ui_direction;
3 2
4interface Efl.Pack_Table (Efl.Pack_Linear) 3interface Efl.Pack_Table (Efl.Pack_Linear)
diff --git a/src/lib/efl/interfaces/efl_text_annotate.eo b/src/lib/efl/interfaces/efl_text_annotate.eo
index bb40725..f22209e 100644
--- a/src/lib/efl/interfaces/efl_text_annotate.eo
+++ b/src/lib/efl/interfaces/efl_text_annotate.eo
@@ -1,4 +1,3 @@
1import eina_types;
2import efl_text_types; 1import efl_text_types;
3 2
4interface Efl.Text_Annotate { 3interface Efl.Text_Annotate {
diff --git a/src/lib/efl/interfaces/efl_ui_direction.eo b/src/lib/efl/interfaces/efl_ui_direction.eo
index de0cda0..78bf2cd 100644
--- a/src/lib/efl/interfaces/efl_ui_direction.eo
+++ b/src/lib/efl/interfaces/efl_ui_direction.eo
@@ -1,7 +1,7 @@
1// FIXME: Documentation lacks proper references due to cyclic imports. 1// FIXME: Documentation lacks proper references due to cyclic imports.
2// FIXME: What about AnyRTL? And other strange directions? 2// FIXME: What about AnyRTL? And other strange directions?
3 3
4import efl_orientation; 4parse efl_orientation;
5 5
6enum Efl.Ui.Dir 6enum Efl.Ui.Dir
7{ 7{
diff --git a/src/lib/efl/interfaces/efl_ui_format.eo b/src/lib/efl/interfaces/efl_ui_format.eo
index 88f3962..e78478e 100644
--- a/src/lib/efl/interfaces/efl_ui_format.eo
+++ b/src/lib/efl/interfaces/efl_ui_format.eo
@@ -1,5 +1,3 @@
1import eina_types;
2
3function Efl.Ui.Format_Func_Cb { 1function Efl.Ui.Format_Func_Cb {
4 [[Function pointer for format function hook]] 2 [[Function pointer for format function hook]]
5 params { 3 params {
diff --git a/src/lib/eldbus/eldbus_types.eot b/src/lib/eldbus/eldbus_types.eot
index f68868c..ebd3130 100644
--- a/src/lib/eldbus/eldbus_types.eot
+++ b/src/lib/eldbus/eldbus_types.eot
@@ -1,5 +1,3 @@
1import eina_types;
2
3struct Eldbus.Proxy; [[Represents a client object bound to an interface]] 1struct Eldbus.Proxy; [[Represents a client object bound to an interface]]
4struct Eldbus.Connection; [[Represents a connection of one the type of connection with the DBus daemon.]] 2struct Eldbus.Connection; [[Represents a connection of one the type of connection with the DBus daemon.]]
5struct Eldbus.Object; [[Represents an object path already attached with bus name or unique id]] 3struct Eldbus.Object; [[Represents an object path already attached with bus name or unique id]]
diff --git a/src/lib/elementary/efl_ui_flip.eo b/src/lib/elementary/efl_ui_flip.eo
index fd20daf..7e9da0c 100644
--- a/src/lib/elementary/efl_ui_flip.eo
+++ b/src/lib/elementary/efl_ui_flip.eo
@@ -1,3 +1,5 @@
1import efl_ui_direction;
2
1enum Efl.Ui.Flip_Mode 3enum Efl.Ui.Flip_Mode
2{ 4{
3 [[Efl UI flip mode ]] 5 [[Efl UI flip mode ]]
diff --git a/src/lib/elementary/elm_box.eo b/src/lib/elementary/elm_box.eo
index c728048..72ce671 100644
--- a/src/lib/elementary/elm_box.eo
+++ b/src/lib/elementary/elm_box.eo
@@ -1,5 +1,3 @@
1import evas_box;
2
3class Elm.Box (Efl.Ui.Widget, Efl.Ui.Focus.Composition, Efl.Ui.Legacy) 1class Elm.Box (Efl.Ui.Widget, Efl.Ui.Focus.Composition, Efl.Ui.Legacy)
4{ 2{
5 [[Elementary box class]] 3 [[Elementary box class]]
diff --git a/src/lib/elementary/elm_code_widget.eo b/src/lib/elementary/elm_code_widget.eo
index d3b9dd4..1353eb6 100644
--- a/src/lib/elementary/elm_code_widget.eo
+++ b/src/lib/elementary/elm_code_widget.eo
@@ -1,4 +1,3 @@
1import edje_types;
2import elm_interface_scrollable; 1import elm_interface_scrollable;
3import elm_general; 2import elm_general;
4 3
diff --git a/src/lib/evas/canvas/efl_input_pointer.eo b/src/lib/evas/canvas/efl_input_pointer.eo
index 3628552..03516b6 100644
--- a/src/lib/evas/canvas/efl_input_pointer.eo
+++ b/src/lib/evas/canvas/efl_input_pointer.eo
@@ -1,4 +1,3 @@
1import efl_orientation;
2import efl_input_types; 1import efl_input_types;
3 2
4class Efl.Input.Pointer (Efl.Object, Efl.Input.Event, Efl.Input.State) 3class Efl.Input.Pointer (Efl.Object, Efl.Input.Event, Efl.Input.State)
diff --git a/src/lib/evas/include/evas_ector_buffer.eo b/src/lib/evas/include/evas_ector_buffer.eo
index 77f66a3..8801c5a 100644
--- a/src/lib/evas/include/evas_ector_buffer.eo
+++ b/src/lib/evas/include/evas_ector_buffer.eo
@@ -1,5 +1,3 @@
1import evas_canvas;
2
3interface Evas.Ector.Buffer 1interface Evas.Ector.Buffer
4{ 2{
5 [[Binding layer between ector buffers and evas images. 3 [[Binding layer between ector buffers and evas images.