mono.git
14 years ago2010-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 Jan 2010 08:22:59 +0000 (08:22 -0000)]
2010-01-22  Zoltan Varga  <vargaz@gmail.com>

* mini.h (COMPILE_SOFT_FLOAT): New macro, similar to COMPILE_LLVM.

* method-to-ir.c ir-emit.h: Use if (COMPILE_SOFT_FLOAT) in a few places since
llvm does not require it.

* aot-runtime.c (load_method): Print the full name of the last aot method.

svn path=/trunk/mono/; revision=150049

14 years ago2010-01-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 Jan 2010 08:22:50 +0000 (08:22 -0000)]
2010-01-21  Zoltan Varga  <vargaz@gmail.com>

* exceptions-amd64.c (mono_arch_notify_pending_exc): Avoid a crash if the
thread has not fully started yet.

svn path=/trunk/mono/; revision=150048

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 08:18:19 +0000 (08:18 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* DuplexClientRuntimeChannel.cs : do not try to iterate channel
  acceptor when it is being closed.

* ChannelDispatcher.cs : do not try to iterate channel acceptor when
  it is being closed.

svn path=/trunk/mcs/; revision=150047

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 06:17:10 +0000 (06:17 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDocument.cs : fix type check for optimal node creation.
  Fixed bug #571336, #571226 and #572738.

svn path=/trunk/mcs/; revision=150041

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 05:00:21 +0000 (05:00 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
  DuplexChannelBase.cs : Receive() should rather use TryReceive().
  It should not be in reverse order.

svn path=/trunk/mcs/; revision=150040

14 years ago2010-01-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 22 Jan 2010 04:46:34 +0000 (04:46 -0000)]
2010-01-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Activator.cs: When calling CreateInstance() and no default .ctor is
found for the type, don't pass the member argument to the
MissingMethodException, to have a better and simpler error message.
Fixes #396986.

svn path=/trunk/mcs/; revision=150039

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 03:06:48 +0000 (03:06 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* HttpReplyChannel.cs, HttpListenerManager.cs :
  Implement async cancellation in the expected manner (though with
  some hack). This mostly removed nunit blockers.

* NetTcpBindingTest.cs : enabled connection tests again, as they
  got working again (and more importantly, they don't block).
* CallbackBehaviorAttributeTest.cs : on the other hand, disabled
  a test so far. It is the only active test && the blocker now.

svn path=/trunk/mcs/; revision=150037

14 years ago2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jan 2010 02:23:53 +0000 (02:23 -0000)]
2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* CommunicationObject.cs : fix wrong status changes.

svn path=/trunk/mcs/; revision=150036

14 years ago2010-01-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 22 Jan 2010 01:50:48 +0000 (01:50 -0000)]
2010-01-21  Sebastien Pouliot  <sebastien@ximian.com>

* SocketAsyncEventArgs.cs: Apply Gendarme's ProtectCallToEventDelegatesRule

svn path=/trunk/mcs/; revision=150033

14 years ago2010-01-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 21 Jan 2010 23:43:48 +0000 (23:43 -0000)]
2010-01-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IPEndPoint.cs: When throwing an ArgumentException in Create()
because of a mismatch in the address family, use a more informative
message. Patch by Juho Vähä-Herttu<juhovh@iki.fi>.
Fixes #505105.

svn path=/trunk/mcs/; revision=150031

14 years agoFix
Miguel de Icaza [Thu, 21 Jan 2010 23:12:16 +0000 (23:12 -0000)]
Fix

svn path=/trunk/mono/; revision=150028

14 years ago2010-01-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 21 Jan 2010 22:30:21 +0000 (22:30 -0000)]
2010-01-21  Marek Habersack  <mhabersack@novell.com>

* FileResponseElementTest.cs, HeaderElementTest.cs,
MemoryResponseElementTest.cs, SubstitutionResponseElementTest.cs:
added

2010-01-21  Marek Habersack  <mhabersack@novell.com>

* DatabaseNotEnabledForNotificationException.cs, OutputCache.cs,
FileResponseElement.cs, HeaderElement.cs, IOutputCacheEntry.cs,
MemoryResponseElement.cs, OutputCacheProvider.cs,
ResponseElement.cs, OutputCacheProviderCollection.cs,
SubstitutionResponseElement.cs,
TableNotEnabledForNotificationException.cs: added

* CacheDependency.cs: default constructor is protected in 4.0

