test/generic/wayland-fits.git
11 years agoweston-wfits: 1.2 SDK changed data structures
U. Artie Eoff [Tue, 7 May 2013 19:51:27 +0000 (12:51 -0700)]
weston-wfits: 1.2 SDK changed data structures

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agostart a README
U. Artie Eoff [Tue, 7 May 2013 19:49:37 +0000 (12:49 -0700)]
start a README

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agogtk: no sources yet.
U. Artie Eoff [Mon, 6 May 2013 20:49:43 +0000 (13:49 -0700)]
gtk: no sources yet.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix BubbleUserClickTest for async shm
U. Artie Eoff [Fri, 3 May 2013 15:42:35 +0000 (08:42 -0700)]
efl: fix BubbleUserClickTest for async shm

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix CheckUserStateTest for async shm
U. Artie Eoff [Fri, 3 May 2013 15:39:03 +0000 (08:39 -0700)]
efl: fix CheckUserStateTest for async shm

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix BackgroundImageTest
U. Artie Eoff [Fri, 3 May 2013 15:32:58 +0000 (08:32 -0700)]
efl: fix BackgroundImageTest

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: move setup/teardown before/after elm_main, respectively
U. Artie Eoff [Fri, 3 May 2013 15:16:26 +0000 (08:16 -0700)]
efl: move setup/teardown before/after elm_main, respectively

The test harness setup() and teardown() should be done outside the
main loop.  Fixed some tests that depended on extra idle/yield
cycles provided by the previous setup/teardown logic.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agowfits: LDADD the .la files
U. Artie Eoff [Thu, 2 May 2013 23:27:55 +0000 (16:27 -0700)]
wfits: LDADD the .la files

LDADD the .la files along with the LDFLAGS whole-archive technique.
This ensures that wfits gets relinked when the archives are
changed/recompiled.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: include Ecore.h before Ecore_Wayland.h
U. Artie Eoff [Thu, 2 May 2013 22:30:47 +0000 (15:30 -0700)]
efl: include Ecore.h before Ecore_Wayland.h

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoMake toolkit tests convenience libs
U. Artie Eoff [Thu, 2 May 2013 21:24:35 +0000 (14:24 -0700)]
Make toolkit tests convenience libs

Don't install any locally generated convenience libs.  Statically
link the entire locally generated convenience libs (--whole-archive)
into the final wfits executable. Continue to dynamically link external
dependencies, of course.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: use client instead of wayland-fits
U. Artie Eoff [Thu, 2 May 2013 20:54:48 +0000 (13:54 -0700)]
efl: use client instead of wayland-fits

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agotest/tools: add return statement to non-void function
U. Artie Eoff [Thu, 2 May 2013 16:31:47 +0000 (09:31 -0700)]
test/tools: add return statement to non-void function

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoadd client wfits helper
U. Artie Eoff [Thu, 2 May 2013 01:57:59 +0000 (18:57 -0700)]
add client wfits helper

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agomove core,efl,gtk+ directories to test
U. Artie Eoff [Thu, 2 May 2013 01:35:54 +0000 (18:35 -0700)]
move core,efl,gtk+ directories to test

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agomove test related files out of common
U. Artie Eoff [Thu, 2 May 2013 01:07:33 +0000 (18:07 -0700)]
move test related files out of common

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: wait for first render in actionslider test
U. Artie Eoff [Wed, 1 May 2013 23:41:17 +0000 (16:41 -0700)]
efl: wait for first render in actionslider test

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoadd gtk+ config stubs
U. Artie Eoff [Wed, 1 May 2013 15:46:50 +0000 (08:46 -0700)]
add gtk+ config stubs

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: verbose button mouse in/out test
U. Artie Eoff [Wed, 1 May 2013 14:24:37 +0000 (07:24 -0700)]
efl: verbose button mouse in/out test

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agotest_notify: Refactor NotifyUserClickTest
blovin [Tue, 30 Apr 2013 22:26:16 +0000 (15:26 -0700)]
test_notify: Refactor NotifyUserClickTest

