Commit Graph

260 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri f1e077844e fix edje error reporting for once and for all.
edje error was a mess. First someone (maybe myself) added eina log,
then people changed it to be a mix with printf()... then they replaced
eina_log with printf() + colors so it would be less verbose.

It's fixed now! Using eina log infrastructure.

If all that is wanted is specific messages for edje_cc domain, do it
with a specific log print function (eina_log_print_cb_set()). I made
it produce messages in the format:

    <levelcolor><progname>: <levelprefix><message>

Where:
 - levelcolor is defined by eina_log (I hacked the win32 version,
   since no public api to resolve level to color).
 - levelprefix is "Error. " or "Warning. " to cope with traditional
   output.

If it does not look as you wanted, let me know before stuffing some
printf() again.

Bonus point: reduced 2 global variables (progname and verbose),
removed lots of code.



SVN revision: 74701
2012-07-31 22:42:03 +00:00
Daniel Juyung Seo 16335de91e edje edje_cc_handlers.c: Fixed typo pointed out by PrinceAMD-(Deon Thomas)
SVN revision: 74346
2012-07-24 07:15:22 +00:00
Carsten Haitzler 0be560e3b8 add docs -> rect parts only for clip_to
SVN revision: 73785
2012-07-13 02:53:30 +00:00
Daniel Juyung Seo 8fa585b3ae edje edje_cc_handlers.c: More documentation on image fill. Patch by
Anisse Astier <anisse@astier.eu>

SVN revision: 73548
2012-07-11 03:03:23 +00:00
Jerome Pinot 12d975147a edje: correct more typos in edc doc
SVN revision: 73525
2012-07-10 12:28:43 +00:00
Jerome Pinot 6602bbb182 edje: doc typo
val 2 and val 2 were on a boat, val 2 jumps out. Where is val 1?


SVN revision: 73523
2012-07-10 11:51:54 +00:00
Cedric BAIL f529ecfa32 edje: a little more doc for image set.
SVN revision: 73499
2012-07-09 10:26:56 +00:00
Daniel Juyung Seo bf4e5adf06 edje edje_cc_handlers.c: More description. Patch by Anisse Astier
<anisse@astier.eu>

On Mon, Jul 9, 2012 at 7:09 AM, Anisse Astier <anisse@astier.eu> wrote:
> Trying to make the description more explicit

SVN revision: 73478
2012-07-08 23:42:19 +00:00
Jerome Pinot ebcb3157bd edje: bad typo in example code
SVN revision: 73458
2012-07-08 06:45:00 +00:00
Leandro Pereira 7ee848bc33 edje: Make state index optional
This shouldn't break stuff, just make things easier.  Think of all that lost
time " 0.0".  Not anymore.  Not even in Embryo scripts.  Indexes should only
be provided when you need them (which is quite rare).

Note that if you use ``set_state("new state")'' in your Embryo scripts, the
produced .edj files will be incompatible with older versions of Edje.  This
backwards incompatibility only applies to Embryo scripts; edje_cc will
generate a ``0.0'' value if the index is omitted from state declarations and
programs.

Sachiel said this patch was OK; our benevolent release manager acked as
well. Blame them if this breaks stuff.

SVN revision: 73424
2012-07-06 18:34:50 +00:00
Cedric BAIL cab9a46afc edje: forgottten @since.
SVN revision: 72768
2012-06-24 13:46:43 +00:00
Cedric BAIL b5c65a71d2 edje: implement per part limit.
SVN revision: 72767
2012-06-24 13:23:37 +00:00
Michael BOUCHAUD 1f2939fef0 edje: improve use of aliases
SVN revision: 72732
2012-06-23 18:39:08 +00:00
Cedric BAIL 5c7cfbacb5 edje: add accessibility flags and API.
Patch by Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 72521
2012-06-20 07:29:47 +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 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
Daniel Juyung Seo 1174b27e52 edje edje_cc_handlers.c: Fixed formatting while reading the code.
SVN revision: 71285
2012-05-21 13:23:11 +00:00
Hyoyoung Chang a8bd686bfb edje: add sample and tone of multisense to edje inheritance
SVN revision: 71229
2012-05-18 08:33:40 +00:00
Vincent Torri 1ee506ccf7 Edje : Small fixes for edje doxygen doc
Patch by Jérôme Pinot


SVN revision: 69815
2012-03-31 07:53:47 +00:00
Cedric BAIL 6b3d9da609 edje: add automatic hints update to edje object and min: SOURCE to GROUP part.
NOTE: turning this feature on is costly. Do that only when you require it, really !


SVN revision: 69254
2012-03-12 15:28:58 +00:00
Cedric BAIL 70c734ebdd edje: add broadcast_signal: bool.
This make it possible to completly disable signal broadcasting as this
new behaviour broke Edje 1.0 file. It's also now possible to use the
same group in different part in the same parent group without any issue.

I am tempted to backport this patch to 1.1 branch as it would make it
play nicely with file coming from Edje 1.0.

Another issue that this patch fix is that I did increment the minor version
as we really have add a lot of addition since Edje 1.1 and Edje file build
with trunk may not play well anymore on Edje 1.1.


