Commit Graph

30 Commits

Author SHA1 Message Date
Vincent Torri 01b987df59 make mman.h private
Summary:
integrate mman.h to make Evil private to the EFL, as mman.h does not exist on Windows. After a discussion with raster, i include sys/mman.h only on non Windows platform.

One issue, though, is that src/modules/emotion/generic/Emotion_Generic_Plugin.h has inlined functions using mmap()

Test Plan: compilation on Windows

Reviewers: cedric, raster, zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9542
2019-08-19 09:55:13 -04:00
Carsten Haitzler b2ab0a7788 evas - loader - rsvg generic - install svg symlink
svg loading broke as we didnt have the right symlink installed after a
binary file name change. this fixes that.
2019-08-18 09:57:42 +01:00
Hermet Park ee25c66eff build: Seprate same svg extension loaders between image and vector.
Currently, vector and image support svg format via different rountine.
Our vector loader implemenst on its own drawing mechanism for svg,
but in case of image loader, it depends on rsvg library.

By Comparing both, our vector svg is winner at performance wise.
we can remove rsvg routine later.

For now, these two loader names are conflicted, we should separate their names
with svg and rsvg.
2019-08-06 20:57:46 +09:00
Vincent Torri f7c560c311 replace hton and ntoh family functions with ones defined in eina
Summary: This fixes especially the execution of edje_cc on Windows

Test Plan: execution of edje_cc

Reviewers: cedric, raster

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7834
2019-02-01 14:25:35 +00:00
Wonki Kim 2c2f93dc1a meson: excludes stuffs related with gst if gst is disabled
if a option for gstreamer is disabled,
stuffs related with gstreamer should not be compiled.
this patch excludes the stuffs.
Differential Revision: https://phab.enlightenment.org/D7566
2019-01-10 10:57:42 +01:00
Vincent Torri 01c756a851 evas - generic loaders - use eina properly so windows build works 2018-11-02 13:54:40 +00:00
Carsten Haitzler a6b9a05007 build - meson - fix install of generic loaders for evas to be exes
they were shared libs..... oops. :)
2018-10-18 18:38:58 +01: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
Carsten Haitzler 376b799c65 evas generic loader ps - fix warning about printf format mismatch type
it's right. types are uint but format exects unsigned long. fix.
2017-02-12 00:29:50 +09:00
Cedric BAIL 8f1c071d6a eina: rename EINA_{FLT,DBL}_CMP to EINA_{FLT,DBL}_EQ. 2017-01-06 15:58:46 -08:00
Cedric BAIL 3751e29a9b xcf: fix float comparison in xcf generic loader. 2016-12-19 16:33:46 -08:00
Carsten Haitzler 2bcb4105e1 pdf loader - check return for rmdir
fixes CID 1361218
2016-08-06 15:59:23 +09:00
Carsten Haitzler 29fce42900 evas generic gst loader - handle fwrite return value for coverity
fixes CID 1360467
2016-07-29 07:57:17 +09: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
Carsten Haitzler e8c396a6e2 evas generic loaders fix timeout on windows where no alarm exists
this uses a thread - to do the same. based on code vtorri put in T3790

this should fix T3790
2016-07-14 14:23:49 +09:00
Chris Michael e3b00d37b7 evas-generic: Fix gcc wanring
Gcc suggets parens around comparison value. Silence gcc warning.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-07-13 10:06:12 -04:00
Chris Michael ea7fe4efdc evas-generic: Fix gcc warning of incorrect format
Gcc warns us about using %d here when the argument is unsigned long.
Fix format params.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-07-13 10:05:03 -04:00
Jean-Philippe Andre 3ad848f5c5 evas: Fix some CID in generic loaders
Check the return value of fwrite. There is nothing
sensible to do as the receiver needs to handle the error
gracefully.

CID 1356613, 1356614, 1356615, 1356200
2016-07-13 15:21:06 +09:00
Jean-Philippe Andre 0368adfcba pdf: Tentative implementation of mono support
No idea if it's correct, since I have no sample.
Also, simplify ARGB code.
2016-07-13 15:06:42 +09:00
Jean-Philippe Andre db27a6b940 pdf: Fix page index and
The module was not able to load any PDF with a single page (since
the index starts from 0, not 1 as it was assumed).

Also, fix a CID where Coverity was very very right.

Fixes CID 1356608:

The operaton may have an undefined behavior or yield to an
unexpected result.

In poppler_load_image(int, int): A bit shift operation has
a shift amount which is too large or has a negative value.
2016-07-13 15:04:47 +09:00
Carsten Haitzler 3c5ab2b46e evas generic loader raw - fix small coverity complaint
technically we dont handle a failed fwrite to stdout according to
coverity, but this is harmless as it doesnt matter if it fails - the
owner process cares. slave does not. silence CID 1356615
2016-07-09 12:13:40 +09:00
Marcel Hollerbach 2001907bfd poppler: remove enum name
otherwise errors like T3896 will happen.

This fixes T3896.
2016-06-15 15:46:00 +02:00
Vincent Torri 91282b61cb geneirc loader build patches for windows
from T3790 - xcf.diff
2016-06-15 14:54:11 +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
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
Davide Andreoli e073ae4fac gitignore++ 2016-06-05 12:37:08 +02:00
Carsten Haitzler c3440ff947 fix warning in build with uninit variable in generic loaders for xcf 2016-06-03 18:09:12 +09:00
Carsten Haitzler 6ad484be28 evas generic svg loader - dotn continue if rsvg handle is null
should avoid complaints of null rsvg handles
2016-06-02 22:31:53 +09: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