Commit Graph

14971 Commits

Author SHA1 Message Date
Youness Alaoui bad6a1bc33 Ecore: SDL 1.3 doesn't define SDLK_FIRST and SDLK_WORLD_* keys
SVN revision: 63254
2011-09-07 06:58:35 +00:00
Youness Alaoui 5714e384d7 Ecore: Allow ecore-evas-sdl to work with software-sdl-16 engine. Also removed dead code
SVN revision: 63253
2011-09-07 06:58:28 +00:00
Youness Alaoui ea4aa8f446 Ecore: Add the noframe extra option to the ecore-evas-sdl
SVN revision: 63252
2011-09-07 06:58:21 +00:00
Youness Alaoui b2392e422c Ecore: _ecore_thread_handler must not be defined if threads aren't supported
SVN revision: 63251
2011-09-07 06:58:10 +00:00
Youness Alaoui 523ba39cb5 Ecore: If ecore_con is disabled, we must still check for curl dependency since it's used by ecore-file
SVN revision: 63250
2011-09-07 06:53:48 +00:00
Youness Alaoui 3b6a0b6bae Ecore: Use pkg-config to check for SDL, not sdl-config (which fails for cross-compilations)
SVN revision: 63249
2011-09-07 06:53:42 +00:00
Youness Alaoui ada2b9e072 Evas: Small fixes to clean software-sdl and software-16-sdl engines
Comparing software-sdl and software-16-sdl showed many small differences
this makes both engines' code much more alike.
The software-16-sdl was especially buggy, hopefully, this should make
it just as stable as the software-sdl engine.

SVN revision: 63248
2011-09-07 06:53:35 +00:00
Youness Alaoui efea89b471 Evas: Allow independent static compilation of software_16_sdl engine
SVN revision: 63247
2011-09-07 06:53:28 +00:00
Rafael Antognolli 47c39e976c emotion/generic: Non-blocking meta info retrieval.
SVN revision: 63238
2011-09-06 21:15:53 +00:00
Rafael Antognolli 7779d54fe4 emotion/generic: Non-blocking track info retrieval.
SVN revision: 63237
2011-09-06 21:15:50 +00:00
Rafael Antognolli cfed99689b emotion/generic: Non-blocking event reading from player.
Temporarily disabled fetching/sending of channel and meta info. Will
enable it with the next commit, to simplify code.

SVN revision: 63236
2011-09-06 21:15:46 +00:00
Rafael Antognolli b786a519be emotion/generic: Small fixes.
Update enum doc, and return 1 on success for getting shm_data.

SVN revision: 63235
2011-09-06 21:15:42 +00:00
Rafael Antognolli 636e78ee2f emotion/generic: Postpone setting some options to after open_done.
These options must be set on the player even if there's no file opened
yet. Thus, just postpone the related commands to when the player has
opened the file already.

SVN revision: 63234
2011-09-06 21:15:39 +00:00
Rafael Antognolli 2650c9d349 emotion/generic: There's no need to check the standard output.
The player stdout is not used anymore to read commands from.

SVN revision: 63233
2011-09-06 21:15:36 +00:00
Rafael Antognolli 87ff8ea15c emotion/generic: Should reset meta_info and channels on file_close.
SVN revision: 63232
2011-09-06 21:15:32 +00:00
Mike Blumenkrantz d9f1039885 not sure how this happened, but it's totally wrong
SVN revision: 63230
2011-09-06 19:16:56 +00:00
Mike Blumenkrantz e580c44cbb fix temp sensor detection with very new kernels
SVN revision: 63229
2011-09-06 19:09:36 +00:00
Sebastian Dransfeld e8b0436197 Eeze: And only send event for present batteries
The property POWER_SUPPLY_PRESENT must not only be there, but also have
a true value.

SVN revision: 63228
2011-09-06 19:07:34 +00:00
Rafael Antognolli 2ee03004d6 emotion/generic: Don't send position update when skipping frames.
SVN revision: 63227
2011-09-06 12:37:03 +00:00
Tom Hacohen 98b5aa4b36 Eina (u)strbuf: Added eina_(u)strbuf_manage_new.
This lets us take a string and use it as the string buffer instead of
copying and allocating.

