2018-11-28 05:45:31 -08:00
|
|
|
eolian_include_directories += ['-I', join_paths(meson.source_root(), 'src', 'lib')]
|
|
|
|
|
2018-08-12 06:26:29 -07:00
|
|
|
pub_legacy_eo_files = [
|
|
|
|
'efl_gfx_fill.eo',
|
|
|
|
'efl_gfx_entity.eo',
|
|
|
|
'efl_gfx_color.eo',
|
|
|
|
'efl_gfx_image.eo',
|
2019-01-29 02:16:34 -08:00
|
|
|
'efl_gfx_frame_controller.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_draggable.eo',
|
|
|
|
'efl_ui_scrollable.eo',
|
|
|
|
'efl_ui_scrollbar.eo',
|
efl_ui_selectable: split this up
i dont know why, but something got badly mixed up, the selection APIs
for text and item ended up in the same interface, which seems ... weird
?
This commit splits that up into container_selectable and
text_selectable, there is no future plan on my list for text_selection.
The rest of this series is working towards removing
container_selectable, replacing it with a new interface. However, the
interface will stay until list_view is replaced.
The changes in the legacy code are removing the efl.ui.selection
interface from it, item emission is not depending on the inherited
interfaces, additionally, this interface does not provide any API, so
this should not be an issue.
ref T7766
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D9498
2019-08-05 09:35:13 -07:00
|
|
|
'efl_ui_container_selectable.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_zoom.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,
|
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 : join_paths(dir_package_include, 'interfaces'),
|
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
|
|
|
|
|
|
|
|
pub_eo_files = [
|
|
|
|
'efl_playable.eo',
|
|
|
|
'efl_config.eo',
|
|
|
|
'efl_control.eo',
|
|
|
|
'efl_duplicate.eo',
|
|
|
|
'efl_file.eo',
|
2019-01-30 06:05:05 -08:00
|
|
|
'efl_file_save.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_gfx_image_load_controller.eo',
|
|
|
|
'efl_part.eo',
|
|
|
|
'efl_player.eo',
|
2019-09-24 11:22:11 -07:00
|
|
|
'efl_audio_control.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_text.eo',
|
|
|
|
'efl_text_font.eo',
|
|
|
|
'efl_text_style.eo',
|
|
|
|
'efl_text_format.eo',
|
|
|
|
'efl_text_markup.eo',
|
|
|
|
'efl_text_markup_util.eo',
|
|
|
|
'efl_gfx_stack.eo',
|
|
|
|
'efl_gfx_view.eo',
|
|
|
|
'efl_gfx_buffer.eo',
|
|
|
|
'efl_gfx_path.eo',
|
|
|
|
'efl_gfx_shape.eo',
|
|
|
|
'efl_gfx_gradient.eo',
|
|
|
|
'efl_gfx_gradient_linear.eo',
|
|
|
|
'efl_gfx_gradient_radial.eo',
|
|
|
|
'efl_gfx_filter.eo',
|
|
|
|
'efl_gfx_blur.eo',
|
2019-02-21 09:19:45 -08:00
|
|
|
'efl_gfx_hint.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_model.eo',
|
2019-07-10 18:03:46 -07:00
|
|
|
'efl_model_provider.eo',
|
2018-11-23 02:30:36 -08:00
|
|
|
'efl_interpolator.eo',
|
2019-05-22 11:16:16 -07:00
|
|
|
'efl_gfx_image_orientable.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_container.eo',
|
|
|
|
'efl_content.eo',
|
|
|
|
'efl_pack.eo',
|
|
|
|
'efl_pack_layout.eo',
|
|
|
|
'efl_pack_linear.eo',
|
|
|
|
'efl_pack_table.eo',
|
2019-04-24 06:41:39 -07:00
|
|
|
'efl_gfx_arrangement.eo',
|
2018-12-21 14:13:40 -08:00
|
|
|
'efl_ui_i18n.eo',
|
2019-05-24 09:30:31 -07:00
|
|
|
'efl_ui_layout_orientable.eo',
|
|
|
|
'efl_ui_layout_orientable_readonly.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_drag.eo',
|
2019-01-21 07:22:32 -08:00
|
|
|
'efl_ui_range_display.eo',
|
|
|
|
'efl_ui_range_interactive.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_view.eo',
|
2019-01-31 03:59:19 -08:00
|
|
|
'efl_ui_property_bind.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_ui_factory.eo',
|
2019-08-16 15:59:36 -07:00
|
|
|
'efl_ui_view_factory.eo',
|
2019-01-31 03:59:19 -08:00
|
|
|
'efl_ui_factory_bind.eo',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_screen.eo',
|
|
|
|
'efl_io_closer.eo',
|
|
|
|
'efl_io_positioner.eo',
|
|
|
|
'efl_io_reader.eo',
|
|
|
|
'efl_io_sizer.eo',
|
|
|
|
'efl_io_writer.eo',
|
|
|
|
'efl_io_buffer.eo',
|
|
|
|
'efl_io_queue.eo',
|
|
|
|
'efl_observer.eo',
|
|
|
|
'efl_observable.eo',
|
|
|
|
'efl_ui_autorepeat.eo',
|
|
|
|
'efl_gfx_color_class.eo',
|
|
|
|
'efl_gfx_text_class.eo',
|
|
|
|
'efl_gfx_size_class.eo',
|
2018-12-06 16:38:47 -08:00
|
|
|
'efl_cached_item.eo',
|
Efl.Ui.Text : all related interfaces
Summary:
Change summary:
Removed :
- efl_ui_text_selectable.eo and add it functionality into efl_text_interactive.eo
- efl_ui_text_editable.eo because it is same as efl_ui_text.eo (just set one property by default)
Modifications:
- Move all Text Input enums and functionality from efl_ui_text class into its own interface, this interface will be implemented at efl_ui_internal_text_interactive class.
- Rename selection_allowed property to selectable (same as other "editable" property) in efl_text_interactive
- Add select_all function into efl_text_interactive interface
- Add have_selection property into efl_text_interactive interface
- Move user_change , selection_start/change/clear and undo/redo events into efl_text_interactive interface.
- Move methods and events of copy/paste/cut into efl_ui_text
- Fix password-related functionality
- Remove context menu clear and add_item methods. (these should be added later with better design)
- Remove Validation event from EFL_UI_TEXT. (these should be added later with better design)
Reviewers: woohyun, tasn, segfaultxavi, zmike, bu5hm4n
Subscribers: stefan_schmidt, a.srour, q66, zmike, segfaultxavi, cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10711
2019-12-08 17:58:39 -08:00
|
|
|
'efl_input_text.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,
|
|
|
|
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 : join_paths(dir_package_include, 'interfaces'),
|
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
|
|
|
|
|
2018-10-19 06:47:44 -07:00
|
|
|
pub_eo_files += pub_legacy_eo_files
|
|
|
|
|
2018-08-12 06:26:29 -07:00
|
|
|
pub_eo_types_files = [
|
|
|
|
'efl_gfx_types.eot',
|
2019-10-15 06:06:48 -07:00
|
|
|
'efl_ui_drag_types.eot',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_types.eot',
|
|
|
|
'efl_text_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 : join_paths(dir_package_include, 'interfaces'),
|
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
|
|
|
|
|
2019-03-14 09:43:51 -07:00
|
|
|
if get_option('install-eo-files')
|
|
|
|
install_data(pub_eo_files + pub_legacy_eo_files + pub_eo_types_files,
|
|
|
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
|
|
|
)
|
|
|
|
endif
|
2018-10-19 06:47:44 -07:00
|
|
|
|
|
|
|
efl_interfaces_eo_files = pub_eo_files
|
|
|
|
efl_interfaces_eot_files = pub_eo_types_files
|
|
|
|
|
|
|
|
pub_eo_files = []
|
|
|
|
pub_eo_types_files = []
|
2018-08-12 06:26:29 -07:00
|
|
|
|
|
|
|
efl_src += files([
|
|
|
|
'efl_interfaces_main.c',
|
2018-12-07 14:39:42 -08:00
|
|
|
'efl_mvvm_common.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_gfx_path.c',
|
|
|
|
'efl_gfx_shape.c',
|
|
|
|
'efl_gfx_color.c',
|
|
|
|
'efl_io_closer.c',
|
|
|
|
'efl_io_positioner.c',
|
|
|
|
'efl_io_reader.c',
|
|
|
|
'efl_io_sizer.c',
|
|
|
|
'efl_io_writer.c',
|
|
|
|
'efl_io_buffer.c',
|
|
|
|
'efl_io_queue.c',
|
|
|
|
'efl_observer.c',
|
|
|
|
'efl_file.c',
|
2019-05-24 09:30:31 -07:00
|
|
|
'efl_ui_layout_orientable_readonly.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'efl_text_markup_util.c',
|
2019-07-10 18:03:46 -07:00
|
|
|
'efl_model_provider.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
])
|
|
|
|
|
2019-02-27 10:17:09 -08:00
|
|
|
install_headers('efl_file.h',
|
|
|
|
install_dir : join_paths(dir_package_include, 'interfaces'),
|
|
|
|
)
|
|
|
|
|
2018-08-12 06:26:29 -07:00
|
|
|
eolian_include_directories += ['-I', meson.current_source_dir()]
|