Commit Graph

48578 Commits

Author SHA1 Message Date
Jean-Philippe Andre 59f3841803 win: Optimize event forward using callback add/del events
This is a common pattern, listen to EO_EVENT_CALLBACK_ADD/DEL in
order to treat those events only when needed.
2016-06-13 20:33:29 +09:00
Jean-Philippe Andre dd24c588fa win: Add event device,changed 2016-06-13 20:33:29 +09:00
Jean-Philippe Andre 4bb8a6bd21 win: Add focus events (in, out, object in/out) 2016-06-13 20:33:29 +09:00
Jean-Philippe Andre be82f4f0fd win: Add event render,pre 2016-06-13 20:33:29 +09:00
Carsten Haitzler e9802506a0 edje_cc - new vector svg loader - fix bunch of incorrect code that segvs
passing in wrond data type as a void * (no typechecking) like
node->style instead of node as the function EXPECTED node not
node->style

also why malloc strlen of string then strcpy when strdup will do? why?

fix!

still doesn't work. i can't display an svg vector at all.
2016-06-13 20:19:13 +09:00
Ji-Youn Park a75fb5763a evas_canvas: move evas_output_XXX API from eo to legach.
evas canvas will be removed from eo.
evas_output_XXX APIs are usually used by widget or e17.
I decided not open these kind of APIs to eo.
app can use the size of elm win instead of evas output apis.
2016-06-13 18:53:06 +08:30
Stefan Schmidt 4a59fc4eb5 benchmark: eo: add missing phthread flag to linker
/usr/bin/ld: class_simple.o: undefined reference to symbol 'pthread_spin_trylock@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
2016-06-13 12:01:13 +02:00
Stefan Schmidt 0dabbdeabc examples: elementary: ad missing math lib to linker flags
We are using cos() and sin() in the efl_thread examples here but never linked
to the math lib. Ubuntu 14.04 on Travis CI errored out with this:

/usr/bin/ld: efl_thread_1.o: undefined reference to symbol 'cos@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
2016-06-13 12:01:13 +02:00
Carsten Haitzler dffaed3486 elm - add another mkpath before monitoring a dir to enusre things work 2016-06-13 18:12:33 +09:00
Carsten Haitzler 865b10d739 ecore-con - dont complain about socket setup issues when api handles it
ecore-con api returns failure cases and ecore-con shouldt go spamming
stderr with this as it's inteded to be handled at the api level, so
slience!
2016-06-13 18:12:33 +09:00
Minkyoung Kim 93b4df1f5a evas-native-tbm: fix stride mismatch and allocate image data for converting from yuv to rgb.
Summary:
1. For converting tbm buffer from yuv to rgb, image.data should be allocated.
2. Stride should be set by info of tbm surface.
3. The number of row is height*2. but if height is odd, last row is invalid in process of _evas_video_i420.

Test Plan: Local Test, Tizen2.4 Mobile

Reviewers: spacegrapher, wonsik, jpeg

Subscribers: cedric, dkdk

Differential Revision: https://phab.enlightenment.org/D3870
2016-06-13 15:27:56 +09:00
Carsten Haitzler 3f426ca519 edje cc - remove debug printf i missed. :(
oops. i removed the others but not this one. yes i did git diff etc.
2016-06-13 15:22:11 +09:00
Carsten Haitzler a02c32f99a edje - set up eet data descriptor right with right struct and size
this should fix T3869
2016-06-13 15:21:22 +09:00
Carsten Haitzler 2845f5eff0 edje_cc - limit embryo_cc instances in bg to something sensible
so compiling current efl theme seems to spawn 178 instances of
embryo_cc in the background (then collect results). this is a bit
excessive and may be a source of issues. this may be causing T3874
perhaps due to embryo_cc's not launching (fork failing or something
else) and we don't check if fork fails. so try limit to 8 embryo_cc's
in the bg which is more reasonable than the currently "unlimited"
which leads to 178 currently...

