Commit Graph

7816 Commits

Author SHA1 Message Date
Stefan Schmidt edd78dc90f gengrid: Fix since version for new elm_gengrid_reorder_type_set()
Looks like it was developed in the 1.10 timeframe but only made it into the
repo after the 1.10 release. Will be part of 1.11 so adjust it.
2014-08-07 16:48:47 +02:00
zmike 6acccd1dff photocam should reset its preload when a new file is loaded
this prevents infinite busy animations

@fix
2014-08-07 10:36:20 -04:00
Gwanglim Lee b79405e8d7 win: Don't call ecore_x_screensaver APIs if elm win doesn't have X11 window
Summary:
Elementary application crashes on startup when it is running with
wayland engine. This crash problem happens while ecore_x_screensaver API
is being called from _win_noblank_eval funcion. Thus we should not call
ecore_x_screensaver APIs if elm win doesn't have X11 window.

Test Plan:
1. build efl and elementary to support x11 and also wayland
1. run weston without xwayland
2. run elementary_test on the weston

Reviewers: raster, seoz, stefan_schmidt, devilhorns

Differential Revision: https://phab.enlightenment.org/D1293
2014-08-07 10:19:24 -04:00
Chris Michael ba10e7261a elementary: Handle case where ELM_ENGINE environment variable is
misspelled.

In case someone exports the ELM_ENGINE to be wayland-shm or
wayland-egl, let's handle That case also. Typically it is set to
wayland_shm or wayland_egl but since we check variants of spelling for
other engines also, then let's check it for the wayland engines too.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-07 10:10:45 -04:00
Carsten Haitzler a32410f0e1 elm win - only auto choose x11/wl based on envvar if ELM_ENGINE unset 2014-08-07 16:21:30 +09:00
Carsten Haitzler 4864bce07b elm config - fix leak on shutdown of config struct memmebers 2014-08-07 15:30:43 +09:00
Carsten Haitzler 8e894e9193 elm - fix data leak if config version bad in property. 2014-08-07 13:56:03 +09:00
Chinmaya 7dbc9f48b6 Genlist: Fixed indentation.
Summary: Fixed indentation.

Test Plan: -NA-

Reviewers: seoz, raster

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1269
2014-08-06 13:58:52 +09:00
Anand c464abf99b genlist: removed unnecessary EINA_UNUSED macro
Reviewers: singh.amitesh, nirajkr, seoz

Reviewed By: seoz

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1270
2014-08-06 13:56:07 +09:00
Daniel Juyung Seo 95b7382d20 win: initialize the internal variable. fixed uninitialized pointer read.
This fixes coverity CID 1230297.
2014-08-06 09:01:26 +09:00
Carsten Haitzler f54afe89cc elm - add apis to deal with accel perference
this deals with an issue brought up today on irc - seemingly rage
asking for accel is causing segvs in vbox with its gl accel subsystem
- the only way to disable this is an env var, and this is unfriendly,
so make config gui and stuff to mess with accel preference to fix this.
2014-08-06 00:04:11 +09:00
Mykyta Biliavskyi 36ac3603d7 ctxpopup: Fix wrong popup size.
Summary:
In case, when ctxpopup content have larger size than parent object, (by height, width or both) was resized popup at the full width or height of parent object size.
@fix

Reviewers: raster, seoz, cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1266
2014-08-04 19:47:18 +09:00
Mykyta Biliavskyi 8b84bede4f ctxpopup: fix arrow geometry set.
Summary: edje_object_part_geometry_get - always returns 0, 0 geometry of arrow. On taking geometry directly from part - get real values. @fix

Reviewers: Hermet, cedric, seoz

Subscribers: Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-08-04 11:27:31 +02:00
Daniel Juyung Seo b89b4d5866 fileselector: renamed internal variable to reduce confusion.
This fixes coverity CID 1229550.
2014-08-03 23:56:43 +09:00
Davide Andreoli 0aae7d2b4e Gengrid: fix search_by_text_item_get() text_get call
The text_get function was called with the wrong params, now its usage is consistent with the rest of the code.
2014-08-01 17:28:24 +02:00
Davide Andreoli 139a1ddb08 Genlist: fix search_by_text_item_get() text_get call
The text_get function was called with the wrong params, now its usage is consistent with the rest of the code.
2014-08-01 16:29:16 +02:00
Daniel Juyung Seo 75b3a73af9 naviframe: set EINA_UNUSED for the unused variable. 2014-08-01 13:10:34 +09:00
Daniel Kolesa 44f45204db move the cleanfiles away from if to make it work without C++11 2014-07-31 15:29:46 +01:00
Daniel Kolesa 54065246d6 fix distcheck by adding generated .eo.hh to cleanfiles 2014-07-31 15:27:49 +01:00
Jaehyun Cho 158134c6d9 elc_naviframe: Fix warning caused by elm_obj_layout_signal_emit override function in naviframe
Summary: Fix the elm_obj_layout_signal_emit override function in naviframe to prevent warning

