platform/upstream/efl.git
9 years agoEvas GL: Fix error message (ERR --> INF)
Jean-Philippe Andre [Mon, 15 Jun 2015 08:51:18 +0000 (17:51 +0900)]
Evas GL: Fix error message (ERR --> INF)

9 years agoevas/gl_x11, gl_cocoa: remove static variable in eng_font_draw
Dongyeon Kim [Mon, 15 Jun 2015 08:48:10 +0000 (17:48 +0900)]
evas/gl_x11, gl_cocoa: remove static variable in eng_font_draw

Summary:
When evas is recreated, this static variable value remains,
so it references already freed memory.

Test Plan: Local tests

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: wonsik, mer.kim, cedric

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

9 years agoEdje: Add test case for "no_render" and "clip_to" state flag
Jean-Philippe Andre [Thu, 11 Jun 2015 08:46:50 +0000 (17:46 +0900)]
Edje: Add test case for "no_render" and "clip_to" state flag

9 years agoEvas: Add "no-render" flag for proxy sources & clippers
Jean-Philippe Andre [Tue, 12 May 2015 08:37:01 +0000 (17:37 +0900)]
Evas: Add "no-render" flag for proxy sources & clippers

Those objects should never be rendered on the canvas, even if they
are visible. On the other hand, they need to be rendered in mask or
proxy surfaces.

note: this patch includes some extra whitespaces changes :(

@feature

9 years agoEdje: Add clip as a property of a part description
Jean-Philippe Andre [Tue, 28 Apr 2015 09:56:02 +0000 (18:56 +0900)]
Edje: Add clip as a property of a part description

Since masking, for performance and themeing reasons, it becomes
interesting to be able to switch clippers on the fly. In particular,
switching from an IMAGE mask to a standard RECT clipper can save a
lot of power when masking is not required.

This new flag "description.clip_to" will behave a bit like a mix of
rel.to and visible:

- It points to a part by name, just like part.clip_to. This will
  override the clipper set by the part, or override the default clipper.

- Like "visible", it can not be interpolated between two values, so
  it will switch only at the end of a transition.

- By default there is no clip override, which means Edje will fallback
  to the part's clipper, if any, or the base (group's) clipper.

NOTE:
- Since a clipper that does not clip anything becomes a standard object,
  it is visible and rendered. This will in 99.999% cases not be the
  intended behaviour. Currently we can simply use a transparent RECT
  in order to always have something clipped by the clipper, but this is
  a hack and this will trigger rendering of masks in their surfaces even
  when they are not actually used.
  Ideally, there should be a flag indicating to Edje & Evas that an object
  should be considered a clipper in all situations, and never be rendered
  on screen.

TODO:
- Support Edje Edit
- Add Embryo & Lua functions
- Add support in edje_convert
- Add Edje/Evas flag to mark objects as "no_render"

@feature

9 years agoeina: add test cases for various eina_matrix operations
Vivek Ellur [Mon, 15 Jun 2015 07:06:31 +0000 (09:06 +0200)]
eina: add test cases for various eina_matrix operations

Summary:
Added test cases for various operations of 3*3 matrix

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas-gl-drm: Cleanup gl_drm engine code a bit more
Chris Michael [Fri, 12 Jun 2015 15:48:30 +0000 (11:48 -0400)]
evas-gl-drm: Cleanup gl_drm engine code a bit more

Summary: This cleans up the gl-drm engine code a bit and avoids the
need to constantly destroy and recreate the gbm device itself. This
also adds checks during Outbuf create to handle the swap_mode as per
previously added enum.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-gl-drm: Move gbm_surface field to Outbuf structure
Chris Michael [Fri, 12 Jun 2015 15:47:47 +0000 (11:47 -0400)]
evas-gl-drm: Move gbm_surface field to Outbuf structure

Summary: This moves the Engine_Info's gbm_surface field to the Outbuf
structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-gl-drm: Add swap_mode enum
Chris Michael [Fri, 12 Jun 2015 15:44:29 +0000 (11:44 -0400)]
evas-gl-drm: Add swap_mode enum

