Carsten Haitzler
2de9f552b9
eio - have a smaller mempool as i can see 270k of stuff hanging about
...
eio seems to consume memory even when not in active use. this saves
most of 270k even when no longer needed. the mempool just keeps stuff
around pretty much forever. also the memory size limit doesn't work at
asll if yous set it to something other than -1. it just locks eio up.
@optimize
2016-12-03 18:01:53 +09:00
Jee-Yong Um
e037f30be4
efl.io.manager: fix eo types and indent
...
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4413
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-11-28 11:35:27 -08:00
Stefan Schmidt
124effc524
docs: eio: finish up missing eo file docs in eio
2016-11-11 09:15:24 +01:00
Stefan Schmidt
a670418431
docs: efl_io: add missing docs for efl_io_manager
2016-11-07 15:53:35 +01:00
Daniel Kolesa
a8f240e10d
ecore_audio, eio eo: remove pointers
2016-11-04 17:14:30 +01:00
Stefan Schmidt
4a66bd14b7
docs: document all missing type defines in our eo files
...
With this commit we reach 100% alias doc coverage for our eo files.
2016-11-03 11:57:40 +01:00
Vitor Sousa
9f2270804b
eio model: remove useless efreet_mime_type_get call
2016-10-28 21:21:57 -02:00
Stefan Schmidt
0fd32899ec
docs: eio: document missing structs
2016-10-27 18:22:42 +02:00
Cedric Bail
fb8d139ad0
eio: fetch mime type asynchronously.
2016-10-25 16:54:55 -07:00
Jean-Philippe Andre
7f6f282210
Efl.Loop.User: Use prefix to rename efl_loop_user_loop_get
...
efl_loop_user_loop_get is idiotic. efl_loop_get should be good enough.
2016-10-06 12:24:59 +09:00
Jean-Philippe Andre
4e811bed17
eio_model: Provide main loop even without parent
...
An eio model (and I believe most other models as well, in fact)
require a Efl.Loop.User as parent in order for efl future/promises
to work. This adds a fallback code directly inside eio model. The
alternative was to parent and efl_del all models in fileselector.
See T4686
2016-10-06 09:43:19 +09:00
Al Poole
72125bd8c3
eio - put in fix by disabling some fallback code
...
as per https://phab.enlightenment.org/T4619
fixes 4619
@fix
2016-10-04 15:05:58 +09:00
Felipe Magno de Almeida
1a2014a122
efl: Update Efl.Model to use new Efl_Promise and Efl_Future
...
Replaced all Eina_Promise_Owner and Eina_Promise with Efl_Promise and
Efl_Future.
2016-09-29 13:12:27 -03:00
Vitor Sousa
87fec80413
eio model: use empty mime type when efreet is unable to determine it
...
FIX T4502
@fix
2016-09-23 13:21:55 -03:00
Cedric BAIL
59a77b3315
eio: properly track destruction of all Eet eio request.
...
@fix T4550
2016-09-12 16:19:10 -07:00
Cedric BAIL
bd362b13d6
efl: add documentation and last cleanup of the API.
2016-09-08 15:16:43 -07:00
Cedric BAIL
0c067fb62f
eio: implement efl_io_manager_xattr_ls
2016-09-08 15:16:43 -07:00
Cedric BAIL
c6e145da2d
eio: add an internal function for getting xattr in bulk.
2016-09-08 15:16:43 -07:00
Cedric BAIL
5579d2f5cd
eio: make xattr list packed for better performance.
2016-09-08 15:16:43 -07:00
Cedric BAIL
d7fbd6f13e
eio: fix allocation in eio_dir to reuse common safer infra.
2016-09-08 15:16:43 -07:00
Cedric Bail
52c63190d5
eio: rework efl_io_manager to use efl_future.
2016-09-08 15:16:23 -07:00
Cedric Bail
11fe9b8cd9
eio: add internal function able to build array instead of triggering a callback per files.
2016-09-08 14:58:06 -07:00
Cedric Bail
d26a0a2f70
eio: track length of resulting operation to be reported by futures.
2016-09-08 14:58:06 -07:00
Al Poole
a19f730137
eio: fix kevent monitor to not SIGBUS.
2016-09-07 16:41:59 -07:00
Tom Hacohen
9c779dca90
Rename efl_self to efl_added
...
It has been discussed on the ML (thread: "[RFC] rename efl_self") and
IRC, and has been decided we should rename it to this in order to avoid
confusion with the already established meaning of self which is very
similar to what we were using it for, but didn't have complete overlap.
Kudos to Marcel Hollerbach for initiating the discussion and
fighting for it until he convinced a significant mass. :)
This commit breaks API, and depending on compiler potentially ABI.
@feature
2016-09-05 16:59:56 +01:00
Vitor Sousa
f02ff462e7
efl callbacks: update some events calls to no longer trigger legacy callbacks
2016-08-30 13:59:59 -03:00
Vitor Sousa
8356b16a49
Efl Object: remove legacy callback calls from event_callback_call
...
Efl.Object.event_callback_call no longer calls legacy smart callbacks;
calling only event callbacks registered with the given event description
pointer.
Create the method Efl.Object.event_callback_legacy_call to inherit the old
behavior from Efl.Object.event_callback_call, calling both Efl.Object events
and legacy smart callbacks.
Update all other files accordingly in order to still supply legacy
callbacks while they are necessary.
2016-08-26 15:45:07 -03:00
Tom Hacohen
e65aae994e
Eo: Finish the renaming of Eo to the EFL.
...
This renames all the rest of the API to the EFL namespace except for
Eo_Event that will follow soon.
Obviously breaks both API and ABI.
2016-08-15 15:07:42 +01:00
Tom Hacohen
c662934be8
Change the EFL to follow the new Eo rename.
2016-08-11 17:04:43 +01:00
Stephen Houston
31f351ae4e
Eio: Update my email address.
2016-08-05 20:33:27 -05:00
Cedric BAIL
dd1d3f0d2d
autotools: since it has been broken for some times and nobody noticed, let's remove per directory support.
2016-08-01 13:36:47 -07:00
Cedric Bail
57226d86ff
eio: handle failure due to lack of access right.
2016-07-15 17:07:49 -07:00
Cedric Bail
adff89dfc0
eio: make it possible to force fallback monitor for testing purpose.
2016-07-15 17:07:49 -07:00
Cedric Bail
e93d6f90db
eio: avoid access after death of eio handler due to inotify triggering IN_IGNORED event.
2016-07-15 17:07:49 -07:00
Cedric Bail
bf369ba661
eio: cleanup thread pointer on thread finish.
2016-07-15 17:07:49 -07:00
Carsten Haitzler
e3b6b74aa6
eio model - fix leak found by coverity
...
fix CID 1355012
2016-07-08 18:15:05 +09:00
Cedric BAIL
b047bf7f64
eio: register one Efl_Io_Manager by default on the main loop at init time.
2016-06-22 13:19:13 -07:00
Cedric BAIL
10aadafcfd
eio: rename eio_job to efl_io_manager.
...
There is still a lot of work to do in this API to make it efficient and
stable. Will try to get at it before 1.18 release.
2016-06-22 13:19:13 -07:00
Felipe Magno de Almeida
8e4f383d61
efl: Move promise parameter to return in data model
...
Summary:
Instead of:
efl_model_property_get("name", &promise);
now:
promise = efl_model_property_get("name");
Reviewers: stefan_schmidt, cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4038
2016-06-16 22:01:07 -03:00
Larry Jr
3f1466b77d
eio: Fixed Eio_Model monitor life cycle
2016-06-14 20:57:00 -03:00
Felipe Magno de Almeida
f6d20c839e
eio: Removed wrong attribution to promise vtable from Eio
2016-06-11 10:40:27 -03:00
Larry Jr
191bc882d4
eio: fixed Eina_Value_Type in model property mtime
2016-06-10 19:33:30 -03:00
Lauro Moura
46843551c0
eina: Remove value type promises
...
All values in promises are now considered as by-pointer.
2016-06-09 22:38:54 -03:00
Jean-Philippe Andre
ba85c4eff9
eio: Fix build for windows
...
dllimport vs dllexport problem due to invalid include order.
Thanks @vtorri for the report
See 1ba06bb642
2016-06-07 15:09:07 +09:00
Benjamin Jacobs
35bae18e43
eio: fix pointer comparison.
...
Fix a warning on dragonfly.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-06-06 12:05:43 -07:00
Cedric BAIL
b1f62061b9
eio: remove eio_model that should already be part of Eio.h.
2016-06-06 11:01:16 -07:00
Larry Jr
c9c178f2db
eio: fix free eina_promises in error_callbacks
2016-06-06 03:30:42 -03:00
Larry Jr
b57579a295
eio: treat Eina_Accessor NULL as success instead of failure in model
...
We treated as errors when Eina_Accessor was NULL, which meant
that we could never get an empty range os children. Treat it
as success and pass an empty Eina_Accessor
2016-06-05 22:53:55 -03:00
Larry Jr
1ba06bb642
eio: Add mime_type property in Eio_Model
2016-06-05 22:08:06 -03:00
Larry Jr
c33caa86ab
eio: Eio_Model parent_get return parent model
2016-06-05 22:08:06 -03:00