i hope this fixes T3874

@fix
2016-06-13 14:18:03 +09:00
Vincent Torri c5fc0dae0c Elm: fix elementary quicklaunch build on Solaris 2016-06-13 13:24:08 +09:00
Felipe Magno de Almeida e5884c95fa eolian-cxx: Fix C++ compilation for lacking .eo files being generated 2016-06-13 01:17:18 -03:00
Davide Andreoli 39a565e538 FDO icons: improve looks of some Actions icons
following a 16x16 grid to make them render better at small sizes
2016-06-13 00:16:28 +02:00
Davide Andreoli 839c4d1bd9 FDO icons: added International flags 2016-06-12 21:35:47 +02:00
Davide Andreoli 7fc6192cf4 FDO icons: complete the Status category
...4 icons still missing
2016-06-12 17:33:24 +02:00
Davide Andreoli b1ff6beefc FDO icons: complete the Devices category 2016-06-12 14:15:54 +02:00
Davide Andreoli de0dd85096 FDO icons: complete the Actions category 2016-06-12 13:18:47 +02:00
Davide Andreoli 9c7827071f FDO icons: complete the Emblems category 2016-06-12 10:23:05 +02:00
Felipe Magno de Almeida 949af55947 eina: Add support for eina_safepointer in promises 2016-06-11 10:40:27 -03:00
Felipe Magno de Almeida f6d20c839e eio: Removed wrong attribution to promise vtable from Eio 2016-06-11 10:40:27 -03:00
Andy Williams 0b693bb6ca elementary: merge code test widgets to main test app 2016-06-11 12:20:47 +01:00
Larry Jr 191bc882d4 eio: fixed Eina_Value_Type in model property mtime 2016-06-10 19:33:30 -03:00
Cedric BAIL e546fb767b eina: add forgotten file for distcheck. 2016-06-10 14:53:36 -07:00
Cedric BAIL 1d3cfc0aff eina: reenable all tests that where wrongfully disabled. 2016-06-10 14:10:13 -07:00
Cedric BAIL edc753d1a2 eina: add tests suite for Eina_Safepointer. 2016-06-10 14:09:41 -07:00
Cedric BAIL 692b2c9fc9 eina: add generic infrastructure for a Eina_Safepointer
This is heavily inspired from Eo_Id infrastructure. Main change
are that the lower bit are always guaranteed to be zero and ignored
by all function. Also it may be a little bit less efficient in some
case, but we will tune it once we have real life usage of it.

Eo won't be migrated for 1.18 to it as Eo_Id is deeply integrated
and it is quite risky to touch it so close from a freeze. This can
wait.
2016-06-10 13:57:01 -07:00
Cedric BAIL 5964008946 edje: this API is BETA and only available to legacy for now. 2016-06-10 13:57:01 -07:00
perepelits.m 32f5bc113e edje: creation of scene in edje-3d
Summary: Creation of scene and root node in edje-3d with all 3D-parts of edje object. Add some new methods to edje_util.c

Reviewers: raster, Hermet, jpeg, cedric

Reviewed By: cedric

Subscribers: artem.popov

Differential Revision: https://phab.enlightenment.org/D3963

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-06-10 13:57:01 -07:00
Jean Guyomarc'h 9b949508e3 elementary: don't use an unspecified amount of arguments 2016-06-10 22:27:55 +02:00
Stefan Schmidt 83dc71ecfe examples: eolian_cxx: package extra headers into dist.
Without them examples are not building from tarball distribution
2016-06-10 16:25:03 +02:00
Stefan Schmidt 76c4592623 examples: elementary: package needed headers into dist
Without them examples are not building from tarball distribution
2016-06-10 16:25:03 +02:00
Stefan Schmidt 89fb3c6667 examples: edje: package po/mo data files into dist
Without them examples are not building from tarball distribution.
2016-06-10 16:25:03 +02:00
Daniel Kolesa 33c147f6d4 eolian: remove the unnecessary subtypes API
Inner type can now be retrieved as a base type of the type.
If the type has two inner types or more, there is a new API that allows you to
get the second inner type by calling it on the first one (same would apply to
getting third via second etc.).

