Re: [MonoTouch] HttpClient

2013-04-11 Thread Rodrigo Kumpera
System.Net.Http is available in the alpha channel of Xamarin.iOS. On Thu, Apr 11, 2013 at 11:21 AM, Okash okash.khaw...@draycir.com wrote: Hi Wondering if there is any work being done on making System.Net.Http assembly available on MT? Noticed

Re: [MonoTouch] GC'ed --- System.MissingMethodException

2012-08-20 Thread Rodrigo Kumpera
Missing constructor crashes that show up only with sgen enabled doesn't mean it's an sgen bug per-se, but only that with the default GC it won't be triggered. Sgen is usually much more aggressive in releasing memory that the default GC. If you have a sample that reliably crashes with sgen (no

Re: [MonoTouch] GC'ed --- System.MissingMethodException

2012-08-20 Thread Rodrigo Kumpera
This work-around will make your code work, but will cause your object to surface with no previous managed state, which is very very bad. The solution is trying to keep a reference to it from known live objects. On Mon, Aug 20, 2012 at 5:45 PM, Nic Wise n...@fastchicken.co.nz wrote: Make a

Re: [MonoTouch] Implementing Dispose on an [NSObject]

2012-07-19 Thread Rodrigo Kumpera
You should only override void Dispose (bool disposing), and make sure to always call the base method. On Thu, Jul 19, 2012 at 5:15 PM, Phil Cockfield p...@cockfield.net wrote: What's the correct way of hooking into the *Dispose* invokation in classes derived from *NSObject*? I have an

Re: [MonoTouch] Debugging generic base class

2012-07-16 Thread Rodrigo Kumpera
This looks like a bug. On device debugging should work, period. Could you please file a bug report with a minimal test case? Regards, Rodrigo Kumpera On Mon, Jul 16, 2012 at 5:01 PM, pvasek pva...@gmail.com wrote: Hi All, I am not able to debug generic base class of my controller

Re: [MonoTouch] Debugging generic base class

2012-07-16 Thread Rodrigo Kumpera
Thanks Pavel! We'll look into it. On Mon, Jul 16, 2012 at 5:26 PM, pvasek pva...@gmail.com wrote: OK, created a bug for this https://bugzilla.xamarin.com/show_bug.cgi?id=6147 Pavel -- View this message in context:

Re: [MonoTouch] Cacheing Data

2012-07-12 Thread Rodrigo Kumpera
the footprint of you cache and know if you're not using too much memory. On Wed, Jul 11, 2012 at 3:57 PM, Nic Wise n...@fastchicken.co.nz wrote: Wow, so converting it back and forwards (BSON? something else?) doesn't negate the storage? On Wed, Jul 11, 2012 at 5:34 PM, Rodrigo Kumpera kump

Re: [MonoTouch] Cacheing Data

2012-07-11 Thread Rodrigo Kumpera
If you need to cache too much data, in the order of a MB or more, it's advisable to store it as byte arrays an convert back to rich objects on lookup. This makes wonders for app responsiveness. On Wed, Jul 11, 2012 at 1:25 PM, Alex White alexwhit...@gmail.com wrote: I would do the same as Nic,

Re: [MonoTouch] When is BeginInvokeOnMainThread done?

2012-04-05 Thread Rodrigo Kumpera
You really can't do it without manually waiting for it. What you can do is: object obj = new object (); BeginInvokeOnMainThread (delegate { //Do something lock (obj) { Monitor.Notify (obj); } }); Thread.Sleep (2000); lock (obk) { Monitor.Wait (obj); } Ideally we would provide wrappers for

Re: [MonoTouch] Experimental reference counting - any progress?

2012-03-21 Thread Rodrigo Kumpera
, but be sure it will receive bug fixes if they are found or reported to us. Once those other features are done we might get back to it. Regards, Rodrigo Kumpera On Wed, Mar 21, 2012 at 4:16 PM, René Ruppert rene.rupp...@googlemail.comwrote: Hi, ** ** is the experimental reference

