Commit Graph

7385 Commits

Author SHA1 Message Date
Vincent Torri 22969c71ef allow compilation on OS where the cache server can't be built (like Windows...)
SVN revision: 40570
2009-05-09 16:18:31 +00:00
Vincent Torri fb5e325078 remove EINA_WARN_UNUSED_RESULT on functions that return nothing
SVN revision: 40565
2009-05-09 06:59:00 +00:00
Vincent Torri fee240ec62 check for shm_open only if cserve is to be built
SVN revision: 40559
2009-05-08 22:01:43 +00:00
Vincent Torri 7ac68a4283 include time.h header files because time_t is used in Evas.h
SVN revision: 40558
2009-05-08 21:46:01 +00:00
Vincent Torri fa7a3b54a9 Check if we can compile and link programs using shm_open (for cserve)
Useful for platform that does not have them (Windows, some BSD)


SVN revision: 40557
2009-05-08 21:34:38 +00:00
Carsten Haitzler f79b4a4a2f 1. scalecache config env vars an use them
2. more api's related to cserve



SVN revision: 40548
2009-05-08 11:26:25 +00:00
Carsten Haitzler 5f77a25e1b unset cserve in cserve
SVN revision: 40539
2009-05-07 14:02:14 +00:00
Carsten Haitzler e6de097425 allow scale_hint to be added to items in edje
SVN revision: 40537
2009-05-07 13:30:18 +00:00
Carsten Haitzler 85bff718d6 1. scale cache now allows you to hint at the object if its dynamic, static or
none (ie default) and the engines actually understand it and use it.
2. fixes to scalecache and cserver too. more toto's done and its now been
stress tested by me - and i think cserve is ready to go gold. just enable it
with export EVAS_CSERVE=1 in your env for any eflapps - and run evas_cserve
(cmd-line options avalable plus cmd-line tol to query settings change on the
fly and query statsitics and state)



SVN revision: 40536
2009-05-07 13:29:56 +00:00
Carsten Haitzler dc09494b26 hmm why wasnt this committed?
SVN revision: 40535
2009-05-07 13:27:59 +00:00
Vincent Torri 4065fdd4f5 API BREAK
fix consistentness of ecore_x API. Rename some _del functions to _free ones.

See ticket #302


SVN revision: 40532
2009-05-07 08:35:00 +00:00
Vincent Torri 63f52c10c8 config.h is automatically added as a dependency by automake
SVN revision: 40531
2009-05-07 07:33:30 +00:00
Gustavo Sverzut Barbieri 37113c77a5 doxygen was missing as build dependency.
SVN revision: 40530
2009-05-06 21:03:11 +00:00
Carsten Haitzler 0d02c7a79a use more rediculously big double
SVN revision: 40525
2009-05-06 12:41:23 +00:00
Carsten Haitzler d92a6d99a7 more cserver work for sharede cache- improvements
SVN revision: 40524
2009-05-06 12:36:06 +00:00
Carsten Haitzler 63e4b4e564 fix softwared x11 xlib engine to generate masks when rotated too
SVN revision: 40523
2009-05-06 12:35:38 +00:00
Carsten Haitzler b37f6643cf fix char-wrap min size calc!
SVN revision: 40522
2009-05-06 12:34:54 +00:00
Gustavo Sverzut Barbieri a82baa9e5f do not disable sse on non amd64 machines.
build should detect sse and it should be toggled automatically during
runtime.



SVN revision: 40519
2009-05-06 07:03:31 +00:00
Gustavo Sverzut Barbieri b61f06e913 improve evas packaging.
- don't package directfb, it's for specific systems like embedded
   where it is required to build manually, maybe define some tweaks.

 - don't build with no-dither-mask as it will completely disable
   dithering on 16 and 8bpps, that's wrong! This is supposed to be
   enabled on embedded devices only, like maemo.



SVN revision: 40518
2009-05-06 06:59:53 +00:00
Gustavo Sverzut Barbieri 880ecd5726 fix minor build problems.
SVN revision: 40517
2009-05-06 06:39:59 +00:00
Gustavo Sverzut Barbieri ebeabe3735 enable adding just part of a string.
this allows us to add stringshare from a larger buffer that cannot be
modified.


SVN revision: 40516
2009-05-06 04:11:01 +00:00
Vincent Torri 48c7e28b20 * add support of CMYK, ICCK and grayscale images
* remove trailing spaces

fix ticket #303


