Commit Graph

47116 Commits

Author SHA1 Message Date
Andy Williams 339e572171 elementary: clean code and tests of order_lookup
User configuration has replaced the code based setting of lookup
2016-04-25 19:30:23 +01:00
Andy Williams 5bb29101a9 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
2016-04-25 16:57:13 +01:00
Jee-Yong Um fff984c96b 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
2016-04-25 11:55:18 -04:00
Andy Williams 4c0fc7559c 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.
2016-04-25 14:56:55 +01:00
Stefan Schmidt 29397ad8d7 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.
2016-04-25 15:16:18 +02:00
Chris Michael af30057999 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>
2016-04-25 08:02:23 -04:00
Youngbok Shin c0fa31d6f4 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
2016-04-25 19:38:03 +09:00
Vincent Torri b208ae9d9e 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
2016-04-25 13:49:43 +09:00
Vyacheslav Reutskiy 49a27688b1 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
2016-04-25 07:41:54 +03:00
Davide Andreoli e88423e994 Genlist: cache mechanism is broken again!
added a new test to show the issue
2016-04-24 11:48:48 +02:00
Carsten Haitzler 6a84ffbe5b 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.
2016-04-24 14:40:46 +09:00
Carsten Haitzler 09cdd364f9 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).
2016-04-24 12:07:42 +09:00
Carsten Haitzler bbcde33f93 fix efreet/file monitor stringshare optimization
fixes e4d815dc48 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. :)
2016-04-23 23:45:28 +09:00
Carsten Haitzler df2b31b63e 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
2016-04-23 23:07:48 +09:00
Carsten Haitzler e4d815dc48 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
2016-04-23 23:07:48 +09:00
Andrii Kroitor 0e9cf93c30 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>
2016-04-22 16:12:29 -07:00
Jee-Yong Um 076037bd55 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>
2016-04-22 15:17:05 -07:00
Cedric Bail 1aaeaf2b3b elementary: fix callback array declaration to build on Windows. 2016-04-22 14:15:36 -07:00
Mike Blumenkrantz 0ab0622a3a theme: don't use timed transition for comp focus out glow 2016-04-22 15:24:21 -04:00
Mike Blumenkrantz c832ca1732 theme: explicitly hide focus glow for comp menu themes
this was getting clipped under x11 and was displaying itself (poorly) on wayland
2016-04-22 15:15:33 -04:00
Cedric Bail 6cc1cbcba1 elementary: attempt to fix Windows build. 2016-04-22 11:48:25 -07:00
Cedric Bail b4456121be 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 :-)
2016-04-22 10:58:25 -07:00
Mike Blumenkrantz 7da4d8a4ae ecore-wl2: isolate regular selection requests from dnd-specific code
fix T3455
2016-04-22 11:32:08 -04:00
Chris Michael 262ac55287 ecore-wl2: Fix formatting
NB: No functional changes

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-22 09:36:54 -04:00
Chris Michael 98e8183b1b 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>
2016-04-22 09:32:45 -04:00
Stefan Schmidt 6e19e4f46d 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.
2016-04-22 12:52:42 +02:00
Stefan Schmidt c2823cfb18 docs: ector: document generic surface mixin
Leave out the params and returns marked with a FIXME.
2016-04-22 10:53:09 +02:00
Stefan Schmidt 6ece03e925 docs: ector: fill gaps in the generic buffer documentation
Fill various gaps to make this mixin fully documented.
2016-04-22 10:38:36 +02:00
Stefan Schmidt db0858823e docs: ector: document ector cairo surface classes
For both the cairo and the cairo software surfaces.
2016-04-22 09:46:40 +02:00
Stefan Schmidt 42d20b9507 docs: eldbus: document property values
Add documentation comments and switch away from the generic "value" name.
2016-04-22 09:46:40 +02:00
Stefan Schmidt b04bd88578 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.
2016-04-22 09:46:40 +02:00
SangHyeon Lee c5427e875d 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
2016-04-22 16:08:25 +09:00
Cedric Bail 3b68135baf ecore: forgot to handle recursive destruction in a function that actually ask for destruction. 2016-04-21 22:37:45 -07:00
Cedric Bail 712bdce37d elementary: build edje dependency needed for tests. 2016-04-21 22:03:37 -07:00
Carsten Haitzler 0d0ba19e51 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.
2016-04-22 09:38:58 +09:00
Cedric BAIL da26351697 elementary: actually this is part of our make dist and shouldn't be build everytime. 2016-04-21 16:58:15 -07:00
Cedric BAIL 539d79c0a3 elementary: use Efl.Loop event directly as an API test. 2016-04-21 16:26:25 -07:00
Cedric BAIL 454722cf6f ecore: rename Ecore_Mainloop to Efl.Loop. 2016-04-21 15:11:32 -07:00
Cedric BAIL 9efefb1f2e ecore: ecore_main_loop_animator_ticked_get seems to be useful only for Ecore_Evas. 2016-04-21 14:54:02 -07:00
Cedric BAIL 869a2243e7 ecore: ecore_main_loop_select_func_set is definitively an internal function. 2016-04-21 14:50:19 -07:00
Cedric BAIL 3108f023ba ecore: move ecore idle exiter to relly on the factorized main loop event. 2016-04-21 14:49:00 -07:00
Cedric BAIL e87e501230 ecore: remove useless define 2016-04-21 14:49:00 -07:00
Felipe Magno de Almeida 535a069a23 eolian-cxx: Remove .Base requirement
Remove requirement that class can't have the same name as another
class's namespace.
2016-04-21 18:31:53 -03:00
Cedric BAIL 5c87f2762f ecore: use new refactorized idle infrastructure to make idle enterer rely on mainloop events 2016-04-21 14:07:49 -07:00
Cedric BAIL 7c62154d52 ecore: allow for possible factorization of all idler event. 2016-04-21 14:07:49 -07:00
Cedric BAIL 3ff21c021d ecore: move Ecore_Idler to legacy and rely on Eo event restart capability. 2016-04-21 12:07:50 -07:00
Cedric BAIL 559d4e8b68 ecore: give the mainloop its own private data. 2016-04-21 12:07:50 -07:00
Cedric BAIL bc7174262f ecore: make the main loop singleton initialized and available early on. 2016-04-21 12:07:50 -07:00
Felipe Magno de Almeida bd5c1f7240 eolian-cxx: Remove deprecated examples
Removed deprecated and non-compilable examples for C++ using
Evas. Users should look into C++ Elementary's examples instead.
2016-04-21 15:25:24 -03:00
Mike Blumenkrantz 8325b78aed elm_cnp: accept appropriate text types in wl drop handlers
this fixes text dnd

@fix
2016-04-21 13:58:45 -04:00