mono.git
15 years ago2009-02-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 20 Feb 2009 21:12:10 +0000 (21:12 -0000)]
2009-02-20  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_reflection_setup_internal_class): Check for user types.
(mono_reflection_create_runtime_class): Ditto.
(mono_reflection_sighelper_get_signature_local): Ditto.
(mono_reflection_sighelper_get_signature_field): Ditto.

* object-internals.h (CHECK_MONOTYPE): New macro to check that a Type object
is a System.MonoType object or similar.
(monotype_cast): New helper function to cast a MonoObject to a
MonoReflectionType object.

* object-internals.h: Change MonoReflectionType* members in structures to
MonoObject* members to force the usage of the monotype_cast () function.

* reflection.c icall.c: Use monotype_cast () for accessing Type members of
structures/arrays. This causes us to assert instead of crashing when
instances of user defined subclasses of System.Type are encountered.

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

15 years ago2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 21:05:43 +0000 (21:05 -0000)]
2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>

* cil-coff.h:
* icall-def.h:
* icall.c: add new GetUnmanagedResourcePtr that returns a pointer to a
win32 resource loaded from a PE file.

* image.c: fix mono_image_lookup_resource.

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

15 years agoChangeLog
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 20:34:51 +0000 (20:34 -0000)]
ChangeLog

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

15 years ago2009-02-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 20 Feb 2009 20:28:26 +0000 (20:28 -0000)]
2009-02-20  Zoltan Varga  <vargaz@gmail.com>

* cpu-ppc.md (store_memindex): Increase the size of this.

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

15 years ago2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 20:24:37 +0000 (20:24 -0000)]
2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WaitHandle.cs: implemented SignalAndWait.

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

15 years agoChangeLogs for previos commit.
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 20:21:47 +0000 (20:21 -0000)]
ChangeLogs for previos commit.

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

15 years agoImplement WaitHandle.SignalAndWait
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 20:17:09 +0000 (20:17 -0000)]
Implement WaitHandle.SignalAndWait

Fixes bug #461123.

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

15 years ago2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:51 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera  <rkumpera@novell.com>

Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.

* cpu-x86.md: Fix the sizes for fcall(_reg,_membase), long_conv_to_r4_2
and long_conv_to_r8_2:

Fixed part of #467201.

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

15 years ago2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:42 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>

Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.

* cpu-x86.md: Fix the sizes for fcall(_reg,_membase), long_conv_to_r4_2
and long_conv_to_r8_2:

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

15 years ago2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:35 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>

Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.

* mini-x86.c (mono_arch_output_basic_block): Adjust precision of int to float
conversion to 32 bits.

* cpu-x86.md: Increase the size of int_conv_to_r4.

* basic-float.cs: Add a test for this.

Fixed part of #467201.

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

15 years ago2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:28 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>

Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.

* mini-x86.c (emono_arch_output_basic_block): Adjust precision of long to double
conversion to 64 bits.

* basic-float.cs: Add a test for this.

Fixed part of #467201.

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

15 years ago2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:18 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>

Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.

* mini-x86.c (emit_move_return_value): Don't reduce precision of functions returning float.
This behavior is compatible with MS.

* iltest.il.in: Add a test for this.

Fixed part of #467201.

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

15 years ago2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:11 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>

Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.

* mini-x86.c (mono_arch_output_basic_block): Implement OP_FCONV_TO_R4, it must
change the precision of the value.

* cpu-x86.md: Define len for float_conv_to_r4.

* basic-float.cs: Add a test for this.

Fixed part of #467201.

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

15 years ago* Utilities.cs (FromMSBuildPath): Copy from monodevelop.
Ankit Jain [Fri, 20 Feb 2009 19:36:43 +0000 (19:36 -0000)]
* Utilities.cs (FromMSBuildPath): Copy from monodevelop.
* Project.cs (Load): Use FromMSBuildPath on the path.
(InitializeProperties): Set "MSBuildToolsPath" also.

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