SVN revision: 40515
2009-05-05 21:48:50 +00:00
Andreas Volz f73ad689da added xlib implementation for ecore_x_default_screen_get
SVN revision: 40511
2009-05-05 18:50:29 +00:00
Carsten Haitzler 892c085276 more todo items knocked off for cserve
SVN revision: 40509
2009-05-05 14:37:18 +00:00
Daniel Kolesa 07ec7509a9 Fixed debian stuff everywhere.
SVN revision: 40505
2009-05-04 17:36:48 +00:00
Massimiliano Calamelli 9dd0697b54 Place the ECORE_XSS #endif in the right place, otherwise ecore fails to buils if there is no screensaver extension
SVN revision: 40503
2009-05-03 21:26:08 +00:00
Rodrigo Cesar Lopes Belem a7c514da2b Added libtool as Build-Depends to everything that uses
DEB_CONFIGURE_SCRIPT := ./autogen.sh

SVN revision: 40500
2009-05-03 14:32:23 +00:00
Carsten Haitzler bd6d938956 todo items for cserve for evas done - well some of them. more to come.
SVN revision: 40495
2009-05-03 07:37:31 +00:00
Gustavo Sverzut Barbieri a5428a4ca3 no idea why this flag is required, but doing like others do...
SVN revision: 40493
2009-05-02 23:41:09 +00:00
Gustavo Sverzut Barbieri 79631a6f0f xrandr1.3 support: first steps (events).
starting to implement xrandr 1.3 support, now we support all events
and their fields.

This commit also fix way that extensions register their ids and
base. The way it was, ids was being added to the last event id, that
was wrong! Fortunately, those that were wrong had just one event and
always added "0", making no harm.



SVN revision: 40492
2009-05-02 23:34:29 +00:00
Gustavo Sverzut Barbieri e09dc2a71c use alloca+memcpy instead of strdupa.
for these guys that insist in using doomed systems like solaris or
bsd, god save them ;-)

Patch by vtorri.


SVN revision: 40491
2009-05-02 23:22:07 +00:00
Gustavo Sverzut Barbieri 96511aeea4 proper cleanup of ecoren_con_server after ecore_events.
ecore_events are asynchronous and can be dispatched after the server
is deleted (ecore_con_server_del()). In this case, server will flag
"delete_me" and avoid doing double-free. When the event is dispatched
and the server is deleted, we still need to free resources and so we
need to call _ecore_con_server_free(). But we cannot do that by means
of ecore_con_server_del() since it will check "delete_me" flag and
will return.

This patch calls _ecore_con_server_free() directly when events are
dispatched and server is deleted. It fixes problems with
forecasts/weather modules exhausting file descriptors, a long standing
issue that bring problems with pam/desklock authentication.

Thanks to manio to point out #305 and testing.


SVN revision: 40490
2009-05-02 20:12:41 +00:00
Gustavo Sverzut Barbieri 022204e09c Allow sending signals to GROUP sub-parts.
Today signals emitted inside GROUP sub-parts are delivered to parent
group as "part-name:original-source". This is good and allow edje
groups to be reused. But no counter part to send events to inside
sub-groups existed.

This patch allows one to send a signal "signal" to inside a part
"part" that is of type GROUP by prepending signal emission with part name:

    emission: "part:signal"
    source: "source"

this is the same as:

   o = edje_object_part_swallow_get(ed);
   edje_object_signal_emit(o, "signal", "source");

but can be done all in themes, no need to go to application c/c++/python.

Based on patch by Pieter, see mail list.


SVN revision: 40489
2009-05-02 20:05:53 +00:00
Gustavo Sverzut Barbieri 4fd5d0c794 free getaddrinfo() results and avoid leaks in ecore_con.
This was affecting ecore_con users, specially modules that keep
polling the network, like forecasts or weather.

patch by manio, see bug #305.


SVN revision: 40488
2009-05-02 19:02:09 +00:00
Gustavo Sverzut Barbieri 8ef8b1e15a fix build of cserve with -fvisibility=hidden.
SVN revision: 40486
2009-05-02 15:53:48 +00:00
Carsten Haitzler 46e8aa1b0d shared cache server++
is it ok?

1. it can be --disabled in evas's configure, but i think it works WITHOUT
disabling it (runtime) as it falls back to the old way of loading
2. it may cause build problems on some platforms - without it being enabled
we won't find out, so enable.
3. it needs enabling runtime to make use of it so it should be safe for now
until you enable it.

what is it?

it is a SHARED cache server - that means images loaded are loaded BY the
cache server (not by the actual process using evas). images are shared via
shared memory segments (shm_open + mmap). this means only 1 copy is in all
ram at any time - no matter how many processes need it , and its only loaded
once. also if another app has already loaded the same data - and its in the
cache or active hash, then another process needing the same stuff will avoid
the loads as it will just get instant replies from the cache of "image already
there". as it runs in its own process it can also time-out images from the
cache too.

