Commit Graph

7867 Commits

Author SHA1 Message Date
Jérémy Zurcher 72dc271d32 Elm_App: protect against type redefinition 2014-08-22 10:20:22 +02:00
Carsten Haitzler f934291859 elm engine choice and logic rationalize
now that we have ELM_DISPLAY and ELM_ACCEL we have little need for a
lot of the elm engine stuff and frankly a lot was broken if you used
multiple engines etc. so this fixes a lot of it nd removes a lot of
cruft. i think i got it all right, but i may have oppsied. this also
remo9ves engine support for engines long gone from evas.
2014-08-22 14:48:13 +09:00
Daniel Juyung Seo e68db15448 genlist: added internal function _view_clear() for common codes.
Use this function for normal items, decorate items, and decorate all
items.
2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 08fe37c254 genlist: merged _item_content_realize() and _item_mode_content_realize(). 2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 460609ce80 genlist: moved internals functions before refactoring it.
_item_text_realize(), _item_content_realize(), and
_item_state_realize().
2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 122dda0b48 genlist: Added internal functions _view_create and _view_style_update
for the commonly used codes.
2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 9c81e0e02a genlist: Unbreak double click smart callback.
Fixed a typo in my commit adb976e.
2014-08-22 03:42:11 +09:00
Daniel Juyung Seo 4b4ed72181 gengrid, list: Use newly introduced macros internally.
ELM_GENGRID_DATA_GET_FROM_ITEM and ELM_LIST_DATA_GET_FROM_ITEM.
2014-08-22 03:09:10 +09:00
Daniel Juyung Seo 408e334bf6 list: Fixed ELM_OBJECT_SELECT_MODE_NONE codes and added more DISPLAY_ONLY check.
Also made an internal function to check it easily.

@fix
2014-08-22 03:02:01 +09:00
Daniel Juyung Seo fc4a3a840e gengrid: Fixed ELM_OBJECT_SELECT_MODE_NONE codes and added more DISPLAY_ONLY check.
Also made an internal function to check it easily.

@fix
2014-08-22 02:48:29 +09:00
Daniel Juyung Seo 4a398c6ee9 genlist: Fixed ELM_OBJECT_SELECT_MODE_NONE codes and added more DISPLAY_ONLY check.
Also made an internal function to check it easily.

@fix
2014-08-22 02:47:24 +09:00
Daniel Juyung Seo 844ff540cb gengrid: Fixed _item_unselect to check select value not highlight value.
This caused infinite loop in a DISPLAY_ONLY mode on clicking an item.

@fix
2014-08-22 01:12:38 +09:00
Daniel Juyung Seo 509112325d gengrid, genlist, list, toolbar: Fixed DISPLAY_ONLY select mode for an object.
DISPLAY_ONLY select mode for elm_xxx_item_select_mode_set works fine but
elm_xxx_select_mode_set was broken.

@fix
2014-08-22 01:12:38 +09:00
Daniel Juyung Seo 24b442c355 elm: Added more documentation about the select_mode enum. 2014-08-22 01:12:34 +09:00
Daniel Juyung Seo 4556d4e5ef gengrid, genlist, list: Changed %c to @p for parameters in the documentation. 2014-08-21 23:51:22 +09:00
Jae Yong Hwang 9a13ed55fc genlist: Fixed item select logic when item select mode is ALWAYS.
Summary:
ELM_OBJECT_SELECT_MODE_ALWAYS mode for elm_genlist_item_select_mode
was broken. In the item select routine, item mode(it->mode) was not
checked. So, I added the check routine there.

@fix

Test Plan: I revised the elementary_test code and tested with that.

Reviewers: raster, seoz

Reviewed By: seoz

Subscribers: SanghyeonLee, bluezery

Differential Revision: https://phab.enlightenment.org/D1347
2014-08-21 22:54:22 +09:00
Daniel Juyung Seo f66453d82e notify: fix notify to keep the consistency even that was wrongly implemented.
According to hermet's review comments, let's keep the consistency even
if it was wrongly implemented.
2014-08-21 22:45:01 +09:00
Daniel Juyung Seo 7804b92b18 Revert "Revert "elm_notify: fixing style applying""
This reverts commit 2e2d003efeded27955cc9301279cd3a0d362f548.

Revert this patch to leave the credit to Andrii Kroitor.
I will fix this correctly in the next commit.
Sorry Andrii for the wrong review comments that can break compatibility.
But actually it was not documented at all so there was no problem.
Just to please hermet, let's not do more.
2014-08-21 22:39:51 +09:00
ChunEon Park 34b07e19ed Revert "elm_notify: fixing style applying"
This reverts commit 0ca13c33cd1e89c85793b1d3f5245d86459e051c.

Sorry this can't be pushed cause of compatibility break.
2014-08-21 20:13:17 +09:00
ChunEon Park edd1f32d83 Revert "notify: changed internal formatting for readability."
This reverts commit a2afbe91e851f3d943736d2a1aae9e2721d1a0d5.

