Commit Graph

458 Commits

Author SHA1 Message Date
tsauerbeck 63c238b0c1 Oops
SVN revision: 12059
2004-10-29 15:12:01 +00:00
tsauerbeck 6d6cf88517 reduced code duplication
SVN revision: 12058
2004-10-29 14:56:27 +00:00
tsauerbeck 917adb5118 fixed insert_float()
SVN revision: 12057
2004-10-29 14:49:10 +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 25d310a49b there's no need to copy the string byte by byte, use snprintf instead
SVN revision: 12053
2004-10-29 13:50:27 +00:00
tsauerbeck ade8c6b269 doxygen fixes
SVN revision: 12042
2004-10-27 19:24:42 +00:00
tsauerbeck 015a2cde3f implemented float list ops, replace_int and replace_str
SVN revision: 12041
2004-10-27 16:20:05 +00:00
tsauerbeck 74f19082f8 programs may not specify 'target' before 'action'
SVN revision: 12040
2004-10-27 16:17:12 +00:00
Carsten Haitzler cbc6f32c54 oops. edje text format cache didnt take into account alignment... fix.
SVN revision: 12039
2004-10-27 06:07:50 +00:00
tsauerbeck 1ba9deec38 initialize the random number generator
SVN revision: 12037
2004-10-26 19:01:17 +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
shadoi c7f27cd83b Uncomment edje_edit stuff so iconbar will build again.
SVN revision: 11970
2004-10-22 22:45:34 +00:00
tsauerbeck 7c1508ec8c implemented string list calls. untested, beware.
SVN revision: 11964
2004-10-22 20:25:31 +00:00
tsauerbeck 81b238eaa4 updated Doxyfiles
SVN revision: 11960
2004-10-22 19:12:14 +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 125890490b description.border -> description.image.border
SVN revision: 11929
2004-10-20 20:43:39 +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
Carsten Haitzler 3d49466146 and on file set - live in the RIGHT layer
SVN revision: 11921
2004-10-20 06:25:43 +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
Carsten Haitzler 217846ceb3 limit embryo scritps form being able to go into finitie or waay too long loops.
SVN revision: 11906
2004-10-19 09:56:14 +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 5765aa4ef7 int 'list' ops
SVN revision: 11881
2004-10-14 04:29:16 +00:00
tsauerbeck 432cc2a13d warnings
SVN revision: 11866
2004-10-13 19:04:45 +00:00
tsauerbeck d0cdfc0f7c the 'low level' edje var list functions decrement id by EDJE_VAR_MAGIC_BASE, too, so make sure we increment it before to get a correct value in the end
SVN revision: 11865
2004-10-13 18:56:48 +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 e56130f4ff accessing wrong memmber. fixed.
SVN revision: 11854
2004-10-13 07:05:28 +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 57743f51db portability improvements
SVN revision: 11843
2004-10-12 16:20:12 +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 587d771f32 warning fixes
SVN revision: 11832
2004-10-11 18:12:26 +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 0a7178b883 smooth
SVN revision: 11824
2004-10-10 11:29:00 +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 31da916f06 add some mroe comments for bored people who want to work on this :)
SVN revision: 11673
2004-09-20 04:09:47 +00:00
swielinga 510f176ac8 Slight update for the debian packaging of imlib2, imlib2_loaders, ecore, edje;
more to come later.


SVN revision: 11665
2004-09-18 12:31:30 +00:00
rbdpngn f0c4481bdf glibtoolize
SVN revision: 11625
2004-09-13 05:38:15 +00:00
Carsten Haitzler bf564f9174 no no. do it this way! :)
SVN revision: 11622
2004-09-13 03:23:29 +00:00
Carsten Haitzler 674c783cdf more message queue calls
SVN revision: 11607
2004-09-11 02:59:23 +00:00
Carsten Haitzler 4648c06858 expose the ability to process the message queue any time :)
SVN revision: 11606
2004-09-11 02:41:23 +00:00
rephorm cbbc9f38fc Check if descriptors exist (i.e. if edje_init() was run) before trying to use them.
SVN revision: 11596
2004-09-09 21:55:32 +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
sleuth 7e1f40f119 .spec binary additions
Kevin Brosius <cobra@compuserve.com>