15 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Fri, 20 Feb 2009 18:46:15 +0000 (18:46 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* ConditionTokenizer.cs: Handle unquoted item references (with or w/o
transforms) in conditions.
* ConditionParser.cs: Parse unquoted item, property references.
eg. Condition = " @(Foo->'%(Extension)') == '.exe' "
* Token.cs (Token.ToString): Override.
(TokenType.Transform): Uncomment.

In class/Microsoft.Build.Engine/Test/various:

* Conditions.cs (TestCondition11): New. Test unquoted item/property
references in conditions.

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

15 years agoremove warning. Either image or mp are not NULL
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 16:48:29 +0000 (16:48 -0000)]
remove warning. Either image or mp are not NULL

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

15 years agoAdded test for 419224.
Veerapuram Varadhan [Fri, 20 Feb 2009 15:48:25 +0000 (15:48 -0000)]
Added test for 419224.

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

15 years agoFixed broken test.
Marek Safar [Fri, 20 Feb 2009 15:45:20 +0000 (15:45 -0000)]
Fixed broken test.

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

15 years agoAdd debugging back
Miguel de Icaza [Fri, 20 Feb 2009 15:30:15 +0000 (15:30 -0000)]
Add debugging back

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

15 years ago * Mono.Unix/UnixSignal.cs: Add a pipecnt member to
Jonathan Pryor [Fri, 20 Feb 2009 15:15:43 +0000 (15:15 -0000)]
* Mono.Unix/UnixSignal.cs: Add a pipecnt member to
  UnixSignal.SignalIinfo.  Patch thanks to tim.jenks@realtimeworlds.com.
* Test/Mono.Unix/UnixSignalTest.cs: Add tests to check for concurrent
  UnixSignal.WaitOne() invocations.  Tests thanks to
  tim.jenks@realtimeworlds.com.

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

15 years ago * map.h: Flush (adds Mono_Unix_UnixSignal_SignalInfo::pipecnt, removes
Jonathan Pryor [Fri, 20 Feb 2009 15:15:05 +0000 (15:15 -0000)]
* map.h: Flush (adds Mono_Unix_UnixSignal_SignalInfo::pipecnt, removes
  functions no longer declared within Mono.Posix.dll).
* signal.c: Allow Mono_Unix_UnixSignal_WaitAny() to be called
  concurrently from multiple threads w/o blocking each thread;
  previously, calls to Mono_Unix_UnixSignal_WaitAny() would block
  until the previous call completed.  This required restructuring
  Mono_Unix_UnixSignal_SignalInfo to hold a ref-counted
  read_fd/write_fd pair (instead of allocating & releasing within
  _WaitAny()) so that the pipes could be "shared" between threads.
  Patch thanks to tim.jenks@realtimeworlds.com.

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

15 years ago2009-02-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 20 Feb 2009 11:48:21 +0000 (11:48 -0000)]
2009-02-20  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelFactory_1.cs : it's not going to create ClientRuntime
  anymore here. Moving to ServiceEndpoint.cs as the first stage.
* ClientBase.cs : some comment.

* ServiceEndpoint.cs : moved CreateRuntime() from ChannelFactory<T>.

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

15 years ago * OdbcDataReader.cs (GetValue): Handle null image data. Fixes
Veerapuram Varadhan [Fri, 20 Feb 2009 11:40:42 +0000 (11:40 -0000)]
    * OdbcDataReader.cs (GetValue): Handle null image data.  Fixes
        ##419224. Patch by John Mortlock <johnm@hlaustralia.com.au>.

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

15 years agoNew test.
Marek Safar [Fri, 20 Feb 2009 11:16:55 +0000 (11:16 -0000)]
New test.

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

15 years ago2009-02-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 20 Feb 2009 11:16:35 +0000 (11:16 -0000)]
2009-02-20  Marek Safar  <marek.safar@gmail.com>

A fix for bug #477447
* statement.cs: Add reference to correct parent storey when this
is accessible from deep children storey (more than 1 level).

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

15 years agoFix bug #475438.
Ankit Jain [Fri, 20 Feb 2009 10:55:44 +0000 (10:55 -0000)]
Fix bug #475438.
* ToolTask.cs (RealExecute): Check whether the target executable exists.
Log any execution errors.

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

15 years ago* SolutionParser.cs (ParseSolution): Ignore solution folders.
Ankit Jain [Fri, 20 Feb 2009 10:17:21 +0000 (10:17 -0000)]
* SolutionParser.cs (ParseSolution): Ignore solution folders.

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

