Commit Graph

12187 Commits

Author SHA1 Message Date
Cedric BAIL e13d263fe1 toolbar: remove useless call to _sizing_eval.
_sizing_eval is very costly on toolbar as it recalc all edje part and sends
signal to all of them. _item_theme_hook was already calling _sizing_eval
doubling the cost of adding new item.
2015-10-15 16:38:24 -07:00
Mike Blumenkrantz 1387dc63cd border: bring sparklebear theme up-to-date with current efl rendering
various fixes have occurred over the years to improve proxy rendering.
as a result, this theme, which is apparently the only other user of proxy
edje parts besides deskmirror, was broken.

@fix
2015-10-15 16:35:46 -04:00
Mike Blumenkrantz e6fa6a6097 deskmirror: unset proxy.source_clip for urgency effects
cfedba598c in efl fixed source clipping
for proxy objects, breaking badly-clipped edje proxy objects everywhere

@fix
2015-10-15 16:09:39 -04:00
Amitesh Singh 3d743982f1 example: genlist - intialize buffer array to 0
CID: 1327347
2015-10-14 20:47:46 +05:30
Amitesh Singh 97e0b8a7d2 example: genlist - intialize buffer array to 0
CID: 1327346
2015-10-14 20:45:10 +05:30
Amitesh Singh fd10a7de21 example: glview - use delete to deallocate memory
CID: 1327362
2015-10-14 20:33:13 +05:30
Amitesh Singh 78cde26a79 example: glview - use delete to deallocate memory
CID: 1327363
2015-10-14 20:30:06 +05:30
Chris Michael 8ab665bab0 elementary: Fix genlist example to not free data until After it has
been removed from the list

@fix CID1327342

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 10:52:03 -04:00
Chris Michael e03df78dbb elementary: Remove unused static variable
Summary: clang reports _list_focus_objects as being an unused static
variable, so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 10:04:03 -04:00
Chris Michael 362a41cbd5 elementary: Remove unused static variable
Summary: clang reports SIG_THEME_CHANGED as being an unused static
variable, so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 10:03:03 -04:00
Chris Michael 7a237d9052 elementary: Remove unused variables
Summary: clang reports SIG_BLOCK_CLICKED and SIG_TIMEOUT as being
unused variables, so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 10:01:58 -04:00
Chris Michael 647a8571a1 elementary: Remove unused function
Summary: clang reports _icon_size_min_get as being an unused function,
so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 10:01:15 -04:00
Chris Michael 441f309d46 elementary: Remove unused static varible
Summary: clang reports _smart_callbacks as being an unused static
variable, so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 10:00:28 -04:00
Chris Michael 166ac9fb05 elementary: Remove unused variable
Summary: clang reports SIG_LANG_CHANGED as being unused here, so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 09:59:30 -04:00
Chris Michael 0c5d2de146 elementary: Fix passing wrong parameter
Summary: clang reports passing EINA_FALSE here is being treated as an
Eo object, so pass NULL instead

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 09:58:20 -04:00
Chris Michael 345fb357c5 elementary: Fix passing wrong parameter
Summary: clang reports passing EINA_FALSE here is being treated as an
Eo object, so pass NULL instead

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 09:57:14 -04:00
Chris Michael 98f56ee12f elementary: Remove unused static variable
Summary: clang reports ELM_APP_SERVER_VIEW_PROPS_ENTRY as being an
unused variable, so remove.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 09:52:14 -04:00
Chris Michael 953e8fb421 elementary: Remove unused static variable
Summary: clang reports SIG_CLICKED as being unused so remove the
variable

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 09:51:09 -04:00
Jean-Philippe Andre 310f7d0321 elm_test: Fix bug in GLView test
Scenario:
  const char * accel = accel_get();
  accel_set("gl:depth");

Now accel may not be valid anymore since the original
Eina_Stringshare might have been destroyed. So there was
no point in saving the const char * pointer. It was not valid
after the call to set(). This is a bit confusing here. Returning
char* would be clear: the caller would own the data.
2015-10-14 20:19:30 +09:00
Mike Blumenkrantz 8ddbb3a5bc toolbar: do not change align for "noicon" toolbar items
too many rels and complexity to track this to a more coherent
message

probably broken since 1.0 since there are zero "noicon" toolbar
tests

@fix

