Commit Graph

10568 Commits

Author SHA1 Message Date
Stefan Schmidt d18c89b77c tests: Ship elm_test_helper.h in dist tarball
This is a first step to run elm make check during distcheck.
2014-08-15 12:03:23 +02:00
Boris Faure 354ab4683e slider: update documentation on elm_slider_step_set/get (since 1.8) 2014-08-15 11:01:52 +02:00
ChunEon Park c81683ba5a entry: fix clearing selection region problem while it's already selected.
if entry has selection, it would be cleared if selection region set is requested again.
because entry cancel the selection area after it reset the selection area.
unfortunately, the selection area is new selection so selection area is gone.

this patch prevent clearing selection and keep the new selection.

@fix
2014-08-15 17:44:13 +09:00
Stefan Schmidt 5f5218a5af README: Cosmetic change to align underline with two digit version number 2014-08-14 11:31:13 +02:00
Daniel Juyung Seo 2331e121aa po/ko: updated Korean translation. 2014-08-14 00:50:59 +09:00
Daniel Juyung Seo 4297f6a620 po: update po due to string changes. 2014-08-14 00:49:13 +09:00
Daniel Juyung Seo 6ddbdfdbd0 doc: removed @ from @since if it needs to be inlined the documentation. 2014-08-14 00:42:43 +09:00
Daniel Juyung Seo 84c5cc64f1 panel: changed wrong term - drawer - in panel.
drawer is not an official terminology in panel.
2014-08-14 00:32:34 +09:00
Daniel Juyung Seo 46c96ef433 radio: added quotes for smart callback name in the documentation. 2014-08-14 00:22:52 +09:00
Savio Sena ac06838b11 autotools: Renamed --disable-c++11 to --disable-cxx-bindings.
The name was misleading.
2014-08-13 11:36:41 -03:00
Savio Sena 791d1dbcaf elm++: Update C++ examples to use the new API. 2014-08-13 11:36:40 -03:00
maxerba afe8588be1 Updating italian translation 2014-08-13 14:17:07 +02:00
Daniel Juyung Seo ad5d950bf1 doc: added @c for eina bool in the documentation. 2014-08-13 19:50:38 +09:00
Daniel Juyung Seo 7ff1882d3f button: fix hoversel and button fixed: 1 1 warning in the same way.
Now both hoversel and button are usable.
This is easiest way to fix the bug. But why it didn't work well even
hoversel inherit button default style?

Revert "button: revert this patch because this patch just broke hoversel."

This reverts commit 3238c8787511aaf69b755760b24f1aa518477d75.
2014-08-13 03:13:18 +09:00
Daniel Juyung Seo 69281aea8b button: revert this patch because this patch just broke hoversel.
hoversel is now usable. let's fix the button warning message with more
considerations.

Revert "button: add fixed 1 1 in case that text is not used."

This reverts commit efd33ddb5ba51dccaee2734e8a7add18801d9285.
2014-08-13 02:03:46 +09:00
Mike Blumenkrantz a73ef53909 force desklock theme min sizing on text
fix T1468
2014-08-11 20:24:14 -04:00
ChunEon Park e61c0f9141 button: add fixed 1 1 in case that text is not used.
If only icon is used in a button, it prints error message regarding fixed 1 1;

This resolved the problem.
2014-08-11 21:52:46 +09:00
ChunEon Park 9dddb7e61e panes: add fixed error message.
Draggable area could be zero size if user set the panes content size
with elm_panes_xxx_size_set().

In this case, it prints fixed messages.