SVN revision: 63226
2011-09-06 10:58:53 +00:00
Cedric BAIL 120306f05f evas: add YUV double buffering for OpenGL backend.
SVN revision: 63225
2011-09-06 07:56:47 +00:00
Mike Blumenkrantz 9c08e73d48 blacklist c-ares 1.7.5
SVN revision: 63223
2011-09-05 23:41:23 +00:00
Rafael Antognolli 4be7a99b94 emotion/generic: Fix frame dropping.
Move the frame drop counter to the shared memory object, so the player
can check its value and not send new frames if we didn't "consume" the
previous one.

Also move the triple buffering pointer changing to the display function,
so it will only lock once when accessing the critical region.

SVN revision: 63220
2011-09-05 21:52:18 +00:00
Rafael Antognolli 0d7da38f05 emotion/generic: Add support for fetching meta info.
SVN revision: 63219
2011-09-05 21:52:14 +00:00
Rafael Antognolli bed7fa1c6a emotion/generic: Add audio/video/spu channel set/get/count.
SVN revision: 63218
2011-09-05 21:52:11 +00:00
Cedric BAIL 883cea4caa eio: pack data for a few ms.
SVN revision: 63215
2011-09-05 20:29:01 +00:00
Cedric BAIL 336806d264 eina: oops. Thanks Vincent.
SVN revision: 63214
2011-09-05 20:26:21 +00:00
Cedric BAIL 6936745755 eina: add eina_inlist_sorted_state_insert and helper.
Note: this function help keep a jump table so we reduce
the need to walk over the complete list to insert one
element. It's of course doesn't make it an O(log(n)) in
access time, but it increase it's cost more slowly.
   With 10000 items, you can count around 50 pointers
dereferencing and with with 50000 items around 200 pointers
dereferencing.
   Of course the comparison stay in O(log(n)).


SVN revision: 63213
2011-09-05 20:15:12 +00:00
Sebastian Dransfeld dbac5ebbaa Eeze: Only fant batteries which are present
SVN revision: 63210
2011-09-05 19:12:45 +00:00
Rafael Antognolli a31e5f2b24 emotion/generic - Set filename to NULL on file_close.
Otherwise if we try to call file_set(<some file>) after file_set(NULL),
it will send a close command to the player for an already closed file.

Also make the example cycle through the list of movies, but still
passing through a NULL file when reaching one of the ends of the list.

SVN revision: 63208
2011-09-05 16:37:20 +00:00
Rafael Antognolli c6ca436e79 emotion/generic: formatting.
SVN revision: 63206
2011-09-05 16:07:10 +00:00
Rafael Antognolli 93b310e15c emotion/generic: Reset initial values on file_set.
These values need to be reset as soon as a new file is set, otherwise
they can give wrong information to evas about the size of pixels to
render.

SVN revision: 63205
2011-09-05 16:07:06 +00:00
Rafael Antognolli 10621a8c15 emotion/generic: Make sure no new_frame is sent while opening or closing files.
This wasn't happening anyway, but let's make sure it won't ever happen.

SVN revision: 63204
2011-09-05 16:07:04 +00:00
Rafael Antognolli dca7c873b2 emotion/generic - Don't start opening new file when another one is being open.
SVN revision: 63203
2011-09-05 16:07:00 +00:00
Cedric BAIL ce8904076d evas: fix alignment issue.
SVN revision: 63202
2011-09-05 15:21:23 +00:00
Cedric BAIL 35da5ff856 evas: use a tricky NULL texture.
Note: this help the driver to know that we don't it
to swizzle back the pixel from GPU format, because we
are going to replace all pixels.


SVN revision: 63201
2011-09-05 14:58:18 +00:00
Rafael Antognolli d04377d4d2 emotion/generic - Use pipes instead of stdin/stdout for communication.
Now the player will have the stdin and stdout available for anything
else, and there's no need to make line-buffering with ecore_exe anymore.

SVN revision: 63198
2011-09-05 13:12:17 +00:00
Rafael Antognolli 733fe1d444 emotion/generic: Add return value to EM_RESULT_FILE_SET_DONE.
It now checks if was possible to get the shared memory, and returns true
or false. This will command will also be used later to return false for
file opening no matter what was the problem, and maybe the int parameter
will indicate the type of error.

