Commit Graph

9193 Commits

Author SHA1 Message Date
Daniel Juyung Seo 5a4ca7008f widget: added warnings to internal headers.
These headers are installed in the system but not officially supported
as they are considered as internal headers.
The reason why they still need to be installed is that
   - they were exposed even in the previous releases.
   - they are needed for widget customization (unofficially)
   - or it will break ewe.

Special thanks to Stefan for the reporting.
2014-08-08 01:29:39 +09:00
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
Stefan Schmidt 572538e490 build: Make sure we don't redefine SCREENSHOTS but append to it
In 540741dd48d0720876a5e68b2aa4aa7a9d79b8a3 one screenshot was
moved into HAVE_CXX_11 guards to allow building with cxx11 disabled.

But in the case of cxx11 enabled we want all screenshots plus this
one so append here instead of redefine.
2014-08-06 10:59:49 +02: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 3b9ecf8c80 elm config - expose vsync config so people can turn it on
just modifies config tool so vsync can go on as it should given efl
vsync work etc.
2014-08-06 00:08:44 +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 d9e6ad9ca1 gitignore: ignore a generated file. 2014-08-04 01:27:19 +09: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
Felipe Magno de Almeida eb82d1b30c Fixed trying compiling C++ examples with --disable-c++11
The Makefile.am in examples weren't conditioning the compilation of
C++ examples when C++ is disabled in configuration of elementary.
Which made the compilation to fail when --disable-c++11 is
used (in EFL or elementary) on C++ examples.
2014-07-30 08:43:48 +09:00
Felipe Magno de Almeida fae1461336 Fixed C++ box_cxx_example_02.cc example compilation
The example didn't include "elm_interface_atspi_widget_action.h" and
so failed on headers that used the type Elm_Atspi_Action in the
function's prototypes.
2014-07-29 00:28:10 -03: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
Ryuan Choi 39cde4d628 test_sys_notify: Refactoring to solve weird behavior when tested with more then two instances
- _ev_handler can't know whether elm_win still exists, so changed log style from notify to printf.
  In addition, release the callbacks when elm_win is destroyed.
- use elm_sys_notify_send instead of elm_sys_notify_simple_send to show more functionality.
- remove static variables not to print warnings when with more than two test_sys_notify pannel.
2014-07-23 11:01:41 +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
Savio Sena fc4ef12519 autotools: Fixed 'make check' for elm++ example.
Shouldn't pass -fPIC explicitly. Autoconf should be able to determine that.
2014-07-22 04:43:44 -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
Jihoon Kim ad04665d21 tests: fix shadow variable build warning
elm_test_clock.c:15:23: warning: declaration of ‘clock’ shadows a global declaration [-Wshadow]
elm_test_index.c:15:23: warning: declaration of ‘index’ shadows a global declaration [-Wshadow]
2014-07-22 11:06:33 +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
Savio Sena f83aad7bfa elementary++: Added missing includes.
This fixes 'make check'.
2014-07-21 20:58:28 -03:00
Felipe Magno de Almeida c65ecb4445 c++: Added workaround for correct unref times
The legacy functions do unref after construction of the object. Which
doesn't happen on the eo_add calls directly. So it is needed to do
two unref's before letting the parent own the child.
2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida 123040ea48 cxx: refreshed example 2014-07-21 20:53:12 -03:00