Summary: This adds an enum we can use for setting/determining the
swap_mode to use for the gl_drm engine

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas_event: evas_event_feed_mouse_cancel set EVAS_EVENT_FLAG_ON_HOLD
Ji-Youn Park [Fri, 12 Jun 2015 14:10:07 +0000 (23:10 +0900)]
evas_event: evas_event_feed_mouse_cancel set EVAS_EVENT_FLAG_ON_HOLD

Evas_event_feed_mouse_cancel generates mouse up event if it meets situation witch mouse should be canceled.
but app also have to know this information. I add cancel information into evas up event generated by cancel function.
@fix

9 years agoevas/vg : Fixed issue regarding geometry change of vg object.
Subhransu Mohanty [Fri, 12 Jun 2015 08:24:55 +0000 (17:24 +0900)]
evas/vg : Fixed issue regarding geometry change of vg object.

9 years agoevas/engines : renamed ector native engine to "default" from "freetype"
Subhransu Mohanty [Wed, 15 Apr 2015 02:31:29 +0000 (11:31 +0900)]
evas/engines : renamed ector native engine to "default" from "freetype"

9 years agoevas_smart: Add a check for zero size before malloc
Vaibhav Gupta [Fri, 12 Jun 2015 08:47:13 +0000 (09:47 +0100)]
evas_smart: Add a check for zero size before malloc

Summary:
Size may be zero while allocating interfaces private data,
when NULL is passed in EVAS_SMART_SUBCLASS_IFACE_NEW for ifaces argument.

If size is 0, then malloc() returns either NULL, or a unique pointer
value that can later be successfully passed to free(). It is implementation
dependent. This case would be likely to occur in case of smart classes with
no interfaces.

@fix

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Reviewers: raster, Hermet, tasn, cedric

Subscribers: SanghyeonLee, sachin.dev, singh.amitesh, cedric

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

9 years agoedje entry - also filter 0x7f (DEL) char on input as it's invalid entry
Carsten Haitzler (Rasterman) [Fri, 12 Jun 2015 08:39:51 +0000 (17:39 +0900)]
edje entry - also filter 0x7f (DEL) char on input as it's invalid entry

@fix

9 years agoEvas filters: Remove unnecessary copy of buffers
Jean-Philippe Andre [Fri, 12 Jun 2015 07:44:43 +0000 (16:44 +0900)]
Evas filters: Remove unnecessary copy of buffers

When doing blur from alpha to rgba, there was an extra copy
step added, that was not required.

This should improve the performance a little bit in this situation.

9 years agoEvas filters: Fix blend with color with rgba buffers
Jean-Philippe Andre [Fri, 12 Jun 2015 06:44:31 +0000 (15:44 +0900)]
Evas filters: Fix blend with color with rgba buffers

- blend { color = red }
- blur { color = red }
were not working with RGBA input. This patch fixes that.

@fix

9 years agoedje: Remove unused variable
Chris Michael [Thu, 11 Jun 2015 16:59:21 +0000 (12:59 -0400)]
edje: Remove unused variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian: remove support for old event doc syntax
Daniel Kolesa [Thu, 11 Jun 2015 16:14:51 +0000 (17:14 +0100)]
eolian: remove support for old event doc syntax

9 years agoeo: move all event doc comments to new syntax
Daniel Kolesa [Thu, 11 Jun 2015 16:09:02 +0000 (17:09 +0100)]
eo: move all event doc comments to new syntax

9 years agoeolian: remove support for old doc style on types and vars
Daniel Kolesa [Thu, 11 Jun 2015 15:52:45 +0000 (16:52 +0100)]
eolian: remove support for old doc style on types and vars

9 years agoevas,ecore_con: more struct/enum doc updates
Daniel Kolesa [Thu, 11 Jun 2015 15:51:43 +0000 (16:51 +0100)]
evas,ecore_con: more struct/enum doc updates

9 years agoeolian: fix a bug in expr serializer with wrong sign insertion
Daniel Kolesa [Thu, 11 Jun 2015 15:41:32 +0000 (16:41 +0100)]
eolian: fix a bug in expr serializer with wrong sign insertion

