mono.git
14 years agoUpdate license files
Miguel de Icaza [Mon, 22 Mar 2010 16:32:36 +0000 (16:32 -0000)]
Update license files

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

14 years agoAdd missing copyright notices to Sgen
Miguel de Icaza [Mon, 22 Mar 2010 16:29:18 +0000 (16:29 -0000)]
Add missing copyright notices to Sgen

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

14 years agotypo
Paolo Molaro [Mon, 22 Mar 2010 15:05:13 +0000 (15:05 -0000)]
typo

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

14 years agoMon Mar 22 16:03:34 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 22 Mar 2010 15:04:47 +0000 (15:04 -0000)]
Mon Mar 22 16:03:34 CET 2010 Paolo Molaro <lupus@ximian.com>

* mono-debug.c: don't try to get the emthod ehader, it causes a
deadlock and it is not used for anything anymore.

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

14 years ago2010-03-22 Andreia Gaita <avidigal@gmail.com>
Andreia Gaita [Mon, 22 Mar 2010 13:27:57 +0000 (13:27 -0000)]
2010-03-22  Andreia Gaita  <avidigal@gmail.com>

* configure.in: fix build when doing with-mcs-docs=no on a clean tree

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

14 years ago2010-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 22 Mar 2010 12:40:57 +0000 (12:40 -0000)]
2010-03-22  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_method_get_marshal_info): Fix the handling of dynamic methods
broken by the last change.

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

14 years ago2010-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 22 Mar 2010 12:06:52 +0000 (12:06 -0000)]
2010-03-22  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (event_req_matches_assembly): Handle request modifiers too.

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

14 years ago2010-03-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 22 Mar 2010 11:53:14 +0000 (11:53 -0000)]
2010-03-22  Sebastien Pouliot  <sebastien@ximian.com>

* Directory.cs, DirectoryInfo.cs: Disble new NET_4_0 API used in
SL4 until we have elevated trust working correctly (since they
are *not* decorated as [SecurityCritical])

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

14 years agoAdd include for fd_set
Andreas Färber [Sun, 21 Mar 2010 23:47:12 +0000 (23:47 -0000)]
Add include for fd_set

According to POSIX, fd_set is defined in sys/select.h.

http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_select.h.html

2010-03-21  Andreas Faerber  <andreas.faerber@web.de>

* debugger-agent.c: #include sys/select.h for fd_set.

This commit is licensed under the MIT X11 license.

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

14 years agoHandle absence of socket constants
Andreas Färber [Sun, 21 Mar 2010 18:55:50 +0000 (18:55 -0000)]
Handle absence of socket constants

AF_SNA, AF_DECnet and SOCK_RDM are not part of POSIX, and Haiku does not
supply them.
Check for their presence before using them, as already done for AF_IPX.

2010-03-21  Andreas Faerber  <andreas.faerber@web.de>

* socket-io.c: Don't depend on AF_SNA, AF_DECnet,
SOCK_RDM.

This commit is licensed under the MIT X11 license.

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

14 years ago2010-03-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 21 Mar 2010 18:06:56 +0000 (18:06 -0000)]
2010-03-21 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebClient.cs: fix handling of query string, whether it comes from
the address used or is part of the QueryString.

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

14 years ago2010-03-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 21 Mar 2010 15:56:10 +0000 (15:56 -0000)]
2010-03-21  Zoltan Varga  <vargaz@gmail.com>

* mini.c (SIG_HANDLER_SIGNATURE): Fix the build on platforms without sigaction
(openbsd+amd64 ?).

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

14 years ago2010-03-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 21 Mar 2010 12:45:00 +0000 (12:45 -0000)]
2010-03-21  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_emit_exceptions): Avoid an assert in ppc_patch () for
some large methods with lots of exception handlers. Fixes #440924.

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

14 years ago2010-03-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 20 Mar 2010 23:09:06 +0000 (23:09 -0000)]
2010-03-20  Miguel de Icaza  <miguel@novell.com>

* Eliminate warnings in a bunch of places.

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

