Commit Graph

257 Commits

Author SHA1 Message Date
ChunEon Park 02cd629c71 elementary/naviframe - add elm_naviframe_item_pop_cb_set() 2013-03-07 21:28:03 +09:00
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
ChunEon Park ee1daa1eec elementary/naviframe - guarantee that new pushed item to be the top layer in a naviframe.
SVN revision: 84276
2013-02-21 08:40:09 +00:00
ChunEon Park b17a158181 elementary/naviframe - remove del callback function before deleting the object.
SVN revision: 84269
2013-02-21 02:55:02 +00:00
ChunEon Park f801eec4d2 elementary/naviframe - fix some trivial bugs.
SVN revision: 83998
2013-02-16 14:33:16 +00:00
ChunEon Park a69c304b39 elementary/naviframe - removed duplicated strings.
SVN revision: 83992
2013-02-16 14:16:50 +00:00
ChunEon Park 46f7abc6df elementary/naviframe - don't call the parent smart_theme. Actually navifram itself is nothing to do about theme.
SVN revision: 83986
2013-02-16 12:33:52 +00:00
ChunEon Park e91c97418c elementary/naviframe - improve the naviframe to not apply it's items style multiple time when theme or styles are changed.
SVN revision: 83985
2013-02-16 12:08:42 +00:00
ChunEon Park 9256895f98 elementary/widget, naviframe, popup, label, button
let elm_wdg_orientation_set() have return value and call the elm_wdg_theme() inside.

since every widgets tend to do same task with smart_theme() when it's orient mode is changed.



SVN revision: 83981
2013-02-16 11:11:25 +00:00
ChunEon Park 55d595b44e elementary/naviframe,button,label - support naviframe, button, label orientation mode
SVN revision: 83947
2013-02-15 11:22:09 +00:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Shinwoo Kim 45b38d3403 [access][naviframe] export access object of title text.
we would need a function to export access object which is inside of widget


SVN revision: 83513
2013-01-31 11:35:26 +00:00
ChunEon Park 12269ae711 elementary/naviframe - Apply disply mode to all views of a naviframe if the display mode of th e views are changed. Sometimes views are couldn't be recoverved to a previou s status if they are stacked into more depth.
SVN revision: 83055
2013-01-22 05:28:31 +00:00
ChunEon Park a945ba944e elementary/naviframe - don't do it if the display mode are exactly same.
since the on_obj_size_hints_changed are called in various case(hint changed, display mode changed),

it needs to check.



SVN revision: 83053
2013-01-22 04:46:28 +00:00
Shinwoo Kim 7f91ad4183 [access] read default text for naviframe next, back button which have no label.
SVN revision: 82926
2013-01-17 09:03:23 +00:00
Shinwoo Kim a9cb727876 [access] use acessibility own part for the naviframe title.
SVN revision: 82857
2013-01-16 06:34:49 +00:00
Shinwoo Kim 04d10ab68d [naviframe] rebuild broken accessibility feature on title area.
SVN revision: 82685
2013-01-12 06:41:21 +00:00
Daniel Juyung Seo 13d9833110 elm naviframe: Fixed omitting signal emission when customized text parts change the text. Patch by Jaehyun Cho <jae_hyun_cho@naver.com>
On Sun, Jan 6, 2013 at 2:23 PM, 조재현 <jae_hyun_cho@naver.com> wrote:
Dear all,

Hello. This is Jaehyun Cho.
Now, naviframe emits state signals (e.g. show or hide) for customized text part (i.e. neither "elm.text.title" nor "elm.text.subtitle") which is going to be appended to the item's text_list.
However, if the customized text parts change the text label when the text parts are in the item's text_list, naviframe does not emit state signals for them.
To resolve this issue, I added additional case in _item_text_set_hook to handle the text part which is in the item's text_list. (elementary/src/lib/elc_naviframe.c)
Please review this.

Thank you,
Jaehyun Cho.

SVN revision: 82300
2013-01-06 14:15:52 +00:00
ChunEon Park 6302d12079 elementary/naviframe - removed duplicated string data
SVN revision: 82260
2013-01-05 04:24:22 +00:00
ChunEon Park dcc29483af elementary/naviframe - fixed some unacceptable stuffs.
SVN revision: 82061
2013-01-03 11:41:10 +00:00
ChunEon Park 1dd2144a7c elementary/naviframe - use the layout intead of the edje_object
SVN revision: 82060
2013-01-03 11:26:57 +00:00
ChunEon Park fc6a4a4db7 elementary/naviframe - removed unnecessary string buf copy
SVN revision: 82031
2013-01-03 04:20:11 +00:00
JaeHyun Cho 6282ede9d3 elementary/naviframe - [E-devel][Patch] Fix _item_text_set_hook to set part text correctly
Dear all,

