platform/upstream/efl.git
8 years agoEdje_Edit: return accidently removed clip_to in code generation
Vitalii Vorobiov [Wed, 24 Feb 2016 13:55:14 +0000 (13:55 +0000)]
Edje_Edit: return accidently removed clip_to in code generation

Oops...

8 years agoEdje_Edit: support image border_scale and border_scale_by setters and getters
Vitalii Vorobiov [Wed, 24 Feb 2016 13:50:36 +0000 (13:50 +0000)]
Edje_Edit: support image border_scale and border_scale_by setters and getters

8 years agoEdje_Edit: support use_alternate_font_metrics setters and getters
Vitalii Vorobiov [Wed, 24 Feb 2016 11:45:49 +0000 (11:45 +0000)]
Edje_Edit: support use_alternate_font_metrics setters and getters

8 years agoeldbus: eldbus is already defined in eo
Marcel Hollerbach [Tue, 23 Feb 2016 17:57:04 +0000 (18:57 +0100)]
eldbus: eldbus is already defined in eo

the struct is already defined in eldbus_general.eoeldbus: eldbus is
already defined in eo

the struct is already defined in eldbus_general.eott

8 years agoEdje_Edit: allow to set NULL as text_class (unset text_class) into part's state
Vitalii Vorobiov [Tue, 23 Feb 2016 18:23:36 +0000 (18:23 +0000)]
Edje_Edit: allow to set NULL as  text_class (unset text_class) into part's state

8 years agoEdje_Edit: ability to set size class into certain part's state
Vitalii Vorobiov [Tue, 23 Feb 2016 18:07:12 +0000 (18:07 +0000)]
Edje_Edit: ability to set size class into certain part's state

API looks like this edje_edit_state_size_class_set

8 years agoEdje_Edit: Edje_Edit: update source generation to print size classes
Vitalii Vorobiov [Tue, 23 Feb 2016 17:27:25 +0000 (17:27 +0000)]
Edje_Edit: Edje_Edit: update source generation to print size classes

8 years agoEdje_Edit: support new edje top block "size classes" with edje_edit API
Vitalii Vorobiov [Tue, 23 Feb 2016 17:25:21 +0000 (17:25 +0000)]
Edje_Edit: support new edje top block "size classes" with edje_edit API

Plenty of new API:
edje_edit_size_classes_list_get - to return total list of size_classes inside of
loaded collection of groups
edje_edit_size_class_add - add new size class into loaded collection
edje_edit_size_class_del - deleting
edje_edit_size_class_name_set - renaming existing size class into something new
and some setters and getters for min and max (width and height) of size class.

8 years agoecore-x: add safety checks for _ecore_x_disp in some functions
Chris Michael [Tue, 23 Feb 2016 13:39:09 +0000 (08:39 -0500)]
ecore-x: add safety checks for _ecore_x_disp in some functions

xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such as these.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoEdje_Edit: update source generation to print text classes
Vitalii Vorobiov [Tue, 23 Feb 2016 11:50:12 +0000 (11:50 +0000)]
Edje_Edit: update source generation to print text classes

8 years agoEdje_Edit: support new edje top block "text classes" with edje_edit API
Vitalii Vorobiov [Tue, 23 Feb 2016 11:47:03 +0000 (11:47 +0000)]
Edje_Edit: support new edje top block "text classes" with edje_edit API

Plenty of new API:
edje_edit_text_classes_list_get - to return total list of text_classes inside of
loaded collection of groups
edje_edit_text_class_add - add new text class into loaded collection
edje_edit_text_class_del - deleting
edje_edit_text_class_name_set - renaming existing text class into something new
edje_edit_text_class_font_{get|set} - get/set font name
edje_edit_text_class_size_{get|set} - get/set font size

8 years agoedje_cc_handlers: font field in new text_class should be NULL at the begining
Vitalii Vorobiov [Tue, 23 Feb 2016 11:35:48 +0000 (11:35 +0000)]
edje_cc_handlers: font field in new text_class should be NULL at the begining