fix T2782
2015-10-13 15:27:11 -04:00
Amitesh Singh f1773531c3 image: remove unused variables 2015-10-13 09:08:01 +05:30
Cedric BAIL b7f6a004fa elm_image: let's not trigger confusing update add.
Elm_Image rely on Evas_Image ability to rotate content. There is no
pixels manipulation involved that require an update_add here. In fact
this cause a bug where the content would disapear due to evas trying
to get some pixels data that are not where it think they are.
2015-10-12 16:00:04 -07:00
Jee-Yong Um acccd9e10e elm_hoversel: fix to show dismiss animation
Summary:
In hover.edc, hoversel dismiss animations are defined,
but it doesn't work at all. (Hover is removed before animation)
This patch makes hoversel remove its hover after dismiss animation.

@fix

Test Plan: elementary_test hoversel

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-12 13:22:47 -07:00
Chris Michael d1bc1b64ae elementary: Fix calling ecore_evas_wayland_move with improper values
Summary: As ecore_evas_wayland_move ends up updating the location of
the ecore_wl_window, we should be calling move with the proper
geometry as this ends up updating the internal ecore_wl_window
geometry (which in turn sends to xdg_surface_set_window_geometry).
This is part of a fix where xdg_surface_set_window_geometry was
getting sent inproper values.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-12 11:02:50 -04:00
Stefan Schmidt 58939e8621 release: Update NEWS and bump version for 1.16.0-beta1 release 2015-10-12 12:09:55 +02:00
SangHyeon Lee 0e353c727d Revert "gengrid : add all_contents_unset API in gengrid for reusing contents."
This reverts commit 1094fb77a0ee23cbe1e8b15783e406a8d93b7fd4.

Feature is freezed for new released version.
This patch must updated after release finished.
2015-10-12 18:23:56 +09:00
Jaehyun Cho 5d85d6a29f toolbar: Fix crash on more_item when shrink mode is set with no item.
Toolbar creates a more_item when shrink mode is
ELM_TOOLBAR_SHRINK_EXPAND.
If select mode is ELM_OBJECT_SELECT_MODE_ALWAYS and there is no item
appended, then toolbar sets a selection on a newly created item.
In this case, sd->more_item is referenced before the new more_item is
assigned to sd->more_item.

@fix
2015-10-12 16:53:51 +09:00
SangHyeon Lee 72cebeb662 gengrid : add all_contents_unset API in gengrid for reusing contents.
Summary:
Add elm_gengrid_item_all_contents_unset API for reusing contents in application side.
User can unset all contents or re-use their contents for increase scrolling performance.
genlist already support this API.

@feature

Test Plan: Need to add test in elementary_test.

Reviewers: raster, singh.amitesh, cedric

Subscribers: woohyun, Hermet, seoz

Differential Revision: https://phab.enlightenment.org/D3066
2015-10-12 14:42:37 +09:00
Carsten Haitzler 969354493e elm cursor - fix hotspot tracking to actually work right
hotspot tracking was broken. this fixes it.

@fix
2015-10-10 13:39:40 +09:00
Carsten Haitzler b8a3f7aa7a elm cusro config - move elm to by default look for cursors in theme
previous config ignored elm theme if ithas cursors. this was just
wrong, so switch default back to using theme and update configs
accordingly etc. this is houw it should have worked.
2015-10-10 13:21:58 +09:00
Carsten Haitzler 11eec45f4f elm cursors - if min size is too small then force it to be sane
cursor if less than 8x8 then make it 8x8. avoidx 0 sized pointers.

