Commit Graph

4928 Commits

Author SHA1 Message Date
Christopher Michael ddf87ed6ec More typo/spelling fixes for the README.
SVN revision: 32154
2007-10-24 18:21:37 +00:00
Christopher Michael 9237a4588a Fix typo.
SVN revision: 32153
2007-10-24 18:16:13 +00:00
Gustavo Sverzut Barbieri b542743d9e Fix calculation of font size when text.fit_y is set.
Before it was using a linear search with initial step proportional to
difference bettwen desired and current height, but the way it was
implemented it was giving incorrect values, for example: a text in
an animation that enlarges height was getting size_{n} < size_{n-1},
where it should be always the oposite (the sequence was like: 31, 32,
33, 34, 31, 33, 34, 35, ...).
   One way to avoid that was to recalculate "dif" based on new "th",
but it quickly drop to 1.

The current implementation now uses a binary search to find the first
size that matches the desired height and then a linear search to
search the largest font doing that (differents sizes may result in the
same height). This linear search is often an extra lookup and can be
avoided if we want just something that fits (instead of the largest).


SVN revision: 32146
2007-10-22 22:31:13 +00:00
Kim Woelders eb2aa4a3d0 Add some const's.
SVN revision: 32132
2007-10-21 15:16:14 +00:00
Gustavo Sverzut Barbieri 3500a5c059 Fix calculation of maximum values for swallow parts.
Due my last change, the code was broken by edjes without a group
min/max, this happens because edje_object_size_max_get() returns
100000 for these objects, and this was being used as object maximum
size.

Current fix is a hack: just check for this value, now known as
EDJE_INF_MAX_*, but the real solution would be to return 0 (or -1) and
check for it in other parts of the code, but it's harder to get right.


SVN revision: 32123
2007-10-19 19:31:42 +00:00
Gustavo Sverzut Barbieri 8f12e90da0 Set pass_events to 0 if "mouse_events: 1".
I'm not sure this is the right thing to do, but since we're setting it
to 1 when "mouse_events: 0", it fix some problems.

Maye we shouldn't set this flag at all and let users have these
options set on clippers?


SVN revision: 32120
2007-10-19 16:07:43 +00:00
doursse 0503f91921 provide evas-opengl-glew.pc to the open source community
SVN revision: 32107
2007-10-17 16:24:15 +00:00
doursse a7c193bac3 Add EVAS_MODULES_DIR in the list of paths to search
for the modules. The order and locations are:

1. ~/.evas/modules/
2. $(EVAS_MODULE_DIR)/evas/modules/
3. dladdr/evas/modules/
4. PREFIX/evas/modules/


SVN revision: 32098
2007-10-17 09:29:18 +00:00
Carsten Haitzler 412d44f90f bizarre - text sources were broken - but never appeared in e - somehow they
worked. fixed.


SVN revision: 32078
2007-10-14 23:54:27 +00:00
Gustavo Sverzut Barbieri 8108d0e8d6 XSync to avoid flicker
SVN revision: 32040
2007-10-11 14:43:05 +00:00
Gustavo Sverzut Barbieri dfcde9bcaa Major rework of blit operations to use pre-multiplied colors.
I wrote the first version thinking on regular, non-pre multiplied
colors, but raster pointed out that all color data is pre-multiplied
inside Evas. I was blaming 16bpp for low quality graphics, but it
turned out that was an error with my usage.

If you experienced grayish colors when using transparency, or white
turning into black while fading out, then these should be fixed now.

Now everything looks better, brighter! :-)  Expedite shows no
performance regressions, but I'd like to see more tests on
that. Please report any issue.


SVN revision: 32037
2007-10-10 19:22:26 +00:00
doursse 616b9623ae Do not use deprecated syntax anymore. Check versions of autoconf
and automake to be sure that the new syntax is valid.

Please report any problem wrt that change


SVN revision: 32032
2007-10-09 20:54:50 +00:00
Gustavo Sverzut Barbieri 075afa424d Fix help string.
By: Aloisio Almeida <aloisio.almeida/openbossa.org>


SVN revision: 32031
2007-10-09 18:36:41 +00:00
Gustavo Sverzut Barbieri 403afe21fc Fix edje calculation of max width for swallowed parts.
If you have a SWALLOW part taking the whole window and then swallow an
object with max set using edje_extern_object_max_size_set() it will
not take effect due the comparison of ep->swallow_params.max.w < -1
(desc->max.w is -1 in this case).


SVN revision: 32029
2007-10-09 15:30:26 +00:00
doursse 4a3ce0ebe0 Formatting
SVN revision: 32024
2007-10-09 06:53:45 +00:00
doursse 2898660d8a 16 bits software directdraw engine. Mainly for win ce users, I guess
SVN revision: 32020
2007-10-08 19:08:42 +00:00
Sebastian Dransfeld 1bb9022482 Don't reset 'use_curl' flag.
SVN revision: 32007
2007-10-07 16:46:58 +00:00
Carsten Haitzler f5c14b41ee actually - 0 by default.
SVN revision: 32002
2007-10-07 11:17:09 +00:00
Carsten Haitzler afdefa4305 4mb imge cache by default - stupid to have it unlimited.
SVN revision: 32001
2007-10-07 11:10:19 +00:00
doursse d6dd187899 configure improvements:
* add libtool versioning from the package version (from raster's
   management of package version)
 * replace AM_PROG_LIBTOOL(deprecated) by AC_PROG_LIBTOOL
 * remove AM_ENABLE_SHARED as shared lib is built by default
 * add AC_LIBTOOL_WIN32_DLL for libraries ported to Windows (tm)
 * remove the libtool checks of c++ and fortran compilers
 * remove PACKAGE_*_DIR from configure.in and define them in
   Makefile.am as bindir and al. are expanded in them.

