[Mono-bugs] [Bug 611836] Invalid rror verifying Class1:Host (object): Incompatible type Complex in static field store at

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=611836

http://bugzilla.novell.com/show_bug.cgi?id=611836#c2


Rodrigo Kumpera rkump...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #2 from Rodrigo Kumpera rkump...@novell.com 2010-06-30 17:37:21 
UTC ---
Fixed trunk in r159743.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617228] SDB: Using MethodCall.Invoke() to invoke a method containing null reference

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617228

http://bugzilla.novell.com/show_bug.cgi?id=617228#c


Martin Baulig mar...@novell.com changed:

   What|Removed |Added

Summary|Mono crashes while  |SDB: Using
   |inspecting local variables  |MethodCall.Invoke() to
   |during local debugging of   |invoke a method containing
   |class constructor   |null reference

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617228] SDB: Using MethodCall.Invoke() to invoke a method containing null reference

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617228

http://bugzilla.novell.com/show_bug.cgi?id=617228#c2


Martin Baulig mar...@novell.com changed:

   What|Removed |Added

 Attachment #371619|0   |1
is obsolete||

--- Comment #2 from Martin Baulig mar...@novell.com 2010-06-30 17:52:09 UTC 
---
Created an attachment (id=372982)
 -- (http://bugzilla.novell.com/attachment.cgi?id=372982)
Simple test case

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617228] SDB: Using MethodCall.Invoke() to invoke a method containing null reference

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617228

http://bugzilla.novell.com/show_bug.cgi?id=617228#c3


Martin Baulig mar...@novell.com changed:

   What|Removed |Added

   Severity|Major   |Critical

--- Comment #3 from Martin Baulig mar...@novell.com 2010-06-30 17:54:03 UTC 
---
This is a much simpler test case:

1. Insert a breakpoint on the Console.WriteLine().
2. Debug using a local profile
3. When stopped, expand the variable x in the locals pad

This makes mono crash.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617228] SDB: Using MethodCall.Invoke() to invoke a method containing null reference

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617228

http://bugzilla.novell.com/show_bug.cgi?id=617228#c4


--- Comment #4 from Martin Baulig mar...@novell.com 2010-06-30 18:04:44 UTC 
---
Here's what's happening (I'm using a slightly old SVN build on Windows for this
stacktrace, but the problem still exists with the latest 2.6.6 for Windows):

MonoVS uses MethodCall.Invoke() to invoke X.get_HasChildren, which contains a
segfault (_children is null).

While the runtime tries to handle the exception, it calls
mono_get_exception_null_reference() which mono_runtime_invoke()'s
System.NullReferenceException.ctor and at that point, we hit the
single-stepping breakpoint, but Windows doesn't seem to recognize it.

The top frame of the stack is:

02AD0935  cmp eax,dword ptr ds:[3Ah] 

and the effective address is the single-stepping page.

==
 02ad0935()
   mono.dll!mono_jit_runtime_invoke(_MonoMethod * method=0x026cbaf8, void 
 * obj=0x01f65f18, void * * params=0x, MonoObject * * exc=0x)  
 Line 4779 + 0x18 bytes C
 mono.dll!mono_runtime_invoke(_MonoMethod * method=0x026cbaf8, void *
obj=0x01f65f18, void * * params=0x, MonoObject * * exc=0x) 
Line 2613 + 0x18 bytesC
 mono.dll!mono_runtime_object_init(MonoObject * this=0x01f65f18)  Line 99 +
0x11 bytesC
 mono.dll!mono_exception_from_name_domain(_MonoDomain * domain=0x00316ea0,
_MonoImage * image=0x02679d08, const char * name_space=0x10563bf0, const char *
name=0x10563bd8)  Line 64 + 0x9 bytesC
 mono.dll!mono_exception_from_name(_MonoImage * image=0x02679d08, const
char * name_space=0x10563bf0, const char * name=0x10563bd8)  Line 34 + 0x17
bytesC
 mono.dll!mono_get_exception_null_reference()  Line 280 + 0x15 bytesC
 mono.dll!mono_handle_exception_internal(MonoContext * ctx=0x0018ef98, void
* obj=0x, void * original_ip=0x02ad06c3, int test_only=0x, int
* out_filter_idx=0x, _MonoJitInfo * * out_ji=0x)  Line 1135 +
0x5 bytesC
 mono.dll!mono_handle_exception(MonoContext * ctx=0x0018ef98, void *
obj=0x, void * original_ip=0x02ad06c3, int test_only=0x)  Line
1504 + 0x19 bytesC
 mono.dll!mono_arch_handle_exception(void * sigctx=0x026f5c08, void *
obj=0x, int test_only=0x)  Line 1068 + 0x15 bytesC
 mono.dll!mono_sigsegv_signal_handler(int _dummy=0x,
_EXCEPTION_RECORD * info=0x0018f1c8, void * context=0x026f5c08)  Line 4896 +
0xd bytesC
 mono.dll!seh_handler(_EXCEPTION_POINTERS * ep=0x0018f0c8)  Line 192 + 0x1b
bytesC
 kernel32.dll!CheckForReadOnlyResource()  + 0x3bf bytes
 [Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]
 ntdll.dll!RtlKnownExceptionFilter()  + 0xb7 bytes
 ntdll.dll!RtlInitializeExceptionChain()  + 0x36 bytes
===

The mono process crashes here.

Maybe Windows doesn't like the recursive segfault inside seh_handler() ?

I also don't understand why System.NullReferenceException.ctor contains the
single-stepping code, I don't think we should be single-stepping when called
from inside the mono_sigsegv_signal_handler().

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617228] SDB: Using MethodCall.Invoke() to invoke a method containing null reference

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617228

http://bugzilla.novell.com/show_bug.cgi?id=617228#c5


Martin Baulig mar...@novell.com changed:

   What|Removed |Added

 CC||var...@gmail.com

--- Comment #5 from Martin Baulig mar...@novell.com 2010-06-30 18:06:26 UTC 
---
Hi Zoltan !

Could you please have a look at this ?  It's a really annoying bug which makes
us crash every time we're trying to evaluate some method that contains a
segfault.

Thanks,
Martin

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617714] [PATCH] [.NET 4] Assembly loader fails to load type from remapped assembly

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617714

http://bugzilla.novell.com/show_bug.cgi?id=617714#c9


Rodrigo Kumpera rkump...@novell.com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #9 from Rodrigo Kumpera rkump...@novell.com 2010-06-30 18:24:50 
UTC ---
Fixed 3.5 assembly remapping in r159744. This time it works for v2 and v4.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 612002] won't compile 2.6.4 from source

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=612002

http://bugzilla.novell.com/show_bug.cgi?id=612002#c1


Christian Mueller post-christ...@freenet.de changed:

   What|Removed |Added

 CC||post-christ...@freenet.de

--- Comment #1 from Christian Mueller post-christ...@freenet.de 2010-06-30 
19:47:14 UTC ---
I tried it again with a clean copy from the net. It stops with the same error.
Now i'm compiling the 2.6.3 sources. That seems to work.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 544180] System.Text.Encoding.GetEncoding throws NotSupportedException

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=544180

http://bugzilla.novell.com/show_bug.cgi?id=544180#c7


--- Comment #7 from Geoff Norton gnor...@novell.com 2010-06-30 21:14:14 UTC 
---
JB,

  What do we need to do here in nolink, symlink in the appropriate i18n assy as
well?

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617349] OpenGL project in MonoTouch 3.0.9 draw nothing

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617349

http://bugzilla.novell.com/show_bug.cgi?id=617349#c5


Geoff Norton gnor...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||gnor...@novell.com
 Resolution||FIXED

--- Comment #5 from Geoff Norton gnor...@novell.com 2010-06-30 21:14:33 UTC 
---
Fixed, thanks.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 576827] RPM template deps are incorrect for webapps created for RHEL/CentOS

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=576827

http://bugzilla.novell.com/show_bug.cgi?id=576827#c4


