Re: [Mono-dev] Behavior change in XmlWriterSettings/XmlTextWriter

2015-09-29 Thread Oskar Berggren
Perhaps the documentation is not so much platform specific, as just being sloppily written in this case, in the case that it appears to state what happens to be the default value (on Windows) without saying that it is indeed grabbed from a platform specific default. XML is normally often presented

Re: [Mono-dev] Mono/Windows Services

2015-06-11 Thread Oskar Berggren
You can use the mono-service tool to start the application through the ServiceBase class, as in Windows. But ServiceBase or not, typically you would enter some sort of mainloop. Most services will _wait_ for something to happen and not wake up until it does. High-frequency timer-based polling shou

Re: [Mono-dev] Is operator behavior with mono version

2015-05-26 Thread Oskar Berggren
Hi, Where is the loop? /Oskar 2015-05-26 6:26 GMT+01:00 techi eth : > Hi, > > I am facing one problem while using 'is' operator with mono.When i run my > test with mono version(2.10.8) it works fine but when i run with mono > (3.2.8) it caught under infinite loop. > > I have attached my sample

Re: [Mono-dev] List of cleanup candidates for Mono 4.0

2014-11-27 Thread Oskar Berggren
Can we please finally remove Npgsql? It's been reported: https://bugzilla.novell.com/show_bug.cgi?id=650180 https://bugzilla.xamarin.com/show_bug.cgi?id=23119 The Npgsql included in mono is EXTREMELY ancient and from what I gather useless for most purposes. As far as I can tell, the version inclu

Re: [Mono-dev] Remove Me Please

2014-03-24 Thread Oskar Berggren
The instructions are at the bottom of this page: http://lists.ximian.com/mailman/listinfo/mono-devel-list 2014-03-24 13:40 GMT+01:00 Mark Heaton : > > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mai

Re: [Mono-dev] Status of Win32/SystemEvents

