Commit Graph

6485 Commits

Author SHA1 Message Date
Cedric BAIL 91dc461a8d elementary: move code around for better readability.
SVN revision: 79871
2012-11-30 07:55:49 +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 c2d99f8d35 elementary/mapbuf - removed white trailing
SVN revision: 79865
2012-11-30 06:29:10 +00:00
WooHyun Jung 7af3114d44 fix a mistake of 79861 :(
SVN revision: 79863
2012-11-30 06:28:38 +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
WooHyun Jung 5147620d6c [elementary/elm_layout] There can be the cases with no aliases and no part name. Then EINA_FALSE should be returned.
Should All widgets(including elm_layout) have default aliases? or Not?.



SVN revision: 79861
2012-11-30 06:18:48 +00:00
Carsten Haitzler 94323ef618 maybe dont add test_frame... since it isnt there as a file?
SVN revision: 79857
2012-11-29 22:10:24 +00:00
Daniel Juyung Seo 3b4551b058 elm panes: Added 'top' and 'bottom' part aliases for vertical panes. I did not change the swallow part name not to breatk theme api.
SVN revision: 79847
2012-11-29 18:43:39 +00:00
Daniel Juyung Seo 6129c75ac6 elm test.c: Fixed formatting.
SVN revision: 79846
2012-11-29 18:43:28 +00:00
Cedric BAIL 8327932076 elementary: add a mode to entry to clear selection when loosing focus.
Patch by Thiep Ha <thiep.ha@samsung.com>.


SVN revision: 79821
2012-11-29 08:58:49 +00:00
Daniel Juyung Seo 1007f38bdc elm test_index.c: Added horizontal index sample.
SVN revision: 79819
2012-11-29 08:39:26 +00:00
ChunEon Park 7eca1cc39a elementary/mapbuf - fix the mapbuf to update it's contents correctly even if they go outside of the buffer
SVN revision: 79813
2012-11-29 06:51:30 +00:00
Jihoon Kim 565c820e5d elm: fix doxygen in calendar widget
SVN revision: 79799
2012-11-29 02:34:12 +00:00
WooHyun Jung a1f62ffc9b [elementary/popup] Add edje_object_message_signal_process after some signal_emitting in smart_add function.
SVN revision: 79783
2012-11-28 14:52:34 +00:00
Daniel Juyung Seo c665d8124f elm test_gengrid.c: Export _elm_min_set to use this function in other tests.
SVN revision: 79761
2012-11-28 01:09:21 +00:00
Daniel Juyung Seo 5251324134 elm test_genlist.c: Added 'Genlist Item Styles' to check more genlist item styles.
SVN revision: 79746
2012-11-27 15:21:27 +00:00
Daniel Juyung Seo 54b57c2e77 elm test_popup.c: Added popup with normal list sample.
SVN revision: 79745
2012-11-27 15:21:20 +00:00
Jaehwan Kim 81dc417ea7 Add the hit_rect in elm_image. When the image is changed, the evas callback cannot be called.
So hit_rect gets the mouse events in a top of the widget.


SVN revision: 79740
2012-11-27 09:29:16 +00:00
ChunEon Park 42d6b602ea elementary/mapbuf - trivial changes
SVN revision: 79735
2012-11-27 07:48:16 +00:00
Daniel Zaoui 54d4e7ce78 Fix for Wayland. Sorry, bad merge occurred some time
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79733
2012-11-27 05:35:48 +00:00
Daniel Zaoui 7c7c07f3a2 Added missing descriptions for Eo defines whose functions hadn't descriptions at all. Needed in language bindings.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79732
2012-11-27 05:35:43 +00:00
Jihoon Kim adbe5c36cf elm: add ingroup GLView for some enums
SVN revision: 79729
2012-11-26 23:58:23 +00:00
Daniel Juyung Seo bf0f7d3bb2 elm test_clock.c: Fixed a typo.
SVN revision: 79700
2012-11-26 11:51:53 +00:00
Daniel Juyung Seo d41fd46564 elm test_genlist.c: Corrected the frame title.
SVN revision: 79699
2012-11-26 11:51:49 +00:00
Shinwoo Kim 88b45968f9 [radio] add smart_activate();
SVN revision: 79696
2012-11-26 11:18:04 +00:00
Shinwoo Kim 897584dfb8 [spinner] enhance access feature
1. unregister access object from edje part object.
  2. add access acitviate callback to increase, decrease.
  3. remove unnecessary variables from elm_widget_spinner.h


SVN revision: 79694
2012-11-26 10:59:00 +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
Daniel Juyung Seo 2452e6426c elm elc_popup.c: Removed _on_content_del cb in smart del not in sub object del.
SVN revision: 79672
2012-11-26 07:09:53 +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
Daniel Juyung Seo 1388bbb3f3 elm elc_popup.c: Remove sub object del callback before deleting sub objects.
SVN revision: 79667
2012-11-26 06:10:53 +00:00
Daniel Juyung Seo 1ccf353ee5 elm elm_win.h: Added missing smart callbacks descriptions.
SVN revision: 79655
2012-11-25 17:00:40 +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
Carsten Haitzler d80fd2131d no - i meant that expand hint. :)
SVN revision: 79554
2012-11-23 02:27:35 +00:00
Daniel Juyung Seo 97d5555626 elm test_index.c: Fixed wrong button size.
SVN revision: 79553
2012-11-23 02:19:14 +00:00
Carsten Haitzler cf12b52a99 modify index test to test autohide disable before items added and..
make index packed into a table cell that occupies only part of the
screen.



SVN revision: 79551
2012-11-22 23:59:10 +00:00
Daniel Juyung Seo 19401ad202 elm elm_entry.c: Fixed 1. Removed duplicated have_selection check. 2. enable have_selection only when a text is actually selected. Patch by Thiep Ha <thiep.ha@samsung.com>
On Mon, Nov 19, 2012 at 9:33 PM, thiep ha <thiep.ha@samsung.com> wrote:

    Dear All,

    I have seen that if there is no selection in an entry, the copy/cut menus are still shown in entry.
    (Example: double click at the end of entry or on an empty entry).
    I modified source code to not show copy/cut menus in above scenario.
    I also removed the redundant checking condition for showing copy/cut menus.
    Please review this patch.

    Best Regards,
    Thiep Ha

SVN revision: 79545
2012-11-22 15:15:55 +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
Daniel Juyung Seo f003597989 elm elm_conform.c: Set conformant as an evas object data to elm_win when conformant is created as a trick. Use a special characters as a key. This can be needed in some special apps.
SVN revision: 79543
2012-11-22 14:52:32 +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
WooHyun Jung 5a4de3b062 [elementary/elm_layout] When elm_layout(or a widget inherits elm_layout) is deleted,
it doesn't need to call _smart_sizing_eval in itself.
Currently, _smart_sizing_eval is called by _elm_layout_smart_sub_object_del when elm_layout is deleted.
I think this is called unnecessarily.


SVN revision: 79540
2012-11-22 14:46:45 +00:00
Michael BOUCHAUD e6b83eadc8 elementary: fix flip, who show the two faces at same time
SVN revision: 79535
2012-11-22 11:00:09 +00:00
Michael BOUCHAUD 923765d6ba elementary: update the min size hint on elm_label after a text set
SVN revision: 79517
2012-11-21 17:09:44 +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 977adcb127 elementary/win - Dont be allow under -320 to be passed thorough.
babieri, you still read the commits!

Anyway thanks for reporting.



SVN revision: 79510
2012-11-21 12:50:17 +00:00
ChunEon Park d5e5c03b69 elementary/win - ahh. there are 2 APIs to set rotation.
SVN revision: 79509
2012-11-21 11:48:02 +00:00
ChunEon Park eacbb4bc33 elementary/win - more reasonable exception handling
Thanks GArik__ for reporting



SVN revision: 79508
2012-11-21 11:42:52 +00:00
Daniel Juyung Seo dddfb6585a elm test_gengrid.c: Added a 'GenGrid Item Styles' sample to check all the gengrid item styles.
SVN revision: 79502
2012-11-21 07:16:51 +00:00
Daniel Juyung Seo a96f0f2a13 elm elm_gengrid.h: Added more description to gengrid documentation.
SVN revision: 79501
2012-11-21 07:16:48 +00:00
Daniel Juyung Seo bb5968c6c3 elm test_gengrid.c: Refactoring. Removed unnecessary box.
SVN revision: 79500
2012-11-21 07:16:45 +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
Rafael Antognolli 1000855abe elm/wayland: Let elementary handle the frame by itself.
Elementary based programs composed of widgets and containers. This means
that every widget will be inside a container, or will be the base
container, usually set as a resize object of the window.

Taking advantage of this structure, we can leave the frame area
calculation be done by elementary, not relying anymore on the framespace
available from Evas.

This commit fixes the problems related to the wayland framespace on
Elementary, while the final implementation of the said framespace is not
done yet on Ecore and Evas. Later it can be easily changed to use the
available infrastructure.

SVN revision: 79491
2012-11-21 04:21:24 +00:00
Daniel Juyung Seo 7ac10c9dcb elm test_gesture_layer2.c: Added a check for the first long tap.
SVN revision: 79470
2012-11-20 12:02:59 +00:00
Daniel Juyung Seo a10ee57b4e elm elc_popup.c: Fixed the popup focus next infinite loop issue. Popup and notify had a circular focus dependency issue. Yes, popup needs a rewrite so this is a temporary fix. Special Thanks to Woohyun.
SVN revision: 79467
2012-11-20 09:59:24 +00:00
Daniel Juyung Seo 4c9edafed8 elm elm_widget.c: Added more internal function description.
SVN revision: 79466
2012-11-20 09:59:21 +00:00
ChunEon Park 8cc92d351d elementary/conformant - fixed typo and avoid duplicated.
SVN revision: 79462
2012-11-20 01:49:28 +00:00
Jiyoun Park 53f84c93d8 readd elm_window's function to deal with
property change


SVN revision: 79453
2012-11-19 16:51:44 +00:00
Shinwoo Kim 3ff4a96fdc [list] enhance access feature - add access activate callback
*note: this commit - callback behavior - would be disputable as genlist becuase list has
       "clicked,double", "selected" and "activated" signal and smart callback also.
       but the access acitvate callback works as the item is selected.