15 years ago* SolutionParser.cs (ParseSolution): Ignore GlobalSection named
Ankit Jain [Fri, 20 Feb 2009 09:44:01 +0000 (09:44 -0000)]
* SolutionParser.cs (ParseSolution): Ignore GlobalSection named
'NestedProjects'.

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

15 years ago* SolutionParser.cs (ParseProjectConfigurationPlatforms): Report missing
Ankit Jain [Fri, 20 Feb 2009 09:43:53 +0000 (09:43 -0000)]
* SolutionParser.cs (ParseProjectConfigurationPlatforms): Report missing
project guids as Warnings and not errors. Report every missing guid only
once.

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

15 years ago* SolutionParser.cs (projectRegex): Use '\s' to match whitespace.
Ankit Jain [Fri, 20 Feb 2009 09:43:42 +0000 (09:43 -0000)]
* SolutionParser.cs (projectRegex): Use '\s' to match whitespace.

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

15 years ago2009-02-19 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 20 Feb 2009 02:36:28 +0000 (02:36 -0000)]
2009-02-19  Jonathan Chambers  <joncham@gmail.com>

        * Microsoft.Build.Engine.csproj: Add.
        * Microsoft.Build.Engine.Test.csproj: Update.

2009-02-19  Jonathan Chambers  <joncham@gmail.com>

        * xbuild.csproj: Add.
        * xbuild.sln: Add.

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

15 years ago * TdsDataReader.cs: Access TdsDataColumn correctly for NET_2_0.
Veerapuram Varadhan [Fri, 20 Feb 2009 02:32:16 +0000 (02:32 -0000)]
    * TdsDataReader.cs: Access TdsDataColumn correctly for NET_2_0.
        Fixes #466199. Patch by Tom Hindle <tom_hindle@sil.org>

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

15 years ago2009-02-19 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 19 Feb 2009 22:48:30 +0000 (22:48 -0000)]
2009-02-19  Bill Holmes  <billholmes54@gmail.com>

* cominterop.c : Adding cominterop_type_from_handle and
  registering it as an icall.  Replacing all references
  to type_from_handle.

Code is contributed under MIT/X11 license.

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

15 years ago2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 19 Feb 2009 22:12:14 +0000 (22:12 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>

* LockTracerDecoder.cs: Initial version of the lock tracers decoder.

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

15 years ago2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 19 Feb 2009 22:12:03 +0000 (22:12 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>

* Makefile.am: Add lock-tracer.h and lock-trace.c.

* appdomain.c: Call the tracer init function.

  * domain-internals.h: Enable the tracer for the domain locks.

* image.c: Enable the tracer for image locks.

* loader.c: Enable the trace for the loader lock.

* lock-tracer.h:
* lock-tracer.c: Initial implementation of the lock trace utility.
The tracer requires a compile time define to be enabled and a env var
to be enabled at runtime.

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

15 years ago2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 19 Feb 2009 22:11:54 +0000 (22:11 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>

* domain.c (mono_domain_code_foreach): Improve documentation.

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

15 years ago2009-02-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 19 Feb 2009 21:16:49 +0000 (21:16 -0000)]
2009-02-19  Marek Habersack  <mhabersack@novell.com>

* ApplicationHost.cs: added support for the
__MONO_DOMAIN_ID_SUFFIX environment variable, used by mod_mono.

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

15 years ago2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 19 Feb 2009 20:35:20 +0000 (20:35 -0000)]
2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>

* src/gstr.c: use memset in g_strnfill.

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

15 years ago2009-02-19 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 19 Feb 2009 20:17:53 +0000 (20:17 -0000)]
2009-02-19  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/InjectSecurityAttributes.cs: also remove existing
CAS security declarations before injecting CoreCLR security attributes.

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

15 years ago2009-02-19 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 19 Feb 2009 20:14:15 +0000 (20:14 -0000)]
2009-02-19  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewCell.cs: Use strict equality comparison in order to
prevent superfluous CellValueChanged events.

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

15 years ago2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 19 Feb 2009 20:13:58 +0000 (20:13 -0000)]
2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpWebRequest.cs: avoid errors when creating a temporary Uri to get
the local path.
* WebClient.cs: when setting up the request for downloading, use the
default method. Fixes bug #477611.

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

