Commit Graph

2286 Commits

Author SHA1 Message Date
Jihoon Kim 816c904dc8 describe about TERMINAL Layout more detail
SVN revision: 76214
2012-09-06 06:01:37 +00:00
ChunEon Park cdc044c321 edje/map - if user change image size of the image object which is swallwoed and it's map is enabled by the edje then edje needs to update it's uv mapping info
SVN revision: 76184
2012-09-05 09:46:09 +00:00
ChunEon Park 70624abbc2 edje - fixed typo
SVN revision: 76175
2012-09-05 08:08:20 +00:00
Cedric BAIL 9e2becd6ef edje: fix unitialized buffer.
SVN revision: 76168
2012-09-05 07:15:10 +00:00
ChunEon Park ac5f55d3d1 edje - use Eina_Bool
SVN revision: 76163
2012-09-05 05:38:01 +00:00
Cedric BAIL 325526af5c edje: don't always force anotate in edje_watch.
SVN revision: 76158
2012-09-05 02:44:45 +00:00
Flavio Ceolin 7457f675ff edje_edit: Closing the opened eet_file
Closing the file openned in the functions _edje_edit_smart_file_set.
It balances the reference count and avoids the message that the file
is still opened.

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 76149
2012-09-04 21:43:32 +00:00
Flavio Ceolin 6237f9ec9d edje_codegen: Adding a basic example
Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 76148
2012-09-04 21:43:26 +00:00
Flavio Ceolin d626583b92 edje_codegen: generating source code from edj
Parsing the parts and programs of the specified group and generating
the header/source. Usage:
edje_codegen --prefix myapp_myobj input.edj a_group source.c header.h

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 76147
2012-09-04 21:43:20 +00:00
Flavio Ceolin 2982bb4907 edje_codegen: Application skeleton
Adding the skeleton of the edje_codegen to the edje
build system.

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 76146
2012-09-04 21:43:12 +00:00
Cedric BAIL 1e25d7b701 edje: add nested part support to edc.
Blame Tasn and not the people he enslaved to get it out.
First patch by Aharon Hillel with some modification by myself.


SVN revision: 76127
2012-09-04 11:27:43 +00:00
Jihoon Kim 7f9ec8f928 edje: Add EDJE_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN
SVN revision: 76097
2012-09-04 02:20:45 +00:00
Cedric BAIL 8ad4e0c02e edje: report type of file when listing files used by an edc.
SVN revision: 76095
2012-09-04 02:13:05 +00:00
Carsten Haitzler 0e77364887 update header #defined versions to 1.8 to make sure new apis are used
in e17 only with ifdefs.



SVN revision: 75994
2012-09-03 09:55:34 +00:00
Christopher Michael b27b93f255 Edje: Remove unused variable.
SVN revision: 75915
2012-08-31 06:12:43 +00:00
Cedric BAIL 3da32a51aa edje: check the number of parameter for edc.
SVN revision: 75876
2012-08-30 11:28:07 +00:00
Cedric BAIL ee2e1b6a71 edje: oopsie.
SVN revision: 75817
2012-08-29 07:42:15 +00:00
Cedric BAIL a1ae5b21ce edje: don't leak memory on edje block error during signal emit.
SVN revision: 75815
2012-08-29 07:18:52 +00:00
Cedric BAIL 26de40cb12 edje: fix a leak when propagating signal to GROUP part.
SVN revision: 75808
2012-08-29 05:50:14 +00:00
Gustavo Lima Chaves c0b425d2ca [edje] Sanely handle no-op conditions on text setting funcs (and docs++).
SVN revision: 75798
2012-08-28 20:07:47 +00:00
Alex Wu 0521b43310 edje: backward-compatible to "BLOCK_HANDLE" select_mode.
From: Alex Wu <zhiwen.wu@linux.intel.com>



SVN revision: 75783
2012-08-28 12:19:14 +00:00
Carsten Haitzler 1475fb3586 update @version's
SVN revision: 75739
2012-08-27 09:51:57 +00:00
Tom Hacohen b0a19e7d4a Edje textblock: Fixed an issue with textblock fit.
Thanks to Brian Wang for reporting this.