svn path=/trunk/mcs/; revision=150025

14 years ago2010-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 21 Jan 2010 19:37:35 +0000 (19:37 -0000)]
2010-01-21  Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (typebuilder_setup_fields): Pretend field setup already
happened before starting to encode the actual fields. This avoid ciclic
dependencies and eventual crashes.

Fixes #572660.

svn path=/trunk/mono/; revision=150008

14 years ago2010-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 21 Jan 2010 19:37:34 +0000 (19:37 -0000)]
2010-01-21 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Add tests for #572660.

svn path=/trunk/mcs/; revision=150007

14 years ago2010-01-21 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 21 Jan 2010 18:47:36 +0000 (18:47 -0000)]
2010-01-21  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, gc-internal.h, object.c: Make string allocation
        atomic and remove the half-constructed hack in SGen.

svn path=/trunk/mono/; revision=150005

14 years ago2010-01-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 21 Jan 2010 18:46:28 +0000 (18:46 -0000)]
2010-01-21  Marek Habersack  <mhabersack@novell.com>

* HierarchicalDataBoundControlDesigner.cs: added

svn path=/trunk/mcs/; revision=150004

14 years ago2010-01-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 21 Jan 2010 17:07:48 +0000 (17:07 -0000)]
2010-01-21  Jonathan Pobst  <monkey@jpobst.com>

* DateComparisonTest.cs: Failing test TestDateComparisonLeft
marked NotWorking.  Bug filed as 572725.

svn path=/trunk/mcs/; revision=149994

14 years ago2010-01-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 21 Jan 2010 17:01:10 +0000 (17:01 -0000)]
2010-01-21  Jonathan Pobst  <monkey@jpobst.com>

* DataTableTest2.cs: Mark PrimaryKey test as NotWorking.
Bug filed as 572722.

svn path=/trunk/mcs/; revision=149993

14 years ago2010-01-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jan 2010 16:43:19 +0000 (16:43 -0000)]
2010-01-21  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (can_marshal_struct): Allow marshalling enums.

svn path=/trunk/mono/; revision=149991

14 years ago2010-01-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 21 Jan 2010 16:34:30 +0000 (16:34 -0000)]
2010-01-21  Jonathan Pobst  <monkey@jpobst.com>

* ThemeTest.cs: Mark UrlProperty test as NotWorking to clean
up buildbot.  Filed as 572707.

svn path=/trunk/mcs/; revision=149990

14 years agosupport for nested Choose elements + fixed bug where the project reference would...
Rodrigo B. de Oliveira [Thu, 21 Jan 2010 16:31:33 +0000 (16:31 -0000)]
support for nested Choose elements + fixed bug where the project reference would be null during condition evaluation

svn path=/trunk/mcs/; revision=149989

14 years ago2010-01-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 21 Jan 2010 16:24:45 +0000 (16:24 -0000)]
2010-01-21  Miguel de Icaza  <miguel@novell.com>

* driver.c: Do not abort if LLVM is not supported, print a
warning and add the information to the Mono JIT information.

svn path=/trunk/mono/; revision=149988

14 years agoadd XNA public key token
Sebastien Pouliot [Thu, 21 Jan 2010 15:27:07 +0000 (15:27 -0000)]
add XNA public key token

svn path=/trunk/mono/; revision=149986

14 years ago2010-01-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 21 Jan 2010 15:21:27 +0000 (15:21 -0000)]
2010-01-21 Gonzalo Paniagua Javier <gonzalo@novell.com>

* SmtpClient.cs: rethrow inner exception so that
AsyncCompletedEventArgs.Error gets the right value on error. Patch
by Dimitar Dobrev.

svn path=/trunk/mcs/; revision=149983

14 years agoIn Test/System.Net:
Sebastien Pouliot [Thu, 21 Jan 2010 15:02:51 +0000 (15:02 -0000)]
In Test/System.Net:
2010-01-21  Sebastien Pouliot  <sebastien@ximian.com>

* CookieContainerTest.cs: Additional test cases from Tom Philpot

In System.Net:
2010-01-21  Sebastien Pouliot  <sebastien@ximian.com>

* CookieContainer.cs: Fix to cloning and expiration. Patch
by Tom Philpot <tom.philpot@logos.com>

svn path=/trunk/mcs/; revision=149976