@fix

8 years agoedje_cc: abort compile when unnamed part exists
Vyacheslav Reutskiy [Tue, 23 Feb 2016 09:06:55 +0000 (11:06 +0200)]
edje_cc: abort compile when unnamed part exists

Summary: abort compile when unnamed part exists.

Reviewers: raster, reutskiy.v.v

Reviewed By: reutskiy.v.v

Subscribers: cedric, jpeg

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

8 years agoembryo: add tzdate function
Mike Blumenkrantz [Mon, 22 Feb 2016 17:35:27 +0000 (12:35 -0500)]
embryo: add tzdate function

in the case where a user wants to get the current date/time from a
specified timezone, this function allows a timezone string to be passed
as a parameter

@feature

8 years agoembryo: reformat the whole thing
Mike Blumenkrantz [Mon, 22 Feb 2016 17:16:16 +0000 (12:16 -0500)]
embryo: reformat the whole thing

so many tabs

8 years agoecore-x: add safety checks for _ecore_x_disp in some functions
Chris Michael [Mon, 22 Feb 2016 19:50:35 +0000 (14:50 -0500)]
ecore-x: add safety checks for _ecore_x_disp in some functions

xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such as these.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm: Don't reset event modifiers on touch motion
Chris Michael [Mon, 22 Feb 2016 17:13:06 +0000 (12:13 -0500)]
ecore-drm: Don't reset event modifiers on touch motion

When we are sending an event for touch motion, we should be specifing
the modifers in the event structure (not setting them to zero).

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore evas: remove printfs
Carsten Haitzler (Rasterman) [Sat, 20 Feb 2016 14:12:17 +0000 (23:12 +0900)]
ecore evas: remove printfs

forgot i still had them (wa stestign wayland with no printfs in it)

8 years agoecore evas: fix configure request queue count to only count changes
Carsten Haitzler (Rasterman) [Sat, 20 Feb 2016 14:09:03 +0000 (23:09 +0900)]
ecore evas: fix configure request queue count to only count changes

we counted more requests outstanding than actually existed for x11 as
we sometimes sized to the SAME size or position. this keeps that
number more correct only incremeting outstanding count if we change.

@fix

8 years agoeldbus: print dbus errors incurred when failing at signal handler operations
Mike Blumenkrantz [Fri, 19 Feb 2016 18:23:24 +0000 (13:23 -0500)]
eldbus: print dbus errors incurred when failing at signal handler operations

seeing these errors is significantly more helpful when debugging why the system
is not responding as expected

8 years agoedje: clear pending programs upon calling stop_programs_on()
Mike Blumenkrantz [Fri, 19 Feb 2016 18:20:45 +0000 (13:20 -0500)]
edje: clear pending programs upon calling stop_programs_on()

pending programs have not started yet, so they are not directly attached
to the part. failing to remove them results in unexpected behavior from programs

ref 71ce70bc3f97853f3cfeb07ab0a9d8c213e322b1

@fix

8 years agoEdje_Edit: add forgotten since1.18 into documentation of newly implemented API
Vitalii Vorobiov [Fri, 19 Feb 2016 14:20:27 +0000 (14:20 +0000)]
Edje_Edit: add forgotten since1.18 into documentation of newly implemented API

8 years agoEdje_Edit: target can be insert into different place in program's target list
Vitalii Vorobiov [Fri, 19 Feb 2016 14:06:31 +0000 (14:06 +0000)]
Edje_Edit: target can be insert into different place in program's target list

Here is API for that:
> edje_edit_program_target_insert_at

8 years agoEdje_Edit: fix defect found by Coverity in ...state_tween_insert_at
Vitalii Vorobiov [Fri, 19 Feb 2016 11:22:07 +0000 (11:22 +0000)]
Edje_Edit: fix defect found by Coverity in ...state_tween_insert_at

Check constraits before creating image structures

CID 1351558

