platform/upstream/efl.git
9 years agoevas/map: correct last 1 pixel handling in spans.
ChunEon Park [Wed, 26 Nov 2014 08:39:27 +0000 (17:39 +0900)]
evas/map: correct last 1 pixel handling in spans.

Clipper causes the different rendering result by last 1 pixel on the width.
Because the left edge x range (0 ~ (w - 1)) and right edge x range (0  ~ w) is different.
This fix won't be memory over access problem even if x span position is on the end of the edge.
Because the span width(x2 - x1) will be 0, and it restuls in skipping drawing.
It's hardly find the problem but you can detect the subtle rendering difference when some arbitrary meshes with map is
You can compare image and rectangle map drawing for this.

@fix

9 years agotextblock: correct text position for RTL text with margins
Thiep Ha [Wed, 26 Nov 2014 08:18:49 +0000 (10:18 +0200)]
textblock: correct text position for RTL text with margins

Summary:
If a RTL textblock has right margin, text is wrongly placed
(right margin is moved to left).
This patch fixes this issue.
Test cases are also added to test text position with margins.

@fix

Reviewers: tasn, herdsman

Subscribers: woohyun, cedric

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

9 years agoevas/map: revise draw code.
ChunEon Park [Wed, 26 Nov 2014 06:59:27 +0000 (15:59 +0900)]
evas/map: revise draw code.

reverted draw logic and applying aa drawing better safely.

9 years agoevas/map: removed unnecessary.
ChunEon Park [Wed, 26 Nov 2014 06:17:51 +0000 (15:17 +0900)]
evas/map: removed unnecessary.

9 years agoevas/map: support aa in basic c computation.
ChunEon Park [Wed, 26 Nov 2014 06:12:25 +0000 (15:12 +0900)]
evas/map: support aa in basic c computation.

9 years agoevas/map : set antialias context for map rendering.
ChunEon Park [Wed, 26 Nov 2014 03:22:55 +0000 (12:22 +0900)]
evas/map : set antialias context for map rendering.

9 years agoevas/map: add comments for readability.
ChunEon Park [Wed, 26 Nov 2014 03:07:10 +0000 (12:07 +0900)]
evas/map: add comments for readability.

9 years agoevas/map: code refactoring.
ChunEon Park [Tue, 25 Nov 2014 12:35:33 +0000 (21:35 +0900)]
evas/map: code refactoring.

use array for easier indexing in the coming anti-alias logic code.

9 years agoEet: add diffeet a tool for diffing eet files.
Tom Hacohen [Tue, 25 Nov 2014 11:29:10 +0000 (11:29 +0000)]
Eet: add diffeet a tool for diffing eet files.

This is not perfect at the moment, as the decoded output might change
drastically in some cases, however this is still useful for the other cases.

Anyway, we should fix the eet decoding to have a consistent order, so this
will be more useful.

@feature.

9 years agoecore: Add warnings to the public internal APIs.
Daniel Juyung Seo [Tue, 25 Nov 2014 08:57:45 +0000 (17:57 +0900)]
ecore: Add warnings to the public internal APIs.

These APIs were not meant to be exposed so it is not recommended to
use them out side of EFL. We had to expose them to use them between
EFL libraries. (Talked with Raster)

9 years agoedje: Add more description about edc group_name.
Daniel Juyung Seo [Tue, 25 Nov 2014 08:36:24 +0000 (17:36 +0900)]
edje: Add more description about edc group_name.

9 years agoevas_object_textblock: Resolved FIXME replaced int with size_t
kabeer khan [Tue, 25 Nov 2014 09:55:36 +0000 (09:55 +0000)]
evas_object_textblock: Resolved FIXME replaced int with size_t

Summary:
Since Evas_Textblock_Cursor has pos  of type size_t so changed
pos argument in _find_layout_item_line_match from int to size_t
Also Evas_Object_Textblock_Item has text_pos of size_t so defined
variable p of type size_t

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: tasn

Subscribers: devilhorns, cedric

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

9 years agoecore-xi2 - fix issue with ifdefs and moustache nesting
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 09:21:26 +0000 (18:21 +0900)]
ecore-xi2 - fix issue with ifdefs and moustache nesting

don't ask how this worked at all... it did... until you change some
ifdefs

9 years agoecore-con - silence bsd source wanrings for dns.c
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 08:03:53 +0000 (17:03 +0900)]
ecore-con - silence bsd source wanrings for dns.c

