Commit Graph

2143 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
Cedric BAIL 4540fa9d0f eina: cleanup eina_file_map_lines API before release.
SVN revision: 74618
2012-07-31 07:23:16 +00:00
Cedric BAIL 6f73a22a03 edje: Reduce potential reentrant issue when using edje_object_signal_emit.
SVN revision: 74539
2012-07-28 16:33:37 +00:00
Cedric BAIL 4af162575d edje: try to make windows happier.
SVN revision: 74538
2012-07-28 16:22:15 +00:00
Cedric BAIL 94ba6484a9 edje: compile again on windows.
Patch half Vincent, half myself.


SVN revision: 74537
2012-07-28 15:53:15 +00:00
Carsten Haitzler d627649dc7 edje_cc shouldnt be using eina-log for almost all its err/wrn/inf
stuff as this is actual user output and done:
  file.c:242 error in blah.edc:232
is just confusing as all heck.



SVN revision: 74424
2012-07-26 08:21:56 +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 29452cf797 fix entry shift selection extend with mouse.
SVN revision: 74338
2012-07-24 03:52:14 +00:00
WooHyun Jung be181af5dc edje/edje_entry : Only MOUSE_UP should reset character.
SVN revision: 74312
2012-07-23 08:36:36 +00:00
Jonas M. Gastal 390e859bb8 If there's a filter and a program running don't execute another one.
SVN revision: 74249
2012-07-20 14:05:22 +00:00
Cedric BAIL 9447175a7d edje: remove dead code.
SVN revision: 74199
2012-07-20 02:12:06 +00:00
WooHyun Jung 445fae77be edje/edje_entry : Just fixed a comment.
SVN revision: 74168
2012-07-19 08:26:02 +00:00
Carsten Haitzler 2c1b533d13 fix minor version defines to be at 1.6 (in sync now) ready for going
to 7 on release.



SVN revision: 73906
2012-07-16 06:36:02 +00:00
Jerome Pinot 365d29d02f edje: Fix multisense shutdown and shut up ecore thread shutdown.
Patch from cedric during the korean e17 meeting. Thanks!


SVN revision: 73841
2012-07-14 06:58:42 +00:00
Cedric BAIL 379566ece7 edje: stop compilation when clipping to a non RECT part.
SVN revision: 73801
2012-07-13 09:15:17 +00:00
Cedric BAIL 7835bdd259 edje: fix a small memory leak during compilation.
NOTE: use stringshare all over the place !


SVN revision: 73796
2012-07-13 08:33:26 +00:00
Carsten Haitzler 0be560e3b8 add docs -> rect parts only for clip_to
SVN revision: 73785
2012-07-13 02:53:30 +00:00
Cedric BAIL 8f75f66c44 edje: warn at compile time about forgotten image.
NOTE: You need to enable at least Eina_Log warning level
to see them.


SVN revision: 73784
2012-07-13 02:50:58 +00:00
Tom Hacohen 9aaa7690f7 Edje text_class: Unified the _object_text_class_set code a bit more.
There were two code paths, with one missing a couple of calls. Now there's
less code duplication and less bugs.

SVN revision: 73604
2012-07-12 08:10:29 +00:00
Tom Hacohen ae1d0e3a9b Edje text_classes: Fixed usage of stringshare_replace.
SVN revision: 73603
2012-07-12 08:10:24 +00:00
Tom Hacohen c62f3a2bb5 Edje text classes: Fixed issues with textblock and some inconsistency.
SVN revision: 73601
2012-07-12 07:08:05 +00:00
Tom Hacohen a367917778 Edje textblock: Fixed bug with applying text class size.
Happens when text size is updated, but font is not.

SVN revision: 73600
2012-07-12 07:08:00 +00:00
Cedric BAIL f8f0a494c2 edje: cleanup and make limit per description work.
SVN revision: 73562
2012-07-11 10:50:30 +00:00
Cedric BAIL 88f091754a edje: little bug fixes when rp could have been already destroyed.
SVN revision: 73556
2012-07-11 09:26:37 +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
Carsten Haitzler 5c9c0852bb update all versions in @sincs, README's and configure.ac's etc. to
reflect a unified release version, for now 1.6.99.



SVN revision: 73498
2012-07-09 10:20:21 +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
Carsten Haitzler 97e523ecfa no need for that ERR msg. :)
SVN revision: 73449
2012-07-07 09:34:52 +00:00
Carsten Haitzler 0502f5854b printf--
SVN revision: 73447
2012-07-07 08:25:09 +00:00
Carsten Haitzler a3768c8928 printf--
SVN revision: 73437
2012-07-07 03:41:38 +00:00
Carsten Haitzler 84072d0f82 edje_cc -> nothreads means we should avoid evas preload too.. grrr.
SVN revision: 73436
2012-07-07 03:25:31 +00:00
Carsten Haitzler 774dc99006 thats it. threads off in edje_cc by default. we need to focus on
stability now.



SVN revision: 73432
2012-07-07 02:12:22 +00:00
Leandro Pereira d0b849a8ce edje: Unb0rk Embryo set_state()
De Morgan is your friend.

SVN revision: 73426
2012-07-06 19:38:35 +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
Carsten Haitzler 7b840947e0 fix reallyu minor thing - border_scale_by wasnt interpolated.
SVN revision: 73289
2012-07-04 14:45:13 +00:00
Daniel Kolesa 3b1e4c1c2f unbork edje-lua on 5.2
SVN revision: 73240
2012-07-03 14:08:09 +00:00
daniel.zaoui@samsung.com 57aa5ab62d From: "daniel.zaoui@samsung.com" <daniel.zaoui@samsung.com>
Subject: [E-devel] Patch for Edje: added const to obj parameter of
edje_object_part_table_child_get

The obj parameter is used only for read access so the const can be
added to its type.



SVN revision: 73231
2012-07-03 12:19:40 +00:00
Tom Hacohen 162c54fc88 Edje entry: Fixed anchor update with user insert.
SVN revision: 73211
2012-07-03 08:52:17 +00:00
Carsten Haitzler 72b6266d7c tom - can u take thgis textblock fit code and run with it and polish
it to be nice and try and "fit" as best as possible? entries dont do it.



SVN revision: 72992
2012-06-28 10:19:30 +00:00
Stefan Schmidt 22340d46a2 edje: Pass in coverage ld flags for all programs in src/bin as well
SVN revision: 72929
2012-06-27 09:09:11 +00:00
Cedric BAIL bbc88ac13b edje: destroy child and group correctly.
SVN revision: 72838
2012-06-26 03:44:30 +00:00
Mike Blumenkrantz 573303250a unused--
SVN revision: 72780
2012-06-25 06:50:16 +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
Cedric BAIL 2804dcfe88 edje: Resistance is futile. The B0rk.
SVN revision: 72754
2012-06-24 06:01:12 +00:00
Michael BOUCHAUD 1f2939fef0 edje: improve use of aliases
SVN revision: 72732
2012-06-23 18:39:08 +00:00