SVN revision: 79451
2012-11-19 13:40:24 +00:00
Shinwoo Kim f81147a18e [access] enhance access feature
1. add _elm_access_object_unregister(); api.
  2. unregister access object properly when unregister widget item.
  3. modify improper access object check.
  4. [list] add smart_access(); lines to provide run time register, unregister.
  5. [genlist] unregister access object when genlist item is unrealized.



SVN revision: 79444
2012-11-19 13:08:54 +00:00
ChunEon Park 0483d05865 elementary/conformant - try connect for land/port correctly since timer has one 1 sec delayed.
SVN revision: 79443
2012-11-19 12:52:11 +00:00
ChunEon Park 6d1126be3c elementary/win, conform - dont accept negative degree.
SVN revision: 79442
2012-11-19 11:56:54 +00:00
ChunEon Park 2d776b49bb elementary/conform - more optimal code
SVN revision: 79441
2012-11-19 08:17:49 +00:00
Daniel Juyung Seo d0a90625cf elm genlist: Trigger item unhighlight on item unselect automatically. This fixes 1. longpressed item highlighted bug and 2. reorder mode item highlighted bug.
SVN revision: 79397
2012-11-16 14:26:12 +00:00
Daniel Juyung Seo 383eab67b9 elm gengrid: Refactoring. Use simpler code.
SVN revision: 79396
2012-11-16 14:26:10 +00:00
Daniel Juyung Seo 939e024fb4 elm gengrid/genlist: Refactoring. Now genlist/gengrid item new functions look similar.
SVN revision: 79395
2012-11-16 14:26:07 +00:00
Daniel Juyung Seo ea644c1552 elm genlist/gengrid: Refactoring.
SVN revision: 79394
2012-11-16 14:26:04 +00:00
Daniel Juyung Seo 090417500a elm win: Refactoring. Use shorter/cleaner code.
SVN revision: 79393
2012-11-16 14:26:01 +00:00
Daniel Juyung Seo 7c3b90dc72 elm gengrid: Removed unnecessary duplicated calls.
SVN revision: 79392
2012-11-16 14:25:46 +00:00
Shinwoo Kim a9fc112932 [check] add remote activate callback which is called by elm_widget_activate();
SVN revision: 79371
2012-11-16 10:00:24 +00:00
Shinwoo Kim e7b69398d1 [access][genlist] enhance access feature - add access activate callback.
*note: this commit - callback behavior - would be disputable, becuase genlist has
       "clicked,double", "selected" and "activated" signal and smart callback also.
       but the access acitvate callback works as the item is selected.



SVN revision: 79369
2012-11-16 09:17:56 +00:00
Jihoon Kim 2f25639ceb elementary: move Elm_Focus_Direction into Focus group
SVN revision: 79358
2012-11-16 05:58:20 +00:00
WooHyun Jung 14a1f9b507 [elementary/datetime] Fixed module codes. The parent of ctxpopup should be a datetime.
And its location and size should be calculated with the top parent.


SVN revision: 79355
2012-11-16 02:17:24 +00:00
Jiyoun Park b22a43701e Support elm_conformant deal with indicator service.
if some app run indicator service using ecore, 
  elm_conformant can deal with these kind of service automatically



SVN revision: 79334
2012-11-15 10:43:26 +00:00
Jaehwan Kim add19e4e4f Change the parameter of the elm_toolbar_item_show/bring_in. Add the scroll type.
SVN revision: 79333
2012-11-15 10:27:46 +00:00
Stefan Schmidt 71b1ebfea8 elementary: Remove warnings introduced with the Toolbar 9 test.
SVN revision: 79329
2012-11-15 09:58:28 +00:00
Shinwoo Kim 673efad150 use evas_object_event_callback_del_full() instead of evas_object_event_callback_del().
because target object could have different gesture callback with different gesture object.
after _callbacks_unregister() is called, only one callback remains.


SVN revision: 79317
2012-11-15 05:45:44 +00:00
Michael BOUCHAUD 2a4c76ddeb elmentary: add elm_gengrid_nth_item_get
SVN revision: 79296
2012-11-14 16:34:33 +00:00
Michael BOUCHAUD a74c497ffb elmentary: add elm_genlist_nth_item_get
SVN revision: 79295
2012-11-14 15:46:14 +00:00
Jonas M. Gastal 45cce4ba03 Adds information about supported Elm_Map_Overlay_Type types in elm_map_overlay_color_set() function.
Author: KoziarekBeata b.koziarek@samsung.com

SVN revision: 79293
2012-11-14 12:59:34 +00:00
Daniel Juyung Seo 06e4578483 elm elm_toolbar.c: Use correct callback function.
SVN revision: 79286
2012-11-14 10:49:59 +00:00
Daniel Juyung Seo 4cd319f194 elm elm_photo.c: Use longpress_timeout configuration for the longpress time out.
SVN revision: 79285
2012-11-14 10:49:57 +00:00
Daniel Juyung Seo f05a7001f1 elm image, photo, plug, segment_control, thumb: Check button type and on_hold flag on mouse_down/up.
SVN revision: 79284
2012-11-14 10:49:54 +00:00
Daniel Juyung Seo e23406a6c0 elm test_photo.c: Added clicked smart callback example for photo widget.
SVN revision: 79283
2012-11-14 10:49:51 +00:00
Daniel Juyung Seo 56fce12f77 elm test_index.c: 1. do not need to call elm_list_selected_item_get(). event_info is a selected item. 2. check index item before using it.
SVN revision: 79282
2012-11-14 10:49:49 +00:00
Daniel Juyung Seo 264bbe0d8f elm test: Correct elm_win_resize_object_set() usage. Call evas_object_size_hint_weight_set() before calling elm_win_resize_object_set().
SVN revision: 79281
2012-11-14 10:49:45 +00:00
Daniel Juyung Seo cae7b0e9f6 elm conform: Use Evas_Smart_Cb_Description for smart callbacks.
SVN revision: 79280
2012-11-14 10:49:22 +00:00
Jaehwan Kim 7d98e7db8d Support the theme change about "base" in Toolbar.
SVN revision: 79270
2012-11-14 08:18:02 +00:00
Bluezery c1db5c3bd2 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [E-Devel][Patch][Elementary]Map: Remove delayed job

This patch removes delayed jobs in elm_map.
Previously delayed job is used for queuing the zooming & zoom mode
changing & overlay_showing API requests. Queued jobs are all executed
when pan is calculated.
But actually queued jobs are not needed to be  executed. Just last
jobs are needed to be executed per pan calculation.
So I removed delayed jobs and fill calc job functions to be executed
while calculation is executed.



SVN revision: 79269
2012-11-14 07:10:24 +00:00
Jaehwan Kim af3ceeccfd When toolbar is expand mode and scrolled, it's scrolled as a item.
SVN revision: 79265
2012-11-14 05:55:43 +00:00
Jaehwan Kim d8ac3c0872 Add the Toolbar 9. It's expand mode using "item_centered" style.
If the sum of item min values is larger than the length of window,
the scroll of toolbar works. And if the length of window is larger
than the sum of item min values, items are expanded.


SVN revision: 79263
2012-11-14 05:14:32 +00:00
Shinwoo Kim 2c018f252e [toolbar] enhance access feature - add smart_activate() to access object
*note: the toolbar item which has menu would need access feature of menu.


SVN revision: 79262
2012-11-14 04:08:25 +00:00
Jaehwan Kim 869f71a514 Fix the elm_image which is made up of a edje object can call a callback function
SVN revision: 79261
2012-11-14 03:27:15 +00:00
Sebastian Dransfeld 0d2e33b544 elementary: revert
This breaks terminology by adding a black bar at the top.

SVN revision: 79248
2012-11-13 21:57:49 +00:00
Daniel Juyung Seo af712e4369 elm elm_object.h: Fixed documentation and added more description.
SVN revision: 79240
2012-11-13 18:25:40 +00:00
Jiyoun Park 996c397afd Support elm_conformant deal with indicator service.
if some app run indicator service using ecore, 
elm_conformant can deal with these kind of service automatically


SVN revision: 79237
2012-11-13 17:27:39 +00:00
Jaehwan Kim 47beb7b815 since 1.8 => @since 1.8 in doc
SVN revision: 79204
2012-11-13 07:56:10 +00:00
Shinwoo Kim 58e25b3c43 [access] enhance access features
1. add smart_activate(); to access object.
  2. add an API _elm_access_activate_callback_set();
    - this callback is called when user wants to activate access object
      which would represent widget item or edje part object.
  3. add owner referece to the Elm_Access_Info for access object.
  4. clock: use _elm_access_activate_callback_set();



SVN revision: 79199
2012-11-13 05:50:08 +00:00
Michael BOUCHAUD 17d5be23ff elementary: add missing selected in elm_index, when we use elm_index_item_selected_set
SVN revision: 79186
2012-11-12 17:56:13 +00:00
Gustavo Lima Chaves 5e1126935a Gotta love those leftovers.
SVN revision: 79156
2012-11-12 12:56:21 +00:00
Jaehwan Kim 7cfe5d503e Add elm_toolbar_item_show/bring_in. It show or bring a specific item, when the toolbar can be scrolled.
SVN revision: 79134
2012-11-12 07:29:17 +00:00
ChunEon Park 29c1236341 elementary/conformant - support state change callbacks for comformant.
"virtualkeypad,state,on",
"virtualkeypad,state,off",
"clipboard,state,on",
"clipboard,state,off"



SVN revision: 79133
2012-11-12 05:53:16 +00:00
ChunEon Park 577f90e9a4 elementary/elc_fileselector_entry - [E-devel] E-devel] [PATCH] [ELEMENTARY] elm_fileselector_entry_inwin_mode_set doc fix
Hi all,

I had prepare some doc fix for elm_fileselector_entry_inwin_mode_set.

By mistake docs said it returns EINA TRUE in both cases.

Please verify attached file.

Regards,

Patrick

Signed-Off-By: Patryk Kaczmarek<patryk.k@samsung.com>



