Commit Graph

9425 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 6262a884fb Initial support for Emotion as Edje EXTERNAL.
Very crude, needs testing... but I can already play videos from inside
editje and edje_player :-D



SVN revision: 47642
2010-04-01 03:59:39 +00:00
Gustavo Sverzut Barbieri f10ffca9c4 handle cases without default values and add missing functions.
SVN revision: 47640
2010-04-01 03:48:07 +00:00
Gustavo Sverzut Barbieri fdedaedea0 fix stupid bug, my bad at copy and paste...
SVN revision: 47639
2010-04-01 03:47:04 +00:00
Gustavo Sverzut Barbieri dc0eb07860 allow changing module during runtime, don't forget about file and play state.
SVN revision: 47638
2010-04-01 02:17:40 +00:00
Gustavo Sverzut Barbieri 4a9c82671e consts++
SVN revision: 47637
2010-04-01 01:33:56 +00:00
Gustavo Sverzut Barbieri 651070fc1d new program action PARAM_SET, complements PARAM_COPY.
Sometimes you want to catch an action like "clicked" from elm/button
or "mouse,clicked,1" from a regular part and want to set a property
like "play" on some object. In this case there is no source property
to copy, so setting the destination makes sense. This was possible
with Embryo, and now it is with regular "program".

Sample EDC:
{{{

   // test.edc, compile with edje_cc and run with edje_player

   externals {
      external: "elm";
   }
   collections {
      group { name: "main";
         parts {
            part { name: "bg"; type: RECT;
               description { state: "default" 0.0;
                  color: 255 255 255 255;
               }
            }
            part { name: "button"; type: EXTERNAL;
               source: "elm/button";
               description { state: "default" 0.0;
                  rel2.relative: 1.0 0.5;
               }
            }
            part { name: "display"; type: TEXT;
               description { state: "default" 0.0;
                  color: 0 128 0 255;
                  rel1.relative: 0.0 0.5;
                  rel2.relative: 0.5 1.0;
                  text { font: "Sans"; size: 16; }
               }
            }
            part { name: "entry"; type: EXTERNAL;
               source: "elm/scrolled_entry";
               description { state: "default" 0.0;
                  rel1.relative: 0.5 0.5;
                  params.bool: "editable" 0;
               }
            }
            programs {
               program {
                  signal: "clicked";
                  source: "button";
                  action: PARAM_SET "display" "text" "hello world!";
               }
               program {
                  signal: "clicked";
                  source: "button";
                  action: PARAM_SET "entry" "text" "bla!";
               }
            }
         }
      }
   }

}}}



SVN revision: 47635
2010-03-31 20:48:51 +00:00
Carsten Haitzler 6b60d6d1ee avoid errors - calling more lua calls afre the pcall failed... bad!
SVN revision: 47619
2010-03-31 10:02:51 +00:00
Carsten Haitzler 197e4b7bad some debugging i get to turn on sometimes... off now.
SVN revision: 47618
2010-03-31 09:25:21 +00:00
Carsten Haitzler 54f089964c maybe fix rui's stuff?
SVN revision: 47616
2010-03-31 00:39:10 +00:00
Carsten Haitzler d9d11ba836 fixme-- ... my bad! looking at wrong fn! :)
SVN revision: 47598
2010-03-30 12:44:37 +00:00
Sebastian Dransfeld 6d00dc126b efreet: use alloca for local dynamic buffer
SVN revision: 47597
2010-03-30 12:22:15 +00:00
Sebastian Dransfeld 1b6662b2e9 efreet: remove strdup
SVN revision: 47596
2010-03-30 12:22:05 +00:00
Sebastian Dransfeld a44f87390d efreet: benefit from stringshare
SVN revision: 47595
2010-03-30 12:21:55 +00:00
Sebastian Dransfeld c2db2c4258 efreet: stringshare
SVN revision: 47594
2010-03-30 12:21:44 +00:00
Sebastian Dransfeld 40a5c9a155 efreet: stringshare
SVN revision: 47593
2010-03-30 12:21:33 +00:00
Sebastian Dransfeld 72a79471d5 remove strdup
SVN revision: 47592
2010-03-30 12:21:23 +00:00
Sebastian Dransfeld ac18d14316 efreet: benefit from stringshare
Since both values are stringshared, we can use direct comparison.

SVN revision: 47591
2010-03-30 12:21:12 +00:00
Sebastian Dransfeld 1063df8b9e efreet: stringshare
SVN revision: 47590
2010-03-30 12:20:55 +00:00
Sebastian Dransfeld 6da3c6846d efreet: stringshare
SVN revision: 47588
2010-03-30 11:07:19 +00:00
Sebastian Dransfeld 592ebdcb5b efreet: stringshare
SVN revision: 47587
2010-03-30 11:07:07 +00:00
Sebastian Dransfeld c06492ded0 efreet: stringshare
SVN revision: 47586
2010-03-30 11:06:56 +00:00
Sebastian Dransfeld caa9409ac0 efreet: Check if old and new cache equals
SVN revision: 47585
2010-03-30 10:51:45 +00:00
Sebastian Dransfeld 1aa568e828 efreet: Check source of desktop
Flag changed if efreet_desktop_new doesn't return a eet cached value.

