2018-08-12 06:26:29 -07:00
|
|
|
pub_legacy_eo_files = [
|
|
|
|
'efl_ui_clock_legacy.eo',
|
|
|
|
'elm_code_widget_legacy.eo',
|
|
|
|
'elm_interface_fileselector.eo',
|
|
|
|
'elm_calendar.eo',
|
|
|
|
'elm_calendar_item.eo',
|
|
|
|
'elm_clock.eo',
|
|
|
|
'elm_colorselector.eo',
|
|
|
|
'elm_conformant.eo',
|
|
|
|
'elm_ctxpopup.eo',
|
|
|
|
'elm_dayselector.eo',
|
|
|
|
'elm_entry.eo',
|
|
|
|
'elm_fileselector.eo',
|
|
|
|
'elm_gengrid.eo',
|
|
|
|
'elm_gengrid_pan.eo',
|
|
|
|
'elm_genlist.eo',
|
|
|
|
'elm_genlist_pan.eo',
|
|
|
|
'elm_gesture_layer.eo',
|
|
|
|
'elm_glview.eo',
|
|
|
|
'elm_hover.eo',
|
|
|
|
'elm_index.eo',
|
|
|
|
'elm_label.eo',
|
|
|
|
'elm_list.eo',
|
|
|
|
'elm_map.eo',
|
|
|
|
'elm_map_pan.eo',
|
|
|
|
'elm_menu.eo',
|
|
|
|
'elm_notify.eo',
|
|
|
|
'elm_panel.eo',
|
|
|
|
'elm_player.eo',
|
|
|
|
'elm_plug.eo',
|
|
|
|
'elm_popup.eo',
|
|
|
|
'elm_route.eo',
|
|
|
|
'elm_scroller.eo',
|
|
|
|
'elm_sys_notify_interface.eo',
|
|
|
|
'elm_sys_notify.eo',
|
|
|
|
'elm_sys_notify_dbus.eo',
|
|
|
|
'elm_systray.eo',
|
|
|
|
'elm_color_item.eo',
|
|
|
|
'elm_dayselector_item.eo',
|
|
|
|
'elm_flipselector_item.eo',
|
|
|
|
'elm_menu_item.eo',
|
|
|
|
'elm_ctxpopup_item.eo',
|
|
|
|
'elm_index_item.eo',
|
|
|
|
'elm_widget_item_static_focus.eo',
|
|
|
|
'elm_genlist_item.eo',
|
|
|
|
'elm_gengrid_item.eo',
|
|
|
|
'elm_list_item.eo',
|
|
|
|
'elm_popup_item.eo',
|
|
|
|
'elm_ctxpopup_part.eo',
|
|
|
|
'elm_dayselector_part.eo',
|
|
|
|
'elm_entry_part.eo',
|
|
|
|
'elm_fileselector_entry_part.eo',
|
|
|
|
'elm_flip_part.eo',
|
|
|
|
'elm_hover_part.eo',
|
|
|
|
'elm_mapbuf_part.eo',
|
|
|
|
'elm_naviframe_part.eo',
|
|
|
|
'elm_notify_part.eo',
|
|
|
|
'elm_panel_part.eo',
|
|
|
|
'elm_player_part.eo',
|
|
|
|
'elm_popup_part.eo',
|
|
|
|
'elm_scroller_part.eo',
|
|
|
|
'elm_label_part.eo',
|
|
|
|
'elm_actionslider_part.eo',
|
|
|
|
'elm_bubble_part.eo',
|
|
|
|
'elm_fileselector_part.eo',
|
|
|
|
'elm_access.eo',
|
|
|
|
'elm_actionslider.eo',
|
|
|
|
'elm_box.eo',
|
|
|
|
'elm_bubble.eo',
|
|
|
|
'elm_diskselector.eo',
|
|
|
|
'elm_diskselector_item.eo',
|
|
|
|
'elm_fileselector_button.eo',
|
|
|
|
'elm_fileselector_entry.eo',
|
|
|
|
'elm_flipselector.eo',
|
|
|
|
'elm_grid.eo',
|
|
|
|
'elm_icon.eo',
|
|
|
|
'elm_inwin.eo',
|
|
|
|
'elm_mapbuf.eo',
|
|
|
|
'elm_naviframe.eo',
|
|
|
|
'elm_naviframe_item.eo',
|
|
|
|
'elm_photo.eo',
|
|
|
|
'elm_prefs.eo',
|
|
|
|
'elm_segment_control.eo',
|
|
|
|
'elm_segment_control_item.eo',
|
|
|
|
'elm_separator.eo',
|
|
|
|
'elm_slideshow.eo',
|
|
|
|
'elm_slideshow_item.eo',
|
|
|
|
'elm_table.eo',
|
|
|
|
'elm_thumb.eo',
|
|
|
|
]
|
|
|
|
|
|
|
|
pub_eo_file_target = []
|
|
|
|
|
|
|
|
foreach eo_file : pub_legacy_eo_files
|
|
|
|
pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
|
|
|
|
input : eo_file,
|
|
|
|
output : [eo_file + '.legacy.h',],
|
2018-10-21 06:55:51 -07:00
|
|
|
depfile : eo_file + '.d',
|
2018-08-12 06:26:29 -07:00
|
|
|
install : true,
|
|
|
|
install_dir : dir_package_include,
|
2018-12-03 09:49:47 -08:00
|
|
|
command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
|
2018-08-12 06:26:29 -07:00
|
|
|
'-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
|
|
|
|
'-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
|
|
|
|
'-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'),
|
2018-10-21 06:55:51 -07:00
|
|
|
'-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
|
|
|
|
'-gchld', '@INPUT@'])
|
2018-08-12 06:26:29 -07:00
|
|
|
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
pub_eo_files = [
|
|
|
|
'efl_ui_widget.eo',
|
|
|
|
'efl_ui_bg.eo',
|
|
|
|
'efl_ui_button.eo',
|
|
|
|
'efl_ui_calendar.eo',
|
|
|
|
'efl_ui_calendar_item.eo',
|
|
|
|
'efl_ui_check.eo',
|
|
|
|
'efl_ui_flip.eo',
|
|
|
|
'efl_ui_frame.eo',
|
|
|
|
'efl_ui_stack.eo',
|
|
|
|
'efl_ui_image.eo',
|
|
|
|
'efl_ui_image_zoomable.eo',
|
2018-11-16 01:45:05 -08:00
|
|
|
'efl_ui_layout.eo',
|
2019-02-27 10:17:16 -08:00
|
|
|
'efl_ui_layout_base.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_nstate.eo',
|
|
|
|
'efl_ui_navigation_bar.eo',
|
|
|
|
'efl_ui_navigation_bar_part.eo',
|
|
|
|
'efl_ui_navigation_bar_part_back_button.eo',
|
|
|
|
'efl_ui_navigation_layout.eo',
|
|
|
|
'efl_ui_panes.eo',
|
|
|
|
'efl_ui_progressbar.eo',
|
|
|
|
'efl_ui_radio.eo',
|
|
|
|
'efl_ui_slider.eo',
|
|
|
|
'efl_ui_slider_interval.eo',
|
|
|
|
'efl_ui_spin.eo',
|
|
|
|
'efl_ui_spin_button.eo',
|
2018-12-19 18:32:28 -08:00
|
|
|
'efl_ui_panel.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_datepicker.eo',
|
|
|
|
'efl_ui_timepicker.eo',
|
|
|
|
'efl_ui_tags.eo',
|
|
|
|
'efl_ui_video.eo',
|
|
|
|
'efl_ui_win.eo',
|
|
|
|
'efl_ui_win_inlined.eo',
|
|
|
|
'efl_ui_win_socket.eo',
|
|
|
|
'efl_ui_box.eo',
|
|
|
|
'efl_ui_box_flow.eo',
|
|
|
|
'efl_ui_box_stack.eo',
|
|
|
|
'efl_ui_table.eo',
|
|
|
|
'efl_ui_table_static.eo',
|
|
|
|
'efl_text_interactive.eo',
|
|
|
|
'efl_ui_text.eo',
|
|
|
|
'efl_ui_popup.eo',
|
|
|
|
'efl_ui_popup_part_backwall.eo',
|
2018-11-16 02:11:50 -08:00
|
|
|
'efl_ui_alert_popup.eo',
|
|
|
|
'efl_ui_alert_popup_part.eo',
|
|
|
|
'efl_ui_scroll_alert_popup.eo',
|
|
|
|
'efl_ui_scroll_alert_popup_part.eo',
|
|
|
|
'efl_ui_text_alert_popup.eo',
|
|
|
|
'efl_ui_text_alert_popup_part.eo',
|
|
|
|
'efl_ui_anchor_popup.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_text_editable.eo',
|
|
|
|
'efl_ui_text_async.eo',
|
|
|
|
'efl_ui_text_factory_images.eo',
|
|
|
|
'efl_ui_text_factory_emoticons.eo',
|
|
|
|
'efl_ui_text_factory_fallback.eo',
|
|
|
|
'efl_ui_textpath.eo',
|
2018-12-21 14:46:10 -08:00
|
|
|
'efl_ui_l10n.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_clock.eo',
|
|
|
|
'efl_ui_image_factory.eo',
|
|
|
|
'efl_ui_focus_manager.eo',
|
|
|
|
'efl_ui_focus_manager_calc.eo',
|
|
|
|
'efl_ui_focus_manager_sub.eo',
|
|
|
|
'efl_ui_focus_manager_root_focus.eo',
|
|
|
|
'efl_ui_focus_object.eo',
|
|
|
|
'efl_ui_focus_layer.eo',
|
|
|
|
'efl_ui_focus_composition.eo',
|
|
|
|
'efl_ui_focus_util.eo',
|
|
|
|
'efl_ui_flip_part.eo',
|
|
|
|
'efl_ui_layout_factory.eo',
|
|
|
|
'efl_ui_layout_part.eo',
|
|
|
|
'efl_ui_layout_part_box.eo',
|
|
|
|
'efl_ui_layout_part_content.eo',
|
|
|
|
'efl_ui_layout_part_text.eo',
|
|
|
|
'efl_ui_layout_part_table.eo',
|
|
|
|
'efl_ui_layout_part_bg.eo',
|
|
|
|
'efl_ui_layout_part_legacy.eo',
|
efl_ui : change efl_ui_view_list to efl_ui_list_view.
Summary:
View is not a namespace, but an interface,
So, View_List cannot be under the view namespace for now.
it looks more suite to be end as View than List on this widget name.
Firstly, it follows our common naming rules of class.
Also, List_View is commonly presentable name on most UI frameworks,
so it is very easy to understand what this widget can do for the user.
Test Plan:
Make works.
Example is not works for now til stable model interface.
Reviewers: felipealmeida, woohyun, cedric, Hermet
Reviewed By: Hermet
Subscribers: larryolj, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7234
2018-11-04 21:27:05 -08:00
|
|
|
'efl_ui_list_view.eo',
|
|
|
|
'efl_ui_list_view_model.eo',
|
|
|
|
'efl_ui_list_view_pan.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_item.eo',
|
|
|
|
'efl_ui_list_item.eo',
|
|
|
|
'efl_ui_list_default_item_part_icon.eo',
|
|
|
|
'efl_ui_list_default_item_part_end.eo',
|
|
|
|
'efl_ui_list_default_item.eo',
|
|
|
|
'efl_ui_list_empty_item.eo',
|
|
|
|
'efl_ui_list.eo',
|
efl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget
Summary:
Introduce new packable grid for Efl.Ui.Widget toolkits.
most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear,
although it will not support Efl.Pack_Table, because item must be
arranged sequential orders.
Test Plan:
We will make the tests on efl ui test suite.
please test by make check.
Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun
Reviewed By: Hermet, eagleeye
Subscribers: CHAN, bu5hm4n, cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6985
2018-11-19 21:32:31 -08:00
|
|
|
'efl_ui_grid_item.eo',
|
|
|
|
'efl_ui_grid_default_item_part_icon.eo',
|
|
|
|
'efl_ui_grid_default_item_part_end.eo',
|
|
|
|
'efl_ui_grid_default_item.eo',
|
|
|
|
'efl_ui_grid.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_panes_part.eo',
|
|
|
|
'efl_ui_progressbar_part.eo',
|
|
|
|
'elm_slider.eo',
|
|
|
|
'elm_slider_part_indicator.eo',
|
|
|
|
'efl_ui_textpath_part.eo',
|
|
|
|
'efl_ui_widget_part.eo',
|
|
|
|
'efl_ui_widget_part_bg.eo',
|
|
|
|
'efl_ui_widget_part_shadow.eo',
|
|
|
|
'efl_ui_win_part.eo',
|
|
|
|
'efl_ui_scroller.eo',
|
|
|
|
'efl_ui_scroll_manager.eo',
|
|
|
|
'efl_ui_pan.eo',
|
|
|
|
'efl_access_object.eo',
|
|
|
|
'efl_access_action.eo',
|
|
|
|
'efl_access_component.eo',
|
|
|
|
'efl_access_editable_text.eo',
|
|
|
|
'efl_access_selection.eo',
|
|
|
|
'efl_access_text.eo',
|
|
|
|
'efl_access_value.eo',
|
|
|
|
'efl_access_widget_action.eo',
|
|
|
|
'efl_access_window.eo',
|
2018-11-19 20:56:37 -08:00
|
|
|
'efl_ui_theme.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_config_global.eo',
|
|
|
|
'elm_code_widget.eo',
|
2018-12-21 13:46:06 -08:00
|
|
|
'efl_ui_selection.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_dnd.eo',
|
|
|
|
'efl_ui_dnd_container.eo',
|
|
|
|
'efl_ui_focus_manager_window_root.eo',
|
|
|
|
'efl_ui_pager.eo',
|
|
|
|
'efl_page_transition.eo',
|
|
|
|
'efl_page_transition_scroll.eo',
|
|
|
|
'efl_page_indicator.eo',
|
|
|
|
'efl_page_indicator_icon.eo',
|
|
|
|
'efl_ui_tab_pager.eo',
|
|
|
|
'efl_ui_tab_bar.eo',
|
|
|
|
'efl_ui_tab_page.eo',
|
|
|
|
'efl_ui_tab_page_part_tab.eo',
|
|
|
|
'efl_ui_widget_focus_manager.eo',
|
|
|
|
'efl_ui_legacy.eo',
|
|
|
|
'efl_ui_button_legacy_part.eo',
|
|
|
|
'efl_ui_radio_legacy_part.eo',
|
|
|
|
'efl_ui_check_legacy_part.eo',
|
|
|
|
'efl_ui_progressbar_legacy_part.eo',
|
2019-02-24 01:57:01 -08:00
|
|
|
'elm_widget_item_container.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'elm_spinner.eo',
|
|
|
|
'elm_multibuttonentry.eo',
|
|
|
|
'elm_multibuttonentry_item.eo',
|
|
|
|
'elm_multibuttonentry_part.eo',
|
|
|
|
'elm_interface_scrollable.eo',
|
|
|
|
'elm_atspi_bridge.eo',
|
|
|
|
'elm_atspi_app_object.eo',
|
|
|
|
'efl_ui_image_zoomable_pan.eo',
|
|
|
|
'elm_pan.eo',
|
|
|
|
'elm_toolbar.eo',
|
|
|
|
'elm_toolbar_item.eo',
|
|
|
|
'elm_view_list.eo',
|
|
|
|
'elm_view_form.eo',
|
|
|
|
'elm_web.eo',
|
2018-11-12 08:57:24 -08:00
|
|
|
'elm_widget_item.eo',
|
2018-12-06 16:38:47 -08:00
|
|
|
'efl_ui_text_part.eo',
|
|
|
|
'efl_ui_caching_factory.eo',
|
2019-01-18 17:58:39 -08:00
|
|
|
'efl_ui_widget_factory.eo',
|
2019-02-22 02:47:47 -08:00
|
|
|
'efl_ui_relative_layout.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
foreach eo_file : pub_eo_files
|
|
|
|
pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
|
|
|
|
input : eo_file,
|
2018-10-21 06:55:51 -07:00
|
|
|
output : [eo_file + '.h'],
|
|
|
|
depfile : eo_file + '.d',
|
2018-08-12 06:26:29 -07:00
|
|
|
install : true,
|
|
|
|
install_dir : dir_package_include,
|
2018-12-03 09:49:47 -08:00
|
|
|
command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
|
2018-08-12 06:26:29 -07:00
|
|
|
'-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
|
|
|
|
'-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
|
2018-10-21 06:55:51 -07:00
|
|
|
'-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
|
|
|
|
'-gchd', '@INPUT@'])
|
2018-10-25 05:31:38 -07:00
|
|
|
pub_eo_file_target += custom_target('eolian_gen_legacy_' + eo_file,
|
|
|
|
input : eo_file,
|
|
|
|
output : [eo_file + '.legacy.h'],
|
|
|
|
depfile : eo_file + '.legacy.d',
|
|
|
|
install : true,
|
|
|
|
install_dir : dir_package_include,
|
2018-12-03 09:49:47 -08:00
|
|
|
command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
|
2018-10-25 05:31:38 -07:00
|
|
|
'-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'),
|
|
|
|
'-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.d'),
|
|
|
|
'-gld', '@INPUT@'])
|
2018-08-12 06:26:29 -07:00
|
|
|
endforeach
|
|
|
|
|
|
|
|
|
|
|
|
pub_eo_types_files = [
|
|
|
|
'elm_general.eot',
|
|
|
|
'efl_ui.eot',
|
efl_ui : change efl_ui_view_list to efl_ui_list_view.
Summary:
View is not a namespace, but an interface,
So, View_List cannot be under the view namespace for now.
it looks more suite to be end as View than List on this widget name.
Firstly, it follows our common naming rules of class.
Also, List_View is commonly presentable name on most UI frameworks,
so it is very easy to understand what this widget can do for the user.
Test Plan:
Make works.
Example is not works for now til stable model interface.
Reviewers: felipealmeida, woohyun, cedric, Hermet
Reviewed By: Hermet
Subscribers: larryolj, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7234
2018-11-04 21:27:05 -08:00
|
|
|
'efl_ui_list_view_types.eot',
|
2018-12-21 13:46:06 -08:00
|
|
|
'efl_ui_selection_types.eot',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_dnd_types.eot'
|
|
|
|
]
|
|
|
|
|
|
|
|
foreach eo_file : pub_eo_types_files
|
|
|
|
pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
|
|
|
|
input : eo_file,
|
|
|
|
output : [eo_file + '.h'],
|
2018-10-21 06:55:51 -07:00
|
|
|
depfile : eo_file + '.d',
|
2018-08-12 06:26:29 -07:00
|
|
|
install : true,
|
|
|
|
install_dir : dir_package_include,
|
2018-12-03 09:49:47 -08:00
|
|
|
command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
|
2018-08-12 06:26:29 -07:00
|
|
|
'-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
|
2018-10-21 06:55:51 -07:00
|
|
|
'-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
|
|
|
|
'-ghd', '@INPUT@'])
|
2018-08-12 06:26:29 -07:00
|
|
|
endforeach
|
|
|
|
|
|
|
|
priv_eo_files = [
|
|
|
|
'efl_ui_internal_text_interactive.eo',
|
2018-11-05 14:41:50 -08:00
|
|
|
'efl_ui_internal_text_scroller.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_focus_composition_adapter.eo',
|
|
|
|
'efl_ui_focus_parent_provider.eo',
|
|
|
|
'efl_ui_focus_parent_provider_standard.eo',
|
|
|
|
'efl_ui_focus_parent_provider_gen.eo',
|
efl_model : rename all efl_model based classes.
Summary:
As the result of discussion in T7458,
we need to rename all efl_model based classes with efl_XXX_Model sequence.
I've run few vote for this, see V42, V43
few classes are totally renamed as our consideration of misnaming.
| Efl.Model_Loop | Efl.Loop_Model |
| Efl.Model_Item | Efl.Generic_Model |
| Efl.Model_Container | Efl.Container_Model |
| Efl.Model_Container_Item | Efl.Container_Model_Item |
| Efl.Model_Composite | Efl.Composite_Model |
| Efl.Model_Composite_Boolean | Efl.Boolean_Model |
| Efl.Model_Composite_Boolean_Chlidren | Efl.Boolean_Model_Item |
| Efl.Model_Composite_Selection | Efl.Select_Model |
| Efl.Model_Composite_Selection_Chlidren | Efl.Select_Model_Item |
| Efl.Model_View | Efl.View_Model |
| Eio.Model | Efl.Io.Model |
| Efl.Ui.Model_State | Efl.Ui.State_Model |
| Efl.Ui.Model_Size | Efl.Ui.Size_Model |
| Efl.Ui.Model_Exact | Efl.Ui.Exact_Model |
| Efl.Ui.Model_Average | Efl.Ui.Average_Model |
| Efl.Ui.Model_Homogeneous | Efl.Ui.Homogeneous_Model |
I worried about Efl.Io.Model changes, cause it is widely used,
but as I tested, there is no issue found yet.
Eldbus.Model also may can changed Efl.Dbus.Model,
but I cannot found any class who using Efl.Dbus namespace,
so I left it future work.
Test Plan:
Run the Make Test,
it works well except Efl test about selection.
there are class inheritance problem exist in select_model,
I reported it and will fix it in another patch.
Reviewers: cedric, felipealmeida, woohyun, Hermet
Reviewed By: cedric
Subscribers: lauromoura
Tags: #efl, #do_not_merge
Differential Revision: https://phab.enlightenment.org/D7533
2019-01-30 20:35:34 -08:00
|
|
|
'efl_ui_state_model.eo',
|
2018-12-21 13:46:06 -08:00
|
|
|
'efl_ui_selection_manager.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_datetime_manager.eo',
|
2019-01-24 05:29:28 -08:00
|
|
|
'efl_ui_list_view_precise_layouter.eo',
|
|
|
|
'efl_ui_list_view_relayout.eo',
|
efl_model : rename all efl_model based classes.
Summary:
As the result of discussion in T7458,
we need to rename all efl_model based classes with efl_XXX_Model sequence.
I've run few vote for this, see V42, V43
few classes are totally renamed as our consideration of misnaming.
| Efl.Model_Loop | Efl.Loop_Model |
| Efl.Model_Item | Efl.Generic_Model |
| Efl.Model_Container | Efl.Container_Model |
| Efl.Model_Container_Item | Efl.Container_Model_Item |
| Efl.Model_Composite | Efl.Composite_Model |
| Efl.Model_Composite_Boolean | Efl.Boolean_Model |
| Efl.Model_Composite_Boolean_Chlidren | Efl.Boolean_Model_Item |
| Efl.Model_Composite_Selection | Efl.Select_Model |
| Efl.Model_Composite_Selection_Chlidren | Efl.Select_Model_Item |
| Efl.Model_View | Efl.View_Model |
| Eio.Model | Efl.Io.Model |
| Efl.Ui.Model_State | Efl.Ui.State_Model |
| Efl.Ui.Model_Size | Efl.Ui.Size_Model |
| Efl.Ui.Model_Exact | Efl.Ui.Exact_Model |
| Efl.Ui.Model_Average | Efl.Ui.Average_Model |
| Efl.Ui.Model_Homogeneous | Efl.Ui.Homogeneous_Model |
I worried about Efl.Io.Model changes, cause it is widely used,
but as I tested, there is no issue found yet.
Eldbus.Model also may can changed Efl.Dbus.Model,
but I cannot found any class who using Efl.Dbus namespace,
so I left it future work.
Test Plan:
Run the Make Test,
it works well except Efl test about selection.
there are class inheritance problem exist in select_model,
I reported it and will fix it in another patch.
Reviewers: cedric, felipealmeida, woohyun, Hermet
Reviewed By: cedric
Subscribers: lauromoura
Tags: #efl, #do_not_merge
Differential Revision: https://phab.enlightenment.org/D7533
2019-01-30 20:35:34 -08:00
|
|
|
'efl_ui_size_model.eo',
|
|
|
|
'efl_ui_homogeneous_model.eo',
|
|
|
|
'efl_ui_exact_model.eo',
|
|
|
|
'efl_ui_average_model.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
priv_eo_file_target = []
|
2018-12-28 15:41:44 -08:00
|
|
|
|
2018-08-12 06:26:29 -07:00
|
|
|
foreach eo_file : priv_eo_files
|
|
|
|
priv_eo_file_target += custom_target('eolian_gen_' + eo_file,
|
|
|
|
input : eo_file,
|
|
|
|
output : [eo_file + '.h'],
|
2018-10-21 06:55:51 -07:00
|
|
|
depfile : eo_file + '.d',
|
2018-12-03 09:49:47 -08:00
|
|
|
command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
|
2018-08-12 06:26:29 -07:00
|
|
|
'-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
|
|
|
|
'-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
|
2018-10-21 06:55:51 -07:00
|
|
|
'-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
|
|
|
|
'-gchd', '@INPUT@'])
|
2018-08-12 06:26:29 -07:00
|
|
|
endforeach
|
|
|
|
|
|
|
|
eolian_include_directories += ['-I', meson.current_source_dir()]
|
|
|
|
|
|
|
|
elementary_headers_unstable = [
|
|
|
|
'elm_gen_common.h',
|
|
|
|
'elm_atspi_bridge.h',
|
|
|
|
'efl_access_object.h',
|
|
|
|
'efl_access_text.h',
|
|
|
|
'efl_access_widget_action.h',
|
|
|
|
'efl_access_window.h',
|
|
|
|
'elm_interface_fileselector.h',
|
|
|
|
'elm_interface_scrollable.h',
|
|
|
|
'elm_interfaces.h',
|
|
|
|
'elm_widget.h',
|
|
|
|
'elm_widget_actionslider.h',
|
|
|
|
'elm_widget_box.h',
|
|
|
|
'elm_widget_bubble.h',
|
|
|
|
'efl_ui_button_private.h',
|
efl_ui_bg: remove Efl.Ui.Bg interface and rename Efl.Ui.Bg_Widget class
Summary:
Efl.Ui.Bg interface does not have any new property or method.
Moreover, Efl.Ui.Bg interface is not used by widgets except
Efl.Ui.Bg_Widget and Efl.Ui.Widget_Part_Bg.
Consequently, Efl.Ui.Bg interface can be replaced by other interfaces.
Due to Efl.Ui.Bg interface, the bg widget class name becomes
Efl.UI.Bg_Widget which is not synchronized with other widget names.
Therefore, to keep consistency with other widgets, it would be better to
remove Efl.Ui.Bg interface and rename Efl.Ui.Bg_Widget to Efl.Ui.Bg.
Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7304
2018-11-19 17:24:05 -08:00
|
|
|
'efl_ui_bg_private.h',
|
2018-08-12 06:26:29 -07:00
|
|
|
'elm_widget_calendar.h',
|
|
|
|
'efl_ui_calendar_private.h',
|
|
|
|
'efl_ui_check_private.h',
|
|
|
|
'elm_widget_clock.h',
|
|
|
|
'elm_widget_colorselector.h',
|
|
|
|
'elm_widget_conform.h',
|
|
|
|
'elm_widget_container.h',
|
|
|
|
'elm_widget_combobox.h',
|
|
|
|
'elm_widget_ctxpopup.h',
|
|
|
|
'elm_widget_dayselector.h',
|
|
|
|
'elm_widget_diskselector.h',
|
|
|
|
'elm_widget_entry.h',
|
|
|
|
'elm_widget_fileselector.h',
|
|
|
|
'elm_widget_fileselector_button.h',
|
|
|
|
'elm_widget_fileselector_entry.h',
|
|
|
|
'efl_ui_widget_flip.h',
|
|
|
|
'elm_widget_flipselector.h',
|
|
|
|
'efl_ui_widget_frame.h',
|
|
|
|
'efl_ui_stack_private.h',
|
|
|
|
'elm_widget_gengrid.h',
|
|
|
|
'elm_widget_genlist.h',
|
|
|
|
'elm_widget_glview.h',
|
|
|
|
'elm_widget_grid.h',
|
|
|
|
'elm_widget_hover.h',
|
|
|
|
'elm_widget_hoversel.h',
|
|
|
|
'elm_widget_icon.h',
|
|
|
|
'efl_ui_widget_image.h',
|
|
|
|
'efl_ui_popup_private.h',
|
2018-11-16 02:11:50 -08:00
|
|
|
'efl_ui_alert_popup_private.h',
|
|
|
|
'efl_ui_scroll_alert_popup_private.h',
|
|
|
|
'efl_ui_text_alert_popup_private.h',
|
|
|
|
'efl_ui_anchor_popup_private.h',
|
2018-08-12 06:26:29 -07:00
|
|
|
'elm_widget_index.h',
|
|
|
|
'elm_widget_inwin.h',
|
|
|
|
'elm_widget_label.h',
|
|
|
|
'elm_widget_layout.h',
|
|
|
|
'elm_widget_list.h',
|
|
|
|
'elm_widget_map.h',
|
|
|
|
'elm_widget_mapbuf.h',
|
|
|
|
'elm_widget_menu.h',
|
|
|
|
'elm_widget_multibuttonentry.h',
|
|
|
|
'elm_widget_naviframe.h',
|
|
|
|
'efl_ui_navigation_bar_private.h',
|
|
|
|
'efl_ui_navigation_layout_private.h',
|
|
|
|
'elm_widget_notify.h',
|
|
|
|
'elm_widget_panel.h',
|
|
|
|
'efl_ui_panes_private.h',
|
|
|
|
'elm_widget_photo.h',
|
|
|
|
'efl_ui_image_zoomable_private.h',
|
|
|
|
'elm_widget_player.h',
|
|
|
|
'elm_widget_plug.h',
|
|
|
|
'elm_widget_popup.h',
|
|
|
|
'elm_widget_prefs.h',
|
|
|
|
'efl_ui_progressbar_private.h',
|
|
|
|
'efl_ui_radio_private.h',
|
|
|
|
'elm_widget_route.h',
|
|
|
|
'elm_widget_scroller.h',
|
|
|
|
'elm_widget_segment_control.h',
|
|
|
|
'elm_widget_separator.h',
|
|
|
|
'elm_widget_slider.h',
|
|
|
|
'efl_ui_slider_private.h',
|
|
|
|
'efl_ui_slider_interval_private.h',
|
|
|
|
'elm_widget_slideshow.h',
|
|
|
|
'elm_widget_spinner.h',
|
|
|
|
'efl_ui_spin_private.h',
|
|
|
|
'efl_ui_spin_button_private.h',
|
2018-12-19 18:32:28 -08:00
|
|
|
'efl_ui_panel_private.h',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_datepicker_private.h',
|
|
|
|
'efl_ui_timepicker_private.h',
|
|
|
|
'efl_ui_tags_private.h',
|
|
|
|
'elm_widget_table.h',
|
|
|
|
'elm_widget_thumb.h',
|
|
|
|
'elm_widget_toolbar.h',
|
|
|
|
'efl_ui_video_private.h',
|
|
|
|
'efl_ui_item_private.h',
|
|
|
|
'efl_ui_list_item_private.h',
|
|
|
|
'efl_ui_list_private.h',
|
efl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget
Summary:
Introduce new packable grid for Efl.Ui.Widget toolkits.
most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear,
although it will not support Efl.Pack_Table, because item must be
arranged sequential orders.
Test Plan:
We will make the tests on efl ui test suite.
please test by make check.
Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun
Reviewed By: Hermet, eagleeye
Subscribers: CHAN, bu5hm4n, cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6985
2018-11-19 21:32:31 -08:00
|
|
|
'efl_ui_grid_item_private.h',
|
|
|
|
'efl_ui_grid_private.h',
|
efl_ui : change efl_ui_view_list to efl_ui_list_view.
Summary:
View is not a namespace, but an interface,
So, View_List cannot be under the view namespace for now.
it looks more suite to be end as View than List on this widget name.
Firstly, it follows our common naming rules of class.
Also, List_View is commonly presentable name on most UI frameworks,
so it is very easy to understand what this widget can do for the user.
Test Plan:
Make works.
Example is not works for now til stable model interface.
Reviewers: felipealmeida, woohyun, cedric, Hermet
Reviewed By: Hermet
Subscribers: larryolj, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7234
2018-11-04 21:27:05 -08:00
|
|
|
'efl_ui_list_view_private.h',
|
|
|
|
'efl_ui_list_view_seg_array.h',
|
2018-08-12 06:26:29 -07:00
|
|
|
'elm_widget_web.h',
|
|
|
|
'efl_ui_clock.h',
|
|
|
|
'elm_code.h',
|
|
|
|
'elm_code_widget_legacy.h',
|
|
|
|
'elm_code_widget_selection.h',
|
|
|
|
'elm_code_diff_widget.h',
|
|
|
|
'elm_code_common.h',
|
|
|
|
'elm_code_line.h',
|
|
|
|
'elm_code_text.h',
|
|
|
|
'elm_code_indent.h',
|
|
|
|
'elm_code_file.h',
|
|
|
|
'elm_code_parse.h',
|
|
|
|
'elm_code_syntax.h',
|
|
|
|
'efl_ui_widget_scroller.h',
|
|
|
|
'efl_ui_widget_scroll_manager.h',
|
|
|
|
'efl_ui_widget_pan.h',
|
|
|
|
'efl_ui_nstate_private.h',
|
|
|
|
'Efl_Ui.h',
|
|
|
|
'efl_ui_widget_pager.h',
|
|
|
|
'efl_page_transition.h',
|
|
|
|
'efl_page_transition_scroll.h',
|
|
|
|
'efl_page_indicator.h',
|
|
|
|
'efl_page_indicator_icon.h',
|
|
|
|
'efl_ui_tab_pager_private.h',
|
|
|
|
'efl_ui_tab_bar_private.h',
|
2019-02-22 02:47:47 -08:00
|
|
|
'efl_ui_tab_page_private.h',
|
|
|
|
'efl_ui_relative_layout_private.h'
|
2018-08-12 06:26:29 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
elementary_pub_headers = [
|
|
|
|
'elc_ctxpopup.h',
|
|
|
|
'elc_ctxpopup_legacy.h',
|
|
|
|
'elc_combobox.h',
|
|
|
|
'elc_combobox_legacy.h',
|
|
|
|
'elc_fileselector.h',
|
|
|
|
'elc_fileselector_legacy.h',
|
|
|
|
'elc_fileselector_common.h',
|
|
|
|
'elc_fileselector_button.h',
|
|
|
|
'elc_fileselector_button_legacy.h',
|
|
|
|
'elc_fileselector_entry.h',
|
|
|
|
'elc_fileselector_entry_legacy.h',
|
|
|
|
'elc_hoversel.h',
|
|
|
|
'elc_hoversel_legacy.h',
|
|
|
|
'elc_multibuttonentry.h',
|
|
|
|
'elc_multibuttonentry_eo.h',
|
|
|
|
'elc_multibuttonentry_legacy.h',
|
|
|
|
'elc_multibuttonentry_common.h',
|
|
|
|
'elc_naviframe.h',
|
|
|
|
'elc_naviframe_legacy.h',
|
|
|
|
'elc_naviframe_common.h',
|
|
|
|
'elc_popup.h',
|
|
|
|
'elc_popup_legacy.h',
|
|
|
|
'elm_access.h',
|
|
|
|
'elm_actionslider.h',
|
|
|
|
'elm_actionslider_legacy.h',
|
|
|
|
'elm_app.h',
|
|
|
|
'elm_atspi_app_object.h',
|
|
|
|
'elm_authors.h',
|
|
|
|
'elm_bg.h',
|
|
|
|
'elm_bg_legacy.h',
|
|
|
|
'elm_box.h',
|
|
|
|
'elm_box_legacy.h',
|
|
|
|
'elm_box_common.h',
|
|
|
|
'elm_bubble.h',
|
|
|
|
'elm_bubble_legacy.h',
|
|
|
|
'elm_button.h',
|
2019-03-04 07:22:41 -08:00
|
|
|
'efl_ui_widget_common.h',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_button_eo.h',
|
|
|
|
'elm_button_legacy.h',
|
|
|
|
'elm_cache.h',
|
|
|
|
'elm_calendar.h',
|
|
|
|
'elm_calendar_legacy.h',
|
|
|
|
'elm_calendar_common.h',
|
|
|
|
'efl_ui_calendar.h',
|
|
|
|
'elm_check.h',
|
|
|
|
'efl_ui_check_eo.h',
|
|
|
|
'elm_check_legacy.h',
|
|
|
|
'elm_clock.h',
|
|
|
|
'elm_clock_legacy.h',
|
|
|
|
'elm_cnp.h',
|
|
|
|
'elm_colorselector.h',
|
|
|
|
'elm_colorselector_legacy.h',
|
|
|
|
'elm_colorselector_common.h',
|
|
|
|
'elm_color_class.h',
|
|
|
|
'elm_config.h',
|
|
|
|
'elm_conform.h',
|
|
|
|
'elm_conform_legacy.h',
|
|
|
|
'elm_cursor.h',
|
|
|
|
'elm_datetime.h',
|
|
|
|
'elm_dayselector.h',
|
|
|
|
'elm_dayselector_legacy.h',
|
|
|
|
'elm_debug.h',
|
|
|
|
'elm_deprecated.h',
|
|
|
|
'elm_diskselector.h',
|
|
|
|
'elm_diskselector_common.h',
|
|
|
|
'elm_diskselector_legacy.h',
|
|
|
|
'elm_entry.h',
|
|
|
|
'elm_entry_common.h',
|
|
|
|
'elm_entry_eo.h',
|
|
|
|
'elm_entry_legacy.h',
|
|
|
|
'elm_finger.h',
|
|
|
|
'elm_flip.h',
|
|
|
|
'efl_ui_flip_eo.h',
|
|
|
|
'efl_ui_flip_legacy.h',
|
|
|
|
'elm_flipselector.h',
|
|
|
|
'elm_flipselector_legacy.h',
|
|
|
|
'elm_focus.h',
|
|
|
|
'elm_focus_item.h',
|
|
|
|
'elm_font.h',
|
|
|
|
'elm_frame.h',
|
|
|
|
'efl_ui_frame_eo.h',
|
|
|
|
'efl_ui_frame_legacy.h',
|
|
|
|
'elm_gen.h',
|
|
|
|
'elm_general.h',
|
|
|
|
'elm_gengrid.h',
|
|
|
|
'elm_gengrid_common.h',
|
|
|
|
'elm_gengrid_legacy.h',
|
|
|
|
'elm_genlist.h',
|
|
|
|
'elm_genlist_common.h',
|
|
|
|
'elm_genlist_legacy.h',
|
|
|
|
'elm_gesture_layer.h',
|
|
|
|
'elm_gesture_layer_common.h',
|
|
|
|
'elm_gesture_layer_legacy.h',
|
|
|
|
'elm_getting_started.h',
|
|
|
|
'elm_glview.h',
|
|
|
|
'elm_glview_common.h',
|
|
|
|
'elm_glview_legacy.h',
|
|
|
|
'elm_grid.h',
|
|
|
|
'elm_grid_legacy.h',
|
|
|
|
'elm_hover.h',
|
|
|
|
'elm_hover_legacy.h',
|
|
|
|
'elm_icon.h',
|
|
|
|
'elm_icon_legacy.h',
|
|
|
|
'elm_image.h',
|
|
|
|
'elm_image_eo.h',
|
|
|
|
'elm_image_legacy.h',
|
|
|
|
'elm_index.h',
|
|
|
|
'elm_index_legacy.h',
|
|
|
|
'elm_inwin.h',
|
|
|
|
'elm_inwin_legacy.h',
|
|
|
|
'elm_label.h',
|
|
|
|
'elm_label_legacy.h',
|
|
|
|
'elm_layout.h',
|
|
|
|
'elm_layout_common.h',
|
|
|
|
'elm_layout_legacy.h',
|
|
|
|
'elm_list.h',
|
|
|
|
'elm_list_legacy.h',
|
|
|
|
'elm_macros.h',
|
|
|
|
'elm_map.h',
|
|
|
|
'elm_map_common.h',
|
|
|
|
'elm_map_legacy.h',
|
|
|
|
'elm_mapbuf.h',
|
|
|
|
'elm_mapbuf_legacy.h',
|
|
|
|
'elm_menu.h',
|
|
|
|
'elm_menu_legacy.h',
|
|
|
|
'elm_mirroring.h',
|
|
|
|
'elm_need.h',
|
|
|
|
'elm_notify.h',
|
|
|
|
'elm_notify_common.h',
|
|
|
|
'elm_notify_legacy.h',
|
|
|
|
'efl_ui_nstate.h',
|
|
|
|
'elm_object.h',
|
|
|
|
'elm_object_item.h',
|
|
|
|
'elm_panel.h',
|
|
|
|
'elm_panel_common.h',
|
|
|
|
'elm_panel_legacy.h',
|
|
|
|
'elm_panes.h',
|
|
|
|
'efl_ui_panes_eo.h',
|
|
|
|
'elm_panes_legacy.h',
|
|
|
|
'elm_photo.h',
|
|
|
|
'elm_photo_legacy.h',
|
|
|
|
'elm_photocam.h',
|
|
|
|
'efl_ui_image_zoomable_eo.h',
|
|
|
|
'elm_photocam_legacy.h',
|
|
|
|
'elm_plug.h',
|
|
|
|
'elm_plug_legacy.h',
|
|
|
|
'elm_prefs.h',
|
|
|
|
'elm_prefs_common.h',
|
|
|
|
'elm_prefs_legacy.h',
|
|
|
|
'elm_prefs_data.h',
|
|
|
|
'elm_progressbar.h',
|
|
|
|
'elm_progressbar_common.h',
|
|
|
|
'efl_ui_progressbar_eo.h',
|
|
|
|
'elm_progressbar_legacy.h',
|
|
|
|
'elm_radio.h',
|
|
|
|
'efl_ui_radio_eo.h',
|
|
|
|
'elm_radio_legacy.h',
|
|
|
|
'elm_route.h',
|
|
|
|
'elm_route_legacy.h',
|
|
|
|
'elm_scale.h',
|
|
|
|
'elm_scroll.h',
|
|
|
|
'elm_scroller.h',
|
|
|
|
'elm_scroller_legacy.h',
|
|
|
|
'elm_segment_control.h',
|
|
|
|
'elm_segment_control_legacy.h',
|
|
|
|
'elm_separator.h',
|
|
|
|
'elm_separator_legacy.h',
|
|
|
|
'elm_slider.h',
|
|
|
|
'elm_slider_common.h',
|
|
|
|
'elm_slider_legacy.h',
|
|
|
|
'elm_slideshow.h',
|
|
|
|
'elm_slideshow_common.h',
|
|
|
|
'elm_slideshow_legacy.h',
|
|
|
|
'elm_spinner.h',
|
|
|
|
'elm_spinner_legacy.h',
|
|
|
|
'elm_store.h',
|
|
|
|
'elm_systray.h',
|
|
|
|
'elm_systray_common.h',
|
|
|
|
'elm_systray_watcher.h',
|
|
|
|
'elm_sys_notify.h',
|
|
|
|
'elm_table.h',
|
|
|
|
'elm_table_legacy.h',
|
|
|
|
'elm_theme.h',
|
|
|
|
'elm_thumb.h',
|
|
|
|
'elm_thumb_common.h',
|
|
|
|
'elm_thumb_legacy.h',
|
2018-10-15 11:09:21 -07:00
|
|
|
'elm_textpath.h',
|
|
|
|
'elm_textpath_legacy.h',
|
2018-08-12 06:26:29 -07:00
|
|
|
'elm_toolbar.h',
|
|
|
|
'elm_toolbar_common.h',
|
|
|
|
'elm_toolbar_eo.h',
|
|
|
|
'elm_toolbar_legacy.h',
|
|
|
|
'elm_tooltip.h',
|
|
|
|
'elm_transit.h',
|
|
|
|
'efl_ui_video.h',
|
|
|
|
'efl_ui_video_eo.h',
|
|
|
|
'efl_ui_video_legacy.h',
|
|
|
|
'elm_view_list.h',
|
|
|
|
'elm_view_form.h',
|
|
|
|
'elm_web.h',
|
|
|
|
'elm_web_common.h',
|
|
|
|
'elm_web_eo.h',
|
|
|
|
'elm_web_legacy.h',
|
|
|
|
'elm_win.h',
|
|
|
|
'elm_win_common.h',
|
|
|
|
'elm_win_eo.h',
|
|
|
|
'elm_win_legacy.h',
|
|
|
|
'elm_helper.h',
|
|
|
|
'elm_part_helper.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_bg_eo.legacy.h',
|
|
|
|
'efl_ui_bg_legacy_eo.h',
|
|
|
|
'efl_ui_bg_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_button_eo.legacy.h',
|
|
|
|
'efl_ui_button_legacy_eo.h',
|
|
|
|
'efl_ui_button_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_check_eo.legacy.h',
|
|
|
|
'efl_ui_check_legacy_eo.h',
|
|
|
|
'efl_ui_check_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_flip_eo.legacy.h',
|
|
|
|
'efl_ui_flip_legacy_eo.h',
|
|
|
|
'efl_ui_flip_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_frame_eo.legacy.h',
|
|
|
|
'efl_ui_frame_legacy_eo.h',
|
|
|
|
'efl_ui_frame_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_image_legacy_eo.h',
|
|
|
|
'efl_ui_image_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_image_zoomable_eo.legacy.h',
|
|
|
|
'efl_ui_image_zoomable_legacy_eo.h',
|
|
|
|
'efl_ui_image_zoomable_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_layout_legacy_eo.h',
|
|
|
|
'efl_ui_layout_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_panes_eo.legacy.h',
|
|
|
|
'efl_ui_panes_legacy_eo.h',
|
|
|
|
'efl_ui_panes_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_progressbar_legacy_eo.h',
|
|
|
|
'efl_ui_progressbar_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_radio_eo.legacy.h',
|
|
|
|
'efl_ui_radio_legacy_eo.h',
|
|
|
|
'efl_ui_radio_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_textpath_eo.legacy.h',
|
|
|
|
'efl_ui_textpath_legacy_eo.h',
|
|
|
|
'efl_ui_textpath_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_video_eo.legacy.h',
|
|
|
|
'efl_ui_video_legacy_eo.h',
|
|
|
|
'efl_ui_video_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_widget_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'efl_ui_win_inlined_legacy_eo.h',
|
|
|
|
'efl_ui_win_inlined_legacy_eo.legacy.h',
|
|
|
|
'efl_ui_win_legacy_eo.h',
|
|
|
|
'efl_ui_win_legacy_eo.legacy.h',
|
|
|
|
'efl_ui_win_socket_legacy_eo.h',
|
|
|
|
'efl_ui_win_socket_legacy_eo.legacy.h',
|
2019-03-05 14:00:37 -08:00
|
|
|
'elm_hoversel_eo.h',
|
|
|
|
'elm_hoversel_eo.legacy.h',
|
|
|
|
'elm_hoversel_item_eo.h',
|
|
|
|
'elm_hoversel_item_eo.legacy.h',
|
2018-08-12 06:26:29 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
elementary_header_src = [
|
|
|
|
'Elementary.h',
|
|
|
|
'Elementary_Cursor.h'
|
|
|
|
] + elementary_pub_headers + elementary_headers_unstable
|
|
|
|
|
|
|
|
elementary_src = [
|
|
|
|
'elm_priv.h',
|
|
|
|
'elementary_config.h',
|
|
|
|
'els_box.h',
|
|
|
|
'elc_ctxpopup.c',
|
|
|
|
'elc_fileselector.c',
|
|
|
|
'elc_fileselector_button.c',
|
|
|
|
'elc_fileselector_entry.c',
|
|
|
|
'elc_hoversel.c',
|
|
|
|
'elc_multibuttonentry.c',
|
|
|
|
'elc_naviframe.c',
|
|
|
|
'efl_ui_navigation_bar.c',
|
|
|
|
'efl_ui_navigation_layout.c',
|
|
|
|
'elc_player.c',
|
|
|
|
'elc_popup.c',
|
|
|
|
'elc_scrolled_entry.c',
|
|
|
|
'elm_access.c',
|
|
|
|
'elm_actionslider.c',
|
|
|
|
'elm_atspi_app_object.c',
|
|
|
|
'elm_atspi_bridge.c',
|
|
|
|
'efl_ui_legacy.c',
|
|
|
|
'efl_ui_bg.c',
|
|
|
|
'elm_box.c',
|
|
|
|
'elm_bubble.c',
|
|
|
|
'efl_ui_button.c',
|
|
|
|
'elm_calendar.c',
|
|
|
|
'efl_ui_calendar.c',
|
|
|
|
'efl_ui_check.c',
|
|
|
|
'elm_clock.c',
|
|
|
|
'elm_code_line.c',
|
|
|
|
'elm_code_text.c',
|
|
|
|
'elm_code_indent.c',
|
|
|
|
'elm_code_file.c',
|
|
|
|
'elm_code_parse.c',
|
|
|
|
'elm_code_syntax.c',
|
|
|
|
'elm_code_widget_selection.c',
|
|
|
|
'elm_code_widget.c',
|
|
|
|
'elm_code_diff_widget.c',
|
|
|
|
'elm_code.c',
|
|
|
|
'elm_code_private.h',
|
|
|
|
'elm_code_widget_private.h',
|
|
|
|
'elm_colorselector.c',
|
|
|
|
'elm_color_class.c',
|
|
|
|
'elc_combobox.c',
|
|
|
|
'elm_config.c',
|
|
|
|
'elm_conform.c',
|
|
|
|
'elm_datetime.c',
|
|
|
|
'elm_dayselector.c',
|
|
|
|
'elm_dbus_menu.c',
|
|
|
|
'elm_diskselector.c',
|
|
|
|
'elm_entry.c',
|
|
|
|
'efl_ui_flip.c',
|
|
|
|
'efl_ui_internal_text_interactive.c',
|
|
|
|
'efl_ui_internal_text_interactive.h',
|
2018-11-05 14:41:50 -08:00
|
|
|
'efl_ui_internal_text_scroller.c',
|
|
|
|
'efl_ui_internal_text_scroller.h',
|
2018-08-12 06:26:29 -07:00
|
|
|
'elm_flipselector.c',
|
|
|
|
'elm_font.c',
|
|
|
|
'efl_ui_frame.c',
|
|
|
|
'efl_ui_stack.c',
|
|
|
|
'elm_gengrid.c',
|
|
|
|
'elm_genlist.c',
|
|
|
|
'elm_gesture_layer.c',
|
|
|
|
'elm_gesture_layer_extra_gestures.c',
|
|
|
|
'elm_glview.c',
|
|
|
|
'elm_grid.c',
|
|
|
|
'elm_hover.c',
|
|
|
|
'elm_icon.c',
|
|
|
|
'efl_ui_image.c',
|
|
|
|
'elm_index.c',
|
|
|
|
'efl_access_object.c',
|
|
|
|
'efl_access_action.c',
|
|
|
|
'efl_access_component.c',
|
|
|
|
'efl_access_editable_text.c',
|
|
|
|
'efl_access_selection.c',
|
|
|
|
'efl_access_text.c',
|
|
|
|
'efl_access_value.c',
|
|
|
|
'efl_access_widget_action.c',
|
|
|
|
'efl_access_window.c',
|
|
|
|
'elm_interface_fileselector.c',
|
|
|
|
'elm_interface_scrollable.c',
|
|
|
|
'elm_inwin.c',
|
|
|
|
'elm_label.c',
|
2018-11-16 01:45:05 -08:00
|
|
|
'efl_ui_layout.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_layout_pack.c',
|
|
|
|
'elm_list.c',
|
|
|
|
'elm_main.c',
|
|
|
|
'elm_map.c',
|
|
|
|
'elm_mapbuf.c',
|
|
|
|
'elm_menu.c',
|
|
|
|
'elm_module.c',
|
|
|
|
'elm_notify.c',
|
|
|
|
'efl_ui_nstate.c',
|
|
|
|
'elm_panel.c',
|
|
|
|
'efl_ui_panes.c',
|
|
|
|
'elm_photo.c',
|
|
|
|
'efl_ui_image_zoomable.c',
|
|
|
|
'elm_plug.c',
|
|
|
|
'elm_prefs.c',
|
|
|
|
'elm_prefs_data.c',
|
|
|
|
'efl_ui_progressbar.c',
|
|
|
|
'efl_ui_radio.c',
|
|
|
|
'elm_route.c',
|
|
|
|
'elm_scroller.c',
|
|
|
|
'elm_segment_control.c',
|
|
|
|
'elm_separator.c',
|
|
|
|
'elm_slider.c',
|
|
|
|
'efl_ui_slider.c',
|
|
|
|
'efl_ui_slider_interval.c',
|
|
|
|
'efl_ui_spin.c',
|
|
|
|
'efl_ui_spin_button.c',
|
2018-12-19 18:32:28 -08:00
|
|
|
'efl_ui_panel.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_datepicker.c',
|
|
|
|
'efl_ui_timepicker.c',
|
|
|
|
'efl_ui_tags.c',
|
|
|
|
'elm_slideshow.c',
|
|
|
|
'elm_spinner.c',
|
|
|
|
'elm_store.c',
|
|
|
|
'elm_systray.c',
|
|
|
|
'elm_systray_watcher.c',
|
|
|
|
'elm_sys_notify_interface.c',
|
|
|
|
'elm_sys_notify.c',
|
|
|
|
'elm_sys_notify_dbus.c',
|
|
|
|
'elm_table.c',
|
|
|
|
'elm_theme.c',
|
|
|
|
'elm_thumb.c',
|
|
|
|
'elm_toolbar.c',
|
|
|
|
'elm_transit.c',
|
|
|
|
'elm_util.c',
|
|
|
|
'efl_ui_video.c',
|
|
|
|
'elm_view_list.c',
|
|
|
|
'elm_view_form.c',
|
|
|
|
'elm_web2.c',
|
|
|
|
'efl_ui_widget.c',
|
2019-02-27 10:29:08 -08:00
|
|
|
'efl_ui_widget_common.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_win.c',
|
|
|
|
'efl_ui_win_inlined.c',
|
|
|
|
'efl_ui_win_socket.c',
|
|
|
|
'elm_helper.c',
|
|
|
|
'els_box.c',
|
|
|
|
'els_cursor.c',
|
|
|
|
'els_tooltip.c',
|
|
|
|
'elu_ews_wm.c',
|
efl_ui_table: refactor layout_update
Summary:
There are three reasons to refactor layout_update of Efl.Ui.Table.
=== 1. Inconsistency of hint behavior. ===
Some hint property is often not respected. for example, hint_min is ignored in
Table when it is used with hint_max even if hint_weight is 0. hint_aspect is
always ignored in Table.
The ambiguous behavior make it hard to layout widgets in container. of course,
we documented 'it's just a hint that should be used whenever appropriate.' but i
don't think it means that 'hint API is sometimes respected and we also don't
know when that API is respected.'. at least there is rule for consistent
behavior and we should be able to explain why a widget is located here and
why some hint property is ignored.
So, i'll suggest priority of hint property. this refactoring support following
priority.
1) HintMin
2) HintMin + HintAspect
3) HintMargin
4) HintMax
5) HintAspect
6) HintWeight, HintFill
7) HintAlign
ref T5487
Please check with unit test D7840
=== 2. To Enhance usability. ===
Efl.Ui.Table is using homogeneous mode of evas_table which have same columns,
rows size. but i think a table can generally change columns, rows size and
we can provide homogeneous mode option.(D7892)
In this patch
- table columns(rows) min size is decided by maximum size among its cells
width(height) min size.
- table columns(rows) weight is decided by maximum weight among its cells
horizontal(vertical) weight.
Also, pack_align is implemented. it is used if no item has a weight.
=== 3. To remove internal evas_table. ===
This is low priority work. however, i guess is is necessary for lightweight
container widget. there are two size_hint callback to adjust table size and
efl_canvas_group_calculate is called twice when it is resized.
This patch is first step to remove internal evas_table.
Test Plan:
make check
elementary_test -to 'efl.ui.table'
Reviewers: jpeg, Jaehyun_Cho, zmike
Reviewed By: zmike
Subscribers: zmike, cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T5487
Differential Revision: https://phab.enlightenment.org/D7841
2019-02-27 11:45:27 -08:00
|
|
|
'efl_ui_container_layout.c',
|
|
|
|
'efl_ui_container_layout.h',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_box.c',
|
|
|
|
'efl_ui_box_flow.c',
|
|
|
|
'efl_ui_box_stack.c',
|
|
|
|
'efl_ui_box_layout.c',
|
|
|
|
'efl_ui_box_private.h',
|
|
|
|
'efl_ui_popup.c',
|
2018-11-16 02:11:50 -08:00
|
|
|
'efl_ui_alert_popup.c',
|
|
|
|
'efl_ui_scroll_alert_popup.c',
|
|
|
|
'efl_ui_text_alert_popup.c',
|
|
|
|
'efl_ui_anchor_popup.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_table.c',
|
|
|
|
'efl_ui_table_static.c',
|
efl_ui_table: refactor layout_update
Summary:
There are three reasons to refactor layout_update of Efl.Ui.Table.
=== 1. Inconsistency of hint behavior. ===
Some hint property is often not respected. for example, hint_min is ignored in
Table when it is used with hint_max even if hint_weight is 0. hint_aspect is
always ignored in Table.
The ambiguous behavior make it hard to layout widgets in container. of course,
we documented 'it's just a hint that should be used whenever appropriate.' but i
don't think it means that 'hint API is sometimes respected and we also don't
know when that API is respected.'. at least there is rule for consistent
behavior and we should be able to explain why a widget is located here and
why some hint property is ignored.
So, i'll suggest priority of hint property. this refactoring support following
priority.
1) HintMin
2) HintMin + HintAspect
3) HintMargin
4) HintMax
5) HintAspect
6) HintWeight, HintFill
7) HintAlign
ref T5487
Please check with unit test D7840
=== 2. To Enhance usability. ===
Efl.Ui.Table is using homogeneous mode of evas_table which have same columns,
rows size. but i think a table can generally change columns, rows size and
we can provide homogeneous mode option.(D7892)
In this patch
- table columns(rows) min size is decided by maximum size among its cells
width(height) min size.
- table columns(rows) weight is decided by maximum weight among its cells
horizontal(vertical) weight.
Also, pack_align is implemented. it is used if no item has a weight.
=== 3. To remove internal evas_table. ===
This is low priority work. however, i guess is is necessary for lightweight
container widget. there are two size_hint callback to adjust table size and
efl_canvas_group_calculate is called twice when it is resized.
This patch is first step to remove internal evas_table.
Test Plan:
make check
elementary_test -to 'efl.ui.table'
Reviewers: jpeg, Jaehyun_Cho, zmike
Reviewed By: zmike
Subscribers: zmike, cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T5487
Differential Revision: https://phab.enlightenment.org/D7841
2019-02-27 11:45:27 -08:00
|
|
|
'efl_ui_table_layout.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_table_private.h',
|
|
|
|
'efl_ui_text.c',
|
|
|
|
'efl_ui_text_factory_images.c',
|
|
|
|
'efl_ui_text_factory_emoticons.c',
|
|
|
|
'efl_ui_text_factory_fallback.c',
|
|
|
|
'efl_ui_clock.c',
|
|
|
|
'efl_ui_clock_private.h',
|
|
|
|
'efl_ui_image_factory.c',
|
|
|
|
'efl_ui_focus_manager.c',
|
|
|
|
'efl_ui_focus_manager_calc.c',
|
|
|
|
'efl_ui_focus_manager_sub.c',
|
|
|
|
'efl_ui_focus_object.c',
|
|
|
|
'efl_ui_focus_manager_root_focus.c',
|
|
|
|
'efl_ui_textpath.c',
|
|
|
|
'efl_ui_focus_layer.c',
|
|
|
|
'efl_ui_focus_composition.c',
|
|
|
|
'efl_ui_focus_parent_provider.c',
|
|
|
|
'efl_ui_focus_parent_provider_standard.c',
|
|
|
|
'efl_ui_focus_parent_provider_gen.c',
|
|
|
|
'efl_ui_focus_util.c',
|
|
|
|
'elm_widget_item_static_focus.c',
|
|
|
|
'efl_ui_item.c',
|
|
|
|
'efl_ui_list_item.c',
|
|
|
|
'efl_ui_list_default_item.c',
|
|
|
|
'efl_ui_list_empty_item.c',
|
|
|
|
'efl_ui_list.c',
|
efl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget
Summary:
Introduce new packable grid for Efl.Ui.Widget toolkits.
most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear,
although it will not support Efl.Pack_Table, because item must be
arranged sequential orders.
Test Plan:
We will make the tests on efl ui test suite.
please test by make check.
Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun
Reviewed By: Hermet, eagleeye
Subscribers: CHAN, bu5hm4n, cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6985
2018-11-19 21:32:31 -08:00
|
|
|
'efl_ui_grid_item.c',
|
|
|
|
'efl_ui_grid_default_item.c',
|
|
|
|
'efl_ui_grid.c',
|
efl_ui : change efl_ui_view_list to efl_ui_list_view.
Summary:
View is not a namespace, but an interface,
So, View_List cannot be under the view namespace for now.
it looks more suite to be end as View than List on this widget name.
Firstly, it follows our common naming rules of class.
Also, List_View is commonly presentable name on most UI frameworks,
so it is very easy to understand what this widget can do for the user.
Test Plan:
Make works.
Example is not works for now til stable model interface.
Reviewers: felipealmeida, woohyun, cedric, Hermet
Reviewed By: Hermet
Subscribers: larryolj, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7234
2018-11-04 21:27:05 -08:00
|
|
|
'efl_ui_list_view.c',
|
|
|
|
'efl_ui_list_view_precise_layouter.c',
|
|
|
|
'efl_ui_list_view_seg_array.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_layout_factory.c',
|
|
|
|
'efl_ui_scroller.c',
|
|
|
|
'efl_ui_scroll_manager.c',
|
|
|
|
'efl_ui_pan.c',
|
2018-12-21 13:46:06 -08:00
|
|
|
'efl_ui_selection_manager.c',
|
|
|
|
'efl_ui_selection_manager_private.h',
|
|
|
|
'efl_ui_selection.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_datetime_manager.c',
|
|
|
|
'efl_ui_dnd.c',
|
|
|
|
'elm_focus_legacy.c',
|
|
|
|
'efl_ui_pager.c',
|
|
|
|
'efl_page_transition.c',
|
|
|
|
'efl_page_transition_scroll.c',
|
|
|
|
'efl_page_indicator.c',
|
|
|
|
'efl_page_indicator_icon.c',
|
|
|
|
'efl_ui_focus_graph.h',
|
|
|
|
'efl_ui_focus_graph.c',
|
|
|
|
'efl_ui_tab_pager.c',
|
|
|
|
'efl_ui_tab_bar.c',
|
|
|
|
'efl_ui_tab_page.c',
|
2018-12-06 16:38:47 -08:00
|
|
|
'efl_ui_widget_focus_manager.c',
|
2019-01-18 17:58:39 -08:00
|
|
|
'efl_ui_caching_factory.c',
|
2018-12-28 16:39:44 -08:00
|
|
|
'efl_ui_widget_factory.c',
|
efl_model : rename all efl_model based classes.
Summary:
As the result of discussion in T7458,
we need to rename all efl_model based classes with efl_XXX_Model sequence.
I've run few vote for this, see V42, V43
few classes are totally renamed as our consideration of misnaming.
| Efl.Model_Loop | Efl.Loop_Model |
| Efl.Model_Item | Efl.Generic_Model |
| Efl.Model_Container | Efl.Container_Model |
| Efl.Model_Container_Item | Efl.Container_Model_Item |
| Efl.Model_Composite | Efl.Composite_Model |
| Efl.Model_Composite_Boolean | Efl.Boolean_Model |
| Efl.Model_Composite_Boolean_Chlidren | Efl.Boolean_Model_Item |
| Efl.Model_Composite_Selection | Efl.Select_Model |
| Efl.Model_Composite_Selection_Chlidren | Efl.Select_Model_Item |
| Efl.Model_View | Efl.View_Model |
| Eio.Model | Efl.Io.Model |
| Efl.Ui.Model_State | Efl.Ui.State_Model |
| Efl.Ui.Model_Size | Efl.Ui.Size_Model |
| Efl.Ui.Model_Exact | Efl.Ui.Exact_Model |
| Efl.Ui.Model_Average | Efl.Ui.Average_Model |
| Efl.Ui.Model_Homogeneous | Efl.Ui.Homogeneous_Model |
I worried about Efl.Io.Model changes, cause it is widely used,
but as I tested, there is no issue found yet.
Eldbus.Model also may can changed Efl.Dbus.Model,
but I cannot found any class who using Efl.Dbus namespace,
so I left it future work.
Test Plan:
Run the Make Test,
it works well except Efl test about selection.
there are class inheritance problem exist in select_model,
I reported it and will fix it in another patch.
Reviewers: cedric, felipealmeida, woohyun, Hermet
Reviewed By: cedric
Subscribers: lauromoura
Tags: #efl, #do_not_merge
Differential Revision: https://phab.enlightenment.org/D7533
2019-01-30 20:35:34 -08:00
|
|
|
'efl_ui_size_model.c',
|
|
|
|
'efl_ui_homogeneous_model.c',
|
|
|
|
'efl_ui_exact_model.c',
|
2019-02-22 03:16:09 -08:00
|
|
|
'efl_ui_average_model.c',
|
2019-02-22 02:47:47 -08:00
|
|
|
'efl_ui_relative_layout.c'
|
2018-08-12 06:26:29 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
elementary_deps = [emile, eo, efl, edje, ethumb, ethumb_client, emotion, ecore_imf, ecore_con, eldbus, efreet, efreet_mime, efreet_trash, eio, atspi, dl, intl]
|
|
|
|
elementary_pub_deps = [eina, eet, evas, ecore, ecore_evas, ecore_file, ecore_input, ecore_imf, ecore_con,
|
|
|
|
edje, eldbus, efreet, efreet_mime, efreet_trash, ethumb_client, efl, elocation]
|
|
|
|
|
|
|
|
elm_options = configuration_data()
|
|
|
|
|
|
|
|
config_h.set_quoted('ELM_TOP_BUILD_DIR', meson.build_root())
|
|
|
|
config_h.set_quoted('MODULES_PATH', join_paths(dir_lib, 'modules'))
|
2019-01-10 04:01:08 -08:00
|
|
|
config_h.set_quoted('ELEMENTARY_BASE_DIR', get_option('elementary-base-dir'))
|
2018-08-12 06:26:29 -07:00
|
|
|
config_h.set_quoted('ICON_DIR', join_paths(dir_lib, 'icons'))
|
|
|
|
|
2018-12-04 11:38:07 -08:00
|
|
|
if sys_windows == false
|
|
|
|
elm_options.set('ELM_UNIX', '1')
|
|
|
|
else
|
|
|
|
elm_options.set('DLL_EXPORT', '1')
|
|
|
|
endif
|
|
|
|
|
2018-08-12 06:26:29 -07:00
|
|
|
elm_options.set('ELM_ELOCATION', '1')
|
2018-10-18 06:35:02 -07:00
|
|
|
elm_options.set('ELM_EFREET', '1')
|
2018-08-12 06:26:29 -07:00
|
|
|
|
|
|
|
if config_h.has('HAVE_ALLOCA_H')
|
|
|
|
elm_options.set('ELM_ALLOCA_H', '1')
|
|
|
|
endif
|
|
|
|
|
|
|
|
if config_h.has('HAVE_LIBINTL_H')
|
|
|
|
elm_options.set('ELM_LIBINTL_H', '1')
|
|
|
|
endif
|
|
|
|
|
|
|
|
if config_h.has('HAVE_DIRENT_H')
|
|
|
|
elm_options.set('ELM_DIRENT_H', '1')
|
|
|
|
endif
|
|
|
|
|
|
|
|
if get_option('x11')
|
|
|
|
config_h.set('HAVE_ELEMENTARY_X', '1')
|
|
|
|
elementary_deps += ecore_x
|
|
|
|
endif
|
|
|
|
|
|
|
|
if get_option('wl')
|
|
|
|
config_h.set('HAVE_ELEMENTARY_WL2', '1')
|
|
|
|
elementary_deps += ecore_wl2
|
|
|
|
endif
|
|
|
|
|
|
|
|
if get_option('drm')
|
|
|
|
config_h.set('HAVE_ELEMENTARY_DRM', '1')
|
|
|
|
elementary_deps += ecore_drm2
|
|
|
|
endif
|
|
|
|
|
|
|
|
if get_option('cocoa')
|
|
|
|
config_h.set('HAVE_ELEMENTARY_COCOA', '1')
|
|
|
|
elementary_deps += ecore_cocoa
|
|
|
|
endif
|
|
|
|
|
|
|
|
c = configure_file(
|
|
|
|
output: 'Elementary_Options.h',
|
|
|
|
install : true,
|
|
|
|
install_dir : dir_package_include,
|
|
|
|
configuration: elm_options)
|
|
|
|
|
|
|
|
elm_package_c_args = package_c_args + ['-DELEMENTARY_BUILD=1']
|
|
|
|
|
|
|
|
elementary_lib = library('elementary',
|
|
|
|
elementary_src, pub_eo_file_target, priv_eo_file_target, c,
|
|
|
|
dependencies: elementary_pub_deps + elementary_deps,
|
|
|
|
include_directories : config_dir + [include_directories('.')] + [include_directories(join_paths('..', '..', '..'))] + [ecore_evas_wayland_engine_include_dir],
|
|
|
|
install: true,
|
|
|
|
c_args : elm_package_c_args,
|
|
|
|
version : meson.project_version()
|
|
|
|
)
|
|
|
|
|
|
|
|
elementary = declare_dependency(
|
|
|
|
include_directories: [include_directories('.')],
|
|
|
|
link_with: elementary_lib,
|
|
|
|
sources : pub_eo_file_target + priv_eo_file_target,
|
|
|
|
dependencies: elementary_pub_deps,
|
|
|
|
)
|
|
|
|
|
|
|
|
install_data(pub_eo_files + pub_eo_types_files,
|
|
|
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
|
|
|
)
|
|
|
|
|
|
|
|
install_headers(elementary_header_src,
|
|
|
|
install_dir : dir_package_include,
|
|
|
|
)
|
|
|
|
|
|
|
|
elementary_config_dir = include_directories('.')
|
2018-10-31 02:22:09 -07:00
|
|
|
|
|
|
|
package_pc_variables = ['themes='+join_paths(dir_data, package_name, 'themes')]
|