Marek Habersack [Mon, 26 Jan 2009 14:22:48 +0000 (14:22 -0000)]
2009-01-26 Marek Habersack <mhabersack@novell.com>
* data/config.xml: added a definition for .NET 3.5 AJAX entries
(feature AJAX) and moved the 1.0 entries to feature AJAX1.
svn path=/trunk/mcs/; revision=124498
Marek Habersack [Mon, 26 Jan 2009 13:26:21 +0000 (13:26 -0000)]
2009-01-26 Marek Habersack <mhabersack@novell.com>
* SearchPattern.cs: make IsMatch work for situations when there is
no wildcard in the pattern, but a subdirectory match is being
tested, e.g. pattern == "file.txt" and text ==
"subdir/file.txt". Lack of support for this has been causing
watching for changes to ASP.NET's web.config in subdirectories to
fail.
svn path=/trunk/mcs/; revision=124491
Rolf Bjarne Kvinge [Mon, 26 Jan 2009 12:58:50 +0000 (12:58 -0000)]
2009-01-26 Rolf Bjarne Kvinge <rkvinge@novell.com>
* WebClient_2_1.cs: Ensure we don't let exceptions go to native code.
* HttpWebRequest_2_1.cs: Add AllowReadStreamBuffering.
svn path=/trunk/mcs/; revision=124487
Marek Safar [Mon, 26 Jan 2009 12:43:57 +0000 (12:43 -0000)]
New test.
svn path=/trunk/mcs/; revision=124485
Marek Safar [Mon, 26 Jan 2009 12:42:31 +0000 (12:42 -0000)]
2009-01-26 Marek Safar <marek.safar@gmail.com>
A fix for bug #469244
* cs-tokenizer.cs, cs-parser.jay: Fixed parsing of nullable type
instance inside a conditional expression.
svn path=/trunk/mcs/; revision=124484
Marek Habersack [Mon, 26 Jan 2009 11:38:08 +0000 (11:38 -0000)]
2009-01-26 Marek Habersack <mhabersack@novell.com>
* WebConfigurationHost.cs: when an attempt to map a fake virtual
path is made, MapPath returns the aplication physical root
directory. Fixes bug #463950
svn path=/trunk/mcs/; revision=124479
Marek Habersack [Mon, 26 Jan 2009 10:46:23 +0000 (10:46 -0000)]
2009-01-26 Marek Habersack <mhabersack@novell.com>
* CompilationException.cs: added a Message override to make error
messages more useful.
svn path=/trunk/mcs/; revision=124475
Zoltan Varga [Mon, 26 Jan 2009 08:16:39 +0000 (08:16 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_ptr): Allow pointers to blittable structures.
Fixes #469217.
svn path=/trunk/mono/; revision=124469
Gonzalo Paniagua Javier [Mon, 26 Jan 2009 07:00:46 +0000 (07:00 -0000)]
2009-01-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SocketTest.cs:
(TestSelect1) avoid RST by reading the bytes from the client.
svn path=/trunk/mcs/; revision=124463
Gonzalo Paniagua Javier [Mon, 26 Jan 2009 06:47:17 +0000 (06:47 -0000)]
ChangeLog
svn path=/trunk/mcs/; revision=124459
Gonzalo Paniagua Javier [Mon, 26 Jan 2009 06:44:21 +0000 (06:44 -0000)]
2009-01-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebResponse.cs: avoid throwing an exception when
Content-Length is not present.
svn path=/trunk/mcs/; revision=124458
Zoltan Varga [Mon, 26 Jan 2009 06:42:29 +0000 (06:42 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_exceptions_init): Call
get_throw_pending_exception () to avoid initialization races.
* mini-exceptions.c (mono_exceptions_init): Call an arch specific
mono_arch_exceptions_init () function.
svn path=/trunk/mono/; revision=124457
Zoltan Varga [Mon, 26 Jan 2009 06:42:08 +0000 (06:42 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_exceptions_init): Call
get_throw_pending_exception () to avoid initialization races.
* mini-exceptions.c (mono_exceptions_init): Call an arch specific
mono_arch_exceptions_init () function.
svn path=/trunk/mono/; revision=124456
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gonzalo Paniagua Javier [Sat, 24 Jan 2009 08:15:36 +0000 (08:15 -0000)]
fix ChangeLog
svn path=/trunk/mcs/; revision=124412
Gonzalo Paniagua Javier [Sat, 24 Jan 2009 05:55:52 +0000 (05:55 -0000)]
Improved TDS connection pooling
svn path=/trunk/mcs/; revision=124408
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
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
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
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
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
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
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
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
Marek Safar [Fri, 23 Jan 2009 18:45:55 +0000 (18:45 -0000)]
build fix
svn path=/trunk/mcs/; revision=124349
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
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
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
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
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
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
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
Marek Safar [Fri, 23 Jan 2009 10:15:20 +0000 (10:15 -0000)]
New test.
svn path=/trunk/mcs/; revision=124309
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
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
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
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
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
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
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
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
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
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
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
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
Zoltan Varga [Thu, 22 Jan 2009 20:26:02 +0000 (20:26 -0000)]
Fix the build.
svn path=/trunk/mono/; revision=124244
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
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
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
Jb Evain [Thu, 22 Jan 2009 17:34:37 +0000 (17:34 -0000)]
we pass this test
svn path=/trunk/mcs/; revision=124231
Jb Evain [Thu, 22 Jan 2009 17:30:47 +0000 (17:30 -0000)]
update
svn path=/trunk/mcs/; revision=124229
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
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
Jb Evain [Thu, 22 Jan 2009 16:02:01 +0000 (16:02 -0000)]
passing those
svn path=/trunk/mcs/; revision=124221
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
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
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
Jb Evain [Thu, 22 Jan 2009 15:41:02 +0000 (15:41 -0000)]
we pass those
svn path=/trunk/mcs/; revision=124217
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
Jb Evain [Thu, 22 Jan 2009 15:07:51 +0000 (15:07 -0000)]
we pass those
svn path=/trunk/mcs/; revision=124214
Jb Evain [Thu, 22 Jan 2009 15:07:25 +0000 (15:07 -0000)]
reduce one level of indentation
svn path=/trunk/mcs/; revision=124213
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
Jb Evain [Thu, 22 Jan 2009 14:57:54 +0000 (14:57 -0000)]
passing those
svn path=/trunk/mcs/; revision=124211
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
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
Jb Evain [Thu, 22 Jan 2009 14:50:00 +0000 (14:50 -0000)]
add a missing NotWorking
svn path=/trunk/mcs/; revision=124208
Jb Evain [Thu, 22 Jan 2009 14:45:18 +0000 (14:45 -0000)]
add tests
svn path=/trunk/mcs/; revision=124207
Jb Evain [Thu, 22 Jan 2009 14:44:19 +0000 (14:44 -0000)]
reformat
svn path=/trunk/mcs/; revision=124206
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
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
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
Jb Evain [Thu, 22 Jan 2009 14:31:43 +0000 (14:31 -0000)]
import the BackLinq tests
svn path=/trunk/mcs/; revision=124202
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
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
Marek Habersack [Thu, 22 Jan 2009 11:45:04 +0000 (11:45 -0000)]
new BuildManager change logs
svn path=/trunk/mcs/; revision=124189
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
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
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
Marek Habersack [Thu, 22 Jan 2009 11:43:35 +0000 (11:43 -0000)]
Removed unused variables
svn path=/trunk/mcs/; revision=124185
Marek Habersack [Thu, 22 Jan 2009 11:42:48 +0000 (11:42 -0000)]
Removed the suppressAutoRestart variable
svn path=/trunk/mcs/; revision=124184
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
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
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
Marek Habersack [Thu, 22 Jan 2009 11:41:33 +0000 (11:41 -0000)]
Removed debugging code
svn path=/trunk/mcs/; revision=124180
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
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