Commit Graph

16325 Commits

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