Commit Graph

1322 Commits

Author SHA1 Message Date
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
Carsten Haitzler 179fd31b77 add api and lets test it - i'll document it later, but need to test
first.



SVN revision: 83867
2013-02-13 11:35:46 +00:00
Carsten Haitzler 5fa5f1430b small change to something never used/tested much ... cserve2 - FAIL if
an existing cserve 2 client is there.



SVN revision: 83866
2013-02-13 11:32:30 +00:00
Cedric BAIL 495bcba4ac efl/eo: add an interface to give the list of parameter directly.
I restrained myself to not name it vodooooo !


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


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



SVN revision: 83840
2013-02-12 06:49:42 +00:00
Cedric BAIL 5acb8abc5c efl/evas: fix that awesome memory leak in E17 and every apps that don't change font name.
SVN revision: 83837
2013-02-12 06:07:25 +00:00
Cedric BAIL ed58d0dd05 efl/eina: let's do all include.
SVN revision: 83833
2013-02-12 01:42:47 +00:00
Stefan Schmidt a9b1e78916 efl/evas: Remove stray ; from evas_gl_core.
SVN revision: 83830
2013-02-11 15:03:56 +00:00
Stefan Schmidt 446687d63d efl/edbus: Make sure to compare EOF against an int from fgetc.
Fgetc() return an int to clearly detect EOF. If you want to read more about it:
http://stackoverflow.com/questions/11057259/fgetc-checking-eof

SVN revision: 83829
2013-02-11 15:03:41 +00:00
Stefan Schmidt 62a20b6e95 efl/evas_w32/engine: Add interface name and version.
Again they are already used but nobody did bother to declare or define them.
I have choosen the name with what came into my head first and version seem
to be 1 in other engines, too. Evas engine gods please review.

SVN revision: 83826
2013-02-11 13:39:16 +00:00
Stefan Schmidt 4ae1c0d1cb efl/evas_w32/engine: Add and declare a variable.
iface is already be used in the code but not available as variable at all.

*spank, spank*

SVN revision: 83825
2013-02-11 13:27:20 +00:00
Stefan Schmidt 6ef1fc791a efl/evas_w32/engine: Fix typo to have a functional #endif
SVN revision: 83824
2013-02-11 13:18:23 +00:00
Stefan Schmidt fe86e29fa6 efl/ethumb: Fix more memory leaks in ethumbd_slave.c
MAke sure we free strdup'ed memory when hittign an error case.

SVN revision: 83818
2013-02-11 10:54:34 +00:00
Stefan Schmidt 664b4b9db4 efl/ethumb: Fix memory leak on error path in ethumb_slave.
When we hit an error with _ec_pipe_str_read we should clean up the strdup
from previous calls to avoid leaks in the error case.

SVN revision: 83817
2013-02-11 10:54:29 +00:00
Christopher Michael 036a067a2c Fix major memory stompage when using ecore_xcb_atom routines.
Thanks TAsn ;)

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83807
2013-02-11 07:12:18 +00:00
Daniel Zaoui ec7a42b204 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83802
2013-02-10 07:52:17 +00:00
Ricardo de Almeida Gonzaga 825df518a9 efl: now if an error occurs on install-examples, the build will stop
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 83796
2013-02-08 17:35:31 +00:00
Ricardo de Almeida Gonzaga 512c759081 efl: add makefile.examples to each lib
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 83795
2013-02-08 17:35:24 +00:00
Ricardo de Almeida Gonzaga e379743c95 efl: add and fix some gcc lines and fix some examples. Its not possible to build from outside the directory with eina_prefix, the build still depends on PACKAGE_DATA_DIR
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 83794
2013-02-08 17:35:17 +00:00
Stefan Schmidt 6467f60395 efl/eina_xattr: Fix memory leak in eina_xattr_value_ls.
In the error case we freed the iterator but not the attribute.

SVN revision: 83791
2013-02-08 15:49:59 +00:00
Stefan Schmidt c24aaf9bd0 efl/emotion: Fix memory leak in gstreamer_ecore_x_check().
The suported atom gets allocated in the ecore_x call but we leave
the scope here without freeing the resource again. Free it when
going out of scope.

