From mh at elitedev.com Sat Dec 8 19:03:59 2007 From: mh at elitedev.com (marc hoffman) Date: Sun, 09 Dec 2007 01:03:59 +0100 Subject: [Cocoa-sharp] Crash when sing Context Menu of a Text View - thread_get_state failed In-Reply-To: <474EF4D2.2070003@elitedev.com> References: <1CF6B49D2CC77C4DA467EDFA84E3E3E4256944@lucien.dwarfland.elitedev.com> <474EF4D2.2070003@elitedev.com> Message-ID: <475B30EF.3040704@elitedev.com> Looks like this one s fixed in 1.2.6_2. marc hoffman wrote: > I'm not sure if this is related to the Menu..ctor problem i reported > earlier (which also happened in a Text View in a plain no-code app just > loaded from NIB), but when i right-click a Text View and select any > action from the context menu (such as "Copy"), i get the following crash. > > does this make sense to anyone? (i'll try to create a testcase and log > an issue, later). This is on Leopard 10.5.1, Mono 1.2.5.1, latest Cocoa# > from SVN (for all relevant purposes). > > > thread_get_state failed > Stacktrace: > at (wrapper managed-to-native) > System.MonoCustomAttrs.GetCustomAttributesInternal > (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x00004> > at (wrapper managed-to-native) > System.MonoCustomAttrs.GetCustomAttributesInternal > (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0xffffffff> > at System.MonoCustomAttrs.GetCustomAttributesBase > (System.Reflection.ICustomAttributeProvider,System.Type) <0x00021> > at System.MonoCustomAttrs.GetCustomAttributes > (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x00492> > at System.MonoCustomAttrs.GetCustomAttribute > (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x0001c> > at System.Attribute.GetCustomAttribute > (System.Reflection.MemberInfo,System.Type,bool) <0x00029> > at System.Attribute.GetCustomAttribute > (System.Reflection.MemberInfo,System.Type) <0x00015> > at Cocoa.ObjCClass.TypeForClassname (string) <0x001f2> > at Cocoa.ObjCClass.TypeForIntPtr (intptr) <0x001f7> > at Cocoa.Object.FromIntPtr (intptr) <0x000d3> > at Cocoa.ObjCInterop.Dispatch (intptr,intptr,object[]) <0x00044> > at e22ebf6d-a2b8-4115-a0d0-a9b2026f9c00.Dispatch (intptr,intptr) > <0x0002c> > at (wrapper native-to-managed) > e22ebf6d-a2b8-4115-a0d0-a9b2026f9c00.Dispatch (intptr,intptr) <0xffffffff> > at (wrapper managed-to-native) > System.Void_System.IntPtr_System.IntPtr.objc_msgSend (intptr,intptr) > <0x00004> > at (wrapper managed-to-native) > System.Void_System.IntPtr_System.IntPtr.objc_msgSend (intptr,intptr) > <0xffffffff> > at (wrapper runtime-invoke) > System.Void_System.IntPtr_System.IntPtr.runtime_invoke_void_intptr_intptr > (object,intptr,intptr,intptr) <0xffffffff> > at (wrapper managed-to-native) > System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0x00004> > at (wrapper managed-to-native) > System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0xffffffff> > at System.Reflection.MonoMethod.Invoke > (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) > <0x000ac> > at System.MonoType.InvokeMember > (string,System.Reflection.BindingFlags,System.Reflection.Binder,object,object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,string[]) > <0x003b6> > at System.Type.InvokeMember > (string,System.Reflection.BindingFlags,System.Reflection.Binder,object,object[]) > <0x00029> > at Cocoa.ObjCMessaging.objc_msgSend (intptr,string,System.Type) > <0x002c5> > at Cocoa.Application.RunApplication () <0x00029> > at Cocoa.Application.Run () <0x0001b> > at MethodConverter.Program.Main () <0x0001f> > at (wrapper runtime-invoke) > MethodConverter.Program.runtime_invoke_void > (object,intptr,intptr,intptr) <0xffffffff> > Exited with exit code: 134 > _______________________________________________ > Cocoa-sharp mailing list > Cocoa-sharp at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/cocoa-sharp > -- marc hoffman RemObjects Software The Infrastructure Company http://www.remobjects.com From mh at elitedev.com Tue Dec 18 18:44:28 2007 From: mh at elitedev.com (marc hoffman) Date: Wed, 19 Dec 2007 00:44:28 +0100 Subject: [Cocoa-sharp] [Mono-osx] Cocoa# In-Reply-To: <49f8fc020712181235p33107039xda8e247fccbfc325@mail.gmail.com> References: <49f8fc020712181235p33107039xda8e247fccbfc325@mail.gmail.com> Message-ID: <47685B5C.5080503@elitedev.com> Andrew. > The way I understand it is that the Cocoa# plug-in for Xcode does not > work with Xcode 3.0. Is that correct? correct. i've tried and tried, but i cant find what's wrong; with lack of documentation of the Xcode API from apple not helping either... my best guess is that theres some tiny art in ne of the various config files that v3 doesn't like... > Anyone know if and when there will be an update? i'd love some input from whoever created this originally, myself. i'd be happy to help out and put some work n to get it to work again, but i'm at my wit's end for now, i'm araid :( -- marc hoffman RemObjects Software The Infrastructure Company http://www.remobjects.com From dru at druware.com Tue Dec 18 21:21:00 2007 From: dru at druware.com (Andrew Satori) Date: Tue, 18 Dec 2007 21:21:00 -0500 Subject: [Cocoa-sharp] [Mono-osx] Cocoa# In-Reply-To: <47685B5C.5080503@elitedev.com> References: <49f8fc020712181235p33107039xda8e247fccbfc325@mail.gmail.com> <47685B5C.5080503@elitedev.com> Message-ID: I'll take a look at it as soon as I get my machines rebuilt. Andrew Satori - Owner & Janitor Druware Software Designs Business Solutions for Small Business http://www.druware.com/ On Dec 18, 2007, at 6:44 PM, marc hoffman wrote: > Andrew. > >> The way I understand it is that the Cocoa# plug-in for Xcode does not >> work with Xcode 3.0. Is that correct? > > correct. i've tried and tried, but i cant find what's wrong; with lack > of documentation of the Xcode API from apple not helping either... > > my best guess is that theres some tiny art in ne of the various config > files that v3 doesn't like... > >> Anyone know if and when there will be an update? > > i'd love some input from whoever created this originally, myself. > i'd be > happy to help out and put some work n to get it to work again, but i'm > at my wit's end for now, i'm araid :( > > -- > marc hoffman > > RemObjects Software > The Infrastructure Company > http://www.remobjects.com > _______________________________________________ > Cocoa-sharp mailing list > Cocoa-sharp at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/cocoa-sharp From mh at elitedev.com Wed Dec 19 03:34:37 2007 From: mh at elitedev.com (marc hoffman) Date: Wed, 19 Dec 2007 09:34:37 +0100 Subject: [Cocoa-sharp] [Mono-osx] Cocoa# In-Reply-To: References: <49f8fc020712181235p33107039xda8e247fccbfc325@mail.gmail.com> <47685B5C.5080503@elitedev.com> Message-ID: <000d01c84219$fe38a580$faa9f080$@com> Andrew, > I'll take a look at it as soon as I get my machines rebuilt. Cool. If i can help, please let me know. Yours, marc hoffman RemObjects Software The Infrastructure Company http://www.remobjects.com From mh at remobjects.com Wed Dec 19 05:07:17 2007 From: mh at remobjects.com (marc hoffman) Date: Wed, 19 Dec 2007 11:07:17 +0100 Subject: [Cocoa-sharp] [Mono-osx] Cocoa# In-Reply-To: References: <49f8fc020712181235p33107039xda8e247fccbfc325@mail.gmail.com> <47685B5C.5080503@elitedev.com> Message-ID: <1CF6B49D2CC77C4DA467EDFA84E3E3E429FBE0@lucien.dwarfland.elitedev.com> > > i'd love some input from whoever created this originally, myself. > > i'd be > > happy to help out and put some work n to get it to work again, but i'm > > at my wit's end for now, i'm araid :( > > Off the top of my head: Xcode is now a 64-bit, garbage collected > application. Is the plug-in built for that? (The linker can't load GC > and non-GC libraries in the same application.) I tried building with all three GC settings, no change. Also, i think it *does* load the plugin at least partially ( i don?t remember the details, it's been a few weeks, but *SOME* options or setting s from the config files do show up in the IDE. Other don?t). I *think* the main culprit is the language config file, as neither syntax highlighting nor per-language build tasks do work... marc hoffman RemObjects Software The Infrastructure Company http://www.remobjects.com From jkordani.mailinglists at gmail.com Fri Dec 28 01:22:46 2007 From: jkordani.mailinglists at gmail.com (Joshua Kordani) Date: Fri, 28 Dec 2007 01:22:46 -0500 Subject: [Cocoa-sharp] Apple and other assemblies not found? Message-ID: <531aaf6d0712272222g5f83d21ck9a691211d242639c@mail.gmail.com> Greetings all! I am trying to compile the simple tutorial found at http://code.google.com/p/cocoa-sharp-dev/wiki/SimpleTutorial My compiler gives me these ApplicationController.cs(4,7): error CS0246: The type or namespace name `Apple' could not be found. Are you missing a using directive or an assembly reference? ApplicationController.cs(4,1): error CS0246: The type or namespace name `Apple.Foundation' could not be found. Are you missing a using directive or an assembly reference? ApplicationController.cs(5,7): error CS0246: The type or namespace name `Apple' could not be found. Are you missing a using directive or an assembly reference? ApplicationController.cs(5,1): error CS0246: The type or namespace name `Apple.AppKit' could not be found. Are you missing a using directive or an assembly reference? Where is this supposed to reside? I've installed xcode 2.5 and am on 10.4.11. Any help would be very appreciated, thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/cocoa-sharp/attachments/20071228/bdf1a045/attachment.html From jkordani.mailinglists at gmail.com Fri Dec 28 01:48:55 2007 From: jkordani.mailinglists at gmail.com (Joshua Kordani) Date: Fri, 28 Dec 2007 01:48:55 -0500 Subject: [Cocoa-sharp] Addendum Message-ID: <531aaf6d0712272248j5dd19928i4e7d20d2f0b19b23@mail.gmail.com> I changed the usings to say using Cocoa;. Now it says: ApplicationController.cs(7,38): error CS0246: The type or namespace name `NSObject' could not be found. Are you missing a using directive or an assembly reference? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/cocoa-sharp/attachments/20071228/3544b351/attachment.html From mh at elitedev.com Sat Dec 29 14:34:09 2007 From: mh at elitedev.com (marc hoffman) Date: Sat, 29 Dec 2007 20:34:09 +0100 Subject: [Cocoa-sharp] [Fwd: RE: Apple and other assemblies not found?] Message-ID: <4776A131.9000906@elitedev.com> -------- Original Message -------- Subject: RE: [Cocoa-sharp] Apple and other assemblies not found? Date: Fri, 28 Dec 2007 20:27:37 +0100 From: marc hoffman To: Joshua Kordani , CC: Joshua, > I am trying to compile the simple tutorial found at > http://code.google.com/p/cocoa-sharp-dev/wiki/SimpleTutorial > > My compiler gives me these > > ApplicationController.cs(4,7): error CS0246: The type or namespace name `Apple' > could not be found. Are you missing a using directive or an assembly reference? > ApplicationController.cs(4,1): error CS0246: The type or namespace name > `Apple.Foundation' could not be found. Are you missing a using directive or an > assembly reference? > ApplicationController.cs(5,7): error CS0246: The type or namespace name `Apple' > could not be found. Are you missing a using directive or an assembly reference? > ApplicationController.cs(5,1): error CS0246: The type or namespace name > `Apple.AppKit' could not be found. Are you missing a using directive or an > assembly reference? > Where is this supposed to reside? I've installed xcode 2.5 and am on 10.4.11. > Any help would be very appreciated, thanks! Unfortunately, this tutorial is WAY outdated. The namespace is now simply called "Cocoa", also, the NS prefix has been dropped from all classes, so it's "Button", instead of "NSButton" etc. (ftr, this last is a change that i personally think was a mistake). Hth, marc hoffman RemObjects Software The Infrastructure Company http://www.remobjects.com -- marc hoffman RemObjects Software The Infrastructure Company http://www.remobjects.com From mh at remobjects.com Fri Dec 28 14:27:37 2007 From: mh at remobjects.com (marc hoffman) Date: Fri, 28 Dec 2007 20:27:37 +0100 Subject: [Cocoa-sharp] Apple and other assemblies not found? In-Reply-To: <531aaf6d0712272222g5f83d21ck9a691211d242639c@mail.gmail.com> References: <531aaf6d0712272222g5f83d21ck9a691211d242639c@mail.gmail.com> Message-ID: <1CF6B49D2CC77C4DA467EDFA84E3E3E429FC28@lucien.dwarfland.elitedev.com> Joshua, > I am trying to compile the simple tutorial found at > http://code.google.com/p/cocoa-sharp-dev/wiki/SimpleTutorial > > My compiler gives me these > > ApplicationController.cs(4,7): error CS0246: The type or namespace name `Apple' > could not be found. Are you missing a using directive or an assembly reference? > ApplicationController.cs(4,1): error CS0246: The type or namespace name > `Apple.Foundation' could not be found. Are you missing a using directive or an > assembly reference? > ApplicationController.cs(5,7): error CS0246: The type or namespace name `Apple' > could not be found. Are you missing a using directive or an assembly reference? > ApplicationController.cs(5,1): error CS0246: The type or namespace name > `Apple.AppKit' could not be found. Are you missing a using directive or an > assembly reference? > Where is this supposed to reside? I've installed xcode 2.5 and am on 10.4.11. > Any help would be very appreciated, thanks! Unfortunately, this tutorial is WAY outdated. The namespace is now simply called "Cocoa", also, the NS prefix has been dropped from all classes, so it's "Button", instead of "NSButton" etc. (ftr, this last is a change that i personally think was a mistake). Hth, marc hoffman RemObjects Software The Infrastructure Company http://www.remobjects.com