mono.git
15 years ago * mdoc-update.1: Document -L, -r options.
Jonathan Pryor [Fri, 10 Apr 2009 02:06:01 +0000 (02:06 -0000)]
* mdoc-update.1: Document -L, -r options.

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

15 years ago * Mono.Documentation/monodocer.cs: Using a single IAssemblyResolver is
Jonathan Pryor [Fri, 10 Apr 2009 01:49:42 +0000 (01:49 -0000)]
* Mono.Documentation/monodocer.cs: Using a single IAssemblyResolver is
  an improvement, but doesn't fix all problems.  In particular, some
  assemblies will depend upon other assemblies to load (e.g. 3rd party
  assemblies) but these dependent assemblies shouldn't be documented.
  Add support for -r:ASSEMBLY and -L:DIRECTORY arguments to allow the
  user to manually add to the assembly search path so that assemblies
  can be found.  Assemblies added via -r will NOT be documented.

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

15 years ago2009-04-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 10 Apr 2009 00:29:55 +0000 (00:29 -0000)]
2009-04-10  Zoltan Varga  <vargaz@gmail.com>

* decompose.c (mono_decompose_opcode): Make this return a MonoInst*
representing the result of the decomposition. Nullify instructions
instead of setting them to OP_NOP since nops can't have registers
set.

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

15 years ago2009-04-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 9 Apr 2009 22:33:02 +0000 (22:33 -0000)]
2009-04-09 Rodrigo Kumpera  <rkumpera@novell.com>

* valid_delegate_signature_with_generics.cs: Test for the compatibility
of delegate arguments when a function has a non generic type argument
and the delegate has a generic one.

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

15 years ago2009-04-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 9 Apr 2009 22:32:52 +0000 (22:32 -0000)]
2009-04-09 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_delegate_type_equal): Proper check MONO_TYPE_CLASS.

* verify.c (verify_ldftn_delegate): Improve error message.

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

15 years ago2009-04-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 9 Apr 2009 20:42:28 +0000 (20:42 -0000)]
2009-04-09  Zoltan Varga  <vargaz@gmail.com>

* thread6.cs: Fix race added by the last change.

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

15 years ago2009-04-09 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 9 Apr 2009 20:36:38 +0000 (20:36 -0000)]
2009-04-09  Bill Holmes  <billholmes54@gmail.com>

* finalizer-abort.cs, finalizer-exception.cs, finalizer-exit.cs :
  Adding a sleep to the waiting thread to give Mono on Windows an
  opportunity to interrupt the thread via QueueUserAPC.

Contributed under MIT/X11 license.

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

15 years ago2009-04-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 9 Apr 2009 20:16:57 +0000 (20:16 -0000)]
2009-04-09  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Disable the finalizer tests which only work under sgen.

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

15 years ago2009-04-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 9 Apr 2009 19:43:53 +0000 (19:43 -0000)]
2009-04-09  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (mono_compile_assembly): Split this huge function into
smaller parts. Add 'nodebug' option to prevent generation of DWARF debug
info. Strip 'mapping symbols' on ARM.

* iltests.il.in (test_0_fconv_to_i): Disable this on ARM too.

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

15 years ago2009-04-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 9 Apr 2009 18:33:37 +0000 (18:33 -0000)]
2009-04-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListBox.cs: The default instance StringFormat field used to draw our
items should use the StringFormatFlags.NoWrap value, so it doesn't try
to put in a different line the text that doesn't fit our bounds, but
show it partially.
Fixes #475581.

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

15 years ago* reflection.c (my_mono_class_from_mono_type): Remove.
Raja R Harinath [Thu, 9 Apr 2009 18:26:11 +0000 (18:26 -0000)]
* reflection.c (my_mono_class_from_mono_type): Remove.

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

15 years agoPrepare to reduce memory usage of owner-less generic parameters (1/n)
Raja R Harinath [Thu, 9 Apr 2009 18:25:49 +0000 (18:25 -0000)]
Prepare to reduce memory usage of owner-less generic parameters (1/n)