Hello. This is Jaehyun Cho.
The current version of _item_text_set_hook sends the part signal name to edje_object_part_text_set. (elementary/src/lib/elc_naviframe.c)
To resolve this issue, I sent different arguments to edje_object_part_text_set for each case.
Please review this patch.

Thank you,
Jaehyun Cho.

Signed-Off-By: JaeHyun Cho <jae_hyun_cho@naver.com>



SVN revision: 82030
2013-01-03 04:10:45 +00:00
ChunEon Park ee5a6cf126 elementary/naviframe - don't access data after user callback function. because they can delete widget itself.
SVN revision: 81141
2012-12-17 14:05:13 +00:00
Jiyoun Park 58dd704606 if application delete naviframe item,
naviframe cannot set top object to resize object 


SVN revision: 80908
2012-12-14 03:29:21 +00:00
Stefan Schmidt 0cc6bf40f8 elm/naviframe: Fix potential deref of freed memory.
We should not free it and then access the same data again on line below.

SVN revision: 80862
2012-12-13 14:17:29 +00:00
WooHyun Jung aa3edaa8e6 elementary/naviframe : Restore dummy_edje to naviframe. Now dummy_edje is always smart member of naviframe, so it cannot be removed before deleting naviframe.
SVN revision: 80739
2012-12-12 08:58:03 +00:00
WooHyun Jung 5a7e0de603 elementary/naviframe : Remove dummy_edje. Naviframe should be shown with at least one item, and don't have to care about the state there is no item.
Additionally, it's not a smart member of naviframe, there is no guarantee when this object will be deleted.


SVN revision: 80628
2012-12-11 07:33:27 +00:00
Daniel Juyung Seo f11ad7850a elm: fixed build break caused by my two commits.
SVN revision: 80533
2012-12-08 18:39:24 +00:00
Daniel Juyung Seo b818236056 elm elc_naviframe.c: Use EINA_LIST_FREE instead of EINA_LIST_FOREACH + eina_list_free.
SVN revision: 80529
2012-12-08 18:17:12 +00:00
ChunEon Park b230457c42 elementary/naviframe - set main content to naviframe sub object to keep the obj-sub tree.
it needs to set other item contnets to be sub object.



SVN revision: 80520
2012-12-08 09:39:19 +00:00
ChunEon Park 0040b9e8fd elementary/naviframe - removed unnecessary line. it was compared already in widget api
SVN revision: 80518
2012-12-08 08:53:38 +00:00
ChunEon Park f353378e8b elementary/naviframe - only set the top item to be the resize object.
SVN revision: 80517
2012-12-08 08:09:44 +00:00
ChunEon Park 558f84a6ff elementary/naviframe - fix the title part which name of fixed wrongly.
SVN revision: 80514
2012-12-08 07:23:30 +00:00
ChunEon Park 4733715962 elementary/naviframe - Re: [E-devel] [Elc_Naviframe]: Crash on evas_object_del fix.
Hi All,

Please find attached bug fix patch for Naviframe.
This patch fixes crash in naviframe which happens when evas_object_del
is called immediately after item_pop.

Change description:
elc_naviframe: Crash on calling evas_object_del of naviframe immediately after item_pop fixed.

Signed-Off by: Shilpa Singh(shilpa.singh@samsung.com)

Thanks & Regards
Shilpa Singh

Signed-Off-By: Shilpa Onkar Singh<shilpa.singh@samsung.com>



SVN revision: 80442
2012-12-07 12:31:07 +00:00
ChunEon Park dde0849bd9 elementary/naviframe - [E-devel] [Elc_Naviframe]: Removal of hide signals emissions before Object creation
Hi All, 

Please find attached bug fix patch for Naviframe. 
As hide signal was sent even before object was created, the theme did not work 
properly. 
Change description: 
elm_naviframe: Removal of hide signals emissions before Object creation. 
Signed-Off by: Shilpa Singh(shilpa.singh@samsung.com) 

Thanks & Regards 
Shilpa Singh

Signed-Off-By: Shilpa Onkar Singh<shilpa.singh@samsung.com>



