Commit Graph

661 Commits

Author SHA1 Message Date
Carsten Haitzler 5a9a4fdd1f oops - still had printfs. remove. 2013-02-26 22:06:12 +09:00
Tom Hacohen 1425b0d2dc Evas text: Fixed a bug with the (kinda) newly added text object ellipsis.
There was a problem with bidi texts and ellipsis. The text would be trimmed
according to the visual position instead of the logical.
2013-02-25 15:39:32 +00:00
ChunEon Park 2af4cc2687 * evas/cache: remove the freed worker from the pthread worker list when it's failed to create a new thread so as not to access it if a thread is working newly. 2013-02-25 16:56:25 +09:00
ChunEon Park 0920a8e182 evas/cache - formatting 2013-02-25 16:24:08 +09:00
ChunEon Park 53fa4cd2d8 evas/common - scale sample code refactoring. simpler and more effcient. 2013-02-23 21:45:10 +09:00
Tom Hacohen a66f1c73f7 Edje entry fit: Set the min size according to the fitting as well. 2013-02-22 14:13:35 +00:00
Tom Hacohen 9bc0260b51 Edje entry fit: Set the min/max sizes according to the fitting, not before. 2013-02-22 14:11:41 +00:00
chuneon.park 1a0ee8cb87 evas/common - return function as soon as possible. 2013-02-22 22:42:48 +09:00
chuneon.park e79cb473a8 evas/common - fix indentation 2013-02-22 22:40:34 +09:00
Tom Hacohen 4fc694978b Evas font: Fixed font run detection for some cases.
There were issues for specific cases with 2 different fonts in the middle
of a run.
2013-02-21 15:00:57 +00:00
Tom Hacohen d6dababe78 Evas text: Fixed bug with the text object direction detection. 2013-02-21 13:39:37 +00:00
Cedric BAIL a05b4b4e37 eeze: fix build with recent Eina change. 2013-02-21 17:19:35 +09:00
Cedric BAIL fe21e281a7 eeze: add back support for older system.
Support for older system that don't come with libmount or have
an older libmount. This is a backport from Eeze 1.7 tree. There
is no code change there.
2013-02-21 17:19:35 +09:00
Carsten Haitzler 83190eb0c2 Add ecore_x_dnd_self_begin() and ecore_x_dnd_self_drop() to allow dnd
to your own window (drop where u drag from). helpful for elm where dnd
src/dst are object based, so we talk dnd protocol to ourselves.
2013-02-21 16:49:10 +09:00
Carsten Haitzler c5ade50c9f Fix ecore-x edid fetch to ftech 128, not 100 bytes. 2013-02-20 17:16:54 +09:00
Cedric BAIL 61287fce38 edje: let's properly report that file doesn't exist. 2013-02-20 12:15:00 +09:00
Daniel Zaoui c5ac584a57 edje file_set: _edje_object_orientation_inform should be in the Eo
implementation, not just legacy

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
2013-02-19 17:51:43 +02:00
Tom Hacohen a2d710b0b6 Ecore_x: Revert "don't filter out non-master pointers in xi2.2 support."
This actually breaks genlist selection.

This reverts commit 5adb2f1ae6.
2013-02-19 15:09:32 +00:00
Christopher Michael 3bf37fb3b8 Free any old input or opaque regions if they exist (regardless of the existance of a surface).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Christopher Michael d33ddb5af9 Fix possible memory leak in eet_data_image_header_decode_cipher.
Dynamic memory stored in 'deciphered_d' allocated through function
'eet_decipher' at line 1385 can be lost at line 1408. Also there are 3
similar errors on line(s) 1427, 1430, 1450.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 13:14:20 +00:00
Tom Hacohen cc7b4a15e3 Edje entry: Fixed a fit issue with fitting even when disabled. 2013-02-19 11:46:21 +00:00
Tom Hacohen 5c233f7721 Edje entry: Fixed some fit issues - only works well with single line textblocks.
I figured it's better to have single line textblocks working well, rather
than nothing working at all. This should now work with ellipsis as well.
2013-02-19 11:40:00 +00:00
Cedric BAIL 9bd5dca9e3 evas: yet the canvas can already be dead when we get to kill the object. 2013-02-19 19:37:57 +09:00
Cedric BAIL e756a4115b evas: protect dead memory access.
Since the move to Eo, we no do unref objects after destroying the name
hash. So we need to take that into account when looking at the hash.
2013-02-19 19:16:58 +09:00
Daniel Zaoui aa488588d8 evas: Fix Evas Object Text when LTR and RTL are used together.
When harfbuzz is enabled, RTL text (arabic, hebrew...) is displayed differently
if the paragraph begins with or without LTR.
The problem was related to the function evas_common_language_script_type_get
and a wrong offset given as parameter to this function.

Thanks to EunYoung Kim for having found this bug.

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
2013-02-19 10:05:46 +02:00
Cedric BAIL 91711d8a69 ecore: add Ecore_Coroutine.
That work clearly was possible thanks to Leandro. If you want more information
go to his blog : http://tia.mat.br/posts/async_io_with_coroutines/ .

The main difference with his implementation is more portable and not thread safe.
It does not have a custom swapcontext (would make sense as we don't need to save
the sigcontext) so it will be less fast. If people are ready to contribute asm
patch for that purpose I will be happy to apply them.

As for portability this code should work on all architecture we already support
thanks to a nice hack with setjmp/longjmp borowed from libcoroutine. We do use
Fiber for Windows support, but as 1.8 is completely borken in that regard, this
is theorical work only.