9 years agoedje,evas: convert type docs to new format
Daniel Kolesa [Thu, 11 Jun 2015 15:14:37 +0000 (16:14 +0100)]
edje,evas: convert type docs to new format

9 years agoeolian/generator: fix enum field doc generator bug
Daniel Kolesa [Thu, 11 Jun 2015 15:13:22 +0000 (16:13 +0100)]
eolian/generator: fix enum field doc generator bug

This resulted in a field using the next field's docs rather
than its own, because it incremented the member before
even trying to retrieve the docs.

@fix

9 years agoEvas: Remove unused variables.
Tom Hacohen [Thu, 11 Jun 2015 08:49:29 +0000 (09:49 +0100)]
Evas: Remove unused variables.

These were introduced in ed01a32c136aaba8fb23a12afaf334b4c47fc62e.

9 years agoEo: Add Null check
Thiep Ha [Thu, 11 Jun 2015 08:46:36 +0000 (09:46 +0100)]
Eo: Add Null check

Summary: Add Null checking when allocate memory.

Reviewers: cedric, tasn

Reviewed By: tasn

Subscribers: cedric

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

9 years agoedje: add po file support in edc translation.
katpavalli [Thu, 11 Jun 2015 08:40:32 +0000 (10:40 +0200)]
edje: add po file support in edc translation.

Summary:
   Implementation to support .po files in edc for translation

Test Plan:
   Test Code to test this implementation is done as part of efl/src/examples/edje/edje-text.c and efl/src/examples/edje/text.edc
   edje_cc -md . text.edc && gcc -o edje-text edje-text.c `pkg-config --libs --cflags ecore-evas edje evas ecore eo`
   ./edje-text

   1) Click On the text "Click here"
      The language gets changed.

Reviewers: shilpasingh, cedric

Reviewed By: shilpasingh, cedric

Subscribers: cedric, rajeshps, govi, poornima.srinivasan

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: move evas_object_inject to super's ctor
Daniel Hirt [Thu, 11 Jun 2015 07:58:09 +0000 (09:58 +0200)]
evas: move evas_object_inject to super's ctor

Summary:
As we always call evas_object_inject in every Evas Object's ctcor,
it seems sensible to move this repeated bit of code to the super
(Evas.Object).

Test Plan: Expedite, Elementary_Test and pretty much everything

Reviewers: cedric, raster

Subscribers: JackDanielZ, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas - eo canvas events - move viewport to last to match enums in legacy
Carsten Haitzler (Rasterman) [Thu, 11 Jun 2015 01:51:47 +0000 (10:51 +0900)]
evas - eo canvas events - move viewport to last to match enums in legacy

9 years agoEvas GL: Make INF message more explicit
Jean-Philippe Andre [Thu, 21 May 2015 00:54:19 +0000 (09:54 +0900)]
Evas GL: Make INF message more explicit

Direct rendering is actually quite hard to enable, so make the
message very explicit for elm_glview users. Thanks zmike for
reporting this msg.

9 years agoEvas GL: Fix coverity CID 1304559, 1304560
Jean-Philippe Andre [Wed, 10 Jun 2015 23:39:43 +0000 (08:39 +0900)]
Evas GL: Fix coverity CID 1304559, 1304560

Summary:
<CID 1304559: Logically dead code>
The dead code is only valid for GLES backend, so move if statement
to be used for GLES backend only.
<CID 1304560: Bad bit shift operation>
When calculating depth bit, bit shifting could be done with negative values.
@fix

Test Plan: Local tests

Reviewers: jpeg

Reviewed By: jpeg

Subscribers: wonsik, cedric

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

9 years agoelua: unexpose "old" documentation api from eolian bindings
Daniel Kolesa [Wed, 10 Jun 2015 16:35:31 +0000 (17:35 +0100)]
elua: unexpose "old" documentation api from eolian bindings

9 years agoelua: remove unused code from lualian
Daniel Kolesa [Wed, 10 Jun 2015 16:33:14 +0000 (17:33 +0100)]
elua: remove unused code from lualian