8 years agobuild: fix duplicated use of the variable in multiple Makefile_*.am.
Vincent Torri [Thu, 18 Feb 2016 21:25:21 +0000 (13:25 -0800)]
build: fix duplicated use of the variable in multiple Makefile_*.am.

GL_SHADERS_GEN is defined in the Makefile.am of Ector and Evas. As these
Mafile_*.am are included in the same Makefile.am, there is a warning with
multiple defined triggered by automake. So this patch rename these 2 variables

Test Plan: autogen.sH

Reviewers: jpeg, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoEvil: remove useless defines
Vincent Torri [Thu, 18 Feb 2016 21:20:00 +0000 (13:20 -0800)]
Evil: remove useless defines

Summary: Those defines are already defined in mingw-w64 header files

Test Plan: makE

Reviewers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_drm: Check list presence by NULL test instead of counting
Derek Foreman [Thu, 18 Feb 2016 19:34:23 +0000 (13:34 -0600)]
ecore_drm: Check list presence by NULL test instead of counting

a count of < 1 will just be a NULL pointer, and a count of > 0 will
be non NULL, so we can simplify these conditionals.

8 years agoecore_evas_drm: enable pointer warping
Derek Foreman [Mon, 25 Jan 2016 22:20:27 +0000 (16:20 -0600)]
ecore_evas_drm: enable pointer warping

Use ecore_drm_device_pointer_warp() to warp the pointer

8 years agoecore_drm: Add pointer warping API
Derek Foreman [Mon, 25 Jan 2016 22:20:18 +0000 (16:20 -0600)]
ecore_drm: Add pointer warping API

Adds a new API: ecore_drm_device_pointer_warp() which warps the pointer
to the specified location.  All libinput seats with pointers are warped.

8 years agogl-drm: Some misc clean-ups
Derek Foreman [Fri, 22 Jan 2016 20:51:45 +0000 (14:51 -0600)]
gl-drm: Some misc clean-ups

Remove unused stuff from structs, cut out the EVAS_GL_DRM_BUFFERS env
var - it can't work anyway, gbm decides how many buffers it wants.

8 years agogl-drm: revise page flip logic
Derek Foreman [Fri, 22 Jan 2016 20:50:47 +0000 (14:50 -0600)]
gl-drm: revise page flip logic

We can't really drive this buffer unlocking from the page flip handler for
a lot of ugly reasons.  This will be better in the future when evas
supports multiple target buffers.  For now let's cut this down and keep
2 buffers locked at all times.

This gets drm-gl to work without massive tearing artifacts.

@fix

8 years agogl_drm: stop trying to figure out buffer age if gl extension isn't present
Derek Foreman [Fri, 22 Jan 2016 20:48:34 +0000 (14:48 -0600)]
gl_drm: stop trying to figure out buffer age if gl extension isn't present

If we don't have the right extension for age we probably don't have
partial updates either.  The code to get the age calculations right is
actually much nastier than this anyway since gbm can hand back buffers
in arbitrary order, and as many as it feels like.

8 years agogl_drm: remove frame_count
Derek Foreman [Fri, 22 Jan 2016 20:20:35 +0000 (14:20 -0600)]
gl_drm: remove frame_count

It was a write only variable, kill it.

8 years agoecore-drm: Only queue re-flip on the head that needs it
Derek Foreman [Tue, 26 Jan 2016 16:43:21 +0000 (10:43 -0600)]
ecore-drm: Only queue re-flip on the head that needs it

Prevents stuttering when a head that was successfully set bounces
back to a previous frame the other head failed to set.

8 years agoecore_drm: Refactor ecore_drm_fb_send into two functions
Derek Foreman [Tue, 26 Jan 2016 16:37:15 +0000 (10:37 -0600)]
ecore_drm: Refactor ecore_drm_fb_send into two functions

We'll need to set outputs individually from the page flip handle to handle
page flip problems, so we need the per output setting logic in its own
function.

8 years agoecore_drm: Change page flipping logic so we can't tear
Derek Foreman [Thu, 18 Feb 2016 19:22:19 +0000 (13:22 -0600)]
ecore_drm: Change page flipping logic so we can't tear

