Commit Graph

16178 Commits

Author SHA1 Message Date
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