Commit Graph

51076 Commits

Author SHA1 Message Date
Daniel Kolesa d47e3f3d20 efl_ui_text, efl_ui_clock: remove pointers 2016-11-10 15:50:58 +01:00
Daniel Kolesa f459e885ef elm_code_widget: remove pointers 2016-11-10 15:49:12 +01:00
Daniel Kolesa 8fe9fcf9d8 elm gengrid_item toolbar_item: remove pointers 2016-11-10 15:47:31 +01:00
Daniel Kolesa 6b156ad6c6 efl_ui_win: remove most pointers 2016-11-10 15:44:57 +01:00
Daniel Kolesa bacbb1e5bd elm radio, scroller, sys_notify: remove pointers 2016-11-10 15:43:15 +01:00
Daniel Kolesa b0c6fb9900 elm_map: remove pointers 2016-11-10 15:41:43 +01:00
Daniel Kolesa 50884a139b elm dayselector, entry, glview: remove pointers 2016-11-10 15:38:53 +01:00
Stefan Schmidt 318bf22a99 docs: emotion: add last missing docs for emotion eo file 2016-11-10 15:14:42 +01:00
Stefan Schmidt 8e88ff7487 docs: eo: finish up docs for eo
Add some mising docs, fix some typos and align with other docs.
2016-11-10 15:14:42 +01:00
Stefan Schmidt 299338a550 elua: docgen: follow is_ref to is_ptr rename
Docgen was broken after this rename.
2016-11-10 15:14:42 +01:00
Andrii Kroitor fd646e79e3 fix install on clean system
After 98fe627ca4 Ecore_Con depends on eldbus.
So we need eldbus to be installed before Ecore_Con.
2016-11-10 14:06:04 +02:00
Carsten Haitzler 5c8dfe9873 eina freeq - make bypass setup only on new freeq creation and changable
this will make a freeq bypass that is enabled by using valgrind or env
var not affect a freeq that has manually changed its queue count max
or mem max. these now become explicit deferred freeers.
2016-11-10 16:22:34 +09:00
Carsten Haitzler ce3685f001 evlog - reduce overhead of getting time a little by pre-checking clock
this checks for clock_gettime + CLOCK_MONOTONIC or CLOCK_REALTIME at
evlog init to avoid a cmp+brang and l1 instr cache hit every get.
slightly less overhead when this is on.
2016-11-10 16:22:34 +09:00
Carsten Haitzler 42ebfa863f evlog - no need to take lock to check if evlog is on. fix
this should reduce oerhead of evlog when on by a bit by not
taking+releasing a lock at all in this case.
2016-11-10 16:22:34 +09:00
Carsten Haitzler 2f6045abc0 ecore - add run state evlogs to know when we run (mainloop) or sleep 2016-11-10 16:22:34 +09:00
Daniel Zaoui 819c14c86f DnD: cancel drag if mouse moves too much
In the case of an entry inside a draggable gengrid, trying to select
text was always resulting in starting a DnD operation because mouse
coordinates were not checked.

Now we check that the mouse coords don't move more than a finger size.

@fix
2016-11-10 08:26:26 +02:00
Gustavo Sverzut Barbieri 1dfdb9ebd9 efl_net_session-connman: be more careful with incoming messages.
Check if calls succeed before using the values.

Fixes CID 1365677, 1365676, 1365675
2016-11-10 00:40:17 -02:00
Gustavo Sverzut Barbieri 8a2ecda4d4 efl_net_dialer_udp: remove redundant thread cancel.
it was already done lines above, likely c&p left over.
2016-11-10 00:15:36 -02:00
Shinwoo Kim e648f1e85e [elementary][atspi] change accessible description to char* from const char*
Summary:
The accessible name is char*, this could confuse API user.
If we provide user callback to get description, an user would return allocated string.
The usage of elm_interface_atspi_description_get/set should be same with elm_interface_atspi_name_get/set

Reviewers: lukasz.stanislawski, cedric, raster

Reviewed By: raster

Subscribers: stanluk, jpeg

