Commit Graph

2055 Commits

Author SHA1 Message Date
Cedric BAIL 461d95f308 edje: fix building example in another directory.
SVN revision: 65843
2011-12-03 14:23:44 +00:00
David Walter Seikel e80e88c5cd Last of the docs.
No bloody functional change.


SVN revision: 65779
2011-12-01 12:34:47 +00:00
Cedric BAIL 1593fbca3f edje: forgotten #if.
SVN revision: 65713
2011-11-30 10:57:30 +00:00
Carsten Haitzler f575f55ed9 fix distcheck issues with examples. - always install examples, but
build is optional.



SVN revision: 65709
2011-11-30 05:15:18 +00:00
David Walter Seikel 4726297e7a Some minor doc changes while I'm at it.
SVN revision: 65656
2011-11-28 16:00:24 +00:00
David Walter Seikel 056f81c331 Oops.
SVN revision: 65655
2011-11-28 15:59:35 +00:00
Cedric BAIL 7473d15aea edje: cleanup and more accurate evaluation of CURRENT.
SVN revision: 65642
2011-11-28 10:20:51 +00:00
Cedric BAIL 41fe1bcc43 edje: fix documentation for limits.
SVN revision: 65639
2011-11-28 09:28:42 +00:00
Cedric BAIL 493b6a58d5 edje: fix typo and remove useless code.
SVN revision: 65637
2011-11-28 08:22:36 +00:00
Cedric BAIL af33528af8 edje: major cleanup of map calc in edje, now done inside Edje_Calc_Param.
NOTE: This was necessary for solving issue with the new CURRENT feature. I
don't like this massive change, but there is no way around. This patch is
only the first step, I will wait the full night before completly fixing
the issue with CURRENT.

WARNING: If this patch doesn't break svn, you must feel lucky and go play
money games. In all other case, please report any issue to the developper
mailing-list.


SVN revision: 65619
2011-11-27 23:55:37 +00:00
David Walter Seikel e3361fc062 Even mooore docs.
SVN revision: 65602
2011-11-26 02:37:04 +00:00
David Walter Seikel 8eb9117abc More docs.
SVN revision: 65601
2011-11-26 01:37:38 +00:00
Carsten Haitzler e9252c781a handle DEL of swallowed objects, not FREE - old old old code.
SVN revision: 65573
2011-11-24 12:44:41 +00:00
Carsten Haitzler 2c283ada65 fix awful event re-propagation between every part and parent and part
and.... u get the idea. this made an n^m list of messages... where n
was 3 of messages sent and m was # of child parts (42 of them)... this
caused a silly 3 of timers to be allocated... don't ask how many. in a
simple snapshot i saw 101mb of timers allocated... and i was just
starting... anyway - this makes the propagatiopn not propagate down
and then back up again... and it only needs 1 timer allocated to
handle a re-schedule of processing messages. not N. "leak" that was
just a massive memory spike) is now fixed.



SVN revision: 65571
2011-11-24 11:51:11 +00:00
Carsten Haitzler ca2f7a8f77 lookup duplicate targets and skip new target if already in list.
SVN revision: 65535
2011-11-23 10:42:58 +00:00
Carsten Haitzler f3c5abf999 aaah allow type to be set on group inherit or part inherit... you just
really shouldnt set it to a different type as its not very sensible.



SVN revision: 65534
2011-11-23 10:38:43 +00:00
David Walter Seikel 30f31653f6 Added docs for the last of the API from the previous release.
Next I'll add docs for THIS release's API additions.


SVN revision: 65507
2011-11-22 03:48:44 +00:00
David Walter Seikel 7580d38285 About time I updated this.
SVN revision: 65466
2011-11-21 00:44:37 +00:00
David Walter Seikel b02d727737 Polish up the lua error handling.
SVN revision: 65465
2011-11-20 23:52:57 +00:00
David Walter Seikel 30add22439 Some minor cleanups.
SVN revision: 65463
2011-11-20 22:04:37 +00:00
David Walter Seikel 96057a02a2 Don't bypass the metatable when we shouldn't, and note when we can get away with it.
SVN revision: 65462
2011-11-20 21:24:58 +00:00
David Walter Seikel adfb727363 Print the contents of the messages.
SVN revision: 65461
2011-11-20 21:01:01 +00:00
David Walter Seikel f002e69d62 Adding the source for the signal test stuff raster and I where using, as another example.
SVN revision: 65460
2011-11-20 20:19:03 +00:00
David Walter Seikel c886664e73 Last of the stack review, unless I missed some.
No functional change.


SVN revision: 65459
2011-11-20 19:49:05 +00:00
Cedric BAIL 4638a297ef edje: fix bug when using filter with edje cache turned on.
SVN revision: 65458
2011-11-20 18:27:14 +00:00
David Walter Seikel c34434dedf More stack analysis, still no functional change.
SVN revision: 65457
2011-11-20 17:40:43 +00:00
David Walter Seikel 61478ed370 Stop abusing passed in tables, as per my email on the dev list.
I love removing code.  B-)


SVN revision: 65453
2011-11-20 15:51:58 +00:00
Cedric BAIL 63c47ef28e edje: unbreak svn.
SVN revision: 65444
2011-11-20 14:39:34 +00:00
David Walter Seikel 35bb48a788 Some scattered lua stack check comments, to get them in before a functional change.
No functional change.


SVN revision: 65443
2011-11-20 14:39:30 +00:00
Cedric BAIL 73c6c34cd6 edje: remove warning when building without Ecore_IMF.
SVN revision: 65440
2011-11-20 14:15:37 +00:00
Cedric BAIL cc02e46a18 edje: fix amalgamation support.
SVN revision: 65439
2011-11-20 14:11:50 +00:00
Cedric BAIL 239796713d edje: remove various warning.
SVN revision: 65438
2011-11-20 14:09:17 +00:00
David Walter Seikel 2e17712bb0 Make map like the others, remove excess push and gc.
What was I thinking?


SVN revision: 65430
2011-11-20 13:01:16 +00:00
David Walter Seikel 141c3da2b6 Add some FIXME's, and more lua stack review.
No functoinal change.


SVN revision: 65429
2011-11-20 12:51:49 +00:00
David Walter Seikel 2f355197f0 Some more stack review, plus a couple of FIXME's added.
No functional change, just comments.

Too tired for more, I'll finish this tomorrow.


SVN revision: 65413
2011-11-19 15:37:21 +00:00
Carsten Haitzler ec21190bdc remove commented code now.
SVN revision: 65404
2011-11-19 05:02:00 +00:00
Carsten Haitzler 8ddf9df17b fix propagation to child groups - seems we had src set to null that i
didnt catch when i added it at the end.



