9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jeff Sickel <jas@corpus-callosum.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] plan9port: cocoa programmer needed
Date: Tue,  6 Sep 2011 11:26:56 -0500	[thread overview]
Message-ID: <3FAAAF86-37C3-4352-8A77-A954C7616467@corpus-callosum.com> (raw)
In-Reply-To: <CADSkJJUAmoW_fWmYTs0f2+kqt9BzaF2j8kku9Gyb-QhhB_rOaw@mail.gmail.com>

Nice handling of the Glenda icon.

Using Xcode 4.1 on Lion I get different errors (libstdio is another problem as FPdbleword is no longer defined) so I'm still not rebuilding everything.  9c picks up:

gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)


9c -DMULTITOUCH -o cocoa-screen-objc.o cocoa-screen.m
cocoa-screen.m:712: error: cannot convert to a pointer type
cocoa-screen.m:712: error: incompatible type for argument 1 of ‘CGWarpMouseCursorPosition’

Corrected that would be:
% hg diff .
diff -r d92a37e64563 src/cmd/devdraw/cocoa-screen.m
--- a/src/cmd/devdraw/cocoa-screen.m	Tue Sep 06 10:10:43 2011 -0400
+++ b/src/cmd/devdraw/cocoa-screen.m	Tue Sep 06 11:08:04 2011 -0500
@@ -709,7 +709,7 @@
 	q = [win.obj convertBaseToScreen:q];
 	q.y = r.size.height - q.y;
 
-	CGWarpMouseCursorPosition(q);
+	CGWarpMouseCursorPosition(NSPointToCGPoint(q));
 
 //	race condition
 	mpos = p;


On Sep 6, 2011, at 11:03 AM, Russ Cox wrote:

> Try adding
> 
> # HA HA HA.  Apple broke things again.
> [ "$SYSNAME" != "Darwin" ] || ranlib $2
> 
> to the bottom of $PLAN9/bin/9ar
> 
> 




  parent reply	other threads:[~2011-09-06 16:26 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02 20:31 Russ Cox
2011-08-03  4:25 ` David Leimbach
2011-08-03 12:52   ` Russ Cox
2011-08-07 22:14     ` David Leimbach
2011-08-07 23:59       ` [9fans] " andrey mirtchovski
2011-08-25 18:33     ` david jeannot
2011-08-25 19:09       ` Russ Cox
2011-08-25 20:35       ` David Leimbach
2011-08-26 14:11       ` Russ Cox
2011-08-26 17:05         ` david jeannot
2011-08-27 18:31           ` david jeannot
2011-08-28  2:40             ` Russ Cox
2011-08-28 10:14               ` david jeannot
2011-09-04  9:51                 ` david jeannot
2011-09-06 14:16                   ` Russ Cox
2011-09-06 15:47                     ` David Leimbach
2011-09-06 15:52                     ` Aram Hăvărneanu
2011-09-06 16:03                       ` Russ Cox
2011-09-06 16:25                         ` Aram Hăvărneanu
2011-09-06 18:34                           ` Latchesar Ionkov
2011-09-06 18:54                             ` David Leimbach
2011-09-06 19:18                               ` Latchesar Ionkov
2011-09-06 19:37                                 ` Russ Cox
2011-09-06 19:41                                   ` david jeannot
2011-09-06 19:41                                   ` David Leimbach
2011-09-06 19:42                                     ` David Leimbach
2011-09-06 19:43                                   ` andrey mirtchovski
2011-09-06 19:45                                     ` andrey mirtchovski
2011-09-06 20:17                                       ` david jeannot
2011-09-06 20:23                                       ` andrey mirtchovski
2011-09-13 15:59                                         ` david jeannot
2011-09-13 17:22                                           ` David Leimbach
2011-09-14 14:29                                           ` Jeff Sickel
2011-09-14 16:40                                             ` david jeannot
2011-09-14 16:57                                               ` hiro
2011-09-14 17:17                                           ` John Floren
2011-09-14 17:23                                             ` andrey mirtchovski
2011-09-14 17:28                                               ` David Leimbach
2011-09-14 17:31                                                 ` ron minnich
2011-09-14 17:34                                                   ` David Leimbach
2011-09-14 17:48                                                   ` andrey mirtchovski
2011-09-14 18:10                                                     ` david jeannot
2011-09-14 19:29                                                       ` david jeannot
2011-09-14 22:34                                                         ` david jeannot
2011-09-14 23:20                                                           ` hiro
2011-09-06 16:26                         ` Jeff Sickel [this message]
2011-09-06 17:21                           ` David Leimbach
2011-08-26 16:56       ` Salman Aljammaz
2011-08-26  8:53     ` Steve McCoy
2011-08-03 18:01 ` Jeff Sickel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FAAAF86-37C3-4352-8A77-A954C7616467@corpus-callosum.com \
    --to=jas@corpus-callosum.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).