Commit Graph

1776 Commits

Author SHA1 Message Date
Davide Andreoli a704be1219 Disable search-engine in edje Doxy file. The search don't work and it add strange(not working) menu on the bottom of each page.
This remove the unwanted menu.

SVN revision: 53233
2010-10-09 12:53:11 +00:00
Davide Andreoli 1f34fa16e7 Put in edje examples the super cool edje-emotion-elementary
videoplayer by Gustavo Barbieri.



SVN revision: 53214
2010-10-08 21:59:21 +00:00
Davide Andreoli 80e0de0e19 Remove the doxy-inlined lua example in favor of a cleaner @include
from the examples/ folder.
 Also expose all the examples to doxygen, you can now browse
 them all from the generated docs.




SVN revision: 53211
2010-10-08 21:14:31 +00:00
Davide Andreoli d50b2efd9c Copy the lua script-only example (by raster) from edje doxy to doc/examples.
SVN revision: 53203
2010-10-08 20:14:14 +00:00
Davide Andreoli 994d9518ec Add the first edje examples about the usage of EXTERNAL parts.
This example show 5 buttons that you can click to perform some
simple actions, like changing the label or the icon of the buttons.

The example also spot a bug: external buttons with label AND icon
have layout issue. Standard icons are not visible at all while custom
icons don't get the size calculated correctly.
Buttons with only the icon work well instead.
Can someone look at this?

Thanks
DaveMDS

SVN revision: 53182
2010-10-08 09:48:38 +00:00
Carsten Haitzler a3b68b3e0e dont pretend to have these script only embryo calls anymore
SVN revision: 53181
2010-10-08 08:51:05 +00:00
Gustavo Sverzut Barbieri 7ac13f931f better log.
* lower case domain names;

 * binaries use their own color (EDJE_CC_DEFAULT_LOG_COLOR)

 * log messages do not take multiple lines, it's annoying. The colors
   should call your attention already.

 * the ever annoying "did you forgot fixed: 1 1;" message that used to
   consume 3 lines is now bit more descriptive and uses a single line.



SVN revision: 53178
2010-10-08 00:24:22 +00:00
Davide Andreoli 57af528062 Add a new embryo example to edje, it show the usage of program_run() and toggle buttons.
SVN revision: 53149
2010-10-07 18:34:40 +00:00
Iván Briano 631aa54545 Cheking if start.layout is set before using it.
When evas_object_show is called with a elm_layout object before resizing
it the layout function is called before edje calc function, so the start
layout is not yet set.

By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 53144
2010-10-07 14:45:57 +00:00
Cedric BAIL b61340ea1a * edje: remove not needed code and fix issue when removing child.
SVN revision: 53143
2010-10-07 14:14:02 +00:00
Davide Andreoli f9b1969034 Add a new embryo example in edje, it show the use of custom states. In the example you can rotate a red rect in 3 dimension by clicking on the 3 labels.
SVN revision: 53127
2010-10-07 00:03:54 +00:00
Davide Andreoli fe9962a3be Update edje examples to use embryo instead of lua. Inline lua scripting was removed some time ago.
SVN revision: 53124
2010-10-06 23:03:28 +00:00
Tom Hacohen 0579401cb3 Edje entry: Fixed the hack that was used in edje_entry for drawing anchors (the hack was there because of a bug in textblock which is now fixed).
SVN revision: 53107
2010-10-06 18:23:01 +00:00
Boris Faure 545ea3a1a4 edje: improve doc
SVN revision: 53004
2010-10-03 21:21:58 +00:00
Carsten Haitzler 91466cf439 efl 1.0.0 beta.
SVN revision: 52992
2010-10-03 09:21:08 +00:00
Mike Blumenkrantz 2c1c6f633d add big FIXME for fixme
SVN revision: 52978
2010-10-02 08:22:48 +00:00
Mike Blumenkrantz 52ad489422 this is the WRONG fix for compiled-in edj font issues. it does, however, temporarily fix the problem until someone who knows what they're doing comes along
SVN revision: 52977
2010-10-02 07:42:01 +00:00
Carsten Haitzler 57d15d3ef8 actually hook in filter callbacks - have 2 types and pass in enum to
each as to what text they are seeing to filter. fix up other typdef
uses.



