Commit Graph

9590 Commits

Author SHA1 Message Date
Andy Williams bcf8f05e73 naviframe: Fixing issue with over-generalisation of common code in change: Refactored item_push functionality in naviframe. 2014-03-14 01:32:43 +00:00
Daniel Juyung Seo c69cfdf4de segment_control, toolbar: Fixed broken scale of widget item.
@fix. This needs to be partially backported.
2014-03-16 03:09:56 +09:00
Daniel Juyung Seo 2c0c0c335a entry: Use ELM_SAFE_FREE and fixed indentation. 2014-03-16 03:08:19 +09:00
Daniel Juyung Seo 7100cfea40 list: Reset prev_focused_item when prev_focused_item is deleted.
This is inspired by a2c680d684601d8df725e8293616c880f07d3ca2.
2014-03-16 02:39:09 +09:00
nirajkr be6f406e54 elm_genlist: Handle prev_focused_item if it get deleted
Summary:
Assign the prev_focused_item to NULL it get deleted

Reviewers: seoz, raster

Differential Revision: https://phab.enlightenment.org/D635
2014-03-16 02:35:13 +09:00
ChunEon Park 549fb6019e entry - fixed calc issue of the wrap none mode.
This deferred recalc job is considered for wrap mode.
if the wrap mode is disabled, this job should be discarded.

since the wrap mode is enabled in default.
the job would be performed even the wrap mode was changed later.

@fix.
2014-03-15 15:40:12 +09:00
Carsten Haitzler 781c29c3cb theme overlays - fix to prepend on overlay to be semantically consistent
@fix
2014-03-15 12:01:56 +09:00
Carsten Haitzler 9164ec778c formatting - remove space between return and ; 2014-03-15 11:44:20 +09:00
zmike c2d994e996 gengrid clear should do nothing if there are no items 2014-03-14 14:15:22 -04:00
zmike 91a9805bc4 genlist shouldn't try to focus an item when it has no items 2014-03-14 13:55:11 -04:00
Tom Hacohen b2250c568d Remove silencing of errors when called on non elm widgets.
There was code to silence errors. Removing that exposed a lot of errors.
I fixed them as well. In general, elm_widget functions should only be called
on elm_widgets...

More of commit 5ac398b156e8fb0aa44c6cfe8a2b113eb7229fbf
2014-03-13 15:14:59 +00:00
Tom Hacohen f6fa1ef612 Remove silencing of errors when called on non elm widgets.
There was code to silence errors. Removing that exposed a lot of errors.
I fixed them as well. In general, elm_widget functions should only be called
on elm_widgets...

@fix.
2014-03-13 13:46:53 +00:00
Carsten Haitzler 43e72d412f theme - tasks - fix colorclass of selected text 2014-03-13 22:18:41 +09:00
Thiep Ha 76dcd3bcc0 Test_dnd: Add more test for dnd
Summary:
There is no dnd test for format types except ELM_SEL_FORMAT_TARGETS.
This patch adds a test for other formats, so that we can test more about dnd.

Reviewers: JackDanielZ, seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D617
2014-03-13 22:08:08 +09:00
Tom Hacohen e558e6180c Eolian: Added a variable for the needed deps's Eolian flags. 2014-03-13 10:09:51 +00:00
Tom Hacohen 69729d5ff3 Eolian: Fix building of .eo files.
It was incorrectly detected that this is an internal build, which caused issues.
2014-03-13 08:51:10 +00:00
Ryuan Choi 05892abe11 elm_web2: Implemented to support HTML5 fullscreen API
test case : elementary_test -to webui
2014-03-13 00:45:37 +09:00
Tom Hacohen 01186b6e66 Ship missing headers, and remove wrong includes
elm_gen_common.h was not installed, but is needed by installed headers.
Remove dependencies on internal headers from shipped headers.
2014-03-12 14:30:21 +00:00
Guilherme Iscaro de Godoy c4cad315ae Bug fix: Elm_List was not correctly setting the highlight theme for its items.
With the introduction of the patch 3628a8c4ea2485ee7ee5a81cfd4e0f0fe62b10d6,
it is possible to highlight focused Elm_List and Elm_Genlistenlist items.
However, this feature does not work correctly if one wants to create a custom
highlight theme for Elm_List items.
The whole problem was happening, because the function
_elm_widget_item_highlight_in_theme() was being called in a incorrect
location. This function must be called at _items_fix(), because
there the Elm_List already set the item theme and then it's possible
to check if the one wants a custom highlight or not.
2014-03-12 11:06:49 -03:00
Subhransu Sekhar Mohanty 8d05e3657e naviframe : Refactored item_push functionality in naviframe.
Summary:
Added item_push_helper function, so that both item_push as well as item_promote
will reuse the same functionality.