--- Comment #4 from Marc Christensen mchristen...@novell.com 2010-06-30 
21:38:03 UTC ---
Well, it looks like we need specific templates for RHEL.  With ASP.net apps, we
need to place the config file in /etc/httpd/conf.d rather than in
/etc/apache2/conf.d. This combined with the dependency issue makes it easier to
address this from the template side rather than half template and half rpm
deps.  While not necessary, it might be good to have things fixed in one place.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 576827] RPM template deps are incorrect for webapps created for RHEL/CentOS

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=576827

http://bugzilla.novell.com/show_bug.cgi?id=576827#c5


--- Comment #5 from Marc Christensen mchristen...@novell.com 2010-06-30 
21:39:44 UTC ---
I should add that ASP.NET apps will not run on RHEL/CentOS with the current
conf file issue.  A user has to manually move or copy the template from
/etc/apache2/conf.d to /etc/httpd/conf.d.

If we're going to release with CentOS/RHEL support, we need to address this.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 618977] New: Crashes when Using the Calendars method of the EKEventStore on the device

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=618977

http://bugzilla.novell.com/show_bug.cgi?id=618977#c0


   Summary: Crashes when Using the Calendars method of the
EKEventStore on the device
Classification: Mono
   Product: MonoTouch
   Version: unspecified
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Critical
  Priority: P5 - None
 Component: Runtime
AssignedTo: gnor...@novell.com
ReportedBy: jclan...@resdat.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US)
AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.86 Safari/533.4

When you delcare an event store then use the calendars property. The app
crashes. This only happens on the device.

Reproducible: Always

Steps to Reproduce:
EKEventStore store = new EKEventStore();
var calendarArray = store.Calendars;
Actual Results:  
System.InvalidCastException: Cannot cast from source type to destination type.
Wed Jun 30 14:30:45 unknown UIKitApplication:collaborate[0xb41a][150] Notice:
  at MonoTouch.Foundation.NSArray.ArrayFromHandle[EKCalendar] (IntPtr handle)
[0x0] in filename unknown:0 
Wed Jun 30 14:30:45 unknown UIKitApplication:collaborate[0xb41a][150] Notice:
  at MonoTouch.EventKit.EKEventStore.get_Calendars () [0x0] in filename
unknown:0 

Expected Results:  
it should return an array  of EKCalendar

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 618977] Crashes when Using the Calendars method of the EKEventStore on the device

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=618977

http://bugzilla.novell.com/show_bug.cgi?id=618977#c1


--- Comment #1 from James Clancey jclan...@resdat.com 2010-06-30 22:50:48 UTC 
---
Created an attachment (id=373060)
 -- (http://bugzilla.novell.com/attachment.cgi?id=373060)
Test Case

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 594559] DateTime.TryParse fails to parse 0009-05-02 20:00:00.00 because of the .00 for ms

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=594559

http://bugzilla.novell.com/show_bug.cgi?id=594559#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 596779] InvalidOperationException in Process.GetProcessesByName

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=596779

http://bugzilla.novell.com/show_bug.cgi?id=596779#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 598467] TimeSpan.TryParse() method crashes if I pass for example this 12::4

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=598467

http://bugzilla.novell.com/show_bug.cgi?id=598467#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 601783] SharpPcap tries to get a list of network Interfaces

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=601783

http://bugzilla.novell.com/show_bug.cgi?id=601783#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 603981] Socket.OSSupportsIPv6

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=603981

http://bugzilla.novell.com/show_bug.cgi?id=603981#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 614909] Process.Exited Event Fires Only Once for Individual Process Object

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=614909

http://bugzilla.novell.com/show_bug.cgi?id=614909#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 575600] MapPath() does not work for virtual directories outside of the current application

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=575600

http://bugzilla.novell.com/show_bug.cgi?id=575600#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |mhabers...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 577786] System.Media.SoundPlayer don't stop playing

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=577786

http://bugzilla.novell.com/show_bug.cgi?id=577786#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |lu...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 579585] When sending a email with one AlternativeView does not send LinkedResources.

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=579585

http://bugzilla.novell.com/show_bug.cgi?id=579585#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 579836] System.Configuration.Save() method does not work as expected

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=579836

http://bugzilla.novell.com/show_bug.cgi?id=579836#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 579837] System.Configuration.Save() method throws an exception when trying to add an authorization section to an existing Web.config

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=579837

http://bugzilla.novell.com/show_bug.cgi?id=579837#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 615801] DataContractJsonSerializer does not set class members to null

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=615801

http://bugzilla.novell.com/show_bug.cgi?id=615801#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |aenom...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 615800] OnDeserializing is not called by DataContractJsonSerializer

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=615800

http://bugzilla.novell.com/show_bug.cgi?id=615800#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |aenom...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 585577] BindingSource/BindingList do not hook to PropertyNotified event of INotifyPropertyChanged data sources

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=585577

http://bugzilla.novell.com/show_bug.cgi?id=585577#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 581956] Mono prints NOT IMPLEMENTED: ResetToDefault()

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=581956

http://bugzilla.novell.com/show_bug.cgi?id=581956#c


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 583386] DesignSurface doesn't accept to drop controls on it

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=583386

http://bugzilla.novell.com/show_bug.cgi?id=583386#c1


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||mig...@novell.com
 Resolution||WONTFIX

--- Comment #1 from Miguel de Icaza mig...@novell.com 2010-06-30 23:45:15 UTC 
---
Mono does not support the designer surface.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 583934] WebRequest.get_CachePolicy throws NIEX

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=583934

http://bugzilla.novell.com/show_bug.cgi?id=583934#c2


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com

--- Comment #2 from Miguel de Icaza mig...@novell.com 2010-06-30 23:48:18 UTC 
---
Could we return a value that does not throw an exception for now?

All that the call is doing is asking What is the policy?

Why cant we return a policy that says I dont do a thing

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 583934] WebRequest.get_CachePolicy throws NIEX

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=583934

http://bugzilla.novell.com/show_bug.cgi?id=583934#c3


Gonzalo Paniagua Javier gonz...@novell.com changed:

   What|Removed |Added

 CC||gonz...@novell.com

--- Comment #3 from Gonzalo Paniagua Javier gonz...@novell.com 2010-07-01 
00:18:42 UTC ---
We can return NoCacheNoStore for get and throw in set_.
Btw, Greg Smolyn was volunteering this morning to implement the cache support.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 618128] Problem installing mono-2.6.4.tar.bz2 - A REALLY deep directory was created in the 'tests' directory

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=618128

http://bugzilla.novell.com/show_bug.cgi?id=618128#c1


Zoltan Varga var...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||var...@gmail.com
 Resolution||FIXED

--- Comment #1 from Zoltan Varga var...@gmail.com 2010-07-01 02:29:54 UTC ---
This test has been disabled in mono SVN HEAD, but its not an installation
problem, make install will not touch it.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 618539] Using if (expression) when expression overloads the true and false operators causes internal compiler error

2010-06-30 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=618539

http://bugzilla.novell.com/show_bug.cgi?id=618539#c2


Dale Ragan dale.ra...@sinesignal.com changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
   InfoProvider|dale.ra...@sinesignal.com   |

--- Comment #2 from Dale Ragan dale.ra...@sinesignal.com 2010-07-01 03:08:52 
UTC ---
Grabbed latest from trunk, recompiled and now I am receiving a:

Cannot implicitly convert type `GitSharp.Core.Util.NestedDictionaryK,V' to
`bool' (CS0029)

Here's the output of running mono -V:

[mono] ~/ @ mono -V
Mono JIT compiler version 2.7 (/trunk/mono r159754 Wed Jun 30 22:31:32 EDT
2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS:   __thread
SIGSEGV:   altstack
Notifications: epoll
Architecture:  amd64
Disabled:  none
Misc:  debugger softdebug 
LLVM:  supported, not enabled.
GC:Included Boehm (with typed GC and Parallel Mark)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 616029] Cleaning up domain with async socket crashes mono

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=616029

http://bugzilla.novell.com/show_bug.cgi?id=616029#c


Levi Bard taktaktaktaktaktaktaktaktak...@gmail.com changed:

   What|Removed |Added

 CC||taktaktaktaktaktaktaktaktak
   ||t...@gmail.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 484623] Columns[0].Frozen not supported in DataGridView

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=484623

