platform/upstream/efl.git
8 years agodocs: enhance button documentation for eo widget
Stefan Schmidt [Wed, 27 Apr 2016 15:34:31 +0000 (17:34 +0200)]
docs: enhance button documentation for eo widget

Class description and setter and getter cleanup and also filling up some
doc gaps.

8 years agodocs: enahnce elm bubble widget documentation
Stefan Schmidt [Wed, 27 Apr 2016 10:54:59 +0000 (12:54 +0200)]
docs: enahnce elm bubble widget documentation

8 years agodocs: enhance documentation for elm background EO class
Stefan Schmidt [Wed, 27 Apr 2016 10:18:43 +0000 (12:18 +0200)]
docs: enhance documentation for elm background EO class

Class description and cleanuing up getters and setters.

8 years agodocs: elm_access: add class description
Stefan Schmidt [Wed, 27 Apr 2016 09:12:50 +0000 (11:12 +0200)]
docs: elm_access: add class description

8 years agodocs: enhance docs for elm actionslider
Stefan Schmidt [Wed, 27 Apr 2016 09:12:00 +0000 (11:12 +0200)]
docs: enhance docs for elm actionslider

Class description and some cleanup for getter and setter.

8 years agoelm_image: add new method elm_image_icon_set to replace elm_icon_standard_set
Ji-Youn Park [Wed, 27 Apr 2016 13:35:23 +0000 (22:05 +0830)]
elm_image: add new method elm_image_icon_set to replace elm_icon_standard_set

we will remove elm_icon in the future.(only remain it in legacy)
for this, I added elm_image_icon_set API to the elm_image.
it is same as elm_icon_standard_set.

8 years agoedje_entry: fix crash issue in case of no selection text
Jihoon Kim [Wed, 27 Apr 2016 12:30:23 +0000 (21:30 +0900)]
edje_entry: fix crash issue in case of no selection text

@fix

8 years agoelementary: Update icon name docs
Andy Williams [Tue, 26 Apr 2016 23:37:58 +0000 (00:37 +0100)]
elementary: Update icon name docs

Trying to make it clear what's a FDO standard name
and which names that work should be avoided

8 years agoelementary: fix a few non-standard icon names
Andy Williams [Tue, 26 Apr 2016 23:01:08 +0000 (00:01 +0100)]
elementary: fix a few non-standard icon names

moving the widgets away from non-standard names.
Tidy the icon sets to clarify what's standard.

8 years agoelementary: fix genlist tree filters
Andrii Kroitor [Tue, 26 Apr 2016 21:34:14 +0000 (14:34 -0700)]
elementary: fix genlist tree filters

Summary:
In tree mode if parent item is hidden all its subitems should also be hidden.
@fix

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: jpeg, reutskiy.v.v

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoelementary interface/scrollable: remove duplicated function calls for bars
Youngbok Shin [Tue, 26 Apr 2016 21:20:36 +0000 (14:20 -0700)]
elementary interface/scrollable: remove duplicated function calls for bars

Summary:
 *_visibility_apply() functions are called from each *_visibility_adjust()
function. And it is also called from _elm_scroll_scroll_bar_size_adjust().
So, calling *_visibility_apply() functions after calling
_elm_scroll_scroll_bar_size_adjust() is unnecessary.
@fix

Test Plan: N/A

Reviewers: raster, jaehwan, eagleeye, woohyun, cedric

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoevas: perform hide on objects during del only during destruction
Mike Blumenkrantz [Tue, 26 Apr 2016 20:18:15 +0000 (16:18 -0400)]
evas: perform hide on objects during del only during destruction

this matches pre-eo behavior and prevents hide-on-delete from altering
delete mechanics

ref df2b31b63eaed894601ba8126d1f43f07edb6332

8 years agoEo tests: Mark unused variables as such.
Tom Hacohen [Tue, 26 Apr 2016 15:22:37 +0000 (16:22 +0100)]
Eo tests: Mark unused variables as such.

8 years agoEo: Make eo_del() an eo function.
Tom Hacohen [Tue, 26 Apr 2016 15:19:44 +0000 (16:19 +0100)]
Eo: Make eo_del() an eo function.

This was done following a feature request by @raster. There was no real
reason for it not to be an eo function and this gives us more
flexibility.