SVN revision: 65403
2011-11-19 04:23:27 +00:00
Carsten Haitzler e5667ae16b fix edje object leak if child obj file set fails!!!
SVN revision: 65402
2011-11-19 04:16:32 +00:00
Carsten Haitzler 0fdebe55f5 fix docs to not confuse onefang... :)
SVN revision: 65401
2011-11-19 04:08:55 +00:00
Carsten Haitzler 2966d44f67 fix looping message passing from children back to parent then back to
child, parent etc. due to changes in propagation code.



SVN revision: 65398
2011-11-19 03:24:37 +00:00
David Walter Seikel 412498a2e3 Keep it clean.
SVN revision: 65397
2011-11-19 01:38:54 +00:00
David Walter Seikel d4056c9be0 About half way through the lua stack analysis.
No functional changes.


SVN revision: 65396
2011-11-19 01:12:06 +00:00
Carsten Haitzler 4e97f85876 fix inconsistency with propagating signals and messages. now messages
AND signals should propagate to children the SAME WAY - that means
children you added explicitly in the edje file and not form c code get
propagated to.



SVN revision: 65384
2011-11-18 10:35:38 +00:00
David Walter Seikel bd8e46c9b3 Maybe one day raster will remember.
Something to do with caches perhaps?
Needs to be changed anyway.


SVN revision: 65383
2011-11-18 09:52:58 +00:00
Carsten Haitzler 132dd78a10 formatting fix
SVN revision: 65369
2011-11-18 07:18:19 +00:00
Carsten Haitzler 6b3e23df20 more formatting improvements
SVN revision: 65367
2011-11-18 06:46:51 +00:00
Carsten Haitzler e2fd7e55a3 some formatting fixes.
SVN revision: 65366
2011-11-18 06:40:49 +00:00
Carsten Haitzler a7ffa895ce remove unused code
SVN revision: 65365
2011-11-18 06:32:22 +00:00
David Walter Seikel 7a20a441dd edje:echo() logs to the lua domain, at the debug level.
It's for debugging lua scripts.


SVN revision: 65363
2011-11-18 05:53:44 +00:00
David Walter Seikel a89d120979 You might call this an API break, but it's a bug fix.
The very original lua code from waaaay back when, 
would create the various timer objects as members of the evas class, 
which would mean you could call evas functions on the timer objects.

Not good.

Now they have their own classes.

However, you still have to create them by calling functions in the
edje class, there should probably be an ecore class for that instead.


SVN revision: 65354
2011-11-18 02:27:16 +00:00
David Walter Seikel f11de46523 typo--
SVN revision: 65352
2011-11-18 01:50:47 +00:00
David Walter Seikel c7620ae477 Make a better messaeg callback example.
SVN revision: 65348
2011-11-17 18:38:23 +00:00
David Walter Seikel 97c34f5a51 Document the lua callback hooks.
SVN revision: 65347
2011-11-17 18:13:58 +00:00
David Walter Seikel 91972dd35e Document the pre 1.1.0 edje functions.
SVN revision: 65346
2011-11-17 17:42:29 +00:00
David Walter Seikel 057ce26e60 Documentation stubs. I'll fill them in later.
Also includes stubs for the documentation of stack usage.


SVN revision: 65343
2011-11-17 14:21:53 +00:00
Iván Briano fd9b2d455c Fix building without Ecore_IMF
SVN revision: 65342
2011-11-17 14:07:39 +00:00
Mike Blumenkrantz c164909d69 clarify group inherit error message
SVN revision: 65271
2011-11-15 16:19:09 +00:00
Carsten Haitzler a30c4242f6 disable multisense for edje 1.1
SVN revision: 65217
2011-11-15 03:01:03 +00:00
Jaehwan Kim f4ec79d7a2 Value stored to 'pc' is never read and 'el' must not be null.
SVN revision: 65166
2011-11-14 12:19:09 +00:00
Jaehwan Kim 5b927c3170 Value stored to 'pc' is never read
SVN revision: 65163
2011-11-14 11:23:23 +00:00
Jaehwan Kim c43b0e455c rel1.to: ""; fix build error.
Actually, if rel1.to_x is not used in the matched description of the parent group, rel1.to_x: ""; doesn't need to be used in the description of the child group.
Because its state is already default. But sometime we may want to use it explicitly. So I add this code in order to cover that case.


SVN revision: 65160
2011-11-14 11:04:37 +00:00
David Walter Seikel 3fa4e5fee3 Fix up some returns after a review.
SVN revision: 65148
2011-11-14 07:35:23 +00:00
David Walter Seikel ec56d2bea3 Extra parenthethith, coth Mike'th compiler hath a lithp.
SVN revision: 65143
2011-11-14 04:47:44 +00:00
David Walter Seikel b0716602f1 Rearange things so the main lua group is the, um, main one,
the edje group is swallowed in that, and the bubbles lua group
is swallowed into the edje group.

Demonstrates all ways of lua swallowing, except direct lua to lua.


SVN revision: 65140
2011-11-14 00:18:41 +00:00
David Walter Seikel f631c2ca09 Some error checking and logging love.
More love coming soon.


SVN revision: 65139
2011-11-14 00:13:36 +00:00
David Walter Seikel 04541d0f31 Fix up a problem with geom and friends when some external thingy moves stuff behind our backs.
This happens during startup at least and did cause problems.

Restrict image loading to images from the same edje file we are in, as per rasters request.

Some minor cleanups.

This commit fixes the last of the known problems.
So it's ready for release, except for adding docs.
I'll be adding docs over the next week anyway.


SVN revision: 65136
2011-11-13 17:58:11 +00:00
David Walter Seikel b9ad691a14 Rearrange things again to make Doxygen and compiler happy.
SVN revision: 65102
2011-11-12 19:39:01 +00:00
David Walter Seikel 5b1b248dfc A few basic docs, just to show the sort of structure I'm aiming for.
I don't know doxygen, and doxygen don't seem to quite understand what I want.
Which is to document the lua side of things, but having the docs near the C 
functions that define them.  Help me out please doxygen experts.

Note the problem with edje:rect().

Or I could just write one big blob.  Ewwww.



SVN revision: 65097
2011-11-12 14:33:08 +00:00
David Walter Seikel b71734ffdf Rearrange the source code. No functional changes.
SVN revision: 65094
2011-11-12 10:42:56 +00:00
David Walter Seikel 3aba54fd04 More boiler, less plate.
SVN revision: 65086
2011-11-12 04:11:25 +00:00
David Walter Seikel d995ed6c58 Oops, fixor the bools.
SVN revision: 65085
2011-11-12 02:31:09 +00:00
David Walter Seikel a6c3bf6305 Generic functions for grabbing arguments, possibly out of a table,
and returning a table of results.

