Commit Graph

28 Commits

Author SHA1 Message Date
Carsten Haitzler 5f24a64968 elocation - only define ebta api support if needed - not needed here... 2018-11-09 11:44:00 +00:00
Marcel Hollerbach 46d464e5bf here comes meson
a new shiny buildtool that currently completes in the total of ~ 4 min..
1 min. conf time
2:30 min. build time
Where autotools takes:
1:50 min. conf time
3:40 min. build time.

meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read.

Further informations can be gathered from the README.meson

Right now, bindings & windows support are missing.

It is highly recommented to use meson 0.48 due to optimizations in meson
that reduced the time the meson call would need.

Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>

Differential Revision: https://phab.enlightenment.org/D7012
Depends on D7011
2018-10-02 17:22:50 +02:00
Yeongjong Lee 02d83ebcd4 docs: Fix typos in API reference doc and comments.
Reviewers: Hermet, segfaultxavi

Reviewed By: Hermet, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6948
2018-08-31 17:45:31 +09:00
Vincent Torri f5b01ac5ce all: Simplify definition of EAPI
This will help in the transition from Autotools to Meson. This has been
tested on Windows for which EFL_XXX_BUILD were first introduced.
2018-01-18 18:04:03 +09:00
Jean-Philippe Andre ff24ac2d6d efl: Reset ecore event types on init
This fixes cycles of init/shutdown/init where ecore event types would
become invalid, since they are now stored in a dynamic array rather than
a statically stored array.

The risk here is that if a module of EFL tends to init/shutdown in a
"normal" scenario then the event type array will grow in a leaking
manner. This could be fixed by resetting those event ID's only when the
loop actually exits (EFL_EVENT_DEL on the main loop). I'm not using
EFL_EVENT_DEL in this patch as this would add too many event callbacks
to the main loop object, which may result in slightly slower event calls
to it, affecting the overall performance.
2017-12-19 11:14:37 +09:00
Ross Vandegrift 71e5c74eb6 efl: drop deprecated Encoding key from desktop files
Summary:
The Encoding key is no longer required, all desktop files are assumed to
be UTF-8 encoded.  See details at:
https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html

Fix various typos and misspellings

lintian, Debian's package checker, uses strings to check for common typos
in compiled binaries.  This change fixes the ones it identified in 1.20.6.

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-12-13 10:27:48 -08:00
Carsten Haitzler 968e1dfb37 elocation - fix return of status, address, position to actually ret data
the data was never returned! fix fix fix.

found by PVS studio

@fix
2017-07-31 12:18:00 +09:00
Cedric BAIL 21ba61be73 elocation: avoid crash during shutdown due to Ecore_Event queue. 2017-03-09 16:17:58 -08:00
Stefan Schmidt eef094c661 docs: Fix access to main elocation page from front page 2015-05-07 11:15:12 +02:00
Cedric BAIL 39b14d705a elocation: allow usage of it with C++. 2015-04-28 15:18:09 +02:00
Stefan Schmidt cc17bb7fbf elocation: Hide also generated headers behind the BETA API define 2015-01-27 16:05:41 +01:00
Cedric BAIL 4c537c455c elocation: fix typos. 2015-01-25 14:23:32 +01:00
Stefan Schmidt 96af685309 elocation: Mark elocation as BETA API for the upcoming 1.13 release
It is not ready as a public API yet. It needs to run on GeoClue1
and GeoClue2 which will definitely bring API changes as some parts
are tied to mcuh to what GeoClue1 offers right now.
2015-01-09 18:25:41 +01:00
Stefan Schmidt 53537579cd elocation/geoclue2: Update generated code after generator leak fixes.
This brings in some fixed memory leaks from the generator.
2014-11-24 10:14:23 +01:00
Stefan Schmidt 31f48a91d2 elocation: Update generated code for geoclue2 after eldbus-codegen bugfix
Property set works now.
2014-11-21 10:38:59 +01:00
Stefan Schmidt f5dcadaab5 elocation: Add generated GeoClue2 DBus helper code.
Generated by eldbus-codegen to avoid writing the boilerplate code by hand.
2014-11-21 10:38:39 +01:00
Stefan Schmidt be4fc157f2 elocation: Add enums for GeoClue2 accuracy levels
Some stay the same between 1 and 2 and others have changed. Mark enums that
are only available on one version.
2014-11-21 10:38:09 +01:00
Stefan Schmidt 612633b4e2 elocation: Check for one more retrun of eldbus_message_iter_arguments_get
In this case we want to continue with the loop.

CID: 1251472
2014-11-14 10:51:56 +01:00
Stefan Schmidt 4140941049 elocation: Check return from eldbus_message_iter_arguments_get
Coverity spotted my laziness here with the eldbus functions. Better check that
they actually succeeded.

CID: 1251470, 1251471, 1251472, 1251473
2014-11-12 10:21:00 +01:00
Stefan Schmidt 5057cf31b3 elocation: Fix EAPI define for win32 builds
That clearyl shows that I never build this for win32 and I missed to change
from ecore to elocation when copying the definition. My bad. Thanks goes to
jenkins and jpeg.
2014-11-12 10:01:47 +01:00
Stefan Schmidt 4c57c254e2 elocation: _EVENT_IN and _EVENT_OUT are internal events which means no EAPI 2014-11-12 09:54:58 +01:00
Stefan Schmidt 821d68ded1 elocation: Check if the passed in address/position/status is already up to date
This API needs to get rewritten when the GeoClue2 support lands.
2014-11-11 12:02:10 +01:00
Stefan Schmidt 510773a99d elocation: Cleanup status code handling
The code is an integer enum so we should really handle it like this. Use dummy
free callbacks for ecore_event_add as we pass not malloced data in.
2014-11-11 11:46:14 +01:00
Stefan Schmidt 9ab00e96ed docs/elocation: Update some more version tags 2014-11-11 11:10:12 +01:00
Stefan Schmidt 1eb4ffcc4d elocation: Mute all unused parameter warnings
The signature is given by the callback so the only thing we can do here is to
mute the warnings.
2014-11-11 11:10:11 +01:00
Stefan Schmidt 597ce8e1ca doc/elocation: Make it fit into the efl documentation
@mainpage would override the main efl page. Its no longer a separate
lib which needs its own mainpage. We just need to make sure the group
and sections show up from the main page.
2014-11-11 11:09:59 +01:00
Stefan Schmidt 701502cde2 doc/elocation: Update since tag to an appropriate 1.13 2014-11-11 11:08:58 +01:00
Stefan Schmidt a2d2cdaf9f elocation: Add elocation libraray to EFL.
Elocation is meant as a convenience library to ease application developers
the usage of geo information in their apps. Adding a geo tag to a picture or
translating an address to a GPS position and show it on a map widget are just
some of the use cases.

In the beginning elocation will rely on the GeoClue1 DBus service. Supporting
the new GeoClue2 DBus service is planned and worked on. GeoClue offers
providers for various techniques to get hold off the current position. Ranging
from GeoIP over wifi and GSM cell location to GPS.

This has been developed a while ago and was living in my private dev space.
It is about time to move this into EFL and bring it forward.

The detection of the GeoClue service is being handled on runtime and no new
dependency is added due to this library.

@feature
2014-11-11 11:02:08 +01:00