Commit Graph

9701 Commits

Author SHA1 Message Date
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
Carsten Haitzler 1fbdf7cae0 win - add accel preference option to elm windows
@feature - this adds the ability to hint what engine acceleration to
use that is specific per display system.
2014-03-09 01:22:33 +09:00
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
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
Davide Andreoli ed3268efd3 unify the usage of my name 2014-02-22 15:48:11 +01:00
Andy Williams 6e71ec05f7 Revert "oops, a mistake in T966 fix that could cause a segv"
This reverts commit b7d1cb531d1e196dee5f93dd4457e68df2692ed3.
2014-02-22 12:40:20 +00:00
Carsten Haitzler 8162d4b4de po update 2014-02-22 21:25:09 +09:00
Thiep Ha 8f92069a63 [Elm_Entry] Fix bug: magnifier position is incorrect when mouse down on selection handler
Summary:
Magnifier is displayed incorrectly when mouse down on selection handler

Reproduce way: Right click on entry (eg Entry), choose Select, select some text, press left mouse
on selection handler (do not move the mouse), take a look at magnifier position.
Reason: Magnifier position is set to mouse down position in entry.
Fix: Check mouse down status and place correct position for magnifier.

Reviewers: seoz, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D573
2014-02-22 12:06:31 +09:00
Daniel Juyung Seo aba69c4c5f elm_authors.h: Sync with AUTHORS. 2014-02-22 11:36:55 +09:00
Daniel Juyung Seo 1c3a6ef697 AUTHORS: cleanup the author file.
- Removed duplicated entries.
- Gave the credit to original author not proxy.
2014-02-22 11:36:55 +09:00
Mike Blumenkrantz dc12c250c2 remove E19 NEWS entries 2014-02-21 17:16:40 -05:00
Mike Blumenkrantz c6b565a306 fix right side clipping of pager16 background
T771
2014-02-21 16:44:09 -05:00
Mike Blumenkrantz 238a3360c0 remove pager16 base image; this is never visible 2014-02-21 16:44:09 -05:00
Mike Blumenkrantz a3dde1ab44 add clip for gadcon popups 2014-02-21 16:44:09 -05:00
Mike Blumenkrantz 9330865db9 fix deskmirror pixel borders
T1005
2014-02-21 16:44:09 -05:00
Mike Blumenkrantz 61c69ebd95 desklock logo visibility gets a clipper and visibility toggling
T613
2014-02-21 16:44:09 -05:00
Mike Blumenkrantz 2781b0c65a fix deskmirror client area sizing
T991
2014-02-21 16:44:09 -05:00
Daniel Juyung Seo a4e0fad2bc NEWS: Merged two changes into one because the API name was changed
later.
2014-02-22 05:25:49 +09:00
Daniel Juyung Seo 05998a7730 tooltip: Fixed wrong API names. elm_tooltip -> elm_object_tooltip.
This was added in 1.9, so it should be changed before 1.9 release.
Thank god I found this out just right before the release.
2014-02-22 05:22:35 +09:00
Stefan Schmidt 2c4ba0749f release: Bump version to 1.9.0-beta2
Second and most likely last beta release before the 1.9 final. Give
it a good testing over the weekend.
2014-02-21 14:56:32 +01:00
Carsten Haitzler bd60ee68db documentation style cleanup for release
this cleans up the doxygen generated docs to be acceptable for a
release - style is changed and unused images removed etc.
2014-02-21 22:26:22 +09:00
Stefan Schmidt d5a0d7b149 NEWS: First draft for 1.9 release cycle NEWS entries.
This will change a bit until the final 1.9 release but at least have
it in git for now.
2014-02-21 14:25:06 +01:00
Sung W. Park e10f506d51 elementary_test glview: fixed segv on close
It was deleting gldata object twice upon closing the program.
2014-02-22 03:17:06 +09:00
Andy Williams 6cbf4e3903 naviframe: fix T1008 so promoting an overlap item would perform as documented 2014-02-21 08:05:55 +00:00
Jean-Philippe Andre 768509c99a Doxygen: Reduce line gap in code fragments
Code should look compact, why use small fonts otherwise?
Reduce the gap between code lines (stored as separate <div>)
to 70%. This looks about right.

See rEFL0a97a74319256db53fb6e8704b77eb21f92e95a8
2014-02-21 11:30:51 +09:00
Jean-Philippe Andre b57d1cbc82 Doxygen: Use larger fonts
Yes, I know. Someone hates large fonts.
But the ones currently used are so SMALL!
Also, this will just revert back to what's defined in e.css,
because body and list font size aren't even consistent.