http://bugzilla.novell.com/show_bug.cgi?id=484623#c6


--- Comment #6 from chique damien damien.chi...@tec-wl.be 2010-07-01 07:13:13 
UTC ---
Test with Monodevelop 2.4, dont work

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 575600] MapPath() does not work for virtual directories outside of the current application

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=575600

http://bugzilla.novell.com/show_bug.cgi?id=575600#c


Marek Habersack mhabers...@novell.com changed:

   What|Removed |Added

  Component|System  |Sys.Web

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 484623] Columns[0].Frozen not supported in DataGridView

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=484623

http://bugzilla.novell.com/show_bug.cgi?id=484623#c7


--- Comment #7 from Thomas Goldstein st...@free.fr 2010-07-01 07:48:34 UTC ---
(In reply to comment #6)
 Test with Monodevelop 2.4, dont work

The IDE doesn't make a difference. It's the System.Windows.Forms.dll that
matters, which varies along with the Mono version. MonoDevelop can run on
multiple framework versions, including .NET on Windows (which would naturally
not show this bug), so it's irrelevant.

Anyway, when it's fixed, it'll be stated here and the bug will be marked as
resolved. Until then, don't expect it to work.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 583934] WebRequest.get_CachePolicy throws NIEX

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=583934

http://bugzilla.novell.com/show_bug.cgi?id=583934#c4


--- Comment #4 from Marek Habersack mhabers...@novell.com 2010-07-01 09:59:40 
CEST ---
Committed the workaround in r159758 (trunk) and r159759 (2.6 branch). Leaving
the bug open, though.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 616463] SIGSEGV in common_call_trampoline (with test case)

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=616463

http://bugzilla.novell.com/show_bug.cgi?id=616463#c11


--- Comment #11 from Piotr Wysocki piotr.wyso...@secpl.cs.put.poznan.pl 
2010-07-01 08:29:08 UTC ---
I patch mono-2-6 branch with `svn di -r 159577:159578 trunk/mono` and despite
the fact that the patch was not perfectly cleanly applied (but the code itself
was patched ok, IMHO), it works now ok for me.
Please apply the patch to the mono-2-6 branch.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619152] New: SQL Server timestamp column not supported

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619152

http://bugzilla.novell.com/show_bug.cgi?id=619152#c0


   Summary: SQL Server timestamp column not supported
Classification: Mono
   Product: Mono: Class Libraries
   Version: 2.6.x
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Major
  Priority: P5 - None
 Component: Sys.Data.SqlClient
AssignedTo: mono-bugs@lists.ximian.com
ReportedBy: german.lato...@twindocs.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


Description of Problem:

timestamp type is not supported in GetSize() method in TdsMetaParameter
class.

When executing a stored procedure that has a timestamp input parameter, it
throws the following error:

System.NotSupportedException: Unknown Type : timestamp
  at Mono.Data.Tds.TdsMetaParameter.GetMetaType () [0x0] 
  at Mono.Data.Tds.Protocol.Tds70.WriteParameterInfo
(Mono.Data.Tds.TdsMetaParameter param) [0x0] 
  at Mono.Data.Tds.Protocol.Tds70.ExecRPC (System.String rpcName,
Mono.Data.Tds.TdsMetaParameterCollection parameters, Int32 timeout, Boolean
wantResults) [0x0] 
  at Mono.Data.Tds.Protocol.Tds70.ExecProc (System.String commandText,
Mono.Data.Tds.TdsMetaParameterCollection parameters, Int32 timeout, Boolean
wantResults) [0x0] 
  at System.Data.SqlClient.SqlCommand.Execute (Boolean wantResults) [0x0] 
  at System.Data.SqlClient.SqlCommand.ExecuteReader (CommandBehavior behavior)
[0x0]

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617228] SDB: Using MethodCall.Invoke() to invoke a method containing null reference

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617228

http://bugzilla.novell.com/show_bug.cgi?id=617228#c6


--- Comment #6 from Martin Baulig mar...@novell.com 2010-07-01 12:45:20 UTC 
---
Update:
I have a patch for Windows (tested with the testcase from comment #2) and
Linux/x64 (compiles, still untested).

I'll clean it up a bit, write ChangeLogs, test with BlogEngine.NET on both
Windows and Linux and then attach the patch.  Should be ready in about 1-2
hours.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 580867] Events in nested class of generic class inaccessible

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=580867

http://bugzilla.novell.com/show_bug.cgi?id=580867#c1


Marek Safar msa...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||msa...@novell.com
 Resolution||FIXED

--- Comment #1 from Marek Safar msa...@novell.com 2010-07-01 14:02:33 UTC ---
Fixed in trunk.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619192] New: gmcs generates unverifiable code for a null coalescing expression involving generic parameters

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619192

http://bugzilla.novell.com/show_bug.cgi?id=619192#c0


   Summary: gmcs generates unverifiable code for a null coalescing
expression involving generic parameters
Classification: Mono
   Product: Mono: Compilers
   Version: 2.6.x
  Platform: x86-64
OS/Version: openSUSE 11.2
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: C#
AssignedTo: mono-bugs@lists.ximian.com
ReportedBy: rodrigobam...@gmail.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.1
(KHTML, like Gecko) Chrome/6.0.427.0 Safari/534.1

gmcs generates unverifiable code for the following valid c# program:

public static class CoalescingWithGenericsBug
{
class Service { public void Foo() {} }

static void Main(string[] args)
{
ProvideService().Foo();
}

static T ProvideT() where T: class
{
return FindExistingT() ?? System.Activator.CreateInstanceT();
}

static T FindExistingT() where T: class
{
return null;
}
}

'pedump --verify code' complains with:

In method: CoalescingWithGenericsBug::Provide()
Not Verifiable: Argument type Complex not valid for brtrue/brfalse at 0x0006

It turns out gmcs is missing a 'box !! T' before the brtrue instruction
indicated above.

Reproducible: Always

Steps to Reproduce:
1. save the c# code to CoalescingWithGenericsBug.cs
2. gmcs CoalescingWithGenericsBug.cs  pedump --verify code
CoalescingWithGenericsBug.exe

3.
Actual Results:  
In method: CoalescingWithGenericsBug::Provide()
Not Verifiable: Argument type Complex not valid for brtrue/brfalse at 0x0006

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 603378] sharing the SafeFileHandle from FileStream does not behave like Microsoft's .NET FileStream

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=603378

http://bugzilla.novell.com/show_bug.cgi?id=603378#c4


Adam Amitai adam.ami...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
   InfoProvider|adam.ami...@gmail.com   |

--- Comment #4 from Adam Amitai adam.ami...@gmail.com 2010-07-01 14:59:25 UTC 
---
Created an attachment (id=373265)
 -- (http://bugzilla.novell.com/attachment.cgi?id=373265)
The currect test case and patch

I did check again, and i found out that the test case did not reflect the bug,
And the fix did not fix it.

though those are the correct files.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617228] SDB: Using MethodCall.Invoke() to invoke a method containing null reference

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617228

http://bugzilla.novell.com/show_bug.cgi?id=617228#c7


--- Comment #7 from Martin Baulig mar...@novell.com 2010-07-01 15:12:30 UTC 
---
Created an attachment (id=373269)
 -- (http://bugzilla.novell.com/attachment.cgi?id=373269)
Patch.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617228] SDB: Using MethodCall.Invoke() to invoke a method containing null reference

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617228

http://bugzilla.novell.com/show_bug.cgi?id=617228#c8


--- Comment #8 from Zoltan Varga var...@gmail.com 2010-07-01 15:33:07 UTC ---
Looks ok, just put the windows specific stuff into a #ifdef TARGET_WIN32 in
mono_arch_handle_exception (), since !defined(MONO_ARCH_HAVE_SIGACTION) does
not imply windows, it could be BSD/solaris etc.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619224] New: xsd creates FieldSpecified different than microsofts xsd

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619224

http://bugzilla.novell.com/show_bug.cgi?id=619224#c0


   Summary: xsd creates FieldSpecified different than microsofts
