Commit Graph

191 Commits

Author SHA1 Message Date
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
ChunEon Park 807a56e515 elementary/naviframe - removed unsupported item signal callbacks
SVN revision: 69163
2012-03-10 06:26:57 +00:00
Jiyoun Park 9157d75e0f remove code related with
elm_naviframe_item_del
which was deprecated


SVN revision: 69108
2012-03-09 14:10:58 +00:00
ChunEon Park a4ad3098b3 elementary/naviframe - added obj parameters to insert_before, insert_after APis to keep the consistency.
SVN revision: 69003
2012-03-07 16:52:22 +00:00
ChunEon Park c652e37c6e elemenatry/navifrmae - killed 2 more apis.
elm_naviframe_item_style_default_set
elm_nvaiframe_item_style_default_get



SVN revision: 68990
2012-03-07 16:15:17 +00:00
Daniel Juyung Seo 480c61f20a elm: Formatting. No spacing after casting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68807
2012-03-06 11:51:42 +00:00
Carsten Haitzler f2f64d2ef9 printf--
SVN revision: 68466
2012-02-27 05:38:40 +00:00
Carsten Haitzler 87a581fc1d aaah naviframe theme hook bug.. was a different thing. always enabled
title when setting style! booooo! dont do that!



SVN revision: 68465
2012-02-27 05:37:57 +00:00
Mike Blumenkrantz fbb5fbdce0 fix functionality which made all naviframe contents unfocusable when top content should still allow focus
the focus_next hook may need some work to progress to sub-widgets somehow


SVN revision: 68442
2012-02-25 11:48:01 +00:00
Daniel Juyung Seo 71d5414df7 elm naviframe: Fixed formatting.
Signed-off-by: Daniel Juyung Seo <seojuyung@gmail.com>

SVN revision: 68422
2012-02-24 16:11:18 +00:00
Carsten Haitzler c2cba76767 fix naviframe theme hook.
SVN revision: 68413
2012-02-24 13:04:37 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
ChunEon Park 1be2a606bf elementary/naviframe - the first widget appiled the item smart callbacks.
SVN revision: 68388
2012-02-24 07:02:01 +00:00
ChunEon Park 8922f83418 elementary/naviframe - elm_widget_item_free is called twice.
elm_object_item_del is calling it after. 



SVN revision: 68099
2012-02-18 05:15:17 +00:00
ChunEon Park 61af3881a2 elementary/naviframe - updated doc & more contents & text hooks
discomfitor you bothered me! :)



SVN revision: 68050
2012-02-17 05:00:22 +00:00
ChunEon Park 1dd495838e elementary/naviframe - more simply.
SVN revision: 68047
2012-02-17 01:44:02 +00:00
Mike Blumenkrantz ebdb8e497d naviframe now supports content_get
SVN revision: 68037
2012-02-16 21:14:32 +00:00
Tom Hacohen 4787995f4b Elm pager: die pager, die! Use naviframe instead.
SVN revision: 68015
2012-02-16 09:26:30 +00:00
Tom Hacohen c9f55529ad Elm naviframe: Fix naviframe a little and add item default style set/get
1. items_get is no longer completely broken
2. default style set/get is used as a replacement for the style NULL

SVN revision: 67989
2012-02-15 16:27:34 +00:00
ChunEon Park fcc6192848 elementary - modified item_del_pre_hook function prototype.
Now it returns the bool value to free the widget item.

Some widget items(i,e genlist) should not be deleted directly when elm_object_item_del is called.
So, if the pre_hook function returns EINA_FALSE, then the widget item will not be deleted.



SVN revision: 67565
2012-01-27 11:56:14 +00:00
ChunEon Park 9e9c1ddbc9 elementray/naviframe - sorry. my fault.
SVN revision: 67071
2012-01-11 11:53:20 +00:00
ChunEon Park 2c0d0bb02a elementary/naviframe - pre-declare function prototype.
SVN revision: 67070
2012-01-11 11:52:54 +00:00
ChunEon Park 85b0916724 elementary/naviframe - my fault. it shouldn't be committed.
SVN revision: 67069
2012-01-11 11:50:49 +00:00
ChunEon Park 90ad944dc6 elementary/naviframe - satisfied focus_next_hook
SVN revision: 67068
2012-01-11 11:48:45 +00:00
ChunEon Park cd756952bb elementary/naviframe - modified to use elm_layout instead of edje_object.
SVN revision: 67067
2012-01-11 11:25:04 +00:00
ChunEon Park 6a4ce67417 elementary/navifrmae - actually it does not need to call it in the loop
SVN revision: 67042
2012-01-11 06:42:15 +00:00
ChunEon Park e4503a8eed elementary/naviframe - super trivial change.
SVN revision: 67040
2012-01-11 06:33:32 +00:00
ChunEon Park 56a881bd35 elementary/menu, ctxpopup, index, segment_control, diskselector, multibuttonentry, toolbar, naviframe, slideshow, hoversel, filpselector - deprecated xxxx_item_del() APIs.
But instead,  made to use the elm_object_item_del() APIs
for this, elm_widget_item needed to provide elm_widget_item_del_pre_hook.