* metadata/class-internals.h (MonoGenericParam): Carve out pklass, name, flags
and constraints fields into ...
(MonoGenericParamInfo): ... this.
(mono_generic_param_info, mono_generic_container_get_param_info): New accessors.
* metadata/{class.c, debug-helpers.c, icall.c}: Update to changes.
* metadata/{metadata.c, reflection.c, verify.c}: Likewise.
* dis/get.c: Use new MonoGenericParamInfo accessors.

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

15 years ago2009-04-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 9 Apr 2009 18:05:32 +0000 (18:05 -0000)]
2009-04-09  Zoltan Varga  <vargaz@gmail.com>

* genmdesc.pl: Applied patch by Martin Fuzzey (mfuzzey@parkeon.com). Sync
this with the native genmdesc.

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

15 years ago * executable.make, library.make: Move the include for tests.make so
Jonathan Pryor [Thu, 9 Apr 2009 17:52:52 +0000 (17:52 -0000)]
* executable.make, library.make: Move the include for tests.make so
  that DISTFILES can be properly set (and thus properly distribute the
  *_test.dll.sources file).  This allows unit tests to actually build
  and run when building from the tarball.

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

15 years ago* Update --help output. Now shows default values
Rusty Howell [Thu, 9 Apr 2009 16:49:59 +0000 (16:49 -0000)]
* Update --help output. Now shows default values

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

15 years ago2009-04-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 9 Apr 2009 16:40:26 +0000 (16:40 -0000)]
2009-04-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* CheckedListbox.cs: When executing OnItemClick check that the index
is different to -1 before trying to retrieve an item using that value.
Fixes a ArgumentOutOfRangeException thrown when the horizontal
scrollbar was visible but not needed, and then a clicked was received
on its area.

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

15 years agoIn .:
Sebastien Pouliot [Thu, 9 Apr 2009 15:52:58 +0000 (15:52 -0000)]
In .:
2009-04-09  Sebastien Pouliot  <sebastien@ximian.com>

* System.Net.dll.sources: Remove some unneeded files for the
build. Add the SL2 specific enums, instead of using the existing
ones from System.dll. Include Socket_2_1.cs (from System) and use
the AssemblyInfo.cs for this assembly

In System.Net:
2009-04-09  Sebastien Pouliot  <sebastien@ximian.com>

* DnsEndPoint_2_1.cs: Fix header.
* HttpStatusCode_2_1.cs: New. SL2 (short) version of the enum
* HttpWebRequest_2_1.cs: Add missing members
* WebExceptionStatus_2_1.cs: New. SL2 (short) version of the enum
* WebHeaderCollection_2_1.cs: Implement S.C.IEnumerable

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

15 years ago2009-04-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 9 Apr 2009 15:42:20 +0000 (15:42 -0000)]
2009-04-09  Zoltan Varga  <vargaz@gmail.com>

* debug-helpers.c (dis_one): Fix decoding of strings in dynamic images.

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

15 years ago2009-04-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 9 Apr 2009 15:35:21 +0000 (15:35 -0000)]
2009-04-09  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Adjust attributes for 2.1

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

15 years ago2009-04-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 9 Apr 2009 15:31:54 +0000 (15:31 -0000)]
2009-04-09  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (get_runtime_invoke_type): Share enums with their base types.

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

15 years agoRemove classes that are not in the final SL2 release. Add some SL2 short-versions...
Sebastien Pouliot [Thu, 9 Apr 2009 15:22:34 +0000 (15:22 -0000)]
Remove classes that are not in the final SL2 release. Add some SL2 short-versions of FX enums.

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

15 years agoIn System.Net.Sockets:
Sebastien Pouliot [Thu, 9 Apr 2009 15:06:42 +0000 (15:06 -0000)]
In System.Net.Sockets:
2009-04-09  Sebastien Pouliot  <sebastien@ximian.com>

* Socket.cs: Split socket class into two files (this one and the
new Socket_2_1.cs). This let us remove (some) existing #if in the
sources and avoid (a lot) of new ones for Moonlight.
* Socket_2_1.cs: Just enough of socket for NET_2_1. This helps
the tuner not to bring a lot of extra stuff (some visible)
into Moonlight.
* SocketAsyncEventArgs.cs: Ifdef out some cases for NET_2_1 so
Moonlight can use it's own (smaller) SocketAsyncOperation enum