14 years ago2010-03-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 20 Mar 2010 22:58:39 +0000 (22:58 -0000)]
2010-03-20  Miguel de Icaza  <miguel@novell.com>

* WebConnection.cs: Drop pre-2.0 and pre-1.1 support, and remove
warnings.

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

14 years ago2010-03-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 20 Mar 2010 22:57:49 +0000 (22:57 -0000)]
2010-03-20  Miguel de Icaza  <miguel@novell.com>

* WebConnection.cs: Drop pre-2.0 and pre-1.1 support, and remove
warnings.

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

14 years ago2010-03-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 20 Mar 2010 22:56:56 +0000 (22:56 -0000)]
2010-03-20  Miguel de Icaza  <miguel@novell.com>

* WebConnection.cs: Drop pre-2.0 and pre-1.1 support, and remove
warnings.

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

14 years ago2010-03-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 20 Mar 2010 22:56:32 +0000 (22:56 -0000)]
2010-03-20  Miguel de Icaza  <miguel@novell.com>

* RxInterpreter.cs: Removed warnings.

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

14 years ago2010-03-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 20 Mar 2010 22:54:15 +0000 (22:54 -0000)]
2010-03-20  Miguel de Icaza  <miguel@novell.com>

* TypeDescriptor.cs: Remove warning.

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

14 years ago2010-03-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 20 Mar 2010 22:53:39 +0000 (22:53 -0000)]
2010-03-20  Miguel de Icaza  <miguel@novell.com>

* WebConnection.cs: Drop pre-2.0 and pre-1.1 support, and remove
warnings.

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

14 years ago2010-03-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 20 Mar 2010 22:49:18 +0000 (22:49 -0000)]
2010-03-20  Miguel de Icaza  <miguel@novell.com>

* Uri.cs: Drop pre-2.0 support

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

14 years ago2010-03-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 20 Mar 2010 22:45:29 +0000 (22:45 -0000)]
2010-03-20  Miguel de Icaza  <miguel@novell.com>

* WebClient.cs: Drop the pre-2.0 support

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

14 years ago2010-03-20 Sanjoy Das <sanjoy@playingwithpointers.com>
Mark Probst [Sat, 20 Mar 2010 20:02:37 +0000 (20:02 -0000)]
2010-03-20  Sanjoy Das <sanjoy@playingwithpointers.com>

        * sgen-gc.c (mono_gc_get_write_barrier): Handle non-aligned
        nursery.

        Code is contributed under MIT/X11 license.

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

14 years agoRemoved a warning; But this loop here looks risky
Miguel de Icaza [Sat, 20 Mar 2010 17:13:31 +0000 (17:13 -0000)]
Removed a warning;   But this loop here looks risky

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

14 years ago2010-03-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 20 Mar 2010 14:47:25 +0000 (14:47 -0000)]
2010-03-20  Marek Habersack  <mhabersack@novell.com>

* SiteMapNode.cs: avoid calling ChildNodes twice in HasChildNodes.
Cache child nodes in the ChildNodes property.

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

* XmlSiteMapProviderTest.cs: AreEqual should have expected result first
and actual next - swapped parameters in RootNode_2_OnLoad

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

14 years agoSat Mar 20 11:56:24 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 20 Mar 2010 10:57:24 +0000 (10:57 -0000)]
Sat Mar 20 11:56:24 CET 2010 Paolo Molaro <lupus@ximian.com>

* method-to-ir.c: remove code duplication for interface checks.

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

14 years ago2010-03-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 19 Mar 2010 21:46:30 +0000 (21:46 -0000)]
2010-03-19  Miguel de Icaza  <miguel@novell.com>

* Eliminate warnings in a bunch of places.

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

14 years ago2010-03-03 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 19 Mar 2010 21:45:57 +0000 (21:45 -0000)]
2010-03-03  Miguel de Icaza  <miguel@novell.com>

* RBTree.cs: Make these serializable, should fix the serialization
across appdomains of SortedDictionaries

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

14 years ago2010-03-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 19 Mar 2010 20:53:28 +0000 (20:53 -0000)]
2010-03-19  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (clear_event_requests_for_assembly): New helper function.
(assembly_unload): Clear all event requests referencing the to-be unloaded
assembly.

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