Re: [MonoTouch] Experimental reference counting - any progress?

2012-03-21 Thread Rodrigo Kumpera
On Wed, Mar 21, 2012 at 5:11 PM, René Ruppert rene.rupp...@googlemail.comwrote: Hi Rodrigo, ** ** That’s good news to hear that you are constantly improving memory management. ** ** Would you mind answering/commenting on a few topics related to memory management? ** **

Re: [MonoTouch] LINQ and OrderBy, again

2012-02-29 Thread Rodrigo Kumpera
Hi, As simple workaround while we figure out how to fix it add a static method to you App class with the following: static void LinqWorkAround () { System.Linq.OrderedEnumerableFoo.CreateOrderedEnumerableint (null, null, false); } This should take care of this crash. If you're building your

Re: [MonoTouch] LINQ and OrderBy, again

2012-02-29 Thread Rodrigo Kumpera
. Changing it to the interface also doesnt compile. I put the code in my Main.cs class. Any idea where I'm going wrong? Sent from my iPhone On Feb 29, 2012, at 11:48 AM, Rodrigo Kumpera kump...@xamarin.com wrote: Hi, As simple workaround while we figure out how to fix it add a static

Re: [MonoTouch] Threading best practice

2012-02-22 Thread Rodrigo Kumpera
Firing 100 requests at once will probably cause trashing and excessive memory usage. If you can live with doing a request at a time you could chain one request after the other from the finished callback. Limiting to a given degree of parallelism is tricky, but possible using callbacks as well.

Re: [MonoTouch] Unknown selector and garbage collection

2012-01-16 Thread Rodrigo Kumpera
The new experimental mode tries to improve the situation toward making things more pleasant. I've researched the subject for a coulpe of months, I built provably half a dozen GC systems before settling with what 5.1 will come with. It will both reduce crashes and memory usage a lot. The major

Re: [MonoTouch] Very weird crash

2011-12-07 Thread Rodrigo Kumpera
Hi Pavel, Can you fill a bug report with a reproducible test case. A pie on the sky guess would be that you have some types that are been linked away and this is causing this error. At the very least, MT should be fixed to give you an usable error message. On Wed, Dec 7, 2011 at 2:19 PM,

Re: [MonoTouch] System.MissingMethodException: Method not found: 'System.Type.op_Equality'.

2011-10-29 Thread Rodrigo Kumpera
This is caused by MonoTouch partial migration to the 4.0 profile. Right now the BCL (core assemblies such as mscorlib and System) sits in an uncomfortable middle of 2.0 and 4.0. I've looked into migrating the remaining to 4.0, but it's and lot of tricky work as it has a good change of breaking

Re: [MonoTouch] Generics method and JIT issue

2011-09-15 Thread Rodrigo Kumpera
this but are yet to commit time to overcome it. Hope it helped, Rodrigo Kumpera ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

Re: [MonoTouch] Problems using Mono.Posix.dll

2011-08-23 Thread Rodrigo Kumpera
Mono.Posix requires that you link extra native code in libMonoPosixHelper. On Tue, Aug 23, 2011 at 8:01 PM, Shawn Baker shawn.ba...@librestream.comwrote: I'm trying to create a custom marshaler using Mono.Posix.dll, but I'm having problems with both linking and usage. I'm using MonoDevelop

Re: [MonoTouch] mt 4.1

2011-08-15 Thread Rodrigo Kumpera
, Rodrigo Kumpera kump...@xamarin.comwrote: More fixes and some little new features. I can about the stuff I've done. On Sat, Aug 13, 2011 at 1:50 PM, Wally McClure theevilprogram...@hotmail.com wrote: I read where mt 4.1 beta will be available soon. [image: Smile] Does anyone know what

Re: [MonoTouch] mt 4.1

2011-08-13 Thread Rodrigo Kumpera
More fixes and some little new features. I can about the stuff I've done. On Sat, Aug 13, 2011 at 1:50 PM, Wally McClure theevilprogram...@hotmail.com wrote: I read where mt 4.1 beta will be available soon. [image: Smile] Does anyone know what will be in it? Wally

