ecore vsync - fix up dual nvidia + dri/drm driver discovery

this fixes drm vsync discovery when you have both drm and nvidia
drivers seemingly present in /dev but the intel drivers are the dri
ones and nvidiactl is there (who knows if it's used). keep the nvidia
drivers working too with a name/desc check on drm driver as the drm
driver is in fact nvidia's own and set flags appropriately

@fix
Evil: fix fcntl() when used with F_SETFL

@fix
Evil: add strptime()

@feature
efreet: tab to spaces
efreet: remove dead code
efreet: improve messages
elua: update lualian generation code to potentially deal with cycles
elua: properly register the eo class into the system in generated code
ecore-drm: Added internal function to set output brightness level

Summary:
Added _ecore_drm_output_brightness_set function to set brightness level

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1499
ecore_wayland: Created test suit for ecore_wayland.

Summary:
Created test suit for ecore_wayland and added test case for ecore_wl_init and ecore_wl_shutdown.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1498
ecore-drm: Added private function to cleanup backlight structure

Summary:
Added _ecore_drm_output_backlight_shutdown function to clean up
the resources related to backlight structure and initialized backlight structure
in _ecore_drm_output_create.

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1501
eo-cxx: s/eo_add/eo_add_ref/ in efl::eo::inherit.
eina: Eina_List - remove obvious if() check.

Summary:
if (cmp == 0) - in false branch, cmp can not be equal to 0
else if (cmp < 0) - in false branch, cmp is atleast 1.
else if (cmp > 0) - it is abvious that cmp > 0.

Reviewers: cedric, seoz, raster

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1502

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
eina: Eina_Inlist - remove obvious if() check.

Reviewers: seoz, raster, cedric

Reviewed By: cedric

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1503
[cxx] Reenable C++ by default as all outstanding fixes are applied

The C++ binding was disabled because of changes in Eolian. Since we're
already applied fixes on the C++ binding for the changes in the Eolian
API the C++ binding is to be enabled by-default.
ecore_imf/wayland: fix memory leak occured after getting surrounding text
ecore_imf/ibus: support delete-surrounding-text signal
eeze: Add configure check for older libudev version

Summary: This adds a check in configure to test the libudev version >
199. Older versions of udev do not provide
udev_device_set_sysattr_value function and thus compile of efl would
break with older versions.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
eeze: Add ifdef trap for older udev version

Summary: This adds an ifdef trap for older versions of libudev which
do not provide udev_device_set_sysattr_value function. This fixes
broken EFL compile with older versions of udev.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Eo: Better define the relationship of eo_add/del/ref/unref.

Now it's more clear and consistent. This commit complements the previous
eo_add commit (a7560dbc61953c3652780f232e38adbd2d711972).

Now eo_add should be matched with eo_del
eo_ref with eo_unref
eo_add_ref with eo_unref + eo_del

Essentially, the change is that if you have the ref to an object, you
need to unref it. Thus making ref/unref unneeded for most people who use
things (carefully) in c. If however, you would like to delete an object
previously created by you, you should eo_del (counter-part to eo_add).

It's still recommended you ref/unref when dealing with objects in
scopes, as you can't know when an object might just get deleted as a
by-product of another call.

This fixes an issue found by JackDanielZ.