Commit Graph

936 Commits

Author SHA1 Message Date
Carsten Haitzler bdca3df440 configure - remove gnu make hack as it seems to not be needed anymore
as per T3767 it seems that it's not needed. i tested and nothing went
wrong. let's see. fixes T3767

@fix
2016-06-15 15:21:13 +09:00
Vincent Torri 8cccde76fe Ecore: detect ieeefp.h existence instead of including it with compiler's macro
On Solaris, this header is necessary for finite(). Instead of including it
if the sun compiler is used, include it if it exists. This fixes a warning
if gcc is used on Solaris
2016-06-14 18:50:00 +09:00
Marcel Hollerbach 6b74aad023 evas_generic_loaders: port poppler to the cpp api
Summary: This ports the loader to the stable cpp api.

Test Plan: Please test this patch and tell me if there are differences

Reviewers: DaveMDS

Subscribers: jayji

Differential Revision: https://phab.enlightenment.org/D4039
2016-06-14 10:53:34 +02:00
Shinwoo Kim f70be6eb28 Ecore_Input: define data type for joysticks
Summary: This adds support for joysticks for ecore_input

Reviewers: cedric, devilhorns, Sergeant_Whitespace, raster, thiepha, zmike, jpeg

Reviewed By: thiepha, zmike, jpeg

Subscribers: thiepha, stefan_schmidt, zmike, singh.amitesh, Sergeant_Whitespace, jgerecke, cedric, seoz

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D1538
2016-06-13 20:33:29 +09:00
Vincent Torri c5fc0dae0c Elm: fix elementary quicklaunch build on Solaris 2016-06-13 13:24:08 +09:00
Cedric BAIL 692b2c9fc9 eina: add generic infrastructure for a Eina_Safepointer
This is heavily inspired from Eo_Id infrastructure. Main change
are that the lower bit are always guaranteed to be zero and ignored
by all function. Also it may be a little bit less efficient in some
case, but we will tune it once we have real life usage of it.

Eo won't be migrated for 1.18 to it as Eo_Id is deeply integrated
and it is quite risky to touch it so close from a freeze. This can
wait.
2016-06-10 13:57:01 -07:00
Davide Andreoli 25bc0b9785 just a small indent change 2016-06-09 12:54:26 +02:00
Davide Andreoli 62632c5616 poppler: enable again compilation for poppler > 0.40
I'm quite sure my last commit also fix the issue reported by
jpeg. I do not have poppler > 0.40 on my system, so please
report any issue.
2016-06-09 12:45:01 +02:00
Davide Andreoli c5f689a154 Simplify and fix poppler discovery code
Now configure should abort in case poppler is not found (unless explicitly disabled)

I'm still not sure about the hard "poppler < 0.40" requirement
added by jpeg yesterday, we should fix the issue instead of
tell "we don't support it"
2016-06-09 12:33:10 +02:00
Chris Michael d48c95f158 efl: Bump required wayland version
This makes our wayland libraries require newest wayland release of 1.11

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-07 08:04:10 -04:00
Jean-Philippe Andre f3b625e547 pdf: Fix build with poppler >= 0.40
This disables PDF load if poppler >= 0.40 (current is 0.42 on
my machine). Those image loaders definitely should be explicitely
enabled or disabled, not enabled based on the system.
2016-06-07 16:29:13 +09:00
Larry Jr 1ba06bb642 eio: Add mime_type property in Eio_Model 2016-06-05 22:08:06 -03:00
Larry Jr c33caa86ab eio: Eio_Model parent_get return parent model 2016-06-05 22:08:06 -03:00
Davide Andreoli e21d357adf Enable evas loaders by default, if dependencies are found
I really cannot see why we should require to use --enable-feature on those, they should be safe.
2016-06-04 21:45:28 +02:00
Davide Andreoli 49fbdc1da9 Fix report for image loaders
In the final report we want to show if the loader is enabled, not if it's wanted
2016-06-04 20:19:54 +02:00
Davide Andreoli b0776cb4ea Fix building of librsvg if requested
This typo was preventing the svg loader to be built in every cases
2016-06-04 20:11:17 +02:00
Davide Andreoli d77dd8d9f1 Configure: 2 small in-string quote changes
This should be harmless and just fix syntax hilighting is some editors (geany at least)
2016-06-04 10:54:40 +02:00
Cedric BAIL 0a7b668249 emotion: properly fix build of vlc generic player. 2016-06-02 10:43:29 -07:00
Chris Michael 5f10ad8155 Revert "Revert "elput: add missing dependency on libudev""
Apparently, libudev is not thread-safe which means we cannot use Eeze
for getting the udev but rather need to actually use libudev, so those
revert needs to be reverted.

This reverts commit 354bc66d0d.
2016-06-02 12:00:32 -04:00
Stefan Schmidt 2782f043a3 build: use the normal efl tree macros for dependency handling
This should hopefully be the last fix for the merged emotion generic player.
2016-06-02 17:27:03 +02:00
Chris Michael 354bc66d0d Revert "elput: add missing dependency on libudev"
A better fix to not use libudev functions has been pushed previously,
so there is no need to add an extra dependency on libudev as we use
Eeze already.

This reverts commit 9d429a7c1f.
2016-06-02 10:26:38 -04:00
Stefan Schmidt 6664229bdc build: use internal dependency for eina and ecore for generic players
On a system without efl installed these two packages would not be found as.
Need to be internal now that we merged them inside efl.
2016-06-02 15:58:35 +02:00
Stefan Schmidt 9cb1190f00 elementary: add missing dependency on libwayland-client in elm_cnp
lib/elementary/.libs/lib_elementary_libelementary_la-elm_cnp.o: In function `wl_data_offer_accept':
/usr/include/wayland-client-protocol.h:893: undefined reference to `wl_proxy_marshal'
/usr/include/wayland-client-protocol.h:893: undefined reference to `wl_proxy_marshal'
collect2: error: ld returned 1 exit status

Based on a patch by aerodynamik. Thanks!

Fixes T3398
2016-06-02 15:34:18 +02:00
Stefan Schmidt 9d429a7c1f elput: add missing dependency on libudev
Elput is using udev directly so we need to amke sure we link against it.

lib/elput/.libs/lib_elput_libelput_la-elput_input.o: In function `_elput_input_init_thread':
/<<PKGBUILDDIR>>/src/lib/elput/elput_input.c:317: undefined reference to `udev_new'
/<<PKGBUILDDIR>>/src/lib/elput/elput_input.c:326: undefined reference to `udev_unref'

Patch by aerodynamik. Thanks!