silence this annoying warning we've had for a while:

In file included from /usr/include/stdint.h:25:0,
                 from
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdint.h:9,
                 from lib/ecore_con/dns.c:45:
                 /usr/include/features.h:148:3: warning: #warning
"_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
[-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use
_DEFAULT_SOURCE"

9 years agoecore drm - comment out unused code to reduce warnings
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 08:01:36 +0000 (17:01 +0900)]
ecore drm - comment out unused code to reduce warnings

several brightness functions in ecore drm are unused - comment them
out until they are needed.

9 years agoaxis code ... warning --
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 07:58:25 +0000 (16:58 +0900)]
axis code ... warning --

9 years agoecore-x - xi2 - only compile functions when used by xi2
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 07:09:28 +0000 (16:09 +0900)]
ecore-x - xi2 - only compile functions when used by xi2

9 years agoecore x - mark unused param as unused (warning--)
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 07:07:09 +0000 (16:07 +0900)]
ecore x - mark unused param as unused (warning--)

9 years agoecore-x - xi2 support - unbreak build break i added.
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 06:37:16 +0000 (15:37 +0900)]
ecore-x - xi2 support - unbreak build break i added.

this only breaks when you enable xi2.2

9 years agoEdje: remove duplicated code.
Daniel Zaoui [Mon, 24 Nov 2014 09:08:17 +0000 (11:08 +0200)]
Edje: remove duplicated code.

In _edje_object_evas_object_smart_add, code is duplicated from
_evas_object_smart_clipped_smart_add. We can invoke eo_do_super instead.

9 years agoedje - remove old script_only code that used embryo (not lua)
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 06:09:00 +0000 (15:09 +0900)]
edje - remove old script_only code that used embryo (not lua)

thjis was deprecated even before efl 1.0 by never removed. lua
replaced it for script_only objects and you havent been able to
compile an edje file with script_only enabled since 1.0, so no point
having the code here.

this cleans up that code and cruft.

9 years agoExpose device (e.g. pen) axis information to applications
Jason Gerecke [Tue, 25 Nov 2014 03:07:50 +0000 (12:07 +0900)]
Expose device (e.g. pen) axis information to applications

Summary:
This patch set adds the necessary code to expose device axis state to applications. This was primarily written with graphics tablets in mind, which -- in addition to acting like a mouse -- also provide information about pen pressure, tilt, etc. Other devices could potentially benefit from this API as well: touchscreens, joysticks, knob controllers, "spaceballs", etc.

Whenever an update to the device state is recieved, an "Axis update" event is synthesized. This event contains the updated information, typically scaled and normalized to a particular logical range (e.g. zero to one for pressure, -pi to pi radians for angles, etc.). Information about the tool which generated the event is also stored so that applications can disambiguate events from multiple devices (or in the case of multitouch screens, individual fingers).

This API is only wired up for use with X11 at the moment. Support for other backends (e.g. Wayland) should be easy to add for those familiar them.

**Note**: The following is a list of changes from the "v2" patches originally sent to the mailinglist

//Define and implement new Ecore_Event_Axis_Update events//
 * Harcode axis labels instead of including xserver-properties.h
 * Use C89-style comments
 * Use doxygen comments
 * Update comment text to note axes with unbounded/undefined ranges/units
 * Create "Ecore_Axis" and "Ecore_Axis_Label" typedefs
 * Reference typedef'd instead of raw types
 * Adjust how we count through valuators to support tilt/az
 * Add support for tilt and azimuth
 * Tweak memory management in case number of valuators differ
 * Expand TWIST axis normalization to declared range
 * Only normalize TWIST axis if resolution == 1 (wacom bug)
 * Cache label atoms on first use to minimize round-trips

//Implement EVAS_CALLBACK_AXIS_UPDATE event and friends//
 * Update to doxygen comments
 * Update comment text to note axes with unbounded/undefined ranges/units
 * Typedef 'Evas_Axis_Label', 'Evas_Axis'
 * Move typedef for 'Evas_Event_Axis_Update'
 * Reference typedef'd instead of raw types

//Wire the Ecore and Evas implementations of axis update events together//
 * Expose ecore_event_evas_axis_update in Ecore_Input_Evas.h
 * Move ecore_event_evas_axis_update to more logical position

//DEBUG: Add axis update logging to evas-multi-touch.c//
 * Removed from patch set

