Commit Graph

269 Commits

Author SHA1 Message Date
Cedric BAIL 07742ef737 edje: fix memory leak when alias are present.
SVN revision: 74960
2012-08-07 06:20:35 +00:00
Cedric BAIL bbc88ac13b edje: destroy child and group correctly.
SVN revision: 72838
2012-06-26 03:44:30 +00:00
Mike Blumenkrantz a5aacec015 fix a crash when edje parent is null from _edje_fetch
SVN revision: 72585
2012-06-21 10:23:42 +00:00
Cedric BAIL 1442bc1e74 edje: fix big oopsie.
NOTE: this should unbreak your use of E17 clock widget
and elm_list should still be fine.


SVN revision: 72097
2012-06-14 01:20:26 +00:00
Cedric BAIL 0fe4412879 edje: rename VIRTUAL into SPACER and also fix Edje_Edit and inspector.
SVN revision: 72058
2012-06-13 03:21:31 +00:00
Cedric BAIL a317c36990 edje: properly clean up callbacks when destroying edje object.
SVN revision: 72057
2012-06-13 03:10:18 +00:00
Carsten Haitzler 0d33c5eb19 bitch--
SVN revision: 72043
2012-06-12 16:29:11 +00:00
Cedric BAIL c712e0fc29 edje: fix leak introduced by VIRTUAL.
SVN revision: 71898
2012-06-10 12:15:02 +00:00
Tom Hacohen cee70e9e33 Edje load: Although we don't use them that much, we have refcounts in evas.
Don't assume an evas_object_del has to delete the object.

SVN revision: 71895
2012-06-10 11:14:42 +00:00
Cedric BAIL b0e087b6bf edje: morning speed of edje. Theme can now be a little bit lighter and faster.
NOTE: VIRTUAL part are almost like rectangle except they don't create any object
on the canvas. This part can't be visible, nor have any color, nor be used as a
clip, nor receive any event.


SVN revision: 71674
2012-06-04 02:57:15 +00:00
Cedric BAIL d83b283941 edje: fix little oopsie on theme change.
SVN revision: 71243
2012-05-20 07:16:23 +00:00
Cedric BAIL 19cff8be60 edje: fix double opening of edje file.
NOTE: know issue, in elementary_config the size of the icon
change after a theme reload. I don't know what information is
lost between to reload. If someone can point at them, thanks.


SVN revision: 71235
2012-05-18 14:37:21 +00:00
Cedric BAIL 0f490ba1dc edje: fix text and table with fixed point and clamp image tween.
SVN revision: 71152
2012-05-16 10:37:44 +00:00
Cedric BAIL 72061a67c7 edje: remove some printf.
SVN revision: 71088
2012-05-15 03:24:31 +00:00
Cedric BAIL 75172d209d edje: preserve drag information to.
SVN revision: 70997
2012-05-14 11:18:45 +00:00
Cedric BAIL ba073b67f9 edje: preserve user box and table items during call of edje_object_file_set.
NOTE: now you can change theme dynamically in elementary apps more reliably.
This doesn't handle the case where the swallow was done in a parent object and
the reswallow should happen in a another group. I don't how to fix that use
case.
don't see yet how to handle that


SVN revision: 70901
2012-05-10 05:37:38 +00:00
Cedric BAIL b786fe1ced edje: automatically emit ['edje,change,file', 'edje'] when the file change on disk.
For the moment only edje_player use it. This means that when used with
edje_watch, you don't need any more to type any kind of command line
when you are testing value in your theme. As a side effect, this means
that their is a real use case to make edje_cc faster !



SVN revision: 70890
2012-05-09 09:16:52 +00:00
Cedric BAIL 8f61823f67 edje: check that the file on disk didn't change when we try to reopen it.
SVN revision: 70883
2012-05-09 07:30:59 +00:00
ChunEon Park d905ebda6a edje - + NULL check
Signed-Off-By: ShilpaOnkar Singh(shilpa.singh@samsung.com)



