Commit Graph

2841 Commits

Author SHA1 Message Date
Flavio Vinicius Alvares Ceolin 2da400cd21 edje_codegen: adding support for BOX and TABLE
Adding the follow functions if the part is a BOX:

 - edje_object_part_box_append
 - edje_object_part_box_prepend
 - edje_object_part_box_insert_before
 - edje_object_part_box_insert_at
 - edje_object_part_box_remove
 - edje_object_part_box_remove_at
 - edje_object_part_box_remove_all

or if the part is a TABLE:

 - edje_object_part_table_pack
 - edje_object_part_table_unpack
 - edje_object_part_table_clear
 - edje_object_part_table_child_get
 - edje_object_part_table_col_row_size_get



SVN revision: 76687
2012-09-14 18:20:31 +00:00
Vincent Torri 84807e6abc Edje: fix returned value
SVN revision: 76647
2012-09-14 08:01:30 +00:00
Jonas M. Gastal ad9c856233 General Group created in Edje documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 76608
2012-09-13 13:11:50 +00:00
Cedric BAIL 4791a710f2 edje: reduce memory used per callback.
SVN revision: 76517
2012-09-12 11:16:57 +00:00
Cedric BAIL e683bab25e edje: less test is better, thanks Jack.
SVN revision: 76510
2012-09-12 09:08:24 +00:00
Carsten Haitzler 9c1cc8bbf0 actually ecore_x is not needed. :)
SVN revision: 76509
2012-09-12 09:01:59 +00:00
Sanjeev BA faee221288 Improve documentation.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 76497
2012-09-12 07:31:21 +00:00
Youness Alaoui a17d6e7042 Edje: edje_codegen uses errno so we should include it
SVN revision: 76484
2012-09-12 02:38:48 +00:00
Vincent Torri 59a9dfd118 merge: add infra for evil
SVN revision: 76463
2012-09-11 16:04:21 +00:00
Carsten Haitzler a00b9084ea use less memory at runtime with real part structs. actual savings are
about 25%.



SVN revision: 76460
2012-09-11 13:14:51 +00:00
Cedric BAIL 90f9d623fe edje: don't strcmp ith NULL.
SVN revision: 76449
2012-09-11 08:15:33 +00:00
Cedric BAIL 979f7879ba edje: recycle and use less memory during load time.
SVN revision: 76445
2012-09-11 07:30:22 +00:00
Cedric BAIL b757565407 edje: silent compiler warning.
SVN revision: 76440
2012-09-11 06:57:50 +00:00
Cedric BAIL b683dbec0b edje: oops typo.
SVN revision: 76439
2012-09-11 06:53:32 +00:00
Cedric BAIL 9d6ec11e24 edje: O(1) access time for edje_cc_handler parameter.
This give another 10% speed improvements (and also reduce massively
memory allocation as we do it once for one array instead of thousand
of time per list of parameters).


SVN revision: 76433
2012-09-11 04:38:50 +00:00
Cedric BAIL b3739ac5d6 edje: another O(1) lookup, but for alias of group.
This give a small 10% benefit on Tizen theme.


SVN revision: 76428
2012-09-11 04:10:13 +00:00
Cedric BAIL 2127cab57d edje: O(1) lookup for all access to Part_Lookup structure in edje_cc.
This will give a major boost of performance for all insanely huge theme
you try to compile. Get down from 13s to 4s. Still some room for improvement.


SVN revision: 76427
2012-09-11 03:39:27 +00:00
Cedric BAIL a69160bb08 edje: remove useless check of alloca return.
SVN revision: 76426
2012-09-11 03:37:40 +00:00
Carsten Haitzler 7a654b8f02 block-handle--! not needed/wanted in upstream
SVN revision: 76387
2012-09-10 09:51:31 +00:00
Christopher Michael 9d4daebdb9 Edje: Obj is UNUSED in this function (and cleanup the other __UNUSED__
here...should be After the param).



SVN revision: 76372
2012-09-10 08:03:22 +00:00
Christopher Michael 158742d8b6 Edje: edje_fetch can return NULL so we should check that we have a
valid edje from the parent before trying to use it.



SVN revision: 76371
2012-09-10 08:00:59 +00:00
Gustavo Sverzut Barbieri 08698e9637 examples: fix codegen automake.
we need to define BUILT_SOURCES and also
nodist_edje_codegen_example_SOURCES, then we do not need a clean-local
rule.



SVN revision: 76362
2012-09-10 00:59:20 +00:00
Gustavo Sverzut Barbieri b28bd3d002 edje shouldn't automagically detect dependencies.
distros such as gentoo will rely on actual wanted dependencies and it
sucks to not have a way to forcefully enable or disable a dependency.

Scenario:
 - user installed eio for some weird reason.
 - user compiles edje, which was finding eio. Without user desire.
 - user removes eio because it's not needed anymore.
 - edje is broken.

Most systems will not have this problem because the package is built
on a pristine system where all dependencies are installed, then the
package is compiled and is impossible to have the user to do such
thing. Not on gentoo and others.

And this commit has a second benefit to disable eio until it's
properly fixed for edje_codegen :-)