//Make evas-multi-touch demo use new axis functionality//
 * Have pressure adjust rectangle brightness instead of size
 * Use more available axis data when rendering rectangle (azimuth, tilt, twist)

Test Plan: The evas-multi-touch demo was updated to support axis update events. A graphics tablet was then used to verify that the pressure, azimuth, tilt, and twist data was coming through correctly.

Reviewers: cedric, raster

Subscribers: cedric

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

Conflicts:
src/lib/ecore_input/Ecore_Input.h

Carsten Haitzler -

** fixed forward enum typedefs (make things unhappy)
** fixed conflict above
** fixed wrong param type for _evas_canvas_event_feed_axis_update()
** fixed @sinces to be 1.13
** fixed formatting/indeting
** fixed order of operation reliance in if's with ()'s to be clear
** fixed functions to be static that should have been

9 years agoedje_edit: updated doc.
ChunEon Park [Tue, 25 Nov 2014 01:00:31 +0000 (10:00 +0900)]
edje_edit: updated doc.

revised the ambigious description for clarify.

9 years agoEcore FIle: Added test case for ecore_file download
kabeer khan [Mon, 24 Nov 2014 14:35:48 +0000 (09:35 -0500)]
Ecore FIle: Added test case for ecore_file download

Summary:
Added test cases for ecore_file_download and ecore_file_download_full

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: devilhorns, stefan_schmidt

Subscribers: cedric

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

9 years agoEvas GL common: Cosmetic change
Jean-Philippe Andre [Mon, 24 Nov 2014 09:46:49 +0000 (18:46 +0900)]
Evas GL common: Cosmetic change

Don't cast "ext" a hundred times when you can do it once.

9 years agoEvas GL common: Scan extension string for ETC1 subimage
Jean-Philippe Andre [Mon, 24 Nov 2014 09:44:46 +0000 (18:44 +0900)]
Evas GL common: Scan extension string for ETC1 subimage

There is an official name for it:
GL_EXT_compressed_ETC1_RGB8_sub_texture

Thanks Mythri for pushing that specification.

9 years agoEvas GL common: Fix RGB+A textures draw
Jean-Philippe Andre [Mon, 24 Nov 2014 09:38:46 +0000 (18:38 +0900)]
Evas GL common: Fix RGB+A textures draw

Also rename texm into texa for consistency.
Even though texa might be a mask image, it's still used only
for it's a (alpha) channel.

9 years agoeldbus-codegen: More memory leak fixes for generated code.
Stefan Schmidt [Mon, 24 Nov 2014 09:04:03 +0000 (10:04 +0100)]
eldbus-codegen: More memory leak fixes for generated code.

Same fix as we did for simple method calls we need in complex method calls as
well. Unref message on error path.

@fix

9 years agoelocation/geoclue2: Update generated code after generator leak fixes.
Stefan Schmidt [Mon, 24 Nov 2014 09:03:01 +0000 (10:03 +0100)]
elocation/geoclue2: Update generated code after generator leak fixes.

This brings in some fixed memory leaks from the generator.

9 years agoeldbus-codegen: Free msg on error path for generated code.
Stefan Schmidt [Mon, 24 Nov 2014 08:54:06 +0000 (09:54 +0100)]
eldbus-codegen: Free msg on error path for generated code.

If eldbus_message_arguments_append we would never unref the message.
This will fix various Coverity issues in generatd eldbus code.

@fix

CID: 1255634, 1255636, 1255637, 1255639

9 years agoecore-evas - fix focus skip flag to be one way
Carsten Haitzler (Rasterman) [Sun, 23 Nov 2014 13:01:34 +0000 (22:01 +0900)]
ecore-evas - fix focus skip flag to be one way

this fixes focus skip being set if someone else sets skip
pager/taskbar. it's a one-way prop. if focus skip is set THEN skip
pager/taskbar is set. not the other way.

9 years agoecore-drm: fix error check of _device_flags_set function
Seunghun Lee [Fri, 21 Nov 2014 14:18:29 +0000 (09:18 -0500)]
ecore-drm: fix error check of _device_flags_set function

Summary: the function return -1 if it's failed so checking for ! is
incorrect. We should check if the return is less than zero.

@fix

Reviewers: gwanglim, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoecore_file : Changed documentation of ecore_file_mksubdirs
kabeer khan [Fri, 21 Nov 2014 14:16:56 +0000 (09:16 -0500)]
ecore_file : Changed documentation of ecore_file_mksubdirs

