Clang Static analysis

2013-10-13 Thread C.W. Betts
I have been doing a Clang static analysis of Wine on OS X using the one provided at http://clang-analyzer.llvm.org and storing the results on my PogoPlug drive. If someone wants to see the results, please tell me and I'll set up your e-mail. You will need a free PogoPlug account to view them. Wh

Re: Wrong status of gdi32

2013-10-08 Thread C.W. Betts
Some of those are probably Wine-specific, and/or are forwarded from other DLLs. On Oct 8, 2013, at 8:35 AM, Akira Nakagawa wrote: > I found this page shows that gdi32 dll has more than 800 functions,but the > spec file has only 500 . > >

Re: [PATCH 4/5] winemac: Implement rudimentary support for system tray icons as Mac status items.

2013-03-21 Thread C.W. Betts
On Mar 18, 2013, at 3:22 PM, Ken Thomases wrote: > On Mar 18, 2013, at 4:04 PM, Charles Davis wrote: > >> On Mar 18, 2013, at 2:23 PM, Ken Thomases wrote: >> >>> On Mar 18, 2013, at 2:15 PM, Ken Thomases wrote: >>> >>>> On Mar 18, 2013, at

Re: [PATCH 4/5] winemac: Implement rudimentary support for system tray icons as Mac status items.

2013-03-18 Thread C.W. Betts
On Mar 18, 2013, at 2:23 PM, Ken Thomases wrote: > On Mar 18, 2013, at 3:15 PM, Ken Thomases wrote: > >> On Mar 18, 2013, at 3:03 PM, C.W. Betts wrote: >> >>> On Mar 17, 2013, at 9:40 PM, Ken Thomases wrote: >>> >>>> Doesn't suppor

Re: [0/10] Launcher app bundles on OS X

2013-03-18 Thread C.W. Betts
A quick glance at the source revealed that you removed static from some functions. Why? If a function isn't being called outside a source file, it's better to have it be static. This includes functions referenced in structs (but not the structs themselves). A more seasoned developer is welcome

Re: [PATCH 4/5] winemac: Implement rudimentary support for system tray icons as Mac status items.

2013-03-18 Thread C.W. Betts
On Mar 17, 2013, at 9:40 PM, Ken Thomases wrote: > > Doesn't support right-clicks, mouse moves, or notification balloons. Notification balloons can probably be done using either Notification Center or Growl, but either due to an out-of-date version of Growl in Twitter or a bug in Growl itself

Re: [PATCH 1/7] winemac: Implement OpenGL support.

2013-03-07 Thread C.W. Betts
It looks like if GL_ARB_shader_objects is defined, then the OS X GLhandleARB isn't typedef'd. On Mar 6, 2013, at 1:16 PM, Ken Thomases wrote: > On Mar 6, 2013, at 1:58 PM, C.W. Betts wrote: > >> It seems like there's conflicting types for GLhandleARB, one defined by

Re: [PATCH 1/7] winemac: Implement OpenGL support.

2013-03-06 Thread C.W. Betts
It seems like there's conflicting types for GLhandleARB, one defined by Wine, the other by OS X, on Mountain Lion. I assume that the #define __gl_h_ is a try to work around the issue, but OS X's gltypes.h still gets included. On Mar 6, 2013, at 3:59 AM, Ken Thomases wrote: > --- > dlls/winemac.

Clang warnings on OS X ML

2013-01-30 Thread C.W. Betts
When compiling Wine using Clang, there are a bunch of warnings that pop up, such as: ld: warning: could not create compact unwind for .L__wine_spec_call16_p_pw: dwarf uses DW_CFA_same_value ld: warning: could not create compact unwind for ___wine_stub_VARBSTRFROMR8: stack subq instruction is too

Re: x11drv: Return true when handling SPI_SETSCREENSAVEACTIVE

2013-01-21 Thread C.W. Betts
Perhaps a comment should be added so new people will know about it? On Jan 21, 2013, at 4:24 AM, Alexandre Julliard wrote: > "C.W. Betts" writes: > >> I noticed in my research that the X11 driver doesn't return true in >> SystemParametersInfo when handling SP