Fixes T3712
2016-06-02 15:34:18 +02:00
Cedric BAIL 6b5ed1b711 evas: integrate evas generic loaders into our single tree build system. 2016-06-02 11:35:05 +01:00
Cedric BAIL 36f15d761a emotion: integrate generic legacy vlc support in the build system. 2016-06-02 11:35:05 +01:00
Carsten Haitzler aec0cb9a67 elm fileselector - make ok/cancel in selector configurable per os
so the theme build can order ok/cancel based on preference for an os,
so make configure have an option for this and build the theme
specifically based on that option. enable the option if you want mac
style cancel, ok or default ok, cancel as is common elsewhere.

  --enable-cancel-ok

is the option

@feature
2016-06-02 18:38:57 +09:00
Chris Michael af22796356 ecore-drm: Deprecate Ecore_Drm library
Small patch to deprecate Ecore_Drm. This patch also adds a configure
option to enable ecore_drm for older code. This option is disabled by
default, so must be explicitly specified during build.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-31 10:05:28 -04:00
Jean Guyomarc'h 0bb75b5fb6 autotools: remove random echo
It seems it was a debug echo that was never removed.
2016-05-28 19:19:01 +02:00
Jean Guyomarc'h 543394344d autotools: fix use of EFL_WITH_BIN
EFL_WIN_BIN takes only two arguments.
2016-05-28 19:19:01 +02:00
Jean Guyomarc'h 9e761c9515 autotools: check for sched_getcpu()
sched_getcpu() is glibc-only, so not portable. Mac OS X
does not have it, and has no obvious replacement function.

This commit will allow future code to test for the existence
of this function, to provide fallbacks instead of making
compilation fail.
2016-05-28 19:14:16 +02:00
Jean Guyomarc'h 0193600e48 autotools: improve libunwind detection
Libuwind may not be shipped with a pkg-config file.
It can be distributed on the system, but the autotools
would fail to detect it because it relied only on pkg-config.

We now first check with pkg-config, and then try to compile and
link a program using libuwind to see if it is supported anyway.

This is a first step towards a working eina_log_backtrace on
Mac OS X.
2016-05-28 19:13:10 +02:00
Jean Guyomarc'h d1127c6a5b autotools: fix configuration of Ecore_Cocoa
On Mac OS X, we are using OBJC, not GNU-OBJC.
This test seems unnecessary as well, as a longuage tests
and a linking test are performed later.

Fixes T3710.
2016-05-28 10:52:09 +02:00
Chris Michael 93178199a6 ecore-evas: Port ecore_evas drm engine to use Ecore_Drm2 library
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-27 11:57:53 -04:00
Chris Michael a0d3b955bf ecore-drm2: Add start of Ecore_Drm2 library
This new library is going to replace the existing Ecore_Drm. This will
refactor a lot of the code, bring improvements over the existing API,
and provide additional support for missing features.

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-27 11:57:53 -04:00
Carsten Haitzler 1eba9d9de0 ecore-con - simplify down to a single libc resolver
Summary:
this removes the cares/ares based resolver and the compiled-in dns.c
resolver, modified the getaddrinfo based resolver to use threads not
forking (almost halving its size) and now makes that the only resolver
we have. getaddrinfo handles ipv6 and ipv4 (according to docs). this
simplifies code paths, drops code size of the efl tree by about 11k
lines of code, makes it easier to test and more robust to future
changes with ip resolving as it now just relies on libc. we won't have
coverity complaints on dns.c imported code anymore to fix and don't
have tokeep up with bugfixes/security from the upstream imported code.
this means we use a single resolver on all platforms (windows, mac,
linux) as opposed to before where cares was used for windows, and
dns.c on linux/mac. oh and the forking original was broken since our
move to eo too. so it couldnt even compile if enabled, letalone work.

so fix bug with missing /etc/resolv.conf that dns.c couldn't cope
with, fix testability, fix maintainability and reduce efl codebase size.

this fixes T3668

@fix
@improve

Subscribers: cedric, seoz, jpeg

Maniphest Tasks: T3668

Differential Revision: https://phab.enlightenment.org/D3971
2016-05-24 09:20:49 +09:00
Chris Michael 3940ff7f8b efl: Define if systemd version >= 209
Elput conditionally requires this to choose proper codepath wrt systemd-logind

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-18 16:42:59 -04:00
Felipe Magno de Almeida 5d5c04fd66 js fixes 2016-05-18 17:52:47 +02:00
Mike Blumenkrantz 4328425392 build: more non-cocoa fixes
ref 1f03bba199
2016-05-16 12:02:16 -04:00
Mike Blumenkrantz 83b9a7e31b fix non-cocoa configure/build
ref 1f03bba199
2016-05-16 11:47:04 -04:00
Jean Guyomarc'h 1f03bba199 autotools: enable gl_cocoa on OS X by default
Before this commit, X11 (via Xquartz) was the default engine to be
enabled on OS X.
Since the Cocoa backend became quite stable and considering applications
running within the Xquartz windowing environment are arguably ugly,
the Cocoa backend will now be enabled by default and X11 will be
selected only if explicitely requested.
2016-05-16 16:10:13 +02:00
Cedric Bail fbf7948d26 ecore: move ecore before evas so that all dependencies are build in correct order. 2016-05-15 08:58:49 -07:00
Cedric Bail dd649ab639 autotools: make Windows and MacOS X not require the long flags.
This is been done to enable a bigger community on those platform. We
do hope that Gentoo will not abuse it.
2016-05-15 06:44:49 -07:00
Cedric Bail 1a001d38d4 evas: make ecore a dependency.
As packager will need to update their package anyway with 1.18 it is a
good time to finally make evas depends on ecore. This should enable
refactoring and simplifying a lot of complex code in EFL. This really
should have been done like that from the beginning.
2016-05-15 03:45:54 -07:00
Chris Michael 8a47b7a4ec efl: Make building Ecore_Wayland optional
This patch makes building Ecore_Wayland library disabled by default
but provides an option to enable it (if needed).

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-06 15:51:56 -04:00
Mike Blumenkrantz 9d5caf00b6 wayland: implement session recovery
add support for reconnecting wayland applications if the compositor dies

disconnect -> destroy gl ctx + image textures -> block rendering ->
reconnect -> create gl ctx -> create image textures -> unblock rendering ->
sprinkle special seasoning on top -> just like ma used to make

 #SamsungFeatures

@feature
2016-05-05 10:49:31 -04:00
Carsten Haitzler 6aec9d4b68 Revert "tiff: disable by default as it is full of CVE with apparently no chance to get them fixed."
This reverts commit b8860c88f5.

i wouldn't call this full of CVE's:

http://www.cvedetails.com/product/3881/Libtiff-Libtiff.html?vendor_id=2224