Summary:
Corrected documentation of ecore_file_mksubdirs by replacing dirs with subdirs

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoeolian: one func for filling in namespaces
Daniel Kolesa [Fri, 21 Nov 2014 14:12:40 +0000 (14:12 +0000)]
eolian: one func for filling in namespaces

9 years agoeolian: get rid of the PARSE_SECTION macro nonsense
Daniel Kolesa [Fri, 21 Nov 2014 13:59:42 +0000 (13:59 +0000)]
eolian: get rid of the PARSE_SECTION macro nonsense

9 years agoexamples/evas: Ignore evas_3d_ply example binary
Stefan Schmidt [Fri, 21 Nov 2014 10:48:59 +0000 (11:48 +0100)]
examples/evas: Ignore evas_3d_ply example binary

9 years agoelocation: Update generated code for geoclue2 after eldbus-codegen bugfix
Stefan Schmidt [Fri, 14 Nov 2014 12:35:42 +0000 (13:35 +0100)]
elocation: Update generated code for geoclue2 after eldbus-codegen bugfix

Property set works now.

9 years agoelocation: Add generated GeoClue2 DBus helper code.
Stefan Schmidt [Mon, 3 Nov 2014 15:16:16 +0000 (16:16 +0100)]
elocation: Add generated GeoClue2 DBus helper code.

Generated by eldbus-codegen to avoid writing the boilerplate code by hand.

9 years agoelocation: Add enums for GeoClue2 accuracy levels
Stefan Schmidt [Thu, 30 Oct 2014 15:52:47 +0000 (16:52 +0100)]
elocation: Add enums for GeoClue2 accuracy levels

Some stay the same between 1 and 2 and others have changed. Mark enums that
are only available on one version.

9 years agotests/eo: Do not test for an integer when you get a pointer.
Stefan Schmidt [Fri, 21 Nov 2014 09:20:36 +0000 (10:20 +0100)]
tests/eo: Do not test for an integer when you get a pointer.

It works but the compiler is right when complaining about it. fail_unless()
expects and integer but we passed in a pointer. Negate the pointer and use
fail_if() like we do in all other places.

9 years agoelua: update eolian bindings
Daniel Kolesa [Thu, 20 Nov 2014 17:16:04 +0000 (17:16 +0000)]
elua: update eolian bindings

9 years agoeolian: forgot to add prototype to header
Daniel Kolesa [Thu, 20 Nov 2014 17:13:12 +0000 (17:13 +0000)]
eolian: forgot to add prototype to header

9 years agoeolian: add support for @optional ctor tag
Daniel Kolesa [Thu, 20 Nov 2014 15:21:44 +0000 (15:21 +0000)]
eolian: add support for @optional ctor tag

This implements task T1804.
@feature

9 years agoallow for loading of eo.lua files from module path
Daniel Kolesa [Wed, 19 Nov 2014 14:05:18 +0000 (14:05 +0000)]
allow for loading of eo.lua files from module path

9 years agoelua: put all scripts required for lua file generation into deps
Daniel Kolesa [Wed, 19 Nov 2014 13:46:26 +0000 (13:46 +0000)]
elua: put all scripts required for lua file generation into deps

This is a bit ugly but at least we can make sure a full
re-generation is triggered when stuff changes.

9 years agoelua: do not emit spaces where not required
Daniel Kolesa [Wed, 19 Nov 2014 12:57:10 +0000 (12:57 +0000)]
elua: do not emit spaces where not required

9 years agoelua: simplify lualian typeconv
Daniel Kolesa [Wed, 19 Nov 2014 11:40:49 +0000 (11:40 +0000)]
elua: simplify lualian typeconv

9 years agoEvas: Check load_error before loading again (GL)
Jean-Philippe Andre [Wed, 19 Nov 2014 10:45:04 +0000 (19:45 +0900)]
Evas: Check load_error before loading again (GL)

This is a new attempt at avoiding reload of an image
that failed to load during async preload.

See 42d2f8a12b4706b79e7cf16162d34f259bdc23d4 (reverted).

I still can't figure out why setting load_error does not
work as expected (E pager becomes blank).

9 years agoRevert "Evas: Set image load_error after load"
Jean-Philippe Andre [Wed, 19 Nov 2014 10:19:56 +0000 (19:19 +0900)]
Revert "Evas: Set image load_error after load"

Oops, I didn't test this enough.
This causes some problems with E's pager for instance.

This reverts commit 42d2f8a12b4706b79e7cf16162d34f259bdc23d4.