Re: [MonoTouch] mt 4.1

2011-08-13 Thread Rodrigo Kumpera
ones like variance on core types and some classlib changes. But what would help is to hear from you all what's missing the most so it can be properly prioritized. On Sat, Aug 13, 2011 at 3:58 PM, Rodrigo Kumpera kump...@xamarin.comwrote: More fixes and some little new features. I can about

Re: [MonoTouch] new mono runtime crashing monodevelop

2011-08-05 Thread Rodrigo Kumpera
Hi Jon, Feel free to either fill a bug at bugzilla.xamarin.com (it has a larger attachment limit) or email it to me, I tried to make sure 2.10.3 was rock solid for Lion. What versions of the IDE and OSX are you running on? Thanks, Rodrigo Kumpera On Fri, Aug 5, 2011 at 6:07 AM, Jon Hopkins

Re: [MonoTouch] Untrappable crashes

2011-08-04 Thread Rodrigo Kumpera
If it's happening on device, the XCode organizer records all crashes. Otherwise, go get traces on simulator, you can try start it from the command line doing the follow: From one console fire: /Developer/MonoTouch/usr/bin/mtouch --debugsim=$path_to_your_app From another console use gdb -p

Re: [MonoTouch] Embed RESX for Localization

2011-08-03 Thread Rodrigo Kumpera
Hi Karl, Your email caused a very heated argument internally at Xamarin because, yes, our localization story is not as nice as we want it to be. Right now we are sorting out more urgent matters like crashers, bugs and critical features such as Lion support. Rest assured that your email caught our

Re: [MonoTouch] Urgent help with WebClient.CancelAsync() Throwing System.Threading.ThreadInterruptedException

2011-08-03 Thread Rodrigo Kumpera
Looks like a bug on monotouch. Can you fill a bugreport at bugzilla.xamarin.com with a working sample of the issue? Thanks, Rodrigo On Wed, Jul 27, 2011 at 6:17 AM, Danny Pronk dpr...@probe-asp.eu wrote: Hi All, In my app I am using the following : WebClient.DownloadDataAsync to download a

Re: [MonoTouch] MonoTouch exception

2011-08-03 Thread Rodrigo Kumpera
This might happen if you have the wrong XIB file set as the Main interface file on project options. On Wed, Jul 27, 2011 at 10:44 AM, Dean Cleaver dean.clea...@xceptionsoftware.com wrote: Any ideas what this could be? ** ** MonoTouch.Foundation.MonoTouchException: Objective-C

Re: [MonoTouch] Lion: help wanted

2011-08-02 Thread Rodrigo Kumpera
Lion is a bit tricker than that, MonoDevelop is crashy with mono 2.10.2, specially during debugging. I'm running an internal 2.10.3 build that fixes the whole thing. We haven't released because the installed has been failing for some of us which is a bad sign. So, if you feel very very

Re: [MonoTouch] Lion: help wanted

2011-08-01 Thread Rodrigo Kumpera
On Mon, Aug 1, 2011 at 6:42 PM, ayoung andrew.yo...@saambaa.com wrote: MT 4 causes our app to crash quite a bit more so we're reluctant to use anything above 3.2.6. We have no plans to support Lion on 3.x, so please fill your bugs regarding 4.0.4.1 so we can fix them and have you make a safe

Re: [MonoTouch] Visual Resource Editor like Visual Studio

2011-07-28 Thread Rodrigo Kumpera
, the GTK+ Stetic editor took about two years, and there's no way we can just leave everyone waiting for that long. Rodrigo Kumpera ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

Re: [MonoTouch] Not compiling (symbols not found).

2011-07-28 Thread Rodrigo Kumpera
On Fri, Jul 22, 2011 at 2:53 PM, Heintz, Aleksander alxa...@alxandr.mewrote: Hi, I'm having trouble compiling my application using MonoTouch when trying to link in a static library, i get the Id: symbol(s) not found error. - http://pastie.org/2255209 Is there anyone who might help me with