In .:
2009-04-09  Sebastien Pouliot  <sebastien@ximian.com>

* System.dll.sources: Add System.Net.Sockets/Socket_2_1.cs

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

15 years ago2009-04-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 9 Apr 2009 13:45:43 +0000 (13:45 -0000)]
2009-04-09  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (get_runtime_invoke_type): Share pointers with ints and
booleans with sbytes.

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

15 years ago2009-04-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 9 Apr 2009 05:22:27 +0000 (05:22 -0000)]
2009-04-09 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ecma-provider.cs: remove 'using'.
* provider.cs: if there's a directory with the base name, read the
files from there instead of from the .zip file.

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

15 years ago2009-04-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 9 Apr 2009 00:45:20 +0000 (00:45 -0000)]
2009-04-08 Rodrigo Kumpera  <rkumpera@novell.com>

* valid_nested_access_with_multi_array_instance.cs:
* valid_nested_access_with_array_instance.cs: Regression tests for
#493068.

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

15 years ago2009-04-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 9 Apr 2009 00:45:04 +0000 (00:45 -0000)]
2009-04-08 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (can_access_instantiation): Verify accesibility of element types
for arrays and pointers.

* class.c (can_access_type): Return true if the target class is VAR or MVAR.

* class.c (mono_method_can_access_method_full): Fix typos in the documentation.

Fixes #493068.

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

15 years ago2009-04-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 9 Apr 2009 00:44:49 +0000 (00:44 -0000)]
2009-04-08 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_invoke_method): Improve error messages.

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

15 years ago * Mono.Documentation/monodocer.cs: Use a single IAssemblyResolver
Jonathan Pryor [Thu, 9 Apr 2009 00:03:36 +0000 (00:03 -0000)]
* Mono.Documentation/monodocer.cs: Use a single IAssemblyResolver
  shared amongst all AssemblyDefinitions to resolve assembly/type
  references with Cecil.  Otherwise, if we have deeply nested
  directories with cross-directory assembly dependencies, then Cecil
  won't find the necessary assemblies (e.g. b/bin/Debug/b.dll has a
  type which inherits from a/bin/Debug/a.dll -- here, we'll have two
  separate AssemblyDefinitions, and when b.dll's AssemblyDefinition
  tries to resolve types from a.dll, it fails).
  See: http://lists.ximian.com/pipermail/mono-devel-list/2009-April/031646.html

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

15 years ago * AssemblyInfo.cs: Building against the local AssemblyInfo.cs broke
Jonathan Pryor [Wed, 8 Apr 2009 20:31:14 +0000 (20:31 -0000)]
* AssemblyInfo.cs: Building against the local AssemblyInfo.cs broke
  sqlmetal, as it couldn't find an IProcessor implementation (as the
  local AssemblyInfo.cs was missing a [assembly: DbLinq] attribute).
  Fix so that sqlmetal works again.
* Makefile: Actually enable NUnit tests.

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

15 years ago2009-04-08 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 8 Apr 2009 20:12:23 +0000 (20:12 -0000)]
2009-04-08  Bill Holmes  <billholmes54@gmail.com>

* verify.c:  Fixing the MSVC build.

* aot-runtime.c:  Fixing the MSVC build.

Code is contributed under MIT/X11 license.

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

15 years ago2009-04-08 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 8 Apr 2009 20:08:40 +0000 (20:08 -0000)]
2009-04-08  Bill Holmes  <billholmes54@gmail.com>

* libmono.vcproj : Adding mini/mini-gc to the project.

Code is contributed under MIT/X11 license.

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

15 years ago * **/* (svn:ignore): Ignore generated files and directories.
Jonathan Pryor [Wed, 8 Apr 2009 20:07:26 +0000 (20:07 -0000)]
* **/* (svn:ignore): Ignore generated files and directories.
* src/**/*: Flush; syncs to DbLinq r1043.

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

15 years ago* tuner/Mono.Tuner.csproj:
Andrés G. Aragoneses [Wed, 8 Apr 2009 19:42:32 +0000 (19:42 -0000)]
* tuner/Mono.Tuner.csproj:
* linker/Mono.Linker.csproj: Update.

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