2012-12-25 Thread Oskar Berggren
2012/12/25 : > Hello ! > > Thanks for the reply. > > My app will be two-fold: A service-like element and an UI like > element. I have the biggest need for this event in the service > layer - and now, according to your insides - I am out of hope? > > How does other software handle this [pre-shutdow

Re: [Mono-dev] Status of Win32/SystemEvents

2012-12-25 Thread Oskar Berggren
Many of those events do not have simple one-to-one counterparts on Linux or anything besides Windows, because there is a greater variety in how things are done, e.g. different desktop envirorments (or none at all). Several of the things you mention can probably be detected from GNOME or KDE respect

Re: [Mono-dev] Trying figure out EF6

2012-11-09 Thread Oskar Berggren
2012/11/9 Raul U. > Hi, I´m trying to use Entity Framework, I would like to use MySql. In my > understanding there is no EF6 provider yet, so this is not possible. In > fact, I only found two providers available for EF, SQL Server and SQL CE.* > *** > > ** ** > > Is this right? Is there any other

Re: [Mono-dev] GTK# Window Display Issue Outside of Main.cs

2012-11-07 Thread Oskar Berggren
2012/11/6 Johnnie Odom I have taken to using the debugger and break points to isolate the > behavior. If I set a breakpoint immediately after the window is created, it > is still blank -- that is, I do not think it is a case that the window is > just not keeping pace with any updates I am sendin

Re: [Mono-dev] Few questions about Linq implementation

2012-08-08 Thread Oskar Berggren
Or NHibernate, which is working on Mono. /Oskar 2012/8/7 Jonathan Pryor > Unless you _really_ need a System.Data.Linq-compatible API, I would > suggest giving up. Instead, focus on getting the open-source EF release > working on Mono, and use that instead. > > http://entityframework.co

Re: [Mono-dev] mono wcf

2012-07-31 Thread Oskar Berggren
2012/8/1 icorderi > @Rob > Yes localhost is translated to 127.0.0.1 on hosts. > But regardless of that, if the wcf service is hosted as > net.tcp://localhost:8081 it should work as expected. > But in many cases you specify localhost when you specifically do want to prevent connections from other

Re: [Mono-dev] Compiling mono? I give up [not proceeding] - if anything obvious i'm doing wrong let me know

2012-05-01 Thread Oskar Berggren
Perhaps you need to install libgtk2.0-dev via apt-get then? /Oskar 2012/5/1 Rob Wilkens : > Copying list on my reply, sorry i keep forgetting i have to reply all.. > > On 05/01/2012 10:09 AM, Rob Wilkens wrote: >> >> >> 2.12.10 was the version i was building -- and yes, i suspect i have a gtk3 >

Re: [Mono-dev] Compiling mono? I give up [not proceeding] - if anything obvious i'm doing wrong let me know

2012-05-01 Thread Oskar Berggren
2012/5/1 Rob Wilkens : > [this reply to list -- my earlier replies were off list, but i figure a > public 'thanks' was in order..] > > Thanks again to all that replied.  I am going to try again today using the > following: > > -i am installing to /home/.../mono -- and i am going to give another sho

Re: [Mono-dev] Compiling mono? I give up [not proceeding] - if anything obvious i'm doing wrong let me know

2012-05-01 Thread Oskar Berggren
2012/5/1 Rob Wilkens : > [apologies if duplicated - i sent from wrong account at first and don't > think it went through] > > I hate trying to get other people's program's to build properly on a > different computer than it was originally built on/for, but i gave building > mono an honest effort be

[Mono-dev] Why is mono-tools 2.11 an empty package?

2012-04-03 Thread Oskar Berggren
Starting with Mono 2.10.6, the list of sources (http://origin-download.mono-project.com/archive/2.10.6/sources/) list mono-tools version 2.11: http://origin-download.mono-project.com/sources/mono-tools/mono-tools-2.11.tar.bz2 This version fails to build for me: ./configure: line 3846: AM_GLIB_GNU

[Mono-dev] "Latest" link targeting old release

2012-04-03 Thread Oskar Berggren
This page: http://www.mono-project.com/GtkSharp has a section called "current source release", under which: gtk-sharp points to 2.12.10, but latest really is 2.12.11. Except the latest is only available on http://download.mono-project.com/sources/gtk-sharp212/ and not from ftp.gnome.org where the

Re: [Mono-dev] Removing obsolete Npgsql

2012-03-09 Thread Oskar Berggren
2012/3/9 David Schmitt : > Hi, > > Npgsql in mono seems to be long dead. Judging from the contained > RELEASENOTES.txt, this version is from 2004. > >> https://bugzilla.xamarin.com/show_bug.cgi?id=737 > I suggested it be removed already in 2010: https://bugzilla.novell.com/show_bug.cgi?id=650180

Re: [Mono-dev] MPAPI documentation

2012-01-29 Thread Oskar Berggren
2012/1/30 xepharalon : > I was having trouble with MPI.NET in mono, so I started trying to get MPAPI > to work... still no success. > > The error I get is from mono 2.0 when trying to compile my program is: > > Program.cs(5,7): error CS0246: The type or namespace name `MPAPI' could not > be found.

Re: [Mono-dev] Environment.GetEnvironmentVariable() not working in Linux ASP.NET app

2011-11-09 Thread Oskar Berggren
In Monodevelop, have you had a look at the project options -> Run -> General, where you can set environment variables used when running through MD. Just to check to make sure nothing there is overriding no_proxy for your web app. /Oskar 2011/11/9 H . : > Hi Oscar, > > yes, using a command line a

Re: [Mono-dev] Environment.GetEnvironmentVariable() not working in Linux ASP.NET app

2011-11-09 Thread Oskar Berggren
2011/11/9 H . : > Hi Robert, > > I have now debugged the issue using Ubuntu Maverick/ 32 bit. I did the > following: > > (1) Configure system proxy settings and reboot machine > (2) In terminal "echo $http_proxy" returns "http://http.proxy:8080/";; "echo > $no_proxy" returns "localhost,127.0.0.0/8,

Re: [Mono-dev] Environment.GetEnvironmentVariable() not working in Linux ASP.NET app

2011-11-09 Thread Oskar Berggren
2011/11/9 H . : > Hi Robert, > > I didn't know that Linux hides certain environment variables from a process > depending on the identity it is running in. I guess that the only choice for It doesn't, not as such. Environment variables are inherently per process, and this is the same in Windows. Wh

Re: [Mono-dev] Mono, Oracle and .NET after 4.0

2011-11-06 Thread Oskar Berggren
2011/11/7 Stefano Canepa : > > > Brandon Perry  at "Sun, 6 Nov 2011 17:12:20 -0600" wrote: >  BP> I used nhibernate. > >  BP> > http://stackoverflow.com/questions/562926/fluent-nhibernate-how-to-configure-for-oracle > > It looks like a good workaround even if many part of our code need to be > cha

Re: [Mono-dev] Mapping in Mono

2011-04-20 Thread Oskar Berggren
Are you referring to IDictionary et.al.? ̈́ /Oskar 2011/4/20 Adam Balan : > > > Hi all, > > > > So I was reading through the mono API and looking for some way to map > objects to another through keys and key values much like that of java. I > know that .net has it however I am not sure  (and I may

Re: [Mono-dev] FW: gmcs : compiling website periodically 3-4 minutes

2011-03-25 Thread Oskar Berggren
Try inotifywatch. 2011/3/25 Robert Jordan : > On 25.03.2011 19:25, Hugo Ribeiro wrote: >> No luck so far in discovering the problem. >> >> http://img855.imageshack.us/i/36409593.jpg/ (300 clicks per second, >> exporadic timeout errors) >> >> I have set the environment key to disable, recompiled mo

Re: [Mono-dev] Setting XSetErrorHandler in Cs ?

2011-03-23 Thread Oskar Berggren
You need to define delegate that matches the signature of the callback, and pass this down from managed code. The CLR will then do the necessary marshalling. Something like this: http://blogs.msdn.com/b/davidnotario/archive/2006/01/13/512436.aspx /Oskar 2011/3/23 Quandary : > Question: > > I st

Re: [Mono-dev] xbuild - ** ERROR **: shm_semaphores_init: semget error: No space left on device.

2010-11-12 Thread Oskar Berggren
The release notes have some info http://www.mono-project.com/Release_Notes_Mono_2.8 /Oskar 2010/11/12 Arne Claassen : > Sounds like i just need to build 2.8, since more and more things i run > into seem to be taken care of in 2.8. > > This is going off-topic, but it's something that I haven't go

Re: [Mono-dev] Unable to work with Configuration files

2010-10-28 Thread Oskar Berggren
Could it be a bug in xbuild then? Can you try building a clean checkout with msbuild to see if there is a different behavior? I haven't run xbuild very much, is it possible to enable some diagnostics output like for msbuild? To see where exactly they are being copied. /Oskar 2010/10/28 vinay_rk

Re: [Mono-dev] Standard name for mcs

2010-06-28 Thread Oskar Berggren
2010/6/28 Russell Wallace : > On Mon, Jun 28, 2010 at 2:52 AM, Jonathan Pobst wrote: >> Likely, when gmcs goes away, an alias script called 'gmcs' will be left >> in it's place that points to the current compiler. > > Yes, please do this -- that would be the preferred solution. > > It would be nic

Re: [Mono-dev] MVC 2 support

2010-06-09 Thread Oskar Berggren
My experience: You get some functionality running on 2.6.4 but some MVC features exposes bugs or missing features in mono. Currently I'm running a patched 2.6.4, which has been patched with the following revisions from the mono-2.6 branch (when will we get a 2.6.5?): 157188 157222 157626 With the

Re: [Mono-dev] DataAnnotations 3.5 class status

2010-06-08 Thread Oskar Berggren
> only if you love life enough that you want to enhance its beauty, you > want to bring a little more music to it, a little more poetry to it, a > little more dance to it." > Osho > > > > On Tue, Jun 8, 2010 at 11:29 AM, Oskar

Re: [Mono-dev] DataAnnotations 3.5 class status

2010-06-08 Thread Oskar Berggren
at you want to enhance its beauty, you > want to bring a little more music to it, a little more poetry to it, a > little more dance to it." > Osho > > > > On Mon, Jun 7, 2010 at 2:57 PM, Oskar Berggren > wrote: >> Hi, >> >> Why is System.ComponentM

[Mono-dev] DataAnnotations 3.5 class status

2010-06-07 Thread Oskar Berggren
Hi, Why is System.ComponentModel.DataAnnotations not listed in the "Mono 3.5 vs .NET 3.5" section on http://go-mono.com/status/? /Oskar ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-deve

Re: [Mono-dev] System.NotImplementedException: The requested feature is not implemented. at System.ServiceModel.Configuration.WSHttpBindingElement.OnApplyConfiguration

2010-05-24 Thread Oskar Berggren
2.2 is fairly old. Have you checked with 2.4 or 2.6? Try searching for "moma" and "mono class library status". /Oskar 2010/5/24 Greg Robinson : >  I have been making good progress on moving our .NET server application over > to Mono 2.2 running on Ubuntu 2.2. > >  Friday, I ported the WCF piece

[Mono-dev] Problem with ASP.NET MVC 2: Flawed implementation of HttpServerUtility.Execute()?

2010-05-09 Thread Oskar Berggren
Hi, Summary: Mono's HttpServerUtility.Execute() seems to be a simplified implementation that turns out to be incompatible with certain features of ASP.Net MVC2. Or I'm doing something wrong. :) I'm experimenting with ASP.NET MVC 2 and just added a call to RenderAction(). This seems to show a prob

[Mono-dev] Missing links to 2.4.3.1 on web site?

2010-03-06 Thread Oskar Berggren
Hi, On http://www.mono-project.com/news/ I see that mono 2.4.3.1 is out. It directs me to the download page, which focuses on 2.6.1, but with a link to http://mono-project.com/OldReleases. However, this page only lists up to 2.4.3. By clicking on 2.4.3, then on sources, and then a manual url mod

Re: [Mono-dev] Announcing the release of Mono 2.4.3

2009-12-09 Thread Oskar Berggren
The release notes lists the following issue as fixed: 467418 (https://bugzilla.novell.com/show_bug.cgi?id=467418) - ListView in VirtualMode uses too much memory and is slow But the bug report is still marked as NEW and there is no comment indicating that a fix has been checked in. What is the inte

Re: [Mono-dev] How to improve Dataset Performance

2009-12-09 Thread Oskar Berggren
2009/12/9 APS : > For sure I can pass a test case, is better that I file a bug report? I think > that Mono team already knows where datasets are slower than MS.Net and maybe > can suggest me some "best practice". > Btw with the code provided below with MS.Net on a standard developer machine > and M

Re: [Mono-dev] faster than hashtable?

2009-10-28 Thread Oskar Berggren
If you know your input set and can design a hash function that is guaranteed to never give collisions for that input set, you could perhaps gain something by implementing a hash table that ignores the risk of collisions. /Oskar 2009/10/28 Alan McGovern : > If the key is random, a hashtable is th

[Mono-dev] Race condition when disposing a Socket when another thread is blocking in Accept()?

2009-09-23 Thread Oskar Berggren
I have a TcpListener and a thread that blocks in AcceptSocket(), corresponding to Socket.Accept(). Another thread now calls Stop() on the listener, which causes the socket to be disposed. I believe the intention is that the thread blocking on Accept() should now get a SocketException with errorcod