Commit Graph

1590 Commits

Author SHA1 Message Date
Tom Hacohen 478d4c5cce Edje entry: Make keybindings work with non-latin keyboard layouts.
SVN revision: 67902
2012-02-14 08:32:23 +00:00
Jihoon Kim 1e350bd45a add edje_object_part_text_prediction_allow_set/get.
These APIs can be used to set whether prediction feature is allowed or not.


SVN revision: 67889
2012-02-14 02:34:50 +00:00
Jihoon Kim e1668198af add edje_object_part_text_imf_context_reset that will use for reseting the input method context
SVN revision: 67881
2012-02-13 11:40:55 +00:00
Jihoon Kim f7ac08317c Add edje_object_part_text_input_panel_show/hide.
These APIs can be used in input panel manual control mode.


SVN revision: 67873
2012-02-13 06:34:47 +00:00
Jihoon Kim edeccaf614 edje_util.c: remove wrong return
SVN revision: 67868
2012-02-13 04:19:38 +00:00
Cedric BAIL d5cbba52ef edje: told you old man ! broadcasting message to all groups was a bad idea.
This patch try to prevent the broadcasting of targeted message. This should minimize
the problem generated on edje sub GROUP that didn't expect to see that much message
coming to them. It just a minimization of the problem, as message that don't target
explicitly a part are still propagated and can still break your edje usage from 1.0
to 1.1 version.


SVN revision: 67830
2012-02-10 16:49:58 +00:00
Cedric BAIL 1eadf59d59 edje: fix build with EDJE_PROGRAM_CACHE
SVN revision: 67766
2012-02-08 16:05:44 +00:00
Cedric BAIL ed1558ff84 edje: filter means, we can't change any state when we check for match. Delay, we should.
SVN revision: 67763
2012-02-08 14:41:21 +00:00
Cedric BAIL 26c7ebd1e7 edje: don't update edje calc cache state when only one direction was computed.
SVN revision: 67762
2012-02-08 14:20:29 +00:00
WooHyun Jung 3856fe3c84 [edje] Modified Changlog and Edje.h. Thanks Vincent :)
SVN revision: 67726
2012-02-07 09:42:18 +00:00
WooHyun Jung af9f325325 [edje/markup filter] Add new API, edje_object_markup_filter_callback_add. When using
edje_object_text_insert_filter_callback_add, a filter function
should check the type(format, text, or markup) of text for correct
filtering. But in markup filter function(added by new API), text is
always markup so no need to check the type of text.


SVN revision: 67724
2012-02-07 08:49:56 +00:00
Jihoon Kim 557628f18b edje entry: set ALPHABET in case of password mode
SVN revision: 67708
2012-02-06 03:30:45 +00:00
Jihoon Kim 36c2029d0a fix @dates in each header file
SVN revision: 67705
2012-02-05 23:37:45 +00:00
Jihoon Kim 0cfdf167d0 Entry: Fix to work edje_object_part_text_input_panel_enabled_set/get well even though ecore_imf doesn't exist or immodule isn't used.
SVN revision: 67690
2012-02-03 04:50:23 +00:00
Iván Briano fdbbef9af9 Do set the max to the image size if asked for it
SVN revision: 67567
2012-01-27 14:32:45 +00:00
Iván Briano 840d9727e9 Tell the descriptors about our new properties
SVN revision: 67559
2012-01-26 21:26:08 +00:00
Cedric BAIL 5358608eab edje: fix obvious c&p error.
SVN revision: 67557
2012-01-26 18:32:30 +00:00
Cedric BAIL a4c58712c3 edje: add min: SOURCE, max: SOURCE.
SVN revision: 67555
2012-01-26 18:24:00 +00:00
Tom Hacohen f947afdaff Edje textblock: Fixed style user memory leak.
Thanks to Hermet for spotting this.

SVN revision: 67549
2012-01-26 14:03:29 +00:00
Cedric BAIL 814d9bfb29 edje: prevent filter from matching during a program run.
SVN revision: 67495
2012-01-24 14:48:51 +00:00
Cedric BAIL 17b4d5db06 edje: remove white space.
SVN revision: 67478
2012-01-23 16:39:37 +00:00
Tom Hacohen fb85ed026b Edje util: Remove useless cast.
SVN revision: 67476
2012-01-23 16:18:53 +00:00
Tom Hacohen cc198996bc Edje textblock: Added edje_object_part_text_style_user_set/get
That correspond to the new textblock functions.

SVN revision: 67474
2012-01-23 16:10:27 +00:00
Carsten Haitzler 185832f2da fix style change inside callback reported by:
Guilherme Silveira <xguiga@gmail.com>



SVN revision: 67368
2012-01-20 02:57:02 +00:00
Tom Hacohen 8b9a30d96e Edje: Revert "Edje: Replace x1 -> xx1 (also y1, x2 and y2)."
Oops, apparently I broke things.