Signed-off-by: blovin <brian.j.lovin@intel.com>
11 years agoutil: stream operators for Geometry and Position
U. Artie Eoff [Tue, 30 Apr 2013 21:28:28 +0000 (14:28 -0700)]
util: stream operators for Geometry and Position

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agomake header ifdef's consistent
U. Artie Eoff [Mon, 29 Apr 2013 21:14:40 +0000 (14:14 -0700)]
make header ifdef's consistent

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoadd COPYING and copyright to source files
U. Artie Eoff [Mon, 29 Apr 2013 21:08:27 +0000 (14:08 -0700)]
add COPYING and copyright to source files

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix List User tests for Shm
U. Artie Eoff [Sat, 27 Apr 2013 01:27:54 +0000 (18:27 -0700)]
efl: fix List User tests for Shm

EFL 8235272ec053eb4bfcb040d7c9c20b61c55ffb61 enabled async
shm rendering.  Thus, we need to wait for first post render
event before expecting that a window's surface has been mapped
on server-side.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix and refactor button user tests
U. Artie Eoff [Sat, 27 Apr 2013 01:12:27 +0000 (18:12 -0700)]
efl: fix and refactor button user tests

EFL 8235272ec053eb4bfcb040d7c9c20b61c55ffb61 enabled async
shm rendering.  Thus, we need to wait for first post render
event before expecting that a window's surface has been mapped
on server-side.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix and simplify ShmWindowResizeTest
U. Artie Eoff [Sat, 27 Apr 2013 01:08:33 +0000 (18:08 -0700)]
efl: fix and simplify ShmWindowResizeTest

EFL 8235272ec053eb4bfcb040d7c9c20b61c55ffb61 enabled async
shm rendering.  Thus, we need to wait for first post render
event before expecting that a window's surface has been mapped
on server-side.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix and simplify ShmWindowMaximizeTest
U. Artie Eoff [Sat, 27 Apr 2013 00:50:12 +0000 (17:50 -0700)]
efl: fix and simplify ShmWindowMaximizeTest

EFL 8235272ec053eb4bfcb040d7c9c20b61c55ffb61 enabled async
shm rendering.  Thus, we need to wait for first post render
event before expecting that a window's surface has been mapped
on server-side.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix and simplify ShmWindowFullscreenTest
U. Artie Eoff [Sat, 27 Apr 2013 00:01:02 +0000 (17:01 -0700)]
efl: fix and simplify ShmWindowFullscreenTest

EFL 8235272ec053eb4bfcb040d7c9c20b61c55ffb61 enabled async
shm rendering.  Thus, we need to wait for first post render
event before expecting that a window's surface has been mapped
on server-side.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix ShmWindowOutputTest
U. Artie Eoff [Fri, 26 Apr 2013 23:54:04 +0000 (16:54 -0700)]
efl: fix ShmWindowOutputTest

EFL 8235272ec053eb4bfcb040d7c9c20b61c55ffb61 enabled async
shm rendering.  Thus, we need to wait for first post render
event before expecting that a window's surface has been mapped
on server-side.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: add YIELD_UNTIL helper macro
U. Artie Eoff [Fri, 26 Apr 2013 23:50:25 +0000 (16:50 -0700)]
efl: add YIELD_UNTIL helper macro

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agotest_notify: Refactor
Brian Lovin [Wed, 24 Apr 2013 20:54:23 +0000 (13:54 -0700)]
test_notify: Refactor

