Commit Graph

15180 Commits

Author SHA1 Message Date
Christopher Michael fe35a0421b Ecore_Evas: Don't need the WindowAttributes variable unless we are an
argb window. 

(Sorry vtorri).



SVN revision: 63534
2011-09-22 09:26:02 +00:00
Christopher Michael 4ac5e88875 Edje: if _edje_fetch fails and we are returning from here, then no need to
fetch evas_object_evas_get. Use eina_stringshare_replace rather than
del & add. Fix a little formatting.



SVN revision: 63533
2011-09-22 07:19:50 +00:00
Vincent Torri b25413d367 whitespaces--
SVN revision: 63531
2011-09-22 06:02:26 +00:00
Christopher Michael dd77378588 Ecore_Evas: Rework ecore_evas_x_render function so it does not
allocate memory for list variables & rectangles unless we need to (ie:
If there are no evas_render_updates to do, then there is no need to
allocate extra list variables & rectangles).



SVN revision: 63528
2011-09-22 02:39:23 +00:00
Christopher Michael 0009c82081 Ecore_Evas: When doing rotation_set_internal, no need to fetch the
ecore_x_window_size here as the returned values are not used anyway,
so avoid the extra function call.



SVN revision: 63523
2011-09-21 21:01:15 +00:00
Christopher Michael 42d8b6b481 Ecore_Evas: No need to call ecore_x_window_move/resize is the canvas
is already at the required size or position.



SVN revision: 63522
2011-09-21 20:55:12 +00:00
Christopher Michael 83d9070643 Ecore: Remove checks for xcb_dri extension in configure.ac as we are
not going to use it, but rather dlsym to the libdri/libGL libs (ala
xlib code).



SVN revision: 63518
2011-09-21 11:42:24 +00:00
Christopher Michael c668ac0227 Ecore_X(cb): Make vsync code behave like xlib version and link against
libdri/libGL/etc. Remove use of xcb_dri2 extension (for now).



SVN revision: 63517
2011-09-21 11:41:25 +00:00
Christopher Michael 46b0d6adf0 Ecore_X(cb): Make sync_magic_send more like the xlib version and use
xcb_send_event directly.



SVN revision: 63516
2011-09-21 11:39:08 +00:00
ChunEon Park b653b18526 evas_object_smart - trivial changes.
SVN revision: 63514
2011-09-21 10:56:23 +00:00
ChunEon Park ad59819a7d evas/evas_events - just removed white spaces.
SVN revision: 63511
2011-09-21 10:35:03 +00:00
Carsten Haitzler c54441d5ce xcb impl for generic events
SVN revision: 63508
2011-09-21 06:17:22 +00:00
Christopher Michael c748d1b17b Ecore_X(cb): Remove debug printout. Add missing logfn.
SVN revision: 63507
2011-09-21 05:13:03 +00:00
Youness Alaoui bbbf959e77 Ecore: Oups, typo, check for PS3 with __lv2ppu__ and not __ppulv2__
SVN revision: 63504
2011-09-20 22:06:33 +00:00
Carsten Haitzler 495f658861 support mtrace in eina at runtime. easier now to enable via env vars.
SVN revision: 63498
2011-09-20 11:28:25 +00:00
Cedric BAIL c07415b8bd emotion: don't use the pipeline anymore when it's not needed.
SVN revision: 63497
2011-09-20 11:04:54 +00:00
Cedric BAIL 973717b9bf emotion: correctly update position of sub-object.
SVN revision: 63496
2011-09-20 10:54:53 +00:00
Cedric BAIL d3345a5d75 emotion: remove use of xattr.
SVN revision: 63495
2011-09-20 09:40:55 +00:00
Christopher Michael 5f68e376b2 Ecore_X(cb): Add macro to check for validity of the xcb_connection
before trying to use it.



SVN revision: 63494
2011-09-20 09:12:02 +00:00
Tom Hacohen 7b374f1dd3 Evas textblock: Fixed an issue when deleting A from <a><a>A</a></a>.
Reported by WooHyun. Thanks a lot, great catch, also told me where and what
the issue is exactly.

Also added a test to verify this works.

