Commit Graph

36 Commits

Author SHA1 Message Date
Vincent Torri 61458db565 * Include winsock2.h in eet_image.c for htonl definition on Windows.
* Fix Visual Studio project files

SVN revision: 44249
2009-12-07 17:13:37 +00:00
Vincent Torri 35bd81e535 * add amalgamation option to eet (disabled by default,
as no real gain is seen (compilation time, size))
 * add namespace for words_bigendian, to make amalagamation happy
 * don't redefine macros, for the same purpose


SVN revision: 43409
2009-11-02 08:41:43 +00:00
Vincent Torri c8702ccfa6 Fix compilation on OpenBSD (bug #251). Patch by eumel.
SVN revision: 39626
2009-03-22 13:37:17 +00:00
Chidambar Zinnoury 0e36edbdfc Add some missing unused flags.
SVN revision: 38987
2009-02-09 20:46:12 +00:00
Chidambar Zinnoury 5b219a063c Dead assignment. Reported by CLang.
SVN revision: 38970
2009-02-08 10:19:52 +00:00
Cedric BAIL 32dbc61034 Remove dead assignment.
SVN revision: 38351
2008-12-30 11:01:36 +00:00
Cedric BAIL a1a421f5ca Remove dead code detected by llvm static analyser.
SVN revision: 38343
2008-12-29 10:47:18 +00:00
Cedric BAIL 41a6b9d484 Check decompression error. Potential bug detected by llvm static analyser.
SVN revision: 38341
2008-12-29 09:39:03 +00:00
Cedric BAIL 0f36b190f1 Add crypto support to eet.
GNUTLS support by Arnaud de Turckheim <quarium@gmail.com>.


SVN revision: 37603
2008-11-13 16:31:13 +00:00
Cedric BAIL 2127e5c551 Remove more compiler warning.
SVN revision: 36614
2008-10-13 11:51:10 +00:00
Cedric BAIL 27042fd8fc Recommit Joerg Sonnenberger patch with more fix.
When writing jpeg scanline, it wouldn't fail with FILE* as an output, but will
with a data buffer. So we need to re run the jpeg routine on this scanline. As I
don't know if the buffer is always preserved during two calls to the jpeg
library, I am copying it again.



SVN revision: 35804
2008-09-03 11:04:37 +00:00
Carsten Haitzler 6ffa97b1f5 roll back eet change (revert patch) as this breaks bsd and seems to cause
other issues for other people too (not me though)...



SVN revision: 35797
2008-09-03 01:34:53 +00:00
Cedric BAIL 8c7b666b6e Little bit modified patch from Joerg Sonnenberger that remove the need for
memfile.

It pass all the image test of the test suite with some little modification.
E seems to run fine with it and my apps also. But if you experience error
with eet and compressed picture, please report them to me.



SVN revision: 35795
2008-09-02 16:12:05 +00:00
Cedric BAIL 9dddec7f09 Fix wrongly stored image when compressed size is bigger than uncompressed. Fix bug #523.
SVN revision: 35204
2008-07-24 13:25:18 +00:00
Cedric BAIL 2b37d10029 Add eet_data_image_read_to_surface and eet_data_image_decode_to_surface.
This functions provide a way to support tiles with eet. They also give the
possibility to directly decompress eet image inside an engine surface.


SVN revision: 34725
2008-06-02 16:01:18 +00:00
Kim Woelders 5f73ab33be Add netinet/in.h for htonl().
SVN revision: 34181
2008-04-03 19:29:55 +00:00
Carsten Haitzler 4efdc2e78d add string.h
SVN revision: 34131
2008-03-28 17:29:22 +00:00
doursse 59a88b9bc8 reorganise header files so that evil is better included. Please test before the release.
SVN revision: 34130
2008-03-28 17:17:43 +00:00
doursse bb32035399 * define EAPI on Windows according to the following scheme:
- if Eet is built:
     . if the shared lib is built, EAPI must be __declspec(dllexport)
     . if the static lib is built, EAPI must be empty
   - otherwise EAPI must be __declspec(dllimport)
 * move config.h from Eet_private.h to source files so that
   EAPI is correctly defined in Eet.h
 * add notes for compilation with cegcc and mingw32ce in INSTALL
 * add support for compilation with cegcc
 * add indentation information for vi
 * remove trailing spaces


SVN revision: 33959
2008-03-08 07:28:12 +00:00
doursse a3b06c3a70 * EAPI_DEF is actually useless. go back to EAPI
before using the correct way to deal with
   dllimport / dllexport on Windows
 * remove some trailing spaces


SVN revision: 33949
2008-03-07 09:59:37 +00:00
doursse c0414ae96c use evil on win32:
* remove all the specific win32 code
 * replace EAPI by EAPI_DEF in front of definitions of funtions
 * no need to check windows.h, winsock2.h
 * sys/mmap.h will be detected automatically (thanks to evil on win32)
 * use AC_CHECK_HEADERS instead of AC_CHECK_HEADERS_ONCE as this macro is too recent (from autoconf 2.59c)


SVN revision: 33896
2008-03-02 06:49:48 +00:00
Carsten Haitzler e076a78519 cedric's eet and edje patches to use eet dictionaries for strings.
SVN revision: 33873
2008-03-01 06:38:09 +00:00
Sebastian Dransfeld d610a1bd9a include files in the correct order
SVN revision: 33633
2008-01-27 13:17:22 +00:00
Sebastian Dransfeld cb4cc5b6c1 formatting
SVN revision: 33631
2008-01-27 12:56:44 +00:00
Sebastian Dransfeld 20e3248c9a formatting
SVN revision: 33630
2008-01-27 12:55:29 +00:00
Carsten Haitzler b35e3bd260 cedric's eet race patch
SVN revision: 33544
2008-01-21 01:09:51 +00:00
Carsten Haitzler 6356e709b8 1. image size bounds checks for eet
2. e17 bug
3. color class add fir ibar state of label
4. epeg scales before getting pixel data.


SVN revision: 27205
2006-11-25 15:37:45 +00:00
Carsten Haitzler 3a85bfb709 cedric's mmap patch
SVN revision: 23413
2006-06-13 10:20:22 +00:00
stffrdhrn 4c5b9e1f24 More cleanups:
* fix more requirements for const


SVN revision: 20985
2006-03-04 02:46:24 +00:00
stffrdhrn e2074460ce Clean ups
* char * -> const char * where needed


SVN revision: 20984
2006-03-04 02:11:03 +00:00
Carsten Haitzler d08bfbb6c6 ok- visibility disabled for now - works on x86 32bit. amd64 is broken (gcc
bug it seems) need to explore this more.


SVN revision: 19680
2006-01-10 07:32:56 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
Carsten Haitzler 4c88b00112 reduce some allocs
SVN revision: 18260
2005-11-04 03:22:22 +00:00
Carsten Haitzler 2f81db8bb2 whitespace + unsigned
SVN revision: 14917
2005-05-23 04:32:04 +00:00
Carsten Haitzler e600739282 slightly faster image load
SVN revision: 14696
2005-05-10 13:35:33 +00:00
Carsten Haitzler 40aca025df clean up code and move image related code to its own file
SVN revision: 14651
2005-05-07 16:46:26 +00:00