Commit Graph

12559 Commits

Author SHA1 Message Date
Vitor Sousa f8b5b375ea elementary: use the Eolian name for Elm.Genlist.Item.Type in .eo files
Replace Elm_Genlist_Item_Type with Elm.Genlist.Item.Type in .eo files
to use the proper Eolian name of this enumeration.
2016-02-09 14:14:08 -02:00
Vitor Sousa a2f29b86c5 elementary: move definition of Elm_Gen_Item_Class to elm_general.eot
Move the definition of Elm_Gen_Item_Class from elm_gen.h to
elm_general.eot.
Also move the definition of its aliases Elm_Gengrid_Item_Class and
Elm_Genlist_Item_Class from elm_gengrid_common.h and
elm_genlist_common.h to elm_general.eot.

Rename these types to Elm.Gen.Item.Class, Elm.Gengrid.Item.Class and
Elm.Genlist.Item.Class to follow Eolian standards. And rename all
occurrences in .eo files accordingly.

Put elm_gen.h include above elm_general.h to allow the callback fields
to be defined in elm_general.eot.
2016-02-09 14:14:08 -02:00
Vitor Sousa e1881b05f4 elm_calendar,elm_datetime: move struct tm typedefs to .eo files
Move elm_calendar and elm_datetime struct tm typedefs to theirs
respective .eo files.
Use Ecore.Time, an alias to struct tm, to refer to this type in the
.eo files.

Use namespaced names for these typedefs, in order to follow Eolian
standards.
2016-02-09 14:13:59 -02:00
Vitor Sousa 222f3704b3 elementary: move definition of Elm_App_View_State to elm_general.eot
Move the definition of the enumeration Elm_App_View_State from
elm_app_common.h to elm_general.eot, and give it the the Eolian name:
Elm.App.View_State.

Replace Elm_App_View_State with Elm.App.View_State in
elm_app_client_view.eo and elm_app_server_view.eo.
2016-02-09 13:34:37 -02:00
Vitor Sousa 1dd8fbcda9 elm gengrid: fix Elm.Gengrid.Item.Scrollto_Type usage in .eo file
Use the proper Eolian name "Elm.Gengrid.Item.Scrollto_Type" instead of
Elm_Gengrid_Item_Scrollto_Type in functions in elm_gengrid_item.eo.
2016-02-09 13:34:37 -02:00
Vitor Sousa 45e9a15bd4 elm entry: Move the declaration of Elm_Cnp_Mode to elm_entry.eo
Move the enumeration Elm_Cnp_Mode to elm_entry.eo to make it more
accessible for binding generation.
Also rename it to Elm.Cnp_Mode.
2016-02-09 13:34:37 -02:00
Vitor Sousa 8a5d0a38f2 elementary: Rename Elm_Icon_Type to Elm.Icon.Type in .eo files
Correct the usage of the type Elm_Icon_Type by replacing it with its
Eolian name (Elm.Icon.Type) in .eo files.
2016-02-09 13:34:37 -02:00
Vitor Sousa 82e91cb805 elementary: rename classes in Eo files to use Elm as a namespace, not a prefix
Rename classes in Eo files that still uses "Elm" as a prefix to use it as a
namespace.
2016-02-09 13:34:37 -02:00
Stefan Schmidt de0c29b87c theme: fix typo for adding background in ctxpopup
Introduced in 6cf09175874cca9e5859d580a5bad706012b8880. Thanks a lot to Davide
Andreoli for spotting this!
2016-02-05 13:21:08 +01:00
SungTaek Hong 96f1cc1b8c button: add elm.swallow.background part
Summary:
- This swallow part is for custom bg image.
- previous bg has to be hid.

Reviewers: kimcinoo

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
SungTaek Hong 2df061f1d7 button: remove unnecessary action in program
Summary: @fix

Reviewers: kimcinoo, Hermet, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
taehyub 976520945b popup: add elm.swallow.background for background customize
Summary: add elm.swallow.background part in elm/popup/base/default

