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