SVN revision: 63493
2011-09-20 08:05:50 +00:00
Christopher Michael 663ce7f2fc Ecore_X(cb): Add checks to make sure that extensions are loaded and
available before making calls to them.



SVN revision: 63492
2011-09-20 07:34:50 +00:00
Christopher Michael d7a1fd1630 Ecore_X(cb): Trim down memory usage. Add checks for damage extension
before trying to use it. Enable getting xcursor core & anim from
xdefaults.



SVN revision: 63491
2011-09-20 07:17:55 +00:00
Christopher Michael 3561137e9a Ecore_X(cb): Check composite is available before trying to use it.
SVN revision: 63490
2011-09-20 07:15:52 +00:00
Christopher Michael c7a7c71541 Ecore_X(cb): Fix 'dpy' thingies ;)
SVN revision: 63489
2011-09-20 07:14:11 +00:00
Christopher Michael 7896c9df95 Ecore_X(cb): Make sure screensaver extension is available before
trying to call functions involving it.



SVN revision: 63488
2011-09-20 07:11:36 +00:00
Carsten Haitzler 913a41adbe actually no - wrong pixman... remove if.
SVN revision: 63487
2011-09-20 05:45:00 +00:00
Carsten Haitzler bc988911e8 software xcb cvant build without pixman... fix autofoo
SVN revision: 63486
2011-09-20 05:28:20 +00:00
Cedric BAIL 7a591915b1 emotion: add basic xoverlay infrastructure to emotion. not ready at all yet.
SVN revision: 63482
2011-09-19 15:33:02 +00:00
Cedric BAIL 3171f01b00 evas: remove a fixme by making the engine list dynamic.
SVN revision: 63481
2011-09-19 14:20:18 +00:00
Cedric BAIL aed1ed1666 emotion: disable tricky surface destruction and remove useless lock.
SVN revision: 63480
2011-09-19 12:49:20 +00:00
Cedric BAIL 1a016f1915 eio: don't free internal data.
SVN revision: 63479
2011-09-19 12:47:02 +00:00
Carsten Haitzler 823fa1b566 make fonts obey the same cutout rules as images.
SVN revision: 63478
2011-09-19 10:48:33 +00:00
Carsten Haitzler 9522d5b359 warning--
SVN revision: 63477
2011-09-19 10:48:11 +00:00
Carsten Haitzler 0849e320a0 fix bug in generic event handling on xlib side of ecore_x
SVN revision: 63475
2011-09-19 10:11:53 +00:00
Tom Hacohen 0de47ae436 Evas textblock: Replace the rbtree index with a fixed ptr array.
This possibly doesn't scale as good but it's good enough for everything I've
tried. It's a lot easier to maintain comparing to the rbtree, and takes a
lot less memory. Next step is probably changing the array size according
to the actual content of the textblock.

SVN revision: 63474
2011-09-19 09:17:17 +00:00
Tom Hacohen 52302f9664 Evas font: Adjust yet again to the new harfbuzz API.
SVN revision: 63473
2011-09-19 09:17:08 +00:00
Youness Alaoui f15246db82 Ecore: Do not call execvp if it's unavailable on the system
SVN revision: 63466
2011-09-18 21:57:47 +00:00
Youness Alaoui df10c78174 Ecore: Do not declare the siginfo_t and signal functions for the PS3
SVN revision: 63465
2011-09-18 21:57:38 +00:00
Youness Alaoui 2d413eae60 Evas: Remove lazy ifdef WIN32 and check for siglongjmp and sigaction availability
SVN revision: 63463
2011-09-18 21:57:17 +00:00
Youness Alaoui bfda6af5e5 Eina: In eina_file_open, only set the CLOEXEC flag if system supports exec
SVN revision: 63462
2011-09-18 21:57:10 +00:00
Youness Alaoui 2495880ac0 Eina: mmap: Use HAVE_SIGINT_T instead of ifdefs on WIN32
SVN revision: 63461
2011-09-18 21:57:02 +00:00
Youness Alaoui 12b0bf3896 Eina: Always use fpathconfig and never assume NAME_MAX is defined
SVN revision: 63460
2011-09-18 21:56:54 +00:00
Vincent Torri 2b7649e676 add sys/types.h check
SVN revision: 63455
2011-09-18 10:13:29 +00:00
Vincent Torri d2bc8ef3a5 comments again
SVN revision: 63447
2011-09-17 07:13:02 +00:00
Vincent Torri 22fdf89808 whitespaces-- and comments
SVN revision: 63446
2011-09-17 06:29:23 +00:00
Vincent Torri 7de5df4f3a add @since to doc type
SVN revision: 63445
2011-09-17 06:24:00 +00:00
Cedric BAIL b2dc1ce8ab eio: use eina xattr helper and add more eio xattr function.
SVN revision: 63441
2011-09-16 14:18:08 +00:00
Christopher Michael 5f037fce40 Ecore_X(cb): Work around (possible) xcb bug where
ecore_x_screen_index_get was not returning the proper 0-based index.