9 years agoelua: bind recent eolian APIs to eolian lua api
Daniel Kolesa [Wed, 10 Jun 2015 16:30:17 +0000 (17:30 +0100)]
elua: bind recent eolian APIs to eolian lua api

9 years agoEdje object: Fix remaining Eolian warnings.
Tom Hacohen [Wed, 10 Jun 2015 16:23:30 +0000 (17:23 +0100)]
Edje object: Fix remaining Eolian warnings.

9 years agoEdje object: Fix some Eolian warnings regarding callbacks.
Tom Hacohen [Wed, 10 Jun 2015 16:07:14 +0000 (17:07 +0100)]
Edje object: Fix some Eolian warnings regarding callbacks.

9 years agoEdje object: Fix Eolian warnings (and migrate types).
Tom Hacohen [Wed, 10 Jun 2015 15:56:43 +0000 (16:56 +0100)]
Edje object: Fix Eolian warnings (and migrate types).

Also add an eot file for general edje types.

9 years agoeolian: add new __undefined_type builtin to silence warnings
Daniel Kolesa [Wed, 10 Jun 2015 15:42:12 +0000 (16:42 +0100)]
eolian: add new __undefined_type builtin to silence warnings

9 years agoeolian: fix wrong type keyword check
Daniel Kolesa [Wed, 10 Jun 2015 15:38:41 +0000 (16:38 +0100)]
eolian: fix wrong type keyword check

9 years agoEfl model: Fix Eolian warnings (and migrate types).
Tom Hacohen [Wed, 10 Jun 2015 14:52:33 +0000 (15:52 +0100)]
Efl model: Fix Eolian warnings (and migrate types).

9 years agoEvas: Fix abi break in Evas_Callback_Type
Tom Hacohen [Wed, 10 Jun 2015 14:36:28 +0000 (15:36 +0100)]
Evas: Fix abi break in Evas_Callback_Type

You are not allowed to insert elements into an enum, except for at the
end!!!

Spank spank spank.

Was introduced in: 86751fdbaf28796736876e23b86f26480e22de52

9 years agoEvas canvas: Fix Eolian warnings (migrate types).
Tom Hacohen [Wed, 10 Jun 2015 14:32:22 +0000 (15:32 +0100)]
Evas canvas: Fix Eolian warnings (migrate types).

9 years agoector,ecore,eio,emotion: convert some docs
Daniel Kolesa [Wed, 10 Jun 2015 13:34:54 +0000 (14:34 +0100)]
ector,ecore,eio,emotion: convert some docs

9 years agoEina debug: Fix shadow warning.
Tom Hacohen [Wed, 10 Jun 2015 12:07:12 +0000 (13:07 +0100)]
Eina debug: Fix shadow warning.

This is especially obviously wrong, beacuse the original parameter is not
even used.

9 years agoEdje_entry: Fix control + (x,a,y,z,m,c) not working issue.
shilpa.singh [Wed, 10 Jun 2015 12:04:11 +0000 (13:04 +0100)]
Edje_entry: Fix control + (x,a,y,z,m,c) not working issue.

Summary:
When caps lock is "On" and we press control + (x,a,y,z,m,c) none of
these operations work issue fix.

@fix

Test Plan:
1. Caps lock On
2. Input some text
3. Press ctrl+a, ctrl+c etc:-
4. Select, copy, cut etc:- operations does not work

Reviewers: tasn

Subscribers: raster, rajeshps, govi, poornima.srinivasan, navnbeet, subodh6129, cedric

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

9 years agoecore: null cb function is unacceptable.
ChunEon Park [Wed, 10 Jun 2015 08:45:28 +0000 (17:45 +0900)]
ecore: null cb function is unacceptable.

@fix

9 years agoevas/render2: Put evas_render2_th_main.c in EXTRA_DIST to ship it in the tarball
Stefan Schmidt [Wed, 10 Jun 2015 08:08:39 +0000 (10:08 +0200)]
evas/render2: Put evas_render2_th_main.c in EXTRA_DIST to ship it in the tarball

