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
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
Tom Hacohen
d5e321466e
Efl object: Rename Eo_Event -> Efl_Event.
...
This is the last step of the Eo renaming efforts.
2016-08-30 13:34:10 +01: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
Tom Hacohen
6202cc7485
Adjust the code according to the eo event stop changes.
...
This was changed in the previous commit.
2016-06-20 18:02:00 +01: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
Felipe Magno de Almeida
e79eb53e8d
eina: Remove Eina_Promise* parameter in promise callback
...
Remove not very useful parameter to eina_promise_then callbacks.
2016-06-03 18:15:57 -03:00
Felipe Magno de Almeida
8fec0d5139
eina: Remove unnecessary indirection to promises
...
Now when dealing with pointer types, we will not get pointer to
pointer semantics in callbacks and eina_promise_owner_value_set
for Eina_Promise.
It will work as expected:
Eina_Promise_Owner* promise = eina_promise_add();
void* p = malloc(sizeof(T));
eina_promise_owner_value_set(promise, p, &free);
2016-06-03 17:22:12 -03:00
Felipe Magno de Almeida
1ed8759e1a
ecore: eldbus: Fix prototype for promise then_cb new prototype
...
Added Eina_Promise parameter and removed indirection for Eina_Error.
2016-05-26 13:35:07 -03:00
Tom Hacohen
138d4e1353
Efl model: Remove the no longer needed .Base hack.
2016-05-10 11:36:35 +01:00
Larry Jr
24864af5c4
Eldbus: re-enable eldbus_tests_model by default
2016-05-03 16:49:29 -03:00
Larry Jr
d418e98237
Eldbus: fixed eina_promise callback in eldbus test model
2016-05-03 16:49:29 -03:00
Larry Jr
ba20e94201
Eldbus: eldbus_model_test disable by default
...
This test assumes an existing dbus-daemon running.
2016-05-02 18:37:04 -03:00
Larry Jr
7bbc5ec623
Eldbus: fixed property_set in Eldbus.Model_Proxy
2016-04-29 20:55:37 -03:00
Larry Jr
0c76f82a31
Efl, Eio, Eldbus, Elementary: new model API use eina_promise
...
Efl - efl_model_base changed to use eina_promise
Eio - eio_model use efl_model_base with promise
Eldbus - elddbus models use promise now
Elementary - elm_view_list and elm_view_form use new models with promise
updated all related examples and tests
2016-04-29 13:21:24 -03:00
Cedric BAIL
fedc8939cc
eldbus: make tests suite more robust to initialization count change.
2016-04-12 10:40:58 -07:00
Stefan Schmidt
5065356ae6
tests/eldbus: add now needed calls to ecore_init/shutdown
...
Since commit 53c66c98c2
eldbus o longer calls
ecore_init() wo we need to handle this. Fixes the edlbus tests cases.
2016-04-12 17:22:28 +02:00
Tom Hacohen
f14305024e
Eo event: rename Eo_Event->event_info to Eo_Event->info.
...
The previous naming was redundant and too long.
2016-04-12 15:23:55 +01:00
Tom Hacohen
8706d03b43
Change the EFL according to the renaming of the eo_add() current object.
2016-03-15 15:25:54 +00:00
Tom Hacohen
f24210caac
Revert "Automatic migration to the new eo_add syntax."
...
This reverts commit 4f949a2757
.
2016-03-11 12:29:03 +00:00
Tom Hacohen
4f949a2757
Automatic migration to the new eo_add syntax.
2016-03-09 16:09:14 +00:00
Tom Hacohen
f21ade6123
Automatic migration to Eo4.
...
I just ran my script (email to follow) to migrate all of the EFL
automatically. This commit is *only* the automatic conversion, so it can
be easily reverted and re-run.
2016-03-03 09:58:08 +00:00
Tom Hacohen
e71e6561ee
Eo callbacks: Migrate all of the EFL to the new event cb signatures.
2016-02-29 11:33:27 +00:00
Vincent Torri
21746ce8dc
Test rework #13 : ElDbus
2016-02-16 12:41:06 +00:00
Guilherme Lepsch
10fa1b5b4b
eldbus: add efl.model implementation.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-10 12:02:30 -08:00
michelle legrand
b71229ac47
check: fix tests suites on Windows
...
Disable timeout because we cannot fork on Windows.
@fix
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-30 10:49:54 +01:00
Cedric BAIL
c255849fdc
eldbus: fix tests to properly take into account the presence of ecore system module.
...
Ecore system module may use dbus, so when you init ecore, it may init eldbus a few
more time (depending on the module that are present on your system). This result in
eldbus_init returning a valid init, but different from 1. This patch update the test
to take that into account.
2013-12-23 11:42:12 +09:00
Lucas De Marchi
4e3804041f
Rename edbus->eldbus
...
git grep -l edbus2 | while read f; do sed -i 's/edbus2/eldbus/g' "$f"; done
find . -name '*edbus2*' -exec rename edbus2 eldbus {} \;
git grep -l "EDBUS" | while read f; do sed -i 's/EDBUS/ELDBUS/g' "$f"; done
git grep -l "EDBus" | while read f; do sed -i 's/EDBus/Eldbus/g' "$f"; done
git grep -l "edbus (v2)" | while read f; do sed -i 's/edbus (v2)/eldbus/g' "$f"; done
git grep -l "Edbus" | while read f; do sed -i 's/Edbus/Eldbus/g' "$f"; done
git grep -l "edbus" | while read f; do sed -i 's/edbus/eldbus/g' "$f"; done
find . -name '*edbus*' -exec rename edbus eldbus {} \;
find . -name '*EDBus*' -exec rename EDBus Eldbus {} \;
2013-04-23 12:36:29 -03:00