mono.git
15 years ago2009-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Jan 2009 05:34:05 +0000 (05:34 -0000)]
2009-01-26  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MONO_INST_NEW): Remove duplicate setting of cil_code.

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

15 years ago2009-01-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 26 Jan 2009 05:02:47 +0000 (05:02 -0000)]
2009-01-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequest.cs: added locking in SetResponseData for the case
when we get an error response before BeginGetResponse has been
called.

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

15 years agoFixed crash in the statistical profiler.
Massimiliano Mantione [Sun, 25 Jan 2009 20:08:40 +0000 (20:08 -0000)]
Fixed crash in the statistical profiler.

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

15 years ago2009-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 25 Jan 2009 17:29:45 +0000 (17:29 -0000)]
2009-01-25  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_get_domain_intrinsic): New helper function.
(mono_get_thread_intrinsic): Ditto.

* mini-arm.c mini-ia64.c: Use the new helper functions.

* method-to-ir.c (mono_method_to_ir): Fix the comment for
the last constrained_call change, since it is needed in the non-AOT
case as well.

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

15 years ago2009-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 25 Jan 2009 17:29:30 +0000 (17:29 -0000)]
2009-01-25  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_get_domain_intrinsic): New helper function.
(mono_get_thread_intrinsic): Ditto.

* mini-arm.c mini-ia64.c: Use the new helper functions.

* method-to-ir.c (mono_method_to_ir): Fix the comment for
the last constrained_call change, since it is needed in the non-AOT
case as well.

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

15 years ago2009-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 25 Jan 2009 17:18:40 +0000 (17:18 -0000)]
2009-01-25  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c: Implement OP_TLS_GET on arm eabi linux.

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

15 years ago2009-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 25 Jan 2009 17:06:46 +0000 (17:06 -0000)]
2009-01-25  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (mono_arch_emit_prolog): Add an inlined version of
mono_get_lmf_addr () on arm eabi linux.

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

15 years ago2009-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 25 Jan 2009 17:05:25 +0000 (17:05 -0000)]
2009-01-25  Zoltan Varga  <vargaz@gmail.com>

* mono-compiler.h (MONO_THREAD_VAR_OFFSET): Add ARM Linux support.

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

15 years ago2009-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 25 Jan 2009 17:04:47 +0000 (17:04 -0000)]
2009-01-25  Zoltan Varga  <vargaz@gmail.com>

* acinclude.m4 (dolt_supported): Handle ARM as well.

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

15 years ago2009-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Jan 2009 21:47:04 +0000 (21:47 -0000)]
2009-01-24  Zoltan Varga  <vargaz@gmail.com>

* StackFrame.cs: Fix warnings.

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

15 years ago2009-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Jan 2009 21:43:42 +0000 (21:43 -0000)]
2009-01-24  Zoltan Varga  <vargaz@gmail.com>

* Variant.cs ApplicationIdentity.cs ActivationContext.cs Environment.cs
AppDomain.cs: Fix warnings.

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

15 years ago2009-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Jan 2009 21:34:39 +0000 (21:34 -0000)]
2009-01-24  Zoltan Varga  <vargaz@gmail.com>

* SignatureHelper.cs: Fix warnings.

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

15 years ago2009-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Jan 2009 21:31:06 +0000 (21:31 -0000)]
2009-01-24  Zoltan Varga  <vargaz@gmail.com>

* MonoGenericClass.cs: Fix warnings.

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

15 years ago2009-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Jan 2009 21:30:34 +0000 (21:30 -0000)]
2009-01-24  Zoltan Varga  <vargaz@gmail.com>

* ILGenerator.cs: Fix warnings.

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

15 years ago2009-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Jan 2009 21:22:35 +0000 (21:22 -0000)]
2009-01-24  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_get_vcall_slot): Handle yet another
code sequence which matches a non-virtual call.

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

15 years agofix ChangeLog
Gonzalo Paniagua Javier [Sat, 24 Jan 2009 08:15:36 +0000 (08:15 -0000)]
fix ChangeLog

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

15 years agoImproved TDS connection pooling
Gonzalo Paniagua Javier [Sat, 24 Jan 2009 05:55:52 +0000 (05:55 -0000)]
Improved TDS connection pooling

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