Also, display the page titles like titles: big fat blue letters.

See rEFL642f2ecca9350548c6f260edfcd7e2f58d2de662
2014-02-21 11:30:39 +09:00
Jean-Philippe Andre fee1a41d94 Doxygen: Align param names vertically to the top
If a param description is long and spans on multiple lines,
then the param name should be aligned to the first description
line. Otherwise the layout becomes confusing.

Align [in] and [out] vertically like params.

See rEFL0471c9a8353b4847bb2f00be5757868cb3195b7a
2014-02-21 11:30:00 +09:00
Gustavo Lima Chaves c80868da12 Elm list, like genlist, should emit 1st/middle/last signals to its items.
So that one is able to theme these cases accordingly.
2014-02-20 14:10:10 -03:00
ChunEon Park 577d29a484 transit - fix the double free obj_data case.
if the object is added twice to the one transit,
the obj_remove_cb would be called twice.

in this case it will try to access the freed obj_data and crashed up.

now it's fixed.
2014-02-20 23:51:38 +09:00
Stefan Schmidt 514e64bf97 AUTHORS: Fill in from git log
Watchwolf was removed as he was in there twice. For the newly added I hope
I did not add duplicates or missed someone. If you spot a problem please
go ahead and fix it.
2014-02-20 13:24:53 +01:00
ChunEon Park 390d70d95b tooltip - renamed the new tooltip apis until 1.9 release.
Before
elm_tooltip_move_lock_set()
elm_tooltip_move_lock_get()

After
elm_tooltip_move_freeze_push()
elm_tooltip_move_freeze_pop()
elm_tooltip_move_freeze_get()

we're likely to use the freeze rather than lock among the entire apis.
it's already discussed in the mailing list.
2014-02-20 20:49:01 +09:00
Yakov Goldberg d95f67d9c9 widget: remove OP_ID ELM_WIDGET_SUB_ID_DISPLAY_MODE_GET
elm_widget_display_mode_get() was removed in
   2aca940f040df01364301fe7b024be1f6d89a9d6.
   So OP_ID is not needed.
2014-02-20 09:56:26 +02:00
Carsten Haitzler 0d739ca8f9 update po line #'s 2014-02-20 14:45:19 +09:00
Andy Williams a5f38fe810 oops, a mistake in T966 fix that could cause a segv 2014-02-19 18:32:58 +00:00
Andy Williams 72191ab692 Fix T966, sort order of child folders.
Comparison was being incorrectly applied for child elements - they need to be treated differently if there are no siblings
2014-02-19 10:30:50 +00:00
Carsten Haitzler 9b23d6e02b calendar - fix unstable calc complaint
thios fixes T951
2014-02-19 19:25:32 +09:00
Bora Hwang 30e14a3a65 spinner: it has to be recalculated when its style is changed
Summary:
when style is set to be different one, spinner didn't update its min size.
So there was an issue that spinner has wrong position since it wasnt' check the updated size

Reviewers: Hermet, seoz

Reviewed By: seoz

CC: raster, cedric

Differential Revision: https://phab.enlightenment.org/D569
2014-02-19 14:02:44 +09:00
Daniel Juyung Seo bb9c784880 genlist: Added a small description 'Generic list' like gengrid does. 2014-02-19 13:45:27 +09:00
Thiep Ha 771887df2b [Dnd] Fix double text insert issue in elm_entry, drop at disable, non-editable entry
Summary:
Issue 1: If you drop text to elm_entry, text is inserted twice.
Reason: Drop callbacks are registered multiple times in elm_entry.
Resolve: Register only one drop callback at entry side.

Issue 2: Even thought entry is disabled, non-editable, you still can drop text, image file. (Example, run Entry Scrolled and drop text, image file to disabled or non-editable entries).
Reason: Drop callback are registered but not remove when entry is set to disabled, non-editable mode.
Resolve: Correct registering and removing drop callbacks in entry.

Reviewers: JackDanielZ, raster

Reviewed By: raster

CC: woohyun

Differential Revision: https://phab.enlightenment.org/D565
2014-02-19 12:25:08 +09:00
Yakov Goldberg 8a312631e6 app, atspi: add comments for Eo API
Add minimum comments for Eo API to make Eolian correctly
   process methods and parameter directions
   There are still exist not/half implemented functions, for which
   I didn't add comments.
