Carsten Haitzler (Rasterman) [Tue, 5 Mar 2013 14:00:38 +0000 (23:00 +0900)]
since Eo.h is inclued in c++ stuff... how about we cast from the void *
return from calloc to Eo_Dbg_Info * since c++ is really unhappy with
this stuff without a cast (silly c++).
Chris Michael [Tue, 5 Mar 2013 11:53:47 +0000 (11:53 +0000)]
Merge branch 'master' of ssh://git.enlightenment.org/core/efl
Chris Michael [Tue, 5 Mar 2013 11:53:23 +0000 (11:53 +0000)]
Formatting fix.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Tom Hacohen [Tue, 5 Mar 2013 09:25:45 +0000 (09:25 +0000)]
Eo: Changed EO_DBG_INFO_LIST_APPEND to be an inline function.
It's cleaner. Should have never been a macro. This is part of the effort of
reducing the usage of ({ which is apparently a non standard extension.
We can get rid of most of it and ifdef the rest.
Christopher Michael [Tue, 5 Mar 2013 09:24:48 +0000 (09:24 +0000)]
Remove display_dispatch call (not needed here).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Mar 2013 09:20:33 +0000 (09:20 +0000)]
Fix formatting.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Jiyoun Park [Tue, 5 Mar 2013 05:25:50 +0000 (14:25 +0900)]
Ecore_x: Add atom related with indicator type.
It can support several types of indicator
Jiyoun Park [Tue, 5 Mar 2013 05:01:32 +0000 (14:01 +0900)]
ecore_x : fix dangling pointer problem related with shmget fail
Jiyoun Park [Tue, 5 Mar 2013 04:46:14 +0000 (13:46 +0900)]
ecore_x : just fix typo
Sung W. Park [Mon, 4 Mar 2013 11:23:49 +0000 (20:23 +0900)]
evas: evas_gl - Got rid of resource pool in favor of creation on demand.
Resource contexts/surfaces are used for creating resources within Evas_GL.
In oder to handle Evas_GL runnig from different thread than the main one,
a resource context/surface pool was used. This turned out to be unnecssary
as they are not used very frequently. So, I got rid of the pool and
made the resources create as needed.
Cedric BAIL [Mon, 4 Mar 2013 05:38:43 +0000 (14:38 +0900)]
coverage: don't report coverage of the tests themself.
Cedric BAIL [Mon, 4 Mar 2013 04:51:26 +0000 (13:51 +0900)]
eina: forgotten include that borked debug build.
Cedric BAIL [Mon, 4 Mar 2013 04:06:35 +0000 (13:06 +0900)]
git: ignore generated files.
Cedric BAIL [Mon, 4 Mar 2013 02:08:49 +0000 (11:08 +0900)]
evas: fix typos.
Cedric BAIL [Mon, 4 Mar 2013 02:08:21 +0000 (11:08 +0900)]
eina: improve logging and debugging infra for Eina_Cow.
Paulo Cavalcanti [Thu, 28 Feb 2013 21:36:32 +0000 (18:36 -0300)]
efl/evas/text: Fix rendering issue with changed texts of same size
Introduce a new function called evas_object_content_change(). It should
be used when object contents get changed.
The rendering issue involving text objects was due to its map surfaces
not being freed. Thus, evas_object_content_change() is now called in
evas_object_text_text_set() during the relayout of the text for making
sure to get their map surfaces freed before rendering them.
Signed-off-by: Paulo Cavalcanti <paulo.cavalcanti@linux.intel.com>
Cedric BAIL [Mon, 4 Mar 2013 01:03:59 +0000 (10:03 +0900)]
ecore: fix build with setjmp.
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>