xsd
Classification: Mono
   Product: Mono: Compilers
   Version: 2.6.x
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: XSD
AssignedTo: atsu...@ximian.com
ReportedBy: josef.semm...@gmail.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2)
Gecko/20100115 Firefox/3.6

When you have a schema with an optional attribute, like this:
..
xsd:attribute name=subId type=xsd:unsignedInt use=optional/
..

and create c# classes out of this using xsd, the microsoft version of xsd
creates:
 private uint subIdField;
 private bool subIdFieldSpecified;

where the mono version creates:
 private uint subIdField;
 private bool subIdSpecifiedField;

So mono does not just append Specified, but also changes the order ...
This makes it almost impossible to port code ...


Reproducible: Always

Steps to Reproduce:
1. take any schema using a optional attribute
2. translate the schema to a class
3.
Actual Results:  
 private bool SpecifiedField;

(where  is an optional field)

Expected Results:  
 private bool FieldSpecified;

(where  is an optional field)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619228] New: Compiler fails with error on valid code

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619228

http://bugzilla.novell.com/show_bug.cgi?id=619228#c0


   Summary: Compiler fails with error on valid code
Classification: Mono
   Product: Mono: Compilers
   Version: SVN
  Platform: All
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: C#
AssignedTo: mono-bugs@lists.ximian.com
ReportedBy: d...@houmus.org
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.2 (KHTML, like Gecko) Chrome/6.0.447.0 Safari/534.2

using System;
using System.Runtime.InteropServices;

  internal unsafe struct Header
  {
public fixed byte Sha1Signature[20];

public static Header Default
{
  get
  {
Header v;
for (var i = 0; i  20; i++)
  v.Sha1Signature[i] = 0xCC;
return v;
  }
}
  }

when this code is compiled with:
gmcs -unsafe -out:x.dll -t:library b.cs

The compiler reports:
error CS0165: Use of unassigned local variable `v'


As you can see from the code, v is fully assigned/initialized.


Reproducible: Always

Steps to Reproduce:
1. Download the code to b.cs
2. Compile
3. Profit!
Actual Results:  
Compiler Error

Expected Results:  
Compiler Success!

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617228] SDB: Using MethodCall.Invoke() to invoke a method containing null reference

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617228

http://bugzilla.novell.com/show_bug.cgi?id=617228#c9


--- Comment #9 from Martin Baulig mar...@novell.com 2010-07-01 16:09:48 UTC 
---
Fixed in SVN: r159782 in mono-2-6-branch/mono.

The Windows part of this still needs to be applied to trunk; leaving this bug
open till I've done that.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 583386] DesignSurface doesn't accept to drop controls on it

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=583386

http://bugzilla.novell.com/show_bug.cgi?id=583386#c2


Ivan Zlatev i...@ivanz.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||i...@ivanz.com
 Resolution|WONTFIX |
 AssignedTo|mono-bugs@lists.ximian.com  |i...@ivanz.com

--- Comment #2 from Ivan Zlatev i...@ivanz.com 2010-07-01 16:17:43 UTC ---
DesignSurface is implemented and I will take a look at this bug when I have the
time for it.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 616463] SIGSEGV in common_call_trampoline (with test case)

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=616463

http://bugzilla.novell.com/show_bug.cgi?id=616463#c12


Mark Probst mpro...@novell.com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #12 from Mark Probst mpro...@novell.com 2010-07-01 20:04:19 UTC 
---
Backported to 2.6 (r159795).

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619300] New: [verifier] fails to validate deeply nested generator accessing sibling nested private class

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619300

http://bugzilla.novell.com/show_bug.cgi?id=619300#c0


   Summary: [verifier] fails to validate deeply nested generator
accessing sibling nested private class
Classification: Mono
   Product: Mono: Runtime
   Version: 2.6.x
  Platform: x86-64
OS/Version: openSUSE 11.2
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: verifier
AssignedTo: rkump...@novell.com
ReportedBy: rodrigobam...@gmail.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.1
(KHTML, like Gecko) Chrome/6.0.427.0 Safari/534.1

The verifier fails on the assembly generated from the following valid c#
program:

class DeeplyNestedGeneratorUsingSiblingPrivateClass
{
private class Foo { public string Bar { get; set; } }

private class Deeply
{
private class Nested
{
System.Collections.Generic.IEnumerableFoo Generator()
{
yield return new Foo { Bar = blah };
}
}
}

static void Main(string[] args)
{
}
}

MS's peverify accepts the gmcs compiled assembly gladly.

Reproducible: Always

Steps to Reproduce:
1. save the provided the c# code to
DeeplyNestedGeneratorUsingSiblingPrivateClass.cs
2. gmcs DeeplyNestedGeneratorUsingSiblingPrivateClass.cs  MONO_PATH=. pedump
--verify code DeeplyNestedGeneratorUsingSiblingPrivateClass.exe
Actual Results:  
In method:
DeeplyNestedGeneratorUsingSiblingPrivateClass/Deeply/Nested/Generatorc__Iterator0::MoveNext()
Not Verifiable: Method
DeeplyNestedGeneratorUsingSiblingPrivateClass/Foo:set_Bar (string) is not
accessible at 0x002e
Not Verifiable: Constructor
DeeplyNestedGeneratorUsingSiblingPrivateClass/Foo:.ctor () not visible from
DeeplyNestedGeneratorUsingSiblingPrivateClass/Deeply/Nested/Generatorc__Iterator0:MoveNext
() at 0x0022

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619325] New: Inconsistent execution of ViewWillAppear event

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619325

http://bugzilla.novell.com/show_bug.cgi?id=619325#c0


   Summary: Inconsistent execution of ViewWillAppear event
Classification: Mono
   Product: MonoTouch
   Version: unspecified
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Runtime
AssignedTo: gnor...@novell.com
ReportedBy: rickgr...@mac.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6

ViewWillAppear event fired each time I loaded a subview, until I added a View
Controller to the main view and then added subviews to that controller.
Original design just had a window.MakeKeyAndVisible (); in the main because I
did not support rotation. Added a ViewController to the mainWindow definition
and loaded subviews with,
this.mainViewController.View.AddSubview(subView.View);. At that point the
delegates defined in the ViewWillAppear event in the subviews stopped working.

Problem resolved by adding a ViewDidLoaded override and moving delegates to
that event.

I'm not sure if this is a documentation issue or a bug. Either way it lead to
hours of frustration.

Reproducible: Always

Steps to Reproduce:
1.Add ViewController to mainView and place delegates in ViewWillAppear
2.
3.
Actual Results:  
No control delegates

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619344] New: Too many files open when running automation for a short time

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619344

http://bugzilla.novell.com/show_bug.cgi?id=619344#c0


   Summary: Too many files open when running automation for a
short time
Classification: Mono
   Product: Mono: Class Libraries
   Version: 2.6.x
  Platform: x86-64
OS/Version: Mac OS X 10.5
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Sys.Web
AssignedTo: mhabers...@novell.com
ReportedBy: mchristen...@novell.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: Component Test
   Blocker: ---


Mono-2.6.6 rc1

When running automation against mono-2.6.6 rc1 on MacOSX, after about 50 of the
70 or so tests have run, they start failing with the following error:

Server Error in '/' Application
Too many open files

Description: HTTP 500. Error processing request.

Stack Trace:

System.IO.IOException: Too many open files
  at System.IO.Directory.GetFileSystemEntries (System.String path,
System.String searchPattern, FileAttributes mask, FileAttributes attrs)
[0x0] in filename unknown:0 
  at System.IO.Directory.GetFiles (System.String path, System.String
searchPattern) [0x0] in filename unknown:0 
  at System.Web.HttpApplication.get_BinDirectoryAssemblies () [0x0] in
filename unknown:0 
  at System.Web.UI.TemplateParser.AddAssembliesInBin () [0x0] in filename
unknown:0 
  at System.Web.UI.TemplateParser..ctor () [0x0] in filename unknown:0 
  at System.Web.UI.TemplateControlParser..ctor () [0x0] in filename
unknown:0 
  at System.Web.UI.UserControlParser..ctor (System.String virtualPath,
System.String inputFile, System.Web.HttpContext context, System.String type)
[0x0] in filename unknown:0 
  at System.Web.UI.UserControlParser..ctor (System.String virtualPath,
System.String inputFile, System.Collections.ArrayList deps,
System.Web.HttpContext context) [0x0] in filename unknown:0 
  at System.Web.UI.UserControlParser.GetCompiledType (System.String
virtualPath, System.String inputFile, System.Collections.ArrayList deps,
System.Web.HttpContext context) [0x0] in filename unknown:0 
  at System.Web.UI.TemplateParser.RegisterCustomControl (System.String
tagPrefix, System.String tagName, System.String src) [0x0] in filename
unknown:0 
  at System.Web.UI.TemplateControlParser.AddDirective (System.String directive,
IDictionary atts) [0x0] in filename unknown:0 
  at System.Web.Compilation.AspGenerator.TagParsed (ILocation location, TagType
tagtype, System.String tagid, System.Web.Compilation.TagAttributes attributes)
[0x0] in filename unknown:0 
  at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype,
System.String id, System.Web.Compilation.TagAttributes attributes) [0x0] in
filename unknown:0 
  at System.Web.Compilation.AspParser.Parse () [0x0] in filename
unknown:0 
  at System.Web.Compilation.AspGenerator.Parse (System.IO.TextReader reader,
System.String filename, Boolean doInitParser) [0x0] in filename unknown:0 
  at System.Web.Compilation.AspGenerator.Parse (System.String filename, Boolean
doInitParser) [0x0] in filename unknown:0 
  at System.Web.Compilation.AspGenerator.Parse (System.String file) [0x0]
in filename unknown:0 
  at System.Web.Compilation.AspGenerator.Parse () [0x0] in filename
unknown:0 
  at System.Web.Compilation.AspGenerator.GetCompiledType () [0x0] in
filename unknown:0 
  at System.Web.UI.PageParser.CompileIntoType () [0x0] in filename
unknown:0 
  at System.Web.UI.TemplateControlParser.GetCompiledInstance () [0x0] in
filename unknown:0 
  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
virtualPath, System.String inputFile, System.Web.HttpContext context) [0x0]
in filename unknown:0 
  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext
context, System.String requestType, System.String url, System.String path)
[0x0] in filename unknown:0 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url, Boolean ignoreContextHandler) [0x0] in filename
unknown:0 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x0] in filename unknown:0 
  at System.Web.HttpApplication+Pipelinec__Iterator1.MoveNext () [0x0] in
filename unknown:0 

Version information: Mono Runtime Version: 2.6.6 (tarball Mon Jun 28 16:58:40
MDT 2010); ASP.NET Version: 1.1.4322.2032

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619344] Too many files open when running automation for a short time

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619344

http://bugzilla.novell.com/show_bug.cgi?id=619344#c1


--- Comment #1 from Marc Christensen mchristen...@novell.com 2010-07-01 
22:28:00 UTC ---
Unfortunately, while this happened several times, I configured it to run in
debug mode by setting

configuration
  compilation debug=true /
/configuration

in the web.config file and starting XSP as follows:

MONO_OPTIONS=--debug xsp2

After I did this, I was no longer able to reproduce the error, even after the
changes were removed and XSP was started normally.

I'll continue to try to get it to happen again.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 605033] program crashes if the App.conf contains the sharedListeners section.

2010-07-01 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=605033

http://bugzilla.novell.com/show_bug.cgi?id=605033#c


Peter Bukva matrixcrui...@gmail.com changed:

   What|Removed |Added

   Priority|P2 - High   |P1 - Urgent
Blocker|No  |Yes
   Target Milestone|--- |2.6.x
   Severity|Major   |Critical

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 616739] [PATCH] Context menu items activated by key shortcut when menu not visible

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=616739

http://bugzilla.novell.com/show_bug.cgi?id=616739#c2


Carlos Alberto Cortez calberto.cor...@gmail.com changed:

   What|Removed |Added

 CC||calberto.cor...@gmail.com

--- Comment #2 from Carlos Alberto Cortez calberto.cor...@gmail.com 
2010-07-02 10:08:45 UTC ---
Hey Dick! The patch looks good, feel free to commit. Thanks!

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 616432] [PATCH] images in a ListView Header align top-left not center-left like .NET

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=616432

http://bugzilla.novell.com/show_bug.cgi?id=616432#c6


Carlos Alberto Cortez calberto.cor...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||calberto.cor...@gmail.com
 Resolution||FIXED

--- Comment #6 from Carlos Alberto Cortez calberto.cor...@gmail.com 
2010-07-02 10:56:03 UTC ---
Commited your patch with a tiny change in the style - rev 159805. Thanks!

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 360820] Invalid (?) CS0545 error -- hiding accessors from grandparent

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=360820

http://bugzilla.novell.com/show_bug.cgi?id=360820#c3


Marek Safar msa...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||msa...@novell.com
 Resolution||FIXED

--- Comment #3 from Marek Safar msa...@novell.com 2010-07-02 11:18:39 UTC ---
Fixed in trunk

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619228] [Flow-analysis] Compiler fails with error on valid code

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619228

http://bugzilla.novell.com/show_bug.cgi?id=619228#c


Marek Safar msa...@novell.com changed:

   What|Removed |Added

 CC||msa...@novell.com
Summary|Compiler fails with error   |[Flow-analysis] Compiler
   |on valid code   |fails with error on valid
   ||code

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 516575] TestVirtualProp.Class3.Prop.set': cannot override because `TestVirtualProp.Class2.Prop' does not have an overridable set accessor(CS0546)

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=516575