9 years agoEvas: Set image load_error after load
Jean-Philippe Andre [Wed, 19 Nov 2014 10:06:18 +0000 (19:06 +0900)]
Evas: Set image load_error after load

In case of async preload, this avoids loading an image twice
if it already failed loading.

Thanks Minkyoung Kim for spotting this.

9 years agoEvas: Cosmetic changes in evas_gl_image
Jean-Philippe Andre [Wed, 19 Nov 2014 09:54:36 +0000 (18:54 +0900)]
Evas: Cosmetic changes in evas_gl_image

9 years agoEvas: Remove irrelevant comment and disabled code
Jean-Philippe Andre [Wed, 19 Nov 2014 08:10:37 +0000 (17:10 +0900)]
Evas: Remove irrelevant comment and disabled code

9 years agoEvas GL: Change comment and DBG message
Jean-Philippe Andre [Wed, 19 Nov 2014 06:30:12 +0000 (15:30 +0900)]
Evas GL: Change comment and DBG message

9 years agoEvas GL: Wrap glGetString for VERSION
Jean-Philippe Andre [Wed, 19 Nov 2014 06:08:00 +0000 (15:08 +0900)]
Evas GL: Wrap glGetString for VERSION

- glGetString(GL_VERSION) should not return "OpenGL ES 3.0" because
  GLESv3 is not supported yet.

- GL_EXTENSIONS should return only the list of supported extensions
  --> disabled for now as the whitelist of safe extensions is way
      too small.

9 years agoEo: protect against recursive object destruction calls, fixes T1741
Jérémy Zurcher [Tue, 18 Nov 2014 15:24:39 +0000 (15:24 +0000)]
Eo: protect against recursive object destruction calls, fixes T1741

Summary:
    Eo: semantic obj->del replaced by obj->destructed
    Eo: protect against recursive object destruction calls
    Eo: add tests for bfada4b

Reviewers: JackDanielZ, tasn

Reviewed By: tasn

Subscribers: cedric

Maniphest Tasks: T1741

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

Fixes T1741

@fix

9 years agoefreetd_cache: Resolved TODO checking symbolic link to monitor real path
kabeer khan [Tue, 18 Nov 2014 11:24:06 +0000 (12:24 +0100)]
efreetd_cache: Resolved TODO checking symbolic link to monitor real path

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: englebass

Reviewed By: englebass

Subscribers: devilhorns, cedric

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

9 years agoEcore File : Added test suite for Ecore File module
kabeer khan [Tue, 18 Nov 2014 09:26:43 +0000 (10:26 +0100)]
Ecore File : Added test suite for Ecore File module

Summary:
Added 3 test cases. First to test initialise, shutdown Ecore_File module.
Second to test all file operation functions defined in the module.
Third to test ecore file monitor

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: devilhorns, stefan_schmidt

Subscribers: cedric

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

9 years agoEvas GL: Create TLS during make_current if there isn't any
Jean-Philippe Andre [Tue, 18 Nov 2014 09:37:59 +0000 (18:37 +0900)]
Evas GL: Create TLS during make_current if there isn't any

Apps would crash if they call make current without creating
a surface in the same thread. I don't see a good reason why
we should have this a limitation.

9 years agoEvas GL: Add some debug
Jean-Philippe Andre [Tue, 18 Nov 2014 08:37:25 +0000 (17:37 +0900)]
Evas GL: Add some debug

It will be triggered when EVAS_GL_API_DEBUG is set.
Yeah, that's abusing the variable a bit, as it was intended for
GL calls only, but this is pretty harmless.

Also add string  "GL_DEPTH_STENCIL".

9 years agoedje: Set the default image in image set.
Jaehwan Kim [Tue, 18 Nov 2014 08:13:38 +0000 (17:13 +0900)]
edje: Set the default image in image set.

If there's no suitable image in image set, set the first image among
the set.

9 years agoevas/3d: Fix dereferencing a pointer that might be null found by coverity
Bogdan Devichev [Mon, 17 Nov 2014 16:14:23 +0000 (17:14 +0100)]
evas/3d: Fix dereferencing a pointer that might be null found by coverity

Summary:
@fix
CID: 1254626

Reviewers: cedric, artem.popov, Oleksander

Subscribers: cedric, stefan_schmidt

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

9 years agoexamples/elocation: Shutup some unused parameter warnings
Stefan Schmidt [Mon, 17 Nov 2014 15:51:55 +0000 (16:51 +0100)]
examples/elocation: Shutup some unused parameter warnings

