Module: wine
Branch: master
Commit: 7c8b8e0a9319c53eb0602c0e5ab12da0b83b9ee5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7c8b8e0a9319c53eb0602c0e5…
Author: Alexander Dorofeyev <alexd4(a)inbox.lv>
Date: Tue Apr 8 00:42:39 2008 +0300
wined3d: Set isInDraw later in drawPrimitive.
This should fix the problem that in LoadLocation SFLAG_INTEXTURE path gl calls
can be made without activating context, due to isInDraw checks.
---
dlls/wined3d/drawprim.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c
index 37482fb..77b396a 100644
--- a/dlls/wined3d/drawprim.c
+++ b/dlls/wined3d/drawprim.c
@@ -986,9 +986,6 @@ void drawPrimitive(IWineD3DDevice *iface,
if (NumPrimitives == 0) return;
- /* Signals other modules that a drawing is in progress and the stateblock finalized */
- This->isInDraw = TRUE;
-
/* Invalidate the back buffer memory so LockRect will read it the next time */
for(i = 0; i < GL_LIMITS(buffers); i++) {
target = (IWineD3DSurfaceImpl *) This->render_targets[i];
@@ -1032,6 +1029,9 @@ void drawPrimitive(IWineD3DDevice *iface,
}
}
+ /* Signals other modules that a drawing is in progress and the stateblock finalized */
+ This->isInDraw = TRUE;
+
/* Ok, we will be updating the screen from here onwards so grab the lock */
if (wined3d_settings.offscreen_rendering_mode == ORM_FBO) {
Module: wine
Branch: master
Commit: c3529fab62fe394c54fbd08797eb5956e396990a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c3529fab62fe394c54fbd0879…
Author: Michael Stefaniuc <mstefani(a)redhat.de>
Date: Tue Apr 8 00:11:03 2008 +0200
view: Add the Romanian translation.
---
programs/view/Ro.rc | 73 +++++++++++++++++++++++++++++++++++++++++++++++
programs/view/viewrc.rc | 1 +
2 files changed, 74 insertions(+), 0 deletions(-)
diff --git a/programs/view/Ro.rc b/programs/view/Ro.rc
new file mode 100644
index 0000000..b03fe31
--- /dev/null
+++ b/programs/view/Ro.rc
@@ -0,0 +1,73 @@
+/*
+ * Copyright 1998 Douglas Ridgway
+ * Copyright 2003 Marcelo Duarte
+ * Copyright 2008 Michael Stefaniuc
+ *
+ * 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_ROMANIAN, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+/*
+ *
+ * Menu
+ *
+ */
+
+VIEW MENU
+BEGIN
+ POPUP "&Fișier"
+ BEGIN
+ MENUITEM "&Deschide", IDM_OPEN
+ MENUITEM "&Ieșire", IDM_EXIT
+ END
+ POPUP "&Plasare"
+ BEGIN
+ MENUITEM "&Scalează la fereastră", IDM_SET_EXT_TO_WIN
+ MENUITEM SEPARATOR
+ MENUITEM "&Stânga", IDM_LEFT
+ MENUITEM "D&reapta", IDM_RIGHT
+ MENUITEM "&Sus", IDM_UP
+ MENUITEM "&Jos", IDM_DOWN
+ END
+END
+
+
+/*
+ *
+ * Accelerator
+ *
+ */
+
+VIEW ACCELERATORS
+BEGIN
+ "Q", IDM_EXIT, VIRTKEY, CONTROL
+END
+
+
+/*
+ *
+ * String Table
+ *
+ */
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_DESCRIPTION "Vizualizator de fișiere metafile normale"
+END
+
+#pragma code_page(default)
diff --git a/programs/view/viewrc.rc b/programs/view/viewrc.rc
index 0473067..868b57f 100644
--- a/programs/view/viewrc.rc
+++ b/programs/view/viewrc.rc
@@ -32,6 +32,7 @@
#include "No.rc"
#include "Pl.rc"
#include "Pt.rc"
+#include "Ro.rc"
#include "Ru.rc"
#include "Si.rc"
#include "Tr.rc"
Module: wine
Branch: master
Commit: f41fd59ddbdc878c1de287ede14067fdc5c6a143
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f41fd59ddbdc878c1de287ede…
Author: Michael Stefaniuc <mstefani(a)redhat.de>
Date: Tue Apr 8 00:09:57 2008 +0200
sane.ds: Add the Romanian translation.
---
dlls/sane.ds/rsrc.rc | 1 +
dlls/sane.ds/sane_Ro.rc | 43 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/dlls/sane.ds/rsrc.rc b/dlls/sane.ds/rsrc.rc
index 28a3d5c..d44c98b 100644
--- a/dlls/sane.ds/rsrc.rc
+++ b/dlls/sane.ds/rsrc.rc
@@ -34,6 +34,7 @@
#include "sane_Nl.rc"
#include "sane_No.rc"
#include "sane_Pl.rc"
+#include "sane_Ro.rc"
#include "sane_Ru.rc"
#include "sane_Si.rc"
#include "sane_Sv.rc"
diff --git a/dlls/sane.ds/sane_Ro.rc b/dlls/sane.ds/sane_Ro.rc
new file mode 100644
index 0000000..06fc8c5
--- /dev/null
+++ b/dlls/sane.ds/sane_Ro.rc
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2006 CodeWeavers, Aric Stewart
+ * Copyright 2008 Michael Stefaniuc
+ *
+ * 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_ROMANIAN, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 186, 46
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | DS_CENTER | DS_SETFOREGROUND
+CAPTION "Scanare"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "SCANEZ.... Așteptați",IDC_STATIC,5,19,176,8, SS_CENTER
+END
+
+STRINGTABLE DISCARDABLE
+{
+ 0 ""
+ 1 "px"
+ 2 "b"
+ 3 "mm"
+ 4 "dpi"
+ 5 "%"
+ 6 "ns"
+}
+
+#pragma code_page(default)
Module: wine
Branch: master
Commit: df2b1bea63223533fcae81eccf9abe86b2fc8dda
URL: http://source.winehq.org/git/wine.git/?a=commit;h=df2b1bea63223533fcae81ecc…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Mon Apr 7 23:24:12 2008 +0200
wined3d: Mark the SYSMEM copy outdated after releasing memory.
Strictly speaking this is redundant because the UnLoad before did the
job, but if we mess with the allocated memory we have to tell the
surface about that. Updating INDRAWABLE will automatically mark SYSMEM
outdated.
---
dlls/wined3d/device.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index cd39e20..c594460 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -7002,6 +7002,8 @@ static void updateSurfaceDesc(IWineD3DSurfaceImpl *surface, WINED3DPRESENT_PARAM
surface->resource.allocatedMemory = NULL;
surface->resource.heapMemory = NULL;
surface->resource.size = IWineD3DSurface_GetPitch((IWineD3DSurface *) surface) * surface->pow2Width;
+ /* INDRAWABLE is a sane place for implicit targets / depth stencil after the reset */
+ IWineD3DSurface_ModifyLocation((IWineD3DSurface *) surface, SFLAG_INDRAWABLE, TRUE);
}
static HRESULT WINAPI reset_unload_resources(IWineD3DResource *resource, void *data) {
Module: wine
Branch: master
Commit: 0de167db9e2ef6c62ba48b050bc3d0ba2638467f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0de167db9e2ef6c62ba48b050…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Mon Apr 7 23:21:33 2008 +0200
wined3d: Put implicit surfaces into drawable on unload.
If we mark the sysmem copy up to date we would have to take care about
allocating it. As explained in the comment, INDRAWABLE is a saner
choice
---
dlls/wined3d/surface.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 733d095..3eeaaa3 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -563,14 +563,21 @@ static void WINAPI IWineD3DSurfaceImpl_UnLoad(IWineD3DSurface *iface) {
* Implicit resources stay however. So this means we have an implicit render target
* or depth stencil. The content may be destroyed, but we still have to tear down
* opengl resources, so we cannot leave early.
+ *
+ * Put the most up to date surface location into the drawable. D3D-wise this content
+ * is undefined, so it would be nowhere, but that would make the location management
+ * more complicated. The drawable is a sane location, because if we mark sysmem or
+ * texture up to date, drawPrim will copy the uninitialized texture or sysmem to the
+ * uninitialized drawable. That's pointless and we'd have to allocate the texture /
+ * sysmem copy here.
*/
- IWineD3DSurface_ModifyLocation(iface, SFLAG_INSYSMEM, TRUE);
+ IWineD3DSurface_ModifyLocation(iface, SFLAG_INDRAWABLE, TRUE);
} else {
/* Load the surface into system memory */
IWineD3DSurface_LoadLocation(iface, SFLAG_INSYSMEM, NULL);
+ IWineD3DSurface_ModifyLocation(iface, SFLAG_INDRAWABLE, FALSE);
}
IWineD3DSurface_ModifyLocation(iface, SFLAG_INTEXTURE, FALSE);
- IWineD3DSurface_ModifyLocation(iface, SFLAG_INDRAWABLE, FALSE);
This->Flags &= ~SFLAG_ALLOCATED;
/* Destroy PBOs, but load them into real sysmem before */
Module: wine
Branch: master
Commit: 0f4f6fac3ce8254fe7f92032b1ce278e7186eac6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0f4f6fac3ce8254fe7f92032b…
Author: Rok Mandeljc <rok.mandeljc(a)email.si>
Date: Mon Apr 7 20:43:07 2008 +0200
oleaut32: Added Slovenian translation.
---
dlls/oleaut32/oleaut32.rc | 3 ++-
dlls/oleaut32/oleaut32_Si.rc | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/oleaut32.rc b/dlls/oleaut32/oleaut32.rc
index 44a3641..d57b886 100644
--- a/dlls/oleaut32/oleaut32.rc
+++ b/dlls/oleaut32/oleaut32.rc
@@ -42,6 +42,7 @@
#include "oleaut32_Pt.rc"
#include "oleaut32_Ro.rc"
#include "oleaut32_Ru.rc"
+#include "oleaut32_Si.rc"
#include "oleaut32_Sv.rc"
#include "oleaut32_Th.rc"
#include "oleaut32_Tr.rc"
@@ -49,6 +50,6 @@
/*
* FIXME:
* Finnish, Greek, Hebrew, Japanese, Korean,
- * Turkish, Slovenian (at least) are localised in XP Home.
+ * Turkish (at least) are localised in XP Home.
* I expect Chinese etc are localised in Asian Editions also.
*/
diff --git a/dlls/oleaut32/oleaut32_Si.rc b/dlls/oleaut32/oleaut32_Si.rc
new file mode 100644
index 0000000..365d877
--- /dev/null
+++ b/dlls/oleaut32/oleaut32_Si.rc
@@ -0,0 +1,35 @@
+/*
+ * Slovenian resources for oleaut32
+ *
+ * Copyright 2008 Rok Mandeljc
+ *
+ * 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
+ */
+
+#pragma code_page(65001)
+
+LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_TRUE "Da"
+ IDS_FALSE "Ne"
+ IDS_YES "Da"
+ IDS_NO "Ne"
+ IDS_ON "Vključeno"
+ IDS_OFF "Izključeno"
+}
+
+#pragma code_page(default)
Module: wine
Branch: master
Commit: 44aa996e3defd5693a5cf764dc5038030254dd89
URL: http://source.winehq.org/git/wine.git/?a=commit;h=44aa996e3defd5693a5cf764d…
Author: Rok Mandeljc <rok.mandeljc(a)email.si>
Date: Mon Apr 7 20:43:04 2008 +0200
msvfw32: Added Slovenian translation.
---
dlls/msvfw32/msvfw32_Si.rc | 55 ++++++++++++++++++++++++++++++++++++++++++++
dlls/msvfw32/rsrc.rc | 1 +
2 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/dlls/msvfw32/msvfw32_Si.rc b/dlls/msvfw32/msvfw32_Si.rc
new file mode 100644
index 0000000..05d1ba5
--- /dev/null
+++ b/dlls/msvfw32/msvfw32_Si.rc
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2008 Rok Mandeljc
+ *
+ * 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
+ */
+
+#pragma code_page(65001)
+
+LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
+
+ICM_CHOOSE_COMPRESSOR DIALOG DISCARDABLE 36, 24, 187, 95
+STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Stiskanje videa"
+FONT 8, "MS Shell Dlg"
+{
+ DEFPUSHBUTTON "V redu",IDOK,129,2,49,14
+ PUSHBUTTON "Prekliči",IDCANCEL,129,18,49,14
+
+ LTEXT "&Kodek za stiskanje:",-1,9,6,105,8
+ COMBOBOX 880,9,16,111,67,CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
+
+ PUSHBUTTON "&Nastavitve ...",882,129,36,49,14
+ PUSHBUTTON "&O ...",883,129,52,49,14
+
+ SCROLLBAR 884,9,44,111,9,WS_TABSTOP
+
+ LTEXT "Kakovost &stiskanja:",886,9,34,80,8
+
+ CONTROL "&Ključna slika na vsakih",887,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,9,60,66,12
+ EDITTEXT 888,78,60,22,12
+ LTEXT "slik",889,103,62,26,10
+
+ CONTROL "&Pretok podatkov",894,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,9,76,66,12
+ EDITTEXT 895,78,76,22,12
+ LTEXT "kb/s",896,102,78,26,10
+}
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_FULLFRAMES "Polne slike (nestisnjeno)"
+}
+
+#pragma code_page(default)
diff --git a/dlls/msvfw32/rsrc.rc b/dlls/msvfw32/rsrc.rc
index ba00f7d..15c7b53 100644
--- a/dlls/msvfw32/rsrc.rc
+++ b/dlls/msvfw32/rsrc.rc
@@ -30,5 +30,6 @@
#include "msvfw32_No.rc"
#include "msvfw32_Pl.rc"
#include "msvfw32_Ru.rc"
+#include "msvfw32_Si.rc"
#include "msvfw32_Sv.rc"
#include "msvfw32_Tr.rc"
Module: wine
Branch: master
Commit: 704949d76a80155969652af9827fc23ab1cc6920
URL: http://source.winehq.org/git/wine.git/?a=commit;h=704949d76a80155969652af98…
Author: Rok Mandeljc <rok.mandeljc(a)email.si>
Date: Mon Apr 7 20:43:05 2008 +0200
msvidc32: Added Slovenian translation.
---
dlls/msvidc32/msvidc32_Si.rc | 29 +++++++++++++++++++++++++++++
dlls/msvidc32/rsrc.rc | 1 +
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/dlls/msvidc32/msvidc32_Si.rc b/dlls/msvidc32/msvidc32_Si.rc
new file mode 100644
index 0000000..060ad08
--- /dev/null
+++ b/dlls/msvidc32/msvidc32_Si.rc
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2008 Rok Mandeljc
+ *
+ * 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
+ */
+
+#pragma code_page(65001)
+
+LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_NAME "MS-CRAM"
+ IDS_DESCRIPTION "Wine Video 1 video kodek"
+}
+
+#pragma code_page(default)
diff --git a/dlls/msvidc32/rsrc.rc b/dlls/msvidc32/rsrc.rc
index bb8fdfe..ff97399 100644
--- a/dlls/msvidc32/rsrc.rc
+++ b/dlls/msvidc32/rsrc.rc
@@ -29,5 +29,6 @@
#include "msvidc32_Pl.rc"
#include "msvidc32_Ro.rc"
#include "msvidc32_Ru.rc"
+#include "msvidc32_Si.rc"
#include "msvidc32_Sv.rc"
#include "msvidc32_Tr.rc"