Christopher Michael
abd79fff9b
Fix formatting.
...
Remove call to display_dispatch (not needed here during init).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-03-12 12:52:25 +00:00
Christopher Michael
31ec0c4d7b
Add Async support for Wayland Shm Engine.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-03-12 12:52:25 +00:00
Christopher Michael
91a83b8cda
Add Async support for wayland_shm engine.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-03-12 12:52:25 +00:00
Tom Hacohen
3ba9311c0f
Tests: Output XML to build dir, not source dir.
2013-03-12 12:46:06 +00:00
Tom Hacohen
b13fe184bf
Ecore tests: Define TESTS_SRC_DIR in the same way as the other tests.
...
Deprecate CHECK_SRC_DIR which is not needed anymore because of that.
2013-03-12 11:43:31 +00:00
Daniel Willmann
a60f19611a
Disable efreet tests again as long as they are failing on Jenkins
...
We need to find a way to run dbus-launch before the efreet test
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-12 11:36:48 +00:00
Tom Hacohen
1cbcf4e4f8
Eo: Fixed compilation warning.
...
Cedric: I love it that you don't test your fixes. :).
2013-03-12 11:21:21 +00:00
Tom Hacohen
26a5cdc63b
Evas language: Fixed compiler warning about unsigned comparison.
...
comparison of unsigned expression >= 0 is always true.
Thanks to vtorri for the report.
2013-03-12 11:17:17 +00:00
Cedric BAIL
f4ff9a1a3e
evas: cleanup header in preparation for Eina_Cow.
2013-03-12 20:09:10 +09:00
Cedric BAIL
e07a7ac891
eo: 32bits should be enough for any sane object size.
2013-03-12 20:08:42 +09:00
Cedric BAIL
2a9d4d0765
eo: tired, fix language typo.
2013-03-12 19:23:00 +09:00
Cedric BAIL
b309d26e3f
eo: add a EO_DEBUG environment variable to get some useful statistic.
2013-03-12 19:17:11 +09:00
Cedric BAIL
4d316f3bec
eo, evas, edje: reorder structure for reducing memory usage.
2013-03-12 19:17:11 +09:00
Stefan Schmidt
85810dac8c
tests: Add xml output file for check runs for the use with jenkins.
...
We can do pretty graphs with jenkins about our unit tests. But we
need the check xml output for that. Enabling it in all suites.
2013-03-12 09:59:06 +00:00
Stefan Schmidt
05ba2f98f7
tests: Make sure eeze and efreet suites are run when calling make check
...
They never got added to TESTS and thus never have been called with make check
2013-03-12 09:59:06 +00:00
Daniel Willmann
cea4b6b37b
eina: Fix PACKAGE_BUILD_DIR
2013-03-12 09:59:06 +00:00
Cedric BAIL
b3dba328cc
evas: less warning when disabling fontconfig.
2013-03-12 17:07:50 +09:00
Cedric BAIL
cf2f191ff9
ecore: fix typo.
2013-03-12 16:33:33 +09:00
Cedric Bail
32661a5ac4
ecore_evas: re-order inclusion of header to fix compilation on Windows.
...
It is a very tricky things to get header order right on windows. Having that
order only in .c files simplify the work a lot. So let's try to do it with
Ecore_Evas after it rewrite and split into modules.
2013-03-12 15:58:43 +09:00
Cedric Bail
1f95cbdc7b
eio: Use _eio_lstat instead of lstat to improve protability.
2013-03-12 15:58:43 +09:00
Cedric BAIL
376e83c0d5
ecore: don't propagate systemd state to child process.
2013-03-12 15:58:43 +09:00
Cedric BAIL
c945896c26
ecore: fix compiler warning when compiling with Fibers.
2013-03-12 15:58:42 +09:00
Cedric BAIL
15aae2c0a4
edje: reduce memory usage of Edje signal callbacks and automates.
...
This patch try to share signal callbacks and automate accross all Edje
object. It does use an Eina_Hash on the callback description (signal,
source, func). There is no need to check it against Edje file or group
only the callbacks matter.
2013-03-12 15:58:42 +09:00
Carsten Haitzler
8b55c24fe8
cleanup some egl/glx/gl extension string matching and proc address
...
vetos.
2013-03-12 15:30:05 +09:00
Carsten Haitzler
b121520955
small improvement to pixman support - no need to create color image in
...
context unless font or rect or line or poly used.
2013-03-12 15:30:03 +09:00
Carsten Haitzler
3d3cdf0944
i have no idea what has happened here, but older glibs REQUIRe you
...
g_thread_init andf link to libgthread...
2013-03-12 15:30:02 +09:00
Jiyoun Park
bcfc58f460
ecore_x: fix bug not check data value when get deiconify message
2013-03-12 11:53:21 +09:00
Carsten Haitzler
200bdfd8d4
in theory suport partial swaps with SEC extensions... untested atm.
2013-03-12 08:46:25 +09:00
Tom Hacohen
23264ae09c
Evas textblock: Fixed coord (int) overflow.
...
X advance coords can be bigger than the limits of short.
2013-03-11 15:33:28 +00:00
Tom Hacohen
973d0b475b
Eina test strbuf: Fixed compilation warnings.
2013-03-11 10:39:20 +00:00
Carsten Haitzler
ab7bd544f8
emotion - free up engine and stuff on obj del, and let smartdata hang
...
about for eio stuff. hrmmmmf. cedric!!! :)
2013-03-11 16:54:59 +09:00
Carsten Haitzler
3f00d9ee60
Merge branch 'master' of ssh://git.enlightenment.org/core/efl
2013-03-11 15:57:16 +09:00
Carsten Haitzler
b389f6dc9a
make evas smart callbnacks safer if something bad happens in memory.
2013-03-11 15:55:04 +09:00
Carsten Haitzler
dee5e1d85f
emotion "fix" - not actually a bug i hit, but a potential one where
...
xattr change jobs are not deleted on sd free.
2013-03-11 15:53:28 +09:00
Mike Blumenkrantz
bbc7a0bf3e
clean up gnutls session init for ecore-con in 1.8
2013-03-11 04:57:12 +00:00
Vladislav Brovko
8cac00fc66
eina: prevent space stripping of CDATA in Eina_Simple_XML.
...
Prevent stripping spaces (after [CDATA[ and before ]]>) in XML like:
<![CDATA[ <foo>bar</foo> ]]>
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-11 11:03:05 +09:00
Nikolay Lopatka
779356b45f
eina: add test for strbuf trim function.
...
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-11 10:53:19 +09:00
Vladislav Brovko
21505d1edf
eina: Eina_Tmpstr test for eina_tmpstr_add, eina_tmpstr_del.
...
Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2013-03-11 10:45:41 +09:00
Cedric BAIL
bccd190ec8
ecore: prevent coroutine code mixup on windows.
2013-03-11 10:36:54 +09:00
Cedric Bail
3fe8098e9c
include some header files conditionally add specific test for fcntl
2013-03-11 10:34:47 +09:00
Cedric Bail
c97d05aca2
Add F_GETFL support (which does actually nothing
2013-03-11 10:34:47 +09:00
Cedric Bail
8dedcfae2c
Fix warnings
2013-03-11 10:34:47 +09:00
Cedric Bail
8d5e33077e
efl: use HAVE_FCNTL around call to fcntl.
2013-03-10 23:10:27 +09:00
Cedric Bail
29299ea2ab
ecore: notify systemd automatically when the main loop is starting.
2013-03-10 21:21:19 +09:00
Cedric Bail
cf26a36fec
evil: cleanup compiler flags.
...
- Pass EVIL_CFLAGS to C++ compiled files (needed for -DEF_EVIL_BUILD)
- Some warning flags should not be passed to C++ compiler, so put them in another variable
2013-03-10 20:33:57 +09:00
Cedric Bail
5fc7829c96
eina, evil: fix warning on 64 bits
2013-03-10 20:32:53 +09:00
Cedric Bail
d45af6ec7f
eina: sort files alphabetically
2013-03-10 20:32:42 +09:00
Cedric Bail
7da76cf25a
ecore_evas: remove warning.
2013-03-10 20:32:21 +09:00
Cedric Bail
27642f20fd
evas: fcntl use should be #ifdef protected.
2013-03-10 19:45:24 +09:00
Cedric Bail
9176271492
ecore_con: add systemd socket activation.
...
Be careful, systemd socket activation require you to always order
server socket creation in the same order as defined in the unit file.
This means ecore_con_server_add should always been in the same order
for those of them using systemd socket activation.
2013-03-10 16:00:32 +09:00
Cedric Bail
12ceb717ea
eeze: add a dummy implementation for when libmount is not available.
...
This implementation doesn't replace libmount, it just provide an empty
piece of code that will always fail to do anything. It does simplify
Eeze building and use by third party by always providing the API.
2013-03-10 15:58:29 +09:00
Daniel Juyung Seo
ae08c6e721
evas evas_focus.c: simplified the source.
2013-03-10 00:40:33 +09:00
Igor Murzov
7a794f8477
evas: Add WebP image saver
2013-03-09 14:11:35 +04:00
Daniel Juyung Seo
5d20302c35
eina eina_hash.h,eina_list.h: fixed a typo.
...
ilustrate -> illustrate
2013-03-09 14:38:36 +09:00
Rafael Antognolli
de5b36583d
evas/wayland_shm: Change the buffer sent comparison.
...
Using the wb->buffer pointer to compare if a buffer was already sent is
bad, since the buffer pointer can be changed in a way that that
comparison is true, even if different buffers are used.
When requesting a new buffer to the wl_shm_pool, it can return the
buffer address of a previously freed buffer. This reused buffer pointer
can be the same as the last buffer sent to the compositor, and the
comparison will be true, skipping a new wl_buffer_attach.
2013-03-08 14:54:18 -03:00
Tom Hacohen
4a1c3d0f57
Ecore coroutine test: Fixed compilation warnings.
2013-03-08 17:32:23 +00:00
Tom Hacohen
a35b034b7c
Eina mempool: Fixed compilation warning.
2013-03-08 11:46:41 +00:00
Carsten Haitzler
4eed45ae88
Small adjustment to gl engines to use procaddress if found and NOT
...
fall back to dlsym if such a "getprocaddress" is around.
2013-03-08 19:35:36 +09:00
Daniel Willmann
a7425900e1
Fix path to edje_test_helpers.h in EXTRA_DIST
...
Thanks Tom for spotting!
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-07 17:44:10 +00:00
Stefan Schmidt
c503f1eaa7
edje: Fix typo for make distcheck
2013-03-07 16:10:02 +00:00
Tom Hacohen
8fc2d1481a
Fixed make dist.
2013-03-07 16:06:44 +00:00
Jiyoun Park
9210db4dd5
Ecore_x: Add manual render code before deiconify
2013-03-07 16:33:59 +09:00
Jiyoun Park
9332730cd4
Merge branch 'master' of ssh://git.enlightenment.org/core/efl
2013-03-07 13:43:21 +09:00
Jiyoun Park
5d64ee8fa8
ecore_x : add atom to be used deiconify manual render
...
win will be manual render when deiconify message
2013-03-07 13:42:31 +09:00
Tom Hacohen
fd701b710b
Edbus: Include config.h
2013-03-06 16:57:01 +00:00
Cedric BAIL
49c0bea4aa
eeze: fix typo.
2013-03-06 23:42:04 +09:00
Cedric BAIL
bec45fe120
eeze: disable build of libmount related code completely for the moment.
2013-03-06 23:40:21 +09:00
Cedric BAIL
238e5951bb
eeze: handle all version back as we did in 1.7. hopefuly.
2013-03-06 23:07:39 +09:00
Jihoon Kim
2ee27ec6d5
fix bug scroll works when PgDn, PgUp, Home, End key in entry is pressed in preedit state
2013-03-06 09:26:44 +09:00
Carsten Haitzler
63802e5b84
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++).
2013-03-05 23:00:38 +09:00
Chris Michael
3883d49185
Merge branch 'master' of ssh://git.enlightenment.org/core/efl
2013-03-05 11:53:47 +00:00
Chris Michael
fb8842bc24
Formatting fix.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-03-05 11:53:23 +00:00
Tom Hacohen
fc4846fbc6
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.
2013-03-05 09:26:07 +00:00
Christopher Michael
a37443ad87
Remove display_dispatch call (not needed here).
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-03-05 09:24:48 +00:00
Christopher Michael
be94e53126
Fix formatting.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-03-05 09:20:33 +00:00
Jiyoun Park
d70feacf9b
Ecore_x: Add atom related with indicator type.
...
It can support several types of indicator
2013-03-05 14:25:50 +09:00
Jiyoun Park
004d519f06
ecore_x : fix dangling pointer problem related with shmget fail
2013-03-05 14:01:32 +09:00
Jiyoun Park
bc78f49d71
ecore_x : just fix typo
2013-03-05 13:46:14 +09:00
Sung W. Park
64aa5a2670
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.
2013-03-04 20:23:49 +09:00
Cedric BAIL
ab12337d76
eina: forgotten include that borked debug build.
2013-03-04 13:51:26 +09:00
Cedric BAIL
7d698d9a8e
evas: fix typos.
2013-03-04 11:08:49 +09:00
Cedric BAIL
1c9470e071
eina: improve logging and debugging infra for Eina_Cow.
2013-03-04 11:08:21 +09:00
Paulo Cavalcanti
ddfd471c71
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>
2013-03-04 10:21:59 +09:00
Cedric BAIL
05f7761d5f
ecore: fix build with setjmp.
2013-03-04 10:03:59 +09:00
Tom Hacohen
7ccdb921ad
Eo tests: when comparing logs, ignore anything below warnings.
...
Comparing all the debug messages is kinda crazy, so we just don't bother.
2013-03-01 12:08:19 +00:00
Rafael Antognolli
71b1576bc5
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.
2013-02-28 18:18:31 -03:00
Davide Andreoli
8ecd30d578
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
2013-02-28 20:33:29 +01:00
Tom Hacohen
5dc2d7c126
Evas textblock: Fixed "high" text size adjustments for multiple paragraphs.
2013-02-28 16:48:09 +00:00
Tom Hacohen
5a55e5e56c
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.
2013-02-28 16:26:09 +00:00
Rafael Antognolli
e92bafb141
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().
2013-02-28 12:48:42 -03:00
Rafael Antognolli
5e507cf3d6
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.
2013-02-28 12:48:42 -03:00
Rafael Antognolli
3d0bd026ba
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.
2013-02-28 12:48:41 -03:00
Mike Blumenkrantz
a4026762f9
fix edje program filters
2013-02-28 11:33:57 +00:00
Mike Blumenkrantz
d4089d9558
fix edje SPACER part custom states
2013-02-28 11:33:57 +00:00
ChunEon Park
626f250677
evas - updated doc.
2013-02-28 16:55:11 +09:00
ChunEon Park
99f4ba54de
evas - use uppper case in the doc.
2013-02-28 16:48:34 +09:00
Jihoon Kim
49930b7b89
edje entry: set cursor position of selection start in selection mode
2013-02-28 15:08:00 +09:00
Cedric BAIL
fde00d91a8
eina: eina_strlcat now work with NULL src.
2013-02-28 07:49:16 +09:00
Davide Andreoli
23cbcb5fa4
emotion_test is now able to play streams from webcams (and other sources maybe)
...
just run:
emotion_test -w
2013-02-27 22:49:34 +01:00
ChunEon Park
4e0b7d7bca
evas/common - scale sample code optimization
2013-02-27 22:36:36 +09:00
Cedric BAIL
1121103ecb
emotion: improve portability of Emotion Generic by using EFL more.
2013-02-27 21:10:28 +09:00
Cedric BAIL
762163bb45
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.
2013-02-27 21:10:28 +09:00
Christopher Michael
ba86389448
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>
2013-02-27 10:19:06 +00:00
Christopher Michael
2fb518a691
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>
2013-02-27 10:17:55 +00:00
ChunEon Park
8e3671eab7
evas/common - declare a var in function head.
2013-02-27 14:43:34 +09:00
Rafael Antognolli
792413ebb6
evas/wayland_egl: Fix build error caused by wrong assignment.
2013-02-26 11:20:04 -03:00
Henrique Dante de Almeida
ca8fc827a3
efl: Fixes to support compiling with CFLAGS=-Werror
...
This allows compiling with gcc 4.7.2 without errors (using the
default configuration).
2013-02-26 10:55:04 -03:00
Christopher Michael
cbc203e0bf
Evas: Fixed wrong EINA_UNUSED usage in the gl_x11 engine.
2013-02-26 13:52:54 +00:00
Henrique Dante de Almeida
211c33ff6e
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.
2013-02-26 10:17:28 -03:00
Henrique Dante de Almeida
b9ac180af6
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.
2013-02-26 10:17:28 -03:00
Henrique Dante de Almeida
95623dee10
ethumb: Support strict aliasing rules in MD5 code
2013-02-26 10:17:28 -03:00
Henrique Dante de Almeida
2656d7097e
evas: Fix PSD image loading
2013-02-26 10:17:28 -03:00
Henrique Dante de Almeida
2ca0be9316
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.
2013-02-26 10:17:28 -03:00
Henrique Dante de Almeida
f5d4ae70bd
evas: Fix buffer overflows on environment variables
2013-02-26 10:17:28 -03:00
Carsten Haitzler
683e5d7d08
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).
2013-02-26 22:07:30 +09:00
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
Tom Hacohen
039b3da078
Evas text: Added a test that shows how broken ellipsis is.
2013-02-25 15:22:04 +00:00
Tom Hacohen
9696f44a67
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.
2013-02-25 14:59:03 +00:00
Christopher Michael
1b5ffada1b
Evas: Fixed wrong if in the x11 engine.
2013-02-25 10:35:54 +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
Jihoon Kim
161a78466b
ecore_imf_example: call ecore_imf_context_filter_event in mouse up/down event
2013-02-23 18:01:10 +09:00
Jihoon Kim
2ea7ddfdcb
ecore_imf_example: remove unused variable, fix warning
2013-02-23 17:59:29 +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
8a818ad79d
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.
2013-02-21 18:45:45 +09:00
Tom Hacohen
a77cb9ee41
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 251eac7d7a
.
2013-02-21 08:41:09 +00:00
Tom Hacohen
ac16677405
Edje tests: Added missing file.
2013-02-21 08:41:09 +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
Stefan Schmidt
5e99f9b968
Revert "Refactor evas_sw_xlib_outbuf to allocate less in case of rotations."
...
This reverts commit 139737247d
.
THis fix was completely wrong.
Conflicts:
ChangeLog
2013-02-20 17:21:30 +00:00
Stefan Schmidt
251eac7d7a
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. :)
2013-02-20 09:11:07 +00:00
Cedric BAIL
1637e99931
eina: make that test not depend on efl configuration.
2013-02-20 17:50:19 +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
Tom Hacohen
9654db3b16
Edje tests: Added a failing test for the file doesn't exist issue.
2013-02-19 16:00:45 +00: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
Rafael Antognolli
8be4940bb3
evas/wayland_shm: Remove x,y offsets from swapbuf related APIs.
...
These offsets can be calculated later during the resize operations.
2013-02-19 10:42:39 -03:00
Rafael Antognolli
dc0d88df9c
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.
2013-02-19 10:18:03 -03:00
Christopher Michael
cf67e69b50
Fix swapper to take resize edges into account.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:03 -03:00
Christopher Michael
232ea5b875
Fix function prototypes to take resize edges into account.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:03 -03:00
Christopher Michael
899e4f745c
Fix swapbuf setup to take resize edges into account.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Christopher Michael
5dde66b4e4
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>
2013-02-19 10:18:02 -03:00
Christopher Michael
b717e948af
Fix new shm engine to take resize edges into account.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Christopher Michael
c95160baae
Fix swapper_setup function prototype to take x & y as params.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Christopher Michael
e4aae7301f
Add x & y to Output buffer.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Christopher Michael
ef76f3caab
Remove blank line.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Christopher Michael
f541b8af90
Add edges struct to engine information.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03: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
886768b1e1
Remove old shm information from the private data structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Christopher Michael
9e6b41e629
Fix formatting.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Christopher Michael
5526a29417
Remove extra whitespace.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:01 -03:00
Christopher Michael
7f7f7f7c1f
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>
2013-02-19 13:14:31 +00: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
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
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
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
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
Jaehwan Kim
e655f0b735
Fix build break
2013-02-15 20:15:58 +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
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