SVN revision: 80207
2012-12-05 04:01:55 +00:00
ChunEon Park a024e65f0b elementary/naviframe - trivial change
SVN revision: 80130
2012-12-04 07:40:28 +00:00
ChunEon Park 04c082606e elementary/naviframe - sorry here is my mistake. naviframe title content pari needs to keep the current content.
SVN revision: 80126
2012-12-04 04:16:48 +00:00
Daniel Juyung Seo ba3a32d45a elm elc_naviframe.c: Fixed naviframe smart theme breakage.
SVN revision: 80123
2012-12-04 02:18:12 +00:00
Daniel Juyung Seo 358b8c281d elm elc_naviframe.c: get smart data from evas object.
This fixes ticket #1910.

SVN revision: 80114
2012-12-03 23:21:27 +00:00
ChunEon Park a11a5becda elementary/naviframe - fix the naviframe crash if naviframe_item_pop and naviframe deletion is performed in serial.
even if the naviframe widget is deleted, the popped item's animator callback can be called.
Now keep the popping item list to handle this.



SVN revision: 80065
2012-12-03 13:27:57 +00:00
ChunEon Park d9180c9658 elementary/naviframe - To correct context, item should be passed to animator callback.
SVN revision: 80059
2012-12-03 12:10:18 +00:00
ChunEon Park 87e650b1de elementary/naviframe - -- useless line.
SVN revision: 80052
2012-12-03 12:01:34 +00:00
ChunEon Park 4deb162774 elementary/naviframe - useless check
SVN revision: 80051
2012-12-03 11:52:21 +00:00
ChunEon Park 226fa8ad54 elementary/naviframe - remove the pair if new content was swallowed into other part.
SVN revision: 80036
2012-12-03 10:21:09 +00:00
ChunEon Park 6f54233bcc elementary/naviframe - items have the title contents pointer to handle them much easily.
SVN revision: 80034
2012-12-03 10:10:17 +00:00
ChunEon Park 4029295408 elementary/naviframe - optimize code
SVN revision: 79893
2012-11-30 13:27:56 +00:00
ChunEon Park cd5eac4cc9 elementary/naviframe - no you can't removed.
SVN revision: 79891
2012-11-30 13:25:29 +00:00
ChunEon Park 8776fa93cb elementary/naviframe - fix the naviframe to send the signals one time for content show/hide, text show/hide
SVN revision: 79890
2012-11-30 13:16:11 +00:00
ChunEon Park 552f1b3964 elementary/naviframe - move the animator to item. now animator can be managed by each item properly.
SVN revision: 79888
2012-11-30 12:17:04 +00:00
ChunEon Park 3447a10e29 elementary/naviframe - make item have pair the compress mode signals
SVN revision: 79870
2012-11-30 07:50:56 +00:00
ChunEon Park 0501c64ddd elementary/naviframe - fix the naviframe to resize it's items which are inserted.
SVN revision: 79862
2012-11-30 06:22:48 +00:00
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
ChunEon Park 65ce400db9 elementary/naviframe - free the text parts when it's item is deleted.x
SVN revision: 79633
2012-11-24 12:43:31 +00:00
ChunEon Park ebdd689cec elementary/naviframe - Clear the title contents when it's naviframe item is deleted.
Signed-Off-By: Shilpa Singh(shilap.singh@samsung.com)



SVN revision: 79544
2012-11-22 15:15:26 +00:00
ChunEon Park c6fc9dcb51 elementary/naviframe - let's remove contents which are preserved on set if the naviframe is deleted.
SVN revision: 79541
2012-11-22 14:47:08 +00:00
Shinwoo Kim 4c4b54c993 [naviframe] enhance access feature
1. add title icon to focus chain, title icon would be an widget
     such as segment control which is able to get focus.
  2. add smart_access(); to register, unregister access object.
  3. call _item_text_set_hook(); if item_new() has title_label,
     previously the _item_text_set_hook() is called even though
     the title_label is NULL.
  4. remove unnecessary variables from elm_widget_naviframe.h
  5. add _access_focus_set() to give focus propery. 


SVN revision: 79511
2012-11-21 13:41:03 +00:00
ChunEon Park 56913bba3f elementary/naviframe - unnecessary job stuff.
I don't know why this code are here. But these are definetly removed.

I guess this job stuff was in at shilpa's patch.



SVN revision: 79496
2012-11-21 05:55:25 +00:00
Bruno Dilly f03c6ecb12 Revert "elementary: hide naviframe itens added but not on
top"

This reverts commit r78006.



SVN revision: 78069
2012-10-16 18:01:21 +00:00
Daniel Juyung Seo 81a4e7317c elm elc_naviframe.c: Initialize on declaration.
SVN revision: 78028
2012-10-16 02:54:59 +00:00
Daniel Juyung Seo 08943b1664 elm elc_naviframe.c: Line breaks.
SVN revision: 78019
2012-10-15 23:44:39 +00:00
Bruno Dilly 53c51e0512 elementary: hide naviframe itens added but not on top
SVN revision: 78006
2012-10-15 16:26:22 +00:00
Bruno Dilly 0e626b7e08 elementary: fix naviframe insert before func
Adding before a unique item was segfaulting



