Page MenuHomePhabricator

eo files inconsistent
Closed, ResolvedPublic

Description

Compile efl, install,

Then compile the following, and run it.

gcc pkg-config --libs --cflags eolian` test.c`

#include <Eolian.h>

int main(int argc, char const *argv[])
{
   Eolian_State *state;
   eolian_init();

   state = eolian_state_new();
   eolian_state_system_directory_add(state);
   eolian_state_all_eot_files_parse(state);
   eolian_state_all_eo_files_parse(state);

   eolian_state_check(state);

   eolian_state_free(state);

   eolian_shutdown();
   return 0;
}

Output:

eolian: efl_canvas_gesture_manager.eo: unused dependency efl_canvas_gesture_types.eot
eolian: efl_canvas_layout_part.eo: unused dependency efl_canvas_layout_types.eot
eolian: efl_net_http_types.eot: unused dependency eina_types.eot
eolian: efl_object.eo: unused dependency eina_types.eot
eolian: efl_canvas_textblock.eo: unused dependency efl_text_types.eot
eolian: efl_ui_format.eo: unused dependency eina_types.eot
eolian: efl_canvas_gesture_custom.eo: unused dependency eina_types.eot
eolian: efl_threadio.eo: unused dependency efl_object.eo
eolian: efl_canvas_gesture_types.eot: unused dependency efl_canvas_gesture_events.eo
eolian: efl_net_types.eot: unused dependency eina_types.eot
eolian: efl_canvas_gesture_touch.eo: unused dependency efl_input_types.eot
eolian: efl_ui_multi_selectable_object_range.eo: unused dependency efl_ui.eot
eolian: efl_ui_collection.eo: unused dependency efl_ui_focus_manager.eo
eolian: efl_file_save.eo: unused dependency eina_types.eot
eolian: efl_ui_layout_base.eo: unused dependency efl_ui.eot
eolian: efl_gfx_image_load_controller.eo: unused dependency efl_gfx_types.eot
eolian: ector_renderer_image.eo: unused dependency ector_renderer.eo
eolian: efl_text_formatter.eo: unused dependency efl_text_types.eot
eolian: efl_canvas_gesture.eo: unused dependency efl_canvas_gesture_events.eo
eolian: efl_ui_layout.eo: unused dependency efl_ui.eot
eolian: efl_gfx_color.eo: unused dependency efl_gfx_types.eot
eolian: efl_ui.eot: unused dependency eina_types.eot
eolian: efl_ui_multi_selectable_index_range.eo: unused dependency efl_ui.eot
eolian: efl_observable.eo: unused dependency efl_types.eot
eolian: efl_input_text.eo:33:6: the namespace of object 'Efl.Input_Text.Capitalize_Type' conflicts with efl_input_text.eo:119:1
eolian: efl_text_formatter.eo:3:1: the namespace of object 'Efl.Text.Formatter' conflicts with efl_text.eo:1:1
eolian: ecore_audio_out.eo:1:1: the namespace of object 'Ecore.Audio.Out' conflicts with ecore_audio.eo:15:1
eolian: efl_input_text.eo:93:12: the namespace of object 'Efl.Input_Text.Panel_Layout_Normal_Variation_Type' conflicts with efl_input_text.eo:119:1
eolian: efl_input_text.eo:24:6: the namespace of object 'Efl.Input_Text.Panel_Language_Type' conflicts with efl_input_text.eo:119:1
eolian: efl_input_text.eo:61:6: the namespace of object 'Efl.Input_Text.Panel_Return_Key_State' conflicts with efl_input_text.eo:119:1
eolian: efl_input_text.eo:110:12: the namespace of object 'Efl.Input_Text.Panel_Layout_Password_Variation_Type' conflicts with efl_input_text.eo:119:1
eolian: ecore_audio_out_sndfile.eo:1:1: the namespace of object 'Ecore.Audio.Out.Sndfile' conflicts with ecore_audio_out.eo:1:1
eolian: efl_input_text.eo:101:12: the namespace of object 'Efl.Input_Text.Panel_Layout_Numberonly_Variation_Type' conflicts with efl_input_text.eo:119:1
eolian: eldbus_model_signal.eo:1:1: the namespace of object 'Eldbus.Model.Signal' conflicts with eldbus_model.eo:3:1
eolian: ector_software_buffer_base.eo:1:1: the namespace of object 'Ector.Software.Buffer.Base' conflicts with ector_software_buffer.eo:1:1
eolian: ecore_audio_out_wasapi.eo:1:1: the namespace of object 'Ecore.Audio.Out.Wasapi' conflicts with ecore_audio_out.eo:1:1
eolian: ecore_audio_out_pulse.eo:1:1: the namespace of object 'Ecore.Audio.Out.Pulse' conflicts with ecore_audio_out.eo:1:1
eolian: eldbus_model_connection.eo:1:1: the namespace of object 'Eldbus.Model.Connection' conflicts with eldbus_model.eo:3:1
eolian: efl_text_cursor.eo:35:1: the namespace of object 'Efl.Text.Cursor' conflicts with efl_text.eo:1:1
eolian: ecore_audio.eo:4:12: the namespace of object 'Ecore.Audio.Format' conflicts with ecore_audio.eo:15:1
eolian: eldbus_model_method.eo:3:1: the namespace of object 'Eldbus.Model.Method' conflicts with eldbus_model.eo:3:1
eolian: ector_renderer_shape.eo:3:1: the namespace of object 'Ector.Renderer.Shape' conflicts with ector_renderer.eo:3:1
eolian: efl_input_text.eo:73:6: the namespace of object 'Efl.Input_Text.Content_Type' conflicts with efl_input_text.eo:119:1
eolian: ector_buffer.eo:3:12: the namespace of object 'Ector.Buffer.Flag' conflicts with ector_buffer.eo:24:1
eolian: eldbus_model_object.eo:1:1: the namespace of object 'Eldbus.Model.Object' conflicts with eldbus_model.eo:3:1
eolian: ector_renderer_gl_shape.eo:1:1: the namespace of object 'Ector.Renderer.GL.Shape' conflicts with ector_renderer_gl.eo:3:1
eolian: ector_renderer_software_shape.eo:1:1: the namespace of object 'Ector.Renderer.Software.Shape' conflicts with ector_renderer_software.eo:1:1
eolian: eldbus_types.eot:5:20: the namespace of object 'Eldbus.Connection.Type' conflicts with eldbus_types.eot:2:22
eolian: eio_sentry.eo:1:14: the namespace of object 'Eio.Sentry.Event' conflicts with eio_sentry.eo:8:1
eolian: ector_renderer_software.eo:1:1: the namespace of object 'Ector.Renderer.Software' conflicts with ector_renderer.eo:3:1
eolian: ector_renderer_gradient.eo:1:1: the namespace of object 'Ector.Renderer.Gradient' conflicts with ector_renderer.eo:3:1
eolian: ecore_audio.eo:1:20: the namespace of object 'Ecore.Audio.Vio' conflicts with ecore_audio.eo:15:1
eolian: efl_canvas_wl.eo:14:12: the namespace of object 'Efl.Canvas.Wl.Rotation' conflicts with efl_canvas_wl.eo:24:1
eolian: ecore_audio_in_sndfile.eo:1:1: the namespace of object 'Ecore.Audio.In.Sndfile' conflicts with ecore_audio_in.eo:1:1
eolian: efl_input_text.eo:1:6: the namespace of object 'Efl.Input_Text.Panel_Layout_Type' conflicts with efl_input_text.eo:119:1
eolian: ector_renderer_gradient_linear.eo:1:1: the namespace of object 'Ector.Renderer.Gradient.Linear' conflicts with ector_renderer_gradient.eo:1:1
eolian: ecore_audio_in.eo:1:1: the namespace of object 'Ecore.Audio.In' conflicts with ecore_audio.eo:15:1
eolian: efl_input_text.eo:45:6: the namespace of object 'Efl.Input_Text.Panel_Return_Key_Type' conflicts with efl_input_text.eo:119:1
eolian: ector_renderer_image.eo:3:1: the namespace of object 'Ector.Renderer.Image' conflicts with ector_renderer.eo:3:1
eolian: ector_renderer_gradient_radial.eo:1:1: the namespace of object 'Ector.Renderer.Gradient.Radial' conflicts with ector_renderer_gradient.eo:1:1
eolian: efl_text_cursor.eo:11:6: the namespace of object 'Efl.Text.Cursor_Move_Type' conflicts with efl_text.eo:1:1
eolian: ector_renderer_gl.eo:3:1: the namespace of object 'Ector.Renderer.GL' conflicts with ector_renderer.eo:3:1
eolian: eldbus_model_proxy.eo:3:1: the namespace of object 'Eldbus.Model.Proxy' conflicts with eldbus_model.eo:3:1
eolian: eldbus_model_arguments.eo:3:1: the namespace of object 'Eldbus.Model.Arguments' conflicts with eldbus_model.eo:3:1
eolian: ector_renderer_software_image.eo:1:1: the namespace of object 'Ector.Renderer.Software.Image' conflicts with ector_renderer_software.eo:1:1
eolian: efl_text_cursor.eo:1:6: the namespace of object 'Efl.Text.Cursor_Type' conflicts with efl_text.eo:1:1
eolian: ecore_audio_in_tone.eo:1:1: the namespace of object 'Ecore.Audio.In.Tone' conflicts with ecore_audio_in.eo:1:1
eolian: ector_buffer.eo:16:12: the namespace of object 'Ector.Buffer.Access_Flag' conflicts with ector_buffer.eo:24:1

In short: the namespace checks in our tree do not work, so we never verified that the files installed to the filesystem do work. Which caused the fact that Efl.Text.* API names do conflict with Efl.Text .