http://bugzilla.novell.com/show_bug.cgi?id=516575#c2


Marek Safar msa...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||msa...@novell.com
 Resolution||DUPLICATE

--- Comment #2 from Marek Safar msa...@novell.com 2010-07-02 11:25:52 UTC ---
.

*** This bug has been marked as a duplicate of bug 360820 *** 
http://bugzilla.novell.com/show_bug.cgi?id=360820

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 360820] Invalid (?) CS0545 error -- hiding accessors from grandparent

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=360820

http://bugzilla.novell.com/show_bug.cgi?id=360820#c4


Marek Safar msa...@novell.com changed:

   What|Removed |Added

 CC||dalss...@gmail.com

--- Comment #4 from Marek Safar msa...@novell.com 2010-07-02 11:25:52 UTC ---
*** Bug 516575 has been marked as a duplicate of this bug. *** 
http://bugzilla.novell.com/show_bug.cgi?id=516575

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 360455] (g)mcs erroneously raises x is never used warning CS0067 with public events

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=360455

http://bugzilla.novell.com/show_bug.cgi?id=360455#c11


Marek Safar msa...@novell.com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #11 from Marek Safar msa...@novell.com 2010-07-02 11:28:05 UTC ---
Fixed in trunk.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 477503] DebuggableAttribute emission

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=477503

http://bugzilla.novell.com/show_bug.cgi?id=477503#c


Marek Safar msa...@novell.com changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
   InfoProvider||aaragone...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619534] New: Message filter using BeforeSendReply from IDispatchMessageInspector does not work as in Microsoft NET Framework

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619534

http://bugzilla.novell.com/show_bug.cgi?id=619534#c0


   Summary: Message filter using BeforeSendReply from
IDispatchMessageInspector does not work as in
Microsoft NET Framework
Classification: Mono
   Product: Mono: Class Libraries
   Version: 2.6.x
  Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: NEW
  Severity: Major
  Priority: P5 - None
 Component: WCF
AssignedTo: atsu...@ximian.com
ReportedBy: clovis.ribe...@myabcm.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us)
AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16

If you create a message filter using IDispatchMessageInspector interface
implementing BeforeSendReply and decide to completely replace the message
inside, Mono ignores the replaced message.
Example:

If you write a message handler like the one below, the new message added to
reply is ignored.
public void BeforeSendReply(ref System.ServiceModel.Channels.Message reply,
object correlationState)'
 {
  reply = Message.CreateMessage(reply.Version, reply.Headers.Action,
String.Empty);
 }