i do notice various CVE's on libtiff's mailing list have had patches
committed. the CVE db doesn't track if the CVE has been fixed by
upstream (in an easy to find way) and in which version or on what date so
the CVE db simply is all CVE's since the dawn of time that were ever filed.
2016-05-02 08:02:09 +09:00
Cedric Bail b8860c88f5 tiff: disable by default as it is full of CVE with apparently no chance to get them fixed.
This can still be manually turned on if you need it.
2016-04-29 18:56:51 -07:00
Chris Michael af30057999 efl: Add uuid as a dependency for Ecore_Wl2
Since session recovery is now included in Ecore_Wl2 library, we should
add a dependency on the uuid library. Thanks to aerodynamik for
reporting.

Fixes T3505

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-25 08:02:23 -04:00
Derek Foreman f59c52520d build: Bump wayland version dependency
Anything that needed wayland now needs wayland 1.10.0
2016-04-19 15:11:09 -04:00
Cedric BAIL 70cc3677ae elementary: make it possible to build the library alone. 2016-04-14 16:22:23 -07:00
Cedric BAIL 968dcaae34 eio: make it possible to build the library alone. 2016-04-14 16:18:19 -07:00
Cedric BAIL 847fb931c2 ector: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL 192a966e60 ecore: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL 561b14f0c7 edje: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL 055b98a1d4 efl: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL f4441e5a21 eo: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL 3ccfd987ec eet: make it possible to build the library alone. 2016-04-14 15:52:50 -07:00
Cedric BAIL 66bc74bbe6 emile: make it possible to build the library alone. 2016-04-14 15:52:50 -07:00
Cedric BAIL 41f68ac0d3 eina: make it possible to build the library alone. 2016-04-14 15:52:50 -07:00
Cedric BAIL 4c92120457 evil: make it possible to build the library alone.
So I have been battling with autotools on this for a full week now,
and what we want is basically impossible. A.k.a. one file definition
and possibility to do a full build or just a partial build of efl.
Even moving to just partial build require to land a massive patch that
change everything in our build system and this is just not a road I
want to take.

For reference, if one day automake allow the use of any kind of variable
(autoconf AC_SUBST expansion or $()) in the _SOURCES parameter, it will
be possible to fix. Alternatively if they allow to build subdirectory
before they do BUILT_SOURCE, it would make it possible to incrementaly
move to only partial build. In the mean time, a less problematic solution
is to duplicate source code.
2016-04-14 15:52:50 -07:00
Chris Michael 4ea507c2ca elput: Add missing optional feature check for systemd
As elput can potentially use systemd-logind for various input device
functions, we should add this as an optional dependency in the
configure checks.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 15:44:13 -04:00
Chris Michael f8964fcf2e elput: Initial checkin of elput library
The elput library is an efl abstraction for the libinput library which
can be used by various other subsystems (ecore_fb, ecore_drm, etc) to
handle interfacing with libinput without having to duplicate the code
in each subsystem.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Cedric BAIL 1c48b76da8 elementary: restore examples build. 2016-04-08 16:01:07 -07:00
Jean-Philippe Andre edcdb94a30 Makefile: Add efl as internal dependency for ecore
This commit broke the build:
 - 7c8b2da286

Each and every single library including ecore now must
also include efl as well (for Efl.h).
2016-04-05 20:19:04 +09:00
Jean Guyomarc'h 3f6b62515b autotools: on OSX warn about prefix being /usr
With Apple's SIP, nobody is allowed to modify the system
(excepted /usr/local). If SIP is enabled, the installation
will just fail.
2016-04-02 22:25:11 +02:00
Mike Frysinger 833d87d4ef minor spelling fixes 2016-04-02 16:19:52 -04:00
Cedric BAIL 8330c20868 elementary: install elementary cxx pkgconfig file.
T3397
2016-04-01 13:55:11 -07:00
Cedric BAIL 196455c7a3 elementary: add config back in. 2016-03-30 14:15:15 -07:00
Daniel Kolesa 18c208c7f9 elua: add several file/dir utils used by doc gen
This will be expanded into a proper util lib later.
2016-03-29 13:23:58 +01:00
Cedric BAIL b6a81b6e7b elementary: start bringing back documentation support.
I didn't know preview generation was so slow and done completely serialy.
There is potential improvement here. Still need to kind of merge the
documentation into something readable.
2016-03-28 16:56:31 -07:00
Jean-Philippe Andre 0d41ad0c83 Emile: Move colorspaces to Efl.Gfx
A small hack to the toolchain allows us to generate enums with eolian
for use by Eet and Emile (internal or otherwise non-eo libraries).

Thanks to how BUILT_SOURCES works, the eo.h files required by Emile
will be generated before they are used.

This adds a partial dependency on eo for eet and emile:
 - package dependency
 - include dependency

There is no library link dependency.
2016-03-28 16:40:01 +09:00
Carsten Haitzler 453329916e efl: fix build when drm and fb are enabled .. and more
after elm merge build broke with things like this enabled. this fixes
that.

i'd like to bring up one issue here. ecore_drm is not a good
abstractionlayer. it requires libdrm and other headers from system and
it should have abstracted things so the system libdrm is hidden/not
needed for build (or even perhaps at runtime and this could be rolled
into ecore_drm). this is how ecore_x is... and ecore_fb etc.
2016-03-25 10:53:38 +09:00
Cedric BAIL c2c99ca742 elementary: add forgotten cmake and pkgconfig files. 2016-03-24 15:43:24 -07:00
Cedric BAIL ab4bfcf250 elementary: when building with backends, we apparently need to link with them to.
This make elementary break the modularity of the underlying layer. I haven't looked
at what is going on here, but basically if you have a wayland, a drm, whatever backend
turned on. You need elementary to be link against that ecore_* directly. This means
we are lacking in abstraction in Ecore_Evas and are dlopening to much library at
startup. This needs to be improved in the future.

I am guessing this is related to maybe DnD and C&P.
2016-03-24 14:31:58 -07:00
Mike Blumenkrantz 3b9f53317d BUILD: USE WL2 FOR ELM BUILD 2016-03-24 17:19:13 -04:00
Cedric BAIL b0df722819 elementary: initial compilation of the library only. 2016-03-24 11:23:10 -07:00
Cedric BAIL 91367f2c11 elementary: merge configure logic. 2016-03-23 16:00:47 -07:00
Nicolas Aguirre 290fc88e3f evas: add eglfs evas module.
EGL Fullscreen is a module intended to support many proprietary GL driver that come
with custom API to create framebuffer/window. This one is starting by covering Android
with libhybris/hwcomposer. Later on, it should be able to support easily the Raspberry Pi
driver.

At this moment this does not work properly. Activate it at your own risk ! Do not report
bug if you don't know what you are doing :-) A backend for Ecore_Evas will come later on
along with a patch for Ecore_FB to use libinput. Finally a few patch should hopefully
enable this backend to work and compile more easily (relying on proper header detection
and dlopen/dlsym for access to proprietary function).

