Commit Graph

16435 Commits

Author SHA1 Message Date
Sebastian Dransfeld 7f9dc64529 evas: correct notation to indicate unused variable
SVN revision: 67305
2012-01-18 23:34:05 +00:00
Sebastian Dransfeld 45f0dcbd45 evas: only check references ifndef EVAS_CSERVE
We only check the value of references if EVAS_CSERVE isn't defined, so
no need to define it or assign it if EVAS_CSERVE isn't defined.

SVN revision: 67304
2012-01-18 23:33:54 +00:00
Sebastian Dransfeld 26de65cf2c evas: before_char is only used with BIDI_SUPPORT
SVN revision: 67303
2012-01-18 23:33:43 +00:00
Sebastian Dransfeld c9abcf691d evas: Remove unused variables
SVN revision: 67302
2012-01-18 23:33:33 +00:00
Sebastian Dransfeld ccfb163282 evas: par_len is only used with BIDI_SUPPORT
SVN revision: 67301
2012-01-18 23:33:21 +00:00
Sebastian Dransfeld 28dff90eff evas: Fix shadow warnings
SVN revision: 67300
2012-01-18 23:33:07 +00:00
Cedric BAIL 4a853cde86 eina: be able to track and display our memory over head when using malloc.
NOTE: it is worth enabling it and see EINA_LOG_INFO displaying how much memory
we are wasting. Should help tune our memory allocator usage.


SVN revision: 67296
2012-01-18 17:47:05 +00:00
Cedric BAIL a49186092e eio: temporary fix when splice is not available.
SVN revision: 67294
2012-01-18 15:45:01 +00:00
Youness Alaoui c63f4cce09 Edje: Fix big-endian issue with aspect_preference being declared as an enum/int and read from file as a char
SVN revision: 67292
2012-01-18 06:16:01 +00:00
Youness Alaoui 18eedb2caa Ecore: Send joypad buttons as key down/up events and properly send the quit request
SVN revision: 67291
2012-01-18 06:15:52 +00:00
Jihoon Kim c652e4e78a From: Jihoon Kim <imfine98@gmail.com>
Long time ago, in
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg32795.html
mail thread and IRC,

I talked with about problem of asynchronous event API such as
ecore_imf_context_commit_event_add,
ecore_imf_context_preedit_changed_event_add, so on.

In short, The problem is that key event and text_set APIs are processed
immediately, but commit event and preedit changed event is processed
asynchronously  because those APIs add each event to ecore event queue.

To fix these problems, I've decided to create synchronous event APIs such
as ecore_imf_context_event_callback_add, del and call.

For considering compatibility, sync and async event callback functions are
used in xim and scim immodule.



SVN revision: 67290
2012-01-18 04:38:04 +00:00
Guillaume Friloux 537bc81acb From: Guillaume Friloux <guillaume.friloux@asp64.com>
Hello again e people, i have play a bit with eina's comments to get
proper namings and fix broken references.



SVN revision: 67289
2012-01-18 04:32:37 +00:00
Carsten Haitzler 46c5dd5329 void impl for eina_lock stuff should return "innocuous" values - ie
pretend things succeed ad on a lockless platform u cant have threads
anyway :)



SVN revision: 67288
2012-01-18 04:27:13 +00:00
Carsten Haitzler 25171bf215 lets check write err so we dont get warnings. :/
SVN revision: 67287
2012-01-18 04:13:52 +00:00
Carsten Haitzler 0e9a475092 update all minor versions to 2 (or 6) - and yes. i missed making most
be 1.1 (or 1.5) for the last release. too late. THIS is why i'm sick
and tired of all the bloody separate libs that have to be versiioned
and build and released separately. :( too many places to go fix up per
release.



SVN revision: 67284
2012-01-18 02:32:36 +00:00
Tom Hacohen 47d0c9c67b Evas tests: use unitptr_t in callback test.
SVN revision: 67277
2012-01-17 15:08:38 +00:00
Guillaume Friloux 14ff0e1ae0 ecore - Various patches in ecore's doc
Hello e people, i modified some comments to get less doxygen
warnings/errors.

Signed-Off-By: Guillaume Friloux <guillaume.friloux@asp64.com>




SVN revision: 67270
2012-01-17 11:37:35 +00:00
Carsten Haitzler a70fc50208 we can optimize matching by breaking loop when match becomes 0 :)
SVN revision: 67267
2012-01-17 09:15:31 +00:00
Carsten Haitzler ad3aca617f and in a fit of rage... i'm removing those EINA_PURE's - one of them i
found was causing compiler optimizations to, in some compielr versions
and optimization levels, to skip a func in the eva stest suites...
which is wrong. no more pure mumbo. gone entirely.
evas_textblock_string_escape_get() was the one.



SVN revision: 67266
2012-01-17 09:15:05 +00:00
Tom Hacohen 626b70afb3 Edje entry: Handle entry newline legacy mode better.
SVN revision: 67265
2012-01-17 08:38:37 +00:00
Carsten Haitzler 4ae6816486 add EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN for accessibility
:)



SVN revision: 67264
2012-01-17 08:35:32 +00:00
Christopher Michael 58c865325d Ecore_Evas (wayland): Add/Fix more dnd code.
SVN revision: 67248
2012-01-16 19:11:17 +00:00
Christopher Michael 8de10044b4 Ecore_Wayland: When handling wayland interfaces (during startup), we
cannot depend on the order in which the interfaces are given to us, so
we cannot create the data_device until we have both the input device
and the data_device_manager. Fix that.

Add more dnd code (not complete yet because frankly, the way Wayland
handles dnd & selection code is crappy, stupid, and difficult to
implement).



