[Mono-dev] [PATCH] Fix CompareExchange inlining for I8

2010-04-07 Thread Kornél Pál
Hi, Currently CompareExchange for I8 is never inlined because of a typo. Note that other Interlocked methods use SIZEOF_REGISTER while this use the size of pointer and I don't know which one of these is the right one since both registers and pointers are involved. Please review the patch.

Re: [Mono-dev] [PATCH] Fix CompareExchange inlining for I8

2010-04-07 Thread Zoltan Varga
Looks ok. Zoltan 2010/4/7 Kornél Pál kornel...@gmail.com Hi, Currently CompareExchange for I8 is never inlined because of a typo. Note that other Interlocked methods use SIZEOF_REGISTER while this use the size of pointer and I don't know which one of these is the right one since

Re: [Mono-dev] [PATCH] Fix CompareExchange inlining for I8

2010-04-07 Thread Miguel de Icaza
Hello, Would you mind backporting this to the 2-6 branch as well? 2010/4/7 Kornél Pál kornel...@gmail.com: Hi, Currently CompareExchange for I8 is never inlined because of a typo. Note that other Interlocked methods use SIZEOF_REGISTER while this use the size of pointer and I don't

[Mono-dev] How to configure Mono 2.6 which can support .Net4.0

2010-04-07 Thread ShankarH
HI, I am new to Mono studio. I have mono 2.6 installed and want to use .net 4.0 features in mono.. Got to know that , have to enable below flag, --with-profile4=yes Where should i set this flag..? Do i need to run any command to use .Net 4.0 feature..? How to make sure whether .net 4.0 features

Re: [Mono-dev] How to configure Mono 2.6 which can support .Net4.0

2010-04-07 Thread ShankarH
Yes.. This is a compilation flag. I installed mono 2.6.1 and tried to compile with .Net 4.0 option using command MonoDir./configure --with-profile4=yes But , running through the Warning : configure: WARNING: unrecognized options: --with-profile4 -- View this message in context:

[Mono-dev] patch provided for mon-mmap.c to fix /dev/shm/mono.pid pileups

2010-04-07 Thread cpMon
Here's a patch you should consider for mono-2.6.1. Specifically, I noticed that /dev/shm/mono.pid files were piling up and not being cleaned up as they should have been. mono-mmap.c tries to get rid of stale ones with a kill but they don't check for ENOMEM return which causes the cleanup to fail.

Re: [Mono-dev] Mono process crashes after closing client socket

2010-04-07 Thread me2
look at that http://dam.mellis.org/2004/08/net_socket_bugs_gotchas/index.html, im ms doesnt work:,( -- View this message in context: http://n4.nabble.com/Mono-process-crashes-after-closing-client-socket-tp1536196p1573865.html Sent from the Mono - Dev mailing list archive at Nabble.com.

[Mono-dev] Windows Identity Foundation

2010-04-07 Thread Travis Spencer
Hi All, Are there plans to port Windows Identity Foundation (WIF) to Mono? I've been using WIF 9 - 5 Monday - Friday for a year and half now. If you need help porting this new lib to your platform, please let me know how I can help. -- Regards, Travis Spencer

Re: [Mono-dev] [HaikuPorts-devs] [RFC 09/12] console-unix: Workaround FIONREAD ioctl for Haiku

2010-04-07 Thread Ingo Weinhold
On 2010-03-26 at 17:02:05 [+0100], Andreas Färber andreas.faer...@web.de wrote: Am 26.03.2010 um 15:39 schrieb François Revol: Don't we have this implemented ? If not it should be fixed in the tty driver... A quick grep -r shows FIONREAD in sys/ioctl.h (and STDIN_FILENO in unistd.h).

[Mono-dev] Improvement to Silverlight/Web-based video editing software project (GSoC)

2010-04-07 Thread Adam Walkowski
Hi Everybody, I have a question about idea of connect the Silverlight/Web-based video editing software project proposal (for Google Summer of Code 2010) and some of my ideas about distribution media in distracted environment. In general: 1. Use automatic compression mechanism to make preview

Re: [Mono-dev] Raw socket problem

2010-04-07 Thread me2
look at that http://dam.mellis.org/2004/08/net_socket_bugs_gotchas/index.html, im ms doesnt work :,( -- View this message in context: http://n4.nabble.com/Raw-socket-problem-tp1517384p1573868.html Sent from the Mono - Dev mailing list archive at Nabble.com.

Re: [Mono-dev] Tests for Socket Local-/RemoteEndPoint

2010-04-07 Thread me2
look at that http://dam.mellis.org/2004/08/net_socket_bugs_gotchas/index.html, im ms doesnt work:,( -- View this message in context: http://n4.nabble.com/Tests-for-Socket-Local-RemoteEndPoint-tp1527672p1573870.html Sent from the Mono - Dev mailing list archive at Nabble.com.

[Mono-dev] Error compiling WebConnection.cs