SVN revision: 78005
2012-10-15 16:26:11 +00:00
Mike McCormack a32e6997d4 elementary: Fix a bunch of warnings
elc_naviframe.c: In function ‘_on_obj_size_hints_changed’:
elc_naviframe.c:1027:7: warning: assignment from incompatible pointer type
elc_naviframe.c:1020:34: warning: unused parameter ‘data’
elc_naviframe.c:1020:46: warning: unused parameter ‘e’
elc_naviframe.c:1020:73: warning: unused parameter ‘event_info’

Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77969
2012-10-14 20:15:09 +00:00
Jiyoun Park 997824fba0 Modify Elm conformant widget to notify display mode change
to child widget related with keypad state change.
elm naviframe check this change and deal with this using theme


SVN revision: 77965
2012-10-14 14:48:02 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
ChunEon Park 512278bba2 elementry/naviframe - [E-devel] Elc_Naviframe: Animation optimization patch
Hi All,

Please find attached patch for naviframe animation optimization.
This patch makes sure animation happens smoothly even if content is heavy.
i.e, this patch makes sure animation is deferred so that it is visible(showing full transition time)
even if content takes more time in creation.

Change description:
Naviframe Animation optimization for smoother animation.

Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>

Thanks & Regards
Shilpa Singh



SVN revision: 76929
2012-09-21 05:28:55 +00:00
Michael BOUCHAUD 2bae83010b elementary: fix wrong size calc when an item have setted tittle_visible_set to false
SVN revision: 76897
2012-09-20 09:16:55 +00:00
Michael BOUCHAUD 3bbf200509 elementary: fix resizing on naviframe when an item is poped (typo)
SVN revision: 76870
2012-09-19 14:34:03 +00:00
ChunEon Park da39be8331 naviframe - Even if the top item is inserted into Naviframe, any transition wouldn't be launched as before it did.
SVN revision: 76423
2012-09-11 01:48:00 +00:00
Christopher Michael 0fce46076e Elementary: Revert all framespace changes.
NB: This means elm will be broken in wayland for a while while I sort
out what went wrong in evas.



SVN revision: 76173
2012-09-05 07:42:57 +00:00
Christopher Michael 30cc66d90d Elm: Account for framespace X also. Thanks for spotting this Daniel ;)
SVN revision: 76129
2012-09-04 12:51:57 +00:00
Christopher Michael 0c76a14399 Elm: Fix naviframe shrinking when you change to a different frame.
Ticket #1383.



SVN revision: 76128
2012-09-04 12:46:02 +00:00
Daniel Juyung Seo 9f34dde299 elm naviframe: Naviframe's item Subtitle_label deleted in item_free. Patch by Shilpa Onkar Singh <shilpa.singh@samsung.com>
SVN revision: 75887
2012-08-30 15:43:14 +00:00
ChunEon Park f22fb9ee6d elementary/naviframe - [E-devel] elc_naviframe: generic parts signals missing bug fix patch
Hi All,

Please find attached elc_naviframe bug fix patch.
Change description:
Generic text parts and content parts signals not sent hence UI not coming properly issue fixed.

Thanks & Regards
Shilpa Singh

Signed-Off-By: ShilpaOnkar Singh<shilpa.singh@samsung.com>



SVN revision: 75803
2012-08-29 00:34:13 +00:00
Gustavo Lima Chaves cead79a22d [elm] Naviframe now inheritable.
SVN revision: 74686
2012-07-31 22:06:26 +00:00
Kim Shinwoo ecbb34fce6 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] naviframe - focus chain, access

i have attached a patch to fix focus chin issue when the item title is not
visible. and to add accessibility feature.



SVN revision: 74646
2012-07-31 11:12:00 +00:00
Gustavo Sverzut Barbieri f97856f4e7 naviframe: improve automatic previous button without breaking compatibility.
proper fix instead of r74428.