SVN revision: 67247
2012-01-16 19:10:33 +00:00
Iván Briano 11d67f493d Add evas_object_smart_callback_del_full API
Patch by Raphael Kubo Costas (rakuco)


SVN revision: 67246
2012-01-16 17:25:40 +00:00
Tom Hacohen 544dfc53b3 Edje: Fixed a couple of warnings that really don't indicate issues.
Global shadow warnings are annoying and thus will be ignored at the moment,
There are other issues as well though, for example, not using cpp_token_file.
I don't know if that's intended or not, so I won't just suppress the warning.

SVN revision: 67242
2012-01-16 12:34:13 +00:00
Tom Hacohen ee4f301853 Ecore: Fix some more warnings.
I see a future in which there'll be no warnings in EFL.
At the mean time, lets do our best to make the buildbot happy. :)

SVN revision: 67240
2012-01-16 09:30:29 +00:00
Tom Hacohen 98aee0ddde Ecore: Fix some warnings.
SVN revision: 67239
2012-01-16 09:22:42 +00:00
Jiyoun Park 6c1eb13012 modify ecore_evas_extn_socket_new and ecore_evas_extn_plug_new.
divide each new functions to two part
which create ecore evas and create socket for upper layer.
socket: new and listen
plug: new and connect


SVN revision: 67238
2012-01-16 08:48:24 +00:00
Leif Middelschulte 67cce962f6 Merge branch 'randr'
SVN revision: 67234
2012-01-15 22:03:45 +00:00
Stefan Schmidt e5e51917d9 From: Stefan Schmidt <stefan@datenfreihafen.org>
Date: Sun, 15 Jan 2012 13:46:07 +0100
Subject: [PATCH 2/2] ecore_con_info: Remove unused err variable.


SVN revision: 67233
2012-01-15 18:42:13 +00:00
Tom Hacohen 5a97769481 Eet tests: Removed debug output, previous ugly hack fixed it.
SVN revision: 67232
2012-01-15 11:37:16 +00:00
Tom Hacohen 7e7af76a71 Eet tests: An ugly hack to make it work with absolute paths.
SVN revision: 67231
2012-01-15 11:31:48 +00:00
Tom Hacohen 3b5505aaaa Eina benchmark: Fixed compilation warnings.
SVN revision: 67230
2012-01-15 11:20:59 +00:00
Tom Hacohen e420ea7505 Eet tests: Added an hack to test what's wrong with the build bot.
SVN revision: 67229
2012-01-15 11:08:02 +00:00
Tom Hacohen aeef927046 Eina value: Fixed signed and unsigned comparison.
SVN revision: 67227
2012-01-15 10:32:10 +00:00
Tom Hacohen 3bbb598ea2 Eet tests: Support out of source builds.
SVN revision: 67226
2012-01-15 10:29:09 +00:00
Tom Hacohen 491f887708 Eina tests: Fixed binbuf test.
SVN revision: 67225
2012-01-15 10:10:05 +00:00
Tom Hacohen 18b3a49bd1 Eet tests: Fixed shadow warnings.
SVN revision: 67224
2012-01-15 09:57:20 +00:00
Gustavo Sverzut Barbieri 7f2ad91c9c minor improvements to doc (just to trigger buildbot)
SVN revision: 67223
2012-01-15 04:33:55 +00:00
Gustavo Sverzut Barbieri 3655466c56 whitespace cleanup (just to test build bot)
SVN revision: 67221
2012-01-15 03:20:45 +00:00
Gustavo Sverzut Barbieri a62fc08968 fix eet distcheck.
SVN revision: 67220
2012-01-15 02:33:28 +00:00
Mike Blumenkrantz 0bbf39f83d this change brought to you by: the french
SVN revision: 67208
2012-01-14 04:15:04 +00:00
Mike Blumenkrantz daeb7b6a54 stragglers from 67197
SVN revision: 67206
2012-01-14 04:08:01 +00:00
Carsten Haitzler 2264bfe0b7 wo... this turned out to be much more of a pain. minmul now works -
allows us to multiple a minimim size explicitly for min size calc so
we can do things like have content slide open/closed properly.



SVN revision: 67197
2012-01-14 02:29:13 +00:00
Mike Blumenkrantz 0ec8a5dac2 greatly improve formatting in ecore_imf_xim.c
SVN revision: 67195
2012-01-14 00:04:16 +00:00
Mike Blumenkrantz 4d56b824d2 fix all compile warnings when xim is disabled
SVN revision: 67194
2012-01-13 23:57:25 +00:00
Mike Blumenkrantz 421685162a config.h must be the first header included.
SVN revision: 67192
2012-01-13 23:51:31 +00:00
Jihoon Kim e070cf048f From: Jihoon Kim <imfine98@gmail.com>
Subject: [E-devel] [PATCH] fix build error of ecore_imf_xim when using --disable-xim option
Date: Mon, 9 Jan 2012 19:53:17 +0900

Hello, EFL developers.

When building ecore with --disable-xim option, build error occurs.

This patch will solve this build error problem.

Would you please review and apply in svn?


SVN revision: 67191
2012-01-13 23:50:01 +00:00
Daniel Juyung Seo 1358e68aff ethumb: Updated .gitignore
SVN revision: 67185
2012-01-13 10:27:34 +00:00
Gustavo Sverzut Barbieri 95c845dd5d eina_value: remove left overs.
thanks to stefan_schmidt for spotting it.