SVN revision: 83790
2013-02-08 15:49:56 +00:00
Daniel Willmann 139737247d Refactor evas_sw_xlib_outbuf to allocate less in case of rotations.
Previously whenever evas_software_xlib_outbuf_new_region_for_update was
called for images that were rotated (!= 0) we created a new
evas_cache_image. This resulted in (quite severe) memory spikes whenever
an image was rotated.

Now we try to get the original image first and only if that fails allocate
a new one.

TDevilhorns is already working on the port to the xcb backend.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>

SVN revision: 83789
2013-02-08 15:49:50 +00:00
Daniel Juyung Seo 0ed38dbc64 efl, evas_generic_loaders: Removed unused variable. Set EINA_UNUSED to unused variables.
SVN revision: 83788
2013-02-08 15:47:11 +00:00
Tom Hacohen 548e548632 Evas textblock: Fixed a selection issue.
The issue happens when selecting in strings that have both bidi and different
scripts in the same bidi run. E.g: "עבריתenglishрусскийעברית".

SVN revision: 83786
2013-02-08 15:31:25 +00:00
Carsten Haitzler dbaf2b8fde and handle rotated swapbuf if bufsz doesnt match... PROPERLY.
SVN revision: 83781
2013-02-08 12:22:04 +00:00
Rafael Antognolli db268ceb43 ecore/wayland: Don't use edge info for resizing in some cases.
Maximized/fullscreen will handle the repositioning of the window by
themselves, and restore the window to its original position when coming
back from that state. So there's no need to use the edge information and
manually adjust the window offsets.

SVN revision: 83779
2013-02-08 11:50:09 +00:00
Rafael Antognolli d74b652b29 evas/wayland_egl: Fix Evas pointer assignment.
Don't assign the public data to an Evas *.

SVN revision: 83778
2013-02-08 11:50:06 +00:00
Carsten Haitzler 73e9b8ea3d oops - add back in snprintf.
SVN revision: 83768
2013-02-08 09:00:29 +00:00
Carsten Haitzler c736dd323d fix ecore_x_screen_is_composited...
SVN revision: 83767
2013-02-08 08:56:00 +00:00
Guillaume Friloux 8acf1ebdf2 Improving ecore_con_server_flush to avoid a faceplant over the OOM
Killer when sending big files. I will explain more in a mail comming 
after this commit.


SVN revision: 83766
2013-02-08 08:35:27 +00:00
Carsten Haitzler 5a80685803 swapper infra work - handle if buffer sizes dont match... :)
SVN revision: 83764
2013-02-08 07:23:31 +00:00
Carsten Haitzler afd8a714f4 devilhorns: ummmm lets not segv and run allover the stack shall we? memset the
size of memory we ALLOCATED!



SVN revision: 83757
2013-02-08 03:35:11 +00:00
Christopher Michael 37749b3d3e Add ecore_x_randr_crtc_info_free function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83739
2013-02-07 12:43:55 +00:00
Christopher Michael 736d81e866 Add ecore_x_randr_crtc_info_free function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83738
2013-02-07 12:43:51 +00:00
Christopher Michael 2fe1fa053f Fix crtc_info_get function (memcpy fails here in some cases, so
manually allocate and copy things over).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83737
2013-02-07 12:43:46 +00:00
Cedric BAIL ad0bb4c6f6 efl/evas: small speed improvement when doing auto sizing of text object.
SVN revision: 83732
2013-02-07 10:48:07 +00:00
Christopher Michael 20d1df8a23 Add ecore_x_randr_crtc_info_get function.
NB: This will save us Many X round-trips in the new randr dialog.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83728
2013-02-07 09:32:24 +00:00
Christopher Michael 913f50642c Add new Ecore_X_Randr_Crtc_Info structure.
Add header function for ecore_x_randr_crtc_info_get.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83727
2013-02-07 09:28:58 +00:00
Daniel Juyung Seo 48a06f1252 eina eina_inlist.c: Fixed formatting while reading the code.
SVN revision: 83714
2013-02-07 08:03:44 +00:00
Jihoon Kim 8297e007ba fix typo in document about ecore_getopt_callback_ecore_evas_list_engines.
It's wrriten by Patryk Kaczmarek <patryk.k@samsung.com>


