Commit Graph

8895 Commits

Author SHA1 Message Date
Carsten Haitzler ac0a438c2d v1.8.0-beta2 2013-11-29 19:36:58 +09:00
nirajkr 98b0383451 elm_genlist.c: Fix to decorate the item if it is set
Summary: Changes in the _item_realize to decorate the item T576 test_genlist10

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D358
2013-11-29 19:18:00 +09:00
Carsten Haitzler b566b8f862 readme - update readme for efl 1.8
lots of extra documentation and information now in the README
2013-11-29 19:07:55 +09:00
Gustavo Sverzut Barbieri 085e644c49 genlist: clear 'rel' pointer when it becomes unused during del_pre_hook.
If we're walking an item and it's deleted, the memory won't go away
immediately in _item_del_pre_hook() as would in _item_del(), then it's
not enough to remove ourselves from the reverse-relative list of the
item we were relative to, we also need to clean our own relative
pointer so we won't touch it later when the item is not being walked
anymore and _item_del() is called.

I was getting this annoying error with espionage application, opening
an interface of an object and then closing the window or selecting
another bus name (whatever would call elm_genlist_clear()).

During the clear process genlist will flag the next item as "walking"
so it's not gone when the current item dies (would happen if next item
is a subitem). The item would run _item_del_pre_hook() but not
_item_del(), but on the next loop iteration the next item would be the
current, then not walking anymore and during _item_del() it would
access it->item->rel which would point to the now-dead item.
2013-11-28 20:42:16 -02:00
Tom Hacohen 877abee7fe Elm scroller: prevent usage of uninitialized vars as reported by valgrind.
This improves the terminology crash rate a bit.
2013-11-28 16:33:46 +00:00
Tom Hacohen be207937f5 Elm scroller: _movement_block_get fix return val on error.
It was returning ELM_SCROLLER_SINGLE_DIRECTION_NONE instead of
ELM_SCROLLER_MOVEMENT_NO_BLOCK.
Looks like a c&p error.
2013-11-28 16:17:15 +00:00
Daniel Zaoui cfdb3eec4d Add callback when drag start in item containers 2013-11-28 16:24:01 +02:00
Daniel Zaoui d0375f8550 Rename DnD test 2013-11-28 16:24:01 +02:00
Daniel Juyung Seo 3c418bdad3 track_example_01.c: internal refactoring of track example code.
- removed unnecessary box.
- fixed a typo of gcc build command.
2013-11-28 19:59:39 +09:00
Carsten Haitzler 594d99934f elm - diskselector - fix min height to at least be min height of items
diskselector needs a major rewrite effort, BUT... until that happens
this fixes minbimum height and that fixes T506
2013-11-28 19:24:26 +09:00
Daniel Juyung Seo b947a522e1 genlist.edc: fixed decorate all mode bug when scrolling.
When we scroll the genlist with decorate all mode, newerly realized items looked like a normal mode.
This was caused by a new theme. Genlist item style should handle all the necessary parts when decorate mode is enabled/diabled.
This fixes T576.
2013-11-28 17:23:47 +09:00
Daniel Juyung Seo 2921e851e1 elm_spinner.c: support mouse wheel in spinner.
Spinner didn't work with mouse wheel which is a bug.
This fixes T587.
2013-11-28 17:07:44 +09:00
Daniel Juyung Seo e7479334c6 elm_index.c: removed unused empty function. 2013-11-28 17:07:44 +09:00
Carsten Haitzler f6b66cc1d3 genlist - fix show item if list manipulation changes shown item position
this fixes T38 - it's a bit brute force but the only way i can think
of that is not too invasive before release.
2013-11-28 16:36:55 +09:00
Seong-ho Cho 5430b76096 Update Korean translation
Summary: modified some translation as a phonetic transcription.

Reviewers: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D351
2013-11-27 12:35:23 +09:00
Rafael Antognolli a68ad7f735 elm_win/wayland: Call frame update after rotation changed.
This will update the opaque region, that was set to a different
orientation.

