Commit Graph

7913 Commits

Author SHA1 Message Date
Vincent Torri fe763e0fe0 fix compilation of programs using ecore on FreeBSD
SVN revision: 41524
2009-07-28 09:57:24 +00:00
Vincent Torri 12751954d1 remove uneeded declaration (to be symetric with xcb code)
SVN revision: 41523
2009-07-28 09:55:08 +00:00
Gustavo Sverzut Barbieri d64634e725 unbreak xrender, opengl and software-16 engines.
ecore_evas_xlib_deps does not exist anymore, using have_ecore_x_xlib,
change if i'm wrong (software-x11 uses just have_ecore_x).



SVN revision: 41493
2009-07-25 04:52:34 +00:00
Cedric BAIL 470b2756ba Oops, forgot changelog.
SVN revision: 41483
2009-07-23 12:33:02 +00:00
Cedric BAIL fe553249ef * eet: Fix initialization for system that don't support SECMEN.
Note that I don't like this solution, but I didn't see any better one.


SVN revision: 41481
2009-07-23 09:53:44 +00:00
Iván Briano 835c6fd150 Fix requirements for ecore-file
SVN revision: 41474
2009-07-22 14:26:28 +00:00
Cedric BAIL e75b89d50c * eina: Handle NULL in eina_list_search_sorted_near_list.
SVN revision: 41467
2009-07-21 15:21:46 +00:00
Daniel Kolesa 1ef8e96d05 Add data/images/border-0.jpg in ethumb to EXTRA_DIST so it will be included when creating tarballs.
SVN revision: 41462
2009-07-21 06:01:57 +00:00
Gustavo Sverzut Barbieri 14105484aa Eina rectangle missing list init.
Rectangle needs the list module for the pool_new() function. Patch
also adds a check for initialization error on the unit test.

By: Andre Dieb


SVN revision: 41460
2009-07-21 01:55:31 +00:00
Cedric BAIL 940b7b0740 * evas: Return Eina_Bool when it make sense.
SVN revision: 41458
2009-07-20 15:33:10 +00:00
Daniel Kolesa b58ac165cf Fix build of ethumb on some machines..
SVN revision: 41457
2009-07-20 15:20:25 +00:00
Michael Lauer e1bb8c38ad edje: add first bunch of typedefs for previously anonymous callbacks
SVN revision: 41424
2009-07-18 22:43:50 +00:00
Michael Lauer 565a623f26 evas: add first bunch of typedefs for previously anonymous callbacks
SVN revision: 41423
2009-07-18 22:43:18 +00:00
Gustavo Sverzut Barbieri 25ac55ae09 update rectangle test to new API.
Guys, when you change API, please change it everywhere and then run tests!

By: Andre Dieb


SVN revision: 41421
2009-07-18 15:58:44 +00:00
Kim Woelders 1db0b28f52 The functions ecore_x_window_prop_card32_list_get, ecore_x_window_prop_xid_get, and ecore_x_window_prop_xid_list_get were buggy.
The original intention was that if the property is absent or not of extected type (or invalid window) they should return -1, otherwise they should return the number of elements in the property, 0 if none.

Unfortunately they all returned 0 if the property does not exist. Also, ecore_x_window_prop_xid_list_get retuned 0 if the property exists, has no elements, but has wrong type (should be -1).

These issues should be fixed now but this may cause problems in any code that relied on the incorrect behavior.



SVN revision: 41418
2009-07-18 10:27:51 +00:00
Carsten Haitzler a2b75fa66c free list
SVN revision: 41411
2009-07-18 09:35:22 +00:00
Gustavo Sverzut Barbieri 37d5bd6ead add item to fix callback type names and remove done items.
SVN revision: 41402
2009-07-17 15:33:49 +00:00
Gustavo Sverzut Barbieri 980d778e39 ethumbd_client.
do the same as ethumb, but uses ethumbd for doing it. Yet another
sample on ethumb usage.



SVN revision: 41401
2009-07-17 15:29:44 +00:00
Gustavo Sverzut Barbieri 7acfd6d648 fix theme/frame parsing to not leak and be simpler.
we don't need to allocate memory, copy, modify and free (free was
missing!), we can just give stringshare the length to use.



SVN revision: 41398
2009-07-17 14:48:03 +00:00
Gustavo Sverzut Barbieri 6aa85b1cf9 indent.
SVN revision: 41397
2009-07-17 14:44:11 +00:00
Gustavo Sverzut Barbieri df0ea7a123 public header files should include global headers, not local.
SVN revision: 41395
2009-07-17 14:27:17 +00:00
Gustavo Sverzut Barbieri 386972f2f0 match API rename, it's module flush now.
SVN revision: 41394
2009-07-17 14:24:08 +00:00
Cedric BAIL b02de756a6 * eina: Rename eina_module_list_delete to eina_module_list_flush.
SVN revision: 41385
2009-07-17 11:13:38 +00:00
Rafael Antognolli ffe70c5e07 Fix some memory handling issues:
* Ethumb_Client now calls free_data on clear() and queue_remove().
* disconnect() doesn't call clear() anymore.
* disconnect() free pending calls correctly.



SVN revision: 41377
2009-07-17 04:28:41 +00:00
Gustavo Sverzut Barbieri 658d39dac8 emotion supports mov, make template edje more efficient.
* add .mov as supported extension.
 * disable mouse events and smooth scale, hint scale as dynamic.



SVN revision: 41375
2009-07-16 23:13:16 +00:00
Gustavo Sverzut Barbieri ebcc27e426 improve tool usage.
-Q, -V, -D: change debug levels, always forget about EINA_ERROR_LEVEL :-P

 print message with status, if it failed, was generated or already exists.



SVN revision: 41374
2009-07-16 22:55:05 +00:00
Gustavo Sverzut Barbieri 2d2dfb7485 improve debug support on module loading.
SVN revision: 41373
2009-07-16 22:53:38 +00:00
Gustavo Sverzut Barbieri 51e81f52ef fix symbol visibility in plugins.
ethumb_plugin_get() must be visible, _module_init/shutdown do not.

also add some __UNUSED__ attribute to shut up -Wextra



SVN revision: 41372
2009-07-16 22:13:36 +00:00
Gustavo Sverzut Barbieri b803f43e91 Export EAPI otherwise plugins will not get symbols.
SVN revision: 41371
2009-07-16 22:06:40 +00:00
Gustavo Sverzut Barbieri 473f5ea563 remove -Wextra warnings.
SVN revision: 41370
2009-07-16 21:49:14 +00:00
Gustavo Sverzut Barbieri 4a2bd500e3 remove gcc -Wextra warnings
SVN revision: 41369
2009-07-16 21:42:02 +00:00
Gustavo Sverzut Barbieri 00d15b298a do not remove sub-evases from ecore_evases list.
they are not there, they're listed inside sub_ecore_evas of parent instead.