SVN revision: 63197
2011-09-05 13:11:53 +00:00
Tom Hacohen 9182147b5f Evas font: Fixed compilation with g++.
Patch by cnook

SVN revision: 63196
2011-09-05 12:48:02 +00:00
Tom Hacohen 110898bd67 Revert "Edje entry: Start using the new tb_range_formats_get."
This reverts commit 62260

Unfortunately the textblock function doesn't work as well as expected.

SVN revision: 63192
2011-09-05 12:07:31 +00:00
Tom Hacohen fe8c41c6c5 Evas textblock: Use viewport for getting visible range, not clip.
SVN revision: 63191
2011-09-05 12:03:53 +00:00
Cedric BAIL d7d4603f0c emotion: remove useless broken check.
SVN revision: 63190
2011-09-05 11:08:15 +00:00
Cedric BAIL 568df526af emotion: properly delay buffer destruction.
SVN revision: 63189
2011-09-05 10:57:39 +00:00
Tom Hacohen 8f07a73106 Evas textblock: Fixed an issue when there are no available fonts.
The problem was that our rbtree implementation doesn't support chaining
duplicates and with no fonts, all the paragraphs had the same y coord (0).
Changing the paragraph index to work on line_no for sorting fixes it,
as line numbers are also correct when there are no fonts.

Thanks a lot to KaKaRoTo for letting me know about this issue.

SVN revision: 63188
2011-09-05 09:04:43 +00:00
Carsten Haitzler 325dbc04ae fix COPYING to say 2011.
SVN revision: 63187
2011-09-05 07:15:41 +00:00
Tom Hacohen 54ebd93cde Evas font: Fix compilation with C++ compilers.
Thanks to cnook for pointing that out.

SVN revision: 63186
2011-09-05 07:13:23 +00:00
Tom Hacohen c4229776de Evas textblock: Fixed compiler warnings.
SVN revision: 63185
2011-09-05 07:13:07 +00:00
Mike McCormack cfddcef5d1 ecore (glib): Fix build break
SVN revision: 63082

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63184
2011-09-05 01:27:07 +00:00
Cedric BAIL 2654b654e7 evas: fix tarball generation.
SVN revision: 63179
2011-09-04 23:19:41 +00:00
Cedric BAIL 20300dfedc evas: and now MT12 gain Open GL support.
SVN revision: 63174
2011-09-04 21:15:04 +00:00
Cedric BAIL e2e66fb1ce emotion: better error message.
SVN revision: 63173
2011-09-04 21:13:49 +00:00
Cedric BAIL d6c8e07236 emotion: better handling of gstreamer samsung backend.
SVN revision: 63172
2011-09-04 21:12:34 +00:00
Cedric BAIL d88567f49f evas: make MT12 a little bit faster so we can see Bunny a little more longer.
SVN revision: 63157
2011-09-04 16:26:47 +00:00
Cedric BAIL f6f2eb77f7 evas: forgotten patch for enabling colorspace properly.
SVN revision: 63152
2011-09-04 14:31:24 +00:00
Cedric BAIL 54373b9fbe evas: fix mt12 to se squirrel and bunny.
SVN revision: 63151
2011-09-04 14:30:41 +00:00
Carsten Haitzler 72280ddcdf it might be good to test changes to eina_prefix (that didnt require an
eina_init before).



SVN revision: 63146
2011-09-04 03:46:58 +00:00
Gustavo Sverzut Barbieri e83e1ea1fc generic module can now be built-in as static module.
also removed sole left-overs of previous disable of vlc engine.



SVN revision: 63141
2011-09-04 00:17:06 +00:00
Gustavo Sverzut Barbieri 999e3bf306 remove old vlc, fix build bugs and introduce m4 for generic players.
Previous commit to disable VLC messed everything, so this one fixes it doing:

 - remove old src/modules/vlc and related.
 - add EMOTION_CHECK_GENERIC_PLAYER() m4 macro
 - change previous EMOTION_BUILD_VLC to EMOTION_BUILD_GENERIC_VLC



SVN revision: 63140
2011-09-04 00:07:41 +00:00
Sebastian Dransfeld b96bd7ff8f Emotion: Remove unused variables
SVN revision: 63138
2011-09-03 21:09:39 +00:00
Sebastian Dransfeld 6e4c33d8f7 Emotion: Add __UNUSED__ where needed
SVN revision: 63137
2011-09-03 21:09:35 +00:00
Sebastian Dransfeld 02b73860a2 Emotion: Fix memleak
Remove weird buffer which never gets used or free'd