15 years ago2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 19 Feb 2009 19:18:56 +0000 (19:18 -0000)]
2009-02-19  Rodrigo Kumpera  <rkumpera@novell.com>

* SecurityManager.cs: Make core-clr work under non 2.1 profiles.

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

15 years ago2008-02-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 19 Feb 2009 18:53:32 +0000 (18:53 -0000)]
2008-02-19  Sebastien Pouliot  <sebastien@ximian.com>

* detect-sc.cs, detect-ssc.cs: Accept multiple input directories
to find the platform assemblies (and deal with the current /mcs
and /moon locations).
* Makefile.am: Detect platform assemblies in {x}/mcs and {x}/moon

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

15 years ago2009-02-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 19 Feb 2009 18:52:46 +0000 (18:52 -0000)]
2009-02-19  Sebastien Pouliot  <sebastien@ximian.com>

* System.Windows[.Browser].auto.[sc|scc]: New data files
* mscorlib.auto.ssc, System.Net.auto.ssc: Updated since adding
the first auto.sc generation cause new auto.ssc to be found.

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

15 years ago2009-02-19 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 19 Feb 2009 18:23:01 +0000 (18:23 -0000)]
2009-02-19  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Do not reset the columns when the data list changes,
but only the rows. Fixes multiple bugs related to sorting, custom
column styles being reset and more.

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

15 years ago2009-01-19 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 19 Feb 2009 18:13:05 +0000 (18:13 -0000)]
2009-01-19  Bill Holmes  <billholmes54@gmail.com>

* src/gstr.c (g_strnfill):  Fixing a warning for MSVC.

Contributed under MIT/X11 license.

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

15 years ago2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 19 Feb 2009 18:07:54 +0000 (18:07 -0000)]
2009-02-19 Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c: Adjust locking order to the new semantics where the loader lock
comes first.

2009-02-19 Rodrigo Kumpera  <rkumpera@novell.com>

* appdomain.c:
* generic-sharing.c:
* object.c:
* reflection.c:  Adjust locking order to the new semantics where the loader lock
comes first.

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

15 years ago2009-02-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 19 Feb 2009 18:07:39 +0000 (18:07 -0000)]
2009-02-18  Rodrigo Kumpera  <rkumpera@novell.com>

* aot-runtime.c:
* mini-amd64.c:
* mini-arm.c:
* mini-ia64.c:
* mini-mips.c:
* mini-ppc.c:
* mini-sparc.c:
* mini-trampolines.c:
* mini-x86.c:
* mini.c:
* tramp-alpha.c:
* tramp-amd64.c:
* tramp-arm.c:
* tramp-hppa.c:
* tramp-ia64.c:
* tramp-mips.c:
* tramp-ppc.c:
* tramp-s390.c:
* tramp-s390x.c:
* tramp-sparc.c:
* tramp-x86.c: Use mono_domain_code_* functions instead of using MonoDomain::code_mp directly.

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

15 years ago2009-02-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 19 Feb 2009 18:07:29 +0000 (18:07 -0000)]
2009-02-18 Rodrigo Kumpera  <rkumpera@novell.com>

* domain.c: Add mono_domain_code_* functions that perform locking
around the domain codeman.

* domain-internals.h: Export those functions.

* object.c: Use new functions instead of acquiring the domain lock.

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

15 years ago2009-02-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 19 Feb 2009 17:13:45 +0000 (17:13 -0000)]
2009-02-19  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Respect a PictureBox's Padding when
drawing the image.

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

15 years ago2009-02-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 19 Feb 2009 16:15:44 +0000 (16:15 -0000)]
2009-02-19  Sebastien Pouliot  <sebastien@ximian.com>

* *.auto.sc: Data files for [SecurityCritical]
* *.auto.ssc: Data files for [SecuritySafeCritical]

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

15 years ago * Test/Mono.Unix/UnixSignalTest.cs: Disable the tests that use
Jonathan Pryor [Thu, 19 Feb 2009 15:49:07 +0000 (15:49 -0000)]
* Test/Mono.Unix/UnixSignalTest.cs: Disable the tests that use
  RealTimeSignum on OS X, as OS X doesn't support real-time signals
  (and thus these will always error, often for the "wrong" reason).
