[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