This replaces a whole host of specialised functions, and gives some flexibility.

As promised, I did not forget about the const castings, they went away as expected.


SVN revision: 65084
2011-11-12 02:23:33 +00:00
David Walter Seikel 7081c47b6e Add some inheritance.
SVN revision: 65079
2011-11-11 21:32:15 +00:00
David Walter Seikel d8abb0f237 Sandbox the edje file setting.
Patch up the argument getting for image setting.
Still not sandboxing the image setting, that's a pain.


SVN revision: 65072
2011-11-11 18:11:10 +00:00
David Walter Seikel 6d9f0ed3dc Actually return the map source.
SVN revision: 65070
2011-11-11 16:34:14 +00:00
David Walter Seikel 6838b5ac07 More generic method of checking the type of userdata object sent to us by lua.
SVN revision: 65068
2011-11-11 16:23:06 +00:00
Iván Briano c912db8656 Some more fixes to the group inherit thing
SVN revision: 65037
2011-11-11 03:13:13 +00:00
Iván Briano bcce5db59a Break away if we already found a matching state
SVN revision: 65035
2011-11-11 00:43:23 +00:00
David Walter Seikel 1c3344d1d1 Actually implement the 5 param version of map:populate.
Plus - let another TODO sneak in.


SVN revision: 65026
2011-11-10 16:59:21 +00:00
Carsten Haitzler 9e55698aec fix eina log for alsa thing to not use \n's
SVN revision: 65008
2011-11-10 06:38:15 +00:00
Carsten Haitzler e3b7c9b551 try init and shut down remix outside of thread.
SVN revision: 65002
2011-11-10 05:18:43 +00:00
David Walter Seikel 93ff9b01fd Remove something that is never used.
SVN revision: 64969
2011-11-09 04:44:31 +00:00
Carsten Haitzler c7e7c3043e see how much morte code i had to add just to use eina_log gustavo? i
had to add eina_init() and shutdown and init refcounting and log
domain creating and add a macro.. so i can finally use it? eina being
included here actually was never needed... but since include was there
i could use it...

just saying - using eina_log is not convenient. it doesn't save time.
it's benefits are dubious (knowing what envv ar to set to what values
to get log output is black magic as u need to know specific log level
values and log domain names which u only find out by digging thru
code). my point -> if u want eina_log used more.. it needs to be AS
EASY as the printf. :)



SVN revision: 64937
2011-11-08 07:14:49 +00:00
Carsten Haitzler 44d95d00ea fix slight "tick tick" in interpolated audio resmapling. found it.
SVN revision: 64936
2011-11-08 07:10:33 +00:00
Carsten Haitzler bdc764dc16 use WRN maco for complaining if alsa init fails.
SVN revision: 64935
2011-11-08 06:55:07 +00:00
David Walter Seikel 191c19be96 Let's not rotate the example clear out of view.
SVN revision: 64865
2011-11-07 10:34:34 +00:00
David Walter Seikel d95ddbfe79 typo -= 2
SVN revision: 64864
2011-11-07 10:18:31 +00:00
David Walter Seikel ad7a0157f2 Slightly more sane examples of map usage.
SVN revision: 64862
2011-11-07 09:52:17 +00:00
Carsten Haitzler d8998a747f fix small interpolation bug that caused some "clicks".
SVN revision: 64861
2011-11-07 09:25:40 +00:00
David Walter Seikel 98a10bd761 Oops, this one was wrong.
SVN revision: 64860
2011-11-07 08:55:03 +00:00
David Walter Seikel 38853023d5 The other half of the lua map API.
Also fix up some warnings pointed out by Mike Blumenkrantz.

I'm using the "I committed this from my USA server to sneak it past the deadline" excuse.  :-P



SVN revision: 64857
2011-11-07 07:02:02 +00:00
Mike Blumenkrantz d06a1d21a7 don't need to strlen here
SVN revision: 64856
2011-11-07 06:10:06 +00:00
Carsten Haitzler c4822f0667 and some more cleaning/formatting in alsa code
SVN revision: 64855
2011-11-07 05:57:46 +00:00
Carsten Haitzler 8bec0822b7 formatting fixes in alsa code
SVN revision: 64854
2011-11-07 05:45:00 +00:00
Jaehwan Kim dbd8c61ae5 Add the ChnageLog and since 1.1.0
SVN revision: 64851
2011-11-07 04:36:53 +00:00
David Walter Seikel 2a0069118b Half of evas map API Added to lua.
The rest is commented, so you can see what the API will look like.
Needs more testing, and the other half.



SVN revision: 64822
2011-11-06 14:59:44 +00:00
David Walter Seikel c038bc4fa1 I swear I fixed this before!
SVN revision: 64819
2011-11-06 13:31:47 +00:00
Carsten Haitzler 1782ada8ee add warning on decc
SVN revision: 64807
2011-11-06 09:27:28 +00:00
David Walter Seikel be0358a4f1 Finally committing my edje lua additions after a long chat with raster on IRC.
Not everything discussed is in this commit, but that will come later today.



SVN revision: 64803
2011-11-06 09:00:21 +00:00
Carsten Haitzler 192139c55e dont use shadow lua obj w,h as it means text objects dont force their
size right and u need extra calls to get them. fix.



SVN revision: 64793
2011-11-06 04:44:13 +00:00
Carsten Haitzler ae70ed142a warning-- on edje when compiled without mulitsense
SVN revision: 64763
2011-11-05 14:03:28 +00:00
Carsten Haitzler 5bf58d3ef6 and be explicit.. unsigned.. INT!
SVN revision: 64754
2011-11-05 11:25:42 +00:00
Carsten Haitzler 86504a24d1 fix a few warnings i get on 64bit than didnt pop up on 32, revert edje
module load api break -back to eina_bool return. add some @sinces even
if there are no docs.



SVN revision: 64751
2011-11-04 23:19:14 +00:00
Iván Briano 78662c6674 Clarify the need (or not) to free data values returned.
SVN revision: 64739
2011-11-04 16:26:41 +00:00
Prince Kumar Dubey 3cc8139906 From: Prince Kumar Dubey <prince.dubey@samsung.com>
From: Govindaraju S M <govi.sm@samsung.com>
Subject: edje multisense patch for sound sample, tone and haptic play

... This is the beginning of sound (and haptic) support in Edje - it
works, but only at certain basic sample playback levels. more will come.



