Module: website
Branch: master
Commit: 109a7800eb6b62214ff4220a5c8c6dae27c76577
URL: http://source.winehq.org/git/website.git/?a=commit;h=109a7800eb6b62214ff422…
Author: Lei Zhang <thestig(a)google.com>
Date: Thu Apr 3 11:54:54 2008 -0700
website: add links to cvs web interface and documentation writing
Hi,
This adds a couple more useful links to the cvs page.
>From be495374b484f2081d337ba4e8baee8f46a0a169 Mon Sep 17 00:00:00 2001
From: Lei Zhang <thestig(a)google.com>
Date: Thu, 3 Apr 2008 11:53:38 -0700
Subject: [PATCH] website: add links to cvs web interface and documentation writing.
---
templates/en/cvs.template | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/templates/en/cvs.template b/templates/en/cvs.template
index f7e14b1..8044a1a 100644
--- a/templates/en/cvs.template
+++ b/templates/en/cvs.template
@@ -40,6 +40,12 @@ cvs login
<p>When prompted for a password press the enter key. A subdirectory named docs will be created.</p>
+<p>You can also Browse
+<a href="http://wine.cvs.sourceforge.net/wine/">the Wine Documentation
+module</a>. Here is more information on
+<a href="http://www.winehq.org/site/contributing#doc">documentation
+writing</a>.</p>
+
<hr />
<h1 id="sourcetree">Source Tree Browsing via the Web</h1>
Module: wine
Branch: master
Commit: ddf52dda15e83eae639ef2ce0ec4071b321ce34f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ddf52dda15e83eae639ef2ce0…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Sun Mar 30 14:52:18 2008 +0200
wined3d: Deactivate GL_FRAGMENT_SHADER_ATI before deactivating a context.
Mesa has a bug that causes a crash due to a NULL pointer dereference
with the R200 driver when making a context current that has
GL_FRAGMENT_SHADER_ATI enabled. This patch works around this bug by
making sure that GL_FRAGMENT_SHADER_ATI is disabled before deactivating
a context, and reactivates it afterwards. The context manager keeps
GL_ATI_FRAGMENT_SHADER generally enabled, except if the context is in 2D
blit mode.
---
dlls/wined3d/context.c | 29 ++++++++++++++++++++++++++---
1 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 0934180..d20f5f2 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -351,6 +351,11 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar
/* Set up the context defaults */
oldCtx = pwglGetCurrentContext();
oldDrawable = pwglGetCurrentDC();
+ if(oldCtx && oldDrawable && GL_SUPPORT(ATI_FRAGMENT_SHADER)) {
+ /* See comment in ActivateContext context switching */
+ glDisable(GL_FRAGMENT_SHADER_ATI);
+ checkGLcall("glEnable(GL_FRAGMENT_SHADER_ATI)");
+ }
if(pwglMakeCurrent(hdc, ctx) == FALSE) {
ERR("Cannot activate context to set up defaults\n");
goto out;
@@ -414,9 +419,6 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar
glTexEnvi(GL_TEXTURE_SHADER_NV, GL_PREVIOUS_TEXTURE_INPUT_NV, GL_TEXTURE0_ARB + s - 1);
checkGLcall("glTexEnvi(GL_TEXTURE_SHADER_NV, GL_PREVIOUS_TEXTURE_INPUT_NV, ...\n");
}
- } else if(GL_SUPPORT(ATI_FRAGMENT_SHADER)) {
- glEnable(GL_FRAGMENT_SHADER_ATI);
- checkGLcall("glEnable(GL_FRAGMENT_SHADER_ATI)");
}
if(GL_SUPPORT(ARB_POINT_SPRITE)) {
@@ -428,9 +430,16 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar
}
LEAVE_GL();
+ /* Never keep GL_FRAGMENT_SHADER_ATI enabled on a context that we switch away from,
+ * but enable it for the first context we create, and reenable it on the old context
+ */
if(oldDrawable && oldCtx) {
pwglMakeCurrent(oldDrawable, oldCtx);
}
+ if(GL_SUPPORT(ATI_FRAGMENT_SHADER)) {
+ glEnable(GL_FRAGMENT_SHADER_ATI);
+ checkGLcall("glEnable(GL_FRAGMENT_SHADER_ATI)");
+ }
out:
return ret;
@@ -928,9 +937,23 @@ void ActivateContext(IWineD3DDeviceImpl *This, IWineD3DSurface *target, ContextU
}
else {
TRACE("Switching gl ctx to %p, hdc=%p ctx=%p\n", context, context->hdc, context->glCtx);
+
+ if(GL_SUPPORT(ATI_FRAGMENT_SHADER)) {
+ /* Mesa crashes when enabling a context with GL_FRAGMENT_SHADER_ATI enabled.
+ * Thus we disable it before deactivating any context, and re-enable it afterwards.
+ *
+ * This bug is filed as bug #15269 on bugs.freedesktop.org
+ */
+ glDisable(GL_FRAGMENT_SHADER_ATI);
+ checkGLcall("glEnable(GL_FRAGMENT_SHADER_ATI)");
+ }
+
ret = pwglMakeCurrent(context->hdc, context->glCtx);
if(ret == FALSE) {
ERR("Failed to activate the new context\n");
+ } else if(GL_SUPPORT(ATI_FRAGMENT_SHADER) && !context->last_was_blit) {
+ glEnable(GL_FRAGMENT_SHADER_ATI);
+ checkGLcall("glEnable(GL_FRAGMENT_SHADER_ATI)");
}
}
if(This->activeContext->vshader_const_dirty) {
Module: wine
Branch: master
Commit: 20e63160df1be7f43af17c251247c8412d741b1a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=20e63160df1be7f43af17c251…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Thu Apr 3 11:41:02 2008 +0200
wined3d: Initialize some ARB shader output parameters.
---
dlls/wined3d/arb_program_shader.c | 27 +++++++++++++++++++++------
1 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index 7a841cd..a8d2c70 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -1987,12 +1987,27 @@ static void shader_arb_generate_vshader(IWineD3DVertexShader *iface, SHADER_BUFF
/* We need a constant to fixup the final position */
shader_addline(buffer, "PARAM posFixup = program.env[%d];\n", ARB_SHADER_PRIVCONST_POS);
- if((GLINFO_LOCATION).set_texcoord_w) {
- int i;
- for(i = 0; i < min(8, MAX_REG_TEXCRD); i++) {
- if(This->baseShader.reg_maps.texcoord_mask[i] != 0 &&
- This->baseShader.reg_maps.texcoord_mask[i] != WINED3DSP_WRITEMASK_ALL) {
- shader_addline(buffer, "MOV result.texcoord[%u].w, -helper_const.y;\n", i);
+ /* Initialize output parameters. GL_ARB_vertex_program does not require special initialization values
+ * for output parameters. D3D in theory does not do that either, but some applications depend on a
+ * proper initialization of the secondary color, and programs using the fixed function pipeline without
+ * a replacement shader depend on the texcoord.w beeing set properly.
+ *
+ * GL_NV_vertex_program defines that all output values are initialized to {0.0, 0.0, 0.0, 1.0}. This
+ * assetion is in effect even when using GL_ARB_vertex_program without any NV specific additions. So
+ * skip this if NV_vertex_program is supported. Otherwise, initialize the secondary color. For the tex-
+ * coords, we have a flag in the opengl caps. Many cards do not require the texcoord beeing set, and
+ * this can eat a number of instructions, so skip it unless this cap is set as well
+ */
+ if(!GL_SUPPORT(NV_VERTEX_PROGRAM)) {
+ shader_addline(buffer, "MOV result.color.secondary, -helper_const.wwwy;\n");
+
+ if((GLINFO_LOCATION).set_texcoord_w) {
+ int i;
+ for(i = 0; i < min(8, MAX_REG_TEXCRD); i++) {
+ if(This->baseShader.reg_maps.texcoord_mask[i] != 0 &&
+ This->baseShader.reg_maps.texcoord_mask[i] != WINED3DSP_WRITEMASK_ALL) {
+ shader_addline(buffer, "MOV result.texcoord[%u].w, -helper_const.y;\n", i);
+ }
}
}
}
Module: wine
Branch: master
Commit: b54553a2537d4b44b7e6d36caa6c893b1862b9e0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b54553a2537d4b44b7e6d36ca…
Author: Alexander Dorofeyev <alexd4(a)inbox.lv>
Date: Thu Apr 3 00:12:00 2008 +0300
wined3d: Avoid calling LoadTexture with gl lock held in IWineD3DSurfaceImpl_PreLoad.
Needed to prevent ActivateContext being called while holding gl lock.
---
dlls/wined3d/surface.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 28ffdcb..e7f7391 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -509,19 +509,22 @@ void WINAPI IWineD3DSurfaceImpl_PreLoad(IWineD3DSurface *iface) {
}
glBindTexture(This->glDescription.target, This->glDescription.textureName);
checkGLcall("glBindTexture");
+ LEAVE_GL();
IWineD3DSurface_LoadTexture(iface, FALSE);
/* This is where we should be reducing the amount of GLMemoryUsed */
} else if (This->glDescription.textureName) { /* NOTE: the level 0 surface of a mpmapped texture must be loaded first! */
/* assume this is a coding error not a real error for now */
FIXME("Mipmap surface has a glTexture bound to it!\n");
+ LEAVE_GL();
}
if (This->resource.pool == WINED3DPOOL_DEFAULT) {
/* Tell opengl to try and keep this texture in video ram (well mostly) */
GLclampf tmp;
tmp = 0.9f;
+ ENTER_GL();
glPrioritizeTextures(1, &This->glDescription.textureName, &tmp);
+ LEAVE_GL();
}
- LEAVE_GL();
}
return;
}
Module: wine
Branch: master
Commit: 9183b472ebac3fd4642655bd2e8c75713b011dee
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9183b472ebac3fd4642655bd2…
Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Date: Thu Apr 3 00:43:09 2008 +0200
winecfg: Update Norwegian Bokmål resource.
---
programs/winecfg/No.rc | 55 ++++++++++++++++++++++++++++++-----------------
1 files changed, 35 insertions(+), 20 deletions(-)
diff --git a/programs/winecfg/No.rc b/programs/winecfg/No.rc
index e9550d5..384a197 100644
--- a/programs/winecfg/No.rc
+++ b/programs/winecfg/No.rc
@@ -2,7 +2,7 @@
* WineCfg resources
* Norwegian Bokm�l Language Support
*
- * Copyright 2005-2007 Alexander N. S�rnes <alex(a)thehandofagony.com>
+ * Copyright 2005-2008 Alexander N. S�rnes <alex(a)thehandofagony.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -46,7 +46,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Programminnstillinger ",IDC_STATIC, 8,4,244,240
- LTEXT "Wine kan etterligne forskjellige Windows-versjoner for hvert program. Denne fanen er koblet med bibliotek- og grafikkfanene, s�nn at du kan endre innstillinger for hele systemet eller enkelte program der ogs�.",
+ LTEXT "Wine kan etterligne forskjellige Windows-versjoner for hvert program. Denne fanen er koblet med bibliotek- og grafikkfanene, s�nn at du kan endre innstillinger for hele systemet eller enkelte programmer der ogs�.",
IDC_STATIC,15,20,227,30
CONTROL "Programmer",IDC_APP_LISTVIEW,"SysListView32",WS_BORDER | WS_TABSTOP | LVS_LIST | LVS_SINGLESEL | LVS_SHOWSELALWAYS,
15,50,230,150
@@ -62,27 +62,27 @@ FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Vinduinnstillinger ",IDC_STATIC,8,5,244,180
- CONTROL "Tillat DirectX-programmer � hindre musen fra � forlate vinduet",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,15,230,8
- LTEXT "Hvis vinduer kontrolleres av din standardvindusbehandler, f�r de vanlige rammer, og respekterer det virtuelle skrivebordet ditt og vises i vinduslisten.\n\nHvis de er ukontrollerte er de koblet fra vindusbehandleren. Dette betyr at de ikke integreres like godt med skrivebordet ditt, men emuleringen blir mer presis s�nn at noen programmer virker bedre.",
- IDC_STATIC,15,38,228,80
- CONTROL "Tillat vindusbehandleren � kontrollere vinduene",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,112,230,8
-
+ CONTROL "Tillat DirectX-programmer � hindre musen fra � forlate vinduet",IDC_DX_MOUSE_GRAB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,19,230,8
+
+ CONTROL "Tillat vindusbehandleren � kontrollere vinduene",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,40,230,8
+ LTEXT "Hvis vinduer kontrolleres av din standardvindusbehandler, f�r de vanlige rammer, og respekterer det virtuelle skrivebordet ditt og vises i vinduslisten.\n\nHvis de er ukontrollerte er de koblet fra vindusbehandleren. Dette betyr at de ikke integreres like godt med skrivebordet ditt, men emuleringen blir mer presis s�nn at noen programmer virker bedre.",
+ IDC_STATIC,19,51,225,80
+
+ CONTROL "Vis et virtuelt skrivebord",IDC_ENABLE_DESKTOP,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,15,128,230,10
LTEXT "Du kan velge � emulere et Windows-skrivebord, der alle vinduene er bundet i en virtuell skjerm, eller du kan f� vinduene til � oppf�re seg som andre programmer p� skrivebordet.",
- IDC_STATIC,15,126,228,28
+ IDC_STATIC,19,138,225,28
LTEXT "St�rrelse:",IDC_DESKTOP_SIZE,15,168,44,8,WS_DISABLED
- LTEXT "X",IDC_DESKTOP_BY,108,168,8,8,WS_DISABLED
- CONTROL "Vis et virtuelt skrivebord",IDC_ENABLE_DESKTOP,"Button",
- BS_AUTOCHECKBOX | WS_TABSTOP,15,153,230,10
-
- EDITTEXT IDC_DESKTOP_WIDTH,64,168,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
- EDITTEXT IDC_DESKTOP_HEIGHT,117,168,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
+ LTEXT "X",IDC_DESKTOP_BY,109,168,8,8,WS_DISABLED
+ EDITTEXT IDC_DESKTOP_WIDTH,64,166,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
+ EDITTEXT IDC_DESKTOP_HEIGHT,117,166,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
- GROUPBOX " Direct3D ",IDC_STATIC,8,190,244,50
+ GROUPBOX " Direct3D ",IDC_STATIC,8,190,244,48
- LTEXT "Verteks-skyggelegging: ",IDC_STATIC,15,200,80,30
- COMBOBOX IDC_D3D_VSHADER_MODE,100,198,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+ LTEXT "Verteks-skyggelegging: ",IDC_STATIC,15,203,80,32
+ COMBOBOX IDC_D3D_VSHADER_MODE,100,201,145,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
- CONTROL "Tillat piksel-skyggelegger (hvis maskinvaren st�tter det)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,217,230,10
+ CONTROL "Tillat piksel-skyggelegger (hvis maskinvaren st�tter det)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,219,230,10
GROUPBOX " Skjermoppl�sning (styrer skriftst�rrelse) ",IDC_STATIC,8,242,244,25
CONTROL "", IDC_RES_TRACKBAR, "msctls_trackbar32",WS_TABSTOP,12,250,187,15
EDITTEXT IDC_RES_DPIEDIT,204,250,23,13,ES_NUMBER|WS_TABSTOP
@@ -196,7 +196,7 @@ BEGIN
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Skrift",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
- GROUPBOX " Skallkatalog ",IDC_STATIC,8,114,244,100
+ GROUPBOX " Spesielle mapper ",IDC_STATIC,8,114,244,100
CONTROL "Listevisning",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
CONTROL "Pek til:",IDC_LINK_SFPATH,"Button",BS_AUTOCHECKBOX|WS_TABSTOP|WS_DISABLED,15,195,50,13
@@ -222,7 +222,7 @@ BEGIN
IDS_THEMEFILE "Temafiler"
IDS_THEMEFILE_SELECT "Velg en temafil"
IDS_AUDIO_MISSING "Ingen lyddriver er oppgitt i registeret.\n\nEn anbefalt driver er valgt for deg;\nbruk den eller velg en annen,\n\nog trykk �Bruk� for at endringene skal tre i kraft."
- IDS_SHELL_FOLDER "Skallkatalog"
+ IDS_SHELL_FOLDER "Mappe"
IDS_LINKS_TO "Peker til"
END
@@ -306,4 +306,19 @@ BEGIN
IDC_SYSPARAMS_INACTIVE_TITLE "Inaktiv tittellinje"
IDC_SYSPARAMS_INACTIVE_TITLE_TEXT "Inaktiv titteltekst"
IDC_SYSPARAMS_MSGBOX_TEXT "Meldingsvindutekst"
+ IDC_SYSPARAMS_APPWORKSPACE "Arbeidsomr�de i program"
+ IDC_SYSPARAMS_WINDOW_FRAME "Visrusramme"
+ IDC_SYSPARAMS_ACTIVE_BORDER "Aktiv kant"
+ IDC_SYSPARAMS_INACTIVE_BORDER "Inaktiv kant"
+ IDC_SYSPARAMS_BUTTON_SHADOW "Kontrollerskygge"
+ IDC_SYSPARAMS_GRAY_TEXT "Gr� tekst"
+ IDC_SYSPARAMS_BUTTON_HILIGHT "Merket kontroller"
+ IDC_SYSPARAMS_BUTTON_DARK_SHADOW "M�rk skygge i kontroller"
+ IDC_SYSPARAMS_BUTTON_LIGHT "Kontrollerlys"
+ IDC_SYSPARAMS_BUTTON_ALTERNATE "Bakgrunn for skiftende kontroller"
+ IDC_SYSPARAMS_HOT_TRACKING "Merket element"
+ IDC_SYSPARAMS_ACTIVE_TITLE_GRADIENT "Gradient for aktiv tittellinje"
+ IDC_SYSPARAMS_INACTIVE_TITLE_GRADIENT "Gradient for inaktiv tittellinje"
+ IDC_SYSPARAMS_MENU_HILIGHT "Menymerking"
+ IDC_SYSPARAMS_MENUBAR "Menylinje"
END
Module: wine
Branch: master
Commit: 3eff12c056109fd27b4e72a42ae2bcbe42cda026
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3eff12c056109fd27b4e72a42…
Author: Vitaliy Margolen <wine-patches(a)kievinfo.com>
Date: Wed Apr 2 23:43:14 2008 -0600
reg: Add Russian translation.
---
programs/reg/Ru.rc | 29 +++++++++++++++++++++++++++++
programs/reg/rsrc.rc | 1 +
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/programs/reg/Ru.rc b/programs/reg/Ru.rc
new file mode 100644
index 0000000..0d895a3
--- /dev/null
+++ b/programs/reg/Ru.rc
@@ -0,0 +1,29 @@
+/*
+ * Russian language support
+ *
+ * Copyright 2008 Vitaliy Margolen
+ *
+ * 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
+ */
+
+LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
+
+STRINGTABLE
+{
+ STRING_USAGE, "�������������� ���������:\n\nREG [ ADD | DELETE | QUERY ]\nREG <�������> /?\n"
+ STRING_ADD_USAGE, "REG ADD <����> [/v <��������> | /ve] [/t <���>] [/s <����������>] [/d ������] [/f]\n"
+ STRING_DELETE_USAGE, "REG DELETE <����> [/v <��������> | /ve | /va] [/f]\n"
+ STRING_QUERY_USAGE, "REG QUERY <����> [/v <��������> | /ve] [/s]\n"
+}
diff --git a/programs/reg/rsrc.rc b/programs/reg/rsrc.rc
index 125b3e3..1508517 100644
--- a/programs/reg/rsrc.rc
+++ b/programs/reg/rsrc.rc
@@ -26,3 +26,4 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "Nl.rc"
#include "No.rc"
#include "Pl.rc"
+#include "Ru.rc"