14 years agoresponse file might be specified in double quotes
Rodrigo B. de Oliveira [Thu, 21 Jan 2010 15:00:13 +0000 (15:00 -0000)]
response file might be specified in double quotes

svn path=/trunk/mcs/; revision=149975

14 years ago2010-01-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jan 2010 14:32:01 +0000 (14:32 -0000)]
2010-01-21  Zoltan Varga  <vargaz@gmail.com>

* ir-emit.h (MONO_EMIT_NULL_CHECK): Don't emit an OP_IMPLICIT_EXCEPTION when
using explicit null checks.

svn path=/trunk/mono/; revision=149970

14 years ago2010-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 21 Jan 2010 14:28:24 +0000 (14:28 -0000)]
2010-01-21  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (parse_generic_inst): Fail a type signature if it
has a recursive reference to itself.

Fixes #571863.

svn path=/trunk/mono/; revision=149969

14 years ago2010-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 21 Jan 2010 14:28:12 +0000 (14:28 -0000)]
2010-01-21  Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_method_signature): Fix error message.

svn path=/trunk/mono/; revision=149968

14 years ago2010-01-21 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 21 Jan 2010 13:41:14 +0000 (13:41 -0000)]
2010-01-21  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Reuse to-space sections between nursery collections.

svn path=/trunk/mono/; revision=149967

14 years agoNUnit tests for xbuild
Rodrigo B. de Oliveira [Thu, 21 Jan 2010 13:04:03 +0000 (13:04 -0000)]
NUnit tests for xbuild

svn path=/trunk/mcs/; revision=149965

14 years agoFix the 2.0 build
Marek Habersack [Thu, 21 Jan 2010 09:09:52 +0000 (09:09 -0000)]
Fix the 2.0 build

svn path=/trunk/mcs/; revision=149964

14 years ago2010-01-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 21 Jan 2010 03:48:24 +0000 (03:48 -0000)]
2010-01-21  Atsushi Enomoto  <atsushi@ximian.com>

* SslStreamSecurityBindingElementTest.cs : reduce extra base dep.

svn path=/trunk/mcs/; revision=149955

14 years agoImprove, do not advertise what is not available
Miguel de Icaza [Thu, 21 Jan 2010 03:25:50 +0000 (03:25 -0000)]
Improve, do not advertise what is not available

svn path=/trunk/mono/; revision=149953

14 years agoAdd xdebug.c to fix msvc build.
Jonathan Pobst [Thu, 21 Jan 2010 01:00:38 +0000 (01:00 -0000)]
Add xdebug.c to fix msvc build.

svn path=/trunk/mono/; revision=149948

14 years ago2010-01-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 21 Jan 2010 00:49:45 +0000 (00:49 -0000)]
2010-01-20  Miguel de Icaza  <miguel@novell.com>

       * Dictionary.cs: Always create the keys, fixes compatibility
       between Mono and .NET.  Patch from John Lenz <jlenz2@math.uiuc.edu>

svn path=/trunk/mcs/; revision=149947

14 years agoRevert, will remove both linux-gnu, but needs some work
Miguel de Icaza [Thu, 21 Jan 2010 00:33:02 +0000 (00:33 -0000)]
Revert, will remove both linux-gnu, but needs some work

svn path=/trunk/mono/; revision=149946

14 years ago2010-01-20 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 21 Jan 2010 00:04:31 +0000 (00:04 -0000)]
2010-01-20  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* configure.in: Add support for disabling mdb support.

svn path=/trunk/mono/; revision=149944

14 years agoMake this shorter
Miguel de Icaza [Thu, 21 Jan 2010 00:00:27 +0000 (00:00 -0000)]
Make this shorter

svn path=/trunk/mono/; revision=149943

14 years ago * ComboBox.cs: When the normal drop down window is closed, make sure
Carlos Alberto Cortez [Wed, 20 Jan 2010 23:47:44 +0000 (23:47 -0000)]
* ComboBox.cs: When the normal drop down window is closed, make sure
that the auto complete list -if any- is closed as well, instead of
stay open without need.

2010-01-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=149942

14 years agoIn class/Mono.Cecil.Mdb:
Rolf Bjarne Kvinge [Wed, 20 Jan 2010 23:47:15 +0000 (23:47 -0000)]
In class/Mono.Cecil.Mdb:
2010-01-20  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Makefile: Specify the path to Mono.Cecil.dll when referencing it.