SVN revision: 75730
2012-08-27 08:59:11 +00:00
Cedric BAIL c5fe5abff2 edje: properly destroy color_class and text_class on an Edje_Object.
SVN revision: 75647
2012-08-24 09:22:21 +00:00
Vincent Torri 335f089be6 whitespace--
SVN revision: 75601
2012-08-23 07:54:58 +00:00
Carsten Haitzler ce1b9ca66d link to ecore-input and include. sorry. oops. :)
SVN revision: 75507
2012-08-21 15:04:36 +00:00
Christopher Michael 24f5651f79 Edje (player): We already create the ecore_evas at the desired size so
there is no point in calling a resize again.



SVN revision: 75499
2012-08-21 10:34:01 +00:00
Cedric BAIL 21f29e9484 edje: fix fixed point issue.
SVN revision: 75484
2012-08-21 03:06:44 +00:00
Carsten Haitzler 01dd698ac9 fix possible use of uninit buffer in edje_cc error output.
SVN revision: 75449
2012-08-20 07:46:51 +00:00
Carsten Haitzler 65dd623ac1 address http://trac.enlightenment.org/e/ticket/1263 at least where
deadkeys and composition are involved. i don't know if they are or are
not. anything else is an issue outside of efl i believe. (eg keymap)



SVN revision: 75398
2012-08-18 01:31:49 +00:00
ChunEon Park b11b7c3ac4 edje - fixe the uv mapping correctly in case of image swallowed case
SVN revision: 75241
2012-08-14 08:04:06 +00:00
ChunEon Park 91bdc844fc edje - clean up the code
SVN revision: 75240
2012-08-14 07:59:06 +00:00
Christopher Michael ce9a78d790 Edje: Remove unused variable.
SVN revision: 75185
2012-08-13 06:44:56 +00:00
Carsten Haitzler aef32ed6d3 more updates for 1.7.0 alpha.
SVN revision: 75095
2012-08-10 10:51:17 +00:00
Michael BOUCHAUD bd45f13f66 edje: don't compile if we have a group without a name
SVN revision: 75035
2012-08-09 08:57:35 +00:00
Cedric BAIL 40bfd3933f edje: improve speed of color class lookup by using an Eina_Hash.
SVN revision: 75034
2012-08-09 08:27:04 +00:00
Carsten Haitzler fb0d1a4f57 2 bugs.
1 textclasses were repeated per object list and (segv free same tc 2x)
2. we returend if size OR font name match - BOTH have to match to be
"the same". so && not ||



SVN revision: 74980
2012-08-07 11:15:30 +00:00
Cedric BAIL 07742ef737 edje: fix memory leak when alias are present.
SVN revision: 74960
2012-08-07 06:20:35 +00:00
Cedric BAIL f31da4c907 edje: call edje_object_message_signal_process also on GROUP part Edje object.
SVN revision: 74916
2012-08-06 09:22:42 +00:00
Christopher Michael bba5fe4da9 Edje: Remove erroneous return.
Really ? A return at the end of a function ?? Would the function
actually return without this or would it just sit inside this function
forever ? ;) </joke>



SVN revision: 74848
2012-08-03 13:56:01 +00:00
Gustavo Sverzut Barbieri fa926ea803 make leandro happy and use cross platform console color set.
SVN revision: 74746
2012-08-01 15:53:10 +00:00
Gustavo Sverzut Barbieri 24fa9f9398 make cedric happy: show warnings by default.
SVN revision: 74745
2012-08-01 15:49:57 +00:00
Gustavo Sverzut Barbieri 693a3c3ac7 edje log: fix some progname leftovers.
SVN revision: 74702
2012-07-31 22:45:44 +00:00
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
Cedric BAIL 550d327100 edje: oops forgotten data description.
SVN revision: 72679
2012-06-22 01:25:38 +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
Carsten Haitzler 4ec9749ead use bin prefix for embryo_cc in edje_cc.
SVN revision: 72580
2012-06-21 08:55:38 +00:00
Cedric BAIL 4fdb3664b6 edje: fix previous breakage with auto unswallow.
SVN revision: 72563
2012-06-21 06:38:51 +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
Tom Hacohen b374ba7d6f Edje entry: Set start and end correctly when deleting word backwards.
SVN revision: 72400
2012-06-18 13:31:27 +00:00
Tom Hacohen b55e500449 Edje entry: range_del_emit - only emit if there was a non-empty range.
SVN revision: 72399
2012-06-18 13:31:24 +00:00
Carsten Haitzler 4745ddac37 tone down memprool size chunks.
SVN revision: 72251
2012-06-17 01:44:00 +00:00
Cedric BAIL ee68f2795f edje: once the swallowed object is cleared out do not let it there.
SVN revision: 72155
2012-06-15 01:06:50 +00:00
PRINCE KUMAR DUBEY e3c44bee13 From: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Subject: [E-devel] [Patch] [Edje] Fix for seg fault during edje
decompilation

