Commit Graph

264 Commits

Author SHA1 Message Date
rephorm 634caa3c9e ref and unref the edje when blocking/unblocking and creating/deleting messages to avoid accessing free'd memory if an edje is deleted from an edje signal callback.
SVN revision: 12070
2004-10-30 02:30:55 +00:00
tsauerbeck 2b81462e95 don't invert part alignment when the part is smaller than the min size. this means that an alignment of 0.0 will *always* be top/left.
SVN revision: 12069
2004-10-29 22:32:35 +00:00
tsauerbeck 53596e93c3 added basic support for custom state magic. only description.align can be changed at runtime so far.
SVN revision: 12065
2004-10-29 17:56:12 +00:00
tsauerbeck ef62e4a544 fixed timer/animator mixup
SVN revision: 12062
2004-10-29 16:28:42 +00:00
tsauerbeck 82db225041 tweak
SVN revision: 12061
2004-10-29 15:43:50 +00:00
tsauerbeck 222cbec230 Oops2
SVN revision: 12060
2004-10-29 15:14:43 +00:00
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 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
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
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
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 84f7e7fcd7 extar dist too for edje_recc
SVN revision: 11942
2004-10-21 07:37:35 +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
Carsten Haitzler 3d49466146 and on file set - live in the RIGHT layer
SVN revision: 11921
2004-10-20 06:25:43 +00:00
tsauerbeck 63f3874903 better vim modelines for raster code
SVN revision: 11910
2004-10-19 16:50:27 +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 5765aa4ef7 int 'list' ops
SVN revision: 11881
2004-10-14 04:29:16 +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
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 57743f51db portability improvements
SVN revision: 11843
2004-10-12 16:20:12 +00:00
tsauerbeck 587d771f32 warning fixes
SVN revision: 11832
2004-10-11 18:12:26 +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
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
Carsten Haitzler 497c68450d fix fonts in OTHEr states than default! :)
SVN revision: 11545
2004-09-07 14:48:41 +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
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 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
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
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
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
Carsten Haitzler 908b595357 more container stubs...
SVN revision: 11061
2004-07-27 19:05:46 +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
Carsten Haitzler 001bc61602 more comments
SVN revision: 10821
2004-07-14 09:59:29 +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
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
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
tsauerbeck 5cfffec48b this was starting to annoy me :P
SVN revision: 10322
2004-05-22 19:59:32 +00:00
Carsten Haitzler 524c4d7cce oops - double run - remove. my bad. mis-merge
SVN revision: 10310
2004-05-22 03:00:51 +00:00
Carsten Haitzler b0a48c3e18 cross-compile fix
SVN revision: 10291
2004-05-20 07:04:09 +00:00
Carsten Haitzler aa391f1a25 and put back some calls we lost in the patch/diff... :)
SVN revision: 10279
2004-05-19 02:54:52 +00:00
Carsten Haitzler a778585887 clean up callbacks and smart stuff too
SVN revision: 10268
2004-05-18 06:06:57 +00:00
Carsten Haitzler 523ae99dc2 clean up more...
SVN revision: 10267
2004-05-18 06:05:49 +00:00
Carsten Haitzler 709fa0ba1f hmm - dont delete swallowed child objects... too much implicit stuff..
SVN revision: 10265
2004-05-18 04:21:22 +00:00
Carsten Haitzler 7cac3f55e7 well - we can go back to where we were before. type overflow issue
SVN revision: 9950
2004-04-28 01:53:30 +00:00
Carsten Haitzler b0f43ce516 make default clip smaller. we weem to be overflowing calculations to do with
the clip...


SVN revision: 9946
2004-04-28 00:43:56 +00:00
Carsten Haitzler 35018ca1e2 hmm - for now dont over-optimise...
SVN revision: 9927
2004-04-27 08:59:24 +00:00
Carsten Haitzler f964491ae9 not evas_coord safe! fix. :)
SVN revision: 9921
2004-04-27 08:16:13 +00:00
Carsten Haitzler 196cc7e9a6 oopsie - NOW its fixed! :)
SVN revision: 9871
2004-04-23 08:06:33 +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
rephorm 88589aae0c fill in some embryo calls.
not fully tested yet. click on the spinning logo to animate the dragable in e_logo.eet (as an example of set_drag())


SVN revision: 9800
2004-04-20 00:24:30 +00:00
Carsten Haitzler 3e09b08e74 survive make distcheck...
SVN revision: 9747
2004-04-16 02:06:39 +00:00
Carsten Haitzler d22c821b4a timers and animators are now supported from the embryo scripts - WOOO!
examples in e_logo.edc

errr - the animators may have problems if somehow aan animator is deleted or
object deleteded or file changed while running thru the list...


SVN revision: 9567
2004-04-02 09:16:53 +00:00
Carsten Haitzler 231a8f8cd0 ok - examples of how to hook some embryo calls in - help appreciated with the
nice big LIST! :)


SVN revision: 9565
2004-04-02 03:55:38 +00:00
Carsten Haitzler 6670c61e33 alloca...
SVN revision: 9564
2004-04-02 00:16:21 +00:00
Carsten Haitzler 40f9fc4f31 faster lookups for programs & parts - saves a lot of list walking
SVN revision: 9552
2004-04-01 15:32:17 +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 dd2bb0b59c notes for me on what apis to export...
SVN revision: 9523
2004-03-30 02:03:07 +00:00
Carsten Haitzler ed13e15913 some notes for myself...
SVN revision: 9519
2004-03-29 12:00:01 +00:00
Carsten Haitzler 419bd77877 remove that debug... dont need that.
SVN revision: 9515
2004-03-28 06:21:52 +00:00