Reviewers: kimcinoo

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
taehyub 98e447a85f ctxpopup: add elm.swallow.backgournd for backgournd customize
Summary: add elm.swallow.background part in elm/ctxpopup/base/default

Reviewers: kimcinoo

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
Cedric BAIL 8d6ba5a60a genlist: remove dead code. 2016-02-05 08:45:19 +01:00
Youngbok Shin ff110f7867 win: fix a possible crash in elm_win_add
Summary:
The enginelist[0] can be NULL in some very rare cases.
Then enginelist[0] will be used for strcmp and it make a crash.
@fix

Test Plan: N/A

Reviewers: raster, cedric, woohyun, jypark, jaehwan

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
Jee-Yong Um 895ed5bde3 elm: add Elm.Layout as edje externals' contents instead of Edje.Object
Summary:
When edje external parts add its content, edje object is added,
but it breaks elementary widget hierarchy.
In Elementary, edje external can use Elm.Layout to add its content.

Reviewers: cedric

Reviewed By: cedric

Subscribers: woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
Godly T Alias 2c2704c7f8 genlist: fix for a bug in tree expansion, T3132
Summary:
@fix T3132

If nobody sees issue with this change, this should be backported.

Signed-off-by: Godly T Alias <godly.talias@samsung.com>

Test Plan: elementary_test Genlist Tree, enable Tree effect

Reviewers: prince.dubey, SanghyeonLee, shilpasingh

Subscribers: govi, rajeshps

Maniphest Tasks: T3132

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
Godly T Alias cb8a5cb38c transit: add possibility to revert an ongoing transition during play
Summary:
Currently the feature available in transit to reverse play a transition is
auto-reverse which will play a transition in reverse mode once a transition
is complete. This feature helps the user to revert a transition at any point
of time when transition is going on.

New API added.

@feature T3019

Use Case:
While doing pinch zoom, we will be doing zoom transit effect from one step to other, during that transit if user do the pinch in reverse direction this API can be called so that transition will be reverted easily.

Signed-off-by: godly.talias <godly.talias@samsung.com>

Test Plan: elementary_test Transit Resizing / Transit Zoom / Transit Bezier / Transit Custom / Transit Fade / Transit Flip

Reviewers: raster, prince.dubey, shilpasingh, Hermet, seoz, cedric

Subscribers: rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
Jee-Yong Um 96bd8fae7d hoversel: improve key_action_move to handle disabled items
Summary:
Existing key_action_move logic used elm_widget_focus_cycle on hover,
but only handled the first and last item to move focus circularly.
So if the first or last item is disabled, focus movement is blocked.
This patch makes hoversel handle focus movement by itself to handle
disabled item better.

Test Plan: elementary_test -to hoversel

Reviewers: Hermet, cedric, Jaehyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
divyesh purohit c9b3cfd2b9 combobox: prevent empty swallow to be shown on hover_dismiss animation
Summary:
Hover dismiss animation takes 0.5 sec to complete. if the genlist item_count
becomes zero, empty swallow is shown in dismiss animation.
@fix T3124
Signed-off-by: divyesh purohit <div.purohit@samsung.com>

Test Plan:
please run combobox example from elementary_test.

Open hover by pressing on left side button of combobox or pressing "enter/space" key in entry
contained in combobox.
Type a char which is not in any genlist item , for example "a' is not presented in any genlist
item.
empty swallow shouldn't seen in dismiss animation.

Reviewers: shilpasingh, cedric, raster

Subscribers: rajeshps, govi

Maniphest Tasks: T3124

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
divyesh purohit f297faaa6b multibuttonentry: fix Segfault on pressing Delete Key
Summary:
Pressing "Delete" Key in MBE layout causes Segfault as MBE item is not deleted properly and also focus is not transferred back to MBE.

@fix

Signed-off-by: divyesh purohit <div.purohit@samsung.com>

Test Plan: Run MultibuttonEntry example from elementart_test . Add some MBE items, now press the delete key, it should delete items without causing segfaults and transfer focus to previous MBE item.