Reviewers: seoz, Hermet

Reviewed By: Hermet

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

@fix
2014-07-31 22:06:27 +09:00
Jaehyun Cho 9cf340ba0d elc_naviframe: Fix access info set for naviframe prev_btn and next_btn.
Summary: Do not set access info for naviframe prev_btn and next_btn when their access info are already set.

Reviewers: Hermet, kimcinoo

Reviewed By: kimcinoo

Differential Revision: https://phab.enlightenment.org/D1255
2014-07-31 21:57:45 +09:00
Sanjeev BA fad579d6d7 Fix typos in docs.
Summary: Signed-off-by: Sanjeev BA <as2902.b@samsung.com>

Reviewers: tasn

Subscribers: tasn

Differential Revision: https://phab.enlightenment.org/D1251
2014-07-30 02:54:27 +01:00
Lukasz Stanislawski 09b9ef0bc0 atspi: expose more actions through atspi bus.
Summary:
Main purpose of exposing widget actions and keyboard shortcuts
is to allow accessibility clients to implement alternative methods
of GUI navigation.

Reviewers: z.kosinski

Reviewed By: z.kosinski

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1227
2014-07-25 11:58:16 +02:00
Zbigniew Kosinski d22bf48eb8 atspi: value interface implementation for elm_spinner
Reviewers: stanluk

Differential Revision: https://phab.enlightenment.org/D1122
2014-07-25 10:13:15 +02:00
Cedric BAIL 7ee0b1c86a elementary: remove duplicated include. 2014-07-25 08:40:04 +02:00
Chris Michael bd94e8c0b7 elementary: Fix segfault when running elm apps under wayland
Don't call ecore_x functions unless we are running under an
X11-compatible engine, else we get segfaults in elm_apps.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-24 14:09:06 -04:00
Carsten Haitzler e741a19b21 fix genlist/grid search item patch to be simpler and just better
better - why?

1. no reliance on fnmatrch headers - have special enums for this so
fnmatch is an internal detail (casefole may not exist)
2. don't leak strduped strings - free them when done
3. have the same code for genlist and grid (dup for now until an
interface makes it the same search interface)
4. improve docs
5. get right @since version
6. use label get func in item class - providing a func won't work when
multiple items of multiple classes exist in the list
2014-07-24 12:41:33 +09:00
Felipe Magno de Almeida e455a0f640 Fix C++ box_cxx_example_02.cc and removed text_part_{set/get} from elm_button
As discussed in IRC, the commit that added text_part_set,
text_part_get functions to elm_button are wrong. The correct functions
to be used are from elm_layout: text_set and text_get.

Fixed the example to use these functions that are inherited on
elm_button from elm_layout and fixed the cleanup of childrens
in the parent window by using the del event callback.
2014-07-23 16:51:01 -03:00
Jyotiprakash Sahoo d9f14f194b gengrid: Add function to search item by string.
Summary: This function allows user to search for item in Gengrid.

Test Plan: elementary_test -to "Gengrid Item Search By Text"

Reviewers: seoz, singh.amitesh, Hermet, raster

Differential Revision: https://phab.enlightenment.org/D1178
2014-07-23 11:35:20 +09:00
Daniel Kolesa 642049022a update according to eolian changes 2014-07-22 17:13:52 +01:00
Daniel Kolesa 421db0d542 update according to EFL 2014-07-22 16:36:29 +01:00
Daniel Zaoui 63168c996f Elm_Map: port API to eo file.
This function has to be described in elm_map.eo so Eolian can
generate the legacy and Eo APIs.
2014-07-22 13:59:41 +03:00
Anand 8b6ac56dc3 genlist: Focus highlight when loop is enable
Summary:
This patch is dependent on D1193 and D1136.
It will be pushed after D1193 and D1136 patch.