please report any problem that these changes can add


SVN revision: 31999
2007-10-07 08:02:53 +00:00
tilman 75bd5e8902 Ecore now checks whether the composite extension is available before trying to open an ARGB window.
SVN revision: 31986
2007-10-06 08:37:34 +00:00
andrunko 4b4d4ca3b9 Updated documentation.
Fixed documentation of Evas_Object_Image.
Added some more documentation.
Fixed typo on evas_list_remove_list documentation.


SVN revision: 31982
2007-10-05 19:37:21 +00:00
Gustavo Sverzut Barbieri ecd108ba49 Revert SDL changes, I was already commited.
SVN revision: 31980
2007-10-05 14:35:39 +00:00
Carsten Haitzler 35cd952691 fix valgrind complaint (bad! its a string but its not 0 byte terminated!!!
its just a data lump!).

compact the lists of child windows down based on results of scan of children.

printf--


SVN revision: 31979
2007-10-05 12:39:06 +00:00
Carsten Haitzler 7fb1a30d72 printf--
SVN revision: 31978
2007-10-05 12:24:32 +00:00
Carsten Haitzler 34afff4284 add a shadowed window tree that allows you to fetch all the window tree in 1
hit (well a series of round trips) then keep it stored to find what window a
co-ordinate is in to avoid later round-trips.


SVN revision: 31976
2007-10-05 12:11:45 +00:00
tilman 869d6c468b export evas_common_convert_yuv_420p_601_rgba
SVN revision: 31975
2007-10-05 09:44:41 +00:00
Carsten Haitzler f4df206b35 cedric's sdl patch.
SVN revision: 31973
2007-10-05 05:47:58 +00:00
Carsten Haitzler cf49928045 cedric's ecore_job_init/shtudown patches.
SVN revision: 31972
2007-10-05 05:12:38 +00:00
Carsten Haitzler bb28443e9a printf--
SVN revision: 31971
2007-10-05 04:54:45 +00:00
Carsten Haitzler c7ec01eac8 fix edje to get the current default object size as initial size data.
SVN revision: 31970
2007-10-05 04:53:17 +00:00
Carsten Haitzler a5d3f7ddc0 1. default object size to 0x0
2. remove some float numbers (were cast anyway)
3. make smart object mmove/resize only called if the obj changes


SVN revision: 31968
2007-10-05 04:52:10 +00:00
Gustavo Sverzut Barbieri 8c9fc0fc42 Separate code and provide "double" version.
SVN revision: 31948
2007-10-03 14:28:07 +00:00
Carsten Haitzler 6a9f664bea avoid damage now has an enum (compatible with the old way at ABI though), so
you can either handle it via exposes, or native system methods (bg pixmaps)


SVN revision: 31944
2007-10-03 06:31:05 +00:00
Carsten Haitzler e6aa181b56 add a DEL callback - called at the very start of object deleteion.
SVN revision: 31942
2007-10-03 04:09:36 +00:00
Gustavo Sverzut Barbieri 64f3e597e0 Float loading speedup.
SVN revision: 31940
2007-10-03 00:08:41 +00:00
andrunko 24eea4e7a7 Fixed bug on maemo.
somehow char is always treated as unsigned char, causing if (sign < 0)
to always return false.


SVN revision: 31939
2007-10-02 22:53:00 +00:00
Carsten Haitzler 9432a9ef47 formatting
SVN revision: 31929
2007-10-02 03:41:19 +00:00
Carsten Haitzler 2ea744bc1b working on optimising software-x11 with the one-buffer persistence idea that
software-16 uses. it works and in some cases gets massive speedups (70%+) but
in a few its slowdowns (30% down) in expedite tests - why, i don't know. it
should be the same or better in all tests. disabled for now - also not
complete. < 32bpp wont' work and not sure rotation works and masks don't work
either.


SVN revision: 31928
2007-10-02 03:40:14 +00:00
Christopher Michael 7aa0a51a2f Doxy typo fix.
SVN revision: 31897
2007-09-30 19:32:48 +00:00
doursse b6ca8e692a for Windows, use dll as extension of shared lib
SVN revision: 31896
2007-09-30 18:16:42 +00:00
andrunko befadf24e3 Fixed configure on maemo.
SVN revision: 31891
2007-09-30 15:31:13 +00:00
doursse a8ebdc324c * port ecore_plugin to windows
* add comments after some #endif
 * speed up the compilation on windows
 * remove some trailing spaces in ecore_path.c


SVN revision: 31890
2007-09-30 15:24:51 +00:00
andrunko 2c2ca77d5f Make sure image colorspace is properly set.
SVN revision: 31889
2007-09-30 15:04:51 +00:00
Sebastian Dransfeld 193bdf421f Now that users of efreet_desktop must free their references, this is no
longer needed.


SVN revision: 31865
2007-09-29 13:24:31 +00:00
doursse c16dd5ae7d declare properly alloca when AC_FUNC_ALLOCA is used (see autoconf doc)
SVN revision: 31864
2007-09-29 09:21:43 +00:00
doursse a16876ac10 remove unused variables
SVN revision: 31863
2007-09-29 09:13:22 +00:00
Carsten Haitzler b51a8f26ad enable and disable draw ok onlyu on visibility changes.
SVN revision: 31860
2007-09-29 01:52:13 +00:00
doursse 18c11a3355 set to NULL the directdraw objects once they are relased
SVN revision: 31858
2007-09-28 23:44:14 +00:00
doursse e8452e7b4e revert, my bad
SVN revision: 31838
2007-09-28 15:27:44 +00:00