SVN revision: 63136
2011-09-03 21:09:31 +00:00
Sebastian Dransfeld 9a282958c9 Emotion: Fix signed warnings
SVN revision: 63135
2011-09-03 21:09:28 +00:00
Sebastian Dransfeld 5c8e0ea66b Emotion: Add __UNUSED__ where needed
SVN revision: 63134
2011-09-03 21:09:24 +00:00
Sebastian Dransfeld 6972fe5e82 Emotion: Remove unused variables
SVN revision: 63133
2011-09-03 21:09:19 +00:00
Sebastian Dransfeld ffb22a5c4e Emotion: Really disable vlc
SVN revision: 63132
2011-09-03 20:47:28 +00:00
Massimo Maiurana c038a2546e updating dutch translations
SVN revision: 63127
2011-09-03 17:22:55 +00:00
Cedric BAIL 565b2542a2 emotion: remove useless warning.
SVN revision: 63120
2011-09-03 12:54:06 +00:00
Cedric BAIL 64906f8485 emotion: protection against bad decoder.
SVN revision: 63118
2011-09-03 12:36:04 +00:00
Gustavo Sverzut Barbieri f567f91b7b emotion installs no AUTHORS, thus do not check it as magic file.
SVN revision: 63109
2011-09-03 05:32:00 +00:00
Gustavo Sverzut Barbieri 32110747c9 eina_prefix: use log infrastructure.
use eina_log instead of weirdo printfs... multiple levels, greatness
everywhere... helped me debug emotion's warning.

It is always a pain to try to use library log and notice they are not
using their own standards :-/

   export EINA_LOG_LEVELS=eina_prefix:4





SVN revision: 63108
2011-09-03 05:31:25 +00:00
Carsten Haitzler 098518798f at least handle null im_info & dont crash.
SVN revision: 63105
2011-09-03 04:47:50 +00:00
Carsten Haitzler 27ebb83c4e put generic loaders in libdir/evas/utils/
SVN revision: 63103
2011-09-03 03:48:39 +00:00
Rafael Antognolli 92b98ad145 evas/canvas - Update the pointer to engine_data after pixels_get().
The "pixels" pointer was set in the beginning of evas_object_image_render(),
and never updated, even after pixels_get() changed the content of
o->engine_data.

This patch updates that pointer if it becomes different from engine_data.



SVN revision: 63090
2011-09-02 14:06:25 +00:00
Cedric BAIL 4f844f63f5 emotion: resize only when needed and fix typo.
SVN revision: 63089
2011-09-02 13:10:22 +00:00
Cedric BAIL d7771445b1 emotion: remove useless code.
SVN revision: 63087
2011-09-02 08:51:56 +00:00
Carsten Haitzler f67bdb7c37 mainloop cleanups on top of previous ones and fixes for previous refactors
SVN revision: 63082
2011-09-02 03:29:11 +00:00
Gustavo Sverzut Barbieri e26e9df5b2 emotion/generic: eina module functions can be static.
SVN revision: 63081
2011-09-02 01:35:16 +00:00
Gustavo Sverzut Barbieri 5965cf014f emotion/generic/vlc: die when parent dies.
nasty fix for a nasty emotion behavior :-/



SVN revision: 63080
2011-09-02 01:34:07 +00:00
Gustavo Sverzut Barbieri acda54440e emotion/generic: make log variable static.
yeah, I'm paranoid ;-)



SVN revision: 63079
2011-09-01 23:47:53 +00:00
Gustavo Sverzut Barbieri 3bd43e9809 emotion: just try vlc if it was compiled.
not that big optimization, but does not hurt either.


SVN revision: 63078
2011-09-01 23:46:39 +00:00
Gustavo Sverzut Barbieri 3ed350c887 emotion: use eina_prefix to determine player location.
Move players from $bindir to $libdir/emotion/utils and find them with
eina_prefix. I was willing to play with this prefix thing, quite nice
;-)