NB: Fixes OpenGL with xcb.



SVN revision: 63440
2011-09-16 14:16:09 +00:00
Cedric BAIL b17b7abfe0 eio: use eina_xattr.
SVN revision: 63438
2011-09-16 11:14:57 +00:00
Cedric BAIL d64c1b9566 ecore: reduce race condition.
SVN revision: 63436
2011-09-16 09:31:47 +00:00
Vincent Torri 715bc38190 fix configure output
SVN revision: 63434
2011-09-16 07:34:43 +00:00
Vincent Torri 2016db602b quotes and cleanup
SVN revision: 63433
2011-09-16 07:30:40 +00:00
Youness Alaoui 512599f1ba Ecore-Sdl: Must set the mouse event's multi struct to 0
Otherwise ecore-evas will think that the event is for multi touch
and will ignore the actual values of the structure and will only use
the uninitialized data from the multi struct

SVN revision: 63431
2011-09-16 07:08:53 +00:00
Youness Alaoui e4165d053b Ecore: Include sys/select.h before using 'select' to conform to POSIX.1-2001
SVN revision: 63430
2011-09-16 07:08:45 +00:00
Youness Alaoui d9ddb7aa4c Eina: Disable xattr calls when xattr api is not available
SVN revision: 63429
2011-09-16 07:08:37 +00:00
Youness Alaoui 055ad6e2cb Escape: Include sys/syslimits which contains NAME_MAX define
SVN revision: 63428
2011-09-16 07:08:29 +00:00
Rafael Antognolli f105146913 emotion/smart: Remove fprintf left after debugging.
SVN revision: 63419
2011-09-15 19:01:03 +00:00
Rafael Antognolli 4f93530ce2 emotion/doc: Add @ingroup to new functions.
SVN revision: 63417
2011-09-15 18:51:35 +00:00
Rafael Antognolli 0c4dd42a0a emotion/aspect: Add API to configure the aspect ratio policy.
The new function emotion_object_keep_aspect_set() allow to set a policy
that will automatically change the emotion object border property, based
on the video aspect ratio and object current aspect ratio.

Possible values are:
 * EMOTION_ASPECT_KEEP_NONE
 * EMOTION_ASPECT_KEEP_WIDTH
 * EMOTION_ASPECT_KEEP_HEIGHT
 * EMOTION_ASPECT_KEEP_BOTH
 * EMOTION_ASPECT_CROP
 * EMOTION_ASPECT_CUSTOM

SVN revision: 63416
2011-09-15 18:51:33 +00:00
Rafael Antognolli 5c3474beed emotion/border: Add support for selecting the border colors.
This is a simple API that implements colors for the borders specified by
emotion_object_border_set(), using a background rectangle behind the
emotion object.

SVN revision: 63415
2011-09-15 18:51:27 +00:00
Rafael Antognolli 77f43424a6 emotion/border: Add border/crop support for emotion objects.
The emotion_object_border_set/get APIs were added, allowing one to
specify a positive (border) or negative (crop) value for each of the
edjes of the video being played. This allows easier setup on an Emotion
object to keep the aspect ratio, either by adding black areas on it, or
by cropping the exceding area of the video.

NOTE: The specified border/crop is based on the original size of the
video. If it is scaled (emotion object size is different from the video
size), the borders will be scaled as well.

Patch based on an original patch sent by
Hugo Camboulive <hugo.camboulive@gmail.com>.

