efl/src/lib/ecore
Mike Blumenkrantz 6326e18b3f efl.file: improve api a bit
Summary:
the previous implementation/api had a number of issues:
* "file" property contained both "file" and "key" values
  - also performed file loading operation
* "load_error" property which was specific to image objects
* no methods for controlling file loading/unloading

this patch attempts the following changes:
* split "file" property into "file" and "key" properties
  - also remove "key" from existing "mmap" property
* remove "load_error"
* directly return error codes from operations
* add "load" and "unload" methods for directly controlling load state
* add implicit file loading if file/mmap is set during construction
* rewrite all efl.file implementations to move file loading into load() method
* rewrite all usage of efl.file api based on these changes
* add C extension functions to mimic previous behavior

ref T7577

Reviewers: segfaultxavi, bu5hm4n, cedric

Reviewed By: segfaultxavi

Subscribers: vitor.sousa, #reviewers, #committers

Tags: #efl_api

Maniphest Tasks: T7577

Differential Revision: https://phab.enlightenment.org/D8018
2019-02-27 13:17:10 -05:00
..
Ecore.h
Ecore_Common.h Mark EFL_MAIN and EFL_MAIN_EX macros as stable 2019-02-14 17:11:04 +01:00
Ecore_Eo.h Revert "Revert command line array object because it's broken by design" 2019-02-12 21:42:33 +01:00
Ecore_Getopt.h
Ecore_Legacy.h doc: remove since_tizen. 2018-12-06 14:41:51 +09:00
Efl_Core.h Stop defining EFL_BETA_API_SUPPORT in Efl_Core.h and Efl_Ui.h 2019-02-14 17:53:46 +01:00
ecore.c ecore: call eina_debug_fork_reset() in fork reset function 2018-06-19 13:55:36 -04:00
ecore_alloc.c
ecore_anim.c ecore: remove duplicated conditions 2018-10-26 19:25:09 +09:00
ecore_app.c
ecore_event_message.c eolian gen: enable constness generation on property getter impls 2018-04-17 20:31:55 +02:00
ecore_event_message.eo efl: convert all classes to the new eolian syntax 2019-01-18 16:31:26 +01:00
ecore_event_message_handler.c efl_loop: remove message_handler_get 2019-02-21 19:13:41 +01:00
ecore_event_message_handler.eo efl: convert all classes to the new eolian syntax 2019-01-18 16:31:26 +01:00
ecore_events.c efl_loop: remove message_handler_get 2019-02-21 19:13:41 +01:00
ecore_exe.c eolian gen: enable constness generation on property getter impls 2018-04-17 20:31:55 +02:00
ecore_exe.eo efl: convert all classes to the new eolian syntax 2019-01-18 16:31:26 +01:00
ecore_exe_posix.c
ecore_exe_private.h
ecore_exe_ps3.c
ecore_exe_win32.c
ecore_getopt.c
ecore_glib.c ecore/glib: add #ifdef guards for newly added includes 2018-06-22 15:26:44 -04:00
ecore_idle_enterer.c
ecore_idle_exiter.c
ecore_idler.c
ecore_internal.h ecore: efl_model_list_value_get will throw error when asked for out of range value. 2018-05-01 10:39:01 -07:00
ecore_job.c ecore: remove duplicated conditions 2018-10-26 19:25:09 +09:00
ecore_main.c ecore_main: Add ECORE_FD_ALWAYS flag 2019-02-13 10:33:40 -06:00
ecore_main_common.h
ecore_main_timechanges.c
ecore_pipe.c ecore_pipe: remove null check condition and fix segfualt on Windows 2018-08-17 12:42:35 -04:00
ecore_poller.c ecore: remove duplicated conditions 2018-10-26 19:25:09 +09:00
ecore_private.h efl_loop: remove message_handler_get 2019-02-21 19:13:41 +01:00
ecore_signal.c ecore: check fcntl return. 2019-01-29 19:30:45 +09:00
ecore_thread.c ecore thread - fix warn - callback prototypes to match correct type 2018-11-09 11:43:59 +00:00
ecore_throttle.c
ecore_time.c efl_loop: document and annotate efl_loop_time correctly 2019-02-21 08:56:13 +01:00
ecore_timer.c efl/timer: correctly handle timer freeze during construction 2018-08-27 12:09:49 +09:00
efl_accelerate_interpolator.c efl_interpolator: rename subclasses of Efl.Interpolator 2018-11-23 21:44:34 +09:00
efl_accelerate_interpolator.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_app.c efl_loop / efl_app: make efl_app / efl_loop abstract 2019-02-21 19:13:39 +01:00
efl_app.eo efl_loop / efl_app: make efl_app / efl_loop abstract 2019-02-21 19:13:39 +01:00
efl_appthread.c api: add bool data to efl.io.reader/writer 'changed' events 2019-02-22 08:50:02 -05:00
efl_appthread.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_boolean_model.c efl_model : rename all efl_model based classes. 2019-01-31 14:59:37 +09:00
efl_boolean_model.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_bounce_interpolator.c efl_interpolator: rename subclasses of Efl.Interpolator 2018-11-23 21:44:34 +09:00
efl_bounce_interpolator.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_composite_model.c ecore: enforce proper lifecycle for all Efl.Composite_Model children. 2019-02-23 08:57:10 -05:00
efl_composite_model.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_composite_model_private.h efl_model : rename all efl_model based classes. 2019-01-31 14:59:37 +09:00
efl_container_model.c efl_model : rename all efl_model based classes. 2019-01-31 14:59:37 +09:00
efl_container_model.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_container_model_item.c efl_model : rename all efl_model based classes. 2019-01-31 14:59:37 +09:00
efl_container_model_item.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_container_model_private.h efl_model : rename all efl_model based classes. 2019-01-31 14:59:37 +09:00
efl_core_command_line.c fix args handling in cmdline class to not be broken 2019-02-15 10:21:14 +00:00
efl_core_command_line.eo efl cmdline use simpler stringshare type to not be redundant 2019-02-15 19:52:50 +00:00
efl_core_env.c Revert "Revert the env object because it's broken portability - please redo" 2019-02-12 21:34:27 +01:00
efl_core_env.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_core_proc_env.c env obj - fixx implementation to use a shared object 2019-02-15 01:31:52 +00:00
efl_core_proc_env.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_cubic_bezier_interpolator.c efl_interpolator: rename subclasses of Efl.Interpolator 2018-11-23 21:44:34 +09:00
efl_cubic_bezier_interpolator.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_decelerate_interpolator.c efl_interpolator: rename subclasses of Efl.Interpolator 2018-11-23 21:44:34 +09:00
efl_decelerate_interpolator.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_divisor_interpolator.c efl_interpolator: rename subclasses of Efl.Interpolator 2018-11-23 21:44:34 +09:00
efl_divisor_interpolator.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_exe.c api: add bool data to efl.io.reader/writer 'changed' events 2019-02-22 08:50:02 -05:00
efl_exe.eo fix efl exe/thread/appthread to work again after seemingly bitrotting 2019-02-15 10:21:19 +00:00
efl_general.h Mark EFL_MAIN and EFL_MAIN_EX macros as stable 2019-02-14 17:11:04 +01:00
efl_generic_model.c efl_model : rename all efl_model based classes. 2019-01-31 14:59:37 +09:00
efl_generic_model.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_io_buffered_stream.c api: add bool data to efl.io.reader/writer 'changed' events 2019-02-22 08:50:02 -05:00
efl_io_buffered_stream.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_io_closer_fd.c ecore: move close_on_destructor to close_on_invalidate as that describe the behavior best. 2018-05-01 10:39:01 -07:00
efl_io_closer_fd.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_io_copier.c Make Efl.Ui.Closer an interface instead of mixin 2019-01-17 13:59:57 -05:00
efl_io_copier.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_io_file.c efl.file: improve api a bit 2019-02-27 13:17:10 -05:00
efl_io_file.eo efl.file: improve api a bit 2019-02-27 13:17:10 -05:00
efl_io_positioner_fd.c eolian gen: enable constness generation on property getter impls 2018-04-17 20:31:55 +02:00
efl_io_positioner_fd.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_io_reader_fd.c api: add bool data to efl.io.reader/writer 'changed' events 2019-02-22 08:50:02 -05:00
efl_io_reader_fd.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_io_sizer_fd.c eolian gen: enable constness generation on property getter impls 2018-04-17 20:31:55 +02:00
efl_io_sizer_fd.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_io_stderr.c
efl_io_stderr.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_io_stdin.c
efl_io_stdin.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_io_stdout.c
efl_io_stdout.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_io_writer_fd.c api: add bool data to efl.io.reader/writer 'changed' events 2019-02-22 08:50:02 -05:00
efl_io_writer_fd.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_linear_interpolator.c efl_interpolator: rename subclasses of Efl.Interpolator 2018-11-23 21:44:34 +09:00
efl_linear_interpolator.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_loop.c efl_loop: remove message_handler_get 2019-02-21 19:13:41 +01:00
efl_loop.eo efl_loop: remove message_handler_get 2019-02-21 19:13:41 +01:00
efl_loop_consumer.c ecore: remove data parameters of Efl.Loop_Consumer.promise_new to reduce the risk of inadvertently using the wrong data. 2019-01-16 14:33:26 -08:00
efl_loop_consumer.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_loop_fd.c ecore: logically do the disconnection from the main loop API during invalidate. 2018-05-01 10:39:01 -07:00
efl_loop_fd.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_loop_handler.c eolian gen: enable constness generation on property getter impls 2018-04-17 20:31:55 +02:00
efl_loop_handler.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_loop_message.c
efl_loop_message.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_loop_message_future.c eolian gen: enable constness generation on property getter impls 2018-04-17 20:31:55 +02:00
efl_loop_message_future.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_loop_message_future_handler.c
efl_loop_message_future_handler.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_loop_message_handler.c
efl_loop_message_handler.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_loop_model.c ecore: add infrastructure to make it easy to enforce Efl.Loop_Model children lifecycle. 2019-02-21 13:40:46 -08:00
efl_loop_model.eo ecore: add infrastructure to make it easy to enforce Efl.Loop_Model children lifecycle. 2019-02-21 13:40:46 -08:00
efl_loop_timer.eo efl_loop_timer: resolve fixups of documentation 2019-02-21 19:13:40 +01:00
efl_model_accessor_view.c efl: replace efl_del with efl_unref for cases where no parent exists 2018-03-20 17:20:57 -07:00
efl_model_accessor_view_private.h
efl_select_model.c ecore: enforce proper lifecycle for all Efl.Composite_Model children. 2019-02-23 08:57:10 -05:00
efl_select_model.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_sinusoidal_interpolator.c efl_interpolator: rename subclasses of Efl.Interpolator 2018-11-23 21:44:34 +09:00
efl_sinusoidal_interpolator.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_spring_interpolator.c efl_interpolator: rename subclasses of Efl.Interpolator 2018-11-23 21:44:34 +09:00
efl_spring_interpolator.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_task.c Revert "Revert command line array object because it's broken by design" 2019-02-12 21:42:33 +01:00
efl_task.eo fix efl exe/thread/appthread to work again after seemingly bitrotting 2019-02-15 10:21:19 +00:00
efl_thread.c api: add bool data to efl.io.reader/writer 'changed' events 2019-02-22 08:50:02 -05:00
efl_thread.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_threadio.c eolian gen: enable constness generation on property getter impls 2018-04-17 20:31:55 +02:00
efl_threadio.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
efl_view_model.c efl_model : rename all efl_model based classes. 2019-01-31 14:59:37 +09:00
efl_view_model.eo Mark BETA classes individually 2019-02-14 17:46:50 +01:00
meson.build Revert "Revert command line array object because it's broken by design" 2019-02-12 21:42:33 +01:00