Commit Graph

9354 Commits

Author SHA1 Message Date
Youngbok Shin 585be3a4e1 conform: Fixed to get a geometry from *focus_region_get for show_region_job.
Summary:
The geometry of elm_widget_show_region_get is only updated by elm_widget_show_region_set.
If the geometry of *show_region_get is not updated, the result of show_region_job would be incorrect.
So, we need to get a proper geometry using *focus_region_get for focused object.

Reviewers: seoz, woohyun, Hermet, raster, tasn

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D466
2014-01-20 18:54:20 +09:00
Youngbok Shin 5de43831aa entry: Add smart activate for accessbility.
Summary:
In TTS mode, when the entry is highlighten and double tap to the entry,
the entry will be focused. But "clicked" smart callback is not called, input panel is not shown.
So I we need to call the callback and show input panel in smart activate.

Reviewers: seoz, Hermet, woohyun, tasn, jaehwan, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D465
2014-01-20 18:45:51 +09:00
Youngbok Shin 0d81887544 entry: If the scrollable entry is set disable, send "*,disabled" signal to scr_edje too.
Summary:
Default theme of entry does not have any disabled state in "elm/scroller/entry/*" styles.
But EFL developer can make any custom style for entry and scroller and it can has disabled state.
So _elm_entry_smart_disable has to emit "*disabled" signal to scr_edje.

Reviewers: woohyun, tasn, seoz, Hermet, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D464
2014-01-20 18:04:30 +09:00
Davide Andreoli f0e70bbad8 theme for the packagekit module IN 2014-01-19 11:37:14 +01:00
Ryuan Choi e1ac419d6d fileselector_button, fileselector_entry: Updated FOO_inwin_mode_set() documentation.
fileselector_button initialize inwin mode using the configuration.
Fixed wrong information about default value in API documentation.

In addition, fixed test_fileselector_button.cpp not to show wrong information at initial time.
2014-01-19 15:35:51 +09:00
Carsten Haitzler 852eface62 theme - ibar - emit show doen signal for ibar menu 2014-01-18 19:52:24 +09:00
zmike bf3f4781c7 SHUT UP ELM PREFS!!!!!!!!!!
seriously, this is and has been bullshit since it was added. I don't need an error message every time I do ANYTHING just because some module has never been found.
2014-01-18 01:57:01 -05:00
Mike Blumenkrantz 1d4504442a tweak e menu shadow offsets
T793
2014-01-16 12:03:00 -05:00
Ryuan Choi 8acc7ed7eb flipselector: Remove unused variable of Elm_Flipselector_Item
The data for callback is stored in Widget's data variable.
So, Elm_Flipselector_Item's data variable is not needed.
2014-01-17 00:19:49 +09:00
Ryuan Choi 41eb908038 test_flipselector: Fixed that buttons use wrong flipselector which is not intended.
Since e2db48abe, disabled flipselector was passed button callbacks.
So, buttons just print warnings instead of the intended behavior.
2014-01-16 23:48:36 +09:00
Ryuan Choi 9a17bd67a7 datetime: Delay elm_layout_theme_set until memebers are initialized in _smart_add
There are some warnings in elm_object_disabled_set() because elm_layout_theme_set()
calls _elm_datetime_smart_disable() before creating file->item_obj.
This patch refactors _smart_add to initialize file->item_obj before calling
elm_layout_theme_set().
2014-01-16 22:50:40 +09:00
Jihoon Kim 240f880808 Fix unknown command warning in generating doxygen
elementary/src/lib/elm_access.h:238: warning: Found unknown command `\type'
elementary/src/lib/elm_bg_legacy.h:98: warning: Found unknown command `\r'
elementary/src/lib/elm_bg_legacy.h:98: warning: Found unknown command `\g'
elementary/src/lib/elm_object.h:124: warning: Found unknown command `\content'
elementary/src/lib/elm_image_legacy.h:82: warning: Found unknown command `\group'
elementary/src/lib/elm_image_legacy.h:56: warning: Found unknown command `\group'
2014-01-16 08:44:35 +09:00
Ryuan Choi 933dba3c9c panel: Guarantee the integrity of parameter
- Check whether ret is NULL.
- Guarantee hidden variable is only EINA_TRUE or EINA_FALSE.
2014-01-16 04:41:18 +09:00
Ryuan Choi 384c6f100a panel: Check whether sd->content is NULL in _panel_toggle
sd->content can be NULL when elm_panel_hidden_set is called.
2014-01-16 04:10:38 +09:00
Ryuan Choi 0c0230331a panel: Delay elm_layout_theme_set until memebers are initialized in _smart_add
elm_layout_theme_set can call some methods like _elm_panel_smart_theme and there are some warnings
when these methods manipulate some member variabls which are not initialized yet.
It's because elm_layout_theme_set is called too early in _smart_add.

Spotted while digging warnings after rELM4c3e23de9e46
2014-01-16 04:02:11 +09:00
Ryuan Choi 37ffb188bb elm_widget_xxx.h: Adopt EINA_UNLIKELY and fix indentation in FOO_DATA_GET macros. 2014-01-16 03:34:55 +09:00
Daniel Juyung Seo 7dd5fe10af win: Check null before calling elm_widget_highlight_in_theme_get(). It
can be null.