right now you enable it by doing 2 things

1. run evas_cserve (it has cmd-line options to configure cache etc.
2. export EVAS_CSERVE=1 (im the environment of apps that should use the cache
server).

it works (for me) without crashes or problems. except for the following:

1. preloading doesnt work so its disabled if cserve is enabled. thisis
because the load threads interfere withthe unix comms socket causing
problems. this need to really change and have the cserve know about/do
preload and let the select() on the evas async events fd listen for the
unsolicited reply "load done". but it's not broken - simple preloads are
syncronous and forced if cserve is enabled (at build time).
2. if cserve is killed/crashes every app using it will have a bad day. baaad
day. so dont do it. also cserve may be vulnerable to apps crashing on it - it
may also exit with sigpipe. this needs fixing.
3. if the apps load using relative paths - this will break as it doesnt
account for the CWD of the client currently. will be fixed.
4. no way to change cache config runtime (yet)
5. no way to get internal cache state (yet).
6. if cache server exist - it wont clean up the shmem file nodes in /dev/shm
- it will clean on restart (remove the old junk). this needs fixing.

if you fine other issues - let me know.

things for the future:

1. now its a separate server.. the server could do async http etc. loads too
2. as a server it could monitor history of usage of files and images and
auto-pre-load files it knows historically are loaded then whose data is 
immediately accessed.
3. the same infra could be used to share font loads (freetype and/or 
fontconfig data).
4. ultimately being able to share rendered font glyphs will help a lot too.
5. it could, on its own, monitor "free memory" and when free memory runs
load, reduce cache size dynamically. (improving low memory situations).
6. it should get a gui to query cache state/contents and display visually.
this would be awesome to have a list of thumbnails that show whats in the
cache, how many referencesa they have, last active timestamps etc.

blah blah.

please let me know if the build is broken asap though as i will vanish
offline for a bit in about 24hrs...



SVN revision: 40478
2009-05-01 07:11:07 +00:00
Davide Andreoli de2cd99b4b * New style for Eina Doxy... now lets see what will happend with the online generation ;)
SVN revision: 40467
2009-04-29 21:44:33 +00:00
Vincent Torri 90993a4272 fix the borderless_set function by removing the frame around the window
SVN revision: 40462
2009-04-29 17:50:44 +00:00
Daniel Kolesa f53053c1ca Missing build-deps
SVN revision: 40446
2009-04-28 16:38:18 +00:00
Massimiliano Calamelli 31c77f7844 Added #define _POSIX_HOST_NAME_MAX for OSes that don't know it (NetBSD in detail)
SVN revision: 40444
2009-04-28 15:49:45 +00:00
Mike Frysinger d344f8a106 include Ecore.h for ecore_time* prototypes
SVN revision: 40432
2009-04-28 05:40:42 +00:00
Mike Frysinger 81b053c046 include Ecore.h for ecore_exe_run prototype
SVN revision: 40431
2009-04-28 05:39:22 +00:00
Mike Frysinger 5016400f63 fix printf format warnings (int vs size_t) and curl usage warning (curl_easy_getinfo tromps on a pointer to a long, not an int)
SVN revision: 40430
2009-04-28 05:26:22 +00:00
Mike Frysinger b980d9477e fix typo in long_has_neither_32_nor_64_bits prototype
SVN revision: 40429
2009-04-28 05:14:11 +00:00
Mike Frysinger 0041222bb0 pull in evas_common.h for evas_string_char_len_get() decl
SVN revision: 40428
2009-04-28 05:06:48 +00:00
Carsten Haitzler 95ea5ee0e1 fix corner case with edje - where u check for existens of parts in a edje but
never use a single object from it.



SVN revision: 40410
2009-04-27 02:41:33 +00:00
Gustavo Sverzut Barbieri f783e3900d add missing "changed" flags.
SVN revision: 40409
2009-04-27 02:41:27 +00:00
Gustavo Sverzut Barbieri e2d7c998da mark edje as dirty if box/table children changed.
This should help to fix bugs with systray.



