Commit Graph

104 Commits

Author SHA1 Message Date
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
Carsten Haitzler 902b6c40bb formattign and allocs...
SVN revision: 30925
2007-07-21 05:06:39 +00:00
Gustavo Sverzut Barbieri 233ecdf481 Fix escaping by remembering state, allows "\\" to be used as text.
Thanks to rephorm for hints, dj2 and mekius for review.


SVN revision: 30769
2007-07-11 20:47:28 +00:00
Gustavo Sverzut Barbieri 0e45d25776 Avoid doing math inside strings (quoted text), so I'm now enable to have part.description.text.text starting with "(".
Patch originally by rephorm.
Tested and minor changes by barbieri.


SVN revision: 30768
2007-07-11 15:33:03 +00:00
Carsten Haitzler 0d99270bc9 less stack for the parser - scratchbox hates the big stack usage :)
SVN revision: 30364
2007-06-17 06:51:42 +00:00
Carsten Haitzler fb4772a769 fix escape handling in quotes! :)
SVN revision: 24641
2006-08-13 10:37:04 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
rbdpngn 7d614c0570 Use the second updated patch for the cpp problem. Originally submitted by Romu
on #edevelop.


SVN revision: 19224
2005-12-22 04:20:42 +00:00
Carsten Haitzler 62799c9e70 different cpp invokation attempt
SVN revision: 19196
2005-12-21 04:29:16 +00:00
technikolor a908b18cfc Don\'t assume cpp and gcc are always in /usr/bin... absolute paths removed
SVN revision: 18130
2005-10-30 07:42:48 +00:00
Carsten Haitzler 3ac48d63ae and edje started supporting.... TEXTBLOCK2!!!!!
see e_logo.edc for an example. :)


SVN revision: 16698
2005-09-12 09:43:49 +00:00
Carsten Haitzler c7c6f53e78 oops arg order... fix.
SVN revision: 12862
2005-01-10 06:15:00 +00:00
Carsten Haitzler 45bc169845 finx dir of input file, strip off file to find dir component and -I that when
running cpp..


SVN revision: 12861
2005-01-10 05:51:14 +00:00
tsauerbeck deafa61660 switched to floating-point math. yell if you think this causes trouble.
SVN revision: 12550
2004-12-22 14:41:12 +00:00
tsauerbeck cd2c975628 edje_cc now knows about parens, which means that "(x + y + z)" is treated as *one* token.
this made it possible to fix edje_cc's math code a bit.
NOTE: only fixed point arithmetic works again, floating point stuff doesn't!
See the FIXME for ideas on how to handle this.


SVN revision: 12477
2004-12-15 17:58:10 +00:00
Carsten Haitzler 7a097c0ab9 fixie fixie long time.
SVN revision: 12153
2004-11-09 09:31:08 +00:00
Carsten Haitzler b6d25d31f4 edje_cc supports -Ddefine=val style stuff - via cpp and like cpp
SVN revision: 12015
2004-10-24 13:47:55 +00:00
xcomputerman a1c90bfe7d When outputting parse errors, give the correct line number - how did this whole offset thing happen anyway?
SVN revision: 12004
2004-10-24 06:43:45 +00:00
tsauerbeck 80cb5cd954 edje_cc is getting even more picky. arguments may not be separated by commas any more. simplified code a bit.
SVN revision: 11996
2004-10-24 01:10:04 +00:00
tsauerbeck d1b4acb489 edje_cc now checks the number of arguments for each statement
SVN revision: 11983
2004-10-23 20:12:21 +00:00
tsauerbeck 7fac198907 mingw portability, step 1
SVN revision: 11925
2004-10-20 16:48:58 +00:00
tsauerbeck e54386d8a4 fixed a memleak
SVN revision: 11914
2004-10-19 17:39:35 +00:00
tsauerbeck 63f3874903 better vim modelines for raster code
SVN revision: 11910
2004-10-19 16:50:27 +00:00
tsauerbeck 5a4030f762 boolean values can now be specified in the following ways: 0, false, off resp 1, true, on (case insensitive)
SVN revision: 11864
2004-10-13 18:07:56 +00:00
Carsten Haitzler cd39a020b2 1. note all the /* dup */ entries in edje_cc_handlers.c - we now are lenient
and allow image, font, images{} fonts {} programs{} program{} and scropt{}
sections in many mroe places...


