Jean-Philippe Andre [Thu, 10 Dec 2015 06:12:23 +0000 (15:12 +0900)]
Evas filters: Minor debug improvement
Cedric BAIL [Mon, 4 Jan 2016 00:10:53 +0000 (01:10 +0100)]
evas: add a way to tests Ector_GL.
This is completely not supported/working/useful yet. Please do not
complain about it ruinning your life.
Cedric BAIL [Sun, 3 Jan 2016 21:04:23 +0000 (22:04 +0100)]
ector: fix typo during computation of bounds_get.
Jean-Philippe Andre [Thu, 17 Dec 2015 00:44:57 +0000 (16:44 -0800)]
ector: add Ector.GL.Buffer.* support.
Cedric BAIL [Thu, 12 Nov 2015 23:52:21 +0000 (15:52 -0800)]
ector: initial implementation of our own Ector GL backend.
Jean-Philippe Andre [Tue, 15 Dec 2015 10:58:43 +0000 (19:58 +0900)]
ector: add drawable flag to buffers
This indicates that a buffer can be used as a source to draw pixels.
Can't they all do that? Well, not exactly. A CPU buffer can't be drawn
by the GPU... not directly at least. That's what this flag is for.
Jean-Philippe Andre [Mon, 14 Dec 2015 06:52:02 +0000 (15:52 +0900)]
ector eo: fix indentation (tabs --> spaces)
Why? Why would an editor replace 8 spaces by a TAB?
WHYYYYYY?
Jean-Philippe Andre [Fri, 11 Dec 2015 09:49:16 +0000 (18:49 +0900)]
ector buffer: add COW access mode
In case you map a buffer once for read-only and once for write,
we can generate a temporary copy and return that instead. This
buffer will be copied back to the original surface once the COW
surface is unmapped.
Jean-Philippe Andre [Fri, 11 Dec 2015 06:23:55 +0000 (15:23 +0900)]
ector: on-the-fly convert sw buffers during map()
Also use map to generate spans.
This should simplify some filters code, making things work,
albeit inefficiently. At least they should work.
Fix doc too.
Jean-Philippe Andre [Thu, 10 Dec 2015 08:15:25 +0000 (17:15 +0900)]
ector: track maps in software buffer
Jean-Philippe Andre [Tue, 8 Dec 2015 08:29:54 +0000 (17:29 +0900)]
ector: add engine-specific evas image buffer wrapper
Since Evas still relies entirely on Image_Entry and Evas_GL_Image,
we will need an engine-specific wrapper object creating a Buffer
around an existing cached image.
Currently only SW support is implemented. GL will be more fun to
do (with glReadPixels and whatnot).
Jean-Philippe Andre [Tue, 8 Dec 2015 06:11:57 +0000 (15:11 +0900)]
ector: add typedef Ector_Buffer
Jean-Philippe Andre [Wed, 9 Dec 2015 10:00:54 +0000 (19:00 +0900)]
ector: remove offset from Ector.Buffer.{map,unmap}
It just makes things a bit more complicated and doesn't correspond
to a classic "map" operation anyways.
Also return void* instead of uint8_t*. This is more correct and
avoid extra casts.
Cedric BAIL [Wed, 16 Dec 2015 23:19:57 +0000 (15:19 -0800)]
evas: provide ector with a way to get GL symbol.
Cedric BAIL [Wed, 16 Dec 2015 23:18:23 +0000 (15:18 -0800)]
ector: add an abstraction to get GL function.
Jean-Philippe Andre [Mon, 4 Jan 2016 05:20:17 +0000 (14:20 +0900)]
Evas filters: Fix crazy code (only when DEBUG=1)
Jean-Philippe Andre [Mon, 4 Jan 2016 08:44:02 +0000 (17:44 +0900)]
Eo: Print object class name during Eo.Base ctor/dtor
Printing class_name(MY_CLASS) is useless information.
Printing the object's real class name is much more useful.
Jean-Philippe Andre [Mon, 4 Jan 2016 12:29:57 +0000 (21:29 +0900)]
Evas: Replace abort() by ERR
Amitesh Singh [Tue, 5 Jan 2016 01:26:57 +0000 (06:56 +0530)]
edje: custom state - if RTL flag is not set, return original description
@fix
Srivardhan Hebbar [Mon, 4 Jan 2016 23:20:48 +0000 (15:20 -0800)]
eina: update example for with eina_base64url_decode function.
Summary:
Depends on D3521
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3523
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Mon, 4 Jan 2016 23:20:04 +0000 (15:20 -0800)]
eina: add test case for eina_base64url_decode API.
Summary:
Depends on D3521
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3522
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Mon, 4 Jan 2016 23:19:34 +0000 (15:19 -0800)]
eina: update .h file to make decodeurl api visible.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: jpeg, cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D3521
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jee-Yong Um [Mon, 4 Jan 2016 23:15:31 +0000 (15:15 -0800)]
edje_cc: abort when insert_before/after part doesn't exist
Summary:
edje_cc does not check whether insert_before/after part exists.
edje_cc will notify a compilation error to developer when insert_before
or insert_after part does not exist.
T2513
Reviewers: Hermet, NikaWhite
Subscribers: cedric, jpeg
Maniphest Tasks: T2513
Differential Revision: https://phab.enlightenment.org/D3517
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Mon, 4 Jan 2016 23:13:06 +0000 (15:13 -0800)]
eina: return NULL iterator in all case, not only when safety check is turned on.
Jee-Yong Um [Mon, 4 Jan 2016 23:10:58 +0000 (15:10 -0800)]
edje: add edje_object_color_class_clear()
Summary: clear all color classes defined in edje object
Reviewers: raster, jpeg
Subscribers: woohyun, cedric, kimcinoo
Differential Revision: https://phab.enlightenment.org/D3514
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
se.osadchy [Mon, 4 Jan 2016 23:05:58 +0000 (15:05 -0800)]
evas: create Eina_Vector2 structure and add functions.
Summary: Only copy code from evas_3d_utils, rename evas to eina and add documentation.
Reviewers: Hermet, raster, jpeg, cedric
Reviewed By: jpeg, cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3509
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
perepelits.m [Mon, 4 Jan 2016 22:50:42 +0000 (14:50 -0800)]
evas: fix convex hull.
Summary:
There were some problems with second and third vertices in the first triangle of convex hull. It is very hard to see this errors because it could cause
an excess of triangles inside of convex hull, I have used blender to find them.
Reviewers: raster, Hermet, cedric
Reviewed By: cedric
Subscribers: jpeg, artem.popov
Differential Revision: https://phab.enlightenment.org/D3491
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
perepelits.m [Mon, 4 Jan 2016 22:03:12 +0000 (14:03 -0800)]
edje: implementation of Edje_3d
Summary:
I have a strange feeling that I always commit the same code to edje-3d, I hope it will finish very soon.
However here are some important new keywords, descriptors for them, methods for models,
structure for providing animation in edje programs and some more changes.
Reviewers: raster, Hermet, cedric
Reviewed By: cedric
Subscribers: jpeg, artem.popov
Projects: #efl
Differential Revision: https://phab.enlightenment.org/D3437
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Mon, 4 Jan 2016 20:35:37 +0000 (12:35 -0800)]
ecore_con: from ecore_con_connector to efl_network_connector.
Summary:
Changed ecore_con_connector.eo to efl_network_connector.eo as part of
migrating to efl_network.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3427
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Mon, 4 Jan 2016 20:32:15 +0000 (12:32 -0800)]
eina: update example with eina_strbuf_manage_read_only_new_length function.
Summary:
The example is to demonstrate the use of
eina_strbuf_manage_read_only_new_length API.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D3421
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
perepelits.m [Mon, 4 Jan 2016 20:31:20 +0000 (12:31 -0800)]
evas: fix ply example after adding of new savers and loaders.
Summary:
Before adding of new saver and loader for ply format we had a chance to set EVAS_CANVAS3D_SHADE_MODE_VERTEX_COLOR
for every mesh, now we save only existing atributes and there are a lot of meshes we have to set EVAS_CANVAS3D_SHADE_MODE_VERTEX_COLOR.
[FIX]
Reviewers: cedric, raster, Hermet
Subscribers: jpeg, artem.popov
Differential Revision: https://phab.enlightenment.org/D3412
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
se.osadchy [Mon, 4 Jan 2016 20:16:44 +0000 (12:16 -0800)]
evas: factorize of data structure with evas_color and ector.
Summary: Move data structure and functionality to ector_color from evas_color.
Reviewers: Hermet, raster, cedric
Reviewed By: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3393
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Chris Michael [Mon, 4 Jan 2016 16:05:57 +0000 (11:05 -0500)]
ecore-wl2: Remove extra blank line
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Tom Hacohen [Mon, 4 Jan 2016 15:09:16 +0000 (15:09 +0000)]
Evas textblock: Clean up ellipsis handling code.
This cleans up the previous commit a bit by isolating the calculation
code and using a temporary descriptively named variable for the calculation.
Youngbok Shin [Mon, 4 Jan 2016 15:00:56 +0000 (15:00 +0000)]
Evas Textblock: Fix ellipsis when textblock is resized to formatted h.
Summary:
it->h is sum of max ascent and max descent. It shouldn't be used
when handle ellipsis. Because, Evas Textblock uses these values for
each lines differently according to its location.
(start, end, else, single)
So, for handling ellipsis exactly, it has to be fixed.
Test Plan: A test case is included in Evas Test suite.
Reviewers: woohyun, tasn, herdsman
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3475
JengHyun Kang [Mon, 4 Jan 2016 13:47:43 +0000 (08:47 -0500)]
ecore-drm: Add a new API for keymap cache
Summary:
Originally, each keyboard devices could have their own keymap.
The one keyboard's keymap could different with others.
But for this, Ecore_Drm compile a new keymap when a keyboard is connected.
But this is a burden for some people who doesn't manage keymap for each keyboard.
They want to maintain only one keymap for system.
So, I added cached context/keymap and just ref/unref for each keyboard device.
People who want to different keymap for each keyboard just do not set cached
context/keymap. Then Ecore_Drm maintain keymaps about each keyboard devices.
Test Plan:
Connect a keyboard device and watch flow of ioctl.
Originally Ecore_Drm opened xkb data and compile keymap,
but after patch, that ioctl is disppeared.
@feature
Reviewers: raster, devilhorns, ManMower
Reviewed By: devilhorns, ManMower
Subscribers: cedric, input.hacker, ohduna, jpeg
Differential Revision: https://phab.enlightenment.org/D3503
Shinwoo Kim [Thu, 31 Dec 2015 04:49:56 +0000 (13:49 +0900)]
edje: enhance circular dependency error message of edje calculation
Summary: enhance error message of edje calculation
Test Plan: check edje having circular dependency
Reviewers: raster, cedric, jpeg
Subscribers: seoz
Differential Revision: https://phab.enlightenment.org/D3484
Srivardhan Hebbar [Thu, 31 Dec 2015 04:34:19 +0000 (13:34 +0900)]
eina: Updated example program to demonstrate base64url encode.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, jpeg
Reviewed By: jpeg
Differential Revision: https://phab.enlightenment.org/D3483
Shinwoo Kim [Thu, 31 Dec 2015 02:59:57 +0000 (11:59 +0900)]
edje example: change wrong comment, and remove warning message by adding ellipsis
Summary: Enhance edje color class example
Test Plan: build using the comment message
Reviewers: raster, cedric, jpeg
Reviewed By: jpeg
Subscribers: seoz
Differential Revision: https://phab.enlightenment.org/D3508
Jaehwan Kim [Thu, 31 Dec 2015 02:59:48 +0000 (11:59 +0900)]
edje_embryo: add printf feature.
Summary:
The edc debugging is difficult because users can not check
whether or not any program is executed or the state of part.
If users can print that property, they can do debugging more easily.
This "printf" feature is for debugging edc.
@feature
Test Plan:
add printf("test : %s %d %f", "text", 1, 0.5); in the script in the edc
build it by edje_cc
excute it and see the log
Reviewers: cedric, raster, jpeg
Reviewed By: jpeg
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3499
Mykyta Biliavskyi [Wed, 30 Dec 2015 07:03:30 +0000 (16:03 +0900)]
Edje_cc: support braces for description.proxy attribute.
Fix parsing Group.Parts.Part.Description.Proxy block in cases
when uses braces:
part { type: PROXY;
description {
..
proxy {
source_clip: 1;
source_visible: 1;
}
..
}
}
@fix
Jaehwan Kim [Wed, 30 Dec 2015 00:14:36 +0000 (09:14 +0900)]
embryo: add eina_log
Summary: add eina_log
Test Plan: use DBG, ERR ... in embryo code
Reviewers: raster, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3507
Chris Michael [Tue, 29 Dec 2015 14:12:50 +0000 (09:12 -0500)]
ecore-drm: Add missing variable 'dev'
Seems this should have been declared in the previously pushed patch,
but was missing.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
JengHyun Kang [Tue, 29 Dec 2015 14:03:43 +0000 (09:03 -0500)]
Add a new Ecore_Drm API for setting left-handed mouse
Summary:
Add a new Ecore_Drm API named ecore_drm_device_left_handed_set().
Libinput support various input options. Left handed mode is one of options.
Right-handed people and left-handed people use a mouse
using different button mapping.
So if a left handed option is enabled, libinput change right mouse button and
left mouse button.
So support this option, I added this api using libinput's left handed option.
@feature
Test Plan:
After set left handed mode, left mouse button generate button numbered 3,
and right mouse button generate button numbered 1.
Reviewers: raster, ManMower, devilhorns
Subscribers: ohduna, cedric, jpeg, input.hacker
Differential Revision: https://phab.enlightenment.org/D3431
Felipe Magno de Almeida [Tue, 29 Dec 2015 13:38:50 +0000 (11:38 -0200)]
eo-cxx: Removed pessimization use of std::move
Local variables, when returned, are already moved or copy-elised. The
use of std::move removes the possibility of copy-elision, making it
possibly slower. Removed the wrong std::move use.
Felipe Magno de Almeida [Tue, 29 Dec 2015 13:37:27 +0000 (11:37 -0200)]
eldbus-cxx: Fixed infinite recursion with post-increment operator
The pre-increment operator was being defined twice and being
implemented as a post-increment. Modified declaration to be
post-increment as it was supposed to be.
Felipe Magno de Almeida [Tue, 29 Dec 2015 13:36:11 +0000 (11:36 -0200)]
eina-cxx: Fixed wrong uses of using directive
Changed using directive for types to typedef's to bring their definitions from base type. Avoiding compilation errors with clang.
Vincent Torri [Mon, 28 Dec 2015 22:15:29 +0000 (23:15 +0100)]
Evil: fix compilation warning
getenv() requires stdlib.h
Vincent Torri [Mon, 28 Dec 2015 13:22:29 +0000 (14:22 +0100)]
Evil: integrate the dlfcn code into Evil
This will remove some incompatibilities with other packages,
especially for win-builds
Jean-Philippe Andre [Tue, 29 Dec 2015 13:01:16 +0000 (22:01 +0900)]
Evas: Implement ARGY88 and GRY8 conversion to ARGB8888
This is adding support for a deprecated function, but apparently
it is used.
Also, remove crazy abort() inside the data_put function.
Fixes T2991
Jean-Philippe Andre [Tue, 29 Dec 2015 11:29:36 +0000 (20:29 +0900)]
Eo: Prevent shutdown from actually doing anything
Currently, eo_shutdown can't work.
Every Eo_Class ID is stored inside its class_get() function as a
static variable. This means any call to class_get() after eo_shutdown()
(even if eo_init was done properly) will lead to using an invalid ref
for the class id. In other words, the class is not valid anymore,
and objects can't be created.
Resetting the pointer to NULL would be possible, if we passed it
during the class creation. But this would lead to potential crashes
if a class was created from a now dlclosed library.
The only solution I can envision here is to check that class_get
actually returns a valid ref with the right class name. Most likely
the performance impact is not acceptable.
This fixes make check for me (with systemd module for ecore).
Jean-Philippe Andre [Tue, 29 Dec 2015 10:42:05 +0000 (19:42 +0900)]
Eo: Add internal function call on pointer errors
Useful for GDB: break on this function when things go wrong.
Similar to eina_safety.
I guess we could set some Eina_Error and maybe even have error
callbacks for easier application debugging. Later.
Jean-Philippe Andre [Tue, 29 Dec 2015 08:06:53 +0000 (17:06 +0900)]
Ecore Eldbus: Work around circular dependencies
eldbus initializes ecore that may then init eldbus again,
since one of the systemd modules is for eldbus.
eldbus_shutdown() is then no longer functional, as there are
two refs on eldbus.
This patch solves this problem by removing the extra ref on
eldbus from the module if it was already initialized.
This patch now introduces really bad issues since there are now
EO classes that fail to work after module load-unload-reload.
Jean-Philippe Andre [Tue, 29 Dec 2015 06:56:24 +0000 (15:56 +0900)]
Eet: Fail gracefully on invalid input
Consider infinity and NaN as invalid input for
put_float and put_double, since the underlying convert
function can't process them.
This fixes potential errors with incomplete / invalid evas 3d models
Jean-Philippe Andre [Tue, 29 Dec 2015 06:45:35 +0000 (15:45 +0900)]
Eina: Fix potential crash in eina_convert_dtoa
Infinity and NaN should probably just not be converted.
An error would happen in make check while saving evas 3d models.
Jean-Philippe Andre [Tue, 29 Dec 2015 06:41:51 +0000 (15:41 +0900)]
Evas 3d: Fix some potential crashes
Those were happening before the previous patches.
Jean-Philippe Andre [Tue, 29 Dec 2015 06:02:52 +0000 (15:02 +0900)]
Evas 3d: Fix some issues in model test case
Fix some errors, check that file_set and file_save actually work
(rather than have them both fail and pass the test since 0 == 0),
fix temp paths and cleanup unused file.
Jean-Philippe Andre [Tue, 29 Dec 2015 05:51:28 +0000 (14:51 +0900)]
Evas 3d: Improve error messages in model load & save
See make check's evas_suite ouput
Jean-Philippe Andre [Tue, 29 Dec 2015 05:33:21 +0000 (14:33 +0900)]
Evas: Fix potential crash with extraneous eet_shutdown
Shutdown eet only if it was actually initialized.
This fixes make check (for me) after applying the previous patch.
It seems on my machine, the gl cache files are not saved properly
from within the make check environment.
perepelits.m [Tue, 29 Dec 2015 04:28:55 +0000 (13:28 +0900)]
[Evas] Refactor model's savers and loaders.
Summary:
Move common part to a separated document.
Make code more readable using smaller functions. (from Task T2713)
Everything is OK with make check.
Reviewers: cedric, raster, Hermet, stefan_schmidt
Reviewed By: stefan_schmidt
Subscribers: jpeg, artem.popov
Differential Revision: https://phab.enlightenment.org/D3430
Cedric BAIL [Mon, 28 Dec 2015 22:01:15 +0000 (14:01 -0800)]
ecore_con: fix typo preventing IPv6 multicast to work.
Thanks Vincent Torri for spotting it.
Chris Michael [Mon, 28 Dec 2015 15:09:36 +0000 (10:09 -0500)]
eo: Fix resource leak
Coverity CID1339783 says that we have a potential resource leak here.
'cb' gets allocated via calloc, but is not freed if we end up
returning here
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Sung-Jin Park [Mon, 28 Dec 2015 14:18:05 +0000 (09:18 -0500)]
ecore-drm: Add APIs to support key remap functionality
Summary:
This adds two new APIs to enable/set key remap functionality and
a number of keys to be remapped to the other keys. As of now there is no
api to do this therefore we need to remap using linux utility such as
'setkeycodes'. By adding/calling these apis, each Ecore_Drm_Evdev device
will have its specific key remap hash and we can apply each remapping keys
for each key/keyboard device.
Test Plan:
(1) Enable key remap and set remapping of a key on a specific keyboard device
(2) Plug in the keyboard device and check the key is being remapped or not
(3) Check the other keys are coming normally
(4) Check the the remapping key on a specific keyboard doesn't affect to any other devices
Signed-off-by: Sung-Jin Park <input.hacker@gmail.com>
Reviewers: raster, zmike, gwanglim, ManMower, devilhorns
Subscribers: JHyun, ohduna, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3463
Chris Michael [Mon, 28 Dec 2015 14:15:01 +0000 (09:15 -0500)]
ecore-wl2: Fix MIN() macro comparing int vs unsigned int
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Derek Foreman [Mon, 28 Dec 2015 14:09:04 +0000 (09:09 -0500)]
wayland: use wl_surface.damage_buffer if available
Summary:
wl_surface.damage_buffer() takes surface damage in buffer co-ordinates.
Right now since we don't use wayland's scaling, transforms, or viewports
it's exactly the same as wl_surface.damage(). In the future if we start
using those features it's much easier to do so with damage_buffer().
Reviewers: zmike, devilhorns
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3457
Jee-Yong Um [Thu, 24 Dec 2015 06:55:17 +0000 (15:55 +0900)]
edje: add text_classes syntax to EDC
Summary:
text_class can be defined in text_classes block.
T2900
@feature
Reviewers: jpeg, raster
Subscribers: raster, cedric, Jaehyun_Cho, CHAN, kimcinoo
Differential Revision: https://phab.enlightenment.org/D3435
Ji-Youn Park [Thu, 24 Dec 2015 04:41:45 +0000 (13:11 +0830)]
ecore_x: fix memory leak
fix memory leak in xcb event handler.
@fix
se.osadchy [Thu, 24 Dec 2015 04:15:37 +0000 (13:15 +0900)]
evas: Fix wrong display texture on object.
Summary:
Fix siquence in multiply of matrices. Need multiply position on scale,
otherwise we have wrong texture.
Reviewers: cedric, Hermet, raster
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3477
Felipe Magno de Almeida [Mon, 1 Sep 2014 18:08:49 +0000 (15:08 -0300)]
efl-js: JavaScript Eolian binding
To configure efl sources with bindings to use in nodejs add ––with-js=nodejs in configure flags to generate node files
$ configure --with-js=nodejs
and compile normally with:
$ make
$ make install
To use, you have to require efl:
efl = require('efl')
The bindings is divided in two parts: generated and manually
written. The generation uses the Eolian library for parsing Eo files
and generate C++ code that is compiled against V8 interpreter library
to create a efl.node file that can be required in a node.js instance.
@feature
Ji-Youn Park [Thu, 24 Dec 2015 01:27:34 +0000 (09:57 +0830)]
ecore_x: fix memory leak
check return value type of XGetWindowProperty.
@fix
Hermet Park [Thu, 24 Dec 2015 00:22:00 +0000 (09:22 +0900)]
rename an author.
Mike Blumenkrantz [Wed, 23 Dec 2015 18:38:05 +0000 (13:38 -0500)]
efreetd: send ipc for EFREET_EVENT_DESKTOP_CACHE_BUILD...always
since the conversion from dbus -> ecore-ipc, efreetd has failed to
notify when a cache build has completed, instead only sending the current
state of the desktop cache: not built
fix T2733
@fix
Jérémy Zurcher [Wed, 23 Dec 2015 16:38:02 +0000 (17:38 +0100)]
ecore_drm: fix out of source tree compilation
issue introduces by 10fa1b5
ecore_drm_private.h includes Eldbus.h
Eldbus.h includes Efl.h since 10fa1b5
Carsten Haitzler (Rasterman) [Wed, 23 Dec 2015 12:53:55 +0000 (21:53 +0900)]
edje - list mouse pressed signals as they are new in edcref
Vivek Ellur [Wed, 23 Dec 2015 10:12:06 +0000 (19:12 +0900)]
edje_embryo: Fix null dereference issue
Summary:
Fix Coverity issue ID 1299026
Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric, raster
Reviewed By: raster
Subscribers: raster, cedric
Differential Revision: https://phab.enlightenment.org/D3218
woochan lee [Wed, 23 Dec 2015 09:58:43 +0000 (18:58 +0900)]
edje_callbacks: Add mouse,pressed,in/out signal.
Summary:
The mouse,in/out signal has missing parts to use.
When user send down event on specific object, then move cursor to outside of object.
the mouse,in signal must be called in case. but it's not in traditional implement.
So i added this signal for support above use case.
In order to satisfy above use case, user can add both of the signals(mouse,in mouse,pressed,in).
(Adding new name of signals to do not break compatibility with before implements.)
@feature
Test Plan:
Add mouse,pressed,in/out program to object.
Press object which added signals before.
Move mouse cursor to out of object, then check the program works.
Reviewers: Hermet, cedric, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2992
Mike Blumenkrantz [Tue, 22 Dec 2015 21:10:36 +0000 (16:10 -0500)]
evas: handle existing pointer grabs when changing object pointer mode
in the case that pointer mode is changed on an object at any time after
a grab has been acquired by the object, grabs/flags must be adjusted for
this and other "pointer-in" objects in order to avoid permanently
breaking canvas events
@fix
Mike Blumenkrantz [Tue, 22 Dec 2015 21:06:30 +0000 (16:06 -0500)]
evas: unset pointer ungrabs when using EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN
I have no idea what this mode was intended to do since there are no docs
and the related code in evas events is undocumented, so I can only speculate.
what I can say for certain is that this mode does grab, in opposition to its name,
and that until this commit any object which sets this pointer mode will
permanently break mouse eventing on the canvas
ref evas SVN 67264
@fix
Subodh Kumar [Mon, 21 Dec 2015 14:27:43 +0000 (14:27 +0000)]
Edje entry: Fix cursor position on mouse up and down
Summary:
Fix cursor position on mouse up/down
When mouse down/up over top and bottom part textblock is not able to set the
char coordinate as it is not inside actual text, edje entry tries to manage it
but textblock has that handling. As a result the cursor jump to first char for
single line and at the last in the multiline last line.
So this patch fixes this and manage to keep the the mouse coordinate inside
the textblock.
In mobile device this is not really acceptable when user taps over the entry
at some position and cursor jumps to some arbitrary position.
@fix
Test Plan:
1. Elementary Test
2. Entry 3 (any entry)
3. Try to click little below or above the text in first entry
single line.Observe cursor jumps to first position
4. Do as above for multiline entry (try to click at the last line little below)
observe cursor jumps to last char.
Reviewers: thiepha, herdsman, tasn
Subscribers: jpeg, tasn, cedric
Differential Revision: https://phab.enlightenment.org/D3257
Tom Hacohen [Mon, 21 Dec 2015 11:15:24 +0000 (11:15 +0000)]
Ecore wl2: Limit scope of variable (fix shadow warning).
Tom Hacohen [Mon, 21 Dec 2015 11:10:35 +0000 (11:10 +0000)]
Static deps unibreak: Update to latest version.
This version supports Unicode 8.0 and includes fixes over the previous
version.
Reference version:
03ae8dd7d6ce6d19a38c1e62c70afc6ad82513bc
@feature
Carsten Haitzler (Rasterman) [Mon, 21 Dec 2015 05:40:41 +0000 (14:40 +0900)]
emotion - fix gst back-end to report title and other meta changes
gst1 back-end didnt report changes in title or other metadata to the
frontend and thusapps never knew it was changing. this fixes that.
@fix
Subodh Kumar [Fri, 18 Dec 2015 15:14:05 +0000 (15:14 +0000)]
Evas textblock: Fix some indentation and formatting.
Summary: Fix some indentation and formatting.
Reviewers: herdsman, cedric, tasn
Reviewed By: cedric
Subscribers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D3174
Stefan Schmidt [Fri, 18 Dec 2015 13:51:04 +0000 (14:51 +0100)]
ecore_wayland: rename session recovery to align namespace
Align out extension naming with other unstable wayland protocols.
The unstable protocols from the wayland-protocols repo are prefixed
with a zwp additionally we keep a e prefix for now as we are still
developing this here. No functional change, just rename.
Pointed out by Derek that the session-recovery interface name is a
bit to generic here.
Sung-Taek Hong [Fri, 18 Dec 2015 08:58:53 +0000 (17:58 +0900)]
ecore_idle_exiter: return NULL in eo_finalize() when Ecore_Task_Cb is not set
Summary: - ecore_idle_exiter_add should return NULL, when Ecore_Task_Cb is not set.
Reviewers: jpeg, woohyun, jaehwan, Jaehyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3425
Minkyoung Kim [Fri, 18 Dec 2015 07:49:17 +0000 (16:49 +0900)]
evas/gl : Do not re-preload image data if texture is successfully uploaded with image data.
Summary:
'cached' flag is not enough to check whethere data is loaded and texture is uploaded.
so check more options for prevent re-preload image data on gl-backend.
Test Plan: Local Test (elementary_test : elm images)
Reviewers: jpeg, eunue
Reviewed By: jpeg
Subscribers: cedric, jiin.moon, wonsik, spacegrapher
Differential Revision: https://phab.enlightenment.org/D3446
Vincent Torri [Fri, 18 Dec 2015 07:45:38 +0000 (16:45 +0900)]
Eina test: fix warning
Reviewers: jpeg
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3465
Vincent Torri [Fri, 18 Dec 2015 07:45:29 +0000 (16:45 +0900)]
Efreet: support language, country and modifer on Windows
Summary:
On Windows, the environment variables LANG, LC_ALL and LC_MESSAGES
do not exist, so retrieve langage and country modifier directly from the systeM
Test Plan: verify the value with some ptrinF
Reviewers: jpeg
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3464
Jean-Philippe Andre [Fri, 18 Dec 2015 07:43:47 +0000 (16:43 +0900)]
Evas examples: Fix examples data dir for out-of-tree builds
This is a quick fix to make out-of-tree builds of the examples
work fine. Don't pass "." as teh resource dir root, instead
pass the path to the source files' folder.
perepelits.m [Fri, 18 Dec 2015 04:50:17 +0000 (13:50 +0900)]
Evas 3d: Add example for convex hull
Summary: This example is a testing example for comparison convex
hulls built by our algorithm and in Blender.
Reviewers: raster, Hermet, cedric, jpeg, perepelits.m
Subscribers: jpeg, artem.popov
Differential Revision: https://phab.enlightenment.org/D3336
Mike Blumenkrantz [Thu, 17 Dec 2015 18:10:22 +0000 (13:10 -0500)]
ecore-wl2: do not flush wl_display during cleanup
this serves no functional purpose and deadlocks compositors
Tom Hacohen [Thu, 17 Dec 2015 12:51:37 +0000 (12:51 +0000)]
Revert "evas: fix some indentation and formatting in textblock."
This patch was *REJECTED*. I don't understand why it was snuck in among
a batch of 24 other unrelated patches. That made me miss it originally,
but found it now. This is wrong and shouldn't be in.
This reverts commit
3f0d0daf0d1a9b96cf112a0ee741b4549e9d2828.
Jaeyong Hwang [Thu, 17 Dec 2015 12:44:29 +0000 (12:44 +0000)]
Edje entry: Fix issue with width calculation and padding
Summary:
The size of the style pad isn't considered when the min value of the
textblock is calculated. In case of putting the lable that there is an
outline in the box, the letter is cut. So, I revised so that
evas_object_textblock_style_insets_get could be called after a
evas_object_textblock_size_formatted_get in
_edje_object_size_min_restricted_calc function. And then the style pad was
considered in the result value of the edje_object_size_min_calc.
@fix
Test Plan:
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *box, *label;
Evas_Object *win;
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
win = elm_win_util_standard_add("Font", "FONT");
elm_win_autodel_set(win, EINA_TRUE);
box = elm_box_add(win);
elm_box_padding_set(box, 10, 0);
elm_box_align_set(box, 1, 0.5);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_win_resize_object_add(win, box);
evas_object_show(box);
label = elm_label_add(box);
elm_object_text_set(label, "<font=default align=rignt color=#ffffff font_size=200 style=soft_outline outline_color=#
ff0000ff>label");
elm_box_pack_end(box, label);
evas_object_show(label);
evas_object_resize(win, 500, 300);
evas_object_show(win);
elm_run();
return 0;
}
ELM_MAIN();
Reviewers: herdsman, tasn
Reviewed By: tasn
Subscribers: id213sin, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3426
Subodh Kumar [Thu, 17 Dec 2015 11:54:35 +0000 (11:54 +0000)]
Evas textblock: Use width of item format to position cursor.
Summary:
Use width of item format to position cursor.
Sometimes it becomes very difficult to
position cursor over item and selection
becomes very difficult as we position the
cursor once the input X coord reached end of the item,
like one attached in the test plan. So this patch
decides over 50% of item width for X coord reaches
to position it at start or end.
@ix
Test Plan:
Attached setup shows how difficult to position cursor at the end when clicked
over item and selection is also very difficult. Consider such case in mobile
device, its becomes impossible to position cursor at the end and selection is
too much difficult.
{F27036}
Also added test cases in evas test suite
Reviewers: herdsman, tasn
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3390
Sung-Taek Hong [Thu, 17 Dec 2015 07:03:26 +0000 (16:03 +0900)]
evas_callback: Remove callbacks in reverse order with evas_event_callback_del
Summary:
- This function is deprecated, because del_full should be used instead.
- Still, the documentation specifies in which order the callbacks should
- be deleted.
Reviewers: Hermet, jpeg, jaehwan
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3459
Stefan Schmidt [Mon, 7 Dec 2015 23:08:20 +0000 (00:08 +0100)]
ecore_wayland: add listener for uuid and provide already existing one
Setup a listener to receive an uid from the compositor. If we already have
one during creation, aka we are re-connecting to recover a session, we provide
it to the compositor so it can look our attributes up based on it. Again hidden
behind and env var to avoid problems with other developments, for now.
ref T2922
Stefan Schmidt [Mon, 7 Dec 2015 23:06:38 +0000 (00:06 +0100)]
ecore_wayland: store uuid received from compositor
If we get an uuid assigned from the compositor we will store them locally to
provide it later on if needed.
ref T2922
Stefan Schmidt [Mon, 7 Dec 2015 22:39:10 +0000 (23:39 +0100)]
ecore_wayland: create session recovery listener only if env var is set
Same as for the global we make sure here we only add the listener if the,
for now, needed env var is set.
ref T2922
Stefan Schmidt [Mon, 7 Dec 2015 22:31:13 +0000 (23:31 +0100)]
ecore_wayland: only bind session recovery interface when env var is set
To avoid trouble for other wayland testing we hide the session recovery work
behind EFL_WAYLAND_SESSION_RECOVERY. Without this env var being set we do not
bind the global.
ref T2922
Stefan Schmidt [Mon, 7 Dec 2015 22:07:28 +0000 (23:07 +0100)]
ecore_wayland: remove disabled code for session recovery listener
The listener is handled inside ecore_wl_window. Remove the dead code from here.