2010-04-07 Thread Neale Ferguson
Just updated to head, did get-monolite-latest and getting this during the build: System.Net/WebConnection.cs(361,82): error CS0246: The type or namespace name `CertificateValidationCallback2' could not be found. Are you missing a using directive or an assembly reference?

[Mono-dev] BindingList nor BindingSource attach to INotifyPropertyChanged-based child properties' PropertyChanged event

2010-04-07 Thread Kurt Wachowski
Using Mono runtime 2.4 (didn't see any difference in latest code, either). When using BindingList to bind children which implement INotifyPropertyChanged, the BindingList object does not subscribe to the PropertyChanged events, resulting in an absence of execution of BindingList.ListChanged

Re: [Mono-dev] Removing Mono.GetOptions dependency from svcutil

2010-04-07 Thread Atsushi Eno
Hello, Thanks for the migration work. I'm not sure why it does not work at your side, but I could verify it's working by running below as an example: svcutil -moonlight http://memorabilia.hardrock.com/MemoService.svc Atsushi Eno On 2010/03/05 4:50, Jonathan Pryor wrote: As per the Removing

Re: [Mono-dev] Method code injection

2010-04-07 Thread b0rg
It is possible to alter any method's instructions at runtime, but it is rather complicated. Since you have access in the assembly source code, why not just generate some dynamic code? Is this what you want to achieve? Take a look here for example:

[Mono-dev] Socket.BeginReceive never throw Exception

2010-04-07 Thread Pigo Chu
I am designing a simple http server use Async Socket model. And test performance use ab (apache benchmark) Like ab -c 1000 -n 10 -k http://myserver... when ab request end , but my http server never got disconnect signal many times. Why happend this ? because Socket.BeginReceive no throw

[Mono-dev] Threading parameters? Fill a DataGridView via Invoke very slow

2010-04-07 Thread boolean
Hello, I use Ubuntu and Mono 2.4.x and want to fill a DataGridView with xml data messages. There above 1000 message lines in xml. The DataGridView element is filled by an invoke call from a background worker which iterate through all messages. On Windows and .NET this needs only seconds to

Re: [Mono-dev] Threading parameters? Fill a DataGridView via Invoke very slow

2010-04-07 Thread boolean
Another solution with delegates instead of invoke brings no advantages. It´s curious on Windows and Mono Develop it´s comperable fast like on .NET. -- View this message in context: http://n4.nabble.com/Threading-parameters-Fill-a-DataGridView-via-Invoke-very-slow-tp1680691p1690719.html Sent

[Mono-dev] Build Microsoft Visual Studio Solution under Mono

2010-04-07 Thread The87Boy
I have developed a program under Microsoft Visual Studio, but as I have to move the Business and Data-part to the server, I need it to compile to Mono as the server runs Linux. The reason is, that I will only allow DB-Connection on Localhost. My question is now, how do I compile the program? Are

Re: [Mono-dev] [HaikuPorts-devs] [RFC 09/12] console-unix: Workaround FIONREAD ioctl for Haiku

2010-04-07 Thread François Revol
Le Fri, 26 Mar 2010 17:07:59 +0100, Ingo Weinhold a écrit : On 2010-03-26 at 17:02:05 [+0100], Andreas Färber andreas.faer...@web.de wrote: Am 26.03.2010 um 15:39 schrieb François Revol: Don't we have this implemented ? If not it should be fixed in the tty driver... A quick grep

Re: [Mono-dev] [HaikuPorts-devs] [RFC v2 08/10] ser ial: Stub implementation for Haiku

2010-04-07 Thread François Revol
Le Tue, 30 Mar 2010 00:56:16 +0200, Andreas Färber a écrit : Haiku has no full serial support, especially no TIOCOUTQ or TIOCM_*. Provide a no-op implementation similar to null-gc. TIOCOUTQ seems a linuxism at least, it's not in HPUX or Solaris and opengroup doesn't seem to document it. Would

Re: [Mono-dev] [HaikuPorts-devs] [RFC v2 6/8] serial: Stub implementation for Haiku

2010-04-07 Thread François Revol
Le Thu, 1 Apr 2010 02:27:57 +0200, Andreas Färber a écrit : Haiku has no full serial support, especially no TIOCOUTQ or TIOCM_*. Provide a no-op implementation similar to null-gc. Again, TIOCOUTQ is not found on opengroup.org, neither are TIOCM_* which seem to be from SysV. As I said,

Re: [Mono-dev] [HaikuPorts-devs] [RFC 5/8] io-laye r: Define makedev for Haiku

2010-04-07 Thread François Revol
Le Fri, 2 Apr 2010 19:18:09 +0200, Andreas Färber a écrit : Hey guys, First, Haiku has the POSIX dev_t type declared in sys/types.h: http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html Linux, BSDs, Solaris, OSX all seem to have a makedev macro or function to

[Mono-dev] [PATCH] Bug 494234: XplatUIX11.WorkingArea can segfault if the WM does not support _NET_WORKAREA

2010-04-07 Thread Brian Pellin
Is there anything I can do to encourage applying the patch in Bug 494234? [1] I get a segfault every time I run KeePass[2] in the xmonad[3] window manager, because it does not support _NET_WORKAREA. This patch fixes it for me. Thanks, Brian [1] https://bugzilla.novell.com/show_bug.cgi?id=494234

Re: [Mono-dev] [PATCH] XSP: FastCGI Backend should handle unmanaged socket error 10038 on close

2010-04-07 Thread kitt
Hello Tiaan. Thanks for patch, today i updated mono from 2.4 to 2.6.3 and was confused with log error, although server front end works fine. -- View this message in context:

Re: [Mono-dev] patch provided for mon-mmap.c to fix /dev/shm/mono.pid pileups

2010-04-07 Thread Zoltan Varga
Hi, This patch is already on the mono 2.6 branch, it will be in the next 2.6 maintenance release. Zoltan On Wed, Feb 24, 2010 at 12:02 PM, cpMon page@gmail.com wrote: Here's a patch you should consider for mono-2.6.1. Specifically, I noticed that /dev/shm/mono.pid files

Re: [Mono-dev] Windows Identity Foundation

2010-04-07 Thread Atsushi Eno
No concrete plan now. At least we need the security basis on which WIF depends (and we don't have it). The base security stack in WCF is one of the next target once I got existing wcf stack stable to some extent. But security stack will need at least a lot of months to become usable. Atsushi