Reviewers: seoz, Hermet, Jaehyun

Differential Revision: https://phab.enlightenment.org/D627
2014-03-12 19:13:36 +09:00
Tom Hacohen 59deb51fad Elm test dnd: Fixed substraction of void *.
This is not allowed. The pointers need to be cast to char * before doing
pointer arithmetics.
2014-03-12 09:39:17 +00:00
Daniel Juyung Seo 55c065f0cc elm_win: Unbreak the ABI break of window type.
@fix
2014-03-12 12:42:59 +09:00
Stefan Schmidt d7641fca3c ChangeLog: Add forgetten out of date notice
I only added it to some of our repos but not all. Adding it now to make
it clear for people that this file is now longer updated
2014-03-11 13:44:11 +01:00
Carsten Haitzler 85a57c393b config - remove old engines not supported in evas anymore. 2014-03-11 20:55:55 +09:00
Tom Hacohen a3f75d0e04 Eolian: Fixed build.
Needed to initialize CLEANFILES.
2014-03-11 10:39:51 +00:00
Tom Hacohen f7a3dd0e84 Eolian: Fix binary-name and show found binary in summary.
This fixes Eolian integration. We were looking for the wrong binary.
2014-03-11 10:04:15 +00:00
Tom Hacohen d509e8cf05 Added Eolian support.
This adds needed support for compilation of .eo files.
2014-03-11 09:51:15 +00:00
Daniel Juyung Seo 01224a2641 actionslider: Fixed wrong signal names but still support backward
compatibility.

- "elm.drag_button,mouse,up" -> "elm,action,up,drag_button"
- "elm.drag_button,mouse,down" -> "elm,action,down,drag_button"
- "elm.drag_button,mouse,move" -> "elm,action,move,drag_button"

This is not the target of backport.
2014-03-11 02:27:26 +09:00
prashant deab06f4bd actionslider: Fixed mouse movement issue.
@fix

Summary:
The name of the signal in edc (elm,right,mouse,down) was
         different from c (elm.right,mouse,down). After changed
         the signal name, mouse event is working as expected.

Test Plan: elementary_test -to actionslider (click right left & center by mouse)

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D618
2014-03-10 23:33:41 +09:00
ChunEon Park 9be42b5657 config - don't allocate memory that will be never read.
CID: c3b272 d9802b, c0c72f
2014-03-10 23:21:40 +09:00
Daniel Juyung Seo 7be8bc132e author: added Anand to author file. 2014-03-10 17:58:10 +09:00
Anand c409347e85 Entry test code: Added example to show the last character of entered password
Summary: Added example to show the last character of entered password

Test Plan: elementary_test <search scrolled entry>

Reviewers: singh.amitesh, seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D610
2014-03-10 16:25:23 +09:00
zmike daaa801013 @fix slider overlay parenting
this broke stacking and clipping of the indicator
2014-03-09 17:03:34 -04:00
Carsten Haitzler badb1ae200 fix pulg/socket/inline to work again 2014-03-09 21:18:25 +09:00
Daniel Juyung Seo 067bf48b56 test_list: Refactor 'List Focus' test to reveal more focus related
bugs.

- Added Up, Down, Left, Right buttons around the list.
- Changed list focus test name.
  test_list8 -> test_list_focus
  test_list9 -> test_list_horiz_focus
- Incresed window size accordingly.
2014-03-09 20:11:29 +09:00
Daniel Juyung Seo cdb21fd556 genlist: Initialized local variables and removed unnecessary local
variable.

