Henrique Dante de Almeida [Wed, 30 Jan 2013 17:52:56 +0000 (15:52 -0200)]
evas: Deal with double glShaderSource signature
The function glShaderSource may have 2 signatures:
http://stackoverflow.com/questions/
12586695/signature-difference-in-openglshadersource-between-opengl-es-2-revisions
http://www.opengl.org/sdk/docs/man/xhtml/glShaderSource.xml
http://www.khronos.org/opengles/sdk/docs/man/xhtml/glShaderSource.xml
This patch changes all internal signatures to use the most restrictive signature.
Henrique Dante de Almeida [Tue, 29 Jan 2013 13:17:09 +0000 (11:17 -0200)]
ephysics: turn EPhysics_Body into a POD-type struct
EPhysics_Body is an Eina_Inlist, and Eina_Inlist iterator macros use
offsetof(). Since using offsetof in C++ classes is invalid,
EPhysics_Body must be a POD-type struct.
Henrique Dante de Almeida [Fri, 25 Jan 2013 16:46:05 +0000 (14:46 -0200)]
ethumb: Support strict aliasing rules in MD5 code
Henrique Dante de Almeida [Tue, 29 Jan 2013 13:32:44 +0000 (11:32 -0200)]
evas: Fix PSD image loading
Henrique Dante de Almeida [Fri, 25 Jan 2013 13:01:56 +0000 (11:01 -0200)]
ecore: Fix _ecore_glib_select
This fixes a mutex allocated on stack, a race on GCond initialization
and use of deprecated functions: g_mutex_new() and friends were
deprecated in glib 2.32.
Henrique Dante de Almeida [Mon, 28 Jan 2013 19:12:50 +0000 (17:12 -0200)]
evas: Fix buffer overflows on environment variables
Carsten Haitzler (Rasterman) [Tue, 26 Feb 2013 13:05:19 +0000 (22:05 +0900)]
Fix evas GL common engine to have a shader to do oversampling on
downscaling. This makes quality much better and "at best"
equates to a 16 point sample (2x2 linear interpolation samples,
where a linear interpolation sample equates to a 2x2 sample).
This will have perfomance impact, but the quality is worth it and
makes it closer to software downscaling in quality. It supports
2x2, 2x1 and 1x2 oversampling. YUV not done, nor image mask
(font shaders not needed).
Carsten Haitzler (Rasterman) [Sat, 23 Feb 2013 13:27:19 +0000 (22:27 +0900)]
add .arcconfig for efl.
Carsten Haitzler (Rasterman) [Thu, 21 Feb 2013 08:07:38 +0000 (17:07 +0900)]
oops - still had printfs. remove.
Tom Hacohen [Mon, 25 Feb 2013 15:39:32 +0000 (15:39 +0000)]
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.
Tom Hacohen [Mon, 25 Feb 2013 15:22:04 +0000 (15:22 +0000)]
Evas text: Added a test that shows how broken ellipsis is.
Tom Hacohen [Mon, 25 Feb 2013 14:58:22 +0000 (14:58 +0000)]
Evas text tests: Start shipping DejaVuSans with the test suite.
We can finally rely on having fonts in all cases (even when there's no
fontconfig) and we can also rely on specific sizing.
Christopher Michael [Mon, 25 Feb 2013 10:35:43 +0000 (10:35 +0000)]
Evas: Fixed wrong if in the x11 engine.
ChunEon Park [Mon, 25 Feb 2013 07:56:25 +0000 (16:56 +0900)]
* 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.
ChunEon Park [Mon, 25 Feb 2013 07:24:08 +0000 (16:24 +0900)]
evas/cache - formatting
ChunEon Park [Sat, 23 Feb 2013 12:45:10 +0000 (21:45 +0900)]
evas/common - scale sample code refactoring. simpler and more effcient.
ChunEon Park [Sat, 23 Feb 2013 10:52:57 +0000 (19:52 +0900)]
Merge branch 'master' of ssh://git.enlightenment.org/core/efl
ChunEon Park [Sat, 23 Feb 2013 10:51:43 +0000 (19:51 +0900)]
edje/edc - add additional vim syntax keyword
Jihoon Kim [Sat, 23 Feb 2013 09:01:10 +0000 (18:01 +0900)]
ecore_imf_example: call ecore_imf_context_filter_event in mouse up/down event
Jihoon Kim [Sat, 23 Feb 2013 08:59:29 +0000 (17:59 +0900)]
ecore_imf_example: remove unused variable, fix warning
Tom Hacohen [Fri, 22 Feb 2013 14:13:35 +0000 (14:13 +0000)]
Edje entry fit: Set the min size according to the fitting as well.
Tom Hacohen [Fri, 22 Feb 2013 14:11:41 +0000 (14:11 +0000)]
Edje entry fit: Set the min/max sizes according to the fitting, not before.
chuneon.park [Fri, 22 Feb 2013 13:42:48 +0000 (22:42 +0900)]
evas/common - return function as soon as possible.
chuneon.park [Fri, 22 Feb 2013 13:40:34 +0000 (22:40 +0900)]
evas/common - fix indentation
Daniel Juyung Seo [Fri, 22 Feb 2013 01:57:38 +0000 (10:57 +0900)]
ChangeLog: Fixed formatting. We don't use tab for ChangeLog. Ping tasn and cedric.
Tom Hacohen [Thu, 21 Feb 2013 14:59:27 +0000 (14:59 +0000)]
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.
Tom Hacohen [Thu, 21 Feb 2013 13:39:37 +0000 (13:39 +0000)]
Evas text: Fixed bug with the text object direction detection.
Cedric BAIL [Thu, 21 Feb 2013 09:45:45 +0000 (18:45 +0900)]
edje: let's fix the edje test to init/shutdown edje correctly.
We have so much wonderfull tool, like git and make lcov-check. Sadly
we are lacking a tool to check their usage ! PEBKAC is still an issue.
Tom Hacohen [Thu, 21 Feb 2013 08:39:09 +0000 (08:39 +0000)]
Revert "tests/edje: Disable edje mising file test until the needed header is commited."
I added the file in the previous commit.
This reverts commit
251eac7d7a5c6d7f2e4fccac3c2240197b7c5aac.
Tom Hacohen [Thu, 21 Feb 2013 08:38:52 +0000 (08:38 +0000)]
Edje tests: Added missing file.
Cedric BAIL [Thu, 21 Feb 2013 08:14:45 +0000 (17:14 +0900)]
eeze: fix build with recent Eina change.
Cedric BAIL [Tue, 19 Feb 2013 04:33:41 +0000 (13:33 +0900)]
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.
Carsten Haitzler (Rasterman) [Thu, 21 Feb 2013 07:49:10 +0000 (16:49 +0900)]
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.
Stefan Schmidt [Wed, 20 Feb 2013 17:21:30 +0000 (17:21 +0000)]
Revert "Refactor evas_sw_xlib_outbuf to allocate less in case of rotations."
This reverts commit
139737247d563f53a064c7f4a025a89ed64c2983.
THis fix was completely wrong.
Conflicts:
ChangeLog
Stefan Schmidt [Wed, 20 Feb 2013 09:11:07 +0000 (09:11 +0000)]
tests/edje: Disable edje mising file test until the needed header is commited.
I tried to get it from Tom's machine but I can't log in there. :)
Cedric BAIL [Wed, 20 Feb 2013 08:49:50 +0000 (17:49 +0900)]
eina: make that test not depend on efl configuration.
Carsten Haitzler (Rasterman) [Wed, 20 Feb 2013 08:16:54 +0000 (17:16 +0900)]
Fix ecore-x edid fetch to ftech 128, not 100 bytes.
Cedric BAIL [Wed, 20 Feb 2013 03:10:18 +0000 (12:10 +0900)]
edje: let's properly report that file doesn't exist.
Tom Hacohen [Tue, 19 Feb 2013 16:00:38 +0000 (16:00 +0000)]
Edje tests: Added a failing test for the file doesn't exist issue.
Daniel Zaoui [Tue, 19 Feb 2013 15:49:41 +0000 (17:49 +0200)]
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>
Tom Hacohen [Tue, 19 Feb 2013 15:09:32 +0000 (15:09 +0000)]
Ecore_x: Revert "don't filter out non-master pointers in xi2.2 support."
This actually breaks genlist selection.
This reverts commit
5adb2f1ae6766fb0880aba5a92fff4fa52d1402f.
Rafael Antognolli [Tue, 19 Feb 2013 12:56:39 +0000 (09:56 -0300)]
evas/wayland_shm: Remove x,y offsets from swapbuf related APIs.
These offsets can be calculated later during the resize operations.
Rafael Antognolli [Mon, 18 Feb 2013 17:31:17 +0000 (14:31 -0300)]
ecore_evas/wayland_shm: Fixed window resize.
Using the server_allocation/allocation to determine the resize offset
was not completely precise, and causing the window to not always resize
correctly.
Additionally, calling evas_engine_info_set() on every resize step caused
the window content to blink and resize very slow, because the swap
buffer, swapper, and everything were being destroyed and recreated. Now
only the swapbuf_reconfigure is being called during the resize, which is
way faster.
Christopher Michael [Tue, 5 Feb 2013 14:16:27 +0000 (14:16 +0000)]
Fix swapper to take resize edges into account.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:16:00 +0000 (14:16 +0000)]
Fix function prototypes to take resize edges into account.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:15:41 +0000 (14:15 +0000)]
Fix swapbuf setup to take resize edges into account.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:14:38 +0000 (14:14 +0000)]
Fix function prototypes to take x & y as params. Fix functions to take x & y as params (for resize edges).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:14:17 +0000 (14:14 +0000)]
Fix new shm engine to take resize edges into account.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:13:32 +0000 (14:13 +0000)]
Fix swapper_setup function prototype to take x & y as params.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:13:09 +0000 (14:13 +0000)]
Add x & y to Output buffer.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 13:23:14 +0000 (13:23 +0000)]
Remove blank line.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 13:09:32 +0000 (13:09 +0000)]
Add edges struct to engine information.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 12:51:38 +0000 (12:51 +0000)]
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>
Christopher Michael [Tue, 5 Feb 2013 12:49:20 +0000 (12:49 +0000)]
Remove old shm information from the private data structure.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 12:48:25 +0000 (12:48 +0000)]
Fix formatting.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 12:47:27 +0000 (12:47 +0000)]
Remove extra whitespace.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 19 Feb 2013 11:39:52 +0000 (11:39 +0000)]
Fix possible memory leak.
Dynamic memory stored in 'ptr2' allocated through function 'malloc' at
line 653 can be lost at line 1022. Also there is one similar error on
line 1029.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 19 Feb 2013 11:27:26 +0000 (11:27 +0000)]
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>
Tom Hacohen [Tue, 19 Feb 2013 11:46:21 +0000 (11:46 +0000)]
Edje entry: Fixed a fit issue with fitting even when disabled.
Tom Hacohen [Tue, 19 Feb 2013 11:40:00 +0000 (11:40 +0000)]
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.
Cedric BAIL [Tue, 19 Feb 2013 10:37:57 +0000 (19:37 +0900)]
evas: yet the canvas can already be dead when we get to kill the object.
Cedric BAIL [Tue, 19 Feb 2013 10:16:58 +0000 (19:16 +0900)]
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.
Cedric BAIL [Tue, 19 Feb 2013 09:56:47 +0000 (18:56 +0900)]
git: let's not track coverage result to.
Daniel Zaoui [Tue, 19 Feb 2013 06:55:40 +0000 (08:55 +0200)]
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>
Cedric BAIL [Mon, 18 Feb 2013 13:32:51 +0000 (14:32 +0100)]
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
Cedric BAIL [Mon, 18 Feb 2013 13:16:06 +0000 (14:16 +0100)]
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.
Daniel Willmann [Mon, 18 Feb 2013 13:18:04 +0000 (13:18 +0000)]
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>
Daniel Willmann [Mon, 18 Feb 2013 12:26:27 +0000 (12:26 +0000)]
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>
Daniel Willmann [Mon, 18 Feb 2013 12:10:22 +0000 (12:10 +0000)]
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>
Daniel Willmann [Mon, 18 Feb 2013 11:48:25 +0000 (11:48 +0000)]
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>
Tom Hacohen [Mon, 18 Feb 2013 11:59:15 +0000 (11:59 +0000)]
Edje pick: Fixed lockwork suspected leaks.
The problem is that apparently size can be 0 but some data can still
be returned.
Carsten Haitzler (Rasterman) [Mon, 18 Feb 2013 10:35:34 +0000 (19:35 +0900)]
Fix emotion build to add eeze includes if EEZE on.. not v4l2!
Cedric BAIL [Mon, 18 Feb 2013 07:39:49 +0000 (16:39 +0900)]
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.
Carsten Haitzler (Rasterman) [Mon, 18 Feb 2013 07:37:20 +0000 (16:37 +0900)]
don't filter out non-master pointers in xi2.2 support.
Carsten Haitzler (Rasterman) [Mon, 18 Feb 2013 06:41:43 +0000 (15:41 +0900)]
Fix edje edje_color_class_list() and edje_text_class_list() to look at the
correct hashes when returning.
Carsten Haitzler (Rasterman) [Mon, 18 Feb 2013 06:37:52 +0000 (15:37 +0900)]
Fix changelog formatting for older commits.
Cedric BAIL [Mon, 18 Feb 2013 02:53:48 +0000 (11:53 +0900)]
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...
Ivan Briano [Sun, 17 Feb 2013 17:53:25 +0000 (14:53 -0300)]
More removal of \r
Ivan Briano [Sun, 17 Feb 2013 17:30:11 +0000 (14:30 -0300)]
Remove \r from end of line.
No functional changes here.
discomfitor [Sun, 17 Feb 2013 14:18:46 +0000 (14:18 +0000)]
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
Paulo C. A. Cavalcanti Jr [Sat, 16 Feb 2013 10:10:47 +0000 (11:10 +0100)]
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.
Cedric BAIL [Sat, 16 Feb 2013 09:55:46 +0000 (10:55 +0100)]
evas: forgotten update to ChangeLog.
Cedric BAIL [Sat, 16 Feb 2013 09:54:36 +0000 (10:54 +0100)]
eina: improve Eina_Clist support for 64bits system.
This warning are triggered by a cross compilation as previously stated.
Cedric BAIL [Sat, 16 Feb 2013 09:36:41 +0000 (10:36 +0100)]
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.
Jiyoun Park [Sat, 16 Feb 2013 09:02:40 +0000 (18:02 +0900)]
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
Tom Hacohen [Fri, 15 Feb 2013 15:38:49 +0000 (15:38 +0000)]
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.
Tom Hacohen [Fri, 15 Feb 2013 17:19:07 +0000 (17:19 +0000)]
textblock: Added native and formatted sizes to clouseau.
Tom Hacohen [Fri, 15 Feb 2013 16:19:35 +0000 (16:19 +0000)]
Revert "Fix build break"
This doesn't really fix build break, it actually breaks it.
This reverts commit
e655f0b7358765f02ea392971c6ddbf8518c37c8.
Tom Hacohen [Fri, 15 Feb 2013 16:13:04 +0000 (16:13 +0000)]
Efl: Use git rev-list in order to get version instead of svnversion.
Jaehwan Kim [Fri, 15 Feb 2013 11:15:58 +0000 (20:15 +0900)]
Fix build break
Carsten Haitzler (Rasterman) [Fri, 15 Feb 2013 10:35:14 +0000 (19:35 +0900)]
add .gitignore for generated cmakes.
Stefan Schmidt [Fri, 15 Feb 2013 10:32:18 +0000 (10:32 +0000)]
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.
Carsten Haitzler (Rasterman) [Fri, 15 Feb 2013 10:24:18 +0000 (19:24 +0900)]
Update po's with list addrs and dates.
Jiyoun Park [Fri, 15 Feb 2013 09:32:40 +0000 (09:32 +0000)]
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
Jaehwan Kim [Fri, 15 Feb 2013 06:48:07 +0000 (06:48 +0000)]
Add missed code. This is related to r83501.
SVN revision: 83938
Carsten Haitzler [Thu, 14 Feb 2013 10:39:59 +0000 (10:39 +0000)]
swapper -> use buf pitch, not swp->w * 4 ... if we have a buf and
pitch. :) (tnks wonsik!)
SVN revision: 83889
Daniel Juyung Seo [Thu, 14 Feb 2013 10:14:41 +0000 (10:14 +0000)]
edje edc.vim: added DEFAULT keyword to edc.vim.
SVN revision: 83888
Carsten Haitzler [Thu, 14 Feb 2013 09:40:23 +0000 (09:40 +0000)]
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
Jihoon Kim [Thu, 14 Feb 2013 08:03:52 +0000 (08:03 +0000)]
edje entry : Fix bug candidate word couldn't be selected with up/down key in the preedit status
SVN revision: 83882
Jihoon Kim [Thu, 14 Feb 2013 07:56:18 +0000 (07:56 +0000)]
edje_entry: improve code about adding preedit tag
SVN revision: 83881