Commit Graph

8619 Commits

Author SHA1 Message Date
Carsten Haitzler 2c7399ddfd add check magic code!
SVN revision: 44326
2009-12-10 02:26:50 +00:00
Cedric BAIL b32c9a3eae * edje: Add Fixed Point Math support to Edje.
You can try it by passing --enable-fixed-point to the configure. It
	will produce an ABI/API compatible Edje library that use internally
	Eina_F32p32 instead of double. It will load Eina_F32p32 instead of
	double from eet file (thanks to eet ability to convert them on the
	fly), so edje file are compatible between fixed point and floating
	point version.

	This patch touch almost all internal calc of Edje, I did test it with
	elementary_test, enlightenment and all my test apps, but it could
	certainly break some of your preferred Edje file. If you see any
	unexpected behaviour please report them to me as soon as possible.

	Note: For devs, I put few macros in edje_private.h that should now
	be used when doing calc in Edje, please use them so that Fixed Point
	doesn't break in the futur.


SVN revision: 44323
2009-12-09 15:44:54 +00:00
Cedric BAIL 63d651b7ad * eina: Improve precision of f32p32 sinus/cosinus.
SVN revision: 44322
2009-12-09 13:03:23 +00:00
Vincent Torri 04a156cda0 useless variable if pthread is not used
SVN revision: 44319
2009-12-09 08:34:09 +00:00
Vincent Torri efc50c5541 including Evil.h here cause big troubles with vc++ and EAPI. So
typedef here the needed types

SVN revision: 44318
2009-12-09 08:25:58 +00:00
Vincent Torri 63610435c3 add always config.h in source file so that EAPI is correctly defined,
especially on Windows (otherwise, ICE in gcc... and vc++ is not
happy at all)

SVN revision: 44317
2009-12-09 08:23:34 +00:00
Vincent Torri abe9190501 fix parenthesis order. Thanks, vc++ !! :p
SVN revision: 44316
2009-12-09 08:20:37 +00:00
Vincent Torri 4866755a1c add eina_fp.c in visual studio project files
SVN revision: 44315
2009-12-09 08:17:38 +00:00
Carsten Haitzler eac3646b27 fmting
SVN revision: 44313
2009-12-09 07:54:43 +00:00
Carsten Haitzler 1f5c54b2f4 shut up llabs!
SVN revision: 44312
2009-12-09 07:25:41 +00:00
Iván Briano 836496c265 Add type bool to external parameters
Patch by glima


SVN revision: 44308
2009-12-09 06:51:13 +00:00
Carsten Haitzler aad24b249c make nan const... cosnt!
SVN revision: 44307
2009-12-09 06:26:59 +00:00
Carsten Haitzler 4d42a6d2db warnings--
SVN revision: 44306
2009-12-09 05:46:02 +00:00
Carsten Haitzler 8700b81cb2 much better nan!
SVN revision: 44305
2009-12-09 05:30:43 +00:00
Iván Briano 35da61c96d define NAN if not there
SVN revision: 44303
2009-12-09 05:12:16 +00:00
Carsten Haitzler 3ec78b10c3 edje_cc -> add % modulo to math eval and floor() and ceil()
SVN revision: 44301
2009-12-09 04:30:45 +00:00
Cedric BAIL 274ab1e01e * eina: Add sin and cos fixed point fonction.
SVN revision: 44287
2009-12-08 18:30:41 +00:00
Vincent Torri f652ec2a0f add Visual Studio files
embryo_cc project file is missing for Visual Studio 2005

SVN revision: 44285
2009-12-08 17:40:46 +00:00
Vincent Torri 4d3cd53a6f fix compilation with vc++
SVN revision: 44284
2009-12-08 17:34:57 +00:00
Cedric BAIL b6183fe571 * eina: Fix negativ case and handle div with more accuracy.
SVN revision: 44281
2009-12-08 16:02:10 +00:00
Vincent Torri e524017f78 don't use UNICODE
SVN revision: 44275
2009-12-08 05:55:55 +00:00
Sebastian Dransfeld c0a2288b55 Make clang happy
SVN revision: 44259
2009-12-07 21:08:49 +00:00
Sebastian Dransfeld 0ac67f75e7 Remove unused variable
SVN revision: 44258
2009-12-07 21:04:02 +00:00
Sebastian Dransfeld 73cde2ffa2 Make clang happy
SVN revision: 44257
2009-12-07 21:01:26 +00:00
Cedric BAIL 78d547c505 * eina: Fix precision of eina_f32p32_div.
SVN revision: 44252
2009-12-07 17:48:40 +00:00
Vincent Torri 9aa679df36 * src/lib/evil_libgen.c:
* src/lib/evil_libgen.h:
* src/lib/Makefile.am:
* win32/vs8/libevil.vcproj:
* win32/vs9/libevil.vcproj:
add basename() function.

