mono.git
15 years agoAdd tutorial for adding more completion types and added new completion
Miguel de Icaza [Fri, 24 Apr 2009 15:04:11 +0000 (15:04 -0000)]
Add tutorial for adding more completion types and added new completion
types:

2009-04-24  Miguel de Icaza  <miguel@novell.com>

* complete.cs (CompletionElementInitializer): New completion class
to support completing inside a C# 3 element initializer, so this
allows completion for Silverlight situations where it is very
common to do:

new TextBlock () { Fo<TAB>

(CompletionSimpleName): Expose the prefix that was
passed to the simple name.

* cs-parser.jay (object_or_collection_initializer): Add support
for element_initializers.

* expression.cs (CollectionOrObjectInitializers.DoResolve):
special case completion expressions as this method aggressively
collects data before it operates, and errors were being thrown
earlier than we were able to complete.

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

15 years agoFri Apr 24 16:44:08 CEST 2009 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 24 Apr 2009 14:46:07 +0000 (14:46 -0000)]
Fri Apr 24 16:44:08 CEST 2009 Paolo Molaro <lupus@ximian.com>

* Makefile.am, genmdesc.c, genmdesc.pl: tiny refactor to allow
multiple machine description files to be specified.
* mini-ops.h: fixes for cross-compilation.

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

15 years agoDon't allocate MonoGenericInfo for ownerless generic params.
Raja R Harinath [Fri, 24 Apr 2009 13:38:59 +0000 (13:38 -0000)]
Don't allocate MonoGenericInfo for ownerless generic params.

* class-internals.h (MonoGenericParam::info): Move field to ...
(MonoGenericParamFull): ... this.  New struct.
(MonoGenericContainer::type_params): Change type to
MonoGenericParamFull.
(MonoGenericParam, MonoGenericContainer): Update accessors.
* metadata.c (mono_metadata_parse_generic_param): Don't initialize
'info' field for ownerless generic param.
(mono_metadata_load_generic_params): Update to changes.
* reflection.c (mono_reflection_create_generic_class): Likewise.
(reflection_methodbuilder_to_mono_method): Likewise.
(mono_reflection_initialize_generic_parameter): Likewise.

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

15 years ago2009-04-24 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 24 Apr 2009 13:18:23 +0000 (13:18 -0000)]
2009-04-24  Jb Evain  <jbevain@novell.com>

* Mono.Tuner.dll.sources: adjusted
* Mono.Tuner/FilterAttributes.cs: new step to remove some known
undesirable custom attributes.

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

15 years ago* ToolTask.cs (RealExecute): Handle TypeLoadExceptions, compiler
Ankit Jain [Fri, 24 Apr 2009 11:21:00 +0000 (11:21 -0000)]
* ToolTask.cs (RealExecute): Handle TypeLoadExceptions, compiler
crashes and report them. Borrow some tricks from md.
(LogEventsFromTextOutput): Ignore known non-error messages. Don't
log unknown lines, crashes get handled elsewhere.

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

15 years agoDon't use MonoGenericParamInfo for ownerless generic params.
Raja R Harinath [Fri, 24 Apr 2009 05:52:34 +0000 (05:52 -0000)]
Don't use MonoGenericParamInfo for ownerless generic params.

* class.c (get_anon_gparam_class, set_anon_gparam_class): New.  Don't
use ParamInfo class at all.
(mono_class_from_generic_parameter): Use them.
(make_generic_param_class): Fix a couple of instances where 'pinfo
== NULL' wasn't handle.

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

15 years agoRefactor 'mono_class_from_generic_parameter'
Raja R Harinath [Fri, 24 Apr 2009 05:52:11 +0000 (05:52 -0000)]
Refactor 'mono_class_from_generic_parameter'

* class.c (make_generic_param_class): Carve out of ...
(mono_class_from_generic_parameter): ... here.

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

15 years agoSimplify mono_class_from_generic_parameter
Raja R Harinath [Fri, 24 Apr 2009 05:51:47 +0000 (05:51 -0000)]
Simplify mono_class_from_generic_parameter