We are not able to put it in SOURCES as it is not possible to compile this as
standalone object out of the context it is included in.

9 years agoector: always initialize the array contents even without fetchfunc
Daniel Kolesa [Tue, 9 Jun 2015 14:11:16 +0000 (15:11 +0100)]
ector: always initialize the array contents even without fetchfunc

Also use a static array instead of a VLA as we know the size at compile time.

Fixes CID 1294210.

@fix

9 years agoevas: Remove unused variables
Chris Michael [Tue, 9 Jun 2015 13:08:47 +0000 (09:08 -0400)]
evas: Remove unused variables

Summary: These variables are actually unused here, so remove them.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-x: Fix compiler warning of unused variable
Chris Michael [Tue, 9 Jun 2015 13:03:54 +0000 (09:03 -0400)]
ecore-x: Fix compiler warning of unused variable

Summary: XIDeviceEvent variable is only used if we have support for XI2_2.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-x: Fix warning of defined but unused function
Chris Michael [Tue, 9 Jun 2015 13:02:19 +0000 (09:02 -0400)]
ecore-x: Fix warning of defined but unused function

Summary: The _ecore_x_input_grabbed_is function is only used if we
have support for XI2_2, so move the defines around a little to fix a
compiler warning.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-x: Fix warning of unused variable
Chris Michael [Tue, 9 Jun 2015 13:00:06 +0000 (09:00 -0400)]
ecore-x: Fix warning of unused variable

Summary: We only need the 'devid' variable if we have support for XI2_2.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelua lib: sanitize all file paths before writing them
Daniel Kolesa [Tue, 9 Jun 2015 13:01:25 +0000 (14:01 +0100)]
elua lib: sanitize all file paths before writing them

This will prevent random nonsense from being written in.

It changes semantics slightly (documented) and also fixes
CID 1267463.

@fix

9 years agoeolian: pass rbuf to doc_error
Daniel Kolesa [Tue, 9 Jun 2015 12:43:36 +0000 (13:43 +0100)]
eolian: pass rbuf to doc_error

This allows us to correctly free the buffer in error scenarios.

Fixes CID 1304728.

@fix

9 years agoeina semaphore lock - don't wake up because of signals
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 10:36:59 +0000 (19:36 +0900)]
eina semaphore lock - don't wake up because of signals

@fix - this fixes eina sephamore lock/wait to not return just because
of a signal sent to the process - try again if the semaphore wait is
interrupted by a signal as opposed to a semaphore wakeup.

9 years agoeina btlog - util - shut up coverity
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 09:58:40 +0000 (18:58 +0900)]
eina btlog - util - shut up coverity

eina_btlog is a backtrace "cleaner" that takes a raw bt from eina log
and gives a full readable bt for humans. it's run-and-quit binary like
ls or rm - it does its job and exits, so leaks are really of no
concern here...

CID 1297407

9 years agoevas/evas_op_add_main: Remove superfluous if branch.
Stefan Schmidt [Tue, 9 Jun 2015 08:18:02 +0000 (10:18 +0200)]
evas/evas_op_add_main: Remove superfluous if branch.

We do the same in both branches: return func.

CID: 1267478, 1267480, 1267482, 1267486

9 years agoevas/evas_op_mul_main: Remove superfluous if branch.
Stefan Schmidt [Tue, 9 Jun 2015 08:13:06 +0000 (10:13 +0200)]
evas/evas_op_mul_main: Remove superfluous if branch.

We do the same in both branches: return func.

CID: 1267468, 1267471

9 years agoevas/evas_op_mask_main: Remove superfluous if branch.
Stefan Schmidt [Tue, 9 Jun 2015 08:10:35 +0000 (10:10 +0200)]
evas/evas_op_mask_main: Remove superfluous if branch.

We do the same in both branches: return func.

CID: 1267481, 1267485

9 years agoevas/evas_op_copy_main: Remove superfluous if branch.
Stefan Schmidt [Tue, 9 Jun 2015 08:06:27 +0000 (10:06 +0200)]
evas/evas_op_copy_main: Remove superfluous if branch.

We do the same in both branches: return func.