15 years ago* tuner/Mono.Tuner.csproj:
Andrés G. Aragoneses [Wed, 8 Apr 2009 19:36:25 +0000 (19:36 -0000)]
* tuner/Mono.Tuner.csproj:
* linker/Mono.Linker.csproj: Update.

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

15 years ago2009-04-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 8 Apr 2009 18:35:01 +0000 (18:35 -0000)]
2009-04-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MaskedTextBox.cs: If Insert is pressed, change the internal
overwrite mode for our default value.
Fixes some bits of #477395.

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

15 years ago2009-04-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Apr 2009 17:42:08 +0000 (17:42 -0000)]
2009-04-08  Sebastien Pouliot  <sebastien@ximian.com>

* security-core-clr.c: Simplify get_reflection_caller not to call
mono_method_get_last_managed (another stack walk) and adjust the
callers to handle a (should not happen) NULL return value.

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

15 years ago2009-04-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 8 Apr 2009 14:53:08 +0000 (14:53 -0000)]
2009-04-08  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Pass i1/i2 arguments as i4 since
JITted code depends on it.

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

15 years agoAdd accessors to some MonoGenericParam fields
Raja R Harinath [Wed, 8 Apr 2009 11:32:16 +0000 (11:32 -0000)]
Add accessors to some MonoGenericParam fields

* dis/get.c: Use new MonoGenericParam accessors.
* metadata/class-internals.h (mono_generic_param_owner): New accessor.
(mono_generic_param_num): Likewise.
(mono_type_get_generic_param_owner): New helper.
(mono_type_get_generic_param_num): New helper.
* metadata/{class.c, icall.c, metadata.c, reflection.c, verify.c}: Use them.
* mini/aot-compiler.c: Use new MonoGenericParam accessors.

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

15 years ago2009-04-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 8 Apr 2009 11:32:08 +0000 (11:32 -0000)]
2009-04-08  Marek Habersack  <mhabersack@novell.com>

* ScriptComponentDescriptor.cs: properties/events/references must
be serialized in alphabetical order. This matches what .NET
does. Some 3rd party controls depend upon this fact.

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

15 years agoReduce memory usage and improve correctness wrt MonoGenericParam
Raja R Harinath [Wed, 8 Apr 2009 05:33:06 +0000 (05:33 -0000)]
Reduce memory usage and improve correctness wrt MonoGenericParam

* aot-runtime.c (decode_klass_ref): Simplify generic parameter
handing.  Avoid allocating MonoGenericParams, but use the ones in
the container itself.

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

15 years agoAdd a wrapper for MonoGenericContainer.type_params field
Raja R Harinath [Wed, 8 Apr 2009 05:32:45 +0000 (05:32 -0000)]
Add a wrapper for MonoGenericContainer.type_params field

* dis/get.c: Use MonoGenericContainer accessor to get the contained
MonoGenericParam.
* metadata/class-internals.h (mono_generic_container_get_param): New wrapper.
* metadata/{class.c, icall.c, metadata.c, verify.c}: Use it.

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

15 years ago2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 8 Apr 2009 04:13:56 +0000 (04:13 -0000)]
2009-04-08  Atsushi Enomoto  <atsushi@ximian.com>

* CodeWriter.cs : move into namespace.

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

15 years ago2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 8 Apr 2009 03:45:57 +0000 (03:45 -0000)]
2009-04-08  Atsushi Enomoto  <atsushi@ximian.com>

* IdentityElement.cs, NetPeerTcpBindingElement.cs: implemented
  OnApplyConfiguration().

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

15 years ago2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 8 Apr 2009 03:45:22 +0000 (03:45 -0000)]
2009-04-08  Atsushi Enomoto  <atsushi@ximian.com>

* NetTcpBindingTest.cs : fix wrong value expectation.

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

15 years ago2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 8 Apr 2009 03:44:14 +0000 (03:44 -0000)]
2009-04-08  Atsushi Enomoto  <atsushi@ximian.com>

* NetPeerTcpBinding.cs : ListenIPAddress is IPAddress here too.

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