15 years agoDo not throw exceptions when attempting to load satellite assemblies
Gonzalo Paniagua Javier [Sat, 24 Jan 2009 05:34:42 +0000 (05:34 -0000)]
Do not throw exceptions when attempting to load satellite assemblies

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

15 years ago2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 24 Jan 2009 05:34:08 +0000 (05:34 -0000)]
2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>

* appdomain.c: return NULL instead of throwing FileNotFoundException
when LoadAssembly() fails.

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

15 years ago2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 24 Jan 2009 05:16:23 +0000 (05:16 -0000)]
2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* AspComponentFoundry.cs: no need to throw. Caller handles a null
return value.

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

15 years ago2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 24 Jan 2009 03:19:52 +0000 (03:19 -0000)]
2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpResponse.cs: make sure config is not null here.
* HttpApplication.cs: add a timer (-d:PIPELINE_TIMER) for the pipeline.
Handle timeouts for OutputPage() too.

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

15 years ago2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 24 Jan 2009 02:59:33 +0000 (02:59 -0000)]
2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpApplicationFactory.cs: set/reset the context for the application
when creating/disposing. Dispose() out of the lock.

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

15 years ago2009-01-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 24 Jan 2009 00:38:03 +0000 (00:38 -0000)]
2009-01-24  Marek Habersack  <mhabersack@novell.com>

* XmlSiteMapProvider.cs: if a nested sitemap is used (via the
siteMapFile node attribute) watch the named file for
changes. Fixes bug #465693

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

15 years ago2009-01-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Jan 2009 21:49:12 +0000 (21:49 -0000)]
2009-01-23  Marek Habersack  <mhabersack@novell.com>

* HtmlTextWriter.cs: if OnTagRender returns false when called from
RenderBeginTag, push the tag to the stack regardless, and ignore
it in DoBeginTag and RenderEndTag. Fixes bug #463634

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

15 years ago2009-01-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 23 Jan 2009 19:06:32 +0000 (19:06 -0000)]
2009-01-23  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Switch from foreach to for, in case the collection
somehow changes while enumerating it.

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

15 years agobuild fix
Marek Safar [Fri, 23 Jan 2009 18:45:55 +0000 (18:45 -0000)]
build fix

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

15 years ago2009-01-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 23 Jan 2009 18:16:35 +0000 (18:16 -0000)]
2009-01-23  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, generic.cs, parameter.cs, decl.cs, anonymous.cs,
expression.cs, report.cs, ecore.cs, attribute.cs: Use common
GetElementType and HasElementType. IsValueType clean up.

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

15 years ago2009-01-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jan 2009 17:56:21 +0000 (17:56 -0000)]
2009-01-23  Atsushi Enomoto  <atsushi@ximian.com>

* web.config : added .svc handler.

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

15 years ago2009-01-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 23 Jan 2009 17:32:43 +0000 (17:32 -0000)]
2009-01-23  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Make --enable-parallel-mark=yes the default.

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

15 years ago2009-01-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 23 Jan 2009 16:47:13 +0000 (16:47 -0000)]
2009-01-23  Mark Probst  <mark.probst@gmail.com>

* mini-ppc.c (mono_arch_context_get_int_reg): Allow access to the
stack pointer (r1).

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

15 years ago2009-01-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 23 Jan 2009 16:33:03 +0000 (16:33 -0000)]
2009-01-23  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c aot-runtime.c: Treat delegate-invoke wrappers similarly to
runtime-invoke wrappers, since they are also shared based on signature.

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

15 years ago2009-01-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Jan 2009 14:29:07 +0000 (14:29 -0000)]
2009-01-23  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: use -1 for infinite wait in calls to
Acquire{Reader,Writer}Lock ()

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

15 years ago2009-01-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 23 Jan 2009 11:32:08 +0000 (11:32 -0000)]
2009-01-23  Marek Safar  <marek.safar@gmail.com>

* nullable.cs: Use common EmitCall.

* expression.cs: Emit constraint. for virtual calls only.

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

15 years agoNew test.
Marek Safar [Fri, 23 Jan 2009 10:15:20 +0000 (10:15 -0000)]
New test.

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

15 years ago2009-01-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 23 Jan 2009 10:15:00 +0000 (10:15 -0000)]
2009-01-23  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, generic.cs, eval.cs, convert.cs, const.cs,
expression.cs, statement.cs, rootcontext.cs, ecore.cs, class.cs,
driver.cs, attribute.cs, enum.cs: Split IsValueType and IsStruct
checks.

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

