From eaa70945cb3f1a432b8c505ecede9ebc7769f36d Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 13 Feb 2012 08:47:19 +0100 Subject: libX11 libxcb mesa xserver mkfontscale git update 13 feb 2012 --- libX11/cpprules.in | 60 +- libX11/nls/Makefile.am | 6 +- libxcb/doc/Makefile.am | 4 +- libxcb/src/xcb_util.c | 2 +- libxcb/xcb-proto/Makefile.am | 2 +- mesalib/Makefile | 2 +- mesalib/configure.ac | 3 + mesalib/docs/contents.html | 1 - mesalib/docs/news.html | 10 + mesalib/docs/relnotes-8.0.html | 4 +- mesalib/docs/systems.html | 68 +- mesalib/docs/vmware-guest.html | 3 +- mesalib/src/glsl/Android.mk | 1 + mesalib/src/glsl/loop_unroll.cpp | 15 + mesalib/src/mesa/drivers/common/meta.c | 3 +- mesalib/src/mesa/main/extensions.c | 3 - mesalib/src/mesa/main/light.c | 65 +- mesalib/src/mesa/main/light.h | 37 +- mesalib/src/mesa/main/mtypes.h | 6 +- mesalib/src/mesa/main/pixel.c | 2 - mesalib/src/mesa/main/pixeltransfer.c | 26 - mesalib/src/mesa/main/pixeltransfer.h | 6 - mesalib/src/mesa/main/texcompress.c | 12 +- mesalib/src/mesa/main/texgetimage.c | 60 +- mesalib/src/mesa/main/teximage.c | 22 +- mesalib/src/mesa/main/texparam.c | 24 +- mesalib/src/mesa/main/texstate.c | 19 +- mesalib/src/mesa/main/version.h | 2 +- mesalib/src/mesa/state_tracker/st_atom.c | 410 +++---- .../src/mesa/state_tracker/st_atom_pixeltransfer.c | 11 +- mesalib/src/mesa/state_tracker/st_atom_sampler.c | 16 +- mesalib/src/mesa/state_tracker/st_atom_texture.c | 19 +- mesalib/src/mesa/state_tracker/st_cb_blit.c | 3 +- mesalib/src/mesa/state_tracker/st_extensions.c | 4 +- mesalib/src/mesa/swrast/s_context.h | 3 + mesalib/src/mesa/swrast/s_renderbuffer.c | 28 +- mesalib/src/mesa/swrast/s_span.c | 14 +- mesalib/src/mesa/tnl/t_rasterpos.c | 8 +- mesalib/src/mesa/tnl/t_vb_lighttmp.h | 1283 ++++++++++---------- mesalib/src/mesa/vbo/vbo_save.h | 8 + mesalib/src/mesa/vbo/vbo_save_api.c | 20 +- mesalib/src/mesa/vbo/vbo_save_draw.c | 24 +- mesalib/src/mesa/x86/gen_matypes.c | 1 - mkfontscale/configure.ac | 2 +- xorg-server/Xi/exevents.c | 160 +-- xorg-server/Xi/xiallowev.c | 81 +- xorg-server/configure.ac | 6 +- xorg-server/dix/events.c | 36 +- xorg-server/dix/inpututils.c | 3 + xorg-server/dix/touch.c | 73 +- xorg-server/hw/xfree86/common/xf86Xinput.c | 10 +- xorg-server/hw/xfree86/dri2/dri2.c | 20 +- xorg-server/hw/xfree86/os-support/xf86_OSlib.h | 2 +- xorg-server/hw/xfree86/parser/InputClass.c | 76 +- xorg-server/hw/xfree86/parser/xf86Parser.h | 20 +- xorg-server/include/exevents.h | 7 + xorg-server/include/input.h | 7 +- xorg-server/include/inputstr.h | 5 +- xorg-server/include/list.h | 114 +- xorg-server/test/input.c | 12 +- xorg-server/test/list.c | 132 +- xorg-server/xfixes/cursor.c | 16 +- 62 files changed, 1590 insertions(+), 1512 deletions(-) diff --git a/libX11/cpprules.in b/libX11/cpprules.in index 723560c1c..e1296c699 100644 --- a/libX11/cpprules.in +++ b/libX11/cpprules.in @@ -1,30 +1,30 @@ -# -*- Makefile -*- -# Rules for generating files using the C pre-processor -# (Replaces CppFileTarget from Imake) - -SED = sed - -SUFFIXES += .pre - -WCHAR32_FLAGS = -DWCHAR32=@WCHAR32@ - -CPP_FILES_FLAGS = $(WCHAR32_FLAGS) - -# Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM -# to cpp, because that trick does not work on all ANSI C preprocessors. -# Delete line numbers from the cpp output (-P is not portable, I guess). -# Allow XCOMM to be preceded by whitespace and provide a means of generating -# output lines with trailing backslashes. -# Allow XHASH to always be substituted, even in cases where XCOMM isn't. - -CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \ - -e '/^\#line *[0-9][0-9]* *.*$$/d' \ - -e '/^[ ]*XCOMM$$/s/XCOMM/\#/' \ - -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/\#/' \ - -e '/^[ ]*XHASH/s/XHASH/\#/' \ - -e 's,X11_LOCALEDATADIR,$(X11_LOCALEDATADIR),g' \ - -e '/\@\@$$/s/\@\@$$/\\/' - -.pre: - @$(MKDIR_P) $(@D) - $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@ +# -*- Makefile -*- +# Rules for generating files using the C pre-processor +# (Replaces CppFileTarget from Imake) + +SED = LC_CTYPE=C sed + +SUFFIXES += .pre + +WCHAR32_FLAGS = -DWCHAR32=@WCHAR32@ + +CPP_FILES_FLAGS = $(WCHAR32_FLAGS) + +# Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM +# to cpp, because that trick does not work on all ANSI C preprocessors. +# Delete line numbers from the cpp output (-P is not portable, I guess). +# Allow XCOMM to be preceded by whitespace and provide a means of generating +# output lines with trailing backslashes. +# Allow XHASH to always be substituted, even in cases where XCOMM isn't. + +CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \ + -e '/^\#line *[0-9][0-9]* *.*$$/d' \ + -e '/^[ ]*XCOMM$$/s/XCOMM/\#/' \ + -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/\#/' \ + -e '/^[ ]*XHASH/s/XHASH/\#/' \ + -e 's,X11_LOCALEDATADIR,$(X11_LOCALEDATADIR),g' \ + -e '/\@\@$$/s/\@\@$$/\\/' + +.pre: + @$(MKDIR_P) $(@D) + $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@ diff --git a/libX11/nls/Makefile.am b/libX11/nls/Makefile.am index 7dc43088c..0eced4cd8 100644 --- a/libX11/nls/Makefile.am +++ b/libX11/nls/Makefile.am @@ -20,19 +20,19 @@ include $(top_srcdir)/cpprules.in locale.alias: locale.alias.pre $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/locale.alias.pre | $(CPP_SED_MAGIC) > locale.alias.l1 - sed -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \ + $(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \ < locale.alias.l1 > locale.alias.l2 cat locale.alias.l2 locale.alias.l1 > locale.alias compose.dir: compose.dir.pre $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/compose.dir.pre | $(CPP_SED_MAGIC) > compose.dir.l1 - sed -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \ + $(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \ < compose.dir.l1 > compose.dir.l2 cat compose.dir.l2 compose.dir.l1 > compose.dir locale.dir: locale.dir.pre $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/locale.dir.pre | $(CPP_SED_MAGIC) > locale.dir.l1 - sed -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \ + $(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \ < locale.dir.l1 > locale.dir.l2 cat locale.dir.l2 locale.dir.l1 > locale.dir diff --git a/libxcb/doc/Makefile.am b/libxcb/doc/Makefile.am index 19255197c..dbe2e0b0c 100644 --- a/libxcb/doc/Makefile.am +++ b/libxcb/doc/Makefile.am @@ -2,7 +2,9 @@ EXTRA_DIST = \ tutorial/index.html \ tutorial/xcb.css \ -xcb.doxygen.in +xcb.doxygen.in \ +xkb_internals \ +xkb_issues docdirs = $(srcdir)/tutorial diff --git a/libxcb/src/xcb_util.c b/libxcb/src/xcb_util.c index 9329b81dd..7173db3f7 100644 --- a/libxcb/src/xcb_util.c +++ b/libxcb/src/xcb_util.c @@ -430,7 +430,7 @@ xcb_connection_t *xcb_connect_to_display_with_auth_info(const char *displayname, #ifdef _WIN32 WSADATA wsaData; if (WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) { - c = (xcb_connection_t *) &error_connection; + c = _xcb_conn_ret_error(XCB_CONN_ERROR); goto out; } #endif diff --git a/libxcb/xcb-proto/Makefile.am b/libxcb/xcb-proto/Makefile.am index c272c6237..6bc14ada0 100644 --- a/libxcb/xcb-proto/Makefile.am +++ b/libxcb/xcb-proto/Makefile.am @@ -3,4 +3,4 @@ SUBDIRS = src xcbgen pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = xcb-proto.pc -EXTRA_DIST=doc xcb-proto.pc.in +EXTRA_DIST=doc xcb-proto.pc.in autogen.sh diff --git a/mesalib/Makefile b/mesalib/Makefile index 1fa369a96..6120fbe9f 100644 --- a/mesalib/Makefile +++ b/mesalib/Makefile @@ -184,7 +184,7 @@ ultrix-gcc: # Rules for making release tarballs -PACKAGE_VERSION=8.0-devel +PACKAGE_VERSION=8.1-devel PACKAGE_DIR = Mesa-$(PACKAGE_VERSION) PACKAGE_NAME = MesaLib-$(PACKAGE_VERSION) diff --git a/mesalib/configure.ac b/mesalib/configure.ac index b2b1ab8f4..846b62300 100644 --- a/mesalib/configure.ac +++ b/mesalib/configure.ac @@ -698,6 +698,9 @@ AC_ARG_ENABLE([shared-glapi], SHARED_GLAPI="0" if test "x$enable_shared_glapi" = xyes; then SHARED_GLAPI="1" + # libGL will use libglapi for function lookups (IN_DRI_DRIVER means to use + # the remap table) + DEFINES="$DEFINES -DIN_DRI_DRIVER" fi AC_SUBST([SHARED_GLAPI]) diff --git a/mesalib/docs/contents.html b/mesalib/docs/contents.html index 33c2191ee..6f556eed9 100644 --- a/mesalib/docs/contents.html +++ b/mesalib/docs/contents.html @@ -52,7 +52,6 @@ a:visited { User Topics