15 years ago2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 8 Apr 2009 03:43:02 +0000 (03:43 -0000)]
2009-04-08  Atsushi Enomoto  <atsushi@ximian.com>

* PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.

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

15 years ago2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 8 Apr 2009 03:40:15 +0000 (03:40 -0000)]
2009-04-08  Atsushi Enomoto  <atsushi@ximian.com>

* PeerTransportSecuritySettings.cs : new.
* PeerSecuritySettings.cs : Transport was missing.

* System.ServiceModel.dll.sources:
  added PeerTransportSecuritySettings.cs.
* Makefile: use -r:System.Core in non-2.1 build too.

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

15 years agoRevert r131263 which caused regressions
Raja R Harinath [Wed, 8 Apr 2009 03:03:17 +0000 (03:03 -0000)]
Revert r131263 which caused regressions

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

15 years agoFix gtest-252.cs
Raja R Harinath [Wed, 8 Apr 2009 01:50:09 +0000 (01:50 -0000)]
Fix gtest-252.cs

* verify.c (mono_type_is_valid_type_in_context): Rewrite to use
the standard case/loop.  In particular, don't complain about
references to generic type definitions.

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

15 years agoupdate known issues
Raja R Harinath [Wed, 8 Apr 2009 00:24:14 +0000 (00:24 -0000)]
update known issues

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

15 years ago2009-04-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 7 Apr 2009 23:54:59 +0000 (23:54 -0000)]
2009-04-07  Miguel de Icaza  <miguel@novell.com>

* tasklets.c: Return exceptions in the out argument.

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

15 years ago2009-04-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 7 Apr 2009 23:43:19 +0000 (23:43 -0000)]
2009-04-07  Miguel de Icaza  <miguel@novell.com>

* Mono.Tasklets/Mono.Tasklets/Continuation.cs: Implement
IDisposable.

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

15 years ago2009-04-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 7 Apr 2009 22:52:38 +0000 (22:52 -0000)]
2009-04-08  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Fix alignment in the LOCALLOC_IMM
opcode. Use pointer types in more places instead of casting them to
integers.

* mini-llvm-cpp.cpp (mono_llvm_create_ee): Create a pass manager to run
optimizations.
(mono_llvm_optimize_method): New helper function to optimize a method.

* method-to-ir.c (mono_emit_widen_call_res): Extract the call result
widening code so it could be called from more places.
(mono_method_to_ir): Call mono_emit_widne_call_res () in several more
code paths in the call opcodes.

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

15 years ago2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 7 Apr 2009 22:30:00 +0000 (22:30 -0000)]
2009-04-07 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (method_from_memberref): If ít's a memberref to a typespec inflate
the signature and search the inflated type.

We can't blindly search the generic type definition or expect that the signature
will be inflated as both options can happen. The only solution is to search the
inflated type against the inflated signature.

Fixes #492778.

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

15 years agoAdd to the build
Miguel de Icaza [Tue, 7 Apr 2009 22:13:52 +0000 (22:13 -0000)]
Add to the build

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

15 years ago2009-04-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 7 Apr 2009 21:49:54 +0000 (21:49 -0000)]
2009-04-07  Zoltan Varga  <vargaz@gmail.com>

* debug-helpers.c (dis_one): Decode string arguments.

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

15 years ago2009-04-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 7 Apr 2009 20:00:13 +0000 (20:00 -0000)]
2009-04-07  Zoltan Varga  <vargaz@gmail.com>

* mono-gdb.py (ObjectPrinter.__init__): Update to latest archer api.

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

15 years agoFix bug #491828.
Ankit Jain [Tue, 7 Apr 2009 19:04:23 +0000 (19:04 -0000)]
Fix bug #491828.
* ToolTask.cs (LogEventsFromTextOutput): Log even in case of
unrecognized errors.

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

15 years agoFix bug #487155.
Ankit Jain [Tue, 7 Apr 2009 18:34:18 +0000 (18:34 -0000)]
Fix bug #487155.
* StringHelper.cs: Handle octal values in strings.
Patch from  Stephen Gennard (stephen@gennard.net)

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