2014-02-18 18:12:40 +02:00
Stefan Schmidt 6438a6e01d release: Bump version to 1.9.0-beta1
Prepare tarballs for a first beta release.
2014-02-18 16:28:16 +01:00
Yakov Goldberg f40c6044a7 interface scrollable: fix doxygen 2014-02-18 16:27:52 +02:00
Yakov Goldberg 0d8777306a slider: fix doxygen 2014-02-18 16:27:52 +02:00
Yakov Goldberg 6345941ef3 elm widget container: fix doxygen 2014-02-18 16:27:52 +02:00
Yakov Goldberg 549e8cf8f0 elm atspi: add comments for Eo API
add minimum comments for Eo API to make Eolian correctly
    process methods and parameter directions
2014-02-18 16:27:52 +02:00
Yakov Goldberg 8a3e75f6c2 fileselector interface: fix doxygen 2014-02-18 14:57:33 +02:00
Carsten Haitzler a4cbdd7c39 fix more complaints on inwin shutdown and focus stuff
this fixes the rest of T958
2014-02-18 16:15:55 +09:00
Carsten Haitzler 7201bf91ff elm win - on shutdown some objects become null during shutdown so be quiet
so don't complain so much about it - it's normal. don't use the noisy
macros to do so. this fixes much of T958
2014-02-18 15:58:57 +09:00
Thiep Ha ae8c65f968 [DnD] Fix bug of hard-coded type when drag
Summary:
When we start dragging, the type is always set to "text/uri-list" no matter the format type set by application.
This patch fixs this hard-coded type issue. It will set types corresponding to the format type set by application.
For example, if application set format as ELM_SEL_FORMAT_TEXT, it will set types UTF8_STRING, STRING, COMPOUND_TEXT, TEXT,
text/plain, text/plain;charset=utf-8.

Reviewers: JackDanielZ, raster

Reviewed By: raster

CC: woohyun, seoz

Differential Revision: https://phab.enlightenment.org/D546
2014-02-18 15:47:08 +09:00
Daniel Juyung Seo 68a8e25672 test_list: Disabled 'focus on selection' as it is turned off by default.
- This can be enabled by checking the check buttons.
- Switches 'focus on selection' and 'focus animation' check buttons.
2014-02-18 03:49:19 +09:00
Yakov Goldberg be9053f343 fileselector interface: fix doxygen 2014-02-17 18:02:19 +02:00
Daniel Hirt 6248f9c0fa els_cursor: Fix mouse_out changing cursor to wrong image
Summary:
Fixes a bug when having a mouse_out event from elm objects that had a cursor set to them.
For example, Entry has a specific cursor set to it.
The bug is observable in Entry Test, and in any other test that has anchors (markup) in the entry widget.
Just take your mouse in an anchor, and out of it, to see that the entry now has the wrong cursor.

The old way of handling this asssumed that the triggering object had an elm-parent.
However, this is not the case for anchors.
Instead, it was agreed that the simplest way was to determine if there is any elm object,
with a cursor set to it, under the current mouse position.
If one is found, then use the cursor assigned to it.
Fixes T878.

Reviewers: tasn, raster

CC: raster, JackDanielZ

Maniphest Tasks: T878

Differential Revision: https://phab.enlightenment.org/D551
2014-02-17 21:34:59 +09:00
Ryuan Choi 7c4288548b colorselector: Do not add custom palette color to the palette of config
Summary:
elm_colorselector_palette_color_add() clears the palette if config_load is true.
It means that this API will add paletter color only for this colorselector object.

Fixes T786

Test Plan: Added elm_colorselector_palette.

Reviewers: seoz, raster

Maniphest Tasks: T786

Differential Revision: https://phab.enlightenment.org/D557
2014-02-17 21:26:14 +09:00
Jaehyun Cho bd7c5cbbff naviframe: Fix elm_naviframe_item_pop_to not to attempt to remove removed item
Summary:
Previously, the following error message is shown.
         eina_inlist_remove() safety check failed: item does not appear to be part of an inlist!
         Now, eina_inlist_remove() is removed from elm_naviframe_item_pop_to
         because eina_inlist_remove() is called in _item_del_pre_hook.

Reviewers: seoz, raster

Reviewed By: raster

CC: Hermet