* class-internals.h (MonoGenericParamInfo::token): New field.
* metadata.c (mono_metadata_load_generic_params): Initialize it
from metadata.
* class.c (mono_class_from_generic_parameter): Use it instead of
searching through metadata.

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

15 years agoadd a few files back for S.R.S.dll - don't trust changes without a full, long and...
Sebastien Pouliot [Fri, 24 Apr 2009 00:55:48 +0000 (00:55 -0000)]
add a few files back for S.R.S.dll - don't trust changes without a full, long and boring 'make clean'.

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

15 years ago2009-04-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 00:36:44 +0000 (00:36 -0000)]
2009-04-23 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Add verification of the method table.

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

15 years ago2009-04-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 00:36:19 +0000 (00:36 -0000)]
2009-04-23 Rodrigo Kumpera  <rkumpera@novell.com>

* assembly-with-methods.cs:
* assembly-with-global-method.il: New test files with a global method.

* assembly-with-complex-type.cs: Add more types and methods to be used generating tests.

* cli-tables-tests.md: Tests for the methoddef table.

* Makefile: Add new dependencies.

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

15 years ago2009-04-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 00:36:06 +0000 (00:36 -0000)]
2009-04-23 Rodrigo Kumpera  <rkumpera@novell.com>

* gen-md-tests.c: Add read.ushort.

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

15 years ago2009-04-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 00:35:51 +0000 (00:35 -0000)]
2009-04-23 Rodrigo Kumpera  <rkumpera@novell.com>

* shared.c: Fix a bunch of memleaks.

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

15 years ago2009-04-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 00:35:28 +0000 (00:35 -0000)]
2009-04-23 Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c (ves_icall_Type_GetMethodsByName): Fix memleak for the
Delegate::Invoke optimization.

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

15 years ago2009-04-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 00:34:59 +0000 (00:34 -0000)]
2009-04-23 Rodrigo Kumpera  <rkumpera@novell.com>

* appdomain.c (mono_domain_create_appdomain_internal): Free the
string returned by get_shadow_assembly_location_base.

* appdomain.c (get_shadow_assembly_location_base): Add a comment
about caller's ownership.

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

15 years ago2009-04-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 00:34:35 +0000 (00:34 -0000)]
2009-04-23 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c: Add mono_reflection_cleanup_domain to cleanup
reflection memory on domain unload.

* domain.c (mono_domain_free): Don't free refobject_hash, let the
reflection cleanup code do it.

* domain-internals.h: Add mono_reflection_cleanup_domain.

This fixes a memory leak for managed mirrors of reflection objects
on domain unload.

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

15 years ago2009-04-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 00:34:11 +0000 (00:34 -0000)]
2009-04-22 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-tables-tests.md: More tests for the field table.

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

15 years ago2009-04-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 00:33:59 +0000 (00:33 -0000)]
2009-04-22 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Implement more verification of the field table.

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

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

* pedump.c (main): Init mono with mscorlib so it defaults to 2.0 and
doesn't try to parse the input assembly, which can be broken.

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

15 years ago2009-04-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 00:32:59 +0000 (00:32 -0000)]
2009-04-21 Rodrigo Kumpera  <rkumpera@novell.com>

* pedump.c: Fix a warning.

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

15 years agoadd back duplicated files since the circular, bootstrap, build needs them somehow
Sebastien Pouliot [Thu, 23 Apr 2009 23:31:39 +0000 (23:31 -0000)]
add back duplicated files since the circular, bootstrap, build needs them somehow

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

15 years agoAdd man page
Miguel de Icaza [Thu, 23 Apr 2009 20:15:47 +0000 (20:15 -0000)]
Add man page

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

15 years ago2009-04-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Apr 2009 19:41:14 +0000 (19:41 -0000)]
2009-04-23  Sebastien Pouliot  <sebastien@ximian.com>

* TimezoneInfo.cs: TimeZoneDirectory property should not be public

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

