Commit Graph

9669 Commits

Author SHA1 Message Date
Ryuan Choi 2d4b6cd81b datetime : Enhance launching time more by reducing calls of sizing_eval()
elm_layout_content_set() calls elm_layout_sizing_eval() internally.
So, there are many calls in _field_list_arrange() and it takes long time.
2014-03-06 00:23:37 +09:00
Carsten Haitzler 06274f1c60 theme - one more stage in using color classes - not all original cc's 2014-03-06 00:00:51 +09:00
Carsten Haitzler cc0c9f8725 theme - add more standard colorclasses in e theme (so cc dialog works)
more to go still.
2014-03-05 19:19:44 +09:00
Carsten Haitzler 325d9f8368 theme - if you include edc from the theme - include all the rest it needs. 2014-03-05 18:30:27 +09:00
Carsten Haitzler 2de777d758 theme - colorclass work. 2014-03-05 18:22:17 +09:00
Carsten Haitzler 5d8813c6b6 put in missing macros - they didnt get picked up during cnflict merge fix 2014-03-05 18:16:55 +09:00
Simon Lees 3aea7ad0bb Enhancement: #define names for text colors
Summary:
Previously text colors were specfied in the form color: XXX XXX XXX AAA throughout all the edc files, eg color: 255 255 255 255 this made it imposible to write a script to change text colors with sed as it changed many other parts of the theme as well.

Some colors had been defined in fonts.edc and in some places these were used but not many. This change means that all non textblock font colors are defined in fonts.edc and the defined names are used throughout the entire code base. This means that sed only needs to be run on 1 file to change the text color or it is easy to do manually

textblock colors were not done for 2 reasons
1. They hadn't been done in the past so there was no standard for me to follow.
2. They are all specified in html notation eg #FFFFFF which means that they can be changed with sed without effecting the rest of the theme.

If a standard can be come up with for doing this and people think it is worthwhile i can probably fix them at a later date

Reviewers: raster, zmike

Reviewed By: raster

CC: seoz

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

Conflicts:
	data/themes/edc/battery.edc
	data/themes/edc/xkbswitch.edc
2014-03-05 16:01:19 +09:00
Jaehyun Cho 4002cb2c5a naviframe: Emit visible signal to edc theme when first item is pushed
Summary:
Emit "elm,state,visible" "elm" signal to edc file when first item is pushed.
Above signal can be used if an application wants to do something when the first view is shown on the screen.

@fix

Reviewers: Hermet, seoz, raster

CC: seoz, raster

Differential Revision: https://phab.enlightenment.org/D483
2014-03-05 14:34:49 +09:00
Daniel Juyung Seo 80f077cbec list: Do not call unnecessary external API.
We already know the internals so make it optimized by using internal
data.
2014-03-04 00:33:13 +09:00
Daniel Juyung Seo ae324cfb36 list: Check NULL before calling _elm_list_item_unfocused.
unfocusing NULL item is nonsense. NULL needs to be checked before
calling item unfocus function.
2014-03-04 00:33:13 +09:00
Daniel Juyung Seo 87ce5fcf58 diskselector_example_02: Added 'selected' callback usage.
This reveals the diskselector bug that the GUI is not updated even after
the selected item is changed.
Click "Delete item" button to test it.
2014-03-04 00:33:05 +09:00
Jaeun Choi 6aa752a679 diskselector: Remove unreachable codes
Summary:
The soon to be deleted item 'it' is removed from the list at line 356.
So the first item of the list can never be the same one with it,
which means else statement is unreachable.

Test Plan: None

Reviewers: raster, seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D597
2014-03-03 23:30:53 +09:00
Cedric Bail 6c3a6ae940 themes: let's pack the license in it. 2014-03-03 08:43:29 -03:00
Daniel Juyung Seo 33a5e33ddb object_item: Check null in elm_object_item_del.
As all EFL del/free APIs handle null as an exception,
   elm_object_item_del() should check null as well.
@fix
2014-03-03 18:19:20 +09:00
Jaeun Choi 295630ed9d diskselector: Fix segmentation fault
Summary:
The code was missing null check of sd->items list.
If the deleted item is the only item of the list,
sd->items becomes empty after removing it.
In that case, sd->selected_item should be set as NULL.
@fix
Fixes T988