SVN revision: 40408
2009-04-27 02:38:14 +00:00
Gustavo Sverzut Barbieri d2a587c21f recalculate table if it is dirty.
SVN revision: 40407
2009-04-27 02:36:56 +00:00
Jaime Thomas 22ec9fd53b Add a function to retrieve the timer interval.
SVN revision: 40404
2009-04-26 17:16:33 +00:00
Rafael Antognolli af073a4524 Now plugins are loaded using eina_module.
SVN revision: 40387
2009-04-25 21:48:49 +00:00
Daniel Kolesa ff0d4f71e2 Moved to fontconfig
SVN revision: 40364
2009-04-25 10:02:06 +00:00
Vincent Torri c01d945c99 missing use of ecore_x_drawable_rectangle_fill()
SVN revision: 40360
2009-04-25 07:53:28 +00:00
Vincent Torri 2fd6df87f8 use ecore_x_drawable_rectangle_fill().
SVN revision: 40359
2009-04-25 07:16:59 +00:00
Vincent Torri 90061cb121 add to the API the function ecore_x_drawable_rectangle_fill() that
fills a rectangle on the specified drawable. It will be used in ecore_evas
to factorize the code.


SVN revision: 40358
2009-04-25 07:16:26 +00:00
Viktor Kojouharov 85a494e86c fix the macro
SVN revision: 40356
2009-04-24 21:02:40 +00:00
Vincent Torri e9bacbe619 * formatting in ecore_evas_win32.c
* fix fullscreen_set() and borderless_set() functions in ecore_win32
 * change SetWindowLong() to SetWindowLongPtr() as it is deprecated
 * better error management when dealing with SetWindowLongPtr()
 * remove useless SendMessage() calls
 * other minor fixes


SVN revision: 40354
2009-04-24 19:37:09 +00:00
Viktor Kojouharov 619def6ea5 ethumb_file_get and some cleanup
SVN revision: 40352
2009-04-24 18:53:11 +00:00
Luis Felipe Strano Moraes 93d9e9a8b6 Fix typo causing build failure in ethumb when epdf was not present.
SVN revision: 40348
2009-04-24 16:21:49 +00:00
Rodrigo Cesar Lopes Belem 05a22bce95 Merge branch 'debian-fixes'
SVN revision: 40345
2009-04-24 05:29:12 +00:00
Iván Briano 554dccdb0b some formatting
SVN revision: 40343
2009-04-24 04:35:52 +00:00
Iván Briano 6c7831c3ab Build against newer Fribidi
SVN revision: 40341
2009-04-24 00:21:26 +00:00
Daniel Kolesa d45fd4bf09 1. fixed exalt-client module load, 2. fixed edje DEB_SOURCE_VERSION(thx to sur5r)
SVN revision: 40340
2009-04-23 19:22:39 +00:00
Vincent Torri 00098e2458 fix cast
SVN revision: 40337
2009-04-23 18:43:12 +00:00
Daniel Kolesa 8e797eed19 Fixed typo in edje debian/control, thx to sur5r
SVN revision: 40336
2009-04-23 18:28:16 +00:00
Daniel Kolesa 0752b78f25 Updated DEB_SOURCE_VERSIOn, thx to sur5r
SVN revision: 40335
2009-04-23 18:21:30 +00:00
Daniel Kolesa 7530de5ba1 Added libedje-bin to depends of libedje-dev.
SVN revision: 40331
2009-04-23 17:07:28 +00:00
Daniel Kolesa 1c112b792b Updated ecore debian stuff, thx to sur5r :)
SVN revision: 40330
2009-04-23 16:00:03 +00:00
Carsten Haitzler 75e9c7fa98 fix calc - do not reset calc_only flag! it wanst set by the calc_do!
SVN revision: 40326
2009-04-23 12:42:53 +00:00
Lars Munch 47840ee7a0 From: Lars Munch <lars@segv.dk>
thx, but you committed rev 1 of the patch. I send out an updated patch
since the function naming did not follow "e" style. Attached patch
renames the functions accordingly. Please apply.



SVN revision: 40322
2009-04-23 07:08:50 +00:00
Carsten Haitzler ae44cac932 revert patch - no-undefined already there.
SVN revision: 40319
2009-04-23 04:07:59 +00:00
Vincent Torri d24bc9ea4b better fix for -no-undefined
SVN revision: 40316
2009-04-23 03:56:31 +00:00
Vincent Torri 899b8d13dc * better fix for -no-undefined
* remove test with icl


SVN revision: 40313
2009-04-23 03:47:28 +00:00
Vincent Torri 38fe5f2884 add GDI evas engine support
SVN revision: 40311
2009-04-23 03:24:16 +00:00
Vincent Torri 7f98415206 add GDI engine.
todo: fullscreen and shape support


SVN revision: 40310
2009-04-23 03:20:51 +00:00
Carsten Haitzler 7f1bde6cf4 From: lars@segv.dk (Lars Munch)
Hi