14 years ago2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 19 Mar 2010 20:11:21 +0000 (20:11 -0000)]
2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TreeView.cs: use enums instead of strings for attributes.

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

14 years agoIn System.Timers:
Sebastien Pouliot [Fri, 19 Mar 2010 19:01:31 +0000 (19:01 -0000)]
In System.Timers:
2010-03-19  Sebastien Pouliot  <sebastien@ximian.com>

* Timer.cs: Removed old NET_2_0 defines and added some new
MOONLIGHT defines (needed for the client stack)

In System.Net:
2010-03-19  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticationManager.cs: Internal type for Moonlight.
Add BasicClient, DigestClient, NtlmClient for NET_2_1 since
this applies to both monotouch and moonlight (client stack).
Removed unneeded NET_2_0 defines
* CookieContainer.cs: For Moonlight it needs to be internal in
System.dll and public in System.Net.dll. Removed unneeded NET_2_0
defines
* HttpContinueDelegate.cs: Internal type for Moonlight.
* HttpRequestCreator.cs: Remove a MOONLIGHT define
* HttpStatusCode.cs: For Moonlight it needs to be internal in
System.dll and public in System.Net.dll
* HttpWebRequest.cs: Internal type for Moonlight. Change S.Config
to NET_2_1 defines (applies to both monotouch and moonlight).
Removed unneeded NET_2_0 and NET_1_1 defines
* HttpWebResponse.cs: Internal type for Moonlight. Removed
unneeded NET_2_0 defines
* IAuthenticationModule.cs: Internal type for Moonlight.
* ICertificatePolicy.cs: Internal type for Moonlight.
* ICredentialPolicy.cs: Internal type for Moonlight. Removed
unneeded NET_2_0 defines
* IWebRequestCreate.cs: For Moonlight it needs to be internal in
System.dll and public in System.Net.dll
* ServicePoint.cs: Internal type for Moonlight. Change S.Config
to NET_2_1 defines (applies to both monotouch and moonlight)
* ServicePointManager.cs: Remove a MOONLIGHT define
* WebException.cs: For Moonlight it needs to be internal in
System.dll and public in System.Net.dll. Removed unneeded NET_2_0
defines
* WebHeaderCollection.cs: Internal type for Moonlight. Removed
unneeded NET_2_0 defines
* WebRequest.cs: Internal type for Moonlight. Change S.Config
to NET_2_1 defines (applies to both monotouch and moonlight)
* WebResponse.cs: Internal type for Moonlight. Removed unneeded
NET_2_0 defines

In System.Net.Sockets:
2010-03-19  Sebastien Pouliot  <sebastien@ximian.com>

* Socket.cs: Remove some NET_2_0 defines (using) and add a few
MOONLIGHT defines needed to reuse Socket in the client http stack
* Socket_2_1.cs: Remove some MOONLIGHT defines
* SocketAsyncEventArgs.cs: For Moonlight check policy if outside
System.dll (the client stack use sockets with it's own web
xdomain policy)

In System:
2010-03-19  Sebastien Pouliot  <sebastien@ximian.com>

* Uri.cs: Remove some MOONLIGHT defines

In .:
2010-03-19  Sebastien Pouliot  <sebastien@ximian.com>

* moonlight_*_System.dll.sources: Bring extra types so we can
build a full, managed, internal HTTP stack to be reused for SL3+
* Makefile: Add a INSIDE_SYSTEM define when compiling System.dll
to makes it possible to rebuild the same types in System.Net.dll

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

14 years agoIn System.Collections:
Sebastien Pouliot [Fri, 19 Mar 2010 18:54:23 +0000 (18:54 -0000)]
In System.Collections:
2010-03-19  Sebastien Pouliot  <sebastien@ximian.com>

* CollectionDebuggerView.cs: Change to internal so we can avoid
a duplicating the type in assemblies that have [InternalsVisibleTo]

In System.Collections.Generic:
2010-03-19  Sebastien Pouliot  <sebastien@ximian.com>

