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
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
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
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
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
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
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
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
for Window management and CoreText for text display.
Regards,
--
Adam Strzelecki
able to do it in Objective-C.
Best regards,
--
Adam Strzelecki |: nanoant.com :|
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 :|
own dock icon,
and no X11 is needed and native Mac font system.
Regards,
--
Adam Strzelecki |: nanoant.com :|
Thanks for your latest MSI patches fixing the issue.
Please mark my patch obsolete.
Regards,
--
Adam Strzelecki |: nanoant.com :|
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.
>> 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 :|
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 :|
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 :|
> 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 :|
, or two strings with named length.
Regards,
--
Adam Strzelecki |: nanoant.com :|
iling list is bit less paranoiac :P
Cheers,
--
Adam Strzelecki |: nanoant.com :|
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 :|
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 :|
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 :|
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 :|
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 :|
10.5.2 at:
http://bugs.winehq.org/show_bug.cgi?id=8439
Cheers,
--
Adam Strzelecki |: nanoant.com :|
26 matches
Mail list logo