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