Commit Graph

1712 Commits

Author SHA1 Message Date
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
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 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
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
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
Gustavo Sverzut Barbieri 7cb7216314 Add const: evas_hash.c
As agreed on IRC, evas_hash_foreach() now takes const, to make clear
that hash shouldn't be changed. If one wants to change he must do a
cast and return 0.  However this will require users to be updated in
applications.


SVN revision: 33708
2008-02-08 19:55:03 +00:00
Gustavo Sverzut Barbieri 72b005350a Add missing cast.
SVN revision: 33707
2008-02-08 19:51:02 +00:00
Gustavo Sverzut Barbieri 1d5d592e14 Add const: evas_list.c
SVN revision: 33706
2008-02-08 19:16:13 +00:00
Gustavo Sverzut Barbieri de12b6d89a Avoid lots of casts.
SVN revision: 33704
2008-02-08 18:42:42 +00:00
Carsten Haitzler 67844ebc4c 1. fix abort in tiff loader
2. slidesel theme garbage trailing. nuke
3. icon obj can have pre-scale set not. default is as before.
4. printf-- in slidesel


SVN revision: 33677
2008-02-05 12:00:19 +00:00
Christopher Michael 865f8ada56 Comment out unused variable. Seems the functions that were supposed to use
it are commented out, but the variable was left. Fixed.


SVN revision: 33659
2008-02-01 01:50:56 +00:00
Christopher Michael f665bd40d6 Comment out unused function...was giving a "defined but not used" warning
during compile. Left function intact, just commented out, in case it was
meant for use later.


SVN revision: 33658
2008-02-01 01:45:46 +00:00
Mike Frysinger ada82df743 __USE_GNU is an internal define not meant for people to use and _BSD_SOURCE is implied by _GNU_SOURCE
SVN revision: 33619
2008-01-26 06:01:00 +00:00
Mike Frysinger 9cda799943 set proper ACLOCAL_AMFLAGS
SVN revision: 33605
2008-01-25 04:40:28 +00:00
Carsten Haitzler 92e084f9ca asparagus! also pass distcheck and have common autofoo init that is
consistent for package, version etc.


SVN revision: 33602
2008-01-25 03:35:49 +00:00
Carsten Haitzler 40843fe689 probably long overdue - if stringshare add/del get a null string - safely
return null or just return


SVN revision: 33576
2008-01-24 00:57:20 +00:00
Carsten Haitzler f8a8489e92 and have the event surfivie between object calls - that was an oops!
SVN revision: 33563
2008-01-23 09:00:59 +00:00
Carsten Haitzler a20bf8dc09 and... set event flags to 0 damnit!
SVN revision: 33561
2008-01-23 08:27:13 +00:00
Carsten Haitzler cba063d93b i've added event flags. this allows objects on top to add flags tyo events
(like put an event on hold) while it still passes through. object under it
need to be awar of evewnts being on hold as you may want hypbrid behaviors.


SVN revision: 33560
2008-01-23 04:19:26 +00:00
Carsten Haitzler d413c7c6b7 hrrm. 0x0 textures - libGL in new nvidia drivers is most unhappy with! fix.
SVN revision: 33548
2008-01-22 05:31:25 +00:00
Carsten Haitzler 23416631c1 only 0 on init if image has alpha
SVN revision: 33537
2008-01-20 04:15:31 +00:00
Carsten Haitzler c1441e1c3a e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Gustavo Sverzut Barbieri e6db6ad10b Fix bug with out-of-screen paiting in software_16
Things like expedite's "Image Qualit Scale" that blited with x,y
negative were giving incorrect clip rectangle.


SVN revision: 33326
2008-01-02 20:58:29 +00:00
moom 8a05a8d250 * [GL-engine] Do software YUV-conversion if GLSL is not supported. I
can't test it on a GLSL card, so I hope it didn't break anything. If
something is broken, feel free to revert! (but it would probably just be
related to the way it detects GLSL support at l.78 of evas_gl_context.c)


SVN revision: 33242
2007-12-25 11:12:39 +00:00
Carsten Haitzler 1c950e9cc6 missing -lXrender
where did that go?


SVN revision: 33168
2007-12-17 10:07:48 +00:00
Carsten Haitzler 5e2bbbbfab simple x11 linking
SVN revision: 33160
2007-12-16 03:37:03 +00:00
Carsten Haitzler 0112fdc383 patches, caching fixes, zone dynamic creation/deletion handling, stuff.
SVN revision: 33127
2007-12-14 05:57:16 +00:00
Brett Nash f30bb5ed4a Make layer get work correctly for smart members.
Currently works fine until you change the smart objects layer.


SVN revision: 33117
2007-12-12 23:52:18 +00:00
doursse b8674c0a38 don't autodetect Glew
SVN revision: 33028
2007-12-06 19:59:01 +00:00
Davide Andreoli c96d7042dd This fix the main page to be displayed. But it really need a content update.
SVN revision: 33027
2007-12-06 19:24:28 +00:00
Davide Andreoli 67d18019fb Update doxy style
SVN revision: 33026
2007-12-06 19:19:07 +00:00
doursse e1b4b3b9cf add --enable-strict option to configure:
* when it is used and when another --enable-foo is passed, if foo is
   not found, configure fails and displays an error message.
 * when it is not used, the old behavior (auto-detect) is not changed: if
   --enable-foo is passed and foo is not found, configure does not fail.


SVN revision: 33014
2007-12-06 09:36:06 +00:00
Sebastian Dransfeld 631f96bc0e formatting
SVN revision: 32946
2007-12-02 19:44:27 +00:00
Gustavo Sverzut Barbieri 3a64b46646 Fix possible memory leak with software_16.
If image data is not loaded at all, engine must free associated 32 bit
structure.


SVN revision: 32781
2007-11-19 22:27:02 +00:00
doursse 5aeba351c0 fix detection of the glew engine. Add some messages during configure
SVN revision: 32765
2007-11-18 22:10:50 +00:00
kaethorn 0c97103851 enable fb, disable directx.
SVN revision: 32677
2007-11-14 17:03:12 +00:00
Carsten Haitzler c10ccad763 static func - cedric patch
SVN revision: 32649
2007-11-13 05:58:50 +00:00
Carsten Haitzler c6df44802c As requested -
debian--, gendoc++


SVN revision: 32476
2007-11-07 22:56:05 +00:00
Michael Jennings d7997fe020 Tue Nov 6 21:42:00 2007 Michael Jennings (mej)
Spec and build fixes.
----------------------------------------------------------------------


SVN revision: 32416
2007-11-07 05:42:08 +00:00
ningerso 79acfe35f8 Fix awk portability by removing the space between the -F flag and its arg.
SVN revision: 32415
2007-11-07 05:31:17 +00:00