SVN revision: 67183
2012-01-13 10:12:16 +00:00
Christopher Michael 3b13af75a6 Ecore_Wayland: Some more work on getting drag-n-drop flushed out.
SVN revision: 67182
2012-01-13 09:33:33 +00:00
Christopher Michael dbe6f16717 Ecore_Wayland: Unbreak shm engine wrt shm_format.
Add more work on dnd code (incomplete still).

NB: We will need to add a method to request non-argb surfaces. For
now, all surfaces are argb.



SVN revision: 67180
2012-01-13 07:46:22 +00:00
Christopher Michael 21975a748f Ecore_Evas (wayland): Implement Fullscreen Set for Shm and Egl.
SVN revision: 67179
2012-01-13 06:46:35 +00:00
Christopher Michael 5623ed37ce Ecore_Wayland: Oops, shm_format should be int. Also, flush display
output on close.



SVN revision: 67178
2012-01-13 06:34:40 +00:00
Christopher Michael 045294c189 Ecore_Wayland: Handle shm format iteration a bit better.
SVN revision: 67177
2012-01-13 06:30:27 +00:00
Christopher Michael 0216b83173 Ecore_Wayland: Add actual code to handle drag-n-drop (not complete
yet). Update shm_format to newer wayland ones.



SVN revision: 67176
2012-01-13 06:18:04 +00:00
Christopher Michael 7bace75fcc Ecore_X(cb): Fix formatting. (whoever did this should lose a finger or
two).



SVN revision: 67170
2012-01-13 01:34:39 +00:00
Christopher Michael a2e9465376 Ecore_Wayland: Implement handling Touch Events.
NB: None of the touch code has been tested yet.



SVN revision: 67169
2012-01-13 01:26:52 +00:00
Christopher Michael ce12a4481b Ecore_Evas (wayland): Do not set the shell_surface_listeners until
After we have set the new surface for the evas engine. Reason being:
The shell_surface_listener_configure event handles resizing the
ecore_evas. If that gets called Before we have set the new engine
surface, then bad crashes can happen.



SVN revision: 67161
2012-01-13 00:01:09 +00:00
Christopher Michael 1a34b86f34 Evas (wayland_egl): Fix 'close' of windows. Basically, we will check
if the eng setup has a NULL surface, and if the RenderEngine has an
existing surface, that means we are hiding/closing the window, and
thus should free the existing RenderEngine Window.



SVN revision: 67160
2012-01-12 23:58:17 +00:00
Gustavo Sverzut Barbieri 91c925fc54 eina_value: add array of struct test.
works nice :-)


SVN revision: 67159
2012-01-12 23:31:42 +00:00
Christopher Michael aeb25bbf4e Ecore_Evas (wayland_egl): Does not make sense to reset the surface of
the evas engine here, as the evas engine is going to be free'd right
after this.



SVN revision: 67156
2012-01-12 23:05:51 +00:00
Gustavo Sverzut Barbieri b1feb2fe8c eina_value: add struct type.
efficient storage with named access, can specify compare, alloc, free
and other operations for even better management.

no changelog/news as this is under eina_value, all new for 1.2 release.



SVN revision: 67155
2012-01-12 22:58:31 +00:00
Gustavo Sverzut Barbieri 32392d38f8 eina_value_blob: nicer convertion from string, array and blob.
SVN revision: 67154
2012-01-12 19:39:16 +00:00
Gustavo Sverzut Barbieri c486211f59 eina_value: simpler and faster code using newer eina_inarray_alloc_at()
SVN revision: 67153
2012-01-12 19:16:46 +00:00
Gustavo Sverzut Barbieri 72d4da0022 eina_inarray: add useful function to open space in array.
no changelog or news as eina_inarray is new and this is already stated
in these files.



SVN revision: 67152
2012-01-12 19:08:26 +00:00
Gustavo Sverzut Barbieri 9d424b133b eina_value: use mempool.
thanks to discomfitor about the tip.



SVN revision: 67151
2012-01-12 18:50:43 +00:00
Gustavo Sverzut Barbieri 90e2259b6f eina_value: improve docs and add blob operations helper.
SVN revision: 67149
2012-01-12 17:45:51 +00:00
Gustavo Sverzut Barbieri 9459b0294d eina_value: improve docs a bit
SVN revision: 67148
2012-01-12 17:35:50 +00:00
Gustavo Sverzut Barbieri 9214ac6015 eina_value: hash now adopts given Eina_Hash.
This should allow users to setup the hash manually, in an efficient
way, then make it an Eina_Value.



SVN revision: 67147
2012-01-12 17:27:53 +00:00
Gustavo Sverzut Barbieri 47b08d1a16 eina_value: list now adopts given Eina_List.
This should allow users to setup the array manually, in an efficient
way, then make it an Eina_Value.


SVN revision: 67146
2012-01-12 17:15:49 +00:00
Gustavo Sverzut Barbieri d5de2617e0 eina_value: array now adopts given Eina_Inarray.
This should allow users to setup the array manually, in an efficient
way, then make it an Eina_Value.



SVN revision: 67145
2012-01-12 17:07:07 +00:00
Gustavo Sverzut Barbieri bf29583354 eina_value: replace non-posix timercmp() with manual comparison.
SVN revision: 67144
2012-01-12 16:48:54 +00:00
Gustavo Sverzut Barbieri 70478893fe eina_value: add missing @since.
SVN revision: 67143
2012-01-12 16:38:53 +00:00
Sung Park 20b3d52669 Added new Evas GL api called evas_gl_config_new/free()
to ensure backward compatibility.  Previously, the user
simply declared a Evas_GL_Config object but this can
cause problems if more config options are added.  So,
we have Evas allocate the config object for the user
so it can handle addition in the future.

Also, added some safety code around _extensions_init