SVN revision: 11528
2004-09-06 03:35:37 +00:00
Carsten Haitzler 90bac49c4f use animators... :)
SVN revision: 11521
2004-09-05 08:11:36 +00:00
Carsten Haitzler f8aaef0cf7 oops - if the edje ONLy has a swallow part.. bad things (tm) happen :)
SVN revision: 11515
2004-09-04 09:45:59 +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
tsauerbeck cdd01dee53 increment EDJE_FILE_VERSION because of the recent font directory additions
SVN revision: 11447
2004-08-30 16:08:31 +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
rephorm 0cccbd1d40 Add a Font_Directory to Edje_File
Check fonts against directory entries.


SVN revision: 11438
2004-08-30 05:39:24 +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
tsauerbeck f897d3b05b add missing AM_CONDITIONAL call
SVN revision: 11432
2004-08-29 11:30:59 +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
Carsten Haitzler 7948fb2fc8 edje.inc was wrong (so was the comment)
SVN revision: 11381
2004-08-26 00:44:14 +00:00
tsauerbeck 9c647255e8 i think we can get rid of the script debugging spam now
SVN revision: 11375
2004-08-25 15:42:40 +00:00
tsauerbeck db7455d97a added SWALLOW to constants
SVN revision: 11370
2004-08-25 13:22:28 +00:00
Carsten Haitzler 032bb7bfd2 minw/h didnt let given minw/h for item override text minw/h if the override
is bigger. fix.


SVN revision: 11369
2004-08-25 12:34:00 +00:00
Carsten Haitzler 3c0cb05a60 containers on hold for now...
SVN revision: 11358
2004-08-25 00:53:45 +00:00
tsauerbeck 6c0e20d5e0 warning fixes
SVN revision: 11339
2004-08-24 10:06:33 +00:00
Carsten Haitzler 795fa244e1 oops got errors the wrong way
SVN revision: 11332
2004-08-24 02:11:38 +00:00
Carsten Haitzler acb65be215 1. more container work
2. debugging output for atmos's edje embryo script op issue


SVN revision: 11331
2004-08-24 01:48:19 +00:00
tsauerbeck 2b7e81c3dc added text to cLabel
SVN revision: 11326
2004-08-23 16:41:28 +00:00
atmosphere 2d27cb044e doh, thanks dj2
SVN revision: 11299
2004-08-22 04:02:44 +00:00
atmosphere 7b7707694b misinterpretted this, put it back in
SVN revision: 11298
2004-08-22 04:00:52 +00:00
atmosphere 86c7360119 hook in get_geometry to the edje embryo calls
SVN revision: 11297
2004-08-22 02:20:00 +00:00
atmosphere 09b36c3b5f as per raster's request, return values as ints
SVN revision: 11296
2004-08-22 02:18:39 +00:00
atmosphere 027a3e9254 get part geometry in embryo
SVN revision: 11295
2004-08-22 01:29:25 +00:00
xcomputerman 05b75d8230 And remove C bitfield syntax so that new keyword notation (":" instead of ",") will work right
SVN revision: 11265
2004-08-18 03:36:48 +00:00
xcomputerman 77570e313f Add script statement to EDC syntax file
SVN revision: 11263
2004-08-18 03:33:37 +00:00
Carsten Haitzler d303467a0f forgot to emti program start/stop if the action is invalid/empty
SVN revision: 11255
2004-08-18 01:09:14 +00:00
Carsten Haitzler a0e8259d56 more container fillage
SVN revision: 11234
2004-08-16 05:09:58 +00:00
Carsten Haitzler f4208aa56c aaaaaaaaaaaah message queue related fix.
SVN revision: 11207
2004-08-12 18:55:45 +00:00
swielinga c7dc828879 Big debian packaging update.
SVN revision: 11181
2004-08-08 10:56:44 +00:00
azundris 0517575a94 * more edje.pc
SVN revision: 11110
2004-07-30 18:29:10 +00:00
azundris 07e87979f7 * prelim edje.pc. emotion.pc wants this.
SVN revision: 11109
2004-07-30 18:18:50 +00:00
Carsten Haitzler 1dc4f2aa78 edje done the same was as everything else...
SVN revision: 11068
2004-07-28 00:39:22 +00:00
Carsten Haitzler 908b595357 more container stubs...
SVN revision: 11061
2004-07-27 19:05:46 +00:00
Michael Jennings 2815e3efc1 Sun Jul 25 17:45:53 2004 Michael Jennings (mej)
Fixed up lots of spec files here.  I haven't been able to test the
emotion spec file, but hopefully I didn't break anything too
terrible. :-)