'target' can be null when the focus in is just called.
2014-01-16 02:33:46 +09:00
Daniel Juyung Seo b1743d7d16 test: Cleaned up elementary_test internal code.
- removed unnecessary/unused macro.
- fixed formatting.
- added prefix '_' for internal function.
2014-01-16 02:10:21 +09:00
Ryuan Choi e62d226ccf fileselector_entry: Removed _mirrored_set(), one line local function
Small refactoring.
It is unnecessary one line function which just calls elm_widget_mirrored_set.
2014-01-15 21:58:07 +09:00
Ryuan Choi 7d72dd6c35 fileselector_entry: Delay elm_layout_theme_set until memebers are initialized in _smart_add
Summary:
elm_layout_theme_set can call some methods like _smart_disable and there are some warnings
when these methods manipulate some member variabls which are not initialized yet.
It's because elm_layout_theme_set is called too early in _smart_add.

Spotted while digging warnings after rELM4c3e23de9e46

Reviewers: seoz, raster

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D459
2014-01-15 21:44:21 +09:00
Carsten Haitzler 74ea068ff5 pager16 - match same theme look for popup as pager orig 2014-01-15 20:34:17 +09:00
Carsten Haitzler d7fb4520c9 e19 - deskmirror - use proper scaling for mini frames 2014-01-15 20:13:54 +09:00
Daniel Juyung Seo aa87fba2b5 ChangeLog/NEWS: Removed unnecessary ChangeLog and NEWS entries.
We do not modify them at every commit after 1.8 release. These are
changed by stefan when it does release.
2014-01-15 17:30:12 +09:00
ChunEon Park 8f59ba7a1f elementary/ctxpopup - no need to use RESTACK callbacks anymore.
Now bg is smart member of the internal object.
let it have a behavior as the member of the smart object.
don't need to care it additionally.
2014-01-15 15:10:32 +09:00
Daniel Juyung Seo 2f846fca27 test_photocam: Support zoom in and out with more condition checks.
Now zoom in and out work sanely.
2014-01-15 15:05:32 +09:00
Bora Hwang f4933dc49c ctxpopup: set smart member relationship for objects in ctxpopup
Summary:
to support mouse_down/up/move callbacks of ctxpopup,
all objects in ctxpopup should be in smart relationship with ctxpopup.
Also, with this patch, bg object and arrow object don't have to be called with
evas_object_show or evas_object_hide when ctxpopup is shown or hidden

Reviewers: Hermet, seoz, raster, thiepha

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D458
2014-01-15 14:42:13 +09:00
Daniel Juyung Seo 1f95d660f0 photocam: Updated elm_photocam_zoom_set() API documentation. 2014-01-15 14:39:37 +09:00
ChunEon Park 812bdae606 elementary - don't use __UNUSED__ anymore 2014-01-15 14:36:55 +09:00
Jaehyun Cho afef2271fd [naviframe] Replace naviframe title visible APIs to naviframe title enabled APIs
Summary:
To support naviframe title transition effect, naviframe title enabled APIs are applied.
         To remove the duplicate functionalities, naviframe title visible APIs are deprecated.

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz, raster

Differential Revision: https://phab.enlightenment.org/D426
2014-01-15 14:29:05 +09:00
Daniel Juyung Seo 788118afeb test_glview: Refactor glview test layout.
- Display button just vertically.
- Changed button text more descriptive.
- Create glview related buttons only when glview is created correctly.
2014-01-15 12:02:26 +09:00
Daniel Juyung Seo abfdb63ad8 test_glview_simple: Close the window instead of exiting the program on
close button.
2014-01-15 11:55:20 +09:00
Mike Blumenkrantz aff9c9bda3 e menus now have their own shadows 2014-01-14 20:17:12 -05:00
Mike Blumenkrantz ad204eec40 fix comp theme fast popups to still have shadows 2014-01-14 20:17:12 -05:00
Mike Blumenkrantz e306137456 change theme animation for window frame icon urgency to be more in line with other e animations
a number of e animations are "zoom" related. bouncing is clearly identified as being OSX, so let's stay away from that.
2014-01-14 20:16:59 -05:00
Mike Blumenkrantz 87950c5d6c feature: add PIN desklock theme
currently just reuses syscon buttons since they're identical in function
2014-01-14 20:16:13 -05:00
Mike Blumenkrantz 9dc7d4b5ab feature: iconify/uniconify animations for windows 2014-01-14 20:16:13 -05:00
Mike Blumenkrantz 03a059bf9d feature: pager16 module theme 2014-01-14 20:16:05 -05:00
Mike Blumenkrantz 5edd6bf65d readd deskmirror
this file seems to have been magically and mysteriously lost during the recent theme merge
2014-01-14 20:14:55 -05:00
Mike Blumenkrantz 6cf4847700 redo comp theme to match e19 signals
* shadows should be uniformly moved to whatever thing they're supposed to be on (WIP)

* trans-clipper was a failure idea, this is now done in C

* signals renamed to be more consistent

