Commit Graph

5198 Commits

Author SHA1 Message Date
doursse a5d43225dc Here is the Evil library, which provides, for the Windows platform (XP or Mobile), a set of Unix functions used in the EFL and which do not exist on that evil platform
SVN revision: 33862
2008-02-27 21:01:30 +00:00
Gustavo Sverzut Barbieri 621d8f73af Optimize interpolation.
Check if values actually differ before interpolating them, this will
avoid useless math for (x1 - (x1 - x2) * p) when x1 and x2 are equal.

Also don't interpolate values that doesn't make sense to the part,
like color2 and color3 for non-text.

TODO: Refactor edje part description into more object-oriented
fashion, with a struct with just the common parts followed by an union
of structs for special objects, these would contain specific bits for
each part type. This would save us a bit of memory and then we can
more easily refactor code isolating common and specific parts, making
code smaller and easier to handle.


SVN revision: 33861
2008-02-27 19:03:19 +00:00
Gustavo Sverzut Barbieri b5d880093f Avoid using anonymous for often used structs.
My last patch fixed the compile problem, but really, we should use the
same struct for things that look/work the same, like rectangle,
position, etc.

This new patch brings that change back and add some named structs
(also typedef'ed so it conforms to E naming schema).

This commit just changes the header and adds an example of
benefit. Later I'll provide a more intrusive patch that reorganize
structures to make even better use of this.


SVN revision: 33860
2008-02-27 16:03:23 +00:00
Gustavo Sverzut Barbieri 09148d57c4 Fix my introduced bug in cedric's patch.
SVN revision: 33859
2008-02-27 15:21:16 +00:00
Gustavo Sverzut Barbieri 0d9ff479d2 Avoid useless huge implicit memcpy.
The "simple" block:

   p3 = p1;

was doing an implicity memcpy() responsible for about 1% of processing
time when no animation happens.

Patch by Cedric BAIL.


SVN revision: 33858
2008-02-27 14:27:10 +00:00
Gustavo Sverzut Barbieri 9abfa8f70a Cleanup of last patches and revert my patching mistakes.
Last 2 patches were swapped, I applied them in the wrong order and
missed the rejections, my bad.

I fixed it and also did some cleanup, looks better now.


SVN revision: 33855
2008-02-26 20:12:00 +00:00
Gustavo Sverzut Barbieri c48465c86a Fix a memory leak on edje destruction.
Patch by Cedric BAIL.


SVN revision: 33854
2008-02-26 19:06:33 +00:00
Gustavo Sverzut Barbieri 30b26c0937 Cleanup for possible memory leak.
Patch by Cedric BAIL.


SVN revision: 33853
2008-02-26 18:41:44 +00:00
Gustavo Sverzut Barbieri 833e075b9a Delay patterns destruction until patterns is not used anymore.
Patch by Cedric BAIL.


SVN revision: 33850
2008-02-26 17:56:51 +00:00
Carsten Haitzler 23aef39670 ooh - a case where callbacks may be cleared but we call one - list entry not
nulled out. fix.


SVN revision: 33848
2008-02-26 09:16:17 +00:00
Gustavo Sverzut Barbieri a3ac3697ec Try to get DirectFB working.
This is an initial cleanup, basically I removed all the DirectFB
accelerated calls and moved it to software common. I do plan to
gradually bring these back later, probably blit, rectangle and line
will come first.


SVN revision: 33835
2008-02-25 06:13:53 +00:00
Sebastian Dransfeld 0fdd25e671 TODO++
SVN revision: 33833
2008-02-24 19:20:08 +00:00
Sebastian Dransfeld 5fffd55830 Fix function to match callback prototype.
SVN revision: 33832
2008-02-24 19:14:14 +00:00
Sebastian Dransfeld cbe6386bc4 Fix callback to match changed function prototype.
SVN revision: 33831
2008-02-24 19:12:49 +00:00
Carsten Haitzler 9d31648720 revert pselect - breaks e init and entrance
SVN revision: 33829
2008-02-24 08:42:39 +00:00
Carsten Haitzler c31c2c50c3 use pselect - from lars. testing now in a wider audience.
SVN revision: 33827
2008-02-24 04:56:28 +00:00
Christopher Michael a77a6eb18c Fix evas_hash_foreach functions for recent evas changes.
Fix some formatting issues.


SVN revision: 33809
2008-02-22 10:42:50 +00:00
Gustavo Sverzut Barbieri 435dfe2a2a Reduce memory allocation for edje match.
Just allocate and build the match automate for callbacks and programs
only when required. On load for programs and when callbacks list has
been updated.

Patch by Cedric BAIL. (with minor fixes to use TABS where context was using)


SVN revision: 33804
2008-02-21 18:48:36 +00:00
Gustavo Sverzut Barbieri e618b1d188 Cleanup edje calc and fixes textblock "visible" use.
Patch by Cedric BAIL, with minor formating/style fixes.


SVN revision: 33803
2008-02-21 18:35:27 +00:00
doursse fc81ca730c remove trailing spaces
SVN revision: 33800
2008-02-20 18:22:42 +00:00
doursse 08bbba9e24 use the new api for the screensaver
SVN revision: 33799
2008-02-20 18:20:51 +00:00
Carsten Haitzler e6694ca7b4 fix doxy
SVN revision: 33798
2008-02-20 15:39:03 +00:00
Carsten Haitzler d522fc9e09 return the void pointer return val from the run cb - not just 1 or 0 :) a
superset here...