9 years agomakefile_eolian_cxx: Fix indent and trailing whitespace
Stefan Schmidt [Mon, 17 Nov 2014 15:48:13 +0000 (16:48 +0100)]
makefile_eolian_cxx: Fix indent and trailing whitespace

Purely cosmetic as I stumbled over it when looking at the file.

9 years agoexamples/evas-3d-shooter: Rename varibales to avopid shadowing
Stefan Schmidt [Mon, 17 Nov 2014 15:47:15 +0000 (16:47 +0100)]
examples/evas-3d-shooter: Rename varibales to avopid shadowing

Scene is used as local variable in a lot places so we rename the global
scene here.

9 years agoeldbus-codegen: Make generated code for property set work by setting the cb
Stefan Schmidt [Fri, 14 Nov 2014 11:33:08 +0000 (12:33 +0100)]
eldbus-codegen: Make generated code for property set work by setting the cb

Whenever you tried using a propset function from code generated with
eldbus-codegen it would segfault as we never set the callback function but
passed in data instead.

@fix

9 years agoelocation: Check for one more retrun of eldbus_message_iter_arguments_get
Stefan Schmidt [Fri, 14 Nov 2014 09:51:56 +0000 (10:51 +0100)]
elocation: Check for one more retrun of eldbus_message_iter_arguments_get

In this case we want to continue with the loop.

CID: 1251472

9 years agoevas: Evas_3D - add .ply export/import.
Bogdan Devichev [Fri, 14 Nov 2014 06:11:09 +0000 (07:11 +0100)]
evas: Evas_3D - add .ply export/import.

Summary:
.ply format is important for relation blender and EFl, because in blender exist only two mesh export API: bpy.ops.import_mesh.ply and bpy.ops.import_mesh.stl. One of them is necessary for .edc 3D generator. Which I writing now.
Sorry, it isn't like image loader. Refactoring of import/export will be soon.

Reviewers: Oleksander, artem.popov, Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje, evas: add of new structures
perepelits.m [Fri, 14 Nov 2014 06:06:00 +0000 (07:06 +0100)]
edje, evas: add of new structures

Summary: Preparation for the 3d edc adding.

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: enhance doxygen in eina_counter.h
Tae-Hwan Kim [Fri, 14 Nov 2014 06:05:10 +0000 (07:05 +0100)]
eina: enhance doxygen in eina_counter.h

Summary:
Add @details for detailed description
Add @note for noted description
Add [in] & [out] for parameters
Fix indentation & Fix typeof

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: add formating for floating point numbers in EDC.
Kateryna Fesyna [Fri, 14 Nov 2014 06:01:52 +0000 (07:01 +0100)]
edje: add formating for floating point numbers in EDC.

Summary:
this commit contains calculation of format string for floating point numbers in order to print them with at least one symbol after point. (For example: 'relateve: 1.0 0.45;')
@fix

Reviewers: cedric, Hermet, raster, reutskiy.v.v

Reviewed By: reutskiy.v.v

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: fix wrong generation of 'minmul' and 'text.min' parameters in EDC.
Kateryna Fesyna [Fri, 14 Nov 2014 05:58:19 +0000 (06:58 +0100)]
edje: fix wrong generation of 'minmul' and 'text.min' parameters in EDC.

Summary:
minmul: add check of 'minmul.have' value and fix check on default vales of minmul (0.0 0.0 -> 1.0 1.0)
min: delete quotation marks from 'w' and 'h' values

@fix

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit - add generation of 'limits' parameter of group in EDC.
Kateryna Fesyna [Fri, 14 Nov 2014 05:53:09 +0000 (06:53 +0100)]
edje: Edje_Edit - add generation of 'limits' parameter of group in EDC.

Summary: the generation of limits of group is added with this commit.

@feature

Reviewers: Hermet, cedric, raster

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: fix calloc() parameters order in eina_share.
Jean Guyomarc'h [Fri, 14 Nov 2014 05:49:54 +0000 (06:49 +0100)]
eina: fix calloc() parameters order in eina_share.

Summary: The first parameter must be the count of elements to be allocated.

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_anim: fix source_set bug.
Jaehwan Kim [Fri, 14 Nov 2014 02:39:42 +0000 (11:39 +0900)]
ecore_anim: fix source_set bug.

The source and the function should be set after _end_tick is called.