Summary:
Previously if we ever tried to queue up two page flips in less than a
retrace interval (which can easily happen since the evas clock isn't
based on vblank) we'd give up on ever using page flips again, and tear
on every screen update.

This fixes that by using a vblank callback for custom ticks and using
page flips whenever possible.

If a page flip fails it means a page flip raced with the vblank ticker,
so we need to queue up that frame when the current page flip completes.
This ensures that while we might drop interim frames, we will never
lose the most recent.

Now it should only be possible to tear if two ticks fire during the
wait for a page flip to complete.  This would result in rendering
taking place in the front buffer.  I don't think this can happen,
but an error is logged if it does.

Reviewers: zmike, devilhorns

Subscribers: cedric, jpeg

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

8 years agoRevert "Eo: Print an ERR when deleting an object with data refs."
Tom Hacohen [Thu, 18 Feb 2016 19:28:41 +0000 (19:28 +0000)]
Revert "Eo: Print an ERR when deleting an object with data refs."

Revert this in the meanwhile. See discussion on the ML. This should be
enabled though, and issues fixed.

This reverts commit ec2f92e35f5a0836933d82b6b7f518a1d7550afc.

8 years agoecore_con: changing from Ecore.Con.Base to Efl.Network.Base.
Srivardhan Hebbar [Thu, 18 Feb 2016 00:57:29 +0000 (16:57 -0800)]
ecore_con: changing from Ecore.Con.Base to Efl.Network.Base.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoEo: Print an ERR when deleting an object with data refs.
Tom Hacohen [Thu, 18 Feb 2016 15:53:40 +0000 (15:53 +0000)]
Eo: Print an ERR when deleting an object with data refs.

8 years agoEdje_Edit: fix warning on unsigned and signed int comparation
Vitalii Vorobiov [Thu, 18 Feb 2016 17:17:56 +0000 (17:17 +0000)]
Edje_Edit: fix warning on unsigned and signed int comparation

Oops!
Sorry, missed this one:

lib/edje/edje_edit.c: In function 'edje_edit_program_after_insert_at':
lib/edje/edje_edit.c:9980:14: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
    if (place >= eina_list_count(epr->after))
              ^

Now fixed

8 years agoEdje_Edit: ability to insert "after" program into specific position
Vitalii Vorobiov [Thu, 18 Feb 2016 17:10:24 +0000 (17:10 +0000)]
Edje_Edit: ability to insert "after" program into specific position

API looks like this:
> edje_edit_program_after_insert_at

8 years agoEdje_Edit: new API to insert tween into specified place
Vitalii Vorobiov [Thu, 18 Feb 2016 15:40:50 +0000 (15:40 +0000)]
Edje_Edit: new API to insert tween into specified place

> edje_edit_state_tween_insert_at

8 years agobuild: make sure eldbus_eolian_type_files lands in a tarball for distcheck
Stefan Schmidt [Thu, 18 Feb 2016 13:27:35 +0000 (14:27 +0100)]
build: make sure eldbus_eolian_type_files lands in a tarball for distcheck

This was missing when the new file was added in
63f717caaf92b87e272ac0790125246bba105468. Now its handled like we do it for
the ecore file types.

8 years agoeolian: re-enable strict validation
Daniel Kolesa [Thu, 18 Feb 2016 10:06:33 +0000 (10:06 +0000)]
eolian: re-enable strict validation

8 years agoedje_edit.c: it should be able to change item position
Vitalii Vorobiov [Thu, 18 Feb 2016 10:57:52 +0000 (10:57 +0000)]
edje_edit.c: it should be able to change item position

Few new API for inserting/mving items inside of BOX/TABLE
> edje_edit_part_item_insert_before
> edje_edit_part_item_insert_after
> edje_edit_part_item_insert_at
> edje_edit_part_item_move_below
> edje_edit_part_item_move_above