This reverts commit 67325.

SVN revision: 67338
2012-01-19 13:18:26 +00:00
Tom Hacohen dc27871eab Edje: Replace x1 -> xx1 (also y1, x2 and y2).
This should probably become the new standard for coords as it doesn't
clash with the damn y1 posix function.

Thasks to Gustavo for the naming.

SVN revision: 67325
2012-01-19 08:17:14 +00:00
Tom Hacohen 61134f1e6b Edje: Fixed a lot of warnings.
SVN revision: 67324
2012-01-19 08:17:12 +00:00
Sebastian Dransfeld 46a8cf1c4c edje: correct retrival of file name
When using eina_file_direct_ls, we already know where the file part of a
path is, not need to use ecore_file_file_get().

SVN revision: 67307
2012-01-19 00:35:36 +00:00
Youness Alaoui c63f4cce09 Edje: Fix big-endian issue with aspect_preference being declared as an enum/int and read from file as a char
SVN revision: 67292
2012-01-18 06:16:01 +00:00
Jihoon Kim c652e4e78a From: Jihoon Kim <imfine98@gmail.com>
Long time ago, in
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg32795.html
mail thread and IRC,

I talked with about problem of asynchronous event API such as
ecore_imf_context_commit_event_add,
ecore_imf_context_preedit_changed_event_add, so on.

In short, The problem is that key event and text_set APIs are processed
immediately, but commit event and preedit changed event is processed
asynchronously  because those APIs add each event to ecore event queue.

To fix these problems, I've decided to create synchronous event APIs such
as ecore_imf_context_event_callback_add, del and call.

For considering compatibility, sync and async event callback functions are
used in xim and scim immodule.



