Commit Graph

238 Commits

Author SHA1 Message Date
tsauerbeck 4ee218c3cc don't hardcode the root filename for decompilation
SVN revision: 13758
2005-03-16 19:40:25 +00:00
tsauerbeck 3b5686906b use proper english ;)
SVN revision: 13756
2005-03-16 18:52:34 +00:00
tsauerbeck bc8470ccd9 tell the user not to trust the build scripts that are generated generated by edje_decc
SVN revision: 13755
2005-03-16 18:46:47 +00:00
tsauerbeck 057ae3dfa5 Decompiler improvements: Edjes now contain a 'compiler' entry, which is set to the executable that's used to compile an Edje. edje_decc does some sanity checking on this string, to prevent exploitation.
SVN revision: 13754
2005-03-16 18:39:39 +00:00
tsauerbeck 768533d73f output EET file can now be specified by -o, too. use that mode in build.sh
SVN revision: 13753
2005-03-16 17:51:52 +00:00
tsauerbeck ef57cf80b3 moved the include directory
SVN revision: 13496
2005-02-24 15:34:43 +00:00
tsauerbeck cf1af057cc fix exit status in case of an error
SVN revision: 13415
2005-02-17 19:49:54 +00:00
azundris c423c82614 * don't depend on edb, we're not using it
SVN revision: 13079
2005-01-24 13:02:41 +00:00
Carsten Haitzler 314d82cc04 fil! not filename! :)
SVN revision: 12882
2005-01-11 02:54:07 +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
Carsten Haitzler 5a31d2e725 an edje thumbnailer executable... :) requires up to date ecore and evas
having a buffer engine...

have fun :)


SVN revision: 12841
2005-01-09 09:50:16 +00:00
tsauerbeck 6edb7557c3 removed support for the (so far deprecated) description.border keyword
SVN revision: 12593
2004-12-26 22:36:45 +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
Dan Sinclair 245dcb02e7 - don't segv if we can't open the file. this would die if you had a file with
the same name as the directory edje_decc was trying to create.


SVN revision: 12433
2004-12-10 16:03:42 +00:00
Carsten Haitzler bec1a34a8e testing the edje message queue.. revealed.... problems... and.. now....
FIXES! :)


