Commit Graph

21276 Commits

Author SHA1 Message Date
Cedric BAIL cffb139ce1 git: let's not track coverage result to. 2013-02-19 18:56:47 +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
Cedric BAIL ceed029a84 Eo: do not add the test when not building them.
Test can only be build if they are enable. Moving them inside the if
so we don't get annoying error when make check is run without tests
being turned on.
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
Daniel Willmann c0fc75b78d xpm_loader: Make tok larger so strcpy will fit
Found through klocwork. It seems there are more potential issues here.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-02-18 12:18:33 +00:00
Tom Hacohen 326e2958d7 Edje pick: Fixed lockwork suspected leaks.
The problem is that apparently size can be 0 but some data can still
be returned.
2013-02-18 11:59:29 +00:00
Carsten Haitzler a7cd80338e Fix emotion build to add eeze includes if EEZE on.. not v4l2! 2013-02-18 19:35:58 +09: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
Carsten Haitzler 15e85877af Fix changelog formatting for older commits. 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
Ivan Briano d0c0a21240 Remove \r from end of line.
No functional changes here.
2013-02-17 14:30:11 -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 b6c89728a8 evas: forgotten update to ChangeLog. 2013-02-16 10:55:46 +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
Cedric BAIL 74aa601afc evas: improve portability of bmp loader.
On system like 64bits windows it is not a guaranty that a
sizeof (long) == sizeof (void*), we are better using the right type.
This generate a warning that we could have seen with just cross compilation.
2013-02-16 10:36:41 +01:00
Jiyoun Park 7c5e9dbd62 ecore evas extn:add example file related with ecore extn
It can be used to see the function of ecore extn and msg send/recieve
2013-02-16 18:02:40 +09: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
Tom Hacohen 6ceabe7fa6 Revert "Fix build break"
This doesn't really fix build break, it actually breaks it.

This reverts commit e655f0b735.
2013-02-15 16:19:35 +00:00
Tom Hacohen 3a69dfcca1 Efl: Use git rev-list in order to get version instead of svnversion. 2013-02-15 16:13:50 +00:00
Jaehwan Kim e655f0b735 Fix build break 2013-02-15 20:15:58 +09:00
Carsten Haitzler ab812a1f6a add .gitignore for generated cmakes. 2013-02-15 19:35:52 +09:00
Stefan Schmidt cc17d592b2 efl/doc: Remove all .svn entries from the generated file.
This is now longer needed now that we switched to git. And it should
also silent all the file modified problems.

The next time this file is listed as modified you should either have
done it yourself or added an image in the efl docs img folder.
2013-02-15 10:34:25 +00:00
Carsten Haitzler 3d60668ae9 Update po's with list addrs and dates. 2013-02-15 19:32:22 +09: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 f4da5922d3 swapper -> use buf pitch, not swp->w * 4 ... if we have a buf and
pitch. :) (tnks wonsik!)



SVN revision: 83889
2013-02-14 10:39:59 +00:00
Daniel Juyung Seo 7c6f9a36fe edje edc.vim: added DEFAULT keyword to edc.vim.
SVN revision: 83888
2013-02-14 10:14:41 +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 4452fad7a3 fix up apparent problem with egl context and sizing/rotation... need
to test more though.



SVN revision: 83878
2013-02-14 03:27:23 +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
Carsten Haitzler 5fa5f1430b small change to something never used/tested much ... cserve2 - FAIL if
an existing cserve 2 client is there.



SVN revision: 83866
2013-02-13 11:32:30 +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
Cedric BAIL db3eb71dde efl/evas: let's not be lazy and put smart related data only in smart object.
SVN revision: 83848
2013-02-12 08:58:59 +00:00
Cedric BAIL 966ca4602e efl/evas: move smart object data to smart object only.
SVN revision: 83847
2013-02-12 07:59:53 +00:00
Cedric BAIL 2943dcbc66 efl/evas: let the cow eat more.
memfile are not used that often like other direct pixels manipulation code.
Merging them into the same structure make sense and reduce the memory cost
for normal image object. Save between 8 to 16 bytes per image object.


SVN revision: 83843
2013-02-12 07:09:17 +00:00
Carsten Haitzler d1c6f7d937 don't know if this will help - but try quieten some valgrind
complaints... :/ (trying)



SVN revision: 83840
2013-02-12 06:49:42 +00:00