15 years ago2009-01-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jan 2009 09:17:58 +0000 (09:17 -0000)]
2009-01-23  Atsushi Enomoto  <atsushi@ximian.com>

        * ContractDescriptionGenerator.cs : async begin method with
          [MessageContract] has 3 parameters, not 1.

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

15 years ago2009-01-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 23 Jan 2009 09:02:05 +0000 (09:02 -0000)]
2009-01-23  Mark Probst  <mark.probst@gmail.com>

* metadata.c (mono_metadata_generic_param_equal): Only compare the
image if the owner is NULL.  Fixes the AOT failures.

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

15 years ago2009-01-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jan 2009 07:30:35 +0000 (07:30 -0000)]
2009-01-23  Atsushi Enomoto  <atsushi@ximian.com>

        * ClientBase.cs : added another missing type.

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

15 years ago2009-01-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jan 2009 07:06:46 +0000 (07:06 -0000)]
2009-01-23  Atsushi Enomoto  <atsushi@ximian.com>

        * KnownTypeCollection.cs : similar fix to the previous one,
          on uint16.

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

15 years ago2009-01-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jan 2009 06:50:20 +0000 (06:50 -0000)]
2009-01-23  Atsushi Enomoto  <atsushi@ximian.com>

        * ChannelFactory.cs : fix wrong file reference.

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

15 years ago2009-01-23 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 23 Jan 2009 01:31:35 +0000 (01:31 -0000)]
2009-01-23  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs, DataGridViewCell.cs: Fix crashes when there is no
editing control.

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

15 years ago2009-01-23 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 23 Jan 2009 01:31:26 +0000 (01:31 -0000)]
2009-01-23  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Fix new row adding/editing in the non-databound
scenario.

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

15 years ago2009-01-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Jan 2009 23:40:20 +0000 (23:40 -0000)]
2009-01-23  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (mono_metadata_load_generic_params): Initialize the
MonoGenericParam structure using memset so the image field is initialized
as well.

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

15 years ago2009-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Jan 2009 22:13:31 +0000 (22:13 -0000)]
2009-01-22  Zoltan Varga  <vargaz@gmail.com>

* Stopwatch.cs: Reorder the calculations in Elapsed and ElapsedMilliseconds
to avoid overflow. Fixes #468570. Patch by Yoni Shalom <silver83@gmail.com>.

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

15 years ago2009-01-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Jan 2009 21:25:42 +0000 (21:25 -0000)]
2009-01-22  Marek Habersack  <mhabersack@novell.com>

* Makefile (SYSTEMCORE_DEP):
If NO_SYSTEMCORE_DEP is defined System.Web.dll will not be linked
with System.Core.dll and BuildManager will use ReaderWriterLock
instead of ReaderWriterLockSlim.

2009-01-22  Marek Habersack  <mhabersack@novell.com>
* BuildManager.cs:
 - if SYSTEMCOR_DEP is undefined use ReaderWriterLock instead of
 ReaderWriterLockSlim

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

15 years ago2009-01-22 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 22 Jan 2009 20:47:35 +0000 (20:47 -0000)]
2009-01-22  Mark Probst  <mark.probst@gmail.com>

* mini-exceptions.c (ves_icall_get_frame_info): Fetch the generic
info from the (correct) context.

2009-01-22  Mark Probst  <mark.probst@gmail.com>

* generic-stack-traces2.2.cs: Another generic sharing test for
stack traces.

* Makefile.am: Test added.

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

15 years agoFix the build.
Zoltan Varga [Thu, 22 Jan 2009 20:26:02 +0000 (20:26 -0000)]
Fix the build.

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

15 years ago2009-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Jan 2009 20:15:42 +0000 (20:15 -0000)]
2009-01-22  Zoltan Varga  <vargaz@gmail.com>

* unwind.c (mono_unwind_frame): Remove a stray g_free ().

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

15 years ago2009-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Jan 2009 19:26:40 +0000 (19:26 -0000)]
2009-01-22  Zoltan Varga  <vargaz@gmail.com>

* unwind.c (mono_unwind_frame): New function to unwind through a frame
using dwarf unwinding info. Not yet used.

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

15 years ago2009-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Jan 2009 19:24:59 +0000 (19:24 -0000)]
2009-01-22  Zoltan Varga  <vargaz@gmail.com>