15 years ago* linker/Mono.Linker/Driver.cs: Report error and exit if it cannot
Andrés G. Aragoneses [Thu, 23 Apr 2009 19:30:58 +0000 (19:30 -0000)]
* linker/Mono.Linker/Driver.cs: Report error and exit if it cannot
resolve some type (useful to avoid an ugly TypeLoadException when
specifying an erroneus custom step).

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

15 years ago2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Apr 2009 18:23:09 +0000 (18:23 -0000)]
2009-04-23  Atsushi Enomoto  <atsushi@ximian.com>

* BinaryMessageEncoder.cs : use quotas in binding element.
  Implement WriteMessage().

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

15 years ago2009-04-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Apr 2009 17:34:48 +0000 (17:34 -0000)]
2009-04-23  Sebastien Pouliot  <sebastien@ximian.com>

* net_2_1_raw_System.dll.sources: Remove some unneeded files.

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

15 years ago2009-04-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Apr 2009 17:34:25 +0000 (17:34 -0000)]
2009-04-23  Sebastien Pouliot  <sebastien@ximian.com>

* Regex.cs: Remove Compiler-related support for NET_2_1
* RegexOptions.cs: Remove Compile from values available on NET_2_1

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

15 years ago2009-04-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Apr 2009 17:33:38 +0000 (17:33 -0000)]
2009-04-23  Sebastien Pouliot  <sebastien@ximian.com>

* UriParser.cs: Don't use compiled regex on NET_2_1 (feature is
not available)

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

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

* AssemblyInfo.cs: Remove InternalsVisibleTo on Mono.Moonlight
since it does not exists anymore

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

15 years agoTrack resurrection GCHandles in SGen.
Mark Probst [Thu, 23 Apr 2009 16:55:42 +0000 (16:55 -0000)]
Track resurrection GCHandles in SGen.

2009-04-23  Mark Probst  <mark.probst@gmail.com>

        * boehm-gc.c, gc-internal.h, gc.c, monitor.c, null-gc.c,
        sgen-gc.c: Implement track resurrection in weak GC handles in SGen
        by using the lowest bit in the link to store whether the link is
        tracked.  Move the track_resurrection hashes into boehm-gc.c.

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

15 years ago2009-04-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 23 Apr 2009 16:47:52 +0000 (16:47 -0000)]
2009-04-23  Marek Habersack  <mhabersack@novell.com>

* AsyncPostBackTrigger.cs: HasTriggered () must look up the
UniqueID of the control specified in the ControlID property or
otherwise it may miss certain triggers.

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

15 years agodelete unused file
Jb Evain [Thu, 23 Apr 2009 13:59:38 +0000 (13:59 -0000)]
delete unused file

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

15 years ago2009-04-23 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 23 Apr 2009 13:56:00 +0000 (13:56 -0000)]
2009-04-23  Jb Evain  <jbevain@novell.com>

* scripts/Makefile.am: add a pdb2mdb script.

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

15 years ago2009-04-23 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 23 Apr 2009 13:48:27 +0000 (13:48 -0000)]
2009-04-23  Jb Evain  <jbevain@novell.com>

* Makefile: add pdb2mdb to the build.

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

15 years ago2009-04-23 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 23 Apr 2009 13:47:06 +0000 (13:47 -0000)]
2009-04-23  Jb Evain  <jbevain@novell.com>

* Makefile: disable moon. Tuning is done by moonlight, which
will populate back the mcs tree with tuned assemblies for tests.

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

15 years agoadd license file
Jb Evain [Thu, 23 Apr 2009 13:43:04 +0000 (13:43 -0000)]
add license file

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

15 years ago2009-04-23 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 23 Apr 2009 13:41:49 +0000 (13:41 -0000)]
2009-04-23  Jb Evain  <jbevain@novell.com>

* pdb2mdb.exe.sources: added.
* Makefile: update to the mcs build system.

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

15 years agoMove managed version of pdb2mdb in mcs.
Jb Evain [Thu, 23 Apr 2009 13:30:25 +0000 (13:30 -0000)]
Move managed version of pdb2mdb in mcs.

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

