efl/src/bin/edje
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
..
epp epp: fix correct parameters for cpp_error_with_line 2019-01-28 17:15:34 +09:00
.gitignore
edje_cc.c edje_cc: disable efreetd connection 2018-07-06 15:51:59 +02:00
edje_cc.h edje_cc: add 'skip_namespace_validation' keyword 2018-07-05 22:59:18 +02:00
edje_cc_handlers.c edje cc - warn - use correct free prorotype for has free func 2018-11-09 11:44:00 +00:00
edje_cc_mem.c edje: reformat bin/ c files 2018-02-28 16:02:37 -05:00
edje_cc_out.c efl.file: improve api a bit 2019-02-27 13:17:10 -05:00
edje_cc_parse.c edje_cc_parse - use memcpy instead of strncpy as we are truncating 2018-11-09 11:44:00 +00:00
edje_cc_script.c Revert "edje: code refactoring for readibility." 2018-06-21 19:33:41 +09:00
edje_cc_sources.c edje_cc: check return value of fseeks 2019-01-28 17:26:09 +09:00
edje_codegen.c codegen: ensure we include the filename and not the path 2018-11-02 12:43:26 +01:00
edje_convert.c edje: reformat bin/ c files 2018-02-28 16:02:37 -05:00
edje_convert.h edje: add required attribute in Edje_Part 2016-07-15 16:34:34 +09:00
edje_convert_main.c edje: reformat bin/ c files 2018-02-28 16:02:37 -05:00
edje_data_convert.c edje: reformat bin/ c files 2018-02-28 16:02:37 -05:00
edje_decc.c edje: add ability to reference images from other edje files 2018-02-28 16:02:38 -05:00
edje_decc.h
edje_external_inspector.c edje: reformat bin/ c files 2018-02-28 16:02:37 -05:00
edje_inspector.c edje: reformat bin/ c files 2018-02-28 16:02:37 -05:00
edje_multisense_convert.c edje: reformat bin/ c files 2018-02-28 16:02:37 -05:00
edje_multisense_convert.h
edje_pick.c Revert "edje: code refactoring for readibility." 2018-06-21 19:33:41 +09:00
edje_player.c edje player - fix ridiculous use of srncat 2018-11-09 11:44:00 +00:00
edje_recc edje_recc: don't use negative exit code in a /bin/sh script 2017-11-03 15:46:11 -05:00
edje_watch.c edje: reformat bin/ c files 2018-02-28 16:02:37 -05:00
meson.build meson: edje: setup edje_codegen for cross-builds as well 2019-02-27 11:31:46 +01:00