Commit Graph

16481 Commits

Author SHA1 Message Date
Cedric BAIL ee16c647dc evas: make sure that the documentation match the behavior by return true only when something is rendering. 2016-11-15 15:54:29 -08:00
Subhransu Mohanty 355a4e3830 evas/vg: fix handling of stroke width in cairo and native backend
T3351

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-11-15 15:21:17 -08:00
Jean Guyomarc'h a1e1bb01ba
eina: don't make eina_thread_cancellable_run() inline
Seems to me there is little benefit of inlining this function, but this
also had a pervert effect on Windows and C++ with some recent mingw
versions. Mingw failed its implementation of pthread_cleanup_pop(). It
does not compile when compiled in C++. There is a type mismatch that is
caught by the compiler, and everything goes nuts...

This made the EFL build fail because some files of ecore_win32 are C++
sources, and they require Eina... so this macro appears in a C++ code
indirectly, because of its inlining.

By removing the inlining, this build issue is fixed. Will also fix
builds of other programs that would have used Eina.h in their C++
programs :)
2016-11-15 22:19:58 +01:00
Stefan Schmidt 60bb5621d1 examples/elementary: bring back datetime_example target
In commit 5929f0311d this was removed. While
the commits intend was to remove the cxx variant of this example only.

Bring this back so examples are building again.
2016-11-15 17:45:32 +01:00
Stefan Schmidt 177a8d1f9d edje: fix distcheck build break due to missing header file
The file was newly introduced in commit
03856913c2 but it was never added to SOURCES and
thus never distributed in the tarball.
2016-11-15 17:45:32 +01:00
Stefan Schmidt 16143b62b4 docs: evas_canvas: fill gaps in evas canvas eo file documentation 2016-11-15 17:45:32 +01:00
Stefan Schmidt 237ab9c681 docs: efl_gfx: fill gaps in efl_gfx eo file documentation 2016-11-15 17:45:32 +01:00
Stefan Schmidt dbe01dd2b9 docs: ector: fill gaps in ector eo file documentation 2016-11-15 17:45:32 +01:00
Stefan Schmidt 9638a114f0 docs: ector_software: fill gaps in ector software backend eo file documentation 2016-11-15 17:45:31 +01:00
Stefan Schmidt 9971a789a0 docs: ector_gl: fill gaps in ector gl backend eo file documentation 2016-11-15 17:45:31 +01:00
Stefan Schmidt 03176e578a docs: ector_cairo: fill gaps in ector cairo backend eo file documentation 2016-11-15 17:45:31 +01:00
Chris Michael cd0c1d9857 ecore-drm2: Symlink to drmModePageFlip function
Somehow this got missed in initial commit, so fix to symlink to
drmModePageFlip function.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-15 11:44:12 -05:00
Amitesh Singh 6ae0980f32 elm: Efl.Ui.clock: use efl_isa instead. 2016-11-15 19:59:06 +05:30
Chris Michael f5a5a9df44 ecore-drm2: Remove unused structure
As we don't ever use drmVersionBroken structure in this code, remove it

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-15 09:14:50 -05:00
Chris Michael 491c059620 ecore-drm2: Add copyright information from included headers
Small patch to reorganize defines & structures from included files,
and to add copyright information related to each file where defines &
structures were borrowed from.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-15 09:12:53 -05:00
Chris Michael c58de1ce1d ecore-evas-drm: Fix call to drmHandleEvent
As we don't compile-time link to libdrm anymore, we need to make a
call to ecore_drm2_event_handle in order to process drm events.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-15 08:42:07 -05:00
Chris Michael fbc58c3424 ecore-drm2: Add API function for drmHandleEvent
As we are not compile-time linking to libdrm anymore, Ecore_Evas_Drm
needs to be able to call drmHandleEvent, so add an API function to
Ecore_Drm2 that can be used there.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-15 08:42:07 -05:00
Chris Michael 8421a37313 ecore-drm2: Make calls to symlink'd libdrm functions
Instead of linking to libdrm and calling drmMode functions, we will
instead symlink the functions we need during runtime and call those
symlinks.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-15 08:42:07 -05:00
Chris Michael 0a2c06fc58 ecore-drm2: Symlink to libdrm functions during init time
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-15 08:42:07 -05:00
Chris Michael b820ad3676 ecore-drm2: Add structure definitions and function symlinks for libdrm
As we are moving away from linking to libdrm during compile time, and
instead dlsym to things we need at runtime, we need to include copies
of the libdrm structures that we will be using along with function
declarations that we symlink to.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-15 08:42:07 -05:00
Stefan Schmidt a198c2423c docs: efl_ui: fill gaps in efl_ui eo file documentation 2016-11-15 12:00:22 +01:00
Stefan Schmidt b768a365e6 docs: evas_canvas: fill gaps in evas canvas primitives eo file documentation 2016-11-15 12:00:21 +01:00
Stefan Schmidt 1abaecc481 docs: efl_vg: fill gaps in efl vector graphics eo file documentation 2016-11-15 12:00:21 +01:00
Stefan Schmidt 212fac6c37 docs: efl_input: fill gaps in efl_input eo file documentation 2016-11-15 12:00:21 +01:00
Stefan Schmidt f04d2817d2 docs: evas3d: fill gaps in evas 3D canvas eo file documentations 2016-11-15 12:00:21 +01:00
Stefan Schmidt 21e35157ec evas: fix typo in thread name setting for ecore-pipe
Thanks to Vincent Torri for pointing this out.
2016-11-15 12:00:21 +01:00
Amitesh Singh 04ebeca2b2 elm: datetime: fix the incorrect datetime field type mapping
Elm_Datetime_Field_Type enum values are not same to Efl_Ui_Clock_Type.
2016-11-15 15:08:37 +05:30
Cedric BAIL 6da2fbc9c4 efreet: make mime type evaluation way faster by using mmap. 2016-11-14 15:17:12 -08:00
Derek Foreman 8368f6e1d2 ecore_drm2: Follow direct crtc sets with a page flip
Now that the bugs generating extra ticks are fixed, we need to make sure
we can actually generate one here.
2016-11-14 16:39:03 -06:00
Derek Foreman 20f52cd607 ecore_evas_drm: Fix bugs in pending tracking
This has been dead wrong for a while but only recently became a
showstopper when another bug was fixed that made this one manifest.
2016-11-14 14:30:11 -06:00
Derek Foreman bf7814aca0 ecore_evas_drm: Use timestamp from pageflip event for animator time
Should be more accurate this way.
2016-11-14 14:12:58 -06:00
Derek Foreman 2480b4bb22 ecore_evas: fix evas_changed call
Don't or together all previously considered evases.  Thanks Cedric
for the catch.
2016-11-14 14:03:16 -06:00
Cedric BAIL 8215d9832c ecore: introduce adjusting main loop time on animator. 2016-11-14 11:53:01 -08:00
Cedric BAIL 9f5c37cda7 efl_ui_clock: fix use when no module is present.
T4875
2016-11-14 11:22:39 -08:00
Lukasz Stanislawski 93b509d664 elementary: implement destructor in atspi mixin
Summary:
Make atspi mixin inherit from Efl.Interface class and add Efl.Object
as it extensions class to gain acccess to destructor function.

