path: root/src (unfollow)
AgeCommit message (Collapse)Author
2016-12-19ecore_evas: remove float comparison warning from DRM backend.Cedric BAIL
2016-12-19eina fixup matrix testCedric BAIL
2016-12-19evas: get rid of float comparison warning in Evas_3D.Cedric BAIL
2016-12-19eina: get rid of float comparison warning on quaternion tests.Cedric BAIL
2016-12-19eina: get rid of float comparison warning on quad tests.Cedric BAIL
2016-12-19eina: get rid of float comparison warning from str test.Cedric BAIL
2016-12-19eina: use proper logic for comparing double in matrix tests.Cedric BAIL
2016-12-19eina fixup bezierCedric BAIL
2016-12-19xcf: fix float comparison in xcf generic loader.Cedric BAIL
2016-12-19eina: fix double comparison in eina quaternion.Cedric BAIL
2016-12-19eina: fix double comparison in eina matrix.Cedric BAIL
2016-12-19eina: fix double comparison in eina bezier.Cedric BAIL
2016-12-19eina: correctly compar double in eina xattr test.Cedric BAIL
2016-12-19eio: correctly compar double in xattr test.Cedric BAIL
2016-12-19eina: add general purpose function to compar float and double.Cedric BAIL
2016-12-19wayland_egl: Use common implementation of eglCreateImageDerek Foreman
This might fix nested compositors on some architectures...
2016-12-19wayland_egl: Remove some weirdness from our egl extension queriesDerek Foreman
Still totally wrong, of course, but at least a little less wacky.
2016-12-19gl_x11: Use common implementation of eglCreateImageDerek Foreman
Throw away the local copy and use the one in gl_common.
2016-12-19gl_drm: Use common eglCreateImage implementationDerek Foreman
Refactor to reduce copy and paste.
2016-12-19gl_common: Make secsym_eglCreateImage a wrapperDerek Foreman
eglCreateImage and eglCreateImageKHR are subtly different. Now we try to handle them both properly by exposing an abstraction.
2016-12-19ector_gl: Add some EGL typedefs to internal headerDerek Foreman
This lets us include EGL/egl.h in gl_common.
2016-12-19gl_common: fix eglCreateImageKHR queryDerek Foreman
There are surprisingly few GL extensions that start with GL_EGL... This is apparently more widely deployed than OES, so let's bump its priority too.
2016-12-19efl_net_server_udp_client: make error easier to understand.Gustavo Sverzut Barbieri
UDP client has no socket on its own, so it can't be marked as close-on-exec, however failing to resolve the method is bad as confuses the user. Instead provide a method that checks if the setting is different from parent, in such case provide a meaningful message. Otherwise just be quiet.
2016-12-19efl_net_socket_udp: expose init() as protected method.Gustavo Sverzut Barbieri
remove one more TODO: since Efl.Net.Ip.Address was introduced we can now expose Efl.Net.Socket.Udp.init as a protected method that will configure the internal address we use for the remote peer. This allow subclasses to override or call such methods.
2016-12-19efl_net_socket_ssl: remove TODO leftover.Gustavo Sverzut Barbieri
There are no jobs to stop there, it was a left over since this code was somehow derived from Efl.Loop_Fd where "read" and "write" would constantly be called until the kernel flag was cleared, there the callback must be removed to stop jobs, not here.
2016-12-19efl_io_buffer: adopt read-only and read-write buffers.Gustavo Sverzut Barbieri
todo--, allow buffer backing store to be provided by Eina_Slice (rdonly) or Eina_Rw_Slice (rdwr).
2016-12-19evas: improve logic regarding events filtering enablementBruno Dilly
Only the size of events_whitelist isn't enough, because in some cases the user may be disabling the usage of a specific seat. Considering the following scenario, the issue will easy to understand: - an application with two entries (one to be used by seat 1 and other by seat 2) - the first seat is announced - it is enabled for entry 1 and disabled for entry 2 - the second seat is announced Before second seat is announced, the first seat would be able to input the entry 1, because the events_whitelist of such object will continue empty. So a flag will be used to identify an object with active filter. Reviewed By: iscaro Differential Revision:
2016-12-19evas: remove focus when removed from filter whitelistBruno Dilly
It doesn't make sense to remove it when a seat is added to the list. It should be removed only when this seat is blocked. But when the list receives its first item, then it also should be checked if the focused seat is the one just added, otherwise the previous one must be removed.
2016-12-19tests/ecore_con: skip ipv6 tests if that's disabled on the running system.Gustavo Sverzut Barbieri
2016-12-19more eo simplified to use Eina_Slice instead of pointer to.Gustavo Sverzut Barbieri
Working directly with Eina_Slice is easier than a pointer to it, requires no validation of the pointers and is cheap since it's just putting together size_t + void*. However we can't hint the user of 'const(Eina.Slice)' properties as Eolian is incorrectly generating getters as: const Eina_Slice class_property_get(...) which is makes compilers complain about ignored qualifiers: ../src/lib/ecore/efl_io_copier.eo.h:329:7: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] Leave some TODO so @q66 can fix those.
2016-12-19Efl.Io.{Queue,Buffer,Buffered_Stream}: slice_get is now a property.Gustavo Sverzut Barbieri
Previously we couldn't return a slice, instead required the user to pass a slice and we'd fill it since Eolian couldn't generate fallbacks for structures. Since @q66 fixed eolian, we can now return the structure itself as initially wanted, ditching some TODO from the code.
2016-12-19edje/examples: add example of use_custom_seat_names flagBruno Dilly
Since seat names defined on evas will depend on evas backends, maybe udev rules, etc, we aren't able to demonstrate it without manually setting another name for such seats with efl_input_devices_name_set(). Otherwise we wouldn't have guarantees it would match names on EDC.
2016-12-19edje/examples: add example for focus actionsBruno Dilly
Just a regular (non multiseat) focus example for actions FOCUS_SET and FOCUS_OBJECT
2016-12-19edje: add flag to choose between evas or edje seat namingBruno Dilly should be set to '1' to use seat names on signals as provided by Evas. By default just follow Edje naming approach ("seat1", "seat2", ...)
2016-12-19examples/edje: add dynamic seats exampleBruno Dilly
It's an example of how themes can be implemented even if the number of seats using the UI is unknown, and how it can be done using scripts or C code.
2016-12-19edje: support action seats on edje_editBruno Dilly
2016-12-19edje: accept optional seat parameter on FOCUS_OBJECTBruno Dilly
If not provided, FOCUS_OBJECT action will keep acting over default seat. Also include a usage on edje-multiseat test (actually no example was exercising this action).
2016-12-19examples/edje: add multiseat exampleBruno Dilly
2016-12-19edje: add names for seats following an incremental patternBruno Dilly
This way it'll be possible to write EDC with seat names that will work no matter how seats are named by each ecore_evas backend or users.
2016-12-19edje: support seat on focus action and signalsBruno Dilly
Seat goes as an optional parameter for FOCUS_SET (if not provided, act over default seat), and emit signals with seat suffix: * focus,in,$SEAT * focus,out,$SEAT * focus,part,in,$SEAT * focus,part,out,$SEAT
2016-12-19edje: add new signals providing seat informationBruno Dilly
Add the following signals: * mouse,in,$SEAT * mouse,out,$SEAT * mouse,move,$SEAT * mouse,clicked,$BUTTON,$SEAT * hold,on,$SEAT * hold,off,$SEAT * drag,$SEAT * drag,start,$SEAT * drag,stop,$SEAT
2016-12-19evas: add getter for devices by nameBruno Dilly
Make it possible to get the evas device given its name. It sounds useful for Edje since programs will reference seats by name.
2016-12-19ecore_con/ecore_ipc: flush should wait for connection.Gustavo Sverzut Barbieri
Some applications will create the handle, immediately send data, flush and delete it, expecting the data to be sent to remote peer. This is a bad behavior as the application would become unresponsive until the connection is established, data can be written (since depends on server consuming it), then allow it to be closed. A proper behavior here would be to chain based on events, with the usage of a copier would be simply wait for "done" event. However the legacy API allowed this and terminology depends on this awkward "feature", thus be bug-compatible. This fixes T5015.
2016-12-19efl_io_file: initialize all fd to -1.Gustavo Sverzut Barbieri
Since 0 is a valid fd, we should initialize these to -1.
2016-12-19efl_net_socket_fd: initialize fds to INVALID_SOCKETGustavo Sverzut Barbieri
Since 0 is a valid fd, then we'd try to do socket operations on it, which would generate misleading errors.
2016-12-19ecore_con/ecore_ipc legacy: fail early for local sockets.Gustavo Sverzut Barbieri
In the old/legacy API the socket would be opened early in non-blocking mode (connect returned errno==EINPROGRESS), with UNIX socket being path-validated early and returning NULL as 'server' handle. Some applications relied on this instead of monitoring the "ERROR" events, considering the connection to be successful if there was a handle -- this was the case with Terminology after it moved from DBus to Ecore_Ipc. Although this is not correct, we must keep compatibility and thus we stat() in compatibility layer, failing early as the old API would do.
2016-12-19ecore_con/ecore_ipc: keep log domain alive after shutdown.Gustavo Sverzut Barbieri
These legacy API had the nasty behavior of keeping handles alive until the pending events were dispatched, this could happen after the module itself was shutdown, resulting in log to unregistered domains. Then do not unregister the domain -- eina_shutdown will avoid leaks anyway.
2016-12-19elput: Fix resource leakChris Michael
Coverty reports that we leak 'reply' here if we fall into the error condition. CID1367506 @fix Signed-off-by: Chris Michael <>
2016-12-19elput: Fix resource leakChris Michael
Coverity reports that 'reply' is leaked here if we fall into the error condition. CID1367507 @fix Signed-off-by: Chris Michael <>
2016-12-19efl_net: fix CID 1367489 due copy & paste.Gustavo Sverzut Barbieri
we're looking at "x" since it's the return of getaddrinfo(), not "r" which is used for something else.