Commit Graph

9689 Commits

Author SHA1 Message Date
Carsten Haitzler e7fc7c23ce win - improve window engine choosing code to be simpler and support display
this isn't a feature or a bug fix - it's a code logic improvement that
also uses an ELM_DISPLAY environment variablew to choose a specific
engine list, and still uses ELM_ENGINE and preferred engine. this
makes it easy to add new api to prefer accel or not etc.
2014-03-09 00:49:33 +09:00
Carsten Haitzler cea2027c75 warning-- if building without x for elm 2014-03-08 23:54:34 +09:00
Carsten Haitzler 3cdeccc324 wtf? returning an _X_ window should not return a win32 window handle!
remove the return of a win32 window handle in getting an x window
handle. wrong wrong wrong!
2014-03-08 23:44:04 +09:00
Boris Faure 0bb93c2c2e update .mailmap 2014-03-08 15:16:56 +01:00
ChunEon Park 55827d034d entry - send selection,cleared signal if a selection is dismissed.
when the selection none was requested, the selection won't be cleared without the signal callback.

@fix
2014-03-08 03:54:13 +09:00
Daniel Juyung Seo d626f9278f genlist/list: Fixed wrong internal function name.
_list/genlist_item_focus_set --> _list/genlist_item_content_focus_set.
These internal functions set the focus to the item's content objects,
 not the item itself. So the name was wrong and very confusing.
2014-03-08 03:27:09 +09:00
Daniel Juyung Seo f9559db8b5 test_list: Added more callbacks for a better testing. 2014-03-08 03:26:48 +09:00
Daniel Juyung Seo 8c5ccaf780 win: Set correct parameter for focus highlight job.
Special thanks to Hosang Kim for the report.
2014-03-07 20:34:44 +09:00
ChunEon Park 7931337952 transit - elm_transit_del() allows null pass. 2014-03-07 13:35:06 +09:00
Jaehyun Cho 698eb0c7fc naviframe: Fix smart_show function to show only top item view
Summary:
Now if evas_object_show is called for naviframe, all item views are shown.
This may cause the previous item view is overlapped to the top item view.
To resolve this problem, fix smart_show of naviframe to show only top item view.
@fix

Reviewers: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D594
2014-03-07 11:12:06 +09:00
Daniel Juyung Seo 45444cf98c win: Removed unnecessary internal wrapping function. 2014-03-07 03:32:01 +09:00
Gustavo Sverzut Barbieri 85f1474b6e elm_widget: @fix use of uninitialized values.
Valgrind reports n and weight could be read before they were written to.
2014-03-06 11:08:48 -03:00
Shilpa Singh cc69143db6 Avoid Month wrapping by ignoring summer time correction.
Summary:
This patch fixes the issue of month wrapping due to summer time correction is some locales
by ignoring day light saving mode in mktime
Signed-off by: M.V.K Sumanth <sumanth.m@samsung.com>

@fix

Test Plan: Change the date for month were day light saving mode is applied and   observe the wrapping.

Reviewers: seoz, Hermet, raster

Reviewed By: raster

CC: govi, raster

Differential Revision: https://phab.enlightenment.org/D590
2014-03-06 22:00:01 +09:00
Sebastian Dransfeld 181817d988 randr theme: add possibility to hide refresh arrow 2014-03-06 13:55:51 +01:00
Chris Michael e13f85f038 elm: Remove unused variables
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06 12:42:57 +00:00
Chris Michael 79ec42dbad elm: Add Drm Detection
@bugfix: Previous elm config messages did not echo if drm was
detected. This adds some (auto)detection, and some output to say if it
was found.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06 12:39:46 +00:00
Carsten Haitzler 0871e2d2fe entry - fix menu to not popup after every time mobile sel handles are clicked
this fixes a behavior bug in entry @fix cherry-pick-me
2014-03-06 20:14:20 +09:00
Thiep Ha fcd164b4b0 Fix bug of moving cursor handler
Summary:
In elm entry, cursor handlers are placed and moved incorrectly if we do selection from bottom to top.
Ex: In elementary_test -> Entry -> Right click -> choose Select -> do selection from bottom to top (or press Shift + <- keys to do selection).
Look at selection handlers: they are incorrectly placed.
Try to move selection handlers: They suddenly move to near each other.

Minor: Remove unused variable.

@fix

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D583
2014-03-06 20:14:11 +09:00
Carsten Haitzler 536101fc99 fix ctxpopup getting min size from content immediately on set
this isn't needed and will get recaulcated later when box calcs min
size and sets min size hint.

cherrypick-me @fix
2014-03-06 18:53:57 +09:00
Cedric BAIL 2e457c1682 themes: add AUTHORS
This use the infrastructure of Edje to set the AUTHORS of the theme. It now
make sense to track who did contribute to the theme only. Maybe we could use
those information into Enlightenment About Theme dialog.
2014-03-06 16:45:18 +09:00
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