now, it's gone and i tested with various cases for any side effects.
2014-08-11 21:42:03 +09:00
Stefan Schmidt 219c809b87 release: Update NEWS and bump version for 1.11.0-beta2 release 2014-08-11 12:54:59 +02:00
Carsten Haitzler c1a7135369 elm - do not do x11 main/config stuff without DISPLAY set
the engine checks are also broken - but that's a much bigger change,
so this fixes elm config and main code to not do their x11 work if no
DISPLAY env var is set. this is right for a wayland world where you
don't want DISPLAY but WAYLAND_DISPLAY set and used. this fixes
several ERRs that should never have hapapned in this setup.
2014-08-11 08:21:03 +09:00
Carsten Haitzler 6922450ec9 elm win - fix invalid use of elm engine config per window
lots of code unsing ENGINE_COMPARE where it should get the engine from
the ecore_evas directly - it happened to work as we happened to have
apps that have windows only for x11, or wayland etc, but not both in
an app. this was wrong, so remove the engine compare macro and do it
properly. no laziness.
2014-08-11 08:01:45 +09:00
zmike fc26cb04da gengrid once again selects items using keyboard when no item was previously selected
this was yet another thing broken by the mostly-unreviewed and untested widget item focus feature. it's still not completely fixed, since the reorder modes are broken, but at least it works for the general case again

@fix
2014-08-10 14:30:34 -04:00
Davide Andreoli 4052f7521e Genlist: do not segv if the user clear the list on item double-click
@fix
moved the user callbacks call at the end of the function, so the user
is able to modify the list without making the code below the call to
fail miserably.

Also improved the Genlist Del test to also include this case.
2014-08-09 17:53:46 +02:00
Davide Andreoli 922055f9c7 blank line --
Remove an unwanted blank line from my previous commit
2014-08-09 15:59:39 +02:00
Davide Andreoli 3235f96eb1 Gengrid: fix position calculation
@fix
To calc the position in a table you need to make the modulo of the col/row size, not the modulo on the x/y value

This unbreak the elm_gengrid_item_pos_get() function that was reporting wrong values
2014-08-09 15:47:59 +02:00
Davide Andreoli 38de4618ff doc: sync changes made in efl
* show footer with usefull info
* nested lists are more compact
* avoid packed effect on bullet lists
* @since colored and on a single line
2014-08-08 18:10:52 +02:00
Stefan Schmidt 232ca7b67b configure: Use the same default CFLAGS/LDFLAGS as we do for EFL
Especially the -fvisibility=hidden would be needed here for our EAPI handling.
I never realised we miss this here but Lukasz Stanislawski pointed me to it
when we wondered why it linked ofr him with missing EAPI but not for me.

I'v compiling and releasing elm like this for a long time now so I don't
expect any trouble but if something strange comes up we can still revert it
before 1.11 final.
2014-08-08 16:01:45 +02:00
Lukasz Stanislawski 5b0522c8af atspi: remove EAPI from elm_atspi_text_text_attribute_free
Issue reported by Stefan Schmidt. Above atspi function had EAPI attribute
defined in implementation file, however this symbol should not be public in
elementary 1.11.
2014-08-08 11:17:00 +02:00
Carsten Haitzler 2b6ae14af0 elm cnp - remove usless check/code according to CID 1193248 2014-08-08 16:45:28 +09:00
Carsten Haitzler b0d9d4977d elm gengrid - fix CID 1222464
it's possible to have a NULL item in this code - also missing a valid
return at the end (though code path never gets there).
2014-08-08 16:23:10 +09:00
Carsten Haitzler f712ac567b elm entry - fix CID 1194480 in coverity
if sd->append_text_left was still set, free it - in case it was and
idler was not set.
2014-08-08 16:16:42 +09:00
q66 38645b22b1 autotools: install .pc files to the correct directory on FreeBSD 2014-08-07 22:49:09 +01:00
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
Stefan Schmidt c27476de4f shot.sh: Set ELM_DISPLAY to bring the elm shot engine back to life
As a small fallout from e7dbe063c9c044f072bacafd31ab872f6210788b we now
need to set ELM_DISPLAY with our system has something like $DISPLAY or
$WAYLAND_DISPLAY set. Elm uses that now to find out which window system
to use.