You can read more about the goal of this patch by reading our wiki at :
https://phab.enlightenment.org/w/boot2efl/

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-03-18 10:17:49 -07:00
Stefan Schmidt bb0d161d8f Revert "eina: reintroduce additional support for eina sub directory compilation."
This reverts commit 1affc60d00.

This reverts one of three parts of the try to get sub directory
compilation back into eina. It breaks our distcheck though and I
talked to Cedric about it and he prefers to revert these as we might
need to go another route to bring this functionality back. Details
will come to the mailing list.
2016-03-08 00:18:08 +01:00
Stefan Schmidt 2ae2790604 build: do not use DEBUG when running with coverage
Do not force this on everybody who runs with tests=coverage. It makes stdout
impossible to follow as well as overruns the tests log file. If one wants to
run with -DDEBUG it can be set from your own CFLAGS.
2016-03-07 14:39:16 +01:00
Stefan Schmidt 5181a4d0ef build: fix linking with coverage enabled after osx fix
After aca6fc8c36 there have been problems when
linking when having coverage enabled.
AC_SEARCH_LIBS was used wrongly here. You need function name first and lib to
link against as second argument. The symbol name also has wto leading
underscores for me.
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld generated: undefined
reference to `__gcov_init'
2016-03-07 14:36:27 +01:00
Cedric Bail 1affc60d00 eina: reintroduce additional support for eina sub directory compilation.
This is still experimental and quite hacky. Let me know if you face issue.
It should just work with make -C src/lib/eina normally...
2016-03-03 15:10:59 -08:00
Tom Hacohen 800e760b7e Eo examples: remove another reference to the eo examples.
Thanks to _ami_ for reporting.
2016-03-03 11:50:44 +00:00
Jean Guyomarc'h aca6fc8c36 autotools: fix code coverage on OSX
OSX uses clang as a default compiler instead of gcc.
Gcov does not exist for clang, but clang has an alternative which
requires additional compilier and linker flags.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-02 13:56:42 -08:00
Stefan Schmidt a4785c66c3 configure: Switch to dev mode again. Merge window for 1.18 is now open. 2016-02-02 11:18:35 +01:00
Stefan Schmidt 745f708692 release: Update NEWS and bump version for 1.17.0 release 2016-02-02 10:25:12 +01:00
Stefan Schmidt 90455285ad release: Update NEWS and bump version for 1.17.0-beta3 release 2016-01-25 17:37:38 +01:00
Stefan Schmidt 50a6288084 build: fix some last corner cases for the hyphen dir being set correctly
Making sure here that we really define EVAS_DICTS_HYPHEN_DIR after all possible
changes have been made to it and we have the final result.
2016-01-20 14:17:01 +01:00
Stefan Schmidt ac45e9e9af build: sane default setting for hyphen dir
Without this compilation would fail with undefinded EVAS_DICTS_HYPHEN_DIR if
--with-xattr-tests-path was not given but hyphen enabled. Use a sane default
(/usr/share/hyphen/) to avoid this. Customization is still possible.
2016-01-20 11:20:16 +01:00
Stefan Schmidt d793dfc51c build: add hyphen as evas feature to be displayed in summary
Having it as a feature for evas here makes sure we can see if it is enabled
or disabled on the configure summary output.
2016-01-20 11:19:59 +01:00
Stefan Schmidt 23cceeeaaa release: Update NEWS and bump version for 1.17.0-beta2 release 2016-01-18 13:50:07 +01:00
Srivardhan Hebbar 46fd6307b2 emile: Added example program for base64 encoding and decoding.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3554
2016-01-14 11:28:40 +09:00
Stefan Schmidt d1609c2afe ecore_drm: make sure we include math.h and link against libm for floor()
When we introduced the usage of floor() in ecore_drm_evdev.c we forgot to
include math.h for it as well as linking against libm. This caused linking
failures on some systems while it still worked on others. Better fix it for
good.

Original patch by aerodynamik.

ref T2953
2016-01-13 17:06:39 +01:00
Stefan Schmidt 2d17f7894e build: check for dlopen() when we build the ecore_evas drm module
We use it to check for libglapi.so.0

Original patch by aerodynamik

ref T2953
2016-01-13 16:27:23 +01:00
Stefan Schmidt 8f02187d7a release: Update NEWS and bump version for 1.17.0-beta1 release 2016-01-11 12:32:25 +01:00
Jean-Philippe Andre 1f7e8d4253 configure: Fail if opengl=full is used with EGL
So many problems from people who customize their builds in this
incompatible manner.

There really should be only one configure option as we don't
support opengl+egl (although possible in theory) or gles without
egl. Keeping both to not break existing builds.
2016-01-11 15:46:24 +09:00
Romain Naour b4a0deebcc build: add efl as internal dep for eldbus
The build stop wile building eldbus-codegen:

  CCLD     bin/eldbus/eldbus-codegen
  CXXLD    bin/eolian_cxx/eolian_cxx
  CCLD     lib/ecore_x/ecore_x_vsync
  CCLD     lib/evas/common/libevas_op_blend_sse3.la
  CCLD     lib/evas/common/libevas_convert_rgb_32.la
  CCLD     lib/ecore_ipc/libecore_ipc.la
[...]/i686-ctng-linux-gnu/bin/ld: warning: libefl.so.1, needed by lib/ecore/.libs/libecore.so, not found (try using -rpath or -rpath-link)
lib/ecore/.libs/libecore.so: undefined reference to `efl_control_suspend_set'
lib/ecore/.libs/libecore.so: undefined reference to `efl_control_interface_get'
collect2: error: ld returned 1 exit status
Makefile:19135: recipe for target 'bin/eldbus/eldbus-codegen' failed
make[6]: *** [bin/eldbus/eldbus-codegen] Error 1

A dependency on libefl seems to be missing for eldbus.

Fixes T2718 and T2952

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
2016-01-07 09:16:06 +01:00
Stefan Schmidt 3397559914 build: if we have this option we at least need to make sure the docs are matching
Putting aside the question if we need or want this option we should make sure
people at least have correctly updated documentation. We switched the option to
..abb but not the docs.
2016-01-07 08:43:42 +01:00
Stefan Schmidt c27fd0fff5 build: add uuid as dependency for wayland build
The wayland build requires uuid which we need to make sure we have as dependency.
Not a real problem as all wayland supported systems should have it.

Based on a patch by aerodynamik. Thanks!

Fixes T2951
2016-01-06 20:01:52 +01:00
Stefan Schmidt 470e267f2d release: Update NEWS and bump version for 1.17.0-alpha1 release 2016-01-05 14:57:42 +01:00
Cedric BAIL 116fe3c65c ector: initial implementation of our own Ector GL backend. 2016-01-05 15:43:44 +09:00
Vincent Torri 47ed848a87 Evil: integrate the dlfcn code into Evil
This will remove some incompatibilities with other packages,
especially for win-builds
2015-12-29 22:13:58 +09:00
Felipe Magno de Almeida a3db1dddd3 efl-js: JavaScript Eolian binding
To configure efl sources with bindings to use in nodejs add ––with-js=nodejs in configure flags to generate node files

$ configure --with-js=nodejs

and compile normally with:

$ make
$ make install

To use, you have to require efl:

efl = require('efl')

The bindings is divided in two parts: generated and manually
written. The generation uses the Eolian library for parsing Eo files
and generate C++ code that is compiled against V8 interpreter library
to create a efl.node file that can be required in a node.js instance.

@feature
2015-12-23 23:59:40 -02:00
Jean-Philippe Andre 1f75cfc3cf Eina log: Disable backtrace by default for dev builds
The EINA_LOG_BACKTRACE thing is aimed at production environments,
so we can extract a backtrace from a log file post-mortem, but not
for continuous development of EFL itself.

I know this should make a few people happy.
2015-12-15 16:01:51 +09:00
Carsten Haitzler 44260b69e2 efl -break the "i really know what i'm doing" option to get attention
so .. more gentoo "i just copy and pasted and dont know what i'm
doing" land has hit again.
2015-12-11 09:51:00 +09:00
Chris Michael 0049b282cb ecore-wl2: Add pkgconfig file for Ecore_Wl2 library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael 7d855cff30 ecore-wl2: Link to wayland-server for ecore_wl2 library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael 6ba827629e efl: Add Ecore_Wl2 library to configure.ac
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Jean Guyomarc'h 3d5f1817e6 ecore_cocoa: copy and paste support
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-01 12:15:31 -08:00
Stefan Schmidt 08e60f0873 build: rename Eolian helper cmake file to mark it as input
Align it with the rest of our cmake support files. Adding it to configure as
well so the cmake file gets generate from the cmake.in

Without this I had distcheck failing with a missing target for it.
2015-11-25 16:46:04 +01:00
Daniel Hirt 40dfc4a45d Evas textblock: add support for hyphenation wrap style
We now support hyphenation in style. Use "wrap=hyphenation" to use this
wrap option. It will hyphenate based on explicit SOFT HYPHEN (&shy;)
placement in the text, and with the (optional) assistance of dictionaries
compatible with Hunspell's "hyphen" library.

This wrap mode favors breaking at hyphen positions in a word, over moving
the whole word to the next line. It will put an additional "-" at the
break position if it was hyphened.

Enabling the hyphen dictionaries is done by adding these configure
options:
  --enable-hyphen (requires Hunspell's "hyphen" library installed)
  --with-dictionaries-hyphen-dir=DIR (specifies the install location of
          the actual .dic dictionary files e.g. /usr/share/hyphen)

Note that dictionary files are expected to be in the form of "en_US.dic"
or anything that ends with it e.g. "hyph_en_US.dic" (this how they are
        named in Arch Linux).

@feature
2015-11-24 14:31:05 +02:00
Vincent Torri 74f7d20441 autotools: detect IPV6 support on Windows
The detection in configure.ac includes netinet/in.h, for linux, but this header
file does not exist on Windows. So guard this header.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-24 07:43:14 +01:00
Jean-Philippe Andre c4a2aa6389 Revert "efl: Fix configure help message for cserve"
This reverts commit e83fae6960.

cserve2 is enabled by default at build time. It's disabled by
default at runtime. Basically it's always built but never used.
2015-11-13 11:45:42 +09:00
Chris Michael e6e104ee73 efl: Fix configure help message for multisense
By default, multisense is disabled. The configure help message for
multisense was incorrect because it stated that multisense was enabled
by default

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-12 12:42:16 -05:00
Chris Michael e83fae6960 efl: Fix configure help message for cserve
By default, cserve2 is disabled. The configure help message for
cserve2 was incorrect in that is said cserve2 was enabled by default.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-12 12:39:45 -05:00
Tom Hacohen 0bebaed0ac Eo do: use the __thread directive when available to manage call stack.
This is faster in most cases, and to be honest, should be much faster
than it is. I don't understand why there's no better directive to mark a
variable as *really* important thread storage that is used all the time.
2015-11-09 11:43:04 +00:00
Stefan Schmidt 5e870cd388 configure: Switch to dev mode again. Merge window for 1.17 is open now 2015-11-09 11:45:24 +01:00
Stefan Schmidt 37a1e0112d release: Update NEWS and bump version for 1.16.0 release 2015-11-09 10:46:03 +01:00
Stefan Schmidt 03e8f38463 release: Update NEWS and bump version for 1.16.0-beta3 release 2015-10-26 03:21:46 +01:00
Stefan Schmidt 28bee67304 release: Update NEWS and bump version for 1.16.0-beta2 release 2015-10-19 11:36:51 +02:00
Stefan Schmidt 3a600030e0 release: Update NEWS and bump version for 1.16.0-beta1 release 2015-10-12 11:46:06 +02:00
Derek Foreman 7c6c1a081a ecore_x: Remove XPrint usage
Summary:
Xprint has been deprecated since 2008.

It's recently (August 2015) been removed from debian.

Reviewers: zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3150
2015-10-06 13:13:01 -04:00
Stefan Schmidt ee4a63ccaa release: Update NEWS and bump version for 1.16.0-alpha1 release 2015-10-05 16:16:48 +02:00
Cedric BAIL d00deaaef3 eio: add kevent backend.
Summary: Implement basic kqueue/kevent backend for eio. When it comes to tracking directory changes, this backend falls back to the polling one.

Test Plan: Ran Enlightenment for several days and some other EFL apps without any issue.

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Projects: #e_on_freebsd, #efl

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-09-22 00:13:38 +02:00
Thomas Guillem afe6f5c3a1 emotion: add libvlc module
Summary:
Everything is implemented except visualization, mouse events and some
EMOTION_EVENT. Video can output RGBA, YUY2, YV12 or I420.

About the video sink: this emotion module use libvlc callbacks:
libvlc_video_set_format_callbacks and libvlc_video_set_callbacks. It may be
temporary. Indeed, an other solution is to add an Evas module inside vlc. But
this vlc module would need to link with emotion in order to use
_emotion_frame_new and _emotion_frame_resize private functions. I didn't
succeed to output a frame without these private functions: see
15daff4d3f

List of /* FIXME */:

 - Visualization not implemented since there is no API (for now) in libvlc.

 - Mouse events not implemented since there is no API (for now) in libvlc.

 - Some EMOTION_EVENT are not handled.

 - SIGSEGV in evas_gl_common_texture_nv12_update with
   EVAS_COLORSPACE_YCBCR420NV12601_PL colorspace.

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-09-21 23:19:20 +02:00
Carsten Haitzler 5625aac4d4 eina thread - add wrapper for setting thread name and fix affinity
added support to set thread names for debugging. this wraps the gnu
extension to set a thread name of up to 15 chars (16 inc nul byte).
eina_thread_name_set() is the new api.
@feature

in the process i found the autofoo wasnt enabling cpu affinity support
at all in reality, so i had to fix that at the same time.
2015-09-09 12:45:47 +09:00
Stefan Schmidt 99c0c1cb62 build: add efl as internal dep for eio
Thanks to Adrien Nader for the report and fix.
2015-09-07 10:43:35 +02:00
Marcel Hollerbach 46e9eed2c4 build: replace libsystemd-{daemon, journal} with libsystemd
Summary:
since all the libs got merged into libsystemd in 209, we can just check
for libsystemd

Reviewers: cedric

Subscribers: stefan_schmidt, morlenxus

Differential Revision: https://phab.enlightenment.org/D2984
2015-08-25 10:52:47 +02:00
Mike Frysinger 05b25e19e2 fix spurious quotes in msg output 2015-08-07 12:08:09 -04:00
Mike Frysinger f33a46ce17 use SDL2 everywhere
Some files were still including SDL-1 headers even though we only link
against SDL2 libs.

URL: https://bugs.gentoo.org/551882
Reported-by: Barnaby <badbit@me.com>
Reported-by: Romain Naour <romain.naour@openwide.fr>
2015-08-07 12:01:44 -04:00
Stefan Schmidt 086a501be6 configure: Switch to dev mode again. Merge window for 1.16 is open now 2015-08-04 11:47:22 +02:00
Stefan Schmidt c3cce30eee release: Update NEWS and bump version for 1.15.0 release 2015-08-04 10:52:34 +02:00
Nicolas Aguirre da919e609e Revert "[HACK] configure.ac: Forces linking with -lEGL"
This reverts commit 9f8f64b697.
2015-08-03 14:35:00 +02:00
Nicolas Aguirre 2415d8d352 Revert "configure.ac: Don't check for Xprint extension. cf:"
This reverts commit 9e0cd04cdc.
2015-08-03 14:34:58 +02:00
Nicolas Aguirre d990a7b12a Revert "Adds support of the eglfs module in the autotools config"
This reverts commit 3b2074aa71.
2015-08-03 14:34:57 +02:00
Florent Revest 9f8f64b697 [HACK] configure.ac: Forces linking with -lEGL 2015-08-03 14:16:35 +02:00
Florent Revest 9e0cd04cdc configure.ac: Don't check for Xprint extension. cf:
https://github.com/openembedded/meta-oe/blob/master/meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch
2015-08-03 14:16:35 +02:00
Florent Revest 3b2074aa71 Adds support of the eglfs module in the autotools config 2015-08-03 14:16:35 +02:00
Chris Michael ac9b5a0afc efl: Bump required wayland library versions
Summary: As a lot of functionality has changed in the relevant efl/e
wayland codebase, we should bump the required wayland library versions
as we are now dependant on updated wayland libraries.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-28 12:53:20 -04:00
Daniel Juyung Seo af46bc4999 release: Update NEWS and bump version for 1.15.0-beta3 release 2015-07-28 01:20:50 +09:00
Daniel Juyung Seo 946891e15d release: Update NEWS and bump version for 1.15.0-beta2 release 2015-07-21 08:09:31 +09:00
Daniel Kolesa 573058c009 autotools: do NOT need --enable-i-really- for disabled libeeze on non-linux 2015-07-15 14:17:18 +01:00
Daniel Juyung Seo d639d25b88 release: Update NEWS and bump version for 1.15.0-beta1 release 2015-07-13 23:31:24 +09:00
Daniel Juyung Seo 3317dfb4c6 release: Update NEWS and bump version for 1.15.0alpha1 release 2015-07-09 03:35:35 +09:00
Carsten Haitzler 5abfefe99e efl - efreetd service move from dbus session bus to ecore ipc
this fixes warnings about no efreet dbus session bus in non session
environments as brought up on the mailing lists with:

Subject: Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: unset
efreet cache update flag to prevent dbus connections

this moves all of efreetd client and server to ecore ipc, with client
auto-launching efreetd if not found as a service and trying for up to
500ms to connect. efreetd times out on last connection or no
connections after 10sec so it wont hang around forever if not in use.
it seems to work in my testing, so let me know if there is an issue.

@fix
2015-06-24 19:28:17 +09:00
Seunghun Lee 8b62177561 ecore-buffer: Add ecore_buffer library to EFL.
Summary:
Ecore_Buffer is abstraction of graphic buffer.
it supports backend of shm, x11_dri2 and x11_dri3 for now,
and this library also provides method to share buffers between processes.
Ecore_Buffer_Provider and Ecore_Buffer_Consumer is for this, sharing buffer.
provider draws something in to Ecore_Buffer, and consumer receives and displays it.
the binary, bq_mgr is a connection maker for buffer provider and consumer.
it can be included Enlightenment as a deamon later.

@feature

Test Plan:
1. Configure with --enable-ecore-buffer and --enable-always-build-examples to build examples.
2. Run bq_mgr, it connects consumer and provider.
3. Run ecore_buffer_provider_example and ecore_buffer_consumer_example

Reviewers: lsj119, gwanglim, cedric, zmike, jpeg, raster, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2197
2015-06-22 10:31:42 -04:00
Cedric BAIL a312e304bf edje: use efreet for cache directory get. 2015-05-14 18:41:47 +02:00
Carsten Haitzler 664708b817 eina - start a much improved eina dbug infra and have eina_log use it
this makes eina_log give bt's for all error logs. this is very useful
in finding just where a problem happens. the problem int he past is
that these have not been too useful due to backtrace_symbols() being
"useless". thus use the eina_btlog tool i added too.

also started infra for a debug monitor that can use the backtrace
infra to collect runtime stats ANY TIME for a process (don't need to
run under a debugger).

@feat
2015-05-08 14:13:17 +09:00
Tom Hacohen ba77a837a3 Revert "Static deps: Move unibreak to be an external dep."
Apparently the Debian package, while up to date, for some reason does
not ship the .pc file (according to q66).
According to Stefan, Fedora doesn't even have libunibreak, but only the
previous naming and old version.

Will have to wait a few years more. :(

This reverts commit a2a9f33802.
2015-05-07 10:54:26 +01:00
Tom Hacohen a2a9f33802 Static deps: Move unibreak to be an external dep.
We need any version of libunibreak. The first one has been released in mid 2012.
Even slow distros like ubuntu already have an LTS out with a good enough
version, so I consider this enough to remove the maintenance cost.
This has been discussed on IRC.

@feature
2015-05-07 10:03:26 +01:00
Yury Usishchev 71eec44ccc evas: enable NEON-optimized code for aarch64.
Summary:
Add new define, BUILD_NEON_INTRINSICS to control whether NEON inline code or
NEON intrinsics should be built.

GCC NEON intrinsics can be built both for armv7 and armv8. However NEON inline
code can be built only for armv7.

@feature

Reviewers: raster, stefan_schmidt, cedric

Subscribers: cedric, stefan_schmidt

Projects: #efl

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:08 +02:00
Jean Guyomarc'h 62e29b39f4 ecore_audio: integrate Apple's CoreAudio to play sounds on OS X.
Summary:
Ecore_Audio now supports Apple's CoreAudio to play sounds read by libsndfile.
edje_multisense integrates this new feature to enable PLAY_SAMPLE on OS X.

Test Plan:
Compiles, links and installs fine on OS X.
Run terminology and elementary_test to hear sound played on user input.

Reviewers: raster, naguirre, cedric

Reviewed By: cedric

Subscribers: plamot, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07 09:53:07 +02:00
Stefan Schmidt 929c8687f2 configure: Switch to dev mode again. Merge window for 1.15 is open now. 2015-05-06 15:59:23 +02:00
Stefan Schmidt b43ff49525 release: Update NEWS and bump version for 1.14.0 release 2015-05-06 15:06:07 +02:00
Romain Naour 4351f0fa86 autotools: add --disable-libeeze
When cross-compiling, we only want to build edje_cc, embryo_cc
and eet binaries for the host before starting the build for the
target.

This patch allows to disable libeeze in order to shorten the
build time but most of all remove the dependency on libudev.

In normal case it's not recommended hence a warning.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28 11:37:11 +02:00
Stefan Schmidt 259c2e53c5 release: Update NEWS and bump version for 1.14.0-beta3 release 2015-04-27 14:24:53 +02:00
Stefan Schmidt b81b29eba2 release: Update NEWS and bump version for 1.14.0-beta2 release 2015-04-20 12:17:35 +02:00
Stefan Schmidt ae8afa2748 release: Update NEWS and bump version for 1.14.0-beta1 release 2015-04-13 15:51:10 +02:00
Chris Michael 70bbfb4b93 efl: Remove dead configure options for drm-hw-accel
Summary: This option Was added originally so that software drm and
hardware drm could be done in the same 'engine'. Since we have drm and
gl_drm now as separate engines, this option is no longer needed.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-12 21:13:18 -04:00
Stefan Schmidt 2bbdc17bea release: Update NEWS and bump version for 1.14.0-alpha1 release 2015-04-07 13:50:38 +02:00
Srivardhan Hebbar 3f35bc341a ecore_con: add tests case related to HTTP post and ftp upload.
Summary:
Made http and ftp url configurable via configure and also added test cases for ftp upload and http post.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: Sergeant_Whitespace, cedric

Subscribers: Sergeant_Whitespace, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-06 16:37:52 +02:00
Felipe Magno de Almeida 7928609a29 efl: move emodel to be an efl interfaces. 2015-04-05 16:23:38 +02:00
Larry Jr 05eecf5c8f emodel: Created Emodel and Eio_Model. 2015-04-05 15:19:45 +02:00
Cedric BAIL e530fc521c ector: actually depend on math library. 2015-04-03 16:33:56 +02:00
ChunEon Park da1cf1a993 efl: actually depend on math library. 2015-04-03 16:33:54 +02:00
Cedric BAIL 1be99f87c7 ector: reorder compilation to first do Ector then Evas. 2015-04-03 16:22:24 +02:00
Cedric BAIL fcbc29f85e ector: move dependency around. Evas now depend on Ector. 2015-04-03 16:21:57 +02:00
Cedric BAIL 5e75d607c6 ector: initial introduction.
Idea for this library is to become a retained mode drawing library that use
Eo/Eolian for its API and take a lot of the good design from Enesim by
Jorge Zapata and Jose Gonzalez (http://enesim.org/).
2015-04-03 16:14:56 +02:00
Jean-Philippe ANDRE f30c0ea399 Build: Fix horribly slow compilation times
Cedric, our dear b0rker, introduced changes in the CFLAGS
generation when merging Emile. While the changes seem to make sense
at first sight (add the -I flags for the lib our new package depends on),
they were actually a terribly bad workaround.

The number of CFLAGS args would grow exponentially, slowing down libtool
a lot, which is known to be slow when it has a lot of arguments.
2015-03-25 11:56:44 -07:00
ChunEon Park c93b50b239 eo: fix wrong check libaddr dependency.
move checking libaddr to eo step to valid it.
2015-03-21 13:35:14 +09:00
Jean-Philippe Andre 841890a7b6 cmake: Add files for Emile, the serial killer 2015-03-17 19:29:14 +09:00
Cedric BAIL 4ca8bfd15c emile: add JPEG support. 2015-03-17 09:58:18 +01:00
Cedric BAIL 8cac4ce5e7 evas: use Emile to decode TGV. 2015-03-17 09:58:18 +01:00
Cedric BAIL 0f5184bbe4 build: display crypto system as a feature of Emile. 2015-03-17 09:58:18 +01:00
Cedric BAIL 31a3a5afff emile: with Emile and as long as you don't use any cipher, it will be just fine. 2015-03-17 09:58:18 +01:00
Cedric BAIL f9dd639a92 eet: use Emile instead of Zlib and LZ4 directly. 2015-03-17 09:58:17 +01:00
Cedric BAIL cc88832353 ecore_con: depend on emile for initializing crypto library. 2015-03-17 09:58:17 +01:00
Cedric BAIL 0b04186a7f emile: initial introduction of Emile.
The intent of Emile is to be the common layer for serialisation, compression
and ciphering. It will expose the library we currently use internally to an
easier use from the outside (like gcrypt and lz4). It should improve portability.
Instead of pushing JSON, XML and what's not to Eina, I do think that they will
fit better in Emile.

As for the naming of Emile, you will need to be French and say :
"Un quoi ?" "Un serializer !"

Regarding why it is put there in the stack. Right now there is two users of
compression (eet and terminology), two users of cipher library (eet and ecore_con)
and a few handful of user for serialization (eina, eet, efreet, ecore_con, ...).
So the choice was quite simple, it needed to be below Eet. Now it could have been
on top of Eo or integrated into Eina.

One of the use case I am thinking of, is to compress Eo object when a canvas get
hidden/minized. For that it require Eo to use that library and it can't be a higher
level object. And with current implementation of Eo it is perfectly possible to
implement such idea. So not at Eo level.

As for Eina, I am starting to think it is getting to much things in its namespace.
I do believe that infact Eina_Simple_XML and Eina_File should after all have landed
in their own library. That's why I am putting the current logic in a new library.
It is going to expand, I want it to provide an few SAX like parser for JSON,
Eet_Data and protobuf with also an API like Eet_Data to directly feed those value
into a C structure without using a DOM at all. It would also be the right place
to experiment and benchmark for a new Eet_Data format that could be more efficient
to use.

So at the end, and due to how I see things going and being used, I do think it
is better of in its own library.
2015-03-17 09:58:17 +01:00
Cedric BAIL 0f13052b6a efl: autotools - move Eet section after Eo. 2015-03-17 09:58:17 +01:00
Cedric BAIL cf52036667 Revert "Add --disable-gui."
This reverts commit 3ed4f74590.
2015-03-17 09:58:17 +01:00
Carsten Haitzler c0cbcd9802 efl - bring back symlink complaint regardless of env vars
@fix
2015-03-17 12:05:04 +09:00
pierre lamot d958afd9fd eio: add OSX implementation of eio_monitor based on FSEvent
this patch adds an implementation of eio_monitor based on FSEvent
for OSX. This implentation has some limitations compared to inotify
implementation. Folowing events are not detected:
  - EIO_MONITOR_FILE_CLOSED
  - EIO_MONITOR_SELF_RENAME
  - EIO_MONITOR_SELF_DELETED

It should be noted that some events that happend before the call
to eio_monitor_add can be catched. This is why sleep timers have
been added in the test suite.

Tests have been added to check uncovered scenarios.

some things might still be improved:
  - self_deleted events for files might be handled by checking the
    file_name manually

  - self_deleted events for directories might be handled by setting
    kFSEventStreamCreateFlagWatchRoot. I've noticed by doing so that
	a lot more unwanted event are raised

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-12 07:43:59 +01:00
vivek a6b5ee94f0 eina: add test cases for eina_xattr functions.
Summary:
Add eina_test_xattr.c file for testing eina xattr functions and added test
cases for eina_xattr_set and eina_xattr_fd_set functions. Those tests need
a directory where the underlying file system allow xattr. Usually /tmp is
running on tmpfs that doesn't support today xattr. This test won't be run
if we are not provided with an existing proper directory.

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-06 20:19:21 +01:00
Marcel Hollerbach a950371b10 Eio: added cmake file
Summary: Added cmake config files for Eio

Test Plan: install it and test it with a app with needs eio

Reviewers: cedric, tasn

Reviewed By: tasn

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2079
2015-03-04 15:05:42 +00:00
Stefan Schmidt 5f1ea9403f ecore_x/xcb: Remove xcb-xprint code to get the root window list and use fallback
This was the only user of xcb-xprint and we already have a fallback in place for
it. I talked to Chris about it and he was fine with it before his morning coffee.
More serious this should be ok and we can get rid of this part which starts to
make trouble in distros by now. E.g. gentoo is disabling it completely and many
others just ship upstream which means no pc file. Arch seems to patch it in but
we are on the safe side with just using the fallback.
2015-02-27 15:19:34 +01:00
Stefan Schmidt ea0cd3d7c3 build: Remove pkg-config for xcb-xprint as the pc file is now longer shipped.
xcb no longer ships the xcp-print.pc file and thus pkg-config is not able to
detect it. Some distros might patch over it as the source files seem still to
be shipped but we cannot rely on this.
http://lists.freedesktop.org/archives/xcb/2013-November/008907.html

As the above commit mentions the xprint support was actually removed from the
Xorg server in 2008 (1.11 release) which means none of our code actually has
any server side it can talk to for some years now. :) Our xcb-xprint code is
actually ifdef'ed already so we might want to remove it alltogether.
2015-02-27 14:22:46 +01:00
Stefan Schmidt 52c48cfc21 ecore/drm: Add support for changed libinput API since 0.8
We check for libinput 06 or higher. In version 0.8 they got an API break
(hopefully the last one before 1.0) which we did not support so far. I have
seen libinput 0.9 used on gentoo and newer ubuntu systems so we should
definitely support them.

Adding a LIBINPUT_HIGHER_08 define to check for this. So far we have only one
location where we need it. Once there is a libinput 1.0 we should remove the
support for older versions.

http://lists.freedesktop.org/archives/wayland-devel/2015-January/019383.html
2015-02-12 18:06:12 +01:00
michelle legrand bbba9198db eolian: add right extension to eolian_gen if we are on Windows
In previous version of this commit we checked if the _WIN32 macro was
defined. But now I am using EXEEXT from autotools to get
eolian_gen extension.

@fix
2015-02-11 17:03:37 +01:00
Stefan Schmidt f9548fa7da configure: Switch to dev mode again. Merge window for 1.14 is open now. 2015-02-09 14:08:14 +01:00
Stefan Schmidt b5d48869bc release: Update NEWS and bump version for 1.13.0 release 2015-02-09 13:12:51 +01:00
Stefan Schmidt 56180ee758 release: Update NEWS and bump version for 1.13.0-beta3 release 2015-02-03 09:48:45 +01:00
Stefan Schmidt f9e4bacfc4 release: Update NEWS and bump version for 1.13.0-beta2 release 2015-01-26 12:50:54 +01:00
Stefan Schmidt 862e17140d release: Update NEWS and bump version for 1.13.0-beta1 release 2015-01-19 14:48:28 +01:00
Stefan Schmidt cc3f38c1f1 configure: Makre sure the tarballs are marked as alpha1 2015-01-12 13:30:20 +01:00
Stefan Schmidt afde6f178d release: Update NEWS and bump version for 1.13.0 release 2015-01-12 13:11:11 +01:00
Stefan Schmidt 446897bf3d configure: Fix typo in systemd-login check 2014-12-10 14:52:58 +01:00
Chris Michael a04e026752 ecore-drm: Add libinput dependency check
Summary: ecore-drm will now require libinput for handling input
devices, so this commit adds a configure check for libinput

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-09 09:58:27 -05:00
Seunghun Lee b10ab1a86f ecore-drm: added drm launcher that is allow to determine whether to launch with logind or root privilege.
Summary:
- allow to launch drm backend without systemd-logind with root privilege.
- allow to open drm device node via logind, not directly open it, in case exist systemd-logind.
- fixes issue that couldn't switch session, because ecore-drm couldn't drop master to drm device with no permission. (allow to switch session appropriate.)

Reviewers: gwanglim, devilhorns

Subscribers: torori, cedric

Differential Revision: https://phab.enlightenment.org/D1704
2014-12-09 09:36:42 -05:00
Daniel Kolesa 8e1bccde78 elua: add elua.pc to configure.ac and add cmake definitions for elua 2014-12-08 16:12:01 +00:00