Commit Graph

16365 Commits

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