SVN revision: 79089
2012-11-10 09:21:25 +00:00
Daniel Juyung Seo 54b23893b1 elm access: Use less memory. Use Eina_Bool for access_mode.
SVN revision: 79005
2012-11-08 23:01:37 +00:00
Shinwoo Kim a19e32528f dear all, hello.
i would like to add access enhancement to the toolbar.
please review the attached. if there are no objections, I will commit it. 

cordially,
shinwoo kim. 


SVN revision: 78995
2012-11-08 09:20:37 +00:00
Shinwoo Kim c7012af41c [clock] add access features
1. register object and edit part
  2. add mart_focus_next(); on access mode
  3. add smart_ ccess(); for runtime - enable and disalbe handling


SVN revision: 78994
2012-11-08 09:10:13 +00:00
Daniel Juyung Seo adc7416fcb elm access: Rename access hook name according to elm refactoring.
SVN revision: 78993
2012-11-08 08:33:26 +00:00
Daniel Juyung Seo 71d832404a elm access: Create access object only when access mode is enabled.
SVN revision: 78992
2012-11-08 08:02:12 +00:00
Daniel Juyung Seo a128399b3a elm elm_widget_gengrid.h: Fixed gengrid documentation. Patch by Rajeev Ranjan <rajeev.r@samsung.com>
On Thu, Nov 8, 2012 at 12:42 PM, Rajeev Ranjan <rajeev.r@samsung.com> wrote:

    Hi,
       Attached is a patch to update documentation for gengrid related to changing longpress_timeout value in gengrid.
    Signed-off by: Rajeev Ranjan <rajeev.r@samsung.com>

    Thank you.
    Regards,
    Rajeev

SVN revision: 78990
2012-11-08 03:58:48 +00:00
Gustavo Lima Chaves 04ced4384a [elm] Fix typo on notify example.
SVN revision: 78975
2012-11-07 18:28:48 +00:00
Vincent Torri 5d85176597 Elm: fix quicklaunch on cygwin
Patch by Yaakov Selkowitz


SVN revision: 78974
2012-11-07 17:58:09 +00:00
Daniel Juyung Seo 2c10ffddc3 elm elm_win.c/h: Made documentation more explicit.
SVN revision: 78963
2012-11-07 08:49:37 +00:00
Gustavo Lima Chaves 914d525282 [elm] Account for elm_object_orient_set() deprecation
along elm files.

Spankies to Hermet for not doing it/delegating it before :)



SVN revision: 78948
2012-11-06 19:54:16 +00:00
Mikael SANS 98e76632a7 elementary/elm_icon: fix wrong parameter
SVN revision: 78947
2012-11-06 19:51:26 +00:00
Gustavo Lima Chaves 849240944e [elm] Cosmetic changes on macro definitions for the
layout.




SVN revision: 78943
2012-11-06 17:34:00 +00:00
Gustavo Lima Chaves 62c915ba06 [elm] Some layout doc improvements.
SVN revision: 78942
2012-11-06 17:33:40 +00:00
WooHyun Jung b684a2ccf7 elementary/elm_entry : From. Thiep Ha.
In elementary, the disabled entry works incorrectly.
We still can cut/paste from/to it.



SVN revision: 78836
2012-11-02 08:15:24 +00:00
ChunEon Park 880f6b82a1 elementary/flip - refacatoring (remove duplicated code)
SVN revision: 78822
2012-11-02 04:23:41 +00:00
ChunEon Park 09c3c4706b elementary/flip - don't update map uv for proxy object
SVN revision: 78820
2012-11-02 04:10:59 +00:00
ChunEon Park 24ff5df8bc elementary/menu - only set icons when string exists.
SVN revision: 78753
2012-11-01 09:55:38 +00:00
ChunEon Park 9e64662456 elementary/config - fix the text_overlay feature to unset them all properly.
SVN revision: 78748
2012-11-01 07:30:41 +00:00
ChunEon Park 398e26870a elementary/notify - +@since and fill extra descriptions to elm_notify_align_set
SVN revision: 78736
2012-11-01 00:50:29 +00:00
Rafael Antognolli 94cb2b2878 elm/orient: Align (0.5, 0.0) is TOP, not TOP_LEFT.
SVN revision: 78706
2012-10-31 12:37:55 +00:00
ChunEon Park b7bb82b1e7 elementary/config - and update doc for font overlay
SVN revision: 78705
2012-10-31 12:09:33 +00:00
ChunEon Park 0ec0cef2b3 elementary/config - minus font overlay size is acceptable.
SVN revision: 78704
2012-10-31 12:08:36 +00:00
ChunEon Park 299545f561 elementary/glview - don't be crash even if glview is failed allocating
SVN revision: 78703
2012-10-31 11:41:01 +00:00
ChunEon Park a00a3cc320 elementary/menu - dont' set icon name when icon name is NULL
SVN revision: 78698
2012-10-31 10:07:20 +00:00
ChunEon Park 43b883a15b elementary/transit - fix the transit to accept proxy obj
SVN revision: 78669
2012-10-30 14:44:34 +00:00
ChunEon Park 827646a2ab elementary/notify - --unnecessary comment
SVN revision: 78660
2012-10-30 13:54:24 +00:00
ChunEon Park 6c8e68f132 elementary/notify - removed deprecated internal variable and fixed double setting rtl
SVN revision: 78659
2012-10-30 13:44:24 +00:00
Seunggyun Kimsgyun.kim 831b094697 elementary - RE: [E-devel] [Patch] Align of Elm_Notify
I attached new patch.
The old patch's default position and mirroring problem has been fixed.

I added new 2 APIs for supporting various notify's postion.
EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); EAPI void elm_notify_align_get(const Evas_Object *obj, double *horizontal, double *vertical);

And below 2 APIs will be deprecated.
EINA_DEPRECATED EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient); EINA_DEPRECATED EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj);

Please review this patch.
Thanks:)

Signed-Off-By: Seunggyun Kim<sgyun.kim@samsung.com>



SVN revision: 78655
2012-10-30 13:14:45 +00:00
ChunEon Park 71840e45d5 elementary - sorry i pushed together which should not be
SVN revision: 78654
2012-10-30 13:11:53 +00:00
Seunggyun Kimsgyun.kim 87635d081e RE: [E-devel] [Patch] Align of Elm_Notify
I attached new patch.
The old patch's default position and mirroring problem has been fixed.

I added new 2 APIs for supporting various notify's postion.
EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); EAPI void elm_notify_align_get(const Evas_Object *obj, double *horizontal, double *vertical);

And below 2 APIs will be deprecated.
EINA_DEPRECATED EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient); EINA_DEPRECATED EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj);

Please review this patch.
Thanks:)

Signed-Off-By: Seunggyun Kim<sgyun.kim@samsung.com>



SVN revision: 78653
2012-10-30 13:09:33 +00:00
Jihoon Kim 0d8c7eb1fd elementary: fix typo in entry test
SVN revision: 78595
2012-10-29 00:30:51 +00:00
Michael BOUCHAUD 1bdf3799a4 elementary: a better fix to not remove an inexistant block items
SVN revision: 78518
2012-10-26 10:27:13 +00:00
Cedric BAIL 768ac0b219 elementary: quick bug fix.
WARNING: I don't believe this is the proper bug fix for an uninitialized
memory access, but I really don't know this code enough. Tasn if you could
look at it when you have time.


SVN revision: 78511
2012-10-26 09:00:14 +00:00
Michael BOUCHAUD bafad20f2d elementary: if no items block to del return
SVN revision: 78434
2012-10-25 09:55:27 +00:00
Shinwoo Kim 139ac878df dear all, hello.
i would like to add access feature to the panel.
please review the attached. if there are no objections, I will commit it. 

cordially,
shinwoo kim.


SVN revision: 78428
2012-10-25 09:07:21 +00:00
Daniel Juyung Seo d5e0823937 elm elm_clock.h: Fixed documentation typo.
SVN revision: 78400
2012-10-24 12:51:34 +00:00
Shinwoo Kim f22b576f0b use existing macro ELM_RECT_INTERSECT(x, y, w, h, xx, yy, ww, hh) to check displayed item.
SVN revision: 78380
2012-10-24 02:01:58 +00:00
Shinwoo Kim 68b2ea66ea dear all, hello.
genlist could have LOTS of items. so it would be better to use only displayed items for the focus chain.
please check the attachment and give feedback. thanks.

cordially,
shinwoo kim.


SVN revision: 78378
2012-10-24 01:06:05 +00:00
Michael BOUCHAUD e451522ac3 elementary: fix promote on first item and demote on last item of a genlist
SVN revision: 78375
2012-10-23 15:13:09 +00:00
Shinwoo Kim 8ef6ac7f41 [toolbar] temporary smart_event() has blocked event propagation
SVN revision: 78354
2012-10-23 06:07:30 +00:00
Daniel Juyung Seo 1b947bfe2c elm notify_example_01.c: Refactoring.
SVN revision: 78352
2012-10-23 06:03:55 +00:00
Bluezery e0b7de5996 Elm genlist: Revert "From: Bluezery <ohpowel@gmail.com>"
Subject: [E-devel] [E-Devel][Patch][Elementary]Genlist - Edje Item
    Cache Refactoring

    This is patch for reconstructing genlist's item cache.
    Each item cache functions do harsh jobs so just push,pop by
    Elm_Gen_Item * now.
    Before, cache is disabled by comments. But I enabled item cache again
    (even for the case which tree_effect_enabled is on).

    I changed some functions:
    _item_cache_find() --> _item_cache_pop()
    _item_cache_add() --> _item_cache_push()
    _item_cache_zero() -->_item_cache_all_free()

    And I removed _item_cache_clean() function because I made
    _item_cache_push() to don't exceed the item_cache_max. So clean-up of
    cache is not needed anymore.

Breaks "genlist 2" test and clouseau. Just open genlist 2, press the "X"
button, and then the "+" button.

This reverts commit 77944.

