Re: Build and override a simple winelib DLL

2013-04-05 Thread Charles Davis
On Apr 5, 2013, at 10:34 AM, Maxime Sednaoui wrote: > Hi, > > First, I already asked for the same thing at the forum where I've been told > to post here for my question > Link here : http://forum.winehq.org/viewtopic.php?f=8&t=18675 > > I have a Windows executable that load a really simple DLL

Re: 64bit winelib test app fails on AMD CPU, but works on Intel - need help to identify possible problem, please :)

2013-04-05 Thread jordan
Hey Marcus > Works for me on my AMD Phenom(tm) II X4 945 Processor. great :) (very similar CPU). > It looks like the > struct AEffect* plugin = main_entry((audioMasterCallback) > simple_master_callback); > > returns 0x, which is probably a failure indication. > > Can you add a

Re: Build and override a simple winelib DLL

2013-04-05 Thread Matijn Woudt
On Fri, Apr 5, 2013 at 6:34 PM, Maxime Sednaoui wrote: > Hi, > > First, I already asked for the same thing at the forum where I've been > told to post here for my question > Link here : http://forum.winehq.org/viewtopic.php?f=8&t=18675 > > I have a Windows executable that load a really simple DLL

Re: [PATCH v4 0/7] Add O_DENY* support for VFS and CIFS/NFS

2013-04-05 Thread Pavel Shilovsky
2013/4/5 Pavel Shilovsky : > Main changes from the previous one: > 1) O_DENYMAND is removed, sharelock mount option is introduced. > 2) Patch fcntl.h and VFS patches are united into one. > 3) flock/LOCK_MAND is disabled for sharelock mounts. > > This patchset adds support of O_DENY* flags for Linux

[PATCH v4 1/7] fcntl: Introduce new O_DENY* open flags

2013-04-05 Thread Pavel Shilovsky
This patch adds 3 flags: 1) O_DENYREAD that doesn't permit read access, 2) O_DENYWRITE that doesn't permit write access, 3) O_DENYDELETE that doesn't permit delete or rename, Network filesystems CIFS, SMB2.0, SMB3.0 and NFSv4 have such flags - this change can benefit cifs and nfs modules as well a

[PATCH v4 7/7] locks: Disable LOCK_MAND support for MS_SHARELOCK mounts

2013-04-05 Thread Pavel Shilovsky
Signed-off-by: Pavel Shilovsky --- fs/locks.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/fs/locks.c b/fs/locks.c index ea5813c..8a59afb 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1722,6 +1722,12 @@ SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd) if (!f.file)

[PATCH v4 6/7] NFSD: Pass share reservations flags to VFS

2013-04-05 Thread Pavel Shilovsky
that maps them into O_DENY flags and make them visible for applications that use O_DENYMAND opens. Signed-off-by: Pavel Shilovsky --- fs/locks.c | 1 + fs/nfsd/nfs4state.c | 46 +- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git

[PATCH v4 5/7] NFSv4: Add O_DENY* open flags support

2013-04-05 Thread Pavel Shilovsky
by passing these flags to NFSv4 open request. Signed-off-by: Pavel Shilovsky --- fs/locks.c| 6 +++--- fs/nfs/internal.h | 3 ++- fs/nfs/nfs4proc.c | 2 ++ fs/nfs/nfs4xdr.c | 21 + fs/nfs/super.c| 3 ++- 5 files changed, 26 insertions(+), 9 deletions(-) diff

[PATCH v4 3/7] CIFS: Add O_DENY* open flags support

2013-04-05 Thread Pavel Shilovsky
Construct share_access value from O_DENY* flags and send it to the server. Signed-off-by: Pavel Shilovsky --- fs/cifs/cifsglob.h | 16 +++- fs/cifs/dir.c | 3 +++ fs/cifs/file.c | 4 fs/locks.c | 8 4 files changed, 30 insertions(+), 1 deletion(-) d