Reviewers: raster, cedric, CHAN, shilpasingh

Reviewed By: shilpasingh

Subscribers: rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
Thiep Ha 1048ce14b3 entry: remove unnecessary variables
remove unnecessary dw, dh variables
2016-02-05 15:43:06 +09:00
Shilpa Singh 14c75857dc Elm_Entry: Magnifier Not working properly on corner areas issue fix.
Summary:
When magnifier is moved across corners and outside entry, working of magnifier
is not proper.

Magnifier is Restricted with in the window and to entry area and its position depends
on cursor.
Signed-off-by: Thiep Ha <thiepha@gmail.com>
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>

@fix

Test Plan:
1. Enable Magnifier export ELM_MAGNIFIER_ENABLE=1
2. Launch elementary test and launch entry3 demo
3. Move magnifier on corners and outside of second entry

The contents of magnifiers are undefined when moved outside entry
and clipper moves in a different direction as magnifier.

Reviewers: cedric, raster, thiepha

Reviewed By: thiepha

Subscribers: buds, govi, rajeshps, subodh6129

Differential Revision: https://phab.enlightenment.org/D3586
2016-02-05 15:05:57 +09:00
Amitesh Singh c4cfb42468 genlist: update all realized items in a single job
Summary:
Its really weird to call same job for each item and deletes that job in
next iteration. Since item_update() deletes the old update_job ecore job
again so basically we call update job only for the last realized item in the list.

 @fix

Reviewers: raster, jpeg, cedric, SanghyeonLee, tasn

Reviewed By: SanghyeonLee

Subscribers: seoz

Projects: #elementary

Differential Revision: https://phab.enlightenment.org/D3644
2016-02-04 23:47:01 +05:30
Felipe Magno de Almeida 00c0591bb9 js: Added layout example 2016-02-03 21:21:29 -02:00
divyesh purohit 67935a462b js: Added combobox class to JavaScript binding 2016-02-03 21:21:21 -02:00
Vitalii Vorobiov 170bb612eb calendar.edc: fix typo in text style
@fix
2016-02-03 12:13:49 +00:00
Chris Michael 2e04bb380d elementary: update mailmap addresses
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-02-02 15:02:20 -05:00
Cedric BAIL 0bd139ed7b panel: no need for destructor anymore as the event handler will disappear in the destructor. 2016-02-02 11:39:10 -08:00
Cedric BAIL 709a5c2f46 genlist: make automatic bounce test configurable. 2016-02-02 11:00:54 -08:00
Cedric BAIL 4e2ef1cbf4 naviframe: switch to use animator,tick. 2016-02-02 11:00:54 -08:00
Cedric BAIL 33d196af7a genlist: switch to efl.core.animator tick. 2016-02-02 11:00:54 -08:00
Cedric BAIL 670a77c16a tests: switch anim test to Efl.Core.Animator tick. 2016-02-02 11:00:54 -08:00
Cedric BAIL dbe9b8fb6e map: use Efl.Core.Animator tick. 2016-02-02 11:00:54 -08:00
Cedric BAIL 3afd1fd41a photocam: switch to use efl.core.animator. 2016-02-02 11:00:54 -08:00
Cedric BAIL ff14f74b5b interface_scrollable: drop use of ecore_animator in favor of efl.core.animator tick 2016-02-02 11:00:54 -08:00
Cedric BAIL 8dacdb465a scroller: prevent the use of uninitialized data in some case. 2016-02-02 11:00:54 -08:00
Cedric BAIL b6fb462257 panel: switch to use per window animator.
Tick provided by to efl.core.animator.
2016-02-02 11:00:54 -08:00
Cedric BAIL 8ea0e7589d win: remove animator,tick. 2016-02-02 11:00:54 -08:00
woochan lee 5e19488932 multibuttonentry: Add item unfocused callback.
Summary:
Even MBE item lose focus, item state did not changed before.
So i send a signal to make item state as default when item lose own focus.