SVN revision: 64731
2011-11-04 12:18:13 +00:00
Tom Hacohen a6b8ad17af Edje text: Remove identical if paths, one is enough.
Thanks to David Seikel.

SVN revision: 64689
2011-11-03 12:37:07 +00:00
Mike Blumenkrantz 583a69172f fix up docs a little
SVN revision: 64678
2011-11-03 06:00:28 +00:00
Jaehwan Kim 6afeb6b150 Add CURRENT option which edje object moves from current position.
Currently, when the part in edc move by transition, it moves from the
one of the states to another of the states even if it is ainimating.
We need it to move from current position, because the animation is not
natural and smooth. So I made the "CURRENT" option.


SVN revision: 64675
2011-11-03 04:43:00 +00:00
Jaehwan Kim 1d300f049b Revert to revision 64488 in order to split the code into new feature and indentation
SVN revision: 64633
2011-11-02 04:15:01 +00:00
Jaehwan Kim 39d27f8cbb Add CURRENT option which edje object moves from current position.
Currently, when the part in edc move by transition, it moves from the
one of the states to another of the states even if it is ainimating.
We need it to move from current position, because the animation is not
natural and smooth. So I made the "CURRENT" option.
And I removed the unnecessary tab for indentation.


SVN revision: 64545
2011-10-31 06:00:06 +00:00
Jaehwan Kim 98d6e21ec3 add the documentations about edje group inherit.
SVN revision: 64488
2011-10-28 09:01:38 +00:00
Carsten Haitzler d708501443 From: Jihoon Kim [mailto:jihoon48.kim@samsung.com]
elm_entry_autocapital_type_set API is high level API to call ecore_imf_context_autocapital_type_set.
Application programmer can choose the type of autocapitalization such as
WORD, SENTENCE, ALLCHARACTER through this API.

elm_entry_input_panel_enabled_set API is for setting whether input panel
(virtual keyboard) should be appeared when entry has a focus or pressed.
It can be used by dialer or calculator application programmer because those
application prefer to use its keypad NOT virtual keyboard supported by system.
They want to use entry to show the cursor for providing the cursor handling
method but don't want to appear system keyboard.



SVN revision: 64423
2011-10-27 05:42:41 +00:00
Bruno Dilly 06fcb0725b Edje: minor - Fix swallow part error msg
SVN revision: 64416
2011-10-26 19:49:09 +00:00
Jaehwan Kim bda33541cf From: Jaehwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel] [Patch] change rel1.to to default when using group
inherit

When using group inherit, if rel1.to is set in parent group, we cannot change the part name 
of rel1.to to default (the default is that dont have the part name) in child group.
So I changed edje_cc_out.c. After patching, we can change rel1.to to
default by using "". (ex > rel1.to: "";)



SVN revision: 64171
2011-10-19 09:41:17 +00:00
Carsten Haitzler 850ba388a2 oooh bad memory pointer handling as part of group inheritance (part
overriding) patches....!!!!! fix!



SVN revision: 64028
2011-10-13 00:09:04 +00:00
Carsten Haitzler 371874381b and actually always apply border_scale_by directly as-is even if
border_scale is not set.



SVN revision: 63944
2011-10-10 07:58:14 +00:00
Carsten Haitzler f18d4de8d5 add border_scale_by that adds another scaling factor for border
scaling. use it as a way of super-sampling borders (eg use 0.5 to use
2x over-sampling, 0.25 for 4x oversapling etc.)



SVN revision: 63938
2011-10-10 05:53:02 +00:00
Mike McCormack 74c07498f9 edje: Add a --no-save option to edje_cc
Some people don't want to reveal their edc files...

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63937
2011-10-10 02:49:50 +00:00
Daniel Juyung Seo ec93b2a20a edje edje_cc_handlers.c: Fixed edje_cc bugs about data.item. Patch by Jaehwan Kim <jae.hwan.kim@samsung.com>
2011/9/30 Jaehwan Kim <jae.hwan.kim@samsung.com>:
>
> I found some bugs in edje_cc_handlers.c.
>
> One is about data.item. It is saved in hash list.
> When it is saved, I freed the memory of the key.
> But the memory is used. so I deleted the free(key).
>
> Second is it is possible in
st_collections_group_parts_part_description_state.
> So I changed the location of the conditional statement.
>
> Please apply this patch :)
>
> Jaehwan Kim.


SVN revision: 63822
2011-10-05 06:37:06 +00:00
WooHyun Jung 006c18a7e1 edje/edje_entry : When CURSOR_MODE_BEFORE, the width of cursor edje
object should be considered.


SVN revision: 63806
2011-10-04 11:40:52 +00:00
Tom Hacohen 2729248566 Edje entry: Emit signals on range del and add info to changed,user.
Info added includes: cursor position of the action, content related to the
action, and the action that happened (added/removed).
Also fixed tab insertion to delete the current selection.

SVN revision: 63773
2011-10-03 12:30:40 +00:00
Tom Hacohen 2477b1a048 Edje entry: Do the cheaper if first.
SVN revision: 63772
2011-10-03 12:30:37 +00:00
Tom Hacohen 2c12f4b0a7 Edje signals: Add the ability to provide extra data for signals.
SVN revision: 63771
2011-10-03 12:30:32 +00:00
WooHyun Jung 75646ae276 edje/edje_entry : fixed small bugs and warnings
SVN revision: 63766
2011-10-03 08:02:07 +00:00
Boris Faure 56c20bff47 edje: description.max can be -1
also add myself to AUTHORS

SVN revision: 63753
2011-10-02 21:07:54 +00:00
Daniel Juyung Seo 17881b57a4 edje edje_cc_handlers.c: Fixed indentation and error message.
SVN revision: 63693
2011-09-30 00:37:44 +00:00
Jihoon Kim 97f7d95201 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] update cursor location when the position of
entry is changed


The cursor location information should be transferred when the position of
entry is changed.

For example, an entry can be moved by comformant, rotate event.

The transferred cursor location is used for letting candidate word window
move the appropriate position.



SVN revision: 63660
2011-09-29 09:02:31 +00:00
Cedric BAIL db4c82bc46 edje: add group inheritance.
Patch by Jaehwan Kim <jae.hwan.kim@samsung.com>


SVN revision: 63648
2011-09-29 01:29:21 +00:00
Cedric BAIL 881244542d edje: refactor code.
SVN revision: 63620
2011-09-27 06:16:34 +00:00
Christopher Michael 4ac5e88875 Edje: if _edje_fetch fails and we are returning from here, then no need to
fetch evas_object_evas_get. Use eina_stringshare_replace rather than
del & add. Fix a little formatting.