15 years agofix typo
Raja R Harinath [Thu, 23 Apr 2009 12:57:07 +0000 (12:57 -0000)]
fix typo

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

15 years ago2009-04-23 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 23 Apr 2009 11:11:57 +0000 (11:11 -0000)]
2009-04-23  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/CheckVisibility.cs: check deep nested types.

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

15 years ago2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Apr 2009 11:09:11 +0000 (11:09 -0000)]
2009-04-23  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelFactory.cs : reordered preferrence of created channel types,
  and fixed to allow duplex channels without CallbackContractType
  (which does not always exist for duplex channels).

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

15 years ago2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Apr 2009 11:06:40 +0000 (11:06 -0000)]
2009-04-23  Atsushi Enomoto  <atsushi@ximian.com>

* DispatchOperation.cs : implement GetFormatter() at service side too.

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

15 years ago2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Apr 2009 11:05:23 +0000 (11:05 -0000)]
2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : now Request() supports duplex ones too.

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

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

* DuplexChannelFactory.cs : remove todos. Implement CreateChannel().

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

15 years ago2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Apr 2009 10:48:51 +0000 (10:48 -0000)]
2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* PeerCustomResolverBindingElement.cs : do initialize field.

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

15 years ago2009-04-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 23 Apr 2009 05:48:19 +0000 (05:48 -0000)]
2009-04-23  Miguel de Icaza  <miguel@novell.com>

* eval.cs: Make getcompletions silent and enable debugging output
if the -v option is passed.

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

15 years ago2009-04-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 23 Apr 2009 05:42:38 +0000 (05:42 -0000)]
2009-04-23  Miguel de Icaza  <miguel@novell.com>

* namespace.cs (NamespaceEntry.CompletionGetTypesStartingWith):
Consider looking up the namespace that matches the prefix being
used.