* unwind.c (mono_unwind_frame): New function to unwind through a frame
using dwarf unwinding info. Not yet used.

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

15 years agowe pass this test
Jb Evain [Thu, 22 Jan 2009 17:34:37 +0000 (17:34 -0000)]
we pass this test

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

15 years agoupdate
Jb Evain [Thu, 22 Jan 2009 17:30:47 +0000 (17:30 -0000)]
update

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

15 years ago2009-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 22 Jan 2009 17:30:34 +0000 (17:30 -0000)]
2009-01-22  Jb Evain  <jbevain@novell.com>

* gtest-anontype-05.cs: update according to lastest changes in gmcs
to match was csc outputs. Also add new cases to check.

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

15 years ago2009-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 22 Jan 2009 17:29:50 +0000 (17:29 -0000)]
2009-01-22  Jb Evain  <jbevain@novell.com>

* anonymous.cs: make anonymous types' ToString implementation
match what csc outputs.

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

15 years agopassing those
Jb Evain [Thu, 22 Jan 2009 16:02:01 +0000 (16:02 -0000)]
passing those

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

15 years ago2009-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 22 Jan 2009 16:01:36 +0000 (16:01 -0000)]
2009-01-22  Jb Evain  <jbevain@novell.com>

* SortSequenceContext.cs: make sort stable.

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

15 years ago2009-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2009 15:56:33 +0000 (15:56 -0000)]
2009-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* SilverlightClientConfigLoader.cs :
  removed extraneous code. Handle "*" (wildcard).

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

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

* XmlXapResolver.cs : fix assembly qualified names,
  and give detailed errors.
* XmlResolver.cs : in 2.1 do not resolve relative Uri
  to absolute.

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

15 years agowe pass those
Jb Evain [Thu, 22 Jan 2009 15:41:02 +0000 (15:41 -0000)]
we pass those

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

15 years ago2009-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 22 Jan 2009 15:40:38 +0000 (15:40 -0000)]
2009-01-22  Jb Evain  <jbevain@novell.com>

* Enumerable.cs (Sum): check the sum operations for possible overfows.

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

15 years agowe pass those
Jb Evain [Thu, 22 Jan 2009 15:07:51 +0000 (15:07 -0000)]
we pass those

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

15 years agoreduce one level of indentation
Jb Evain [Thu, 22 Jan 2009 15:07:25 +0000 (15:07 -0000)]
reduce one level of indentation

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

15 years ago2009-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 22 Jan 2009 15:05:35 +0000 (15:05 -0000)]
2009-01-22  Jb Evain  <jbevain@novell.com>

* Enumerable.cs (SequenceEqual): make sure we dispose enumerators.

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

15 years agopassing those
Jb Evain [Thu, 22 Jan 2009 14:57:54 +0000 (14:57 -0000)]
passing those

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

15 years ago2009-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 22 Jan 2009 14:56:14 +0000 (14:56 -0000)]
2009-01-22  Jb Evain  <jbevain@novell.com>

* Enumerable.cs: optimize Last for lists.

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

15 years agoset svn:eol-style to native and converted several files to unix line ending
Marek Habersack [Thu, 22 Jan 2009 14:52:09 +0000 (14:52 -0000)]
set svn:eol-style to native and converted several files to unix line ending

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

15 years agoadd a missing NotWorking
Jb Evain [Thu, 22 Jan 2009 14:50:00 +0000 (14:50 -0000)]
add a missing NotWorking

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

15 years agoadd tests
Jb Evain [Thu, 22 Jan 2009 14:45:18 +0000 (14:45 -0000)]
add tests

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

15 years agoreformat
Jb Evain [Thu, 22 Jan 2009 14:44:19 +0000 (14:44 -0000)]
reformat

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

15 years ago2009-01-22 Alan McGovern <amcgovern@novell.com>
Alan McGovern [Thu, 22 Jan 2009 14:42:10 +0000 (14:42 -0000)]
2009-01-22  Alan McGovern  <amcgovern@novell.com>

        * KnownTypeCollection.cs : The byte overload doesn't exist in
        Silverlight, so cast the byte to an int instead.

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

15 years ago2009-01-22 Alan McGovern <amcgovern@novell.com>
Alan McGovern [Thu, 22 Jan 2009 14:41:30 +0000 (14:41 -0000)]
2009-01-22  Alan McGovern  <amcgovern@novell.com>

        * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't
        * exist in Silverlight.
        Rewrite to avoid usage of it.

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