Fix T359.
2013-11-26 14:58:22 -02:00
Daniel Juyung Seo 10d68b4c57 test_icon.c: internal refactoring of test_icon example.
Now it looks like a normal efl app.
- Declare variables at the start of the function.
- Resize and show the window right after its creation.
- Set widgets' parents properly.
2013-11-26 23:44:27 +09:00
Daniel Juyung Seo 5ccc0bbad2 test_icon.c: removed unnecessary box.
This fixes " _smart_need_recalculate_set() Object 0x803db8e8 is not stable during recalc loop" issue which was reported by kuuko.
Special thanks to kuuko.
2013-11-26 23:41:17 +09:00
Carsten Haitzler c0e17c12f0 elm scroller - fix infinite recursion in scroller adjust
there is an infinite recursion in the scroller adjust code that can
happen some times. this fixes T434.
2013-11-26 19:34:36 +09:00
Carsten Haitzler 92d41db782 elm-config desktop - remove system from categories (so its in user prefs) 2013-11-26 13:55:03 +09:00
ChunEon Park 08357595c5 elementary/flip - revise the test code.
now flip go works with the current selected item.
2013-11-26 13:03:03 +09:00
Daniel Juyung Seo 659a91a7ac genlist.edc: fixed missing "fixed: 0 1;" notation in genlist COMPRESS_SUB macro.
"fixed" property should follow its parent part property.
This fixes T497.
2013-11-26 09:09:42 +09:00
Carsten Haitzler 758b1caeb8 printf-- 2013-11-25 21:38:21 +09:00
Carsten Haitzler 799a4a0924 elm - scroller - fix missing large set of signal callbacks on scrollbar
this fixes T138 and a bunch of other missing callback signals
2013-11-25 21:23:11 +09:00
ChunEon Park 45ed80a0c8 image - fix the elm_image_prescale_set() to work properly.
before this, it had the insane logic so the prescale_set() never work.
Now, it works well and the prescale won't be set in default. (before, the default value is 64. why?)
2013-11-25 20:48:22 +09:00
Carsten Haitzler 5936c6cfbb 1.8.0-beta1 2013-11-25 14:51:59 +09:00
Daniel Juyung Seo 933963517a test_popup.c: added popup example which has a rectangle as its parent.
This shows how the popup and its block event area size are decided.
2013-11-25 14:06:47 +09:00
Daniel Zaoui bd79c328f3 DnD: safe inlist elements removal 2013-11-24 08:54:57 +02:00
maxerba 6a23085605 Adding polish localization 2013-11-23 16:52:19 +01:00
Carsten Haitzler aff098868b wayland - fix cnp segv
this ACTUALLY fixes T471
2013-11-23 22:45:15 +09:00
maxerba 013a8b5d39 Updating galician localization 2013-11-22 21:39:00 +01:00
Daniel Juyung Seo 782c54cee0 general_funcs_example.c: fixed wrong window's resize object addition logic in general_funcs sample code.
Do not use elm_win_resize_object_add() if that object is already a child of another object.
2013-11-22 22:49:19 +09:00
ChunEon Park e520c4f519 elementary/mapbuf - reset the mapbuf correctly when the content is removed(unset)
When the content is removed(or unset) the mapbuf didn't clean up the some stuff such as removing event callback for the content.
So the unset content would be tracked still by mapbuf dangling callbacks.
2013-11-22 19:48:24 +09:00
ChunEon Park 2ec0b6556f elementary/mapbuf - set NULL if the content is empty. 2013-11-22 17:41:03 +09:00
Jihoon Kim 9e99a7f579 fix typos in doxygen and comments 2013-11-22 11:06:37 +09:00
Sanjeev BA 1a4f8a0979 T531 - Elemntary_popup does not respond to 'close' event
Reviewers: seoz, raster

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D344
2013-11-22 06:16:49 +09:00
Daniel Juyung Seo d88f919cad elm_diskselector.c: reduce item_count number on _item_del. or reducing item_count could be skipped in some cases like elm_index_clear.
This fixes T508.
2013-11-21 14:27:15 +09:00
WooHyun Jung 2920eda9e5 elementary/elm_scroller.c : For checking focus next object, focus_direcion_get function should be changed to focus_next_get function. If there is no focus next object, focus_direction_get will be executed by focus_next_get. 2013-11-21 10:13:40 +09:00
WooHyun Jung cc4a41e641 Fix build warning. 2013-11-20 20:23:49 +09:00
WooHyun Jung 10775281a7 elementary/elc_multibuttonentry.c : Multibuttonentry doesn't need to call parents' on_focus. 2013-11-20 20:17:17 +09:00
Carsten Haitzler 611d38a06e elm - table - protect against invalid cell/row values (16bit overflow) 2013-11-20 18:06:42 +09:00
ChunEon Park d362b574ab elementary/ctxpopup - fix T235 ctxpopup_example_01 can popup many times at once.
I know this is not fundamental fix but there is no solution at this moment unless fixing the evas.
2013-11-20 10:58:05 +09:00
Daniel Juyung Seo fc48b1bf7a genlist_example_04/05.c: initialize pointer variables and check null.
This removes build warnings.
2013-11-20 10:46:10 +09:00
Daniel Juyung Seo 674287da50 index_example_01.c: sample code internal refactoring.
- avoid using unnecessary global variable.
- use common name for item variable, it.
- print out more useful messages on _active_set.
2013-11-20 10:46:10 +09:00
Daniel Juyung Seo 7e53ba272d index_example_01.c: fixed wrong example code. elm_index_level_go() should be called after every index item changes.
This fixes T510.
2013-11-20 10:46:09 +09:00
ChunEon Park 8a09a69acf elementary/transit - fix the T511 "_transit_auto_reverse_get() Elm_Transit transit has already been deleted" 2013-11-20 08:53:20 +09:00
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