The reason why this done was to provide a way for classes to do special
things when an object deletion was requested, for example in the case of
Evas, hide the object.

8 years agoEdje edit: improve state code generation.
Mykyta Biliavskyi [Tue, 26 Apr 2016 15:08:23 +0000 (18:08 +0300)]
Edje edit: improve state code generation.

Split function _edje_generate_source_of_state into
separated smallest functions, that represent generation
of source code for different blocks.
List of added internal functions:
  - _edje_generate_source_state_map
  - _edje_generate_source_state_box
  - _edje_generate_source_state_table
  - _edje_generate_source_state_image
  - _edje_generate_source_state_proxy
  - _edje_generate_source_state_relative

Add support collapse blocks, in cases when
block contain only one attribute.
For example:
next EDC code
  description { state: "default";
    {
      rel1 {
         relative: 0.5 0;
      }
    }

now will be replaced by:
  description { state: "default";
    {
       rel1.relative: 0.5 0;
    }

8 years agoecore-drm: Add missing initializer for fb2 command
Chris Michael [Tue, 26 Apr 2016 15:00:40 +0000 (11:00 -0400)]
ecore-drm: Add missing initializer for fb2 command

drm_mode_fb_cmd2 has fields for a modifier to handle tiling,
compression, etc (per plane). Even tho we do not use these, we should
at least initialize them to zero else we end up with uninitialized
bytes in the cmd structure.

==11706== Syscall param ioctl(generic) points to uninitialised byte(s)
==11706==    at 0x57E05D9: ioctl (in /usr/lib/libc-2.20.so)
==11706==    by 0x4D30FA3: drmIoctl (in /usr/lib/libdrm.so.2.4.0)
==11706==    by 0x4CDF66B: _ecore_drm_fb_create2 (ecore_drm_fb.c:63)

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoevas: Fix improper extra library linkage for various engines
Chris Michael [Tue, 26 Apr 2016 14:02:35 +0000 (10:02 -0400)]
evas: Fix improper extra library linkage for various engines

The eglfs, drm and gl_drm engines were all linking to eeze internal
libraries however none of those engines actually use eeze at all so we
can remove the linking there.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelm_genlist: fix the sorted insert after expanded tree item
Vyacheslav Reutskiy [Tue, 26 Apr 2016 12:12:14 +0000 (15:12 +0300)]
elm_genlist: fix the sorted insert after expanded tree item

Insert a new item after subitem of ELM_GENLIST_ITEM_TREE item, if
it expanded.

@fix

8 years agodocs: efl_vpath: fix smaller tpyos and document manager class methods
Stefan Schmidt [Tue, 26 Apr 2016 11:57:55 +0000 (13:57 +0200)]
docs: efl_vpath: fix smaller tpyos and document manager class methods

8 years agodocs: vpath: mark all vpath classes as introduced with upcoming 1.18
Stefan Schmidt [Tue, 26 Apr 2016 11:47:50 +0000 (13:47 +0200)]
docs: vpath: mark all vpath classes as introduced with upcoming 1.18

8 years agodocs: efl_network: class descriptions for connector and URL
Stefan Schmidt [Tue, 26 Apr 2016 11:12:04 +0000 (13:12 +0200)]
docs: efl_network: class descriptions for connector and URL

8 years agodocs: efl_network: enhance the EO classes for client and server
Stefan Schmidt [Tue, 26 Apr 2016 09:53:50 +0000 (11:53 +0200)]
docs: efl_network: enhance the EO classes for client and server

8 years agodocs: efl_network: enhance documentation in base class
Stefan Schmidt [Tue, 26 Apr 2016 09:08:18 +0000 (11:08 +0200)]
docs: efl_network: enhance documentation in base class

Fix some of the existing documentation and add some for events and the class.

8 years agodocs: evas: description for various surface classes
Stefan Schmidt [Tue, 26 Apr 2016 08:30:50 +0000 (10:30 +0200)]
docs: evas: description for various surface classes

Describing surfaces classes for Wayland, TBM and X11.

8 years agodocs: evas: description for polygon class
Stefan Schmidt [Tue, 26 Apr 2016 08:07:50 +0000 (10:07 +0200)]
docs: evas: description for polygon class

8 years agoelm_icon: move lookup_order and standard feature from eo to legacy
Ji-Youn Park [Tue, 26 Apr 2016 08:54:51 +0000 (17:24 +0830)]
elm_icon: move lookup_order and standard feature from eo to legacy

8 years agoEfl: Rename some packing functions and return bool
Jean-Philippe Andre [Tue, 26 Apr 2016 06:21:21 +0000 (15:21 +0900)]
Efl: Rename some packing functions and return bool

This renames some APIs from Efl.Pack in order to try and
make them more sensible. Feedback welcome.

Also, most APIs now return bool, where false is quite unlikely
to happen.

8 years agopo: elm_container.c is removewd from the tree thus also remove it from POTFILES
Stefan Schmidt [Tue, 26 Apr 2016 06:53:27 +0000 (08:53 +0200)]
po: elm_container.c is removewd from the tree thus also remove it from POTFILES

File was removed in 902950018be3682c0549174fc0c6d1c04141cd39.

8 years agoElm.Layout: Replace box & table part API by fake object
Jean-Philippe Andre [Mon, 25 Apr 2016 12:36:56 +0000 (21:36 +0900)]
Elm.Layout: Replace box & table part API by fake object

This moves the part_box and part_table APIs to a fake object
like was done in Edje Object.

This also adds support a few new APIs to those containers,
so they behave exactly like Edje.Object.

This is another implementation bit of "eo_part".

8 years agoEdje: Fix crash in E clock: invalid source string
Jean-Philippe Andre [Tue, 26 Apr 2016 03:27:50 +0000 (12:27 +0900)]
Edje: Fix crash in E clock: invalid source string

This fixes on top of 49a27688b1e0175071466b8a01a2, which
assumed somehow that table items had names, although that
might not be the case. In my situation, name = NULL and there
was a crash everytime I clicked on the clock widget.

8 years agoElm.Layout: Implement content_remove
Jean-Philippe Andre [Mon, 25 Apr 2016 10:53:51 +0000 (19:53 +0900)]
Elm.Layout: Implement content_remove

8 years agoElm.Win: Implement container & pack APIs
Jean-Philippe Andre [Mon, 25 Apr 2016 09:15:19 +0000 (18:15 +0900)]
Elm.Win: Implement container & pack APIs

This replaces resize_object APIs.

8 years agoEdje: Add test case for edje table
Jean-Philippe Andre [Mon, 25 Apr 2016 07:20:57 +0000 (16:20 +0900)]
Edje: Add test case for edje table

This tests the EO and Legacy APIs

8 years agoEdje: Return text defined in EDC in part_text_get
Jean-Philippe Andre [Mon, 25 Apr 2016 06:41:27 +0000 (15:41 +0900)]
Edje: Return text defined in EDC in part_text_get

This function was returning only the text defined by part_text_set.
This is a behaviour change, as part_text_get() no longer returns NULL
if there is a string defined in EDC. But this now means that the actual
value displayed on screen can be retrieved by a simple API call.

@feature

8 years agoEdje: Replace edje part_table with a fake eo proxy
Jean-Philippe Andre [Fri, 22 Apr 2016 08:31:55 +0000 (17:31 +0900)]
Edje: Replace edje part_table with a fake eo proxy

This is similar to the previous patch for Box,
but for Table.

Those new EO API as well as the legacy ones still need to
be tested (no test case in make check...)

@feature

8 years agoEdje: Replace edje_box_part with a fake eo proxy
Jean-Philippe Andre [Fri, 22 Apr 2016 05:58:49 +0000 (14:58 +0900)]
Edje: Replace edje_box_part with a fake eo proxy

This is basically an implementation of eo_part() but only
for Edje Box APIs. Legacy API is implemented on top of the
EO API.

8 years agoEfl.Pack: Add content_at_remove
Jean-Philippe Andre [Fri, 22 Apr 2016 02:17:03 +0000 (11:17 +0900)]
Efl.Pack: Add content_at_remove

This will match Edje Box remove_at

8 years agoEdje tests: Add test case for access_part_list
Jean-Philippe Andre [Thu, 21 Apr 2016 09:10:30 +0000 (18:10 +0900)]
Edje tests: Add test case for access_part_list

This tests eo and legacy apis

8 years agoEdje: Convert access_part_list to an iterator
Jean-Philippe Andre [Thu, 21 Apr 2016 06:39:31 +0000 (15:39 +0900)]
Edje: Convert access_part_list to an iterator

8 years agoEdje.Object: Add support for part_name_get
Jean-Philippe Andre [Thu, 21 Apr 2016 03:15:32 +0000 (12:15 +0900)]
Edje.Object: Add support for part_name_get

8 years agoEdje: Adapt to Efl.Container
Jean-Philippe Andre [Thu, 21 Apr 2016 03:04:13 +0000 (12:04 +0900)]
Edje: Adapt to Efl.Container

This basically renames swallow into content.

8 years agoElm.Layout: Protect some functions
Jean-Philippe Andre [Wed, 20 Apr 2016 12:07:38 +0000 (21:07 +0900)]
Elm.Layout: Protect some functions

8 years agoEfl: Introduce Efl.Container and unify APIs
Jean-Philippe Andre [Wed, 20 Apr 2016 05:55:26 +0000 (14:55 +0900)]
Efl: Introduce Efl.Container and unify APIs

This removes Efl.Pack_Named which had a terrible name,
removes Elm.Container which should have been renamed
Efl.Ui.Container anyway, and introduces an interface
Efl.Container instead.

The hierarchy tree is now changed as objects don't inherit
from Efl.Container (it's an interface, not a regular class)
but only implement it. Obviously it is very easy to
reintroduce an Efl.Ui.Container parent class if we need it,
but I guess it should have some actual logic. It's basically
part of what Elm.Widget already does.

Some function names have been modified to look better in C
with the efl_content prefix.

@feature

8 years agoelementary: Move icon lookup order to user specified theme.
Andy Williams [Mon, 25 Apr 2016 23:00:33 +0000 (00:00 +0100)]
elementary: Move icon lookup order to user specified theme.

As discussed on the mailing list we're taming the icon_standard code.
This means that icon themes are set by the user not the app.
Deprecate all the icon_lookup calls etc and remove the behaviour.
Add a config panel to elementary_config where the theme can be selected.

8 years agoelementary: Provide the user an icon config gui
Andy Williams [Mon, 25 Apr 2016 22:39:58 +0000 (23:39 +0100)]
elementary: Provide the user an icon config gui

This allows users to specify the theme (elm or fdo)
to use in elm apps.
I'll hook this into E as well...

8 years agoecore-wl2: preserve data selection source after receiving the selection
Mike Blumenkrantz [Mon, 25 Apr 2016 20:14:02 +0000 (16:14 -0400)]
ecore-wl2: preserve data selection source after receiving the selection

this is copied from weston, except all the code which is supposed to be of
struct type "offer" has been renamed "source" and then reused in the same way
that weston uses "offer" in order to maximize reader confusion

deleting the source here is invalid since the selection only changes in the
corresponding callback from the wayland interface

8 years agoeina: make eina rectangle an allocated thread safe structure to use.
Cedric BAIL [Mon, 25 Apr 2016 19:48:08 +0000 (12:48 -0700)]
eina: make eina rectangle an allocated thread safe structure to use.

This is a better fix than D3913.

8 years agoelementary: clean code and tests of order_lookup
Andy Williams [Mon, 25 Apr 2016 18:30:23 +0000 (19:30 +0100)]
elementary: clean code and tests of order_lookup

User configuration has replaced the code based setting of lookup

8 years agoelementary: Replace icon lookup_order with icon_theme.
Andy Williams [Mon, 25 Apr 2016 15:57:13 +0000 (16:57 +0100)]
elementary: Replace icon lookup_order with icon_theme.

The definition of where to load icons is now up to the user
(through the configuration of the icon_theme config value)
rather than being defined in code per-app or even per-component

8 years agoedje_cc: update reference about LazEDC syntax
Jee-Yong Um [Mon, 25 Apr 2016 15:55:18 +0000 (11:55 -0400)]
edje_cc: update reference about LazEDC syntax

Summary:
add programs block to the sample code of LazEDC,
and add comment about possibility to omit "default"
when part description inherits from "default".

Reviewers: Hermet, zmike

Subscribers: cedric, jpeg

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

8 years agoelementary: Add user setting for icon theme
Andy Williams [Mon, 25 Apr 2016 13:56:55 +0000 (14:56 +0100)]
elementary: Add user setting for icon theme

Beginning of the icon lookup rework.
The library will now store user preference for
the icon theme to use.

8 years agotests: eolian_cxx: fix distcheck after new name_name.eo file got added
Stefan Schmidt [Mon, 25 Apr 2016 13:16:18 +0000 (15:16 +0200)]
tests: eolian_cxx: fix distcheck after new name_name.eo file got added

We need to ship this file in axtra dst and also make sure we clean up the
generated files afterwards.

8 years agoefl: Add uuid as a dependency for Ecore_Wl2
Chris Michael [Mon, 25 Apr 2016 12:02:23 +0000 (08:02 -0400)]
efl: Add uuid as a dependency for Ecore_Wl2

Since session recovery is now included in Ecore_Wl2 library, we should
add a dependency on the uuid library. Thanks to aerodynamik for
reporting.

Fixes T3505

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoElementary toolbar: Fix flickering issue from resizing the box multiple times
Youngbok Shin [Mon, 25 Apr 2016 10:38:03 +0000 (19:38 +0900)]
Elementary toolbar: Fix flickering issue from resizing the box multiple times

Summary:
The toolbar's box was resized in _sizing_eval(), _resize_job().
In _sizing_eval(), the box was resized according to its minimum size.
And in _resize_job(), toolbar would recalculate it and resize the box again.
If _sizing_eval() was called after resizing the box properly from _resize_job(),
the box was shrank before calling the next job.
If the box's minimum size is needed for calculation in the job callback,
it shouldn't change box's size before the job callback.
@fix

Test Plan: N/A

Reviewers: jaehwan, eagleeye, woohyun, cedric

Subscribers: jpeg

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

8 years agoFix "cast from pointer to integer of different size" on Windows
Vincent Torri [Mon, 25 Apr 2016 04:49:43 +0000 (13:49 +0900)]
Fix "cast from pointer to integer of different size" on Windows

Summary: On Windows 64 bits, long is 32 bits lonG

Test Plan: compilatioN

Reviewers: cedric, jpeg, Hermet

Reviewed By: Hermet

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

8 years agoedje: fix the source string for table item
Vyacheslav Reutskiy [Mon, 25 Apr 2016 04:30:11 +0000 (07:30 +0300)]
edje: fix the source string for table item

If the table item has a name, posible case when item name length, with
index, will be 12. The 12 is predefined length for box index.

Quote Cedric
In a box, the index is one dimension, one int, thus the length
of it (from int to string) will always fit inside 12 bytes. That's
where this 12 comes from. That's also how the unique name of that item
is defined.

This commit separate the items name generation by part type, it will be
more correctly.

@fix

8 years agoGenlist: cache mechanism is broken again!
Dave Andreoli [Sun, 24 Apr 2016 09:46:45 +0000 (11:46 +0200)]
Genlist: cache mechanism is broken again!

added a new test to show the issue

8 years agoeo base - optimize memory by extending extension memory
Carsten Haitzler (Rasterman) [Sun, 24 Apr 2016 05:38:02 +0000 (14:38 +0900)]
eo base - optimize memory by extending extension memory

so geneirc data, wrefs, comments and id's are not that common so put
them all into their own memory segment that's allocated separately to
the core object so we only use this memory when needed. we already had
an extension section anyway so it's not new - just using it now for
more of the rarer bits of data. 2 more pointers gone from most objects
anyway and now extension code handling is a bit cleaner.

8 years agoeo - class table - move to mmaped memory if possible and alloc chunks
Carsten Haitzler (Rasterman) [Sun, 24 Apr 2016 03:00:37 +0000 (12:00 +0900)]
eo - class table - move to mmaped memory if possible and alloc chunks

so memory for class id -> ptrs is mallocs. this means it likely will
be next to other memory malloced. which means overrunning memory
someone mallocs could walk into the class table and corrupt it. we put
eo ids in mmaped regions to avoid this if possible in case of buggy
code. let's do it for classes too.

this also now allocs in larger chunks. for mmap its in page chunks
(which can hold either 1024 or 512 classes depending on 32 or 64bit).
reallocs still work if mmap is not there and we do them in chunks of
128 classes (it seems that we start at about 70 or so classes atm when
elm_test starts and it grows to ~100 or let's do 128 as that's pretty
much our base as a power of 2 and we now dont realloc much).

8 years agofix efreet/file monitor stringshare optimization
Carsten Haitzler (Rasterman) [Sat, 23 Apr 2016 14:45:28 +0000 (23:45 +0900)]
fix efreet/file monitor stringshare optimization

fixes e4d815dc48c660a336670ec3cc67e6becbdcacfc that i just put in a
few days back - it's a good idea to copy the string into your buffer
to use it.. not just 0 terminate it. :)

8 years agoevas - legacy evas_object_del - always hide obj regardless of refs
Carsten Haitzler (Rasterman) [Sat, 23 Apr 2016 14:06:13 +0000 (23:06 +0900)]
evas - legacy evas_object_del - always hide obj regardless of refs

if an object iot reffed or not hide on del. it should have been this
way before eo. eoifications i think messed a few things up.

this does bring up an issue... in eo we have no way to explicitly do
stuff on eo_del regardless of references at the time. this needs to be
solved.

@fix

8 years agoefreetd - reduce memory usage by using stringshare much more
Carsten Haitzler (Rasterman) [Fri, 22 Apr 2016 03:03:25 +0000 (12:03 +0900)]
efreetd - reduce memory usage by using stringshare much more

lots of long paths for monitoring file paths for icons etc. are in
memory for efreetd. this reduces that memory by sharing them much more.

@optimization

8 years agoedje_edit: fix mempools in group/alias add
Andrii Kroitor [Fri, 22 Apr 2016 23:12:26 +0000 (16:12 -0700)]
edje_edit: fix mempools in group/alias add

Summary: moved mempools adding to separate method to avoid this problem in future

Reviewers: cedric, reutskiy.v.v

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoedje: add note to the reference of .part_object_get()
Jee-Yong Um [Fri, 22 Apr 2016 22:17:01 +0000 (15:17 -0700)]
edje: add note to the reference of .part_object_get()

Summary:
For EDJE_RP_TYPE_SWALLOW objects (like GROUP, SWALLOW, EXTERNAL),
edje_object_part_object_get() will return NULL or transparent rectangle.
The note is added to have developers use edje_object_part_swallow_get()
in that case.

Reviewers: jpeg, Hermet, cedric

Reviewed By: cedric

Subscribers: Hermet

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoelementary: fix callback array declaration to build on Windows.
Cedric Bail [Fri, 22 Apr 2016 21:15:04 +0000 (14:15 -0700)]
elementary: fix callback array declaration to build on Windows.

8 years agotheme: don't use timed transition for comp focus out glow
Mike Blumenkrantz [Fri, 22 Apr 2016 19:24:21 +0000 (15:24 -0400)]
theme: don't use timed transition for comp focus out glow

8 years agotheme: explicitly hide focus glow for comp menu themes
Mike Blumenkrantz [Fri, 22 Apr 2016 19:14:54 +0000 (15:14 -0400)]
theme: explicitly hide focus glow for comp menu themes

this was getting clipped under x11 and was displaying itself (poorly) on wayland

8 years agoelementary: attempt to fix Windows build.
Cedric Bail [Fri, 22 Apr 2016 18:48:25 +0000 (11:48 -0700)]
elementary: attempt to fix Windows build.

8 years agoeina: implement a memory cache for Eina_Rbtree_Iterator.
Cedric Bail [Fri, 22 Apr 2016 17:58:25 +0000 (10:58 -0700)]
eina: implement a memory cache for Eina_Rbtree_Iterator.

So it seems we are using Eina_Hash_Iterator quite a lot more than before.
This lead to a huge amount of alloc/free of Eina_Rbtree_Iterator that
was noticable in Enlightenment callgrind trace. This patch make it vanish
from the trace :-)

8 years agoecore-wl2: isolate regular selection requests from dnd-specific code
Mike Blumenkrantz [Fri, 22 Apr 2016 15:28:52 +0000 (11:28 -0400)]
ecore-wl2: isolate regular selection requests from dnd-specific code

fix T3455

8 years agoecore-wl2: Fix formatting
Chris Michael [Fri, 22 Apr 2016 13:36:54 +0000 (09:36 -0400)]
ecore-wl2: Fix formatting

NB: No functional changes

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-wl2: Port session recovery protocol to work with Ecore_Wl2
Chris Michael [Fri, 22 Apr 2016 13:32:45 +0000 (09:32 -0400)]
ecore-wl2: Port session recovery protocol to work with Ecore_Wl2

This patch ports the existing session recovery protocol from
Ecore_Wayland so that it is used inside Ecore_Wl2.

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agodocs: ector: improve docs for the abstract renderer base class
Stefan Schmidt [Fri, 22 Apr 2016 10:52:42 +0000 (12:52 +0200)]
docs: ector: improve docs for the abstract renderer base class

Not everything is docuement here yet. Might need some help from people more
familiar with ector.

8 years agodocs: ector: document generic surface mixin
Stefan Schmidt [Fri, 22 Apr 2016 08:53:09 +0000 (10:53 +0200)]
docs: ector: document generic surface mixin

Leave out the params and returns marked with a FIXME.

8 years agodocs: ector: fill gaps in the generic buffer documentation
Stefan Schmidt [Fri, 22 Apr 2016 08:38:36 +0000 (10:38 +0200)]
docs: ector: fill gaps in the generic buffer documentation

Fill various gaps to make this mixin fully documented.

8 years agodocs: ector: document ector cairo surface classes
Stefan Schmidt [Thu, 21 Apr 2016 14:59:41 +0000 (16:59 +0200)]
docs: ector: document ector cairo surface classes

For both the cairo and the cairo software surfaces.

8 years agodocs: eldbus: document property values
Stefan Schmidt [Thu, 21 Apr 2016 13:59:09 +0000 (15:59 +0200)]
docs: eldbus: document property values

Add documentation comments and switch away from the generic "value" name.

8 years agodocs: efl_vpath: separate summary line from rest of description
Stefan Schmidt [Thu, 21 Apr 2016 13:28:17 +0000 (15:28 +0200)]
docs: efl_vpath: separate summary line from rest of description

We use the summary line in various places where such a big block of text looks
ugly. In general we handle it a bit like our commit messages. One line summary
which should stand alone with more details and explanantions following after a
empty line.

8 years agogenlist : arrange focus set in mouse up
SangHyeon Lee [Fri, 22 Apr 2016 07:08:22 +0000 (16:08 +0900)]
genlist : arrange focus set in mouse up

Summary :
when mouse up happens, item must be focused, and after that,
select must be called.
current logic, focus is already called inside the select function
and again focus set is called in the end of mouse_up,
so if user new focused widget inside the select callback,
mouse_up forcely take the focus into the item again.
select callback should comes after the focus callback calls
to work properly.

@fix

8 years agoecore: forgot to handle recursive destruction in a function that actually ask for...
Cedric Bail [Fri, 22 Apr 2016 05:13:02 +0000 (22:13 -0700)]
ecore: forgot to handle recursive destruction in a function that actually ask for destruction.

8 years agoelementary: build edje dependency needed for tests.
Cedric Bail [Fri, 22 Apr 2016 05:03:37 +0000 (22:03 -0700)]
elementary: build edje dependency needed for tests.

8 years agoefl loop: implement loop.get property to return self
Carsten Haitzler (Rasterman) [Fri, 22 Apr 2016 00:36:57 +0000 (09:36 +0900)]
efl loop: implement loop.get property to return self

this means that on loop_get on any obj as long as its a child of a
loop obj... it'll retunr that loop now. it will work. no more code
needed.

we can shortcut this with ui/gfx objects returning the mainloop
singletone.

8 years agoelementary: actually this is part of our make dist and shouldn't be build everytime.
Cedric BAIL [Thu, 21 Apr 2016 23:58:15 +0000 (16:58 -0700)]
elementary: actually this is part of our make dist and shouldn't be build everytime.

8 years agoelementary: use Efl.Loop event directly as an API test.
Cedric BAIL [Thu, 21 Apr 2016 23:26:25 +0000 (16:26 -0700)]
elementary: use Efl.Loop event directly as an API test.

8 years agoecore: rename Ecore_Mainloop to Efl.Loop.
Cedric BAIL [Thu, 21 Apr 2016 22:11:32 +0000 (15:11 -0700)]
ecore: rename Ecore_Mainloop to Efl.Loop.

8 years agoecore: ecore_main_loop_animator_ticked_get seems to be useful only for Ecore_Evas.
Cedric BAIL [Thu, 21 Apr 2016 21:54:02 +0000 (14:54 -0700)]
ecore: ecore_main_loop_animator_ticked_get seems to be useful only for Ecore_Evas.

8 years agoecore: ecore_main_loop_select_func_set is definitively an internal function.
Cedric BAIL [Thu, 21 Apr 2016 21:50:19 +0000 (14:50 -0700)]
ecore: ecore_main_loop_select_func_set is definitively an internal function.

8 years agoecore: move ecore idle exiter to relly on the factorized main loop event.
Cedric BAIL [Thu, 21 Apr 2016 21:44:23 +0000 (14:44 -0700)]
ecore: move ecore idle exiter to relly on the factorized main loop event.

8 years agoecore: remove useless define
Cedric BAIL [Thu, 21 Apr 2016 21:30:58 +0000 (14:30 -0700)]
ecore: remove useless define

8 years agoeolian-cxx: Remove .Base requirement
Felipe Magno de Almeida [Fri, 18 Mar 2016 20:48:47 +0000 (17:48 -0300)]
eolian-cxx: Remove .Base requirement

Remove requirement that class can't have the same name as another
class's namespace.

8 years agoecore: use new refactorized idle infrastructure to make idle enterer rely on mainloop...
Cedric BAIL [Thu, 21 Apr 2016 21:07:16 +0000 (14:07 -0700)]
ecore: use new refactorized idle infrastructure to make idle enterer rely on mainloop events

8 years agoecore: allow for possible factorization of all idler event.
Cedric BAIL [Thu, 21 Apr 2016 20:40:33 +0000 (13:40 -0700)]
ecore: allow for possible factorization of all idler event.

8 years agoecore: move Ecore_Idler to legacy and rely on Eo event restart capability.
Cedric BAIL [Thu, 21 Apr 2016 18:57:14 +0000 (11:57 -0700)]
ecore: move Ecore_Idler to legacy and rely on Eo event restart capability.

8 years agoecore: give the mainloop its own private data.
Cedric BAIL [Thu, 21 Apr 2016 18:56:15 +0000 (11:56 -0700)]
ecore: give the mainloop its own private data.

8 years agoecore: make the main loop singleton initialized and available early on.
Cedric BAIL [Thu, 21 Apr 2016 18:53:31 +0000 (11:53 -0700)]
ecore: make the main loop singleton initialized and available early on.

8 years agoeolian-cxx: Remove deprecated examples
Felipe Magno de Almeida [Thu, 21 Apr 2016 17:58:40 +0000 (14:58 -0300)]
eolian-cxx: Remove deprecated examples

Removed deprecated and non-compilable examples for C++ using
Evas. Users should look into C++ Elementary's examples instead.

8 years agoelm_cnp: accept appropriate text types in wl drop handlers
Mike Blumenkrantz [Thu, 21 Apr 2016 17:57:37 +0000 (13:57 -0400)]
elm_cnp: accept appropriate text types in wl drop handlers

this fixes text dnd

@fix

8 years agoelm_cnp: do not send null accepts for every type within wl data offers
Mike Blumenkrantz [Thu, 21 Apr 2016 17:56:41 +0000 (13:56 -0400)]
elm_cnp: do not send null accepts for every type within wl data offers

once is sufficient

8 years agoecore-wl2: more dnd v3 updates
Mike Blumenkrantz [Thu, 21 Apr 2016 17:55:45 +0000 (13:55 -0400)]
ecore-wl2: more dnd v3 updates

ref d34b5958051c87fe491e358b24e9f25238fda10f

 #gladthiswasabetaapi

8 years agoecore-wl2: use fd handler for receiving selection data
Mike Blumenkrantz [Wed, 20 Apr 2016 16:54:54 +0000 (12:54 -0400)]
ecore-wl2: use fd handler for receiving selection data

not sure what trac ticket was referenced here, but probably the issue was
not using ecore_main_fd_handler_file_add()