Jean-Philippe Andre [Tue, 13 Dec 2016 04:38:16 +0000 (13:38 +0900)]
evas: Make evas object loop users
This makes efl_loop_get() work on evas objects, returning the
main loop as expected. Also make the loop a property of the
Loop_User class (shouldn't it be called Efl.Loop.User instead?)
Jean-Philippe Andre [Mon, 12 Dec 2016 09:17:30 +0000 (18:17 +0900)]
evas: Fix stacked box align
I added a way to respect the object's alignment when adding them
to a stacked box, but that alignment should only be used when the
box align is set to fill, otherwise both aligns would conflict.
See
3df7b717c932adac481aa0ec527d4d5893b07bb8
Daniel Zaoui [Tue, 13 Dec 2016 05:45:50 +0000 (07:45 +0200)]
Fix compilation warning due to redeclared variable
Bruno Dilly [Tue, 13 Dec 2016 05:28:50 +0000 (03:28 -0200)]
Merge branch 'devs/iscaro/memory'
This series reduce the memory footprint caused by
_evas_object_pointer_data_get() previous implementation.
Patches by Guilherme Iscaro <iscaro@profusion.mobi>
Reviewed By: bdilly, cedric, jpeg, raster
Differential Revision: https://phab.enlightenment.org/D4474
Guilherme Iscaro [Mon, 5 Dec 2016 16:48:58 +0000 (14:48 -0200)]
Efl.Canvas.Object: Remove the extra parementer at _evas_object_pointer_data_get()
The Evas_Pointer_Data struct already contains a Efl.Input.Device pointer.
Guilherme Iscaro [Mon, 5 Dec 2016 16:26:25 +0000 (14:26 -0200)]
Efl.Canvas.Object: Reduce memory used to store Evas_Object_Pointer_Data.
The hash implementation demonstrated that too much memory was being used
to store the Evas_Object_Pointer_Data. In order to reduce the memory usage
this patches now changes the Evas_Object_Pointer_Data storage to an Eina_Inlist and
now Massif profiles shows that the memory usage was drastically reduced.
Awadhesh Singh [Tue, 13 Dec 2016 00:35:46 +0000 (16:35 -0800)]
evas: fix memory leak in software generic in error case.
Summary:
pixels_tmp memory need to be free in default case too.
Signed-off-by: Awadhesh Singh <awadhesh1.s@samsung.com>
Reviewers: singh.amitesh, raster, cedric
Reviewed By: cedric
Subscribers: atulfokk, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4473
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Umesh Tanwar [Tue, 13 Dec 2016 00:34:20 +0000 (16:34 -0800)]
spinner: call changed callback on value set.
Summary:
If user set spinner value other than it's
current value, this is change in value. So changed
callback must be called on value set.
@fix
Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
Reviewers: raster, singh.amitesh, cedric, jpeg
Subscribers: atulfokk, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4471
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Bruno Dilly [Mon, 12 Dec 2016 18:04:58 +0000 (16:04 -0200)]
Merge branch 'devs/iscaro/event-filter'
Series of patches adding support to filter input and focus
events per seat for any evas object.
So it will make it possible to block or unblock keyboard,
mouse and focus events that was originated by a specific seat.
Requested on RFC regarding multiseaet support on Edje -
such feature will be also supported on Edje later.
Patches by Guilherme Iscaro <iscaro@profusion.mobi>
Reviewed By: bdilly, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4468
Guilherme Iscaro [Tue, 6 Dec 2016 18:38:47 +0000 (16:38 -0200)]
Evas: Add event filter example.
This example exercises the new seat event filter API.
Guilherme Iscaro [Tue, 6 Dec 2016 16:36:50 +0000 (14:36 -0200)]
Evas: Objects must not be focused with the seat is not allowed to emit events.
Seats that are not allowed to emit events must not be able to focus objects.
Guilherme Iscaro [Tue, 6 Dec 2016 21:27:15 +0000 (19:27 -0200)]
Efl.Canvas.Object: Override efl_event_callback_[legacy]_call.
In order to properly block events from a given seat, Efl.Canvas.Object must
override the efl_event_callback_[legacy]_call to check if the event
is allowed or not.
Guilherme Iscaro [Tue, 6 Dec 2016 14:42:30 +0000 (12:42 -0200)]
Evas: Add seat_event_filter_set()/get() API.
With this new API one can block or unblock keyboard, mouse and
focus events that was originated from a seat. This is useful to
create applications that wants to establish some kind of seat segregation.
Stefan Schmidt [Mon, 12 Dec 2016 15:35:44 +0000 (16:35 +0100)]
elm: theme: avoid double free in theme version check
If we would have a version below 110 we would run into a double free here.
Just warn and let the freeing happen two lines below.
CID: 1366926
Stefan Schmidt [Mon, 12 Dec 2016 15:18:18 +0000 (16:18 +0100)]
ethumb: fix resource leak introduced in file path sanitization rework
This extra snaitized path assign path does not make sense and leads to a leak
in the end. We already have sanitized_path and handle that correctly.
Fixes
62a0c41fd3bf8796efec55db52395f13a78fb27f
CID: 1366925
Gustavo Sverzut Barbieri [Mon, 12 Dec 2016 15:17:40 +0000 (13:17 -0200)]
ecore_con_legacy: fix coverity issues (use after free)
for hard failures (highly unlikely), the handle would be deleted and
the next use would crash.
guard against those or reorder when it makes sense.
Gustavo Sverzut Barbieri [Mon, 12 Dec 2016 15:02:55 +0000 (13:02 -0200)]
efl_net_ip_address: make coverity happy.
host and port were already checked, but let's quiet CID 1366921
Gustavo Sverzut Barbieri [Mon, 12 Dec 2016 14:27:45 +0000 (12:27 -0200)]
test efl_net_ip_address: also check localhost6.
Fedora and other systems use localhost6 for ::1, then use that in
addition to localhost.
Gustavo Sverzut Barbieri [Mon, 12 Dec 2016 14:16:33 +0000 (12:16 -0200)]
add missing includes for BSD.
Thanks @netstar.
Andy Williams [Mon, 12 Dec 2016 12:17:56 +0000 (12:17 +0000)]
elm_code: Fix tests for parameter reordering
Apologies for the badness of not running the tests before
Gustavo Sverzut Barbieri [Mon, 12 Dec 2016 12:54:20 +0000 (10:54 -0200)]
test efl_net_ip_address: check if /etc/hosts has '::1 localhost'
it seems that the bot and some users do not have ::1 localhost in
/etc/hosts, check for that and print it out.
be more verbose on resolve errors, showing the results and error code.
also allow more time for resolution, otherwise the local timeout may
expire before getaddrinfo() returns with failures.
Gustavo Sverzut Barbieri [Mon, 12 Dec 2016 11:57:36 +0000 (09:57 -0200)]
efl_net_ip_address: improve docs.
thanks stefan for reminding me of these :-)
Daniel Hirt [Mon, 12 Dec 2016 09:21:01 +0000 (11:21 +0200)]
Ui text: remove unimplemented imf api
Daniel Hirt [Thu, 8 Dec 2016 12:05:40 +0000 (14:05 +0200)]
Canvas text: call "changed" on style_set
Needs to be picked up by widgets e.g. Ui.Text to update the positions of
decorations.
Daniel Hirt [Thu, 8 Dec 2016 10:03:02 +0000 (12:03 +0200)]
Ui text: move tests to test_efl_ui_text.c
Merge this into the file that already tests the label-like behavior.
Daniel Hirt [Thu, 8 Dec 2016 11:57:50 +0000 (13:57 +0200)]
Canvas text: call "changed" on annotation_insert
This was missing from non-item type of annotations.
Daniel Hirt [Wed, 7 Dec 2016 11:36:56 +0000 (13:36 +0200)]
Ui text interactive: fix passing of wrong object
Daniel Hirt [Thu, 1 Dec 2016 11:25:11 +0000 (13:25 +0200)]
Ui text: implement non-editable beahvior
Non-editable behavior resembles a label. It doesn't allow changing the
text in any interactive form. The blinking cursor is also hidden.
Selection, however, it allowed.
Among the changes, I added a test which you can run using:
"elementary_test -to "efl ui text label".
Daniel Hirt [Thu, 1 Dec 2016 10:43:59 +0000 (12:43 +0200)]
Ui text: disable selection handler from test
Daniel Hirt [Tue, 29 Nov 2016 07:30:36 +0000 (09:30 +0200)]
Ui text: fix selection handler behavior
Daniel Hirt [Mon, 28 Nov 2016 11:22:40 +0000 (13:22 +0200)]
Ui text: implement scrolling with line wrap
Stefan Schmidt [Mon, 12 Dec 2016 08:33:47 +0000 (09:33 +0100)]
docs: ecore_con: fill gaps in newly added efl_net_ip_address documentation
Stefan Schmidt [Mon, 12 Dec 2016 08:33:13 +0000 (09:33 +0100)]
docs: ecore_con: document newly added extern struct item
Andy Williams [Mon, 12 Dec 2016 08:29:51 +0000 (08:29 +0000)]
elm_code: Fix parameter ordering for consistency
Woochan Lee [Mon, 12 Dec 2016 07:46:27 +0000 (16:46 +0900)]
elm_spinner: Spinner internal focus logic fixed to following new focused UI concept.
Summary:
The spinner entry will be activated when user gives a focus to text button in new focused ui concept.
To support this, we have to change internal logic about change text button to entry, entry to text button.
@fix
Test Plan:
elementary_test
spinner sample.
Reviewers: woohyun, Hermet
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4475
Gustavo Sverzut Barbieri [Mon, 12 Dec 2016 05:17:35 +0000 (03:17 -0200)]
efl_net_dialer_http: fix HEAD requests.
We do not need to keep a "only_head" flag, but we must set
CURLOPT_NOBODY instead of going the "CUSTOMREQUEST" route, otherwise
curl won't follow redirects, etc.
Gustavo Sverzut Barbieri [Mon, 12 Dec 2016 05:16:07 +0000 (03:16 -0200)]
efl_net_dialer_http: fix reference check.
With the last patch to fix delete-from-curl callback it went too much,
considering it was always dead (in the test scenario it was, so it was
"right"), but broke normal cases.
Gustavo Sverzut Barbieri [Mon, 12 Dec 2016 04:23:29 +0000 (02:23 -0200)]
efl_net: add Efl.Net.Ip_Address
This is a string parser, serializer and asynchronous resolver.
It's purpose is to convert to and from the strings we use in our
dialers and servers, such as "127.0.0.1:1234" or "[::1]:1234",
properties allow to check the family, port, address bytes (slice) and
even get a struct sockaddr pointer to use with bind()/connect() in
outside code.
It will also offer some utilities present in netinet/in.h in an easy
to use way, after all IN6_IS_ADDR_LOOPBACK() works one way, while
there is no IN_LOOPBACK and comparing with INADDR_LOOPBACK will lead
to errors since it's in network order.
Last but not least, it will do asynchronous resolve of host and port
names using an internal thread and getaddrinfo(). The results are
delivered using a Future with an array of objects.
Gustavo Sverzut Barbieri [Mon, 12 Dec 2016 00:17:15 +0000 (22:17 -0200)]
efl_net: move error COULDNT_RESOLVE_HOST to broader scope.
This error is shared by Dialer and Server, will also be used by IP
resolution.
Gustavo Sverzut Barbieri [Sun, 11 Dec 2016 23:28:45 +0000 (21:28 -0200)]
Efl_Future: class name (string) using "." for namespace.
Following recent eolian change, the string must have "." to split
namespace, not "_".
Gustavo Sverzut Barbieri [Sun, 11 Dec 2016 15:19:46 +0000 (13:19 -0200)]
yoda-style inactivity timeout.
s/inactivity_timeout/timeout_inactivity/g so it matches the EFL names
with scope first, like timeout_connect, etc.
Gustavo Sverzut Barbieri [Sat, 10 Dec 2016 12:21:56 +0000 (10:21 -0200)]
efl_net: spell check s/revogation/revocation/g
Sorry, in pt_BR it's revoGar... so I did misspell :-)
Hosang Kim [Mon, 12 Dec 2016 02:42:01 +0000 (11:42 +0900)]
efl_canvas_proxy: fix the parameter of EINA_COW_WRITE
Summary:
EINA_COW_WRITE_BEGIN and EINA_COW_WRITE_END's parameters must be same.
But 'Read' paramter is different. So wrong variable's value is changed.
@fix
Reviewers: woohyun, Hermet, cedric, raster, jpeg
Reviewed By: jpeg
Differential Revision: https://phab.enlightenment.org/D4472
Shinwoo Kim [Sun, 11 Dec 2016 10:38:00 +0000 (19:38 +0900)]
elementary: naviframe uses widget item for atspi
Application developer could rewrite accessible information of naviframe item.
But view object - VIEW(item) - is not accessible from application side.
So the accessible information should be set to widget item.
Gustavo Sverzut Barbieri [Wed, 7 Dec 2016 15:34:28 +0000 (13:34 -0200)]
ecore_con: Ecore_Con_Server now on top of Efl_Net!
This is a major work and unfortunately couldn't be split into smaller
pieces as old code was highly coupled.
Ecore_Con_Server is now a wrapper around Efl_Net_Dialer_Simple
(ecore_con_server_connect()) and Efl_Net_Server_Simple
(ecore_con_server_add()), doing all that the original version did with
some fixes so ecore_con_ssl_server_upgrade() and
ecore_con_ssl_client_upgrade() are more usable -- see the examples and
-t/--type=tcp+ssl.
I tried to be bug-compatible, with code annotations where things
doesn't make sense. This was based on ecore_con_suite tests and some
manual experimenting with the examples, these can be helpful if you
find regressions (report/assign to me).
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 16:03:34 +0000 (14:03 -0200)]
ecore_con_server_example: add --socket-activated
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 12:49:45 +0000 (10:49 -0200)]
ecore_con_server_example: add tcp+ssl, upgrades a live client.
add a new -t/--type=tcp+ssl, there you can send "Upgrade: SSL\n" to
request the server to start the handshake.
This can be paired with the ecore_con_client_example, there you can
type:
Upgrade: SSL\n
STARTTLS\n
The second is a dialer local command to upgrade it to SSL, matching
what the server expects.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 08:36:26 +0000 (06:36 -0200)]
ecore_con_client_example: allow tcp->ssl upgrades.
The example now offers --type=tcp+ssl, in this case it won't send a
"hello!" message to avoid messing with the handshake. Once the client
(dialer) receives the user command STARTTLS
(--starttls-local-command), then it will upgrade the connection.
Usually in real life you need to send some command to server, such as
upgrade, STARTTLS and then upgrade... unless you connect to a SSL-only
server (ie: ecore_con_server_example --type=ssl).
Andy Williams [Sat, 10 Dec 2016 00:44:18 +0000 (00:44 +0000)]
elm_code: Fix cursor x offset calculations
Gustavo Sverzut Barbieri [Sat, 10 Dec 2016 00:15:50 +0000 (22:15 -0200)]
ecore_con_url: only close the request if we got a final response.
if we're doing 30x redirects or anything else, keep going. If it's an
error it will be reported later, otherwise EOS. Fact is we're only
interested if 20x.
Gustavo Sverzut Barbieri [Sat, 10 Dec 2016 00:10:28 +0000 (22:10 -0200)]
efl_net_dialer_http: fix delete-from-CURL callback.
This was annoying to identify as the sequence is kinda difficult to
get, but Terminology was doing a HEAD request and it was triggering
this case in particular.
Fixes T4975.
Shinwoo Kim [Fri, 9 Dec 2016 23:36:31 +0000 (08:36 +0900)]
elementary: set atspi role before sending a signal
It is necessary to check atspi role before sending a object:state-changed:showing signal.
The signal is fired when _elm_widget_efl_gfx_visible_set is called.
Andy Williams [Fri, 9 Dec 2016 23:25:42 +0000 (23:25 +0000)]
elm_code: Use cursor theme from elm_entry
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 21:33:40 +0000 (19:33 -0200)]
efl_net: fix formatting warnings from windows.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 21:23:22 +0000 (19:23 -0200)]
efl_net_dialer_http: fix build on windows.
Windows time_t is not a long, but long-long, then stick with int64_t
so it works everywhere (converts to time_t internally).
And there is no gmtime_r(), then use the gmtime() if not detected.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 21:05:31 +0000 (19:05 -0200)]
efl_io_closer_fd: fix warning on windows.
Daniel Kolesa [Fri, 9 Dec 2016 16:18:22 +0000 (17:18 +0100)]
docgen: migrate to new Eolian-provided tokenizer
Andy Williams [Fri, 9 Dec 2016 15:53:38 +0000 (15:53 +0000)]
elm_code: use geometry of cells to paint a simple cursor
Also allows others to figure out where cells are :)
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 15:43:59 +0000 (13:43 -0200)]
efl_net_server_unix: do not mkpath for abstract sockets.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 14:08:29 +0000 (12:08 -0200)]
efl_net_dialer: emit 'resolved' even if connection failed.
If we resolved the address but couldn't connect, use
efl_net_socket_address_remote_set() and emit
EFL_NET_DIALER_EVENT_RESOLVED.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 13:42:17 +0000 (11:42 -0200)]
efl_net: optimize serving of IP addresses.
If we can parse the IP using inet_pton() and the port, there is no
reason to call getaddrinfo() in a thread.
This is required since ecore_con_suite (for ecore_con-over-efl_net) will
assume the server is running as soon as it's created.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 12:44:41 +0000 (10:44 -0200)]
efl_io_copier: callbacks may close the copier.
direct or indirect events may trigger the user to close the buffer.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 12:41:11 +0000 (10:41 -0200)]
efl_io_buffer: callbacks may close the buffer.
direct or indirect events (ie: can_read_set/can_write_set) may trigger
the user to close the buffer.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 12:13:49 +0000 (10:13 -0200)]
efl_io_queue: callbacks may close the queue.
For example, _efl_io_queue_update_cans() triggers "can_read,changed"
and from there users may close the queue, in such case we shouldn't
set can_write.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 11:25:04 +0000 (09:25 -0200)]
efl_io_buffered_stream: del inner_io if we're the parent.
This is a nice convenience if inner_io was reparented to the wrapper.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 09:43:35 +0000 (07:43 -0200)]
efl_net_server_simple: fix leak reported by eo_debug
eo_debug now reports leaked objects, which is very nice :-)
Gustavo Sverzut Barbieri [Thu, 8 Dec 2016 20:57:04 +0000 (18:57 -0200)]
efl_net_dialer_socket: allow us to create a dialer from existing object.
If we want to upgrade a dialer, then we must have a way to know if
that socket has already adopted another socket so we don't create it.
We can't simply use efl_net_socket_ssl, otherwise we'd miss some
methods such as efl_net_dialer_address_dial_get() and events such as
connected.
Gustavo Sverzut Barbieri [Thu, 8 Dec 2016 20:54:43 +0000 (18:54 -0200)]
efl_net_socket_fd: do not close stdout if nothing was set.
if we create an object, say a TCP dialer, and don't connect/bind, then
we have no FD (=0). If we set FD to INVALID_SOCKET on start, other
parts of the code will fail since they consider that "closed", but
we're not closed yet.
Then check for family == AF_UNSPEC && fd == 0, if so don't close it.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 12:01:57 +0000 (10:01 -0200)]
efl_net_ssl: do not access torn down sockets.
OpenSSL crashes if given a NULL pointer, then be safe and remember if
we did the tear down -- print error so bugs can be identified more
easily.
Gustavo Sverzut Barbieri [Fri, 9 Dec 2016 08:27:40 +0000 (06:27 -0200)]
efl_net_ssl_conn-openssl: fix dlsym() for X509_check_ip_asc.
At least in ArchLinux the function has no "_" in the symbol name,
matching perfectly what's in the header.
If in other systems it misses such symbol, then check for both.
Andrii Kroitor [Fri, 9 Dec 2016 13:59:44 +0000 (15:59 +0200)]
ethumb_slave: fix work on Windows
Ecore_Fd_Handler doesn't work on Windows as expected.
Replaced it with Ecore_Win32_Handler on Windows.
Andrii Kroitor [Fri, 9 Dec 2016 13:38:54 +0000 (15:38 +0200)]
ethumb: fix absolute path generation
replace _ethumb_build_absolute_path with eina_file_path_sanitize
It makes same thing and works on Windows correctly.
Daniel Kolesa [Fri, 9 Dec 2016 14:05:26 +0000 (15:05 +0100)]
elm: move Elm.Icon.Type to elm_general
This unbreaks installed eo file database as certain installed eo files import
elm_icon which is not installed, causing parse errors.
Jihoon Kim [Fri, 9 Dec 2016 10:58:20 +0000 (19:58 +0900)]
Fix typo in doxygen about ecore_idler_add
Stefan Schmidt [Tue, 6 Dec 2016 16:59:53 +0000 (17:59 +0100)]
tests: ecore: detect if the timeout test runs on Jenkins and increase allowed offset
From time to time we run into trouble with this test. It goes over the, already
increased, limit on Jenkins. Most likely due to high load on the server. Neither
Cedric nor me have been able to pin this down on local runs and we already had
increased it from the initial 0.01 to 0.02 but just today we hit 0.38.
What we do now is to detect if we run on our jenkins and increase the allowed value
while having the intial lower value back for normal local runs.
Vitalii Vorobiov [Fri, 9 Dec 2016 09:52:33 +0000 (11:52 +0200)]
edje_pick: export aliases and entire dependency list
A lot of cases were missed, cases that are making resulting edj file
useless.
> Now export all aliases
> If group "1" source of group "2" which is source of group "3", it will
> be imported as well!
@fix
Vitalii Vorobiov [Fri, 9 Dec 2016 09:50:43 +0000 (11:50 +0200)]
edje_pick: use correct id's for exported groups
@fix
Marcel Hollerbach [Thu, 8 Dec 2016 18:53:22 +0000 (19:53 +0100)]
eina: add free cb to eina_iterator_filter_new
if you allocate memory for the data param data you can free it in this callback.
JEONGHYUN YUN [Fri, 9 Dec 2016 02:33:26 +0000 (11:33 +0900)]
elm_entry: Init cursor position when entry text set.
Summary: Cursor position should be initialized because entry will be cleared when entry text set.
Reviewers: woohyun, id213sin
Reviewed By: id213sin
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4469
Jean-Philippe Andre [Fri, 9 Dec 2016 02:05:48 +0000 (11:05 +0900)]
eina: Set magic number in eina_file_virtualize
This fixes make check
Jean-Philippe Andre [Fri, 9 Dec 2016 01:48:35 +0000 (10:48 +0900)]
evas: Fix compilation after @cedric's "fix"
Don't forget git add!
Cedric Bail [Thu, 8 Dec 2016 23:04:11 +0000 (15:04 -0800)]
evas: refactor swap mode info get.
Jean Guyomarc'h [Thu, 8 Dec 2016 19:50:27 +0000 (20:50 +0100)]
evas-gl_cocoa: fix complete b0rkage of the engine
73b308fb66f871b93ef8e324997872e3bf175906 slaughtered the gl_cocoa
engine. It's now back to life, lighter and shinier.
Chris Michael [Thu, 8 Dec 2016 19:30:41 +0000 (14:30 -0500)]
elput: Improve checks for keyboard & pointer devices
Some devices reported by libinput show up as both keyboard and mouse,
even tho they are physically only just a keyboard or just a mouse.
When a device gets added, we can verify if it is actually a mouse by
checking if the device has BTN_LEFT (and for keyboards, check
KEY_ENTER). This stops us from getting multiple mouse pointers
reported when we really only have one.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 8 Dec 2016 16:42:20 +0000 (11:42 -0500)]
ecore-wl2: Minor formatting fix
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Gustavo Sverzut Barbieri [Thu, 8 Dec 2016 17:58:09 +0000 (15:58 -0200)]
ecore_con_server_example: show client errors.
Gustavo Sverzut Barbieri [Thu, 8 Dec 2016 16:29:52 +0000 (14:29 -0200)]
ecore_con_client_example: allow no-ssl verify and print errors.
allow to not verify server certificate or hostname, so we can test
with local, self-signed certificates.
Also print errors, so we can say that the server handshake failed.
Gustavo Sverzut Barbieri [Thu, 8 Dec 2016 17:25:11 +0000 (15:25 -0200)]
efl_net_server_ssl: monitor context del and unref on destructor.
we're leaking ssl_ctx on destruction, also monitor it so we don't
access stale data.
Gustavo Sverzut Barbieri [Thu, 8 Dec 2016 15:00:30 +0000 (13:00 -0200)]
efl_net_ssl_context: check and document constructor only properties.
The context is shared and thus these lists should be static once
object is created.
Gustavo Sverzut Barbieri [Thu, 8 Dec 2016 14:41:02 +0000 (12:41 -0200)]
efl_net_dialer_ssl: fix copy&paste too much.
Gustavo Sverzut Barbieri [Thu, 8 Dec 2016 17:49:32 +0000 (15:49 -0200)]
eo_lifecycle: on log level info (3), show leaked objects.
Since we keep a log of created and deleted objects, we can walk the
log and see which were leaked. As this is expensive, do only if log
level is greater than 3 (INFO, DEBUG...), with backtrace of object
creation being displayed as backtrace if running as level 4 (DEBUG).
Mike Blumenkrantz [Thu, 8 Dec 2016 16:36:47 +0000 (11:36 -0500)]
elm_win: update opaque region on resize when borderless
this fixes broken sizing on borderless windows
Daniel Kolesa [Thu, 8 Dec 2016 16:20:22 +0000 (17:20 +0100)]
elua: add bindings to new Eolian APIs
Chris Michael [Thu, 8 Dec 2016 14:32:33 +0000 (09:32 -0500)]
evas-wayland-egl: Remove unused field from Outbuf structure
This patch just removes the 'evas' field from the Outbuf structure.
This should have actually gone in on the previous patch but I missed
removing it :(
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 8 Dec 2016 14:23:36 +0000 (09:23 -0500)]
evas-wayland-shm: Remove unused varibles
These variables are unused (as reported by gcc), and 'ob' is not
really needed in eng_update so remove that also.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Shinwoo Kim [Thu, 8 Dec 2016 14:21:35 +0000 (23:21 +0900)]
elementary: atspi accepts UTF-8 text
Chris Michael [Thu, 8 Dec 2016 14:11:28 +0000 (09:11 -0500)]
evas-wayland-egl: Cleanup wayland_egl engine and fix build break
A previous patch to refactor setup stage and reduce complexity
actually introduced several build breaks. This patch fixes the build
break for wayland-egl.
ref
73b308fb66f871b93ef8e324997872e3bf175906
BAD CEDRIC !!!!!
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 8 Dec 2016 14:02:43 +0000 (09:02 -0500)]
evas-gl-drm: Cleanup evas-gl-drm engine build and fix build break
A previous patch from some french guy broke building of the gl_drm
engine. This patch fixes the build break and cleans up unused
variables, etc.
ref
73b308fb66f871b93ef8e324997872e3bf175906
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 8 Dec 2016 13:42:35 +0000 (08:42 -0500)]
evas-drm: Remove unused variables and fix build break
Seems Cedric's patch for refactoring setup stage broke building for
the evas drm engine. This patches fixes the issue.
ref
73b308fb66f871b93ef8e324997872e3bf175906
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Gustavo Sverzut Barbieri [Wed, 7 Dec 2016 17:53:52 +0000 (15:53 -0200)]
ecore_con_server_example: allow more features and protocols to be used.
Instead of a single SSL connection, allow for local, tcp and udp,
optional flush and delete-after-write (--single-message) and echo
mode.
Very similar to ecore_ipc_server_example.c