SVN revision: 67141
2012-01-12 13:54:06 +00:00
Christopher Michael 71e63d268f Evas (wayland_egl): Remove printfs (done debugging that).
SVN revision: 67140
2012-01-12 13:10:53 +00:00
Christopher Michael 230b7c015d Ecore_Evas (wayland_egl): Implement free & hide with actual code.
SVN revision: 67139
2012-01-12 13:09:45 +00:00
Christopher Michael a75b3126b2 Evas (gl_x11): Move make current so we only have one if.
SVN revision: 67137
2012-01-12 12:25:21 +00:00
Christopher Michael 574380ccb0 Ecore_X(cb): Fix my focus issues with Sloppy focus.
Add a check for valid connection in ecore_xcb_icccm.c

NB: For some reason, XCB does not like ecore's timestamp which is
being passed in. Since all the calls to ecore_x_window_focus_at_time
are being passed the current timestamp anyway, just use
XCB_CURRENT_TIME until I have more available 'free time' to dig deeper
into this.



SVN revision: 67136
2012-01-12 11:41:38 +00:00
Cedric BAIL 236aec5bec edje: move away from fopen in favor of Eina_File.
SVN revision: 67135
2012-01-12 11:08:19 +00:00
Christopher Michael f7ac548a29 Ecore: egl is not an explicit requirement (anymore) for
ecore_evas_wayland_egl (we are using just the wl_egl functions).



SVN revision: 67133
2012-01-12 09:08:19 +00:00
Christopher Michael 3abbc4f0aa Ecore_Evas: Implement generic ecore_evas_wayland_resize funtion.
SVN revision: 67132
2012-01-12 09:07:22 +00:00
Christopher Michael 334ac03863 Ecore_Evas (wayland_egl): Make ecore_evas_wayland_egl actually work
and draw stuff. Add event handlers for mouse, etc. Implement generic
ecore_evas_wayland_resize function.



SVN revision: 67131
2012-01-12 09:06:47 +00:00
Cedric BAIL c6894cee94 ecore: move self to the right position.
SVN revision: 67130
2012-01-12 09:06:28 +00:00
Christopher Michael ad51dd4bc3 Ecore_Evas (Wayland_Shm): Fix ecore_evas_wayland_shm_resize function.
Does not exist anymore...being replaced with a more generic
ecore_evas_wayland_resize funciton.



SVN revision: 67129
2012-01-12 09:05:12 +00:00
Christopher Michael c0dd6f7975 Evas (wayland_egl): Fix egl detection in check_engine. (In theory, the
old version of this w/ the 3 includes Should be working, but I've
tested it on 2 machines now, and it fails on both with those lines in
there, so I am removing them).

Make wayland_egl engine Actually work and draw stuff now (too many
code changes to list them all separately). See http://i.imgur.com/i2eBE.png.




SVN revision: 67128
2012-01-12 09:01:37 +00:00
Christopher Michael dd7d556916 Evas (gl_x11): We cannot call eglMakeCurrent if we have already called
eglTerminate prior (eg: eglTerminate was in the wrong place here).



SVN revision: 67119
2012-01-12 06:06:07 +00:00
Mike Blumenkrantz b9ec187bb9 fix docs for first half of eina_value: the second half caused me to start drinking heavily
SVN revision: 67112
2012-01-12 03:21:52 +00:00
Gustavo Sverzut Barbieri 113d35f6da eina_value: add blob type.
Nice type that even supports configurable operations such as compare,
free, copy and to_string.

the usual is also supported: provide no ops (operations) and memory
will be left untouched.

nice feature to dump as string :-)



SVN revision: 67109
2012-01-12 03:00:03 +00:00
Gustavo Sverzut Barbieri ed2183c146 missing file.
my bad...


SVN revision: 67108
2012-01-12 02:56:56 +00:00
Gustavo Sverzut Barbieri a125108ebe eina_value: add struct timeval.
may be useful for esskyuehl.



SVN revision: 67106
2012-01-12 01:31:21 +00:00
Gustavo Sverzut Barbieri 3d701ab72f fix C++ compile, add test.
adding a dummy test so we (read: myself ;-)) remember to compile with
c++ and check errors like missing casts.



SVN revision: 67105
2012-01-12 00:24:22 +00:00
Christopher Michael cf6322e938 Ecore_Evas (wayland_shm): Don't issue a surface move if the ecore_evas
is not visible (has no surface).



SVN revision: 67104
2012-01-12 00:06:37 +00:00
Gustavo Sverzut Barbieri 4e74c624d8 eina_value: add hash.
Similar to list and array, but takes string keys instead of position.

It can convert to string, I've added tests for it, but hash algorithm
changes may break the simple comparison I did... and I don't want to
parse the string to be more accurate.



SVN revision: 67103
2012-01-11 23:54:35 +00:00
Christopher Michael f33a71339c Evas (wayland_egl): Oops, missed one rename on the engine info
structure.



SVN revision: 67102
2012-01-11 23:32:58 +00:00
Christopher Michael ec7e18d8b5 Ecore_Evas: Update ecore_evas wayland code to use new engine info
structure.



SVN revision: 67101
2012-01-11 23:29:33 +00:00
Christopher Michael 42e82f9092 Evas (wayland_egl): Update code to use more descriptive name for
engine_info_structure.



SVN revision: 67100
2012-01-11 23:28:39 +00:00
Christopher Michael 17b8c59425 Evas (wayland_egl): Use a more descriptive name for the engine info
structure.