* groups renamed to comp/frame/*

* comp/border/* groups preserved for compat
2014-01-14 20:14:54 -05:00
Carsten Haitzler 066b206a12 cnp - dont access null parent obj in getting xwin 2014-01-15 09:59:37 +09:00
Daniel Juyung Seo f2f865596b test_ctxpopup: Internal refactoring of ctxpopup test codes.
- Handled the deletion of image object correctly. Do not overuse/misuse
evas_object_data, it will make code less readable.
- Cleaned up button click callback. sharing one function for different
buttons is not a good idea in some cases. Just split the callbacks.
- Removed unnecessary evas_object_data_set().
2014-01-15 02:32:36 +09:00
Daniel Juyung Seo a75d84d051 win: Added more description to elm_win_floating_mode_set() API. 2014-01-14 23:29:40 +09:00
Carsten Haitzler 939313e194 elm widget - skip null list entires in focus list 2014-01-14 22:48:28 +09:00
Ryuan Choi 5e46f2ff6d toolbar: Check whether icon is null before sending signal
There are warnings when icon is null since rELM4c3e23de9e46.
2014-01-14 21:46:27 +09:00
Ryuan Choi dbb92436a2 fileselector: Fix that folder only mode shows only files instead of only folders
Issues: T756

It's regression of rELM4693736bb028
2014-01-14 18:14:52 +09:00
Daniel Juyung Seo 44a3450f1c elm: Build in an alphabetical order. 2014-01-14 17:20:29 +09:00
Daniel Juyung Seo c07bbf2823 po: Updated po files.
It's actually annoying that po is changed whenever I do clean build.
2014-01-14 17:19:40 +09:00
Hosang Kim 9204ce6833 scroller: Fixed wheel event callback
Summary:
scroller is moved page by page if scroller's paging is enable

1. default is move to vertical.
2. move to horizontal with Shift key

Reviewers: seoz, Hermet, jaehwan, woohyun, raster, cedric

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D453
2014-01-14 16:56:52 +09:00
Jerome Pinot f75596f7f5 doxygen: fix 'icon' and 'check' widget examples
Due to code change, the snippets didn't show up in the tutorials of
elm_icon and elm_check. Also, add missing example pictures.
2014-01-14 14:44:15 +09:00
Chinmaya Panigrahi 8839725497 [test access]: Minor change to make code simpler.
Summary: Minor change to make code a little simpler.

Test Plan: elementary_test -to accessibility

Reviewers: seoz, singh.amitesh

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D456
2014-01-14 13:39:33 +09:00
Daniel Juyung Seo a2293d5dbd actionslider: Removed unnecessary line. 2014-01-14 11:41:09 +09:00
Jihoon Kim bf0c4e921a entry: remove duplicated checking variable
'top' variable was checked twice, so it's fixed.
2014-01-14 08:07:22 +09:00
Ryuan Choi 6a8f33b298 els_box: Used Eina_Bool instead of int for the parameters of _els_box_layout 2014-01-14 03:26:16 +09:00
Daniel Juyung Seo 14d53feca0 atspi_bridge: Changed shadow variable names. 2014-01-13 23:15:11 +09:00
Daniel Juyung Seo 45ee408180 ctxpopup, entry: Check widget type by eo_isa not by evas_object_type
string compare.
2014-01-13 23:14:44 +09:00
Daniel Juyung Seo f1457a3540 inwin, layout: Check null before calling eo_isa. 2014-01-13 23:09:25 +09:00
Daniel Juyung Seo b70db6eefb panes: Fixed panes smart callbak calls by fixing default theme.
Panes smart callback depends on the signals from theme but it was broken
when dark theme was introduced.
"clicked" does not work yet, it should be fixed.

Thanks for the report, JackDanielZ.
2014-01-13 23:01:40 +09:00
Daniel Juyung Seo 5c0eccddd5 cnp: Fixed indentation while reading the code. 2014-01-13 23:01:34 +09:00
Ryuan Choi f832375b4a Widget: Removed !obj checks from ELM_WIDGET_DATA_GET_OR_RETURN and ELM_WIDGET_CHECK
eo_data_scope_get and eo_isa returns NULL with complaint when NULL is passed.
So, Removed unnecessary !obj check routine.

In addition, adopt EINA_UNLIKELY for these macros and fix indentation.
2014-01-13 21:11:04 +09:00
Jihoon Kim 81d880cfae entry: Add elm_entry_input_panel_show_on_demand_set/get API
This API sets the attribute to show the input panel in case of only an user's explicit Mouse Up event.
It doesn't request to show the input panel even though it has focus.
2014-01-13 19:32:01 +09:00
Ryuan Choi 114e458f56 elm_win: Removed EE_ENGINE_COMPARE macro to reduce redundant function calls.
EE_ENGINE_COMPARE reduces typing little bit, but it makes redundant function calls
because almost callers call it more than once.
And, there is no way to check whether ecore_evas_engine_name_get is null.

This patch removed EE_ENGINE_COMPARE with small refactoring.
In addition, removed unnecessary check routines from _elm_ee_xwin_get.
2014-01-13 19:00:17 +09:00
Ryuan Choi 23bebb1c47 genlist: Check return value out of the loop in _realized_items_get 2014-01-13 17:34:36 +09:00
Ryuan Choi 34c5efeb36 fileselector: Fix that the enter key does not navigate directory
Moved the navigation logic from callback of "clicked,double" to callback of "activated".
2014-01-13 17:34:36 +09:00
Ryuan Choi 3a3005ffc6 els_box : Move horizontal condition out of some loop in _els_box_layout
Summary:
Almost logic of both horizontal and vertical are same except different axis in
_els_box_layout.
This patch reduced code size and improved speed little bit by moving condition
out of the loop using some extra pointer variables.

In addition, removed unnecessary check routines.
There are already similar logic for them before and after.

Reviewers: raster, seoz, cedric

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D423
2014-01-13 15:47:05 +09:00
Carsten Haitzler d4efd9b07e actionslider - fix unused macros to match current usage and build again 2014-01-13 15:46:31 +09:00
prashant 1c66052faf [actionslider]:enable the mouse event
Summary: On mouse click move the knob on action slider

Test Plan: elementary_test -to actionslider

Reviewers: seoz, singh.amitesh, raster

Reviewed By: raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D384
2014-01-13 15:44:44 +09:00
Carsten Haitzler 3fdf94ab95 atspi - fix warnhings and use %llu (unsigned long long) or obj handle 2014-01-13 15:35:48 +09:00
Lukasz Stanislawski fb01f98afd atspi: accessible and component interface implementation.
Reviewers: raster, cedric, kimcinoo, seoz

Reviewed By: raster

CC: pkaczmarek-samsung, z.kosinski

Differential Revision: https://phab.enlightenment.org/D378
2014-01-13 15:24:35 +09:00
abhi cc03e646c9 Adding elm_tooltip_movement_lock_set() and elm_tooltip_movement_lock_get()
Summary: These APIs allow to enable/disable a tooltip to move with respect to mouse pointer

Test Plan: elm_tooltip_movement_lock_set(), elm_tooltip_movement_lock_get(), elementary_test -to tooltip

Reviewers: singh.amitesh, seoz, raster

Reviewed By: raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D369
2014-01-13 15:22:48 +09:00
Carsten Haitzler 17083663ac elm cnp (dnd) - file:/ is the minimum, not file:// so work with other apps 2014-01-13 14:00:09 +09:00
Carsten Haitzler da3e22e851 theme - make dark rounded square less transp. and add shadow to ibar menu 2014-01-13 05:15:12 +09:00
Daniel Juyung Seo fa8d305caf test_genlist: Enable focus highlight and animation only for this window.
Do not affect other test windows.
2014-01-13 01:09:26 +09:00
Daniel Juyung Seo b9653d7d32 test_genlist: Renamed genlist20 test name to more descriptive test name,
genlist_focus.
2014-01-13 01:06:17 +09:00
Carsten Haitzler 0abb5aabb5 glview test - fix if evas gl ins't found - leak of gld data 2014-01-11 16:44:04 +09:00
Carsten Haitzler 380285b7d9 elm prefs cc - fix failed lseek handling on compile 2014-01-11 16:41:03 +09:00
Carsten Haitzler f21cb31770 glview test - dont leak gld 2014-01-11 16:35:29 +09:00
Carsten Haitzler a188fdda01 fix sign/unsigned compare warn 2014-01-11 16:23:23 +09:00
Carsten Haitzler ae306c98fb use long not unsigned long - ftell returns long. 2014-01-11 16:19:25 +09:00
Carsten Haitzler c1ddfe77cb elm glview - evas sync before rendering with always draw to sync right
async rendering clashes with the idle enterer glview uses to draw with
always render mode - sync first and there is no problem.
2014-01-11 00:40:01 +09:00
Carsten Haitzler 6f632b90db dbus menu - fix leak of reply creation for method events
this fixes CID 1039975
2014-01-10 18:10:49 +09:00
Carsten Haitzler d9e068a9e5 mapbuf - move index check into eo method and use fixed index size
this also fixes CID 1141033 and CID 1141032
2014-01-10 17:54:51 +09:00
Carsten Haitzler 55eaa02232 elm prefs - useless staement as _deltai() already fills in *val
this should fix 1040028
2014-01-10 17:16:43 +09:00
Carsten Haitzler f30cc0b7aa comment fallthroughs as intentional 2014-01-10 17:10:43 +09:00
Carsten Haitzler 79be27c307 fix elm fsel test to check mkdir return
this should fix CID 1040043
2014-01-10 17:05:35 +09:00
Carsten Haitzler 09943e2883 app client - fix not handling failed return from eldbus call
this fixes CID 1091411
2014-01-10 17:02:49 +09:00
Carsten Haitzler 0c9480fc76 elm map - fix incorrect return check of fread
this fixes CID 1132735 (real bug)
2014-01-10 16:53:43 +09:00
Carsten Haitzler 1ac66c892a elm map - fix incorrect return check of fread
this fixes CID 1132736 (real bug)
2014-01-10 16:52:44 +09:00
Carsten Haitzler 900ae28870 elm map - fix incorrect return check of fread
this fixes CID 1132737 (a real bug)
2014-01-10 16:51:06 +09:00
Carsten Haitzler b924ac350a formatting (spaces) 2014-01-10 16:46:25 +09:00
Youngbok Shin d91f85c967 When the viewport is resized, the entry size will be recalculate.
Using the elm_scrollable_interface_content_viewport_resize_cb_set in
scrollable entry widget. this only happens in mobile profile when you
drag the content with your finger left/right when the content is
smaller than the gap between icons.

This accepts D187
2014-01-10 16:39:06 +09:00
Hosang Kim 55d26bd52e [scroller] fixed infinite loop bug in scroller
Summary: called scroller bring in API in "scroll,anim,stop" callback, so occured infinite loop

Reviewers: seoz, jaehwan, raster, woohyun, cedric

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D445
2014-01-10 15:42:12 +09:00
Doug Newgard ec4d51fdf5 Add COPYING.images to make dist
Summary: This file is is the attribution required by the license.

Reviewers: raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D438
2014-01-10 15:28:24 +09:00
Jihoon Kim afecbbe85b test_dnd: avoid to create icon object that will be unused 2014-01-10 15:00:06 +09:00
Jihoon Kim d6d49bf9e9 test_glview: Show description if gl is not supported.
refer commit:
5a143dc1c68f07e994ed6f2f4f035f77c7f902d5
66d2b7df56d1fc0900f8e407e17f3967efc23534
2014-01-10 13:59:26 +09:00
Daniel Juyung Seo d8def8245f test_dnd: Check return value of strchr it can be NULL.
This fixes coverity CID 1152899 and 1152898.
2014-01-10 13:30:39 +09:00
Daniel Juyung Seo 66194e773a test_glview_simple: Add more description on glview creation failing
cases.

Check gl backend engine or run set environmental variable.
ex) ELM_ENGINE=gl elementary_test
2014-01-10 13:27:14 +09:00
ChunEon Park 97134378e1 elementary/layout - write as possible as simpler code 2014-01-10 11:23:18 +09:00
Ryuan Choi a580c2ba5b web: Move EWebKit headers out of Elementary.h again
Since rELM166ca9e86a72, I moved EWebKit header into Elementary.h like other libraries.
But, it made possible build break while building test browser in webkit.
It's because EWebKit.h and EWebKit2.h have same symbols and test browser should
be compiled with EWebKit2.h although Elementary was built with ewebkit.

This patch reverts a part of changes in rELM166ca9e86a72, which includes EWebkit.h
in Elementary.h
2014-01-09 21:56:59 +09:00
ChunEon Park 3dfef42f5f elementary/layout - do it exactly same with smart_theme() when elm_layout_theme_set() is called.
now mirrored, scale and so on will be working fine.
but still wonder if the mirrored_set(), scale_set().. are called in the elm_widget_theme_object_set() inside.
then every widget won't be need to call it by theirselves...
2014-01-09 20:33:30 +09:00
Carsten Haitzler e9da80c23a Update PKGBUILD to work with release tarballs as well as Git clones
Reviewers: raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D440
2014-01-09 19:01:31 +09:00
Carsten Haitzler 0d15cb7c42 elm prefs - fix leak if setup_err/set_err happens in elm prefs
fixes CID 1040006
2014-01-09 16:03:39 +09:00
Carsten Haitzler f8da5f2282 list test - make test item never able to access invalid mem
fixes CID 1040020
2014-01-09 15:13:51 +09:00
Carsten Haitzler bacf5b4bd3 genlist test - make test item never able to access invalid mem
fixes CID 1040021
2014-01-09 15:11:49 +09:00
Carsten Haitzler d90886c992 fix alloc to use right sizeof type in elm_image
this should fix CID 1132738 - not a real issue as it still was * 4 but
more obvious and clean after fix
2014-01-09 15:04:46 +09:00
Carsten Haitzler f165f26f28 fix mingw build for setuid fix/checks 2014-01-08 22:08:44 +09:00
Carsten Haitzler 430f98a628 setuid safeness - ensure if an app that is setuid doesn't do bad things
this makes efl ignore certain env vars for thnigs and entirely removes
user modules (that no one ever used) etc. etc. to ensure that *IF* an
app is setuid, there isn't a priv escalation path that is easy.
2014-01-08 20:33:09 +09:00
Daniel Juyung Seo a7a8b257c2 gengrid, genlist: Fallback into default item style if the required item
style does not exist.
2014-01-08 19:07:56 +09:00
Stefan Schmidt daea846b18 build: Fix make dist by removing reference to deleted file.
In 465da71acf4eb5fcec512df38b8e0e526a014659 the m4 file was deleted
but not its reference in Makefile.am. This results in make dist failing.
2014-01-08 10:57:13 +01:00
Daniel Juyung Seo 01f2f195ba diskselector, entry, index: Refactoring by reducing unnecessary redundant function calls
and removed unnecessary local variable.

- Do not need to call the same function with same parameter many times.
Use local variable for them.
- Remove unnecessary local variable if it is not needed.
2014-01-08 17:42:55 +09:00
Daniel Juyung Seo 68b90c7874 elementary_config: Refactor elementary config menu by merging Access, Select clear, and clouseau menu.
Having one checkbox per each tab does not look good.
Split them when it is needed.
2014-01-08 11:26:15 +09:00
Daniel Juyung Seo 16479145e9 elm: Use EINA_FALSE instead of 0 for elm_image_resizable_set()
parameters.
2014-01-08 10:28:18 +09:00
Daniel Juyung Seo 04c2f9d32f test/diskselector,icon,image,list: Removed unnecessary image resizable
set true because resizable is already true by default.
2014-01-08 10:14:47 +09:00
Jihoon Kim 5b64757cc3 map: fix allocator sizeof operand mismatch reported by clang
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-vKmgoZ.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-5OVcIZ.html#EndPath
2014-01-08 08:51:15 +09:00
Jihoon Kim 7d6e81c09f elm: replace 0 or 1 with EINA_FALSE or EINA_TRUE 2014-01-08 08:23:58 +09:00
Jihoon Kim 8de371066e elm_test: use EINA_TRUE or FALSE instead of 1 or 0 2014-01-07 16:48:58 +09:00
Daniel Juyung Seo ef6f264e75 elm_priv.h: Removed null check from ELM_SAFE_FREE because all efl
free/del func + free func get null as valid parameter.

Now ELM_SAFE_FREE is less useful than before. It reduced 5 lines to 1
but now it reduces 2 lines to 1.
2014-01-07 00:14:35 +09:00
Daniel Juyung Seo d58b4401e8 flip, gengrid: Removed dead assignments which were reported by clang
build.

https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-cMar9x.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-ZMmiQe.html#EndPath
2014-01-07 00:11:00 +09:00
Daniel Juyung Seo bfb91fe341 3d, flip_page test: Removed dead assignments which were reported by
clang.

https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-XJSqtb.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-XcpYrk.html#EndPath
2014-01-07 00:11:00 +09:00
Tom Hacohen b01433ff47 Widget: Don't check if it's the correct class everywhere.
ELM_WIDGET_DATA_GET was checking it was the correct class. This is
stupid and wrong (and makes tools rightfully complain) because these
functions are implementations of that class anyway, so that would never
be false.
Functions that outside facing (that is, not called from eo_do) should
use API_ENTRY.
2014-01-06 15:07:16 +00:00
Daniel Juyung Seo 4660142cc1 po: Updated po files 2014-01-06 23:50:49 +09:00
Daniel Juyung Seo e390159721 elm: Removed the use of __UNUSED__ from elementary.
Use EINA_UNUSED instead.
2014-01-06 23:45:47 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Daniel Juyung Seo 16f687b87a multibuttonentry, genlist, layout, toolbar: Fixed dereference of null
pointers which were reported by clang builg.

https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-XZo1hW.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-isAlRt.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-8Ascv8.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-gBkVuE.html#EndPath
2014-01-06 23:26:46 +09:00
Daniel Juyung Seo 2942212cb3 toolbar: Fixed dead assignment reported by clang build.
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-0ipfss.html#EndPath
2014-01-06 23:14:14 +09:00
Carsten Haitzler e6b4c230de elm theme - fix toggle color to hide invisible orange rect 2014-01-04 18:55:45 +09:00
maxerba d0fe20a7d7 Updating serbian translation 2014-01-03 18:20:46 +01:00
WooHyun Jung fa8ca01128 widget: Fix a bug in elm_widget_newest_focus_order_get.
When elm_widget_newest_focus_order_get is called with can_focus_only,
only focusable objects should be the candidates for newest focused object.
But there are cases that unfocusable object add +1 to newest_focus_order.
2014-01-03 20:02:30 +09:00
Jihoon Kim 99321e8ca8 Revert "entry: Add elm_entry_input_panel_show_on_demand_set/get API"
It's feature freeze period, so I will add after ending freeze period.
2014-01-03 19:46:21 +09:00
Jihoon Kim 22e697fb98 entry: Add elm_entry_input_panel_show_on_demand_set/get API
This API sets the attribute to show the input panel in case of only an user's explicit Mouse Up event.
It doesn't request to show the input panel even though it has focus.
2014-01-03 18:51:38 +09:00
Jihoon Kim 56dd2d3bbd label: fix typo in comment 2014-01-03 18:32:27 +09:00
Ryuan Choi 71142889e9 web: Disable more logics to reduce binary size when web backend is none
It will reduce binary size about 4K.
2,626,465 -> 2,622,369 (Byte, tested with -Os, unstriped)
2014-01-03 16:12:11 +09:00
ChunEon Park 8b6ef9aaac elementary/widget - don't call theme_set() until base widget is not created yet.
On the widget creation time, we should not set the theme in the widget infra.
This will cause the corruption of the theme_hook working since the widget is not setup yet.
Also the theme_set() will be applied twice each widget will set the themes right after base widget is created.
2014-01-03 14:38:27 +09:00
Daniel Juyung Seo 97be76ca61 layout: Moved internal smart data member to a correct place.
can_access is used only by layout.
2014-01-02 09:23:03 +09:00
Daniel Juyung Seo f232ff14be image: Remove unnecessary parameter for elm_obj_image_editable_set.
This parameter was introduced as an internal funciton parameter long ago and migrated to eo as it was.
But this parameter is not needed. obj pointer is already there.

Thanks to Yakov for the report.
2014-01-02 09:21:16 +09:00
Daniel Juyung Seo 77c90d1bc6 test_photocam: Unfuck photocam test case by removing absolute image path by raster.
Please maintain this manually or push those images to somewhere reachable by others.
2014-01-02 09:21:11 +09:00
Daniel Juyung Seo 722be35238 elm_widget: Partial update for widget smart data comments. 2014-01-02 08:49:26 +09:00
Ryuan Choi 9c84f2b1b5 fileselector: Fix dereference before null check
Reported as CID:1147525 by Coverity Scan
2014-01-01 15:32:35 +09:00
Ryuan Choi b379b8c409 fileselector: Fixed wrong allocation in _custom_filter_append
Reported as CID:1147526 by Coverity Scan
2014-01-01 15:32:32 +09:00
Chinmaya Panigrahi e4cbf1bcfb [Genlist]: Added NULL check
Summary: Added NULL check

Test Plan: elementary_test -to genlist

Reviewers: seoz, singh.amitesh, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D432
2014-01-01 14:11:50 +09:00
Daniel Hirt 928fa2e24e elm_test: fix test_entry_anchor scroller callback 2013-12-31 16:51:56 +02:00
Jaehyun Cho 432a018916 [elm_widget] Fix not to load theme for mirroring if smart data is not set
Summary: Do not load widget theme for mirroring if smart data creation is not finished.

Reviewers: Hermet, raster

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D428
2013-12-31 20:33:51 +09:00
Yakov Goldberg e93a38c966 widget, spinner: typo in elm_widget_focus_set() 2013-12-31 11:16:35 +02:00
Daniel Juyung Seo d0dad27613 authors: Added Chinmaya as an elementary author. 2013-12-31 13:20:53 +09:00
Chinmaya Panigrahi 28a9e53e08 [Hoversel]: Added NULL check
Summary: Added NULL check

Test Plan: elementary_test -to hoversel

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D427
2013-12-31 13:12:20 +09:00
Jihoon Kim f4dff866c2 entry: fix build warning about explicit braces to avoid ambiguous 'else' 2013-12-31 11:40:52 +09:00
Jihoon Kim bfda643041 spinner: add NULL check 2013-12-31 11:38:46 +09:00
Jihoon Kim 2f3525f518 image: add NULL check 2013-12-31 11:36:43 +09:00
Jihoon Kim e5e8af3239 entry: add NULL check 2013-12-31 11:23:28 +09:00
Jihoon Kim e3faaa250a fileselector: add NULL check 2013-12-31 11:22:20 +09:00
Yakov Goldberg c9ede4cb3e Revert "fix Makefile to build with webkit"
This reverts commit 1f77ef403e1d45d8ec321c7a2f5e0c2cd7330692.
2013-12-30 15:46:06 +02:00
Yakov Goldberg 025da3d407 scrollable interface: typo type 2013-12-30 15:44:17 +02:00
Yakov Goldberg 72244a60a0 calendar: add NULL checks 2013-12-30 15:44:17 +02:00
Yakov Goldberg e3010bae21 calendar: fix doxygen 2013-12-30 15:44:17 +02:00
Yakov Goldberg b45b864c36 win: fix parameter order in elm_win_available_profiles_get() for consistency 2013-12-30 15:44:17 +02:00
Yakov Goldberg e2e1814a4f datetime: add NULL checks 2013-12-30 15:44:17 +02:00
Yakov Goldberg e92b55c817 datetime: fix doxygen 2013-12-30 15:44:17 +02:00
Yakov Goldberg b3e0774fa7 fix Makefile to build with webkit 2013-12-30 15:44:16 +02:00
Daniel Juyung Seo b178578973 test_fileselector: Set the hoversel's hover parent correctly.
This fixes hover clipping issue on hoversel button clicked.
Thanks for the report Ryuan.
2013-12-30 19:36:18 +09:00
Youngbok Shin 205c264449 entry - Add "rejected" smart callback in "elm_entry_filter_accept_set"
Summary:
Add "rejected" smart callback.
Applications using the *filter_accept_set didn't know when the input was rejected.
This smart callback can provide a simple information to applications.

Reviewers: woohyun, tasn, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D413
2013-12-30 18:25:16 +09:00
Yakov Goldberg 21da50f601 widget: remove unused return parameter in elm_wdg_orientation_set() 2013-12-30 11:16:19 +02:00
Yakov Goldberg b51fb05e64 widget: doxygen fix 2013-12-30 11:15:49 +02:00
Carsten Haitzler 9e34b7d117 tests - add test for requesting sa massive window and seeing response 2013-12-30 13:42:32 +09:00
Stephen Houston 6c3e99c0a5 elm_thumb: Delete ethumb object on smart_del in order to prevent the ethumb from being left as an artifact after the elm_thumb has been deleted. 2013-12-29 11:24:54 -06:00
Daniel Juyung Seo 4b8aff3558 test_fileselector: Changed the layout of fileselector example.
Now it looks good :)
2013-12-30 01:04:22 +09:00
Daniel Juyung Seo 67634c3b82 fileselector: Added a description for Elm_Fileselector_Filter_Func. 2013-12-30 00:31:04 +09:00
Daniel Juyung Seo fb4c136444 test_fileselector: Added edje custom filter example to show the real use case of fileselector custom filter.
This feature is really good. Thanks Ryuan!
2013-12-30 00:22:18 +09:00
Daniel Juyung Seo 5be56da91e test_fileselector: Cleaned up the comments in the test code. 2013-12-30 00:22:18 +09:00
Ryuan Choi a797f529e7 entry: Show "Paste" option when called ctxpopup with selection
"Paste" is usefull not only for pasting clipboard but also for replacing
selection to clipboard.
2013-12-29 21:22:19 +09:00
Ryuan Choi e26c97d55c fileselector : Add elm_fileselector_custom_filter_append to support custom filter
Summary:
Now, application developers can decide whether files and directories to show in
fileselector view.

Reviewers: seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D416
2013-12-29 13:23:17 +09:00
Daniel Juyung Seo f464775670 test_button: Fixed wrong button number. 2013-12-29 02:21:31 +09:00
ami 02edf1abdb [hoversel] - Added evas smart signal "expanded" in hoversel. This patch depends on D373.
Test Plan: elementary_test -to Hoversel, Click on "Custom Item Style".

Reviewers: seoz, raster, cedric

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D381
2013-12-28 17:48:11 +09:00
Amitesh Singh 0be8dbcaae [elc_popup] - Added focus support on popup-base's swallow parts.
Summary:
 Currently the focus was only on popup-content and popup-action area.
New API elm_layout_content_swallow_list_get() which returns the list of
swallow parts.

Test Plan: elementary_test -to popup. click on "subpopup + X button"

Reviewers: seoz, raster, woohyun

Reviewed By: raster

CC: nirajkr, aryarockstar, kashish

Differential Revision: https://phab.enlightenment.org/D375
2013-12-28 17:33:10 +09:00
Chinmaya Panigrahi 5a3fea6a28 [Hoversel] Making focus cyclic for hoversel items.
Summary: Focus cyclic feature on hoversel items.

Test Plan: elementary_test -to "Hoversel Focus"

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D377
2013-12-28 17:21:23 +09:00
Carsten Haitzler 43c8a4ea7d remove ifdefs for emotion and eio as they always come with efl. 2013-12-28 17:15:34 +09:00
Daniel Juyung Seo f50925d5ad win: Added internal documentation about elm_win_rotation_set and elm_win_rotation_with_resize_set().
This is for efl developers not app developers so it goes to elm_win.c
Without knowing this, it is very tricky to understand the concept of
this api.
2013-12-27 23:15:12 +09:00
Ryuan Choi 6f63fbd639 web: Added elm_web_html_string_load() to load html string as the content
It is usefull to load html string instead of url, especially for testing.
2013-12-27 22:37:49 +09:00
ami afa4398ce2 [elm_object_item] - Added elm_object_item_style_set/elm_object_item_style_get().
Reviewers: seoz, raster

CC: aryarockstar, nirajkr, chinmaya061

Differential Revision: https://phab.enlightenment.org/D373
2013-12-27 20:00:04 +09:00
Mike Blumenkrantz 1bfaa16b35 set e init splash default version to 19 2013-12-26 22:31:24 -05:00
Carsten Haitzler 2490a7359f adatp to new api rename 2013-12-27 12:03:05 +09:00
Carsten Haitzler 99b270868d multibuttonentry - emit edje signal to oedje object not item struct! 2013-12-27 11:46:35 +09:00
Daniel Juyung Seo f88ce364be entry: Added missing smart callback documentation. 2013-12-27 03:06:30 +09:00
Daniel Juyung Seo 0768a16b93 entry: Sort smart callback descriptions in alphabetical order.
It looks like someone was trying to order them in elm_entry.c but missed
elm_entry.h.
2013-12-27 03:06:30 +09:00
Gustavo Lima Chaves 89da5dfc91 Reach mbe item on signal emit hook properly.
Fixes 360bba13c7c1004f7520e5e1ebe341c2e6323d2a mistake.
2013-12-26 16:03:24 -02:00
Gustavo Lima Chaves f6ad9605d6 New Elementary API -- elm_multibuttonentry_format_function_set().
Useful when one does not want the default multi button entry counter
item's format string.
2013-12-26 15:27:39 -02:00
Gustavo Lima Chaves 31f2530bd7 Multi button entry items now support custom parts on elm_object_item_text_[gs]et() calls.
I also removed a crazy "if (!label) return", since no other item text
hook on Elementary does that and I can't find a single reason for that
to be there.
2013-12-26 13:54:57 -02:00
Gustavo Lima Chaves e9f9e9a897 Now multi button entry items will happily listen to_object_item_signal_emit() calls. 2013-12-26 13:45:22 -02:00
Gustavo Lima Chaves 561a6d53a0 Add 'pulse' property to progressbar edje-external object API. 2013-12-26 13:42:24 -02:00
Gustavo Lima Chaves 005986cce7 Give focus capabilities to elm_plug widget. 2013-12-26 13:11:25 -02:00
Ryuan Choi 974f30f558 fileselector: Fixed simple typo 2013-12-26 21:08:41 +09:00
Carsten Haitzler 78f1995828 elm config - move x properties to child window of root. reduces wakeups 2013-12-26 19:02:36 +09:00
Amitesh Singh d2c3a63ec5 clock: Fixed warning messages related to local variable named "pause".
Summary:
Fixed the warning message.

elm_clock.c: In function 'elm_clock_pause_set':
elm_clock.c:1082:49: warning: declaration of 'pause' shadows a global declaration [-Wshadow]
elm_clock.c: In function '_pause_set':
elm_clock.c:1091:14: warning: declaration of 'pause' shadows a global declaration [-Wshadow]

Reviewers: seoz

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D403
2013-12-26 14:27:57 +09:00
Daniel Juyung Seo 43c19a1fd3 win: Added floating mode documentation and added a check for floating parameter.
The documentation is from the original floating mode commit message.
2013-12-26 14:23:29 +09:00
Daniel Juyung Seo e63dd3110a elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +09:00
Dennis Schridde 38f1626773 elm_mapbuf: fix format warning
Reviewers: cedric

Reviewed By: cedric

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-26 10:21:49 +09:00
maxerba fe569b0601 Adding hungarian translation 2013-12-25 23:05:09 +01:00
Daniel Juyung Seo b4c9406e98 test_glview_simple: Do not manipulate glview if gl is not supported. 2013-12-24 01:27:59 +09:00
Daniel Juyung Seo 9e09f74895 test_web.c: removed unused local variable. 2013-12-24 01:20:37 +09:00
Ryuan Choi 7c19dfffbc test_web: removed web-mobile test by adding an option to change useragent
Although useragent is an important feature for mobile, it's not all for mobile.
Instead, added an option to change the useragent among several typical useragents.
2013-12-23 21:25:25 +09:00
Daniel Juyung Seo d559beca4f theme: Check the return value of _elm_theme_group_file_find() and do not
pass NULL to eina_file_filename_get().

eina_file_filename_get() spits unnecessary eina error when the parameter
is null. In this case, we need to check the return of
_elm_theme_group_file_find() and do not call eina_file_filename_get()
	when the return is null. One should check the return of
	elm_theme_group_path_find().
Thank zmike for pointing this out.
2013-12-23 14:50:15 +09:00
Ryuan Choi afe9c97bb2 web: popup for <select> shlould be scrollable if there are many items.
Now, the height of select popup is the minimum value between the half size of window and
the height of items.
2013-12-21 09:54:02 +09:00