15 years agoMon Apr 6 14:19:54 CEST 2009 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 7 Apr 2009 15:59:02 +0000 (15:59 -0000)]
Mon Apr 6 14:19:54 CEST 2009 Paolo Molaro <lupus@ximian.com>

* exceptions-amd64.c, mini-amd64.h: amd64 support code for continuations.

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

15 years ago2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 7 Apr 2009 15:00:14 +0000 (15:00 -0000)]
2009-04-07 Rodrigo Kumpera  <rkumpera@novell.com>

* pedump.c (dump_verify_info): Dump type name correctly.

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

15 years ago2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 7 Apr 2009 14:35:47 +0000 (14:35 -0000)]
2009-04-07 Rodrigo Kumpera  <rkumpera@novell.com>

* valid_eh_block_with_no_instructions_after.il: Regression test
for #492494.

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

15 years ago2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 7 Apr 2009 14:35:36 +0000 (14:35 -0000)]
2009-04-07 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_method_verify): Don't init code slots for exception boundaries if they
are larger than code size.

This can happen in valid code if the try/catch block is not followed by any instruction
and do a backward branch on the leave instruction.

Fixes #492494.

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

15 years ago2009-04-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 7 Apr 2009 13:05:43 +0000 (13:05 -0000)]
2009-04-07  Marek Habersack  <mhabersack@novell.com>

* ScriptComponentDescriptor.cs: new values replace old in
AddEntry.

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

15 years ago2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Apr 2009 12:11:53 +0000 (12:11 -0000)]
2009-04-07  Atsushi Enomoto  <atsushi@ximian.com>

* TcpTransportBindingElement.cs : check build-ability before
  actually building channels.
* ConnectionOrientedTransportBindingElement.cs : fixed build-ability
  conditions according to MSDN.

* TcpTransportBindingElementTest.cs : more can-build tests.

* NetTcpBindingTest.cs : new test.

* System.ServiceModel_test.dll.sources: added NetTcpBindingTest.cs.

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

15 years ago2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Apr 2009 12:07:05 +0000 (12:07 -0000)]
2009-04-07  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : add duplex channels as channel candidates.

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

15 years agoadded IOnlineStatus.
Atsushi Eno [Tue, 7 Apr 2009 12:05:46 +0000 (12:05 -0000)]
added IOnlineStatus.

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

15 years ago2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Apr 2009 12:02:21 +0000 (12:02 -0000)]
2009-04-07  Atsushi Enomoto  <atsushi@ximian.com>

* IPeerResolverContract.cs: fix SessionMode value.

(bah, bad manner; no ChangeLog previously.)

* CustomPeerResolverServiceTest.cs : added contract check.

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

15 years agodisable nunit tests till they compile
Raja R Harinath [Tue, 7 Apr 2009 11:10:14 +0000 (11:10 -0000)]
disable nunit tests till they compile

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

15 years agoEnsure Test/ exists in dist tarballs and checkouts
Raja R Harinath [Tue, 7 Apr 2009 11:06:59 +0000 (11:06 -0000)]
Ensure Test/ exists in dist tarballs and checkouts

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

15 years ago2009-04-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 7 Apr 2009 10:56:27 +0000 (10:56 -0000)]
2009-04-07  Marek Habersack  <mhabersack@novell.com>

* Control.cs: ApplyTheme - make sure Page is not null before using
it. Fixes bug #492666

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

15 years ago2009-04-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 7 Apr 2009 10:44:56 +0000 (10:44 -0000)]
2009-04-07  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: GenerateExpressionFromString doesn't
assume that the passed member is a property anymore. Fixes bug
#492252

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

15 years ago2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Apr 2009 08:57:40 +0000 (08:57 -0000)]
2009-04-07  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDictionaryReaderQuotasElement.cs, NetTcpBindingElement.cs:
  implement OnApplyConfiguration().

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

15 years agoCode formatting
Marek Habersack [Tue, 7 Apr 2009 08:44:21 +0000 (08:44 -0000)]
Code formatting

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

15 years ago2009-04-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 7 Apr 2009 07:05:06 +0000 (07:05 -0000)]
2009-04-07  Marek Habersack  <mhabersack@novell.com>

