Commit Graph

806 Commits

Author SHA1 Message Date
Jean Guyomarc'h 0ced470e39 ecore_con: fix compiling on OSX and BSD
TCP_CORK is Linux only. TCP_NOPUSH is supposed to
do the same thing than TCP_CORK, but on BSD (including
Mac OS X).

We now check for the existance of TCP_CORK or TCP_NOPUSH,
and use the right option. If none exist, cork_{set,get}
will just fail.
2016-08-23 20:28:44 +02:00
Gustavo Sverzut Barbieri e7df1a7483 efl.net: socket, server and dialer for TCP.
Efl.Net.Server defines how to accept new connections, doing the
bind(), listen() and accept() for protocols such as TCP.

Efl.Net.Dialer defines to to reach a server.

Both are based on Efl.Net.Socket as communication interface that is
based on Efl.Io.Reader, Efl.Io.Writer and Efl.Io.Closer, thus being
usable with code such as Efl.Io.Copier.

The Server will emit an event "client,add" with the established
Socket, which is a child and can be closed by both the server or the
user.

The Dialer extends the Socket and allows for creating one given an
address, that will be resolved and connected.

TCP is the initial implementation so we an validate the
interfaces. UDP, Unix-Local and SSL will come later as derivate
classes.

The examples are documented and should cover the basic principles:

 - efl_io_copier_example can accept "tcp://IP:PORT" and will work as a
   "netcat", can send data from socket, file or stdin to a socket,
   file, stdout or stderr.

 - efl_net_server_example listens for connections and can either reply
   "Hello World!" and take some data or work as an echo-server,
   looping back all received data to the user.

More complex interactions that require a "chat" between client and
server will be covered with new classes later, such as a queue that
empties itself once data is read.
2016-08-22 18:25:14 -03:00
Jean Guyomarc'h 26a26f2304 eina: fix use of strerror_r()
So, first, the wrong strerror_r() was detected on
Mac OS X. Instead of using a complex set of macros
to try to detect which strerror_r() to use, when
it is defined, let the autotools handle that clerverness
for us.
2016-08-22 20:02:02 +02:00
Stefan Schmidt 4bbe8733c4 configure: Switch to dev mode again. Merge window for 1.19 is now open. 2016-08-11 17:54:59 +02:00
Stefan Schmidt 105eb1aca2 release: Update NEWS and bump version for 1.18.0 release 2016-08-11 17:06:30 +02:00
Hermet Park 77d2e0cb95 efl: fix a neon build break.
We found a some build break problem due to a build system.

In efl configuration, our efl configure enables neon if it's available,
but neon gonna partially turned off on evas compilation if the build system
has a non neon CFLAG option (ie, mfpu=vfpv..). In the end, neon is partially enabled
and it turns out a build break.

It's non-sense but we can't allow this breakage.

There is no way to ignore build system option nor override our neon option perfectly,
so, Let efl package ruled by build system overall.
2016-08-04 15:39:51 +09:00
Carsten Haitzler 1f48ce5f6b emotion generic - vlc - make it off by default as 2 video bends is silly
as per bug. requiring by DEFAULT 2 video back ends is rather
rediculous. pick one and the others are optional. you could argue xine
now is barely worth it, but it's stable and works and has proven to be
not any real pain.

gst1 is a more optimal and far more complete/featured backend that the
vlc generic one anyway. vlc generic has the bonus of out-of-process,
but gst1 is pretty stable (unlike the 0.1 backend), so let's not make
peolpe install 2 video backends (or possibly 3 or more) just to build
efl out of the box.

this fixes T4284
2016-08-04 08:04:57 +09:00
Cedric Bail 7925c56ec9 emotion: fix autodetection of emotion generic vlc player module.
T4273
2016-08-03 12:01:17 -07:00
Stefan Schmidt 716be1bae4 release: Update NEWS and bump version for 1.18.0-beta2 release 2016-08-02 22:21:18 +02:00
Cedric BAIL dd1d3f0d2d autotools: since it has been broken for some times and nobody noticed, let's remove per directory support. 2016-08-01 13:36:47 -07:00
Carsten Haitzler 1d0b500fa8 edje - reduce memory footrpint by dlopening ephysics on demand
this saves about another 80Kb or so in dirty pages by only loading
ephysics when needed. This removed ephysics and bullet library dirty
pages from the process space. this is another patch to address T4227.

@fix
2016-08-01 19:11:39 +09:00
Carsten Haitzler d27f5fcab7 ecore_audio - save 232k of real RAM by dlopening depednecies
so libpuls and libsndfile suck in dependencies. they suck in so much
that by the time linking is done we've written to about 230kb of
PRIVATE MEMORY as dirty pages in symbol tablesm global veriables etc.
etc. - this is just horrible. especially if an app never makes any
sound... it's just wasted memory. this stuff is invisible to normal
memory debug tools. so this begins to address things. please see
T4227. my numbers now put me at:

1780Kb total dirty writable mapped from library file pages. down from
2012Kb.

This fixes some memory bloat reported in the above ticket, but there
is more to fix for sure.

@fix
2016-08-01 14:41:15 +09:00
Cedric Bail 3a9d43ff31 eina: add back option lost at some point for debugging. 2016-07-28 21:03:12 -07:00
Stefan Schmidt 1af18a8c85 release: Update NEWS and bump version for 1.18.0-beta1 release 2016-07-26 17:18:24 +02:00
Carsten Haitzler 287c543ea3 efl - when evas generic loaders merged the gst loader was missed. fix
this fixes the missing gst loader from generic loaders.
2016-07-25 15:21:45 +09:00
Stefan Schmidt 556082d2e2 release: Update NEWS and bump version for 1.18.0-alpha2 release 2016-07-23 12:02:52 +02:00
Stefan Schmidt 21b22edee6 release: Update NEWS and bump version for 1.18.0-alpha1 release 2016-07-18 20:50:38 +02:00
Jean-Philippe Andre 54e515bdca config: Add support for profiles and save
Most of these functions actually shouldn't be used by
standard applications. Some are hidden behind @protected.

flush_all() and reload() have not been implemented, on
purpose (save() should flush, and reload is automatic).
2016-06-24 17:10:21 +09:00
Vincent Torri de0d69ea2d Disable XCF module on Windows
Summary: This fixes compilation on Windows: timeout.c is using SIGALRM which is unavailable on Windows

Test Plan: compilation

Reviewers: cedric, jpeg, stefan_schmidt

Differential Revision: https://phab.enlightenment.org/D4058
2016-06-16 15:59:28 +02:00
Cedric Bail d96c52bc30 evas: disable generic loader on Windows.
Generic do use a few primitve that require development, testing and
tunning on Windows (Namely the alarm and shm part).
2016-06-15 10:11:36 -07:00
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