SVN revision: 33793
2008-02-20 04:10:02 +00:00
Horms 8c554f1977 edje: include autogen.sh in distribution tar ball
autogen.sh is really ought to be included in the distribution.
For starters its used in the debian build process.


SVN revision: 33782
2008-02-18 07:48:41 +00:00
Horms 5ac42d953d Add build-dependancy on pkg-config
As aclocal may be called via autogen.sh during the Debian build process
add an explicit build dependancy on pkg-config which includes
/usr/share/aclocal/pkg.m4 which provides the PKG_CHECK_MODULES macro.


SVN revision: 33781
2008-02-18 07:44:11 +00:00
Horms 37b3aecac8 ecore: build ecore desktop
The debian packaging has a libecore0-desktop package, so
build ecore desktop so there is something to go in it.


SVN revision: 33780
2008-02-18 07:36:08 +00:00
Horms 4cbf4bedd5 ecore: use DEB_CONFIGURE_EXTRA_FLAGS in rules file
Use DEB_CONFIGURE_EXTRA_FLAGS in the rules file
rather than duplicating the flags in the invocation
of ./autogen.sh


SVN revision: 33779
2008-02-18 07:34:43 +00:00
Horms 54f624a83b ecore: include autogen.sh in distribution tar ball
autogen.sh is really ought to be included in the distribution.
For starters its used in the debian build process.


SVN revision: 33778
2008-02-18 07:29:44 +00:00
Horms 920d9e9ec7 ecore: automake and libtool build dependancy
automake and libtool are needed by ./autogen.sh which
is used in the Debian build process.


SVN revision: 33777
2008-02-18 07:29:07 +00:00
Horms efbe251c5e embryo: cdbs build dependancy
cdbs is needed for the Debian build process.


SVN revision: 33776
2008-02-18 07:25:46 +00:00
Horms 89dec2d7e3 embryo: include autogen.sh in distribution tar ball
autogen.sh is really ought to be included in the distribution.
For starters its used in the debian build process.


SVN revision: 33775
2008-02-18 07:22:36 +00:00
Horms b6106eeed1 evas: include autogen.sh in distribution tar ball
autogen.sh is really ought to be included in the distribution.
For starters its used in the debian build process.


SVN revision: 33774
2008-02-18 07:20:50 +00:00
Horms 2323e5d1ab evas: Update libgl build dependancy
libgl-dev is now a virtual package provided by libgl1-mesa-swx11-dev and
libgl1-mesa-dev, so one of these packages needs to be the build dependancy
instead of libgl-dev.