SVN revision: 67099
2012-01-11 23:28:01 +00:00
Christopher Michael b6b56af57e Evas: Also enable gl_common if we are building wayland_egl engine.
SVN revision: 67098
2012-01-11 23:17:54 +00:00
Gustavo Sverzut Barbieri 0b2ddbd396 eina_value: revert bogus array change, add test.
oops! the list commit changed array back! I blame svn not having "git add -p"
and I have to do it by coping files :-/



SVN revision: 67097
2012-01-11 21:55:48 +00:00
Gustavo Sverzut Barbieri 16c03cc014 eina_value: add list type.
Similar to array, but less efficient as uses list nodes. If possible
values are stored on list->data itself, otherwise they are allocated
and the pointer goes as list->data.



SVN revision: 67096
2012-01-11 21:52:32 +00:00
Gustavo Sverzut Barbieri b7539c2ad0 eina_value: convert array to string using [] for single items as well.
SVN revision: 67095
2012-01-11 21:50:40 +00:00
Gustavo Sverzut Barbieri e8710d035b eina_value: fix error condition handling.
SVN revision: 67094
2012-01-11 21:34:49 +00:00
Gustavo Sverzut Barbieri 5e94a82fab eina_value: optimize detection of basic types.
SVN revision: 67090
2012-01-11 19:46:55 +00:00
Cedric BAIL 916047532d ecore: something is wrong ecore_evas_fb use ecore_fb_private.h and ecore_fb_private.h need Ecore_Fb.h.
SVN revision: 67086
2012-01-11 15:31:54 +00:00
Cedric BAIL 8885e90cda ecore: use eina_file_direct_ls (faster, better, cleaner).
SVN revision: 67085
2012-01-11 15:30:40 +00:00
Gustavo Sverzut Barbieri 25c6251caa proper include of alloca.h, thanks vtorri for spotting it.
SVN revision: 67084
2012-01-11 14:19:51 +00:00
Gustavo Sverzut Barbieri c502186b3d make bastards happy
SVN revision: 67083
2012-01-11 14:06:07 +00:00
Cedric BAIL 81b3cddb13 ecore: fix Ecore_Thread.
SVN revision: 67082
2012-01-11 13:45:34 +00:00
Christopher Michael 54cca7bbf0 Ecore & Ecore_Evas: Fix requirements in configure.ac for wayland_egl.
Fix ecore_evas makefile to use wayland_egl_libs, etc.



SVN revision: 67081
2012-01-11 13:06:02 +00:00
Christopher Michael 1ccaf36197 Ecore_Evas: Update header file (remove dead commented code).
Uncomment ecore_evas_wayland_egl function.



SVN revision: 67080
2012-01-11 13:04:55 +00:00
Christopher Michael 99045fbdba Ecore_Evas: Re-enable wayland_egl engine (for testing).
SVN revision: 67079
2012-01-11 13:03:48 +00:00
Christopher Michael c7edac5b13 Ecore_Evas: Update ecore_evas_private for recent wayland changes.
SVN revision: 67078
2012-01-11 13:03:17 +00:00
Christopher Michael 8f05d8ec93 Ecore_Evas (wayland_egl): Rework ecore_evas for wayland_egl to be
inline with the shm version, and build against newer evas wayland_egl
engine.



SVN revision: 67077
2012-01-11 13:02:27 +00:00
Christopher Michael 7b21d59a52 Ecore_Evas (wayland_shm): Add missing shell_surface handler (recently
added in wayland).



SVN revision: 67076
2012-01-11 13:00:54 +00:00
Christopher Michael 34ab2ff6cd Evas (wayland_egl): Destroy the wl_egl_window also when we free.
SVN revision: 67075
2012-01-11 12:58:59 +00:00
Christopher Michael e89e7d8ef5 Evas (wayland_egl): Use proper header name. Remove commented line.
SVN revision: 67074
2012-01-11 12:41:08 +00:00
Christopher Michael ad8ca8457c Evas (wayland_egl): Redo wayland egl engine code to more closely match
gl_x11.

NB: Not fully functional yet, but does build.



SVN revision: 67073
2012-01-11 12:23:44 +00:00
Christopher Michael 98f19e05fe Evas (wayland_egl): Remove obsolete file (replacing in a minute).
SVN revision: 67072
2012-01-11 12:22:36 +00:00
Christopher Michael 0b6f56aa34 Evas (software_generic): Add UNUSED for params that are not used
(where missing).
Remove unused variables.
Comment out functions that were defined but not used.



SVN revision: 67066
2012-01-11 10:40:17 +00:00
Cedric BAIL ebbf531b63 eina: massiv fix for Eina_Value.
Should be more portable and work with C++.

NOTE: I still see an aliasing break in eina_value_pset, but wasn't
able to figure how to solve it.


SVN revision: 67065
2012-01-11 10:37:13 +00:00
Christopher Michael dec27dd7de Evas (gl_common): Remove unused variable.
SVN revision: 67064
2012-01-11 10:35:52 +00:00
Christopher Michael 4e103ad78c Evas (gl_x11): Fix no return value in function that is supposed to
have Something returned.



SVN revision: 67063
2012-01-11 10:34:03 +00:00
Christopher Michael 2e70a02465 Evas (gl_x11 engine): Fix compiler warning about get_time function.
SVN revision: 67058
2012-01-11 09:48:47 +00:00
Cedric BAIL 477c7b9582 ecore: check change in C++ flags to.
SVN revision: 67050
2012-01-11 08:55:37 +00:00
Daniel Juyung Seo 192290dfe9 eina eina_list.h: Refined documentation.
SVN revision: 67041
2012-01-11 06:41:04 +00:00
Gustavo Sverzut Barbieri 7a4e904566 add eina_value.
eina value is a generic value storage, it's quite efficient to space
(16 bytes) and speed (inlines for basic types).

