Merge pull request #102 from jekstrand/master

Also extract the android headers folder. because android/log.h is require...
libnfc_nxp: Add missing bindings from updated generator

Signed-off-by: Thomas Perl <thomas.perl@jollamobile.com>
strtod will break some GLES drivers horribly when encountering Scandinavian-style floating point, ie, 0,5 instead of 0.5. Force C locale

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #103 from stskeeps/strtod_scandinavia

strtod will break some GLES drivers horribly when encountering Scandinav...
getgrnam is not safe; is ABI compatible, but pthread_sigmask is

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #104 from stskeeps/getgrnam_pthread_sigmask

getgrnam is not safe; is ABI compatible, but pthread_sigmask is
Merge pull request #105 from thp/libnfc-missing

libnfc_nxp: Add missing bindings from updated generator
hooks: add __cxa_atexit

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
TRACE usage cleanups

removed duplicate __PRETTY_FUNCTION__ (already taken care by TRACE)
removed trailing newlines

in wayland_window:
  trace the format/size changes and buffer id

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Merge pull request #106 from groleo/for-upstream

add __cxa_atexit hook and cleanup TRACEs
wayland-egl: fix wl_egl_window_resize

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Merge pull request #107 from groleo/for-upstream

wayland-egl: fix wl_egl_window_resize
Add test for libnfc_nxp.

The NFC test application checks whether the NFC stack can be
successfully initialised and deinitialised.

Moves toplevel tests SUBDIRS to the end to ensure the libraries have
been built prior to building tests.
Fix Jolla copyright.
Merge pull request #108 from amccarthy/nfc-test

Add test for libnfc_nxp.
Merge pull request #109 from amccarthy/copyright

Fix Jolla copyright.
EGL Platform null: Don't do named struct assignments

When hooking up the ws functions to struct ws_module, do not use named
struct assignments. This way, additions and removals to/from struct
ws_module generate warnings instead of being silenced.

Signed-off-by: Thomas Perl <thomas.perl@jollamobile.com>
EGL: Add support for ws_DestroyWindow

Some EGL platform like fbdev need to know when a window surface is
destroyed, so that it can carry out clean ups in its internal state.

egl/ws.*: Add ws_module::DestroyWindow and ws_DestroyWindow
egl/helper.*: Add simple surface->window mapping using std::map
egl/egl.c: Maintain mapping and call ws_DestroyWindow
egl/platforms/*: Add DestroyWindow implementations

The DestroyWindow implementation for hwcomposer, null and wayland might
need some additional work - I've added TODO comments where I wasn't sure
if deleting what okay at that point.

ws_DestroyWindow will be called after the real EGLDestroySurface has
returned, but before our wrapper EGLDestroySurface function returns.

Signed-off-by: Thomas Perl <thomas.perl@jollamobile.com>
Only build NFC if libnfc-nxp headers are available.
Merge pull request #113 from amccarthy/nfc-conditional-build

Only build NFC if libnfc-nxp headers are available.