Re: macdrv: implement getting and setting the screen saver state, version 2

2013-01-21 Thread C.W. Betts
On Jan 20, 2013, at 11:06 PM, Ken Thomases wrote: > Hi, > > On Jan 20, 2013, at 2:00 PM, C.W. Betts wrote: > >> This version implements changes and advice from Ken Thomases, including >> using kIOPMAssertionTypePreventUserIdleDisplaySleep on Lion and later. Also, >

Re: macdrv: implement getting and setting the screen saver state.

2013-01-20 Thread C.W. Betts
On Jan 20, 2013, at 12:38 AM, Ken Thomases wrote: > Hi, > > On Jan 19, 2013, at 4:08 PM, C.W. Betts wrote: > >> This implements getting and setting the screen saver state on the Mac Wine >> driver. > > Thanks for your contribution to the Mac driver. There are

Re: User driver function conventions

2013-01-19 Thread C.W. Betts
file or put it in macdrv_main.c? It does include a new header, as well as declare a static variable (Tell me if that's a no-no and I'll see if I can work around it). Also, the Mac driver would have to link to IOKit. On Jan 19, 2013, at 1:27 PM, "C.W. Betts" wrote: > I&#x

Re: User driver function conventions

2013-01-19 Thread C.W. Betts
> On Jan 19, 2013, at 1:09 PM, C.W. Betts wrote: > >> I'm wondering what the user driver functions GetScreenSaveActive and >> SetScreenSaveActive are supposed to do. I have an implementation against >> CodeWeaver's changes to Wine and I just want to make sure

User driver function conventions

2013-01-19 Thread C.W. Betts
I'm wondering what the user driver functions GetScreenSaveActive and SetScreenSaveActive are supposed to do. I have an implementation against CodeWeaver's changes to Wine and I just want to make sure that I'm making the functions properly. First is GetScreenStateActive. Does it check for if the

NTDLL doesn't compile under Clang

