Commit Graph

95 Commits

Author SHA1 Message Date
Carsten Haitzler 51b25f8c52 use new eina prefix finder.
SVN revision: 58850
2011-04-24 07:36:15 +00:00
Carsten Haitzler 0b0d51c5cf add text effect shadow direction support.
SVN revision: 58548
2011-04-11 12:08:03 +00:00
Carsten Haitzler a3d58eaddf provide better parser output on error.
SVN revision: 58508
2011-04-09 02:35:01 +00:00
Carsten Haitzler 9d89abb915 edje_cc now only will use epp. makes for consistent output on all
platforms since we ship our own cpp.. err.. epp. :)



SVN revision: 58315
2011-04-04 08:30:02 +00:00
Vincent Torri e0ff04b83e Edje: Fix epp binary detection on Windows
SVN revision: 57961
2011-03-22 07:30:57 +00:00
Carsten Haitzler 40df8b5428 remove old code not used anymore
SVN revision: 57928
2011-03-21 03:00:33 +00:00
Carsten Haitzler 7f35e847f5 use proper prefix finding for epp.
SVN revision: 57927
2011-03-21 02:47:23 +00:00
Cedric BAIL 0f3157854f edje: let's release the hand brake and run faster !
SVN revision: 57411
2011-02-28 13:25:46 +00:00
Mike Blumenkrantz d60c6a85da Subject: Re: [E-devel] E SVN: discomfitor trunk/edje/src/bin
Date: Wed, 23 Feb 2011 20:25:38 +0100 (CET)

