Commit Graph

9099 Commits

Author SHA1 Message Date
Tom Hacohen 28fee48f35 Hoversel: Fix access to already deleted object.
Thank you eo pointer indirection for detecting this.
The issue is a mix of design choices (will discuss on the ML) and
a bug in hoversel which was probably caused because of the confusing design
choices.
The problem is that while widget_item->view is set by whoever created
the item, it's automatically deleted by elm_widget_item_del. This means
that objects that decided to delete their views, but were too sloppy to
update the widget_item->view pointer to NULL, would trigger an attempt
to deleted an already deleted object. This does not happen in 1.7
because widget_item->view was introduced in 1.8.
The automatic view deletion is problematic, as smart subobjects are
already deleted when the parent subobject (the widget) is deleted. So
clearing the views is redundant. However if the widget item is manually
deleted, the view should be deleted. This causes this mixture of cases
that are problematic at best.

Indication error:
Error:
 ERR<5394>:eo lib/eo/eo_ptr_indirection.x:275 eo_obj_pointer_get()
    obj_id 0x8000002900000149 is not pointing to a valid object. Maybe
    it has already been freed.

This fixes T500.
2013-11-19 17:13:31 +00:00
Tom Hacohen 3a3c18e4f9 Tests: Added elm_suite.h to EXTRA_DIST.
Fixes make dist.
2013-11-19 13:25:11 +00:00
Ryuan Choi c2f2c2101d Introduce check for unit testing framework of Elementary
Reviewers: seoz, tasn

CC: tasn, cedric

Differential Revision: https://phab.enlightenment.org/D91
2013-11-19 13:18:02 +00:00
Carsten Haitzler 7ee18e17f0 1.8.0-alpha2 2013-11-19 17:21:59 +09:00
Carsten Haitzler 872d21341e genlist - fix queue processor to not account for entire loop run in time 2013-11-19 15:10:03 +09:00
Carsten Haitzler 28ead975a0 theme-randr - extend pwr event area for those who dont click where indicated 2013-11-19 08:23:49 +09:00
Stefan Schmidt 32c93afe4c mailmap: Sync file with changes from efl 2013-11-18 16:39:56 +01:00
Ryuan Choi c2604e46a8 elm_web: Fixed warnings when opened popup for <select>
elm_notify and elm_list should be made using Eo based class as a parent.
2013-11-19 00:19:48 +09:00
Daniel Juyung Seo c70405bdde elc_hoversel.c: use int_ret instead of ret because ret can be null.
This fixes coverity CID 1129609 and 1129610.
2013-11-18 22:33:37 +09:00
Daniel Juyung Seo d32e73b1c6 tooltip.edc: fixed a comment typo. 2013-11-18 21:28:47 +09:00
ChunEon Park 2afb6e40ac elementary - added a warning for elm_widget_item_track(). 2013-11-18 13:15:56 +09:00
Daniel Juyung Seo 56a842d29a test_main_menu.c: refactored button callback function.
- removed unnecessary casting.
- used a proper type, Eina_Bool, for the return value of elm_object_item_disabled_get()
- printed out more useful information.
2013-11-18 09:59:51 +09:00
Daniel Juyung Seo 1dd1f2f425 test_genlist.c: removed unnecessary spaces from legacy codes. 2013-11-18 09:59:51 +09:00
Daniel Juyung Seo b00e9c6278 test_genlist.c: added callbacks for unrealized and delete to test the callback sequence. 2013-11-18 09:59:51 +09:00
Yakov Goldberg 5bed747f58 thumb: typo in Eo OP_ID name 2013-11-17 13:23:17 +02:00
Yakov Goldberg 656fd97988 widget: typo in Eo OP_ID name 2013-11-17 13:23:17 +02:00
Daniel Juyung Seo d518a2b7a8 elm_authors.h: escape ryuan from email crawler. 2013-11-17 20:21:00 +09:00
Carsten Haitzler a59f0d83ec check + radio - fix sizing evals and emits on content set
this should fix T261
2013-11-17 11:46:52 +09:00
Carsten Haitzler f1b88b0f68 test - unify glsl formatting to match glview gears example 2013-11-17 10:04:26 +09:00
Carsten Haitzler e045d28cfc list - fix separators to be the correct direction 2013-11-17 09:40:17 +09:00
Carsten Haitzler 4f4982663c list - fix item disable and infinite loop on next select 2013-11-16 17:50:11 +09:00
Carsten Haitzler caaf444d9b entry - fix autosave timer del on shutdown
this fixes T509
2013-11-16 13:21:36 +09:00
Carsten Haitzler c0ea38b598 po - update 2013-11-16 12:50:25 +09:00
Carsten Haitzler b5ad088f09 theme - remove unused images 2013-11-16 12:50:07 +09:00
Carsten Haitzler 3910b15578 elm-test - oops - fix colorsel premul 2013-11-16 12:49:26 +09:00
Carsten Haitzler 2631fa54fb theme - add more usability hints for ranr dialog like power button 2013-11-16 12:42:55 +09:00
Michael Bouchaud bcce0eb70e elementary: fix image counts in slideshow exemple 2013-11-16 02:48:29 +01:00
Carsten Haitzler 9c96c4fa36 fix color premul complaints in examples
this should fix T498
2013-11-16 10:21:03 +09:00
Andrii Kroitor cf2ae7397e Elm_menu: fixed item disable hook for elm_dbus_menu
Summary:
Menu items in dbus-mode (in Ubunut/Unity) were not updated on
disabled/enabled state changes. They were applied only after
adding/removing an item.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D333
2013-11-16 09:50:32 +09:00
Daniel Juyung Seo a480745321 scroller, slider: fixed wrong changed I made by 6a683df1598a4c3293a33765cc60dd
I caused by c&p bug.
Special thanks to stefan and coverity.
This fixes coverity CID 1128353 and 1128354.
2013-11-15 22:51:10 +09:00
Daniel Juyung Seo 754cda11a5 elm_index.c: changed internal smart data variable name more descriptive.
- event -> event_rect
- and added a comment for that variable.
2013-11-15 22:32:58 +09:00
Daniel Juyung Seo ca210a2d66 elm_main.c: use a direct variable check instead of unnecessary additional function call like other lines of code. 2013-11-15 21:53:39 +09:00
Daniel Juyung Seo 16e2c0779f elm_win.c: removed build warning when there is no wayland support. 2013-11-15 21:52:19 +09:00
Daniel Juyung Seo a876201c28 elm_index.c: internal refactoring as a code cleanup.
- removed unnecessary duplicated parameter passing.
- moved smart callback add to a proper place not to be confused with other object's smart callback addition.
- removed unnecessary sub object add. it's done automatically in elm_layout_content_set.
2013-11-15 21:50:40 +09:00
Daniel Juyung Seo 3c3a4d0922 test_index.c: added index clear example and use activated callback for entry. 2013-11-15 21:50:40 +09:00
Daniel Juyung Seo 8fee787bd2 test_index.c: internal refactoring of test code.
1. Set internal function as static.
2. Put prefix '_' for internal functions.
3. Moved window resize/show code.
2013-11-15 21:50:40 +09:00
Chris Michael a43489f6de Make routines to get the wayland window from an ecore_evas be more
inline with their X counterparts. Also, remove some EINA_UNUSED where
parameters were being used.