SVN revision: 67010
2012-01-10 05:02:11 +00:00
Mike Blumenkrantz 5b39daddbc whoever wrote this should be SERIOUSLY ashamed.
SVN revision: 66776
2012-01-03 05:24:35 +00:00
ChunEon Park 20cc624603 elementary/naviframe - prevent accessing a null pointer
SVN revision: 66525
2011-12-26 08:03:30 +00:00
ChunEon Park b3e0fbb730 elementary/naviframe - fixed logic.
when new content is coming, it needs to have some intialization. 



SVN revision: 66329
2011-12-19 11:13:06 +00:00
ChunEon Park fa37e206ae elementary/naviframe - OHG fixed typo
SVN revision: 66284
2011-12-16 11:01:20 +00:00
ChunEon Park 6aefe2f7fe elementary/naviframe - refactored title_content_set
fault here again!

it would missed one case.

step 1. actual content set
step 2. NULL content set

Since it did not remove content_pair structure even NULL object as a new one set,
the dangling structure could be happened.



SVN revision: 66274
2011-12-16 09:07:41 +00:00
ChunEon Park 4dad454d3e elementary/naviframe - Bad Hermet... the flag should be flipped inside.
SVN revision: 66105
2011-12-12 04:57:33 +00:00
ChunEon Park 067676b3dd elementary/naviframe - two more APIs
elm_naviframe_event_enabled_set()
elm_naviframe_event_enabled_get()

Now, user could set events enabled/disabled when item pushing/popping.



SVN revision: 66102
2011-12-12 04:54:15 +00:00
ChunEon Park 7dc62ae5c3 elementary/naviframe - trivial change. recommended by ShilpaOnkar Singh
SVN revision: 66020
2011-12-08 10:37:41 +00:00
ChunEon Park 3dae010810 elementary/naviframe - fixed logic error.
happened after shilpa's refactoring patch.

it caused the elm_naviframe_item_style_set does not work properly.

more case-by-case checking added.



SVN revision: 65953
2011-12-06 10:53:20 +00:00
ChunEon Park 51609f5f5f elementary/naviframe - no need to allocate item pair when content is NULL
SVN revision: 65889
2011-12-05 07:28:52 +00:00
ShilpaOnkar Singh 2917a8bab2 elementary/naviframe - title_content_set refactored.
1. Modified to support NULL content.
2. Unnecessary parameter  removed.
3. Number of lines Optimization.

Signed-Off-By: ShilpaOnkar Singh <shilpa.singh@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 65777
2011-12-01 11:41:47 +00:00
Mike McCormack e736f755f3 elementary: Fix a warning
elc_naviframe.c: In function ‘_title_content_unset’:
elc_naviframe.c:786:17: warning: ‘content’ may be used uninitialized in this function

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65682
2011-11-29 09:24:41 +00:00
ChunEon Park 7cfc36bb00 elementary/naviframe - implement unset hook
SVN revision: 65638
2011-11-28 08:28:34 +00:00
ChunEon Park 923b9c7d8d elementary/naviframe - do resize when size of sub objects is changed.
SVN revision: 65636
2011-11-28 07:21:44 +00:00
ChunEon Park fd6f69ca53 elementary/naviframe - patched by shilapaonkar singh (shilpa.singh@samsung.com)
Hi Mr. Park,

Change description:  [ commit message ]
Bug: Hide signal sent twice in case of prev button, next button and icon swallow areas. 
Fix: Hide signal sent only once in delete callback.

Thanks & Regards
Shilpa Singh




SVN revision: 65570
2011-11-24 11:26:41 +00:00
ChunEon Park 0fb441bb77 elementary/naviframe - fixed to calc item size according to content size changed.
SVN revision: 65487
2011-11-21 16:14:52 +00:00
ChunEon Park a0e6f838a2 elementary/naviframe - consider the min size
SVN revision: 65421
2011-11-20 06:31:54 +00:00
ChunEon Park 236192cd9a elementary - modified content_set/get/unset part names to be simple names.
Previous part names are just the swallow part names
but in modified version, the part names chaned to simpler meaning names to use.