This is part of the support for allowing completions like:
`System.Co<TAB>' to complete to System.Console.

* complete.cs (CompletionSimpleName.AppendResults): Make this
routine reusable.

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

15 years ago2009-04-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Apr 2009 01:46:07 +0000 (01:46 -0000)]
2009-04-22  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Open up the internals to System.ServiceModel.Web,
e.g. calls to IDataContractSurrogate, JsonReader ...

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

15 years agoAdd missing headers
Miguel de Icaza [Wed, 22 Apr 2009 23:59:25 +0000 (23:59 -0000)]
Add missing headers

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

15 years agomerge
Miguel de Icaza [Wed, 22 Apr 2009 23:59:10 +0000 (23:59 -0000)]
merge

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

15 years ago2009-04-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Apr 2009 23:49:18 +0000 (23:49 -0000)]
2009-04-22  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Open internals to System.ServiceModel.Web

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

15 years ago2009-04-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 22 Apr 2009 23:33:57 +0000 (23:33 -0000)]
2009-04-22  Miguel de Icaza  <miguel@novell.com>

* aot-runtime.c (make_writable): Use mono_mprotect to simplify
some porting work.

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

15 years agoPortificate to the SLN setup
Miguel de Icaza [Wed, 22 Apr 2009 23:16:34 +0000 (23:16 -0000)]
Portificate to the SLN setup

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

15 years ago2009-04-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 22 Apr 2009 23:07:49 +0000 (23:07 -0000)]
2009-04-22  Miguel de Icaza  <miguel@novell.com>

        * Makefile.am: Split the console support in platform specific
        code and put together a framework for making this easy in the future so
        that we can start splitting code instead of having a mess of PLATFORM_WIN32

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

15 years agoAdd
Miguel de Icaza [Wed, 22 Apr 2009 22:56:30 +0000 (22:56 -0000)]
Add

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

15 years agoAdd
Miguel de Icaza [Wed, 22 Apr 2009 22:56:23 +0000 (22:56 -0000)]
Add

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

15 years agoSort the files
Miguel de Icaza [Wed, 22 Apr 2009 22:51:56 +0000 (22:51 -0000)]
Sort the files

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

15 years agoDo not need signal.h here
Miguel de Icaza [Wed, 22 Apr 2009 22:34:52 +0000 (22:34 -0000)]
Do not need signal.h here

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

15 years agoDo not need signal.h here
Miguel de Icaza [Wed, 22 Apr 2009 22:34:31 +0000 (22:34 -0000)]
Do not need signal.h here

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

15 years agoDo not need signal.h here
Miguel de Icaza [Wed, 22 Apr 2009 22:33:53 +0000 (22:33 -0000)]
Do not need signal.h here

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

15 years agoUpdate
Miguel de Icaza [Wed, 22 Apr 2009 22:32:07 +0000 (22:32 -0000)]
Update

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

15 years ago2009-04-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Apr 2009 21:53:22 +0000 (21:53 -0000)]
2009-04-22  Sebastien Pouliot  <sebastien@ximian.com>

* System.Net.dll.sources: Remove the common Const, Locale and
MonoTODOAttribute since we can now get them from mscorlib.dll.
Remove all System/System.Net.NetworkInformation/* types since
Socket does not depend on them anymore.
* DummySystemNet.cs: Add a dummy System.Net.NetworkInformation
namespace to please compilers.

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

15 years ago2009-04-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Apr 2009 21:50:40 +0000 (21:50 -0000)]
2009-04-22  Sebastien Pouliot  <sebastien@ximian.com>

* Socket_2_1.cs: Use old-n-simple CheckProtocolSupport to implement
OSSupportsIP[v4|v6] for Moonlight (NET_2_1 only) so we can avoid
including a bunch of types (22) from System.Net.NetworkInformation
and drop the number of [SecuritySafeCritical] methods to audit (the
same 22) and [SecurityCritical] (8) beside getting a smaller
System.Net.dll assembly :)

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

15 years ago2009-04-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Apr 2009 21:32:30 +0000 (21:32 -0000)]
2009-04-22  Sebastien Pouliot  <sebastien@ximian.com>

* net_2_1_raw_System.ServiceModel.Web.dll.sources: Remove the common
Const, Locale and MonoTODO since we can now get them from mscorlib.dll

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

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

* AssemblyInfo.cs: allow System.ServiceModel.Web access to mscorlib
internals (e.g. non-generic System.Collections.*)

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

15 years agoUp
Miguel de Icaza [Wed, 22 Apr 2009 21:24:26 +0000 (21:24 -0000)]
Up

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

15 years ago2009-04-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 22 Apr 2009 19:01:09 +0000 (19:01 -0000)]
2009-04-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Win32Exception.cs: made W32ErrorMessage internal.

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

15 years ago2009-04-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 22 Apr 2009 18:35:40 +0000 (18:35 -0000)]
2009-04-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Microsoft.CSharp/CSharpCodeCompiler.cs:
* Microsoft.VisualBasic/VBCodeCompiler.cs: better error when there's a
problem running the specified exec.

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

15 years agoMove two other documents to the Wiki
Miguel de Icaza [Wed, 22 Apr 2009 18:22:37 +0000 (18:22 -0000)]
Move two other documents to the Wiki

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

15 years ago2009-04-22 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Wed, 22 Apr 2009 18:09:44 +0000 (18:09 -0000)]
2009-04-22  Jeffrey Stedfast  <fejj@novell.com>

* configure.in: Check for a stable version of glib-2.0 as opposed
to an unstable development version (we don't want people
unfamiliar with glib versioning to install an unstable development
version of glib).

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

15 years agorefactor
Jb Evain [Wed, 22 Apr 2009 16:55:54 +0000 (16:55 -0000)]
refactor

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

15 years agothat reads better
Jb Evain [Wed, 22 Apr 2009 16:48:01 +0000 (16:48 -0000)]
that reads better

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

15 years ago2009-04-22 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 22 Apr 2009 16:45:12 +0000 (16:45 -0000)]
2009-04-22  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/CheckVisibility.cs: take InternalsVisibleTo into account.

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

15 years ago2009-04-22 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 22 Apr 2009 15:51:27 +0000 (15:51 -0000)]
2009-04-22  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/CheckVisibility.cs: take FamAndAssem into account.

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

15 years ago2009-04-22 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 22 Apr 2009 15:41:53 +0000 (15:41 -0000)]
2009-04-22  Jb Evain  <jbevain@novell.com>

* AdjustVisibility.cs: we're now turning non exposed fields and
methods (API wise) that are `protected` into `protected and internal`.

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

15 years ago2009-04-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 22 Apr 2009 14:27:34 +0000 (14:27 -0000)]
2009-04-22  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: create the imports ArrayList before
attempting to use it. Fixes bug #497174

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

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

* method-to-ir.c (mono_method_to_ir): Force init_locals to be TRUE
to prevent asserts in various passes. Fixes #497220.

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

15 years agoUpdated
Marek Safar [Wed, 22 Apr 2009 09:38:36 +0000 (09:38 -0000)]
Updated

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

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

* XmlSchemaValidator.cs : quick fix for bug #496205. Reset xsi:type
  and endelement.

* XmlSchemaValidatorTests.cs : added test for bug #496192 and #496205.

* 496192.xml, 496192.xsd : new test files.

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

15 years agobug # correction.
Atsushi Eno [Wed, 22 Apr 2009 05:44:56 +0000 (05:44 -0000)]
bug # correction.

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

15 years ago2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 22 Apr 2009 05:43:28 +0000 (05:43 -0000)]
2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* XmlQualifiedName.cs : added Parse() overload that is used for
  xsd validation.

* XmlSchemaValidator.cs, BuiltInDatatype.cs, XmlAtomicValue.cs:
  use xsd-supported version of XmlQualifiedName.Parse().
  Fixed bug #496205.

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

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

* XmlAttributeCollection.cs : when the node to be inserted has owner
  element _but_ is identical to that of this collection, do not
  reject it to raise an error. Fixed bug #496022.

* XmlAttributeCollectionTests.cs : added test for bug #496022.

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

15 years ago2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 21 Apr 2009 22:41:32 +0000 (22:41 -0000)]
2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpSoapWebServiceHandler.cs: provide the full stack trace instead
of just the Message to aid in debugging web service problems.
Bug #496758 fixed.

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

15 years agoMD misplaced the changelog entry..
Andrés G. Aragoneses [Tue, 21 Apr 2009 21:33:10 +0000 (21:33 -0000)]
MD misplaced the changelog entry..

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

15 years ago* linker/Mono.Linker/Driver.cs: Postprocess custom steps in order to
Andrés G. Aragoneses [Tue, 21 Apr 2009 21:30:32 +0000 (21:30 -0000)]
* linker/Mono.Linker/Driver.cs: Postprocess custom steps in order to
  make them able to find steps determined by the resolve step. Fixes
  #493702.

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

15 years ago2009-04-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 21 Apr 2009 21:16:24 +0000 (21:16 -0000)]
2009-04-21  Marek Habersack  <mhabersack@novell.com>

* Makefile: fixed resource ID generation.

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

15 years ago2009-04-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 21 Apr 2009 20:36:23 +0000 (20:36 -0000)]
2009-04-21 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_delegate_type_equal): Compare valuetypes using
mono_class_from_mono_type to avoid bad interactions with the dual representation
of the generic type definition.

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

15 years ago2009-04-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 21 Apr 2009 20:35:55 +0000 (20:35 -0000)]
2009-04-21 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_invoke_method): Use mono_class_from_mono_type to
get the MonoClass for the call context type as it might be a generic
instance.

Fixes #491483.

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

15 years ago2009-04-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 21 Apr 2009 20:35:27 +0000 (20:35 -0000)]
2009-04-20 Rodrigo Kumpera  <rkumpera@novell.com>

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

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

15 years ago2009-04-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 21 Apr 2009 19:56:57 +0000 (19:56 -0000)]
2009-04-21  Marek Habersack  <mhabersack@novell.com>

* PageCompiler.cs: implemented new way of setting output cache
parameters in the 2.0 profile. The generated code is now the same
as on .NET and uses the OutputCacheParameters class to pass
settings to InitOutputCache.

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

* Page.cs: added support for OutputCacheParameters.NoStore to
InitOutputCache.

* TemplateParser.cs:
Added support for the SqlDependency, NoStore and CacheProfile
attributes of the OutputCache directive. Fixes bug #496951

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

15 years agoThe execution context is now ThreadStatic in the Thread class.
Mark Probst [Tue, 21 Apr 2009 18:41:19 +0000 (18:41 -0000)]
The execution context is now ThreadStatic in the Thread class.

2009-04-21  Mark Probst  <mark.probst@gmail.com>

        * object-internals.h: The Thread object has no execution_context
        member anymore.

        * threads.c, threadpool.c, threads-types.h: Accessor functions for
        the execution context.

        * appdomain.c: Bump corlib version.

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

15 years ago2009-04-21 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 21 Apr 2009 18:39:48 +0000 (18:39 -0000)]
2009-04-21  Mark Probst  <mark.probst@gmail.com>

        * Thread.cs: Make the execution context field thread-static to
        avoid it being shared between app domains.

2009-04-21  Mark Probst  <mark.probst@gmail.com>

        * Environment.cs: Bump corlib version.

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

15 years ago2009-04-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 21 Apr 2009 18:05:45 +0000 (18:05 -0000)]
2009-04-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Control.cs, ContextMenuStrip.cs, ToolStripMenuItem.cs: Only process any
shortchut in ToolStripMenuItem.ProcessCmdKey if the control generating the
event is the same as the owner of the menu item. Also set properly
SourceControl for ContextMenuStrip, as well as add an internal field to
contain the control that owns the ContextMenuStrip (we need to know this
even before the public property is assigned).
Fixes bits of #393775.

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

15 years ago2009-04-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 21 Apr 2009 17:54:02 +0000 (17:54 -0000)]
2009-04-21  Marek Habersack  <mhabersack@novell.com>

* SimpleWebHandlerParser.cs: retrieve CompilationSection from the
appropriate web.config file.

* BaseParser.cs: moved the internal property VirtualPath from
TemplateParser to here and added an internal method
GetConfigSection to retrieve sections from the correct web.config
file on 2.0 applications. Fixes bug #494245

* PageParser.cs: use the new GetConfigSection method to retrieve
ClientTargetSection.

* TemplateParser.cs: moved the VirtualPath property to
BaseParser.
PagesConfig now uses the new GetConfigSection method. Fixes bug
#494245

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

15 years ago2009-04-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 21 Apr 2009 17:51:43 +0000 (17:51 -0000)]
2009-04-21  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_generic_class_init_trampoline): Remove
a racy assert.

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

15 years ago2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 21 Apr 2009 17:01:42 +0000 (17:01 -0000)]
2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DnsTest.cs: new IP for go-mono and fix AsyncResolve test.

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

15 years agoremove more code duplication for 2.1 and fix the build
Sebastien Pouliot [Tue, 21 Apr 2009 16:44:06 +0000 (16:44 -0000)]
remove more code duplication for 2.1 and fix the build

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

15 years agoremove more code duplication for 2.1 and fix the build
Sebastien Pouliot [Tue, 21 Apr 2009 16:43:28 +0000 (16:43 -0000)]
remove more code duplication for 2.1 and fix the build

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

15 years agoIn System.Xml.Schema:
Sebastien Pouliot [Tue, 21 Apr 2009 16:43:26 +0000 (16:43 -0000)]
In System.Xml.Schema:
In .:
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* System.Xml.Schema/*: Remove (not needed for 2.1 anymore)
* net_2_1_raw_System.Runtime.Serialization.dll.sources: Remove
more code duplication for 2.1 and fix the build

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

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 16:39:44 +0000 (16:39 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* XmlSchema_2_1.cs: Add internal fields needed by S.R.S.dll

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