Commit Graph

322 Commits

Author SHA1 Message Date
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
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 3e09b08e74 survive make distcheck...
SVN revision: 9747
2004-04-16 02:06:39 +00:00
rbdpngn 3c73786007 Alloca check for the compiler.
SVN revision: 9566
2004-04-02 04:20:57 +00:00
Carsten Haitzler d9d7b969dd cleaner...
SVN revision: 9550
2004-04-01 09:53:11 +00:00
Carsten Haitzler 39bb581573 string replacement with ID's in edje_cc for verbatim code snippets... see
example


SVN revision: 9548
2004-04-01 09:30:45 +00:00
Carsten Haitzler 7bd60e9cb0 busy adding some MEAT to edje's embryo script support. just added
"persistent" variables - ie tied to each instance of an edje object and you
can save/load via get_int() set_int() get_float() set_float(), get_str(),
get_strlen() and set_str(). the values are fetched/stored wherever you do
these calls. you need a public variable declaration to indicate you want to
use a global var, and use this variable handle as the variable index - edje
will init it for you.

e_logo.edc has some examples...
:)

this solves being able to keep state like if a check button is enabled or
disabled etc. etc. etc.
then i guess its onto the rest of the calls...


SVN revision: 9526
2004-03-30 10:30:35 +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 59a6f2c4b0 embryo support... started. :)
SVN revision: 9487
2004-03-26 09:10:05 +00:00
Carsten Haitzler 3c9d0ec692 yuri's math code for the parser!
SVN revision: 9322
2004-03-11 03:21:06 +00:00
Carsten Haitzler 92b6f79c2e fixed a leak... patches from trill... need to go thru my mail....
SVN revision: 9281
2004-03-08 02:43:48 +00:00
tsauerbeck b2d118fbce don't segfault on a missing default description
SVN revision: 9242
2004-03-06 10:21:15 +00:00
Carsten Haitzler 5979a8f8db fixie doccie
SVN revision: 9039
2004-02-20 08:16:25 +00:00
boris fe8afbffba Re-order params
SVN revision: 9023
2004-02-18 11:35:08 +00:00
Carsten Haitzler cac7272808 cross-compile cleanly!
SVN revision: 9003
2004-02-17 07:13:12 +00:00
Carsten Haitzler cfba3261a0 aspect calc buggie. fix fix
SVN revision: 8740
2004-02-01 07:19:22 +00:00
Carsten Haitzler a9cfdc0688 support for inlining ttf's in edje's so you can ship your fonts along too! :)
SVN revision: 8624
2004-01-23 02:13:42 +00:00
tsauerbeck 7917201960 removed some unused variables
SVN revision: 8596
2004-01-20 17:53:18 +00:00
tsauerbeck 71c3534e23 added .cvsignore files
SVN revision: 8529
2004-01-17 16:36:46 +00:00
tsauerbeck 5402f1bcc2 call edje_shutdown()
SVN revision: 8524
2004-01-17 15:37:48 +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
xcomputerman 984869d881 - Fix warnings
- Actually check for dependency libs


SVN revision: 8433
2004-01-15 00:12:19 +00:00
tsauerbeck cfa94eaaaa call edje_shutdown()
SVN revision: 8402
2004-01-14 17:19:16 +00:00
Carsten Haitzler 614486c43c fix dragables! eeek! :)
SVN revision: 8211
2003-12-25 23:57:18 +00:00
Carsten Haitzler 2bcf6301f8 atmos' patch! :)
SVN revision: 7798
2003-11-05 00:08:57 +00:00
rbdpngn 17678212d6 Global text and color class manipulation. Settings on individual edje's will
override the global values.


SVN revision: 7795
2003-11-04 06:15:19 +00:00
rbdpngn c5366158c7 Moved the text_class into the description's text section.
SVN revision: 7773
2003-10-31 05:07:39 +00:00
rbdpngn f5c22b148b Slight re-organization of color classes, now can be set per-description rather
than per-part. This will probably break old edje's.


SVN revision: 7759
2003-10-29 06:42:03 +00:00
Carsten Haitzler 1bb9260fea remove lots of warnings
SVN revision: 7662
2003-10-19 02:11:06 +00:00
Carsten Haitzler 00d83df7eb match changes made to evas.
SVN revision: 7645
2003-10-18 03:34:54 +00:00
rbdpngn dae9b3b757 A simple program that lists collections in files, can take multiple files as
arguments and an optional -o <outfile>.


SVN revision: 7616
2003-10-16 07:02:31 +00:00
Carsten Haitzler 0b26541438 added geometry flags
SVN revision: 7433
2003-09-09 07:22:54 +00:00
Carsten Haitzler 62eb5b0b19 setting extern min/max size overrides min/max sizes implied by objects
SVN revision: 7427
2003-09-07 05:16:08 +00:00
Carsten Haitzler df683295dd dragables are about complete now.. with new actions, page and step values....
all happy & smelly.