In tools/linker:
2010-01-20  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Makefile: Fetch Mono.Cecil.dll from whatever profile we happen to be
building in.

svn path=/trunk/mcs/; revision=149941

14 years agospec fixes
Andrew Jorgensen [Wed, 20 Jan 2010 23:02:55 +0000 (23:02 -0000)]
spec fixes

svn path=/trunk/mono/; revision=149936

14 years ago2010-01-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Jan 2010 22:39:05 +0000 (22:39 -0000)]
2010-01-20  Marek Habersack  <mhabersack@novell.com>

* SessionStateBehavior.cs: added (4.0)

2010-01-20  Marek Habersack  <mhabersack@novell.com>

* OutputCacheSection.cs: implemented the Providers and
DefaultProviderName 4.0 properties.

2010-01-20  Marek Habersack  <mhabersack@novell.com>

* HttpContextBase.cs: implemented RemapHandler and
SetSessionStateBehavior 4.0 APIs.

2010-01-20  Marek Habersack  <mhabersack@novell.com>

* HttpContext.cs: implemented the 4.0 SetSessionStateBehavior
method

* HttpCacheVaryByContentEncodings.cs, HttpCacheVaryByHeaders.cs,
HttpCacheVaryByParams.cs : parameterless constructors are public
in 4.0

* HttpApplication.cs: implemented the 4.0
GetOutputCacheProviderName method

svn path=/trunk/mcs/; revision=149934

14 years ago2010-01-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 20 Jan 2010 22:20:03 +0000 (22:20 -0000)]
2010-01-20 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Tuples.cs: explicitly implement IStructural*.

svn path=/trunk/mcs/; revision=149933

14 years agoremove DOS newlines
Miguel de Icaza [Wed, 20 Jan 2010 21:35:58 +0000 (21:35 -0000)]
remove DOS newlines

svn path=/trunk/mono/; revision=149932

14 years agoMake this build on systems with no filesystem or process APIs
Miguel de Icaza [Wed, 20 Jan 2010 21:32:44 +0000 (21:32 -0000)]
Make this build on systems with no filesystem or process APIs

svn path=/trunk/mono/; revision=149931

14 years agoDo not build the parser if no getopt is there
Miguel de Icaza [Wed, 20 Jan 2010 21:30:34 +0000 (21:30 -0000)]
Do not build the parser if no getopt is there

svn path=/trunk/mono/; revision=149930

14 years agoGotten rid of NET_2_0 ifdefs and 1.1 code from System.Web.UI
Marek Habersack [Wed, 20 Jan 2010 21:21:01 +0000 (21:21 -0000)]
Gotten rid of NET_2_0 ifdefs and 1.1 code from System.Web.UI

svn path=/trunk/mcs/; revision=149929

14 years ago2010-01-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 20 Jan 2010 18:00:56 +0000 (18:00 -0000)]
2010-01-20 Gonzalo Paniagua Javier <gonzalo@novell.com>

* icall.c: don't raise AppDomain.TypeResolve when the type is loaded
from the current assembly or mscorlib. Fixes bug #322957.

svn path=/trunk/mono/; revision=149921

14 years ago2010-01-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Jan 2010 17:48:49 +0000 (17:48 -0000)]
2010-01-20  Marek Habersack  <mhabersack@novell.com>

* ObjectStateFormatter.cs: implemented support for IndexedString
on top of the existing StringFormatter.

* IndexedString.cs: implemented

svn path=/trunk/mcs/; revision=149919

14 years agoRemove realpath
Miguel de Icaza [Wed, 20 Jan 2010 16:35:57 +0000 (16:35 -0000)]
Remove realpath

svn path=/trunk/mono/; revision=149916

14 years agoFix the copyright.
Zoltan Varga [Wed, 20 Jan 2010 15:11:12 +0000 (15:11 -0000)]
Fix the copyright.

svn path=/trunk/mono/; revision=149910

14 years ago2010-01-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Jan 2010 14:36:08 +0000 (14:36 -0000)]
2010-01-20  Zoltan Varga  <vargaz@gmail.com>

* xdebug.c: New file extracted from aot-compiler.c, containing the XDEBUG
related code.

svn path=/trunk/mono/; revision=149909

14 years ago2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jan 2010 14:30:29 +0000 (14:30 -0000)]
2010-01-20  Atsushi Enomoto  <atsushi@ximian.com>

* AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(

svn path=/trunk/mcs/; revision=149908

14 years ago2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jan 2010 14:05:06 +0000 (14:05 -0000)]
2010-01-20  Atsushi Enomoto  <atsushi@ximian.com>

* AddressHeader.cs : implement remaining bits.
  Eliminate dependency on NetDataContractSerializer.

* AddressHeaderTest.cs : add reader and writer tests.

svn path=/trunk/mcs/; revision=149907

14 years agoprotect ILGenerator.Mono_GetCurrentOffset
Jb Evain [Wed, 20 Jan 2010 13:57:53 +0000 (13:57 -0000)]
protect ILGenerator.Mono_GetCurrentOffset

svn path=/trunk/mcs/; revision=149903

14 years agoUpdated.
Marek Safar [Wed, 20 Jan 2010 13:38:44 +0000 (13:38 -0000)]
Updated.

svn path=/trunk/mcs/; revision=149902

14 years ago2010-01-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Jan 2010 09:49:00 +0000 (09:49 -0000)]
2010-01-20  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (encode_method_ref): Use mono_marshal_wrapper_info_from_wrapper
() in one place.
(mono_aot_wrapper_name): Remove the special handling of delegate invoke wrappers,
its no longer needed.

svn path=/trunk/mono/; revision=149887

14 years ago2010-01-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Jan 2010 09:48:53 +0000 (09:48 -0000)]
2010-01-20  Zoltan Varga  <vargaz@gmail.com>

* marshal.c: Calculate the target class of the delegete invoke wrappers using
get_wrapper_target_class.

svn path=/trunk/mono/; revision=149886

14 years ago2010-01-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Jan 2010 09:48:47 +0000 (09:48 -0000)]
2010-01-20  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Fix a warning.

svn path=/trunk/mono/; revision=149885

14 years ago2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jan 2010 05:57:20 +0000 (05:57 -0000)]
2010-01-20  Atsushi Enomoto  <atsushi@ximian.com>

* CommunicationObject.cs : in Fault(), do similar work as previous
  change does.

svn path=/trunk/mcs/; revision=149879

14 years ago2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jan 2010 05:53:30 +0000 (05:53 -0000)]
2010-01-20  Atsushi Enomoto  <atsushi@ximian.com>

* NetTcpBindingTest.cs : disable connection tests, with analyzed
  reason why it's blocking, for each.

* System.ServiceModel_test.dll.sources: move back some FeatureBased
  tests.

svn path=/trunk/mcs/; revision=149878

14 years ago2010-01-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 20 Jan 2010 05:51:48 +0000 (05:51 -0000)]
2010-01-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TextBox.cs: When showing the autocomplete listbox, make sure it's on
top, by calling the raw XplatUI.SetZOrder for it, since we can't
properly call BringToFront on it as it is parentless. This fixes an
issue when using this feature with ComboBox's own parentless listbox.
Fixes the remaining bits of #489339.

svn path=/trunk/mcs/; revision=149877

14 years ago2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jan 2010 05:26:38 +0000 (05:26 -0000)]
2010-01-20  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : a stability workaround to make nunit test
  stopper almost reproducible.

svn path=/trunk/mcs/; revision=149876

14 years agoFix aligment problems introduced by the previous change.
Zoltan Varga [Wed, 20 Jan 2010 03:38:46 +0000 (03:38 -0000)]
Fix aligment problems introduced by the previous change.

svn path=/trunk/mono/; revision=149875

14 years ago2010-01-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Jan 2010 03:22:41 +0000 (03:22 -0000)]
2010-01-20  Zoltan Varga  <vargaz@gmail.com>

* exceptions-<ARCH>.c: Introduce a MONO_ARCH_HAVE_THROW_EXCEPTION_BY_NAME
define for platforms still using it (s390). Get rid of the
mono_arch_get_throw_exception_by_name () routines on all other platforms.

svn path=/trunk/mono/; revision=149873

14 years ago2010-01-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Jan 2010 03:03:45 +0000 (03:03 -0000)]
2010-01-20  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c: Rework the throw trampolines so there is only one function
which can generate throw/rethrow/corlib trampolines for llvm/not llvm code.

svn path=/trunk/mono/; revision=149871

14 years ago2010-01-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Jan 2010 02:10:11 +0000 (02:10 -0000)]
2010-01-20  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c: Add LLVM specific throw trampolines which doesn't assume
the caller pushed the arguments.

