Module: wine
Branch: master
Commit: e41992ccaf56f467780159cf8f3d66fb3c79ebb6
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e41992ccaf56f467780159c…
Author: Huw Davies <huw(a)codeweavers.com>
Date: Thu Sep 21 10:11:28 2006 +0100
gdi32: Win 2000 and Win XP behave differently if there's a '\n' in the string, so remove the width test completely.
---
dlls/gdi/tests/font.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/gdi/tests/font.c b/dlls/gdi/tests/font.c
index beb7436..6891f14 100644
--- a/dlls/gdi/tests/font.c
+++ b/dlls/gdi/tests/font.c
@@ -383,11 +383,11 @@ static void test_text_extents(void)
GetTextExtentPointW(hdc, wt, len, &sz2);
ok(sz1.cy == sz2.cy,
"cy from GetTextExtentExPointW (%ld) and GetTextExtentPointW (%ld) differ\n", sz1.cy, sz2.cy);
-todo_wine {
- /* The \n in the string is apparently handled differently in GetTextExtentPoint and GetTextExtentExPoint */
- ok(sz1.cx != sz2.cx,
- "cx from GetTextExtentExPointW (%ld) and GetTextExtentPointW (%ld) are the same\n", sz1.cx, sz2.cx);
- }
+ /* Because of the '\n' in the string GetTextExtentExPoint and
+ GetTextExtentPoint return different widths under Win2k, but
+ under WinXP they return the same width. So we don't test that
+ here. */
+
for (i = 1; i < len; ++i)
ok(extents[i-1] <= extents[i],
"GetTextExtentExPointW generated a non-increasing sequence of partial extents (at position %d)\n",
Module: wine
Branch: master
Commit: 35bf41bc161cbee6090548d24f5c409c4cd03985
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=35bf41bc161cbee6090548d…
Author: Kai Blin <kai.blin(a)gmail.com>
Date: Sun Sep 17 11:28:23 2006 +0200
secur32: Stop loading Negotiate until it is actually working.
---
dlls/secur32/secur32.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/secur32/secur32.c b/dlls/secur32/secur32.c
index a6c12b2..1e0b704 100644
--- a/dlls/secur32/secur32.c
+++ b/dlls/secur32/secur32.c
@@ -545,7 +545,12 @@ static void SECUR32_initializeProviders(
InitializeCriticalSection(&cs);
/* First load built-in providers */
SECUR32_initSchannelSP();
+ /* Do not load Negotiate yet. This breaks for some user on the wine-users
+ * mailing list as of 2006-09-12. Without Negotiate, applications should
+ * fall back to NTLM and that should work.*/
+#if 0
SECUR32_initNegotiateSP();
+#endif
SECUR32_initNTLMSP();
/* Now load providers from registry */
apiRet = RegOpenKeyExW(HKEY_LOCAL_MACHINE, securityProvidersKeyW, 0,
Module: wine
Branch: master
Commit: c84c47842e218b888daf83382bc029440146d322
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c84c47842e218b888daf833…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Fri Sep 22 09:36:12 2006 +0200
configure: Moved the libGL.a check to the final warnings.
---
configure | 38 +++++++++++++++-----------------------
configure.ac | 32 ++++++++++++--------------------
2 files changed, 27 insertions(+), 43 deletions(-)
diff --git a/configure b/configure
index 801ec4f..2df837e 100755
--- a/configure
+++ b/configure
@@ -9494,30 +9494,15 @@ fi
echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
if test $ac_cv_lib_GL_glXCreateContext = yes; then
OPENGL_LIBS="-lGL"
-
-fi
-
-
- if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
- then
- OPENGLFILES='$(OPENGLFILES)'
+ OPENGLFILES='$(OPENGLFILES)'
cat >>confdefs.h <<\_ACEOF
#define HAVE_OPENGL 1
_ACEOF
- else
- if test -f /usr/X11R6/lib/libGL.a
- then
- { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
-This prevents linking to OpenGL. Delete the file and restart configure." >&5
-echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
-This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
- { (exit 1); exit 1; }; }
- else
- wine_cv_opengl_libs_found="no"
- fi
- fi
+
+fi
+
{ echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
@@ -25579,7 +25564,7 @@ echo "$as_me: WARNING: isn't what you wa
echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
fi
-if test "$wine_cv_opengl_headers_found" = "no" -o "$wine_cv_opengl_header_version_OK" = "no" -o "$wine_cv_opengl_libs_found" = "no"
+if test -z "$OPENGLFILES"
then
echo >&2
{ echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
@@ -25595,11 +25580,18 @@ echo "$as_me: WARNING: No OpenGL develop
then
{ echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
- fi
- if test "$wine_cv_opengl_libs_found" = "no"
+ elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
then
- { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
+ if test -f /usr/X11R6/lib/libGL.a
+ then
+ { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
+This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
+echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
+This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
+ else
+ { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
+ fi
fi
fi
diff --git a/configure.ac b/configure.ac
index 9a4be02..f7246c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -413,25 +413,12 @@ #endif])
then
dnl Check for the presence of the library
AC_CHECK_LIB(GL,glXCreateContext,
- OPENGL_LIBS="-lGL"
+ [OPENGL_LIBS="-lGL"
+ OPENGLFILES='$(OPENGLFILES)'
+ AC_DEFINE(HAVE_OPENGL, 1, [Define if OpenGL is present on the system])]
,,
$X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS)
- if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
- then
- OPENGLFILES='$(OPENGLFILES)'
- AC_DEFINE(HAVE_OPENGL, 1, [Define if OpenGL is present on the system])
- else
- if test -f /usr/X11R6/lib/libGL.a
- then
- AC_MSG_ERROR([/usr/X11R6/lib/libGL.a is present on your system.
-This prevents linking to OpenGL. Delete the file and restart configure.])
- else
- dnl The compile test most likely failed because no libGL.so was found
- wine_cv_opengl_libs_found="no"
- fi
- fi
-
dnl Check for GLU32 library.
AC_CHECK_LIB(GLU,gluLookAt,
[OPENGL_LIBS="$OPENGL_LIBS -lGLU"
@@ -1975,7 +1962,7 @@ then
AC_MSG_WARN([ packages of Xlib/Xfree86 at the very least.])
fi
-if test "$wine_cv_opengl_headers_found" = "no" -o "$wine_cv_opengl_header_version_OK" = "no" -o "$wine_cv_opengl_libs_found" = "no"
+if test -z "$OPENGLFILES"
then
echo >&2
AC_MSG_WARN([Wine will be build without OpenGL or Direct3D support])
@@ -1987,10 +1974,15 @@ then
if test "$wine_cv_opengl_header_version_OK" = "no"
then
AC_MSG_WARN([Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).])
- fi
- if test "$wine_cv_opengl_libs_found" = "no"
+ elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
then
- AC_MSG_WARN([No OpenGL library found on this system.])
+ if test -f /usr/X11R6/lib/libGL.a
+ then
+ AC_MSG_WARN([/usr/X11R6/lib/libGL.a is present on your system.
+This probably prevents linking to OpenGL. Try deleting the file and restarting configure.])
+ else
+ AC_MSG_WARN([No OpenGL library found on this system.])
+ fi
fi
fi