libgl1-mesa-dev seems to be the most logical choice as it can
be installed with minimal disruption on a vanilla install.


SVN revision: 33773
2008-02-18 07:15:48 +00:00
Horms c67cb60818 libeet: Build depends on automake and libtool
There seems to be a typo, likely introduced by me,
such that the libtool dependancy was an alternate to automake.

If you don't have automake instlled at configure time, then
the following error pops up on Debian unstable.

configure.in:19: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


SVN revision: 33772
2008-02-18 07:03:33 +00:00
Sebastian Dransfeld 0354cd15e9 And remove debugging.
SVN revision: 33771
2008-02-18 06:41:52 +00:00
Sebastian Dransfeld 4ec81c3451 List data should not be in the nodes when using ecore_list
SVN revision: 33770
2008-02-18 06:27:26 +00:00
Sebastian Dransfeld d6b1e0b5a6 formatting
SVN revision: 33769
2008-02-18 06:26:20 +00:00
Christopher Michael 6fd085f0aa Fix formatting ugliness.
Add 'const' to evas_hash_foreach functions as per recent Evas changes.


SVN revision: 33748
2008-02-15 19:30:12 +00:00
Gustavo Sverzut Barbieri 4d5430d438 Add room for '\0' in textblock calculations.
In evas_object_textblock, the length forgot the '\0', this create a
buffer overrun.

Author: Cedric BAIL


SVN revision: 33747
2008-02-15 14:45:31 +00:00
Gustavo Sverzut Barbieri 9b983b96b1 Patch by Cedric to really shutdown font system.
every thing is not really cleaned on shutdown (It make it crash, if
you shutdown completely the font system and then restart it again).

Author: Cedric BAIL


SVN revision: 33746
2008-02-15 14:43:51 +00:00
doursse d84ab190e6 disable the creation and installation of the static lib of
the modules by passing the disable-static tag to libtool


SVN revision: 33739
2008-02-13 07:55:24 +00:00
Sebastian Dransfeld 1ff7daa0bb revert_to can't be PointerRoot, should probably be RevertToPointerRoot
SVN revision: 33737
2008-02-12 20:34:41 +00:00
Peter Wehrfritz 69c774cbe6 add doxy stubs, so that the function names at least appear in the api references
Thanks to mcalamelli


SVN revision: 33731
2008-02-11 23:24:11 +00:00
Gustavo Sverzut Barbieri 5d571051b9 Add const to Evas api: objects and remaining bits.
SVN revision: 33716
2008-02-08 22:35:19 +00:00
Gustavo Sverzut Barbieri 2756696bbe Add const to Evas aoi (part 3), still lacks objects.
SVN revision: 33715
2008-02-08 21:42:01 +00:00
Gustavo Sverzut Barbieri bbc9773a26 Add const to Evas api (part 2), still lacks objects.
SVN revision: 33713
2008-02-08 20:57:30 +00:00
Gustavo Sverzut Barbieri 1def3acd63 Missing const to callback parameter.
SVN revision: 33712
2008-02-08 20:54:18 +00:00
Gustavo Sverzut Barbieri 5233796eb5 Add const to Evas api, still lacks objects.
SVN revision: 33711
2008-02-08 20:44:09 +00:00
Gustavo Sverzut Barbieri 2f346db9a9 Partial fix to evas_hash_foreach() const change.
This fixes the prototype, however it still issues a warning about a
real bug: calling evas_hash_modify() during evas_hash_foreach()


SVN revision: 33710
2008-02-08 20:42:10 +00:00
Gustavo Sverzut Barbieri 903a4d6e4d Add const to Evas_Smart_Class pointer.
The previous commit just removed the warning, but it was not the ideal
solution. The class is really a constant, nobody should change it
after it's assigned.


SVN revision: 33709
2008-02-08 20:03:48 +00:00