definitely this will break compatibility.
and as i mentioned, we should prevent as possible that
until there are other methods.
2014-08-21 20:09:58 +09:00
Tom Hacohen d24479610b Win: Add an animator,tick event (not currently implemented).
This event will be used to replace ecore_animator.
2014-08-21 11:04:28 +01:00
Tom Hacohen dc8ca9d436 Prefs: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen 307e03c1b1 Image: Use image interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen ee6cd98784 Video: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen dd99ee34fd Layout: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen eb5cdaf088 Thumb: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen 0b9ec03952 Photo: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen 282e21a10a Bg: Use file interface 2014-08-21 11:04:28 +01:00
Tom Hacohen 4cc392ce5e Image: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen 157d819572 Adjust functions to use the new efl interfaces. 2014-08-21 11:04:28 +01:00
Daniel Kolesa c159cb2ebc update according to Eolian syntax changes 2014-08-21 09:27:32 +01:00
Daniel Juyung Seo 5df0b2e104 notify: changed internal formatting for readability. 2014-08-21 01:19:17 +09:00
Andrii Kroitor 83c40037fe elm_notify: fixing style applying
Summary:
added support of bottom_left, bottom_right, top_left, top_right styles
of notify that are present in default theme

@fix

Reviewers: cedric, seoz, Hermet

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1329
2014-08-21 01:19:17 +09:00
Daniel Juyung Seo c231ed781a map: added missing since tag for a new api. 2014-08-21 00:08:48 +09:00
Boris Faure 354ab4683e slider: update documentation on elm_slider_step_set/get (since 1.8) 2014-08-15 11:01:52 +02:00
ChunEon Park c81683ba5a entry: fix clearing selection region problem while it's already selected.
if entry has selection, it would be cleared if selection region set is requested again.
because entry cancel the selection area after it reset the selection area.
unfortunately, the selection area is new selection so selection area is gone.

this patch prevent clearing selection and keep the new selection.

@fix
2014-08-15 17:44:13 +09:00
Daniel Juyung Seo 6ddbdfdbd0 doc: removed @ from @since if it needs to be inlined the documentation. 2014-08-14 00:42:43 +09:00
Daniel Juyung Seo 84c5cc64f1 panel: changed wrong term - drawer - in panel.
drawer is not an official terminology in panel.
2014-08-14 00:32:34 +09:00
Daniel Juyung Seo 46c96ef433 radio: added quotes for smart callback name in the documentation. 2014-08-14 00:22:52 +09:00
Daniel Juyung Seo ad5d950bf1 doc: added @c for eina bool in the documentation. 2014-08-13 19:50:38 +09:00
Carsten Haitzler c1a7135369 elm - do not do x11 main/config stuff without DISPLAY set
the engine checks are also broken - but that's a much bigger change,
so this fixes elm config and main code to not do their x11 work if no
DISPLAY env var is set. this is right for a wayland world where you
don't want DISPLAY but WAYLAND_DISPLAY set and used. this fixes
several ERRs that should never have hapapned in this setup.
2014-08-11 08:21:03 +09:00
Carsten Haitzler 6922450ec9 elm win - fix invalid use of elm engine config per window
lots of code unsing ENGINE_COMPARE where it should get the engine from
the ecore_evas directly - it happened to work as we happened to have
apps that have windows only for x11, or wayland etc, but not both in
an app. this was wrong, so remove the engine compare macro and do it
properly. no laziness.
2014-08-11 08:01:45 +09:00
zmike fc26cb04da gengrid once again selects items using keyboard when no item was previously selected
this was yet another thing broken by the mostly-unreviewed and untested widget item focus feature. it's still not completely fixed, since the reorder modes are broken, but at least it works for the general case again

@fix
2014-08-10 14:30:34 -04:00
Davide Andreoli 4052f7521e Genlist: do not segv if the user clear the list on item double-click
@fix
moved the user callbacks call at the end of the function, so the user
is able to modify the list without making the code below the call to
fail miserably.

Also improved the Genlist Del test to also include this case.
2014-08-09 17:53:46 +02:00
Davide Andreoli 922055f9c7 blank line --
Remove an unwanted blank line from my previous commit
2014-08-09 15:59:39 +02:00
Davide Andreoli 3235f96eb1 Gengrid: fix position calculation
@fix
To calc the position in a table you need to make the modulo of the col/row size, not the modulo on the x/y value

This unbreak the elm_gengrid_item_pos_get() function that was reporting wrong values
2014-08-09 15:47:59 +02:00
Lukasz Stanislawski 5b0522c8af atspi: remove EAPI from elm_atspi_text_text_attribute_free
Issue reported by Stefan Schmidt. Above atspi function had EAPI attribute
defined in implementation file, however this symbol should not be public in
elementary 1.11.
2014-08-08 11:17:00 +02:00
Carsten Haitzler 2b6ae14af0 elm cnp - remove usless check/code according to CID 1193248 2014-08-08 16:45:28 +09:00
Carsten Haitzler b0d9d4977d elm gengrid - fix CID 1222464
it's possible to have a NULL item in this code - also missing a valid
return at the end (though code path never gets there).
2014-08-08 16:23:10 +09:00
Carsten Haitzler f712ac567b elm entry - fix CID 1194480 in coverity
if sd->append_text_left was still set, free it - in case it was and
idler was not set.
2014-08-08 16:16:42 +09:00