15 years ago2009-01-22 Alan McGovern <amcgovern@novell.com>
Alan McGovern [Thu, 22 Jan 2009 14:40:43 +0000 (14:40 -0000)]
2009-01-22  Alan McGovern  <amcgovern@novell.com>

        * BasicHttpBinding.cs: In silverlight ReaderQuota is immutable and always
        has a default value of ReaderQuota.Max. Therefore no need to call CopyTo.

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

15 years agoimport the BackLinq tests
Jb Evain [Thu, 22 Jan 2009 14:31:43 +0000 (14:31 -0000)]
import the BackLinq tests

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

15 years ago2009-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2009 13:40:32 +0000 (13:40 -0000)]
2009-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* XmlXapResolver.cs : new in 2.1.
* XmlReaderSettings.cs : use above.

* net_2_1_raw_System.Xml.dll.sources: added XmlXapResolver.cs.

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

15 years ago2009-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2009 12:21:47 +0000 (12:21 -0000)]
2009-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* SilverlightClientConfigLoader.cs : in Silverlight, there is
  "ServiceReference.ClientConfig" which is used to resolve service
  endpoint configuration. It is to consume that file.
* ChannelFactory.cs : use above in SL.
* ClientBase.cs : rename some misleading param names.

* net_2_1_raw_System.ServiceModel.dll.sources :
  added SilverlightClientConfigLoader.cs.

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

15 years agonew BuildManager change logs
Marek Habersack [Thu, 22 Jan 2009 11:45:04 +0000 (11:45 -0000)]
new BuildManager change logs

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

15 years agoNo longer sets the BuildManager.suppressAutoRestart field, as it was removed. Moved...
Marek Habersack [Thu, 22 Jan 2009 11:44:41 +0000 (11:44 -0000)]
No longer sets the BuildManager.suppressAutoRestart field, as it was removed. Moved setting of BuildManager.suppressDebugMessages to the Run () method

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

15 years agoBumped the number of compilation cycles to 10000 from the default 16 so that the...
Marek Habersack [Thu, 22 Jan 2009 11:44:16 +0000 (11:44 -0000)]
Bumped the number of compilation cycles to 10000 from the default 16 so that the tests appdomain isn't restarted - it can break tests

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

15 years agoAdded two conditionally compiled methods (when DEVEL is defined) to write messages...
Marek Habersack [Thu, 22 Jan 2009 11:43:57 +0000 (11:43 -0000)]
Added two conditionally compiled methods (when DEVEL is defined) to write messages to a file in a synchronous manner

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

15 years agoRemoved unused variables
Marek Habersack [Thu, 22 Jan 2009 11:43:35 +0000 (11:43 -0000)]
Removed unused variables

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

15 years agoRemoved the suppressAutoRestart variable
Marek Habersack [Thu, 22 Jan 2009 11:42:48 +0000 (11:42 -0000)]
Removed the suppressAutoRestart variable

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

15 years agoAdded the DEVEL compile define, used for conditional compilation of some development...
Marek Habersack [Thu, 22 Jan 2009 11:42:37 +0000 (11:42 -0000)]
Added the DEVEL compile define, used for conditional compilation of some development code

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

15 years agoAssemblyBuilder.Units property is no longer used
Marek Habersack [Thu, 22 Jan 2009 11:42:22 +0000 (11:42 -0000)]
AssemblyBuilder.Units property is no longer used

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

15 years agoSystem.Web now depends on System.Core - added System.Web to the net_2_0_dirs variable
Marek Habersack [Thu, 22 Jan 2009 11:41:59 +0000 (11:41 -0000)]
System.Web now depends on System.Core - added System.Web to the net_2_0_dirs variable

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

15 years agoRemoved debugging code
Marek Habersack [Thu, 22 Jan 2009 11:41:33 +0000 (11:41 -0000)]
Removed debugging code

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

15 years ago2009-01-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Jan 2009 11:40:22 +0000 (11:40 -0000)]
2009-01-22  Marek Habersack  <mhabersack@novell.com>

        * Makefile (net_2_0_dirs): added System.Web - it now depends on
        System.Core, so it needs to be recompiled one more time after
        System.Core is done.

