Commit 2eb4b110 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Import Upstream version 1.0.1

parent ce3cb42e
......@@ -5,7 +5,7 @@ Denis Oliver Kropp <dok@directfb.org>
Andreas Hundt <andi@fischlustig.de>
Sven Neumann <sven@convergence.de>
Ville Syrjl <syrjala@sci.fi>
Claudio Ciccani <klan82@cheapnet.it>
Claudio Ciccani <klan@users.sf.net>
Helping Developers
......@@ -23,7 +23,6 @@ Holger W
David Wood <DWood@daedalcorp.com> (Voodoo gfx driver)
Liam Girdwood <liam.girdwood@wolfsonmicro.com> (WM97xx Touchscreen driver)
Brandon M. Reynolds <breynolds@comtime.com> (ELO Touchscreen driver)
Claudio Ciccani <klan82@cheapnet.it> (nVidia gfx driver)
Andreas Oberritter <obi@tuxbox.org> (SiS 315 gfx driver)
Nathanael D. Noblet <nathanael@gnat.ca> (Gunze Touchscreen driver)
......
This diff is collapsed.
This diff is collapsed.
......@@ -8,6 +8,10 @@ if BUILD_TOOLS
TOOLS_DIR = tools
endif
if BUILD_TESTS
TESTS_DIR = tests
endif
if ENABLE_VOODOO
PROXY_DIR = proxy
endif
......@@ -24,6 +28,7 @@ SUBDIRS = \
interfaces \
$(PROXY_DIR) \
$(LINUXONLY_DIRS) \
$(TESTS_DIR) \
patches \
rules
......@@ -33,6 +38,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = directfb.pc directfb-internal.pc
EXTRA_DIST = \
autogen.sh \
fb.modes \
directfb.spec.in \
directfb.spec
......
This diff is collapsed.
This diff is collapsed.
......@@ -358,7 +358,19 @@ Thanks to
Guillem Jover <guillem@debian.org>
Jeff Bailey <jbailey@ubuntu.com>
Andreas Jochens <aj@andaco.de>
Daniel J Laird <daniel.j.laird@nxp.com>
Marko Mäkelä <marko.makela@hut.fi>
Nils Magnus Larsgard <nmlarsgaard@atmel.no>
Pär Degerman <parde@ikp.liu.se>
Michel van Noorloos <michel.van.noorloos@sioux.nl>
Gery <gxkahn@gmail.com>
Shane <shanevolpe@gmail.com>
Paul Mackerras <paulus@samba.org>
Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
Vaclav Slavik <vslavik@fastmail.fm>
Philip Jägenstedt <philipj@opera.com>
sridewa <sridewa@gmail.com>
Eugene Everson <eugene@tranzas.co.jp>
Special thanks to Ville Syrjala for his great work on the
Matrox TV-Out support and for his several patches including
......@@ -370,13 +382,16 @@ site at 'http://www.sci.fi/~syrjala/'.
Legal stuff
-----------
(c) Copyright 2000-2002 convergence integrated media GmbH.
(c) Copyright 2002-2003 convergence GmbH.
(c) Copyright 2001-2007 The DirectFB Organization (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
Written by Denis Oliver Kropp <dok@directfb.org> and
Andreas Hundt <andi@fischlustig.de> and
Sven Neumann <neo@directfb.org>.
Written by Denis Oliver Kropp <dok@directfb.org>,
Andreas Hundt <andi@fischlustig.de>,
Sven Neumann <neo@directfb.org>,
Ville Syrjälä <syrjala@sci.fi> and
Claudio Ciccani <klan@users.sf.net>.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
......
General (roughly sorted by priority)
-------------------------------------
Incomplete (roughly sorted by priority)
---------------------------------------
Modularize pixel formats (eventually with dynamic extension support).
Finish surface manager.
- Add kicking out a few smaller surfaces for a bigger one.
- Defragment free space.
Implement CoreFont sharing between applications
to save glyph rendering and surface allocations.
Support rotated screens.
Finish VT switching (already working well after 0.9.18 release)
- Save/redirect video only buffers.
- Handle auto video buffers being permanently locked in video memory.
- Support switching during exclusive access to a layer.
Support vga16, i.e. add DSPF_LUT4.
Finish implementation of cooperative levels.
Move config system to libdirect with more features and much smaller/generic code.
Finish display layer core and driver API.
Finish VT switching.
- Save/restore video only buffers.
- Handle(?) buffers being permanently locked in video memory.
- Support(?) switching during exclusive access to a layer.
Finish multi application core.
- Some messages may need to be dispatched synchronized.
- Add fork handling.
- Run time single/multi app core selection (both enabled during build).
Write well documented driver skeletons.
Finish surface manager.
- Add kicking out a few smaller surfaces for a bigger one.
- Defragment free space.
Finish implementation of cooperative levels.
Finish module unloading (done for most cases).
Convert all D_DEBUG usage to D_DEBUG_AT using some D_DEBUG_DOMAINs.
Implement debug levels, one setting per domain.
Move config system to libdirect with more features.
Modularize pixel formats (eventually with dynamic extension support).
Write well documented driver skeletons.
Run time single/multi app core selection (both enabled during build).
Add core cursor component with animated shape support and better integrated
changes caused by entering different windows.
Implement CoreFont sharing between applications
to save glyph rendering and surface allocations.
Add cooperative levels to input devices, implement sharing/distinction for
applications (e.g. PS/2 Keyboard + PS/2 Mouse driver XDirectFB on Monitor out,
USB-Keyboard + USB-Mouse drive XDirectFB and/or other applications on TV Out,
USB-Wacom Tablet with mouse and pen can be assigned or switched to either,
preferrably during runtime)
Virtual window/layer resolution with scrolling/panning.
Virtual window resolution with scrolling/panning.
Rework cursor and palette handling in the window stack.
Implementation rating.
Drivers
--------
- CLUT support in Matrox driver (tried that without success)
Refactoring/cleanups
---------------------
- Split up IDirectFB::CreateSurface code
- Cleanup flipping/back_to_front_copy stuff
- Surface locking (internal, rw lock?)
- Reduce sched_yield() usage
- Rewrite VT code
[...lots of things missing here...]
This diff is collapsed.
#!/bin/sh
# This script does all the magic calls to automake/autoconf and
# friends that are needed to configure a cvs checkout. You need a
# couple of extra development tools to run this script successfully.
#
# If you are compiling from a released tarball you don't need these
# tools and you shouldn't use this script. Just call ./configure
# directly.
PROJECT="DirectFB"
TEST_TYPE=-f
FILE=include/directfb.h
LIBTOOL_REQUIRED_VERSION=1.3.4
AUTOCONF_REQUIRED_VERSION=2.13
AUTOMAKE_REQUIRED_VERSION=1.4
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
make_version ()
{
major=`echo $1 | cut -d '.' -f 1`
minor=`echo $1 | cut -d '.' -f 2`
micro=`echo $1 | cut -d '.' -f 3`
expr $major \* 65536 + $minor \* 256 + $micro
}
check_version ()
{
ver=`make_version $1.0.0`
req=`make_version $2.0.0`
if test $ver -ge $req; then
echo "yes (version $1)"
else
echo "Too old (found version $1)!"
DIE=1
fi
}
echo
echo "I am testing that you have the required versions of libtool, autoconf,"
echo "and automake."
echo
DIE=0
echo -n "checking for libtool >= $LIBTOOL_REQUIRED_VERSION ... "
if (libtoolize --version) < /dev/null > /dev/null 2>&1; then
VER=`libtoolize --version \
| grep libtool | sed "s/.* \([0-9.]*\)[-a-z0-9]*$/\1/"`
check_version $VER $LIBTOOL_REQUIRED_VERSION
else
echo
echo " You must have libtool installed to compile $PROJECT."
echo " Install the appropriate package for your distribution,"
echo " or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1;
fi
echo -n "checking for autoconf >= $AUTOCONF_REQUIRED_VERSION ... "
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
VER=`autoconf --version \
| head -n1 | sed "s/.* \([0-9.]*\)[-a-z0-9]*$/\1/"`
check_version $VER $AUTOCONF_REQUIRED_VERSION
else
echo
echo " You must have autoconf installed to compile $PROJECT."
echo " Download the appropriate package for your distribution,"
echo " or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1;
fi
echo -n "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... "
if (automake --version) < /dev/null > /dev/null 2>&1; then
VER=`automake --version \
| grep automake | sed "s/.* \([0-9.]*\)[-a-z0-9]*$/\1/"`
check_version $VER $AUTOMAKE_REQUIRED_VERSION
else
echo
echo " You must have automake installed to compile $PROJECT."
echo " Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.4p1.tar.gz"
echo " (or a newer version if it is available)"
DIE=1
fi
if test "$DIE" -eq 1; then
echo
echo "Please install/upgrade the missing tools and call me again."
echo
exit 1
fi
test $TEST_TYPE $FILE || {
echo
echo "You must run this script in the top-level $PROJECT directory."
echo
exit 1
}
if test -z "$*"; then
echo
echo "I am going to run ./configure with no arguments - if you wish "
echo "to pass any to it, please specify them on the $0 command line."
echo
fi
case $CC in
*xlc | *xlc\ * | *lcc | *lcc\ *)
am_opt=--include-deps
;;
esac
echo
echo
echo Running aclocal ...
aclocal $ACLOCAL_FLAGS
echo Running libtoolize ...
libtoolize --automake
echo Running autoconf ...
autoconf
# optionally feature autoheader
(autoheader --version) < /dev/null > /dev/null 2>&1 && echo Running autoheader... && autoheader
echo Running automake ...
automake --add-missing $am_opt
cd $ORIGDIR
echo Running configure --enable-maintainer-mode "$@" ...
$srcdir/configure --enable-maintainer-mode "$@" || exit 1
echo "Now type 'make' to compile $PROJECT."
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-05-14.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
case $1 in
'')
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand `-c -o'.
Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file `INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
esac
ofile=
cfile=
eat=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as `compile cc -o foo foo.c'.
# So we strip `-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no `-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# `.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
# Create the lock directory.
# Note: use `[/.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2005-08-03'
timestamp='2007-01-15'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
......