SVN revision: 63414
2011-09-15 18:51:23 +00:00
Cedric BAIL 64f3a6da0f eet: add eet_data_xattr helper.
SVN revision: 63413
2011-09-15 17:05:56 +00:00
Cedric BAIL 0c6ed213ad eina: add eina_xattr.{c,h}.
SVN revision: 63412
2011-09-15 15:37:28 +00:00
Cedric BAIL 286252b18a eina: use eina safety check in eina_file.c.
SVN revision: 63409
2011-09-15 13:57:27 +00:00
Cedric BAIL 680170b3f9 eina: add XAttr support to eina.
SVN revision: 63408
2011-09-15 12:39:40 +00:00
Cedric BAIL 8e9fbe5662 ecore: prevent race condition when using sync call after begin/end.
SVN revision: 63407
2011-09-15 11:15:46 +00:00
Cedric BAIL 8cc23a119e emotion: correctly destroy buffer.
SVN revision: 63399
2011-09-14 22:33:41 +00:00
Cedric BAIL 60d03bc2d2 eina: fix eina inlist sorted insert (with and without state)
SVN revision: 63398
2011-09-14 22:04:37 +00:00
Vincent Torri d5a1614b2f order of includes
SVN revision: 63397
2011-09-14 19:11:12 +00:00
Vincent Torri dd96a309f4 clean generated files
SVN revision: 63396
2011-09-14 19:09:24 +00:00
Vincent Torri 6f054d2c0b clean generated files
SVN revision: 63395
2011-09-14 19:08:50 +00:00
Vincent Torri 662871b057 add tests and coverage support
SVN revision: 63394
2011-09-14 19:02:07 +00:00
Mike Blumenkrantz 681749300e fix and clarify more fd handler docs
SVN revision: 63389
2011-09-14 14:31:54 +00:00
Mike Blumenkrantz 1e533c27b2 fix docs for ecore_main_fd_handler_del
SVN revision: 63388
2011-09-14 14:26:28 +00:00
Mike Blumenkrantz 80bfb5a55e add main loop group to main docs page
SVN revision: 63387
2011-09-14 14:20:13 +00:00
Vincent Torri 585938123d Evil: add RTLD_DEFAULT support for dlsym()
SVN revision: 63373
2011-09-14 07:44:09 +00:00
Daniel Juyung Seo 61b786c4e8 evas evas_name.c: Fixed indentation.
SVN revision: 63369
2011-09-14 04:41:12 +00:00
Mike Blumenkrantz b9159044ed more @since 1.1
SVN revision: 63365
2011-09-13 23:04:18 +00:00
Mike Blumenkrantz 20eed93ea3 add ECORE_CON_EVENT_SERVER_WRITE ECORE_CON_EVENT_CLIENT_WRITE
SVN revision: 63364
2011-09-13 23:03:26 +00:00
Mike Blumenkrantz 31908c69f9 add @since 1.1 for some events
SVN revision: 63363
2011-09-13 22:46:46 +00:00
Christopher Michael 4128761216 Ecore_X(cb): Remove extra calls to ecore_x_flush. Move main loop
flushing call to an idler like ecore_evas does...Thanks k-s ;)