SVN revision: 67936
2012-02-14 14:07:39 +00:00
Mike Blumenkrantz 252f6a04b3 fix breakage from r67537 with alias inheriting or somesuch
SVN revision: 67833
2012-02-10 20:34:18 +00:00
Cedric BAIL a4c58712c3 edje: add min: SOURCE, max: SOURCE.
SVN revision: 67555
2012-01-26 18:24:00 +00:00
Cedric BAIL 664e6939fb edje: fix use of inherit, overridding and alias.
SVN revision: 67537
2012-01-25 16:47:38 +00:00
Cedric BAIL 762126ef49 edje: rename variable to have a more miningfull name.
SVN revision: 67528
2012-01-25 10:11:02 +00:00
Cedric BAIL 0379b5c2da edje: cast the right type.
SVN revision: 67527
2012-01-25 09:53:38 +00:00
Cedric BAIL f968d16b55 edje: do it in the right order.
SVN revision: 67526
2012-01-25 09:36:08 +00:00
Cedric BAIL 7191b9a3f6 edje: edje_cc will now only store and encore needed image.
SVN revision: 67524
2012-01-25 09:07:36 +00:00
Cedric BAIL a296c7b30a edje: fix all id including the current directory entry.
SVN revision: 67477
2012-01-23 16:34:34 +00:00
Cedric BAIL a5b728d53d edje: detect when we try to inherit from ourself.
SVN revision: 67472
2012-01-23 15:45:12 +00:00
Mike Blumenkrantz 0bbf39f83d this change brought to you by: the french
SVN revision: 67208
2012-01-14 04:15:04 +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
Daniel Juyung Seo 9c0457b31e edje: Fixed documentation typo.
SVN revision: 66981
2012-01-09 04:50:42 +00:00
Cedric BAIL 11af9a20e5 edje: try to fix doc.
SVN revision: 66943
2012-01-06 15:06:52 +00:00
Cedric BAIL deb0057d7f edje: add EDJE_ASPECT_PREFER_SOURCE.
NOTE: this is a prototype, play with and report any issue to me.


SVN revision: 66937
2012-01-06 11:28:38 +00:00
Cedric BAIL 92b831be2e edje: check existence of group at compile time also.
SVN revision: 66336
2011-12-19 17:25:00 +00:00
Carsten Haitzler 1aa9b4e6dd back out:
r66257 <- another small fix on the real problem
r66250 <- a small fix on the real problem
r66242 <- the real problem

jaewhan - your commit yesterday (r66242) has made edje_cc very
unstable and it will randomly segv (sometimes yes, sometimes no). as
such it's at the point i can't even compile e and elm without it
segving somewhere during build, so this gets backed out. review your
change carefully and look for issues.



SVN revision: 66265
2011-12-16 00:29:05 +00:00
Carsten Haitzler 94c73aee09 lets not use uninitialized vars shall we?
SVN revision: 66257
2011-12-15 14:01:17 +00:00
Cedric BAIL cc6552c22b edje: declare limits as an object for the parser.
SVN revision: 66245
2011-12-15 09:37:50 +00:00
Jaehwan Kim 052a06726f Bug fix - about type change in group inherit.
Lately, raster removed the code about the prohibition of type-change in
group inherit.
But about the "part" of different type, the data structure of the their
"description" is different.
So if the type is changed, it have to be reallocated. Current, it is not.

At first, we have to remove the lookups. If we don't, when lookup module
executes, the memory
may be broken. So I removed all lookups for reallocated description before
it is reallocated.
And I changed all description of the "part" is reallocated when the type is
changed.
The attribute of the "part" is remained. Just it reallocated the part of
**_Spec_**.


SVN revision: 66242
2011-12-15 09:15:11 +00:00
Cedric BAIL 09970b59a8 edje: improve doc a little bit.
SVN revision: 66212
2011-12-14 16:37:06 +00:00
Carsten Haitzler 5419196236 add multisense back in post 1.1
SVN revision: 65864
2011-12-04 03:18:49 +00:00
Cedric BAIL 41fe1bcc43 edje: fix documentation for limits.
SVN revision: 65639
2011-11-28 09:28:42 +00:00
Carsten Haitzler ca2f7a8f77 lookup duplicate targets and skip new target if already in list.
SVN revision: 65535
2011-11-23 10:42:58 +00:00
Carsten Haitzler f3c5abf999 aaah allow type to be set on group inherit or part inherit... you just
really shouldnt set it to a different type as its not very sensible.



SVN revision: 65534
2011-11-23 10:38:43 +00:00
Mike Blumenkrantz c164909d69 clarify group inherit error message
SVN revision: 65271
2011-11-15 16:19:09 +00:00
Carsten Haitzler a30c4242f6 disable multisense for edje 1.1
SVN revision: 65217
2011-11-15 03:01:03 +00:00
Jaehwan Kim f4ec79d7a2 Value stored to 'pc' is never read and 'el' must not be null.
SVN revision: 65166
2011-11-14 12:19:09 +00:00
Jaehwan Kim 5b927c3170 Value stored to 'pc' is never read
SVN revision: 65163
2011-11-14 11:23:23 +00:00
Iván Briano c912db8656 Some more fixes to the group inherit thing
SVN revision: 65037
2011-11-11 03:13:13 +00:00