In the case of daing make doc we want it forced to shot even if we run
under X. With ELM_DISPLAY we do that. Thanks goes to raster for the
explanantion and git bisect for pinning it down.
2014-08-07 09:23:19 +02: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
Stefan Schmidt 8582b2e149 release: Update NEWS and bump version for 1.11.0-beta1 release 2014-08-04 19:55:11 +02: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
Igor Murzov d8f128d7ea Update russian translation 2014-08-01 13:29:02 +04:00
Stefan Schmidt f08705ec52 release: Update NEWS and bump version for 1.11.0-alpha1 release 2014-08-01 10:53:18 +02:00
Stefan Schmidt 894ebfb476 build: Avoid -shared LDFLAG to allow me to have a working distcheck
The -shared option in LDFLAG somehow is poisoning the configure run inside
distcheck. This results in the compiler test getting a segfault and failing.

I would really like to understand why this is needed to be set here manually
anyway. Same for fPIC and dPIC. I would expect that we leave this to the user
compiling the code or the packager. Skimming through the log only brought up
fixing c++11 globally. Not really a commit message that helps me to
understand why this is needed...
2014-08-01 09:56:29 +02:00
Daniel Juyung Seo 58aa3cd2c0 test.edc: set ellipsis as -1 if text min is 1 X. 2014-08-01 13:13:01 +09: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
Felipe Magno de Almeida 9c8e7e9d33 cxx: Fixed --disable-c++11 option
The use of AM_CONDITIONAL for setting LDFLAGS and CXXFLAGS was wrong
because it ends up setting HAVE_CXX11 unconditionally.
2014-07-23 14:54:03 -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
Carsten Haitzler 274a2c9928 update po's 2014-07-23 11:14:32 +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
Cedric BAIL de68623981 autotools: we actually do want portability warning.
This tell people that are running our autogen they need to use gnu make and
not report issue if they don't.
2014-07-22 12:19:05 +02:00
Savio Sena dbe42313e1 autotools: Fixed C++ build globally.
Previously I removed -fPIC from example LDFLAGS and CXXFLAGS. Now
I'm adding "-fPIC -DPIC" to configure.ac conditioned to HAVE_CXX11.

This commit fixes 'make check'.
2014-07-22 06:56:04 -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
Felipe Magno de Almeida b12f6f55be cxx: Changed C++ example to use lambdas 2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida b546141396 Removed C-style code from C++ example 2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida aea51868e3 Added simple, initial, C++ 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
Mike Blumenkrantz c26287da4c fix notification theme to not clip text
@fix
2014-07-21 14:02:57 -04:00
Lukasz Stanislawski 14d4863446 atspi: always set atspi role for elm_win 2014-07-21 18:37:41 +02:00
Zbigniew Kosinski 18ca7d8eb5 tests: check required interfaces implementation by widgets
Reviewers: stanluk, raster

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D944
2014-07-21 18:23:48 +02:00
Lukasz Stanislawski 7205de042a tests: refactor of atspi test suite
Summary:
elm_test_atspi adjusted to recent internal api changes. Tests regarding elm_win
moved from elm_test_atspi to elm_test_win. Entry tests fixed. Test to
Atspi_Selection interface temporary skipped.

Reviewers: z.kosinski

Reviewed By: z.kosinski

Differential Revision: https://phab.enlightenment.org/D1199
2014-07-21 17:33:56 +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 52ab06e169 elm theme - add blank cursor type in theme 2014-07-21 13:07:18 +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 3e8499942b button.edc: partial apply for the newly adopted sexy edc structure. 2014-07-20 06:01:30 +09:00
Daniel Juyung Seo e9bcb8f2a5 gitignore: do not track generated files. 2014-07-20 05:22:36 +09:00
Daniel Juyung Seo e01e7683e6 examples: Call window object show after its content creation.
Window show call triggers all smart objects' smart calculation
and in case of X11, XMapWindow() is called directly.
Also moved resize of window accordingly.
2014-07-20 05:21:08 +09:00
Daniel Juyung Seo 2782c35fbc example/evas3d: set the window name as other example codes.
__WIN__ is too distinguishable.
2014-07-20 05:08:41 +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
Daniel Juyung Seo fb09956f86 test_toolbar: clean up clicked callback usage.
- Removed unselected handling routine. As this is clicked callback,
 there will be no unselected status for the clicked item in clicked
 callback.
- Removed check for event_info. In the clicked callback, event_info
 should be always valid.