No longer test that callbacks do not happen, rather test
that an item in the notifier can be interacted with.

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agotest_notify: Added user click and callback test.
Brian Lovin [Wed, 24 Apr 2013 17:50:25 +0000 (10:50 -0700)]
test_notify: Added user click and callback test.

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agotest_check: Slight refactor
Brian Lovin [Wed, 24 Apr 2013 17:07:52 +0000 (10:07 -0700)]
test_check: Slight refactor

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agotest_check: Added user interaction test.
Brian Lovin [Mon, 22 Apr 2013 21:05:40 +0000 (14:05 -0700)]
test_check: Added user interaction test.

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agotest_list: Fix mouse scroll test on default profile.
Brian Lovin [Tue, 16 Apr 2013 23:49:08 +0000 (16:49 -0700)]
test_list: Fix mouse scroll test on default profile.

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agotest_bubble: Fixed printing incorrect callback during check for click.
Brian Lovin [Tue, 16 Apr 2013 23:25:44 +0000 (16:25 -0700)]
test_bubble: Fixed printing incorrect callback during check for click.

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agotest_bubble: Fixed not checking for clicked event in user test.
Brian Lovin [Tue, 16 Apr 2013 23:24:25 +0000 (16:24 -0700)]
test_bubble: Fixed not checking for clicked event in user test.

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agotest_list: Refactor scroll tests to work with any profile.
Brian Lovin [Tue, 16 Apr 2013 22:41:30 +0000 (15:41 -0700)]
test_list: Refactor scroll tests to work with any profile.

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agotest_bubble: Added user click test
Brian Lovin [Tue, 16 Apr 2013 16:14:19 +0000 (09:14 -0700)]
test_bubble: Added user click test

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agoefl test_list: cleanup code and minor refactoring.
U. Artie Eoff [Fri, 12 Apr 2013 23:28:57 +0000 (16:28 -0700)]
efl test_list: cleanup code and minor refactoring.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: set/expect pointer with Position objects
U. Artie Eoff [Fri, 12 Apr 2013 22:28:23 +0000 (15:28 -0700)]
efl: set/expect pointer with Position objects

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoweston-wfits: fix memory leak
U. Artie Eoff [Fri, 12 Apr 2013 22:09:01 +0000 (15:09 -0700)]
weston-wfits: fix memory leak

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoweston-wfits: additional workaround for Weston SDK 1.0.x
U. Artie Eoff [Fri, 12 Apr 2013 21:43:30 +0000 (14:43 -0700)]
weston-wfits: additional workaround for Weston SDK 1.0.x

This is a follow-up to 5b1efd6c34d1421f68847473d4cbb2551a1edcf4
...need to wrap the <weston/compositor.h> include file with
extern C {...} to fix runtime library undefined symbols.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoweston-wfits: workaround a Weston SDK 1.0.x bug
U. Artie Eoff [Fri, 12 Apr 2013 19:52:40 +0000 (12:52 -0700)]
weston-wfits: workaround a Weston SDK 1.0.x bug

https://bugs.freedesktop.org/show_bug.cgi?id=63485

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agomove boost foreach into common/util.h
U. Artie Eoff [Fri, 12 Apr 2013 19:50:01 +0000 (12:50 -0700)]
move boost foreach into common/util.h

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoweston-wfits: track active keys and deactivate on client disconnect
U. Artie Eoff [Fri, 12 Apr 2013 17:32:01 +0000 (10:32 -0700)]
weston-wfits: track active keys and deactivate on client disconnect

Test clients might disconnect before deactivating any keys that it
has activated and affect other tests that run after it.  For
instance, sending a pointer button down and then exiting causes
the mouse to be stuck in a down state in the compositor.

This patch adds functionality to the weston-wfits test extension to
track active keys and deactivates any keys that are still active
when a client disconnnects from the compositor.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoanother key_press -> key_send rename
U. Artie Eoff [Fri, 12 Apr 2013 15:21:53 +0000 (08:21 -0700)]
another key_press -> key_send rename

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoconvert weston-wfits.c to weston-wfits.cpp
U. Artie Eoff [Fri, 12 Apr 2013 15:15:36 +0000 (08:15 -0700)]
convert weston-wfits.c to weston-wfits.cpp

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agowayland-fits: Changed key_send to key_press
Brian Lovin [Thu, 11 Apr 2013 22:48:31 +0000 (15:48 -0700)]
wayland-fits: Changed key_send to key_press
elmtestharness: Changed pointerKeyPress to inputKeySend
test_surface: Updated for input_key_send
actionslider: Updated for inputKeySend
test_button: Updated for inputKeySend
test_list: Refactored tests and updated for inputKeySend

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agoweston-wfits: sync uinput pointer x,y with compositor during init
U. Artie Eoff [Wed, 10 Apr 2013 19:17:56 +0000 (12:17 -0700)]
weston-wfits: sync uinput pointer x,y with compositor during init