SVN revision: 7395
2003-09-01 02:53:08 +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 d3ad6fedd9 the basics of dragables work. signals are generated properly. there's calls
to set/get dragable size relative to its confie and is value relative to its
cofine, query what directiosn a dragable can be dragged. you shoudl be able
to do scrollbars - except scroll arrows internally in edje making the
scrollbar move.


SVN revision: 7324
2003-08-15 13:35:25 +00:00
Carsten Haitzler 97e9f75ee1 fix parser... :)
SVN revision: 7317
2003-08-14 04:45:31 +00:00
Carsten Haitzler 211959c6c0 separate x & y relative "to" params. the old .edc format is still supported
where "to" implies both x & y. to_x == only in x dir, to_y == only in y dir :)


SVN revision: 7315
2003-08-14 03:22:38 +00:00
Carsten Haitzler 604a586caf fix segv on del! :)
SVN revision: 7305
2003-08-09 03:32:21 +00:00
Carsten Haitzler bb3efc106b optional output file spec
SVN revision: 7293
2003-08-06 01:29:12 +00:00
Carsten Haitzler 516e43fc09 you can add arbitary key/value pair strings to either 1 the edje file .eet as
a whole and/or to each collection in the edje .eet file (different
namespoaces with each collection having its own namespace) :) this shoudl
make Rbdpngn happy :)


SVN revision: 7288
2003-08-05 14:33:35 +00:00
Carsten Haitzler 2b97e3a86a respect minw/h on load of edje file...
SVN revision: 7287
2003-08-05 13:38:44 +00:00
Carsten Haitzler 3b449e38cb memory corruption.. well just not cleaning up things in the cache hash... fix
fix... :)


SVN revision: 7273
2003-08-03 07:00:03 +00:00
Carsten Haitzler 107230b052 fix 1 memleak...
SVN revision: 7264
2003-07-30 02:58:22 +00:00
technikolor b209088702 Minor tweek to edje viewer. Adds font path for local directory "fonts/".
This font directory is relative to the pwd during edje execution, but will at least allow view of Edje interfaces without having to drop all your fonts into /usr/local/share/edje/data/test/fonts.  This will be obsolete when font pathing is added as an EDC font parameter.


SVN revision: 7252
2003-07-28 19:48:18 +00:00
Carsten Haitzler a8ed74dc0b more features... working on fixme list.
SVN revision: 7249
2003-07-27 13:16:51 +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 baecb9fcf4 0 time rpograms stop too now
SVN revision: 7212
2003-07-22 03:04:46 +00:00
Carsten Haitzler 58eb18908a build packages
SVN revision: 7208
2003-07-21 05:36:46 +00:00
Carsten Haitzler 3d128a9cdc min.max size properties now per edje collection can be specified in the edje
.edc file and can be accessed. the min_size_get has become a min_size_calc
since it does actually calculate it.

also swallowed edjes will be queried for their own min/max size and that will
be used to further limit the part that swallows. also you can attach
properties to any old evas object so it will have min/max size properties
(maybe one day this can go into evas itself?). also swallowed objects if
deleted before the parent edje will "unswallow" themselves properly :)


SVN revision: 7195
2003-07-20 12:37:49 +00:00
Carsten Haitzler f212675a33 optimizing. Glassy's matrix.eet works MUCH faster now. basically edje was not
very efficient at matching hundreds of prgorams up to lots of signals always
ticking off. i've optimized it now with a match (and no_match) cache so if an
input signal (and source) combination is known not to match anything, it's
cached after the first full check and henceforth avoids extra checks. the
cache is realyl simply right now - i could optimize it a bit to avoid excess
memory usage though...


SVN revision: 7189
2003-07-20 02:08:47 +00:00
Carsten Haitzler fa42fa6de5 global freeze/thaw. much more optimial for COMPLEX edjed that take a fair bit
of grunt to re-calculate. avoid caclulations until idle time by freezing and
thawing appropriately pre/post render


SVN revision: 7178
2003-07-16 05:15:15 +00:00
Carsten Haitzler 565c76645a 1. types declared as int, not uchar. thansk rbdpgn! :)
2. you can query the REAL minimum size of an edje too.


SVN revision: 7168
2003-07-15 08:26:06 +00:00
Carsten Haitzler 181da0cf37 break out of while loops!
SVN revision: 7167
2003-07-15 02:21:58 +00:00
Carsten Haitzler 395743c598 edje can now swallow other evas objects... including... other EDJES! :)
SVN revision: 7166
2003-07-13 06:19:09 +00:00
Carsten Haitzler 6c7ac065bc yaya! edje_cc total output statistics :)
SVN revision: 7131
2003-07-11 01:47:42 +00:00
Carsten Haitzler 3f98db8705 more arm niceness
SVN revision: 7128
2003-07-10 23:19:55 +00:00
Carsten Haitzler 426a67340f build cross-compiled version. edje on ipaq's :)
SVN revision: 7126
2003-07-10 13:34:04 +00:00
Carsten Haitzler 073e9b47c6 api change... yes i know. sorry! but it's early days. this is much cleaner
using better namespacing.


