Commit Graph

2260 Commits

Author SHA1 Message Date
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 2e09f012a0 edje examples: build using local binaries, not system binaries.
SVN revision: 76360
2012-09-10 00:06:57 +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 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