SVN revision: 63359
2011-09-13 16:32:34 +00:00
Christopher Michael 6a08cbdd30 Ecore_X(cb): Add missing flush after xcb_send_event.
SVN revision: 63358
2011-09-13 15:47:56 +00:00
Christopher Michael 5bfeec8dab Ecore_X(cb): Add missing flush after xcb_send_event.
SVN revision: 63357
2011-09-13 15:45:56 +00:00
Mike Blumenkrantz e982875277 more useless ecore-con functions: ecore_con_server_fd_get and ecore_con_client_fd_get
SVN revision: 63344
2011-09-12 08:30:22 +00:00
ChunEon Park c032eb32ee AUTHORS - updated.
SVN revision: 63342
2011-09-12 05:03:03 +00:00
Youness Alaoui 4340f75b0b Eina: Remove 'unused var' warnings from eina_inline_lock_void include
SVN revision: 63340
2011-09-12 03:44:04 +00:00
Youness Alaoui 1f52ee2a39 Eina: Use @EINA_LIBS@ for static linking libs in .pc file
SVN revision: 63339
2011-09-12 03:43:55 +00:00
Youness Alaoui 0db90cab00 Ecore-sdl: remove unused events and fix semicolon typo and docs
SVN revision: 63338
2011-09-12 03:43:46 +00:00
Youness Alaoui 35874b4819 Escape: Add proper static linkins libs to .pc file
SVN revision: 63336
2011-09-12 03:43:27 +00:00
Mike Blumenkrantz deb39b3bf0 you lied to me, cnp!
SVN revision: 63320
2011-09-10 23:56:50 +00:00
Mike Blumenkrantz a8ff30dea4 null check for color_class_list
SVN revision: 63319
2011-09-10 20:39:24 +00:00
Youness Alaoui b8d3fceb58 Ecore: If pkg-config doesn't find SDL, then try to use sdl-config
SVN revision: 63305
2011-09-09 02:56:03 +00:00
Youness Alaoui 88e5226da4 Escape: static linking libraries should go in Libs.private in .pc file
SVN revision: 63304
2011-09-09 02:55:54 +00:00
Christopher Michael 5427b07823 Ecore_X(cb): Add missing window types to return in netwm code.
SVN revision: 63303
2011-09-08 23:28:12 +00:00
Christopher Michael 8da3a6993f Ecore_X(cb): Dnd now works with efm. Add some debugging prints (to
debug gtk dnd events).



SVN revision: 63301
2011-09-08 23:11:33 +00:00
Christopher Michael 67a369fee3 Ecore_X(cb): Add simple .Xdefaults file parser for getting dpi, cursor
size, etc.

NB: Xcb has no support for xrdb (yet), so parse dpi, etc from
.Xdefaults (if exists).



SVN revision: 63299
2011-09-08 21:51:08 +00:00
Christopher Michael 1a1248b689 Evas: Add simple .Xdefaults files parsing to get DPI.
NB: Xcb has no support (yet) for dealing with xrdb (Xresource
database), so add a simple parser to read an .Xdefaults file and get
things like xft.dpi.



SVN revision: 63297
2011-09-08 21:49:45 +00:00
Vincent Torri 392921378a allow gnutls and openssl to be detected on Windows
SVN revision: 63294
2011-09-08 19:18:16 +00:00
Gustavo Lima Chaves 8224761b1e [evas] This seems to be the least fontconfig's compatible
version with our (current) code.



SVN revision: 63293
2011-09-08 18:37:29 +00:00
ChunEon Park 4e2320b17e edje - reverted embryo debug prints.
they can be used to get outside of the managable control.



SVN revision: 63281
2011-09-08 04:58:00 +00:00
Daniel Juyung Seo 044f49800b ecore Ecore.h: Fixed documentation.
SVN revision: 63280
2011-09-08 04:44:25 +00:00
ChunEon Park 5cac38f5d9 edje - added print_int print_float print_str funcs for debugging in embryo script
SVN revision: 63275
2011-09-07 20:43:40 +00:00
Youness Alaoui 4f96340279 Evas: If not threading, then LKT should not return 0, otherwise it will think it's a stuck lock
SVN revision: 63270
2011-09-07 18:00:57 +00:00
Tom Hacohen c0b309e43e Evas textblock: Added a workaround for the coords_recalc not being called.
Please, when you fix this annoying issue, revert this terrible commit. This
commit is intended to be a temporary fix.

SVN revision: 63267
2011-09-07 10:41:44 +00:00
Cedric BAIL a0fab4b871 eina: threads debugging back to work.
SVN revision: 63266
2011-09-07 10:16:27 +00:00
Mike McCormack 81ce922044 eina: Fix broken main loop thread check
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63263
2011-09-07 08:06:42 +00:00
Youness Alaoui dc8149ce0d Escape: oups, another copy/paste fail. Fix escape.pc
SVN revision: 63262
2011-09-07 07:24:51 +00:00
Youness Alaoui f26611c3de Adding Escape: A compatibility library for jailbroken PS3s (PSL1GHT)
SVN revision: 63260
2011-09-07 07:18:07 +00:00
Youness Alaoui df91f38ffb Edje: Use ecore_file_symlink rather than symlink
SVN revision: 63256
2011-09-07 06:58:48 +00:00
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