mono.git
14 years ago2010-06-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 17 Jun 2010 07:19:22 +0000 (07:19 -0000)]
2010-06-17  Marek Safar  <marek.safar@gmail.com>

* generic.cs, method.cs: Inflate copied type parameters from base
class or explicit interfaces.

* convert.cs: Fixed conversion between two type parameters.
Fixes #614471

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

14 years ago2010-06-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 17 Jun 2010 00:56:12 +0000 (00:56 -0000)]
2010-06-17  Marek Habersack  <mhabersack@novell.com>

* RootBuilder.cs: both LINK and META HTML tags must be represented
as instances of HtmlGenericControl. Fixes bug #603541

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

14 years ago2010-06-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 17 Jun 2010 00:28:24 +0000 (00:28 -0000)]
2010-06-17  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (emit_cond_system_exception): Pass the ip of to throw_corlib_trampoline
using a block address if using the LLVM mono branch.

* exceptions-amd64.c (mono_arch_exceptions_init): Add new LLVM throw corlib exception
trampolines.

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

14 years ago2010-06-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 16 Jun 2010 23:39:02 +0000 (23:39 -0000)]
2010-06-16  Miguel de Icaza  <miguel@novell.com>

* Random.cs: Do not call Math.Abs blindly when we get an int
value, as Math.Abs (Int32.MinValue) throws an overflow exception,
and our constructor uses Environment.TickCount which means that
eventually we will get a crash.

Fixes #605797

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

14 years agoFix for 607585
Miguel de Icaza [Wed, 16 Jun 2010 23:28:09 +0000 (23:28 -0000)]
Fix for 607585

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

14 years ago 2010-06-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 16 Jun 2010 21:49:55 +0000 (21:49 -0000)]
2010-06-16  Marek Habersack  <mhabersack@novell.com>

     * FormView.cs: row values must be retrieved with inclusion of
     keys. Fixes bug #607722

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

14 years ago2010-06-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 16 Jun 2010 20:24:45 +0000 (20:24 -0000)]
2010-06-16 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequest.cs: DELETE allows an entity body.
Fixes bug #614483.

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

14 years agoremoved debugging leftover
Marek Safar [Wed, 16 Jun 2010 15:21:49 +0000 (15:21 -0000)]
removed debugging leftover

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

14 years ago2010-06-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Jun 2010 15:13:28 +0000 (15:13 -0000)]
2010-06-16  Marek Safar  <marek.safar@gmail.com>

* membercache.cs, convert.cs: Correctly resize an array used by
GetUserOperator.

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

14 years agoNew test.
Marek Safar [Wed, 16 Jun 2010 14:28:32 +0000 (14:28 -0000)]
New test.

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

14 years ago2010-06-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Jun 2010 14:27:57 +0000 (14:27 -0000)]
2010-06-16  Marek Safar  <marek.safar@gmail.com>

* CSharpInvokeMemberBinder.cs: Construct MemberAccess for simple
name expressions.

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

14 years ago2010-06-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Jun 2010 14:22:57 +0000 (14:22 -0000)]
2010-06-15  Marek Safar  <marek.safar@gmail.com>

A fix for bug #599601
* dynamic.cs, ecore.cs: A new flag for dynamic resolver to ignore
generated member access left expression.

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

14 years ago2010-06-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Jun 2010 12:42:09 +0000 (12:42 -0000)]
2010-06-16  Atsushi Enomoto  <atsushi@ximian.com>

* Atom10ItemFormatter.cs : Fix reading of "source" element to not
  expect feed element (ReadFrom() expects it). Fixed bug #614596.

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

14 years ago2010-06-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 16 Jun 2010 12:20:46 +0000 (12:20 -0000)]
2010-06-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFileTest.cs: New test for two instances calling
Remove.

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

14 years ago2010-06-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 16 Jun 2010 12:20:38 +0000 (12:20 -0000)]
2010-06-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFile.cs: Remove should catch all the exceptions
caused by DirectoryInfo.Delete and throw an IsolatedStorageException
instead.

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

14 years ago2010-06-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Jun 2010 11:24:09 +0000 (11:24 -0000)]
2010-06-16  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextReader.cs : do not try to parse xml:base="".
  Fixed bug #608391.

2010-06-16  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextReaderTests.cs : added test for bug #608391.

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

14 years ago2010-06-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Jun 2010 10:38:54 +0000 (10:38 -0000)]
2010-06-16  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Dispatch dynamic invocation solely on left
expression type.

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

