libX11: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Tue Jun 11 23:25:54 PDT 2013
specs/libX11/CH02.xml | 18 +----
specs/libX11/CH03.xml | 49 ++++++--------
specs/libX11/CH04.xml | 35 +++-------
specs/libX11/CH05.xml | 14 +---
specs/libX11/CH06.xml | 171 +++++++++++++++++---------------------------------
specs/libX11/CH07.xml | 19 ++---
specs/libX11/CH08.xml | 126 +++++++++++++++---------------------
specs/libX11/CH09.xml | 28 ++------
specs/libX11/CH11.xml | 9 --
specs/libX11/CH12.xml | 12 +--
specs/libX11/CH13.xml | 53 ++++++---------
specs/libX11/CH14.xml | 27 ++-----
specs/libX11/CH15.xml | 6 -
specs/libX11/CH16.xml | 50 ++++----------
14 files changed, 235 insertions(+), 382 deletions(-)
New commits:
commit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Jun 7 11:30:11 2013 -0700
troff macro expansion in specs/libX11
Many of the custom nroff macros (.ds <macro> <contents>) were left
unsubstituted in the nroff->docbook conversion. This substitution
is now performed, via the following perl script:
#! /usr/bin/perl -w -i
use Text::Wrap;
while ($_ = <>) {
while ($_ =~ m/\((\w+)\b/g) {
my $m = $1;
if (exists $macro{$m}) {
$_ =~ s/\($m/$macro{$m}/;
$_ = wrap('', '', $_);
$_ =~ s/[ \t]+$//;
}
}
if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) {
my ($m, $s) = ($1, $2);
$macro{$m} = $s;
while ($macro{$m} =~ /\\\s*$/) {
$macro{$m} =~ s/\\\s*$//ms;
$macro{$m} .= <>;
chomp($macro{$m});
}
$macro{$m} =~ s/\\ / /g;
} else {
print $_;
}
}
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 20c17bd9ebf767a24643279e45866dddcb57b5ce
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Jun 7 09:27:26 2013 -0700
specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder
The XListPixmapFormats arguments was being shown with XImageByteOrder's
name and return types. Appears to have been a glitch in the nroff ->
docbook conversion.
Reported-by: ZHANG Zhaolong <zhangzl2013 at 126.com>
Reviewed-by: Jamey Sharp <jamey at minilop.net>
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list