2011-05-29 Thread C.W. Betts
When compiling the NTDLL component of Wine, I get the following error: ../../../wine-git/./dlls/ntdll/large_int.c:267:13: error: unknown use of instruction mnemonic without a size suffix __asm__("div %4,%%eax" ^ :1:2: note: instantiated into assembly here div 12(%esp),

Re: wineqtdecoder: initial commit of the video decoder using Mac OS/X QuickTime Framework

2010-12-02 Thread C.W. Betts
The main problem when using the QuickTime C APIs is that the majority, if not all of it, is deprecated and not available on 64-bit code. I would suggest using the Objective-C QTKit, but apparently Objective-C code is a no-no in Wine. On Nov 29, 2010, at 10:31 AM, Aric Stewart wrote: > --- > conf

Re: [PATCH 1/2] opencl: Initial stub implementation of OpenCL 1.0 (try 2)

2010-11-29 Thread C.W. Betts
It doesn't look like you look for Apple's OpenCL implementation, which uses . You can do this: #ifdef __APPLE__ #include #else #include #endif On Nov 29, 2010, at 7:39 AM, Peter Urbanec wrote: > Resending because previous patch was mangled by Thunderbird. > > --- > configure.ac|

Re: Work on WineQuartz for MacOSX

2010-05-16 Thread C.W. Betts
has been a few changes in 64-bit mode that doesn't make it work quite as well. > > James McKenzie > > > > -----Original Message- >> From: "C.W. Betts" >> Sent: May 16, 2010 10:06 AM >> To: wine-devel@winehq.org >> Subject: F

Fwd: Work on WineQuartz for MacOSX

2010-05-16 Thread C.W. Betts
Begin forwarded message: > From: Erich Hoover > Date: May 16, 2010 10:10:29 AM MDT > To: "C.W. Betts" > Subject: Re: Work on WineQuartz for MacOSX > > On Sun, May 16, 2010 at 10:02 AM, C.W. Betts wrote: > If memory serves, the main reason why there hasn't

Re: Work on WineQuartz for MacOSX

2010-05-16 Thread C.W. Betts
If memory serves, the main reason why there hasn't been any work done is because of the dependency of Objective-C, which the project administrator has said "no" to. On May 16, 2010, at 9:31 AM, James Mckenzie wrote: > All: > > There was or is a quite lengthy thread on this project. > > What is

Re: New SCSI Driver for Mac OS X

2010-04-27 Thread C.W. Betts
Excuse me, but why is this needed again? What IOCTL is missing in Mac OS X's native implementation? On Apr 27, 2010, at 2:10 PM, Charles Davis wrote: > Hi, > > A while ago on this list, I was talking about implementing SCSI support > on Mac OS X in Wine, and we all agreed the best way to do that

Re: DNS-sd Patch V.4

2010-04-22 Thread C.W. Betts
On Apr 22, 2010, at 1:09 PM, Hans Leidekker wrote: > On Thu, 2010-04-22 at 11:56 -0600, C.W. Betts wrote: > >> The Photoshop CS3 installer seems to stall during installation due to >> the lack of Bonjour (bug 15590). This patch attempts to fix it. > > No, it now succ

ImageCapture Wine TWAIN plug-in

2010-04-20 Thread C.W. Betts
Anybody else up for the idea of an ImageCapture (Mac OS X) plug-in for Wine's TWAIN? It would fit the role of sane.ds and gphoto.ds, as it can both scan and access cameras. ImageCapture can also use Mac OS X TWAIN drivers.

Mac OS X technologies

2010-04-07 Thread C.W. Betts
There is a long list of technologies in Mac OS X that could be used to improve Wine on OS X. One of them is ColorSync. ColorSync is a color management software that is HEAVILY integrated into the Mac OS. For instance, you can calibrate your monitor and when OS X starts up, it will read the color

Re: win16 patches

2010-04-03 Thread C.W. Betts
As far as attribution goes, it was originally done by Jennifer Lai. My patch is more or less bringing these patches up to the current code. I am curious why these patches weren't applied in the first place. On Mar 31, 2010, at 6:58 PM, Juan Lang wrote: > Hi C.W., this isn't going to fly. For on

Re: [patch] DNS_SD bridge, v2

2010-03-16 Thread C.W. Betts
Excuse my ignorance, but what would happen if it didn't find the library dynamically? On Mar 16, 2010, at 4:03 AM, Marcus Meissner wrote: > On Mon, Mar 15, 2010 at 04:36:32AM -0600, C.W. Betts wrote: >> The following is an updated patch that actually builds and links. >>

Re: dns-sd dll implementation -- Needs work

2010-02-24 Thread C.W. Betts
On Feb 23, 2010, at 12:31 PM, Gert van den Berg wrote:Just a note: According to Wikipedia, Photoshop CS3 is among theapplications using Bonjour under Windows:http://blogs.adobe.com/jnack/2007/01/cs3_doesnt_inst.htmlGertAnd I read a bugzilla report that CS3 was having issues because of it.From what

dns-sd dll implementation -- Needs work

2010-02-22 Thread C.W. Betts
What do you guys think? it's a wrapper for multicast DNS, aka Bonjour®. I know there's probably a patches mailing list, but I put this here for feedback. dnssd.diff Description: Binary data

Re: idea: display drivers

2010-02-06 Thread C.W. Betts
loc] init]; } cfuncDestroy (struct1 *s) { [s->ObjC release]; free(s); } On Feb 6, 2010, at 7:45 AM, James McKenzie wrote: > C.W. Betts wrote: >> An idea that popped into my head when I was thinking about a Quartz (OS X) >> driver that perhaps there could be separa

idea: display drivers

2010-02-06 Thread C.W. Betts
An idea that popped into my head when I was thinking about a Quartz (OS X) driver that perhaps there could be separate drivers for Quartz (OS X) and X11. Such drivers would include OpenGL and DirectX "Drivers".

Re: [Darwine] RFC - wine-macos mailing list

2006-06-02 Thread C.W. Betts
If you could have it so that wine-macos is instantly sent to darwine-devel, and vice-versa.