SVN revision: 12419
2004-12-09 05:49:34 +00:00
Carsten Haitzler d209663410 be nice!
SVN revision: 12186
2004-11-12 04:18:51 +00:00
Carsten Haitzler 7a097c0ab9 fixie fixie long time.
SVN revision: 12153
2004-11-09 09:31:08 +00:00
tsauerbeck 42a26cb3db cleaned up autotools setup some more
SVN revision: 12080
2004-10-30 11:47:23 +00:00
tsauerbeck c39e5a3db9 uuh, i must have forgotten to commit this earlier
SVN revision: 12064
2004-10-29 17:45:07 +00:00
tsauerbeck ee1c58f983 'custom' is an invalid description name
SVN revision: 12056
2004-10-29 14:11:54 +00:00
tsauerbeck 9f77b5176c mingw fixes
SVN revision: 12055
2004-10-29 14:04:23 +00:00
tsauerbeck ee67ee94ec don't include mman.h
SVN revision: 12054
2004-10-29 14:01:24 +00:00
tsauerbeck 74f19082f8 programs may not specify 'target' before 'action'
SVN revision: 12040
2004-10-27 16:17:12 +00:00
tsauerbeck bd8be0233c only get the directory of the current file once
SVN revision: 12027
2004-10-25 19:14:07 +00:00
tsauerbeck e8925fc4fd fixed edc source inclusion in edje_source edd.
SVN revision: 12026
2004-10-25 19:09:39 +00:00
tsauerbeck 523ca5adb7 don't overwrite source file data with the terminating NUL
SVN revision: 12025
2004-10-25 17:47:16 +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
tsauerbeck a83169e012 fixed some more edje_cc error messages
SVN revision: 12009
2004-10-24 09:48:29 +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 834b91be7c fixed arg count checking for program.action
SVN revision: 11986
2004-10-23 20:36:02 +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 2d1c69e129 include collection id in error messages
SVN revision: 11980
2004-10-23 17:58:14 +00:00
tsauerbeck e2feb2dd97 cleaned up edje_cc's sanity checking for parts and programs. image parts need to have valid image attributes now.
SVN revision: 11979
2004-10-23 17:33:27 +00:00
tsauerbeck ea400bc3ff open files properly
SVN revision: 11959
2004-10-22 13:57:49 +00:00
Carsten Haitzler 565add21a7 gawd that was bad!!!!
SVN revision: 11958
2004-10-22 07:42:37 +00:00
Carsten Haitzler 0e38160623 buildie cleanies
SVN revision: 11955
2004-10-22 02:40:32 +00:00
Carsten Haitzler 32808f5124 no ldflags
SVN revision: 11946
2004-10-21 08:05:19 +00:00
Carsten Haitzler 84f7e7fcd7 extar dist too for edje_recc
SVN revision: 11942
2004-10-21 07:37:35 +00:00
Carsten Haitzler b0cc194408 only do that once...
SVN revision: 11940
2004-10-21 06:43:18 +00:00
Carsten Haitzler 6dda7e8908 build cleaning
SVN revision: 11939
2004-10-21 06:33:22 +00:00
tsauerbeck 4873a7d260 imlib2 is optional for edje_cc now. simplified autofoo
SVN revision: 11927
2004-10-20 18:42:36 +00:00
tsauerbeck 7fac198907 mingw portability, step 1
SVN revision: 11925
2004-10-20 16:48:58 +00:00
Carsten Haitzler 5d60e667df dup tween list properly :) and dup lookups on text stuff
SVN revision: 11922
2004-10-20 14:26:06 +00:00
tsauerbeck e54386d8a4 fixed a memleak
SVN revision: 11914
2004-10-19 17:39:35 +00:00
tsauerbeck 6b6d72b8a6 catch missing targets in STATE_SET programs, for example
SVN revision: 11913
2004-10-19 17:31:18 +00:00
tsauerbeck 070dd505e6 image{} and fill{} attributes are only allowed for IMAGE parts. text{} attributes are only allowed for TEXT parts
SVN revision: 11912
2004-10-19 17:21:13 +00:00
tsauerbeck 8e0f33b80c deprecated description.border, use description.image.border instead, since border only applies to image parts.
SVN revision: 11911
2004-10-19 17:01:05 +00:00
tsauerbeck 63f3874903 better vim modelines for raster code
SVN revision: 11910
2004-10-19 16:50:27 +00:00
tsauerbeck f375a9fe2c New feature: part descriptions can inherit attributes from other descriptions of the same part. All attributes are inherited, except description name and value, of course.
Syntax: inherit, "desc_name" desc_value;


SVN revision: 11908
2004-10-19 16:37:20 +00:00
tsauerbeck 0a01bac149 tweaked font sizes
SVN revision: 11907
2004-10-19 16:28:29 +00:00
tsauerbeck 0750d18533 check that the input file exists. make sure that the input file doesn't equal the output file
SVN revision: 11891
2004-10-16 11:34:09 +00:00
tsauerbeck b52dafb5ed make sure source file data is terminated properly
SVN revision: 11890
2004-10-15 22:05:54 +00:00
tsauerbeck 432cc2a13d warnings
SVN revision: 11866
2004-10-13 19:04:45 +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 44984e65a3 allow text source and text style sources to be specified.. this lets multiple
text parts "shadow" a controlling/parent text part. this allows multiple
window titles for example even tho the app only sets 1 title part. this
allows for interesting text effects with mutliepl text parts animating
differently... or you cna use invivlbe text parts ad "proxies" for
calculating sizes of stuff... :)