14 years agoComment.
Marek Safar [Wed, 16 Jun 2010 10:35:33 +0000 (10:35 -0000)]
Comment.

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

14 years agoRemoved mscorlib 4 check for dynamic
Marek Safar [Wed, 16 Jun 2010 09:33:45 +0000 (09:33 -0000)]
Removed mscorlib 4 check for dynamic

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

14 years agoupdate
Marek Safar [Wed, 16 Jun 2010 08:53:28 +0000 (08:53 -0000)]
update

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

14 years agoTrack mcs changes
Marek Safar [Wed, 16 Jun 2010 08:38:57 +0000 (08:38 -0000)]
Track mcs changes

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

14 years agoNew test.
Marek Safar [Wed, 16 Jun 2010 08:32:10 +0000 (08:32 -0000)]
New test.

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

14 years ago2010-06-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Jun 2010 08:29:53 +0000 (08:29 -0000)]
2010-06-16  Marek Safar  <marek.safar@gmail.com>

* expression.cs, statement.cs: Always persist explicit cast
semantic at expression level.

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

14 years ago* SolutionParser.cs (ParseSolution): Use ProjectReference's
Ankit Jain [Tue, 15 Jun 2010 22:55:16 +0000 (22:55 -0000)]
* SolutionParser.cs (ParseSolution): Use ProjectReference's
filename to locate if no guid is specified or project can't
be found by the guid.

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

14 years ago2010-06-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 15 Jun 2010 22:48:09 +0000 (22:48 -0000)]
2010-06-15 Jonathan Chambers  <joncham@gmail.com>

* Tds.cs: Add {} around default switch case.
* OdbcDataReader.cs: Remove unneeded cast on ref parameter

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

14 years ago2010-06-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 15 Jun 2010 22:24:14 +0000 (22:24 -0000)]
2010-06-15 Jonathan Chambers  <joncham@gmail.com>

* Add more projects for net_2_0 profile build.

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