Fix decompile of sound samples to use sound source file, not name
Fix decompile of sound samples not double-free
Fix alsa configure option to be alsa, not flac.



SVN revision: 72117
2012-06-14 09:45:48 +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
Carsten Haitzler 4804a53214 cedric -> REVERT 2. LOTs of valgrind probelsm from this patch and
crashes too in real life. try with valgrind again some tiome. rp's
(parts) freed before callbacks called thus cb data is invalid by the
time its called.



SVN revision: 72090
2012-06-13 15:39:10 +00:00
Carsten Haitzler 40d678403e cedric -> REVERT! breaks elm list!
SVN revision: 72087
2012-06-13 15:00:16 +00:00
Cedric BAIL d228509e48 edje: cleanup the right callback.
SVN revision: 72074
2012-06-13 08:51:02 +00:00
Cedric BAIL d13e6c5ee0 edje: remove warning.
SVN revision: 72062
2012-06-13 06:50:48 +00:00
Cedric BAIL 73ba558ac8 edje: correctly unswallow things on object destruction.
SVN revision: 72061
2012-06-13 06:48:41 +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
Carsten Haitzler 3ee05133da never should have used this api - it never did squat diddly. bug in
api set.



SVN revision: 71989
2012-06-12 08:01:12 +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
Mike Blumenkrantz 2788917365 unused--
SVN revision: 71781
2012-06-07 07:59:18 +00:00
Jihoon Kim e9784a1c83 edje_entry: display preedit string even though there is no attribute
SVN revision: 71761
2012-06-06 15:06:31 +00:00
Jihoon Kim bb56b0b09c fix @version in each EFL header doxygen
SVN revision: 71691
2012-06-04 23:27:02 +00:00
Cedric BAIL 7d2831e6a2 edje: forgotten since.
SVN revision: 71678
2012-06-04 06:09:37 +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 d7e9d661f0 edje: remove object from the tracked list when they are deleted.
SVN revision: 71672
2012-06-04 01:24:07 +00:00
Gustavo Lima Chaves 04f00945fa [edje] Better doc for edje_object_part_swallow.
SVN revision: 71630
2012-06-01 20:51:17 +00:00
Cedric BAIL 86a431e96a edje: we should at least always add the file_in to the list of used file.
SVN revision: 71572
2012-05-31 06:50:09 +00:00
Cedric BAIL f328aabf7b edje: major oopsie !
SVN revision: 71561
2012-05-30 12:51:21 +00:00
Cedric BAIL aa84f35c5b edje: time to play with fire ! edje_cc will now use thread by default.
You can turn it off with -nothreads. Please report any issue you face.


SVN revision: 71558
2012-05-30 12:25:53 +00:00
Cedric BAIL f3ab10d461 edje: remove the work around.
SVN revision: 71556
2012-05-30 12:16:50 +00:00
Carsten Haitzler 318bd30043 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
Cedric BAIL b5e054507a edje: turn on trouble and speed by default.
SVN revision: 71546
2012-05-30 08:56:57 +00:00
Christopher Michael 9d9b182ad9 Edje: Cleanup compiler warnings if NEWPARTLOOKUP is not defined.
SVN revision: 71436
2012-05-26 08:41:49 +00:00
Christopher Michael d92f6f316c Edje: Fix compiler warnings for edje_entry_input_panel functions when
Ecore is built without IMF support.



SVN revision: 71435
2012-05-26 08:34:25 +00:00
Carsten Haitzler b5f6905670 fix async embryo_cc stuff. it was losing all the embyro compiles!
SVN revision: 71387
2012-05-24 05:37:36 +00:00
Carsten Haitzler faf062a939 add a -threads mode and make non-threaded compile the default... no
pending threads then. we can change this later for more testing.
trying to narrow down issues anyway.



SVN revision: 71378
2012-05-24 03:59:02 +00:00
Carsten Haitzler 9a3e561f69 add brackets.. to if...
SVN revision: 71344
2012-05-23 04:22:41 +00:00
Carsten Haitzler 2d425e48db found scrollbar bug in e17 theme... something to do with my making
part lookups faster (O(1)). disable new part lookup code until i've
figured it out.



