From mh at elitedev.com Sun Jun 1 10:31:26 2008 From: mh at elitedev.com (marc hoffman) Date: Sun, 1 Jun 2008 16:31:26 +0200 Subject: [Cocoa-sharp] Meet at WWDC? In-Reply-To: <1D1ADBC4-C34B-4107-BB6D-4DB1146D8B11@mindspring.com> References: <1D1ADBC4-C34B-4107-BB6D-4DB1146D8B11@mindspring.com> Message-ID: <0EFC2DBD-4C1A-47F4-A57A-980060DA8378@elitedev.com> Hi, just wondering who else will be going to WWDC next week, and if maybe we should la a Mono user's meetup, if there's enough of us (and just go grab coffee sometime, if not)? Let's coordinate here (or drop me a mail). Yours, marc hoffman RemObjects Software The Infrastructure Company http://www.remobjects.com From miguel at novell.com Sun Jun 1 11:02:43 2008 From: miguel at novell.com (Miguel de Icaza) Date: Sun, 01 Jun 2008 11:02:43 -0400 Subject: [Cocoa-sharp] [PATCH] IntPtr and bool marshalling In-Reply-To: References: Message-ID: <1212332563.4968.42.camel@linux.site> Hello, > The current code crashes when an IntPtr is marshaled on PPC and > returns the wrong value when bools are marshaled. One thing to note is > that it encodes bools as "rc" to allow for round-tripping. It might be > better to just use "c". Did you file a bug report? Miguel. From gnorton at novell.com Sun Jun 1 10:58:34 2008 From: gnorton at novell.com (Geoff Norton) Date: Sun, 01 Jun 2008 10:58:34 -0400 Subject: [Cocoa-sharp] [PATCH] IntPtr and bool marshalling In-Reply-To: <1212332563.4968.42.camel@linux.site> References: <1212332563.4968.42.camel@linux.site> Message-ID: <1212332314.6779.14.camel@limestone> Miguel, On Sun, 2008-06-01 at 11:02 -0400, Miguel de Icaza wrote: > Hello, > > > The current code crashes when an IntPtr is marshaled on PPC and > > returns the wrong value when bools are marshaled. One thing to note is > > that it encodes bools as "rc" to allow for round-tripping. It might be > > better to just use "c". > > Did you file a bug report? > Jesse filed a report and a patch and this is now fixed. :) -g From gagnonje5000 at mac.com Sun Jun 1 17:32:58 2008 From: gagnonje5000 at mac.com (=?ISO-8859-1?Q?J=E9r=F4me_Gagnon-Voyer?=) Date: Sun, 01 Jun 2008 14:32:58 -0700 Subject: [Cocoa-sharp] [Mono-osx] Meet at WWDC? In-Reply-To: <0EFC2DBD-4C1A-47F4-A57A-980060DA8378@elitedev.com> References: <1D1ADBC4-C34B-4107-BB6D-4DB1146D8B11@mindspring.com> <0EFC2DBD-4C1A-47F4-A57A-980060DA8378@elitedev.com> Message-ID: <546B95DE-9EE7-4717-9E57-CF101C311626@mac.com> I'm not gonna attend the WWDC conference but I live in San Francisco for the summer so I'm up for a meetup or a coffee... outside of the "walls" of the conference :P J?r?me jerome at gagnonvoyer.com On Jun 1, 2008, at 7:31 AM, marc hoffman wrote: > Hi, > > just wondering who else will be going to WWDC next week, and if maybe > we should la a Mono user's meetup, if there's enough of us (and just > go grab coffee sometime, if not)? > > Let's coordinate here (or drop me a mail). > > > Yours, > > marc hoffman > > RemObjects Software > The Infrastructure Company > http://www.remobjects.com > > _______________________________________________ > Mono-osx mailing list > Mono-osx at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-osx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/cocoa-sharp/attachments/20080601/2c86f805/attachment-0001.html From christiangiacomi at gmail.com Sun Jun 1 18:20:25 2008 From: christiangiacomi at gmail.com (christian giacomi) Date: Mon, 2 Jun 2008 00:20:25 +0200 Subject: [Cocoa-sharp] Cocoa# monodoc Message-ID: <7540e51f0806011520o4b11e50qdb695822a806015e@mail.gmail.com> Hi all, I am new to Mono, and Cocoa#.... I have though been coding in C# for about 5 years, and about 6 in Java and have recently decided to move to Mac. I feel like a complete noob right now, but i would like to know if there is a monodoc for cocoa#? Basically i was wondering how you go from NSObjects to Cocoa# equivalent... like from NSButton to Button or MessageBox to ..... ??? Tnx in advance and sorry for the noob questions... Chris. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/cocoa-sharp/attachments/20080602/a29b7b41/attachment.html From cameron.taggart at gmail.com Sun Jun 1 19:51:13 2008 From: cameron.taggart at gmail.com (Cameron Taggart) Date: Sun, 1 Jun 2008 16:51:13 -0700 Subject: [Cocoa-sharp] Getting Started on my iMac with HelloWorld Message-ID: I'm wanting to play around with Mono and Cocoa# on my iMac, but having a little trouble getting started. The basic HelloWorld console application doesn't appear to work in MonoDevelop and I'm not sure why. It is strange that lines 7 and 8 sit on top of each other. The error message is "Expected `class', `delegate', `enum', `interface', or `struct'(CS1518). Hopefully just a newbie mistake. Any ideas? cheers, Cameron From cameron.taggart at gmail.com Sun Jun 1 19:59:38 2008 From: cameron.taggart at gmail.com (Cameron Taggart) Date: Sun, 1 Jun 2008 16:59:38 -0700 Subject: [Cocoa-sharp] Getting Started on my iMac with HelloWorld In-Reply-To: References: Message-ID: Here is a screenshot... http://picasaweb.google.com/cameron.taggart/Blog/photo#5207066213846684354 Cameron On Sun, Jun 1, 2008 at 4:51 PM, Cameron Taggart wrote: > I'm wanting to play around with Mono and Cocoa# on my iMac, but having > a little trouble getting started. The basic HelloWorld console > application doesn't appear to work in MonoDevelop and I'm not sure > why. It is strange that lines 7 and 8 sit on top of each other. The > error message is "Expected `class', `delegate', `enum', `interface', > or `struct'(CS1518). Hopefully just a newbie mistake. Any ideas? > > cheers, > Cameron > From gnorton at novell.com Sun Jun 1 20:13:39 2008 From: gnorton at novell.com (Geoff Norton) Date: Sun, 01 Jun 2008 20:13:39 -0400 Subject: [Cocoa-sharp] Getting Started on my iMac with HelloWorld In-Reply-To: References: Message-ID: <1212365619.6779.22.camel@limestone> On Sun, 2008-06-01 at 16:59 -0700, Cameron Taggart wrote: > Here is a screenshot... > http://picasaweb.google.com/cameron.taggart/Blog/photo#5207066213846684354 > It appears you have: namespace kw { but you can't see it due to a GtkSourceView bug. change the font for the text editor to something else to resolve that bug to see your real bug :) -g From cameron.taggart at gmail.com Sun Jun 1 20:56:00 2008 From: cameron.taggart at gmail.com (Cameron Taggart) Date: Sun, 1 Jun 2008 17:56:00 -0700 Subject: [Cocoa-sharp] Getting Started on my iMac with HelloWorld In-Reply-To: <1212365619.6779.22.camel@limestone> References: <1212365619.6779.22.camel@limestone> Message-ID: Thanks Geoff, changing the Text Editor preferences from "Use default monospace font" to "Use default sans-serif font" fixed the formatting issue. I am however still unable to compile the supplied MainClass with "Hello World". Any ideas? Here is another screenshot: http://picasaweb.google.com/cameron.taggart/Blog/photo#5207080047936344786 Cameron On Sun, Jun 1, 2008 at 5:13 PM, Geoff Norton wrote: > On Sun, 2008-06-01 at 16:59 -0700, Cameron Taggart wrote: >> Here is a screenshot... >> http://picasaweb.google.com/cameron.taggart/Blog/photo#5207066213846684354 >> > > It appears you have: > > namespace kw > > { > > but you can't see it due to a GtkSourceView bug. change the font for > the text editor to something else to resolve that bug to see your real > bug :) > > -g > > > From chuck.esterbrook at gmail.com Sun Jun 1 21:18:22 2008 From: chuck.esterbrook at gmail.com (Chuck Esterbrook) Date: Sun, 1 Jun 2008 18:18:22 -0700 Subject: [Cocoa-sharp] Getting Started on my iMac with HelloWorld In-Reply-To: References: <1212365619.6779.22.camel@limestone> Message-ID: <94cdd26f0806011818k5f23537fn3f72894e2718cc25@mail.gmail.com> Could a \r (aka "carriage return" or "CR") have snuck in there somehow? -Chuck On Sun, Jun 1, 2008 at 5:56 PM, Cameron Taggart wrote: > Thanks Geoff, changing the Text Editor preferences from "Use default > monospace font" to "Use default sans-serif font" fixed the formatting > issue. > > I am however still unable to compile the supplied MainClass with > "Hello World". Any ideas? Here is another screenshot: > http://picasaweb.google.com/cameron.taggart/Blog/photo#5207080047936344786 > > Cameron > > On Sun, Jun 1, 2008 at 5:13 PM, Geoff Norton wrote: >> On Sun, 2008-06-01 at 16:59 -0700, Cameron Taggart wrote: >>> Here is a screenshot... >>> http://picasaweb.google.com/cameron.taggart/Blog/photo#5207066213846684354 >>> >> >> It appears you have: >> >> namespace kw >> >> { >> >> but you can't see it due to a GtkSourceView bug. change the font for >> the text editor to something else to resolve that bug to see your real >> bug :) >> >> -g >> >> >> > _______________________________________________ > Cocoa-sharp mailing list > Cocoa-sharp at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/cocoa-sharp > From cameron.taggart at gmail.com Sun Jun 1 21:38:32 2008 From: cameron.taggart at gmail.com (Cameron Taggart) Date: Sun, 1 Jun 2008 18:38:32 -0700 Subject: [Cocoa-sharp] Getting Started on my iMac with HelloWorld In-Reply-To: <94cdd26f0806011818k5f23537fn3f72894e2718cc25@mail.gmail.com> References: <1212365619.6779.22.camel@limestone> <94cdd26f0806011818k5f23537fn3f72894e2718cc25@mail.gmail.com> Message-ID: Thanks Chuck. Some unreadable characters did sneak in there, not sure how. I verified that the new project wizard does not insert them. nano showed that as ^P characters: http://picasaweb.google.com/cameron.taggart/Blog/photo#5207092018010198754 thanks! Cameron On Sun, Jun 1, 2008 at 6:18 PM, Chuck Esterbrook wrote: > Could a \r (aka "carriage return" or "CR") have snuck in there somehow? > > -Chuck > > > On Sun, Jun 1, 2008 at 5:56 PM, Cameron Taggart > wrote: >> Thanks Geoff, changing the Text Editor preferences from "Use default >> monospace font" to "Use default sans-serif font" fixed the formatting >> issue. >> >> I am however still unable to compile the supplied MainClass with >> "Hello World". Any ideas? Here is another screenshot: >> http://picasaweb.google.com/cameron.taggart/Blog/photo#5207080047936344786 >> >> Cameron >> >> On Sun, Jun 1, 2008 at 5:13 PM, Geoff Norton wrote: >>> On Sun, 2008-06-01 at 16:59 -0700, Cameron Taggart wrote: >>>> Here is a screenshot... >>>> http://picasaweb.google.com/cameron.taggart/Blog/photo#5207066213846684354 >>>> >>> >>> It appears you have: >>> >>> namespace kw >>> >>> { >>> >>> but you can't see it due to a GtkSourceView bug. change the font for >>> the text editor to something else to resolve that bug to see your real >>> bug :) >>> >>> -g >>> >>> >>> >> _______________________________________________ >> Cocoa-sharp mailing list >> Cocoa-sharp at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/cocoa-sharp >> > _______________________________________________ > Cocoa-sharp mailing list > Cocoa-sharp at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/cocoa-sharp > From gnorton at novell.com Sun Jun 1 20:58:44 2008 From: gnorton at novell.com (Geoff Norton) Date: Sun, 01 Jun 2008 20:58:44 -0400 Subject: [Cocoa-sharp] Getting Started on my iMac with HelloWorld In-Reply-To: References: <1212365619.6779.22.camel@limestone> Message-ID: <1212368324.6779.24.camel@limestone> It appears you have a character in there that isn't visible (weird locale?) that the parser is choking on. Can you save and email me the .cs file? -g On Sun, 2008-06-01 at 17:56 -0700, Cameron Taggart wrote: > Thanks Geoff, changing the Text Editor preferences from "Use default > monospace font" to "Use default sans-serif font" fixed the formatting > issue. > > I am however still unable to compile the supplied MainClass with > "Hello World". Any ideas? Here is another screenshot: > http://picasaweb.google.com/cameron.taggart/Blog/photo#5207080047936344786 > > Cameron > > On Sun, Jun 1, 2008 at 5:13 PM, Geoff Norton wrote: > > On Sun, 2008-06-01 at 16:59 -0700, Cameron Taggart wrote: > >> Here is a screenshot... > >> http://picasaweb.google.com/cameron.taggart/Blog/photo#5207066213846684354 > >> > > > > It appears you have: > > > > namespace kw > > > > { > > > > but you can't see it due to a GtkSourceView bug. change the font for > > the text editor to something else to resolve that bug to see your real > > bug :) > > > > -g > > > > > > From cameron.taggart at gmail.com Sun Jun 1 23:49:01 2008 From: cameron.taggart at gmail.com (Cameron Taggart) Date: Sun, 1 Jun 2008 20:49:01 -0700 Subject: [Cocoa-sharp] Getting Started on my iMac with HelloWorld In-Reply-To: <1212368324.6779.24.camel@limestone> References: <1212365619.6779.22.camel@limestone> <1212368324.6779.24.camel@limestone> Message-ID: Unfortunately, I already removed the special characters. If I'm able to reproduce it later, I'll let you know. No "weird locale" here, just US English. :) Cameron On Sun, Jun 1, 2008 at 5:58 PM, Geoff Norton wrote: > It appears you have a character in there that isn't visible (weird > locale?) that the parser is choking on. Can you save and email me > the .cs file? > > -g > > On Sun, 2008-06-01 at 17:56 -0700, Cameron Taggart wrote: >> Thanks Geoff, changing the Text Editor preferences from "Use default >> monospace font" to "Use default sans-serif font" fixed the formatting >> issue. >> >> I am however still unable to compile the supplied MainClass with >> "Hello World". Any ideas? Here is another screenshot: >> http://picasaweb.google.com/cameron.taggart/Blog/photo#5207080047936344786 >> >> Cameron >> >> On Sun, Jun 1, 2008 at 5:13 PM, Geoff Norton wrote: >> > On Sun, 2008-06-01 at 16:59 -0700, Cameron Taggart wrote: >> >> Here is a screenshot... >> >> http://picasaweb.google.com/cameron.taggart/Blog/photo#5207066213846684354 >> >> >> > >> > It appears you have: >> > >> > namespace kw >> > >> > { >> > >> > but you can't see it due to a GtkSourceView bug. change the font for >> > the text editor to something else to resolve that bug to see your real >> > bug :) >> > >> > -g >> > >> > >> > > > From mh at elitedev.com Mon Jun 2 03:03:02 2008 From: mh at elitedev.com (marc hoffman) Date: Mon, 2 Jun 2008 09:03:02 +0200 Subject: [Cocoa-sharp] Getting Started on my iMac with HelloWorld In-Reply-To: References: <1212365619.6779.22.camel@limestone> <94cdd26f0806011818k5f23537fn3f72894e2718cc25@mail.gmail.com> Message-ID: Cameron, > Thanks Chuck. Some unreadable characters did sneak in there, not sure > how. I verified that the new project wizard does not insert them. > nano showed that as ^P characters: i had this too the other day - not sure what happened, but suddenly i got weird compiler errors, and looking at the file in 0xED, isaw tehre were "0x10" characters (not sure what ASCII 10 (hex!) is supposed be be or how it got there... seems to be a fluke in the editor? Yours, marc hoffman RemObjects Software The Infrastructure Company http://www.remobjects.com -------------- next part -------------- A non-text attachment was scrubbed... Name: remobjectslogo07.png Type: image/png Size: 6490 bytes Desc: not available Url : http://lists.ximian.com/pipermail/cocoa-sharp/attachments/20080602/6e35c2da/attachment-0001.png -------------- next part -------------- From dru at druware.com Mon Jun 2 08:56:26 2008 From: dru at druware.com (Andrew Satori) Date: Mon, 2 Jun 2008 08:56:26 -0400 Subject: [Cocoa-sharp] Getting Started on my iMac with HelloWorld In-Reply-To: References: <1212365619.6779.22.camel@limestone> <1212368324.6779.24.camel@limestone> Message-ID: <675653D0-E5A3-4638-895C-79112E666023@druware.com> I've seen this several times when using Mac text editors (BBEdit) and letting it save to MacRoman instead of something more sensible. On Jun 1, 2008, at 11:49 PM, Cameron Taggart wrote: > Unfortunately, I already removed the special characters. If I'm able > to reproduce it later, I'll let you know. No "weird locale" here, > just US English. :) > > Cameron > > On Sun, Jun 1, 2008 at 5:58 PM, Geoff Norton > wrote: >> It appears you have a character in there that isn't visible (weird >> locale?) that the parser is choking on. Can you save and email me >> the .cs file? >> >> -g >> >> On Sun, 2008-06-01 at 17:56 -0700, Cameron Taggart wrote: >>> Thanks Geoff, changing the Text Editor preferences from "Use default >>> monospace font" to "Use default sans-serif font" fixed the >>> formatting >>> issue. >>> >>> I am however still unable to compile the supplied MainClass with >>> "Hello World". Any ideas? Here is another screenshot: >>> http://picasaweb.google.com/cameron.taggart/Blog/photo#5207080047936344786 >>> >>> Cameron >>> >>> On Sun, Jun 1, 2008 at 5:13 PM, Geoff Norton >>> wrote: >>>> On Sun, 2008-06-01 at 16:59 -0700, Cameron Taggart wrote: >>>>> Here is a screenshot... >>>>> http://picasaweb.google.com/cameron.taggart/Blog/photo#5207066213846684354 >>>>> >>>> >>>> It appears you have: >>>> >>>> namespace kw >>>> >>>> { >>>> >>>> but you can't see it due to a GtkSourceView bug. change the font >>>> for >>>> the text editor to something else to resolve that bug to see your >>>> real >>>> bug :) >>>> >>>> -g >>>> >>>> >>>> >> >> > _______________________________________________ > Cocoa-sharp mailing list > Cocoa-sharp at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/cocoa-sharp From christiangiacomi at gmail.com Mon Jun 2 12:44:28 2008 From: christiangiacomi at gmail.com (christian giacomi) Date: Mon, 2 Jun 2008 18:44:28 +0200 Subject: [Cocoa-sharp] monodoc for cocoa# Message-ID: <7540e51f0806020944n11b238b2sea9c42d0dd3c3c@mail.gmail.com> Hi all,I am new to mono and cocoa# and was wondering if there is a monodoc for cocoa#. I was looking for something that can show me what an NSOpenPanel is in cocoa# tnx in advance... /Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/cocoa-sharp/attachments/20080602/38565280/attachment.html From ajackson at bcs.org.uk Thu Jun 26 13:49:37 2008 From: ajackson at bcs.org.uk (Alan Jackson) Date: Thu, 26 Jun 2008 18:49:37 +0100 Subject: [Cocoa-sharp] Very newb question Message-ID: <4863D6B1.5030004@bcs.org.uk> Hello, I'm porting a program from GTK# to Cocoa# to give it a more Mac look but can't seem to find the solution to a fairly simple problem. At the moment the widow has two TextFields, when the user presses enter on the top field I want control to end up in the bottom field (ie standard username/password, you can hit enter to advance to the password field). I know Cocoa# is still work in progress but is what I'm trying to do possible at the moment? Thanks in advance. Alan From osx at samkho.com Sat Jun 28 23:18:35 2008 From: osx at samkho.com (osx) Date: Sat, 28 Jun 2008 23:18:35 -0400 Subject: [Cocoa-sharp] license Message-ID: <20080629032516.E299870067@herald.ximian.com> Hello. I'm evaluating cocoa-sharp for a commercial project. As I understand it, Mono class libraries are MIT license and the Mono runtime is LGPL. Is cocoa-sharp GPL though instead of LGPL? That seems to be what's implied by what I find in the cocoa-sharp directory. Thank you. - sam - From jesjones at mindspring.com Sun Jun 29 22:32:50 2008 From: jesjones at mindspring.com (Jesse Jones) Date: Sun, 29 Jun 2008 19:32:50 -0700 Subject: [Cocoa-sharp] license In-Reply-To: <20080629032516.E299870067@herald.ximian.com> References: <20080629032516.E299870067@herald.ximian.com> Message-ID: On Jun 28, 2008, at 8:18 PM, osx wrote: > Hello. > > I'm evaluating cocoa-sharp for a commercial project. You may also want to look at objc3-sharp and cocoa3-sharp ( and ) which are under the MIT license. Also Monobjc ( which is under the LGPL v2.1 license. -- Jesse From gnorton at novell.com Sun Jun 29 22:47:38 2008 From: gnorton at novell.com (Geoff Norton) Date: Sun, 29 Jun 2008 22:47:38 -0400 Subject: [Cocoa-sharp] license In-Reply-To: References: <20080629032516.E299870067@herald.ximian.com> Message-ID: <1214794058.5276.79.camel@limestone> Jesse, On Sun, 2008-06-29 at 19:32 -0700, Jesse Jones wrote: > On Jun 28, 2008, at 8:18 PM, osx wrote: > > > Hello. > > > > I'm evaluating cocoa-sharp for a commercial project. > > You may also want to look at objc3-sharp and cocoa3-sharp ( > and ) which are under the > MIT license. Also Monobjc ( which is under > the LGPL v2.1 license. > Did I publish cocoa2-sharp and objc2-sharp under a MIT/X11 license anywhere publically? Your works are obviously derivative works of mine and before granting license permission to people frankly even contacting me would be the smallest of courtesy's. -g From osx at samkho.com Mon Jun 30 01:42:12 2008 From: osx at samkho.com (osx) Date: Mon, 30 Jun 2008 01:42:12 -0400 Subject: [Cocoa-sharp] license In-Reply-To: <1214794058.5276.79.camel@limestone> References: <20080629032516.E299870067@herald.ximian.com> <1214794058.5276.79.camel@limestone> Message-ID: <20080630054213.CFFAA7004A@herald.ximian.com> Hello Geoff. I can see cocoa-sharp, objc-sharp, and objc2-sharp in the mono svn trees, but I do not see cocoa2-sharp. Can you point me to where cocoa2-sharp might be? Of the ones that are in svn, what are the licenses? The source files do not seem to say. Thank you. - sam - Geoff Norton writes: > Jesse, > > On Sun, 2008-06-29 at 19:32 -0700, Jesse Jones wrote: >> On Jun 28, 2008, at 8:18 PM, osx wrote: >> >> > Hello. >> > >> > I'm evaluating cocoa-sharp for a commercial project. >> >> You may also want to look at objc3-sharp and cocoa3-sharp (> > and ) which are under the >> MIT license. Also Monobjc ( which is under >> the LGPL v2.1 license. >> > > Did I publish cocoa2-sharp and objc2-sharp under a MIT/X11 license > anywhere publically? Your works are obviously derivative works of mine > and before granting license permission to people frankly even contacting > me would be the smallest of courtesy's. > > -g > > > > _______________________________________________ > Cocoa-sharp mailing list > Cocoa-sharp at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/cocoa-sharp