SVN revision: 52975
2010-10-02 03:34:00 +00:00
Iván Briano be56560d7d Fix animators, don't run the program twice.
SVN revision: 52953
2010-10-01 17:10:37 +00:00
Iván Briano 2233302716 Fix having api keyword in parts, that is, don't have edje_cc segfault if there is one.
SVN revision: 52952
2010-10-01 16:49:31 +00:00
Carsten Haitzler f394a88dca set EDJE_SELF_FEED_DEBUG if u want to know abotu self-feeding edje
signals/messages



SVN revision: 52943
2010-10-01 06:59:48 +00:00
Carsten Haitzler 3d87542724 proper error output from script running (embryo).
SVN revision: 52942
2010-10-01 06:53:16 +00:00
Leandro Pereira 9dc21add3a edje_cc: Don't dereference a NULL pointer on badly-formed .edj files.
(Should have been on r52931.)


SVN revision: 52932
2010-09-30 21:37:49 +00:00
Leandro Pereira fcfaebe1e3 edje_cc: Bail out on descriptions without a state.
Also, don't dereference a NULL pointer on badly-formed .edj files.


SVN revision: 52931
2010-09-30 21:31:00 +00:00
Leandro Pereira 0e7da3e783 edje_cc: Fix typos
SVN revision: 52930
2010-09-30 21:16:38 +00:00
Gustavo Sverzut Barbieri d93ac79c38 Dynamic choices in edje EXTERNALS.
Sometimes the options can just be known during runtime, like available
video engines for emotion.

This goes in now as it will avoid further API breaks, so before Edje 1.0



SVN revision: 52874
2010-09-29 03:01:17 +00:00
Gustavo Sverzut Barbieri d724381684 new flags to external parameters.
These are yet-another hint, they are not enforced as documentation
already said, yet they will be useful for tools (ie: editje) to
explain to users if parameter will be set only once, or provides no
getter and such.

This will save future ABI breaks, that's why I want it in 1.0 :-)



SVN revision: 52873
2010-09-29 02:42:50 +00:00
Gustavo Sverzut Barbieri abc87fd449 Adding a transition layout animation for edje box.
Perform an animation when changing the layout from an edje box.

By: Otavio Pontes <otavio@profusion.mobi>

-------

Sample EDC:

{{{

collections {
   group {
      name: "main";
      min: 500 500;
      max: 500 500;
      parts {
         part {
            name: "bg";
            type: RECT;
            description {
               color: 255 255 255 255;
               rel1 { relative: 0.0 0.0; }
               rel2 { relative: 1.0 1.0; }
            }
         }
         part {
            name: "box1";
            type: BOX;
            description {
               state: "default" 0.0;
               box {
                  layout: vertical;
                  padding: 0 0;
               }
               rel1 {
                  relative: 0.0 0.0;
               }
               rel2 {
                  relative: 1.0 1.0;
               }
            }
            description {
               state: "default" 0.1;
               inherit: "default" 0.0;
               box {
                  padding: 10 10;
                  layout: horizontal;
               }
            }
            description {
               state: "default" 0.2;
               inherit: "default" 0.0;
               box {
                  layout: vertical;
               }
               rel1 {
                  relative: 0.0 0.0;
                  offset: 100 100;
               }
               rel2 {
                  relative: 1.0 1.0;
               }
            }
            box {
               items {
                  item {
                     name: "rect1";
                     type: GROUP;
                     source: "grp_rect1";
                     weight: 1.0 1.0;
                     align: -1 -1;
                  }
                  item {
                     name: "rect2";
                     type: GROUP;
                     source: "grp_rect2";
                     weight: 1.0 1.0;
                     align: -1 -1;
                  }
               }
            }
         }
      }
      programs {
         program {
            name: "change_layout";
            signal: "mouse,clicked,1";
            source: "box1";
            action: STATE_SET "default" 0.1;
            target: "box1";
            transition: LINEAR 5.0;
            after: "change_back";
         }
         program {
            name: "change_back";
            action: STATE_SET "default" 0.2;
            target: "box1";
            transition: LINEAR 5.0;
         }
     }
   }
   group {
      name: "grp_rect1";
      parts {
         part {
            name: "r1";
            type: RECT;
            description {
               state: "default" 0.0;
               color: 255 0 0 255;
               rel1 { relative: 0.0 0.0; }
               rel2 { relative: 1.0 1.0; }
            }
            description {
               state: "default" 0.1;
               inherit: "default" 0.0;
               color: 255 0 0 255;
            }
         }
      }
   }
   group {
      name: "grp_rect2";
      parts {
         part {
            name: "r2";
            type: RECT;
            description {
               state: "default" 0.0;
               color: 0 255 0 255;
               rel1 { relative: 0.0 0.0; }
               rel2 { relative: 1.0 1.0; }
            }
            description {
               state: "default" 0.1;
               color: 0 0 255 255;
            }
         }
      }
   }
}

}}}