SVN revision: 76361
2012-09-10 00:31:16 +00:00
Gustavo Sverzut Barbieri 2e09f012a0 edje examples: build using local binaries, not system binaries.
SVN revision: 76360
2012-09-10 00:06:57 +00:00
Rui Seabra 6f11c81bc5 Explicit eio dependency plus new bin file.
SVN revision: 76357
2012-09-09 22:43:52 +00:00
Vincent Torri 0fe8e0f106 edje_codegen: cleanup
SVN revision: 76340
2012-09-08 08:52:49 +00:00
Vincent Torri 55942ecabe clean++
SVN revision: 76339
2012-09-08 08:41:52 +00:00
Vincent Torri b751d12d93 Edje: clean up autotools
SVN revision: 76338
2012-09-08 08:40:36 +00:00
Flavio Ceolin b17e46d620 edje_codegen: Making the example uses the new object get
function

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



SVN revision: 76315
2012-09-07 15:41:22 +00:00
Flavio Ceolin be4bdda2e2 edje_codegen: Improving the generated code
Adding a new function that creates the edje object and set
the edj file.

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



SVN revision: 76314
2012-09-07 15:40:26 +00:00
WooHyun Jung 989a182d1c edje : fixed a doc.
SVN revision: 76274
2012-09-07 05:19:28 +00:00
WooHyun Jung cd9998f251 edje : Just fixed a doc.
SVN revision: 76273
2012-09-07 05:09:46 +00:00
Cedric BAIL a63f1db129 edje: correct NULL check. Happy SeoZ :-)
SVN revision: 76235
2012-09-06 10:05:34 +00:00
Cedric BAIL d270badc35 edje: check NULL :-)
SVN revision: 76234
2012-09-06 10:01:44 +00:00
ChunEon Park 3fe669e66d edje - fix fmtting.
SVN revision: 76219
2012-09-06 06:46:51 +00:00
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 52447357b6 add NEWS about adding enum
SVN revision: 76112
2012-09-04 07:42:55 +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 0008f2362f ChangeLog: back in time.
SVN revision: 75875
2012-08-30 11:26:00 +00:00
Cedric BAIL 5e33eaa6c4 ChangeLog: state we did a release.
SVN revision: 75873
2012-08-30 10:55:40 +00:00
Carsten Haitzler d22ca53faa and up ver to 1.7.99 now in svn. nack to svnrev num at end.
SVN revision: 75869
2012-08-30 10:34:01 +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
Tom Hacohen 0d5d5af271 Edje vim: added ellipsis (correct spelling) as a keyword.
SVN revision: 75785
2012-08-28 12:28:37 +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
Eduardo de Barros Lima aef9e7497c edc.vim: Added instructions
SVN revision: 75782
2012-08-28 12:17:51 +00:00
Carsten Haitzler 6335870b45 no this isnt release - this is simply me removing the beta tag so when
we release it's ready.



SVN revision: 75740
2012-08-27 10:24:41 +00:00
Carsten Haitzler 1475fb3586 update @version's
SVN revision: 75739
2012-08-27 09:51:57 +00:00
Jerome Pinot 5f5f577117 edje: minor typo in configure help
SVN revision: 75737
2012-08-27 09:39:17 +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 ecc8b76db5 edje: add Guilherme Silveira to AUTHORS and ChangeLog.
SVN revision: 75485
2012-08-21 03:11:33 +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
Rui Seabra 5daa1a432a Update rpm specs
SVN revision: 75404
2012-08-18 08:22:34 +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
Carsten Haitzler 497af2e1e4 tag as beta...
SVN revision: 75344
2012-08-17 03:57: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
Jihoon Kim c143ca0c42 edje: fix version in NEWS
SVN revision: 75106
2012-08-10 14:01:08 +00:00
Carsten Haitzler aef32ed6d3 more updates for 1.7.0 alpha.
SVN revision: 75095
2012-08-10 10:51:17 +00:00
Carsten Haitzler 1e2cbe8e7d alpha release of 1.7 - let's roll. ALPHA!
SVN revision: 75091
2012-08-10 10:37:05 +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
ChunEon Park 23225d016f edje - updated AUTHORS
SVN revision: 74315
2012-07-23 08:54:46 +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 d92420f461 and actually command (m4 style dnl) the multisense stuff for release.
SVN revision: 74052
2012-07-18 08:37:23 +00:00
Carsten Haitzler e7c992be99 make multisense off by default as it's not ready yet.
SVN revision: 74050
2012-07-18 08:33:41 +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
Jerome Pinot ab9e4b3c9a edje: multisense
Add a key in edje.pc to help third-party applications detect if the library
has been compiled with multisense support. This will be eventually reverted
if multisense becomes a requirement for edje. For the time being, people can
check multisense availability by "pkg-config edje --variable=multisense".


SVN revision: 73324
2012-07-05 06:03:37 +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 403fcf96ff edje: Align coverage generation with all others
SVN revision: 72947
2012-06-27 13:26:25 +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
ChunEon Park 791b125497 edje - updated AUTHORS
SVN revision: 72163
2012-06-15 06:40:01 +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
Jihoon Kim cb2c9a94a1 write NEWS, Changelog about r71761
SVN revision: 72153
2012-06-15 00:43:52 +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
Jonas M. Gastal 4efd677ac8 Adding related pages link.
Author:    Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 71848
2012-06-08 13:21:08 +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
Jihoon Kim 90588c2527 edje/examples.dox: fix typos
SVN revision: 71615
2012-06-01 01:49:54 +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