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

2013-04-07 Thread Marcus Meissner
Hi,

Well, your testcase had a trivial mistake which i now see.

This line:
typedef struct AEffect * (*main_entry_t)(audioMasterCallback);

must read:
typedef struct WINAPI AEffect * (*main_entry_t)(audioMasterCallback);


WINAPI is critical here, as it changes the call from the SysV AMD64
calling convention to the Microsoft x64 one which is entirely different.

(That it works for 32bit is probably just luck.)

If you fix it in fst.h:
fst.h:typedef struct AEffect * (*main_entry_t)(audioMasterCallback);

It will probably also work better.

Ciao, Marcus


On Sat, Apr 06, 2013 at 06:41:42PM -0400, jordan wrote:
 Hey Marcus,
 
 
  Can you add a
  printf(plugin %p\n, plugin);
  after above line?
 
  I would suspect things like:
  - checks for processor features and returns 0x if not found.
 
 I added this line to the sources / compiled and tested - here is
 output: http://pastebin.com/QMtWttRZ
 
 I'n not sure what to make of it. I've been trying to nail down what
 the problem might be on my system (to no avail). It's really
 strange...
 
 I've tried different kernels, different versions of wine, using a
 binary version of the test app (not compiled on my machine). but
 nothing seems to work.
 
 Jordan
 




Re: Fresh WineWiki Theme, Straight from the Farm

2013-04-07 Thread André Hentschel
Am 07.04.2013 03:59, schrieb Kyle Auble:
 On Sat, Apr 6, 2013 at 5:14 PM, Dimi Paun wrote:
 
 I've actually deployed your theme to production already:
  http://wiki.winehq.org
 Oh, cool!
  
 Don't worry about taking time to reply, I know
 when people are busy it's good to follow up just
 now and then. I'm looking at it right now on some
 of the computers in my apartment's business
 office  it does seem to be causing IE 8  9 some
 problems.
  
 One of them has Firefox 3 though (they go a while
 without updates), and even for that old version,
 there are only a few issues I can see. I'll get
 my laptop out in a little bit to check it on
 newer versions of the major browsers, and over
 the next few days, I'll try to iron out any IE
 issues and last wrinkles.
  
 After that, I guess the next order of business
 will be to see about moving the repo onto WineHQ.

First: Wow! You did a great job! Finally our Wiki theme is up to date :)
I had a look at some Pages already and they look perfect here with FF 20.0
What i wonder is how we want to proceed with tables, i've seen different tables 
already and we should maybe choose one style:
http://wiki.winehq.org/FOSDEM2013
http://wiki.winehq.org/Gecko - Here we used a workaround for the missing 
boarders and spacing
http://wiki.winehq.org/Recommended_Packages - strange HTML
http://wiki.winehq.org/Portability





Re: wbemprox: Implement some properties of Win32_ComputerSystem and Win32_DiskPartition.

2013-04-07 Thread Nikolay Sivov
Please use your real name.


On Sun, Apr 7, 2013 at 7:46 PM, mog422 ad...@mog422.net wrote:









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

2013-04-07 Thread Frédéric Delanoy
On Fri, Apr 5, 2013 at 9:41 AM, Rico Schüller kgbric...@web.de wrote:

 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 already?


Most likely,since those are literal constants.
Besides, 5.0f / 16.0f is more readable than a pre-computed result.

So I don't think this patch is really useful.

Frédéric