Test Plan: execute diskselector_example_02 > click "Delete item" button 3 times

Reviewers: raster, seoz

Reviewed By: seoz

CC: seoz

Maniphest Tasks: T988

Differential Revision: https://phab.enlightenment.org/D595
2014-03-03 18:12:34 +09:00
zmike 7fb6ea14c5 @fix broken slider popup hide logic
setting a flag here made it impossible to have any kind of transition animation on the indicator and was a poor workaround for fixing a theme issue
2014-03-02 15:38:42 -05:00
zmike d07c5c7927 @fix slider popup creation with custom themes 2014-03-02 15:04:07 -05:00
zmike 5d33b9af68 move slider track functions up 2014-03-02 15:04:07 -05:00
zmike f3f83a64fd @fix homogeneous genlist recalc on theme change
fix T1023
2014-03-02 15:04:07 -05:00
Daniel Juyung Seo 5910426fce flipselector_example: fixed to return correct value.
- return EINA_TRUE when the event is processed. return EINA_FALSE
otherwise.
- use 'else if' statement without successive 'if' statement.
- removed unnecessary casting.
- marked on_hold flag to processed event.
2014-03-02 16:19:30 +09:00
Daniel Juyung Seo 8afae8de2e widget: removed unused widget item member 'focused'. 2014-03-02 01:24:23 +09:00
Daniel Juyung Seo 1a29ad5679 elm: removing trailing white space ceremony for 1.9 release. 2014-03-02 00:52:26 +09:00
Daniel Juyung Seo 3c23a57e2e list: Run focus set/unset routine only when the focus status is changed.
I didn't tag this as 'fix' because this feature was added after 1.9
release.
2014-03-02 00:26:08 +09:00
Daniel Juyung Seo 5f3fedeff5 focus: Refactor mouse tracking code for focus.
- Reduced the if statement depth.
- Introduced new macro ELM_RECTS_POINT_OUT that checks if the point(xx,
yy) stays out of the rectangle(x, y, w, h) area.
2014-03-01 15:55:03 +09:00
Ryuan Choi ff2aa6e679 els_cursor: Fix crash when changing cursor since rELMb515c7477910
Extracted cursor_set from _elm_cursor_mouse_in() to call it without ev.

test case: elemntary_test -to cursor
2014-02-28 20:16:20 +09:00
Gustavo Sverzut Barbieri 9f6a9a51e8 elm_list/focus: @bugfix crashes with empty lists and unfocused elements. 2014-02-28 01:57:23 -03:00
Jaeun Choi 78accca4db elementary key binding feature implementation
Summary: This patch implements elementary key binding feature.

Test Plan: None

Reviewers: Hermet, raster

CC: seoz

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

Conflicts:

	src/lib/elm_config.c
2014-02-28 10:47:03 +09:00
Sohyun Kim d1e7e15601 [elm_config] support color classes
Summary:
support color classes for runtime color changes.
It works like text classes and is also added in configuration files.

Reviewers: seoz, Hermet, cedric, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D541
2014-02-28 07:16:45 +09:00
Daniel Juyung Seo 770e87bcdf fileselector: added more description to is_save_set api. 2014-02-28 02:45:28 +09:00
Jihoon Kim 3011093658 entry: Add ELM_INPUT_PANEL_LAYOUT_EMOTICON 2014-02-27 14:58:36 +09:00
Daniel Juyung Seo f5750399b3 hover: Made hover itself unfocusable.
@fix

Hover itself does not get key event. It should just forward the event to
the internal objects. So make it unfocusable.
Special thanks to Woohyun Jung.
2014-02-27 11:56:50 +09:00
Stefan Schmidt 600cb62818 configure: Bump version to 1.9.99 to indicate development cycle
1.9 is released and the master branch is now in development mode
again. Make sure the version indicates that.
2014-02-26 09:29:01 +01:00
Daniel Juyung Seo 63e5af12df test_popup: made the focus highlight optional for the popup test. 2014-02-26 01:52:03 +09:00
Daniel Juyung Seo 168bf54520 test_popup: added more popup items for the better focus test. 2014-02-26 01:41:11 +09:00
Daniel Juyung Seo 7810071633 po: updated po files right after the release! 2014-02-26 01:27:13 +09:00
Amitesh Singh 38ac88d9d5 list: focus highlight is handled by item theme.
Summary:
Problem: list theme (elm/list/base/default) is an alias of scroller
base theme (elm/scroller/base/default) in which focus_highlight is set to "on".
Solution: Now focus highlight in_theme is set by list item theme.