Differential Revision: https://phab.enlightenment.org/D4378
2016-11-10 11:11:48 +09:00
Gustavo Sverzut Barbieri 7917fa4ebf efl_net_dialer_http: NULL-ify thread pointer when it's gone.
on thread cancel and end, we should nullify the pointer if it was
still set.
2016-11-10 00:10:11 -02:00
Derek Foreman 9ad35a6fa2 ecore_evas_wayland: Re-kill double disconnect bug on fallback
Jpeg caught this one a while back and it got re-introduced recently.
2016-11-09 16:33:49 -06:00
Gustavo Sverzut Barbieri 21617f83c2 efl_net_server_unix: fix invalid socket comparison.
Fixes CID 1365321.
2016-11-09 17:25:27 -02:00
Daniel Kolesa 441b303783 elm gengrid, genlist: remove pointers 2016-11-09 17:57:05 +01:00
Daniel Kolesa 89bd7f0977 elm_calendar: remove pointers 2016-11-09 17:57:05 +01:00
Daniel Kolesa eb9c451984 elm atspi interfaces: remove some pointers 2016-11-09 17:57:05 +01:00
Daniel Kolesa d5cbe8b9be elm_layout, elm_general: remove pointers 2016-11-09 17:57:05 +01:00
Daniel Kolesa a7ffa599a4 elm_interface_atspi_text: remove pointers 2016-11-09 17:57:05 +01:00
Daniel Kolesa 59b0d88447 elm_widget: remove pointers 2016-11-09 17:57:05 +01:00
Daniel Kolesa aaf6c1a8ee elm_interface_atspi_accessible: remove pointers 2016-11-09 17:57:05 +01:00
Carsten Haitzler 9f32f83d45 evlog + efl dbug - add logging of cpu freq and cpu usage per thread
this runs a 1000hz (or as best the kernel will allow) polling system
monitor thread that will logg the cpu frequencies of all cores (linux
only) as well as cpu usage per thread. this leads to much more
information able to be logged from an efl app (any efl app).

@feature
2016-11-10 01:02:22 +09:00
Guilherme Iscaro 17af933ae7 Evas: Change evas_canvas_default_device_get() to property.
Reviewers: barbieri, jpeg, bdilly

Reviewed By: bdilly

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4387
2016-11-09 11:24:07 -02:00
Bruno Dilly ed48b8d93e efl: add getter for input device's seat
Since this code will be required in many use cases
of the multiseat feature, including examples.

Reviewers: iscaro, barbieri, cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4385
2016-11-09 11:02:38 -02:00
Shinwoo Kim f2295d2fef [elementary][access] check previous access object before register 2016-11-09 21:13:57 +09:00
Hermet Park 4cd8dbf7a0 efl interface: define own FILL/EXPAND values.
efl interface shouldn't rely on Evas.
2016-11-09 20:07:18 +09:00
Amitesh Singh b8903b87d8 elm: remove datetime widget internal code
datetime legacy APIs are based on Efl.Ui.Clock public APIs.
2016-11-09 16:13:38 +05:30
Hermet Park e4f9f6ef1d efl interface: fix typo.
Eeek. values are switched..
2016-11-09 19:27:44 +09:00
Hermet Park a954e9a869 efl interface: define constant in eo.
This patch consolidates previous patch code - 7894952e01.

Suggested by @jpeg.
2016-11-09 19:07:34 +09:00
Hermet Park 7894952e01 efl stack: define own LAYER_MIN/MAX values.
efl interface shouldn't rely on evas.
2016-11-09 17:23:38 +09:00
Daniel Zaoui 0c78e1eb4d Toolbar: fix icon switch during state change
When many states are set on an item, the icon is deleted when the state
is changed. This shouldn't be as it leads to an unstable state whose
icon is still considered as existing and errors displayed on the screen.

We need to check that the icon is not used inside any state to permit its
deletion. Otherwise we should just hide it.

@fix
2016-11-09 07:42:57 +02:00
Daniel Zaoui 7957041d84 Toolbar: fix retrieval of previous state
There should be no problem that the prev_state is the first state.
The last state should be returned only if there is nothing before the
current state.