After looking at Mono sources, file MessageProcessingContext.cs, I realized
there is an error in BeforeSendReply() (line 125) that is not updating the
ReplyMessage after calling the message inspectors. I fixed the code by doing
the following:

public void BeforeSendReply ()
{
Message toBeChanged = request_context.ReplyMessage;
for (int i = 0; i  dispatch_runtime.MessageInspectors.Count; ++i)
dispatch_runtime.MessageInspectors [i].BeforeSendReply (ref
toBeChanged, msg_inspectors_states [i]);
request_context.ReplyMessage = toBeChanged;
}

Note that I only added an extra line to write the toBeChanged back to
request_context.ReplyMessage.

This is exactly what is already being done in AfterReceiveRequest().

My final point here is: although we have not tested yet because we are using
only one message filter, I believe you should add the
request_context.ReplyMessage = toBeChanged inside the for() loop. If you don't
do that, only the last inspector will work correctly. I say that for
BeforeSendReply() AND AfterReceiveRequest().

Hope this helps and feel free to contact me as I have been digging inside this
code for awhile.



Reproducible: Always

Steps to Reproduce:
Create a message inspector by implementing
IDispatchMessageInspector.BeforeSendReply() and completely replace the reply
message inside BeforeSendReply()
Actual Results:  
The new message is ignored.

Expected Results:  
The new message should be sent back to the client.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 569543] SqlClient using Guid in parameter

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=569543

http://bugzilla.novell.com/show_bug.cgi?id=569543#c8


--- Comment #8 from Mikkel Johnsen mik...@linet.dk 2010-07-02 13:11:29 UTC ---
When will this be fixed. Can't hold back on using Mono 2.6 any more.

Is there a work around, beside not using parameters ?

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619542] New: webHttpBinging is generating wrong responses for methods that return a Stream

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619542

http://bugzilla.novell.com/show_bug.cgi?id=619542#c0


   Summary: webHttpBinging is generating wrong responses for
methods that return a Stream
Classification: Mono
   Product: Mono: Class Libraries
   Version: 2.6.x
  Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: NEW
  Severity: Major
  Priority: P5 - None
 Component: WCF
AssignedTo: atsu...@ximian.com
ReportedBy: clovis.ribe...@myabcm.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us)
AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16

If you write a code like the one below and implement the service, the Microsoft
NET Framework webHttpBinding will understand that you don't want to have the
serialized stream serialized but simply the contents of the stream itself
serialized!

[ServiceContract]
public interface IClientAccessPolicy
{
[OperationContract, WebGet(UriTemplate = /clientaccesspolicy.xml)]
Stream GetClientAccessPolicy();
}

Our implementation of GetClientAccessPolicy() is doing the following:

[OperationBehavior]
public Stream GetClientAccessPolicy()
{
#region Definition dinamic of ClientAccessPolicy.xml file

const string result = @?xml version=1.0 encoding=utf-8?
access-policy
cross-domain-access
policy
allow-from
http-request-headers=*
domain uri=http://*/
domain uri=https://*/
/allow-from
grant-to
resource path=/
include-subpaths=true/
/grant-to
/policy
/cross-domain-access
/access-policy;

#endregion

if (WebOperationContext.Current != null)
WebOperationContext.Current.OutgoingResponse.ContentType =
application/xml;
return new MemoryStream(Encoding.UTF8.GetBytes(result));
}

In Windows (NET Framework) this returns the exact XML code back to the browser,
but in Mono, it returns the Stream object itself serialized.

In short, when getting a method that returns a Stream and is decorated with
WebGetAttribute, the serializer should simply return the stream contents
instead of the serialized stream.

I know this is a bit weird but this is the way Microsoft .NET Works.

Reproducible: Always

Steps to Reproduce:
You can test a code like the one below in MS.NET and Mono (I got this simple
example at http://forums.silverlight.net/forums/p/22952/81273.aspx):

// define the service contract
[ServiceContract]
public interface IFileHost
{
[OperationContract, WebGet(UriTemplate = Files/{filename})]
Stream Files(string filename);
}

// implement the service contract
public class Service : IFileHost
{

public Stream Files(string filename)
{
Stream stream = (Stream)new FileStream(filename, FileMode.Open);

//Set the correct context type for the file requested.
int extIndex = filename.LastIndexOf(.);
string extension = filename.Substring(extIndex, filename.Length -
extIndex);
switch(extension)
{
case .html:
case .htm:
WebOperationContext.Current.OutgoingResponse.ContentType =
text/html;
break;
case .xap:
WebOperationContext.Current.OutgoingResponse.ContentType =
application/x-silverlight-2-b2;
break;
default:
throw(new ApplicationException(File type not supported));
}

return stream;
}

}

class Program
{
static void Main(string[] args)
{
string baseAddress = http://; + Environment.MachineName +
:8000/Service;
ServiceHost host = new ServiceHost(typeof(Service), new
Uri(baseAddress));
host.AddServiceEndpoint(typeof(IFileHost), new WebHttpBinding(),
).Behaviors.Add(new WebHttpBehavior());
host.Open();
Console.WriteLine(Service is running);
Console.Write(Press ENTER to close the host);
Console.ReadLine();
host.Close();

}
}
Actual Results:  
The result in Mono will be a corrupted 

[Mono-bugs] [Bug 619555] New: Operator error

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619555

http://bugzilla.novell.com/show_bug.cgi?id=619555#c0


   Summary: Operator error
Classification: Mono
   Product: Mono: Runtime
   Version: SVN
  Platform: 64bit
OS/Version: RHEL 5
Status: NEW
  Severity: Major
  Priority: P5 - None
 Component: misc
AssignedTo: mono-bugs@lists.ximian.com
ReportedBy: srfcan...@hotmail.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; MS-RTC LM 8)

the error seems to have appeared in the last couple days checkins. The given
test class doesnt compile on mono but does on windows and used to compile on
mono a few days ago.

1. Test Class:
using System;
using System.Collections.Generic;

namespace Test
{
   internal struct TestClass4T  : IEquatableTestClass4T, IEquatableT,
IEqualityComparerTestClass4T where T : class
   {
  public bool Equals(T obj)
  {
 return true;
  }

  public bool Equals(TestClass4T entry)
  {
 return true;
  }

  public bool Equals(TestClass4T x, TestClass4T y)
  {
 return x.Equals(y);
  }

  public int GetHashCode(TestClass4T obj)
  {
 return obj.GetHashCode();
  }

  public override int GetHashCode()
  {
 return 1;
  }

  public override bool Equals(object obj)
  {
 return false;
  }

  public static bool operator ==(TestClass4T entry1, TestClass4T
entry2)
  {
 return entry1.Equals(entry2);
  }

  public static bool operator ==(T entry1, TestClass4T entry2)
  {
 return entry2.Equals(entry1);
  }

  public static bool operator ==(TestClass4T entry1, T entry2)
  {
 return entry1.Equals(entry2);
  }

  public static bool operator ==(object entry1, TestClass4T entry2)
  {
 return entry2.Equals(entry1);
  }

  public static bool operator ==(TestClass4T entry1, object entry2)
  {
 return entry1.Equals(entry2);
  }

  public static bool operator !=(TestClass4T entry1, TestClass4T
entry2)
  {
 return !(entry1 == entry2);
  }

  public static bool operator !=(T entry1, TestClass4T entry2)
  {
 return !(entry1 == entry2);
  }

  public static bool operator !=(TestClass4T entry1, T entry2)
  {
 return !(entry1 == entry2);
  }

  public static bool operator !=(object entry1, TestClass4T entry2)
  {
 return !(entry1 == entry2);
  }

  public static bool operator !=(TestClass4T entry1, object entry2)
  {
 return !(entry1 == entry2);
  }
   }
}


2. compile it:
gmcs /targe:library test4.cs