SVN revision: 78336
2012-10-22 14:34:43 +00:00
Sanjeev BA 24c78b7c63 Make widget search instantaneous.
SVN revision: 78315
2012-10-22 06:00:50 +00:00
Daniel Juyung Seo 4a59db31f8 elm elm_bubble.h: Added documentation for bubble widget.
SVN revision: 78310
2012-10-22 00:47:10 +00:00
ChunEon Park d8c7c7ec15 elementary/transit - fix elm_transit image animation that last few frame are skipped
SVN revision: 78233
2012-10-19 07:46:33 +00:00
Daniel Juyung Seo 4e49a5f52e elm gengrid: Fixed wrong _calc_job parameter. Patch by Bluezery <ohpowel@gmail.com>
On Fri, Oct 19, 2012 at 12:30 PM, Bluezery <ohpowel@gmail.com> wrote:
> Dear all,
>
> There is a bug, invalid data assign into ecore_job.
> Trivial whilte space removal is included also.  it's automated in my editor :D.
>
> Please review this patch.
>
> --
> BRs,
> Kim.

SVN revision: 78221
2012-10-19 04:06:42 +00:00
Cedric BAIL 0474ed0f3f elementary: adds safety check when setting childs to elm_layout_box_*.
Patch from KoziarekBeata <b.koziarek@samsung.com>


SVN revision: 78220
2012-10-19 03:17:00 +00:00
Cedric BAIL c824f30090 elementary: starting work for using WebKit2 as an alternative to WebKit.
Patch by ryuan Choi <ryuan.choi@gmail.com>


SVN revision: 78219
2012-10-19 03:08:45 +00:00
WooHyun Jung 87bc405a68 elementary/elm_entry : Add widget checking for some APIs.
SVN revision: 78207
2012-10-19 00:56:03 +00:00
Jaehwan Kim 45622bb3fa When the theme is changed, the min value should be set the min of edc newly.
SVN revision: 78162
2012-10-18 08:47:41 +00:00
Jaehwan Kim 0487a76057 Add the fitting the size of items according the viewport size.
If the sum of item's min is larger than the viewport size in ELM_TOOLBAR_SHRINK_EXPAND mode,
it can be scroll. And the end of the item is fitted on the end of the viewport.


SVN revision: 78156
2012-10-18 07:57:13 +00:00
Sanjeev BA 5d488c8ffb change returned value from -1 to EINA_FALSE.
Author:    KoziarekBeata <b.koziarek@samsung.com>

SVN revision: 78142
2012-10-18 00:55:19 +00:00
Daniel Juyung Seo 5b7785ccea elm: Fixed on_focus_region() issue. Focused area should be scrolled only when it is needed. Now only entry needs this feature.
SVN revision: 78111
2012-10-17 10:09:52 +00:00
Carsten Haitzler 3721aab314 oops accidentally committed test code! :(
SVN revision: 78106
2012-10-17 07:02:51 +00:00
Daniel Juyung Seo f1febd3afa elm test_map.c: Fixed infinite menu creation bug. Remove menu on map deletion. Patch by Bluezery <ohpowel@gmail.com>
SVN revision: 78098
2012-10-17 02:43:50 +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
Jaehwan Kim f3f96e6b7e No need code.
SVN revision: 78033
2012-10-16 05:29:24 +00:00
Daniel Juyung Seo 81a4e7317c elm elc_naviframe.c: Initialize on declaration.
SVN revision: 78028
2012-10-16 02:54:59 +00:00
Jihoon Kim 1066b9e562 elm/video: fix elm_widget_type_check (obj=0x0, type=0x29a520 elm_layout, func=0x29ade9 elm_layout_sizing_eval)
SVN revision: 78024
2012-10-16 01:25:37 +00:00
Daniel Juyung Seo 36a11dbec9 elm: Added Jiyoun Park to elementary authors list.
SVN revision: 78021
2012-10-16 00:01:38 +00:00
Daniel Juyung Seo 63996aa1b1 elm elm_authors.h: Synced authors with AUTHORS file.
SVN revision: 78020
2012-10-16 00:01:33 +00:00
Daniel Juyung Seo 08943b1664 elm elc_naviframe.c: Line breaks.
SVN revision: 78019
2012-10-15 23:44:39 +00:00
Eduardo Lima (Etrunko) 3e5e72a308 Elm_Win: Don't draw decorations for ELM_WIN_INLINED_IMAGE on
Wayland

Closes ticket #1419

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 78007
2012-10-15 20:51:23 +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
DUBEYPRINCE KUMAR 1b2a42c819 From: DUBEYPRINCE KUMAR <prince.dubey@samsung.com>
Subject: [E-devel] [PATCH][ELEMENTARY][BUG Fix] Current Reordering
item is not resizing on genlist resize (e.g On roation)

Please review the attached patch created to fix the current reordering
item
resizing issue.
 
 [ISSUE] Current genlist reordering item is not resizing on genlist
resize
(e.g. On rotation).
 
Change Description:
 
In _calc_job call back, the width of reordering item is corrected.
   


SVN revision: 77992
2012-10-15 09:10:05 +00:00
Kim Shinwoo 39eb187493 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - blank item
should be added on round disabled mode

blank item should be added on the round disabled mode.
current diskselector adds blank item even though the round mode is enabled.
so please check the patch and give feedback. thanks.



SVN revision: 77990
2012-10-15 08:43:14 +00:00
Daniel Juyung Seo 16cb7ae33f elm elm_widget: Use const for getters.
SVN revision: 77978
2012-10-15 06:26:56 +00:00
Kim Shinwoo 0dc4ef5aef From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] toolbar - highlighting item on
access

the current toolbar does not show highlight effect on accessibility mode.
the attached would give the highlight to toolbar item.
please review the patch and give feedback. thanks.



SVN revision: 77972
2012-10-15 05:47:02 +00:00
WooHyun Jung 2640f9a966 elementary : Just fixed some mis-typos :)
SVN revision: 77970
2012-10-15 01:22:12 +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
Carsten Haitzler c2f161fb3d typo--
SVN revision: 77957
2012-10-13 12:59:39 +00:00
ChunEon Park 73931a889c elementary/transit - fix the transit to launch the effect right away when elm_transit_go is called
SVN revision: 77949
2012-10-13 06:43:01 +00:00
Kim Shinwoo ef0f67781c From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] conformant - use layout focus
next, direction

um.. there would be a reason to not use focus next and direction stuff..
please let me know why the conform does not use those..
if there is no reason, please keep the patch. thanks.



SVN revision: 77947
2012-10-13 04:50:15 +00:00
Bluezery 7e4f0011bd From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [E-Devel][Patch][Elementary]Genlist - Edje Item
Cache Refactoring

This is patch for reconstructing genlist's item cache.
Each item cache functions do harsh jobs so just push,pop by
Elm_Gen_Item * now.
Before, cache is disabled by comments. But I enabled item cache again
(even for the case which tree_effect_enabled is on).

I changed some functions:
_item_cache_find() --> _item_cache_pop()
_item_cache_add() --> _item_cache_push()
_item_cache_zero() -->_item_cache_all_free()

And I removed _item_cache_clean() function because I made
_item_cache_push() to don't exceed the item_cache_max. So clean-up of
cache is not needed anymore.



SVN revision: 77944
2012-10-13 04:23:43 +00:00
Michael BOUCHAUD a1661712da elementary: elm_map use now image proxy and do some cleaning in theme, big thx to Bluezery !
SVN revision: 77939
2012-10-12 14:51:45 +00:00
WooHyun Jung ba316374b9 elementary : From. Michal Jagiello.
In elm_slideshow_timeout_get documentation is no information about what
function returns on errors.


SVN revision: 77936
2012-10-12 10:37:23 +00:00
Michael BOUCHAUD b6c771c97c elementary: add elm_map_name_search
SVN revision: 77935
2012-10-12 10:27:08 +00:00
Jihoon Kim 9a8fc5433e elm: fix typo in elm_notify
SVN revision: 77839
2012-10-11 00:37:26 +00:00
Jihoon Kim d19a9669c3 remove trailing spaces and fix coding style
SVN revision: 77838
2012-10-11 00:35:00 +00:00
Michael BOUCHAUD fc1d6f99de elementary: remove unneeded code & add some prevent code in elm_map. Patch from Bluezery, thx :)
SVN revision: 77756
2012-10-10 12:29:08 +00:00
Carsten Haitzler 3a2c283d26 i have no idea now why i put this here, hmm yes it did disable item
cache - re-enable! :(



SVN revision: 77750
2012-10-10 11:06:00 +00:00
Carsten Haitzler f917683f58 oops i didnt mean to commit this with shinwoo's patch. remove.
SVN revision: 77749
2012-10-10 11:03:44 +00:00
Cedric BAIL 2c6d0a57c9 elementary: better fix for data corruption in multibuttonentry.
Patch by Jihyeon Seol <jihyeon.seol@samsung.com>


SVN revision: 77742
2012-10-10 09:44:38 +00:00
Kim Shinwoo 1cdbfa5f82 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - bug fix

diskselector has two bugs.

1. on round enable mode
elm_diskselector_item_append(); does not call elm_box_pack_*() for
over_items and under_items which are added when the display item is
bigger
than 3.
because over_items and under_items is not added, the diskselector shows
just 4 items + half item(NOT 5 items), in case of display item number
is 5
- elm_diskselector_display_item_num(obj, 5); -.
this bug could be found only if u use as following sequence.
   a. elm_diskselector_round_enabled_set(obj, EINA_TRUE);
      b. elm_diskselector_item_append();
      
      2. on the round disable mode + bigger than 3 display item
      even though display item is bigger than 3 on the round disable
mode, only
two blank items are added - left_blank, right_blank.
because of this, the first item could not be selected. means.. the first
item cannot be located in the middle of diskselector.
if u scroll the diskselector to the left-most, then the second item is
selected as below.

   [blank] [ 1st ] [ 2nd ] [ 3rd ] [ 4th ]
   
   so if the display item is bigger than 3, more blank items would be
   necessary.
   include lines to resolve above 1st bug, the patch would resolve
this issue
also.



SVN revision: 77740
2012-10-10 09:43:58 +00:00
Kim Shinwoo 0864af3230 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] multibuttonentry - access feature

i have attached a patch which has access feature for the multibuttonentry.
it was hard time to implement access feature on the multibuttonentry than
others.