* mini-llvm.c: Enable throwing exceptions on x86.

* mini-posix.c (SIG_HANDLER_SIGNATURE): Avoid
"Thread (nil) may have been prematurely finalized" messages if this is called
on a thread not registered with the runtime.

* mini-exceptions.c (mono_handle_native_sigsegv): Ditto.

svn path=/trunk/mono/; revision=149869

14 years ago2010-01-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 20 Jan 2010 01:30:46 +0000 (01:30 -0000)]
2010-01-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* XplatUI.cs:
* XplatUIDriver:
* XplatUICarbon:
* XplatUIWin32:
* XplatUIX11.cs:
* XplatUIStructs: Implement support for different kind of audible
alerts in Windows, and update the requiered classes.
* MessageBox.cs:
* TextBoxBase.cs: Update calls to XplatUI.AudibleAlert.
Fixes #473725.

svn path=/trunk/mcs/; revision=149868

14 years agoAdd ChangeLog entries removed by mistake.
Zoltan Varga [Wed, 20 Jan 2010 00:17:40 +0000 (00:17 -0000)]
Add ChangeLog entries removed by mistake.

svn path=/trunk/mono/; revision=149865

14 years ago2010-01-19 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 19 Jan 2010 22:39:49 +0000 (22:39 -0000)]
2010-01-19  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Fix warnings.

svn path=/trunk/mono/; revision=149859

14 years ago2010-01-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 19 Jan 2010 22:36:10 +0000 (22:36 -0000)]
2010-01-19  Marek Habersack  <mhabersack@novell.com>

* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/App_GlobalResources/Resource1.resx
and
Test/mainsoft/NunitWebResources/TagWithExpressionWithinAttribute.aspx

2010-01-19  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompilerTest.cs: added test for bug #568631

2010-01-19  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: modified the runatServer regex to correctly
match embedded server tags which end in a sequence like: "%>"/>
Fixes bug #568631

svn path=/trunk/mcs/; revision=149855

14 years ago2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 19 Jan 2010 21:28:29 +0000 (21:28 -0000)]
2010-01-19  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (store_local): Better error message.

svn path=/trunk/mono/; revision=149845

14 years ago2010-01-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 19 Jan 2010 21:14:19 +0000 (21:14 -0000)]
2010-01-19  Marek Habersack  <mhabersack@novell.com>

* StaticSiteMapProvider.cs: AddNode checks the url of node
returned by FindSiteMapNode to see if it indeed was a
duplicate. It is necessary if application derives from
StaticSiteMapProvider and overrides FindSiteMapNode to return
RootNode if rawUrl doesn't match any existing node. Fixes bug
#570194

2010-01-19  Marek Habersack  <mhabersack@novell.com>

* TestRunner.cs: Run makes sure Uri parser is passed a full url,
or otherwise it won't be parsed correctly (will not parse the
query part if an URL similar to '/file.html?query=value' is
passed)

* Helpers.cs: added a simple and naive method to extract query
from WebResource.axd URLs. This is necessary because the query
will be different each time the test is ran.

2010-01-19  Marek Habersack  <mhabersack@novell.com>

* standalone-runner.cs: reformatted summary message to match
NUnit's more closely.

svn path=/trunk/mcs/; revision=149842

14 years ago2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 19 Jan 2010 20:51:06 +0000 (20:51 -0000)]
2010-01-19  Rodrigo Kumpera  <rkumpera@novell.com>

* object.c (mono_object_get_virtual_method): Handle generic interfaces with variant
arguments.

svn path=/trunk/mono/; revision=149840

14 years ago2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 19 Jan 2010 20:50:59 +0000 (20:50 -0000)]
2010-01-19 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodInfoTest.cs: Add a test for Invoke with generic variant
interfaces.

svn path=/trunk/mcs/; revision=149839

14 years ago2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 19 Jan 2010 20:50:56 +0000 (20:50 -0000)]
2010-01-19  Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c (ves_icall_Remoting_RemotingServices_GetVirtualMethod): This
function is generics variance aware.

svn path=/trunk/mono/; revision=149838

14 years ago2010-01-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Jan 2010 17:13:05 +0000 (17:13 -0000)]
2010-01-19  Zoltan Varga  <vargaz@gmail.com>

* jit-icalls.c (mono_array_new_3): New jit icall.

* aot-compiler.c aot-runtime.c: Add support for ElementAddr wrappers.