* src/lib/Evil.h:
add basename() function and comment useless wrappers (for now).

* src/lib/dlfcn/dlfcn.h:
remove useless include.

* src/lib/evil_util.c:
formatting.

SVN revision: 44251
2009-12-07 17:23:41 +00:00
Vincent Torri cee693572e * Fix compilation with vc++
* Fix Visual Studio project files

SVN revision: 44250
2009-12-07 17:15:28 +00:00
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
Cedric BAIL 759426ceda * eina: Fix atofp when exponent is negativ.
SVN revision: 44244
2009-12-07 13:08:16 +00:00
Cedric BAIL 1a9212d3b0 * eet: Reduce convertion to FP, float and double with a little overhead.
SVN revision: 44243
2009-12-07 12:53:29 +00:00
Cedric BAIL 5dd7275c9a * eet: Fix convertion from any float type to any other float type.
SVN revision: 44239
2009-12-07 09:33:20 +00:00
Cedric BAIL 5a5d81812c * eina_fp: Fix rounding with Eina_F32p32 multiplaction, add
operation to multiply a FP with an int.


SVN revision: 44238
2009-12-07 09:27:53 +00:00
Christopher Michael 254915c86e Remove a bunch of wasted white space.
SVN revision: 44235
2009-12-07 03:06:50 +00:00
Christopher Michael 4811502558 Fix illume_conformant to return 0 if the atom is not setup on the xwin.
SVN revision: 44234
2009-12-07 02:04:23 +00:00
Vincent Torri ed3ac88827 Add data and error events in ecore_exe_win32.c.
There are still some problems with the win32 select loop, though

SVN revision: 44229
2009-12-06 19:25:48 +00:00
Vincent Torri b52d4b247f * evil_string.c : add strrstr() win32 port
* include config.h where it is not included
 * various minor formatting

SVN revision: 44228
2009-12-06 19:22:20 +00:00
Christopher Michael b7d7d87d18 Add functions to make it easy to set an illume conformant window.
SVN revision: 44220
2009-12-06 17:31:04 +00:00
Cedric BAIL 7117431ed6 * edje-edit: Don't forget to initialize list to NULL.
SVN revision: 44188
2009-12-04 16:34:35 +00:00
Cedric BAIL c76b578b37 * edje: Add edje_object_preload, it will force the preload of all
image embeded inside an edje and send a signal ("preload,done", "")
	at the end.


SVN revision: 44186
2009-12-04 16:20:40 +00:00
Vincent Torri c8ecbbfeef fix ticket #466
SVN revision: 44185
2009-12-04 11:37:42 +00:00
Cedric BAIL 1f1fac5a61 * eina: Add more test.
Code covered by all tests :
	     	     Found   Hit  Coverage
	Lines:	     4503    3671 81.5 %
	Functions:   392     347  88.5 %


SVN revision: 44183
2009-12-04 10:09:08 +00:00
Cedric BAIL 8cc84b4f8b * eina: Add more tests specific to rectangle.
SVN revision: 44182
2009-12-04 09:39:23 +00:00
Vincent Torri 76983ea8f4 declare alloca
SVN revision: 44181
2009-12-04 08:55:46 +00:00
Vincent Torri 87d8d005fb fix order
SVN revision: 44180
2009-12-04 06:44:40 +00:00
Carsten Haitzler 145b7ee2a1 deadlock fuckers! fix! :)
SVN revision: 44179
2009-12-04 01:15:19 +00:00
Cedric BAIL 1d0efd8c18 * eina: Add more test. eina_tiler and eina_rectangle need some more.
SVN revision: 44176
2009-12-03 18:17:37 +00:00
Cedric BAIL 3836c6d3fc * eet: All this header are not needed in this case.
SVN revision: 44175
2009-12-03 15:47:15 +00:00
Cedric BAIL 8a5c2976f6 * eet: Fix order.
SVN revision: 44174
2009-12-03 15:41:56 +00:00
Cedric BAIL ca1e3adf20 * eet: Update ChangeLog.
SVN revision: 44173
2009-12-03 15:38:26 +00:00
Cedric BAIL af13fe5496 * eet: All operation on Eet_File should be thread safe. This should
make use of all eet primitive thread safe now.

	Please any bug or lock that you find.


SVN revision: 44172
2009-12-03 15:35:04 +00:00