Re: winequartz.drv Mac OS X UI discontinued?

2009-07-15 Thread Adam Strzelecki
Except you don't *need* Obj-C to code on Mac. The regular C code for X11 works, too. Granted, using Apple's X implementation isn't very optimal, but it does work. Sticking with C allows all those developers to code "for Mac" as well, with no Obj-C knowledge needed. You can run X11 app on W

Re: winequartz.drv Mac OS X UI discontinued?

2009-07-15 Thread Adam Strzelecki
I see the same issue here. Rather few Mac users are programming themselves and not every Mac program is created using Obj-C. Have a look at: http://osx.iusethis.com/ There're really plenty of Mac applications and plenty of Mac developers. And all because of there're many great publications and t

Re: winequartz.drv Mac OS X UI discontinued?

2009-07-14 Thread Adam Strzelecki
Francois, I've seen some Obj-C code and it looks really weird. Of course I've never 'learned' to program it so it's probably normal. But it's certainly the case that only developpers who know Obj-C can work on it. Contrast this with the current situation where as soon as you know C you can

Re: winequartz.drv Mac OS X UI discontinued?

2009-07-11 Thread Adam Strzelecki
I'm wondering if there is a C++ to ObjC library interface that would be cleaner. Never encountered any. I doubt it is possible since Obj-C is dynamically typed (binded) language, which means you can pass any kind of msg to any kind of obj and it will compile/run. Either you will receive

Re: winequartz.drv Mac OS X UI discontinued?

2009-07-10 Thread Adam Strzelecki
Steven Edwards wrote: On Thu, Jul 9, 2009 at 7:18 AM, Adam Strzelecki wrote: Just to explain things better, I found great sample of calling Obj- C API within pure C program: http://www.smipple.net/snippet/moriyoshi/Using%20Objective-C%20ABI%20from%20within%20a%20pure%20C%20code . This is

Re: winequartz.drv Mac OS X UI discontinued?

2009-07-09 Thread Adam Strzelecki
Steven Edwards wrote: While we are on the subject, could anyone point me to a reference that would show how I can create a mib file using C? You meant Nib? It is binary format which is some Mac equivalent of Windows RES format. So this is not a source code. Nib can be created from Xib sour

Re: winequartz.drv Mac OS X UI discontinued?

2009-07-09 Thread Adam Strzelecki
Rolf, See my comments below. With the same argument you could say that writing COM objects has to be done in C++. Yet Wine has lots and lots of COM code written all in standard C. You're wrong. COM isn't a full C++ interface, it uses/exposes limited C ++ subset - just to be C and other langu

Re: winequartz.drv Mac OS X UI discontinued?

2009-07-08 Thread Adam Strzelecki
James, Well actually you can easily access all Obj-C features trough the following pure C API: http://developer.apple.com/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html Is this still true? I would like to convert what work we do have into c level code so that it will pa

Re: winequartz.drv Mac OS X UI discontinued?

2008-10-03 Thread Adam Strzelecki
for Window management and CoreText for text display. Regards, -- Adam Strzelecki

Re: winequartz.drv Mac OS X UI discontinued?

2008-07-10 Thread Adam Strzelecki
able to do it in Objective-C. Best regards, -- Adam Strzelecki |: nanoant.com :|

Re: winequartz.drv Mac OS X UI discontinued?

2008-07-07 Thread Adam Strzelecki
just chosen for an object model of OSX (NextStep previously) in opposition to pure C messaging of Windows and C++ for COM interfaces, etc. So IMHO no for Objective-C means no for decent Mac OSX support, period. Best regards and thank you all for your replies, -- Adam Strzelecki |: nanoant.com :|

Re: winequartz.drv Mac OS X UI discontinued?

2008-07-04 Thread Adam Strzelecki
own dock icon, and no X11 is needed and native Mac font system. Regards, -- Adam Strzelecki |: nanoant.com :|

Re: msi: ACTION_RegisterProduct store all InstallProperties

2008-03-07 Thread Adam Strzelecki
Thanks for your latest MSI patches fixing the issue. Please mark my patch obsolete. Regards, -- Adam Strzelecki |: nanoant.com :|

Re: winequartz.drv Mac OS X UI discontinued?

2008-03-03 Thread Adam Strzelecki
e adequate to post it here, but if you call it user complaint alright, this list is "sending patches" (even I thought wine-patches is the one) I cut this chit-chat. -- Adam Strzelecki |: nanoant.com :| P.S. What was wrong with "Reply-To" header? I call it normal habit at other lists.

Re: winequartz.drv Mac OS X UI discontinued?