Thinks left to do :
- Eoify the API
- Documentation
- More tests
- Add support for coroutine in fd handler
- Add coroutine support to ecore_thread api
- Write some example
2013-02-18 14:38:33 +01:00
Daniel Willmann 7f63a74251 eina: Lets allocate space for the terminating \0 as well
Off-by-1 in string copy, found by klocwork

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-02-18 13:18:04 +00:00
Daniel Willmann dda109a906 edbus: Use snprintf to be sure
Are dbus function calls with more than 1000 arguments possible?
If so -> prevent buffer overflow

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-02-18 12:26:27 +00:00
Daniel Willmann cd9b6bed62 edbus: Fix array access of shared_connection
type is an enum which can be 0. Make sure that it isn't before accessing
shared_connections[type - 1]
Found with klocwork

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-02-18 12:22:45 +00:00
Cedric BAIL 884c31df41 eina: fix siginfo detection.
Signal are not a portable way to detect memory mapped file corruption.
So let's disable it for system without signal and later find a way to
detect it on other system.
2013-02-18 16:46:52 +09:00
Carsten Haitzler 5adb2f1ae6 don't filter out non-master pointers in xi2.2 support. 2013-02-18 16:37:20 +09:00
Carsten Haitzler 28218fe856 Fix edje edje_color_class_list() and edje_text_class_list() to look at the
correct hashes when returning.
2013-02-18 15:42:28 +09:00
Cedric BAIL 324a072d40 evas: fix typo and unbreak rendering of polygons.
Evas_Object_Polygon are a little bit special and track their position
to avoid rebuilding various property when just moved. The offset.{x,y}
are there for that. For a strange reason they got a += instead of just
an = and there our offset did go quickly out of screen...
2013-02-18 11:53:48 +09:00
Ivan Briano 61b8e2aefe More removal of \r 2013-02-17 14:53:25 -03:00
discomfitor f27ff2fbf3 fix damn edje entry anchor click signals: this fixes anchor clicking in elm_entry widgets when using a desktop profile which has been broken for over a year
ticket #1179
2013-02-17 14:18:46 +00:00
Paulo C. A. Cavalcanti Jr 04e660c5c7 evas: Introduce pixel_alpha_get()
The _pixel_alpha_get() function used in evas_object_image_is_inside won't
work with engines other than software - since it relies on engine data
being *always* RGBA_Image * - which is wrong for OpenGL backend that uses
Evas_GL_Image * for "engine_data" pointer.
2013-02-16 11:14:40 +01:00
Cedric BAIL 1e916e44f7 eina: improve Eina_Clist support for 64bits system.
This warning are triggered by a cross compilation as previously stated.
2013-02-16 10:54:36 +01:00
Tom Hacohen 91ae899232 Edje textblock: Improved textblock fit and added support for size_range.
It's a bit quirky at the moment as you have to set the base font size
(text.size) although this doesn't have any effect on textblocks.
2013-02-15 17:55:34 +00:00
Tom Hacohen 2e001a25bf textblock: Added native and formatted sizes to clouseau. 2013-02-15 17:19:29 +00:00
Jiyoun Park c5a8a6b5ff Add infrastructure to handle message between ecore and parent ecore in Ecore_Evas
I add new example related with this. (ecore_evas_extn_socket & plug example)
ecore extn use this infrasturcture, server app and client app can communicate each other
later, this can be used to contorl access message


SVN revision: 83942
2013-02-15 09:32:40 +00:00
Jaehwan Kim 9885466787 Add missed code. This is related to r83501.
SVN revision: 83938
2013-02-15 06:48:07 +00:00
Carsten Haitzler 7d624a5f4b change to code that was added during 1.8 dev.. so no need for
chlog/news...

dont ever unload (free) ecore-evas modules to avoid symbol problems.



SVN revision: 83885
2013-02-14 09:40:23 +00:00
Jihoon Kim 01a6147288 edje entry : Fix bug candidate word couldn't be selected with up/down key in the preedit status
SVN revision: 83882
2013-02-14 08:03:52 +00:00
Jihoon Kim fcb1fc0e98 edje_entry: improve code about adding preedit tag
SVN revision: 83881
2013-02-14 07:56:18 +00:00
Cedric BAIL d065dd4750 efl/edje: edje program are static for all object of the same edje collection.
This reduce our waste of memory by 300K in most elementary application. There is
another 400K to win by merging edje signal callback automat.


SVN revision: 83879
2013-02-14 03:36:13 +00:00
Carsten Haitzler 0bdfe655a0 patch over an aawesome source of segv's in cserve2... data2 is null.
but why?



SVN revision: 83877
2013-02-14 03:26:21 +00:00
Jihoon Kim 504055db36 edje entry : fix bug not to display preedit string with PREEDIT_TYPE_NONE style
SVN revision: 83876
2013-02-14 02:09:21 +00:00
Tom Hacohen 3974cb3dc1 Evas textblock: Fixed a selection bug introduced in my previous commit.
I matched against the wrong values so it never included items in the middle
even when needed.

SVN revision: 83869
2013-02-13 12:42:44 +00:00
Carsten Haitzler 179fd31b77 add api and lets test it - i'll document it later, but need to test
first.



SVN revision: 83867
2013-02-13 11:35:46 +00:00
Cedric BAIL 495bcba4ac efl/eo: add an interface to give the list of parameter directly.
I restrained myself to not name it vodooooo !


SVN revision: 83850
2013-02-12 10:20:15 +00:00