Differential Revision: https://phab.enlightenment.org/D553
2014-02-17 21:09:53 +09:00
Jaehyun Cho 934113bc20 naviframe: Fix to set only top view to be focusable
Summary:
Previously, all views were focusable except during transition.
         Now, only top view is focusable.

Reviewers: seoz

CC: Hermet

Differential Revision: https://phab.enlightenment.org/D554
2014-02-17 21:03:01 +09:00
Jaeun Choi 0e6364aeef elm_index: disable indicator when the selected item is unselected
Summary:
in current code, indicator is disabled only when mouse up event happens.
if the selected item is unselected through API before mouse up,
the indicator will remain active while no item is selected (highlighted).

Test Plan: None

Reviewers: Hermet, seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D560
2014-02-17 20:24:18 +09:00
Carsten Haitzler 4053da6f6f more thread example fixes
this should cover fixes for T956
2014-02-17 17:08:18 +09:00
Carsten Haitzler a93ca4497d fix thread complaint in thread examples 2014-02-17 17:04:12 +09:00
Carsten Haitzler 8d2c55df46 fix thread complaints in examples 2014-02-17 16:59:50 +09:00
Carsten Haitzler b48010fb59 examples - thread 6 - ensure threads quit quickly to avoid timeout on shutdown 2014-02-17 16:02:21 +09:00
Daniel Juyung Seo 79cadb90f4 test_label: marked EINA_UNUSED for unused parameters and removed unnecessary casting.
This removed build warnings.
2014-02-17 01:11:23 +09:00
Jaeun Choi ec676a543f index: send active signal(elm,state,active) to selected item in auto_fill
Summary:
when index box is cleared and refilled, selected item's status still remains as selected
but not highlighted. should send active signal to the selected item so that it is highlighted.

Test Plan: None