It's basically a structure describing how to manage memory
(Eina_Value_Type), with default implementation for char, short, int,
long, int64_t (and unsigned variants), float, double, stringshare and
string.

If a type 'value_size' is smaller than 8 bytes, it's stored
inline. Otherwise a value is allocated and managed.

Most of the methods are inline, with special handling for char, short,
int... Then no extra calls are made, allowing the compiler to optimize
them.

For array of a single type it is recommend to use Eina_Value_Array, as
it will efficiently store and access members (just a char if subtype
is EINA_VALUE_TYPE_CHAR, etc).

It can copy itself, compare itself. Including arrays.

It would be nice to have something that converts between EET and this.



SVN revision: 67035
2012-01-11 02:20:26 +00:00
Youness Alaoui b114f12349 Edje: Revert object_hide on unswallow, add documentation for the use case.
SVN revision: 67034
2012-01-11 02:06:07 +00:00
Daniel Juyung Seo 19de4626ab ecore: applied eina_array_count_get -> eina_array_count api change.
SVN revision: 67022
2012-01-10 15:34:52 +00:00
Daniel Juyung Seo 37b1cde295 eina: applied eina_array_count_get -> eina_array_count api change.
SVN revision: 67021
2012-01-10 15:34:48 +00:00
Daniel Juyung Seo d6c052a65a evas: applied eina_array_count_get -> eina_array_count change.
SVN revision: 67020
2012-01-10 15:34:39 +00:00
Christopher Michael 9c3b28d908 Ecore_Evas (Wayland): Be sure to unregister the ecore_evas (wrt input
events).
Add big fat NB wrt potential 'hack' (works around screen garbage on
resize).
Add evas damage rectangle on resize.
Do surface_damage before surface_attach.
Prevent compositor crash on resize by checking width/height <= 0.
Don't do a resize of the ecore_evas unless the event matches.



SVN revision: 67013
2012-01-10 10:31:18 +00:00
Gustavo Sverzut Barbieri c567b1cb20 add missing @since before vtorri notices it
SVN revision: 67005
2012-01-10 00:23:24 +00:00
Gustavo Sverzut Barbieri 45b07ed02d add eina_inarray.
It is an inline array, that is, the members are actually in the
allocated buffer, as opposed to a pointer to its data.

It can be used to manage array of integers, floats or other structures
without fragmenting memory.

The lookups should be fast as memory is linear, then CPU prefetch can
kick in and bring data to cache before it's used.



SVN revision: 67003
2012-01-09 23:24:18 +00:00
Gustavo Sverzut Barbieri 2046694051 magic: define and set eina_error if fails.
SVN revision: 67002
2012-01-09 23:14:04 +00:00
Gustavo Sverzut Barbieri 398bf0ee45 Add eina_array_count(), deprecate eina_array_count_get().
This makes the API more uniform.



SVN revision: 67001
2012-01-09 23:13:06 +00:00
Christopher Michael 655e20307a Ecore_Evas (Wayland): Add missing flush during rendering.
NB: This fixes animation issue wrt eating up cpu, only animating when
mouse was over, etc, etc..... Thanks Old Man !! ;)



SVN revision: 66995
2012-01-09 10:52:19 +00:00
Christopher Michael 50110e14c6 Ecore_Wayland: Fix fd_handler to only listen on fd_read.
Add variable to store what button was pressed (part of focus issue
fixes).
Fix focus handling (see comments about wayland pointer focus).



SVN revision: 66994
2012-01-09 10:50:26 +00:00
Cedric BAIL a9403af029 eeze: add EEZE_UDEV_TYPE_BLUETOOTH.
patch by Mikael Sans. Don't forget to say no to drug !


SVN revision: 66993
2012-01-09 10:50:05 +00:00
Cedric BAIL b8e90a0539 edje: display the real name of the collection when writing it.
SVN revision: 66990
2012-01-09 10:10:58 +00:00
ChunEon Park 56a083357c ecore/ecore_evas - removed unused var.
SVN revision: 66987
2012-01-09 07:58:28 +00:00
Christopher Michael d18dafa65a Ecore_Evas (Wayland): Fix building apps without wayland support
(function was missing a declaration if wayland was disabled). (Fixes
elm compile problems).



SVN revision: 66982
2012-01-09 05:22:43 +00:00
Daniel Juyung Seo 9c0457b31e edje: Fixed documentation typo.
SVN revision: 66981
2012-01-09 04:50:42 +00:00
Sebastian Dransfeld 6f0a1ab818 formatting
SVN revision: 66979
2012-01-08 20:43:15 +00:00
David Walter Seikel 870e48eeca Added Lua function edje.version().
Also cleaned up the changelog date from my last commit.  Oops.


SVN revision: 66977
2012-01-08 14:37:11 +00:00
Christopher Michael 8bf05691f5 Ecore_Evas: Add api function for wayland_shm_resize.
SVN revision: 66972
2012-01-08 11:30:35 +00:00
Christopher Michael 1307fc636a Ecore_Wayland: Put mouse_up_send, mouse_down_send into their own
functions (makes it easier to call in code).
Some miscellaneous changes wrt fd_read & fd_write on the fd handler.



SVN revision: 66971
2012-01-08 11:29:04 +00:00
Christopher Michael 94a4ce180b Ecore_Evas (wayland): Add shell listener for 'configure' events (occur
on shell_surface_resize).
Provide callback_mouse_in_set for ecore_evas.