SVN revision: 77738
2012-10-10 09:37:50 +00:00
KoziarekBeata 39d8d990e3 From: KoziarekBeata <b.koziarek@samsung.com>
Subject: [E-devel] [elementary] size value checking in elm config

This patch contains size value checks for some functions in elm_config
file.
 
I think that calling these function with negative size values has no
sense.



SVN revision: 77734
2012-10-10 09:26:29 +00:00
Michael BOUCHAUD 994441181c elementary: don't try to find one more time the node we want to remove. We already have it !
SVN revision: 77630
2012-10-09 08:49:06 +00:00
Michael BOUCHAUD 881c36211c elementary: fix calculation of scale table, thx to Bluezery
SVN revision: 77620
2012-10-09 08:18:28 +00:00
Bruno Dilly fed295ce26 elementary: add since tag on new spinner funcs
SVN revision: 77600
2012-10-08 22:55:26 +00:00
Bruno Dilly e0d1bab54a elementary: add special value del / get funcs to spinner
SVN revision: 77590
2012-10-08 22:39:15 +00:00
Bruno Dilly 93295e2657 elementary: replace previously special value set
When adding a special value, check if there is already a label for
the value. If it's the case, just replace the label.



SVN revision: 77589
2012-10-08 22:39:05 +00:00
Daniel Juyung Seo 41b315d770 elm elementary_codegen.c: Removed 'may be used uninitialized.' warnings.
SVN revision: 77535
2012-10-05 14:36:00 +00:00
Cedric BAIL 6f20d1cb7f elementary: should work with wayland when both wayland and x11 backend are build.
SVN revision: 77496
2012-10-05 01:59:11 +00:00
Sebastian Dransfeld 870c91ca10 elementary: Add COMPOUND_TEXT handler
Needed for vim cnp

SVN revision: 77486
2012-10-04 23:19:05 +00:00
Sebastian Dransfeld 9444642ee7 elementary: Don't allocate unneeded data
SVN revision: 77475
2012-10-04 23:17:28 +00:00
Daniel Juyung Seo f33db2a8ef elm test_colorselector.c: Added PICKER mode for color selector.
SVN revision: 77426
2012-10-04 11:00:26 +00:00
Cedric BAIL 98f1dc53d6 elementary: add color picker to elm_colorselector.
SVN revision: 77409
2012-10-04 08:27:07 +00:00
Cedric BAIL 441a2ef861 elementary: Fixes copy&paste error and possible invalid memory access.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77397
2012-10-04 02:47:15 +00:00
Cedric BAIL 4e92316193 elementary: Simplifies code and removes redundant duplicated code.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77396
2012-10-04 02:43:57 +00:00
Cedric BAIL f79c9bb374 elementary: Fixes bad format strings in *printf() calls.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77395
2012-10-04 02:42:26 +00:00
Cedric BAIL d6b7a7bc35 elementary: Removes unused variable.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77394
2012-10-04 02:40:59 +00:00
Bruno Dilly 900ba23681 elementary: correctly balance init counts
It was always increasing quicklaunch count on init, but
only reducing on shutdown when _elm_init_count is zeroed,
i.e., the quicklaunc_shutdown rountine wasn't being executed.



SVN revision: 77378
2012-10-03 16:41:46 +00:00
Bruno Dilly 3a7b3c67e0 elementary: on external widgets del just call shutdown
Instead of adding it to an idler.
If the main loop is already dead it won't shutdown correctly.



SVN revision: 77377
2012-10-03 16:41:30 +00:00
Michael BOUCHAUD 14e4e7dfbe elementary: add elm_calendar_displayed_time_get to know which month is displayed. And add a signal display,changed
SVN revision: 77362
2012-10-03 10:02:27 +00:00
Flavio Vinicius Alvares Ceolin d2e0dca5d4 elementary_codegen: Fixing a small problem with programs
Generating code even when there is no signal and/or source
in a program with SIGNAL_EMIT action.



SVN revision: 77332
2012-10-02 19:09:10 +00:00
Bruno Dilly f3106115d3 elementary: fix enum docs on elm_general
SVN revision: 77329
2012-10-02 17:06:20 +00:00
Bruno Dilly 322ceb0458 elementary: add policy for elm exit
With ELM_POLICY_EXIT it's possible to request elementary
to delete all the windows before shutdown instead of just
quitting the main loop.



SVN revision: 77328
2012-10-02 17:06:11 +00:00
Stefan Schmidt f2f7c1deef elementary/genlist: Init itc to NULL before using it.
SVN revision: 77320
2012-10-02 12:53:58 +00:00
Bruno Dilly 34dbd67c31 elementary: fix spinner wrap
It's weird, but looks like wrap mode of the spinner is broken at least
since the move of elm to trunk.

The current code:

  if (sd->wrap)
     {
        while (new_val < sd->val_min)
          new_val = sd->val_max + new_val + 1 - sd->val_min;
        while (new_val > sd->val_max)
          new_val = sd->val_min + new_val - sd->val_max - 1;
     }

doesn't seems correct. Since even the documented example would fails:

 * E.g.:
 * @li min value = 10
 * @li max value = 50
 * @li step value = 20
 * @li displayed value = 20
 *
 * When the user decrement value (using left or bottom arrow), it will
 * displays @c 40, because max - (min - (displayed - step)) is
 * @c 50 - (@c 10 - (@c 20 - @c 20)) = @c 40.

With the current code the value will be 41.

It also could lead to values above min, like happens on the first spinner test,
when you could go to -50.5 because new value will become:
 250 + (-50.5) + 1 - (-50) in the first while() and later since these value
 is bigger then 250, would go back to -50.5 ...

So, a reasonable algorithm would be

  if (sd->wrap)
     {
        if (new_val < sd->val_min)
          new_val = sd->val_max + new_val - sd->val_min;
        else if (new_val > sd->val_max)
          new_val = sd->val_min + new_val - sd->val_max;
     }

But it doesn't works fine for cases like the months spinners test, when you
have min = 1, max = 12, step = 1 and each option should be displayed with
wrap. This algorithm would wraps from 1 to 11, so would skip December...

So, I think just going to the max value when min is reached is the better
choice.

   if (sd->wrap)
     {
        if (new_val < sd->val_min)
          new_val = sd->val_max;
        else if (new_val > sd->val_max)
          new_val = sd->val_min;
     }



SVN revision: 77278
2012-10-01 20:44:19 +00:00
Daniel Juyung Seo 838684f1bf elm genlist: Fixed reorder mode to scroll the pan when reorder item approaches to the edges. Patch by Bluezery <ohpowel@gmail.com>
On Fri, Sep 28, 2012 at 10:04 PM, Bluezery <ohpowel@gmail.com> wrote:
> Dear EFL developers,
>
> In current genlist reorder mode, reordering is not moved when
> reordering item is on top or in bottom of within genlist objec because
> of scroller's hold mode.
> After mouse point is moved out of genlist object, then reordering item
> can be moved.
> But in mobile, mouse point can not be moved out of window (if genlist
> item is expanded in window).
> So I add some tweaks to reordering item can be moved when reordering
> item is moved on top item or bottom item.
>
> Please review this patch.
>
> BRs
> Kim.

SVN revision: 77255
2012-10-01 08:55:46 +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
Vincent Torri 9da7ce5abe Elm: fix compilation of codegen on Mac and formatting in elm_priv.h
SVN revision: 77220
2012-09-30 07:15:30 +00:00
ChunEon Park 5db89a0439 elementary/genlist - my fault. fixed build error :1
SVN revision: 77219
2012-09-29 18:45:15 +00:00
ChunEon Park 48613d7cd8 elementary/genlist - remove it safely.
SVN revision: 77218
2012-09-29 18:40:43 +00:00
Bruno Dilly ede2439e4a elementary: remove wrap from one of spinner tests
Since all the spinners have wrap set we don't test if min / max
are working fine without it.
Also, using EINA_TRUE instead of ELM_WRAP_CHAR makes more sense.

Anyway I couldn't reproduce the bug Ricardo reported to me =/



SVN revision: 77213
2012-09-28 21:07:28 +00:00
Bruno Dilly 116ee8afa5 elm: add bg external
I know some guys insinuated it's useless, since if you want to
put a image in your theme you can just place a image part.

But there are some cool things:
 - You can add a background that fits the theme (default bg theme)
 - You can use background options (tile, stretch...)



SVN revision: 77212
2012-09-28 21:07:23 +00:00
Gustavo Lima Chaves 6914df9e5f [elm] Let's check for an elm widget before recursing on elm_widget_theme().
SVN revision: 77207
2012-09-28 14:08:00 +00:00
Gustavo Lima Chaves 939a530ebb We don't want to get err messages on !win objects on entry focus.
This can happen on window deletion scenario:

the parent object is elm_widget_sub_object_del()ed BEFORE it gets
evas_object_del()ed, so its children won't reach the window anymore.



SVN revision: 77206
2012-09-28 14:07:16 +00:00
Jihyeon Seol ca35233c07 From: Jihyeon Seol <jihyeon.seol@samsung.com>
Subject: [E-devel] [Patch] multibuttonentry - data corruption issue of
the box list

here is a problem in the data corruption of the box list in
_box_layout_cb() of the multibuttonentry.

EINA_LIST_FOREACH is used to move and resize the objects. 
but if box unpack/pack is called in the EINA_LIST_FOREACH loop, 
the data of the box list will be corrupted.

This problem can not be solved immediately due to the structural
problems of
the MBE. 
So the attached patch, a workaround, avoids calling unpack/pack in the
EINA_LIST_FOREACH loop.

I am in the process of refactoring MBE but in the mean time, 
this patch will resolve the above issue.



SVN revision: 77192
2012-09-28 09:28:18 +00:00
Kim Shinwoo b52366b70d From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - checking middle
item

the diskselector object x-coordinate would not be 0.
but the _scroll_animate_stop_cb() calculates selected item with assumption
that the diskselector object x-coordinate is 0.
so different item which is not in middle of diskselector is selected.