* arrays.cs: Add a test for 3 dimensional arrays.

svn path=/trunk/mono/; revision=149834

14 years ago2010-01-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Jan 2010 17:12:58 +0000 (17:12 -0000)]
2010-01-19  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_wrapper_info_from_wrapper): New helper function to
return a point to a wrapper specific info structure describing the wrapper.
(mono_marshal_get_array_address): Store the rank+elem_size in the wrapper info.

svn path=/trunk/mono/; revision=149833

14 years ago2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 19 Jan 2010 16:52:51 +0000 (16:52 -0000)]
2010-01-19 Rodrigo Kumpera  <rkumpera@novell.com>

* EventOnTypeBuilderInst.cs: Fix build.

svn path=/trunk/mcs/; revision=149828

14 years ago2010-01-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 19 Jan 2010 16:19:48 +0000 (16:19 -0000)]
2010-01-19  Sebastien Pouliot  <sebastien@ximian.com>

* security-core-clr.c (mono_security_core_clr_can_access_internals):
Handle the case where 'basedir' can be NULL (e.g. SRE assemblies)

svn path=/trunk/mono/; revision=149823

14 years agoFix a crasher
Miguel de Icaza [Tue, 19 Jan 2010 16:04:47 +0000 (16:04 -0000)]
Fix a crasher

svn path=/trunk/mono/; revision=149822

14 years ago2010-01-19 Sylvain Dupont <duposyl@gmail.com>
Bill Holmes [Tue, 19 Jan 2010 15:11:34 +0000 (15:11 -0000)]
2010-01-19  Sylvain Dupont <duposyl@gmail.com>

* cominterop.c marshal.c: Added support for marshalling in, in/byref,
  in/out, in/out/byref parameters of type SAFEARRAY[VARIANT].

* cominterop.cs libtest.c: Added tests for marshalling
  in, in/byref, in/out, in/out/byref parameters of type
  SAFEARRAY[VARIANT].

Code is contributed under MIT/X11 license.

svn path=/trunk/mono/; revision=149817

14 years agoAdded/Updated .gitignore files
Rolf Bjarne Kvinge [Tue, 19 Jan 2010 13:46:32 +0000 (13:46 -0000)]
Added/Updated .gitignore files

svn path=/trunk/mono/; revision=149816

14 years ago2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 19 Jan 2010 12:47:09 +0000 (12:47 -0000)]
2010-01-19 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeTest.cs: Add test for GetGenericMethodDefinition of inflated
generic methods on a GTD.

svn path=/trunk/mcs/; revision=149809

14 years ago2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 19 Jan 2010 12:47:03 +0000 (12:47 -0000)]
2010-01-19  Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c (ves_icall_MonoMethod_GetGenericMethodDefinition): Handle inflated generic methods
on a GTD.

svn path=/trunk/mono/; revision=149808

14 years ago2010-01-19 Alan McGovern <amcgovern@novell.com>
Alan McGovern [Tue, 19 Jan 2010 11:27:01 +0000 (11:27 -0000)]
2010-01-19  Alan McGovern  <amcgovern@novell.com>
        * BufferedStream.cs: Patch by Tom Philpot to optimise ReadByte
        * and
        WriteByte significantly by making them fulfill their request by
        directly reading from the buffer.

svn path=/trunk/mcs/; revision=149799

14 years ago2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Jan 2010 10:15:25 +0000 (10:15 -0000)]
2010-01-19  Atsushi Enomoto  <atsushi@ximian.com>

* CommunicationObject.cs : when process state changes, lock the
  object to make sure the state transition is valid.
  Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.

* ChannelDispatcher.cs : another error audit.

svn path=/trunk/mcs/; revision=149793

14 years ago * ComboBox.cs: When use manually setting DropDownHeight, ignore the
Carlos Alberto Cortez [Tue, 19 Jan 2010 07:26:53 +0000 (07:26 -0000)]
* ComboBox.cs: When use manually setting DropDownHeight, ignore the
MaxDropDownHeight property - also rename our field 'count' to
'visible_items_count' to avoid confusion as much as possible.
Fixes an issue with several items, showing an incorrect layout.

2010-01-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=149786

14 years ago2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Jan 2010 05:32:14 +0000 (05:32 -0000)]
2010-01-19  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceAuthorizationBehavior.cs : implement (it does almost
  nothing though).