SVN revision: 63533
2011-09-22 07:19:50 +00:00
Vincent Torri 662871b057 add tests and coverage support
SVN revision: 63394
2011-09-14 19:02:07 +00:00
Mike Blumenkrantz deb39b3bf0 you lied to me, cnp!
SVN revision: 63320
2011-09-10 23:56:50 +00:00
Mike Blumenkrantz a8ff30dea4 null check for color_class_list
SVN revision: 63319
2011-09-10 20:39:24 +00:00
ChunEon Park 4e2320b17e edje - reverted embryo debug prints.
they can be used to get outside of the managable control.



SVN revision: 63281
2011-09-08 04:58:00 +00:00
ChunEon Park 5cac38f5d9 edje - added print_int print_float print_str funcs for debugging in embryo script
SVN revision: 63275
2011-09-07 20:43:40 +00:00
Youness Alaoui df91f38ffb Edje: Use ecore_file_symlink rather than symlink
SVN revision: 63256
2011-09-07 06:58:48 +00:00
Tom Hacohen 110898bd67 Revert "Edje entry: Start using the new tb_range_formats_get."
This reverts commit 62260

Unfortunately the textblock function doesn't work as well as expected.

SVN revision: 63192
2011-09-05 12:07:31 +00:00
Cedric BAIL 5b83e0a288 edje: less useless call to eina_stringshare_add/del.
NOTE: edje is getting slow this day, please be carefull
when you add code to make it clean and fast. We soon
will require to go after some of this issue. Need to see
why application doing nothing are using 7% of my CPU
(mostly in edje).


SVN revision: 62993
2011-08-30 15:21:44 +00:00
Carsten Haitzler 4dbff7d352 typo--
SVN revision: 62790
2011-08-25 08:54:12 +00:00
Jihoon Kim 94561e19eb From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] add elm_entry_input_panel_layout_set API

elm_entry_input_panel_layout_set API is high level API to call
ecore_imf_context_input_panel_layout_set (through edje).
This API will be used to set layout of input panel (such as URL, Email,
Number layout...) by application programmer.

Would you please review this patch?
Please let me know if I have to do more.



SVN revision: 62782
2011-08-25 07:25:37 +00:00
Gustavo Lima Chaves 73aa354e05 [edje] Putting edc examples in src/examples dir, so that
docs find them as well.



SVN revision: 62754
2011-08-24 16:31:11 +00:00
Daniel Juyung Seo f915dca8ae edje edje_calc.c: Removed warnings.
SVN revision: 62729
2011-08-23 16:44:36 +00:00
Cedric BAIL 686d473591 edje: add collection.group.limits.vertical and collection.group.limits.horizontal.
The goal is to provide an easy way to do the kind of effect you see in that video
around 00:36 : http://www.youtube.com/watch?v=KVoVLHh8CHc.
  At that time it was really difficult to do such thing and required a lot of
embryo code, we designed limit with Billiob to be able to do such kind of things
much more easily.

NOTE: so Billiob, now nothing stop you from releasing amsn2 ! ;-)


SVN revision: 62701
2011-08-22 21:44:49 +00:00
Gustavo Sverzut Barbieri cc1d1f95c6 change text's single recalc to use apply version.
Original _edje_part_recalc_single_text() was not working as
expected since it was not doing size fit, range, ellipsis and so
on.

The purpose of this function compared with
_edje_text_recalc_apply() is to be faster, not calling Evas update
functions. However for text this is quite difficult given that to
fit we need to set the font, size, style, etc. If it was done
correctly, we'd save some calls to move and some color sets,
however those shouldn't matter much in the overall picture.

I've changed this to force applying the value, it should be more
correct and not so slow. The previous code is kept below for
reference but should be removed before next release!




SVN revision: 62640
2011-08-21 01:38:17 +00:00
Gustavo Sverzut Barbieri ddc7fb9527 Just cut/ellipsis if text.min.x is not set.
This should fix the bug with the following code:

collections {
   group { name: "main";
      parts {
         part { name: "text";
            type: TEXT;
            description { state: "default" 0.0;
               text {
                  font: "Sans";
                  size: 72;
                  text: "contents";
                  fit: 0 1;
                  min: 1 0;
               }
            }
         }
      }
   }
}




SVN revision: 62639
2011-08-20 23:47:46 +00:00
Gustavo Sverzut Barbieri b5cffc366e minor corner case fix for extents without some of the return parameters.
SVN revision: 62633
2011-08-20 14:49:21 +00:00
Carsten Haitzler 87985a16fa and when doing proxy.. lets calc the right proxy id part shall we?
SVN revision: 62630
2011-08-20 13:03:01 +00:00
Carsten Haitzler 64aa704c69 fix: if proxy id < 0 (invalid) disable proxy...!!! (yes i know -
backport. leaving for 1.1)



SVN revision: 62623
2011-08-20 07:27:52 +00:00
Tom Hacohen 43a9bc036b Edje: Fixed a couple of compilation warnings.
SVN revision: 62566
2011-08-18 11:41:04 +00:00
Sebastian Dransfeld 08559f2c8b edje: Fix shadow warnings
SVN revision: 62563
2011-08-18 10:59:34 +00:00
Tom Hacohen 8424a58c6d Edje entry: Fixed a markup_prepend that should have been a text_prepend.
SVN revision: 62484
2011-08-15 14:05:18 +00:00
Cedric BAIL 5c95f8d422 edje: fix cache and proxy.
SVN revision: 62464
2011-08-14 21:55:31 +00:00
Cedric BAIL e076fec7c8 edje: at least advertise the fact that we do have PROXY part.
SVN revision: 62447
2011-08-14 16:12:13 +00:00
Iván Briano 026f8798dc Forward messages to Edje defined children of box and table
SVN revision: 62418
2011-08-13 00:30:12 +00:00
Boris Faure c76a60b0a5 edje/epp: cpp line control command is #line
SVN revision: 62381
2011-08-12 12:39:17 +00:00
Tom Hacohen 2fa1f8c3d5 Edje entry: Start using the new tb_range_formats_get.
This should make everything faster cause we now only get/work on the
visible anchors/items.