CID: 1267483, 1267484, 1267487, 1267488

9 years agoevas/evas_op_blend_main: Remove superfluous if branch.
Stefan Schmidt [Tue, 9 Jun 2015 08:02:59 +0000 (10:02 +0200)]
evas/evas_op_blend_main: Remove superfluous if branch.

We do the same in both branches: return func.

CID: 1267469, 1267470, 1267473, 1267474

9 years agoevas/evas_op_sub_main: Remove superfluous if branch.
Stefan Schmidt [Tue, 9 Jun 2015 07:56:18 +0000 (09:56 +0200)]
evas/evas_op_sub_main: Remove superfluous if branch.

We do the same in both branches: return func.

CID: 1267476, 1267477, 1267479, 1267489

9 years agoecore x - remove warning on unused variable
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 08:28:33 +0000 (17:28 +0900)]
ecore x - remove warning on unused variable

9 years agoevas render2 work - begin to make rectangles deal with render 2 basic
Carsten Haitzler (Rasterman) [Tue, 2 Jun 2015 11:39:57 +0000 (20:39 +0900)]
evas render2 work - begin to make rectangles deal with render 2 basic
infra

9 years agoEdje: Fix indentation after a clean-up commit
Jean-Philippe Andre [Tue, 9 Jun 2015 07:04:26 +0000 (16:04 +0900)]
Edje: Fix indentation after a clean-up commit

@zmike apparently wanted to beat the b0rker in chief,
(see 172a0ccf0cd6) but edje_text.c came out worse than before :)

eo_do() seems to totally mess with editors' auto-formatting in
some cases.

9 years agoEvas: Fix shadow warning
Jean-Philippe Andre [Wed, 3 Jun 2015 05:57:37 +0000 (14:57 +0900)]
Evas: Fix shadow warning

9 years agoecore_imf/wayland: support on-demand show mode
Jihoon Kim [Tue, 9 Jun 2015 05:30:07 +0000 (14:30 +0900)]
ecore_imf/wayland: support on-demand show mode

In on-demand show mode, input panel will be shown in case of only an user's explicit Mouse Up event.
It doesn't request to show the input panel even though the Input Method Context has focus.

9 years agoecore_x_xi2: remove useless define check XI_TouchXXX.
Ji-Youn Park [Tue, 9 Jun 2015 04:10:59 +0000 (13:10 +0900)]
ecore_x_xi2: remove useless define check XI_TouchXXX.

Summary:
we can use XI_TouchXXX defines after xi2_2. So we don't need check XI_TouchXXX defines.
I think it is simple only using the ECORE_XI2_2 define instead of using XI_TouchXXX defines.

9 years agoecore_x_xi2: remove useless define check XI_TouchXXX.
Ji-Youn Park [Mon, 8 Jun 2015 18:53:01 +0000 (14:53 -0400)]
ecore_x_xi2: remove useless define check XI_TouchXXX.

Summary:
we can use XI_TouchXXX defines after xi2_2. So we don't need check XI_TouchXXX defines.
I think it is simple only using the ECORE_XI2_2 define instead of using XI_TouchXXX defines.

Reviewers: raster, cedric, devilhorns

Subscribers: cedric

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

9 years agoedje: reformat all C files
Mike Blumenkrantz [Mon, 8 Jun 2015 18:43:00 +0000 (14:43 -0400)]
edje: reformat all C files

this has been unreadable for years due to the french tabber.

9 years agoRevert "edje: set GROUP/SWALLOW/EXTERNAL pass events based on mouse events"
Mike Blumenkrantz [Mon, 8 Jun 2015 17:29:02 +0000 (13:29 -0400)]
Revert "edje: set GROUP/SWALLOW/EXTERNAL pass events based on mouse events"

This reverts commit c38f84e64f3ac915d61c0307fc9dce0c66fda7b8.

apparently many existing edje groups were written with the assumption that
this was broken, so fixing it is impossible at this point

9 years agoedje: set GROUP/SWALLOW/EXTERNAL pass events based on mouse events
Mike Blumenkrantz [Mon, 8 Jun 2015 17:20:00 +0000 (13:20 -0400)]
edje: set GROUP/SWALLOW/EXTERNAL pass events based on mouse events