SVN revision: 47584
2010-03-30 10:51:35 +00:00
Carsten Haitzler d3de8d9f1d hmm - avoid crash for now, but bitch loudly
SVN revision: 47581
2010-03-30 05:29:49 +00:00
Carsten Haitzler 76b3bed05e comment++
SVN revision: 47577
2010-03-30 05:15:33 +00:00
Gustavo Sverzut Barbieri 5f4784e49c call me stupid, need to expose it... not in a good day :-/
SVN revision: 47574
2010-03-30 01:30:51 +00:00
Gustavo Sverzut Barbieri 3d206d92f6 oops, embryo limits names to 31 chars!
SVN revision: 47572
2010-03-30 00:39:14 +00:00
Carsten Haitzler 04af71119f bah!
SVN revision: 47571
2010-03-30 00:02:19 +00:00
Gustavo Sverzut Barbieri 0b231e99ce Add CHOICES to EXTERNAL support.
Choices are useful to represent enumerations and restricted set of
elements to user. Usually this is displayed in hoversel/comboboxes.



SVN revision: 47570
2010-03-29 21:51:40 +00:00
Sebastian Dransfeld 3db40c0d97 efreet: fix strdup + stringshare
SVN revision: 47568
2010-03-29 20:14:43 +00:00
Sebastian Dransfeld 434759396a efreet: use efreet_desktop_new, not get
As we free the desktop in the same func, use uncached version

SVN revision: 47567
2010-03-29 20:11:12 +00:00
Sebastian Dransfeld 68d33e8c59 efreet: TODO++
SVN revision: 47566
2010-03-29 20:10:26 +00:00
Gustavo Sverzut Barbieri 1bb3339188 another useful function
SVN revision: 47564
2010-03-29 19:32:45 +00:00
Gustavo Sverzut Barbieri 4981652e8c set ecore_app arguments, edje external will use it to init elm_init()
SVN revision: 47563
2010-03-29 18:45:18 +00:00
Gustavo Sverzut Barbieri acadc5e210 export useful function.
SVN revision: 47562
2010-03-29 18:44:42 +00:00
Iván Briano a5c6fd883d More safety removing stuff from lists
SVN revision: 47554
2010-03-29 07:13:35 +00:00
Iván Briano 202d3765cf Use safe macros to walk the lists when we may remove something from it
SVN revision: 47553
2010-03-29 07:03:36 +00:00
Carsten Haitzler 5f309b5d9f actually fix evas event cb leak for good. work ast smart desc leak.
SVN revision: 47552
2010-03-29 05:03:25 +00:00
Carsten Haitzler 46e1d8a866 fix small leak - cannvas callbacks not cleaned.
SVN revision: 47551
2010-03-29 02:40:49 +00:00
Sebastian Dransfeld 6d0651d4f2 efreet: Only update cache files if changed
SVN revision: 47546
2010-03-28 20:46:27 +00:00
Sebastian Dransfeld 13b51829ae efreet: TODO--
SVN revision: 47545
2010-03-28 20:36:47 +00:00
Sebastian Dransfeld 44aea1a452 efreet: Remove unneeded flag
SVN revision: 47544
2010-03-28 20:36:37 +00:00
Sebastian Dransfeld c37ca95819 efreet: Remove unneeded flag
SVN revision: 47543
2010-03-28 20:36:26 +00:00
Sebastian Dransfeld 5e33a5798f Remove unneeded TOOD
SVN revision: 47542
2010-03-28 20:36:11 +00:00
Sebastian Dransfeld c7dc3a221d efreet: Only read data from disk when modified
SVN revision: 47539
2010-03-28 19:31:37 +00:00
Sebastian Dransfeld d504b34ac3 efreet: fix old cache deletion
SVN revision: 47538
2010-03-28 19:31:26 +00:00
Sebastian Dransfeld d075ee43c2 efreet: Always run cache update on init
SVN revision: 47537
2010-03-28 19:31:14 +00:00
Sebastian Dransfeld d8bde974e6 efreet: Add variable to prevent cache update
SVN revision: 47536
2010-03-28 18:54:25 +00:00
Rui Seabra b5c3618813 New file.
SVN revision: 47535
2010-03-28 18:46:57 +00:00
Rui Seabra a6d3bede42 Support example files.
SVN revision: 47534
2010-03-28 18:33:49 +00:00