Also fixed an etox problem with the conditional test build.
----------------------------------------------------------------------


SVN revision: 11021
2004-07-25 21:50:40 +00:00
rbdpngn 6b9f49e51f Make the enum typedef seperate to appease some annoying compilers.
SVN revision: 10871
2004-07-16 23:34:26 +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 001bc61602 more comments
SVN revision: 10821
2004-07-14 09:59:29 +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
Michael Jennings 771ef088c0 Thu Jul 8 13:45:01 2004 Michael Jennings (mej)
Less cleaning than usual!  Nym!
----------------------------------------------------------------------


SVN revision: 10744
2004-07-08 17:45:38 +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
tsauerbeck 11b50e24ea it's called edje, not eet
SVN revision: 10728
2004-07-07 19:46:06 +00:00
Carsten Haitzler 351f721449 BUGGERS.... squished. why didnt anyone spot this? :-(
SVN revision: 10703
2004-07-06 02:40:14 +00:00
Carsten Haitzler f12cbc0ad2 oops - fix alignment just a little
SVN revision: 10695
2004-07-05 10:59:37 +00:00
Carsten Haitzler b6a2cdff92 update comments
SVN revision: 10694
2004-07-05 04:12:23 +00:00
swielinga 3a75e214c1 Updated edje debian packaging.
SVN revision: 10680
2004-07-04 11:12:09 +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 6393094fb7 werd up to ma homies yo... err - i mean - message queue now uses more
standard structs for messages, and i allow the message queue to fee itsel for
up to 8 iterations before forcing us to rever to normal loop processing
again. this shoudl cover most soignal emit/respond cases in normal usage
without forcing more loop to run and possibly a render.


SVN revision: 10662
2004-07-02 03:24:56 +00:00
Carsten Haitzler 4c90cb8d2a example of message handler in test.edc... a start.
SVN revision: 10657
2004-07-01 06:38:36 +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 e579c7438e aqdd message_queue. i will move signal emits to go onto the message queue
as well as generic messages for app and embryo scripts to communicate more
effectively


SVN revision: 10622
2004-06-29 07:23:17 +00:00
Carsten Haitzler b97f661628 autofool cleanups... argh! i hate autofools!
SVN revision: 10574
2004-06-24 06:11:36 +00:00
Carsten Haitzler b05d836e27 embryo scritps update edje properly now?
SVN revision: 10550
2004-06-19 16:24:21 +00:00
Carsten Haitzler 9fb09cae7a edje arlo patches
SVN revision: 10443
2004-06-06 04:42:17 +00:00
Carsten Haitzler 8c5069a658 add stuff for evoak... and edje list vars... :)
SVN revision: 10424
2004-06-03 09:14:55 +00:00
Carsten Haitzler f1ada6e4f3 protect against an infinite loop...
SVN revision: 10345
2004-05-24 08:40:21 +00:00
Carsten Haitzler 907ef368ce dont need {}'s
SVN revision: 10344
2004-05-24 08:30:30 +00:00
Carsten Haitzler a020e4acea 1 less printf too :)
SVN revision: 10343
2004-05-24 08:17:46 +00:00
Carsten Haitzler fc8092a048 hrrrrm - aaah this is better!
SVN revision: 10342
2004-05-24 08:16:42 +00:00
Carsten Haitzler e7c2026851 did i forget to remove the printf's again? DAMNIT!
SVN revision: 10341
2004-05-24 08:02:01 +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