* TreeView.js: removed nodeText parameter from the JS calls.

* TreeView.cs: encode | characters into U+007C, so that
RaiseCallbackEvent doesn't get confused.
Removed nodeText parameter from the JS calls.

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

15 years ago2009-04-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 06:56:55 +0000 (06:56 -0000)]
2009-04-07 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ClientProxyHandler.cs: set cacheability to public.

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

15 years agoremove CWL
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 03:38:57 +0000 (03:38 -0000)]
remove CWL

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

15 years ago2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 03:38:00 +0000 (03:38 -0000)]
2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TreeNode.cs: reset the path data for all child nodes too.
* TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
node tree, set the correct index for the nodes so that the Path is
correct.

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

15 years ago * . (svn:ignore): Ignore generated files.
Jonathan Pryor [Tue, 7 Apr 2009 01:23:14 +0000 (01:23 -0000)]
* . (svn:ignore): Ignore generated files.
* AssemblyInfo.cs: Added; Assembly-level attributes for sqlmetal.exe.
* Makefile: Correct the "namespace" of the embedded resource files;
  build NUnit tests for sqlmetal.exe.
* sqlmetal.exe.sources: Build against the local AssemblyInfo.cs, not
  DbMetal's AssemblyInfo.cs file.
* sqlmetal_test.dll.sources: Added; source files for the NUnit test.
* Test/AssemblyInfo.cs: Added; Assembly-level attributes for the NUnit
  test assembly.

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

15 years ago2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 00:05:35 +0000 (00:05 -0000)]
2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpWebRequest.cs: send REST after PASV to avoid some servers
forgetting aboout it.
Bug #491590 fixed.

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

15 years ago2009-04-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 6 Apr 2009 22:54:50 +0000 (22:54 -0000)]
2009-04-06 Rodrigo Kumpera  <rkumpera@novell.com>

* unverifiable_throw_with_unboxed_generic_argument.il: Regression test
for #487738.

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

15 years ago2009-04-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 6 Apr 2009 22:54:34 +0000 (22:54 -0000)]
2009-04-06 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_throw): Don't allow an unboxed generic param ar argument.

Fixes #487738.

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

15 years agoContribute
Gonzalo Paniagua Javier [Mon, 6 Apr 2009 21:41:57 +0000 (21:41 -0000)]
Contribute

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

15 years ago2009-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 6 Apr 2009 21:08:30 +0000 (21:08 -0000)]
2009-04-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: In EnsureVisible avoid any direct access to items if we
are using virtual mode - otherwise use the bounds stored in a specific
item in a given index. This is specially important when using groups
or when items are re-arranged, since the position in the items
collection can be different than that one being displayed.
Fixes the rest of ##491978.

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

15 years ago2009-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 6 Apr 2009 20:53:24 +0000 (20:53 -0000)]
2009-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Remove AllowPartiallyTrustedCallers from NET_2_1
build (not in SL2) and open our internals to System.Xml.Serialization
(only in NET_2_1) since MS SL2 SDK requires it. Test case @
http://demos.devexpress.com/AgDataGridDemos/

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

15 years ago2009-04-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Apr 2009 20:52:45 +0000 (20:52 -0000)]
2009-04-06  Zoltan Varga  <vargaz@gmail.com>

* test-xdb.py: New file, tester script for xdb.

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

15 years ago2009-04-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Apr 2009 20:52:39 +0000 (20:52 -0000)]
2009-04-06  Zoltan Varga  <vargaz@gmail.com>

* mono-gdb.py (stringify_class_name): Handle classes without a namespace
correctly.

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

15 years agoAdd .so files generated by AOT.
Zoltan Varga [Mon, 6 Apr 2009 20:44:24 +0000 (20:44 -0000)]
Add .so files generated by AOT.

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

15 years ago2009-04-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Apr 2009 20:42:42 +0000 (20:42 -0000)]
2009-04-06  Zoltan Varga  <vargaz@gmail.com>

* mono-gdb.py: Update after the changes to dwarfwriter.c.

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

15 years ago2009-04-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Apr 2009 20:42:33 +0000 (20:42 -0000)]
2009-04-06  Zoltan Varga  <vargaz@gmail.com>