previously these parts would fail to consume mouse events as expected,
leading to strange event chains which were inconsistent with other types
of parts

@fix

9 years agoecore: move eo docs to new format
Daniel Kolesa [Mon, 8 Jun 2015 16:36:23 +0000 (17:36 +0100)]
ecore: move eo docs to new format

9 years agoeolian/generator: use get/set doc as primary if needed
Daniel Kolesa [Mon, 8 Jun 2015 16:35:25 +0000 (17:35 +0100)]
eolian/generator: use get/set doc as primary if needed

9 years agoeina: fix copy and paster error detected by Coverity.
Cedric BAIL [Mon, 8 Jun 2015 15:58:28 +0000 (17:58 +0200)]
eina: fix copy and paster error detected by Coverity.

CID 1302701

9 years agoeolian/generator: support for since tag in doc gen
Daniel Kolesa [Mon, 8 Jun 2015 15:16:15 +0000 (16:16 +0100)]
eolian/generator: support for since tag in doc gen

9 years agomodules/evas/engines/software_generic: No need to check enums for smaller 0
Stefan Schmidt [Mon, 8 Jun 2015 14:59:45 +0000 (16:59 +0200)]
modules/evas/engines/software_generic: No need to check enums for smaller 0

Evas_Image_Orient is an enum starting at 0 thus we never go below 0. Remove
unneeded checks.

modules/evas/engines/software_generic/evas_engine.c:1558:4: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
modules/evas/engines/software_generic/evas_engine.c:1560:8: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]

9 years agoemile: Init ptrag as it might get used uninitialized if not
Stefan Schmidt [Mon, 8 Jun 2015 14:43:24 +0000 (16:43 +0200)]
emile: Init ptrag as it might get used uninitialized if not

lib/emile/emile_image.c:2099:49: warning: 'ptrag' may be used uninitialized in this function [-Wmaybe-uninitialized]

9 years agoeavs_3d: Avoid enum check for < 0
Stefan Schmidt [Mon, 8 Jun 2015 14:38:02 +0000 (16:38 +0200)]
eavs_3d: Avoid enum check for < 0

Evas_3D_Mesh_Primitive is a enum starting from 0 so it never will be below 0.
Just as the compiler tells us. Remove unneeded check.
lib/evas/canvas/evas_3d_primitive.c:48:4: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]

9 years agoecore-wayland: Fix T2466: Update xdg shell protocol code
Chris Michael [Mon, 8 Jun 2015 14:56:10 +0000 (10:56 -0400)]
ecore-wayland: Fix T2466: Update xdg shell protocol code

Summary: This updates the xdg_shell protocol and code to support
XDG_SHELL version 5. This allows EFL/Elm apps to function again in
Weston.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian: support for @since tag in new doc comments
Daniel Kolesa [Mon, 8 Jun 2015 14:55:02 +0000 (15:55 +0100)]
eolian: support for @since tag in new doc comments

This is kind of ugly, but I didn't see a better way to do it without turning
this into a much more complicated parser. So this will have to do unless we
find something else to add, in which case a new doc parser will be required.

@feature

9 years agoeolian: we need import_types_ref.h included in tarball
Daniel Kolesa [Mon, 8 Jun 2015 10:03:33 +0000 (11:03 +0100)]
eolian: we need import_types_ref.h included in tarball

If we don't, distcheck fails (because of missing file).

@fix

9 years agoeolian/generator: fix a false positive in eolian types_gen
Daniel Kolesa [Mon, 8 Jun 2015 09:56:54 +0000 (10:56 +0100)]
eolian/generator: fix a false positive in eolian types_gen

While it is true that 'strrchr' may return NULL, in this case it
never will (there is always a newline). Either way, silence Coverity.

Fixes CID 1304558.

9 years agoeolian_cxx: initialize all members in a struct correctly
Daniel Kolesa [Mon, 8 Jun 2015 09:48:22 +0000 (10:48 +0100)]
eolian_cxx: initialize all members in a struct correctly