SVN revision: 7119
2003-07-08 10:08:15 +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 1bf1f933a9 "random" ranged delays are now allowed before a program starts... in fact any
program. just provide an "in, 10.0 5.0;" line in the progrma to say "start
thew program in (10.0 + (random value from 0.0 - 5.0)_ seconds from the time
it is triggered. you can simply delay the program with a constant by making
the range 0.0.


SVN revision: 7104
2003-06-28 04:20:41 +00:00
Carsten Haitzler 62d66a7d63 nuke some FIXME's. smooth parameter now added for fills. program infinite
loops are now detected and limited to a recursion limit of 64 levels.


SVN revision: 7103
2003-06-28 03:08:25 +00:00
Carsten Haitzler fbcf7fc180 more fixme's fixed. more fixme's added. edje is moving.
SVN revision: 7078
2003-06-25 02:29:25 +00:00
Carsten Haitzler 13bac758b5 fixed bug where instant changes didnt happen if no animation was happening.
forgot a call to recalc. also added "Ckiecked" signals... working thru the
todo list.


SVN revision: 7062
2003-06-22 07:58:54 +00:00
Carsten Haitzler 8e4b7d5732 edje test program now has no defaults. it requires you to provide all edje
.eet files AND the collection inside of each to load on the command-line. it
can display more than 1 at any time. just click on the "title" and drag the
edje part around. resize the border as you would any window. you will have
all the edje .eet's there in the window.


SVN revision: 7061
2003-06-22 05:16:12 +00:00
Carsten Haitzler 913f50562a demo app now does its own internal edje resizing/moving.. redying for
multiepl edjes in one test app


SVN revision: 7052
2003-06-21 04:54:15 +00:00
Carsten Haitzler e863599780 more fixme's added, more fixed up. external callbakcs are now in. calling
application can emit signals now too.


SVN revision: 7051
2003-06-21 02:51:01 +00:00
Carsten Haitzler 4521ca1f87 signal emit action added
SVN revision: 7050
2003-06-20 13:41:00 +00:00
Carsten Haitzler 943d63f6f2 stop action supported. parser/compiler is accurate there in not needing more
params. stop is immediate - always. edje test program now uses arguments to
determine what to look at


SVN revision: 7049
2003-06-20 10:44:36 +00:00
Carsten Haitzler 53f0296ad6 a fixme list added, and 1 segv removed! :)
SVN revision: 7048
2003-06-20 09:38:27 +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 5427be918c Adding code to handle programs, signals, emissions, loops, animation, timers
and the whole lot. it WORKS! :) just re-run the e_logo.sh to rebuild an edje
.eet file that has animation built in... you'll see.


SVN revision: 7044
2003-06-19 14:43:49 +00:00
Carsten Haitzler 8cb638f08f the edje test program displays an edje .eet file now! build it all then:
cd data
./e_logo.sh
cd ..
./src/bin/edje

you can resize the window to watch the edje "bit" resize. this is just held
togetehr with sitckytape right now... its not done right.. it's only a
bootstrap - but it works. it needs to be cleaned up. definitely. will be
working on that.


SVN revision: 7041
2003-06-17 08:15:06 +00:00
Carsten Haitzler 40763eba6e some of my other changes from this morning go into edje. more defaults. more
example files... and a build script to make an "e_logo.eet" edje file


SVN revision: 7039
2003-06-17 01:28:01 +00:00
Carsten Haitzler 0a04871590 some default "sane" values to save a lot of typing in edje .edc files + a
test .edc with comments and some images to use for compiling.... :)


SVN revision: 7037
2003-06-16 23:44:13 +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 5d7c4d02e0 we parse.... MORE! :) order is now irrelevant of how you delcare images or
parts and what they are relative to/use. the lookups are put off until just
before write-out. order of parts still is the stacking order though.


SVN revision: 7020
2003-06-14 03:06:36 +00:00
Carsten Haitzler ffc3810ee8 a few more handlers. i think next i need to add a verbose mode for the parser
SVN revision: 7019
2003-06-12 23:02:45 +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
Carsten Haitzler 438b3ec082 parsing much nicer.. in fact starting to actually compile! :)
SVN revision: 7010
2003-06-11 09:30:28 +00:00
Carsten Haitzler 2f63ba5e91 edje_cc is beginning to do something. it parses the image section properly
and builds the memory data struct right, and writes the data struct out via
eet. need to parse the rest, build data structs and write them out ttoo. need
to write out images too.


SVN revision: 7002
2003-06-09 13:51:40 +00:00
Carsten Haitzler c2137f09bb more code & work on ejde. started on edje_cc.
SVN revision: 7001
2003-06-09 11:31:33 +00:00
Carsten Haitzler f38b2f2c98 had wrong title & name/class!
SVN revision: 6971
2003-06-03 02:30:25 +00:00
Carsten Haitzler 664d811ff9 in we go edje... no it doesnt do anything useful at the moment...
SVN revision: 6968
2003-06-02 23:49:56 +00:00