14 years ago2010-06-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 15 Jun 2010 21:58:30 +0000 (21:58 -0000)]
2010-06-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequest.cs: 307 does not change request method.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 20:43:43 +0000 (20:43 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_get_cie_program): Define this for powerpc too.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 20:09:51 +0000 (20:09 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (process_bb): Add a missing CHECK_FAILURE.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 19:52:56 +0000 (19:52 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Remove some of the llvm restrictions, they are no longer needed.

* method-to-ir.c (mono_method_to_ir): Enable fast virtual calls when using llvm.

* mini-trampolines.c (mono_llvm_vcall_trampoline): Rewrite this to use one vtable
trampoline per vtable slot index. The slot, along with the 'this' argument is enough
to identify the vtable slot address plus the method which needs to be compiled.

* mini.c (mini_get_vtable_trampoline): Use one vtable trampoline per vtable slot when
using llvm.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 19:34:56 +0000 (19:34 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (get_call_info_internal): Change the managed calling convention so
'this' is always passed as the first argument, before the vtype ret arg. This
simplifies get_this_arg_reg () and LLVM integration.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 19:34:49 +0000 (19:34 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (get_call_info): Fix the handling of MONO_TYPE_TYPEDBYREF after
the latest changes.

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

14 years agoRevert part of r158956.
Zoltan Varga [Tue, 15 Jun 2010 18:38:55 +0000 (18:38 -0000)]
Revert part of r158956.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 18:37:13 +0000 (18:37 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* tramp-x86.c (mono_arch_create_generic_trampoline): Emit unwind info for
these trampolines.

* mini-x86.c (mono_arch_get_cie_program): Implement this for x86.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 17:36:32 +0000 (17:36 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c: Fix compilation with llvm 2.6.

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

14 years ago2010-06-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Jun 2010 17:05:51 +0000 (17:05 -0000)]
2010-06-15  Marek Safar  <marek.safar@gmail.com>

* expression.cs, attribute.cs: Enable generic type parameters
attribute check.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 17:05:02 +0000 (17:05 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (CallInfo): Fix the position of the vret_arg_index field.
(get_call_info): Don't place the vret arg second when using varargs, since the
sig cookie could come before it.

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

14 years agoFix another compilation problem.
Zoltan Varga [Tue, 15 Jun 2010 17:00:16 +0000 (17:00 -0000)]
Fix another compilation problem.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 16:46:49 +0000 (16:46 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Fix the build if LLVM_MONO_BRANCH is not
defined.

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

14 years ago2010-06-15 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 15 Jun 2010 16:12:36 +0000 (16:12 -0000)]
2010-06-15  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #613087
* Tds.cs (ProcessLoginAck): Fix server version being compared in
the switch-case.
* Tds70.cs (BuildPreparedParameters, BuildProcedureCall): Set
* default
precision to 18 as used by MS.Net when connecting to SqlServer
7.0.
(BuildExec, ExecRPC): Marked protected in order to be used by
Tds80
and henceforth.
* Tds80.cs (Execute): Separated from Tds70 to include Tds80
* changes.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 15:04:29 +0000 (15:04 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (get_call_info): Change the managed calling convention so 'this'
is always passed as the first argument, before the vtype ret arg. This simplifies
get_this_arg_reg () and LLVM integration.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 15:01:12 +0000 (15:01 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* src/gunicode.c: Applied patch from Hib Eris <hib@hiberis.nl>. use "windows.h"
instead of "Windows.h".

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 14:57:42 +0000 (14:57 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* dtest.cs dtest-app.cs: Removed, moved to mcs/Mono.Debugger.Soft.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 14:56:29 +0000 (14:56 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* *: Add testing infrastructure by moving the tests from mono/tests.

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

14 years agoNew tests.
Marek Safar [Tue, 15 Jun 2010 14:53:52 +0000 (14:53 -0000)]
New tests.

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

14 years ago * System/Convert.cs: Instead of manually checking for NaN, Infinity,
Jonathan Pryor [Tue, 15 Jun 2010 13:55:05 +0000 (13:55 -0000)]
* System/Convert.cs: Instead of manually checking for NaN, Infinity,
  etc., use `checked` expressions to generate OverflowExceptions.
  Ensure that OverflowExceptions are generated for needed types.
  Fixes #596339
* Test/System/ConvertTest.cs: Add tests for #596339.

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

14 years ago2010-06-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Jun 2010 13:12:48 +0000 (13:12 -0000)]
2010-06-15  Marek Safar  <marek.safar@gmail.com>

A fix for bug #612146
* generic.cs: Don't use fixed array for inflated type parameter
interface constraints.

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

14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 11:37:29 +0000 (11:37 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* ModuleBuilderTest.cs: Disable the TestGlobalMethods () test since it's been failing
for a long time.

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

14 years ago* xbuild/*/Microsoft.Common.targets (AssemblySearchPaths): Add
Ankit Jain [Tue, 15 Jun 2010 10:56:32 +0000 (10:56 -0000)]
* xbuild/*/Microsoft.Common.targets (AssemblySearchPaths): Add
$(ReferencePath) to the search paths. This can be used to add or
override assembly search paths.

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

14 years ago2010-06-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Jun 2010 10:27:34 +0000 (10:27 -0000)]
2010-06-15  Marek Safar  <marek.safar@gmail.com>

* typespec.cs: ElementTypeSpec has to use its own ITypeDefinition.

* report.cs: Unwrap elements for related symbols reporting.

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

14 years agoFixes build
Marek Safar [Tue, 15 Jun 2010 10:08:45 +0000 (10:08 -0000)]
Fixes build

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

14 years ago2010-06-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Jun 2010 09:15:26 +0000 (09:15 -0000)]
2010-06-15  Marek Safar  <marek.safar@gmail.com>

A fix for bug #612796
* cs-tokenizer.cs: Offset correctly keywords the first character
comparison.

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

14 years ago2010-06-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Jun 2010 08:43:10 +0000 (08:43 -0000)]
2010-06-15  Atsushi Enomoto  <atsushi@ximian.com>

* TcpReplyChannel.cs : accept TCP channel on ReceiveRequest(). This
  fixes standalone tcp-transport/sample[svc|cli]5.exe test in olive
  (but not TcpTransportBindingElementTest.SimpleDuplexStreamed.)

* TcpTransportBindingElementTest.cs : add connection tests (imported
  from standalone olive tests), one is disabled for breakage.

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

14 years agoNew test
Marek Safar [Tue, 15 Jun 2010 07:57:26 +0000 (07:57 -0000)]
New test

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

14 years ago2010-06-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Jun 2010 07:57:13 +0000 (07:57 -0000)]
2010-06-15  Marek Safar  <marek.safar@gmail.com>

A fix for bug #613397
* expression.cs: Removed too aggressive object initializers
optimization.

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

14 years agoRemoved extra cast
Marek Safar [Tue, 15 Jun 2010 07:47:32 +0000 (07:47 -0000)]
Removed extra cast

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

14 years agoflush comments
Marek Safar [Tue, 15 Jun 2010 07:25:46 +0000 (07:25 -0000)]
flush comments

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

14 years agoImported accessors cannot have type parameters.
Marek Safar [Tue, 15 Jun 2010 07:15:58 +0000 (07:15 -0000)]
Imported accessors cannot have type parameters.

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

14 years agoUpdated.
Marek Safar [Tue, 15 Jun 2010 07:09:56 +0000 (07:09 -0000)]
Updated.

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

14 years agoNew test.
Marek Safar [Tue, 15 Jun 2010 07:09:33 +0000 (07:09 -0000)]
New test.

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

14 years ago2010-06-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Jun 2010 07:09:13 +0000 (07:09 -0000)]
2010-06-15  Marek Safar  <marek.safar@gmail.com>

* parameter.cs, property.cs, membercache.cs, decl.cs, iterators.cs,
anonymous.cs, expression.cs, support.cs, method.cs, pending.cs,
class.cs, cs-parser.jay: Simplify parsing of accessors by removing
any intermediate steps and fake nodes, also saves few MBs of memory.

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

14 years ago2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Jun 2010 05:45:38 +0000 (05:45 -0000)]
2010-05-28  Atsushi Enomoto  <atsushi@ximian.com>

* TcpBinaryFrameManager.cs : lock read and write respectively.
  Finally fixed bug #567672 ('IsOneWay=false' case).

* CallbackBehaviorAttributeTest.cs : added test for bug #567672
  ('IsOneWay=false' case).

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

14 years ago2010-06-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Jun 2010 01:11:02 +0000 (01:11 -0000)]
2010-06-15  Marek Habersack  <mhabersack@novell.com>

* ResourceExpressionBuilder.cs: cast the return value of
GetLocalResourceObject to appropriate type. Fixes bug #607766

* TemplateControlCompiler.cs: made CreateConvertToCall internal
static, so that it can be used from ResourceExpressionBuilder

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

14 years ago2010-06-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 Jun 2010 23:25:07 +0000 (23:25 -0000)]
2010-06-15  Marek Habersack  <mhabersack@novell.com>

* WebUIValidation_2.0.js: fail gracefully if control to validate
is not found (webForm.ValidatorGetValue and
webForm.Page_ClientValidate). Fixes bug #609478

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

14 years ago2010-06-14 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 14 Jun 2010 21:27:32 +0000 (21:27 -0000)]
2010-06-14 Rodrigo Kumpera  <rkumpera@novell.com>

* method-to-ir.c (mono_method_to_ir): Add support for .ctor intrinsics.

* method-to-ir.c (mini_emit_inst_for_ctor): New function for .ctor intrinsics.
For now just call simd intrinsics. This makes "x[0] = new Vector4f (10)"
translate into much nicer code.

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

14 years agooops
Geoff Norton [Mon, 14 Jun 2010 19:31:02 +0000 (19:31 -0000)]
oops

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

14 years ago2010-06-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Jun 2010 18:13:15 +0000 (18:13 -0000)]
2010-06-14  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (sig_to_llvm_sig_full): Add a 'sinfo' out argument which returns
parameter index information. Use this to simplify a lot of code.

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

