Module: wine
Branch: refs/heads/master
Commit: 8f6aa41a78e13c747b5f2930f736e7f32f82f649
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8f6aa41a78e13c747b5f293…
Author: Mike McCormack <mike(a)codeweavers.com>
Date: Tue Apr 4 13:36:51 2006 +0900
configure: Warn if the fonts aren't going to be built.
---
configure | 10 ++++++++++
configure.ac | 10 ++++++++++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 3c49fb4..9bffafd 100755
--- a/configure
+++ b/configure
@@ -10304,6 +10304,9 @@ if test "$FONTFORGE" != "false" -a -n "$
then
FONTSSUBDIRS="fonts"
+ wine_cv_msg_fonts=no
+else
+ wine_cv_msg_fonts=yes
fi
echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
@@ -20859,6 +20862,13 @@ then
echo "*** enable Wine to use TrueType fonts."
fi
+if test "$wine_cv_msg_fonts" = "yes"
+then
+ echo
+ echo "*** Warning: Freetype or Fontforge is missing."
+ echo "*** Fonts will not be built. Dialog text may be invisible or unaligned."
+fi
+
if test -z "$ALSALIBS" -a \
-z "$ARTSC_LIBS" -a \
-z "$AUDIOIOLIBS" -a \
diff --git a/configure.ac b/configure.ac
index fd23c66..afcc222 100644
--- a/configure.ac
+++ b/configure.ac
@@ -628,6 +628,9 @@ dnl Only build the fonts dir if we have
if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
then
AC_SUBST(FONTSSUBDIRS,"fonts")
+ wine_cv_msg_fonts=no
+else
+ wine_cv_msg_fonts=yes
fi
dnl **** Check for parport (currently Linux only) ****
@@ -1754,6 +1757,13 @@ then
echo "*** enable Wine to use TrueType fonts."
fi
+if test "$wine_cv_msg_fonts" = "yes"
+then
+ echo
+ echo "*** Warning: Freetype or Fontforge is missing."
+ echo "*** Fonts will not be built. Dialog text may be invisible or unaligned."
+fi
+
if test -z "$ALSALIBS" -a \
-z "$ARTSC_LIBS" -a \
-z "$AUDIOIOLIBS" -a \
Module: wine
Branch: refs/heads/master
Commit: c77711a6c9e4752c4196926c2292a03608b68267
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c77711a6c9e4752c4196926…
Author: Robert Shearman <rob(a)codeweavers.com>
Date: Mon Apr 3 16:27:41 2006 +0100
ole32: Add documentation for the clip format user marshal functions.
---
dlls/ole32/usrmarshal.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/usrmarshal.c b/dlls/ole32/usrmarshal.c
index 3bd46cb..8c76bc4 100644
--- a/dlls/ole32/usrmarshal.c
+++ b/dlls/ole32/usrmarshal.c
@@ -59,6 +59,26 @@ static void dump_user_flags(unsigned lon
}
}
+/******************************************************************************
+ * CLIPFORMAT_UserSize [OLE32.@]
+ *
+ * Calculates the buffer size required to marshal a clip format.
+ *
+ * PARAMS
+ * pFlags [I] Flags. See notes.
+ * StartingSize [I] Starting size of the buffer. This value is added on to
+ * the buffer size required for the clip format.
+ * pCF [I] Clip format to size.
+ *
+ * RETURNS
+ * The buffer size required to marshal a clip format plus the starting size.
+ *
+ * NOTES
+ * Even though the function is documented to take a pointer to an unsigned
+ * long in pFlags, it actually takes a pointer to a USER_MARSHAL_CB structure, of which
+ * the first parameter is an unsigned long.
+ * This function is only intended to be called by the RPC runtime.
+ */
unsigned long __RPC_USER CLIPFORMAT_UserSize(unsigned long *pFlags, unsigned long StartingSize, CLIPFORMAT *pCF)
{
unsigned long size = StartingSize;
@@ -85,6 +105,25 @@ unsigned long __RPC_USER CLIPFORMAT_User
return size;
}
+/******************************************************************************
+ * CLIPFORMAT_UserMarshal [OLE32.@]
+ *
+ * Marshals a clip format into a buffer.
+ *
+ * PARAMS
+ * pFlags [I] Flags. See notes.
+ * pBuffer [I] Buffer to marshal the clip format into.
+ * pCF [I] Clip format to marshal.
+ *
+ * RETURNS
+ * The end of the marshaled data in the buffer.
+ *
+ * NOTES
+ * Even though the function is documented to take a pointer to an unsigned
+ * long in pFlags, it actually takes a pointer to a USER_MARSHAL_CB structure, of which
+ * the first parameter is an unsigned long.
+ * This function is only intended to be called by the RPC runtime.
+ */
unsigned char * __RPC_USER CLIPFORMAT_UserMarshal(unsigned long *pFlags, unsigned char *pBuffer, CLIPFORMAT *pCF)
{
wireCLIPFORMAT wirecf = (wireCLIPFORMAT)pBuffer;
@@ -123,6 +162,25 @@ unsigned char * __RPC_USER CLIPFORMAT_Us
return pBuffer;
}
+/******************************************************************************
+ * CLIPFORMAT_UserUnmarshal [OLE32.@]
+ *
+ * Unmarshals a clip format from a buffer.
+ *
+ * PARAMS
+ * pFlags [I] Flags. See notes.
+ * pBuffer [I] Buffer to marshal the clip format from.
+ * pCF [O] Address that receive the unmarshaled clip format.
+ *
+ * RETURNS
+ * The end of the marshaled data in the buffer.
+ *
+ * NOTES
+ * Even though the function is documented to take a pointer to an unsigned
+ * long in pFlags, it actually takes a pointer to a USER_MARSHAL_CB structure, of which
+ * the first parameter is an unsigned long.
+ * This function is only intended to be called by the RPC runtime.
+ */
unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(unsigned long *pFlags, unsigned char *pBuffer, CLIPFORMAT *pCF)
{
wireCLIPFORMAT wirecf = (wireCLIPFORMAT)pBuffer;
@@ -158,6 +216,24 @@ unsigned char * __RPC_USER CLIPFORMAT_Us
return pBuffer;
}
+/******************************************************************************
+ * CLIPFORMAT_UserFree [OLE32.@]
+ *
+ * Frees an unmarshaled clip format.
+ *
+ * PARAMS
+ * pFlags [I] Flags. See notes.
+ * pCF [I] Clip format to free.
+ *
+ * RETURNS
+ * The end of the marshaled data in the buffer.
+ *
+ * NOTES
+ * Even though the function is documented to take a pointer to an unsigned
+ * long in pFlags, it actually takes a pointer to a USER_MARSHAL_CB
+ * structure, of which the first parameter is an unsigned long.
+ * This function is only intended to be called by the RPC runtime.
+ */
void __RPC_USER CLIPFORMAT_UserFree(unsigned long *pFlags, CLIPFORMAT *pCF)
{
/* there is no inverse of the RegisterClipboardFormat function,