Commit Graph

9 Commits

Author SHA1 Message Date
Carsten Haitzler 2bcb4105e1 pdf loader - check return for rmdir
fixes CID 1361218
2016-08-06 15:59:23 +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
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
Marcel Hollerbach 2001907bfd poppler: remove enum name
otherwise errors like T3896 will happen.

This fixes T3896.
2016-06-15 15:46:00 +02: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
Cedric BAIL 6b5ed1b711 evas: integrate evas generic loaders into our single tree build system. 2016-06-02 11:35:05 +01:00