SVN revision: 77182
2012-09-28 08:48:48 +00:00
Jaehwan Kim 01691d9e7d fix indentation
SVN revision: 77177
2012-09-28 04:23:29 +00:00
Jaehwan Kim 052588f9d7 Add the toolbar API which expand the transverse length
SVN revision: 77107
2012-09-27 03:05:50 +00:00
Mike McCormack 33b0007e16 elementary: Fix uninitialized variable warning
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77101
2012-09-26 19:53:53 +00:00
ChunEon Park b62163cd47 elementary/transit - removed unnecessary line
SVN revision: 77077
2012-09-26 09:15:34 +00:00
Cedric BAIL 8316dee00d elementary: escape theme filename correctly.
SVN revision: 77046
2012-09-25 08:04:17 +00:00
Flavio Vinicius Alvares Ceolin 8e82a878e5 elementary_codegen: Improving the example
Adding a table to example to test the new set
of generated functions.



SVN revision: 77040
2012-09-24 19:52:44 +00:00
Flavio Vinicius Alvares Ceolin 63fc09980f elementary_codegen: Adding support for box and table
Adding the follow functions if the part is a BOX:

   - elm_layout_box_append
   - elm_layout_box_prepend
   - elm_layout_box_insert_before
   - elm_layout_box_insert_at
   - elm_layout_box_remove
   - elm_layout_box_remove_all

or if the part is a TABLE:

   - elm_layout_table_pack
   - elm_layout_table_unpack
   - elm_layout_table_clear



SVN revision: 77039
2012-09-24 19:52:22 +00:00
Cedric BAIL 4f0e673c1d elementary: build elm map correctly without Ecore_Con.
SVN revision: 76968
2012-09-21 13:12:02 +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
Daniel Juyung Seo 2abea4b740 elm popup_example_03.c: Fixed wrong string.
SVN revision: 76925
2012-09-21 00:18:03 +00:00
Flavio Vinicius Alvares Ceolin 83405f2366 edje_codegen: Fixing a bug in the build system
The name of the edc's example is codegen_example.edc and not
codegen.edc

Problem spotted by Sleep_Walker.



SVN revision: 76920
2012-09-20 22:39:07 +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
Aharon Hillel 19b2e5e892 elementary: Fixed show/hide direction for ctx-popup ui-mirroring
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 76892
2012-09-20 08:13:28 +00:00
Daniel Juyung Seo e8fa4f8035 elm index: Fixed unused variable warnings.
SVN revision: 76879
2012-09-20 00:49:07 +00:00
Mike McCormack 25ead9a8a8 elementary: Fix unused variable warnings
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 76876
2012-09-19 21:01:01 +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
Aharon Hillel 56dce48238 elementary: Fixed elc_ctxpopup arrow for ui-mirroring
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 76861
2012-09-19 13:00:00 +00:00
Jaehwan Kim e7b533d11d Add reorder mode set/get API in Toolbar.
SVN revision: 76841
2012-09-19 05:23:22 +00:00
Leandro Pereira c0f71f3186 elementary_config: Fix typo
SVN revision: 76839
2012-09-18 21:59:25 +00:00
Kim Shinwoo a092d5cb1d From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][access] bubble - access feature

the attached has access feature for bubble widget.
please review it and give some feedback. thanks.



SVN revision: 76798
2012-09-18 10:56:19 +00:00
Kim Shinwoo fdaf625316 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] access - activate widget
Subject: [E-devel] [Patch][elementary] scroller, slider - access
activate feature

the previous activate function just get object only. to activate scroller
or slider etc.. it needs more information. so the patch changed previous
activate(Evas_Object *obj) to activate(Evas_Object *obj, Elm_Activate act);
the Elm_Activate can be one of ELM_ACTIVATE_DEFAULT, UP, DOWN, RIGHT, and
LEFT.. you can add more if it is necessary.

I have attached two patches. one is for the slider and the other is for the
scoller.
this patch would support those who wants change value of slider or content
position of scroller on remote side.
this would be useful to the access side or voice control side also.



SVN revision: 76717
2012-09-17 03:01:46 +00:00
Daniel Juyung Seo 794db8f4fb elm test_toolbar.c: Use more explicit variable name and function name.
SVN revision: 76672
2012-09-14 14:37:54 +00:00
Daniel Juyung Seo be9da2624b elm test: Removed unused variables. Fixed shadow warning.
SVN revision: 76671
2012-09-14 14:37:46 +00:00
Kim Shinwoo 93c0a03c68 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] bubble - text set does not
display info text part

current bubble dose not display 'info' which is TEXT part.
i have learned that the following commit would be reverted.
http://trac.enlightenment.org/e/changeset/71516/trunk/elementary/src/lib/elm_bubble.c
or remove 'else' from 'else if' on current
_elm_bubble_smart_text_set();.

anyhow i made a diff and attached. please find it and give feedback.
thanks.



SVN revision: 76669
2012-09-14 13:30:18 +00:00
Doyoun Kang 2e8cbfe9b4 From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [patch] Add APIs for floating mode

I added APIs for supporting the floating mode -
elm_win_floating_mode_set, elm_win_floating_mode_get. 
The floating mode will be used on mobile environment. For example, if
the video-player window set the floating mode, then e (enlightenment
window manager) changes it's geometry and handles it like a popup.
Please check these APIs and give an advice for me.



SVN revision: 76667
2012-09-14 13:06:57 +00:00
Carsten Haitzler 26f6d3d8ce errr elm codegen - lets link like the rest of elm bins eh?
SVN revision: 76630
2012-09-13 23:15:49 +00:00
Flavio Vinicius Alvares Ceolin b65e5ed1ec elementary_codegen: Adding a basic example
Just adding an example showing how to using the codegen.



SVN revision: 76615
2012-09-13 14:06:45 +00:00
Flavio Vinicius Alvares Ceolin 1a39b4de1d elementary_codegen: generating source code from edj
Parsing the parts and programs of the specified group and generating
the header/source. Usage:
elementary_codegen --prefix myapp_myobj input.edj a_group source.c header.h



SVN revision: 76614
2012-09-13 14:06:07 +00:00
PRINCE KUMAR DUBEY bc2a1bd996 From: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Subject: [E-devel] [Patch] [Elementary] Support for circular effect in
elm_diskselector, in case scroller's bounce effect is disabled.

Can someone please review the attached patch created by Sumanth.

[Issue Details] :
elm_diskselector_round_enable_set() API is not working, if
elm_scroller's bounce effect is disabled.

[Root cause] :
For diskselector circular effect, the boundary checking is done based
on scroller's geometry.
If bouncing effect is disabled in elm_scroller, its geometry can lie
between 0 on left and CHILD_SIZE on right but it can never go beyond
that point.
Unless the scroller's geometry goes beyond its child (here, elm_box)
size, diskselector cann't trigger the circular effect.

[Change Description] :
For diskselector items circular effect, the boundary checking is
performed at the left/right edges of its child, elm_box.
Once the scroller reaches to the left/right edge of box or goes beyond
that point, circular effect will be triggered.



SVN revision: 76606
2012-09-13 11:55:24 +00:00
Carsten Haitzler 0fb69c0e37 unknonw direction actually should just be handled in default - skip
that direction and go to the next one.



SVN revision: 76589
2012-09-13 08:31:29 +00:00
Jiyoun Park 52fd505670 fix plug's min/max value reset
SVN revision: 76575
2012-09-13 06:15:11 +00:00
Davide Andreoli d9c1ca2207 * Add external property "play length" to Video widget and fix the test accordingly
also fix ChangeLog whitespacing: every news need a single tab


SVN revision: 76557
2012-09-12 20:30:17 +00:00
Davide Andreoli e77bd359ad New external test: video player in pure edje
SVN revision: 76554
2012-09-12 19:26:50 +00:00
Gustavo Lima Chaves 0ef2708002 [elm] Fix missing icon on Genlist 'double_label' theme for consistency.
Patch by João Paulo Fernandes Ventura.



SVN revision: 76549
2012-09-12 17:01:34 +00:00
Jiyoun Park 2aec1cf9e6 fix bug. plug can retry several times
SVN revision: 76541
2012-09-12 16:11:40 +00:00
Jiyoun Park b508fa5e21 Add image deleted signal into plug. it help user notice socket service
ail and they can retry service connection. and add test code deal with this signal. 


SVN revision: 76539
2012-09-12 16:03:03 +00:00
Jiyoun Park d8b60a8746 support indicator service using elm config.
using this, we can establish indicator service.
I'll implement more indicator service feature using elm_plug and elm_compoment.
after finishing all indicator and compoment feature I will add change log and news


SVN revision: 76533
2012-09-12 14:08:26 +00:00
Kim Shinwoo 5f41a3729d From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] index - add access feature

the attachment has access features for the index. and this patch is
depends
on the previous patch which has
_elm_access_edje_object_part_object_unregister();
to find the previous patch, please refer to the following

http://sourceforge.net/mailarchive/forum.php?thread_name=CAP-c0nG8NkMx3J-YkSJnWdB23cWOPrtk1Rx10Lae0Zwxst1eeQ%40mail.gmail.com&forum_name=enlightenment-devel

the index could have two levels, one is level 0, the other is level 1.
the
patch supports only level 0 because we have no style for the level 1..
(just a cowardly excuse, i will keep up with this.. and update..)



SVN revision: 76532
2012-09-12 13:44:27 +00:00
Tom Hacohen 0f68d13b19 Elm datetime-module: Fixed Makefile.am to work with emap.
Patch by Yakov Goldberg.

SVN revision: 76528
2012-09-12 13:34:05 +00:00
Kim Shinwoo 7c50cdd4aa From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - text align issue

by default diskselector item has space for icon even though the item does
not have icon.
so in some cases, the text is not located in the center of item and
diskselector.
the attachment would resolve this issue. please look into it and give
feedback. thanks.



SVN revision: 76507
2012-09-12 08:46:10 +00:00
thiep ha 6f5539c8ca From: thiep ha <thiep.ha@samsung.com>
Subject: [E-devel] [Patch] [Elementary] ctxpopup - correct position
and size of ctxpopup

With ctxpopup, if it has many items and user uses -1 as parameter in
set direction priority function, 
the ctxpopup position and size are calculated incorrectly.
Ex:
elm_ctxpopup_direction_priority_set(ctxpopup,
ELM_CTXPOPUP_DIRECTION_DOWN, ELM_CTXPOPUP_DIRECTION_UP, -1, -1); 