* Test/Mono.Unix.Native/RealTimeSignumTest.cs: Disable the tests on
  Mac OS X, as OS X doesn't support real-time signals.

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

15 years ago2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 19 Feb 2009 15:03:40 +0000 (15:03 -0000)]
2009-02-19  Atsushi Enomoto  <atsushi@ximian.com>

        * CodeTryBlock.cs : new statement support.

        * System.ServiceModel.dll.sources,
          net_2_1_raw_System.ServiceModel.dll.sources :
          added CodeTryBlock.cs.

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

15 years ago2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 19 Feb 2009 15:01:00 +0000 (15:01 -0000)]
2009-02-19  Atsushi Enomoto  <atsushi@ximian.com>

        * CodeCast.cs : fix PrintCode() for no-conversion case.

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

15 years agoupdate for build 2.0.40115.0
Sebastien Pouliot [Thu, 19 Feb 2009 14:56:48 +0000 (14:56 -0000)]
update for build 2.0.40115.0

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

15 years ago2009-02-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 19 Feb 2009 12:59:41 +0000 (12:59 -0000)]
2009-02-19  Marek Safar  <marek.safar@gmail.com>

* compiler-tester.cs: More verbosity needed for runtime crashes.

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

15 years agoUpdated with latest changes
Marek Safar [Thu, 19 Feb 2009 12:25:44 +0000 (12:25 -0000)]
Updated with latest changes

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

15 years agoNew tests.
Marek Safar [Thu, 19 Feb 2009 10:42:27 +0000 (10:42 -0000)]
New tests.

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

15 years ago2009-02-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 19 Feb 2009 10:41:56 +0000 (10:41 -0000)]
2009-02-19  Marek Safar  <marek.safar@gmail.com>

A fix for bug #475860 by David Mitchell <dmitchell@logos.com>
* class.cs: Define base type members before setting up member cache.

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

15 years agoupdate known issues
Raja R Harinath [Thu, 19 Feb 2009 10:34:45 +0000 (10:34 -0000)]
update known issues

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

15 years ago * Tds.cs: Tds 8 collation support
Veerapuram Varadhan [Thu, 19 Feb 2009 08:10:32 +0000 (08:10 -0000)]
    * Tds.cs: Tds 8 collation support
          Tds80.cs: - ditto -
          TdsComm.cs: - ditto -
          TdsDataColumn.cs: - ditto -
          TdsCollation.cs: New file. Based on patch from Dmitry S.
Kataev  <dmitryskey@hotmail.com>

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

15 years ago * OracleParameter.cs (bind): Consider OciDataType.Float and
Veerapuram Varadhan [Thu, 19 Feb 2009 07:48:41 +0000 (07:48 -0000)]
    * OracleParameter.cs (bind): Consider OciDataType.Float and
        * .Integer as OciDataType.Number.  Patch provided by Russell
        <russell.kay@realtimeworlds.com>

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

15 years ago2009-02-19 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 19 Feb 2009 07:09:22 +0000 (07:09 -0000)]
2009-02-19  Geoff Norton  <gnorton@novell.com>

* Fix the build, these all need to loose this #if guard.

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

15 years ago2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 19 Feb 2009 06:47:31 +0000 (06:47 -0000)]
2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>

* OleDbFactory.cs: New file.

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

15 years ago2009-02-19 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 19 Feb 2009 05:46:09 +0000 (05:46 -0000)]
2009-02-19  Geoff Norton  <gnorton@novell.com>

        * net_2_1_raw_System.Xml.dll.sources: Add a bunch of missing attributes

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

15 years ago2009-02-19 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 19 Feb 2009 05:46:05 +0000 (05:46 -0000)]
2009-02-19  Geoff Norton  <gnorton@novell.com>

        * SerializationSource.cs: KeyHelper is needed by
        the 2.1 profile now.

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

15 years ago2009-02-19 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 19 Feb 2009 05:15:28 +0000 (05:15 -0000)]
2009-02-19  Geoff Norton  <gnorton@novell.com>

* *.cs: The tuner takes care of the visibility of this for us, and it
is in fact needed. (Readd ReadAttributeValue to 2.1)

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

15 years ago2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 19 Feb 2009 04:37:16 +0000 (04:37 -0000)]
2009-02-19  Atsushi Enomoto  <atsushi@ximian.com>