@fix

9 years agoEvas GL: Fix bug in evgl_eng_pbuffer_surface_create (EGL)
Jean-Philippe Andre [Fri, 14 Nov 2014 02:22:59 +0000 (11:22 +0900)]
Evas GL: Fix bug in evgl_eng_pbuffer_surface_create (EGL)

Thanks Henry Song for the report.

@fix

9 years agoEvas GL: Import a few more extensions and fix a name
Jean-Philippe Andre [Fri, 14 Nov 2014 02:10:27 +0000 (11:10 +0900)]
Evas GL: Import a few more extensions and fix a name

9 years agoEvas GL: Add extension string for ETC2
Jean-Philippe Andre [Mon, 27 Oct 2014 11:59:00 +0000 (20:59 +0900)]
Evas GL: Add extension string for ETC2

9 years agoEvas GL: Scan extensions for OpenGL-ES 1.1
Jean-Philippe Andre [Mon, 27 Oct 2014 08:28:17 +0000 (17:28 +0900)]
Evas GL: Scan extensions for OpenGL-ES 1.1

9 years agoEvas GL: Enable some more GLES2 extension APIs
Jean-Philippe Andre [Mon, 27 Oct 2014 06:03:53 +0000 (15:03 +0900)]
Evas GL: Enable some more GLES2 extension APIs

NOTE: The draw_buffers extension might need to be checked more and
wrapped, if it can have adverse effects on how Evas works (could
it replace the default render target?).

This adds support for the following extensions:
- disjoint_timer_query
- occlusion_query_boolean
- alpha_test
- draw_buffers
- read_buffer
- read_buffer_front
- framebuffer_blit

9 years agoEvas GL: Add support for some required extensions
Jean-Philippe Andre [Fri, 24 Oct 2014 13:56:51 +0000 (22:56 +0900)]
Evas GL: Add support for some required extensions

- debug
- debug_label
- debug_marker

9 years agoEvas GL: Introduce concept of safe extensions
Jean-Philippe Andre [Fri, 24 Oct 2014 12:25:08 +0000 (21:25 +0900)]
Evas GL: Introduce concept of safe extensions

This will mark some extension functions as "safe", which means
we don't need to wrap them in order to expose them.

All the known extensions from Evas_GL_API have been marked as safe
for now.

In the future, we may encounter extensions that are not safe
out of the box, but can be wrapped. At that time, we will have
to mark them as safe but return the pointer to the wrapper instead.
Until then, only whitelisted extensions will be supported.

@feature

9 years agoEvas GL: Pass calls to getProcAddress down to the engines
Jean-Philippe Andre [Fri, 24 Oct 2014 11:48:08 +0000 (20:48 +0900)]
Evas GL: Pass calls to getProcAddress down to the engines

Later we need to add a whitelist of supported functions.

9 years agoEvas GL: Introduce macro _EVASGL_EXT_FUNCTION_DRVFUNC_PROCADDR
Jean-Philippe Andre [Fri, 24 Oct 2014 11:26:46 +0000 (20:26 +0900)]
Evas GL: Introduce macro _EVASGL_EXT_FUNCTION_DRVFUNC_PROCADDR

It will be used to link to extension functions that need no
wrapping.

9 years agoEvas GL: Scan for GL-ES 1.1 extensions
Jean-Philippe Andre [Fri, 24 Oct 2014 11:05:46 +0000 (20:05 +0900)]
Evas GL: Scan for GL-ES 1.1 extensions

9 years agoEvas GL: Add original extension names to the EVAS_GL_EXTENSIONS string
Jean-Philippe Andre [Fri, 24 Oct 2014 10:52:51 +0000 (19:52 +0900)]
Evas GL: Add original extension names to the EVAS_GL_EXTENSIONS string

The idea is that normal opengl applications might very well want to
check for an extension using the usual string and not have to do
something special just because they're using evas_gl and not egl.

9 years agoEvas GL: Fix list of shaders to distribute
Jean-Philippe Andre [Fri, 14 Nov 2014 00:41:15 +0000 (09:41 +0900)]
Evas GL: Fix list of shaders to distribute

Some shader files (shd) were not included in EXTRA_DIST. This didn't break
the build because the .x file was correctly generated.
I guess the missing files in previous releases also had no impact because
the .h files would be generated and shipped.

Also generate the enum automagically. New shaders need to be added
to Makefile_Evas.am.