* ServiceAuthorizationBehaviorTest.cs : it's updated and enabled.
  Added some more tests.

svn path=/trunk/mcs/; revision=149785

14 years ago2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Jan 2010 05:30:47 +0000 (05:30 -0000)]
2010-01-19  Atsushi Enomoto  <atsushi@ximian.com>

* WS2007FederationHttpBinding.cs, WS2007HttpBinding.cs:
  add missing constructors.

svn path=/trunk/mcs/; revision=149784

14 years ago2010-01-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Jan 2010 02:56:17 +0000 (02:56 -0000)]
2010-01-19  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c (mono_arch_get_throw_corlib_exception): Emit xdebug info.
(mono_arch_find_jit_info_ext): Disable the popping of arguments when LLVM is
used.

* mini-llvm.c (emit_cond_system_exception): Abort when an implicit exception is
thrown on x86.

svn path=/trunk/mono/; revision=149783

14 years ago2010-01-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Jan 2010 01:11:18 +0000 (01:11 -0000)]
2010-01-19  Zoltan Varga  <vargaz@gmail.com>

* unwind.c (mono_unwind_decode_fde): Fix an assert on x86.

* mini-x86.h (MONO_CONTEXT_SET_LLVM_EXC_REG): Define this for x86.

* mini-llvm.c: Disable OP_THROW on x86, it doesn't work yet.

svn path=/trunk/mono/; revision=149782

14 years ago2010-01-18 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 18 Jan 2010 22:37:15 +0000 (22:37 -0000)]
2010-01-18  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Make minor collection section allowance adaptive,
        depending on the amount of memory reclaimed in the last major
        collection.  If more memory was reclaimed (i.e. more garbage
        produced), do the next collection earlier.

svn path=/trunk/mono/; revision=149781

14 years ago2010-01-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 18 Jan 2010 22:34:03 +0000 (22:34 -0000)]
2010-01-18  Marek Habersack  <mhabersack@novell.com>

* Parameter.cs: added missing 3.5 APIs - constructors taking
DbType as one of the parameters, ConvertDbTypeToTypeCode,
ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850

2010-01-18  Marek Habersack  <mhabersack@novell.com>

* ParameterTest.cs: added tests for ConvertDbTypeToTypeCode,
ConvertTypeCodeToDbType and constructors taking DbType as one of
the parameters.

svn path=/trunk/mcs/; revision=149778

14 years ago2010-01-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 18 Jan 2010 22:25:07 +0000 (22:25 -0000)]
2010-01-18  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (parse_type): Fail a type signature if it has a recursive reference
to itself.

* metadata-verify.c (mono_verifier_verify_typespec_signature): Change signature to take
the token as parameter.

* verify-internals.h: Ditto.

* metadata.c (mono_type_create_from_typespec): Pass token to verifier.

Fixes #571460.

svn path=/trunk/mono/; revision=149776

14 years ago2010-01-18 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 18 Jan 2010 22:07:16 +0000 (22:07 -0000)]
2010-01-18  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Make store_remset_buffer_index long.

svn path=/trunk/mono/; revision=149775

14 years ago2010-01-18 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 18 Jan 2010 21:54:43 +0000 (21:54 -0000)]
2010-01-18  Bill Holmes  <billholmes54@gmail.com>

* libmono.vcproj : Adding a link to Mswsock.lib and adding files
  mono-error and debugger-agent.

* debugger-agent.c : Changing the PLATFORM_WIN32 preprocessor check to
  HOST_WIN32.  Also including winsock2. to define struct in_addr.

* mini-amd64.h : Changing the PLATFORM_WIN32 preprocessor check to HOST_WIN32.

* mini-x86.h : Changing the PLATFORM_WIN32 preprocessor check to HOST_WIN32.

Code is contributed under MIT/X11 license.

svn path=/trunk/mono/; revision=149774

14 years ago2010-01-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 18 Jan 2010 21:11:06 +0000 (21:11 -0000)]
2010-01-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichTextBoxTest.cs: New test for the Modified property.

svn path=/trunk/mcs/; revision=149773

14 years ago2010-01-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 18 Jan 2010 21:08:39 +0000 (21:08 -0000)]
2010-01-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichTextBox.cs: SelectedText should set Modified to true. Observe
that this is happening just here, not for the Text property, and
neither for the TextBoxBase impl.
Fixes #569950.

svn path=/trunk/mcs/; revision=149772