SVN revision: 76505
2012-09-12 08:35:42 +00:00
Kim Shinwoo 7aacc9fc4b From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] calendar - add access feature,
access - add _elm_access_edje_object_part_object_unregister(); 

the attachment has accessibility feature which is for the
elm_calendar. and
moreover..
it would be better to keep one more api for the access which name is
_elm_access_edje_object_part_object_unregister();
in the case of calendar item, its text part could be set with empty
value
in run time(dynamically), even though it had a value (1~31) previously.
so if there is an empty field(item), then previously registered item
should
be unregistered. the api would be useful not only this case but also
others.
then, please review the patch and give feedback. thanks.



SVN revision: 76502
2012-09-12 08:25:10 +00:00
WooHyun Jung 9fb785f10e elementary/datetime : Ctxpopup should be hidden when datetime is
unfocused.


SVN revision: 76489
2012-09-12 06:18:43 +00:00
Jaehwan Kim 30c479371f The hidden signal is emitted when the icon or text is hidden.
SVN revision: 76488
2012-09-12 05:30:35 +00:00
Jaehwan Kim 4613933a34 When the number of item is changed, the toolbar emits the signal to theme.
The theme can be changed something according the number of item.



SVN revision: 76487
2012-09-12 05:15:43 +00:00
WooHyun Jung 1ac12fe423 elementary/ctxpopup : Rollback 76452. Ctxpopup seemed to be bad with
this modification. (please see the datetime in elementary_test)


SVN revision: 76486
2012-09-12 04:34:08 +00:00
Michael BOUCHAUD 6b520ae48d elementary: add elm_calendar_selectable_set
SVN revision: 76478
2012-09-11 21:33:54 +00:00
Tom Hacohen 47d2139e0f Elm layout: remove !obj check from ELM_LAYOUT_CHECK.
This is already handled in elm_widget_type_check, and there it actually
prints an error message, like it should.
Patch by Daniel Zaoui.

SVN revision: 76461
2012-09-11 14:25:30 +00:00
ChunEon Park 3fec653c9b elementary/ctxpopup - correct position and size of ctxpopup
Dear all,

With ctxpopup, if it has many items and user uses -1 as parameter in set direction priority function,
the ctxpopup position and size are calculated incorrectly.
Ex:
elm_ctxpopup_direction_priority_set(ctxpopup, ELM_CTXPOPUP_DIRECTION_DOWN, ELM_CTXPOPUP_DIRECTION_UP, -1, -1);

I would like to send a small patch to fix this issue.
Please take a look on it.

Thanks & Regards,
Thiep Ha

Signed-Off-By: Thiep ha<thiep.ha@samsung.com>



SVN revision: 76452
2012-09-11 10:29:48 +00:00
ChunEon Park 8e70d2a045 elementary/naviframe - some modification on test
SVN revision: 76424
2012-09-11 01:48:53 +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
Davide Andreoli 9c25dc5937 Another external test: progress bar.
This test also show how to access the external widgets from C code and also directly from embryo :)

SVN revision: 76422
2012-09-10 21:48:56 +00:00
Davide Andreoli 17414e4c37 New test for external widget: scroller.
Lots of bug here, but it's probably a corner-case-test


SVN revision: 76420
2012-09-10 19:17:19 +00:00
Gustavo Lima Chaves 597313e157 [elm] Properly fix the scroller API entry issue.
SVN revision: 76408
2012-09-10 14:06:53 +00:00
Gustavo Lima Chaves 94e46bb26c [elm] Check for scrollable, not scroller, on these elm_scroller.c calls.
SVN revision: 76406
2012-09-10 13:52:36 +00:00
ChunEon Park 8a12b9667e elementary/naviframe - modified some test case
SVN revision: 76395
2012-09-10 11:39:46 +00:00
Rui Seabra a481f8c195 Fix elementary build, from Tomas Cech, aka Sleep_Walker.
SVN revision: 76356
2012-09-09 22:42:28 +00:00
Davide Andreoli fd3beecb0f Elementary: new tests for edje-external of some widgets, buttons and slider done so far, more to come.
All the interaction in this tests are 'pure edje', no c code involved at all.

NOTE: 2 little external bugs are hilighted in the tests, didn't found the time to look for fixes :(

SVN revision: 76322
2012-09-07 20:16:30 +00:00
Mike Blumenkrantz 3ec80df062 add eweather cflags back
ticket #1384


SVN revision: 76281
2012-09-07 07:15:26 +00:00
Jaehwan Kim 5211f692dd Toolbar items support to set/get the generic text.
SVN revision: 76270
2012-09-07 04:33:45 +00:00
Daniel Juyung Seo 93dcacad0b elm test_genlist.c: Use item_class_new/free API for genlist item classes.
SVN revision: 76263
2012-09-06 22:52:36 +00:00
Christopher Michael 9de98909a9 Elm: Add missing unused for parameter.
SVN revision: 76227
2012-09-06 07:48:24 +00:00
Christopher Michael 5f73bd4b63 Elm: Fix Escape namespace to compile on Windows.
SVN revision: 76226
2012-09-06 07:43:10 +00:00
Jihoon Kim 843639b852 describe about TERMINAL Layout more detail
SVN revision: 76214
2012-09-06 06:01:37 +00:00
Gustavo Lima Chaves 5b2d6ee087 [elm] It won't hurt to have it here.
Less inclusions on custom elm widgets.



SVN revision: 76205
2012-09-05 19:43:33 +00:00
Christopher Michael 59130d05ec Elm: Revert changes for framespace.
NB: These leaves elm broken in wayland until I sort out what happened
in evas.



SVN revision: 76174
2012-09-05 07:44:45 +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
WooHyun Jung 67b7042c08 elementary/elm_widget : evas_object_smart_interface_get should be
tried with SMART object only. Before this commit, some applications
printed "evas_debug_magic_wrong".


SVN revision: 76157
2012-09-05 02:37:47 +00:00
Gustavo Lima Chaves b76a658b9d [elm] Oopsie--.
SVN revision: 76131
2012-09-04 14:10:00 +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
Christopher Michael 1728b0c742 Elm: Use sane window size in naviframe test.
SVN revision: 76120
2012-09-04 10:16:32 +00:00
Christopher Michael c68597aa67 Elm: Let's use sane window sizes in tests, yes ? :)
SVN revision: 76119
2012-09-04 09:57:21 +00:00
Christopher Michael e47a26bba6 Elm: Fix menus which get placed inside a toolbar for proper placement
in wayland.

NB: This also removes some unused variables.



SVN revision: 76118
2012-09-04 09:50:46 +00:00
Christopher Michael 58643b42bf Elm: Fix toolbar widget to account for framespace. Fixes ticket 1418
where the 'more' button was showing the popup incorrectly.



SVN revision: 76116
2012-09-04 09:42:27 +00:00
Jihoon Kim 40364f42d5 elm: Add ELM_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN
SVN revision: 76098
2012-09-04 02:34:19 +00:00
Tom Hacohen fd23a2a3af Elm layout: Revert "Elm layout: Fix segfault in some cases."
This reverts commit 76000.

Many thanks to glima for spanking me back into the right path.

SVN revision: 76012
2012-09-03 13:55:20 +00:00
Christopher Michael 2301ee6515 Elm: Fix menu test. Since we cannot get click events on elm_bg, we
have to use a manually added rectangle to receive events. This
rectangle needs to account for framespace, else it does not receieve
events for the whole area which the bg occupies.



SVN revision: 76004
2012-09-03 12:12:53 +00:00
Christopher Michael 576dc39b92 Elm: Fix stupid hover widget to account for framespace. Fixes ticket
1417.



SVN revision: 76003
2012-09-03 12:04:39 +00:00
Tom Hacohen 1ecc6bca52 Elm layout: Fix segfault in some cases.
Apparently this fixes stuff for Daniel Zaoui with some more complicated cases.

SVN revision: 76000
2012-09-03 11:14:17 +00:00
Carsten Haitzler eb9dd0c685 update header #defined versions to 1.8 to make sure new apis are used
in e17 only with ifdefs.



SVN revision: 75994
2012-09-03 09:55:34 +00:00
Carsten Haitzler f89a528449 and support new ecore messages.
SVN revision: 75992
2012-09-03 09:43:35 +00:00
Kim Shinwoo fc2222be84 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] popup - smart theme

popup have used notify its internal widget. but popup does not take care
the notify theme in its smart_theme()
the attachment just add a line to set style to the notify and test code
also. please review and give feedback. thanks.



SVN revision: 75987
2012-09-03 09:26:57 +00:00
Carsten Haitzler 7b3e96932d use shinwoo's 2nd patch not first!
SVN revision: 75979
2012-09-03 08:49:45 +00:00
Kim Shinwoo 0bbfd9fc0b From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] access - add activate callback

till now, accessibility has used ecore_x_mouse_*_send(). the patch has
activate callback which takes place of the ecore_x_mouse_*_send() stuff.
if the access module is enabled and 'double tap' is detected, elm_win
will
receive ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL message with
ECORE_X_ATOME_E_ILLUME_ACCESS_ACTION_ACTIVATE and call the activate
callback for the accessibility. that's it.



SVN revision: 75978
2012-09-03 08:44:53 +00:00
Bluezery f74bda827d From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [patch] change plug-in loading behavior in elm_map

Elm_map have 3 modules (Tile, Route, Name) for plug-in loading
When elm_map is added, each 3 modules search plug-ins
(elm_map does use eina_module, not elm_module because elm_map loads
several modules. )

Previously, Each modules in elm_map search modules separately.
So module init /shutdown function in each plug-in is called 3times.
This can cause problems.
I fixed that module init is called at one time and module never be
unloaded (in process life-cycle).



SVN revision: 75974
2012-09-03 08:35:53 +00:00
Rajeev Ranjan 7d626acc64 From: Rajeev Ranjan <rajeev.r@samsung.com>
Subject: [E-devel] [Patch] [Elementary] elm_datetime widget bug fix:
elm_datetime_field_limit_set() API is not working for min/max boundary
conditions

Hi,
   Please review the attached patch for fixing issue in API