SVN revision: 11851
2004-10-13 03:43:42 +00:00
tsauerbeck 54705c6816 adapted to embryo_cc changes
SVN revision: 11845
2004-10-12 16:58:18 +00:00
tsauerbeck 226bc8ccf3 String concatenation ("foo""bar" -> "foobar") now works when used in arguments to PART/PROGRAM/IMAGE lookups, e.g. PART:"foo""bar" will look up the part id of "foobar".
SVN revision: 11836
2004-10-11 20:48:32 +00:00
tsauerbeck 541c116fc6 part names need to be unique in a collection, too
SVN revision: 11826
2004-10-10 15:18:07 +00:00
Carsten Haitzler 2820c696d4 more compile options.. allow image sot be FORCIBLY rescaled so u can include
like 1/2 or 1/4 res images to make a smaller .eet :)


SVN revision: 11825
2004-10-10 11:58:43 +00:00
tsauerbeck 5b18584b96 don't print constant data
SVN revision: 11823
2004-10-10 10:00:51 +00:00
tsauerbeck da59ff6c92 added edje_decc to cvsignore
SVN revision: 11822
2004-10-10 08:22:54 +00:00
Carsten Haitzler f40fa3993e and dont use buf! :)
SVN revision: 11821
2004-10-10 04:29:21 +00:00
Carsten Haitzler e60a541c5a actually... error on any source file not being able to be found, decoded or
written out. images AND fonts. :)


SVN revision: 11820
2004-10-10 04:25:42 +00:00
tsauerbeck 4c702d01dc when a font cannot be loaded (because -fd was omitted, for example), just print a warning instead of an error message. i.e., fonts are treated the same way images are.
SVN revision: 11799
2004-10-09 16:23:29 +00:00
tsauerbeck 207a5af796 fixed an endless loop caused by unexpected preprocessor commands. tweaked the code a bit so its more readable, hopefully.
SVN revision: 11790
2004-10-08 17:03:04 +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
Carsten Haitzler 3c5dcbbffe font size updates... again
SVN revision: 11760
2004-10-06 00:18:51 +00:00
Carsten Haitzler 80b3550c38 font size change
SVN revision: 11759
2004-10-06 00:14:24 +00:00
Carsten Haitzler a31a8fa76c use Ecore_Evas info on engine availability :)
SVN revision: 11708
2004-09-23 21:45:50 +00:00
Carsten Haitzler bf564f9174 no no. do it this way! :)
SVN revision: 11622
2004-09-13 03:23:29 +00:00
rephorm 301a6db92c actually delete ...edje_tmp at the start (add a -r since its a dir)
SVN revision: 11564
2004-09-08 01:49:37 +00:00
Carsten Haitzler 497c68450d fix fonts in OTHEr states than default! :)
SVN revision: 11545
2004-09-07 14:48:41 +00:00
Carsten Haitzler f56ba99d4d if promoting compression we need to guess a new compression quality... :)
SVN revision: 11497
2004-09-02 02:43:16 +00:00
Carsten Haitzler e49d2e97b1 help fixed
SVN revision: 11495
2004-09-02 01:10:38 +00:00
Carsten Haitzler 153781888e this should make a lot of themers happy.
edje_cc (and edje_recc) now support:

-no-lossy                Do NOT allow images to be lossy
-no-comp                 Do NOT allow images to be lossless compression
-no-raw                  Do NOT allow images to be zero compression
-min-quality VAL         Do NOT allow lossy images with quality > VAL (0-100)
-max-quality VAL         Do NOT allow lossy images with quality < VAL (0-100)

this lest you forcibly make a theme .eet that is full quality with NO
compression of images, or just lossless compression (recommended for
distribution as an "original" .eet) and then make lossy only ones with min
and max quality levels.... so u can make small small small themes by just
giving up quality :)


SVN revision: 11489
2004-09-01 05:41:26 +00:00
rephorm f3712ce909 include edje_recc in EXTRA_DIST
now it passes make distcheck again