* xmltool.cs : call Compile() and detect relax ng grammar error
  so that it could detect grammar sanity when there is no instance
  to be validated.

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

15 years ago2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 19 Feb 2009 04:35:23 +0000 (04:35 -0000)]
2009-02-19  Atsushi Enomoto <atsushi@ximian.com>

* XsdDatatypeProvider.cs : detect grammar-level error in type usage
  at compile time.

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

15 years ago2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 19 Feb 2009 02:43:03 +0000 (02:43 -0000)]
2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TemplateControl.cs: ReadStringResource returns null now.

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

15 years agosvn path=/trunk/mcs/; revision=127355
Gonzalo Paniagua Javier [Wed, 18 Feb 2009 23:53:11 +0000 (23:53 -0000)]
svn path=/trunk/mcs/; revision=127355

15 years ago2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 18 Feb 2009 23:49:33 +0000 (23:49 -0000)]
2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>

* System.Web/HttpApplicationFactory.cs: check of global.asax was precompiled.
* System.Web.UI/MasterPage.cs: the items in ContentPlaceHolders are lowercase.
* System.Web.Compilation/TemplateControlCompiler.cs: lowercase place holder names
* System.Web.Compilation/BuildManager.cs: initial support for
precompilation. No 'updatable', please.

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

15 years agoNew test.
Marek Safar [Wed, 18 Feb 2009 23:41:06 +0000 (23:41 -0000)]
New test.

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

15 years ago2009-02-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 18 Feb 2009 23:40:22 +0000 (23:40 -0000)]
2009-02-18  Marek Safar  <marek.safar@gmail.com>

A fix for bug #477378
* nullable.cs, expression.cs, statement.cs: More precise null type
sanity checks.

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

15 years ago2009-02-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 18 Feb 2009 23:12:41 +0000 (23:12 -0000)]
2009-02-19  Zoltan Varga  <vargaz@gmail.com>

* pinvoke2.cs libtest.c: Add a test for #477396.

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

15 years ago2009-02-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 18 Feb 2009 23:12:09 +0000 (23:12 -0000)]
2009-02-19  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_ftnptr_to_delegate): Convert a NULL ftnptr to a null
delegate. Fixes #477396.

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

15 years ago2009-02-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 18 Feb 2009 23:08:26 +0000 (23:08 -0000)]
2009-02-19  Marek Habersack  <mhabersack@novell.com>

* AttributeCollection.cs: this [Type] shouldn't throw a NREX when
attrList is null.

* TypeDescriptor.cs: GetConverter (Type) must throw
ArgumentNullException if the passed parameter is null.
FindDefaultConverterType should gracefully cope with type being
null.

2009-02-19  Marek Habersack  <mhabersack@novell.com>

* TypeDescriptorTests.cs: added a test for
TypeDescriptor.GetConverter (null) case.

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

15 years agoFixed bug number
Marek Safar [Wed, 18 Feb 2009 23:08:13 +0000 (23:08 -0000)]
Fixed bug number

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

15 years agoFixes build.
Marek Safar [Wed, 18 Feb 2009 23:01:35 +0000 (23:01 -0000)]
Fixes build.

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

15 years ago2009-02-18 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 18 Feb 2009 22:59:29 +0000 (22:59 -0000)]
2009-02-18  Bill Holmes  <billholmes54@gmail.com>

* mono.def : Adding mono_jit_set_trace_options

Code is contributed under MIT/X11 license.

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

15 years ago2009-02-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 18 Feb 2009 22:01:22 +0000 (22:01 -0000)]
2009-02-18  Marek Habersack  <mhabersack@novell.com>

* UrlPattern.cs:
Do not use the tokens array in Match.

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

15 years ago2009-02-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 18 Feb 2009 21:32:17 +0000 (21:32 -0000)]
2009-02-18  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: don't initialize PageParserFilter in
LoadConfigDefaults, postpone it till the first time the
PageParserFilter property is accessed.

* ApplicationFileParser.cs, UserControlParser.cs: make sure
VirtualPath is set in the constructors.

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