i.e for button

elm_object_content_part_set(button, "elm.swallow.icon", icon);
-> elm_object_content_part_set(button, "icon", icon);




SVN revision: 65295
2011-11-16 12:51:53 +00:00
ChunEon Park 33214b79aa elementary/naviframe - to be processed the signals right away when the item push and pop case.
SVN revision: 65152
2011-11-14 08:23:25 +00:00
ChunEon Park f5ef108671 elementary/naviframe - never ending bug story
should be set the style again even the given content is same there. 



SVN revision: 64956
2011-11-08 14:06:32 +00:00
ChunEon Park b4b0250d84 elementary/naviframe - my fault. reverted r64927
SVN revision: 64930
2011-11-08 02:49:05 +00:00
ChunEon Park 58e180a0fe elementary/naviframe - trivial changes
SVN revision: 64927
2011-11-08 02:27:06 +00:00
ChunEon Park 37d844aa2e elementary/naviframe - it refered an incorrect object to delete a callback fucntion
SVN revision: 64863
2011-11-07 10:18:26 +00:00
ChunEon Park 58fc5676ff elementary/naviframe - 3 more APIs.
elm_naviframe_items_get()
elm_naviframe_item_insert_before()
elm_naviframe_item_insert_after()



SVN revision: 64679
2011-11-03 07:15:18 +00:00
ChunEon Park 31678440d9 elementary/bg - content_set/get/unset, fixed indentation
SVN revision: 64484
2011-10-28 08:31:42 +00:00
ChunEon Park 7b16685a41 elementary/naviframe - sorry i reverted to keep the signal order consistency with pushed case.
SVN revision: 64426
2011-10-27 07:16:55 +00:00
ChunEon Park 131f31bef6 elementary/naviframe - fixed to prevent multiple clicked events for the backbutton
SVN revision: 64425
2011-10-27 06:01:50 +00:00
ChunEon Park fe364aa601 elementary/naviframe - + NULL check
SVN revision: 64374
2011-10-25 05:05:56 +00:00
ChunEon Park da7bf528c9 elementary/naviframe - fixed bad usage of eina_inlist.
removed the inlist node in while loop instead of REVERSE_FOREACH. 
it corrupted the list. 



SVN revision: 64369
2011-10-25 00:50:54 +00:00
ChunEon Park 4cad4f12a8 elementary/naviframe - new API elm_naviframe_item_promote
SVN revision: 64353
2011-10-24 06:35:48 +00:00
Mike Blumenkrantz 88bbad2635 add VIEW() and WIDGET() macros for use with Elm_Widget_Items to create more consistency, reduce typing, and increase readability
VIEW(X) = X->base.view (visible evas object)
  WIDGET(X) = X->base.widget (owner widget)

also a demo of the oxford comma for seoz


SVN revision: 64220
2011-10-21 01:08:01 +00:00
Mike Blumenkrantz 4ad1c5f0db create and use ELM_WIDGET_ITEM for elm widget structs to ensure location/name
SVN revision: 64218
2011-10-21 00:45:19 +00:00
Mike Blumenkrantz 5c081c834d whitespace--
SVN revision: 64216
2011-10-21 00:24:15 +00:00
ChunEon Park 82d60aef70 elemenatry/naviframe - just add TODO comment
SVN revision: 64167
2011-10-19 08:53:55 +00:00
ChunEon Park 700d1ab2df elementary/naviframe -
1. didn't set item style field in the item structure
  
2. avoid same item style again when user call the elm_naviframe_item_style_s    et




SVN revision: 64166
2011-10-19 08:49:24 +00:00
WooHyun Jung 2755e28ee5 elementary/elc_naviframe : The content, will be popped, doesn't need
to control focus.


SVN revision: 64161
2011-10-19 05:34:41 +00:00
ChunEon Park c9adffcdfc elementary/naviframe - more signals.
SVN revision: 64153
2011-10-18 16:12:14 +00:00
ChunEon Park d946ca77cc elementary - removed ELM_CAST macro
SVN revision: 64138
2011-10-18 00:25:52 +00:00
ChunEon Park 0e38053a32 elementary/naviframe - +theme_hook
SVN revision: 64084
2011-10-15 05:16:53 +00:00