This patch adds two new functions, ecore_pipe_close_read and
ecore_pipe_close_write, to ecore_pipe. The purpose it to enable
ecore_pipe to be used together with fork (see example below).

The patch also handles if the read or write end of the pipe closes.



SVN revision: 40305
2009-04-23 01:38:55 +00:00
booleanlabel b0d7b37388 From: booleanlabel@gmail.com
cygwin fixes.



SVN revision: 40303
2009-04-23 01:15:11 +00:00
booleanlabel 3068e9bd4f From: booleanlabel@gmail.com
cygwin fixes.



SVN revision: 40302
2009-04-23 01:09:26 +00:00
booleanlabel 51dc49dbee From: booleanlabel@gmail.com
cygwin fixes.



SVN revision: 40301
2009-04-23 01:09:01 +00:00
Carsten Haitzler 8e52d827ec move to uses no []'s as it works for me, but for belem... inconsistent []'s
doesnt work.



SVN revision: 40300
2009-04-23 00:32:53 +00:00
Massimiliano Calamelli 80d145c896 NetBSD requires <sys/resource.h>
SVN revision: 40299
2009-04-22 23:48:49 +00:00
Jaime Thomas 1d112a3ba1 Typo.
SVN revision: 40298
2009-04-22 22:09:40 +00:00
Daniel Kolesa f0e4360835 Updated debian stuff
SVN revision: 40296
2009-04-22 17:33:22 +00:00
Daniel Kolesa e0d9907767 Updated ecore debian stuff
SVN revision: 40295
2009-04-22 16:55:53 +00:00
Daniel Kolesa aa2d9d1cb1 A little change to edje debian stuff changelog
SVN revision: 40293
2009-04-22 16:38:11 +00:00
Daniel Kolesa 875d89a9fe Updated debian stuff for core EFL. Changed debian stuff of others to work with core EFL updates.
SVN revision: 40292
2009-04-22 16:37:17 +00:00
Daniel Kolesa 13eab5ead2 Fixed shlibs files and typo in changelog in debian stuff of ecore
SVN revision: 40290
2009-04-22 15:14:02 +00:00
Carsten Haitzler 9d18df3109 and incriment to next rev.
SVN revision: 40285
2009-04-22 14:08:21 +00:00
Carsten Haitzler 99ccf484f8 snapworth quality - distchecked. sonames bumped. rev's bumped. tarballs
uploaded.



SVN revision: 40284
2009-04-22 14:07:05 +00:00
Rafael Antognolli b9cd220600 Added function ethumb_exists() and some API change.
SVN revision: 40282
2009-04-21 23:11:37 +00:00
Rafael Antognolli 44b8efd6ba Changed Ethumb_Thumb_Size -> Ethumb_Thumb_FDO_Size.
SVN revision: 40281
2009-04-21 23:10:04 +00:00
Rafael Antognolli 8511aa2bd9 There is no more Ethumb_File.
Now the file path and thumbnail path are stored in the Ethumb structure.



SVN revision: 40280
2009-04-21 23:08:17 +00:00
Rafael Antognolli e4035bc52f Removed some structures from Ethumb.h and put them in ethumb_private.h.
SVN revision: 40279
2009-04-21 23:06:57 +00:00
Rafael Antognolli 15276b648e Some fixes on the emotion plugin.
SVN revision: 40278
2009-04-21 23:05:06 +00:00
Rafael Antognolli 939afcb3ea Added epdf plugin.
Err... maybe I forgot to svn add some files in my previous commit...



SVN revision: 40277
2009-04-21 23:03:50 +00:00
Vincent Torri 4aea12e286 free the events sent by the X server
SVN revision: 40271
2009-04-21 17:42:25 +00:00
Daniel Kolesa 7a07300a77 Updated changelogs for packages which will go into repository.
SVN revision: 40270
2009-04-21 17:39:20 +00:00
Carsten Haitzler e39dc41493 1. embryo shoudl have soname
2. yes local.conf slipped in - ignore
3. added soname version release to module arch dirs
4. adapted extra-modules to use the revision in arch
5. made e17 also have a release rev
6. dummy release stuff in eet - wont use it as its already released.



SVN revision: 40267
2009-04-21 14:17:42 +00:00
Vincent Torri c634a197b4 fix eina_list_remove use
SVN revision: 40263
2009-04-21 08:09:39 +00:00
Carsten Haitzler 5399d14e78 limit init and fini to.. once!
SVN revision: 40261
2009-04-21 06:26:52 +00:00