Test Plan: elementary_test->"List Focus"

Reviewers: seoz, woohyun

Reviewed By: seoz

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D572
2014-02-26 01:27:05 +09:00
Amitesh Singh ff3521ba9e list: Code refractoring of _item_focused_next()
Summary:
  # Added code to handle the case of disabled items.
  #  Code refractoring of _item_focused_next().

Test Plan: elementary_test->"list focus"

Reviewers: seoz, woohyun

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D571
2014-02-26 01:26:57 +09:00
Amitesh Singh d8ec1e5dde hoversel: Added "item,focused" and "item,unfocused" smart events for widget items.
@feature

Test Plan: elementary_test->hoversel focus

Reviewers: seoz, woohyun

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D564
2014-02-26 01:26:49 +09:00
Amitesh Singh 64370c24f3 popup: Added descriptions for the newly introduced item,focused/item,unfocused smart callbacks.
@feature

Reviewers: seoz

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D568
2014-02-26 01:26:42 +09:00
Daniel Juyung Seo 0492223206 list: Added descriptions for the newly introduced item,focused/item,unfocused smart callbacks.
@feature
2014-02-26 01:26:31 +09:00
Amitesh Singh 069a3de27d list: implemented widget item focus feature.
@feature

Summary:

  #    Added "item,focused" and "item,unfocused" smart callbacks.
  # Added elm_object_focused_item_get() in elm_widget
  # Added elm_object_item_focus_set and elm_object_item_focus_get() APIs for
  # Added one argument in existing _focus_highlight_geometry_get(...,is_next)
  This is required to find out previous and current widget item.
  # Added a elm_win function _focus_highlight_start() which starts the focus

Test Plan: elementary_test->List Focus , List Horizontal Focus

Reviewers: seoz, woohyun

Reviewers Comments: SeoZ - there are some known bugs. we will actively
fix them in a near future.

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D532
2014-02-26 01:26:22 +09:00
Amitesh Singh b22dd17eed popup: implemented widget item focus feauture.
@feature

Summary:
1. Added "item,focused" and "item,unfocused" callbacks for widget item since
  VIEW(item) is a elm layout.
2. Added sd->box into focus chain to enable the focus movement on widget items.

Test Plan: elementary_test -> popup -> "popup-center-title + items + 3 buttons"

Reviewers: seoz, woohyun

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D563
2014-02-26 01:26:02 +09:00
Stefan Schmidt 876fcf06fa Release version 1.9.0 2014-02-25 09:43:26 +01:00
Daniel Juyung Seo fe9a0ec73a elm_authors.h: sync with AUTHORS. 2014-02-25 01:34:16 +09:00
Daniel Juyung Seo ff18fac8e7 list: fixed list to emit elm,state,list,single signal when there is only
one item.

This is a fix of a commit 44495f6431cdc5dbe6e8cb257cf73a69563ec67c.
2014-02-25 00:58:54 +09:00
Ryuan Choi 473b183ebf test_fileselector_entry: null check
There are warning when toggled folder after pressing "api state" which clear icon.
2014-02-24 23:53:45 +09:00
Yakov Goldberg f863057d21 menu: add NULL checks to elm_obj_menu_item_add()
Function returns newly created item through last param
   Elm_Object_Item**. Add checks to make possible to pass NULL,
   if return is not needed.
2014-02-24 14:25:37 +02:00
Carsten Haitzler b4a7859256 theme - fine tune pkgkit icon to be a little lighter 2014-02-23 21:47:41 +09:00
Carsten Haitzler cbaadf05c6 theme - xkb module - make lettering more readable over flag 2014-02-23 21:29:55 +09:00
Carsten Haitzler 27b45c051b allow battery reading to be bigger by minor overlap with + sign 2014-02-23 21:24:07 +09:00