elm_datetime_field_limit_set() for boundary values.
It has been created by Sumanth for datetime widget.

[Issue Details]:
  elm_datetime_field_limit_set() API is not working well for boundary
values. 
  [ex: for date, we can't set max limit as 31 and for minute, we can't
set 60 etc.. 
         - it fails at boundary conditions of Min/Max limit for all
datetime fields.]

[Root cause]:
   Boundary condition checking has not been done in a proper way.
   
   [Change Description]:
      Boundary checking condition is corrected and the min/max limit
boundary values are included as API input. 

Signed-Off-By: Sumanth Krishna (sumanth.m@samsung.com)
Signed-Off-By: Rajeev Ranjan (rajeev.r@samsung.com)



SVN revision: 75958
2012-09-03 07:24:20 +00:00
Jiyoun Park 3cc89e117d add signal rotation and indicator mode change.
child elms can know indicator mod change and rotation change


SVN revision: 75955
2012-09-03 06:55:07 +00:00
Christopher Michael 8b3c650468 Elementary: (elm_flip) Not much point in fetching the Z values here if we are not
going to use them.



SVN revision: 75953
2012-09-03 06:32:40 +00:00
Daniel Juyung Seo e93b428fa8 elm genlist: Fixed wrong reorder animation. Patch by Bluezery <ohpowel@gmail.com>
On Fri, Aug 31, 2012 at 8:50 PM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> Sometimes reorder animation ended incorrectly
> You can test & see the problem when background color is black and
> genlist item color is white.
> I made the added value for animation as difference between old item
> position and new item position if difference is below predefined dy.
> (y = diff, if diff < dy) So item position can be finally new item
> position at last.
> Please review this patch.
>
> Thanks

SVN revision: 75950
2012-09-03 06:20:47 +00:00
Christopher Michael a5c62221a6 Elementary: Fix ticket #1376: Titlebar respondes to gestures in
Gesture Layer 2.



SVN revision: 75948
2012-09-03 06:08:52 +00:00
Jonas M. Gastal fdb80741b6 This is minor fix (typo, nuance) for genlist documentation.
Author: Bluezery <ohpowel@gmail.com>

SVN revision: 75922
2012-08-31 12:54:53 +00:00
Christopher Michael 9ef8d4c096 Elementary: Patch from Alex Wu <zhiwen.wu@linux.intel.com> to fix
glview tests in Wayland:

If the preferred engine set to "opengl_x11" and we actully run on
"wayland_egl" engine, the elm_win_add will eventully use "Software FB"
engine, and no chance to use the correct engine.

Don't set the preference but let the _elm_config to determine the right
engine.



SVN revision: 75921
2012-08-31 09:27:22 +00:00
Christopher Michael a470d49b22 Elementary: Make entry compile again when using Wayland.
NB: Hmmm, not sure if this got into the 1.7 release or not. Perhaps
needs to be backported ?



SVN revision: 75917
2012-08-31 06:20:58 +00:00
Gustavo Lima Chaves d58b37539b [elm] NEWS, Changelog and @since for my residual
porting work.




SVN revision: 75908
2012-08-30 23:19:05 +00:00
Gustavo Lima Chaves 779b3783f6 [elm] Remove text on compat transition.
SVN revision: 75906
2012-08-30 16:47:31 +00:00
Gustavo Lima Chaves f999fc3777 [elm] Keeping the on_show_region hook, as this is
hard to unhookify.




SVN revision: 75905
2012-08-30 16:47:23 +00:00
Gustavo Lima Chaves ac299e6a59 [elm] Rework focus_region and on_focus_region
hooks.

The former is now issued for all scrollables, with the behavior it had
before, and the latter is a new virtual base function, with a default
implementation leading to values matching the old case where one
didn't implement the hook.

Please help me test if everything is OK -- it seems so, here.



SVN revision: 75904
2012-08-30 16:47:16 +00:00
Gustavo Lima Chaves 0f0cd0d914 [elm] Put some order on elm_widget.c.
SVN revision: 75903
2012-08-30 16:47:10 +00:00
Gustavo Lima Chaves 3e2869d588 [elm] Bump on elm_priv.h.
SVN revision: 75902
2012-08-30 16:47:05 +00:00
Gustavo Lima Chaves f6faa9f105 [elm] Bye, bye, compat.
http://www.xmms.org/graphics/Gaylord.Nelson.waves.byebye.jpg



SVN revision: 75901
2012-08-30 16:46:59 +00:00
Gustavo Lima Chaves ce7ec00cc6 [elm] I guess people never use that 'feature'?
SVN revision: 75900
2012-08-30 16:46:52 +00:00
Gustavo Lima Chaves a60c1d4578 [elm] Better named function to use here.
SVN revision: 75899
2012-08-30 16:46:46 +00:00
Gustavo Lima Chaves c888750067 [elm] Panel now a layout (last widget, woo hoo!)
SVN revision: 75898
2012-08-30 16:46:40 +00:00
Gustavo Lima Chaves c440726506 [elm] Popup now a layout.
SVN revision: 75897
2012-08-30 16:46:34 +00:00
Gustavo Lima Chaves 8827185824 [elm] More safety for box deletion.
SVN revision: 75896
2012-08-30 16:46:20 +00:00
Gustavo Lima Chaves 7f8d2e218e [elm] Multibuttonentry now a layout.
SVN revision: 75895
2012-08-30 16:46:12 +00:00
Gustavo Lima Chaves b72ea21550 [elm] Dangerous typo--.
SVN revision: 75894
2012-08-30 16:45:59 +00:00
Gustavo Lima Chaves 389f6eaf14 [elm] Ctxpopup now a layout.
SVN revision: 75893
2012-08-30 16:45:51 +00:00
Gustavo Lima Chaves 9f84593673 [elm] Prepare for removal of last widget using
internal scrolling smart cbs.




SVN revision: 75892
2012-08-30 16:45:34 +00:00
Gustavo Lima Chaves 802d05d60f [elm] Filesector entry ported.
NB: IMO this should be a child of file selector button, but we'd have
to break its theme for that. Do go we go for that?



SVN revision: 75891
2012-08-30 16:45:28 +00:00
Gustavo Lima Chaves a9b1707fcd [elm] Entry now a scrollable layout.
SVN revision: 75890
2012-08-30 16:45:15 +00:00
Gustavo Lima Chaves c0d48e6035 [elm] Toolbar ported.
SVN revision: 75889
2012-08-30 16:45:00 +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
Daniel Juyung Seo b4276d84d2 elm elc_ctxpopup.c: Code refactoring.
SVN revision: 75885
2012-08-30 15:18:47 +00:00
Daniel Juyung Seo bdbd2000f3 elm elm_genlist.h: Added more documentation for elm_genlist_homogeneous_set().
SVN revision: 75874
2012-08-30 11:21:34 +00:00
Daniel Juyung Seo e60fcc19a8 elm datetime module: Use diskselector 'clicked' smart callback in datetime module.
SVN revision: 75871
2012-08-30 10:38:43 +00:00
Daniel Juyung Seo 319c9153fc elm diskselector: Added 'clicked' smart callback to diskselector. This is called only when user clicks an item.
SVN revision: 75870
2012-08-30 10:38:38 +00:00
Daniel Juyung Seo b66480b650 elm diskselector: Fixed wrong icon duplication. Do not duplicate icon if icon is NULL.
This fixes following error message in diskselector.
   ERR<30865>: elm_icon.c:761 elm_icon_add() safety check failed: parent == NULL

SVN revision: 75847
2012-08-30 07:54:18 +00:00
Daniel Juyung Seo daaf5a95bc elm elc_popup.h: Fixed typo.
SVN revision: 75846
2012-08-30 07:54:15 +00:00
Kim Shinwoo c92e566fe5 elm diskselector: Revert diskselector patch derived by Shinwoo Kim's diskselector patch.
That needs to be done in other way.

Revert "From: Kim Shinwoo <kimcinoo.efl@gmail.com>"

This reverts commit 9d6e461366a0eb208d75b0a1fb5c0c822b761c71.

SVN revision: 75836
2012-08-30 03:05:20 +00:00
Daniel Juyung Seo 34b91f18d0 elm diskselector: Revert diskselector patch derived by Shinwoo Kim's diskselector patch.
That needs to be done in other way.

Revert "and 1.7 not 1.8"

This reverts commit e05fc6782046b9ad9c5125a34a4009f34c10ed68.

SVN revision: 75835
2012-08-30 03:05:16 +00:00
Daniel Juyung Seo ac8ba87340 elm list: Do not process _size_hints_changed_cb when list is going to be deleted.
This fixes list self deletion bug when evas_object_del(list) is called inside item selected callback.

SVN revision: 75832
2012-08-29 23:38:58 +00:00
Carsten Haitzler 6e7897f4f4 and 1.7 not 1.8
SVN revision: 75821
2012-08-29 09:03:15 +00:00
Kim Shinwoo 3550d79869 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - select option,
disabling auto selection. datetime - show even number of items

by default, an diskselector item which is right in the center of
diskselector is selected automatically.
and if the item style emit elm,action,click signal, the item is selected
also.

so there would be a case that item select callback is called by two
ways.
one is clicking the item,
the other is locating item right in the center of diskselector (if
number
of displayed item is odd, then after scrolling the selected callback is
called always).

because of this reason, datetime module always set number of displayed
item
to even number.

to resolve this issue, i add a api to enable or disable default
behavior -
the auto selection - that can be found on the attachment.
moreover the second attachment is for datetime module, now the
datetime can
show even number of items.



SVN revision: 75820
2012-08-29 09:02:21 +00:00
Christopher Michael 31575a5083 Elementary: Fix up copy/paste code to work properly with both X11 and
Wayland windows.

Remove x11, wayland, and local bits from cnp init.
Fix up elm_cnp_init to not need an object anymore.
Add missing function prototypes for the wl functions.
Add an init counter for the wl cnp init function so we don't end up
with multiple event handlers.



SVN revision: 75816
2012-08-29 07:29:21 +00:00
Christopher Michael f1d483ca36 Elementary: Fix selection_has_owner function. Check for valid wl
window. Thanks raster ;)



SVN revision: 75813
2012-08-29 07:15:32 +00:00