[PATCH v4 4/7] CIFS: Use NT_CREATE_ANDX command for forcemand mounts

2013-04-05 Thread Pavel Shilovsky
forcemand mount option now lets us use Windows mandatory style of byte-range locks even if server supports posix ones - switches on Windows locking mechanism. Share flags is another locking mehanism provided by Windows semantic that can be used by NT_CREATE_ANDX command. This patch combines all Win

[PATCH v4 2/7] CIFS: Add share_access parm to open request

2013-04-05 Thread Pavel Shilovsky
and simplify CIFSSMBOpen params. Signed-off-by: Pavel Shilovsky --- fs/cifs/cifsacl.c | 8 fs/cifs/cifsglob.h | 2 +- fs/cifs/cifsproto.h | 8 fs/cifs/cifssmb.c | 50 +++--- fs/cifs/dir.c | 12 ++-- fs/cifs/file.

[PATCH v4 0/7] Add O_DENY* support for VFS and CIFS/NFS

2013-04-05 Thread Pavel Shilovsky
Main changes from the previous one: 1) O_DENYMAND is removed, sharelock mount option is introduced. 2) Patch fcntl.h and VFS patches are united into one. 3) flock/LOCK_MAND is disabled for sharelock mounts. This patchset adds support of O_DENY* flags for Linux fs layer. These flags can be used by

Build and override a simple winelib DLL

2013-04-05 Thread Maxime Sednaoui
Hi, First, I already asked for the same thing at the forum where I've been told to post here for my question Link here : http://forum.winehq.org/viewtopic.php?f=8&t=18675 I have a Windows executable that load a really simple DLL (it is a test) and I want to create a Winelib DLL that will overrid

Re: Portability - Port Wine to Wayland

2013-04-05 Thread Dan Kegel
OK, thanks. On Fri, Apr 5, 2013 at 7:45 AM, André Hentschel wrote: > Hi Dan, > i just removed your gsoc idea and i want to let you know why. There was a > quite short discussion on IRC: > > Andre_H_laptop: austin_laptop: Dan added a quite controversal gsoc idea... > afaik ken needed 1 year for

Portability - Port Wine to Wayland

2013-04-05 Thread André Hentschel
Hi Dan, i just removed your gsoc idea and i want to let you know why. There was a quite short discussion on IRC: Andre_H_laptop: austin_laptop: Dan added a quite controversal gsoc idea... afaik ken needed 1 year for the mac driver and dan further suggests to have a look at xwayland first to see

Re: [GSoC] My (new) proposal for GSoC 2013

2013-04-05 Thread Gediminas Jakutis
On Fri, Apr 5, 2013 at 10:08 AM, Stefan Dösinger wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am 2013-04-04 22:52, schrieb Gediminas Jakutis: > There is some merit to the proposal, but it needs a lot more detail. > We already have a lot of d3d tests (see > dlls/{ddraw,d3d8,d3d9,d3d

Re: [PATCH 2/2] winspool.drv: Check the value of pDeviceName.(try 3)

2013-04-05 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=24967 Your paranoid android

Re: d3dx9 [patch 1/3]: Avoid two useless computations

2013-04-05 Thread Rico Schüller
On 05.04.2013 09:13, Nozomi Kodama wrote: s = 0.75f; -if ( order > 2 ) -s += 5.0f / 16.0f; -if ( order > 4 ) -s -= 3.0f / 32.0f; +if (order > 2) +s = 1.0625f; +if (order > 4) +s = 0.96875f; s /= D3DX_PI; Doesn't the compiler do that al

Re: [GSoC] My (new) proposal for GSoC 2013

2013-04-05 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-04-04 22:52, schrieb Gediminas Jakutis: > Hello! > > My previous application[1] turned out to be a total failure, hence > making a completely different one. My proposal this time goes as > follows: Write various D3D tests, mostly focusing on