2009-01-22  Marek Habersack  <mhabersack@novell.com>

        * System.Web.dll.sources: added
        System.Web.Compilation/BuildManagerCacheItem.cs,
        System.Web.Compilation/BuildManagerDirectoryBuilder.cs,
        System.Web.Compilation/BuildProviderGroup.cs

        * Makefile (SYSTEMCORE_DEP): added. Defines SYSTEMCORE_DEP on the
        mcs command line when System.Core is present.
        Added the DEVEL define, which defines DEVEL on the mcs command
        line. This is used to conditionally compile development helper code in
        System.Web.Util.FileUtils (and possibly other stuff later on)

2009-01-22  Marek Habersack  <mhabersack@novell.com>

        * XsdBuildProvider.cs: added missing BuildProviderAppliesTo
        attribute.

        * BuildProvider.cs: added new internal virtual method,
        ExtractDependencies() whose purpose is to extract virtual path
        dependencies without compiling the code, if possible.

        * TemplateBuildProvider.cs: implemented the new
        ExtractDependencies () method which uses regular expressions to
        extract file dependencies from the source without having to
        compile the file.

        * CompilationException.cs: added a new public property, Results,
        which returns the compilation results.

        * BuildProviderGroup.cs: added. A simple class descending from
        List <BuildProvider> which is used to hold a compilation batch -
        that is a collection of BuildProvider instances.

        * BuildManagerDirectoryBuilder.cs: new class which takes care of
        generating compilation batches for the requested virtual path. A
        set of batches is generated from files found in the same virtual
        directory as the requested virtual path and all of the
        dependencies of those files. All files are grouped in batches
        within which no file depends upon its siblings. An attempt is made
        to sort the batches from the "least dependent" to the "most
        dependent" batches - i.e. the batches which do not depend on other
        batches go to the top.
        Code generating the batches now correctly detects dependency loops
        and throws an exception when one is encountered.
        Batches are represented as instances of a new class -
        BuildProviderGroup.

        * BuildManagerCacheItem.cs: added. Contains all the compilation
        result information needed by BuildManager. See below.

        * BuildManager.cs: complete batch building rewrite:
         - only one build lock is held instead of a set of compilation
           tickets. Only one thread can compile anything at one given
           time.
         - retrieving types from the build cache now uses a slim rw lock,
           so that readers aren't blocked while compilation is in
           progress. Writer lock is acquired only when adding a newly
           compiled type to the build cache and when removing it after its
           dependencies made it invalid.
         - assembly references for each compilation are now collected
           dynamically as the source is being compiled, this removed a lot
           of complexity in dealing with assembles containing conflicting
           types. As a consequence right now there may exist several
           loaded assemblies containing the same type, but only the latest
           of them will be used in new compiles.
         - the thread compiling code can recurse into the Build method
           which causes the recursively referenced code to be compiled
           into a separate, uniquely named, assembly. This deals with all
           recursion loops and dependency problems.
         - automatic app domain restart after a certain number of compiles
           is enabled now.
         - improved compilation error handling. If a compilation error
           occurs, the code attempts to recompile the assembly up to 3
           times, each time removing from the batch the files/virtual
           paths which failed parsing/compilation. If the attempts failed,
           another one is made to compile only the virtual path requested
           by the calling code. Only should that fail a compilation
           exception is thrown. All the compilation errors are written to
           stdout if the application is in the debug mode.
         - changed assembly naming. It now generates assembly names based
           on whether the compilation is recursive and whether the batch
           being compiled contains more than one code unit or
           not.
         - compilation results are now stored in the cache as instances of
           the new BuildManagerCacheItem class, which contains all the
           information required by BuildManager to return types,
           assemblies, dependencies etc.
         - GetReferencedAssemblies now correctly returns only the
           assemblies defined in the .config files.
         - GetVirtualPathDependencies does not need to compile code
           anymore in order to extract virtual path dependencies. New code
           in BuildProvider.ExtractDependencies () takes care of that.
         - a BuildManagerDirectoryBuilder class instance is used to
           generate compilation batches.

        * AssemblyBuilder.cs: added support for keeping track of which
        code unit was generated by which BuildProvider andr which
        BuildProvider produced a given source file. Both changes serve the
        purpose of dealing with compilation errors in BuildManager.

        * ApplicationFileBuildProvider.cs: added missing
        BuildProviderAppliesTo attribute