Reviewers: singh.amitesh

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

Conflicts:
	src/lib/elm_genlist.c
2014-07-22 15:57:32 +09:00
Carsten Haitzler 37652828e3 add ignore for generated .hh eo files 2014-07-22 15:54:44 +09:00
Hosang Kim 105ee3660d genlist : Add item looping on flag.
Summary: When item looping feature is on and press up or down key, screen seems to be frozen.

Test Plan: elementary_test -to "genlist focus" -> click item looing enable -> move list up and down

Reviewers: anand.km, seoz, woohyun

Subscribers: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D1193
2014-07-22 15:11:18 +09:00
Tae-Hwan Kim 00f6438bad map: Add missing legacy API into legacy header
Summary: @fix

Reviewers: raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D1164
2014-07-22 14:36:44 +09:00
Savio Sena 3542247e89 autotools: Fixed errors and warnings.
Removed portability warnings from Automake.
Removed *.eo.hh from BUILT_SOURCES.
Fixed some redeclaration of variables.
Added datarootdir and datadir to elementary.pc.in.
2014-07-21 21:00:31 -03:00
Savio Sena 1909a728fd atspi: Fixes order of typedefs
(8ef9f49 continued...)
2014-07-21 20:59:38 -03:00
Felipe Magno de Almeida 123040ea48 cxx: refreshed example 2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida 01c822a360 Added part_text_get/part_text_set and text_get/text_set to elm_button
Added part_text_get/part_text_set and text_get/text_set to elm_button
to eolianized API.
2014-07-21 20:53:12 -03:00
Savio Sena 561ae48822 autotools: Add eolian-cxx to elementary.
Conflicts:
	src/lib/Makefile.am
2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida b0e9d30a9e Fixes order of typedefs
C++ compilers refuse to compile typedefs for types not declared yet.

The typedefs in the elm_interface_atspi_accessible.h were out of order
with the definition (and consequently its declaration) of its struct.

This fixes by modifying the order of the typedefs to be after the
struct definition.
2014-07-21 20:53:12 -03:00
Lukasz Stanislawski 14d4863446 atspi: always set atspi role for elm_win 2014-07-21 18:37:41 +02:00
Lukasz Stanislawski 6ba1627f8e atspi: fix mem leak in attributes free function 2014-07-21 15:44:16 +02:00
Amitesh Singh 92f928dd4d gengrid: corrected the reorder start and end evas smart callback call.
Summary: @fix

Reviewers: seoz, raster

Reviewed By: raster

Subscribers: raster, seoz

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

Conflicts:
	src/lib/elm_gengrid.c
2014-07-21 19:14:40 +09:00
Amitesh Singh d6f308d1d6 focus: Added internal widget APIs of focus highlight object of elm window.
Summary: This is required to support the animation of focus highlight object in case of item looping (genlist/gengrid/list).

Reviewers: seoz, woohyun, raster

Reviewed By: raster

Subscribers: anand.km, seoz

Differential Revision: https://phab.enlightenment.org/D1136
2014-07-21 19:04:27 +09:00
Anil Kumar Nahak 76e3372531 Focus: first item should be focused when there is no focused/selected item
Summary: First item of widget should be focused when focus comes to the widget for first time.

Test Plan:
elementary_test -to "Genlist Focus"
elementary_test -to "Gengrid Focus"
elementary_test -to "List Focus"
elementary_test -to "toolbar Focus"

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D1135
2014-07-21 18:55:55 +09:00
Carsten Haitzler 057611a7e4 elm win noblank property added - to disable screen blanking/saving
@feature

this adds a per-window property of "noblank". this implies turning
offf the screensaver whenever there is a window visible with this
property set on it. only x11 support atm.
2014-07-21 11:39:32 +09:00
Carsten Haitzler 138ab6509d dbus warn-- 2014-07-20 12:21:54 +09:00
Daniel Juyung Seo 8d74e140c4 systray: fixed wrong struct initializer.
This fixes the following build warning.

elm_systray.c:294:1: warning: excess elements in struct initializer
[enabled by default]
elm_systray.c:294:1: warning: (near initialization for '_iface_desc')
[enabled by default]
2014-07-20 01:59:31 +09:00