SVN revision: 71341
2012-05-23 03:12:25 +00:00
Carsten Haitzler 1d11f7a879 dont eet_close on error/abort as it can cause segv's now due to threads.
SVN revision: 71309
2012-05-22 09:09:52 +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
SHILPA ONKAR SINGH 510cada94b From: SHILPA ONKAR SINGH <shilpa.singh@samsung.com>
Subject: [E-devel] [Edje]: Bug Fix: Edje draggable jumps when external
events is used.

Please find attached bug fix patch for edje draggable jump issue when
external event area is used.

Bug: When an external event area is used for edje draggable and when
after mouse move if immediate mouse down
is done then the draggable jumps back to its original position. 

Analysis: In  _edje_mouse_down_signal_cb  When an external event area
is set  i.e., when rp->events_to is set.  
tmp.x value is set to 0, need_reset is set to 1 and also
_edje_recalc_do is called including emitting "drag" signal. this code
is 
unnecessary/buggy  and instead it causes the jump.
1. In mouse down only drag->down.x and drag->down.y needs to be set
which is being set below and tmp value need not be reset to 
0 as tmp value is calculated in mouse move based on drag->down.x and
drag->down.y values.
2. need_reset is already set in mouse up hence need not be set in
mouse down again.
3. edje_recalc_do is the function which actually causes the movement
of draggable based on tmp value hence need not be called in mouse down.
because of the above code race condition happens and as tmp value is
being set to 0 and need reset is also enabled the draggable jumps back
to where it
started.
4. "drag": is sent even before "drag,start" [ should not /need not be
sent in mouse down ]
All the above code is added only when external event area is set and
the above code is not even related to whether external event is set or
not.

Solution: When an external event area is set directly equating rp =
rp->events_to and sending mouse,down would be enough, as down.x and
down.y is set below
including sending drag,start. Recalc_do should be called only in mouse
move as its responsible for movement including setting tmp value.
need_reset is already set in mouse up. drag should not be sent from
mouse down.


Change Description:
Bug Fix: Edje Draggable jumps when mouse down is done immediately
after mouse move when an external 
event area is used.

demo edc pasted below to reproduce the issue.
Please find attached bug fix patch for edje draggable jump issue when external event area is used.

Bug: When an external event area is used for edje draggable and when after mouse move if immediate mouse down
is done then the draggable jumps back to its original position. 

Analysis: In  _edje_mouse_down_signal_cb  When an external event area is set  i.e., when rp->events_to is set.  
tmp.x value is set to 0, need_reset is set to 1 and also _edje_recalc_do is called including emitting "drag" signal. this code is 
unnecessary/buggy  and instead it causes the jump.
1. In mouse down only drag->down.x and drag->down.y needs to be set which is being set below and tmp value need not be reset to 
0 as tmp value is calculated in mouse move based on drag->down.x and drag->down.y values.
2. need_reset is already set in mouse up hence need not be set in mouse down again.
3. edje_recalc_do is the function which actually causes the movement of draggable based on tmp value hence need not be called in mouse down.
because of the above code race condition happens and as tmp value is being set to 0 and need reset is also enabled the draggable jumps back to where it
started.
4. "drag": is sent even before "drag,start" [ should not /need not be sent in mouse down ]
All the above code is added only when external event area is set and the above code is not even related to whether external event is set or not.

Solution: When an external event area is set directly equating rp = rp->events_to and sending mouse,down would be enough, as down.x and down.y is set below
including sending drag,start. Recalc_do should be called only in mouse move as its responsible for movement including setting tmp value. need_reset is already set in mouse up. drag should not be sent from mouse down.


Change Description:
Bug Fix: Edje Draggable jumps when mouse down is done immediately after mouse move when an external 
event area is used.

demo edc pasted below to reproduce the issue.
Please find attached bug fix patch for edje draggable jump issue when
external event area is used.

Bug: When an external event area is used for edje draggable and when
after mouse move if immediate mouse down
is done then the draggable jumps back to its original position. 