SVN revision: 63077
2011-09-01 23:45:18 +00:00
Cedric BAIL e5b7c25792 emotion: handle Samsung S5PC110 and S5PC210.
SVN revision: 63076
2011-09-01 23:11:36 +00:00
Rui Seabra d7a9d539a1 Rename xcb-devel to libxcb-devel. According to KainX, on IRC, «Caos is dead and no one has been maintaining SuSE compatibility anyway».
SVN revision: 63074
2011-09-01 21:54:42 +00:00
Gustavo Sverzut Barbieri 11bda2bc49 emotion: test proxy of videos with -R/--reflex option.
Emotion explores some different paths in Evas pipeline as it changes
image pixels frequently and sometimes uses different
colorspaces. Let's change if it's all working fine using a nice proxy
effect that mirrors the playing video.

emotion_test --reflex <video.avi>



SVN revision: 63071
2011-09-01 21:45:04 +00:00
Rui Seabra 639bded43a Fix build breakage.
SVN revision: 63070
2011-09-01 21:39:43 +00:00
Christopher Michael 6acb1d8ddb Ecore_X(cb): When sending client messages, message_type needs to be
ev->type.



SVN revision: 63067
2011-09-01 20:21:36 +00:00
Rafael Antognolli a7ae4566b8 Add generic player backend (with vlc player).
This generic player backend executes a separate player in another
process. It receives the bytes to be drawn on the emotion object through
a shared memory, and communicates with the player through a pipe, using
the player standard input/output.

The player must communicate with emotion using the defined commands
specified in the Emotion_Generic_Plugin.h. It doesn't need to link
against emotion, just include this file for easier implementation.

This implementation was sponsored by Zodiac Aerospace.

SVN revision: 63062
2011-09-01 19:04:15 +00:00
Tom Hacohen 1cacec0d41 Eina rbtree: Fixed EINA_RBTREE_GET. Should enclose in parenthesis.
SVN revision: 63054
2011-09-01 12:11:24 +00:00
Cedric BAIL 54fcc628bd eio: fix eio_monitor.
Patch by Michael Sans.


SVN revision: 63052
2011-09-01 10:22:00 +00:00
Cedric BAIL 5586b1ed11 emotion: better debug infrastructure.
SVN revision: 63039
2011-08-31 15:51:50 +00:00
Cedric BAIL e1e28d7ba4 emotion: evas is going to support more video format than ffmpeg...
SVN revision: 63038
2011-08-31 15:48:47 +00:00
Cedric BAIL 8385a7dec0 ethumb: fix wrong dirty detection.
Patch by SANS Mikael <sans.mikael@gmail.com>.


SVN revision: 63021
2011-08-31 09:28:54 +00:00
Sebastian Dransfeld b8e42ad9cd Efreet: Only add known desktop types to cache
SVN revision: 63020
2011-08-31 09:10:18 +00:00
Sebastian Dransfeld d459c61334 Efreet: Fix shadow warning
SVN revision: 63019
2011-08-31 09:09:31 +00:00
Vincent Torri f9e44b36d4 Add missing function in lock void
Patch by Youness Alaoui


SVN revision: 63018
2011-08-31 08:50:19 +00:00
Vincent Torri 7fec95cb58 add Youness Alaoui
SVN revision: 63017
2011-08-31 08:49:15 +00:00
Cedric BAIL ea61ff9379 evas: SPANK ! SPANK ! SPANK ! Tasn you forgot some engine !
Patch by Youness Alaoui <kakaroto@kakaroto.homelinux.net>.


SVN revision: 63013
2011-08-30 23:03:07 +00:00
Cedric BAIL 0fbe1f15a3 emotion: better debugging.
SVN revision: 63012
2011-08-30 22:40:01 +00:00
Christopher Michael 96a210d07c Ecore_X(cb): Port Hermits xlib code to support double/triple click for
multi-touch devices to xcb.
Remove dead code.
Add missing flush calls after change_window_attributes.
Quiet down the event code by commenting out some LOGFN's.
Make selection event code more like Xlib.
Add missing flush calls after send_event.



SVN revision: 63009
2011-08-30 19:22:51 +00:00
Christopher Michael 0c3a54457d Ecore_X: Function expects a Eina_Bool return, so let's use those ;)
SVN revision: 63008
2011-08-30 18:38:27 +00:00