14 years ago2010-06-14 Geoff Norton <gnorton@novell.com>
Geoff Norton [Mon, 14 Jun 2010 17:39:53 +0000 (17:39 -0000)]
2010-06-14  Geoff Norton  <gnorton@novell.com>

* dyn_load.c: Fix one other place where l_addr could be null on
bionic.

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

14 years agofirst pass at adding RegexOption.Compiled to constructor in tests
C.J. Adams-Collier [Mon, 14 Jun 2010 17:36:45 +0000 (17:36 -0000)]
first pass at adding RegexOption.Compiled to constructor in tests

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

14 years agoadded some noise to the gitignore filter
C.J. Adams-Collier [Mon, 14 Jun 2010 17:36:25 +0000 (17:36 -0000)]
added some noise to the gitignore filter

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

14 years ago2010-06-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Jun 2010 17:23:38 +0000 (17:23 -0000)]
2010-06-16  Sebastien Pouliot  <sebastien@ximian.com>

* certmgr.cs: Fix case where DSA is used in SSL certificate (rare
enough that this was never found/reported). Suggest novell's
bugzilla (instead of ximian)

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

14 years ago * Makefile.am (EXTRA_DIST): Add runtime.h.
Jonathan Pryor [Mon, 14 Jun 2010 14:59:57 +0000 (14:59 -0000)]
* Makefile.am (EXTRA_DIST): Add runtime.h.

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