@fix
2016-11-09 07:42:57 +02:00
Daniel Zaoui 4e828b4f13 Focus: add NULL check before function invocation 2016-11-09 07:42:57 +02:00
Daniel Zaoui 773c56c645 Genlist: remove callback from correct object
Edje callback was removed from genlist instead of its Edje object.
2016-11-09 07:42:57 +02:00
Daniel Zaoui c66668f041 Genlist: remove not described style content
elm.swallow.icon is declared in message style but not described later in
the section.
2016-11-09 07:42:57 +02:00
Jean-Philippe Andre bff8dcfe21 evas: Fix clipping of masks and masks of masks
When an object inside a genlist is masked, scrolling would
cause render issues as the mask is not redrawn on move (only
the clip geometry is marked as dirty and recalculated, the
mask pixels are assumed to be well prepared already). As a
result, masked objects in a genlist would not show up
properly once you start scrolling.

This fixes that by hacking into evas a safety test to avoid
unnecessary clipping, and by using parent masks even if they
are not the direct clipper.

Note that no_render is still quite broken (eg. a no_render
mask may cause major issues, even crashes).

This reverts 5917b49f59
2016-11-09 10:52:26 +09:00
Jean-Philippe Andre f909a6d6ea evas: Fix masks of masks and clippers of clippers in general
The root cause was simple: smart object clipped was not
calling efl_super() on clip_set.

Fixes T4813 (and probably a whole lot of other bugs)
2016-11-09 10:52:03 +09:00
Gustavo Sverzut Barbieri 98fe627ca4 efl_net_session and efl_net_control for ConnMan
These are objects to allow control of networking devices
(efl_net_control) as well as an application to request for
connectivity (efl_net_session).

They are loosely based on ConnMan.org, which we already use in
Enlightenment Window Manager via DBus access with Eldbus. However they
do not map 1:1 as the goal was to expose a viable subset of controls
but in a simple and general way, thus nome strings were converted to
enums, some arrays of strings were converted to bitwise flags, some
names were made more general, such as "service" was turned into
"access point" so it doesn't generate confusion with other "network
services" (ie: http server), or "favorite" that was renamed to
"remembered". Some behavior are slightly different (yet able to be
implemented on top), such as "Service.MoveBefore" and "MoveAfter" were
converted to a numeric "priority", calculated from service's list
index, changing the priority will reoder the list and thus generate
the MoveBefore and MoveAfter DBus commands.

ConnMan was chosen not only because we already use it, but because its
DBus API is sane and simple, with the server doing almost all that we
need. This is visible in the efl_net_session, which is completely done
in the server and do not require any extra work on our side -- aside
from talking DBus and converting to Eo, which is a major work :-D

   NOTE: ConnMan doesn't use FreeDesktop.Org DBus interfaces such as
         Properties and ObjectManager, thus we cannot use
         eldbus_model_object.

There are two examples added:

 - efl_net_session_example: monitors the connection available for an
   application and try to connect. You need a connman compiled with
   session_policy_local and a configuration file explained in
   https://github.com/aldebaran/connman/blob/master/doc/session-policy-format.txt
   to get a connection if nothing is connected. Otherwise it will just
   monitor the connectivity state.

 - efl_net_control_example: monitors, plays the agent and configure
   the network details. It can enable/disable technologies, connect to
   access points (services) and configure them. It's quite extensive
   as allows testing all of ConnMan's DBus API except P2P (Peers).
2016-11-08 22:40:34 -02:00
Stephen okra Houston 5e53ecb9e6 Luncher Gadget Theme: Fix alignment just a hair to a solid middle ground between Dave's theme and mine. 2016-11-08 17:10:55 -06:00
Davide Andreoli 39d266df0e Launcher gadget: keep the icon aligned
and add 2 px offset from the external border
2016-11-08 23:01:09 +01:00
Derek Foreman 875d861ed2 quicklaunch: Fix cosmetic typo in configure output 2016-11-08 14:46:32 -06:00
Bruno Dilly 2a96097a65 Merge branch 'devs/iscaro/evas-focus-per-seat'
This series adds support to multiple focused objects
on Evas, so each seat can focus a different object.

Patches by Guilherme Iscaro <iscaro@profusion.mobi>
Differential Revision: https://phab.enlightenment.org/D4374

@feature
2016-11-08 17:55:07 -02:00