Commit Graph

9226 Commits

Author SHA1 Message Date
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