15 years ago* System.Windows.Forms/ToolBarButton.cs: Oops, use the correct event
Andrés G. Aragoneses [Wed, 18 Feb 2009 20:54:42 +0000 (20:54 -0000)]
* System.Windows.Forms/ToolBarButton.cs: Oops, use the correct event
  (fix r127298).

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

15 years agoAdd a more functional (i.e. fewer-stubs) implementation of System.Data.Linq.
Jonathan Pryor [Wed, 18 Feb 2009 20:17:11 +0000 (20:17 -0000)]
Add a more functional (i.e. fewer-stubs) implementation of System.Data.Linq.

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

15 years agoRemove System.Data.Linq stubs.
Jonathan Pryor [Wed, 18 Feb 2009 20:16:02 +0000 (20:16 -0000)]
Remove System.Data.Linq stubs.

We'll be replacing these with the contents of
source/branches/atsushi-200810/mcs/class/System.Data.Linq.

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

15 years agoNew test.
Marek Safar [Wed, 18 Feb 2009 19:55:59 +0000 (19:55 -0000)]
New test.

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

15 years ago2009-02-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 18 Feb 2009 19:53:30 +0000 (19:53 -0000)]
2009-02-18  Marek Safar  <marek.safar@gmail.com>

A fix for bug #472805
* typemanager.cs, namespace.cs: Import only visible extension method
types.

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

15 years agoupdate according to latest changes
Jb Evain [Wed, 18 Feb 2009 18:56:36 +0000 (18:56 -0000)]
update according to latest changes

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

15 years ago2009-02-18 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 18 Feb 2009 18:53:36 +0000 (18:53 -0000)]
2009-02-18  Jb Evain  <jbevain@novell.com>

* Mono.Linker/XApiService.cs: delete, unused.
* Mono.Linker/Driver.cs: don't use the uneeded XApiService anymore.

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

15 years agodelete unused file
Jb Evain [Wed, 18 Feb 2009 18:50:39 +0000 (18:50 -0000)]
delete unused file

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

15 years ago2009-02-18 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 18 Feb 2009 18:49:53 +0000 (18:49 -0000)]
2009-02-18  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/InjectSecurityAttributes.cs: new tuner step
which is able to process the security attribute data files.
It replaces the previous InjectAttributes step.

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

15 years agoNew test.
Marek Safar [Wed, 18 Feb 2009 18:04:40 +0000 (18:04 -0000)]
New test.

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

15 years ago2009-02-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 18 Feb 2009 18:04:02 +0000 (18:04 -0000)]
2009-02-18  Marek Safar  <marek.safar@gmail.com>

A fix for bug #476895
* attribute.cs: Use correct resolve context for attribute type.

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

15 years agoNew tests.
Marek Safar [Wed, 18 Feb 2009 17:04:42 +0000 (17:04 -0000)]
New tests.

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

15 years ago2009-02-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 18 Feb 2009 17:04:20 +0000 (17:04 -0000)]
2009-02-18  Marek Safar  <marek.safar@gmail.com>

A fix for bug #476266
* anonymous.cs: Mutate multi-dimensional arrays.

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

15 years agoNew tests
Marek Safar [Wed, 18 Feb 2009 16:17:25 +0000 (16:17 -0000)]
New tests

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

15 years ago2009-02-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 18 Feb 2009 16:17:00 +0000 (16:17 -0000)]
2009-02-18  Marek Safar  <marek.safar@gmail.com>

A fix for bug #476400
* statemetn.cs, expression.cs: Removed wrong Dispose optimization.

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

15 years ago2009-02-18 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 18 Feb 2009 16:14:26 +0000 (16:14 -0000)]
2009-02-18  Jb Evain  <jbevain@novell.com>

* SynchronizationContext.cs: add NET_2_1 SetThreadStaticContext
method, even if already obsolete.

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

15 years ago2009-02-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 18 Feb 2009 15:59:32 +0000 (15:59 -0000)]
2009-02-18  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (create_custom_attr): Get rid of alloca.

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

15 years ago2009-02-18 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 18 Feb 2009 15:28:34 +0000 (15:28 -0000)]
2009-02-18  Bill Holmes  <billholmes54@gmail.com>

* cominterop.c (cominterop_get_managed_wrapper_adjusted) :
  Adding exception handling for all CCW calls.

Code is contributed under MIT/X11 license.

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