This API is simpler to use and doesn't require an iterator.
2016-06-10 14:28:19 +01:00
Stefan Schmidt 93eadd76d6 build: split EXTRA_DIST files in src/ off from DISTFILES and handle separately
This is again to avoid the "Argument list too long" error we are hitting more and
more now. Given we just merged elementary, emotion generic players, evas generic
loaders and elm_code it is not surprising we are hitting it again.

This time the number of files being hold in DISTFILES has just grown to big so a
make dist was no longer possible. If one looks at what the DISTFILES variable
from automake holds you can image it grows a lot with all the source files plus
generated files we have in tree now.

DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

To cut off a big chunk but still keep all the other automagic in place for
SOURCE files I went and renamed the EXTRA_DIST in src/ to EXTRA_DIST2 and handle
the files in a dist-hook now.

Another thing to note here is that this also only happens as we have the one big
Makefile with includes. If we go back to per directory Makefiles this problem
should vanish as well. In any case we need a solution for 1.18 now and this is
what I have to offer. If you have a cleaner solution in mind feel welcome to
test it out and if everything we need keeps working (make, make examples,
make check, make benchmark, make dist and make distcheck) go ahead.
2016-06-10 13:04:18 +02:00
Jean-Philippe Andre e165854a78 Evas: Rename Zoomable_Interface to Efl.Ui.Zoomable 2016-06-10 18:06:15 +09:00
Jean-Philippe Andre b2355d7da3 Evas: Rename Selectable_Interface to Efl.Ui.Selectable 2016-06-10 18:06:15 +09:00
Jean-Philippe Andre 31c4fd1f7c Evas: Rename Scrollable_Interface to Efl.Ui.Scrollable 2016-06-10 18:06:15 +09:00
Jean-Philippe Andre d67171940f Evas: Rename Draggable_Interface to Efl.Ui.Draggable 2016-06-10 18:06:10 +09:00
Jean-Philippe Andre e691de04be Evas: Rename Clickable_Interface to Efl.Ui.Clickable
Event prefix is efl_ui:
 EFL_UI_EVENT_CLICKED
 EFL_UI_EVENT_CLICKED_DOUBLE
 ...

The event prefix could be reduced to efl but I personally
prefer with UI.
2016-06-10 17:33:53 +09:00
Jean-Philippe Andre 36cec53890 Evas: Fix previous commit
Thanks @ami
2016-06-10 17:22:43 +09:00
Yeshwanth Reddivari 55135870ec Label: Fix extra memory allocation of edje message.
Summary: Edje_Message_Float_Set struct is already allocating double and hence no need to add extra double allocation.

Reviewers: Hermet, jpeg, cedric, singh.amitesh

Reviewed By: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D4035
2016-06-10 13:43:44 +05:30
Jean-Philippe Andre 1dbff7d2b8 Evas: Remove Evas.Signal_Interface
It was basically empty.
2016-06-10 17:08:05 +09:00
Jean-Philippe Andre 3df8e89e9a Evas: Rename Evas.Filter to Efl.Canvas.Filter.Internal
Trying to hide the name Evas from the public EO API...
2016-06-10 16:01:42 +09:00
Jean-Philippe Andre 62b0817880 Efl: Make size_hint_restricted_get public, set protected
This is now possible thanks to 375179b47f (T3645).
2016-06-10 15:10:43 +09:00
Jean-Philippe Andre 7108ca283c Grid: Fix static grid when size was not set
Since we can change a standard grid into a static grid by
changing the engine, it is necessary to fix the virtual size
first.
2016-06-10 15:07:49 +09:00
Jean-Philippe Andre 18eaa22d01 tests: Add test case for Grid.Static
This is copy of test_grid.c converted to EO.
2016-06-10 14:44:26 +09:00