SVN revision: 69637
2012-03-26 12:44:33 +00:00
Cedric BAIL 13ae7e3ea4 edje: add EDJE_DUMP_PROGRAMS.
SVN revision: 67940
2012-02-14 18:07:44 +00:00
Cedric BAIL 17b4d5db06 edje: remove white space.
SVN revision: 67478
2012-01-23 16:39:37 +00:00
Carsten Haitzler 185832f2da fix style change inside callback reported by:
Guilherme Silveira <xguiga@gmail.com>



SVN revision: 67368
2012-01-20 02:57:02 +00:00
Carsten Haitzler 2264bfe0b7 wo... this turned out to be much more of a pain. minmul now works -
allows us to multiple a minimim size explicitly for min size calc so
we can do things like have content slide open/closed properly.



SVN revision: 67197
2012-01-14 02:29:13 +00:00
Cedric BAIL db8b732bef edje: more warning with borken .edj.
SVN revision: 66333
2011-12-19 16:00:06 +00:00
Cedric BAIL 186db4e496 edje: reduce parts walk during load time of Edje file.
SVN revision: 66281
2011-12-16 10:17:55 +00:00
Cedric BAIL 3e46832708 edje: oops, should have compiled that one.
SVN revision: 66278
2011-12-16 09:49:21 +00:00
Cedric BAIL 27b0d50d98 edje: fix wrong call to free() in edje_load.
SVN revision: 66276
2011-12-16 09:40:43 +00:00
Carsten Haitzler 2c283ada65 fix awful event re-propagation between every part and parent and part
and.... u get the idea. this made an n^m list of messages... where n
was 3 of messages sent and m was # of child parts (42 of them)... this
caused a silly 3 of timers to be allocated... don't ask how many. in a
simple snapshot i saw 101mb of timers allocated... and i was just
starting... anyway - this makes the propagatiopn not propagate down
and then back up again... and it only needs 1 timer allocated to
handle a re-schedule of processing messages. not N. "leak" that was
just a massive memory spike) is now fixed.



SVN revision: 65571
2011-11-24 11:51:11 +00:00
Carsten Haitzler 8ddf9df17b fix propagation to child groups - seems we had src set to null that i
didnt catch when i added it at the end.



SVN revision: 65403
2011-11-19 04:23:27 +00:00
Carsten Haitzler e5667ae16b fix edje object leak if child obj file set fails!!!
SVN revision: 65402
2011-11-19 04:16:32 +00:00
Carsten Haitzler 2966d44f67 fix looping message passing from children back to parent then back to
child, parent etc. due to changes in propagation code.



SVN revision: 65398
2011-11-19 03:24:37 +00:00
Carsten Haitzler 4e97f85876 fix inconsistency with propagating signals and messages. now messages
AND signals should propagate to children the SAME WAY - that means
children you added explicitly in the edje file and not form c code get
propagated to.



SVN revision: 65384
2011-11-18 10:35:38 +00:00
Carsten Haitzler 132dd78a10 formatting fix
SVN revision: 65369
2011-11-18 07:18:19 +00:00
Prince Kumar Dubey 3cc8139906 From: Prince Kumar Dubey <prince.dubey@samsung.com>
From: Govindaraju S M <govi.sm@samsung.com>
Subject: edje multisense patch for sound sample, tone and haptic play

... This is the beginning of sound (and haptic) support in Edje - it
works, but only at certain basic sample playback levels. more will come.



SVN revision: 64731
2011-11-04 12:18:13 +00:00
Christopher Michael 4ac5e88875 Edje: if _edje_fetch fails and we are returning from here, then no need to
fetch evas_object_evas_get. Use eina_stringshare_replace rather than
del & add. Fix a little formatting.



SVN revision: 63533
2011-09-22 07:19:50 +00:00
Sebastian Dransfeld 08559f2c8b edje: Fix shadow warnings
SVN revision: 62563
2011-08-18 10:59:34 +00:00
Cedric BAIL 2ca0489fc5 edje: give more info when needed.
Typicall case being with elementary not taking theme
into account due to misspelling.


