Chris Michael [Fri, 12 Feb 2016 13:27:35 +0000 (08:27 -0500)]
ecore-x: Add EINA_SAFETY checks for missing display
xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such
as these.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Fri, 12 Feb 2016 13:26:27 +0000 (08:26 -0500)]
ecore-x: Add EINA_SAFETY checks for missing display
xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such
as these.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Fri, 12 Feb 2016 13:25:20 +0000 (08:25 -0500)]
ecore-x: Add EINA_SAFETY checks for missing display
xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such
as these.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Tom Hacohen [Fri, 12 Feb 2016 12:12:00 +0000 (12:12 +0000)]
Evas textblock: Disable hyphenation tests when hyphenation is disabled.
Tom Hacohen [Fri, 12 Feb 2016 12:08:29 +0000 (12:08 +0000)]
Evas textblock: Properly ifdef hyphenation out.
I found this thanks to coverity. There was some code that we were running
although hyphenation was actually off.
CID 1341062.
Youngbok Shin [Fri, 12 Feb 2016 09:46:33 +0000 (09:46 +0000)]
Evas textblock: Fix _dict_hyphen_load could return an uninitialized pointer
Summary:
If there are hyph_*.dic files except for requested language,
"dict" pointer could be return without initialized. It doesn't make any
warning messages when it is compiled. Normally, it is NULL implicitly.
But, it is good to set NULL explicitly for understanding code.
Test Plan: N/A
Reviewers: herdsman, tasn, woohyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3674
Jihoon Kim [Fri, 12 Feb 2016 01:18:05 +0000 (10:18 +0900)]
ecore_imf/wayland: send cursor position before requesting to show
Jihoon Kim [Fri, 12 Feb 2016 00:36:41 +0000 (09:36 +0900)]
ecore_imf/wayland: Fix not to show IME in touching entry after hiding IME
Chris Michael [Thu, 11 Feb 2016 16:21:50 +0000 (11:21 -0500)]
ecore-x: Fix compiler warnings about return values
This is an "oopsie" fix from my previous commit wrt adding EINA_SAFETY
checks. I made an oopsie and didn't realize that these 2 functions
were expecting int returns.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 11 Feb 2016 15:09:51 +0000 (10:09 -0500)]
ecore-x: Add EINA_SAFETY checks for missing display
xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such
as these.
@ref
210b3e6c622341d4366c27c4d9bc1086012efd28
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Youngbok Shin [Thu, 11 Feb 2016 10:17:46 +0000 (10:17 +0000)]
Evas font: Use proper enum value for extrabold
Summary:
ULTRABOLD is identical to EXTRABOLD in freetype.
But, "extrabold" word is added for FC_WEIGHT_EXTRABOLD.
So, it has to be changed to use EXTRABOLD instead of
ULTRABOLD. It was mistake in my previous commit.
@fix
Test Plan: N/A
Reviewers: tasn, herdsman, woohyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3673
Vitor Sousa [Wed, 10 Feb 2016 22:01:52 +0000 (20:01 -0200)]
efl: fix installation and compilation of efl_types.eot.h
Summary:
Fix Efl.h include problem of the installed header "efl_types.eot.h".
Move efl_types.eot to src/lib/efl/interfaces to compile and install at
the same place of other Eolian-generated headers.
Test Plan: compile and test expedit
Reviewers: felipealmeida, stefan_schmidt, tasn, cedric, q66, JackDanielZ
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3670
Nicolas Aguirre [Fri, 27 Nov 2015 08:53:21 +0000 (09:53 +0100)]
eeze: add case for Graphics subsystems in eeze_udev_find_by_type
Add code to detect Graphics subsystem, i.e framebuffer devices
/dev/fbX in eeze. This will be used in Ecore-Fb to detect the
framebuffers present on the system.
@feature
Signed-off-by: Nicolas Aguirre <aguirre.nicolas@gmail.com>
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Florent Revest [Wed, 22 Jul 2015 16:50:38 +0000 (18:50 +0200)]
evas: include Eet.h where it's needed.
This patch is applied by OpenEmbedded project to let evas build
correctly in crosscompilation environnement.
cf: https://github.com/openembedded/meta-oe/blob/master/meta-efl/recipes-efl/efl/efl/0002-evas_3d-Add-Eet.h-includes.patch
@fix
Signed-off-by: Nicolas Aguirre <aguirre.nicolas@gmail.com>
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Daniel Kolesa [Wed, 10 Feb 2016 16:04:01 +0000 (16:04 +0000)]
eolian: allow silencing of type errors in validation
This allows generators to silence type errors in validation in order
to reduce duplicate error messages when generating multiple files.
Also adjusted the C generator to only emit type errors when generating
Eo header files.
@feature
Felipe Magno de Almeida [Tue, 9 Feb 2016 20:16:50 +0000 (18:16 -0200)]
efl: Have Efl.Time outside of a beta guard
Since this is a essential type, this must not be guarded by a beta
symbol guard.
Felipe Magno de Almeida [Tue, 9 Feb 2016 15:28:25 +0000 (13:28 -0200)]
efl: Renamed Ecore.Time to Efl.Time and defined it
Moved the Ecore.Time @extern struct to Efl lib and defined it as
specified in C specification for struct tm. Thus, bindings can be
automatically generated for where struct tm is used.
Vitor Sousa [Mon, 25 Jan 2016 23:11:43 +0000 (21:11 -0200)]
ecore: move Ecore_Pos_Map to ecore_types.eot
Move Ecore_Pos_Map from Ecore_Common.h to ecore_types.eot.
Give it the namespaced Eolian name "Ecore_Pos_Map" to follow the
standards.
Update documentation to refer to Ecore_Pos_Map instead of its previous
enum definition "_Ecore_Pos_Map".
Vitor Sousa [Mon, 25 Jan 2016 22:17:52 +0000 (20:17 -0200)]
ecore: create ecore_types.eot and add Ecore.Time to it
Create the file ecore_types.eot to hold common types related with Ecore.
Add Ecore.Time as an external type to ecore_types.eot.
This type is intended to be a alias to struct tm (from time.h).
That way .eo files have a standard way to reference it.
Each language should manually bind it.
Mike Blumenkrantz [Fri, 5 Feb 2016 19:34:29 +0000 (14:34 -0500)]
evas: check EINA_MEMPOOL env var when creating evas mempool allocators
this should really be a utility function already since all mempools in efl use
the exact same code...
Mike Blumenkrantz [Fri, 5 Feb 2016 19:24:34 +0000 (14:24 -0500)]
eina: add test covering tiler rect add/del/add of same geometry regions
ref
ec2ec3e9d13f64b5a4792717204deb59eb9d4caa
Mike Blumenkrantz [Fri, 5 Feb 2016 19:16:51 +0000 (14:16 -0500)]
eina: invalidate last add/del rects when the opposite operation occurs
applying this optimization to prevent the same rectangle from being added
or removed repeatedly in succession would result in the rejecting of successive
operations of the same type when the other operation occurred in between.
as an example:
add(0, 0, 100, 100)
del(0, 0, 100, 100)
add(0, 0, 100, 100)
should yield (0, 0, 100, 100), not zero rects and a failure to add the
second rect
this fixes a serious issue in enlightenment where stacking three windows
on top of each other with the first and third windows having the same geometry
would result in the top window receiving no input geometry (oops)
@fix
Chris Michael [Fri, 5 Feb 2016 13:41:35 +0000 (08:41 -0500)]
evas-wayland-shm: Fix compiler warning about incompatible pointer type
This patch fixes some compiler warnings about assignment from
incompatible pointer type when getting image data from evas_cache. The
simple fix is to cast the return value to RGBA_Image.
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Fri, 5 Feb 2016 13:35:04 +0000 (08:35 -0500)]
edje: Remove unused variables
This patch just removes some unused variables that the compiler was
warning about
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Tom Hacohen [Fri, 5 Feb 2016 11:48:36 +0000 (11:48 +0000)]
Ecore con local: properly clean up fd on error.
This wasn't done correctly in the previous commit. First of all, the
order of cleanup was wrong, the cleanup area should only be called if
failures occurred after the fd allocation, not before. Also, fd should
be reinitialised to -1 once we close the socket.
Awadhesh Singh [Fri, 5 Feb 2016 11:44:39 +0000 (11:44 +0000)]
Ecore con: Close server socket fd on failure.
Summary:
Socket fd must be closed to avoid file discripter leak.
Programs can usually only open a limited number of file descriptors,
so if this happens a lot, it may turn into a problem.
@fix
Reviewers: raster, Hermet, wonsik, spacegrapher, cedric, jpeg, tasn
Reviewed By: tasn
Subscribers: cedric, alok25, yashu21985, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D3660
Jee-Yong Um [Fri, 5 Feb 2016 07:30:31 +0000 (08:30 +0100)]
edje_cc: allow omitting "name" keyword in color_classes.color_class block
Summary:
This allows developer to omit "name" keyword in color_classes.color_class
block in EDC.
Reviewers: cedric, jpeg
Reviewed By: jpeg
Differential Revision: https://phab.enlightenment.org/D3598
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
perepelits.m [Fri, 5 Feb 2016 07:19:40 +0000 (08:19 +0100)]
edje: add new part types to edje_cache
Summary: Add new part types (Mesh_Node, Camera, Light) to edje_cache
Reviewers: cedric, raster, Hermet
Subscribers: jpeg, artem.popov
Differential Revision: https://phab.enlightenment.org/D3533
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Fri, 5 Feb 2016 07:09:53 +0000 (08:09 +0100)]
ecore_con: changing Ecore.Con.Server to Efl.Network.Server.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3549
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
se.osadchy [Fri, 5 Feb 2016 07:07:42 +0000 (08:07 +0100)]
eina: add eina_vector3 as static inline.
Summary: Move evas_vec3 to eina_vector3 and add documentation.
Reviewers: stefan_schmidt, jpeg, cedric
Reviewed By: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3569
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Fri, 5 Feb 2016 07:02:39 +0000 (08:02 +0100)]
edje_cc: fix detecting missing part for insert_before/after
Summary:
Detecting missing part for insert_before/after is broken.
This patch makes the feature work and clarifies error message,
and removes redundant internal function.
Reviewers: cedric, jpeg
Subscribers: raster, jpeg
Maniphest Tasks: T2513
Differential Revision: https://phab.enlightenment.org/D3576
Jee-Yong Um [Fri, 5 Feb 2016 06:55:46 +0000 (07:55 +0100)]
edje: introduce color_tree (color_class inheritance)
Summary:
The "color_tree" block contains a list of one or more "node" blocks.
A "node" block consists of its own color class name and the list of child
color classes. At runtime, parent color class will be referred instead,
if child color class is set to part but its color values are not defined.
Reviewers: raster, Jaehyun_Cho, jpeg, cedric
Reviewed By: cedric
Subscribers: cedric, kimcinoo
Differential Revision: https://phab.enlightenment.org/D3606
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jee-Yong Um [Fri, 5 Feb 2016 06:51:31 +0000 (07:51 +0100)]
edje: add test for omitting "name" keyword in color_classes.color_class block
Summary:
This test checks whether omitting "name" keyword in color_classes.color_class
block in EDC work normally.
Depends on D3598
Test Plan: make check
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3615
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Wonsik Jung [Fri, 5 Feb 2016 06:50:22 +0000 (07:50 +0100)]
evas: add native surface with TBM Surface for wayland_shm engine
Summary: @feature add evas object image's native surface with TBM surface for wayland_shm
Test Plan: Making tbm test sample and testing on Tizen Device/Emulator
Reviewers: raster, cedric, spacegrapher, jpeg
Reviewed By: spacegrapher
Subscribers: mer.kim, JoogabYun, scholb.kim, dkdk
Differential Revision: https://phab.enlightenment.org/D3618
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Fri, 5 Feb 2016 05:21:56 +0000 (06:21 +0100)]
eo: tests callback add and del return value.
Cedric BAIL [Fri, 5 Feb 2016 05:05:30 +0000 (06:05 +0100)]
ecore_evas: refactorize code and make sub ecore evas exploration recusrive.
Cedric BAIL [Fri, 5 Feb 2016 05:05:01 +0000 (06:05 +0100)]
ecore_evas: improve debugging for Ecore_Evas animator.
Cedric BAIL [Fri, 5 Feb 2016 05:02:29 +0000 (06:02 +0100)]
edje: add back use of Ecore_Animator when the Edje object is created on an non Ecore_Evas canvas.
This is necessary for backward compatibility still I am thinking of displaying a warning for this
use case and request people to update there work and drop that feature in the future (In a year
maybe from now). Elementary doesn't need this as it depends on Ecore_Evas.
Youngbok Shin [Thu, 4 Feb 2016 09:29:03 +0000 (11:29 +0200)]
Evas textblock: Save memory space reducing unused hyphen dictionary loads
Summary:
Commonly, only few hyphenation dictionaries are used at a application.
So, loading all of dictionary files could cause waste of memory.
Evas textblock has to load hyphenation dictionaries only when it is
really needed.
Test Plan: N/A
Reviewers: woohyun, tasn, herdsman
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3626
Chris Michael [Thu, 4 Feb 2016 14:44:45 +0000 (09:44 -0500)]
This should not have been pushed. Revert
Revert "ecore-drm: Add API functions for rotation support"
This reverts commit
b8ceaf0d403ce640ed6a485a59a3bd5a7b06a260.
Chris Michael [Thu, 4 Feb 2016 14:44:17 +0000 (09:44 -0500)]
This should not have been pushed. Unsure what happened here, but
revert this
Revert "ecore-drm: Add opaque type for Plane support"
This reverts commit
94082f54e8ce7d47402ea5d8d57e3871f8fa98a4.
Chris Michael [Wed, 20 Jan 2016 15:48:38 +0000 (10:48 -0500)]
ecore-drm: Add API functions for rotation support
This adds 2 new API functions for getting supported rotations of an
output, and for setting rotation on an output
@feature
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Wed, 20 Jan 2016 15:46:40 +0000 (10:46 -0500)]
ecore-drm: Add opaque type for Plane support
This adds an opaque structure to represent a hardware plane for use in
rotation, setting cursor/overlay/primary plane content, etc
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
ecore-drm: Add API functions for rotation support
This adds 2 new API functions for getting supported rotations from an
output, and for setting rotation on an output.
@feature
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 4 Feb 2016 14:14:31 +0000 (09:14 -0500)]
ecore-drm: Add internal function to create planes for an output
This patch adds an internal function that we use during output
creation in order to create the planes necessary and get the supported
rotation values for an output
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 4 Feb 2016 14:00:54 +0000 (09:00 -0500)]
ecore-drm: Add API function to set rotation on an output
This patch adds an API function to allow the Screen Setup dialog in
Enlightenment to support setting rotations on an output when running
under drm
@feature
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 4 Feb 2016 13:56:32 +0000 (08:56 -0500)]
ecore-drm: Add API function to get supported rotations from an output
This patch adds an API function so that we can get the supported
rotations from an output. This is needed so that the Screen Setup
dialog in Enlightenment can list the rotations supported for the user
to choose from while running using drm
@feature
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 4 Feb 2016 13:53:16 +0000 (08:53 -0500)]
ecore-drm: Add opaque structure for Ecore_Drm_Plane
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Youngbok Shin [Thu, 4 Feb 2016 10:07:08 +0000 (10:07 +0000)]
Evas: Use proper language for harfbuzz shaping
Summary:
Evas Text, Textblock, Textgrid keeps own language information.
This language information could be vary from the result of setlocale().
Especially, Evas Textblock supports <lang> tag. The language could be
changed in the middle of text. All of these language has to be used
for harfbuzz shaping.
@fix
Test Plan: N/A
Reviewers: herdsman, raster, woohyun, tasn
Reviewed By: tasn
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3628
Tom Hacohen [Wed, 3 Feb 2016 16:52:25 +0000 (16:52 +0000)]
Eo tests: Add tests for eo_init()/shutdown() cycles.
We needed to fix the issue and remove a workaround in the test suite
before we could add these tests. Now they are here and they test that
init/shutdown cycles work as expected.
Tom Hacohen [Wed, 3 Feb 2016 16:38:29 +0000 (16:38 +0000)]
Eo tests: remove hack to prevent eo_init()/shutdown() cycles.
We can now remove it thanks to the previous commit.
Tom Hacohen [Wed, 3 Feb 2016 16:14:07 +0000 (16:14 +0000)]
Eo: add support for initialising eo after it has been shut down.
Until now it wasn't allowed/possible to init (eo_init) eo after it has
been shut down (eo_shutdown). This commit fixes that, so now that is
fully legal to have as many init/shutdown cycles as you want.
There was a previous workaround for this issue:
e47edc250dc715a6b0f94be4b1cb81d32e9d97fe.
This should allow more flexibility when using the EFL in loadable
modules and in various other scenarios.
The problem is that the class_get() functions cache the previously
created class for efficiency, but the class is freed if eo is shut down,
so the cached pointer is actually invalid.
The solution to the problem was to maintain a generation count
(incremented every time we shut down eo), and compare that to a locally
saved version in class_get(). If they don't match, recreate the class,
as it has already been freed.
@feature
Tom Hacohen [Wed, 3 Feb 2016 15:39:25 +0000 (15:39 +0000)]
Revert "Eo: Prevent shutdown from actually doing anything"
This commit was a workaround to let us shutdown and then init eo without
any issues. It leaks and it's wrong. This will properly be fixed in the
next commit.
This reverts commit
e47edc250dc715a6b0f94be4b1cb81d32e9d97fe.
Haifeng Deng [Tue, 24 Nov 2015 09:30:14 +0000 (17:30 +0800)]
ecore_imf/wayland: Fix IME hide -> show issue in case of focus-out and then focus-in
Change-Id: I1d3d7023dbd10b78f510380ff3c46087228f9180
Jihoon Kim [Thu, 4 Feb 2016 04:57:43 +0000 (13:57 +0900)]
ecore_imf/wayland: do not check input panel enable in show or hide
Input panel enable is already being checked in ecore_imf API.
Jihoon Kim [Thu, 4 Feb 2016 03:00:45 +0000 (12:00 +0900)]
ecore_imf/wayland: support to set prediction allow mode
Jihoon Kim [Thu, 4 Feb 2016 02:58:03 +0000 (11:58 +0900)]
ecore_imf/wayland: notify language changed
Jihoon Kim [Thu, 4 Feb 2016 02:56:13 +0000 (11:56 +0900)]
ecore_imf/wayland: Add support to get input panel language locale
Jihoon Kim [Wed, 3 Feb 2016 23:44:14 +0000 (08:44 +0900)]
ecore_imf/ibus: fix indentation
Jean Guyomarc'h [Wed, 3 Feb 2016 23:23:34 +0000 (15:23 -0800)]
edje: fix edje_file_data_get() when no collections are present
Summary:
edje_file_data_get() failed if the Edje file did not contain
a collection (e.g. contained only data.item.
This allows to load data from the file even when no collections
are present, but only if specified.
@fix
Reviewers: raster, jpeg, stefan_schmidt, cedric
Reviewed By: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3632
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jee-Yong Um [Wed, 3 Feb 2016 23:21:14 +0000 (15:21 -0800)]
edje: add "keys" block to classes setter/getter
Summary:
With "keys" block, make color/text/size_class setter/getter
to @property methods.
Reviewers: jpeg, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3619
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Felipe Magno de Almeida [Wed, 3 Feb 2016 23:06:17 +0000 (21:06 -0200)]
eolian-js: Remove replacing commas by underscores in events.
This was done before when the identifier was used to generate
methods. Now using strings to denote events this is not needed
anymore.
Felipe Magno de Almeida [Sun, 17 Jan 2016 16:09:55 +0000 (14:09 -0200)]
eolian-js: Modified formating to replace verb position in method names
Formatting now checks if the last function is a known verb and changes
its position to the first word of the method if it is. Making the
method use the same coding standard as node.js.
Felipe Magno de Almeida [Sun, 17 Jan 2016 16:07:17 +0000 (14:07 -0200)]
eina-cxx: Fix instantiating eina domain without eina_init
Added eina_init to eina_domain initialization as to force eina_init to
happen before initialization of global eina domains. This fixes
eolian_js domain in src/bin/eolian_js.
Tom Hacohen [Wed, 3 Feb 2016 16:32:50 +0000 (16:32 +0000)]
Eo: fix eo_shutdown()'s return value to be FALSE on shutdown.
The return value of init/shutdown is true if eo is init, false otherwise.
This was broken until now.
@fix.
Jean-Philippe Andre [Wed, 3 Feb 2016 11:13:46 +0000 (20:13 +0900)]
Efl: Fixup ref in eo file that I forgot to commit
Jean-Philippe Andre [Wed, 3 Feb 2016 09:23:45 +0000 (18:23 +0900)]
Efl: Eo-ify remaining Efl.Gfx enums and structs
Youngbok Shin [Wed, 3 Feb 2016 09:34:32 +0000 (09:34 +0000)]
Evas textgrid: Use default language according to locale
Summary:
Use default language according to locale.
It's the same as the recent changes on Evas Text, Textblock.
@feature
Test Plan: N/A
Reviewers: herdsman, raster, tasn
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3642
Tom Hacohen [Wed, 3 Feb 2016 09:15:04 +0000 (09:15 +0000)]
Eo base: Make object del event @hot.
This event also needs to be hot, because it's lifecycle related.
We could leak and etc. if this event is not hot.
@fix.
Jean-Philippe Andre [Wed, 3 Feb 2016 05:53:54 +0000 (14:53 +0900)]
Ecore evas: Fix compilation warning (missing initializer)
Jean-Philippe Andre [Wed, 3 Feb 2016 05:48:45 +0000 (14:48 +0900)]
Evas engines: Add missing initializers in Ecore_Evas_Engine_Func
Chris Michael [Tue, 2 Feb 2016 20:01:58 +0000 (15:01 -0500)]
efl: Update mailmap addresses
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Cedric BAIL [Tue, 2 Feb 2016 00:01:18 +0000 (16:01 -0800)]
edje: remove unecessary forced call to recalc all edje file.
This seems to be a fair improvement as it speeds up by 4% the shutdown
of application (and an overall benchmark used to track where genlist
spend its time).
Cedric BAIL [Mon, 1 Feb 2016 23:46:50 +0000 (15:46 -0800)]
evas: don't emit EVAS_CALLBACK_MOVE event if nobody is listening.
This give a constant improvement of 2% over a total benchmark run while scrolling
genlist. This benchmark included setup and destruction of the scene, so under
estimate the cost of the callback emit.
Cedric BAIL [Fri, 29 Jan 2016 20:42:36 +0000 (21:42 +0100)]
evas: no need to call legacy function internally when we can just dereference some pointers.
Cedric BAIL [Thu, 28 Jan 2016 22:59:07 +0000 (14:59 -0800)]
ecore_evas: add log when registering, unregistering and emitting animator.
Cedric BAIL [Thu, 28 Jan 2016 00:00:42 +0000 (16:00 -0800)]
ecore_evas: switch main animator to use the first windows source for tick.
Cedric BAIL [Wed, 27 Jan 2016 19:42:48 +0000 (11:42 -0800)]
eo: return a value when adding or removing callback to help the caller manage state.
Cedric BAIL [Tue, 26 Jan 2016 00:29:36 +0000 (16:29 -0800)]
edje: switch to use per window animator.
Cedric BAIL [Mon, 25 Jan 2016 23:44:54 +0000 (15:44 -0800)]
ecore_evas: optimize triggering of animator to happen only when someone is listening.
Cedric BAIL [Mon, 25 Jan 2016 23:18:28 +0000 (15:18 -0800)]
ecore_evas: introduce support for per window animator trigger.
This code is currently only using the older fallback code and not any
new event source, so all animator on all window are still triggered
whatever the case are.
Cedric BAIL [Fri, 29 Jan 2016 00:15:20 +0000 (16:15 -0800)]
evas: make evas object an animator provider.
Cedric BAIL [Fri, 29 Jan 2016 00:13:55 +0000 (16:13 -0800)]
evas: make evas a provider of animator.
Cedric BAIL [Fri, 29 Jan 2016 00:12:39 +0000 (16:12 -0800)]
efl: add Efl.Core.Animator interface.
Cedric BAIL [Tue, 2 Feb 2016 18:39:41 +0000 (10:39 -0800)]
eo: fix tests to actually account for callback,add and del signal to be @hot.
This example of code is a perfect demonstration of why we should have make
this events @hot from the beginning. As you can see, we ended up being unable
to detect reliably callback being registered and unregistered. Leading to an
negative accounting of callback being unregistered, making this signal unusable
in any scenario.
Cedric BAIL [Tue, 2 Feb 2016 18:28:28 +0000 (10:28 -0800)]
eo: mark both callback,add and callback,del as @hot.
This events needs to be hot to remain unfreezable or it is impossible
for anyone to track all callback setting/unsetting safely.
Cedric BAIL [Fri, 22 Jan 2016 23:07:51 +0000 (15:07 -0800)]
evas: move canvas event to be declared inside proper eolian file.
Cedric BAIL [Thu, 14 Jan 2016 22:52:37 +0000 (14:52 -0800)]
ecore: remove useless ecore_lock/unlock.
Daniel Kolesa [Tue, 2 Feb 2016 17:55:01 +0000 (17:55 +0000)]
eolian: add parsing and generation of hot events
Unfreezable events can now be marked @hot.
@feature
Carsten Haitzler (Rasterman) [Tue, 2 Feb 2016 14:12:25 +0000 (23:12 +0900)]
Revert "Revert "Revert "revise edje_object_size_min_restricted_calc() logic."""
This reverts commit
ade138a3d13f7cd1606d0c80cf40fa71cd1d983a.
Revert this commit because this basically causes e to hang solid if
you mousover ibar (and the window list popup slides in then i think
that tyriggers it). this is pretty bad.
Hermet Park [Tue, 2 Feb 2016 12:14:43 +0000 (21:14 +0900)]
evas/canvas: fix an incorrect sizing of smart object bounding box.
height of the children b-box should be arranged by parent y-pos.
Signed-Off-By: KeuckDo Bang <keuckdo.bang@samsung.com>
Signed-Off-By: MinKyu Kim <imetjade.kim@samsung.com>
@fix
Hermet Park [Tue, 2 Feb 2016 10:25:28 +0000 (19:25 +0900)]
Revert "Revert "increase recalculation_cycle.""
This reverts commit
9efdf309ce421affc0fdf87960df1d4c426217bd.
Hermet Park [Tue, 2 Feb 2016 10:24:50 +0000 (19:24 +0900)]
Revert "Revert "revise edje_object_size_min_restricted_calc() logic.""
This reverts commit
b62d656dbe2a4b4a6b0170526db33ad839cd4aa4.
push it again since 1.17 was released.
Youngbok Shin [Wed, 27 Jan 2016 13:14:52 +0000 (13:14 +0000)]
Evas textblock: Use a common thickness and position at a underline.
Summary:
If a underline is drawn with seperated thickness and position, it doesn't look good.
It will take the thickest and the lowest underline.
@feature
Test Plan:
Set the following markup text in Evas Textblock.
<underline=on underline_color=#fff><font_size=20>Markup text <font_size=50>with</font_size> underline tag</font_size></underline>
It shows the underline is split to 3 underlines with different thickness and positions.
Commonly, underline has to be drawn with same thickness ans position per each line.
Reviewers: woohyun, herdsman, tasn
Reviewed By: tasn
Subscribers: jpeg, raster, subodh6129, cedric
Differential Revision: https://phab.enlightenment.org/D2971
Youngbok Shin [Tue, 26 Jan 2016 10:48:42 +0000 (10:48 +0000)]
Evas Text/Textblock: Use locale for lang as default.
Summary:
The configuration files for Fontconfig can describe
how font list is made according to language information.
EFL also set the language for each Evas textblock styles
and used for loading font list.
But, this is inconvenient to use if we want to apply language
for loading font list according to system-wide locale information.
This patch will apply locale information for font list if there is
no specific language in description.
And it also add [lang=auto] for Evas Textblock.
auto - It loads locale for language.
none - It disables language.
@feature
Test Plan: N/A
Reviewers: woohyun, herdsman, tasn
Subscribers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D3344
Youngbok Shin [Tue, 12 Jan 2016 13:20:19 +0000 (13:20 +0000)]
edje: Reduce duplicated item obj creations and deletions.
Summary:
When text is changed, all of objects for item tag are deleted
and recreated. It is unnecessary work and can cause performance
issues. Actually, many of application developers wonder why
item provider callback functions are called every text changes.
@fix
Test Plan:
Run elementary_test -to "entry emoticon"
When you make a very little change on text,
36 emoticon objects are recreated.
Reviewers: woohyun, jaehwan, herdsman, tasn
Reviewed By: tasn
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3537
Stefan Schmidt [Tue, 2 Feb 2016 10:18:35 +0000 (11:18 +0100)]
configure: Switch to dev mode again. Merge window for 1.18 is now open.
Stefan Schmidt [Tue, 2 Feb 2016 09:25:12 +0000 (10:25 +0100)]
release: Update NEWS and bump version for 1.17.0 release
Hermet Park [Tue, 2 Feb 2016 09:11:35 +0000 (18:11 +0900)]
Revert "revise edje_object_size_min_restricted_calc() logic."
This reverts commit
32c12f60c99cbc363c1f65fcb9c7915398be087e.
rollback until release 1.17
Hermet Park [Tue, 2 Feb 2016 09:11:19 +0000 (18:11 +0900)]
Revert "increase recalculation_cycle."
This reverts commit
524fd2f6fc9afdd44fd371d99179d44a28bfd28a.
rollback until release 1.17
Hermet Park [Tue, 2 Feb 2016 09:09:01 +0000 (18:09 +0900)]
Revert "evas/canvas: simple optimization."
This reverts commit
ca124ce5cea162f130eeb80b6c95ee3fadd64761.
rollback until release 1.17