SVN revision: 83710
2013-02-07 07:45:04 +00:00
Cedric BAIL e684f5a823 efl/eina: Eina_Tiler take tile size into account.
SVN revision: 83708
2013-02-07 07:32:45 +00:00
WooHyun Jung 5d3e2e48d2 [edje/edje_program] Checking walking_callbacks for not removing patterns which are still used.
SVN revision: 83700
2013-02-07 05:36:47 +00:00
Cedric BAIL d9cafa2052 eina: disable randomisation for Eina_Hash superfast.
SVN revision: 83698
2013-02-07 03:07:32 +00:00
Cedric BAIL 1cb8c3c006 efl/eina: fix map leak in Eina_File.
SVN revision: 83668
2013-02-06 09:28:00 +00:00
Cedric BAIL 57badb0587 efl/eina: check that we always put some random value in hash.
SVN revision: 83655
2013-02-06 07:03:38 +00:00
Rafael Antognolli a158958267 ecore/wayland: Always send the mouse button event.
Don't send only the mouse button stored inside input->button, since more
than one button may be pressed and unset the input->button when
unpressed.

SVN revision: 83647
2013-02-05 18:21:33 +00:00
Eduardo Lima (Etrunko) 251544ad7e Fix return of ecore_wl_outputs_get() function
This should return the pointer to the list, to get the desired behavior.
Fixes ticket #2252.

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 83644
2013-02-05 17:23:38 +00:00
U. Artie Eoff a2197ce503 Export API to C++, add wl_registry and global accessors
Add #ifdef __cpluscplus to Ecore_Wayland.h so the API can be used by C++
programs.  Add accessors for the wl_registry and the globals list.

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>

Patch by: "U. Artie Eoff" <ullysses.a.eoff@intel.com>



SVN revision: 83642
2013-02-05 16:53:31 +00:00
Tom Hacohen f9cf5bb374 Eo tests: Beginning of test output cleanup.
SVN revision: 83635
2013-02-05 14:37:28 +00:00
Jihoon Kim e5675179b4 efl/ecore_imf: add comment about ecore_imf_context_cursor_position_set()
SVN revision: 83630
2013-02-05 13:43:47 +00:00
Rafael Antognolli 74cb944f25 ecore/wayland: Add window state changed callback to Ecore_Wl_Window.
This will allow it to report to Ecore_Evas that the window has changed
its state. Elementary uses this to update its maximized/fullscreen/other
window states internal information.

The code that uses this callback is also added to Ecore_Evas.

SVN revision: 83625
2013-02-05 12:19:40 +00:00
Christopher Michael 562b278b52 Be a lot more pedantic and add some more safety checks about xrandr
return values (ie: if xrandr returns 0 crtcs, then we don't need to
allocate anything, etc, etc, etc).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83624
2013-02-05 11:55:51 +00:00
Christopher Michael 0c76117e1e Be a bit more pedantic when getting outputs for a crtc, in that if
xrandr returns 0 outputs, then free resources and return null quickly.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83623
2013-02-05 10:51:57 +00:00
Christopher Michael f317906408 Set number of returned modes early in the process.
Let's be a bit pedantic here, if the number of returned modes is Zero,
then just free resources and get out.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83617
2013-02-05 08:53:18 +00:00
Rafael Antognolli cc2b953b65 ecore_evas/wayland_egl: Fix window resize when using meta+middle click.
It's needed to set the edge where the middle click is being done in
order to allow Evas know which direction the resize should take.

SVN revision: 83610
2013-02-04 18:40:14 +00:00
Raphael Kubo da Costa 29dd8e2b47 evas: Stop initializing and shutting Fontconfig down
A few days ago I was investigating a bug in the EFL WebKit port and
noticed WebKit's and Evas' handling of Fontconfig are somewhat
incompatible: while the evas_font code calls both FcInit() and FcFini()
when on initialization and shutdown, respectively, WebKit keeps some
Fontconfig objects alive until the process exits. In practice, this
means that shutting Evas down will cause FcFini() to assert because
there are objects which have not been properly destroyed.

This is not really a WebKit-specific problem, as any program which also
uses Fontconfig directly and shuts Evas down before destroying all FC
resources it has allocated is going to crash in the same way.

Other libraries such as Qt, Pango and Cairo do not explicitly initialize
and shut Fontconfig down. Evas itself got this code in r40242 and was
later adjusted in r45829 and r74870.