- Changed internal variable name for the more item.
2014-07-20 01:52:48 +09:00
Daniel Juyung Seo 76d8d7d277 elm: use @p for parameters in doxygen. 2014-07-20 01:50:06 +09:00
Daniel Juyung Seo fbf2c58127 toolbar: added selected and unselected smartcallbacks to toolbar.
- Item based widget should emit this signal. This is good for the
consistency and makes application developers easy to guess.
- Added test case to elementary_test -> toolbar

@feature
2014-07-20 01:46:35 +09:00
Daniel Juyung Seo 3b83fc3b93 toolbar: changed internal variable name sanely.
Do not need to use 'obj2' as an object variable name as we can use 'obj'
as usual.
2014-07-20 01:20:10 +09:00
Daniel Juyung Seo 2bfacb3942 list: fixed wrong indentation. 2014-07-20 00:59:23 +09:00
Daniel Juyung Seo bf13cdc72e test_toolbar: removed unnecessary EINA_UNUSED.
event_info is used.
2014-07-20 00:58:59 +09:00
Daniel Kolesa f1aba06a0a update according to latest eolian changes 2014-07-18 17:30:06 +01:00
Jaeun Choi e8d9356cb9 notify: removed unnecessary lines 2014-07-18 19:36:39 +09:00
Jaeun Choi 6ce0f6b4b2 list: call "selected" callback after set focus to the selected item
in current code, when a list item is selected, "selected" callback is called first
and then focus is set to the item. this is a problem if another widget, popup for instance,
is created on top of the list in the callback function. in such a case, the popup should
get focused (not the list item). this patch fixes it by changing the order.

@fix
2014-07-18 19:34:13 +09:00
Stefan Schmidt be06709712 popup: Remove unused variable.
int_ret was never used here. Looks like a copy and paste error.
2014-07-18 12:07:29 +02:00
Zbigniew Kosinski 9c3547f270 atspi: Orca is able to read slider value changes
Reviewers: stanluk

Differential Revision: https://phab.enlightenment.org/D1012
2014-07-18 11:47:48 +02:00
Chris Michael 1db0e58c31 elementary: Don't segfault if we are not using an X11-compatible engine
When running Enlightenment under Wayland only, during init of E we
make a call to elm_config_all_flush. elm_config_all_flush is making
calls to ecore_x_window function(s) (for setting of elm_profile),
However this causes a crash if the ELM_ENGINE is not one that is
running under X11 (ie: ELM_ENGINE=drm or wayland_*). So to fix this
crash, we will compare the current ELM_ENGINE and see if it is
X11-compatible before making unnecessary (and crashing) calls to
ecore_x_window functions.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-17 12:54:13 -04:00
Ryuan Choi 057d5456c6 tests: Pass the interval to elm_test_helper_wait_flag for the caller to change
Like JackDanielZ suggested.
2014-07-17 22:36:31 +09:00
Daniel Juyung Seo 568a47c19d mailmap: added Wonguk Jeong's information. 2014-07-17 22:12:07 +09:00
Ryuan Choi 4938a7c246 tests: Add elm_test_helper_wait_flag to avoid infinite loop
Test of elm_fileselector_selected and future tests may have conditional loop
which some flag.
This patch adds elm_test_helper_wait_flag, simple wrapper of the loop with timer
in order to exit the loop when expected callbacks are not called.
2014-07-16 23:31:58 +09:00
Jaeun Choi f7c43bff97 popup: code refactoring
Popup has an abnormal parent-child tree as follows, and this patch fixes it.

 - when popup is created, it creates a notify as a child and the tree is [parent - popup - notify].
 - when popup is visible, it is set as a content of notify and the tree is [parent - notify - popup].
 - when popup is hidden, the tree is reverted.