This hopefully will fix a problem where the uinput device is
initialized at 0,0 and weston at !0,0 and a test requesting
a move to 0,0 but fails since uinput seems to ignore sending
pointer events if x,y is the same as what it currently is.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoweston-wfits: rename uinput pointer device- now supports kbd
U. Artie Eoff [Wed, 10 Apr 2013 18:52:46 +0000 (11:52 -0700)]
weston-wfits: rename uinput pointer device- now supports kbd

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoconfigure: relax pixman req version
U. Artie Eoff [Wed, 10 Apr 2013 13:46:24 +0000 (06:46 -0700)]
configure: relax pixman req version

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix test_actionslider for 1.7.x
U. Artie Eoff [Wed, 10 Apr 2013 13:06:09 +0000 (06:06 -0700)]
efl: fix test_actionslider for 1.7.x

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agotest_list: Added user tests
Brian Lovin [Tue, 9 Apr 2013 21:54:12 +0000 (14:54 -0700)]
test_list: Added user tests
weston-fits: Added keyboard keys

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agosupport weston sdk 1.0.x (sdk1) module_init signature
U. Artie Eoff [Thu, 4 Apr 2013 19:58:40 +0000 (12:58 -0700)]
support weston sdk 1.0.x (sdk1) module_init signature

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: add WindowOutputTest
U. Artie Eoff [Wed, 3 Apr 2013 23:26:59 +0000 (16:26 -0700)]
efl: add WindowOutputTest

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: window.h/cpp const corrections
U. Artie Eoff [Wed, 3 Apr 2013 19:15:02 +0000 (12:15 -0700)]
efl: window.h/cpp const corrections

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: account for framespace in window tests
U. Artie Eoff [Wed, 3 Apr 2013 18:55:49 +0000 (11:55 -0700)]
efl: account for framespace in window tests

The client-side window size is the size without decorations. That is,
the size of the client drawable/canvas area.  The server size accounts
for the framespace/decorations.  Hence we need to account for this
difference in the window client/server size checks.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: incorporate framespace in ActionSliderUserTest
U. Artie Eoff [Wed, 3 Apr 2013 00:41:06 +0000 (17:41 -0700)]
efl: incorporate framespace in ActionSliderUserTest

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: formatting and more precision in UserButtonEventTest
U. Artie Eoff [Wed, 3 Apr 2013 00:37:57 +0000 (17:37 -0700)]
efl: formatting and more precision in UserButtonEventTest

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agotest_button: More precise, simplified adding tests
Brian Lovin [Tue, 2 Apr 2013 23:18:37 +0000 (16:18 -0700)]
test_button: More precise, simplified adding tests

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agotest_button: fix bugs from last commit with framespace
Brian Lovin [Tue, 2 Apr 2013 22:13:49 +0000 (15:13 -0700)]
test_button: fix bugs from last commit with framespace

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agotest_button: update to use new framespace
Brian Lovin [Tue, 2 Apr 2013 20:48:55 +0000 (13:48 -0700)]
test_button: update to use new framespace

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agoEvasObject: Add getFramespaceGeometry()
Brian Lovin [Tue, 2 Apr 2013 20:24:56 +0000 (13:24 -0700)]
EvasObject: Add getFramespaceGeometry()

11 years agoefl: add 'user' actionslider test
U. Artie Eoff [Tue, 2 Apr 2013 20:07:31 +0000 (13:07 -0700)]
efl: add 'user' actionslider test

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: add autodel option to EvasObject
U. Artie Eoff [Tue, 2 Apr 2013 16:39:54 +0000 (09:39 -0700)]
efl: add autodel option to EvasObject

By passing autodel=false to class EvasObject, this allows us to wrap
an Evas_Object* where the underlying pointer lifetime is managed by
some other internal object, hence telling the EvasObject instance to
avoid deleting the underlying pointer when the EvasObject itself is
destroyed.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoAdd Geometry and Position queries to EvasObject class.
U. Artie Eoff [Tue, 2 Apr 2013 16:23:44 +0000 (09:23 -0700)]
Add Geometry and Position queries to EvasObject class.

Moved Geometry and Position to common/util.h and added
getGeometry and getPosition to EvasObject.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agotest_button: Added UserButtonInteractionTest which tests button click and press callbacks
Brian Lovin [Tue, 26 Mar 2013 19:50:33 +0000 (12:50 -0700)]
test_button: Added UserButtonInteractionTest which tests button click and press callbacks
test_button: Added userButtonEventTest which test mouse in and mouse out events around the perimeter of a button.