3. generates this error on mono:
test4.cs(65,26): error CS0019: Operator `==' cannot be applied to operands of
type `Test.TestClass4T' and `Test.TestClass4T'
test4.cs(70,26): error CS0019: Operator `==' cannot be applied to operands of
type `T' and `Test.TestClass4T'
test4.cs(75,26): error CS0019: Operator `==' cannot be applied to operands of
type `Test.TestClass4T' and `T'
test4.cs(80,26): error CS0019: Operator `==' cannot be applied to operands of
type `object' and `Test.TestClass4T'
test4.cs(85,26): error CS0019: Operator `==' cannot be applied to operands of
type `Test.TestClass4T' and `object'
Compilation failed: 5 error(s), 0 warnings


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619555] Operator error

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619555

http://bugzilla.novell.com/show_bug.cgi?id=619555#c


Marek Safar msa...@novell.com changed:

   What|Removed |Added

 CC||msa...@novell.com
  Component|misc|C#
Product|Mono: Runtime   |Mono: Compilers

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619555] Operator error

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619555

http://bugzilla.novell.com/show_bug.cgi?id=619555#c


scott fluto srfcan...@hotmail.com changed:

   What|Removed |Added

 CC||srfcan...@hotmail.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619542] webHttpBinging is generating wrong responses for methods that return a Stream

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619542

http://bugzilla.novell.com/show_bug.cgi?id=619542#c1


Atsushi Enomoto aenom...@novell.com changed:

   What|Removed |Added

   Severity|Major   |Minor

--- Comment #1 from Atsushi Enomoto aenom...@novell.com 2010-07-02 16:20:43 
UTC ---
lower priority for weird hack.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619534] Message filter using BeforeSendReply from IDispatchMessageInspector does not work as in Microsoft NET Framework

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619534

http://bugzilla.novell.com/show_bug.cgi?id=619534#c1


Atsushi Enomoto aenom...@novell.com changed:

   What|Removed |Added

   Severity|Major   |Normal

--- Comment #1 from Atsushi Enomoto aenom...@novell.com 2010-07-02 16:27:30 
UTC ---
stop inflating importance.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619534] Message filter using BeforeSendReply from IDispatchMessageInspector does not work as in Microsoft NET Framework

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619534

http://bugzilla.novell.com/show_bug.cgi?id=619534#c2


Atsushi Enomoto aenom...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #2 from Atsushi Enomoto aenom...@novell.com 2010-07-02 16:28:28 
UTC ---
Applied your suggested fix in svn (r159820). Thanks.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619534] Message filter using BeforeSendReply from IDispatchMessageInspector does not work as in Microsoft NET Framework

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619534

http://bugzilla.novell.com/show_bug.cgi?id=619534#c3


Clovis Ribeiro clovis.ribe...@myabcm.com changed:

   What|Removed |Added

 CC||clovis.ribe...@myabcm.com

--- Comment #3 from Clovis Ribeiro clovis.ribe...@myabcm.com 2010-07-02 
16:52:39 UTC ---
(In reply to comment #1)
 stop inflating importance.

Thanks for your quick response and nice job on WCF/Mono. I will better set the
importance if we find other bugs.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 609935] Insert into Sqlserver nvarchar(max) fields truncates data 4000 characters

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609935

http://bugzilla.novell.com/show_bug.cgi?id=609935#c


Veerapuram Varadhan vvarad...@novell.com changed:

   What|Removed |Added

 AssignedTo|mono-bugs@lists.ximian.com  |vvarad...@novell.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 569543] SqlClient using Guid in parameter

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=569543

http://bugzilla.novell.com/show_bug.cgi?id=569543#c9


--- Comment #9 from Veerapuram Varadhan vvarad...@novell.com 2010-07-02 
18:05:31 UTC ---
Fix will be committed today and I will attach the corresponding patch for 2.6.x
branch as well.  Really sorry for the delay in fixing this issue.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619658] UIActionSheet causes crash

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619658

http://bugzilla.novell.com/show_bug.cgi?id=619658#c


Michael Hutchinson mhutchin...@novell.com changed:

   What|Removed |Added

  Component|IPhone add-in   |Runtime
Version|2.4 |unspecified
 AssignedTo|mhutchin...@novell.com  |gnor...@novell.com
Product|MonoDevelop |MonoTouch
  QAContact|monodevelop-b...@lists.ximi |mono-bugs@lists.ximian.com
   |an.com  |

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619658] UIActionSheet causes crash

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619658

http://bugzilla.novell.com/show_bug.cgi?id=619658#c


Michael Hutchinson mhutchin...@novell.com changed:

   What|Removed |Added

 CC||mhutchin...@novell.com
  Component|Runtime |Class Libraries

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619658] UIActionSheet causes crash

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619658

http://bugzilla.novell.com/show_bug.cgi?id=619658#c1


Geoff Norton gnor...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #1 from Geoff Norton gnor...@novell.com 2010-07-02 20:45:04 UTC 
---
You are letting the UIActionSheet get garbage ocllected as soon as you return
from Purge (), but you are telling objc to call back on it to
HandleActionSheetClicked.  Keep a reference to the UIActionSheet until you have
dismissed it / or the user does.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619658] UIActionSheet causes crash

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619658

http://bugzilla.novell.com/show_bug.cgi?id=619658#c2


--- Comment #2 from Neal Culiner n...@nc-software.com 2010-07-02 20:51:12 UTC 
---
Can you provide suggested code as I'm not sure I'm following or agree with your
comment.  This is the code I've always used and it works fine on the device,
just not the SIM now in 3.0.10.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619658] UIActionSheet causes crash

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619658

http://bugzilla.novell.com/show_bug.cgi?id=619658#c3


--- Comment #3 from Geoff Norton gnor...@novell.com 2010-07-02 20:56:05 UTC 
---
The code never worked fine, you just got lucky because a GC didn't happen.

public class Foo {
  UIActionSheet sheet;

  private void Show () {
  sheet = new UIActionSheet (...);
  sheet.Dismissed += delegate { sheet = null; }
  }
}

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619658] UIActionSheet causes crash

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619658

http://bugzilla.novell.com/show_bug.cgi?id=619658#c4


--- Comment #4 from Neal Culiner n...@nc-software.com 2010-07-02 21:05:20 UTC 
---
I tried your code and it still crashes the simulator

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619658] UIActionSheet causes crash

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619658

http://bugzilla.novell.com/show_bug.cgi?id=619658#c5


--- Comment #5 from Geoff Norton gnor...@novell.com 2010-07-02 21:07:23 UTC 
---
Then you are also letting the container crash get collected.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 605340] Unexpected exception on calling String.LastIndexOf on empty strings with startIndex=-1

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=605340

http://bugzilla.novell.com/show_bug.cgi?id=605340#c1


--- Comment #1 from Matthew Smit zap...@hotmail.com 2010-07-03 00:37:17 UTC 
---
This should do it. Haven't had a chance to fully run tests on it yet.

Index:
String.cs===
--- String.cs(revision 158670)
+++ String.cs(working copy)  
public int LastIndexOf (string value, StringComparison comparisonType)
{
if (this.Length == 0)
-return value == String.Empty ? 0 : -1;
+return value == -1;
else
return LastIndexOf (value, this.Length - 1, this.Length,
comparisonType);
}

public int LastIndexOf (char value, int startIndex, int count)
{
-if (startIndex == 0  this.length == 0)
+if (this.length == 0)
return -1;

// = for char ( for string)
if ((startIndex  0) || (startIndex = this.Length))
throw new ArgumentOutOfRangeException (startIndex,  0 || =
this.Length);
if ((count  0) || (count  this.Length))
throw new ArgumentOutOfRangeException (count,  0 || 
this.Length);
if (startIndex - count + 1  0)
throw new ArgumentOutOfRangeException (startIndex - count + 1 
0);

return LastIndexOfUnchecked (value, startIndex, count);
}

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 606228] Very bad performance of async socket application specifically under Mono/Linux (Notifications: epoll)

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=606228

http://bugzilla.novell.com/show_bug.cgi?id=606228#c3


--- Comment #3 from Rickard Edström ick...@gmail.com 2010-07-03 02:27:45 UTC 
---
I have investigated this a bit further, and I've come to the conclusion that it
is not related to async I/O at all.
I now have a very simple C# synchronous I/O application which is able to send
(as before) 180ish requests. (It also runs fast on Windows)
The issue causing the performance problems in both apps seems to be that I'm
sending a message just after I sent one. If I  instead use the
alternative[commented] implementation of Write() in the code linked, it works
very fast under linux as well.