SVN revision: 66970
2012-01-08 11:25:57 +00:00
Youness Alaoui 8c91b5b493 Evas: Do not build altivec feature if disabled in configure
On macosx i386, that code fails because even though __VEC__ is defined,
the compiler doesn't understand the 'vector' keyword (that macro is
irrelevent here). So there was no way to make evas compile for ppc if
altivec was not supported by the compiler.

SVN revision: 66966
2012-01-08 07:22:01 +00:00
Youness Alaoui 3b1f533aa6 Eina: Need to keep the CFLAGS/LDFLAGS/LIBS passed to configure from env vars
SVN revision: 66965
2012-01-08 07:21:48 +00:00
Youness Alaoui 3cbe46ccc9 Evas: engine for Mac is GL_COCOA not GL_QUARTZ
SVN revision: 66964
2012-01-08 07:21:35 +00:00
Youness Alaoui d2b9b72e19 Ecore: Fix configure generation for Mac OSX
On MacOSX the 'sed' command would add a newline which would completely
break the configure file

SVN revision: 66963
2012-01-08 07:21:24 +00:00
David Walter Seikel d196a27f76 Calling non exstent functions no longer crashes scripts.
This is so that future scripts will still work with old libraries,
and lets us add the "host can provide Lua API" feature soon.

Also some more comments.



SVN revision: 66961
2012-01-07 23:02:57 +00:00
Boris Faure 04fd7af6d5 eet: write to standard output if no output file given.
SVN revision: 66958
2012-01-07 13:33:15 +00:00
Youness Alaoui ead8d51b3c Ecore-con: Let's not break compilation if net/if.h is not found (or old system)
SVN revision: 66956
2012-01-07 11:39:23 +00:00
Youness Alaoui e36334df8d Edje: hide an object after unswallow
Simply doing an unswallow would leave the object where it was in the
evas, visible, but edje would not be handling it anymore.

SVN revision: 66955
2012-01-07 11:39:15 +00:00
Youness Alaoui 1a7801e9cd Eina: Set EINA_CFLAGS/EINA_LDFLAGS before looking for system headers
We must check for cflags/ldflags and evil/escape libs before looking
for headers (like sys/mman.h) because they could be provided by one
of those libs. We must also set CFLAGS/LDFLAGS/LIBS variables to the
EINA_CFLAGS/EINA_LDFLAGS/EINA_LIBS vars so they get picked up properly

SVN revision: 66954
2012-01-07 11:39:07 +00:00
Cedric BAIL 11af9a20e5 edje: try to fix doc.
SVN revision: 66943
2012-01-06 15:06:52 +00:00
Cedric BAIL deb0057d7f edje: add EDJE_ASPECT_PREFER_SOURCE.
NOTE: this is a prototype, play with and report any issue to me.


SVN revision: 66937
2012-01-06 11:28:38 +00:00
Cedric BAIL e7ce3c5c0f edje: unswallow object that are about to be swallowed.
SVN revision: 66934
2012-01-06 10:07:45 +00:00
Mike Blumenkrantz 4a1c04491e fix annoying log spam
SVN revision: 66907
2012-01-06 00:59:35 +00:00
Cedric BAIL f74f396d8d edje: fix edje recent brokeness with text flickering.
NOTE: it's just a partial revert of previous patch by
raster. Without that, some text were flickering going
on and off for sometime. I didn't take the time to
understand why, but by forcing the recalc it permanently
solve the issue.


SVN revision: 66903
2012-01-05 15:26:49 +00:00
Cedric BAIL 6a169575e7 edje: finally found why we did so many call to stat.
NOTE: I am still wondering what is the cost difference between
forcing a request to eet_open and calling stat. If someone has some
time to benchmark, feel free to do so and report on e-devel ml.



SVN revision: 66902
2012-01-05 14:31:27 +00:00
Cedric BAIL 8a4dfb08c1 evas: just disable Evas_GL support in software engine when we don't have dlopen.
NOTE: there is many system without dlopen and we do support them. Please keep it
this way in the future.


SVN revision: 66901
2012-01-05 12:59:08 +00:00
Carsten Haitzler c3a3eb0583 someone added an awesome bug to bmp loader some time recently. fix!
SVN revision: 66897
2012-01-05 10:06:49 +00:00
Sung Park 2f6b837c7c Added EvasGL support for software backend finally.
* This feature requires libOSMesa to be installed.   

One caveat with OSMesa is that a surface config (ie. Depth Buffer and etc)
is associated with a context rather than a surface, which is the case 
in EvasGL.  So for now, when a user specifies a surface config, it gets 
associated with the first context that the surface does a make current to.
For typical usage case, this shouldn't be a prolem. Will need to fix it 
eventually.




SVN revision: 66896
2012-01-05 07:55:23 +00:00
Carsten Haitzler 12aa897e26 fixc new recalc cb to be able to call size min recalc in cb.
SVN revision: 66893
2012-01-05 05:21:02 +00:00
Jiyoun Park 6eb708fb1d Fix Ecore evas extn for multi client model.
It is possible that several process want to show same canvas.
For support this, I changed Ecore buffer canvas to server(socket)
If some application want to show this canvas, 
it create plug image object. 