Analysis: In  _edje_mouse_down_signal_cb  When an external event area
is set  i.e., when rp->events_to is set.  
tmp.x value is set to 0, need_reset is set to 1 and also
_edje_recalc_do is called including emitting "drag" signal. this code
is 
unnecessary/buggy  and instead it causes the jump.
1. In mouse down only drag->down.x and drag->down.y needs to be set
which is being set below and tmp value need not be reset to 
0 as tmp value is calculated in mouse move based on drag->down.x and
drag->down.y values.
2. need_reset is already set in mouse up hence need not be set in
mouse down again.
3. edje_recalc_do is the function which actually causes the movement
of draggable based on tmp value hence need not be called in mouse down.
because of the above code race condition happens and as tmp value is
being set to 0 and need reset is also enabled the draggable jumps back
to where it
started.
4. "drag": is sent even before "drag,start" [ should not /need not be
sent in mouse down ]
All the above code is added only when external event area is set and
the above code is not even related to whether external event is set or
not.

Solution: When an external event area is set directly equating rp =
rp->events_to and sending mouse,down would be enough, as down.x and
down.y is set below
including sending drag,start. Recalc_do should be called only in mouse
move as its responsible for movement including setting tmp value.
need_reset is already set in mouse up. drag should not be sent from
mouse down.


Change Description:
Bug Fix: Edje Draggable jumps when mouse down is done immediately
after mouse move when an external 
event area is used.

demo edc pasted below to reproduce the issue.

Please find attached bug fix patch for edje draggable jump issue when external event area is used.
  
  Bug: When an external event area is used for edje draggable and when after mouse move if immediate mouse down
is done then the draggable jumps back to its original position. 
  
  Analysis: In  _edje_mouse_down_signal_cb  When an external event area is set  i.e., when rp->events_to is set.  
  tmp.x value is set to 0, need_reset is set to 1 and also _edje_recalc_do is called including emitting "drag" signal. this code is 
unnecessary/buggy  and instead it causes the jump.
  1. In mouse down only drag->down.x and drag->down.y needs to be set which is being set below and tmp value need not be reset to 
0 as tmp value is calculated in mouse move based on drag->down.x and drag->down.y values.
  2. need_reset is already set in mouse up hence need not be set in mouse down again.
  3. edje_recalc_do is the function which actually causes the movement of draggable based on tmp value hence need not be called in mouse down.
  because of the above code race condition happens and as tmp value is being set to 0 and need reset is also enabled the draggable jumps back to where it
started.
  4. "drag": is sent even before "drag,start" [ should not /need not be sent in mouse down ]
All the above code is added only when external event area is set and the above code is not even related to whether external event is set or not.
  
  Solution: When an external event area is set directly equating rp = rp->events_to and sending mouse,down would be enough, as down.x and down.y is set below
including sending drag,start. Recalc_do should be called only in mouse move as its responsible for movement including setting tmp value. need_reset is already set in mouse up. drag should not be sent from mouse down.
  
  
  Change Description:
Bug Fix: Edje Draggable jumps when mouse down is done immediately after mouse move when an external 
event area is used.



SVN revision: 71277
2012-05-21 10:08:18 +00:00
Hyoyoung Chang 29504633fc edje/multisense: add checking sample,tone name at playing. and some indent fixes
SVN revision: 71264
2012-05-21 04:47:45 +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 2aab151919 edje: reduce memcpy in edje_cc by using Eina_File.
SVN revision: 71242
2012-05-20 07:06:57 +00:00
Cedric BAIL 68d5592136 edje: remove useless printf.
SVN revision: 71241
2012-05-20 07:06:31 +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
Hyoyoung Chang a8bd686bfb edje: add sample and tone of multisense to edje inheritance
SVN revision: 71229
2012-05-18 08:33:40 +00:00
Carsten Haitzler cf46d0d388 work around the workaround so it works until ecore thread goop fixed.
SVN revision: 71155
2012-05-16 11:04:40 +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
Carsten Haitzler 047104fa55 work around race condition bug in ecore for now so edje_cc is reliable
again. CEDRIIIIIIIIIIIIIIIIIIIC!



SVN revision: 71144
2012-05-16 07:43:14 +00:00
Carsten Haitzler cbfa14edfb and clean up some of the work on parallelized edje_cc. code less ugly
now.



SVN revision: 71138
2012-05-16 02:15:45 +00:00
Carsten Haitzler efca59d04f optimize edje_cc - now betwene 3.5 x and 4x as fast. new options
(-fastcomp and -fastdecomp) -fastcomp makes for faster decompressing
AND faster compressing of edj files, -fastdecomp is a bit slower on
compression but also as fast as -fastcomp in decompression. note that
edje files built with these optiosn will not work on older edje
installations, thus they are options.



SVN revision: 71112
2012-05-15 12:29:22 +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