SVN revision: 11473
2004-08-31 23:06:09 +00:00
rephorm e135951db6 Ok. Completing the commit from last night. Sorry about that (and thanks for cleaning up after me raster). Nothing functional changed between raster's last commit and this, just making things more consistent.
Also, moved a few calloc's to  mem_alloc and strdups to mem_strdup.


SVN revision: 11455
2004-08-31 04:00:14 +00:00
Carsten Haitzler 170da7eb5d handy edje_recc t recompile an edje .eet from now on :)
SVN revision: 11454
2004-08-31 03:53:41 +00:00
Carsten Haitzler 2f972d6555 rephorm missed another place fonts were being set, and forgot to include the
compiler side to list the fonts... :)


SVN revision: 11441
2004-08-30 08:07:00 +00:00
Carsten Haitzler cb27d46c1c potential secuirty violations covered up.
SVN revision: 11434
2004-08-29 12:28:53 +00:00
Carsten Haitzler 291065ac29 isspace.. and oops infinite loopies
SVN revision: 11433
2004-08-29 12:05:50 +00:00
Carsten Haitzler 5b7136d3f8 edje decompiling works now! you can decompile an edje .eet back into source
files (.edc's, fonts and images) and it will even make a handy build/sh to
rebuild the .edc into the original .eet again! :)

NB: only works on .et's created with this edje_cc or newer as i needed to
incpude some extra debug info :)


SVN revision: 11431
2004-08-29 11:03:19 +00:00
tsauerbeck 52a6615758 fixed a potential NULL pointer deref
SVN revision: 11429
2004-08-29 09:40:02 +00:00
atmosphere ad64bc77c2 more fixups for systems without ecore_evas_gl
SVN revision: 11408
2004-08-28 02:22:29 +00:00
tsauerbeck 6c0e20d5e0 warning fixes
SVN revision: 11339
2004-08-24 10:06:33 +00:00
Carsten Haitzler f4208aa56c aaaaaaaaaaaah message queue related fix.
SVN revision: 11207
2004-08-12 18:55:45 +00:00
rbdpngn 86d90b79fe Rename edje.h in the src/bin so it doesn't conflict with Edje.h on
case-insensitive filesystems.


SVN revision: 10870
2004-07-16 23:33:41 +00:00
Carsten Haitzler 9355b9cf8c 1. add SWALLOW object to be more explicit...
SVN revision: 10820
2004-07-14 07:57:35 +00:00
Carsten Haitzler d5c73557c9 more container notes/skellies and allow aspect prefernce of BOTH (both axes
control so the aspect wiill exceed wanted size and go over the boundaries...)


SVN revision: 10789
2004-07-12 06:14:59 +00:00
Carsten Haitzler 07bfcb5754 get relative mouse pos relative to the edje... and add a -fill opt to edje
SVN revision: 10732
2004-07-08 04:29:28 +00:00
Carsten Haitzler 5ff4a5b272 fully supported message queues now. that was a chunk of work!
SVN revision: 10663
2004-07-02 10:17:25 +00:00
Carsten Haitzler 5b506efe2c 1. fix a leak. i was naughty. spank spank
2. message queue is in - i am currently not surer if i shoudl go with this
varags api internally ot move to a more manual "build a list" thing... but the
message queue does work - i've moved signals to use it.


SVN revision: 10653
2004-07-01 03:46:05 +00:00
Carsten Haitzler 68e31d4bc7 just when you thoguht all was stable in edje land... i added a tag and field!
never fear. its backwards compatible. this lets you choose how aspect is
calculated and confined :)


SVN revision: 10340
2004-05-24 07:58:37 +00:00
Carsten Haitzler 6643d99647 aaaaaaah #'s form cpp in embryo verbatim snippets - strip them.
SVN revision: 9951
2004-04-28 03:31:06 +00:00
Carsten Haitzler 36862709f6 abort edje_cc compile if embryo is not happy
SVN revision: 9892
2004-04-25 04:24:56 +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