14 years ago2010-06-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Jun 2010 14:39:47 +0000 (14:39 -0000)]
2010-06-14  Zoltan Varga  <vargaz@gmail.com>

* unwind.c (mono_unwind_decode_fde): Handle augmentions using a loop.

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

14 years ago2010-06-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Jun 2010 14:39:40 +0000 (14:39 -0000)]
2010-06-14  Zoltan Varga  <vargaz@gmail.com>

* object.c (build_imt_slots): Don't crash if callbacks.get_imt_trampoline is not set.

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

14 years ago2010-06-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Jun 2010 12:31:41 +0000 (12:31 -0000)]
2010-06-14  Sebastien Pouliot  <sebastien@ximian.com>

* Consts.cs.in: Track latest SL4 release

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

14 years ago2010-06-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Jun 2010 12:12:03 +0000 (12:12 -0000)]
2010-06-14  Atsushi Enomoto  <atsushi@ximian.com>

* NetTcpBinding.cs : remove pointless EnvelopeVersion field.
* ClientRuntimeChannel.cs : disable MessageId output. It does not
  happen on TCP transport. Added FIXME comment to verify this.

  This fix makes non-first-time calls from mono client working.

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

14 years ago2010-06-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Jun 2010 11:45:04 +0000 (11:45 -0000)]
2010-06-14  Atsushi Enomoto  <atsushi@ximian.com>

* OperationInvokerHandler.cs, MessageProcessingContext.cs :
  ChannelDispatcher may be null, so check its availability before
  using it. Don't use it, when possible.
* DispatchOperation.cs : remove unused member.

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

14 years ago2010-06-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Jun 2010 07:35:04 +0000 (07:35 -0000)]
2010-06-14  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDocument.cs : do not create XmlSchemaInfo instance every time
  it validates a node.

* XmlSchemaValidator.cs : limit validity initialization. In some
  cases it failed to set Invalid.

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

14 years ago2010-06-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Jun 2010 06:55:54 +0000 (06:55 -0000)]
2010-06-14  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaValidator.cs : fill Validity. Fixed bug #613682.

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

14 years agoFix bug #612191, patch by Carlos Martin.
Atsushi Eno [Mon, 14 Jun 2010 06:20:36 +0000 (06:20 -0000)]
Fix bug #612191, patch by Carlos Martin.

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

14 years ago2010-05-13 Geoff Norton <gnorton@novell.com>
Geoff Norton [Sun, 13 Jun 2010 21:59:48 +0000 (21:59 -0000)]
2010-05-13  Geoff Norton  <gnorton@novell.com>

* fakepoll.h: Added for OSX
* serial.c:
* signal.c: poll on OSX is broken, so we use a select based
implementation instead.

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

14 years agoFix some warnings.
Zoltan Varga [Sun, 13 Jun 2010 04:00:43 +0000 (04:00 -0000)]
Fix some warnings.

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

14 years ago2010-06-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 Jun 2010 18:16:14 +0000 (18:16 -0000)]
2010-06-12  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (compile_method): Add a 'depth' parameter to add_generic_class too
to fix infinite generic recursion. Fixes #612702.

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

14 years ago2010-06-11 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Sat, 12 Jun 2010 01:07:30 +0000 (01:07 -0000)]
2010-06-11 Jonathan Chambers  <joncham@gmail.com>

* X509Certificate2Collection.cs: Add {} around default switch case.
* HttpListenerRequest.cs: Assign default value to variable before using.

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

14 years ago2010-06-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Jun 2010 21:18:35 +0000 (21:18 -0000)]
2010-06-10  Jonathan Chambers  <joncham@gmail.com>

* Add System.Security.csproj and new configurations for Mono.Security and System.

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

14 years agoFix msvc build.
Jonathan Pobst [Fri, 11 Jun 2010 21:13:40 +0000 (21:13 -0000)]
Fix msvc build.

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

14 years ago2010-06-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Jun 2010 19:43:11 +0000 (19:43 -0000)]
2010-06-10  Jonathan Chambers  <joncham@gmail.com>

* Fix jay steps in System.Xml

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

14 years ago2010-06-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Jun 2010 17:17:16 +0000 (17:17 -0000)]
2010-06-10 Jonathan Chambers  <joncham@gmail.com>

       * Add start of building net_2_0 profile to MSBuild based build.

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

