[MonoTouch] Crashing problem: Ran out of trampolines of type 2

2011-11-04 Thread Nic Wise
Appears I have a crashing problem that is new to 5.0(.1) http://bugzilla.xamarin.com/show_bug.cgi?id=1872 I've included some of the code around there too (also in the bug) https://gist.github.com/1338923 Any ideas? Anyone else seen this before? -- Nic Wise t.  +44 7788 592 806 | @fastchicken

[MonoTouch] BeforeCodeSign Project Operation phase for custom commands

2011-11-04 Thread Guido Van Hoecke
Hi, On Xcode, I have a build script that manipulates the content of the app's Info.plist. Basically it leaves the official version number (e.g. 1.2) as value of the CFBundleShortVersionString key as generated by Xcode, and it sets the value of the CFBundleVersion key to the current svn revision

[MonoTouch] Supported orientations are not matched pairs

2011-11-04 Thread MilkyJoe
When compiling my app for release, Im presented with a single warning: *Supported orientations are not matched pairs* Can someone please explain the steps I need to take to address this? Thanks -- View this message in context:

Re: [MonoTouch] Crashing problem: Ran out of trampolines of type 2

2011-11-04 Thread Sebastien Pouliot
Hello Nick, http://docs.xamarin.com/ios/troubleshooting#Ran_out_of_trampolines_of_type_2 You were likely clause to the limit (using 4.x) and 5.0 class libraries are a bit bigger (crossing the limit). Regards, Sebastien On Fri, Nov 4, 2011 at 4:37 AM, Nic Wise n...@fastchicken.co.nz wrote:

[MonoTouch] 2 Threading Questions ...

2011-11-04 Thread simarx
Hi - I have the following code that kicks of a new thread (the thread is designed to check for internet reachability) and at the end check I want it to call a method on the main UI thread. Two questions really... 1. Is the code safe from memory-leaks, in particular the way my EndCheck method is

Re: [MonoTouch] MonoDevelop 2.8 and still no á à a í etc

2011-11-04 Thread Jeff Stedfast
Hi Karl, Could you submit a bug report about this to http://bugzilla.xamarin.com and explain in more detail your keyboard setup, etc? Thanks! Jeff On Thu, Nov 3, 2011 at 9:17 PM, Karl Heinz Brehme Arredondo k...@e-magesolutions.com wrote: Hi Miguel/Rodrigo, Don't you feel the need to type

Re: [MonoTouch] Supported orientations are not matched pairs

2011-11-04 Thread Jeff Stedfast
Hi MilkyJoe, This is probably referring to the supported orientations defined in the Info.plist. If you open that file, there will be a way to see which orientations have been toggled. You likely only have 1 of the landscape modes toggled, and it is suggesting you should support both (I think).

Re: [MonoTouch] Supported orientations are not matched pairs

2011-11-04 Thread MilkyJoe
Thanks Jeff. I do only have one orientation selected (portrait) - I didn't realise I (most likely) has to support both. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Supported-orientations-are-not-matched-pairs-tp3989677p3990458.html Sent from the MonoTouch mailing

[MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-04 Thread MilkyJoe
My app currently work fine on my development iPhone 4S, but the AdHoc build is crashing on my colleagues iPhone 4S: *Unhandled Exception: System.ExecutionEngineException: Attempting to JIT compile method 'Helpers.MapHelper:MilesToLatitudeDegrees (double)' while running with --aot-only.* Closely

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-04 Thread MilkyJoe
Thanks Sebastien. I am using 5.0.1. I'll stop worrying now, and wait for 5.0.2 :) -- View this message in context: http://monotouch.2284126.n4.nabble.com/ERROR-FATAL-UNHANDLED-EXCEPTION-System-ExecutionEngineException-tp3990487p3990625.html Sent from the MonoTouch mailing list archive at

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-04 Thread MilkyJoe
I don't suppose you have an ETA on 5.0.2 , do you? I'm planning to release push my app to the app store next week. Thanks -- View this message in context: http://monotouch.2284126.n4.nabble.com/ERROR-FATAL-UNHANDLED-EXCEPTION-System-ExecutionEngineException-tp3990487p3990688.html Sent from the

Re: [MonoTouch] UISplitViewController...

2011-11-04 Thread René Ruppert
Starting with iOS5 you can have the master view visible in portrait too. Prior to iOS5 you will get a UIBarButtonItem and a UIPopoverController you can present from that item if rotating the device to portrait. The popover will then contain the master controller. Disadvantage: it covers your view

Re: [MonoTouch] Crashing problem: Ran out of trampolines of type 2

2011-11-04 Thread Abe Gillespie
Trampolines are expensive yard art often featured next to abandoned 80s-era satellite dishes. They're used mostly for killing grass and impaling kids by rusty spring. Trampolines and satellite dishes are also known as WV state flowers. Happy Friday! -Abe On Fri, Nov 4, 2011 at 12:23 PM, René

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-04 Thread Sebastien Pouliot
It's being tested as we speak. However you should not have this exception, even with 5.0.1, if you use the linker (e.g. Link SDK assemblies only) when building your application for devices. Sebastien p.s. there's no good reason (except if you have a bug number ;-) to disable the linker for

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-04 Thread Jeff Stedfast
It's in the QA pipeline right now, so as soon as they are finished testing, it'll go out (probably by Monday if not today). Hope that helps, Jeff On Fri, Nov 4, 2011 at 12:21 PM, MilkyJoe leigh.bow...@curvenet.co.ukwrote: I don't suppose you have an ETA on 5.0.2 , do you? I'm planning to

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-04 Thread Sebastien Pouliot
It could be unrelated to the bug report (but it's not 100% safe to assume the linker will remove the code causing the issue). To be certain about this please fill a bug at bugzilla.xamarin.com and include a small, self-contained, test case that you're sure cause the same exception

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-04 Thread Jeff Stedfast
Try disabling thumb2 and seeing if that fixes it. Thumb seems to cause various problems that we are still working on tracking down. Hope that helps, Jeff On Fri, Nov 4, 2011 at 1:36 PM, MilkyJoe leigh.bow...@curvenet.co.ukwrote: FYI: I am using LLVM, Arm7 and Thumb-2 compiler options. --

Re: [MonoTouch] Crashing problem: Ran out of trampolines of type 2

2011-11-04 Thread Nic Wise
Thanks Sebastian - I need to do some more testing, but I thin thats fixed it Thanks :) On Fri, Nov 4, 2011 at 12:37, Sebastien Pouliot sebast...@xamarin.com wrote: Hello Nick, http://docs.xamarin.com/ios/troubleshooting#Ran_out_of_trampolines_of_type_2 You were likely clause to the limit

[MonoTouch] Symbolification of app review crash reports

2011-11-04 Thread Guido Van Hoecke
Hi, Our app is rejected while it is crashing at the review. The only thing we have to investigate is the crash reports. (The app runs fine on the iPhone test machine, and on the simulator, so we don't have any local crash data). I have the app and its dSYM directory in the distribution output

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-04 Thread Jeff Stedfast
You're welcome! I take it this means disabling thumb fixes the issue? Or? Jeff On Fri, Nov 4, 2011 at 2:44 PM, MilkyJoe leigh.bow...@curvenet.co.ukwrote: Many thanks Jeff/Sebastien. I've been a MonoTouch developer for less than a week, and I'm already blown away by the level of support you

Re: [MonoTouch] 5.0.2?

2011-11-04 Thread Nic Wise
I love it how it's not 8pm on a friday night in the US yet... :) On Fri, Nov 4, 2011 at 19:50, Jeff Stedfast j...@xamarin.com wrote: It's being pushed now, yea. Scramble the downloaders! Jeff On Fri, Nov 4, 2011 at 3:46 PM, Wally McClure theevilprogram...@hotmail.com wrote: Did I read

Re: [MonoTouch] annotating pdfs

2011-11-04 Thread Jeff Stedfast
Hi Jason, Doesn't looks like you can actually get the source, so you'll probably have to bind it instead. If you do decide to bind it, fork monotouch-bindings on github and add a new directory with your binding, then submit a pull request and I'll be happy to pull it into monotouch-bindings

Re: [MonoTouch] UISplitViewController...

2011-11-04 Thread BradThor
Thank you René This looks like it could be a solution to the problem. -- View this message in context: http://monotouch.2284126.n4.nabble.com/UISplitViewController-tp3988004p3991636.html Sent from the MonoTouch mailing list archive at Nabble.com. ___

Re: [MonoTouch] 5.0.2?

2011-11-04 Thread Nic Wise
hehe yeah. tho to be fair, the trampoline thing was my screw up - it was previous well documented. I just missed the docs. On Fri, Nov 4, 2011 at 20:18, Robert Jordan robe...@gmx.net wrote: On 04.11.2011 20:59, Nic Wise wrote: I love it how it's not 8pm on a friday night in the US yet... :)

[MonoTouch] How to solve wait_fences: failed to receive reply: 10004003?

2011-11-04 Thread diviner
Now I do testing on my iPhone device, I met an error that is not met on emulator, the error is: wait_fences: failed to receive reply: 10004003 Let say I have a UIViewController vcPage2 and when I add this over my MainWindow like this: page1.AddSubview(vcPage2.View); The error is occurred.

Re: [MonoTouch] certain apple beta products

2011-11-04 Thread Nic Wise
Informal test with [REDACTED]b2 and 5.0.2 (just released) says working fine here Usual Hansellman works on my machine disclaimer. On Fri, Nov 4, 2011 at 22:16, Nic Wise n...@fastchicken.co.nz wrote: No API changes that I can find, so I expect no issue. Tho a lack of internet speed means I've

Re: [MonoTouch] 2 Threading Questions ...

2011-11-04 Thread Rolf Bjarne Kvinge
Hi, Thread.Abort is really an evil thing that you should avoid at pretty much all costs. It has serious implications and unexpected pitfalls (it will not abort if you're in native code for instance), and we really recommend not using it. Rolf On Fri, Nov 4, 2011 at 5:36 PM, René Ruppert

Re: [MonoTouch] BeforeCodeSign Project Operation phase for custom commands

2011-11-04 Thread Rolf Bjarne Kvinge
Hi, This sounds like a good idea to me, can you add it at http://bugzilla.xamarin.com? This way it won't get lost in the lists. Rolf On Fri, Nov 4, 2011 at 3:17 PM, Guido Van Hoecke gui...@gmail.com wrote: Hi Robert, I would like it, although AfterBuild must remain as is, because many

[MonoTouch] Anonymous methods clarification...

2011-11-04 Thread Dominique Louis
Hi all, I'm not sure if this is by design or not, so hence the post. I'm assigning an anonymous delegate within a foreach loop and within the delegate I'm calling a function and passing a paramater to it. So far everything is fine. If I pass a simple string to the called function within the

Re: [MonoTouch] 2 Threading Questions ...

2011-11-04 Thread simarx
I guess ultimately, I'm after the cleanest and most effective way to determine whether there is an active internet connection. Using the Reachability helper classes is ok - but when it takes a long time for the check to respond on occasions, it just makes it very awkward to control workflow where

Re: [MonoTouch] 2 Threading Questions ...

2011-11-04 Thread simarx
I had tried keeping the single thread running to determine the Reachability - but I think I may have been using an early snapshot of the class... Rene above mentioned With that you can even get notified if connectivity changes. - I think I need to check that implementation to see if that works

Re: [MonoTouch] Anonymous methods clarification...

2011-11-04 Thread Robert Jordan
On 04.11.2011 23:48, Dominique Louis wrote: foreach (KeyValuePairstring, int item in murderStats) { var se = new StringElement(item.Key, item.Value.ToString()); se.Tapped += delegate {