Signed-off-by: Brian J. Lovin <brian.j.lovin@intel.com>
11 years agoefl: add pointer key press interface helpers
U. Artie Eoff [Fri, 22 Mar 2013 16:59:57 +0000 (09:59 -0700)]
efl: add pointer key press interface helpers

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Signed-off-by: Brian J. Lovin <brian.j.lovin@intel.com>
11 years agoefl: improve window fullscreen test
U. Artie Eoff [Thu, 21 Mar 2013 21:11:36 +0000 (14:11 -0700)]
efl: improve window fullscreen test

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: split up test_window tests into separate files.
U. Artie Eoff [Thu, 21 Mar 2013 20:18:03 +0000 (13:18 -0700)]
efl: split up test_window tests into separate files.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: quick workaround to fix issue with recent efl commit
U. Artie Eoff [Wed, 6 Mar 2013 01:34:45 +0000 (17:34 -0800)]
efl: quick workaround to fix issue with recent efl commit

<http://git.enlightenment.org/core/efl.git/commit/?id=a37443ad879815fb1c327a7a1b6669a84e8cf622>
removed the wl_display_dispatch() in the ecore_wl_init() function.
Thus we can longer rely on it to trigger the global registry
callbacks to populate the globals before any objects are created.
As a quick workaround we just bind to the wfits protocol on first
use and just assume the globals will be available by then.  We
should probably use a better solution however.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix window compile, update test_window
U. Artie Eoff [Tue, 5 Mar 2013 21:59:02 +0000 (13:59 -0800)]
efl: fix window compile, update test_window

Multiple operator overloads in a class seem to give efl's eo
trouble and results in a failed compilation of wfits on our
build machines.  Therefore, change the wl_surface overload
in window to a getter.

Refactored WindowResizeTest to leverage new test helpers.

Updated WindowMaximizeTest to check for toolkit events and
validate client/server states.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: add some helpers to the test harness
U. Artie Eoff [Tue, 5 Mar 2013 21:58:27 +0000 (13:58 -0800)]
efl: add some helpers to the test harness

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: refactor getSurfaceGeometry and fix window resize on wayland_shm
U. Artie Eoff [Mon, 4 Mar 2013 21:49:07 +0000 (13:49 -0800)]
efl: refactor getSurfaceGeometry and fix window resize on wayland_shm

Remove need for a callback in ElmTestHarness::getSurfaceGeometry().  The old
method only used the step queue to gain a yield when waiting for the request
to finish.  However, we can just yield directly.

On wayland_shm, the window titlebar animation runs right after the window is
shown and seems to affect resize operations.  Therefore, just add enough
yield's to allow the animation to finish before applying resize operations.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: disable on/off check part text tests
U. Artie Eoff [Mon, 4 Mar 2013 21:40:11 +0000 (13:40 -0800)]
efl: disable on/off check part text tests

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: remove inwin resize test... they can't be resized
U. Artie Eoff [Mon, 4 Mar 2013 21:08:52 +0000 (13:08 -0800)]
efl: remove inwin resize test... they can't be resized

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: add support for get/set pointer via wfits test module.
U. Artie Eoff [Thu, 28 Feb 2013 22:37:13 +0000 (14:37 -0800)]
efl: add support for get/set pointer via wfits test module.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Signed-off-by: Brian J. Lovin <brian.j.lovin@intel.com>
11 years agoconfigure: support conditional compile of efl and extensions
U. Artie Eoff [Wed, 27 Feb 2013 19:17:42 +0000 (11:17 -0800)]
configure: support conditional compile of efl and extensions

Add --[disable|enable]-efl-tests to allow user to conditionally
compile the efl tests.  Without an explicit option specified by
the user, then autodetect whether efl tests can be compiled.

Add --[disable|enable]-weston-extensions to allow the user to
conditionally compile the weston wfits extension.  Without an
explicit option specified by the useer, then autodetect whether
the weston extensions can be compiled.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoremove README as it's contents no longer apply
U. Artie Eoff [Wed, 27 Feb 2013 17:22:58 +0000 (09:22 -0800)]
remove README as it's contents no longer apply

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoAdd dependency version checking.
U. Artie Eoff [Tue, 26 Feb 2013 20:55:08 +0000 (12:55 -0800)]
Add dependency version checking.