Since we can't completely control the lifetime of all Fontconfig objects
used in client code, I was thinking of doing the same thing as other
libraries do and get rid of the calls to FcInit() and FcFini(). The part
which is really important is not calling FcFini() -- this was already
done for a while in the r45829 which I mentioned. Valgrind will complain
about some "still reachable" memory blocks, but that's not really
important (as raster said in that revision's commit message, "things may
look like they leak in Valgrind - they dont. in reality").

Note: tasn tried to talk about it with fc guys and it's the
way to go. They won't implemented refcount as suggested in our ml.

Patch by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>



SVN revision: 83605
2013-02-04 15:37:41 +00:00
Raphael Kubo da Costa b236ac69bd evas: Rename evas_font_zero_presure()
There's an obvious typo in the function name, so appease my OCD and
rename it.

Patch by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>



SVN revision: 83604
2013-02-04 15:33:38 +00:00
Raphael Kubo da Costa ad5355a307 edbus: Update EDBUS_VERSION_MINOR
Patch by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>



SVN revision: 83603
2013-02-04 15:29:41 +00:00
Cedric BAIL 01dba3fbc0 efl/eina: prevent denial of service on eina_hash.
Thanks goes to Thiago Macieira for sharing the issue. This
is the result of the cross-desktop talk at fosdem. A lot more
comming in the futur !


SVN revision: 83578
2013-02-04 07:52:56 +00:00
Jihoon Kim 4b1edd906c efl/edje_entry: support &, < and > in preedit string
SVN revision: 83575
2013-02-04 00:57:50 +00:00
Mike Blumenkrantz afa9c0ab97 fix typo in stringshare_refplace doc
SVN revision: 83565
2013-02-01 12:57:44 +00:00
Christopher Michael cdb82dc2df Tell X to create the edid atom if it is missing so we can return valid
edid information.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83556
2013-02-01 12:06:55 +00:00
Christopher Michael e6be42978b Length is optional here when getting edid from output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83554
2013-02-01 11:50:59 +00:00
Mike Blumenkrantz 1f9a84b9cc add eina_stringshare_refplace(): same as replace(), but calls ref instead of add
also fixed a small doc error


SVN revision: 83549
2013-02-01 11:12:33 +00:00
Mike Blumenkrantz bfc76668f4 finally addressing complaints regarding eina_list_last_data_get() not being a function. well now it is
SVN revision: 83547
2013-02-01 11:02:53 +00:00
Mike Blumenkrantz f9d80e493a add eet_data_descriptor_name_get()
SVN revision: 83546
2013-02-01 10:59:23 +00:00
Guillaume Friloux a3f013ad2f Fixing a mem leak by adding a call to dns_ai_close which will save us
800 bytes per ecore_con_server_connect() call.


SVN revision: 83517
2013-01-31 14:04:54 +00:00
Jaehwan Kim 2c3b1b4143 Fix the EVAS_CALLBACK_MOUSE_MOVE callback is called even if the grabbed object is invisible by proxy object.
SVN revision: 83501
2013-01-31 05:52:59 +00:00
Mike McCormack 089bfed33f efl: Fix a warning
Signed-off-by: Mike McCormack <mike@atratus.org>

SVN revision: 83498
2013-01-31 03:30:59 +00:00
Jihoon Kim 916ef25fe8 efl/edje entry : Remove ecore_imf_context_cursor_position_set in functions related to selection.
SVN revision: 83495
2013-01-31 01:01:33 +00:00
Christopher Michael ea30a66335 Since we actually support RandR 1.4 now, lets increment the minor
version number.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83484
2013-01-30 15:12:22 +00:00
Christopher Michael 8075dbc796 Remove blank line.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83483
2013-01-30 15:12:15 +00:00
Tom Hacohen 4b230bb164 Eo dbg info: Add support for to_string.
SVN revision: 83481
2013-01-30 13:35:31 +00:00
Christopher Michael 324e84e307 Add UNUSED for parameter that is not used.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83474
2013-01-30 10:30:54 +00:00
Christopher Michael afcc2c64c7 Actually Implement RandR 1.4 functions (with code) ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83471
2013-01-30 10:18:44 +00:00
Christopher Michael d2a5654c2a Fix randr 1.4 function declarations to be sane (match rest of efl):
There is no point in returning a rectangle if we are filling in the
  x, y, w, h params also. That's just stupidness.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83470
2013-01-30 10:18:41 +00:00
Christopher Michael 469aebad27 Fix gamma functions (unsure how this all got messed up from previous
commit).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83469
2013-01-30 10:18:38 +00:00
Christopher Michael cdeedfb975 Fix parameters for new RandR 1.4 functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83468
2013-01-30 10:18:35 +00:00
Christopher Michael 4739b506c0 Add the missing RandR 1.4 functions to Ecore_X header.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83467
2013-01-30 10:18:32 +00:00
Christopher Michael 1330412be7 Deprecate old ecore_x_randr_crtc_gamma functions.
Add new ecore_x_randr_crtc_gamma functions that use the proper
structure.
Add some missing UNUSED for function params.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83465
2013-01-30 09:32:52 +00:00
Christopher Michael 7fbaead218 Deprecate old ecore_x_randr_crtc_gamma functions.
Create new (proper) Ecore_X_Randr_Crtc_Gamma_Info structure.
Add new ecore_x_randr_crtc_gamma functions that use the proper
structure.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83464
2013-01-30 09:32:44 +00:00
Christopher Michael 390c54eda3 Add missing UNUSED to some function parameters.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83458
2013-01-30 07:25:43 +00:00
Sanjeev BA 7b55dc5135 Remove redundant return statement.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 83454
2013-01-30 00:27:28 +00:00
Boris Faure d9e05b1b40 ecore_x: randr: don't crash when launching e without second screen
SVN revision: 83449
2013-01-29 19:55:42 +00:00
Tom Hacohen 70156285b0 Eo dbg: Use eina_value as the debug info type.
SVN revision: 83443
2013-01-29 16:36:01 +00:00
Christopher Michael 139ca23be1 Remove ecore_x_randr.h file from Make. Not needed anymore.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83440
2013-01-29 14:48:18 +00:00
Christopher Michael 8e62eb9519 Implement & fix ecore_x_randr code.
NB: All functions which are in the Ecore_X header have now been
implemented except for 2.

NB: No support yet for the RandR 1.4 functions.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83439
2013-01-29 14:48:14 +00:00
Christopher Michael ed1de4e72e Fix makefile for new randr code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83438
2013-01-29 14:48:11 +00:00
Christopher Michael 3888089a7f Remove old randr code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83437
2013-01-29 14:48:08 +00:00
Christopher Michael c951fb5a2d Use palette mode none for conversion.
Comment out idle_flush (for now) as it is causing some segfaults with
elm_win_util_standard_add for some strange reason.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83436
2013-01-29 14:40:21 +00:00
Carsten Haitzler a349bdc734 fix edje cache miss
SVN revision: 83431
2013-01-29 13:48:15 +00:00
Carsten Haitzler 6bf7dd8775 also check priv->o before..
SVN revision: 83428
2013-01-29 10:45:31 +00:00
Carsten Haitzler c73bf6fd00 emotion - be gooder. (use DEL callback not fREE and .. check priv->o!
SVN revision: 83427
2013-01-29 10:44:44 +00:00
Carsten Haitzler bf9f42be90 add @since.
SVN revision: 83419
2013-01-29 08:24:21 +00:00
Carsten Haitzler 29ebec4bfb MINOR feature... not worth changelogging - add send event flag to
ecore-x-hide event.



SVN revision: 83418
2013-01-29 08:23:40 +00:00
Aharon Hillel 028f059d32 Clouseau-Eo integration: Added debug info functions.
From now, classes implementing the Eo function with id
EO_BASE_SUB_ID_DBG_INFO_GET will be able to show in Clouseau their own
specific information.
Information contents is controlled by the class itself and no more
by Clouseau. Basic types and lists are supported..

Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 83410
2013-01-29 06:36:23 +00:00
Jihoon Kim ed8e0f222a efl/ecore_imf: remove trailing whitespace in Ecore_IMF.h
SVN revision: 83409
2013-01-29 06:17:13 +00:00
Cedric BAIL da4efb7b56 efl/edje: one less use of evas_object_type_get.
SVN revision: 83408
2013-01-29 06:01:42 +00:00
Jihoon Kim 3291f02bff efl/ecore_imf: fix wrong commit. name, address type shouldn't be uploaded :(
SVN revision: 83403
2013-01-29 04:41:23 +00:00
Jihoon Kim 27968b4fec efl/ecore_imf: fix typo in doxygen
SVN revision: 83397
2013-01-29 02:52:53 +00:00
Jihoon Kim aee571bf18 efl/ecore_imf: supplement the document about ecore_imf_context_cursor_position_set and ecore_imf_context_reset
SVN revision: 83396
2013-01-29 02:43:42 +00:00
Cedric BAIL 73694511de efl/edje: in fact we can now use eo_isa for that purpose.
SVN revision: 83395
2013-01-29 02:29:34 +00:00
ChunEon Park 8a7e99b67e edje - [Edje: Bug fix] NULL check is added before strcmp() in _edje_real_part_swallow() function
Hi,

Can some one please verify and merge the attahed patch with open source svn Edje code.

[Issue details :]
NULL checking is not done before sending a string to strcmp().
In _edje_real_part_swallow() function of edje_util.c file, evas_object_type_get() API can return NULL and if
this NULL value is directly passed to strcmp(), it causes a crash.

[Issue fix :]
NULL check is added for obj_type before passing it to strcmp().

Thanks & Regards,
Sumanth

Signed-Off-By: Sumanth Krishna (sumanth.m@samsung.com)



SVN revision: 83393
2013-01-29 00:07:17 +00:00
Rafael Antognolli c46b096c78 ecore_evas/wayland: Merge code from egl and shm engines into common.
Since the render code on both engines is using the frame callback, let's
merge it to avoid code duplication.

SVN revision: 83390
2013-01-28 20:28:19 +00:00
Rafael Antognolli 9afa66d722 evas/wayland_egl: Add do_async flag to this engine, but don't use it.
SVN revision: 83389
2013-01-28 20:00:03 +00:00
Rafael Antognolli f75b01b545 ecore_evas/wayland: Add _ecore_evas_wl_common_render_updates back.
It shouldn't be removed, since it's still being used.

SVN revision: 83388
2013-01-28 19:45:41 +00:00
Rafael Antognolli 1210067fbe ecore_evas/wayland_egl: Only render if last frame has been presented.
This avoids blocking in eglSwapBuffers and has the side effect of
avoiding doing unnecessary work - painting where a frame won't be
presented.

We do this by using the event that the wayland compositor will send us
to tell us that the frame has been presented. Due to the fact that
evas_render_updates() could do no work and not cause a eglSwapBuffers we
must always have a frame callback listener setup.

Original patch by: Rob Bradford <rob@linux.intel.com>

(I just adjusted the patch to the single efl tree)

SVN revision: 83387
2013-01-28 19:13:46 +00:00
Daniel Willmann 003b7f12d8 edje-multisense: Don't fail if edje-multisense is not enabled
Ifdef all the functions that reference ecore_audio so this file can be
compiled without ecore_audio enabled.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 83384
2013-01-28 16:05:49 +00:00
Daniel Juyung Seo d3e6ba7b78 ecore Ecore_Getopt.h: use one liner for function declaration like other apis.
SVN revision: 83383
2013-01-28 15:47:19 +00:00
Daniel Willmann d2f926a449 edje-multisense: Get rid of the old files
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 83382
2013-01-28 15:15:37 +00:00
Daniel Willmann e069b829bf edje-multisense: Replace sound handling with ecore_audio
The speed keyword is not yet implemented.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 83380
2013-01-28 15:15:20 +00:00
Christopher Michael 5df48569c8 Free the swapper when we remove the Outbuf.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83378
2013-01-28 08:31:22 +00:00
Carsten Haitzler a8b7d8551d oops - forgot to free swapper on swapbuf free! :)
SVN revision: 83377
2013-01-28 04:00:36 +00:00
Cedric BAIL 1f1e0cd332 efl/evas: roll in Eina_Cow for Evas_Object_Image cur/prev.
This gave us back around 500KB at peak memory consumption in expedite.
More test to come.


SVN revision: 83376
2013-01-28 00:28:53 +00:00
Cedric BAIL 6414b0864f efl/eina: fix some memleak and improve speed of eina_cow_memcpy.
SVN revision: 83375
2013-01-28 00:22:21 +00:00
Cedric BAIL 6174b1c5cf efl/evas: make shutdown/init cycle work again.
SVN revision: 83368
2013-01-27 08:42:57 +00:00
Cedric BAIL 00f8823b95 efl/evas: use inheritance instead of strcmp and work around code running between destructor and free.
SVN revision: 83367
2013-01-27 08:34:22 +00:00
Cedric BAIL 8589836860 efl/evas: reduce commit to evas_object_image.
SVN revision: 83365
2013-01-27 06:31:11 +00:00
Jiyoun Park e290dfae93 add info log related with mouse down/up
SVN revision: 83351
2013-01-26 09:47:21 +00:00
Jihoon Kim 7cd88ec35a ecore_imf_example: add ecore_imf_context_reset in mouse down event callback
SVN revision: 83341
2013-01-26 03:30:16 +00:00
Jihoon Kim 782a3f0a1a ecore_imf_example: add parameter NULL checking
SVN revision: 83340
2013-01-26 03:01:12 +00:00
Jihoon Kim 0753ec709d ecore_imf_example: fix comment style
SVN revision: 83339
2013-01-26 02:58:50 +00:00
Jihoon Kim 81370c8926 ecore_imf_example: add mouse down event handler
SVN revision: 83338
2013-01-26 02:49:39 +00:00
Carsten Haitzler a9eeda6300 paranoia++ -> if g->object is null - dont use it. :/
SVN revision: 83337
2013-01-26 02:34:59 +00:00
Boris Faure 11b98b32e2 evas: make e start again…
SVN revision: 83336
2013-01-25 22:21:37 +00:00
Mike McCormack 3fe5d4d6aa efl: Fix shadow warning
Signed-off-by: Mike McCormack <mike@atratus.org>

SVN revision: 83335
2013-01-25 21:30:54 +00:00
Mike McCormack 3642599e8f efl: Fix unused parameter warning
Signed-off-by: Mike McCormack <mike@atratus.org>

SVN revision: 83334
2013-01-25 21:30:48 +00:00
Stefan Schmidt eae46ba95d efl/eina: Fix strings to compare correctly and pass test suite.
This one is for Cedric.

SVN revision: 83332
2013-01-25 16:03:47 +00:00
Cedric BAIL c538d8bde3 efl/evas: prevent leak and over write.
SVN revision: 83331
2013-01-25 15:19:32 +00:00
Cedric BAIL 6c7edfd38e efl/evas: roll in more cow, using a new macro per Eina_Cow.
SVN revision: 83325
2013-01-25 12:15:38 +00:00
Christopher Michael aa1f8b4eac Let's do malloc the EFL way here.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83320
2013-01-25 07:19:48 +00:00
Cedric BAIL 93d1705f77 efl/eina: what the ?? Update text for magic test...
SVN revision: 83319
2013-01-25 06:16:33 +00:00
Jihoon Kim 7dd5b326d8 edje entry: move ecore_imf_context_cursor_position_set from mouse down event to mouse up event
SVN revision: 83318
2013-01-25 05:15:46 +00:00
Jihoon Kim 57103879f5 edje entry: remove ecore_imf_context_reset, cursor update in mouse move event because it's useless.
SVN revision: 83317
2013-01-25 05:10:47 +00:00
Cedric BAIL 7636dc88c4 eina: try to fix debug build typo.
SVN revision: 83315
2013-01-25 01:20:58 +00:00
U. Artie Eoff c36058806a Cache wayland globals
Store the wayland registry globals in a list so that we can bind to them from a
user/test program. When a custom interface (protocol extension) is used in a
wayland compositor, this allows user/test program to use that interface. For
instance, one might provide a custom wayland test protocol that give access to
otherwise hidden/missing functionality that allows effective automated testing
(in wayland engines). See the Weston unit test suite for an example of this
concept.

Patch by: "U. Artie Eoff" <ullysses.a.eoff@intel.com>



SVN revision: 83312
2013-01-24 22:03:22 +00:00
Boris Faure fb3c280a95 efl: more valgrind related fixes on eina_cow
SVN revision: 83311
2013-01-24 21:42:18 +00:00
Eduardo de Barros Lima 08b96ebc1c Move typedef enum declarations after the enum to make g++ happy.
When compiling a C++ program that includes Ecore_Wayland:

Ecore_Wayland.h:56:14: error: use of enum ‘_Ecore_Wl_Window_Type’ without previous declaration
Ecore_Wayland.h:56:56: error: invalid type in declaration before ‘;’ token
Ecore_Wayland.h:57:14: error: use of enum ‘_Ecore_Wl_Window_Buffer_Type’ without previous declaration
Ecore_Wayland.h:57:70: error: invalid type in declaration before ‘;’ token

This patch fixes ticket #2217.



SVN revision: 83310
2013-01-24 21:35:06 +00:00
Boris Faure 8d13c5ce3e efl: eina_cow: fix some valgrind instrumentation
SVN revision: 83308
2013-01-24 21:06:41 +00:00
Bruno Dilly 1f30bdde5c edbus: implement edbus_proxy_data_{get, set, del}
The prototypes for those functions are defined in edbus_proxy.h, however
there's no implementation at all.

By Raphael Kubo <raphael.kubo.da.costa@intel.com>



SVN revision: 83299
2013-01-24 13:09:26 +00:00
Christopher Michael def83a6eb1 Add logging function macros
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83294
2013-01-24 12:15:11 +00:00
Christopher Michael cfbdc648d1 Add logging functions
Remove dead commented out code
Do not call wl_surface_attach if the buffer is the same as the one
already attached.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83293
2013-01-24 12:15:07 +00:00
Christopher Michael b8a9d67c88 Add code to delete the shm pool when we destroy the swapper.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83291
2013-01-24 09:59:50 +00:00
Christopher Michael 76dea59613 Rewrite swapper code to use One shm pool and allocate buffers from
that pool.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83290
2013-01-24 09:21:40 +00:00
Christopher Michael e645261b95 Remove 'return' in idle_flush.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83289
2013-01-24 09:21:37 +00:00
Christopher Michael 801cfc567d Use eina_rectangle_free
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83288
2013-01-24 09:21:34 +00:00
Christopher Michael fdd0a37c61 Add onebuf field to Outbuf struct.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83287
2013-01-24 09:21:30 +00:00
Christopher Michael 0e6b2ad6f7 Reset Render_Engine onebuf if it was set previously.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83286
2013-01-24 09:21:27 +00:00
Christopher Michael e1fdc232e1 Use eina_rectangle_free to free the rect.
Be sure to increment i here.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83285
2013-01-24 09:21:24 +00:00
Christopher Michael 95d6577c2d Add function prototype for swapper_idle_flush.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83284
2013-01-24 09:21:21 +00:00
Christopher Michael fd2c68dbf2 Add a swapper_buffer_idle_flush function to loop the Wl_Buffer
structures inside the swapper and release memory of any invalid ones.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83283
2013-01-24 09:21:18 +00:00
Christopher Michael 913d0cd170 Add code to handle idle_flush which will release memory that is unused
by invalid buffers.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83282
2013-01-24 09:21:15 +00:00
Christopher Michael f785c9fc21 Support an environment variable to set the number of buffers (double
buffer by default).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83281
2013-01-24 09:21:12 +00:00
Christopher Michael 18ba710320 Double buffer by default.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83280
2013-01-24 09:21:09 +00:00
Christopher Michael 313e82c680 Rename the env variable that we will check for buffering support.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83279
2013-01-24 09:21:06 +00:00
Christopher Michael 40dec84b3e Set the engine's wl_shm reference during creation.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83278
2013-01-24 09:21:04 +00:00
Christopher Michael 949d008b13 Check for valid wl_shm before trying to create the shm pool.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83277
2013-01-24 09:21:01 +00:00
Christopher Michael fa783d8e75 Fix typo.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83276
2013-01-24 09:20:58 +00:00
Christopher Michael b5c4759f1d Rename 'time' parameter in function prototype.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83275
2013-01-24 09:20:55 +00:00
Christopher Michael 0d8e6279c5 Rename 'time' parameter.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83274
2013-01-24 09:20:45 +00:00
Christopher Michael 4203a3afbc Remove unused variable.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83273
2013-01-24 09:20:40 +00:00
Christopher Michael aed4b4e7b6 Remove included evas_outbuf.h
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83272
2013-01-24 09:20:36 +00:00
Christopher Michael c329317711 Modify ecore_evas_wayland_shm to handle passing the wl_shm and
wl_surface to the new double-buffer engine.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83270
2013-01-24 09:20:29 +00:00
Christopher Michael 7ebc5523bb Remove old line which did a wl buffer attach.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83269
2013-01-24 09:19:51 +00:00
Christopher Michael 269ce8364f Remove all old code from ecore_evas that involved creating the wayland
buffer and shm pool.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83268
2013-01-24 09:18:34 +00:00