efl/src/lib/ecore_file
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_File.h docs: Fix typos and some wrong expressions in API reference doc. 2018-08-30 14:01:21 +09:00
ecore_file.c ecore_file: switch from buf to tmpstr 2018-04-10 14:27:44 +02:00
ecore_file_download.c efl.file: improve api a bit 2019-02-27 13:17:10 -05:00
ecore_file_monitor.c ecore_file/ipc: clean up documentation 2016-10-04 21:08:17 +09:00
ecore_file_monitor_inotify.c ecore_file: on shutdown properly set to NULL to avoid confusion when cycling init/shutdown. 2018-05-24 16:02:20 -07:00
ecore_file_monitor_poll.c
ecore_file_monitor_win32.c
ecore_file_path.c ecore_file/ipc: clean up documentation 2016-10-04 21:08:17 +09:00
ecore_file_private.h EFL For WIN32: Replace HAVE_EVIL define with _WIN32 2017-09-22 05:06:10 -05:00
meson.build meson: unify system properties 2018-10-05 13:40:29 +02:00