util: allow geometry values to be initialized at construct

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
gtk+: add fullscreen/unfullscreen test

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
efl: force tests to abort on ERR messages

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
gtk: Add test_button.cpp and gtk/ButtonClickTest

Added test_button.cpp and the gtk+ test case
ButtonClickTest

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
Tested-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
weston-wfits: Separate different input modes into classes

This encapsulates the logic in specialized classes and will
make it easier to add new input modes.  It also enables us to
add functionality to allow runtime/dynamic selection of the input
mode.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
weston-wfits: Move module_init to its own file

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
weston-wfits: move destroy listener to init file

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
weston-wfits: split logic into separate files

Split the logic for the different wfits interfaces into
separate files.  Used classes to encapsulate logic but was forced
to use primarily static members/functions since Weston has a
bug that results in a detrimental side-effect of destructing
objects that are loaded when it fails to fork/exec client
processes (e.g. weston-keyboard, weston-screensaver, etc.).  That
is, when Weston fails to fork/exec it calls exit(-1) instead
of _exit(-1) and hence invokes atexit and destructors for the
cloned objects in its forked process.  Those destructors might
unload/uninitialize things that effect the main process (e.g.
sockets, ioctls, etc...).

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
weston-wfits: rename input-emulator-server to input-emulator-notify

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
weston-wfits: Allow user to configure the input emulator

The available emulators are "uinput" and "notify".  To choose
which emulator to use, define the environment variable:

WESTON_WFITS_INPUT_EMULATOR

equal to the name of the desired emulator before loading the
weston-wfits.so module into Weston.

For example:

 $ export WESTON_WFITS_INPUT_EMULATOR="notify"
 $ weston --modules=weston-wfits.so

If WESTON_WFITS_INPUT_EMULATOR is not defined in the environment
and Weston is using the headless-backend then weston-wfits.so will
choose "notify" by default.  Otherwise, it chooses "uinput" by
default.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
efl: remove elementary map test - don't support it

The elementary map widget depends on libcurl which has license
issues.  Hence, don't write tests for elementary map.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
weston-wfits: pointer/keyboard are not pointers in older Weston SDK's

For backwards compatibility we can't do a pointer NULL check on
seat->keyboard or seat->pointer since those members were not pointers
in older Weston SDK's.  We only initialize them primarily to make
the extension work on the headless backend (which doesn't init a
pointer/keyboard), thus use isHeadless() as the condition for
initialization.

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

Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
Tested-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
weston-wfits: print log message when notify is constructed

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Be explicit about MIT license in README
efl: use correct callback signature

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
configure: relax gtk+ version req to latest stable release

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

Move the SUNDAY special case into the loop by using the modulo
operator to choose correct day selection and label.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
efl: test deselection in DayselectorUserTest, too

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
core: update Seat to wl_seat_listener version 2

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