Signed-off By: Kumar Navneet <k.navneet@samsung.com>

@fix

Test Plan:
Run MBE sample.
Click any item.
Click out of MBE area.
See the item still got a highlight.

Reviewers: Hermet, cedric

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

Conflicts:
	data/themes/edc/elm/multibuttonentry.edc
2016-02-02 20:38:14 +09:00
Jee-Yong Um ef5ff1a9ed elm_hoversel: add "escape" key action to dismiss
Summary:
To allow to dismiss hoversel expansion without selecting item
by key, "escape" key action is added.

Test Plan: elementary_test -to hoversel

Reviewers: Jaehyun_Cho, cedric, divyesh

Reviewed By: divyesh

Differential Revision: https://phab.enlightenment.org/D3627
2016-02-02 19:57:20 +09:00
Jinyong Park e8c8f2d893 fix calendar today bug
Summary: After today mark appear once on calendar, it never disappear when user change calendar's year or month

Test Plan: elementary_test calendar2

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D3612
2016-02-02 19:51:59 +09:00
Vitor Sousa 363a3b4438 elm calendar: add mark_del method and move Elm_Calendar_Mark to .eo file
Summary:
Add mark_del as a method in the Elm.Calendar class.
Move the elm_calendar_mark_del() function (which do not receive an Eo object)
to elm_calendar_legacy.h.

Move the declaration of Elm_Calendar_Mark to elm_calendar.eo as an opaque
struct.
Rename it to Elm.Calendar.Mark to follow eolian standards.

Update documentation to refer to mark_del method instead of the
elm_calendar_mark_del() function.

Reviewers: felipealmeida, vinipsmaker, larryolj, cedric, tasn

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D3582
2016-02-02 10:22:30 +00:00
Subodh Kumar d3deb1e6a7 Elm entry: Fix selection using handlers.
Summary:
Fix item selection using selection handler

In case of selection using handler, there is a problem in case the entry
has the item, mouse down over handler consider the current down
coordinate to start selection and it becomes very difficult to select in the
situation shown in the test plan. So I consider the next/previous  line
geometry to fix it.

@fix

Test Plan:
1.Enable selection handler
2. Have a look at the setup in the attached image
{F27396}

3. Start selecting from last item and extent to cover the last text.
4.Observe that its impossible to select the last text until you move mouse out of the window
So, in mobile device its almost impossible to select using handlers in this situation.

Please use the attached application to test it.
{F27402}

Reviewers: thiepha, herdsman, tasn

Reviewed By: tasn

Subscribers: shilpasingh

Differential Revision: https://phab.enlightenment.org/D3479
2016-02-02 10:22:30 +00:00
Subodh Kumar 02332b5b3d Elm entry: Use edje api and simplify empty check logic
Summary: Use edje api and simplify empty check logic

Test Plan: NA

Reviewers: herdsman, tasn

Reviewed By: tasn

Subscribers: shilpasingh, cedric

Differential Revision: https://phab.enlightenment.org/D3505
2016-02-02 10:22:30 +00:00
Stefan Schmidt b509610c9f configure: Switch to dev mode again. Merge window for 1.18 is now open. 2016-02-02 11:19:42 +01:00
Stefan Schmidt 7a3468416d release: Update NEWS and bump version for 1.17.0 release 2016-02-02 10:48:10 +01:00
Stefan Schmidt 5ca0c82de3 theme: make sure vertical_separated_bar_disabled.png lands in the dist tarball
A ix for commit 186aeb42eb7e97c07a58a30aafbca5d05c4e2302 which introduced the
image but did not made sure it gets shipped.
2016-02-01 22:48:33 +01:00
Hermet Park d8e157771e layout: test code refactoring.
remove a comment.
pass immediate parents.
remove unnecessary show call.
2016-02-01 22:37:22 +09:00
Jean-Philippe Andre a908bd3646 genlist test: fix invalid free on window close 2016-02-01 20:48:21 +09:00