SVN revision: 74450
2012-07-26 19:39:10 +00:00
Carsten Haitzler 635c241d33 lets not break theme api :( sorry. :(
SVN revision: 74428
2012-07-26 09:10:25 +00:00
ChunEon Park cc536e6ace naviframe - removed unnecessary line
SVN revision: 74410
2012-07-26 04:26:31 +00:00
Gustavo Sverzut Barbieri 51e2c4e18b naviframe improvements:
- fixed theme to look less like an arse:
    - overlap theme is translucent
    - naviframe title visibility toggle is now animated
    - item pop/push animation now applies to title area as well
    - icon without title label is now centered (see Naviframe 2 test)
    - title label and subtitle are now centered among the free space, should not overlap buttons anymore.
    - title will use a font-size range, trying to not overlap buttons anymore.
    - title will use ellipsis, trying to not overlap buttons anymore.
    - prev/next buttons do not have a fixed min/max size anymore
 - emit signals elm,state,title_label,show and elm,state,title_label,hide
 - by default the previous button label is the title of the previous page

however by using a regular elm_button with an icon and long label
exposes a bug with button theme. And there is a conceptual issue: if
the previous button label is too big, it will look horrible. We should
have a maximum size that, if reached, should have ellipsis. This
should be a different elm_button style, with
elm/button/base/naviframe/back_btn/default being an alias to it.



SVN revision: 74403
2012-07-25 21:08:53 +00:00
Gustavo Sverzut Barbieri 570cfc1de9 naviframe: back button text defaults to previous page title.
SVN revision: 74401
2012-07-25 17:38:48 +00:00
Gustavo Sverzut Barbieri 62ad4dd002 naviframe: improve default back button.
back button now uses standard icon "arrow_left", and provides a "Back"
text that should be translated with the application.

Then we can define the elm/button/base/naviframe/back_btn/default as
an alias to the default button. If a theme wants it could still
provide an alternative button. IOW no breaks.



SVN revision: 74399
2012-07-25 17:20:34 +00:00
Gustavo Lima Chaves fde535affd [elm] Apparently I missed part aliasing for the
alien naviframe case.




SVN revision: 74395
2012-07-25 14:39:03 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves 36116d2ff7 [elm] Initialize forgotten variable on naviframe.
SVN revision: 71759
2012-06-06 14:40:34 +00:00
Gustavo Lima Chaves 83d85fe5bd [elm] Naviframe now ported.
Man, this one was tough (though there are toughers). Please help me
test it in the real, wild, world.



SVN revision: 71635
2012-06-01 21:56:09 +00:00
Daniel Juyung Seo f699276047 elm naviframe: Bug Fix: Wrong signal sent when title/subtitle is set
in naviframe. Patch by Shilpa Onkar Singh <shilpa.singh@samsung.com>

On Thu, May 3, 2012 at 2:30 PM, SHILPA ONKAR SINGH
<shilpa.singh@samsung.com> wrote:
> Hi All,
>
> Please find attached, patch for elc_naviframe bug fix: "wrong signal
sent when subtitle,title is set".
>
> Change Description:
> Bug Fix: Wrong signal sent when title/subtitle is set in naviframe.
>
> Thanks & Regards
> Shilpa Singh

SVN revision: 70685
2012-05-03 05:51:23 +00:00
ChunEon Park 8fc8ea3828 elementary/naviframe - fixed to keep title_visiblility status after item_style_set
SVN revision: 69780
2012-03-30 05:28:42 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
ChunEon Park 3aedb36a88 elementary/naviframe - more clean tree
SVN revision: 69702
2012-03-28 10:04:55 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
ChunEon Park 43dcac275d elementary/naviframe - added overlap style and updated test case.
SVN revision: 69666
2012-03-27 13:11:13 +00:00
ChunEon Park 2cb08ee53c elementary/naviframe - fixed to an object has a focus even if insert_after APIs is called.
SVN revision: 69652
2012-03-27 06:06:50 +00:00
ChunEon Park 3743154b48 elementary/naviframe - modified content unfocusable.
The contents will be unfocusable only when they are being pushed or popped.



SVN revision: 69651
2012-03-27 05:48:41 +00:00
WooHyun Jung 66eab44829 elementary/naviframe : Fix a focus bug. When popping, new top content
should be focusable if it was set as unfocusable before by pushing item.


SVN revision: 69354
2012-03-15 05:37:17 +00:00
ChunEon Park 7ef0905f31 elementary/naviframe - fixed to not managed by naviframe for the popped contents.
This patch may fix the ticket 877.



SVN revision: 69280
2012-03-13 02:22:57 +00:00
ChunEon Park 10b8ef434e elementary/naviframe - implemented focus next hook
SVN revision: 69238
2012-03-12 09:14:14 +00:00
WooHyun Jung 9de4ec1558 elementary/naviframe : Fix some focus issues. When pushing an item, prev_it->content should
be set as unfocusable. And when popping, current content which will
not be preserved should be set as unfocusable. 


SVN revision: 69215
2012-03-12 02:10:52 +00:00