SVN revision: 41368
2009-07-16 21:39:48 +00:00
Cedric BAIL 6ca987941f * eina: Fix declaration according to Vincent Torri review.
SVN revision: 41359
2009-07-16 12:09:29 +00:00
Carsten Haitzler 01062bf98b cast. c++ doesn't like the implied void * -> struct * cast.
SVN revision: 41358
2009-07-16 03:04:56 +00:00
Cedric BAIL a477424685 * eina: Expose an helper for memory pool as Eina_Trash data type.
SVN revision: 41350
2009-07-15 13:13:52 +00:00
Gustavo Sverzut Barbieri 2051b9b76c svn:ignore + TODO
SVN revision: 41348
2009-07-15 05:02:37 +00:00
Gustavo Sverzut Barbieri c6b4e69225 zero pointers before failing.
SVN revision: 41347
2009-07-15 04:44:15 +00:00
Rafael Antognolli 0e694f4e18 Fix ethumb file URI generation.
It's now escaping invalid chars to its hex representation.



SVN revision: 41345
2009-07-15 04:18:05 +00:00
Gustavo Sverzut Barbieri 6103d8db01 oops, fix case of timers never being fired while we have idlers.
To reach this case, have a timer that would not be fired on
_ecore_main_loop_iterate_internal(), for example it's not ready yet
(just_added==1), system would get into this inner loop and would never
stop, since there is timer expired now (next_time == 0.0), if we go to
start_loop it would just get into the same loop, not dispatching and
timers.

Python test 04-idler.py triggered that problem.




SVN revision: 41342
2009-07-15 00:11:04 +00:00
Vincent Torri 7807fa64a0 rename 'x11' to 'xlib' for software x11 based engines when it makes sense
SVN revision: 41330
2009-07-14 21:18:27 +00:00
Vincent Torri da292c1f29 * rename 'x11' to 'xlib' when it makes sense
* allow the build of evas without xlib installed (for OpenInkpot guys)
 * add big fat warning when at least a module is linked statically (try it !)

more patches will follow now (ecore, e, rage and ewl)
I let pyton and c++ bindings maintainer to do the rename


SVN revision: 41329
2009-07-14 21:16:08 +00:00
Gustavo Sverzut Barbieri a772d03b40 inlist: docs, docs docs
SVN revision: 41328
2009-07-14 15:32:21 +00:00
Gustavo Sverzut Barbieri a6f46561e7 add missing stddef.h, required by offsetof()
SVN revision: 41327
2009-07-14 15:32:01 +00:00
Gustavo Sverzut Barbieri 9af4d08f79 one more safety check: do not remove element if it's not in any list.
This is the best we can do, but what should be done is to check if
element is really from that list.



SVN revision: 41326
2009-07-14 14:00:59 +00:00
Rafael Antognolli 26a3abe8ef Making ethumb_client_connect always call the connected_cb.
Now the callback is called even when it fails to create a get_name_owner
request.



SVN revision: 41323
2009-07-13 22:08:00 +00:00
Rafael Antognolli 31fc2b0dfa Added support to creating animated thumbnails from videos.
These thumbnails are generated using an edje template. Each thumbnail is
an edje file, that has a group called "movie/thumb"
The thumbnail can be animated by receiving a signal "animate" or "animate_loop"
(the last one being a loop animation that calls itself when finished), and
the animate_loop program can be stopped by receiving a signal "animate_stop".
The transition time is set based on the time of the animation (that is set
by the call ethumb_video_time_set()).



SVN revision: 41322
2009-07-13 19:38:17 +00:00
Rafael Antognolli 2dd7e38b96 Changing boolean flags to Eina_Bool.
SVN revision: 41321
2009-07-13 19:24:20 +00:00
Rafael Antognolli d147af24e3 Created new function edje_edit_image_data_add().
Now it's possible to add an image that is already inside the eet (with a
default key name) to the edje image collection.



SVN revision: 41320
2009-07-13 19:17:35 +00:00
Gustavo Sverzut Barbieri 05f61cd086 fix uninitialized problems reported by valgrind.
SVN revision: 41316
2009-07-12 16:11:58 +00:00
Gustavo Sverzut Barbieri 29c44e5234 Improve docs in Eet.h
By: Hanspeter Portner


SVN revision: 41307
2009-07-11 14:34:54 +00:00
Gustavo Sverzut Barbieri 4faa46cab3 Efreet_Mime: bugfix for magic matching.
Efreet_Mime did not match last set of magics for given mime-type due to
missing check after the loop. This bug was partially masked by the
problem fixed in my previous patch.

By: Mikhail Gusarov


SVN revision: 41305
2009-07-11 14:26:53 +00:00
Gustavo Sverzut Barbieri 9aef9f5eca Efreet_Mime: fix subrules with non-zero depth.
Hello,

I've fixed a bug in parsing magic file in Efreet_Mime: if some magic
rule has a subrule with non-zero depth, then the 0 depth is used instead
for subrule. This led to nonsense like all .xml documents matched as
application/docbook+xml.

By: Mikhail Gusarov


SVN revision: 41304
2009-07-11 14:23:36 +00:00
Vincent Torri 84be18a101 typo
SVN revision: 41299
2009-07-11 06:07:11 +00:00
Gustavo Sverzut Barbieri 5959578954 fix minor glitches with edje box.
still missing:
  * box.max
  * proper handling of min/max, need to behave like text.



SVN revision: 41297
2009-07-10 23:13:09 +00:00
Carsten Haitzler d6a6cc63e8 cserve for evas now has a threaded loader - much better when multiple clients
aare hammering it with load requests



SVN revision: 41293
2009-07-10 06:52:09 +00:00
Mikhail Gusarov d6af88ef6c patch from: Mikhail Gusarov <dottedmag@dottedmag.net>
evas_common_font_utf8_get_prev currently works correctly only on an
ASCII symbols. For non-ASCII it just returns random garbage somehow
constructed from a string.

Attached patch makes it work according to the comment at the start.



SVN revision: 41292
2009-07-10 06:06:37 +00:00
Rafael Antognolli 8106bf6d44 Added ETHUMB_THUMB_EET as a format flag.
SVN revision: 41289
2009-07-09 19:47:51 +00:00
Rafael Antognolli 6a060751f8 Providing more API to plugins.
- Now it's possible to access the ecore_evas used to generate the
thumbnails (and use functions like ecore_evas_buffer_pixels_get() ont it);
- Functions to calculate aspect and fill area using the aspect ratio as
argument are also provided.



