ChangeSet ID: 31303
CVSROOT: /opt/cvs-commit
Module name: lostwages
Changes by: jnewman(a)winehq.org 2007/08/03 10:34:29
Modified files:
templates/en : contributing.template
Log message:
Tom Wickline <twickline(a)gmail.com>
update WPF information and mailing address
Patch: http://cvs.winehq.org/patch.py?id=31303
Old revision New revision Changes Path
1.33 1.34 +16 -9 lostwages/templates/en/contributing.template
Index: lostwages/templates/en/contributing.template
diff -u -p lostwages/templates/en/contributing.template:1.33 lostwages/templates/en/contributing.template:1.34
--- lostwages/templates/en/contributing.template:1.33 3 Aug 2007 15:34:29 -0000
+++ lostwages/templates/en/contributing.template 3 Aug 2007 15:34:29 -0000
@@ -363,8 +363,17 @@
<h3 id="wpf">Wine Party Fund</h3>
<p>The purpose of the Wine Party Fund is to show appreciation to Wine
- developers by collecting funds for developer meetings, such as future Wine
- Conferences, or in some cases to purchase documentation.</p>
+developers by collecting funds for developer meetings, such as future
+Wine Conferences, or in some cases to purchase documentation.</p>
+
+<p>The organization that currently manages our donations is the
+<a href="http://conservancy.softwarefreedom.org/">Software Freedom
+Conservancy</a>. If you have any questions or are otherwise in need
+of further assistance please visit the SFC site.</p>
+
+<p>The Software Freedom Conservancy is a 501(c)(3) organization, and
+donations made through it are fully tax-deductible to the extent
+permitted by law.</p>
<p><strong>Ways to contribute:</strong></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div>
@@ -379,13 +388,11 @@
<p>We also have a SourceForge PayPal account
<a href="http://sourceforge.net/donate/index.php?group_id=6241">sourceforge.net</a></p>
-<p>You can also send cash, checks or international money order in US funds to:</p>
-<address>The Wine Party Fund
-c/o Jeremy White
-CodeWeavers
-2356 University Ave. West
-Suite 420
-St. Paul, MN 55114</address>
+<p>You can also send cash, cheque or international money order in US funds to:</p>
+<address>Wine Project
+Software Freedom Conservancy
+1995 Broadway FL 17
+New York, NY 10023-5882</address>
<p>Purchase books or music from <a href="http://www.amazon.com/exec/obidos/redirect-home/winehq">
Amazon.com</a> or <a href="http://www.cdnow.com/from=sr-1093221">CDnow</a> (Use
these specific links only, so that the Wine Party Fund gets the credit.)</p>
\ No newline at end of file
Module: wine
Branch: master
Commit: fe7ae95852181ee95654ee84b1acbd31db66cbe3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fe7ae95852181ee95654ee84b…
Author: John Klehm <xixsimplicityxix(a)gmail.com>
Date: Tue Jul 31 00:53:43 2007 -0500
inkobj: Add stub header for inkobj dll.
---
.gitignore | 1 +
include/Makefile.in | 1 +
include/msinkaut.idl | 29 +++++++++++++++++++++++++++++
3 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 0ddaa04..2fdb222 100644
--- a/.gitignore
+++ b/.gitignore
@@ -727,6 +727,7 @@ include/mlang.h
include/mmstream.h
include/mshtmhst.h
include/mshtml.h
+include/msinkaut.h
include/msxml.h
include/msxml2.h
include/netfw.h
diff --git a/include/Makefile.in b/include/Makefile.in
index 9fb456a..0810f81 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -30,6 +30,7 @@ IDL_H_SRCS = \
mmstream.idl \
mshtmhst.idl \
mshtml.idl \
+ msinkaut.idl \
msxml.idl \
msxml2.idl \
netfw.idl \
diff --git a/include/msinkaut.idl b/include/msinkaut.idl
new file mode 100644
index 0000000..f0eac27
--- /dev/null
+++ b/include/msinkaut.idl
@@ -0,0 +1,29 @@
+/* Copyright (C) 2007 C John Klehm
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+import "ocidl.idl";
+
+[
+ uuid(7D868ACD-1A5D-4A47-A247-F39741353012),
+ version(1.0)
+]
+library MSINKAUTLib
+{
+ importlib("stdole2.tlb");
+
+ typedef float single;
+};
Module: wine
Branch: master
Commit: 462a3c3d744da6b9ae2193947da8245c37baaa1f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=462a3c3d744da6b9ae2193947…
Author: Roderick Colenbrander <thunderbird2k(a)gmx.net>
Date: Wed Aug 1 23:20:54 2007 +0200
wgl: wglChooosePixelFormatARB returns the total number of matching pixelformats and not the number of pixelformats stored in the buffer.
This didn't work due to bugs in wglChoosePixelFormatARB but also due
to strange behavior of glXChooseFBConfig. Some of its default values
are not zero or GLX_DONT_CARE which cause some formats not to appear.
---
dlls/winex11.drv/opengl.c | 62 +++++++++++++++++++++------------------------
1 files changed, 29 insertions(+), 33 deletions(-)
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 74fba01..44a543e 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -617,15 +617,15 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr, int* oGLXAttr, Wine_GLPBuf
unsigned cur = 0;
int pop;
int drawattrib = 0;
+ int nvfloatattrib = GLX_DONT_CARE;
+ int pixelattrib = 0;
int isColor = 0;
int wantColorBits = 0;
int sz_alpha = 0;
- /* The list of WGL attributes is allowed to be NULL, so don't return -1 (error) but just 0 */
- if(iWGLAttr == NULL)
- return 0;
-
- while (0 != iWGLAttr[cur]) {
+ /* The list of WGL attributes is allowed to be NULL. We don't return here for NULL
+ * because we need to do fixups for GLX_DRAWABLE_TYPE/GLX_RENDER_TYPE/GLX_FLOAT_COMPONENTS_NV. */
+ while (iWGLAttr && 0 != iWGLAttr[cur]) {
TRACE("pAttr[%d] = %x\n", cur, iWGLAttr[cur]);
switch (iWGLAttr[cur]) {
@@ -672,17 +672,16 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr, int* oGLXAttr, Wine_GLPBuf
case WGL_PIXEL_TYPE_ARB:
pop = iWGLAttr[++cur];
+ TRACE("pAttr[%d] = WGL_PIXEL_TYPE_ARB: %d\n", cur, pop);
switch (pop) {
- case WGL_TYPE_COLORINDEX_ARB: pop = GLX_COLOR_INDEX_BIT; isColor = 1; break ;
- case WGL_TYPE_RGBA_ARB: pop = GLX_RGBA_BIT; break ;
+ case WGL_TYPE_COLORINDEX_ARB: pixelattrib = GLX_COLOR_INDEX_BIT; isColor = 1; break ;
+ case WGL_TYPE_RGBA_ARB: pixelattrib = GLX_RGBA_BIT; break ;
/* This is the same as WGL_TYPE_RGBA_FLOAT_ATI but the GLX constants differ, only the ARB GLX one is widely supported so use that */
- case WGL_TYPE_RGBA_FLOAT_ATI: pop = GLX_RGBA_FLOAT_BIT; break ;
+ case WGL_TYPE_RGBA_FLOAT_ATI: pixelattrib = GLX_RGBA_FLOAT_BIT; break ;
default:
ERR("unexpected PixelType(%x)\n", pop);
pop = 0;
}
- PUSH2(oGLXAttr, GLX_RENDER_TYPE, pop);
- TRACE("pAttr[%d] = GLX_RENDER_TYPE: %d\n", cur, pop);
break;
case WGL_SUPPORT_GDI_ARB:
@@ -765,9 +764,8 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr, int* oGLXAttr, Wine_GLPBuf
}
break ;
case WGL_FLOAT_COMPONENTS_NV:
- pop = iWGLAttr[++cur];
- PUSH2(oGLXAttr, GLX_FLOAT_COMPONENTS_NV, pop);
- TRACE("pAttr[%d] = GLX_FLOAT_COMPONENTS_NV: %x\n", cur, pop);
+ nvfloatattrib = iWGLAttr[++cur];
+ TRACE("pAttr[%d] = WGL_FLOAT_COMPONENTS_NV: %x\n", cur, nvfloatattrib);
break ;
case WGL_BIND_TO_TEXTURE_RGB_ARB:
case WGL_BIND_TO_TEXTURE_RGBA_ARB:
@@ -819,10 +817,19 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr, int* oGLXAttr, Wine_GLPBuf
TRACE("pAttr[%d] = WGL_COLOR_BITS_ARB: %d\n", cur, wantColorBits);
}
- /* Apply the OR'd drawable type bitmask now. */
- if (drawattrib) {
- PUSH2(oGLXAttr, GLX_DRAWABLE_TYPE, drawattrib);
- TRACE("pAttr[?] = GLX_DRAWABLE_TYPE: %#x\n", drawattrib);
+ /* Apply the OR'd drawable type bitmask now EVEN when WGL_DRAW_TO* is unset.
+ * It is needed in all cases because GLX_DRAWABLE_TYPE default to GLX_WINDOW_BIT. */
+ PUSH2(oGLXAttr, GLX_DRAWABLE_TYPE, drawattrib);
+ TRACE("pAttr[?] = GLX_DRAWABLE_TYPE: %#x\n", drawattrib);
+
+ /* Set GLX_RENDER_TYPE all the time */
+ PUSH2(oGLXAttr, GLX_RENDER_TYPE, pixelattrib);
+ TRACE("pAttr[?] = GLX_RENDER_TYPE: %#x\n", pixelattrib);
+
+ /* Set GLX_FLOAT_COMPONENTS_NV all the time */
+ if(strstr(WineGLInfo.glxExtensions, "GLX_NV_float_buffer")) {
+ PUSH2(oGLXAttr, GLX_FLOAT_COMPONENTS_NV, nvfloatattrib);
+ TRACE("pAttr[?] = GLX_FLOAT_COMPONENTS_NV: %#x\n", nvfloatattrib);
}
return nAttribs;
@@ -2456,10 +2463,6 @@ static GLboolean WINAPI X11DRV_wglChoosePixelFormatARB(HDC hdc, const int *piAtt
int nCfgs = 0;
UINT it;
int fmt_id;
-
- GLXFBConfig* cfgs_fmt = NULL;
- int nCfgs_fmt = 0;
-
int fmt = 0;
int pfmt_it = 0;
@@ -2482,17 +2485,9 @@ static GLboolean WINAPI X11DRV_wglChoosePixelFormatARB(HDC hdc, const int *piAtt
return GL_FALSE;
}
- /* Get a list of all FB configurations */
- cfgs_fmt = pglXGetFBConfigs(gdi_display, DefaultScreen(gdi_display), &nCfgs_fmt);
- if (NULL == cfgs_fmt) {
- ERR("Failed to get All FB Configs\n");
- XFree(cfgs);
- return GL_FALSE;
- }
-
/* Loop through all matching formats and check if they are suitable.
* Note that this function should at max return nMaxFormats different formats */
- for (it = 0; pfmt_it < nMaxFormats && it < nCfgs; ++it) {
+ for (it = 0; it < nCfgs; ++it) {
gl_test = pglXGetFBConfigAttrib(gdi_display, cfgs[it], GLX_FBCONFIG_ID, &fmt_id);
if (gl_test) {
ERR("Failed to retrieve FBCONFIG_ID from GLXFBConfig, expect problems.\n");
@@ -2504,15 +2499,16 @@ static GLboolean WINAPI X11DRV_wglChoosePixelFormatARB(HDC hdc, const int *piAtt
if(!fmt)
continue;
- piFormats[pfmt_it] = fmt;
- TRACE("at %d/%d found FBCONFIG_ID 0x%x (%d/%d)\n", it + 1, nCfgs, fmt_id, piFormats[pfmt_it], nCfgs_fmt);
+ if(pfmt_it < nMaxFormats) {
+ piFormats[pfmt_it] = fmt;
+ TRACE("at %d/%d found FBCONFIG_ID 0x%x (%d)\n", it + 1, nCfgs, fmt_id, piFormats[pfmt_it]);
+ }
pfmt_it++;
}
*nNumFormats = pfmt_it;
/** free list */
XFree(cfgs);
- XFree(cfgs_fmt);
return GL_TRUE;
}