This allow to better share code between implementations and avoid possible
mistakes during accessibilityt implementations.

Reviewers: cedric, jpeg, raster, kimcinoo

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-11-14 11:10:59 -08:00
Guilherme Iscaro 883d41f006 evas focus: Do not allow two objects focused by the same seat.
Summary:
Before focusing an object, the intercept focus callback
is called. This callback may ask Evas to focus another object
instead, so it's necessary to check if the seat in question still
have a focused object event after a efl_canvas_object_seat_focus_del() call.

Reviewers: cedric, bdilly, barbieri, ProhtMeyhet, netstar

Subscribers: cedric, jpeg

Maniphest Tasks: T4864, T4886

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-11-14 10:24:57 -08:00
Daniel Zaoui ee5a1d28f1 Eet: initialize descriptor class correctly 2016-11-14 13:24:32 +02:00
Cedric Bail 99b327598e evas: protect against wrong request to default seat.
Enlightenment kept crashing without this patch.
2016-11-12 13:56:24 -08:00
Andy Williams 202dc8c189 elm: Allow setting NULL tooltip text to remove tooltip.
As discussed on the mailing list.
2016-11-12 21:23:40 +00:00
Jean Guyomarc'h cbde2cb04b
eet: return 0 instead of NULL when the return type is int 2016-11-12 10:42:45 +01:00
Jean Guyomarc'h 2e8d6968fd
ecore_con: fix pointers type mismatches
printf() was not happy with a void* being used with the %s format.
Since the 'key' values are actually strings and let's declare them
as const char* to fully embrace the string semantics.
2016-11-12 10:39:18 +01:00
Felipe Magno de Almeida 5929f0311d elementary-cxx: Removed example from datetime 2016-11-11 18:07:24 -02:00
Artem Popov e6b074ad21 eet: add to basic eet_image EAPIs checking on NULL
@fix

Summary: to avoid segfaults with NULL raw data, add checking on NULL to basic eet_image APIS

Reviewers: NikaWhite, cedric, myoungwoon, jpeg

Reviewed By: jpeg

Subscribers: t.naumenko, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-11-11 09:58:30 -08:00
Andy Williams cc9e9c57d4 elm_code: Fix double free on file close/free
@fix
2016-11-11 15:01:08 +00:00
Stefan Schmidt b8dfc68ee2 docs: ecore_con: add all missing docs for ecore_con
This should fill all gaps we still had in ecore_con. Please make sure all new
additions comes with docs as well.
2016-11-11 15:35:48 +01:00
Stefan Schmidt f3d1211266 docs: efl_net_server: add missing docs for efl_net_server 2016-11-11 15:35:18 +01:00
Stefan Schmidt c2754dc562 docs: efl_net_socket: add missing docs for efl_net_socket 2016-11-11 15:34:08 +01:00
Stefan Schmidt 44b3fb5ebc docs: efl_net_dialer: add missing docs for efl_net_dialer 2016-11-11 15:33:18 +01:00
Stefan Schmidt be9283c17c docs: efl_net_control*: ad missing docs in efl_net_control* 2016-11-11 15:30:55 +01:00
Stefan Schmidt 6570c26921 docs: efl_network*: add missing documentation 2016-11-11 15:28:49 +01:00