SVN revision: 67290
2012-01-18 04:38:04 +00:00
Carsten Haitzler 0e9a475092 update all minor versions to 2 (or 6) - and yes. i missed making most
be 1.1 (or 1.5) for the last release. too late. THIS is why i'm sick
and tired of all the bloody separate libs that have to be versiioned
and build and released separately. :( too many places to go fix up per
release.



SVN revision: 67284
2012-01-18 02:32:36 +00:00
Tom Hacohen 626b70afb3 Edje entry: Handle entry newline legacy mode better.
SVN revision: 67265
2012-01-17 08:38:37 +00:00
Tom Hacohen 544dfc53b3 Edje: Fixed a couple of warnings that really don't indicate issues.
Global shadow warnings are annoying and thus will be ignored at the moment,
There are other issues as well though, for example, not using cpp_token_file.
I don't know if that's intended or not, so I won't just suppress the warning.

SVN revision: 67242
2012-01-16 12:34:13 +00:00
Carsten Haitzler 2264bfe0b7 wo... this turned out to be much more of a pain. minmul now works -
allows us to multiple a minimim size explicitly for min size calc so
we can do things like have content slide open/closed properly.



SVN revision: 67197
2012-01-14 02:29:13 +00:00
Cedric BAIL 236aec5bec edje: move away from fopen in favor of Eina_File.
SVN revision: 67135
2012-01-12 11:08:19 +00:00
Youness Alaoui b114f12349 Edje: Revert object_hide on unswallow, add documentation for the use case.
SVN revision: 67034
2012-01-11 02:06:07 +00:00
Sebastian Dransfeld 6f0a1ab818 formatting
SVN revision: 66979
2012-01-08 20:43:15 +00:00
David Walter Seikel 870e48eeca Added Lua function edje.version().
Also cleaned up the changelog date from my last commit.  Oops.


SVN revision: 66977
2012-01-08 14:37:11 +00:00
David Walter Seikel d196a27f76 Calling non exstent functions no longer crashes scripts.
This is so that future scripts will still work with old libraries,
and lets us add the "host can provide Lua API" feature soon.

Also some more comments.



SVN revision: 66961
2012-01-07 23:02:57 +00:00
Youness Alaoui e36334df8d Edje: hide an object after unswallow
Simply doing an unswallow would leave the object where it was in the
evas, visible, but edje would not be handling it anymore.

SVN revision: 66955
2012-01-07 11:39:15 +00:00
Cedric BAIL deb0057d7f edje: add EDJE_ASPECT_PREFER_SOURCE.
NOTE: this is a prototype, play with and report any issue to me.


SVN revision: 66937
2012-01-06 11:28:38 +00:00
Cedric BAIL e7ce3c5c0f edje: unswallow object that are about to be swallowed.
SVN revision: 66934
2012-01-06 10:07:45 +00:00
Cedric BAIL f74f396d8d edje: fix edje recent brokeness with text flickering.
NOTE: it's just a partial revert of previous patch by
raster. Without that, some text were flickering going
on and off for sometime. I didn't take the time to
understand why, but by forcing the recalc it permanently
solve the issue.


SVN revision: 66903
2012-01-05 15:26:49 +00:00
Cedric BAIL 6a169575e7 edje: finally found why we did so many call to stat.
NOTE: I am still wondering what is the cost difference between
forcing a request to eet_open and calling stat. If someone has some
time to benchmark, feel free to do so and report on e-devel ml.



SVN revision: 66902
2012-01-05 14:31:27 +00:00
Carsten Haitzler 12aa897e26 fixc new recalc cb to be able to call size min recalc in cb.
SVN revision: 66893
2012-01-05 05:21:02 +00:00
Carsten Haitzler ac8a671596 dont call recalc if doing calc only
SVN revision: 66849
2012-01-04 05:17:11 +00:00
Carsten Haitzler 5abed5b823 update authors in edje docs
SVN revision: 66844
2012-01-04 04:45:33 +00:00
Carsten Haitzler 61d66cf1b1 add the actual recalc smart callback code and docs.
SVN revision: 66843
2012-01-04 04:35:37 +00:00
Carsten Haitzler d3ee1f5e02 Add HEX, TERMINAL and PASSWORD layouts
SVN revision: 66837
2012-01-04 03:41:19 +00:00
Cedric BAIL c11e02df7c edje: follow the rest of the EFL.
SVN revision: 66802
2012-01-03 17:04:44 +00:00
Tom Hacohen 08b0c50578 Edje entry: Fix undo/redo with imf.
Many thanks to Jihoon Kim and SeoZ for reporting this issue.

SVN revision: 66784
2012-01-03 09:55:59 +00:00
Carsten Haitzler 545390e173 fix bad func protocype - it returned a duplicated string, not internal.
SVN revision: 66745
2012-01-02 11:32:06 +00:00
David Walter Seikel 67695d1e1a TYpo--, and a new comment!
Nothing to see here, move along.


SVN revision: 66738
2012-01-02 10:19:49 +00:00
WooHyun Jung 303b104025 edje/edje_entry : Fix a bug. Wrong calculation for text length.
SVN revision: 66596
2011-12-28 10:27:06 +00:00
WooHyun Jung 411f1c65d4 edje/edje_entry : By this commit, preediting texts will be shown
differently. When inputting Korean text, preediting text will be shown
as selected. When inputting Japaneses text, preediting text will be
shown with underline. (Sometimes shown as selected for changing whole
preediting text to another text)


SVN revision: 66580
2011-12-28 02:40:16 +00:00
WooHyun Jung 0f1e337c55 edje/edje_entry : fix small bug when inputting password.
SVN revision: 66561
2011-12-27 08:02:39 +00:00
Cedric BAIL db8b732bef edje: more warning with borken .edj.
SVN revision: 66333
2011-12-19 16:00:06 +00:00
Cedric BAIL 186db4e496 edje: reduce parts walk during load time of Edje file.
SVN revision: 66281
2011-12-16 10:17:55 +00:00
Cedric BAIL 3e46832708 edje: oops, should have compiled that one.
SVN revision: 66278
2011-12-16 09:49:21 +00:00
Cedric BAIL 27b0d50d98 edje: fix wrong call to free() in edje_load.
SVN revision: 66276
2011-12-16 09:40:43 +00:00
Tom Hacohen c41fdd1430 Edje entry: Added cursor,changed,manual signal.
SVN revision: 66259
2011-12-15 14:41:46 +00:00
Tom Hacohen 9805bb3863 Edje entry: Implement ctrl+delete and clean up some comments there.
SVN revision: 66237
2011-12-15 08:28:40 +00:00
Tom Hacohen 9dba7bff18 Edje entry: Implement ctrl+arrow word prev and word next.
SVN revision: 66204
2011-12-14 16:27:45 +00:00
Tom Hacohen d5a3ab4f81 Edje entry: Implement Ctrl+Backspace - delete to start of word.
SVN revision: 66203
2011-12-14 16:27:40 +00:00
Tom Hacohen 50bff4faa5 Edje entry: Use the new default "tab" and "br" tags.
SVN revision: 66193
2011-12-14 13:27:47 +00:00
Carsten Haitzler 39d04ed728 lets not delete previous timer and just add one if there is none -
less frees and allocs



SVN revision: 66186
2011-12-14 10:22:49 +00:00
Mike Blumenkrantz b8f17dd903 fix a pair of buffer overflows from r65619
SVN revision: 66121
2011-12-12 19:59:25 +00:00
Cedric BAIL 1fd0dff3bc edje: we never call perror.
SVN revision: 66041
2011-12-08 16:21:49 +00:00
Tom Hacohen 7b9a398d5f Edje entry: use the newly added self-closing textblock tags.
SVN revision: 66024
2011-12-08 12:07:05 +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
David Walter Seikel 4726297e7a Some minor doc changes while I'm at it.
SVN revision: 65656
2011-11-28 16:00:24 +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 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
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 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 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