On Wed, 23 Feb 2011, Mike Blumenkrantz wrote:
> vtorri! help!!!! :(  

try the attached patch

Vincent


SVN revision: 57284
2011-02-23 20:30:14 +00:00
Mike Blumenkrantz 5677e35855 whoops
SVN revision: 57272
2011-02-23 19:07:13 +00:00
Mike Blumenkrantz c7d4e15087 edje now uses (and installs if not previously found) epp as its default C preprocessor, providing consistent output across all platforms and allowing edje_cc to run on windows (vtorri!!)
fallbacks exist to use old behavior if epp fails.


SVN revision: 57210
2011-02-21 08:04:44 +00:00
Carsten Haitzler 2ba6051649 more return fixes. clang reports.
SVN revision: 56173
2011-01-16 04:13:37 +00:00
Carsten Haitzler c3db629e55 more cases of default return etc.
SVN revision: 56170
2011-01-16 04:08:49 +00:00
Carsten Haitzler fa77855b53 more clang warnings-- (double returns as default case always returns
anyway - make it fall thru to default return)



SVN revision: 56169
2011-01-16 04:08:09 +00:00
Mike Blumenkrantz 9e6ff792cd revert last, must have been high
SVN revision: 56139
2011-01-15 19:47:02 +00:00
Mike Blumenkrantz 767b0c52ad more correctly shut gcc warnings up
SVN revision: 56138
2011-01-15 19:46:13 +00:00
Cedric BAIL d5d953a533 * edje: remove c++ comment also.
SVN revision: 55209
2010-12-03 17:55:02 +00:00
Cedric BAIL 561114732b * edje: improve portability and simplify code.
SVN revision: 55198
2010-12-03 16:41:38 +00:00
Carsten Haitzler ead7329b42 warning--
(shuddup gcc)



SVN revision: 52433
2010-09-19 00:33:45 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Mike Blumenkrantz bb0b72558f add lengthy comment to document an obvious bug that someone who knows the code should fix
FIX THIS!!!!!!!!!!!!!


SVN revision: 50704
2010-07-31 05:01:34 +00:00
Cedric BAIL ba95606159 * edje: prevent some segv in edje_cc and detect wrong edje file
before compiling them.

	Patch by Rafael Fonseca <rfonseca@profusion.mobi>.


SVN revision: 49999
2010-07-02 15:37:37 +00:00
kiwi b55d9b91c3 preprocess the edc file on OpenBSD as on MacOS X.
NetBSD and FreeBSD might have the same issue

fixes handling of #define and comments in edc files, so e theme builds now on OpenBSD


SVN revision: 49113
2010-05-21 19:58:40 +00:00
Vincent Torri d1c0ea07fc force gcc to use C preprocessor (otherwise the file extension (.edc) is
breaking that behavior)


SVN revision: 47338
2010-03-18 22:52:28 +00:00
Vincent Torri a8e1557dbc fix edje_cc on Mac OS X: c++ comments were not removed, so pass
gcc -E on the edc file a second time. As Linux gcc does not like
it, compile that part only on Mac OS X.


SVN revision: 47280
2010-03-16 05:49:13 +00:00
Gustavo Sverzut Barbieri cc5e332525 remove warnings from edje binaries.
SVN revision: 46647
2010-02-28 16:14:50 +00:00
Sebastian Dransfeld ef970dfb10 make clang happy
SVN revision: 45195
2010-01-15 20:01:42 +00:00
Cedric BAIL 018a9dad66 * edje: Use Eina_Log.
Patch from Mathieu Taillefumier.


SVN revision: 44655
2009-12-22 13:46:00 +00:00
Carsten Haitzler 5b9e0b0ead fix return checks. broke compile!
SVN revision: 44523
2009-12-17 11:58:15 +00:00
Vincent Torri c7c66a652a add Sun Studio support when parsing edc files. Technically,
it means that e17 can run on OpenSolaris using Sun Studio
or gcc. It actually runs if temperature and battery modules
are disabled as they don't compile yet.

Also, the problem on Mac OS X problem with C++ comments
can be fixed (I think). See FIXME in that patch



SVN revision: 44519
2009-12-17 00:50:43 +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
Vincent Torri 10b4ebc4d4 * fix some warnings
* move variable declarations at the top of the bloc

SVN revision: 43265
2009-10-25 11:40:06 +00:00
Vincent Torri 3c48d7e6d0 * include config.h in all source files
* declare alloca before the standard headers
 * include Evil.h for the declaration of realpath in edje_cc_prefix.c

SVN revision: 43263
2009-10-25 11:19:12 +00:00
Vincent Torri d3d9560eb1 remove debug
SVN revision: 42086
2009-08-29 08:42:44 +00:00
Vincent Torri 2a8d44f5a0 allow the user to chose in which directory the temporary file
will be created. The logic is the following:

 * if the environment variable TMPDIR is set, use its value
 * if it is not set, take the directory passed with the
   -td option (see edje_cc help)
 * otherwise on Windows use a temporary dir and on other
   platform, use /tmp


SVN revision: 41978
2009-08-25 17:25:23 +00:00
Vincent Torri 052e867c7b missing header + move fcntl.h after sys/stat.h
SVN revision: 39093
2009-02-19 10:29:03 +00:00
Vincent Torri 1cd236068b * force open to allow read and write permission of the user
when creating or reading edj files


SVN revision: 39092
2009-02-19 10:13:28 +00:00
Vincent Torri 812f1e185f add alloca declaration
SVN revision: 38977
2009-02-09 06:33:26 +00:00
Carsten Haitzler 60b4dab196 formatting.
SVN revision: 37425
2008-11-02 22:51:24 +00:00
Vincent Torri 0d8b00fdeb * move standard header files to source files
* remove gendoc


SVN revision: 37158
2008-10-26 17:18:19 +00:00
Cedric BAIL fa66dbf40a Remove Evas list from Edje and use Eina instead.
SVN revision: 36961
2008-10-22 11:34:42 +00:00
doursse 074765d3aa open files in binary mode, to fix problems on Windows. Fix a constness
SVN revision: 34931
2008-06-28 09:11:48 +00:00
Sebastian Dransfeld 4a54010498 Remove unused variable.
SVN revision: 34867
2008-06-19 12:47:04 +00:00
doursse 82fee3d58c evilize edje. Link against ecore_file only when needed. PATH_MAX and not MAX_PATH. Minor other fixes.
SVN revision: 34761
2008-06-06 18:31:49 +00:00
Caio Marcelo de Oliveira Filho a43c7ca786 Edje: missing va_ends.
SVN revision: 34169
2008-04-01 21:30:54 +00:00
Caio Marcelo de Oliveira Filho 20df0987d1 Edje: support for parsing flag-style values (and combinantions of them) in edje_cc.
For example:

    field: FLAG_A FLAG_B FLAG_C;   // at least one flag is needed

And we can assign a bit for each FLAG_*, the result would be the OR between all of them.
Refactored a bit of parse_enum to re-use code there.


SVN revision: 34168
2008-04-01 21:28:28 +00:00
doursse 31618541b7 _O_BINARY exists only on windows
SVN revision: 31553
2007-08-27 11:28:30 +00:00
doursse 8a6ac30215 fix edje_cc on windows, remove some trailing spaces
SVN revision: 31549
2007-08-27 09:32:17 +00:00
doursse 2e7692e45e make edje binaries compile and allow the creation of the edje shared lib on windows. Remove some trailing spaces
SVN revision: 31517
2007-08-26 12:54:51 +00:00