Commit Graph

6891 Commits

Author SHA1 Message Date
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 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 f30cc0b7aa comment fallthroughs as intentional 2014-01-10 17:10:43 +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
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
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 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 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
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
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
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
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 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
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 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
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