Module: wine
Branch: refs/heads/master
Commit: c7a1dfde9fd25652f29c2615beb8d843c94759c3
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c7a1dfde9fd25652f29c261…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Mar 30 16:23:12 2006 +0200
x11drv: Filter a few more event types in filter_event.
ConfigureNotify and related events should only be processed when
posted messages are selected. There's no need to handle MappingNotify
if keyboard events are not selected.
---
dlls/x11drv/event.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/x11drv/event.c b/dlls/x11drv/event.c
index 53c1a6a..98e40b8 100644
--- a/dlls/x11drv/event.c
+++ b/dlls/x11drv/event.c
@@ -212,6 +212,7 @@ static Bool filter_event( Display *displ
case KeyPress:
case KeyRelease:
case KeymapNotify:
+ case MappingNotify:
return (mask & QS_KEY) != 0;
case ButtonPress:
case ButtonRelease:
@@ -222,6 +223,12 @@ static Bool filter_event( Display *displ
return (mask & QS_MOUSEMOVE) != 0;
case Expose:
return (mask & QS_PAINT) != 0;
+ case FocusIn:
+ case FocusOut:
+ case MapNotify:
+ case UnmapNotify:
+ case ConfigureNotify:
+ case PropertyNotify:
case ClientMessage:
return (mask & QS_POSTMESSAGE) != 0;
default:
Module: wine
Branch: refs/heads/master
Commit: eacc0e3bf74985424d30aa9498736982a96f4251
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=eacc0e3bf74985424d30aa9…
Author: Henning Gerhardt <henning.gerhardt(a)web.de>
Date: Thu Mar 30 08:58:09 2006 +0200
twain: Add German resource.
---
dlls/twain/rsrc.rc | 1 +
dlls/twain/twain_De.rc | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 0 deletions(-)
create mode 100644 dlls/twain/twain_De.rc
diff --git a/dlls/twain/rsrc.rc b/dlls/twain/rsrc.rc
index 455cac2..94e1da0 100644
--- a/dlls/twain/rsrc.rc
+++ b/dlls/twain/rsrc.rc
@@ -25,4 +25,5 @@
#include "resource.h"
+#include "twain_De.rc"
#include "twain_En.rc"
diff --git a/dlls/twain/twain_De.rc b/dlls/twain/twain_De.rc
new file mode 100644
index 0000000..b378c29
--- /dev/null
+++ b/dlls/twain/twain_De.rc
@@ -0,0 +1,40 @@
+/*
+ * German resources for Twain
+ *
+ * Copyright 2006 Henning Gerhardt
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
+
+IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 186, 46
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | DS_CENTER | DS_SETFOREGROUND
+CAPTION "Scanne"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "SCANNE.... Bitte warten",IDC_STATIC,53,19,85,8
+END
+
+STRINGTABLE DISCARDABLE
+{
+ 0 ""
+ 1 "px"
+ 2 "b"
+ 3 "mm"
+ 4 "dpi"
+ 5 "%"
+ 6 "ns"
+}
Module: wine
Branch: refs/heads/master
Commit: 8c7706bad04b90f4f9a7c25d94a27309d0347c80
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8c7706bad04b90f4f9a7c25…
Author: Robert Shearman <rob(a)codeweavers.com>
Date: Wed Mar 29 18:40:46 2006 +0100
ole32: Don't process posted messages in CoWaitForMultipleHandles.
Tests with native show that during COM calls posted messages aren't
retrieved other than COM calls so change the PeekMessage parameters in
CoWaitForMultipleHandles to duplicate this.
---
dlls/ole32/compobj.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index ab87a5d..a82ed4a 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -2647,8 +2647,8 @@ static BOOL COM_PeekMessage(struct apart
{
/* first try to retrieve messages for incoming COM calls to the apartment window */
return PeekMessageW(msg, apt->win, WM_USER, WM_APP - 1, PM_REMOVE|PM_NOYIELD) ||
- /* next retrieve all other messages */
- PeekMessageW(msg, NULL, 0, 0, PM_REMOVE|PM_NOYIELD);
+ /* next retrieve other messages necessary for the app to remain responsive */
+ PeekMessageW(msg, NULL, 0, WM_USER - 1, PM_REMOVE|PM_NOYIELD);
}
/***********************************************************************
Module: wine
Branch: refs/heads/master
Commit: a1548b45d8c3d19fad5632f997da65e5deb4ce0d
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a1548b45d8c3d19fad5632f…
Author: Robert Shearman <rob(a)codeweavers.com>
Date: Wed Mar 29 18:39:03 2006 +0100
ole32: Put the PeekMessage call of CoWaitForMultipleHandles into a separate function.
Put the PeekMessage call of CoWaitForMultipleHandles into a separate
function so that the order and type of the messages retrieved can be
customised in the future.
---
dlls/ole32/compobj.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 32d7a73..9ab9478 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -2643,6 +2643,11 @@ HRESULT WINAPI CoCopyProxy(IUnknown *pPr
}
+static BOOL COM_PeekMessage(struct apartment *apt, MSG *msg)
+{
+ return PeekMessageW(msg, NULL, 0, 0, PM_REMOVE|PM_NOYIELD);
+}
+
/***********************************************************************
* CoWaitForMultipleHandles [OLE32.@]
*
@@ -2704,7 +2709,7 @@ HRESULT WINAPI CoWaitForMultipleHandles(
if (res == WAIT_OBJECT_0 + cHandles) /* messages available */
{
MSG msg;
- while (PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE|PM_NOYIELD))
+ while (COM_PeekMessage(apt, &msg))
{
/* FIXME: filter the messages here */
TRACE("received message whilst waiting for RPC: 0x%04x\n", msg.message);
Module: wine
Branch: refs/heads/master
Commit: 3091aa5302a60e1efc6518b3205dca5d4b7a7b02
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=3091aa5302a60e1efc6518b…
Author: Robert Shearman <rob(a)codeweavers.com>
Date: Wed Mar 29 18:38:21 2006 +0100
ole32: Pass the no yield flag to PeekMessage.
Pass the no yield flag to PeekMessage since we sleep in
MsgWaitForMultipleObjectsEx and the extra context switch is wasteful.
---
dlls/ole32/compobj.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 7057450..2528b61 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -2703,7 +2703,7 @@ HRESULT WINAPI CoWaitForMultipleHandles(
if (res == WAIT_OBJECT_0 + cHandles) /* messages available */
{
MSG msg;
- while (PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE))
+ while (PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE|PM_NOYIELD))
{
/* FIXME: filter the messages here */
TRACE("received message whilst waiting for RPC: 0x%04x\n", msg.message);
Module: wine
Branch: refs/heads/master
Commit: 3ee642bb09629ada8ba4d9f30fd3b0d7f263b055
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=3ee642bb09629ada8ba4d9f…
Author: H. Verbeet <hverbeet(a)gmail.com>
Date: Tue Mar 28 21:10:32 2006 +0200
wined3d: Move the SHADER_OPCODE definition to wined3d_private.h.
---
dlls/wined3d/pixelshader.c | 11 -----------
dlls/wined3d/vertexshader.c | 12 ------------
dlls/wined3d/wined3d_private.h | 12 ++++++++++++
3 files changed, 12 insertions(+), 23 deletions(-)
diff --git a/dlls/wined3d/pixelshader.c b/dlls/wined3d/pixelshader.c
index 381a828..64fe501 100644
--- a/dlls/wined3d/pixelshader.c
+++ b/dlls/wined3d/pixelshader.c
@@ -41,17 +41,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d_shader);
#define PGMSIZE 65535
#define REGMASK 0x00001FFF
-typedef void (*shader_fct_t)();
-
-typedef struct SHADER_OPCODE {
- unsigned int opcode;
- const char* name;
- const char* glname;
- CONST UINT num_params;
- shader_fct_t soft_fct;
- DWORD min_version;
- DWORD max_version;
-} SHADER_OPCODE;
#define GLNAME_REQUIRE_GLSL ((const char *)1)
/* *******************************************
diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c
index 13da61c..cfa8f2e 100644
--- a/dlls/wined3d/vertexshader.c
+++ b/dlls/wined3d/vertexshader.c
@@ -78,18 +78,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d_shader);
/* TODO: Vertex and Pixel shaders are almost identicle, the only exception being the way that some of the data is looked up or the availablity of some of the data i.e. some instructions are only valid for pshaders and some for vshaders
because of this the bulk of the software pipeline can be shared between pixel and vertex shaders... and it wouldn't supprise me if the programes can be cross compiled using a large body body shared code */
-typedef void (*shader_fct_t)();
-
-typedef struct SHADER_OPCODE {
- unsigned int opcode;
- const char* name;
- const char* glname;
- CONST UINT num_params;
- shader_fct_t soft_fct;
- DWORD min_version;
- DWORD max_version;
-} SHADER_OPCODE;
-
#define GLNAME_REQUIRE_GLSL ((const char *)1)
/*******************************
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 86a1002..cff1ac9 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -1157,6 +1157,18 @@ enum vsConstantsEnum {
VS_CONSTANT_FLOAT
};
+typedef void (*shader_fct_t)();
+
+typedef struct SHADER_OPCODE {
+ unsigned int opcode;
+ const char* name;
+ const char* glname;
+ CONST UINT num_params;
+ shader_fct_t soft_fct;
+ DWORD min_version;
+ DWORD max_version;
+} SHADER_OPCODE;
+
/*****************************************************************************
* IDirect3DVertexShader implementation structure
*/