The previous code to get the Ecore_Wl_Window from an Ecore_Evas did
not check to make sure the Ecore_Evas Engine was a wayland engine, and
thus elm_tests like Window Inline would spew CRIT & ERR messages from
ecore_evas about the interface.

This fixes Phab Ticket T502

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-15 10:16:00 +00:00
Chris Michael bd7c04e174 Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-15 10:16:00 +00:00
ChunEon Park a707bffbc1 elementary/entry - internal change of the magnifier.
use the fill_set instead of the clipper.
soon after 1.8, proxy just created the filled area buffer, then magnifier surface size will be fixed regardless of the entry source.
2013-11-14 22:53:21 +09:00
Chris Michael 6ea4c0bcb6 Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-14 11:02:43 +00:00
Chris Michael c4157d841d Stop fetching the same Evas and Clip object 4 times
We can just fetch this information once as it is not going to change
during the for loop.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-14 11:02:43 +00:00
Sebastian Dransfeld e23648de97 quicklaunch: Add AC_LANG_SOURCE to source code
Fixes warning:
configure.ac:217: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/elm_quicklaunch.m4:9: ELM_QUICKLAUNCH is expanded from...
configure.ac:217: the top level
2013-11-14 05:15:43 +01:00
Jean-Philippe Andre 1f5cd17110 Quicklaunch: don't increment init count twice
Ooops, don't increment elm_init count from quicklaunch init
when running normally.
2013-11-14 10:39:16 +09:00
Ryuan Choi a8cef7a216 elm_web : Moved elm_widget_sub_object_parent_add() call from ewk_view's smart_add to elm_web's
Because ewk_view is smart class and it's parent is Evas, it prints below warning.

 ... Can't execute function Elm_Widget:ELM_WIDGET_SUB_ID_SUB_OBJECT_ADD (op 0x9f)
 for class 'Evas'. Aborting.
2013-11-14 03:47:31 +09:00
Amitesh Singh 08936d7f38 [hoversel] - Added focus support on hoversel items.
Summary: Focus support on hoversel items.

Test Plan: elementary_test->hoversel2

Reviewers: seoz, raster, Hermet

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D316
2013-11-13 20:39:48 +09:00
Daniel Juyung Seo 09b4d56c4a test_genlist.c: added "genlist del" example to reveal more genlist issues.
This example tests the following cases on item selection.
1. genlist item deletion
2. genlist clear and item append
3. genlist del
2013-11-13 17:07:15 +09:00
ChunEon Park a6b2f18c8f elementary/entry - use a convenient api.
And actually magnifier needs to update fill area if it is resized.
2013-11-13 14:51:55 +09:00
ChunEon Park e434c377ed Revert "elementary/entry - clean up the magnifier code."
This reverts commit 46b007a7c9d0028aeab43587bc773724c06d0ec8.

sorry, this is wrong fix. clip should be removed explicitly.
2013-11-13 14:36:22 +09:00
ChunEon Park 704416f56e elementary/entry - clean up the magnifier code. 2013-11-13 14:25:21 +09:00
ChunEon Park ebc28de3e6 elementary/entry - clean up the magnifier code. 2013-11-13 13:29:28 +09:00