8 years agoEdje: add of some new features and fixes for Canvas3d types in edje_calc.
perepelits.m [Wed, 17 Feb 2016 22:48:33 +0000 (14:48 -0800)]
Edje: add of some new features and fixes for Canvas3d types in edje_calc.

Summary:
Adding of new properties for light in edje-3d. Recalculation of main properties in Canvas3D parts to provide animation (only those which I used in widgets).
Checking of frame existing when setting material.

Reviewers: cedric, raster, Hermet

Subscribers: jpeg, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoRevert "eolian: strict validation for EFL (errors by default)"
Cedric BAIL [Wed, 17 Feb 2016 22:34:20 +0000 (14:34 -0800)]
Revert "eolian: strict validation for EFL (errors by default)"

This reverts commit 21a2a8007dc53e11842526191abab9f393b3d777.

Please run make check from time to time.

8 years agoeina_strbuf: add test cases for eina strbuf prepend functions
Vivek Ellur [Wed, 17 Feb 2016 22:24:20 +0000 (14:24 -0800)]
eina_strbuf: add test cases for eina strbuf prepend functions

Summary:
Added test cases for eina_strbuf_prepend_printf and eina_strbuf_prepend_vprintf
functions

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: raster, jpeg, cedric

Subscribers: seoz, jpeg, raster, cedric

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

8 years agoecore_con: fix compilation issues on Windows
Srivardhan Hebbar [Wed, 17 Feb 2016 22:09:52 +0000 (14:09 -0800)]
ecore_con: fix compilation issues on Windows

Summary:
I do not have a windows setup. So tested by building with option --with-windows-version and it built successfully. Let me know if there are more
issues.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: jpeg, vtorri, cedric

Reviewed By: cedric

Maniphest Tasks: T3192

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore-wl2: do not send double mouse up events during input ungrab
Mike Blumenkrantz [Wed, 17 Feb 2016 18:14:38 +0000 (13:14 -0500)]
ecore-wl2: do not send double mouse up events during input ungrab

if the ungrab is triggered from a mouse up event, this ensures that a
mouse up will be sent from the ungrab function. continuing to send a
mouse up event in addition to this will guarantee multiple mouse events
are emitted

@fix

8 years agoecore-x: Add safety checks for NULL display in dpms functions
Chris Michael [Wed, 17 Feb 2016 13:16:29 +0000 (08:16 -0500)]
ecore-x: Add safety checks for NULL display in dpms functions

xlib immediately crashes upon being passed a NULL display object,
so every function in ecore-x should likely have safety checks such as these.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoeolian: strict validation for EFL (errors by default)
Daniel Kolesa [Wed, 17 Feb 2016 13:00:41 +0000 (13:00 +0000)]
eolian: strict validation for EFL (errors by default)

8 years agoEvas image: Migrate all the remaining types to Eolian.
Tom Hacohen [Wed, 17 Feb 2016 12:11:46 +0000 (12:11 +0000)]
Evas image: Migrate all the remaining types to Eolian.

8 years agoEldbus: Move more types to eldbus_types.eot.
Tom Hacohen [Wed, 17 Feb 2016 11:49:28 +0000 (11:49 +0000)]
Eldbus: Move more types to eldbus_types.eot.

8 years agoEldbus: Create eldbus_types.eot and start using it.
Tom Hacohen [Wed, 17 Feb 2016 11:28:21 +0000 (11:28 +0000)]
Eldbus: Create eldbus_types.eot and start using it.

8 years agoEvas canvas3d: Fix Eolian warnings.
Tom Hacohen [Wed, 17 Feb 2016 10:22:34 +0000 (10:22 +0000)]
Evas canvas3d: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEldbus model arguments: Fix Eolian warnings.
Tom Hacohen [Wed, 17 Feb 2016 10:17:59 +0000 (10:17 +0000)]
Eldbus model arguments: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEvas canvas3d mesh: Fix Eolian warnings.
Tom Hacohen [Wed, 17 Feb 2016 10:00:11 +0000 (10:00 +0000)]
Evas canvas3d mesh: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEina types: add missing extern to matrix3 type.
Tom Hacohen [Wed, 17 Feb 2016 09:58:12 +0000 (09:58 +0000)]
Eina types: add missing extern to matrix3 type.