Fixes CID 1298133.

@fix

9 years agoeolian: silence static analysis
Daniel Kolesa [Mon, 8 Jun 2015 09:43:20 +0000 (10:43 +0100)]
eolian: silence static analysis

Add some unreachable returns to fix CID 1304557.

9 years agoevas_clickable_interface: adding new event
Avi Levin [Wed, 20 May 2015 07:08:17 +0000 (10:08 +0300)]
evas_clickable_interface: adding new event

9 years agoevas: porting evas smart callbacks to eo
Avi Levin [Mon, 27 Apr 2015 15:28:36 +0000 (18:28 +0300)]
evas: porting evas smart callbacks to eo

9 years agoemotion: porting evas smart callbacks to eo
Avi Levin [Sun, 26 Apr 2015 11:49:26 +0000 (14:49 +0300)]
emotion: porting evas smart callbacks to eo

9 years agoedje: porting evas smart callbacks to eo
Avi Levin [Tue, 21 Apr 2015 16:00:58 +0000 (19:00 +0300)]
edje: porting evas smart callbacks to eo

It's the first stage of replacing calls of evas_object_smart_callback_add/del/call
with eo_callback_add/del/call.
This will reduce the use of legacy events and callbacks lists in
smart_object which in turn will improve performance and reduce memory
use.

9 years agoevas-gl-drm: Trap for invalid gbm bo
Chris Michael [Fri, 5 Jun 2015 17:39:41 +0000 (13:39 -0400)]
evas-gl-drm: Trap for invalid gbm bo

Summary: If we fail to lock the front buffer, we will not get a valid
bo returned so we should not be calling other functions which require
a bo.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeo: move some eo files to new doc syntax
Daniel Kolesa [Fri, 5 Jun 2015 16:03:36 +0000 (17:03 +0100)]
eo: move some eo files to new doc syntax

9 years agoeolian/generator: generate @ref foo for @foo
Daniel Kolesa [Fri, 5 Jun 2015 16:02:47 +0000 (17:02 +0100)]
eolian/generator: generate @ref foo for @foo

9 years agoeolian/generator: use more correct indent offset in types doc gen
Daniel Kolesa [Fri, 5 Jun 2015 15:43:08 +0000 (16:43 +0100)]
eolian/generator: use more correct indent offset in types doc gen

9 years agoeolian: remove support for short doc comments (//@)
Daniel Kolesa [Fri, 5 Jun 2015 15:10:12 +0000 (16:10 +0100)]
eolian: remove support for short doc comments (//@)

9 years agoeolian/generator: fix silly shadow warning
Daniel Kolesa [Fri, 5 Jun 2015 14:38:05 +0000 (15:38 +0100)]
eolian/generator: fix silly shadow warning

9 years agoeina: Fix warning about unused paramaters
Chris Michael [Fri, 5 Jun 2015 14:12:27 +0000 (10:12 -0400)]
eina: Fix warning about unused paramaters

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian/generator: @param[in,out] is the correct inout syntax
Daniel Kolesa [Fri, 5 Jun 2015 14:08:48 +0000 (15:08 +0100)]
eolian/generator: @param[in,out] is the correct inout syntax

9 years agoMerge branch 'devs/devilhorns/gl_drm'
Chris Michael [Fri, 5 Jun 2015 14:01:46 +0000 (10:01 -0400)]
Merge branch 'devs/devilhorns/gl_drm'

This merges a refactored evas gl_drm engine which actually functions now :)

9 years agoevas-gl-drm: Fix issue with swap mode returning wrong value
Chris Michael [Fri, 5 Jun 2015 13:59:57 +0000 (09:59 -0400)]
evas-gl-drm: Fix issue with swap mode returning wrong value

Summary: This fixes a crashing issue in evas image cache due to the
engine returning an improper swap mode.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-gl-drm: Refactor gl_drm engine to not use dumb buffers
Chris Michael [Thu, 4 Jun 2015 15:52:22 +0000 (11:52 -0400)]
evas-gl-drm: Refactor gl_drm engine to not use dumb buffers

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>