To fix this, I made an internal layout and set it as the content of notify
so that the tree remains as [parent - popup - notify - layout] all the time.
2014-07-16 22:45:29 +09:00
Daniel Kolesa a2849edf1d sync mailmap 2014-07-16 12:50:11 +01:00
Daniel Juyung Seo 6dd25fe3be mailmap: updated Tae-hwan Kim's mailmap again and keep in sync with efl/enlightenment's mailmaps.
Special thanks to Stefan for the advice.
2014-07-16 20:39:03 +09:00
Daniel Juyung Seo 1c3d895381 mailmap: updated Taehwan Kim's mailmap. 2014-07-16 19:58:00 +09:00
ChunEon Park cf4f298d5a transit - fix to adopt the tween_mode factor.
ACCELERATE, DECELLERATE, SINUSOIDAL modes didn't work with the tween mode factor before.
now it works.

@fix
2014-07-16 11:20:52 +09:00
Jaehyun Cho 72ab60a50b elementary examples: Add an elm_map example using evas3d
Summary: Add an elm_map example using evas3d. elm_map is shown in 3D or 2D.

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1120
2014-07-16 11:00:52 +09:00
Daniel Kolesa ef221e45b2 update according to eolian syntax changes 2014-07-15 23:53:18 +01:00
Ryuan Choi 2e431dd299 Fix build break while building with --with-tests=regular
_elm_atspi_init and _elm_atspi_root_get was removed at 99a32ea4b
2014-07-16 07:19:25 +09:00
Tom Hacohen a4c9a3e20e Tests atspi: fix undefined reference.
Thanks to Ryuan Choi for reporting.
This was changed due to eolian changes.
2014-07-15 22:51:08 +01:00
Lukasz Stanislawski 3ce591c142 atspi: expose elc_naviframe "top_item_get" action through d-bus 2014-07-15 16:45:55 +02:00
Lukasz Stanislawski f9ad7f921a atspi: expose elm_image "activate" action through d-bus 2014-07-15 16:45:55 +02:00
Carsten Haitzler b32349d5d6 adjust to dbus interace struct.. back to where it was 2014-07-15 17:19:06 +09:00
ChunEon Park 0f6bb7fac2 genlist - fix a crash.
It allows NULL focused item.
let it null check.
2014-07-15 12:31:07 +09:00
Shobhit f4fea0abca genlist: Removed unnecessary calculation.
Summary: Removed unnecessary calculation from _elm_genlist_elm_widget_focus_highlight_geometry_get()

Test Plan: elementary_test -to "genlist focus"

Reviewers: seoz, Hermet

Reviewed By: Hermet

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1145
2014-07-15 12:15:53 +09:00
Amitesh Singh 6de233cfdb widget item: replaced eo_class_name_get call with eo_isa.
Reviewers: seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1170
2014-07-15 12:11:51 +09:00
wonguk.jeong 2b062fe557 list: remove annoying error msg on select
Summary:
on select below message was shown,

ERR<19329>: elm_main.c:1556 elm_object_widget_check() safety check failed: obj == NULL

Test Plan:
1. terminology -> options -> keys -> select item -> check error message
2. elementary_test -> list2 -> select topmost item -> check error message

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1185
2014-07-15 12:10:04 +09:00
wonguk.jeong de7dc33904 genlist: remove annoying error message
Summary:
content couldn't be always a elm widget.
After checking whether it's elm widget or not, use widget API

Test Plan:
terminology -> options -> font -> select font and check below error message

ERR<25935>:eo lib/eo/eo.c:603 _eo_call_resolve() in elm_widget.eo.c:8: you called func 'elm_obj_widget_focus_get' (213) which is unknown in class 'Edje_Object'.

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1186
2014-07-15 12:07:10 +09:00
Daniel Juyung Seo b0b527ab22 elm_win: added focused and unfocused smart callback descriptions.
This was removed by a commit 8519257.
The removal of redundant smart callback call was good but we need to
have these descriptions still.
2014-07-15 02:06:26 +09:00
Daniel Juyung Seo e36e9cf012 test_win_state: changed internal callback function name and splitted a focus callback for a better focus debug. 2014-07-15 01:05:47 +09:00
Daniel Juyung Seo b8eb31335d elm_config: updated color class api documentation. 2014-07-15 01:05:47 +09:00
Daniel Kolesa dbd2d0f893 update according to eolian changes 2014-07-14 16:54:20 +01:00