Add version check for Weston SDK.
Add version check for EFL Toolkit.
Add check for wayland-cursor package.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoext: update to new API
U. Artie Eoff [Wed, 20 Feb 2013 21:58:23 +0000 (13:58 -0800)]
ext: update to new API

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoconfigure.ac: add --no-as-needed to LDFLAGS
U. Artie Eoff [Wed, 20 Feb 2013 00:21:55 +0000 (16:21 -0800)]
configure.ac: add --no-as-needed to LDFLAGS

The registration of the core, efl, etc... tests
are done at runtime when those particular libraries (shared libs)
are loaded.  Ubuntu does lazy loading of shared libraries, however
our test libraries aren't explicitly used/called into from wfits...
i.e. it relies on being loaded at startup.  Therefore, we need
to pass -Wl,--no-as-needed to the linker so that we get the correct
behavior on Ubuntu (i.e. bypass laziness).

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
11 years agoweston-wfits: weston export headers now
U. Artie Eoff [Tue, 19 Feb 2013 18:46:48 +0000 (10:46 -0800)]
weston-wfits: weston export headers now

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: more aggressive window move test
U. Artie Eoff [Thu, 7 Feb 2013 23:10:24 +0000 (15:10 -0800)]
efl: more aggressive window move test

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoadd ASSERT_MSG, increase window resize try count
U. Artie Eoff [Thu, 7 Feb 2013 22:41:23 +0000 (14:41 -0800)]
add ASSERT_MSG, increase window resize try count

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: tying in wfits extension
U. Artie Eoff [Wed, 6 Feb 2013 23:59:10 +0000 (15:59 -0800)]
efl: tying in wfits extension

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agorename engine set test
U. Artie Eoff [Mon, 4 Feb 2013 17:27:43 +0000 (09:27 -0800)]
rename engine set test

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: fix macro logic
U. Artie Eoff [Fri, 1 Feb 2013 20:27:24 +0000 (12:27 -0800)]
efl: fix macro logic

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: cleanup
U. Artie Eoff [Fri, 1 Feb 2013 19:01:26 +0000 (11:01 -0800)]
efl: cleanup

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoefl: use common/harness.h as base and some style refactoring
U. Artie Eoff [Fri, 1 Feb 2013 17:13:06 +0000 (09:13 -0800)]
efl: use common/harness.h as base and some style refactoring

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agocreate a common test harness
U. Artie Eoff [Thu, 31 Jan 2013 23:56:45 +0000 (15:56 -0800)]
create a common test harness

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoext: remove debug messages
U. Artie Eoff [Thu, 31 Jan 2013 19:02:18 +0000 (11:02 -0800)]
ext: remove debug messages

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agocore,ext: button press support and test
U. Artie Eoff [Wed, 30 Jan 2013 15:41:18 +0000 (07:41 -0800)]
core,ext: button press support and test

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agocore tests and wayland-fits protocol progress
U. Artie Eoff [Tue, 29 Jan 2013 22:23:58 +0000 (14:23 -0800)]
core tests and wayland-fits protocol progress

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoweston-wfits: limit to single output for now
U. Artie Eoff [Fri, 25 Jan 2013 21:52:06 +0000 (13:52 -0800)]
weston-wfits: limit to single output for now

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agotest: print test name before run
U. Artie Eoff [Fri, 25 Jan 2013 21:23:31 +0000 (13:23 -0800)]
test: print test name before run

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoshm: initialize buffer data
U. Artie Eoff [Fri, 25 Jan 2013 20:52:25 +0000 (12:52 -0800)]
shm: initialize buffer data

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agocore: add shell_surface wrapper and tests
U. Artie Eoff [Fri, 25 Jan 2013 20:33:57 +0000 (12:33 -0800)]
core: add shell_surface wrapper and tests

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agocore/display: cover more wl_display api
U. Artie Eoff [Fri, 25 Jan 2013 19:28:58 +0000 (11:28 -0800)]
core/display: cover more wl_display api

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agocore: add shm wrapper and tests
U. Artie Eoff [Fri, 25 Jan 2013 17:17:17 +0000 (09:17 -0800)]
core: add shm wrapper and tests

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>