Cedric Bail [Fri, 29 Apr 2016 21:22:01 +0000 (14:22 -0700)]
tiff: disable by default as it is full of CVE with apparently no chance to get them fixed.
This can still be manually turned on if you need it.
Larry Jr [Fri, 29 Apr 2016 22:39:37 +0000 (19:39 -0300)]
Eldbus: fixed property_set in Eldbus.Model_Proxy
Felipe Magno de Almeida [Fri, 29 Apr 2016 20:32:23 +0000 (17:32 -0300)]
eio: Fix unused variable warnings in test
Use of EINA_UNUSED in unused parameters
Felipe Magno de Almeida [Fri, 29 Apr 2016 20:14:54 +0000 (17:14 -0300)]
eolian: Fix promise generation with multiple parameters
When generating multiple parameters, they inadvertedly got
replaced by __eo_promise. Replacing all arguments to the
promise pointer.
Larry Jr [Wed, 20 Apr 2016 20:07:53 +0000 (17:07 -0300)]
Efl, Eio, Eldbus, Elementary: new model API use eina_promise
Efl - efl_model_base changed to use eina_promise
Eio - eio_model use efl_model_base with promise
Eldbus - elddbus models use promise now
Elementary - elm_view_list and elm_view_form use new models with promise
updated all related examples and tests
Tom Hacohen [Fri, 29 Apr 2016 12:43:36 +0000 (13:43 +0100)]
Eo keyed data: Refactor the code so it's mostly shared.
The code was redundant though essentially the same. This refactoring
removes a lot of this code and made everything shared.
Tom Hacohen [Fri, 29 Apr 2016 12:20:21 +0000 (13:20 +0100)]
Eo keyed data: Unify node cleanup code.
Tom Hacohen [Fri, 29 Apr 2016 12:13:00 +0000 (13:13 +0100)]
Eo keyed data: No need to register to see if a subobject was deleted.
This is completely unnecessary. We are holding a reference to the
object, it can't get deleted under our feet.
Tom Hacohen [Fri, 29 Apr 2016 12:08:07 +0000 (13:08 +0100)]
Eo keyed data: Clean up code and fix a bug with 'Value'.
This code is an absolute mess. This is the first step towards fixing that.
This cleanup let me find a bug that would have printed errors when using
Eina_Value so I fixed that too.
Jaehyun Cho [Fri, 29 Apr 2016 10:59:42 +0000 (19:59 +0900)]
genlist: Change group_index swallow parts to be squares.
"elm.swallow.icon" and "elm.swallow.end" of group_index item were not
squrares. So change those swallow parts to be squares like default
item's swallow parts.
Mykyta Biliavskyi [Fri, 29 Apr 2016 08:25:41 +0000 (11:25 +0300)]
Edje edit: remove color generate from SPACER source.
It is possible situation when SPACER structure has colors values.
For example:
group { name: "abc";
parts {
part { name: "rect"; type: RECT;
description { "default" 0.0;
color: 7 7 7 255;
}
}
}
}
group { name:"abc_2";
inherit: "abc";
parts {
part { name: "rect"; type: SPACER;
}
}
}
To avoid failing compilation of generated source code, need avoid
generate color source code for a SPACER part.
Jaeun Choi [Fri, 29 Apr 2016 02:50:59 +0000 (11:50 +0900)]
Elm_Image: add and remove eo properties related to image scaling
This patch adds scale_type and scalalable property
and removes fill_inside and aspect_fixed property
Jean-Philippe Andre [Thu, 28 Apr 2016 07:05:00 +0000 (16:05 +0900)]
Edje Edit: Fix compilation warning
Jean-Philippe Andre [Fri, 29 Apr 2016 04:19:20 +0000 (13:19 +0900)]
Edje: Add test case showing lifecycle of proxy object
This is for efl_content_get proxy objects (BOX & TABLE).
Andy Williams [Thu, 28 Apr 2016 23:00:21 +0000 (00:00 +0100)]
elementary: Update icon UI to split out elm icons
Make it clearer that elementary is diffferent
Tom Hacohen [Thu, 28 Apr 2016 14:54:34 +0000 (15:54 +0100)]
Elm combobox: composite attach objects after reparenting.
This fixes the segfault reported by Jack.
The problem was that the object was being reparented and thus
removed from the composition and never added back.
Andy Williams [Thu, 28 Apr 2016 14:31:55 +0000 (15:31 +0100)]
elementary: remove fdo caching and fallback code
The hicolor fallback requirement is handled by efreet
and the usage of fdo is user specified now not by code.
This means the only (theoretical) way this could be a
problem is if the user removes a theme.
This seems like a good tradeoff to remove the overhead
and enable the apps to switch icons based on config change.
Andy Williams [Thu, 28 Apr 2016 09:27:56 +0000 (10:27 +0100)]
elementary: Don't force elm theme over fdo icons
Make sure we don't mmap icons if we're using external sources
Vitalii Vorobiov [Thu, 28 Apr 2016 12:38:50 +0000 (15:38 +0300)]
Edje_Edit: update function that return image usage to include sets
Image can be also used not only inside of any image parts, but also
inside of any sets (and plenty of times)
Vitalii Vorobiov [Thu, 28 Apr 2016 12:06:20 +0000 (15:06 +0300)]
Edje_Edit: API to delete set of images
Allow to delete set if it is not used by any part
Function to check if set is used by any part is:
edje_edit_set_usage_list_get
Since it uses same struct as image_used_list_get function, it
can be freed by edje_edit_image_usage_list_free.
Vitalii Vorobiov [Wed, 27 Apr 2016 13:34:02 +0000 (16:34 +0300)]
Edje_Edit: setter and getter for set image's scale_by
edje_edit_image_set_image_border_scale_set
edje_edit_image_set_image_border_scale_get
Vitalii Vorobiov [Wed, 27 Apr 2016 13:23:43 +0000 (16:23 +0300)]
Edje_Edit: functions to set and get set's images border
edje_edit_image_set_image_border_set
edje_edit_image_set_image_border_get
Vitalii Vorobiov [Wed, 27 Apr 2016 12:42:12 +0000 (15:42 +0300)]
Edje_Edit: setters and getters for set's image size (min and max)
Functions are:
edje_edit_image_set_image_min_get
edje_edit_image_set_image_min_set
edje_edit_image_set_image_max_get
edje_edit_image_set_image_max_set
Vitalii Vorobiov [Wed, 27 Apr 2016 10:58:44 +0000 (13:58 +0300)]
Edje_Edit: some API to manipulate set's images
get list of images of set (edje_edit_image_set_images_list_get)
add image to set (edje_edit_image_set_image_add)
delete image from set by it's place (edje_edit_image_set_image_del)
Vitalii Vorobiov [Wed, 27 Apr 2016 08:52:04 +0000 (11:52 +0300)]
Edje_Edit: image set API
list of sets (edje_edit_image_set_list_get)
renaming set (edje_edit_image_set_rename)
add new set (edje_edit_image_set_add)
set's id (edje_edit_image_set_id_get)
Vitalii Vorobiov [Tue, 26 Apr 2016 12:04:46 +0000 (15:04 +0300)]
Edje_Edit: API to check if given name of "image set" is exist
edje_edit_image_set_exists
Vitalii Vorobiov [Tue, 26 Apr 2016 11:43:47 +0000 (14:43 +0300)]
Edje_Edit: get "set's name" if it was set as image normal or tween
Sets and Images, they might have same id but different names
SangHyeon Lee [Thu, 28 Apr 2016 07:00:00 +0000 (16:00 +0900)]
Revert "genlist: recalc item size after item content field updated"
This reverts commit
b48d3eb04e4475cf160deedaa3791834fa67ac9f.
This patch can be occurred performance issue.
update is needed for only non-homogeneous case.
I'll revert patch and update new patch in phabricator for check.
SangHyeon Lee [Thu, 28 Apr 2016 06:58:38 +0000 (15:58 +0900)]
Revert "genlist: scroll to item when calc is done"
This reverts commit
87b12327c3356ac8233cb5a08260625221239153.
This patch occurred some side effect.
Need to fix the code without any side effect.
Vyacheslav Reutskiy [Thu, 28 Apr 2016 06:30:55 +0000 (09:30 +0300)]
edje_text: don't apply ellipsis if fit is setted
Test plan:
collections {
group { name: "new";
parts {
part { name: "text";
type: TEXT;
description { state: "default" 0.0;
text {
text: "Hello world";
size: 12;
fit: 1 0;
}
}
}
}
}
}
Fixes T3519
@fix
Hermet Park [Thu, 28 Apr 2016 05:12:16 +0000 (14:12 +0900)]
elementary/elm_prefs: preserve compatibility.
C++ doens't allow empty size structure, empty structure looks harmful.
I've thought about the solution and this patch is my conclusion.
Because I'm not a big fan of elm_prefs,
if you have any better idea then please fix it on your way.
Andy Williams [Wed, 27 Apr 2016 21:22:09 +0000 (22:22 +0100)]
elementary: Re-add some old icon names as deprecated
Chris Michael [Wed, 27 Apr 2016 16:56:11 +0000 (12:56 -0400)]
elput: Remove dead comment and fix error message
NB: Minor cosmetic changes such as removing a commented out line of
code and fixing an error message
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Mike Blumenkrantz [Wed, 27 Apr 2016 16:49:11 +0000 (12:49 -0400)]
ecore-drm: reuse any created xkb map if no cached map exists
this prevents creating many identical maps during init
Andy Williams [Wed, 27 Apr 2016 15:20:02 +0000 (16:20 +0100)]
elementary: Set window size based on scale
Stefan Schmidt [Wed, 27 Apr 2016 15:35:53 +0000 (17:35 +0200)]
docs: enhance the calendar eo widget documentation
A lot of cleanup on the parameter docs and filling some gaps. This one still
needs more work.
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.
Stefan Schmidt [Wed, 27 Apr 2016 10:54:59 +0000 (12:54 +0200)]
docs: enahnce elm bubble widget documentation
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.
Stefan Schmidt [Wed, 27 Apr 2016 09:12:50 +0000 (11:12 +0200)]
docs: elm_access: add class description
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.
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.
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
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
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.
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>
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>
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
Tom Hacohen [Tue, 26 Apr 2016 15:22:37 +0000 (16:22 +0100)]
Eo tests: Mark unused variables as such.
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.
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;
}
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>
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>
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
Stefan Schmidt [Tue, 26 Apr 2016 11:57:55 +0000 (13:57 +0200)]
docs: efl_vpath: fix smaller tpyos and document manager class methods
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
Stefan Schmidt [Tue, 26 Apr 2016 11:12:04 +0000 (13:12 +0200)]
docs: efl_network: class descriptions for connector and URL
Stefan Schmidt [Tue, 26 Apr 2016 09:53:50 +0000 (11:53 +0200)]
docs: efl_network: enhance the EO classes for client and server
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.
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.
Stefan Schmidt [Tue, 26 Apr 2016 08:07:50 +0000 (10:07 +0200)]
docs: evas: description for polygon class
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
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.
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.
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".
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.
Jean-Philippe Andre [Mon, 25 Apr 2016 10:53:51 +0000 (19:53 +0900)]
Elm.Layout: Implement content_remove
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.
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
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
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
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.
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
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
Jean-Philippe Andre [Thu, 21 Apr 2016 06:39:31 +0000 (15:39 +0900)]
Edje: Convert access_part_list to an iterator
Jean-Philippe Andre [Thu, 21 Apr 2016 03:15:32 +0000 (12:15 +0900)]
Edje.Object: Add support for part_name_get
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.
Jean-Philippe Andre [Wed, 20 Apr 2016 12:07:38 +0000 (21:07 +0900)]
Elm.Layout: Protect some functions
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
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.
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...
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
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.
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
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
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
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.
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.
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>
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
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
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
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
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.
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).
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. :)
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
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
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>
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>