* CollectionDebuggerView.cs: Change to internal so we can avoid
a duplicating the type in assemblies that have [InternalsVisibleTo]

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

14 years ago2010-03-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 19 Mar 2010 17:19:42 +0000 (17:19 -0000)]
2010-03-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: Move the error detection code to a separate method.
This way depending on the version we decide what error takes
precedence: OverlowException in 2.0, and FormatException in 4.0. This
also lets us keep the Execute() code cleaner and easier to understand.

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

14 years agomono_debug_add_method: Don't call mono_disasm_code() for wrappers.
Martin Baulig [Fri, 19 Mar 2010 16:42:35 +0000 (16:42 -0000)]
mono_debug_add_method: Don't call mono_disasm_code() for wrappers.
2010-03-19  Martin Baulig  <martin@ximian.com>

* mono-debug.c (MonoDebugWrapperData): Replace `cil_code' with a
dummy field, containing an empty string.
(mono_debug_add_method): Don't call mono_disasm_code() for wrappers.

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

14 years agoFri Mar 19 17:26:43 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 19 Mar 2010 16:29:40 +0000 (16:29 -0000)]
Fri Mar 19 17:26:43 CET 2010 Paolo Molaro <lupus@ximian.com>

* class.c: setup_interface_offsets() refactor to not call
mono_class_get_implemented_interfaces () more times than needed and
to reduce the runtime memory requirements to be O(num_interfaces)
instead of O(max_interface_id).

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

14 years agoFri Mar 19 16:45:20 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 19 Mar 2010 15:47:12 +0000 (15:47 -0000)]
Fri Mar 19 16:45:20 CET 2010 Paolo Molaro <lupus@ximian.com>

* mini.h, mini-exceptions.c: restore the state of the stack
guard page permissions.

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

14 years ago2010-03-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 19 Mar 2010 14:45:37 +0000 (14:45 -0000)]
2010-03-19  Zoltan Varga  <vargaz@gmail.com>

* autogen.sh: Pass -Wno-portability to automake to quiet some warnings.

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

14 years agoFix a warning.
Zoltan Varga [Fri, 19 Mar 2010 14:09:04 +0000 (14:09 -0000)]
Fix a warning.

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

14 years ago2010-03-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 19 Mar 2010 13:27:57 +0000 (13:27 -0000)]
2010-03-19  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (common_call_trampoline): Remove the condition guarding the
call site patching code, it doesn't appear to be needed.

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

14 years ago2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 19 Mar 2010 12:42:33 +0000 (12:42 -0000)]
2010-03-19  Sebastien Pouliot  <sebastien@ximian.com>

* SocketException_2_1.cs: Add extra ctor (soon to be used)

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

14 years agoFix the build.
Zoltan Varga [Fri, 19 Mar 2010 12:09:14 +0000 (12:09 -0000)]
Fix the build.

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

14 years ago2010-03-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 19 Mar 2010 12:04:49 +0000 (12:04 -0000)]
2010-03-19  Zoltan Varga  <vargaz@gmail.com>

* mini-generic-sharing.c: Add infrastructure for partial sharing, ie.
sharing generic methods whose type arguments are a mix of reference and
non-reference types. Not yet turned on.

* mini.c (mini_get_shared_method): New helper function to return
the method which will be compiled/registered in the JIT tables when doing
generic sharing.
(mono_domain_lookup_shared_generic): Moved to mini.c from mini-generic-sharing.c,
use mini_get_shared_method ().

* mini.c (mini_method_compile): Register the same method which is compiled when
doing generic sharing.

* mini.c aot-compiler.c aot-runtime.c: Add support for partial sharing.

* generics.cs: Add partial sharing tests.

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

14 years agoinitial checkin for new assembly.
Atsushi Eno [Fri, 19 Mar 2010 11:53:54 +0000 (11:53 -0000)]
initial checkin for new assembly.

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

14 years ago2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 19 Mar 2010 11:52:41 +0000 (11:52 -0000)]
2010-03-19  Sebastien Pouliot  <sebastien@ximian.com>

* HttpWebRequest_2_1.cs: AllowWriteStreamBuffering getter/setter
throws NIE by default (must be overridden). Revert Accept and
ContentType behavior to SL2 (identical to SL4 but different from
SL3).
* WebClient_2_1.cs: Initialize UseDefaultCredentials to true. Set
the properties when creating a new WebRequest

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

14 years ago2010-03-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Mar 2010 10:21:08 +0000 (10:21 -0000)]
2010-03-19  Atsushi Enomoto  <atsushi@ximian.com>

* HostedBindingBehavior.cs : remove unused class.

* System.ServiceModel.dll.sources : remove unused class.
* HTTP_listener_notes.txt : add some more comments.

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

14 years ago2010-03-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Mar 2010 02:26:11 +0000 (02:26 -0000)]
2010-03-19  Atsushi Enomoto  <atsushi@ximian.com>

* WebHttpBehavior.cs : set FilterPriority to make it in higher
  priority than conflicting endpoints (such as mex endpoint).

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

14 years agoJerry Maine <crashfourit@gmail.com>
Jerri Maine [Fri, 19 Mar 2010 01:54:00 +0000 (01:54 -0000)]
Jerry Maine  <crashfourit@gmail.com>

* mini.h : Changed the SIMD_VERSION* enum values to match those in Mono.Simd.AccelMode.
   Add an enum value that or's all possable values together. Add an enum value
   that marks the end of the used bit indexes.

* mini-amd64.c : Make changes to match the changes in mini.h

* mini-x86.c : Make changes to match the changes in mini.h

* simd-intrinsics.c : Reorder the SimdIntrinsc struct to add more bits to
   simd_version to support more simd versions. Changed the name of
   simd_version to simd_version_flags to make it more intuitive that
   it now contains bit flags. Reordered the *_intrinsics arrays to
   match the changes above. Changed emit_intrinsics() to use the new
   setup mentioned above.

Code is contributed under MIT/X11 license.

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

14 years ago2010-03-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 18 Mar 2010 19:31:53 +0000 (19:31 -0000)]
2010-03-18  Sebastien Pouliot  <sebastien@ximian.com>

* HttpWebRequest_2_1.cs: Add SL4 RC AllowWriteStreamBuffering and
SupportsCookieContainer properties.
* WebClient_2_1.cs: Add SL4 RC AllowWriteStreamBuffering and
UseDefaultCredentials properties.
* WebHeaderCollection_2_1.cs: Authorization and Proxy-Authorization
are valid (i.e. usable) headers in SL4 (in both stacks)

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

14 years agofix net_4_0 build
Sebastien Pouliot [Thu, 18 Mar 2010 18:11:39 +0000 (18:11 -0000)]
fix net_4_0 build

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

14 years ago2010-03-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 18 Mar 2010 16:30:58 +0000 (16:30 -0000)]
2010-03-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: Put the error info in a single field, to make it easier
to preserve the very first error we get while parsing, and discard the
next ones. This will help us in a pair of cases where we were
overriding the previous error and reporting the wrong exception.

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

14 years ago2010-03-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 18 Mar 2010 16:08:21 +0000 (16:08 -0000)]
2010-03-18  Marek Habersack  <mhabersack@novell.com>

* Makefile: include resources in compilation

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

14 years ago2010-03-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 18 Mar 2010 14:29:26 +0000 (14:29 -0000)]
2010-03-18  Sebastien Pouliot  <sebastien@ximian.com>

        * corlib.dll.sources: Add Aes (for NET_4_0)
        * moonlight_raw_corlib.dll.sources: Add Aes and System.Runtime.
        CompilerServices/ReferenceAssemblyAttribute.cs

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

14 years agoIn Assembly:
Sebastien Pouliot [Thu, 18 Mar 2010 14:27:18 +0000 (14:27 -0000)]
In Assembly:
2010-03-18  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Add TypeForwardTo for Aes on NET_4_0

In System.Security.Cryptography:
2010-03-18  Sebastien Pouliot  <sebastien@ximian.com>

* Aes.cs: Build here before NET_4_0 (or MOONLIGHT) otherwise
build only if compiled from mscorlib.dll

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

14 years ago2010-03-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 18 Mar 2010 13:56:07 +0000 (13:56 -0000)]
2010-03-18  Sebastien Pouliot  <sebastien@ximian.com>
* ConditionalWeakTable.cs:
* ReferenceAssemblyAttribute.cs:
* TypeForwardedFromAttribute.cs:
Build them into Moonlight too (SL4)

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

14 years agofixup nsec for absolute time too
Gonzalo Paniagua Javier [Thu, 18 Mar 2010 13:55:15 +0000 (13:55 -0000)]
fixup nsec for absolute time too

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

14 years ago2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 18 Mar 2010 13:02:16 +0000 (13:02 -0000)]
2010-03-18  Atsushi Enomoto  <atsushi@ximian.com>

* XPathMessageContext.cs : implement.
* XPathMessageFilterTable.cs : add some missing overloads.

* Constants.cs : add more.

* System.ServiceModel_test.dll.sources :
  Add Constants.cs and XPathMessageContextTest.cs.

* XPathMessageContextTest.cs : new.

* Constants.cs : copied from the lib itself.

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

14 years ago2010-03-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 18 Mar 2010 11:59:29 +0000 (11:59 -0000)]
2010-03-18 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpWebResponse.cs:
* FtpWebRequest.cs: for non-data operations, make sure we send the
QUIT command upon completion when KeepAlive is false.
Fixes bug #589305.

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

14 years ago2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 18 Mar 2010 10:36:51 +0000 (10:36 -0000)]
2010-03-18  Atsushi Enomoto  <atsushi@ximian.com>

* ReliableSessionBindingElement.cs,
  PrivacyNoticeBindingElement.cs,
  RemoteEndpointMessageProperty.cs : added some missing types.

* Dummy.cs : removed some dummy types (not dummy anymore).

* System.ServiceModel.dll.sources : added some missing types.

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

14 years ago2010-03-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 18 Mar 2010 09:45:25 +0000 (09:45 -0000)]
2010-03-18 Gonzalo Paniagua Javier <gonzalo@novell.com>

* mono-mlist.[ch]: add mono_mlist_set_next ().

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

14 years ago2010-03-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 18 Mar 2010 07:17:47 +0000 (07:17 -0000)]
2010-03-18  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (runtest): Save the output of the aot compiler into a file.

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

14 years agoFix the IA64 build.
Zoltan Varga [Thu, 18 Mar 2010 06:27:22 +0000 (06:27 -0000)]
Fix the IA64 build.

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

14 years ago2010-03-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 18 Mar 2010 06:26:02 +0000 (06:26 -0000)]
2010-03-18  Zoltan Varga  <vargaz@gmail.com>

* mkbundle.cs: Update after the mono.pc and libmono version bump.

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

14 years ago2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 18 Mar 2010 02:56:09 +0000 (02:56 -0000)]
2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>

* StreamReaderTest.cs: test for bug 589236. The detected encoding is
different from the one provided in the ctor.

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

14 years ago2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 18 Mar 2010 02:41:08 +0000 (02:41 -0000)]
2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>

* StreamReader.cs: if the detected encoding is different from the
provided to the constructor, adjust the decoded buffer size if
needed. Fixes bug #589236.

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

14 years ago2010-03-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 17 Mar 2010 22:35:23 +0000 (22:35 -0000)]
2010-03-17  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs, AspParser.cs, TemplateControlCompiler.cs, TagType.cs, CodeRenderBuilder.cs: implemented the new <%: %> 4.0 html-encoded code render expression.

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

14 years ago2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 17 Mar 2010 19:10:08 +0000 (19:10 -0000)]
2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>

* mono-semaphore.c: _timedwait takes an absolute time.

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

14 years ago2010-03-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 17 Mar 2010 19:02:17 +0000 (19:02 -0000)]
2010-03-17  Sebastien Pouliot  <sebastien@ximian.com>

* String.cs: SL4 includes new IsNullOrWhiteSpace and Concat/Join
overloads.

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

14 years ago2010-03-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 17 Mar 2010 18:12:09 +0000 (18:12 -0000)]
2010-03-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: TimeSpan is actually implementing IFormattable.

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

14 years ago2010-03-17 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 17 Mar 2010 17:46:29 +0000 (17:46 -0000)]
2010-03-17 Rodrigo Kumpera  <rkumpera@novell.com>

* mini-*.c (mono_arch_output_basic_block): Record try block
* holes on all remaining archs. Alpha and hppa maintainers, please stand up.

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

14 years ago2010-03-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 Mar 2010 15:02:39 +0000 (15:02 -0000)]
2010-03-17  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_build_imt_thunk): Always save and restore r11 since it
is needed even when fail_tramp!=NULL.

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

14 years ago2010-03-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 Mar 2010 14:55:32 +0000 (14:55 -0000)]
2010-03-17  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (insert_breakpoint): Write a log message.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 13:52:42 +0000 (13:52 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* WsdlExporter.cs : allow identical contract while exporting a set
  of endpoints, while reject identical ones when calling
  ExportEndpoint() individually.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 13:26:23 +0000 (13:26 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* MetadataExchangeBindings.cs : use WSHttpBinding (it works if other
  parts gets fixed).

* MetadataExchangeBindingsTest.cs : new test.

* System.ServiceModel_test.dll.sources :
  add MetadataExchangeBindingsTest.cs.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 13:19:09 +0000 (13:19 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceMetadataExtension.cs, WsdlExporter.cs :
  implement ExportEndpoints() and use it.

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

14 years ago2010-03-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 17 Mar 2010 11:56:17 +0000 (11:56 -0000)]
2010-03-17  Sebastien Pouliot  <sebastien@ximian.com>

* Stream.cs: CopyTo methods are part of SL4 too

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 11:27:31 +0000 (11:27 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceMetadataPublishingElement.cs : use IsNullOrEmpty(), names
  could be "" which is equivalent to null here.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 11:26:36 +0000 (11:26 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : use namespace for mex binding comparison, to
  cover other bindings than http (such as https).
* WSHttpBindingBase.cs : add some comment.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 11:09:11 +0000 (11:09 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigUtil.cs, StandardBindingCollectionElement.cs,
  MexHttpsBindingCollectionElement.cs,
  MexHttpBindingCollectionElement.cs : use GetDefault() in
  BindingCollectionElement to create a Binding, instead of activator
  immediately. And for mex bindings, use MetadataExchangeBindings.

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

14 years ago2010-03-17 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Wed, 17 Mar 2010 10:36:49 +0000 (10:36 -0000)]
2010-03-17  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* AppDomain.cs: Added MonoTODO for IsCompatibilitySwitchSet.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 08:48:15 +0000 (08:48 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* MessageHeaders.cs :
  why does it filter out most of the headers? kill it.

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 07:05:41 +0000 (07:05 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
  HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
  to not raise "not found" error (see bug #573795).

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

14 years ago2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Mar 2010 05:10:42 +0000 (05:10 -0000)]
2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextWriter2.cs : fix cosmetic 2.0 compatibility issue in
  WriteStartAttribute() which allows "" for prefixed xmlns and brings
  incompatibility with XmlTextWriter class.

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

14 years agoNew test.
Marek Safar [Tue, 16 Mar 2010 22:32:21 +0000 (22:32 -0000)]
New test.

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

14 years ago2010-03-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Mar 2010 22:09:51 +0000 (22:09 -0000)]
2010-03-16  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_llvm_call_info): Avoid crashes with arguments
passed on the stack.

* mini-amd64.c (mono_arch_get_llvm_call_info): Ditto.

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

14 years ago2010-03-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Mar 2010 22:04:42 +0000 (22:04 -0000)]
2010-03-16  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_llvm_call_info): Avoid crashes with arguments
passed on the stack.

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

14 years agodifferent check
Marek Safar [Tue, 16 Mar 2010 19:58:19 +0000 (19:58 -0000)]
different check

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

14 years agoAdded system.web.mvc2.pc
Marek Habersack [Tue, 16 Mar 2010 18:58:05 +0000 (18:58 -0000)]
Added system.web.mvc2.pc

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

14 years ago2010-03-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 16 Mar 2010 18:51:40 +0000 (18:51 -0000)]
2010-03-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: In 4.0 the Parse/TryParse methods always try to use its
associated CultureInfo.NumberFormat.NumberDecimalSeparator value, as well as
providing backwards compatibility by also supporting '.' as the
separator.

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

14 years ago2010-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 16 Mar 2010 15:16:48 +0000 (15:16 -0000)]
2010-03-16 Rodrigo Kumpera  <rkumpera@novell.com>

* iltests.il.in: Add a few tests for LEAVE going over multiple
finally clauses.

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

14 years ago2010-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 16 Mar 2010 15:16:25 +0000 (15:16 -0000)]
2010-03-16 Rodrigo Kumpera  <rkumpera@novell.com>

 * mini-x86.c (mono_arch_output_basic_block): Record try block holes.

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

14 years ago2010-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 16 Mar 2010 15:16:11 +0000 (15:16 -0000)]
2010-03-16 Rodrigo Kumpera  <rkumpera@novell.com>

* mini.h (MonoBasicBlock): Add native_length field.
* mini.h (MonoCompile): Add try_block_holes field.
* mini.h (MonoInst): Add exception_clause pointer to
the data union.

* mini.c (mono_codegen): Calculate MonoBasicBlock::native_length.
* mini.c (mono_cfg_add_try_hole): New function to register possible
holes in try blocks.
* mini.c (create_jit_info): Fill in the holes information.

* mini-exceptions.c: Verify for holes when checking if an IP is covered
by a try block.

* method-to-ir.c: Add the EH clause to the CALL_HANDLE instruction.

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

14 years ago2010-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 16 Mar 2010 15:15:03 +0000 (15:15 -0000)]
2010-03-16 Rodrigo Kumpera  <rkumpera@novell.com>

* domain-internals.h: Add MonoTryBlockHoleJitInfo struct and
associated changes to support holes in the protected range of a
try block.

* domain.c: Add mono_jit_info_get_try_block_hole_table_info, which
retrieves the holes table from a given MonoJitInfo.

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

14 years agoNew tests.
Marek Safar [Tue, 16 Mar 2010 14:55:05 +0000 (14:55 -0000)]
New tests.

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

14 years ago * library.make (MDOC_UP): Set MONO_PATH to find monodoc.dll.
Jonathan Pryor [Tue, 16 Mar 2010 14:48:12 +0000 (14:48 -0000)]
* library.make (MDOC_UP): Set MONO_PATH to find monodoc.dll.
* rules.make (MDOC): MONO_PATH needs to include
  $(topdir)/class/lib/net_2_0 so that monodoc.dll can be found.

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

14 years agoIn class:
Rolf Bjarne Kvinge [Tue, 16 Mar 2010 12:34:05 +0000 (12:34 -0000)]
In class:
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Makefile: Add System.Xml.Serialization to the Moonlight build.

In class/System.Xml.Serialization/Assembly:
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* AssemblyInfo.cs: Added.

In class/System.Xml.Serialization:
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Makefile:
* System.Xml.Serialization.dll.sources:
* moonlight_raw_System.Xml.Serialization.dll.sources: Added.

In class/System.Xml.Serialization/System.Xml.Serialization:
2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* XmlMapping.cs:
* XmlAttributes.cs:
* XmlSerializer.cs:
* XmlTypeMapping.cs:
* XmlAttributeOverrides.cs:
* XmlSerializationWriter.cs:
* XmlSerializationReader.cs:
* XmlSerializerNamespaces.cs:
* XmlSerializationGeneratedCode.cs: Added a partially stubbed out version of
System.Xml.Serialization.dll, required for the Silverlight test suite to
compile. A real implementation based on the same classes in System.Xml should
eventually be done.

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:31:23 +0000 (12:31 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:27:35 +0000 (12:27 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:25:55 +0000 (12:25 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:25:17 +0000 (12:25 -0000)]
use MOONLIGHT symbol

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

14 years agouse MOONLIGHT symbol
Jb Evain [Tue, 16 Mar 2010 12:24:55 +0000 (12:24 -0000)]
use MOONLIGHT symbol

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