SVN revision: 66892
2012-01-05 05:08:24 +00:00
Daniel Juyung Seo 6bdf286cdb evas Evas.h: Fixed documentation.
SVN revision: 66888
2012-01-05 02:07:50 +00:00
Daniel Juyung Seo 0af76c2ed6 edje multisense_factory.c: Changed file format to unix. Removed build warning. Removed trailing whitespace.
SVN revision: 66887
2012-01-05 01:11:15 +00:00
Mike Blumenkrantz 7a31a876a1 quietly move this news item to the right version before anyone notices
SVN revision: 66873
2012-01-04 16:25:33 +00:00
Cedric BAIL b39ff33ff7 evas: disable dead code.
SVN revision: 66867
2012-01-04 11:46:39 +00:00
Cedric BAIL 1400dc9892 evas: forgotten inclusion of config.h.
SVN revision: 66866
2012-01-04 11:45:22 +00:00
Cedric BAIL 682ebd0f02 eina: fix build without Xattr.
SVN revision: 66864
2012-01-04 09:41:15 +00:00
Christopher Michael 1dec455b38 Ecore_Evas (wayland): Implement EE functions for iconified & maximized.
SVN revision: 66861
2012-01-04 09:28:36 +00:00
Christopher Michael 4034f41133 Ecore_Evas (Wayland): Add functions for raise, lower, activate, layer,
and focus setting.



SVN revision: 66860
2012-01-04 08:28:23 +00:00
Christopher Michael 9a13801bab Ecore_Wayland: Fix mouse & focus send functions to support passing of
specific 'surface' and 'time'.
Add function (internal) to send a mouse_move (cleans up code).
Add event 'multi' stuff for mouse button down.
Fix handle_pointer_focus function to not send 'focus' events (handled
differently).
Fix handle_keyboard_focus function to actually send 'focus' to new
windows.

NB: This fixes most of the focus issues I was having earlier.



SVN revision: 66859
2012-01-04 08:27:31 +00:00
Carsten Haitzler ac8a671596 dont call recalc if doing calc only
SVN revision: 66849
2012-01-04 05:17:11 +00:00
Carsten Haitzler 5abed5b823 update authors in edje docs
SVN revision: 66844
2012-01-04 04:45:33 +00:00
Carsten Haitzler 61d66cf1b1 add the actual recalc smart callback code and docs.
SVN revision: 66843
2012-01-04 04:35:37 +00:00
Daniel Juyung Seo e204bd5221 ecore Ecore.h: Sync authors with AUTHOR file.
SVN revision: 66841
2012-01-04 04:20:21 +00:00
Mike Blumenkrantz 67623fc00b version docs for new "recalc" signal in next commit
SVN revision: 66838
2012-01-04 04:00:33 +00:00
Carsten Haitzler d3ee1f5e02 Add HEX, TERMINAL and PASSWORD layouts
SVN revision: 66837
2012-01-04 03:41:19 +00:00
Carsten Haitzler 831ff86cb8 Add HEX, TERMINAL and PASSWORD layouts
SVN revision: 66836
2012-01-04 03:41:10 +00:00
Sanjeev BA fcffec2a23 Fix typos.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 66814
2012-01-04 00:11:55 +00:00
Christopher Michael c69d424fe5 Ecore_Evas (Wayland): Don't feed mouse_move twice
(_ecore_evas_mouse_move_process already feeds to evas).

Add variable to store the 'timestamp' of when mouse button gets
pressed (needed for 'moving' a surface).



SVN revision: 66808
2012-01-03 20:39:10 +00:00
Christopher Michael 8fc45c6673 Ecore (Wayland): Add function to get current mouse position (screen
coords).
Rename some variables for clarity of their purpose.



SVN revision: 66807
2012-01-03 20:37:30 +00:00
Cedric BAIL e49c89f2f2 eet: act like the rest of the EFL.
SVN revision: 66804
2012-01-03 17:42:33 +00:00
Cedric BAIL 8679482c72 eet: remove useless code.
SVN revision: 66803
2012-01-03 17:13:00 +00:00
Cedric BAIL c11e02df7c edje: follow the rest of the EFL.
SVN revision: 66802
2012-01-03 17:04:44 +00:00
Cedric BAIL a1f2535799 eina: warning--.
SVN revision: 66801
2012-01-03 15:24:15 +00:00
Cedric BAIL f185e2d950 eio: use new Eina_File infra to detect IO error during mmap copy.
SVN revision: 66800
2012-01-03 15:00:30 +00:00
Cedric BAIL edbee63134 eina: detect fault during Eina_File mmap memory access and improve Xattr functions.
SVN revision: 66799
2012-01-03 14:59:07 +00:00
Tom Hacohen 2d1166d846 Evas textblock: Fixed a possible bug with generic poppers removal.
Patch by Hyoyoung Chang.

SVN revision: 66798
2012-01-03 14:33:35 +00:00
Tom Hacohen 7797005ea1 Edje: Updated changelog.
SVN revision: 66793
2012-01-03 12:18:16 +00:00
ChunEon Park d2c39a644f emotion - fixed typo
SVN revision: 66791
2012-01-03 11:59:01 +00:00
Cedric BAIL 5438cc6844 evas: use Eina_File for PSD loader.
SVN revision: 66787
2012-01-03 10:26:53 +00:00
Tom Hacohen 08b0c50578 Edje entry: Fix undo/redo with imf.
Many thanks to Jihoon Kim and SeoZ for reporting this issue.

SVN revision: 66784
2012-01-03 09:55:59 +00:00
Bluezery fcdec47f13 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel]  [Patch][ecore_con] Fix return value checking
Date: Tue, 3 Jan 2012 10:01:17 +0900

Hi,

There is invalid return value checking of curl_multi_perform() in ecore_con_url.
Because CURLM_CALL_MULTI_PERFORM is also not  CURLM_OK,
CURLM_CALL_MULTI_PERFORM checking  should precede CURLM_OK checking.
It's simple fix. Please review this

-- 
BRs,
Kim.


SVN revision: 66771
2012-01-03 03:58:48 +00:00
Christopher Michael 221db402f5 Ecore_Wayland: Quiet down output by disabling LOGFNs.
SVN revision: 66765
2012-01-03 01:08:43 +00:00