SVN revision: 62260
2011-08-09 13:58:00 +00:00
Carsten Haitzler b72850a06d remvoe todo's from doc
SVN revision: 62204
2011-08-08 11:43:13 +00:00
Carsten Haitzler c7d59a850d and more doc clean for edje.
SVN revision: 62203
2011-08-08 11:40:27 +00:00
Carsten Haitzler 60b9b97c87 remove some legacy bits of docs, fix spelling
SVN revision: 62198
2011-08-08 10:50:27 +00:00
Rafael Antognolli 1b367ccb9f edje/perspective - Add an example using the perspective global setting.
SVN revision: 62150
2011-08-05 19:53:10 +00:00
Rafael Antognolli a5fc3af448 edje/perspective - Add docs to the relative functions.
SVN revision: 62147
2011-08-05 19:03:38 +00:00
Rafael Antognolli e53adf4789 edje/perspective - Actually use the global perspective.
The Edje object should use the global perspective if it didn't have its
own perspective set.



SVN revision: 62146
2011-08-05 18:08:07 +00:00
Iván Briano fd222d9729 Inherit parts used by map too
SVN revision: 62145
2011-08-05 17:13:38 +00:00
Jonas M. Gastal d382663d74 Edje: Documenting the Edje animations functions.
SVN revision: 62136
2011-08-05 13:52:14 +00:00
Cedric BAIL a6ef9ac8ce edje: small error detection improvement.
SVN revision: 62086
2011-08-04 09:25:52 +00:00
Rafael Antognolli 90e6bf26cc edje/dragable - Setting size of knob with the API.
SVN revision: 62077
2011-08-03 21:37:42 +00:00
Rafael Antognolli 9d039d3641 edje/dragable - Docs and example for dragable parts API.
SVN revision: 62076
2011-08-03 21:11:30 +00:00
Jonas M. Gastal 3d8d6b4b67 Edje: removing author list from main page.
SVN revision: 62071
2011-08-03 21:01:03 +00:00
Iván Briano 941adf033b Edje: Color class documentation
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 62065
2011-08-03 18:57:38 +00:00
Iván Briano fd7f67a183 Some more docs for the edje_external c api
SVN revision: 62064
2011-08-03 18:46:40 +00:00
Tom Hacohen bb20b8067e Edje entry: Fixed changed/changed,user with backspace.
It used to send the signals even when we didn't change anything (i.e tried
to delete at the start of the entry). Now it's ok.

SVN revision: 62044
2011-08-03 08:56:59 +00:00
Tom Hacohen fad2f9571a Edje entry: Added entry,changed,user signal.
This signal means that the user changed entry, i.e by key insert, paste
or anything alike.

SVN revision: 62043
2011-08-03 08:56:54 +00:00
Jihoon Kim 1f6499a058 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: RE: [E-devel] [PATCH] notify immodule to know the cursor
location

In the current edje_entry, there are some bugs related to sequence and miss
to call '_edje_entry_imf_cursor_info_set()'.
Cursor geometry information should be transferred after
ecore_imf_context_focus_in API is called.



SVN revision: 62039
2011-08-03 05:36:01 +00:00
Flavio Ceolin 1b067094de Fixing a problem with edje_object_color_class_del.
The color class was removed from the list but the edje object
was not updated neither the signal was emmited.

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



SVN revision: 62019
2011-08-02 19:41:43 +00:00
Rafael Antognolli 2e19771abf edje/box - Document edje box API (just fixes) and add example.
SVN revision: 62017
2011-08-02 17:14:29 +00:00
Iván Briano 817fdd3e45 Fix DSO issues building examples. And Ecore-Evas is a dependency of Edje now, no need to check for it again.
SVN revision: 62001
2011-08-02 14:49:59 +00:00
Jonas M. Gastal 91fea70ece Edje: fixing signal examples listen to.
SVN revision: 61997
2011-08-02 13:31:27 +00:00
Carsten Haitzler 8af403fcff fix edje_shutdown being calle3d before all edje object are deleted -
keep edje internal data around until all refs to edje are gone from
objects, then shtudown the core.



SVN revision: 61984
2011-08-02 07:23:05 +00:00
Gustavo Lima Chaves d55a77bae9 [edje] Documentation for the following:
- edje_object_message_handler_set
 - edje_object_message_send
 - edje_object_signal_callback_add
 - edje_object_signal_callback_del_full
 - edje_object_signal_emit



SVN revision: 61966
2011-08-01 20:15:23 +00:00
Gustavo Lima Chaves 67111bacac Edje: edje table documentation.
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 61965
2011-08-01 20:04:17 +00:00
Jonas M. Gastal c509e668d4 Edje: fix edje swallow doc.
SVN revision: 61964
2011-08-01 19:49:28 +00:00
Jonas M. Gastal b646554b61 Edje: edje text parts documentation.
SVN revision: 61963
2011-08-01 19:49:18 +00:00
Daniel Juyung Seo f926eb9285 edje edje_cc_handlers.c: Fixed documentation.
SVN revision: 61932
2011-08-01 05:06:49 +00:00
Rui Seabra 78bf5cd2c8 Fix build (and rpmbuild) of evas now it installs some examples.
SVN revision: 61927
2011-07-31 15:08:05 +00:00
Jonas M. Gastal 2ac91736c2 Edje: edje swallow documentation.
SVN revision: 61905
2011-07-29 16:47:06 +00:00
Gustavo Lima Chaves dec8c8dcdb [edje] First commented example, along with infra to build it.
SVN revision: 61903
2011-07-29 16:31:05 +00:00
Gustavo Lima Chaves 6bfd3ddd87 [edje] Documentation bumps on the following:
- edje_init
     - edje_shutdown
     - edje_object_add
     - edje_object_file_get
     - edje_object_file_set
     - edje_object_load_error_get
     - edje_load_error_str
     - edje_object_data_get
     - edje_object_part_exists
     - edje_object_part_geometry_get
     - edje_object_part_object_get
     - edje_object_size_max_get
     - edje_object_size_min_calc
     - edje_object_size_min_get
     - edje_object_size_min_restricted_calc
     - edje_object_parts_extends_calc
     - edje_object_scale_get
     - edje_object_scale_set
     - edje_scale_get
     - edje_scale_set



SVN revision: 61902
2011-07-29 16:30:12 +00:00
Jihoon Kim c49d6b9916 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] check NULL parameter in edje entry

This simple patch is for checking NULL parameter in the callback
functions
related to input method framework.
I think it is necessary for safety.



SVN revision: 61890
2011-07-29 11:48:56 +00:00
Jihoon Kim c99293d0e4 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] notify immodule to know the cursor location

In immodule, the cursor location is needed to move the word candidate window.
In this patch, calling ecore_imf_context_cursor_location_set lets immodule
know the cursor location.

Also fixed patch conflicts and 1 warning related to IMF.



SVN revision: 61877
2011-07-29 05:56:09 +00:00
Jihoon Kim 94cf5e7829 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: Re: [E-devel] [Patch] Add XIM module for ecore_imf