8 years agoEvas canvas3d texture: Fix Eolian warnings.
Tom Hacohen [Wed, 17 Feb 2016 09:48:34 +0000 (09:48 +0000)]
Evas canvas3d texture: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEcore con eet: Fix Eolian warnings.
Tom Hacohen [Wed, 17 Feb 2016 09:39:53 +0000 (09:39 +0000)]
Ecore con eet: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEvas font: allow ":fallbacks" keyword when Evas parses font keyword
Youngbok Shin [Wed, 17 Feb 2016 09:23:06 +0000 (09:23 +0000)]
Evas font: allow ":fallbacks" keyword when Evas parses font keyword

Summary:
Developers could use fallback fonts using only font_fallbacks keyword.
The keyword is only allowed for Evas Textblock. It has to be common
feature for other text type objects.
Applying this patch, Text and Textgrid can add fallback fonts.
@feature

Test Plan:
Set font like the following example to Textblock, Text, Textgrid.
Sans:fallbacks=Inconsolata

Reviewers: tasn, herdsman, woohyun

Subscribers: cedric, jpeg

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

8 years agoevas/gl_x11: fix build warning related to the uninitialized value
Jihoon Kim [Wed, 17 Feb 2016 08:48:26 +0000 (17:48 +0900)]
evas/gl_x11: fix build warning related to the uninitialized value

8 years agoeina log: print formatted string when log domain is invalid
Jean-Philippe Andre [Wed, 17 Feb 2016 06:40:43 +0000 (15:40 +0900)]
eina log: print formatted string when log domain is invalid

Before this patch, eina_log would simply record a non-formatted
entry like:
  unknown domain -1, original message format 'proxy=%p, obj=%p'

This was not very useful as even if the log domain is invalid, the
message itself might be relevant (often those are ERR logs).