2009-01-22  Marek Habersack  <mhabersack@novell.com>

        * FileUtils.cs: added two conditionally compiled methods (they
        require DEVEL to be defined) which output lines to a log file.

2009-01-22  Marek Habersack  <mhabersack@novell.com>

        * WebTest.cs: Run () sets the internal field
        BuildManager.suppressDebugModeMessages to true.

2009-01-22  Marek Habersack  <mhabersack@novell.com>

        * Web.mono.config: added numRecompilesBeforeAppRestart attribute
        to the compilation element, set to 100000, to avoid appdomain
        restarts during tests.

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

15 years ago2009-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2009 05:16:03 +0000 (05:16 -0000)]
2009-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelFactory.cs : some code comment.
* ClientBase.cs : remove some todos.
* ClientRuntimeChannel.cs : hack some session properties.

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

15 years ago2009-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2009 05:14:07 +0000 (05:14 -0000)]
2009-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractSerializerMessageContractImporter.cs :
  for such an element that does not contain schema type but has a
  type reference, use ImportSchemaType().

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

15 years ago2009-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2009 04:55:40 +0000 (04:55 -0000)]
2009-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaImporter.cs : hack ImportSchemaType().

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

15 years ago2009-01-21 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 22 Jan 2009 04:27:43 +0000 (04:27 -0000)]
2009-01-21  Geoff Norton  <gnorton@novell.com>

        * WebClient_2_1.cs: Make the ManualResetEvent local to the callback
        because a WebClient can be reused causing a wait-handle race here
        allowing a delegate to get collected causing a crash.

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

15 years ago2009-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Jan 2009 00:22:53 +0000 (00:22 -0000)]
2009-01-22  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): When using xdebug, disable freeing of domains.

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

15 years ago2009-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Jan 2009 23:20:17 +0000 (23:20 -0000)]
2009-01-22  Atsushi Enomoto  <atsushi@ximian.com>

* XElement.cs : oops, experimental code remained and caused test
  failure.

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

15 years agoChangelogs for test changes
Marek Habersack [Wed, 21 Jan 2009 22:48:43 +0000 (22:48 -0000)]
Changelogs for test changes

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

15 years agoDisabled tests failing because of nunit 2.4 issue
Marek Habersack [Wed, 21 Jan 2009 22:48:32 +0000 (22:48 -0000)]
Disabled tests failing because of nunit 2.4 issue

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

15 years ago* TrackBar.cs: Make LargeIncrement/Decrement internal so that UIA can
Mike Gorse [Wed, 21 Jan 2009 22:19:33 +0000 (22:19 -0000)]
* TrackBar.cs: Make LargeIncrement/Decrement internal so that UIA can
  use them.
  Added UIAValueParamChangedEvent.

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

15 years ago2009-01-21 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 21 Jan 2009 22:04:35 +0000 (22:04 -0000)]
2009-01-21  Mark Probst  <mark.probst@gmail.com>

* mini-ppc.c (mono_arch_delegate_invoke_impl): Return function
descriptors.

* mini-trampolines.c (mono_delegate_trampoline): Remove the PPC64
special case and handle mono_arch_delegate_invoke_impl() returning
function descriptors.

* tramp-ppc.c (mono_arch_create_trampoline_code): Delegate
trampolines return function descriptors, too.

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

15 years ago2209-01-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 21 Jan 2009 21:20:53 +0000 (21:20 -0000)]
2209-01-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeView.cs: In CollapseAll, set vbar to the maximum value, instead
of trying to set as top node the highest parent of the previous top
node. Moving to the bottom of the TreeView after a call to CollapseAll
is exactly what .net does. This should avoid some nasty issue when
CollapseAll is called and we don't need the vertical scroll bar.

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

15 years ago2009-01-21 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 21 Jan 2009 19:38:51 +0000 (19:38 -0000)]
2009-01-21  Jb Evain  <jbevain@novell.com>

* System.Net/WebClient_2_1.cs: use the length of the stream
instead of the ContentLength that is different for gzipped stream.

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

15 years ago2009-01-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 21 Jan 2009 19:32:20 +0000 (19:32 -0000)]
2009-01-21  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (handle_alloc): Avoid generic instances in the
out_of_line optimization.

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

15 years agoFix the 1.1 build.
Zoltan Varga [Wed, 21 Jan 2009 18:07:19 +0000 (18:07 -0000)]
Fix the 1.1 build.

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