Commit Graph

47116 Commits

Author SHA1 Message Date
Mike Blumenkrantz 03a8ab1f51 ecore-drm: reuse any created xkb map if no cached map exists
this prevents creating many identical maps during init
2016-04-27 12:52:08 -04:00
Andy Williams c47b5a364c elementary: Set window size based on scale 2016-04-27 16:54:44 +01:00
Stefan Schmidt 086bd74da9 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.
2016-04-27 17:37:08 +02:00
Stefan Schmidt f236bde0a5 docs: enhance button documentation for eo widget
Class description and setter and getter cleanup and also filling up some
doc gaps.
2016-04-27 17:37:08 +02:00
Stefan Schmidt 71a16c27ba docs: enahnce elm bubble widget documentation 2016-04-27 17:37:08 +02:00
Stefan Schmidt f37e535d81 docs: enhance documentation for elm background EO class
Class description and cleanuing up getters and setters.
2016-04-27 17:37:08 +02:00
Stefan Schmidt 935e3c9419 docs: elm_access: add class description 2016-04-27 17:37:08 +02:00
Stefan Schmidt 7d0dd857ce docs: enhance docs for elm actionslider
Class description and some cleanup for getter and setter.
2016-04-27 17:37:08 +02:00
Ji-Youn Park 3f82fd1658 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.
2016-04-27 22:05:23 +08:30
Jihoon Kim fa344ea0be edje_entry: fix crash issue in case of no selection text
@fix
2016-04-27 21:30:42 +09:00
Andy Williams 636a1ae3de elementary: Update icon name docs
Trying to make it clear what's a FDO standard name
and which names that work should be avoided
2016-04-27 00:37:58 +01:00
Andy Williams 36113b1535 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.
2016-04-27 00:01:08 +01:00
Andrii Kroitor 802e671cda 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>
2016-04-26 14:54:39 -07:00
Youngbok Shin 9e2b06cf98 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>
2016-04-26 14:54:39 -07:00
Mike Blumenkrantz 76002e6c84 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 df2b31b63e
2016-04-26 16:20:10 -04:00
Tom Hacohen 7c4fce78df Eo tests: Mark unused variables as such. 2016-04-26 16:29:18 +01:00
Tom Hacohen 106951a61d 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.
2016-04-26 16:29:18 +01:00
Mykyta Biliavskyi b1fce61caa 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;
    }
2016-04-26 18:12:07 +03:00
Chris Michael 7d450fba64 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>
2016-04-26 11:00:40 -04:00
Chris Michael 6c032a99de 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>
2016-04-26 10:02:35 -04:00
Vyacheslav Reutskiy 287f84baaf 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
2016-04-26 15:16:09 +03:00
Stefan Schmidt e165baf37c docs: efl_vpath: fix smaller tpyos and document manager class methods 2016-04-26 14:01:17 +02:00
Stefan Schmidt 9eb488aaa5 docs: vpath: mark all vpath classes as introduced with upcoming 1.18 2016-04-26 14:01:17 +02:00
Stefan Schmidt 204a252abe docs: efl_network: class descriptions for connector and URL 2016-04-26 14:01:17 +02:00
Stefan Schmidt 727f58524a docs: efl_network: enhance the EO classes for client and server 2016-04-26 14:01:17 +02:00
Stefan Schmidt 9897cf495b docs: efl_network: enhance documentation in base class
Fix some of the existing documentation and add some for events and the class.
2016-04-26 14:01:17 +02:00
Stefan Schmidt 9c3d34ca4d docs: evas: description for various surface classes
Describing surfaces classes for Wayland, TBM and X11.
2016-04-26 14:01:16 +02:00
Stefan Schmidt b1a9629723 docs: evas: description for polygon class 2016-04-26 14:01:16 +02:00
Ji-Youn Park 3279d4fae8 elm_icon: move lookup_order and standard feature from eo to legacy 2016-04-26 17:24:51 +08:30
Jean-Philippe Andre ff8ee01432 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.
2016-04-26 16:48:55 +09:00
Stefan Schmidt 49dde632bc po: elm_container.c is removewd from the tree thus also remove it from POTFILES
File was removed in 902950018b.
2016-04-26 08:56:29 +02:00
Jean-Philippe Andre e7f0b64860 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".
2016-04-26 14:16:32 +09:00
Jean-Philippe Andre 59ead67aa1 Edje: Fix crash in E clock: invalid source string
This fixes on top of 49a27688b1, 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.
2016-04-26 14:09:36 +09:00
Jean-Philippe Andre 62caefdf0e Elm.Layout: Implement content_remove 2016-04-26 14:09:36 +09:00
Jean-Philippe Andre f7f1862489 Elm.Win: Implement container & pack APIs
This replaces resize_object APIs.
2016-04-26 14:09:36 +09:00
Jean-Philippe Andre f19da66843 Edje: Add test case for edje table
This tests the EO and Legacy APIs
2016-04-26 14:09:36 +09:00
Jean-Philippe Andre 12146ddea6 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
2016-04-26 11:36:23 +09:00
Jean-Philippe Andre 97422856ce 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
2016-04-26 11:36:23 +09:00
Jean-Philippe Andre e2176ed6a3 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.
2016-04-26 11:36:23 +09:00
Jean-Philippe Andre 32b622f08d Efl.Pack: Add content_at_remove
This will match Edje Box remove_at
2016-04-26 11:36:23 +09:00
Jean-Philippe Andre 24177057d0 Edje tests: Add test case for access_part_list
This tests eo and legacy apis
2016-04-26 11:36:23 +09:00
Jean-Philippe Andre 27573e6e0b Edje: Convert access_part_list to an iterator 2016-04-26 11:36:23 +09:00
Jean-Philippe Andre 07a996e6cc Edje.Object: Add support for part_name_get 2016-04-26 11:36:23 +09:00
Jean-Philippe Andre e1092b84eb Edje: Adapt to Efl.Container
This basically renames swallow into content.
2016-04-26 11:36:23 +09:00
Jean-Philippe Andre d962705e41 Elm.Layout: Protect some functions 2016-04-26 11:36:23 +09:00
Jean-Philippe Andre 902950018b 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
2016-04-26 11:36:23 +09:00
Andy Williams 8c02bf5be6 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.
2016-04-26 00:00:33 +01:00
Andy Williams 9a3a8a1eb2 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...
2016-04-25 23:39:58 +01:00
Mike Blumenkrantz 49302010f4 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
2016-04-25 16:15:59 -04:00
Cedric BAIL 588b133c19 eina: make eina rectangle an allocated thread safe structure to use.
This is a better fix than D3913.
2016-04-25 12:48:08 -07:00