Stefan Schmidt [Mon, 19 Jan 2015 14:12:06 +0000 (15:12 +0100)]
release: Update NEWS and bump version for 1.13.0-beta1 release
Stefan Schmidt [Mon, 19 Jan 2015 11:56:50 +0000 (12:56 +0100)]
Revert "genlist: added reorder feature on key events"
This reverts commit
f99be3a1d6bdc63153598b592b5437c33da44bf0.
The API is not ready to be released. Please see the thread on the e-devel
mailing list under this subject. This can get another try in the 1.14
release cycle.
Conflicts:
src/lib/elm_genlist.c
ChunEon Park [Mon, 19 Jan 2015 08:29:20 +0000 (17:29 +0900)]
genlist: fix incorrect grammar.
No allow attaching double definite articles.
Thanks vincent for reporting.
Jaehyun Cho [Mon, 19 Jan 2015 06:35:17 +0000 (15:35 +0900)]
elm_transit: Fix crash issue caused by multiple transit effects.
Summary:
Fix crach issue caused by multiple transit effects on a single object.
This patch prevents deleting obj_data while the obj_data is still used by other transit objects.
This fix is related to commits "Support zoom keeping current map effect."(
60214e6a172e42303fdfc69ef3d1996b25132242)
and "Support rotation keeping current map effect."(
1e06309be42fd2b5d0900b16da0178215c111681).
@fix
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1878
ChunEon Park [Mon, 19 Jan 2015 06:26:21 +0000 (15:26 +0900)]
genlist: fix genlist multi-selected problem.
user request was ignored if they calls the genlist_item_selected_set(true)
to another item in an item selected callback. because genlist made
the selected item highlighted after user "selected" callback.
The behavior had been changed on my genlist refactoring,
so the behavior was actually just restored.
This issue resolves T2020
Jaehyun Cho [Mon, 19 Jan 2015 06:30:26 +0000 (15:30 +0900)]
elm_transit: Fix to support zoom rate zero.
Summary:
Fix to support zoom rate zero by using evas_map_util_zoom() instead of evas_map_util_3d_perspective().
@fix
Reviewers: Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D1877
WooHyun Jung [Sat, 17 Jan 2015 07:29:46 +0000 (16:29 +0900)]
widget: elm_win can be unfocused only when its ecore_evas loses focus.
Stefan Schmidt [Fri, 16 Jan 2015 20:16:04 +0000 (21:16 +0100)]
configure: Fix typo in coverage option help text
Cedric BAIL [Fri, 16 Jan 2015 15:39:37 +0000 (16:39 +0100)]
tests: add coverage support.
And our current score is 19% functions coverage for Elementary.
Cedric BAIL [Fri, 16 Jan 2015 13:29:23 +0000 (14:29 +0100)]
tests: actually run the main loop properly to be able to enter in idle state.
Note that the iterate function will never trigger the idler that are registered
in Ecore. That's by definition. I changed the code to actually use the full
main loop and trigger the change detection on idle enterer. That should be enough
for Elementary as all idler should logically affect the visual aspect of something
at some point and exit idle.
Thanks marcel-hollerbach@t-online.de for helping me debug this issue.
maxerba [Fri, 16 Jan 2015 11:34:13 +0000 (12:34 +0100)]
Updating italian translation
ChunEon Park [Thu, 15 Jan 2015 14:01:00 +0000 (23:01 +0900)]
genlist: code clean up
highlight item with one entry.
ChunEon Park [Thu, 15 Jan 2015 13:36:57 +0000 (22:36 +0900)]
genlist: don't access item after removing it.
ChunEon Park [Thu, 15 Jan 2015 13:36:28 +0000 (22:36 +0900)]
genlist: guard the item deletion problem.
this exceptional code prevents the deletion of the item
in the middle of the callback.
ChunEon Park [Thu, 15 Jan 2015 07:12:37 +0000 (16:12 +0900)]
genlist: fix the access of the invalid items.
still, there were case item or genlist is cleared in the user callback.
don't access the cleared items if they are requested deletion.
Mike Blumenkrantz [Wed, 14 Jan 2015 20:19:48 +0000 (15:19 -0500)]
genlist needs to also highlight items on keyboard select
this should probably just happen in _item_select() to avoid future incidents
ref T1986
Mike Blumenkrantz [Wed, 14 Jan 2015 19:41:50 +0000 (14:41 -0500)]
Revert "genlist: fix a crash when deleting a item in selected callback."
This reverts commit
c80b24baf815e35c160bf0dbe8ecae6ea247aef8.
this broke the selection callback completely and makes every genlist app unusable.
please, please, please, please, I'm seriously begging you hermet, do ANY amount of testing before making further genlist commits.
ChunEon Park [Wed, 14 Jan 2015 14:30:43 +0000 (23:30 +0900)]
genlist: fix a crash when deleting a item in selected callback.
if user deletes the item in the callback,
current function(_item_select) would be corrupted.
just leave the callback call in the last of the function.
ChunEon Park [Wed, 14 Jan 2015 14:19:29 +0000 (23:19 +0900)]
genilst: fix regression bug added in
0e7d521151ba93f3b5955caaf9b906e160ab6057
some logic of deleting item were duplicated.
this fixes fileselector crash issue.
Lukasz Stanislawski [Wed, 14 Jan 2015 13:49:41 +0000 (14:49 +0100)]
Do not explicite include atspi headers.
Summary: fixes make check failures on atspi tests.
Reviewers: cedric
Subscribers: seoz
Maniphest Tasks: T2001
Differential Revision: https://phab.enlightenment.org/D1870
ChunEon Park [Wed, 14 Jan 2015 13:07:00 +0000 (22:07 +0900)]
genlist: set missed item reference.
this missing would cause crash of the genlist when it's items are cleared.
ChunEon Park [Wed, 14 Jan 2015 13:04:26 +0000 (22:04 +0900)]
genlist: fix a crash of genlist group tree example.
don't corrupt list pointer.
we can clear items more simply.
Thanks ya-kov for reporting.
ChunEon Park [Wed, 14 Jan 2015 10:50:15 +0000 (19:50 +0900)]
widget: set missing elm_widget_item_magic
Cedric BAIL [Tue, 13 Jan 2015 14:25:10 +0000 (15:25 +0100)]
photocam: force reload of image on file_set.
Thanks, bug reported by thierry@substanciel.fr .
Carsten Haitzler (Rasterman) [Mon, 12 Jan 2015 23:53:14 +0000 (08:53 +0900)]
elm image - fix image rotation in non-common cases
this fixes
d6f4040d0c62c220f2339d2a57126fde43e85e19 for the non-common
path that normalizes then applies new orientation
@fix
Chris Michael [Mon, 12 Jan 2015 17:04:19 +0000 (12:04 -0500)]
elementary: Fix dereference of null return value
Summary: This fixes Coverity CID1261370. strrchr can return NULL here,
so we need to check that 'p' is valid.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Mon, 12 Jan 2015 13:11:43 +0000 (14:11 +0100)]
release: Update NEWS and bump version for 1.13.0-alpha1 release
Tom Hacohen [Mon, 12 Jan 2015 10:13:34 +0000 (10:13 +0000)]
Elm win: Fix added internal parameter to the win constructor.
Internal hacks should not affect user facing API. This commit adds a new
API to do the internal hack. This is still bad, but it's much less than
what was there before.
This fixes the main issue introduced by commit:
63a5cdf0f8516c16a62233da0c2af0e10a13264b
Tom Hacohen [Mon, 12 Jan 2015 10:13:00 +0000 (10:13 +0000)]
Elm win: Fix elm_win_fake()'s name to follow conventions.
Daniel Zaoui [Thu, 8 Jan 2015 09:54:04 +0000 (11:54 +0200)]
DnD: fix callbacks deletion for inline windows.
During deletion of a window, widgets considered as droppable targets
have to remove their DnD callbacks. To achieve this, elm_drop_target_del
is called from the DEL callback (destructor). This function has to
determine if X11 or Wayland is used. Since the parent is already unknown
at this stage, only checking the engine name can give this
information.
On a regular window, the engine name is related to the target display.
The problem happens when an inline window is used. The engine is a
buffer and no information is given regarding the target display.
The patch fixes it by checking the nature of the Ecore Evas parents. It
supports nested windows (inline inside inline... inside XWin).
@fix
Jee-Yong Um [Mon, 12 Jan 2015 04:36:55 +0000 (13:36 +0900)]
elm_colorselector: Fixed to make palette_box have proper height
Summary:
palette_box had stretched height exceeding its items size.
Now it will have proper height fitting to own items.
Reviewers: Hermet, Jaehyun, raster
Reviewed By: raster
Subscribers: raster, Hermet
Differential Revision: https://phab.enlightenment.org/D1840
Carsten Haitzler (Rasterman) [Mon, 12 Jan 2015 03:08:46 +0000 (12:08 +0900)]
elm - fix build problem with examples - elocation api
this fixes build of location_example_01.c as per fix in D1863 but done
properly so people can't use elm elocation unless they enable beta apis
VBS [Mon, 12 Jan 2015 02:51:41 +0000 (11:51 +0900)]
Scroller : Fix elm_scroller_last_page_get API wrong return value
Summary:
When first page is last page, elm_scroller_last_page_get need to return 0.
But if pagesize is bigger then current content height or width, value will be returned -1.
So fix this cases to return 0.
Test Plan: If set elm_scroller_page_set bigger then current content size, then issue is occurred.
Reviewers: seoz, jaehwan, raster
Reviewed By: raster
Subscribers: eagleeye
Differential Revision: https://phab.enlightenment.org/D1860
Carsten Haitzler (Rasterman) [Mon, 12 Jan 2015 02:28:13 +0000 (11:28 +0900)]
elm - elm image orientation api fix - major bug in implementation
@fix
The elm image orient_set api looks like it is a state, and it is
documented to SET the orietnation, but the code actually DOEs that
orientation when you set it. so docs and api name didnt match
functionality at all. this was bad an an oversight. you didn't notice
until you set orientation multiple times to an image. this fixes the
implementation to be as documented - a state that is applied and
remains that way until set to something else. setting to the same
orientation has no efect as with color, size, etc. etc. in evas.
you could look on this as an api break, but then either the docs
change AND api name changes to match the code, or code changes to
match the docs. we don't keep bug compatibility in efl and in this
case i'm making the call to break the behavior of a function as it
was broken already with respect to name and docs.
ChunEon Park [Mon, 12 Jan 2015 00:58:35 +0000 (09:58 +0900)]
Mike Blumenkrantz [Sun, 11 Jan 2015 23:17:19 +0000 (18:17 -0500)]
elm_table now supports alignment
Mike Blumenkrantz [Sun, 11 Jan 2015 20:18:02 +0000 (15:18 -0500)]
fake win should not perform widget focus setting on canvas focus-in
Yakov Goldberg [Sun, 11 Jan 2015 14:32:42 +0000 (16:32 +0200)]
Revert "genlist: use eina bool"
This reverts commit
1879cc39258c63c24f0abcff56558b1f1b60167a.
Hermet, please check this commit it makes Fileselector crash,
looks like you inverted the values: 1 should be EINA_TRUE.
I recommend you to use Exactness to run all the tests automatically.
ChunEon Park [Sat, 10 Jan 2015 08:47:14 +0000 (17:47 +0900)]
genlist: remove unnecessary null check.
ChunEon Park [Sat, 10 Jan 2015 08:27:48 +0000 (17:27 +0900)]
genlist: revert
6f177e5db01553276058235a81cbfcc9b2cd4e23
this broke decoration item text. reverted.
ChunEon Park [Sat, 10 Jan 2015 07:58:45 +0000 (16:58 +0900)]
genlist: send decoration active signal to view item.
emit signal to view item to do something additional.
ChunEon Park [Sat, 10 Jan 2015 07:44:38 +0000 (16:44 +0900)]
genlist: fix regression bug. (T1986)
newly added in
2955ebc5dd01fbfb5a3286b724c8a40915864ad8
Mike Blumenkrantz [Sat, 10 Jan 2015 06:36:27 +0000 (01:36 -0500)]
ELM_WIN_FAKE types should allow focus callbacks on windows
Mike Blumenkrantz [Sat, 10 Jan 2015 05:45:22 +0000 (00:45 -0500)]
entry now finds its window object more effectively for cnp init
Mike Blumenkrantz [Sat, 10 Jan 2015 05:33:55 +0000 (00:33 -0500)]
+elm_win_fake(), ELM_WIN_FAKE type
this is a giant hack to provide widget parenting in e. do not use this function, do not use this type, do not even read the related documentation.
@feature
ChunEon Park [Sat, 10 Jan 2015 05:14:57 +0000 (14:14 +0900)]
genlist: code refactoring.
clean up decorate_item_realize() function.
use macro and remove old debug code.
no actual logical change.
ChunEon Park [Fri, 9 Jan 2015 14:27:33 +0000 (23:27 +0900)]
genlist: clean up genlist_smart_del() func.
removed unnecessary calls.
ChunEon Park [Fri, 9 Jan 2015 14:03:37 +0000 (23:03 +0900)]
widget: remove redundant internal macros
we don't need these macros anymore since eo has introduced.
Jean Guyomarc'h [Fri, 9 Jan 2015 05:41:04 +0000 (14:41 +0900)]
Do not call ecore_x_init() when not using X display.
Summary:
On some systems (e.g. OS X), both Apple's windows manager and X11 can cohabit,
therefore we need to check for the DISPLAY environment variable only when ELM_DISPLAY
is not specified.
Reviewers: cedric, devilhorns, seoz, raster
Reviewed By: raster
Differential Revision: https://phab.enlightenment.org/D1721
Mike Blumenkrantz [Thu, 8 Jan 2015 23:18:25 +0000 (18:18 -0500)]
client frame client clip should be relative to client during clip, not border
ref T1930
ChunEon Park [Thu, 8 Jan 2015 14:58:11 +0000 (23:58 +0900)]
genlist: if the item was selected, then skip item_select() procedure.
ChunEon Park [Thu, 8 Jan 2015 14:54:37 +0000 (23:54 +0900)]
genlist: simple code clean up
no logic change.
ChunEon Park [Thu, 8 Jan 2015 14:41:29 +0000 (23:41 +0900)]
genlist: use eina bool
ChunEon Park [Thu, 8 Jan 2015 14:37:06 +0000 (23:37 +0900)]
genilst: descriptive comment++
ChunEon Park [Thu, 8 Jan 2015 14:23:44 +0000 (23:23 +0900)]
genlist: remove internal callback usage.
there were multiple ports for item procedures.
one port is enough.
ChunEon Park [Thu, 8 Jan 2015 14:03:52 +0000 (23:03 +0900)]
genilst: get rid of lazy deletion.
delete genlist item directly.
instead, remove the bunch of code that was related to lazy deletion.
we can success, if we clean up the resources and callback calls properly.
here i only found item focus callback that (may) required the lazy deletion.
Stefan Schmidt [Thu, 8 Jan 2015 12:50:17 +0000 (13:50 +0100)]
theme: Add newly added icons to EXTRA_DIST to make sure they end up in the tarball
We need to list the icons here to let autotools know we want them int the release
tarballs.
Daniel Zaoui [Thu, 8 Jan 2015 12:05:13 +0000 (14:05 +0200)]
Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner"
This reverts commit
fd71874024d14e5374aef93eae7d4cfbc0ea4521.
As the commit message says, the test crashes now. The ticket 1973 is
related to that issue.
Now, I understand there could be a bug inside inline stuff but it doesn't
mean that you have to push it and screw up all the test. You could just
attach a patch to the ticket and that's all folks!
ChunEon Park [Thu, 8 Jan 2015 10:50:52 +0000 (19:50 +0900)]
genlist: send signal to deco_all_view additionally.
ChunEon Park [Thu, 8 Jan 2015 10:49:39 +0000 (19:49 +0900)]
genlist: +warning
ChunEon Park [Thu, 8 Jan 2015 10:47:14 +0000 (19:47 +0900)]
genlist: make up lack of behaviors in item_disable
ChunEon Park [Thu, 8 Jan 2015 10:43:57 +0000 (19:43 +0900)]
genlist: replace to internal call
vivek [Thu, 8 Jan 2015 10:46:52 +0000 (19:46 +0900)]
elm_win: Fixed the issue of updating ecore_wl_window location
Summary:
@Fix
Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns
Differential Revision: https://phab.enlightenment.org/D1856
VBS [Thu, 8 Jan 2015 10:36:19 +0000 (19:36 +0900)]
Gengrid: fix gengrid reorder animation bug
Summary: When gengrid reordering by thumb scroll, some items disapear on screan.
Test Plan:
1. Enabled thumb scroll in elm config
2. Launch gengrid test in elementary_test
3. Check reorder mode enabled
4. Try to move reordering item to upon or lower area by thumb scrolling,
items disapear.
Reviewers: seoz, raster
Reviewed By: raster
Subscribers: bluezery
Differential Revision: https://phab.enlightenment.org/D1852
Shinwoo Kim [Thu, 8 Jan 2015 09:54:30 +0000 (18:54 +0900)]
[spinner] use strncmp, not strcmp to support styles starting with vertical
Summary: Use strncpm, not strcmp to support styles starting with vertical
Test Plan: Define spinner style which has 'vertcial' as a prefix
Reviewers: raster, cedric, seoz, woohyun, jaehwan, Hermet, jpeg
Subscribers: seoz
Differential Revision: https://phab.enlightenment.org/D1839
ChunEon Park [Thu, 8 Jan 2015 09:10:12 +0000 (18:10 +0900)]
genlist: +parent validation check
ChunEon Park [Thu, 8 Jan 2015 08:53:53 +0000 (17:53 +0900)]
genlist: code refactoring.
there are 2 variables that has same purpose.
cut off one dependency.
shilpa.singh [Thu, 8 Jan 2015 07:06:34 +0000 (16:06 +0900)]
elm_widget: elm_object_disabled_set API fix
Summary:
When elm_object_disabled_set API is called on any widget, All the
subobjects of the widget also has to be disabled issue fix.
@fix
Test Plan:
Call the API elm_object_disabled_set on any container widget like box,
layout etc:-, fix can be tested with test_box.c and test_layout.c test
codes.
Reviewers: Hermet, seoz, raster
Subscribers: govi, rajeshps
Differential Revision: https://phab.enlightenment.org/D1778
Jee-Yong Um [Thu, 8 Jan 2015 06:47:24 +0000 (15:47 +0900)]
elm_image: Fixed to have exact size using elm_image_fill_outside_set()
Summary:
There was a problem that image is stretched over its size
when elm_image_fill_outside_set() is applied.
This patch fixed that.
@fix
Reviewers: Hermet
Subscribers: Hermet
Differential Revision: https://phab.enlightenment.org/D1854
ChunEon Park [Thu, 8 Jan 2015 02:13:02 +0000 (11:13 +0900)]
genlist: fix crash issue.
"selected" list has the eo list, not elm_gen_item.
this is side effect caused while on refactoring genlist.
Nibha Sharma [Thu, 8 Jan 2015 01:46:05 +0000 (10:46 +0900)]
elm_font: Fixed resource leak in function elm_font_available_hash_add
Summary: @Fix
Reviewers: raster, singh.amitesh, seoz, kimcinoo, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D1849
ChunEon Park [Thu, 8 Jan 2015 01:34:12 +0000 (10:34 +0900)]
theme: fix misprint in popup style alias name
@fix
Reviewers: cedric, raster, seoz
Subscribers: reutskiy.v.v
Projects: #elementary
Differential Revision: https://phab.enlightenment.org/D1848
Carsten Haitzler (Rasterman) [Wed, 7 Jan 2015 10:33:27 +0000 (19:33 +0900)]
elm filesel - fix eio access of widget data after de in eio threads
@fix
ChunEon Park [Wed, 7 Jan 2015 09:11:51 +0000 (18:11 +0900)]
genlist: add more arguments validation checks
Carsten Haitzler (Rasterman) [Wed, 7 Jan 2015 07:49:08 +0000 (16:49 +0900)]
elm progressbar - fix invalid access to freed units string
@fix
Marcel Hollerbach [Wed, 7 Jan 2015 06:17:46 +0000 (15:17 +0900)]
fileselector: added a search icon
Summary:
fileselector: redirect keystrokes to the searchbar
Keystrokes like a-z A-Z 0-9 are redirected to the searchbar, so you dont
need to click arround to search files in the fileselector.
The search icon is from ApB (Apostolos B.), thx for that! :)
@feature Improved the searchbar
Reviewers: raster, seoz
Subscribers: ryuan.choi, cedric, seoz
Differential Revision: https://phab.enlightenment.org/D1237
Conflicts:
src/lib/elc_fileselector.c
ChunEon Park [Wed, 7 Jan 2015 06:49:19 +0000 (15:49 +0900)]
genlist: + parent validation check
ChunEon Park [Wed, 7 Jan 2015 06:20:45 +0000 (15:20 +0900)]
genlist: code refactoring.
type check than boolean(to be removed)
ChunEon Park [Wed, 7 Jan 2015 06:18:01 +0000 (15:18 +0900)]
genlist: use simple macro
ChunEon Park [Wed, 7 Jan 2015 05:39:34 +0000 (14:39 +0900)]
genlist: null check++
ChunEon Park [Wed, 7 Jan 2015 05:38:25 +0000 (14:38 +0900)]
genlist: clean up missing resources in genlist_clear()
ChunEon Park [Wed, 7 Jan 2015 05:10:18 +0000 (14:10 +0900)]
genlist: cancel multi selected items.
cancel multi selected items if the multi-select mode is canceled.
@fix
ChunEon Park [Wed, 7 Jan 2015 02:42:08 +0000 (11:42 +0900)]
colorselector: memory leak fix in _color_bars_add
Summary:
this function is called at least twice: in _smart_add and every time _theme_apply is called.
so we need either correctly free sd->cb_data or reuse it
@fix
Reviewers: seoz, cedric, raster, Hermet
Subscribers: reutskiy.v.v
Projects: #elementary
Differential Revision: https://phab.enlightenment.org/D1841
Nak-Gyeong Kim [Wed, 7 Jan 2015 02:22:07 +0000 (11:22 +0900)]
elm_segment_control: Fix elm_object_item_text_set bug.
Summary:
Cause : When part name is NULL, edje_object_part_text_escaped_set is not called.
Measure : Add code for each conditions.
@fix
Reviewers: Hermet
Subscribers: Hermet
Differential Revision: https://phab.enlightenment.org/D1847
woochan lee [Wed, 7 Jan 2015 02:16:38 +0000 (11:16 +0900)]
elm_diskselector.c: idle enterer add condition changed.
Summary:
The idle enterer added even after deleted sd for diskselector.
it makes crash.
@fix
Test Plan:
1. Run elementary_test
2. Execution diskselector.
3. Close diskselector sample window.
4. Crash occured.
Reviewers: Hermet, seoz, Jaehyun
Differential Revision: https://phab.enlightenment.org/D1843
Mike Blumenkrantz [Tue, 6 Jan 2015 21:53:59 +0000 (16:53 -0500)]
win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner
ref T1973
Mike Blumenkrantz [Tue, 6 Jan 2015 20:19:00 +0000 (15:19 -0500)]
elm_image now inherits edje signal emit
@feature
Stephen Houston [Tue, 6 Jan 2015 19:49:55 +0000 (13:49 -0600)]
thumb: Make sure to stop pulse animation on thumbs that failed to generate
ChunEon Park [Tue, 6 Jan 2015 11:17:03 +0000 (20:17 +0900)]
genlist: refactor code.
select/unselect items by using common select function.
Carsten Haitzler (Rasterman) [Tue, 6 Jan 2015 09:48:50 +0000 (18:48 +0900)]
theme - more efm icons from appb
fixes T1582
ChunEon Park [Tue, 6 Jan 2015 06:50:30 +0000 (15:50 +0900)]
genlist: use macro as possible.
ChunEon Park [Tue, 6 Jan 2015 06:46:35 +0000 (15:46 +0900)]
gelnist: unswallow makes sense. not smart member del.
Chris Michael [Mon, 5 Jan 2015 18:48:45 +0000 (13:48 -0500)]
elementary: Fix issue with event data causing an invalid free
Summary: Since we end up calling free on the event->data parameter
after a drop is completed, we should actually be allocating a string
for this data (to be free'd later). This also fixes an issue where the
event length was not being set.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 5 Jan 2015 17:17:03 +0000 (12:17 -0500)]
elementary: Fix return values to use Eina_Bool
Summary: This function is expecting Eina_Bool as the return value, not
ints so let's use EINA_FALSE here.
NB: this just fixes a copy/paste issue
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 5 Jan 2015 17:05:50 +0000 (12:05 -0500)]
elementary: Fix DnD to work again in wayland
Summary: In order for ecore_wl to start a drag, we need to send the
parent window of the object being dragged. Previous code was not
getting the parent window properly.
NB: This patch also fixes an issue where the data being sent to the
drop callback was being incorrectly sent.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
ChunEon Park [Mon, 5 Jan 2015 13:17:12 +0000 (22:17 +0900)]
genlist: keep the item class as given argument.
ChunEon Park [Mon, 5 Jan 2015 11:43:58 +0000 (20:43 +0900)]
genlist: Fix genlist index get bug
Because not all item block have "max_items_per_block" number of items in it's block.
So the calculation is not correct when items are added & removed in each block.
Anyhow, we need more efficient way for this API because genlist uses inlinst.
ChunEon Park [Mon, 5 Jan 2015 11:21:26 +0000 (20:21 +0900)]
genlist: add some comment in code.
ChunEon Park [Mon, 5 Jan 2015 06:56:27 +0000 (15:56 +0900)]
genlist: use macro as possible.
ChunEon Park [Mon, 5 Jan 2015 06:55:39 +0000 (15:55 +0900)]
genlist: use ELM_NEW