Patch to set the right window ID for IMF access from Edje



SVN revision: 61756
2011-07-26 12:04:27 +00:00
Daniel Juyung Seo fb6ca14911 edje Edje.h: Fixed documentation.
Fixed wrong placed documentations. Removed some blank lines and added
@brief tag. Many @brief tags are still missing.


SVN revision: 61737
2011-07-26 10:09:16 +00:00
Tom Hacohen d6b2473668 Edje docs: Updated the 'tag' part of the Edc reference.
SVN revision: 61671
2011-07-25 08:26:03 +00:00
Mike Blumenkrantz f862f71e4c middle mouse click now changes cursor location, fixes primary selection paste location bugs
SVN revision: 61656
2011-07-24 21:25:27 +00:00
Mike Blumenkrantz e6bdceb300 added entry,selection,none,request to spite tasn
SVN revision: 61636
2011-07-24 08:36:27 +00:00
Mike Blumenkrantz ee01981c9d renamed to entry,selection,all,request because tasn won't shut up
SVN revision: 61633
2011-07-24 08:05:45 +00:00
Mike Blumenkrantz fbfdfc5117 +entry,selection,request signal
SVN revision: 61632
2011-07-24 07:59:47 +00:00
Mike Blumenkrantz 4c0446c7d2 add entry,paste,request,1 and entry,paste,request,3 for different types of pasting
SVN revision: 61631
2011-07-24 07:47:17 +00:00
Christopher Michael 6d6fe5aca0 Edje: Add UNUSED where needed on the edje_entry obj.
SVN revision: 61621
2011-07-23 23:00:14 +00:00
Tom Hacohen 63946da1a3 Edje text: Fixed a bug with text ellipsis being off by 1.
SVN revision: 61500
2011-07-19 11:21:35 +00:00
Tom Hacohen d9adfc83ca Edje entry: Emit signals for undo/redo.
SVN revision: 61493
2011-07-19 08:08:16 +00:00
Tom Hacohen 6a67030bf1 Edje entry: Removed redundant func call and 2 comments.
SVN revision: 61481
2011-07-18 15:25:03 +00:00
Tom Hacohen e49f3baa84 Edje entry: Removed a hack that's not needed anymore.
This is thanks to a bug fix in textblock.

SVN revision: 61346
2011-07-13 15:45:50 +00:00
Daniel Juyung Seo 72bcec17b9 edje/ecore/eina: Updated documentaton for version number.
I did this manually. But it'll be good if someone can automate this.
It's a painful for busy developers.


SVN revision: 61104
2011-07-07 04:58:34 +00:00
WooHyun Jung 7a205c0ef6 edje : Password's last char show feature supported. This patch is made
by Shilpa.


SVN revision: 60858
2011-06-30 05:31:08 +00:00
Tom Hacohen e2b7d34bfa Edje entry: Differentiate between entry,changed and preedit,changed.
Patch by Jihoon Kim.

SVN revision: 60658
2011-06-24 08:43:38 +00:00
Cedric BAIL c83256416a edje: refactor text_class and color_class code.
SVN revision: 60627
2011-06-23 09:55:57 +00:00
Cedric BAIL 2ca0489fc5 edje: give more info when needed.
Typicall case being with elementary not taking theme
into account due to misspelling.


SVN revision: 60599
2011-06-22 15:59:15 +00:00
Cedric BAIL 6d4c47e879 edje: fix huge memory leak.
SVN revision: 60593
2011-06-22 14:51:53 +00:00
Vincent Torri 01221a32b0 From: Vincent Torri <vtorri@univ-evry.fr>
To: enlightenment-devel@lists.sourceforge.net
Subject: Re: [E-devel] E SVN: raster trunk/edje/src/lib
Date: Wed, 22 Jun 2011 15:32:41 +0200 (CEST)

On Wed, 22 Jun 2011, Enlightenment SVN wrote:

 [...]  

i would have prefered a beautiful colored spank message with ERR

Vincent


SVN revision: 60591
2011-06-22 13:50:59 +00:00
Carsten Haitzler 28dd497f4b for the french.
SVN revision: 60590
2011-06-22 13:28:43 +00:00
Cedric BAIL 2861b7b473 edje: remove debug printf.
SVN revision: 60587
2011-06-22 11:05:02 +00:00
Cedric BAIL 66098e4c82 edje: don't forget to del text_class when destroying object.
SVN revision: 60585
2011-06-22 09:47:16 +00:00
Cedric BAIL 7049b23a6f edje: forgotten dup.
SVN revision: 60554
2011-06-21 15:49:08 +00:00
Cedric BAIL 8b674974f6 edje: remove warning.
SVN revision: 60553
2011-06-21 14:31:37 +00:00
Cedric BAIL 68b5402756 edje: make it possible to define part.description.max on only one axis.
SVN revision: 60546
2011-06-21 10:41:20 +00:00
Bruno Dilly 56afa242b4 Edje: fix invalid read on edje embryo get_part_id
It was expecting for a null terminator. But that wasn't the
case. Using parts_count instead.


SVN revision: 60537
2011-06-20 21:59:31 +00:00
Vincent Torri 3c4fd94e9d epp : use binary mode for (f)open()
SVN revision: 60463
2011-06-17 21:42:27 +00:00
Ulrich Eckhardt daabb017dc From: Ulrich Eckhardt <doomster@knuut.de>
Subject: [E-devel] Provide sensible errors for edje utilities

If you start edje_player or edje_inspector with a path to a file that doesn't 
exist you get a bogus error message saying that the file doesn't contain any 
groups. The attached patch uses access() to check if the program can read the 
file, giving a sensible error message if not.

I have checked the other utilities there, too, and they work, with the 
exception of edje_external_inspector. I'm not sure how this one works at all, 
but it seems not to take a file but a list of modules, maybe someone with 
greater insight can take a look at that.

Going through things installed under bin, I'll take a look if those behave 
properly and create patches for those, too, if this one is okay.



SVN revision: 60338
2011-06-15 09:38:08 +00:00
Vincent Torri 36b21249d9 From: Vincent Torri <vtorri@univ-evry.fr>
Subject: [E-devel] Edje: using fdopen instead of fopen in edje_cc

On windows, using open() followed by fopen() does not work. Hence, in 
edje_cc, where mkstemp (which uses open) is followed by fopen, edje_cc 
fails.

Instead of fopen, we can use fdopen. I pasted a  patch below. Can you 
comment it (like, instead of keeping the filename in the function that
i  modified, why not using it for the fd?

(changes - closefd) removed from data_write_scripts() as fclose()
handles that)