* dwarfwriter.c: Use _ to separate class name
components as gdb can't handle '.'. Represent reference variables
as 'class <NAME>&'.

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

15 years ago * mdoc.5: Document //code/@src attribute.
Jonathan Pryor [Mon, 6 Apr 2009 20:36:21 +0000 (20:36 -0000)]
* mdoc.5: Document //code/@src attribute.

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

15 years ago2009-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 6 Apr 2009 19:53:11 +0000 (19:53 -0000)]
2009-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* security-core-clr.c: Fix typo while comparing second method names
in can_avoid_corlib_reflection_delegate_optimization

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

15 years ago2009-04-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 6 Apr 2009 19:43:07 +0000 (19:43 -0000)]
2009-04-06 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata.c (do_mono_metadata_parse_type): Fail if we are decoding
a MVAR using a class context.

Fixes #490335.

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

15 years ago2009-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 6 Apr 2009 19:42:07 +0000 (19:42 -0000)]
2009-04-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ThemeWin32Classic.cs: Include the previous check for ListView in a
2.0 define as needed.

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

15 years ago2009-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 6 Apr 2009 18:48:59 +0000 (18:48 -0000)]
2009-04-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ThemeWin32Classic.cs: Don't draw ListView's gridlines if we are using groups.
Fixes part of #491978.

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

15 years ago2009-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 6 Apr 2009 18:26:24 +0000 (18:26 -0000)]
2009-04-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolTip.cs: New fields to store the title/icon information.
* ThemeWin32Classic.cs: Implement support for tooltip's title and
icon.
Fixes #491978.

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

15 years ago2009-04-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 6 Apr 2009 18:03:04 +0000 (18:03 -0000)]
2009-04-06  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: make sure that precompiled is not null before
using it in GetPrecompiledType.

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

15 years ago2009-04-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 6 Apr 2009 18:02:20 +0000 (18:02 -0000)]
2009-04-06  Marek Habersack  <mhabersack@novell.com>

* HttpRuntime.cs: added a new internal static property
IsDebuggingEnabled

* HttpContext.cs: IsDebuggingEnabled now calls
HttpRuntime.IsDebuggingEnabled

2009-04-06  Marek Habersack  <mhabersack@novell.com>

* Page.cs: ProcessRaiseCallbackEvent and ProcessGetCallbackResult
now return full exception trace if one is caught and we're running
in debugging mode.

2009-04-06  Marek Habersack  <mhabersack@novell.com>

* TreeView.js: TreeView_ToggleExpand now takes more parameters - a
full definition of treeview's node contents.
Added new function, TreeView_PopulateNode, which partially takes
over role of the PopulateNode function generated in
TreeView.OnPreRender (see below). Fixes bug #492307

* TreeView.cs: RaiseCallbackEvent needs to recreate the event
target's parental tree all the way from the root to the node and
populate only the leaf (requested) node. This avoids calling the
TreeNodePopulate handler more times than needed. Fixes bug #492307
OnPreRender: moved the script code to constants and the script
body is now generated using StringBuilder instead of a series of
String.Format calls.
GetClientExpandEvent: adjusted code for new TreeView JavaScript
API.

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

15 years ago2009-04-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Apr 2009 16:43:50 +0000 (16:43 -0000)]
2009-04-06  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceDocumentFormatter.cs
  Workspace.cs
  Atom10FeedFormatter.cs
  AtomPub10ServiceDocumentFormatter.cs
  ResourceCollectionInfo.cs
  CategoriesDocument.cs
  ServiceDocument.cs : implemented most of reader parts.

* AtomPub10ServiceDocumentFormatterTest.cs : add ReadFrom() test.

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

15 years ago2009-04-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Apr 2009 15:28:03 +0000 (15:28 -0000)]
2009-04-06  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_class_compute_gc_descriptor): Make this non-static.

* domain-internals.h (struct _MonoJitInfo): Add a 'gc_info' field.

* gc-internal.h (MonoGCCallbacks): New stucture containing the callback
functions supplied by the JIT for the SGEN GC.

* sgen-gc.c: Call the callbacks supplied by the JIT to do stack marking.

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