SVN revision: 60599
2011-06-22 15:59:15 +00:00
Cedric BAIL e8ec9f6c50 edje: update hints after loading GROUP.
SVN revision: 60026
2011-06-07 07:43:32 +00:00
Cedric BAIL 993b27c50f edje: set parent earlier.
SVN revision: 59996
2011-06-06 17:29:07 +00:00
Cedric BAIL 9c22d6a9e9 edje: parent link should be properly set before instantiating sub object.
SVN revision: 59989
2011-06-06 13:10:54 +00:00
Carsten Haitzler 66aef5074f add use of freeze+thaw for improvement in out-there scenarios.
SVN revision: 59730
2011-05-27 10:32:53 +00:00
Carsten Haitzler 5829d373c9 doxy -> .h
SVN revision: 58478
2011-04-08 07:45:46 +00:00
Brett Nash 6894af9d5e Edje: (trivial) Put the clipper/evas pointer in the base structure.
I say trivial in the sense it has no functional changes, however it's a large
patch.  Recommendation from Gustavo.

SVN revision: 58080
2011-03-25 03:21:07 +00:00
Cedric BAIL d0810de637 edje: add PROXY part.
example:

collections {
   group {
      name: "main";
      parts {
         part {
            name: "sub1";
            type: GROUP;
            source: "sub1";

            description {
               rel1.relative: 0.5 0.5;
               rel2.relative: 1.0 1.0;
            }
         }

         part {
            name: "pro2";
            type: PROXY;

            description {
               rel1.relative: 0.0 0.5;
               rel2.relative: 0.5 1.0;
               source: "sub1";
               color: 255 0 0 128;

               map {
                  on: 1;
                  smooth: 1;
                  rotation {
                     z: 30;
                  }
               }
            }
         }
      }
   }

   group {
      name: "sub1";
      parts {
         part {
            name: "rect";
            type: RECT;

            description {
               rel1.relative: 0.0 0.0;
               rel2.relative: 0.5 0.5;
               color: 255 0 0 255;

               map {
                  on: 1;
                  smooth: 1;
                  rotation {
                     z: -30;
                  }
               }
            }
         }

         part {
            name: "pro1";
            type: PROXY;

            description {
               rel1.relative: 0.5 0.0;
               rel2.relative: 1.0 0.7;
               color: 128 128 0 128;
               source: rect;
            }
         }
      }
   }
}




SVN revision: 57694
2011-03-11 17:46:29 +00:00
Cedric BAIL c54cc95085 edje: fix signal comming from box/table part.
Thanks to the report by Jonathan "Watchwolf" Atton.


SVN revision: 57299
2011-02-24 14:41:08 +00:00
Tom Hacohen 5e33a75553 Edje: Added mirrored mode. Mirrored mode is used for UI-mirroring. It lets you mirror edje objects automatically (it also sends signals to the .edc code so you can do tweaks if you want), no need to create a special theme just for rtl layouts.
This is controlled by the two added API functions.
The changes in Elementary that utilize these functions will be committed soon.

SVN revision: 56635
2011-02-01 13:26:49 +00:00
Vincent Torri c69cd7ec27 use size_t when it does not hurt
SVN revision: 55548
2010-12-14 06:19:30 +00:00
Iván Briano 014d9e424c NULL out focused part when clearing the remnants of a gone Edje
SVN revision: 55330
2010-12-06 13:50:51 +00:00
Carsten Haitzler 4a55d2bda4 if we aren't looking for a glob... why do we go alloc a possible
massive pattern match thing.. if you have a LOOOOOOOOOOT of collection
entries... that can be a big set.



SVN revision: 55316
2010-12-06 07:49:00 +00:00
Carsten Haitzler 7c835c0efb aaaah more bad cedric ... eh? :)
SVN revision: 53794
2010-10-23 03:51:12 +00:00