14 years ago * Monodoc/ecma-provider.cs: Reduce memory requirements when assembling
Jonathan Pryor [Fri, 11 Jun 2010 15:14:36 +0000 (15:14 -0000)]
* Monodoc/ecma-provider.cs: Reduce memory requirements when assembling
  ECMA documentation.  The problem was that we parse all the XML files
  in order to extract //summary and //remarks members, and then stored
  the XmlNodes for these members.  XmlNode keeps a ref to the creating
  XmlDocument, thus keeping the XmlNode around requires keeping the
  entire XmlDocument around; result: ~350+MB RAM is needed to assemble
  netdocs.zip (in ../../docs).  To fix, import the XmlNodes that we
  actually care about into an otherwise empty XmlDocument, so that we
  only save the nodes we need. Result: ~32MB RAM is needed.
  Fixes #602560.

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

14 years ago2010-06-11 Pete Johanson <peter@peterjohanson.com>
Pete Johanson [Fri, 11 Jun 2010 14:54:28 +0000 (14:54 -0000)]
2010-06-11  Pete Johanson  <peter@peterjohanson.com>

        * Makefile: Don't use the mono key for signing.
        * Assembly/AssemblyInfo.cs: Use the ECMA key for signing.

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

14 years ago2010-06-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 11 Jun 2010 14:01:20 +0000 (14:01 -0000)]
2010-06-11  Marek Safar  <marek.safar@gmail.com>

* modifiers.cs, rootcontext.cs, location.cs, cs-parser.jay: More
precise modifiers parsing.

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

14 years ago2010-06-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 11 Jun 2010 00:43:45 +0000 (00:43 -0000)]
2010-06-11  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_method_add_generic_virtual_invocation): Fix the computation of the
IMT slot which is passed to callbacks.get_imt_trampoline.

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

14 years ago2010-06-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 Jun 2010 22:28:52 +0000 (22:28 -0000)]
2010-06-11  Zoltan Varga  <vargaz@gmail.com>

* object.c: Use a callback to create IMT trampolines, allowing the usage of one
imt trampoline per imt slot when using LLVM.

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

14 years ago2010-06-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 Jun 2010 22:28:46 +0000 (22:28 -0000)]
2010-06-11  Zoltan Varga  <vargaz@gmail.com>

* object.c: Use a callback to create IMT trampolines, allowing the usage of one
imt trampoline per imt slot when using LLVM.

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

14 years ago * mini/mini.c (mini_cleanup): Call mono_runtime_shutdown().
Jonathan Pryor [Thu, 10 Jun 2010 21:01:08 +0000 (21:01 -0000)]
* mini/mini.c (mini_cleanup): Call mono_runtime_shutdown().
  Fixes #438454.
* metdata/object.c (mono_runtime_run_main): Move
  fire_process_exit_event() into runtime.c:mono_runtime_shutdown().
* metdata/runtime.c: Added; adds mono_runtime_shutdown(), which invokes
  the AppDomain.ProcessExit event in all AppDomains.
* tests/Makefile.am: Add test-process-exit target.
* tests/bug-438454.cs: Added; test case for #438454.
* tests/bug-438454.exe.stdout.expected: Added; expected output when
  executing bug-438454.exe, to test the ordering of the
  AppDomain.ProcessExit event wrt ThreadPool disposal.

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

14 years agoFixes build.
Marek Safar [Thu, 10 Jun 2010 18:37:08 +0000 (18:37 -0000)]
Fixes build.

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

14 years agoFix date. oops.
Jonathan Pryor [Thu, 10 Jun 2010 15:09:38 +0000 (15:09 -0000)]
Fix date.  oops.

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

14 years ago * Mono.Documentation/monodocs2html.cs: Regenerate all index.{opts.ext}
Jonathan Pryor [Thu, 10 Jun 2010 15:08:35 +0000 (15:08 -0000)]
* Mono.Documentation/monodocs2html.cs: Regenerate all index.{opts.ext}
  files if any of the source .xml files have changed.  This allows
  new <summary/> values to be inserted into the index.{opts.ext}
  files, instead of the index files being "stale".  Fixes #573121.

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

14 years agoClear unloaded types on appdomain unload.
Zoltan Varga [Thu, 10 Jun 2010 03:13:18 +0000 (03:13 -0000)]
Clear unloaded types on appdomain unload.

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

14 years agoRemove debugging code.
Jonathan Pryor [Wed, 9 Jun 2010 20:40:40 +0000 (20:40 -0000)]
Remove debugging code.

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