Maybe this is intended behaviour for sockets on linux, or it could possibly be
a mono bug? Anyways, the original description for this bug apparently is
inaccurate as it stands.

The very simple app: http://pastie.org/1028955

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619325] Inconsistent execution of ViewWillAppear event

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619325

http://bugzilla.novell.com/show_bug.cgi?id=619325#c1


Geoff Norton gnor...@novell.com changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
   InfoProvider||rickgr...@mac.com

--- Comment #1 from Geoff Norton gnor...@novell.com 2010-07-03 04:02:21 UTC 
---
Please attach a small isolated testcase that shows the issue.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617609] FtpWebRequest and HttpWebRequest hangs on GetRequestStream.Close()

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617609

http://bugzilla.novell.com/show_bug.cgi?id=617609#c3


Geoff Norton gnor...@novell.com changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
   InfoProvider||alexander.augustyn...@redne
   ||t.it

--- Comment #3 from Geoff Norton gnor...@novell.com 2010-07-03 04:06:58 UTC 
---
Please provide a complete test case with a server which exhibits this issue.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 617142] MonoDevelop iPhone Build screen inconsistencies in MDs options

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=617142

http://bugzilla.novell.com/show_bug.cgi?id=617142#c


Geoff Norton gnor...@novell.com changed:

   What|Removed |Added

 CC||gnor...@novell.com
  Component|Tools   |IPhone add-in
 AssignedTo|mono-bugs@lists.ximian.com  |mhutchin...@novell.com
Product|MonoTouch   |MonoDevelop
  QAContact|mono-bugs@lists.ximian.com  |monodevelop-b...@lists.ximi
   ||an.com

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 539742] Combined installer for mono and monotouch would make sense

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=539742

http://bugzilla.novell.com/show_bug.cgi?id=539742#c1


Geoff Norton gnor...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #1 from Geoff Norton gnor...@novell.com 2010-07-03 04:09:47 UTC 
---
On further review we wont do this due to seriously divergent product schedules.
 Additionally the new updater mitigates a lot of this pain.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 618977] Crashes when Using the Calendars method of the EKEventStore on the device

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=618977

http://bugzilla.novell.com/show_bug.cgi?id=618977#c2


Geoff Norton gnor...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #2 from Geoff Norton gnor...@novell.com 2010-07-03 04:01:49 UTC 
---
Your Release|iPhone and Debug|iPhone configurations are set to build against
the 3.2 sdk which does not have that type.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 593605] Can't use btouch when the interface is the same name as the source file.

2010-07-02 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=593605

http://bugzilla.novell.com/show_bug.cgi?id=593605#c1


Geoff Norton gnor...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Geoff Norton gnor...@novell.com 2010-07-03 04:21:54 UTC 
---
Fixed thanks!

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 555464] Nemerle doesn't compile/work under recent mono versions

2010-07-03 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=555464

http://bugzilla.novell.com/show_bug.cgi?id=555464#c


Pacho Ramos pa...@condmat1.ciencias.uniovi.es changed:

   What|Removed |Added

 CC||pa...@condmat1.ciencias.uni
   ||ovi.es

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619555] Operator error

2010-07-03 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619555

http://bugzilla.novell.com/show_bug.cgi?id=619555#c1


Marek Safar msa...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Marek Safar msa...@novell.com 2010-07-03 15:37:15 UTC ---
Fixed in trunk.

Thanks for reporting it.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 609935] Insert into Sqlserver nvarchar(max) fields truncates data 4000 characters

2010-07-03 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609935

http://bugzilla.novell.com/show_bug.cgi?id=609935#c8


Veerapuram Varadhan vvarad...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #8 from Veerapuram Varadhan vvarad...@novell.com 2010-07-03 
16:07:31 UTC ---
Scott, Thanks for the test case and table schema.  Fixed in r159851, r159853,
r159855 for trunk, 2.6, 2.4 respectively.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 605545] Add support of string resources to ProvideCorrectArgumentsToFormattingMethodsRule

2010-07-04 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=605545

http://bugzilla.novell.com/show_bug.cgi?id=605545#c3


--- Comment #3 from Antoine Vandecrème avandecr...@sopragroup.com 2010-07-04 
14:43:49 UTC ---
Created an attachment (id=373717)
 -- (http://bugzilla.novell.com/attachment.cgi?id=373717)
fix remarks

Here is a new patch fixing the previous remarks.

This patch produces new gendarme defects :

-AvoidCodeDuplicatedInSameClassRule : 
I don't know why this rule fired.
Maybe because there is in both method a line like :
MethodReference mr = (call.Operand as MethodReference);


-PreferEmptyInstanceOverNullRule :
I really need to return null and not String.Empty because null means the string
resource is not found. A String.Empty value means the string found is
string.Empty.
I don't know what is the best practice here. Maybe method such as :
bool TryGetString(out string result)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 580090] [PATCH]GetFiles fails on search patterns containing directories

2010-07-04 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=580090

http://bugzilla.novell.com/show_bug.cgi?id=580090#c2


Gonzalo Paniagua Javier gonz...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Severity|Normal  |Major

--- Comment #2 from Gonzalo Paniagua Javier gonz...@novell.com 2010-07-04 
16:48:29 UTC ---
There is something else needed to make this work as MS. The output on windows
is:
---
c:\dvp.\dir.exe . test\*
\test\file1.txt
\test\file2.txt
\test\file3.txt
\test\file4.txt
---

and with your patch in linux/mono:
---
a...@b:/tmp$ mono dir.exe . 'test/*'
/file1.txt
/file2.txt
/file3.txt
/file4.txt
---

I made a couple of changes in the runtime for this output to be:
--
a...@b:/tmp$ mono dir.exe . 'test/*'
/test/file1.txt
/test/file2.txt
/test/file3.txt
/test/file4.txt
--

This is fixed in svn trunk as of r159861.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 603981] Socket.OSSupportsIPv6

2010-07-04 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=603981

http://bugzilla.novell.com/show_bug.cgi?id=603981#c1


Gonzalo Paniagua Javier gonz...@novell.com changed:

   What|Removed |Added

 AssignedTo|gonz...@novell.com  |mig...@novell.com

--- Comment #1 from Gonzalo Paniagua Javier gonz...@novell.com 2010-07-04 
18:22:38 UTC ---
This is a MAC-only bug and Mig wrote the code. Assigning to him.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 596779] InvalidOperationException in Process.GetProcessesByName

2010-07-04 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=596779

http://bugzilla.novell.com/show_bug.cgi?id=596779#c1


Gonzalo Paniagua Javier gonz...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Gonzalo Paniagua Javier gonz...@novell.com 2010-07-04 
21:32:23 UTC ---
Fixed in trunk (r159866) and mono-2-6 (r159867)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619808] New: System.PlatformID not reported correctly in Mac OSX

2010-07-04 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619808

http://bugzilla.novell.com/show_bug.cgi?id=619808#c0


   Summary: System.PlatformID not reported correctly in Mac OSX
Classification: Mono
   Product: Mono: Runtime
   Version: 2.6.x
  Platform: x86-64
OS/Version: Mac OS X 10.5
Status: NEW
  Severity: Minor
  Priority: P5 - None
 Component: misc
AssignedTo: mono-bugs@lists.ximian.com
ReportedBy: djeche...@fastwebnet.it
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


Description of Problem:
Running Mono on Mac OSX reports System.Environment.OSVersion.PlatformID as Unix
and not MacOSX as expected.
I found this problem by chance

Steps to reproduce the problem:
1. Create a program that prints System.Environment.OSVersion.Platform on the
console
2. Run it on Mac OSX

I found the problem by using the following code
http://logbus-ng.svn.sourceforge.net/viewvc/logbus-ng/developers/djechelon/WS-Experiments/EventLogTool/Program.cs?revision=84view=markuppathrev=84

Actual Results:
Unix (value 4)

Expected Results:
MacOSX (value 6)

How often does this happen? 
Always

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


  1   2   3   4   5   6   7   8   9   10   >