SVN revision: 11764
2004-10-06 05:25:03 +00:00
tsauerbeck 6c0e20d5e0 warning fixes
SVN revision: 11339
2004-08-24 10:06:33 +00:00
Carsten Haitzler ec680ae695 embryo_cc line numebrs match up with edje .edc ones now - much better foir
debugging


SVN revision: 9891
2004-04-25 04:20:58 +00:00
rbdpngn c742fbdd6a Hackish, but it fixes the problem with stupid cpp's.
SVN revision: 9804
2004-04-20 03:14:46 +00:00
rephorm 107315ec99 ok. that definitely ain't the right way to do those. back it out...
SVN revision: 9803
2004-04-20 02:07:11 +00:00
Carsten Haitzler 3821f74e99 and.... edje_cc can take small code snippets in script{} areas and compile
them, include them int eh edje.eet and edje can run them. all i have to do
now is actually give the small scripts an api worht talking about


SVN revision: 9514
2004-03-28 05:26:17 +00:00
Carsten Haitzler 3c9d0ec692 yuri's math code for the parser!
SVN revision: 9322
2004-03-11 03:21:06 +00:00
boris fe8afbffba Re-order params
SVN revision: 9023
2004-02-18 11:35:08 +00:00
tsauerbeck b0431359c2 strcpy() doesn't allow copying overlapping strings
SVN revision: 8518
2004-01-17 12:39:01 +00:00
Carsten Haitzler bd791501dd add : in as a delimiter so you can do:
name, "blah name";

OR ALSO

name: "blah name";


SVN revision: 8447
2004-01-16 00:51:43 +00:00
Carsten Haitzler 1bb9260fea remove lots of warnings
SVN revision: 7662
2003-10-19 02:11:06 +00:00
Carsten Haitzler b3c6f96f24 edje_cc now supports cpp, if you have it installed, so you can #include,
#define etc. now in your .edc files.... much friendlier :)


SVN revision: 7390
2003-08-29 08:34:53 +00:00
Carsten Haitzler 107230b052 fix 1 memleak...
SVN revision: 7264
2003-07-30 02:58:22 +00:00
Carsten Haitzler 9a9a28fa14 some notes for me about edje program expansions..
SVN revision: 7219
2003-07-23 05:19:50 +00:00
Carsten Haitzler 1b587fd598 work has been done while i've been away. i just need to put this in cvs. many
fixem's have been fixed. text parts work fully now, ALONG with all their
respective effect modes, fits, alignments and "chopping". a few more api
calls have been added and cleaned up. you'll need to update eet too for this
to work.


SVN revision: 7113
2003-07-07 07:55:18 +00:00
Carsten Haitzler 27d69a4698 emissions now for the part collection soruce is now "". fixed a tinsy parser
bug for parsing "". emissions now wont recurse - but they may loop. hmm need
to limit that - easy to do this way though.


SVN revision: 7046
2003-06-19 23:56:27 +00:00
Carsten Haitzler 66bcb0fb57 1 copy & paste bug in edje_cc. fixed non animated programs
SVN revision: 7045
2003-06-19 15:02:21 +00:00
Carsten Haitzler 0d2194a7b5 edje_cc can now fully parse my test edje input "test.edc" file and build a
properly formed test.eet output file including inlined images, data structs
and all. it can display verbose output infomration if you use the -v flag.
the only problem now is that no sample .edc files are shipped. I'll make one
or 2 better ones and include them.


SVN revision: 7033
2003-06-16 13:55:13 +00:00
Carsten Haitzler 598dd0b60f mem allocs guaranteed now... they are wrapped and errors handled centrally
SVN revision: 7018
2003-06-12 22:34:51 +00:00
Carsten Haitzler 228f197d2b cleaner. centralise type parsing... and error checking
SVN revision: 7017
2003-06-12 13:02:28 +00:00
Carsten Haitzler dd7fe79b30 EVEN better parsing! :) lots of NULL handlers need filling in. i need to unify
common type parameter parsing to use smaller common functions to save space.


SVN revision: 7012
2003-06-11 14:14:23 +00:00
Carsten Haitzler 61586a277f spread edje_cc code out a little... it's goign to get big now. put parse
result handlers in one place.


SVN revision: 7011
2003-06-11 13:20:48 +00:00