Now the message format is roughly the same as the default format,
except that the line info comes from the original message (and
doesn't refer to eina_log.c).

Backtrace printing will happen at the same level as the original
log level, in order to avoid log pollution in case DBG logs are
printed with an invalid domain (and CRI would trigger bt).

I actually wonder if the logs shouldn't actually be forwarded
to the standard log callback instead of just stderr. This may
be useful for logging with dlog or journald (atm we will simply
lose all logs without a valid domain). This would mean eina_log
itself requires a log domain.

8 years agotests: Fix evas 3d tests after previous commit
Jean-Philippe Andre [Wed, 17 Feb 2016 05:49:23 +0000 (14:49 +0900)]
tests: Fix evas 3d tests after previous commit

8 years agoevas: Update evas_3d_utils, replace Evas_Vec.
se.osadchy [Wed, 17 Feb 2016 05:26:40 +0000 (14:26 +0900)]
evas: Update evas_3d_utils, replace Evas_Vec.

Summary: Change Evas_Vec2(3) to Eina_Vector2(3).

Reviewers: cedric, Hermet, jpeg

Subscribers: jpeg

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

8 years agoevas: Update eina_vector, add new function.
se.osadchy [Wed, 17 Feb 2016 05:14:24 +0000 (14:14 +0900)]
evas: Update eina_vector, add new function.

Summary: Add direction transform for eina_vector3.

Reviewers: cedric, Hermet, jpeg

Reviewed By: jpeg

Subscribers: jpeg

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

8 years agoector gl: Use proper PRIx64 to print a uint64_t
Jean-Philippe Andre [Wed, 17 Feb 2016 04:34:01 +0000 (13:34 +0900)]
ector gl: Use proper PRIx64 to print a uint64_t

Thanks @vtorri for the report.
Closes D3698

8 years agoeina: eina_array_free() now silently ignores NULL
Jean-Philippe Andre [Mon, 15 Feb 2016 09:19:58 +0000 (18:19 +0900)]
eina: eina_array_free() now silently ignores NULL

This is a follow-up patch after 56a4535ada71af1d22611e861ada.
Also, remove now invalid documentation.

8 years agoecore-x: Add safety checks for NULL _ecore_x_disp in dnd functions
Chris Michael [Tue, 16 Feb 2016 20:51:58 +0000 (15:51 -0500)]
ecore-x: Add safety checks for NULL _ecore_x_disp in dnd functions

xlib immediately crashes upon being passed a NULL display object,
so every function in ecore-x should likely have safety checks such as
these.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoEvas Text: Update text layout when ellipsis is changed without resize
Youngbok Shin [Tue, 16 Feb 2016 15:14:38 +0000 (17:14 +0200)]
Evas Text: Update text layout when ellipsis is changed without resize

Summary:
When only ellipsis is changed from 0.0~1.0 to -1.0 without resize,
the text is never updated. Because, previous state for ellipsis is never kept
and used properly to check when Evas Text needs to be updated.

It does not have any effect when ellipsis is changed from -1.0 to 0.0~1.0.
Because, Evas text always resize itself according to its text size.
So, necessarily, Evas text object has to be resized to the smaller size.
Commonly, Edje will handle its size if Evas text needs to be ellipsized.
@fix

Test Plan: Test case is included.

Reviewers: tasn, woohyun, herdsman

Subscribers: cedric, jpeg

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

8 years agoEcore poller: Fix tests.
Tom Hacohen [Tue, 16 Feb 2016 15:43:46 +0000 (15:43 +0000)]
Ecore poller: Fix tests.

Very confusing, we have:
poller_poller_interval_set and poller_poll_interval_set.

Thanks to herdsman for reporting.

8 years agoEcore audio: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 15:16:04 +0000 (15:16 +0000)]
Ecore audio: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoeolian: verbose type warnings for EFL by default
Daniel Kolesa [Tue, 16 Feb 2016 15:13:02 +0000 (15:13 +0000)]
eolian: verbose type warnings for EFL by default

8 years agoEctor renderer generic: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:39:30 +0000 (14:39 +0000)]
Ector renderer generic: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEvas box: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:33:32 +0000 (14:33 +0000)]
Evas box: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEfl gfx shape: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:25:15 +0000 (14:25 +0000)]
Efl gfx shape: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEfl gfx gradient: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:20:15 +0000 (14:20 +0000)]
Efl gfx gradient: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEfl gfx spread: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:15:41 +0000 (14:15 +0000)]
Efl gfx spread: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEio model: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:05:50 +0000 (14:05 +0000)]
Eio model: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEcore poller: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:00:46 +0000 (14:00 +0000)]
Ecore poller: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEcore eolian: Ignore callback prototypes for now.
Tom Hacohen [Tue, 16 Feb 2016 13:55:20 +0000 (13:55 +0000)]
Ecore eolian: Ignore callback prototypes for now.

We don't plan on handling function pointers in Eolian.
Fixing these is work for the future, in the meanwhile, we should just work
around these.

8 years agoEfl tests: Major test rework
Tom Hacohen [Tue, 16 Feb 2016 13:09:10 +0000 (13:09 +0000)]
Efl tests: Major test rework

This is a merge commit of a branch by vtorri to rework all the test
infrastructure.

Closes D3654

8 years agoEfl tests: Fix running of tests.
Tom Hacohen [Tue, 16 Feb 2016 13:03:20 +0000 (13:03 +0000)]
Efl tests: Fix running of tests.

8 years agoEfl tests: Fix dangerous coding style.
Tom Hacohen [Tue, 16 Feb 2016 13:01:00 +0000 (13:01 +0000)]
Efl tests: Fix dangerous coding style.

8 years agoEeze test: Fix eeze test compilation.
Tom Hacohen [Tue, 16 Feb 2016 12:54:29 +0000 (12:54 +0000)]
Eeze test: Fix eeze test compilation.

