Commit Graph

19 Commits

Author SHA1 Message Date
Alan Coopersmith
c95c1d338f Add asprintf() implementation for platforms without it
Provides a portable implementation of this common allocating sprintf()
API found in many, but not yet all, of the platforms we support.
If the platform provides vasprintf() we simply wrap it, otherwise we
implement it - either way callers can use it regardless of platform.

Since not all platforms guarantee to NULL out the return pointer on
failure, we don't either, and require callers to check the return
value for -1.

The old Xprintf() API is deprecated, but left for compatibility for now.

The new API is added in a new header so that it can be used in parts of
the server such as hw/xfree86/parser that don't include all the server
headers.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2010-12-07 11:10:35 -08:00
Alan Coopersmith
2db6951763 Sun's copyrights now belong to Oracle
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2010-12-07 11:10:35 -08:00
James Jones
af0f9f9133 Move some sync code to miext
As a precursor to the fence sync object video driver
and extension API, move some code from Xext to
miext/sync.  Most of this is just code to set up the
build system to include the new directory.  No
functional code is added in this change.

Signed-off-by: James Jones <jajones@nvidia.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2010-12-06 19:12:46 -08:00
Alan Coopersmith
c9726bbe31 Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-12-16 17:11:35 -08:00
Alan Coopersmith
44f102ed64 COPYING: Update license preamble
Update the comment about "a modification is currently under discussion"
since there hasn't been any such discussion for some time and this is
the consensus agreed upon preferred format.

Also throw in a pointer to the OSI discussion page about the MIT license.

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-12-15 10:23:41 -08:00
Peter Hutterer
52bc6d9449 kdrive: Purge Xsdl
From the original Xsdl commit:
"sdl x server so that we can x-on-x the fb stuff for ease of debugging. if
anyone uses this in production, a big scary monster will eat them.
hrm, perhaps i should make it have a --i-know-what-i'm-doing
param that it doens't start without, heh"

That should be reason enough to not spend time maintaing it. Also, no more
elephants.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-20 13:32:47 +10:00
Alan Coopersmith
8609a4e883 Correct some Sun license notices to Sun's standard X11 license format
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-15 11:24:15 -07:00
Adam Jackson
ed9aecf851 COPYING: SGI FreeB 1.1 -> SGI FreeB 2.0 2009-05-14 07:02:49 -04:00
Adam Jackson
c66cf7b64c Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
Alan Coopersmith
f3c61377d0 COPYING file updates for git master changes since 1.6 branch
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-12 18:27:09 -07:00
Alan Coopersmith
b746a00cff Resync COPYING file with notices in code base as of xorg-server-1.6.1
Remove notices for code no longer in tree (Xprint, Xgl, kdrive, cfb, etc.)
Add/update notices for new/changed code in tree

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-12 16:11:01 -07:00
Keith Packard
10a9bac025 Revert "Update COPYING for SHA1 code"
This reverts commit 64387c8573.

X.org should not be providing a custom SHA1 implementation.
2008-09-23 09:21:37 -07:00
Daniel Stone
64387c8573 Update COPYING for SHA1 code 2008-09-23 19:05:14 +03:00
Simon Thum
d40183c665 dix: add legal statements to ptrvelo.{c|h}
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-07-28 18:13:18 +09:30
Peter Hutterer
f5ac98747d Standardise copyright headers for all new files created as part of MPX. 2008-04-25 14:50:24 +09:30
Daniel Stone
66fe554a59 COPYING: Collapse 'canonical license' into one statement
For a few of us, the license statement is identical, and the only variant is
the copyright.  For these, aggregate the copyrights, and only list the license
once.  Put this at the top, and note that this is more or less our agreed
canonical license.
2007-11-07 03:58:56 +02:00
Daniel Drake
bd49332e47 Add proper COPYING file
I went through the entire xorg-server distribution and aggregated all
the licenses I could find (except the questionable GPL files, see my
last mail).

There are many many permutations on essentially the same license terms,
but I have been pedantic and treated slight differences as separate
licenses.

Here is a description of the process I used:

tar xvjf /usr/portage/distfiles/xorg-server-1.1.1.tar.bz2

cd xorg-server-1.1.1
find -name '*.c' -o -name '*.h' | xargs gvim

egrep -Rli "permission|copyright" * | grep -v "\.[ch]" \
        | grep -v "\.in$" | xargs gvim

cd ..
tar xvjf /usr/portage/distfiles/xorg-server-1.3.0.0.tar.bz2
diff -urNp xorg-server-1.1.1 xorg-server-1.3.0.0

git clone git://anongit.freedesktop.org/git/xorg/xserver
cd xserver
git diff xorg-server-1.3.0.0..

For each file, licenses have been aggregated as follows:

If 2 files have identical license text but different copyright notices,
the copyright notices are aggregated and the license text
is included only once.

Note that by identical I mean really identical, i.e.:
 'AUTHOR(S)' is not the same as 'AUTHORS'
 'KEITH PACKARD DISCLAIMS' is not the same as 'KEITH PACKARD AND COMPAQ
DISCLAIM'

Otherwise, licenses and accompanying copyright notices have been
stacked.

When going through the changes from 1.1.1 to 1.3.0.0 then HEAD, licenses
have been added and removed (so I have reflected this since the original
version of my COPYING file). It's slightly concerning to see that even
between 1.3.0.0 and HEAD, new license permutations are being added. I'd
suggest that a primary license be chosen and this would be indicated at
the top of this COPYING file.
2007-08-01 08:07:08 +03:00
Daniel Drake
51b735394f [PATCH] xserver: Add COPYING terms
I went through the entire xorg-server distribution and aggregated all
the licenses I could find (except the questionable GPL files, see my
last mail).

There are many many permutations on essentially the same license terms,
but I have been pedantic and treated slight differences as separate
licenses.

Here is a description of the process I used:

tar xvjf /usr/portage/distfiles/xorg-server-1.1.1.tar.bz2

cd xorg-server-1.1.1
find -name '*.c' -o -name '*.h' | xargs gvim

egrep -Rli "permission|copyright" * | grep -v "\.[ch]" \
	| grep -v "\.in$" | xargs gvim

cd ..
tar xvjf /usr/portage/distfiles/xorg-server-1.3.0.0.tar.bz2
2007-08-01 08:04:16 +03:00
Adam Jackson
3ef3add903 Stub COPYING files 2005-12-19 16:34:07 +00:00