SVN revision: 52871
2010-09-29 00:28:54 +00:00
Christopher Michael 9916578131 And use Eina_Bool return values too.
SVN revision: 52833
2010-09-28 00:25:54 +00:00
Christopher Michael b7b1a25c41 Fix edje entry callback to use Eina_Bool like ecore_imf is expecting.
SVN revision: 52832
2010-09-28 00:24:44 +00:00
Iván Briano 784ac71b15 Don't screw up script {} highlighting when there are several levels of {}
SVN revision: 52812
2010-09-27 21:12:09 +00:00
Vincent Torri 53081384df cosmetic only: put files in alphabetic order.
SVN revision: 52737
2010-09-25 17:19:46 +00:00
Vincent Torri 1e1bb3b6a4 Put everything in edje_private. It should fix a compilation
bug on Windows

SVN revision: 52736
2010-09-25 17:10:33 +00:00
Carsten Haitzler 82470f073e correctness!
SVN revision: 52618
2010-09-23 02:52:19 +00:00
Iván Briano 14187a92d3 Don't include Edje_Edit.h in edje_private.h and make it obvious at compile time that this API is not meant to be used outside of editors.
SVN revision: 52593
2010-09-22 14:52:23 +00:00
Carsten Haitzler 737556b8bb more pi cleantyp -> typedef.
SVN revision: 52590
2010-09-22 13:35:47 +00:00
Carsten Haitzler af2651748c int -> enum.
SVN revision: 52589
2010-09-22 13:27:09 +00:00
Carsten Haitzler 7eb38a4063 comment++
SVN revision: 52587
2010-09-22 13:01:13 +00:00
Tom Hacohen f1f122bd72 Edje entry: Fixed a lot of formatting issues. Patch by Jihoon Kim.
SVN revision: 52461
2010-09-19 08:08:17 +00:00
Carsten Haitzler 114d49883d warnings--
warnings = 0



SVN revision: 52452
2010-09-19 03:04:17 +00:00
Carsten Haitzler ead7329b42 warning--
(shuddup gcc)



SVN revision: 52433
2010-09-19 00:33:45 +00:00
Cedric BAIL 90858b58c1 * edje: remove unused variable.
SVN revision: 52364
2010-09-17 12:05:46 +00:00
Cedric BAIL e01c8dacc2 * edje: prevent segv due to dead relative part.
SVN revision: 52347
2010-09-16 15:49:56 +00:00
Cedric BAIL 8102552b7a * edje: cleanup aspect code and reduce memory presure.
SVN revision: 52304
2010-09-15 14:15:23 +00:00
Cedric BAIL 10356b8e50 * edje: turn it on again and go fix your theme :-)
SVN revision: 52303
2010-09-15 14:09:58 +00:00
Carsten Haitzler c1c7e901f5 CEEEEEEEEEDRICCCCCCCCCCCCCCCC!
borked e conf panel. unbork. disable aspect.



SVN revision: 52273
2010-09-14 22:32:34 +00:00
Cedric BAIL 2e87895f67 * edje: remove use of flags as it was always set to FLAG_XY
in _edje_part_recalc_single.


SVN revision: 52245
2010-09-14 15:53:47 +00:00
Cedric BAIL d1203fc0ca * edje: fix edje use of aspect when constrained by min or max.
NOTE: If you have swallow or parts that where constrained by min and
	max, and you used aspect on them, expect change on your layout.


SVN revision: 52244
2010-09-14 15:36:16 +00:00
Lucas De Marchi e46b64199f Don't check return value of alloca
alloca() doesn't return NULL on error, so do not check its return value.



SVN revision: 52199
2010-09-13 18:40:32 +00:00
Carsten Haitzler 2303255182 dont get item anchors so often!
SVN revision: 52187
2010-09-13 12:08:19 +00:00