Commit Graph

28 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 17f1ba629a Messages are now passed to children groups (part.type=GROUP)
SVN revision: 30625
2007-07-06 23:03:05 +00:00
rephorm d4a055585b Add GROUP Parts to edje.
These can be used to automatically swallow in another group from the same file.

Parts within child groups can be referred to by a ':' separated 'full path' of
part names. Any API functions that take a part name will now accept a full path
also.

Signals emitted by child objects will be repeated up to the parents with the
source changed to be the path relative to the receiving object.  E.g in the
example below, a mouse moving over the lower light green rectangle would result
in the parent object recieving a "mouse,move" signal with source "bot:inner".

**** NEW RESTRICTION ****  part names should no longer include a ':' character.
This is not yet enforced by edje_cc, but will cause the part to be inaccessible
from the API.

Example EDC:

collections {
  group {
    name: "parent";
    parts {
      part {
        name: "top";
        type: GROUP;
        source: "child";
        description {
          state: "default" 0.0;
          rel2.relative: 1 0.5;
        }
      }
      part {
        name: "bot";
        type: GROUP;
        source: "child";
        description {
          state: "default" 0.0;
          rel1.relative: 0 0.5;
        }
      }
    }
  }
  group {
    name: "child";
    parts {
      part {
        name: "base";
        type: RECT;
        description {
          state: "default" 0.0;
          color: 160 208 8 255;
        }
      }
      part {
        name: "inner";
        type: RECT;
        description {
          state: "default" 0.0;
          rel1.offset: 10 10;
          rel2.offset: -11 -11;
          color: 210 228 76 255;
        }
      }
    }
  }
}


SVN revision: 30087
2007-05-27 05:28:07 +00:00
Carsten Haitzler 002d09cc7d asparagus - pass distcheck.
SVN revision: 29865
2007-05-05 15:14:17 +00:00
Sebastian Dransfeld e06c5c75f6 Reset job incase the user reset's edje.
SVN revision: 29087
2007-03-25 07:10:48 +00:00
Sebastian Dransfeld 787f3095d2 Can't and shouldn't delete job on shutdown. The job handler might not get
called and ecore will free the memory anyway.


SVN revision: 29021
2007-03-24 16:48:51 +00:00
Sebastian Dransfeld 9dbcb5c3ee Remove debug comments.
SVN revision: 29016
2007-03-24 16:05:43 +00:00
sebastid 002bc72042 Fix EAPI warnings.
SVN revision: 19595
2006-01-07 08:54:30 +00:00
Carsten Haitzler bd0c83af10 make more use of stringshare and eet alloc methods
SVN revision: 18732
2005-11-30 15:36:34 +00:00
Carsten Haitzler 25ee716746 push/pop vm on the fly - saves a chunk of ram.
SVN revision: 18625
2005-11-24 03:23:01 +00:00
Carsten Haitzler 725d212f48 handle NULL strings better - need to handle mroe NULLS though
SVN revision: 18617
2005-11-23 12:56:06 +00:00
Carsten Haitzler a080215a72 remove excess calcs.
add faster missed job reaper timer


SVN revision: 18183
2005-11-01 04:10:01 +00:00
Carsten Haitzler 3c16cf0327 ug callback that deletes the object that is bing walked for callbacks...
ouch.. fix.


SVN revision: 15932
2005-07-28 13:39:23 +00:00
Carsten Haitzler 9e5eed53b1 working on fixing job loss...
SVN revision: 12962
2005-01-14 04:50:29 +00:00
Carsten Haitzler e7ff787ea6 a workaround for myseterious job loss...
SVN revision: 12954
2005-01-13 15:42:56 +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 878bd6d9f4 deferred message bug. fixeed.
SVN revision: 12335
2004-12-02 09:21:22 +00:00
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
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
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
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
Carsten Haitzler 351f721449 BUGGERS.... squished. why didnt anyone spot this? :-(
SVN revision: 10703
2004-07-06 02:40:14 +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