barbieri [Tue, 23 Dec 2008 21:20:43 +0000 (21:20 +0000)]
attempt to fix image preload thread bugs 1: module refcount.
image preload will use modules from threads, there is a possibility to
crash due wrong reference counting.
actually much more can fail, we need to check modules don't keep that
needs exclusive access in globals or per-Evas_Module, but that's
another issue.
TODO: replace spinlocks with atomic operations.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38309
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 23 Dec 2008 18:14:16 +0000 (18:14 +0000)]
fix bugs spotted by clang static analyser.
We had some problems with preload and after running LLVM's CLang
Static Analyser we found out that current->target could be NULL after
loop.
Also fixed some GCC and CLang warnings, kudos to these wonderful tools
that "Saved The Day".
PS: we should put some CLang Static Analyser results so others can
help fix other parts of E.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38293
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
dm [Mon, 22 Dec 2008 23:24:22 +0000 (23:24 +0000)]
Evas Win32 VS8 projects added
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38284
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sun, 21 Dec 2008 18:19:33 +0000 (18:19 +0000)]
oops, fix doc example.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38267
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 20 Dec 2008 13:39:15 +0000 (13:39 +0000)]
fix image preload signature and make it callback if already preloaded.
evas_object_image_preload() should not use object as const because it
will mdofiy the object state (so it's semantic makes more sense).
if data was already loaded, then callback before ignored it (return).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38246
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 20 Dec 2008 13:24:27 +0000 (13:24 +0000)]
useless file
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38245
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 20 Dec 2008 13:22:46 +0000 (13:22 +0000)]
* src/modules/engines/direct3d/:
fast direct3d engine written by Dmitriy Mazovka. You rock !
* m4/evas_check_engine.m:
* m4/evas_check_loader.m4:
use m4_popdef for each macro (otherwise, fail if aclocal is too old)
* src/lib/canvas/evas_font_dir.c:
include evas_common.h and evas_private.h after Eet.h and Evil.h
so that EAPI is correctly defined
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38244
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 19 Dec 2008 21:56:31 +0000 (21:56 +0000)]
always call image preloaded callback.
if image was already preloaded, inform user.
regular use case is to have image hidden, ask for preload and then
show image on callback, if there is no callback, image is never shown.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38236
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 18 Dec 2008 03:04:15 +0000 (03:04 +0000)]
More proper fix for the infinite calculate in evas box.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38205
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 18 Dec 2008 02:39:09 +0000 (02:39 +0000)]
Added iterator and accessor to box and table
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38203
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Wed, 17 Dec 2008 14:10:09 +0000 (14:10 +0000)]
Guard box from getting into an infinite loop when calculating layout.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38182
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 17 Dec 2008 13:03:00 +0000 (13:03 +0000)]
Update ac_attribute macro and remove __UNUSED__ declaration from eina.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38179
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 17 Dec 2008 08:24:09 +0000 (08:24 +0000)]
engine in list--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38177
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 17 Dec 2008 08:18:13 +0000 (08:18 +0000)]
dont need xcb engine code anymore
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38176
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 17 Dec 2008 08:13:49 +0000 (08:13 +0000)]
vtorri's merge of xcb and x11 software engines.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38173
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Mon, 15 Dec 2008 22:03:04 +0000 (22:03 +0000)]
Add function to get the length in characters of a string
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38158
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 15 Dec 2008 20:49:59 +0000 (20:49 +0000)]
Fix hash foreach cb.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38155
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 15 Dec 2008 20:31:26 +0000 (20:31 +0000)]
Add function prototypes to header.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38154
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 12 Dec 2008 22:36:47 +0000 (22:36 +0000)]
helper: evas_object_image_filled.
This helper will take care of applying fill property to match object size.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38120
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 11 Dec 2008 21:55:22 +0000 (21:55 +0000)]
Nasty bugfix: allow smart calculate to mark object as dirty again.
Wow, this was tricky to find since it is hard to trigger, thanks to
Canola complex edje files we could spot it!
In some cases we end with object being marked as dirty while
calculating its state (ie: edje), then we need to run smart calculate
again.
This has a drawback however: we cannot check for need_recalculate()
inside smart calculate anymore, we must assume it is only called if
the flag is set. To avoid that we could mark a shadow member and use
that or use a counter, that has the problem of using more data.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38108
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 10 Dec 2008 21:26:17 +0000 (21:26 +0000)]
Proper wrapper for evas_hash around eina_hash.
Eina hash api must get non NULL pointer allocated with
eina_hash_new(), but Evas hash started with NULL and would allocate
and destroy the hash as required by operations.
To do a proper wrapper we must ensure we don't call Eina hash API with
NULL, we must handle that outside Eina.
PLEASE do not remove this code again (it's the second time I add it),
this is the correct approach. Other than that is going after evas_hash
usage and converting directly to eina_hash.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38091
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 9 Dec 2008 22:46:57 +0000 (22:46 +0000)]
better handling of unset image fill property.
Unset value is now 0x0 and this is handled as invalid, with an error message.
1x1 is a valid fill, but it is very slow and often system hangs while
it scale the whole thing... usually nobody want it at 1x1, we just end
using that for unset values. With unset value at 0x0 it will not
happen and we'll know when we forgot to do so!.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38071
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 9 Dec 2008 17:56:31 +0000 (17:56 +0000)]
Remove use of evas_hash from evas and use directly eina.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38066
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 9 Dec 2008 17:55:33 +0000 (17:55 +0000)]
Better put pointer at the beginning of the structure.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38065
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Tue, 9 Dec 2008 00:02:48 +0000 (00:02 +0000)]
* Better size_hint calc for vertical and horiz layout, need to do the same for the other layouts
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38035
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 8 Dec 2008 12:49:36 +0000 (12:49 +0000)]
Fix warning. evas_hash_free never returned anything.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38019
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sun, 7 Dec 2008 13:28:29 +0000 (13:28 +0000)]
hash: better handling of NULL, add magic checking.
* evas: if we automatically destroy hash, check for NULL before
handling it to eina api, which expect elements to be created with
eina_hash_new() and thus will fail on NULL.
* eina: add magic checking for eina_hash and eina_hash_iterator, this will
help spot when NULL is used.
* eina_hash_foreach: do not try to create the iterator if hash is NULL.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37982
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 6 Dec 2008 20:30:15 +0000 (20:30 +0000)]
fix software_16_ddraw engine compilation
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37966
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 3 Dec 2008 22:21:40 +0000 (22:21 +0000)]
in svn.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37919
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 3 Dec 2008 17:59:39 +0000 (17:59 +0000)]
add cast
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37915
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 3 Dec 2008 17:58:26 +0000 (17:58 +0000)]
add cast
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37914
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 2 Dec 2008 02:33:09 +0000 (02:33 +0000)]
ok - revert scalecache until leak fixed.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37899
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 2 Dec 2008 02:32:22 +0000 (02:32 +0000)]
quick - evas scalecache put this in svn do i dont lose my patch. i'll revert
and work on gettign the leak fixed.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37898
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 1 Dec 2008 20:38:05 +0000 (20:38 +0000)]
add fullscreen support in software directdraw engine (win xp)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37887
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 1 Dec 2008 03:56:34 +0000 (03:56 +0000)]
fix #defines for arm - 5e on supports pld! :)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37874
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
thanatermesis [Thu, 27 Nov 2008 02:13:35 +0000 (02:13 +0000)]
typo fixed: added x11 to glitz name (glitz_x11) in makefile
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37816
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Tue, 25 Nov 2008 01:52:13 +0000 (01:52 +0000)]
Correct descriptions for the engines options. Thanks ashikase.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37796
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 24 Nov 2008 23:57:49 +0000 (23:57 +0000)]
so.. why do we check for cairo-svg or libsvg-cairo? isn't this a librsvg
problem - not ours, so we don't need to check?
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37795
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 24 Nov 2008 18:20:40 +0000 (18:20 +0000)]
typo
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37790
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 24 Nov 2008 06:18:31 +0000 (06:18 +0000)]
* use the m4 macro EVAS_CHECK_ENGINE to check if an engine is available or not
* group the want_* variables related to engines and loaders at the beginning
of configure.ac
* use -no-undefined directly instead of a flag checked wrt the host
* some clean up in Makefile.am files
Please report any problem
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37784
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 23 Nov 2008 14:49:55 +0000 (14:49 +0000)]
remove trailing spaces
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37771
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Sun, 23 Nov 2008 03:27:28 +0000 (03:27 +0000)]
* call the smart_changed function
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37762
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Sun, 23 Nov 2008 02:01:38 +0000 (02:01 +0000)]
* add the function:
Evas_Bool evas_object_box_remove_all(Evas_Object *o, Evas_Bool clear);
* set min size hint on layout (flow layouts not done yet)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37758
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 22 Nov 2008 09:28:38 +0000 (09:28 +0000)]
cleaner to re-use mul.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37745
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
kaethorn [Fri, 21 Nov 2008 10:47:04 +0000 (10:47 +0000)]
Fix configure flags in Debian rule.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37727
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 20 Nov 2008 22:16:02 +0000 (22:16 +0000)]
formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37720
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 20 Nov 2008 22:00:50 +0000 (22:00 +0000)]
use m4 macro to check evas loaders
please report any problem
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37719
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 20 Nov 2008 03:02:27 +0000 (03:02 +0000)]
Fix size hint docs and improve them.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37716
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 19 Nov 2008 12:20:20 +0000 (12:20 +0000)]
add missing evas_object_smart_changed()
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37714
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 19 Nov 2008 08:48:00 +0000 (08:48 +0000)]
* formatting
* use a negative height for the biHeight member of the
bitmap info (topdown bitmap)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37712
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 19 Nov 2008 07:52:05 +0000 (07:52 +0000)]
create the bitmap only once. Increased speed :)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37711
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 19 Nov 2008 07:29:27 +0000 (07:29 +0000)]
mem leak --
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37710
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 19 Nov 2008 07:08:18 +0000 (07:08 +0000)]
add gdi backend to the win ce engine. Not working yet
but some other people can help me now with that code in svn
* expedite is working but sometimes crashes. Maybe a big mem leak ?
* maybe moving the creation of the bitmap in
evas_software_wince_gdi_output_buffer_paste()
to
evas_software_wince_gdi_output_buffer_new()
so that the memcpy is not necessary anymore
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37709
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 17 Nov 2008 14:20:08 +0000 (14:20 +0000)]
minor optimization for box remove_at.
use eina_list_nth_list() so we can cut search time up to half, as eina
list can look backwards if position is close to list end.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37692
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 15 Nov 2008 13:57:37 +0000 (13:57 +0000)]
and only remove markup if we have a style...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37661
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 15 Nov 2008 10:39:46 +0000 (10:39 +0000)]
make scale set apply immediately on objects that do scaling...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37656
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 15 Nov 2008 05:13:09 +0000 (05:13 +0000)]
fix some formatting/indenting and explicitly look at mouse_down as a counter.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37650
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 14 Nov 2008 23:10:29 +0000 (23:10 +0000)]
make it easy to write bindings for box.
giving an extra void *user_data to layout function is now easy to
write bindings, just give the callback to be a generic function that
will call the language/binding specific function handled as user_data.
Example, for python we can use:
void _layout_dispatcher(Evas_Object *o, Evas_Object_Box_Data *priv, void *data) {
PyObject *pyobj = data, *args;
args = PyTyple_New(1);
PyTuple_SET_ITEM(args, 0, Evas_object_from_instance(o));
PyObject_Call(pyobj, args, NULL);
Py_DECREF(args);
}
evas_object_box_layout_set(o, _layout_dispatcher, pyobj, Py_DecRef);
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37640
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 14 Nov 2008 21:33:10 +0000 (21:33 +0000)]
oops! fix bugs hinted by compiler warnings!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37635
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
thanatermesis [Fri, 14 Nov 2008 09:57:45 +0000 (09:57 +0000)]
[vtorri patch] detection of fnmatch function in evil before the detection in iberty
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37615
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 9 Nov 2008 19:32:12 +0000 (19:32 +0000)]
Use native calls on Windows CE to open, read and close a png file.
This code must use the libpng 1.2.33 port that is in the cegcc
project page on SF when using Windows CE.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37571
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 6 Nov 2008 18:54:19 +0000 (18:54 +0000)]
use correct png calls (from the libpng doc) in the png loader and saver. Expedite is running fine
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37527
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 5 Nov 2008 20:39:10 +0000 (20:39 +0000)]
include setjmp.h after png.h
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37515
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 5 Nov 2008 17:21:04 +0000 (17:21 +0000)]
Big patch to make Evas work (more or less) with Windows CE:
* when fopen used, open in binary mode
* use Evil when fopen is used
* clean a bit some Makefile.am and add Evil dependency where needed
* in evas_path.c, remove useless old Windows CE code. It's managed by Evil, now
* in Evas_Data.h, move Eina.h before EAPI is defined for Evas.
* define _WIN32_WCE when the host is windows cee
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37476
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 4 Nov 2008 09:19:35 +0000 (09:19 +0000)]
hmmm after some talking - for now put the transform patch on hold - we need
tyo fix up some of these breaks first and there isn't a lot of time devoted
to this. so revert this. it's in svn history so we can dig it out any time we
like.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37453
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 3 Nov 2008 22:50:54 +0000 (22:50 +0000)]
jose's transform patches. some things to note:
1. nearest scaling is now broken - it's always linear interpolation. this
will lead to slowdowns. i need to fix this - a must.
2. i think it's time i put in a transformed image cache that can cache an
image object at a transform (and share it) automatically.
3. transforms in non-software-engines will not work - broken. need to at
least do xrender and gl engines.
any volunteers to help?
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37447
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 3 Nov 2008 05:25:56 +0000 (05:25 +0000)]
Use stdio instead of iostream to output error messages
Large parts of the stdc++ library are statically linked into the dll.
The size of the generated DLL decrease from ~500KB to ~24KB
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37428
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Sat, 1 Nov 2008 22:21:10 +0000 (22:21 +0000)]
* remove \'too small\' categories
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37387
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Sat, 1 Nov 2008 21:50:36 +0000 (21:50 +0000)]
* More better cats\'
* remove some @ingroup in favor of @addtogroup
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37386
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Sat, 1 Nov 2008 21:13:21 +0000 (21:13 +0000)]
* put evas_object stack functions in the Evas_Object_Group
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37385
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Sat, 1 Nov 2008 21:07:49 +0000 (21:07 +0000)]
* put all the verious objects (rect, image, text...) in a single macro category
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37384
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mickeyl [Sat, 1 Nov 2008 20:55:22 +0000 (20:55 +0000)]
evas: rename 'delete' parameter in evas_object_table_clear to 'clear'.
delete is a reserved keyword in C++.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37383
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Sat, 1 Nov 2008 20:19:28 +0000 (20:19 +0000)]
* remove \'too small\' groups (unify image and gradient groups)
* fix some modules name to be more consistent
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37382
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Sat, 1 Nov 2008 19:40:07 +0000 (19:40 +0000)]
* Add a Texblock doxy category and put all the textblock_* functions to apper under it
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37381
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 1 Nov 2008 13:36:58 +0000 (13:36 +0000)]
Comments about box and table.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37372
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 1 Nov 2008 09:46:51 +0000 (09:46 +0000)]
* remove module_la_DEPENDENCIES useless variable
* add -fno-rtti and -fno-exceptions when c++ is used (in Windows engines)
* fix glew engine compilation
* minor formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37369
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 1 Nov 2008 07:55:33 +0000 (07:55 +0000)]
fix constness and wrong type parameters
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37368
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 1 Nov 2008 00:03:17 +0000 (00:03 +0000)]
Implement non-homogeneous (regular) table layout.
It's now complete, needs some more testing and possible fix corner
cases, but should do the same as els_table (from elementary).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37362
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 31 Oct 2008 17:42:47 +0000 (17:42 +0000)]
Add evas_object_table, make evas_object_box more consistent.
Table code is still *incomplete*, it just do homogeneous layouts as
I'm still trying to figure out how to make it great.
I'm not expecting to make layout configurable, as we did for box, but
if you think it's required we can do that later.
Now that the public API of both BOX and TABLE are in, we can add these
as parts of Edje.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37359
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 31 Oct 2008 11:07:10 +0000 (11:07 +0000)]
eina_hash_foreach doesn't allow safe removal of entry during iteration anymore.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37354
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 31 Oct 2008 10:46:46 +0000 (10:46 +0000)]
Fix bug when shutting down all engine and still have some font in the cache.
Draw back: When we are destroying an Evas canvas, we loose all cached font
that are not used anymore.
A correct fix would be to link Fndat to the Evas that provide and use them.
And only delete them when no more Evas reference them.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37353
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 31 Oct 2008 06:18:18 +0000 (06:18 +0000)]
fix segv in pw mode
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37351
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 29 Oct 2008 08:36:22 +0000 (08:36 +0000)]
remove useless fnmatch_libs
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37298
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 29 Oct 2008 08:35:36 +0000 (08:35 +0000)]
enable auto import
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37297
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 29 Oct 2008 08:34:52 +0000 (08:34 +0000)]
correctly detect fnmathc in libevil
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37296
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 29 Oct 2008 03:29:10 +0000 (03:29 +0000)]
another sachiel fix! :)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37292
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 28 Oct 2008 06:37:16 +0000 (06:37 +0000)]
sachiel patch!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37265
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 28 Oct 2008 05:22:50 +0000 (05:22 +0000)]
fix possible segv
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37263
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 28 Oct 2008 04:01:10 +0000 (04:01 +0000)]
segv nuked thansk to scahiel and a leak plugged thansk to valgrind.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37261
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 27 Oct 2008 21:21:53 +0000 (21:21 +0000)]
always copy all members from parent Evas_Smart_Class.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37254
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 27 Oct 2008 10:11:44 +0000 (10:11 +0000)]
Fix a little typo.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37219
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 27 Oct 2008 03:12:59 +0000 (03:12 +0000)]
dont repeat code
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37191
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 27 Oct 2008 03:03:59 +0000 (03:03 +0000)]
less than map end!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37190
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 27 Oct 2008 02:22:41 +0000 (02:22 +0000)]
add evas_object_box.
Box is a smart object to help with the common task of laying out lots
of objects. It's very flexibile and one can customize the layout
function on a per-object basis dynamically, just set a new layout
function (the most common are provided). By default layouts use size
hints from children to do their work, but one can also add new
properties, just subclass with evas_object_smart_smart_set() and then
define your own option_* callbacks.
This code was ported from Guarana (widgets/sequence_box.c) with
permission of ProFUSION embedded systems so it can be relicensed from
LGPL to Evas license.
Original author: Gustavo Lima Chaves <glima@profusion.mobi>
Port: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37188
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 26 Oct 2008 16:19:09 +0000 (16:19 +0000)]
Correct function declaration for evas_hash_foreach
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37154
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 26 Oct 2008 16:18:58 +0000 (16:18 +0000)]
* Set changed = 1
* Remove unused variable
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37153
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 26 Oct 2008 16:18:23 +0000 (16:18 +0000)]
Set gradient_changed to 1
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37152
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 26 Oct 2008 05:37:38 +0000 (05:37 +0000)]
segs--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37112
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 25 Oct 2008 02:49:19 +0000 (02:49 +0000)]
Add member_{add,del} as smart callbacks.
On the let's break 'em all bandwagon, add the two callbacks (or
virtuals if you like the name) so we can know when some object is
attached or detached as a member of our object, this will help
eliminate confusing and duplicate functions like
evas_object_smart_clipped_smart_add().
Please recompile *ALL* your libs and applications that depend on Evas
and Smart Objects, like ETK.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37084
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Fri, 24 Oct 2008 06:57:23 +0000 (06:57 +0000)]
Remove signal.h, doesn't seem to be used.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37044
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33