SVN revision: 60299
2011-06-14 07:02:14 +00:00
Tom Hacohen 92bf12c773 Revert "Edje min_restricted_calc: Fixed min height calculation for textblock."
This reverts commit 60239

I guess the world is not ready for correct min height calculation, too
many things depend on the current behavior. Will re-apply sometime in
the future.

SVN revision: 60264
2011-06-13 09:31:58 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Tom Hacohen 4489f92cf3 Edje text: Fix a rare issue causing ellipsis not to work.
SVN revision: 60240
2011-06-12 14:12:52 +00:00
Tom Hacohen 343a17c08c Edje min_restricted_calc: Fixed min height calculation for textblock.
SVN revision: 60239
2011-06-12 12:17:52 +00:00
Christopher Michael 2cd2227cf3 Edje: Fix 'variable may be used uninitialized' warning.
SVN revision: 60197
2011-06-10 16:43:23 +00:00
Christopher Michael d914f3d711 Edje: Fix 'variable may be used uninitialized' warning. Fix some
formatting.



SVN revision: 60196
2011-06-10 16:41:45 +00:00
Carsten Haitzler 93e020f7ea fix epp case for:
#define AA(x) x
#define BB(a,b) \
   AA(a+b)
BB(1,1)



SVN revision: 60173
2011-06-10 05:50:45 +00:00
Tom Hacohen 94cfe6e3ad Edje text: Fix part_text_append to work with not editable textblocks.
SVN revision: 60119
2011-06-09 08:08:43 +00:00
Cedric BAIL e8ec9f6c50 edje: update hints after loading GROUP.
SVN revision: 60026
2011-06-07 07:43:32 +00:00
Cedric BAIL 3a69fed6f5 edje: trying to add back my small improvements.
SVN revision: 59999
2011-06-06 17:47:32 +00:00
Cedric BAIL 993b27c50f edje: set parent earlier.
SVN revision: 59996
2011-06-06 17:29:07 +00:00
Cedric BAIL 9c22d6a9e9 edje: parent link should be properly set before instantiating sub object.
SVN revision: 59989
2011-06-06 13:10:54 +00:00
Carsten Haitzler d02f25e1ff whover did table and box support forgot:
1. table to have min.h/v ability like box
2. to ACTUALLY implement box h/v (and well of course implement
tableh/v too)

this basically fixes this working at all and completes the feature to
table too.



SVN revision: 59960
2011-06-04 15:58:02 +00:00
Carsten Haitzler 1b7ff0248e CEDIRC: SEGV CAUSING BUG. go to e17 font settings -> advanced
and sewt a font for menu item.. or menu title. segv. (try it under
falgrind) the members list in the hash is garbage when its trying to
remove a member. double heck your changes and test :)



SVN revision: 59902
2011-06-02 15:21:21 +00:00
Carsten Haitzler eda52d527f epp -> fix macro expansion error with:
#define B(y) y
#define C(x) B(+x)
C(9876543210)



SVN revision: 59868
2011-06-01 13:16:14 +00:00
Leandro Pereira 8be447ef4e [Edje] Make sure ed->members isn't NULL when freeing an Edje object.
SVN revision: 59853
2011-05-31 18:27:28 +00:00
Cedric BAIL f64e71a19c edje: refactoring.
SVN revision: 59851
2011-05-31 17:02:58 +00:00
Cedric BAIL 995527500a edje: improve speed when deleting text member class.
SVN revision: 59850
2011-05-31 16:51:48 +00:00
Tom Hacohen 380351b5d3 Edje entry: Make sure we append at the end.
SVN revision: 59810
2011-05-30 12:02:54 +00:00
Tom Hacohen f79afe5e85 Edje min_size: Updated edje_object_size_min_restricted_calc's docs.
SVN revision: 59806
2011-05-30 08:59:56 +00:00
Carsten Haitzler 41121f7379 make epp strip dos \r's from dos-like \r\n
SVN revision: 59799
2011-05-30 06:37:44 +00:00
Carsten Haitzler abbf3767c5 back out freeze/thaw on edje entry.. seems to have some side effects
with entry in gnelist ... i wonder why... for how, back out.



SVN revision: 59798
2011-05-30 05:37:59 +00:00
Tom Hacohen 8b2ccb3dee Edje min_size_calc: Fix detection of textblock.
SVN revision: 59785
2011-05-29 14:28:01 +00:00
Tom Hacohen 69e89c2666 Revert commit 59732
Read my comment in the email, and we even talked about it on irc. The
current call to "mainloop iterate" is hacky, Jihoon is already working
on an alternative solution.

SVN revision: 59734
2011-05-27 11:16:05 +00:00
Jihoon Kim 4ad4fadb35 From: Jihoon Kim <jihoon48.kim@samsung.com>
When elm_entry_entry_set() is called, the preedit text in the entry should
be cleared. ATM, it doesn’t works so.

This patch will resolve this problem.
 
When ecore_imf_context_reset() is called, the preedit text in the immodule
will be committed by calling ‘ecore_imf_context_commit_event_add()’.

ecore_imf_context_commit_event_add puts the event in ecore event queue, so
it will be processed in the idle state of ecore loop.

According to this mechanism, commit text is inserted later, so I use
‘ecore_main_loop_iterate();’ for inserting the commit string instantly.



SVN revision: 59732
2011-05-27 10:46:51 +00:00
Carsten Haitzler 66aef5074f add use of freeze+thaw for improvement in out-there scenarios.
SVN revision: 59730
2011-05-27 10:32:53 +00:00
Boris Faure d661cee5e2 edje: remove trailing spaces
SVN revision: 59555
2011-05-20 16:41:16 +00:00
Tom Hacohen f13ec69e34 Edje entry: Don't emit cursor,changed when not needed.
This includes setting the text and setting cursor position to the already
set position.

SVN revision: 59531
2011-05-19 12:08:29 +00:00
Tom Hacohen 70665bc1c5 Edje entry: Fix warnings.
SVN revision: 59521
2011-05-19 09:00:22 +00:00
Tom Hacohen 85ac9b3059 Edje entry: Remove the useless calls to "update_from_curs".
We don't really need or use the coordinates anywhere, we just saved them
and worked hard on maintaining them, but didn't really use them.
Now we only calculate them in the one specific case where we actually
need them. This speeds things up and also means the layouting may not be
called in some cases when there's no need to layout.

SVN revision: 59520
2011-05-19 08:38:42 +00:00
Vincent Torri 105a261d5b Edje: fix Windows printf format
SVN revision: 59511
2011-05-18 16:11:31 +00:00