2008-03-02 Thread Adam Strzelecki
>> Keep an eye on >> http://wiki.winehq.org/MacOSX/QuartzDriver > > Oh, that's awesome! How did I missed this. I know, I didn't looked there for over month, and it was recently updated. I keep my fingers crossed for QuartzDriver! Good night, -- Adam Strzelecki |: nanoant.com :|

Re: winequartz.drv Mac OS X UI discontinued?

2008-03-02 Thread Adam Strzelecki
http://repo.or.cz and I will add you to > the winequartzdrv branch. There're very neat Wine Mac builds made on http://www.kronenberg.org/darwine/ Do you have contact with the maintainer? I believe you can work out great Mac distro together especially once quartz is ready. Cheers, -- Adam Strzelecki |: nanoant.com :|

Re: kernel32 & winelib: Don't test string size in CompareStringWfornull terminated strings

2008-03-02 Thread Adam Strzelecki
ine dev list archives also -fshort- wchar GCC flag solution, but it seems this makes C library's UNICODE function not work at all as expected. Nice to learn something new. > Wrong, it compiles and works (for winelib) on SUN. Good to know. Cheers, -- Adam Strzelecki |: nanoant.com :|

winequartz.drv Mac OS X UI discontinued?

2008-03-02 Thread Adam Strzelecki
> dequeue:YES > ]; > if(event) [NSApp sendEvent:event]; > } > [pool release]; > return 0; > } BTW. I heard that someone previously working for Wine project is now in Apple, it is true? Regards, -- Adam Strzelecki |: nanoant.com :|

Re: kernel32 & winelib: Don't test string size in CompareStringW fornull terminated strings

2008-03-02 Thread Adam Strzelecki
, or two strings with named length. Regards, -- Adam Strzelecki |: nanoant.com :|

Re: kernel32 & winelib: Don't test string size in CompareStringW for null terminated strings

2008-03-02 Thread Adam Strzelecki
iling list is bit less paranoiac :P Cheers, -- Adam Strzelecki |: nanoant.com :|

Re: msi: ACTION_RegisterProduct store all InstallProperties

2008-03-01 Thread Adam Strzelecki
ng without presenting yours. All I can say, I was testing this is MSXML 6.0 + Visual Studio 2005 installer, and current Wine trunk causes VS2005 installer think that MSXML 6.0 is regardless of anything, just because VerionMajor & VersionMinor fails on MsiGetProductInfo. -- Adam Strzelecki |: nanoant.com :|

Re: msi: ACTION_RegisterProduct store all InstallProperties

2008-03-01 Thread Adam Strzelecki
szAttribute = display_name; > else if (!lstrcmpW(szAttribute, > INSTALLPROPERTY_VERSIONSTRINGW)) > szAttribute = display_version; > > val = msi_reg_get_value(userdata, szAttribute, &type); > if (!val) > val = empty; > } So it does not find any of those properties in the registry, because they're not written there by ACTION_RegisterProduct. And fixing this is the intention of my patch. Regards, -- Adam Strzelecki |: nanoant.com :|

Re: kernel32 & winelib: Don't test string size in CompareStringW for null terminated strings

2008-03-01 Thread Adam Strzelecki
information from this file to prove that it does exist:) However you can find with Google + "strlen.asm - contains strlen() routine" on M$ forums some ppl that wisely did post full source ;P Regards, -- Adam Strzelecki |: nanoant.com :|

Re: kernel32 & winelib: Don't test string size in CompareStringW for null terminated strings

2008-03-01 Thread Adam Strzelecki
l, but this time I can't be sure because I don't have the ASM sources. So it has nothing to do with compiler, but care about performance of some often used functions and programming habit to reuse existing far better optimized low level code than cooking generic one believing that GCC will do make it best. Cheers, -- Adam Strzelecki |: nanoant.com :|

Re: kernel32 & winex11: WaitForMultipleObjectsEx should ignore NULL handles

2008-03-01 Thread Adam Strzelecki
uot; which implies that "WaitForMultipleObjects( 0, NULL, 0, INFINITE, MWMO_ALERTABLE );" can be called if precess_events returns FALSE. I'm pretty sure I saw in gdb some calls with NULL handles to WaitForMultipleObjects related to MSI. Regards, -- Adam Strzelecki |: nanoant.com :|

Visual Studio 2005 installation finally works with WINE

2008-02-29 Thread Adam Strzelecki
10.5.2 at: http://bugs.winehq.org/show_bug.cgi?id=8439 Cheers, -- Adam Strzelecki |: nanoant.com :|