@fix
2015-10-10 13:08:37 +09:00
Lukasz Stanislawski 16ec6120be tests: add new tests for AT-SPI beta API. 2015-10-06 17:18:44 +02:00
Lukasz Stanislawski 6b49c30cd0 list: set atspi parent despite atspi mode.
Path fixes failing test case when atspi mode was off.
2015-10-06 11:27:15 +02:00
Stefan Schmidt 56ef8c18ae release: Update NEWS and bump version for 1.16.0-alpha1 release 2015-10-05 16:43:21 +02:00
Stefan Schmidt 5a2dd4b28e po: update po files 2015-10-05 15:48:10 +02:00
Stefan Schmidt fd063a336b tests: disable new atspi parent test for me as it breaks
Breaking distcheck for me and delaying the alpha1 tarballs. The API is still
marked as unstable but we might want to look into it during the beta's.
2015-10-05 15:46:24 +02:00
Chris Michael bcc0cd758a elementary: Comment out (#if 0) unused functions
Summary: Unsure whether these are left-over, or are going to be
implemented in the near future...but for now, #if 0 out these 2
functions as they are currently unused.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-05 09:11:25 -04:00
Carsten Haitzler 956a05ff8d elm run - be explicit about elm run not nesting in docs
@feature
2015-10-05 16:09:58 +09:00
Lukasz Stanislawski 0c8a75442a atspi: add new relationship append/remove/clear API
Allow to add some extra contextul information about accessibility objects
which can be used by Assistive Technology to provide better user experience.

API is still marked as beta.

@feature
2015-10-05 08:58:12 +02:00
Lukasz Stanislawski 83fd91edf5 atspi: support org.a11y.atspi.Collection interface
org.a11y.atspi.Collection interface allows to perform fast search
queries on accessibility objects tree.
Due to lack of specification of collection interface this implementation
base on gnome project implementation from https://git.gnome.org/browse/at-spi2-atk/.

@feature
2015-10-05 08:06:51 +02:00
Tom Hacohen 2299d98139 Revert "Genlist: only get item data if needed."
This actually doesn't work for coverity, I guess we just need to mark it
as false-positive, as it will never be null.

This reverts commit 178e7e6ac9419742d1bbe583fd252fc6536e5649.
2015-10-04 17:52:18 +01:00
Stefan Schmidt 80559cbec7 doc: make sure we actually run the command to get the example screenshots
These screenshots are used in the documentation but we never made sure that we
have them actually. This resulted in our docs missing image links.

Thanks to Jean Rene Dawin for reporting it at the Enlightenment Developer Day.
2015-10-04 18:35:22 +02:00
Tom Hacohen a06105d8dd Genlist: only get item data if needed.
Moved the data fetching to be after the tests. This doesn't really
matter and is mostly there to silence coverity. Coverity was complaining
about "it" being dereferenced before the null check (implicit in
EO_OBJ), so reordering it will fix it.

CID 1040000
2015-10-04 15:12:35 +01:00
Cedric BAIL 44425a748d config: fix NULL access on invalid config loading
CID 1308381
2015-10-04 16:00:54 +02:00
Jee-Yong Um b0bdabff51 elm_hover: delay hover dismiss while handling edje signal
Summary:
elm_hover_dismiss() doesn't hide hover directly, but sends signal only.
It can be translated that "dismiss" do not hide hover only, but handles
some works. (EDC program, callbacks etc.)
However, "dismiss" sends signals after hide hover itself, so following
edje signals are ignored. (Hover cannot be seen already!)
This patch makes hover dismiss delayed while handling edje signal.

@fix

Test Plan: elementary_test hover2

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-04 15:38:57 +02:00
Shilpa Singh 2ad050a5bc elc_naviframe: fix crash in strcmp, if text_set is NULL issue
Summary:
Issue: If text set is NULL to naviframe, crash happens in strcmp
Soln: Check for text if NULL,  before passing to strcmp

@fix

Test Plan:
//Pass the text as NULL
elm_object_part_text_set(nf, "title", NULL);

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-04 15:26:13 +02:00
Jee-Yong Um 60ff0a3c6e elm_hoversel: add elm_hoversel_label_auto_changed_set/get() API
Summary:
Hoversel can be used like dropdown or pulldown menu.
In that case, changing hoversel label into selected item lable can be
considered as common usage of hoversel.
This API automatizes changing label.

Reviewers: SanghyeonLee, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-04 15:10:29 +02:00
Jee-Yong Um 9a9cc71a8a elm_hoversel: refine hoversel scrollability function
Summary:
Some modifications for hoversel scrollability are applied.
For example,
The logic for generating scroller is changed. (newly added during activation)
If hoversel's contents are larger than hover,they will be resized to fit hover.
If hoversel is moved (by window rotation etc.), scroller will be resized.
Reduandant code are removed from popup for scrollability.

Test Plan:
You can see the sample for scrollable hoversel in second one
of "elementary_test hoversel".

Reviewers: Hermet, SanghyeonLee, cedric

Reviewed By: cedric

Subscribers: godlytalias, Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-04 14:56:54 +02:00
Vivek Ellur ecd5530376 elm_video: port eo_event callbacks to use eo_event arrays
Summary:
Changed eo_event_callback_add to use eo_event_callback_array_add
in elm_video.c

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-04 12:05:55 +02:00
Lukasz Stanislawski d1ec64205d atspi: add translation domain for name and description.
@feature
2015-10-02 21:56:14 +02:00