Reviewers: Hermet, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D559
2014-02-17 00:54:56 +09:00
Ryuan Choi 83d00b0ab5 elm_web2: Fix possible crash when loaded the contents which contains form elements
ewebkit requires webkit theme to draw form elements so elm_web might be crashed
when ewebkit didn't get theme path at debug build.
2014-02-16 21:19:17 +09:00
Carsten Haitzler 723ead8902 theme - noclip - actually no clip 2014-02-16 21:14:45 +09:00
Carsten Haitzler 91054bb742 theme - scroller - noclip style 2014-02-16 21:09:45 +09:00
Carsten Haitzler 623d836656 theme - clean - list image used in group 2014-02-16 12:12:44 +09:00
Andy Williams d1534e4aa9 Fix issue where items added into tree with more than 2 levels could be rendered at the wrong location in the list.
Fix this by ensuring items are attached after all items below the current node rather than only below those at the current level of children
2014-02-15 20:23:18 +00:00
Davide Andreoli 4c0f458f25 theme: unify tags macro.
As all the tags are now different from enabled and disabled we don't need the COMMON_ macro
2014-02-15 14:15:17 +01:00
Davide Andreoli 4ae7078e0f Label doc: add a note about the conversion duration->speed and viceversa. 2014-02-15 12:42:27 +01:00
Carsten Haitzler 34246e34a4 examples - thread - cancel ecore thread before shutdown 2014-02-15 14:43:03 +09:00
Carsten Haitzler 08a175d31c examples - threads - fix nitpick on still running threads on shutdown
this fixes T955
2014-02-15 14:41:13 +09:00
Davide Andreoli 60a087b802 test entry: make the minimum bug I see (hopefully) more visible.
Also don't use the generic poppers </>
2014-02-14 19:53:59 +01:00
Carsten Haitzler 1d4b74e1de elm scroller - fix self feeding reconfigure to bail out on many loops 2014-02-14 17:32:13 +09:00
Carsten Haitzler c45fd8aff3 list - fix mode set to have override power over scroll limit api 2014-02-14 12:19:40 +09:00
Daniel Juyung Seo 9ec7fd7dec menu: Fixed wrong internal variable name.
It should be 'it' not 'subitem'. It was wrong and confusing.
2014-02-13 15:40:21 +09:00
Carsten Haitzler 0fb094063b entry - fix scroller hide/show signal when changing style (edje obj) 2014-02-12 20:39:39 +09:00
Carsten Haitzler 7914d270bd theme - fix scrollbar + end icon position 2014-02-12 17:20:43 +09:00
Cedric BAIL 8392c0346e gitignore: ignore newly generated file. 2014-02-12 17:00:00 +09:00
Cedric BAIL e49a249ec9 elementary: use autotools to generate version number and avoid future mistake. 2014-02-12 16:59:57 +09:00
Carsten Haitzler edf2559c75 simplify module arch like rest of efl. 2014-02-12 16:04:09 +09:00
Carsten Haitzler 524cb1226f update copying dates 2014-02-12 16:02:36 +09:00
Carsten Haitzler 41decc6522 update readme version 2014-02-12 16:01:44 +09:00
Jihoon Kim 5ecc689064 fix version and date in doxygen 2014-02-12 08:07:57 +09:00
Mike Blumenkrantz 8feb074eff 1.9.0 alpha1 release 2014-02-11 16:21:44 -05:00
Carsten Haitzler 268b3b48a8 theme - default styles - make disabled all look properly disabled 2014-02-11 16:56:54 +09:00
Davide Andreoli 33cd0f930d Label: better speed/duration calculation.
This fix the speed calculation with slide_short and slide_bounce
animation. Previously the calc was right only for slide_long.
2014-02-10 22:53:26 +01:00
Davide Andreoli b79fe302a0 Label: formatting 2014-02-10 22:31:58 +01:00
Davide Andreoli 920b556d36 Test Label2: keep the slider updated when the label change size 2014-02-10 22:08:00 +01:00
Daniel Juyung Seo 192a9e80e7 elm: fixed up the comments after the struct member.
It should be /**< not /*<<
2014-02-10 22:27:08 +09:00
Seunghun Lee 2f2741f981 elm_win: added the window manager rotation feature and a sample.
Summary: since to control the rotation of application windows by WM, already added related feature in Ecore_Evas. Added related API for it.

Reviewers: raster, seoz

CC: gwanglim

Differential Revision: https://phab.enlightenment.org/D542
2014-02-10 22:09:45 +09:00
Carsten Haitzler 893be18935 we dont use pager2 window theme element at all... as we use deskmirror... 2014-02-10 09:37:50 +09:00
Carsten Haitzler d75098344d theme - use smaller shadow in deskmirror and simpler program for on/off 2014-02-10 09:29:51 +09:00
Davide Andreoli 2711a225ba Label: add 2 new api for setting the slide animation speed.
Added API:
void elm_label_slide_speed_set(Evas_Object *obj, double speed);
double elm_label_slide_speed_get(const Evas_Object *obj);

This work is based on the previous reverted commit by nirajkr, thanks!
I hope this will fullfill his requirement, please let me know of
any problems.
2014-02-10 00:13:03 +01:00
Davide Andreoli 3e5e4f6039 Revert "label : Added the API to match the speed of label to different label"
As discussed I will try to implement the same functionality but with a different api.

This reverts commit 56a2c96ea7a731d6066aa7cb0964a633c5bed35c.
2014-02-09 20:21:21 +01:00
Daniel Juyung Seo 6761c289ae test_entry: Refactored entry user style sample code.
- removed unnecessary lines.
- used proper variable name.
- used proper parent on widget add.
2014-02-10 01:28:55 +09:00
Daniel Juyung Seo 5837174fab hoversel: Added more description about elm_hoversel_item_add's callback
function.
2014-02-10 00:59:47 +09:00
Carsten Haitzler d3def0a3ad fix missing menu bg 2014-02-09 23:05:20 +09:00
nirajkr 29069fe9c5 label : Added the API to match the speed of label to different label
Summary:
Currently we do not set the speed of two label same
         This patch fetch the information of the previous
         label to set it to the next label to match the speed
         of the previous label

Reviewers: seoz, raster

Reviewed By: raster

CC: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D531
2014-02-09 22:55:38 +09:00
Carsten Haitzler 1e35d4bab0 oops. 2014-02-09 22:55:13 +09:00
Davide Andreoli 6c6f35dc56 Add more tests to "Entry user style", to spot out lots of bug.
This test is full of TextBlock bugs, just to name a few:
- The window height is wrong, it seems to take the max height as
the win was less large, try resizing to min width to understand what I mean.
- the backing on the em tag is not working.
- the underline colors are wrong.
- popping the style should remove the double underline.
- push/pop on the stack seems not to work as expected: If you push twice
you should need 2 pop to return to the normal state.
2014-02-09 14:53:14 +01:00
Carsten Haitzler 5ad19f6f4b remove unreachable code (coverity) 2014-02-09 22:43:03 +09:00
Daniel Juyung Seo 3dbe6404df atspi_bridge: unref ret if iter_struct is null
This fixes coverity CID 1170201.
2014-02-09 22:15:02 +09:00
Daniel Juyung Seo db9388976c doc/examples: added missing links to examples codes and made some
cleanups.

doxygen is mess now. I will clean this up later.
2014-02-09 21:51:12 +09:00
Daniel Juyung Seo bd4aa0361c doc/examples: fixed typos. 2014-02-09 21:51:11 +09:00
Davide Andreoli d31d409c7d Docs: actually show the functions. Missed doxy group. 2014-02-09 12:44:22 +01:00
Daniel Hirt 41b6a932fe elm cnp: fix freeing selection buf
Moved a misplaced ELM_SAFE_FREE of the selection buffer,
 as valgrind still showed lost bytes with selection.
2014-02-09 13:22:24 +02:00
Amitesh Singh 431b15cd48 focus: Added focus_highlight_geometry_get() into elm_widget.
Summary:
Currently, elm_win was handling focus_highlight geometry of widgets.
Removed elm_win_focus_highlight_geometry_get() from elm_win and now elm_widget handles focus highlight geometry.
This is required to support the focus highlight on elm widget items.

Test Plan: elementary_test -> focus

Reviewers: seoz, raster, woohyun

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D530
2014-02-09 19:56:07 +09:00
Carsten Haitzler 1f0567af98 config - feature add - audio muting config and controls 2014-02-09 19:17:01 +09:00
Bora Hwang 12a6a48e72 ctxpopup: add a new api for ctxpopup which makes ctxpopup not to hide automatically
Summary:
Developer can use this API for the case when he/she wants ctxpopup not to hide
automatically when parent of ctxpopup is resized or language is changed.
Default value of "disabled" is EINA_FALSE. So if user sets "disabled" EINA_TRUE
and parent size changes, ctxpopup recalculates its size and position.
Since size of bg is set when setting parent only, it should be resized again.

Reviewers: Hermet, seoz, thiepha, raster

CC: c

Differential Revision: https://phab.enlightenment.org/D510
2014-02-09 18:11:47 +09:00
zmike 7899534662 +elm_genlist_item_subitems_get() 2014-02-08 16:03:25 -05:00
Davide Andreoli 296ead7e2d Show docs info/instructions in config summary 2014-02-08 21:32:02 +01:00
Davide Andreoli 1329c89dc3 docs for the new entry style tags 2014-02-08 20:40:34 +01:00
Davide Andreoli 00e1bb3b23 New textblock tags for elm entry widget.
This commit add the following new tags:
title, subtitle, bigger, big, small, smaller, code, comment,
string, number, brace, type, class, function, param, keyword,
preprocessor, line_added, line_removed, line_changed.

Tags has been unified in 3 new utility macros:
COMMON_TEXTBLOCK_TAGS, ENABLED_TEXTBLOCK_TAGS, and DISABLED_TEXTBLOCK_TAGS
to avoid repeating too much in the theme.

Also a new test is in: "Entry Style Default" that show all the new styles.
Docs will follow soon.
2014-02-08 20:14:49 +01:00
Carsten Haitzler 402d04f55a theme - more efm icons from appb
as per T575
2014-02-08 20:12:59 +09:00
zmike a3ff700982 +genlist_item_subitems_count()
group apis are currently pretty lacking. there should probably be functions for iterating over subitems in addition to this one
2014-02-08 01:16:06 -05:00
Jaehwan Kim db23689614 access: Add smart signal "access,changed"
It occurs that access mode is changed.
Application can add this callback for each widget.
2014-02-08 14:05:14 +09:00
Shilpa Singh 9151befe0d Colorselector: Item Selection/Unselection logic changes and corresponding API additions.
SUMMARY
Item should remain selected once pressed.
When one item is selected other items should be unselected.
No special behavior on long press, item gets selected on mouse up.
APIs added are to get current selected item and to programmatically
control the selection/unselection of an item.

This is patch D515 (had to do by hand).
2014-02-08 13:33:58 +09:00
Andrii Kroitor 3771a6d473 Elementary menu item: handling hidden icon
Summary:
Added noicon menu item state to default menu theme.
Now you can hide icon by setting it to "" (empty string)
Removed check for resetting the same icon name. This allows setting an icon
after it was hidden.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D522
2014-02-08 13:17:24 +09:00
Carsten Haitzler a31944daa4 elm-menu - fix style to use current when setting menu bar 2014-02-08 13:13:45 +09:00