This fixes coverity CID 1191580 ~ 1191583
2014-03-09 19:36:17 +09:00
Daniel Juyung Seo 7284e448f4 focus: Added comments for recently introduced internal functions.
elm_widget_focus_highlight_geometry_get
elm_widget_focus_highlight_focus_part_geometry_get
2014-03-09 19:17:30 +09:00
Daniel Juyung Seo 267978bd56 test_focus: Mark unused parameter as EINA_UNUSED.
This fixes the following build warning.

test_focus.c: In function ‘_focus_highlight_clip_disable_changed_cb’:
test_focus.c:682:90: warning: unused parameter ‘event_info’
[-Wunused-parameter]
2014-03-09 18:17:05 +09:00
Carsten Haitzler 382fb3b444 oops. printf-- 2014-03-09 14:37:29 +09:00
Carsten Haitzler 202ce6046b make actual accel preference work without diplay system set 2014-03-09 14:28:37 +09:00
Carsten Haitzler f168bea0fc add @since (missing) 2014-03-09 12:55:44 +09:00
Ryuan Choi a72f3c3c11 elm_web2: Implemented window_create / window_close
In addition, improved test_webui to check close scenario.
2014-03-09 12:23:44 +09:00
Daniel Juyung Seo 0a31f91b20 genlist: Refactor event_block_rect handling routine.
- Changed wrong name alpha_bg to event_block_rect.
- Added more comments to the smart data variable.
- Changed wrong function name _tray_alpha_bg_create to
_event_block_rect_update.
2014-03-09 04:48:21 +09:00
Daniel Juyung Seo e25fbe9768 genlist: Internal refactoring for the code readability.
Added one more internal variable to reduce unnecessary pointer
redirection too much.
Elm_Genlist_Smart_Data *sd is used many times in those functions but it
was always redirected from psd->wsd. I just cut down the step and made
the code more readable and consistent with other lines of code.

psd->wsd --> sd
2014-03-09 04:48:12 +09:00
Daniel Juyung Seo c01aeabf65 config: Added more documentations to focus configuration APIs. 2014-03-09 03:51:55 +09:00
Daniel Juyung Seo c2eb6cbb01 test_focus: Added focus highlight clip disable example to the focus 3
test.
2014-03-09 03:42:40 +09:00
Daniel Juyung Seo 7e35760942 focus: Added focus highlight clip disable feature.
focus highlight is clipped by the clipper of focus target object.
But many of the times, this clipping looks weird so I made this
configurable.

This fixes T1056 but as this fix was done by adding a new feature, this
patch would not be backported.

@feature
2014-03-09 03:39:23 +09:00
Daniel Juyung Seo e60e43f8f5 list/genlist/gengrid: Clear some internal variables when an item is deleted.
Set last_selected_item, last_focused_item, focused_item to NULL when the
item is deleted.
For genlist and gengrid, clear them in del_not_serious.
2014-03-09 02:57:09 +09:00
Daniel Juyung Seo 80a3eea785 genlist: Removed trailing whitespaces from the previous Niraj's commit.
I aimed to merge this commit to the previous commit but I made git
amend mistake... :(
2014-03-09 02:48:34 +09:00
nirajkr e014fe92f4 genlist: Implemented the item focus support in genlist
Summary:
Implemented the following function
          1. _item_unfocused
          2. _item_focused
          3. _item_focus_up
          4. _item_focus_down
          5. _item_focus_left : Currently this function return EINA_FALSE. It means focus will move out of genlist to the another left widget
          6. _item_focus_right : Currently this function return EINA_FALSE. It means focus will move out of genlist to the right widget
          7. _item_focus_set_hook
          8. _item_focus_get_hook
          9. _elm_genlist_focus_highlight_geometry_get
          10. _elm_genlist_focused_item_get
          11. Changes in the smart_event, smart_on_focus, pan_smart_calculate, mouse up callback.
              Currently selected/focus logic are both present in the smart_event function and its
              will be separate out.

Reviewers: seoz, woohyun

CC: singh.amitesh

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

Conflicts:

	src/lib/elm_genlist.c
2014-03-09 01:55:40 +09:00