Tom Hacohen [Fri, 1 Mar 2013 17:02:10 +0000 (17:02 +0000)]
Fix revision fetching when not using git.
hermet [Fri, 1 Mar 2013 16:01:16 +0000 (01:01 +0900)]
edje - updated edc.vim syntax
Tom Hacohen [Fri, 1 Mar 2013 12:08:19 +0000 (12:08 +0000)]
Eo tests: when comparing logs, ignore anything below warnings.
Comparing all the debug messages is kinda crazy, so we just don't bother.
Rafael Antognolli [Thu, 28 Feb 2013 21:17:26 +0000 (18:17 -0300)]
ecore/wayland: Adjust @since versions to 1.7.6.
Since these API's were backported to 1.7.6, we must fix the doc strings.
davemds [Thu, 28 Feb 2013 19:33:29 +0000 (20:33 +0100)]
Add a new API to edbus to let it create an EDbus session from
an existing DBus connection.
This is needed by the python bindings, was done the same way
in edbus1, so it should fit here also
NOTE: I did not test this yet, and I'm not into the edbus code,
so I please who know the code to give a look. thanks
NOTE2: I don't think this need Changelog and stuff as we are probably
the only users of this function, let me know if i'm wrong
Tom Hacohen [Thu, 28 Feb 2013 16:48:09 +0000 (16:48 +0000)]
Evas textblock: Fixed "high" text size adjustments for multiple paragraphs.
Tom Hacohen [Thu, 28 Feb 2013 15:42:35 +0000 (15:42 +0000)]
Evas textblock: Added proper size adjustments for "high" shaped texts.
This adjusts the starting coords of the textblock to fit the shaped char of
the first line.
Rafael Antognolli [Wed, 27 Feb 2013 22:12:58 +0000 (19:12 -0300)]
ecore_evas/wayland: Call _ecore_evas_wayland_resize on window configure.
This will update the edges info inside the Evas_Engine_Info, and make it
correctly resize to the top/left if needed.
Also call ecore_wl_window_buffer_attach() on the egl engine, since it's
needed after the ecore_wl_window_update_size().
Rafael Antognolli [Wed, 27 Feb 2013 19:51:24 +0000 (16:51 -0300)]
ecore_evas/wayland: Update window size when receiving compositor event.
This will force the window to correctly update its size when the event
is received by the compositor, rather than just after an
ecore_evas_resize().
It fixes the window resizing of non-elementary applications, since
the elementary window already deals with such resize by calling
ecore_evas_resize.
Rafael Antognolli [Wed, 27 Feb 2013 15:12:22 +0000 (12:12 -0300)]
evas/wayland_shm: Add evas_swapper_reconfigure().
This can be used to reconfigure a swapper to another size, without the
need to destroy the swapper itself.
Although the shm pool is not being reused even when reconfiguring to a
smaller size, it could easily be.
This change is done right now only to keep the dx and dy offsets of a
previously requested swapper, which were not still used.
Mike Blumenkrantz [Thu, 28 Feb 2013 11:32:43 +0000 (11:32 +0000)]
fix edje program filters
Mike Blumenkrantz [Thu, 28 Feb 2013 09:16:46 +0000 (09:16 +0000)]
fix edje SPACER part custom states
ChunEon Park [Thu, 28 Feb 2013 07:55:11 +0000 (16:55 +0900)]
evas - updated doc.
ChunEon Park [Thu, 28 Feb 2013 07:48:34 +0000 (16:48 +0900)]
evas - use uppper case in the doc.
Jihoon Kim [Thu, 28 Feb 2013 06:08:00 +0000 (15:08 +0900)]
edje entry: set cursor position of selection start in selection mode
Cedric BAIL [Wed, 27 Feb 2013 23:55:20 +0000 (08:55 +0900)]
AUTHORS: follow request to update by Paulo.
Cedric BAIL [Wed, 27 Feb 2013 22:49:16 +0000 (07:49 +0900)]
eina: eina_strlcat now work with NULL src.
davemds [Wed, 27 Feb 2013 21:49:34 +0000 (22:49 +0100)]
emotion_test is now able to play streams from webcams (and other sources maybe)
just run:
emotion_test -w
ChunEon Park [Wed, 27 Feb 2013 13:36:36 +0000 (22:36 +0900)]
evas/common - scale sample code optimization
Cedric BAIL [Mon, 25 Feb 2013 00:32:58 +0000 (09:32 +0900)]
emotion: improve portability of Emotion Generic by using EFL more.
Cedric BAIL [Mon, 25 Feb 2013 00:32:27 +0000 (09:32 +0900)]
ecore: extend Ecore_Pipe API to make it more useful.
This make it possible to take over a pipe that was open in another process
and also prevent its destruction partially during exec.
Christopher Michael [Wed, 27 Feb 2013 10:19:06 +0000 (10:19 +0000)]
Fix valid variable check.
When doing double/triple buffering, and we go to merge the rectangles,
if we are triple buffering then we should not use the double-buffer
rectangles as a valid check for triple-buffer rectangles.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Wed, 27 Feb 2013 10:17:55 +0000 (10:17 +0000)]
Fix incorrect variable check.
When using swapping (double/triple), and we go to merge rectangles,
then we should check for a valid triple buffer (not double) before
trying to merge the 3rd buffer rectangles.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
ChunEon Park [Wed, 27 Feb 2013 05:43:34 +0000 (14:43 +0900)]
evas/common - declare a var in function head.
Rafael Antognolli [Tue, 26 Feb 2013 14:18:53 +0000 (11:18 -0300)]
evas/wayland_egl: Fix build error caused by wrong assignment.
Henrique Dante de Almeida [Thu, 24 Jan 2013 18:57:42 +0000 (16:57 -0200)]
efl: Fixes to support compiling with CFLAGS=-Werror
This allows compiling with gcc 4.7.2 without errors (using the
default configuration).
Christopher Michael [Tue, 26 Feb 2013 13:52:37 +0000 (13:52 +0000)]
Evas: Fixed wrong EINA_UNUSED usage in the gl_x11 engine.
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.