9 years agoedje_cc: update usage text
Vyacheslav Reutskiy [Thu, 13 Nov 2014 17:10:59 +0000 (17:10 +0000)]
edje_cc: update usage text

Add clatification, that for "-l license" and "-a authors" need to
specify files.

9 years agoedje_cc: fix log message for authors write procedure.
Vyacheslav Reutskiy [Thu, 13 Nov 2014 17:03:03 +0000 (17:03 +0000)]
edje_cc: fix log message for authors write procedure.

@fix

9 years agoFix bug ecore_imf_context_cursor_position_set was not called when cursor was moved...
Jihoon Kim [Thu, 13 Nov 2014 06:36:46 +0000 (15:36 +0900)]
Fix bug ecore_imf_context_cursor_position_set was not called when cursor was moved by ECORE_IMF_CALLBACK_SELECTION_SET

@fix

9 years agoEvas: Don't pass whole RGBA_Image to low-level render functions
Jean-Philippe Andre [Thu, 13 Nov 2014 02:27:50 +0000 (11:27 +0900)]
Evas: Don't pass whole RGBA_Image to low-level render functions

Idea originated from Cedric the b0rker.

This is a big fat search-and-replace commit.
This commit also introduces space changes... Sorry for the mix.

NOTE: This commit may have one side effect as there was some very
      dubious code chaning the dst image's alpha flag in the
      Gfx get functions. Logically this didn't make sense (at
      draw time the dst alpha should already be well defined),
      so it should be safe.

9 years agoecore-wayland: Fix the issue of UnIconifying an xdg_surface
vivek [Wed, 12 Nov 2014 13:32:10 +0000 (08:32 -0500)]
ecore-wayland: Fix the issue of UnIconifying an xdg_surface

Summary:
Fixed the issue of UnIconifying an xdg_surface which is
needed for Enlightenment IBox scenario.

@fix

Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoecore_drm: Added internal function for drm output updates when device is hotplug
vivek [Wed, 12 Nov 2014 13:30:53 +0000 (08:30 -0500)]
ecore_drm: Added internal function for drm output updates when device is hotplug

Summary:
Added internal function _ecore_drm_update_outputs which will update the
outputs if the drm device is hotplug

@fix

Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoEvas: Use ENFN/ENDT in proxy subrender
Jean-Philippe Andre [Wed, 12 Nov 2014 10:25:21 +0000 (19:25 +0900)]
Evas: Use ENFN/ENDT in proxy subrender

Again, just a code readability change.

9 years agoEvas: Avoid creating an extra context for proxy rendering
Jean-Philippe Andre [Wed, 12 Nov 2014 10:18:09 +0000 (19:18 +0900)]
Evas: Avoid creating an extra context for proxy rendering

9 years agoelocation: Check return from eldbus_message_iter_arguments_get
Stefan Schmidt [Wed, 12 Nov 2014 09:18:58 +0000 (10:18 +0100)]
elocation: Check return from eldbus_message_iter_arguments_get

Coverity spotted my laziness here with the eldbus functions. Better check that
they actually succeeded.

CID: 1251470, 1251471, 1251472, 1251473

9 years agovieet: list the sections of an eet file if a section isn't passed.
Tom Hacohen [Thu, 23 Oct 2014 14:28:30 +0000 (15:28 +0100)]
vieet: list the sections of an eet file if a section isn't passed.

Thanks to Sachiel for suggesting this feature.

9 years agoelocation: Fix EAPI define for win32 builds
Stefan Schmidt [Wed, 12 Nov 2014 09:01:47 +0000 (10:01 +0100)]
elocation: Fix EAPI define for win32 builds

That clearyl shows that I never build this for win32 and I missed to change
from ecore to elocation when copying the definition. My bad. Thanks goes to
jenkins and jpeg.

9 years agoelocation: _EVENT_IN and _EVENT_OUT are internal events which means no EAPI
Stefan Schmidt [Wed, 12 Nov 2014 08:54:58 +0000 (09:54 +0100)]
elocation: _EVENT_IN and _EVENT_OUT are internal events which means no EAPI

9 years agoEvas: Improved code consistency
Jaeun Choi [Wed, 22 Oct 2014 10:59:50 +0000 (19:59 +0900)]
Evas: Improved code consistency

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoEvas: Fixed indentation
Jaeun Choi [Fri, 10 Oct 2014 01:33:13 +0000 (10:33 +0900)]
Evas: Fixed indentation

This is a purely cosmetic change.

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>