SVN revision: 41288
2009-07-09 19:42:18 +00:00
Rafael Antognolli 116c7d3266 Fixed wrong usage of dbus.
This was also the problem causing ethumb generated callback on the client
library always return with success=1 (see ticket #337).



SVN revision: 41287
2009-07-09 19:26:16 +00:00
Rafael Antognolli f9b765ec1c Added support to set quality and compress level.
SVN revision: 41286
2009-07-09 19:16:02 +00:00
Rafael Antognolli 5dc0fa41ef Added support to free_data callbacks.
Some functions that require callbacks and data passed to them now can
receive a free_data callback as argument too.



SVN revision: 41285
2009-07-09 19:14:29 +00:00
Rafael Antognolli 8f9dc79021 Fixed wrong usage of eina_list_remove_list on Ethumb_Client.
SVN revision: 41284
2009-07-09 19:11:57 +00:00
Vincent Torri 3c7680e6cb * add ecore_x_atom_name_get() API (will be used by ewl)
* move atom related functions from ecore_x.c to ecore_x_atom.c


SVN revision: 41283
2009-07-09 04:55:11 +00:00
Cedric BAIL 3dfa5693f9 * eet: Update ChangeLog.
SVN revision: 41280
2009-07-08 15:13:03 +00:00
Cedric BAIL 0a6ef8bbde * eet: Reorder gcry init so that it's correctly taken into account by gcry.
SVN revision: 41279
2009-07-08 14:43:20 +00:00
Cedric BAIL 729eaf324c * eina: Remove recursion from eina_rectangle.
SVN revision: 41263
2009-07-07 11:24:44 +00:00
Cedric BAIL 7a94d9de85 * evas: Try all known modules when testing an unknown file.
SVN revision: 41262
2009-07-07 11:07:43 +00:00
Vincent Torri 7e475a152c missing ;
SVN revision: 41259
2009-07-06 21:48:11 +00:00
Cedric BAIL 0e2a57f8c8 * eet: Fix compilation when disabling signature, with gnutls enabled.
SVN revision: 41256
2009-07-06 13:25:29 +00:00
Cedric BAIL dbaeb5eaba * eina: Partial fix for ticket #286.
SVN revision: 41241
2009-07-03 12:39:32 +00:00
Lars Munch 0b02e8f8a3 On windows use evil's dladdr implementation so you dont have to set
EINA_MODULES_MEMPOOL_DIR and EVAS_MODULES_DIR in the windows environment.



SVN revision: 41230
2009-07-02 07:45:01 +00:00
Cedric BAIL 1676145494 * evas: Reduce code duplication.
SVN revision: 41228
2009-07-01 14:05:04 +00:00
Vincent Torri 07d7e5ce66 * remove the mention of the static link check in configure ouput
* add a (ecologic) warning at the end of configure if a module is
   statically linked to eina


SVN revision: 41226
2009-06-30 16:18:41 +00:00
Vincent Torri c803ed44d3 fix++
SVN revision: 41222
2009-06-29 06:44:35 +00:00
Vincent Torri 7a3b2110bf * more doc
* check the returned value of eina_error_init() in eina_module_init()


SVN revision: 41218
2009-06-28 06:29:11 +00:00
Vincent Torri 13fbd02091 Reorganize a bit the configure.ac file, and add 2 macros for
dithering and scaler


SVN revision: 41216
2009-06-27 13:07:00 +00:00
Vincent Torri 19b6892b94 remove useless Windows CE stuff, as it must be done on the
executable, and not the library.


SVN revision: 41214
2009-06-27 07:00:39 +00:00
Vincent Torri 390f94bcfd update m4 macros (mainly formatting)
SVN revision: 41212
2009-06-27 06:42:14 +00:00
Cedric BAIL a7f2974e13 * evas: break engine API !!!
Improvements: Now evas rendering loop is the one responsible to
	initialize the surface to 0 correctly (taking into account surface
	alpha and object opacity). This will reduce the number of memset
	we do.

	Note: Current software_x11 (xlib and xcb) are buggy. They are
	copying too much data when the surface use a mask. That's why
	two memset are left in their code. They could be removed, but
	we should fix the surface we copy on change (look at mxob user
	and evas_software_xlib_x_output_buffer_paste).


SVN revision: 41206
2009-06-26 13:26:52 +00:00
Cedric BAIL 7e62952adf * evas: Fix broken evas_software_16 static module support.
SVN revision: 41205
2009-06-26 13:15:32 +00:00
Vincent Torri c5ed7f0de4 * fix typo
* move option of e17 benchmark to its correct place


SVN revision: 41204
2009-06-26 07:52:56 +00:00
Vincent Torri b38a118162 * use a m4 macro for checking benchmark libraries and
check the libraries only if benchmarking is enabled
 * add extra dist files to be able to configure eina
   with autogen.sh and also add .spec files


SVN revision: 41203
2009-06-26 07:20:15 +00:00
Vincent Torri c94a92a174 * Remove the use of HAVE___ATTRIBUTE__ (which is defined at
configure time) in an exported header. Use only macros
   defined by the compilers, which is sufficient and simpler.
 * Add missing EINA_DEPRECATED in some cases.


SVN revision: 41199
2009-06-25 19:58:05 +00:00
Vincent Torri 4d5e99df01 add minimum supported version for Windows CE and XP
SVN revision: 41198
2009-06-25 19:55:06 +00:00
Carsten Haitzler e420003d7e add a zero of cpu.. just in case.
SVN revision: 41195
2009-06-25 14:59:12 +00:00
Cedric BAIL f60c798f1d * eina: Fix rectangle merge.
SVN revision: 41193
2009-06-25 10:58:16 +00:00
Vincent Torri 4c09519e99 remove trailing spaces
SVN revision: 41191
2009-06-25 04:20:34 +00:00
Vincent Torri ebc20c2236 API BREAK: fix Eina API so that it is more consistent with the other EFL
what is modified:

eina_counter_add -> eina_counter_new
eina_counter_delete -> eina_counter_free
eina_lalloc_delete -> eina_lalloc_free
eina_mempool_new -> eina_mempool_add
eina_mempool_delete -> eina_mempool_del
eina_mempool_alloc -> eina_mempool_malloc
eina_tiler_del -> eina_tiler_free

It remains some questions: have the following API a good name:

eina_module_list_delete
eina_list_free
eina_rbtree_delete

(see ticket #286)

If you find any problem, please report in that thread


SVN revision: 41187
2009-06-24 16:56:49 +00:00
Cedric BAIL 3b384b323c * eina: Faster Eina_Rectangle_Pool (should be used by OpenGL engine).
SVN revision: 41185
2009-06-24 13:38:25 +00:00
Cedric BAIL 8a363fec23 * eet: SUN compiler don't like ; at the end of this macro.
SVN revision: 41184
2009-06-24 12:56:16 +00:00
Cedric BAIL 746302ad53 * eina: Make eina benchmark more configurable.
SVN revision: 41183
2009-06-24 12:48:33 +00:00
Vincent Torri 26d2cf2101 add Lars and myself
SVN revision: 41180
2009-06-24 06:21:15 +00:00
Vincent Torri 88e6e10da1 Rework the Windows message loop and the managing of sockets
sent by ecore_pipe. The programs based on Ecore on Windows
do not take 100% of the cpu power anymore.

Patch by Lars Munch, modified by me (formatting + guards)


SVN revision: 41179
2009-06-24 06:14:07 +00:00
Cedric BAIL 0c9aead634 Evas_Rectangle are gone. We now use Eina_Rectangle and memory pool is
shared accross the application.


SVN revision: 41170
2009-06-23 13:57:27 +00:00
Cedric BAIL 42e610f81b * evas: Reduce malloc/free done by Fribidi use in evas.
Note: More could be done to improve this situation.


SVN revision: 41169
2009-06-23 13:51:41 +00:00
Cedric BAIL cfd40e9cc4 * ecore_evas: Fix ecore_evas_gl_x11_new usage.
SVN revision: 41167
2009-06-23 09:55:47 +00:00
Vincent Torri 9110d8d574 fix a bit the documentation, but there are still
a lot of doc to write...


SVN revision: 41164
2009-06-22 20:03:58 +00:00
Vincent Torri 3ecc808ae2 remove documentation on how to build eina with static mempools
SVN revision: 41161
2009-06-22 17:38:56 +00:00
Vincent Torri ddc06185d2 Remove the static options of configure and add
a way to select it with --enable-foo by passing
'static'. Use at your own risks.

If I've messed something up, please report in that thread


SVN revision: 41160
2009-06-22 17:35:31 +00:00
Cedric BAIL b8e164fb01 * eina_rectangle: Fix typo.
SVN revision: 41158
2009-06-22 13:46:05 +00:00
Cedric BAIL 5c5cb1fdb1 * eina: Add a benchmark for eina_rectangle_pool.
SVN revision: 41157
2009-06-22 13:24:13 +00:00
Cedric BAIL 4fa66bcae9 * eina: Evas_Data are gone so unactivate benchmark.
SVN revision: 41156
2009-06-22 13:20:29 +00:00
Cedric BAIL af1e7f5dc9 * eina: Fix API naming for eina_rectangle and add a global allocator.
SVN revision: 41155
2009-06-22 13:16:51 +00:00
Gustavo Sverzut Barbieri eac66d4e5a proper cleanup of efreet_desktop_command.
Efreet API is BRAIN NUTS, some stuff you're supposed to release (list)
and others are up to the callback to release.

Okay, I broke e17 trying to fix efreet tests. API is so inconsistent
that its own test was wrong. I'm reverting my change and fix the test,
but this is bad.



SVN revision: 41133
2009-06-20 19:07:31 +00:00
Gustavo Sverzut Barbieri 4eb71900a2 and rename static linkage as well.
SVN revision: 41131
2009-06-20 16:31:15 +00:00
Vincent Torri b9d313774f * Allow some tests to pass on Windows. Just for the fun
* More important, allow to manage correctly the icons with
   efreet on Windows. It works with Tango (and ewl, now)


SVN revision: 41130
2009-06-20 16:18:17 +00:00
Vincent Torri ddee121285 i forgot to rename file...
SVN revision: 41126
2009-06-20 10:17:37 +00:00
Gustavo Sverzut Barbieri b5f6c61c94 free array as well.
SVN revision: 41124
2009-06-20 07:36:30 +00:00
Gustavo Sverzut Barbieri 1c0ca5dfbb fix memory leak introduced with recent layer destruction.
also rename evas_layer_free() to evas_layer_free_objects() as what it
do now, make _evas_layer_free() as static and use it both cases.



SVN revision: 41123
2009-06-20 07:17:40 +00:00
Vincent Torri 324fd7b2ca do not segv when no pallete in xcb engine too.
SVN revision: 41122
2009-06-20 06:53:48 +00:00
Gustavo Sverzut Barbieri 44d66495ca more valgrind fixes on efreet.
SVN revision: 41121
2009-06-20 06:50:01 +00:00
Vincent Torri 8021f6beeb formatting
SVN revision: 41120
2009-06-20 06:47:03 +00:00
Vincent Torri 8909bb6b69 * All memory pools can be enabled / disabled
* Allow to pass 'static' to configure memory pools
 * Add fixed_bitmap in the possible statically linked memory pools

For example:

./configure --enable-chained-pool=static --disable-fixed-bitmap


SVN revision: 41119
2009-06-20 06:42:32 +00:00
Gustavo Sverzut Barbieri 0567fd7bf2 improve sched_getaffinity() usage.
* handle error code and print out error message, this should remove
   invalid access traces from valgrind.

 * give "0" as pid to get self affinity, this is documented in the man
   page.



SVN revision: 41118
2009-06-20 06:34:20 +00:00
Gustavo Sverzut Barbieri 3871aed422 free some leaks reported by valgrind in src/bin tests.
SVN revision: 41117
2009-06-20 06:19:48 +00:00
Gustavo Sverzut Barbieri 728b003fee do not segv when no pallete.
spotted this bug when I disabled all converters in a config mistake :-)



SVN revision: 41116
2009-06-20 05:55:37 +00:00
Gustavo Sverzut Barbieri ebeee4b5ce we use lists, need to init/shutdown eina_list or we get segvs.
SVN revision: 41115
2009-06-20 05:53:26 +00:00
Cedric BAIL eb488748c6 * evas: Fix a few typo preventing a full static build.
SVN revision: 41114
2009-06-19 16:40:21 +00:00
Gustavo Sverzut Barbieri adf5c3553e use new stringshared hash, pointer was being misused since api is confusing.
The pointer type is really confusing, it was expecting pointer to
pointer what is really weird.

Cedric just added a stringshared variant that should be as fast
(removing the strcmp()) and is the api one would expect.

This fix a long standing bug I introduced (sorry!) when added the
cache, but it was bit hard to hit as if you didn't find a collision
you'd be adding to cache and never finding it. But I recently started
to use icons on desktop and for some weird reason the PDF icons
started to show in TAR :-P



SVN revision: 41113
2009-06-19 15:00:38 +00:00
Cedric BAIL 7a18ab5ebc * eina: Add an eina_hash_stringshare_new.
SVN revision: 41112
2009-06-19 14:44:23 +00:00
Cedric BAIL 43ff8f4c9d * evas: Fix typo.
SVN revision: 41104
2009-06-18 14:30:29 +00:00
Carsten Haitzler 02fef22de9 move adding of events if entry only if entry part exists.
SVN revision: 41103
2009-06-18 14:01:26 +00:00
Cedric BAIL 5d0a773fef * evas: Use Eina hash improvements.
SVN revision: 41101
2009-06-18 12:14:29 +00:00
Cedric BAIL bba26ef811 * eina: Improve eina hash manipulation for int.
- Faster int key comparison.
	- Key Length callback could now be NULL and 0 will be assumed.


SVN revision: 41100
2009-06-18 12:08:52 +00:00
Lars Munch f850d6cb0d Fix wince engine module name
SVN revision: 41099
2009-06-18 10:21:09 +00:00
Cedric BAIL d331f73b55 * emotion: Remove Evas_Bool.
SVN revision: 41097
2009-06-18 08:01:23 +00:00
Lars Munch 8804249862 The data directory is not there anymore
SVN revision: 41095
2009-06-18 05:01:11 +00:00
Lars Munch 7bcbe02a3e Use correct module extension on cygwin
Patch from: booleanlabel at gmail dot com. Thanks.



SVN revision: 41094
2009-06-18 04:06:34 +00:00
Gustavo Sverzut Barbieri 37b3a62cde remove last trace of Evas_List, it's gone dude!
SVN revision: 41089
2009-06-17 18:12:55 +00:00
Lars Munch 9b521201d0 Fix a few more Ecore_List2 to Eina_Inlist conversion typos.
ecore_evas_x.c is just changed for consistency.



SVN revision: 41085
2009-06-17 16:08:26 +00:00
Vincent Torri 54b27e4edc * DATADIR is used in a Windows directory. Use PACKAGE_DATA_DIR instead
* useless Evil.h inclusion


SVN revision: 41084
2009-06-17 16:07:29 +00:00
Cedric BAIL 010621dd4a * evas: Remove Evas data type. You should now use Eina.
SVN revision: 41083
2009-06-17 15:46:27 +00:00
Cedric BAIL 3ec50d3bdc * efreet: Forgot to update AUTHORS with Albin.
SVN revision: 41079
2009-06-17 13:17:02 +00:00
Lars Munch 6b25cf2ad9 Fix typo in Ecore_List2 to Eina_Inlist conversion
SVN revision: 41078
2009-06-17 13:14:02 +00:00
Lars Munch b4c12e8efe Rename public to definition as public is a reserved word in c++
SVN revision: 41077
2009-06-17 13:10:00 +00:00
Cedric BAIL 3f064e8818 * AUTHORS: Update to reflect new contribution from Albin.
SVN revision: 41076
2009-06-17 12:41:48 +00:00
Cedric BAIL 19ce6dce92 * ecore: Fix a segv during ecore_shutdown.
SVN revision: 41075
2009-06-17 12:38:15 +00:00
Cedric BAIL d5757de0c9 * ecore: Remove Ecore_List2 at all.
SVN revision: 41074
2009-06-17 11:47:28 +00:00
Cedric BAIL eb543607a3 * ecore: Remove Ecore_List2 from ecore_evas.
SVN revision: 41073
2009-06-17 11:42:02 +00:00
Cedric BAIL 79291ef06b * ecore: Remove Ecore_List2 from ecore_file.
SVN revision: 41072
2009-06-17 11:41:12 +00:00
Cedric BAIL 429fc4b4f8 * ecore: Remove Ecore_List2 from ecore_con.
SVN revision: 41071
2009-06-17 11:40:30 +00:00
Cedric BAIL 8e392a0742 * ecore: Remove user of Ecore_List2 from ecore events.
SVN revision: 41070
2009-06-17 11:39:37 +00:00
Cedric BAIL 3ff7c2300d * ecore: Fix ecore_evas_x uninitialised variable.
SVN revision: 41069
2009-06-17 11:13:11 +00:00
Cedric BAIL b405fecf1e * edje: Remove last set of Evas_Hash, and move to Eina_Bool.
SVN revision: 41068
2009-06-17 11:10:32 +00:00
Cedric BAIL 6d0ee81526 * evas: Remove Evas_Bool.
SVN revision: 41067
2009-06-17 10:01:52 +00:00
Gustavo Sverzut Barbieri d89cf04e8d fix nasty warnings of -Wextra
SVN revision: 41066
2009-06-17 01:41:54 +00:00
Gustavo Sverzut Barbieri 3c6e35dd10 be explicit about SUBDIRS and DIST_SUBDIRS, fix maintainer-clean.
automake was "smart enough" to include in DIST_SUBDIRS even when 'if'
clause didn't add it to SUBDIRS, that was causing modules like XPM be
added twice, resulting maintainer-clean to double-clean the directory
(one from src/modules/loaders and other from src/lib), failing on the
second time.



SVN revision: 41060
2009-06-16 19:03:28 +00:00
Gustavo Sverzut Barbieri 6760437fdd do not add duplicate search paths to module loader.
usually libevas.so/../evas/modules is the same as libdir/evas/modules,
so avoid adding it twice.


SVN revision: 41059
2009-06-16 15:02:57 +00:00
Gustavo Sverzut Barbieri a7a2419ac3 add missing EAPI to now external visible methods.
SVN revision: 41058
2009-06-16 15:01:26 +00:00
Gustavo Sverzut Barbieri 32ff1f0aa4 better error setting and reporting in module loading.
* just set error codes if we know the error.
 * debug dlopen() error using EINA_ERROR_PDBG()



SVN revision: 41057
2009-06-16 14:59:09 +00:00
Cedric BAIL 575b0579cd * evas: Move to Eina module and make it possible to build a libevas with
everything in it.

	Note: This patch break the module API, so make sure you recompile and install
	every thing.


SVN revision: 41055
2009-06-16 13:01:36 +00:00
Cedric BAIL e0c6b0df8d * Eet: Add a clean way to create struct child.
SVN revision: 41053
2009-06-15 16:48:31 +00:00
Cedric BAIL 0839ec65ea * Evas: Improve RGBA_Font_* cache using hash and stringshare correctly.
Note: This should not impact font rendering, but if you notice anything
	wrong, please don't hesitate to report this to me.


SVN revision: 41050
2009-06-15 15:07:13 +00:00
Cedric BAIL fdca8644a2 * Evas: Add another delay before reducing number of unused font in the
cache.

	Note: This is usefull when you are scaling up and down a font during an
	animation.


SVN revision: 41049
2009-06-15 14:37:14 +00:00
Cedric BAIL f63beb3edf * Evas: Remove allocation/free from the critical path.
SVN revision: 41048
2009-06-15 14:34:33 +00:00
Cedric BAIL 8cfa89c10f * Evas: Increase number of Evas_Rectangle in the pool as we use them a lot.
SVN revision: 41047
2009-06-15 14:33:48 +00:00
Cedric BAIL 14693fd070 * evas: Fix SEGV when smart object's child come from another layer than
the parent.

	When we insert object inside a smart object, they could be attached to
	another layer. As long as ref counting work, nothing wrong will happen.
	But during destruction of an Evas, we were just looping over all layers,
	destroying each of them, without checking for refcounting. This could
	cause SEGV.
	      This patch introduce a third loop for wiping out all layers after
	destroying all Evas_Object. So no more SEGV, and no performance
	regression.

	Note: Do not rely on evas_object_layer_get on smart object's child, it
	could give you the wrong answer.


SVN revision: 41046
2009-06-15 14:25:21 +00:00
Carsten Haitzler 9394f73104 back to svn soname
SVN revision: 41042
2009-06-15 06:29:43 +00:00
Carsten Haitzler fd703f214f and eet snap
SVN revision: 41040
2009-06-15 05:38:48 +00:00
Carsten Haitzler e81db0f5a3 make distcheck and... SNAP!
SVN revision: 41039
2009-06-15 05:32:49 +00:00
Carsten Haitzler 69c179886c fix m4! bad m4!
SVN revision: 41035
2009-06-14 20:58:59 +00:00
Gustavo Sverzut Barbieri 600d560fc6 Cleanup llvm warnings.
By: michael bouchaud.


SVN revision: 41033
2009-06-14 20:48:37 +00:00
Carsten Haitzler 2cf2ffd88b patch from dfjoerg - fix prefix handling for eet.
SVN revision: 41031
2009-06-14 20:13:58 +00:00
Lars Munch 3091ddee09 * src/lib/evil_main.c:
initiate use of the Winsock DLL in evil_init()



SVN revision: 41025
2009-06-13 08:25:28 +00:00
Gustavo Sverzut Barbieri 3e04e9ec3f cleanup llvm warnings by michael bouchaud.
By: michael bouchaud.


SVN revision: 41024
2009-06-13 00:04:25 +00:00
Gustavo Sverzut Barbieri 3d720628ce Add DragonFly BSD and simplifies other conditions.
By: Joerg Sonnenberger.


SVN revision: 41020
2009-06-12 17:48:10 +00:00
Gustavo Sverzut Barbieri fbcbf0a2ec Add file required by NetBSD.
SVN revision: 41017
2009-06-12 15:23:32 +00:00
Vincent Torri 320619b866 Remove trailing slash in the installation directory
Fix installation of the eina modules with automake 1.11


SVN revision: 41013
2009-06-12 07:35:53 +00:00
Carsten Haitzler 4672d36251 fix artifacts on window rotation
SVN revision: 41010
2009-06-12 05:32:01 +00:00
Gustavo Sverzut Barbieri 1d9af7284e typo--
SVN revision: 40999
2009-06-10 17:54:40 +00:00
Vincent Torri 0965a704e9 * src/lib/evil_langinfo.c:
* src/lib/evil_langinfo.h:
	add minimal RADIXCHAR support. Must be fixed in
	a better way.



SVN revision: 40995
2009-06-10 17:33:18 +00:00
Cedric BAIL 35526933af * eina: Remove memory leak (patch from Andre Dieb).
SVN revision: 40986
2009-06-09 16:02:20 +00:00
Viktor Kojouharov fca7b4aa43 return -1 on error instead
SVN revision: 40971
2009-06-08 15:44:43 +00:00
Viktor Kojouharov 06437b0e33 make the generated callback receive the thumb path and key
SVN revision: 40969
2009-06-08 15:29:52 +00:00
Gustavo Sverzut Barbieri b7d1bed838 start service by name requires one more parameter (flags).
The dbus api has a "flags" parameter that is now unused but may be in
future, it was missing and dbus was giving method mismatch.

I forgot to commit this but changed Ethumb_Client, then Viktor "fixed"
it by reverting such change. Now going back to my code and adding "0"
as flag.



SVN revision: 40968
2009-06-08 14:32:17 +00:00
Viktor Kojouharov e5ca756ffe fix the use of e_dbus_start_service_by_name
prevent id_count from being 0


SVN revision: 40963
2009-06-08 08:47:56 +00:00
Vincent Torri 5bd14d2a05 * modify the way eina_config.h is built (see eina_config.h.in
and configure.ac)
 * include eina_config.h explicitely in files where the macros
   of eina_config.h are used
 * define eina_magic_string_init()  and eina_magic_string_shutdown()
   even when the mugle option is set (magic disabled)
 * formatting and fix in configure.ac


SVN revision: 40962
2009-06-08 08:27:33 +00:00
Vincent Torri 735a71ecfe forget to commit configure.ac (check pixman library when XCB is used)
SVN revision: 40960
2009-06-08 06:41:06 +00:00
Vincent Torri 20108eea57 Add Region API to ecore_x (Xlib using Region and XCB using pixman).
This allow to use the same code in ecore_evas for Xlib and XCB


SVN revision: 40959
2009-06-08 06:34:20 +00:00
Gustavo Sverzut Barbieri 19ebe43a04 start dbus service by its name if it's not up.
we still guess it was up and try to get its name, if not possible then
try to start it and then get is name.

another way to do it would be to always request start and just then
get its name and just then start to listen to NameOwnerChanged. But
the current way is good enough and should save some roundtrips for
good cases (server is up).



SVN revision: 40955
2009-06-07 21:20:37 +00:00
Gustavo Sverzut Barbieri 76d4b16942 move bit flags to end, use bitfield.
SVN revision: 40954
2009-06-07 20:47:28 +00:00
Gustavo Sverzut Barbieri df58840124 do not leak module if user do not want it.
SVN revision: 40924
2009-06-06 22:53:03 +00:00
Gustavo Sverzut Barbieri 369a502a28 fix nasty bug of timers not being re-evaluated on rare case.
If there are no other main loop activity than a idlers and one idler
adds a timer, the new (and unique) timer would be ignored since it's
flagged as "just_added" and thus next iteration will not consider it,
possible entering an infinite wait as it could be the only thing to do
in main loop.

Antognolli found this nasty bug while handling timeout-and-die in
Ethumb, where the "disconnect" event is dispatched by EDBus from idler
and it was adding a timer to shutdown the daemon after a while without
clients.

By: Rafael Antognolli <antognolli@profusion.mobi>



SVN revision: 40923
2009-06-06 22:31:34 +00:00
Vincent Torri 87b0ca2ab1 add rotation support for the gdi engine
SVN revision: 40916
2009-06-06 06:54:34 +00:00
Vincent Torri 33cfc873ec Fix init error handling of array, benchmark, counter,main,
rectangle and stringshare modules. Patch by Andre Dieb, modified
by me (formatting and fix for the Windows code in eina_counter)


SVN revision: 40915
2009-06-06 04:22:21 +00:00
Vincent Torri 46836c875f fix documentation
SVN revision: 40914
2009-06-06 03:55:32 +00:00
Vincent Torri e61101a4a4 fix object size when rotation is 90 or 270 degree
SVN revision: 40907
2009-06-05 18:58:16 +00:00
Vincent Torri a8490456b6 explicitely update the window
SVN revision: 40905
2009-06-05 17:14:56 +00:00
Rafael Antognolli aac69a080f Added ethumbd (ethumb).
ethumbd is a server waiting for requests of thumbnails via dbus. A client
library is also provided, avoiding dbus burocracy (and with an API similar
to ethumb).



SVN revision: 40899
2009-06-04 21:21:43 +00:00
Cedric BAIL 9c5a02a771 * eet_node: Fix eet_data_undump segv when Eet_Node == NULL.
SVN revision: 40894
2009-06-04 09:29:56 +00:00
Cedric BAIL 4de864c578 * eina: Update eina authors list.
SVN revision: 40893
2009-06-04 09:11:20 +00:00
Cedric BAIL 5aeb9bbe82 * Fix some init/shutdown procedure.
SVN revision: 40892
2009-06-04 09:02:29 +00:00
Andreas Volz e2b32f8ad8 after discussion on IRC (#edevelop) with k-s and raster I removed the deprecated tag
SVN revision: 40886
2009-06-03 21:41:00 +00:00
Carsten Haitzler f1ec8f8b3e fix precise-in
SVN revision: 40878
2009-06-03 14:16:55 +00:00
Carsten Haitzler 85cef43263 mirko - thanks. spotted a crahs when magic debug is disabled
SVN revision: 40875
2009-06-03 13:17:06 +00:00
Cedric BAIL c7075525cc * eet: Update ChangeLog.
SVN revision: 40874
2009-06-02 17:08:30 +00:00
Cedric BAIL 70c7a08c05 * eet_node: Fix API.
SVN revision: 40873
2009-06-02 16:24:28 +00:00
Carsten Haitzler 3528238bbe add request # tracking. this should detect badness - like forking and using
the connection from the fork (the cserve connection). it won't catch
threads... most of the time, but i need something else for that i think.



SVN revision: 40869
2009-05-31 22:03:24 +00:00
Carsten Haitzler 7c66538545 fix corer case with utf8
SVN revision: 40867
2009-05-31 21:26:36 +00:00
Iván Briano d8ae422259 Upper case
SVN revision: 40853
2009-05-29 18:53:50 +00:00
Gustavo Sverzut Barbieri 0664a8fd5e Avoid getting stuck into ecore main loop dispatchers.
The old way we could run endless with the following case:

   int my_buggy_idler(void *data) {
       ecore_idler_add(my_buggy_idler, NULL);
       return 0;
   }

since it would append to that list, then the list would never end.

Now we just dispatch up to the last know idler, then go back to
regular processing, if nothing happens we'll be back to dispatch
again.

I tested it here and works fine, but might show issues with ecore
enterers/exiters of some applications that rely on the old (broken)
behavior.



SVN revision: 40847
2009-05-29 16:33:00 +00:00
Vincent Torri f94a0f29a2 * on Windows, pipe() creates sockets and not file descriptoes,
hence we must use closesocket() to close a socket instead of
   close(). In addition, we should improve the closing of the
   socket (see http://tangentsoft.net/wskfaq/newbie.html#howclose)

 * use PIPE_FD_INVALID for invalid fd / socket

 * use PIPE_FD_ERROR for invalid result when sending / receiving
   data on fd / sockets

next step is to manage correctly errno on Windows with WSAGetLastError()
(see http://tangentsoft.net/wskfaq/articles/bsd-compatibility.html)



SVN revision: 40846
2009-05-29 14:32:57 +00:00
Rafael Antognolli 4229b4654b Fixed segfault when no file is passed as argument to ethumb.
Other minor fixes:
 - fixed use fo eina safety checks;
 - _ethumb_build_absolute_path is used inside dir_set.



SVN revision: 40840
2009-05-26 20:33:58 +00:00
Rafael Antognolli c5ab8f1f8c Fix output file ethumb.pc when some optional modules are disabled.
SVN revision: 40839
2009-05-26 20:32:30 +00:00
Gustavo Sverzut Barbieri 7b7ece4046 fix debian rules files.
* fix the way AC_INIT macros are parsed to consider [] as well.
 * set both LDFLAGS and CFLAGS on the libs I use and I know support -fvisibility=hidden.




SVN revision: 40838
2009-05-26 17:34:53 +00:00
Daniel Kolesa 220afa29bb Move from libssl to libgnutls in ecore/debian.
SVN revision: 40833
2009-05-26 13:00:02 +00:00
Andreas Volz a5af5b19d7 updated docu
SVN revision: 40808
2009-05-24 08:24:32 +00:00
Vincent Torri f2ba1103ca fix configure output for the doc
SVN revision: 40805
2009-05-23 22:39:01 +00:00
Vincent Torri 6e36366dbc fix BackSpace value
SVN revision: 40804
2009-05-23 21:54:27 +00:00
Carsten Haitzler fe6f78829e add includes
SVN revision: 40794
2009-05-23 12:17:27 +00:00
Vincent Torri 6842103267 revert the patch for RTL text rendering in software_16 engine
SVN revision: 40789
2009-05-23 09:23:01 +00:00
Carsten Haitzler 974bbfd19f header miss!
SVN revision: 40784
2009-05-22 23:10:01 +00:00
Carsten Haitzler c3b8b4ee14 revertg big R to L patches because they break cursors and selection.... BACK
boy BACK!



SVN revision: 40783
2009-05-22 21:12:32 +00:00
Carsten Haitzler adab71dcfd fix engines to match engine func changes with font stuff (R to L)
SVN revision: 40782
2009-05-22 21:11:45 +00:00
Andreas Volz 040492e46a some docs
SVN revision: 40779
2009-05-22 20:21:56 +00:00
Lars Munch 931e90579f Add support for extended keys on win32
Based on patch by Vincent Torri.



SVN revision: 40769
2009-05-22 08:50:16 +00:00
Lars Munch b4c1f5d17a Remove unused variables
SVN revision: 40768
2009-05-22 08:21:38 +00:00
Vincent Torri 21b7802cf6 libtool is too stupid. Some versions seem to not
use correctly .la files. Add Evil libraries when
linking
Patch by Lars Munch


SVN revision: 40766
2009-05-22 05:43:43 +00:00
Vincent Torri 765cfdf3a0 There is no numerical keypad on Windows CE
Patch by Lars Munch


SVN revision: 40765
2009-05-22 05:38:53 +00:00
Vincent Torri b72ca778cc Ignore some f-keys on Windows CE.
Patch by Lars Munch


SVN revision: 40761
2009-05-21 16:08:49 +00:00
Vincent Torri 51fa69fc9e reviewed by: Vincent Torri
patch by: Lance Fetters
	* src/lib/evil_unistd.c:
	make evil_pipe() non blocking



SVN revision: 40758
2009-05-20 17:56:00 +00:00
Iván Briano 5888d62400 Make fribidi truly optional
SVN revision: 40755
2009-05-20 03:14:29 +00:00
Viktor Kojouharov f15e1185c1 make this plugin buildable again
SVN revision: 40746
2009-05-19 15:14:19 +00:00
Rafael Antognolli dead11c234 Oops! Fixed little mistake on ethumb_file_get().
SVN revision: 40743
2009-05-19 13:57:48 +00:00
Rafael Antognolli 053567b366 Changed Eina_Bool result -> Eina_Bool success (it makes more sense).
SVN revision: 40740
2009-05-19 13:18:51 +00:00
Rafael Antognolli 88d97839a1 Using Eina_Bool.
Changed int -> Eina_Bool where it makes sense.



SVN revision: 40739
2009-05-19 12:26:31 +00:00
Rafael Antognolli 16c574df94 finished callback is always called now.
The ethumb_generate() function now just returns 0 if there is already a
generation in progress (and in that case, the callback isn't called).



SVN revision: 40738
2009-05-19 11:58:29 +00:00
Rafael Antognolli bfabdd2404 Fixed some API errors:
- added 'const' to many functions;
 - changed ethumb_thumb_path_get() so that now it returns the key;



SVN revision: 40737
2009-05-19 11:54:35 +00:00
Carsten Haitzler 68129ccab5 dfb has been broken since rev 39505! <- cedric!
SVN revision: 40733
2009-05-19 06:18:00 +00:00
Rafael Antognolli 539a4b1013 Fixed frame_set().
No frame structure is created anymore when NULL is passed as argument.



SVN revision: 40732
2009-05-18 21:38:20 +00:00
Rafael Antognolli 1f644476f9 Some fixes:
- freeing plugins eina_array;
 - avoid accessing swallowed object if no edje frame is defined;
 - thumb_path_set() fixed;



SVN revision: 40731
2009-05-18 21:37:09 +00:00
Rafael Antognolli dfb8599530 Added some missing getters to ethumb API.
SVN revision: 40730
2009-05-18 21:26:56 +00:00
Vincent Torri 0c233cfcf3 missing declaration of evas_common_font_query_last_up_to_pos()
patch by Lars Munch (previous one too)


SVN revision: 40729
2009-05-18 17:33:54 +00:00
Vincent Torri cad3471bfb update 16 bits engine for rtl support
SVN revision: 40728
2009-05-18 17:31:52 +00:00
Cedric BAIL c38a387a05 * eina: Patch from Albin Tonnerre that add a new accessor for Inlist container.
SVN revision: 40726
2009-05-18 14:49:57 +00:00
Cedric BAIL 16ae86eacb * eet_data: Remove some warning.
SVN revision: 40725
2009-05-18 14:46:32 +00:00
Vincent Torri 72e17e3589 fix some warnings
SVN revision: 40719
2009-05-18 06:33:28 +00:00
Vincent Torri fab9a2ca4d the mouse_in event has strangely been removed. It's back, now
SVN revision: 40718
2009-05-18 06:19:23 +00:00
Vincent Torri a19eb31bed use ecore_input
SVN revision: 40717
2009-05-18 06:18:36 +00:00
Carsten Haitzler e999c88e80 tasn's rtl pathes and improvements... continued!
SVN revision: 40715
2009-05-18 06:08:15 +00:00
Vincent Torri 024dc3c51e Remove eoftware_win32_gdi directory. It is empty (old
gdi engine written by raster and removed because of
IP, iirc) and of no use (another gdi engine is there)


SVN revision: 40673
2009-05-15 14:27:53 +00:00
Cedric BAIL d2b68904fc * cserve: Fix potential source of segv in cserve.
SVN revision: 40672
2009-05-15 13:19:27 +00:00
Carsten Haitzler 67db885317 gstreamer fixes
SVN revision: 40671
2009-05-15 11:48:32 +00:00
Carsten Haitzler 1d75ac114a make reload work properly...
SVN revision: 40670
2009-05-15 11:48:20 +00:00
Carsten Haitzler e50d237d83 more patches...
SVN revision: 40669
2009-05-15 11:47:39 +00:00
Vincent Torri 2f5d77ad08 * update efl_doxygen.m4
* underquoted parameters in AC_INIT


SVN revision: 40662
2009-05-15 08:38:02 +00:00
Vincent Torri 4d4477a8a3 underquoted parameters
SVN revision: 40661
2009-05-15 08:35:18 +00:00
Vincent Torri fed9a5c08f update efl_doxygen.m4
SVN revision: 40660
2009-05-15 08:33:32 +00:00
Vincent Torri 6729ff3ebb * underquoted parameters of AC_INIT
* formatting


SVN revision: 40659
2009-05-15 08:32:41 +00:00
Vincent Torri e75d7f4737 update efl_doxygen.m4
SVN revision: 40658
2009-05-15 08:30:26 +00:00
Vincent Torri 3baaa0d78f underquoted parameters of AC_INIT
SVN revision: 40657
2009-05-15 08:29:16 +00:00
Vincent Torri e6ea36aece update efl_doxygen.m4
SVN revision: 40656
2009-05-15 08:26:45 +00:00
Vincent Torri 4d039717de * underquoted parameters
* add AC_CONFIG_MACRO_DIR call


SVN revision: 40655
2009-05-15 08:25:44 +00:00
Vincent Torri 7d9b77132f update efl_doxygen.m4
SVN revision: 40654
2009-05-15 08:17:17 +00:00
Vincent Torri 273fae43ea underquoted parameters of AC_INIT
SVN revision: 40653
2009-05-15 08:15:29 +00:00
Vincent Torri 13889717c4 update efl_doxygen.m4
SVN revision: 40652
2009-05-15 08:14:58 +00:00
Vincent Torri 8b6f8ea2d8 underquoted parameters of AC_INIT
SVN revision: 40651
2009-05-15 08:12:38 +00:00
Vincent Torri 983479952f update efl_doxygen.m4
SVN revision: 40650
2009-05-15 08:11:51 +00:00
Vincent Torri 807770cb00 Put the closing parenthesis just after the last closing bracket.
Putting it the next line adds a line feed to the value of the
variable. Yes, m4 is an horror



SVN revision: 40648
2009-05-15 06:39:05 +00:00
Vincent Torri 84218e58da * include Ecore_IMF.h before Edje.h so that EAPI
is correctly defined on Windows. Paatch by Klaus Rechert
 * useless include of eina_stringshare.h as it is included by Eina.h


SVN revision: 40646
2009-05-14 18:36:01 +00:00
Cedric BAIL b336298727 * Eet: Cleanup eet_data dump code.
SVN revision: 40643
2009-05-14 15:58:10 +00:00
Carsten Haitzler a68c953591 fix input method composition plus fuxes to match textblock
SVN revision: 40641
2009-05-14 12:53:56 +00:00
Carsten Haitzler f5c88e9d53 fix a corner-case textblock issue with end of line char pos
SVN revision: 40640
2009-05-14 12:52:44 +00:00
Vincent Torri edbc2f8cfd Add option to configure to specify edje_cc. The build of the
theme can now be done when cross-compiling


SVN revision: 40638
2009-05-14 08:09:47 +00:00
Vincent Torri 0d295c7299 too many 'yes'.
SVN revision: 40636
2009-05-14 06:58:00 +00:00
Vincent Torri b56951c385 * fix build when ecore_imf is not available. Patch by Lars Munch
* formatting


SVN revision: 40632
2009-05-13 22:11:06 +00:00
Vincent Torri eb183cb48c don't use the release stuff for Windows CE
SVN revision: 40631
2009-05-13 21:54:36 +00:00
Vincent Torri bf1282a758 don't use the release stuff for Windows CE
SVN revision: 40630
2009-05-13 18:58:15 +00:00
Vincent Torri e66379a188 don't use the release stuff for Windows CE
SVN revision: 40629
2009-05-13 18:56:32 +00:00
Vincent Torri 354fb4a780 don't use the release stuff for Windows CE
SVN revision: 40628
2009-05-13 18:52:48 +00:00
Vincent Torri 221882c996 don't use the release stuff for Windows CE
SVN revision: 40624
2009-05-13 18:42:40 +00:00
Carsten Haitzler 8758acd64d ecore_imf input method support for edjeentry - on-screen kbds only at the
moment. will fix for kbd input. no ecore_imf module tho... yet



SVN revision: 40619
2009-05-13 13:29:30 +00:00
Carsten Haitzler c830f68a06 1. fix scalecache to actually respect env vars set!
2. fix textblock cursor stuff in corner case.



SVN revision: 40617
2009-05-13 12:20:14 +00:00
Vincent Torri 84afbb853e fix EAPI value on Windows
SVN revision: 40597
2009-05-11 18:16:34 +00:00
Carsten Haitzler fef7f0e7e4 comments - man is that struct big!
SVN revision: 40589
2009-05-11 13:10:38 +00:00
Carsten Haitzler 5b7c1be3eb fix a strange issue with re-connect after explicit disconnect to cserve
SVN revision: 40587
2009-05-11 13:09:43 +00:00
Carsten Haitzler 26dea1fee7 dont dirty on loadopt change - cache handles that
SVN revision: 40583
2009-05-10 22:42:09 +00:00
Carsten Haitzler 47f6f036c1 fix load opts to only unload/reload if opts changed for cserve
SVN revision: 40573
2009-05-10 03:06:49 +00:00
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