Commit Graph

5213 Commits

Author SHA1 Message Date
doursse f639b86ca5 minor typo
SVN revision: 33897
2008-03-02 07:03:37 +00:00
doursse c0414ae96c use evil on win32:
* remove all the specific win32 code
 * replace EAPI by EAPI_DEF in front of definitions of funtions
 * no need to check windows.h, winsock2.h
 * sys/mmap.h will be detected automatically (thanks to evil on win32)
 * use AC_CHECK_HEADERS instead of AC_CHECK_HEADERS_ONCE as this macro is too recent (from autoconf 2.59c)


SVN revision: 33896
2008-03-02 06:49:48 +00:00
Carsten Haitzler 68a7734f67 disable compression for now on sources - this breaks edje_decc.
we need to resolve the bug where u can't read compressed sources anymore... :/


SVN revision: 33895
2008-03-02 05:39:51 +00:00
Carsten Haitzler 20d79e8612 fix ref count issues on file modify while in use. lost handles and
dictionaries we depend on.


SVN revision: 33894
2008-03-02 04:56:57 +00:00
Carsten Haitzler 8a3e188813 leak--
SVN revision: 33893
2008-03-02 02:47:36 +00:00
Carsten Haitzler 7564343804 fix segv - cant access file after its been freed...
SVN revision: 33892
2008-03-02 02:34:23 +00:00
Carsten Haitzler 0cd91f89df valgrind complaint - valid one. fix.
SVN revision: 33891
2008-03-02 02:01:11 +00:00
Carsten Haitzler 8b37476352 add file
SVN revision: 33887
2008-03-01 17:37:39 +00:00
Peter Wehrfritz 5acbfcb6e3 add portable pixmaps image loader
SVN revision: 33880
2008-03-01 15:27:20 +00:00
Carsten Haitzler e076a78519 cedric's eet and edje patches to use eet dictionaries for strings.
SVN revision: 33873
2008-03-01 06:38:09 +00:00
Carsten Haitzler c3ec60a6c9 stop allowing self-feeding forever loops by adding jobs forever.
SVN revision: 33871
2008-03-01 04:59:38 +00:00
doursse 73cf6fe558 update doc, add init/shutdown functions for the socket system, add Tor Lillqvist as author and other miscellaneous fixes
SVN revision: 33870
2008-02-29 22:42:14 +00:00
Gustavo Sverzut Barbieri 08bfdacdee Bugfix and refactor get of font based on text_class.
Edje tries to copy original style to font provided by text_class if
this have no style.

However code was supposing that text_class font always had more than
one occurrence, these separated with ',' and did not check if this is
not the case, so "e = strchr(',', tok);" was returning NULL and all
the math were using negative values.

The fix now does the proper checking, avoid one useless alloca() and
the respective copy, also doing the copies with memcpy() since sizes
are already known.

Refactory was done to make code simpler and also avoid having it
copied 3 times.


SVN revision: 33869
2008-02-29 21:43:55 +00:00
Gustavo Sverzut Barbieri da7eabb809 Just update dragable parameters if part is dragable.
SVN revision: 33867
2008-02-29 03:39:31 +00:00
Gustavo Sverzut Barbieri 46f07234a0 Minor cleanups.
* bitfield must be unsigned;
 * static to most globals;
 * call shutdown on exit.


SVN revision: 33865
2008-02-28 20:35:16 +00:00
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