8 years agoAdd efl_check.h to eina unit test files as Eina is mandatory
Vincent Torri [Thu, 4 Feb 2016 14:27:32 +0000 (15:27 +0100)]
Add efl_check.h to eina unit test files as Eina is mandatory

8 years agoTest rework
Vincent Torri [Thu, 4 Feb 2016 14:12:34 +0000 (15:12 +0100)]
Test rework

Summary:
Factorisation of the infra
make uniform all the tests

Test rework #1: Ecore

Test rework #2: Ecore_Con

Test rework #3: Ecore_Cxx

Test rework #4: Ector

Test rework #5: Edje

Test rework #6: Eet

This one is big: I had to split the huge eet_suite.c into separate test files
and it needs more review

Test rework #7: Eet_Cxx

Test rework #8: Eeze

eeze_suite.c has also been splitted

Test rework #9: Efreet

this efreet test suite needs more love later

Test rework #10: Eina

mainly minor stuff: whitespaces, order of includes, ... Just don't fear the number
of changed files :-)

Test rework #11: Eina_Cxx

Test rework #12: Eio

Test rework #13: ElDbus

Test rework #14: ElDbus_Cxx

Test rework #15: Elua

Test rework #16: Emile

Test rework #17: Eo

I've only touched the suite/ subdir. Maybe we should merege the others into
the test suite in suite/

Test rework #18: Eolian

Test rework #19: Eolian_Cxx

Test rework #20: Evas

Test rework #21: Evil

Test Plan: make check

Reviewers: cedric, jpeg, tasn

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

8 years agoTest rework #20: Evas
Vincent Torri [Thu, 4 Feb 2016 14:11:52 +0000 (15:11 +0100)]
Test rework #20: Evas

8 years agoTest rework #19: Eolian_Cxx
Vincent Torri [Thu, 4 Feb 2016 14:10:11 +0000 (15:10 +0100)]
Test rework #19: Eolian_Cxx

8 years agoTest rework #18: Eolian
Vincent Torri [Thu, 4 Feb 2016 14:04:45 +0000 (15:04 +0100)]
Test rework #18: Eolian

8 years agoTest rework #17: Eo
Vincent Torri [Thu, 4 Feb 2016 14:02:57 +0000 (15:02 +0100)]
Test rework #17: Eo

I've only touched the suite/ subdir. Maybe we should merege the others into
the test suite in suite/

8 years agoTest rework #16: Emile
Vincent Torri [Thu, 4 Feb 2016 13:59:36 +0000 (14:59 +0100)]
Test rework #16: Emile

8 years agoTest rework #15: Elua
Vincent Torri [Thu, 4 Feb 2016 13:57:14 +0000 (14:57 +0100)]
Test rework #15: Elua

8 years agoTest rework #14: ElDbus_Cxx
Vincent Torri [Thu, 4 Feb 2016 13:55:35 +0000 (14:55 +0100)]
Test rework #14: ElDbus_Cxx

8 years agoTest rework #13: ElDbus
Vincent Torri [Thu, 4 Feb 2016 13:52:49 +0000 (14:52 +0100)]
Test rework #13: ElDbus

8 years agoTest rework #12: Eio
Vincent Torri [Thu, 4 Feb 2016 13:51:07 +0000 (14:51 +0100)]
Test rework #12: Eio

8 years agoTest rework #11: Eina_Cxx
Vincent Torri [Thu, 4 Feb 2016 13:49:18 +0000 (14:49 +0100)]
Test rework #11: Eina_Cxx

8 years agoTest rework #10: Eina
Vincent Torri [Thu, 4 Feb 2016 13:44:58 +0000 (14:44 +0100)]
Test rework #10: Eina

mainly minor stuff: whitespaces, order of includes, ... Just don't fear the number
of changed files :-)

8 years agoTest rework #9: Efreet
Vincent Torri [Thu, 4 Feb 2016 13:42:13 +0000 (14:42 +0100)]
Test rework #9: Efreet

this efreet test suite needs more love later