Commit Graph

14152 Commits

Author SHA1 Message Date
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
Jee-Yong Um c17b3d40a2 Efl.Ui.Grid.Static: Add implementation of simple grid
Summary:
Efl.Ui.Grid.Static uses virtual coordinates when arranging
its child objects. (like Evas.Grid)

Reviewers: jpeg

Subscribers: woohyun, cedric

Differential Revision: https://phab.enlightenment.org/D3989
2016-06-10 14:05:43 +09:00
Jean-Philippe Andre 9fdf584d1a Efl: Rename event flags to processed and scrolling
From on_hold and on_scroll
2016-06-10 13:21:21 +09:00
Jean-Philippe Andre 79abba52c5 Evas: Rename Evas.Image into Efl.Canvas.Image.Internal
Make it abstract.
And add Evas.Image as a legacy-only class.
2016-06-10 13:21:20 +09:00
Jean-Philippe Andre 3bee499503 win: Add new API win_name_get (EO and legacy)
I see no reason to have a set and no get.

@feature
2016-06-10 13:21:16 +09:00
Jean-Philippe Andre 29132d3c25 win: Add legacy elm_win_type_get
This was present in earlier releases.
2016-06-10 13:06:34 +09:00
Lauro Moura 2d2e57eccd eina: Smudge magic value on promise deletion 2016-06-09 22:39:25 -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
Lauro Moura 5a3331618e eolian: remove support for value-type promises 2016-06-09 19:14:18 -03:00
Lauro Moura 3b090b808b eina: Fixes on promises behavior when cancelling
- Free the cancel callbacks on promise delete
- Cancelling an ended promise should be a nop
- More tests to increase coverage
2016-06-09 19:14:14 -03:00
Lauro Moura 7b63ecf4f6 eolian_cxx: Fix build after scope_get changes 2016-06-09 18:53:31 -03:00
Derek Foreman a4f64d6fcb ecore_wl2: Fix keyboard repeat handling
Recent timer changes broke keyboard repeat under wayland - while that
will probably be fixed shortly, this should be more robust and
more accurate anyway.
2016-06-09 12:43:50 -05:00
Daniel Kolesa 375179b47f eolian: support @protected for accessors (get/set)
Previously it was only possible to set it for the whole property.

@feature
2016-06-09 16:55:24 +01:00
Stefan Schmidt 7953da836e elm: fix efl_ui_flip header name
I itroduced this typo on my last commit. Thanks Cedric for spotting it.
2016-06-09 17:43:28 +02:00
Stefan Schmidt c3c344da41 elm: efl_ui_flip: add fl_ui_flip_eo.h redirection header lost during rename
When this was renamed from elm_flip to efl_ui_flip the _eo.h header was lost
which is needed as redirection. This broke for me in distcheck when the .eo.h
was going to get generated. It also aligns it with the other headers we have
here.
2016-06-09 16:18:28 +02:00
Daniel Kolesa 1a34d89d20 eolian: fix incorrect doxygen param generation
The first param on methods was skipped for some reason.

@fix
2016-06-09 14:41:12 +01:00
Benjamin Jacobs 16f4c5c35a evas-wayland-egl: Make sure surface pointer is valid before using it
Summary:
Prevents the uninitialized surface pointer to be used when
glsym_evgl_native_surface_buffer_get is NULL.

Reviewers: devilhorns

Subscribers: cedric, jpeg

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

@fix
2016-06-09 09:33:16 -04:00
Davide Andreoli c5f689a154 Simplify and fix poppler discovery code
Now configure should abort in case poppler is not found (unless explicitly disabled)

I'm still not sure about the hard "poppler < 0.40" requirement
added by jpeg yesterday, we should fix the issue instead of
tell "we don't support it"
2016-06-09 12:33:10 +02:00
Jean-Philippe Andre 8ce859f484 Tests: Convert Ui.Box and Ui.Grid to Efl.Gfx APIs
Let's remove all evas_object_ stuff from there. :)

This also changes hint_request into hint_min.
2016-06-09 17:07:02 +09:00
Jean-Philippe Andre 37625fca91 Evas/Edje/Elm: Use combined_min instead of min everywhere
This allows apps to set the objects min size with hint_min,
while letting the rest of EFL define the minimum size with
rstricted_min.

I don't like the property names much...
2016-06-09 16:37:49 +09:00
Jean-Philippe Andre 44f445fe76 Efl: Introduce app-side min size hint
Now called "hint_min", not sure if it's the proper name for it.
At first I wanted to reuse the request size hint instead of
adding a new hint, but doing that would break Terminology
or any app that already used size_hint_request.

One problem with hint_request is that the legacy function
already exists but its support is practically not implemented.

@feature
2016-06-09 16:36:04 +09:00
Jean-Philippe Andre 1f943f29e4 Edje: Fix some compilation warnings 2016-06-09 16:17:43 +09:00
Jean-Philippe Andre e36a300d36 Efl: Add geometry property (combines position and size)
It's a helper function that can also in the future be
used to implement atomic move+resize operations.
2016-06-09 16:17:43 +09:00
Jean-Philippe Andre f773206769 Efl: rename size hint content_min to restricted_min
Still not sure about which keyword is the best to use here,
but anyway, it's a protected function so users should realize
it's probably not what they want.
2016-06-09 16:13:39 +09:00
Jean-Philippe Andre 748f17b840 Efl.Ui.Box: Simplify layout code with combined_min
Simplify the code and fix an issue.
2016-06-09 16:13:37 +09:00
Jean-Philippe Andre b40b4042f0 Efl: Introduce combine_min size hint
It combines the content min size and the requested min size
by taking the MAX value. This will help support request size
without major code changes.
2016-06-09 14:20:53 +09:00
Subhransu Mohanty e38cf1f85f edje: cached the vg tree generation and fixed the interpolation betwwen two vg tree.
Reviewers: cedric, jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4028
2016-06-09 13:49:56 +09:00
Subhransu Mohanty ef84367fa9 edje : fix the typo in svg loader.
Reviewers: SanghyeonLee, cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4027
2016-06-09 13:26:33 +09:00
Cedric BAIL 088043e77a edje: unamed part are completely legit as long as no program try to interact with them. 2016-06-08 15:00:30 -07:00
Sungtaek Hong 0023efb420 elmentary: trigger selected event when mouse is up in index.
Summary:
- selected callback should be called when the user releases a mouse button
  and selects an item.

Reviewers: cedric, jpeg, Hermet, woohyun

Subscribers: conr2d, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-06-08 14:06:36 -07:00