mono.git
14 years ago2009-09-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 18 Sep 2009 20:10:23 +0000 (20:10 -0000)]
2009-09-15  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (verify_class_overrides): Remove useless argument.

* class.c (mono_class_setup_vtable_general): Move the overrides check to happen
before interface enumeration as this is no longer required.

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

14 years ago2009-09-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Sep 2009 19:14:29 +0000 (19:14 -0000)]
2009-09-18  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyBuilder.cs, ConstructorBuilder.cs, MethodBuilder.cs,
TypeBuilder.cs: Don't process PermissionSet under NET_2_1

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

14 years ago2009-09-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 18 Sep 2009 19:00:24 +0000 (19:00 -0000)]
2009-09-18 Rodrigo Kumpera  <rkumpera@novell.com>

* Documentation/en/*: Updates to the API. Add some explanation
for more methods. Fix the code sample for runtime detection.

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

14 years ago2009-09-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 18 Sep 2009 19:00:02 +0000 (19:00 -0000)]
2009-09-18 Rodrigo Kumpera  <rkumpera@novell.com>

* SimdRuntime.cs: Raise an exception if the method been queried
for acceleration is not found. Methods taking an array now are
variadic.

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

14 years ago2009-09-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Sep 2009 18:18:08 +0000 (18:18 -0000)]
2009-09-18  Sebastien Pouliot  <sebastien@ximian.com>

* EnvironmentPermissionAttribute.cs, FileIOPermissionAttribute.cs,
HostProtectionAttribute.cs, ReflectionPermissionAttribute.cs,
SecurityPermissionAttribute.cs, StrongNamePermissionAttribute.cs:
Return a null IPermission for NET_2_1
* PermissionSetAttribute.cs: Return null when paring from XML for
NET_2_1

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

14 years ago2009-09-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 18 Sep 2009 17:09:37 +0000 (17:09 -0000)]
2009-09-17  Atsushi Enomoto  <atsushi@ximian.com>

* normalization-tables.h : regenerated.

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

14 years ago2009-09-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 18 Sep 2009 17:07:51 +0000 (17:07 -0000)]
2009-09-17  Atsushi Enomoto  <atsushi@ximian.com>

* Normalization.cs : some renaming for disambiguation.
* NormalizationTableUtil.cs : fix some wrong ranges in
  mapIdxToComposite. This fixes some Arabic normalization (and more).
* normalization-notes.txt : added some notes on the implementation.

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

14 years ago2009-09-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Sep 2009 15:57:32 +0000 (15:57 -0000)]
2009-09-18  Sebastien Pouliot  <sebastien@ximian.com>

* Directory.cs: Avoid imperative CAS checks and remove
AccessControl types for NET_2_1
* DirectoryInfo.cs: Remove AccessControl types for NET_2_1
* File.cs: Remove AccessControl types for NET_2_1
* FileInfo.cs: Remove AccessControl types for NET_2_1
* FileStream.cs: Remove AccessControl types for NET_2_1
* Path.cs: Avoid imperative CAS checks for NET_2_1

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

14 years ago2009-09-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Sep 2009 15:35:58 +0000 (15:35 -0000)]
2009-09-18  Sebastien Pouliot  <sebastien@ximian.com>

* ActivationServices.cs: Avoid depending on COM stuff for NET_2_1

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

14 years ago2009-09-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Sep 2009 15:34:41 +0000 (15:34 -0000)]
2009-09-18  Sebastien Pouliot  <sebastien@ximian.com>

* RemotingServices.cs: Avoid depending on COM stuff for NET_2_1

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

14 years ago2009-09-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Sep 2009 15:15:01 +0000 (15:15 -0000)]
2009-09-18  Sebastien Pouliot  <sebastien@ximian.com>

* StackFrame.cs: Avoid imperative CAS checks for NET_2_1

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

14 years ago2009-09-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Sep 2009 15:12:53 +0000 (15:12 -0000)]
2009-09-18  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS1.cs: Fix compiler warning for NET_2_1

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

14 years ago2009-09-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Sep 2009 15:06:33 +0000 (15:06 -0000)]
2009-09-18  Sebastien Pouliot  <sebastien@ximian.com>

* RNGCryptoServiceProvider.cs: Remove unneeded SSC from NET_2_1

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

14 years ago2009-09-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Sep 2009 14:58:28 +0000 (14:58 -0000)]
2009-09-18  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs, Module.cs: Avoid imperative CAS checks for NET_2_1

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

14 years agoNew test.
Marek Safar [Fri, 18 Sep 2009 09:15:52 +0000 (09:15 -0000)]
New test.

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

14 years ago2009-09-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 18 Sep 2009 09:15:34 +0000 (09:15 -0000)]
2009-09-18  Marek Safar  <marek.safar@gmail.com>

* decl.cs, class.cs: Check protected property accessors.

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

14 years agoNew tests.
Marek Safar [Fri, 18 Sep 2009 08:46:02 +0000 (08:46 -0000)]
New tests.

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

14 years ago2009-09-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 18 Sep 2009 08:45:42 +0000 (08:45 -0000)]
2009-09-18  Marek Safar <marek.safar@gmail.com>

* CSharpBinaryOperationBinder.cs, CSharpBinder.cs: Implemented
binary AddAssign operator.

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

14 years ago2009-09-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 18 Sep 2009 08:45:11 +0000 (08:45 -0000)]
2009-09-18  Marek Safar  <marek.safar@gmail.com>

* dynamic.cs, assign.cs: Dynamic compound assignment.

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

14 years ago2009-09-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 18 Sep 2009 00:24:11 +0000 (00:24 -0000)]
2009-09-18  Marek Habersack  <mhabersack@novell.com>

* MetaTable.cs: implemented Init - calls Init on all the columns
present in this instance.

* MetaModel.cs: constructor initializes FieldTemplateFactory after
it is instantiated.
RegisterContextCore first registers the context type, then creates
tables and finally calls Init on all the tables.

* MetaColumn.cs: added internal Init method - called by MetaModel
after context is registered and all tables are created and
registered.

* MetaChildrenColumn.cs: implemented ChildTable,
ColumnInOtherTable, GetChildrenListPath, GetChildrenPath and added
an internal Init method override. MonoTODO attributes stay until I
write tests for the class.

* FieldTemplateUserControl.cs: implemented ChildrenColumn,
ChildrenPath, Column, ForeignKeyColumn, ForeignKeyPath,
MetadataAttributes, Mode, Row, Table, SetHost

* FieldTemplateFactory.cs: GetFieldTemplateVirtualPath fixes

* DynamicControl.cs: implemented ApplyFormatInEditMode,
ConvertEmptyStringToNull, DataField, DataFormatString, HtmlEncode,
FormattingOptions, NullDisplayText, UIHint, OnInit, Render.

2009-09-18  Marek Habersack  <mhabersack@novell.com>

* TestsBasePage.cs: added an event ItemDataBinding, invoked
whenever an item is data bound.

2009-09-18  Marek Habersack  <mhabersack@novell.com>

* Makefile (TEST_RESOURCE_FILES): added
Test/WebPages/ListView_DynamicControl_10.aspx,
Test/WebPages/ListView_DynamicControl_10.aspx.cs

2009-09-18  Marek Habersack  <mhabersack@novell.com>

* DynamicControlTest.cs: FieldTemplate_1 - fixed fake edit
postback for Mono.

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

14 years agoAdd Info.plist to EXTRA_DIST
Andrew Jorgensen [Thu, 17 Sep 2009 22:56:35 +0000 (22:56 -0000)]
Add Info.plist to EXTRA_DIST

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

14 years ago2009-09-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 17 Sep 2009 18:47:23 +0000 (18:47 -0000)]
2009-09-17  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Fixed compound assignment explicit conversion.

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

14 years ago2009-09-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 17 Sep 2009 18:21:17 +0000 (18:21 -0000)]
2009-09-17  Sebastien Pouliot  <sebastien@ximian.com>

* coreclr-security.cs: Add test cases for arrays (one dimension,
multidimentional and jagged) creation.

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

14 years ago2009-09-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Sep 2009 18:21:09 +0000 (18:21 -0000)]
2009-09-17  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile: move core WCF assemblies before Sys.Web.Extensions,
  which will depend on them.

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

14 years ago2009-09-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Sep 2009 18:13:49 +0000 (18:13 -0000)]
2009-09-17  Atsushi Enomoto  <atsushi@ximian.com>

* WebScriptEnablingBehavior.cs : basic implementation. Create custom
  ChannelDispatchers for "/js" and "/jsdebug" like we do for
  /wsdl (ServiceMetadataExtension). And they return Javascript
  generated from ProxyGenerator in Sys.Web.Extensions.

* WebMessageEncoder.cs : handle /js and /jsdebug specially, as raw
  javascript stream.

* Makefile : add -r:System.Web.Extensions.dll.

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

14 years ago2009-09-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Sep 2009 18:09:09 +0000 (18:09 -0000)]
2009-09-17  Atsushi Enomoto  <atsushi@ximian.com>

* WebScriptServiceHostFactory.cs : do tasks in previous change only
  if it is done under ASP.NET environment.

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

14 years ago2009-09-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Sep 2009 17:59:37 +0000 (17:59 -0000)]
2009-09-17  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceMetadataExtension.cs : when its url is requested without
  any parameters, it simply returns the WSDL, not the help page.

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

14 years ago2009-09-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Sep 2009 17:58:15 +0000 (17:58 -0000)]
2009-09-17  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs, EndpointDispatcher.cs :
  when an EndpointDispatcher is added to ChannelDispatcher, its
  ChannelDispatcher property is automatically filled. To do this,
  create a derived collection type for Endpoints (that's what .NET
  does). Remove extra InitializeEndpoint() argument.

* DuplexClientRuntimeChannel.cs : reflecting EndpointDispatcher change.

* ChannelDispatcherTest.cs : add a test to make sure that
  EndpointDispatcher.ChannelDispatcher property is filled by Add().

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

14 years ago2009-09-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Sep 2009 17:54:37 +0000 (17:54 -0000)]
2009-09-17  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : OnOpened() should not hide events that are
  invoked at the base class.

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

14 years ago2009-09-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Sep 2009 17:53:35 +0000 (17:53 -0000)]
2009-09-17  Atsushi Enomoto  <atsushi@ximian.com>

* OperationInvokerHandler.cs : make error message a bit verbose.

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

14 years ago2009-09-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Sep 2009 14:44:26 +0000 (14:44 -0000)]
2009-09-17  Atsushi Enomoto  <atsushi@ximian.com>

* UriTemplateTable.cs : do not raise an error when MatchSingle() did
  not result in any match. Match methods should reject empty table.

* UriTemplateTableTest.cs : new test file.

* System.ServiceModel.Web_test.dll.sources :
  added UriTemplateTableTest.cs.

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

14 years agoNew tests.
Marek Safar [Thu, 17 Sep 2009 13:02:06 +0000 (13:02 -0000)]
New tests.

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

14 years ago2009-09-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 17 Sep 2009 13:01:47 +0000 (13:01 -0000)]
2009-09-17  Marek Safar  <marek.safar@gmail.com>

* expression.cs, ecore.cs: Cannot infer variables from method group.

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

14 years ago2009-09-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 17 Sep 2009 04:36:06 +0000 (04:36 -0000)]
2009-09-17 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DirectoryInfo.cs: throw if FullPath is not a directory.
Fixes bug #539791.

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

14 years ago2009-09-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Sep 2009 18:17:28 +0000 (18:17 -0000)]
2009-09-16  Zoltan Varga  <vargaz@gmail.com>

* mono-debug.c (mono_debug_add_method): Increase the size of the buffer,
a leb128 encoding can take up to 5 bytes.

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

14 years ago2009-09-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Sep 2009 18:17:21 +0000 (18:17 -0000)]
2009-09-16  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Allow AOT for CEE_LDTOKEN in
static synchronized wrappers. Fixes #539500.

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

14 years ago* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Sort the
Andrés G. Aragoneses [Wed, 16 Sep 2009 17:59:13 +0000 (17:59 -0000)]
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Sort the
descriptors wrt type name, to avoid false negatives at MoonAtkBridge
build time.

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

14 years ago2009-09-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 16 Sep 2009 17:35:26 +0000 (17:35 -0000)]
2009-09-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichTextBox.cs: When SelectedRtf is set, and we are in the 0
position in the x axis, force to re-use any already available line,
even if it is not empty. This way pasting text into our textbox in the
beginning for non empty lines should work fine.

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

14 years agoNew tests.
Marek Safar [Wed, 16 Sep 2009 15:49:48 +0000 (15:49 -0000)]
New tests.

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

14 years agoInitial set enabled.
Marek Safar [Wed, 16 Sep 2009 15:37:30 +0000 (15:37 -0000)]
Initial set enabled.

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

14 years ago2009-09-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Sep 2009 15:36:57 +0000 (15:36 -0000)]
2009-09-16  Marek Safar <marek.safar@gmail.com>

* RuntimeBinderContext.cs, CSharpBinaryOperationBinder.cs,
CSharpBinder.cs: Fully implemented binary Add operator.

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

14 years ago2009-09-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Sep 2009 15:35:13 +0000 (15:35 -0000)]
2009-09-16  Marek Safar  <marek.safar@gmail.com>

* argument.cs, dynamic.cs, convert.cs, context.cs, anonymous.cs,
constant.cs, nullable.cs, expression.cs, literal.cs, ecore.cs,
codegen.cs: Dynamic binary operations scaffolding.

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

14 years ago* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Speed up by
Andrés G. Aragoneses [Wed, 16 Sep 2009 13:57:08 +0000 (13:57 -0000)]
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Speed up by
two orders of magnitude, thanks to caching XPathNavigator objects and
calling Directory.GetFiles() just once.

* tuner/Mono.Tuner/MoonlightA11yApiMarker.cs: Fix typo in comment.

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

14 years ago2009-09-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Sep 2009 11:51:44 +0000 (11:51 -0000)]
2009-09-16  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_handle_exception_internal): Store the computed
lmf before calling filter clauses as well. Fixes #539550.

* exceptions.cs: Add a test.

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

14 years ago2009-09-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Sep 2009 05:02:42 +0000 (05:02 -0000)]
2009-09-16  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : make sure to close the request context,
  some channels such as http keeps opening it. Patch by Levi Bard.
  Fixed bug #533776.

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

14 years ago2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 16 Sep 2009 01:38:49 +0000 (01:38 -0000)]
2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpClientTransportSink.cs: ensure the response stream is disposed.
* HttpServerTransportSink.cs: use the public API of HttpConnection.
* RemotingHttpListener.cs: use the public API of HttpConnection
instead of hooking into an internal method, possibly cause exception
and leave the Connection in an unstable state.

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

14 years agoadd timeout here too
Gonzalo Paniagua Javier [Wed, 16 Sep 2009 01:36:39 +0000 (01:36 -0000)]
add timeout here too

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

14 years ago2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 16 Sep 2009 01:27:36 +0000 (01:27 -0000)]
2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpListenerRequest.cs: add the right status code.
* HttpConnection.cs: exception might come from more places when
reading the input. Catch all of them.

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

14 years agoFix changelog notice. Don't want to put blame on others for my stuff.
Rodrigo Kumpera [Wed, 16 Sep 2009 00:29:57 +0000 (00:29 -0000)]
Fix changelog notice. Don't want to put blame on others for my stuff.

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

14 years ago2009-09-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 16 Sep 2009 00:27:43 +0000 (00:27 -0000)]
2009-09-15  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c: New function mono_class_is_assignable_from_slow that is safe to be
used under mono_class_init context. This functions avoid any code path that
calls mono_class_init, which leads it to be slow as some things like the interface
bitmap are not available.

* class.c (verify_class_overrides): Use mono_class_is_assignable_from_slow instead
of it's own broken version. Fixes the verifier part of #538588.

* class-internals.h: Export mono_class_is_assignable_from_slow as part of the internal
API.

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

14 years ago2009-09-14 Zoltan Varga <vargaz@gmail.com>
Rodrigo Kumpera [Wed, 16 Sep 2009 00:27:31 +0000 (00:27 -0000)]
2009-09-14  Zoltan Varga  <vargaz@gmail.com>

* jit-icalls.c (mono_class_static_field_address): handle vtable failure
properly.

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

14 years ago2009-09-15 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Tue, 15 Sep 2009 20:10:41 +0000 (20:10 -0000)]
2009-09-15  Jeffrey Stedfast  <fejj@novell.com>

* io.c (CreateFile): In the directory fallback case, use
_wapi_open() again so that IOMAP magic happens.
(CopyFile): Need to consistently use _wapi_open() here too.
(ReplaceFile): Use _wapi_open() here too and get rid of the
fallback code that tried re-opening the file w/o O_TRUNC since
there's no reason to do that.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 18:58:08 +0000 (18:58 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* SyndicationElementExtension.cs : make it ready for 2.1 build.

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

14 years ago2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 15 Sep 2009 18:47:01 +0000 (18:47 -0000)]
2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* System.Net.Configuration/DefaultProxyHandler.cs:
* System.Net/WebRequest.cs: handle upper and lowercase HTTP_PROXY and
the Any address.
Fixes bug #537283.

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

14 years agofix monotouch build
Geoff Norton [Tue, 15 Sep 2009 18:19:33 +0000 (18:19 -0000)]
fix monotouch build

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

14 years agoNew tests.
Marek Safar [Tue, 15 Sep 2009 15:07:35 +0000 (15:07 -0000)]
New tests.

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

14 years ago2009-09-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Sep 2009 15:07:18 +0000 (15:07 -0000)]
2009-09-15  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Fixes nullable promotion for enum type variables.

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

14 years agoSome compatibility work
Marek Safar [Tue, 15 Sep 2009 15:06:57 +0000 (15:06 -0000)]
Some compatibility work

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 13:20:14 +0000 (13:20 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : to support external function that returns non-
  double (such as int) as number, add conversion from non-double at
  evaluation. This should fix bug #498389.

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

14 years ago2009-09-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Sep 2009 13:04:06 +0000 (13:04 -0000)]
2009-09-15  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: FindNamespaceInAssembly must catch
ReflectionTypeLoadException so that it doesn't break on invalid
assemblies.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 13:03:54 +0000 (13:03 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* XDocument.cs : XmlReaderSettings on XmlReader may be null.
  Fixed bug #496285.

* XDocumentTest.cs : added test for bug #496285.

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

14 years ago2009-09-15 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 15 Sep 2009 12:50:12 +0000 (12:50 -0000)]
2009-09-15  Mark Probst  <mark.probst@gmail.com>

        * class.c (mono_class_init): Always set an exception in a class if
        vtable setup fails.  Fixes #538577.

        * generic-sharing.c: Raise an exception if mono_class_vtable()
        returns NULL.

2009-09-15  Mark Probst  <mark.probst@gmail.com>

        * generic-type-load-exception.2.il: Test case for vtable setup
        failure in shared generic code.

        * Makefile.am: Test added.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 12:40:28 +0000 (12:40 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* XmlAttributeCollection.cs : removed duplicate ID attribute check
  here as this behavior not specifically defined by W3C DOM Level 2
  specification. Fixed bug #508296.

* XmlAttributeCollectionTests.cs : add test for bug #508296 by
  Tom Hindle.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 11:26:20 +0000 (11:26 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* XDocument.cs : fix SaveOptions behavior in Save() with filename.
  Fixed bug #527421.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 11:16:18 +0000 (11:16 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* XElement.cs : consider default namespace in GetNamespaceOfPrefix().
* XNodeReader.cs : 3.5 RTM does not return empty string for undefined
  namespace URI with the argument prefix in LookupNamespace().

* XNodeReaderTest.cs : Updated test to match the latest linq2xml
  and added test for LookupNamespace().

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 11:12:49 +0000 (11:12 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* XObject.cs : do not throw AE when target object is not found in
  Annotation(). Fixed bug #527887.

* XObjectTest.cs : added test for #527887.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 09:34:51 +0000 (09:34 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* JsonWriter.cs : use Stream as its output directly and avoid
  extraneous preamble output. Fix interop with .NET.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 08:41:18 +0000 (08:41 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* WebServiceHelper.cs : remove old code.

* System.ServiceModel.dll.sources: remove WebServiceHelper.cs.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 06:45:12 +0000 (06:45 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* WebHttpBehaviorTest.cs : enable working test.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 06:44:23 +0000 (06:44 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceDebugBehaviorTest.cs : it still seems there are some port-
  blocking tests that blocks here, so change the port and make sure
  it is available. 8080 is anyways likely to interfere with others.

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

14 years ago2009-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 15 Sep 2009 05:32:15 +0000 (05:32 -0000)]
2009-09-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichTextBox.cs: When we are inserting a flow of rtf text, and we are
*not* loading it from a file, try to re-use a line if already
available, since the default behaviour of the parser is to create new
lines for the document.
This should fix a regressions we found after the last fix for #513030.

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

14 years ago2009-09-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 Sep 2009 23:24:54 +0000 (23:24 -0000)]
2009-09-15  Marek Habersack  <mhabersack@novell.com>

* Makefile (TEST_RESOURCE_FILES): added
Test/WebPages/ListView_DynamicControl_09.aspx and
Test/WebPages/ListView_DynamicControl_09.aspx.cs

2009-09-15  Marek Habersack  <mhabersack@novell.com>

* FieldTemplateFactoryTest.cs: implemented tests for
BuildVirtualPath, GetFieldTemplateVirtualPath and PreprocessMode.

2009-09-15  Marek Habersack  <mhabersack@novell.com>

* MetaColumn.cs: DataTypeAttribtue created automatically for
string columns, must be of type MultilineText for long strings.

* FieldTemplateFactory.cs: implemented BuildVirtualPath,
CreateFieldTemplate, GetFieldTemplateVirtualPath, PreprocessMode
and fixed implementation of TemplateFolderVirtualPath.

2009-09-15  Marek Habersack  <mhabersack@novell.com>

* DataTypeAttribute.cs: implemented GetDataTypeName

2009-09-15  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: CreateChildControls calls EnsureDataBound only if
we're not in post-back and if data binding is required.

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

14 years ago2009-09-14 Tom Hindle <tom_hindle@sil.org>
Jonathan Pobst [Mon, 14 Sep 2009 19:11:25 +0000 (19:11 -0000)]
2009-09-14  Tom Hindle <tom_hindle@sil.org>

* ToolStripOverflow.cs: Fixes #536036 by adding null ptr check.

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

14 years ago * MonoTouch/MonoPInvokeCallbackAttribute.cs: Added.
Jonathan Pryor [Mon, 14 Sep 2009 18:31:35 +0000 (18:31 -0000)]
* MonoTouch/MonoPInvokeCallbackAttribute.cs: Added.
* monotouch_System.dll.sources: Include MonoPInvokeCallbackAttribute.

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

14 years ago * DeflateStream.cs: MonoTouch reverse callbacks need to be static
Jonathan Pryor [Mon, 14 Sep 2009 18:25:28 +0000 (18:25 -0000)]
* DeflateStream.cs: MonoTouch reverse callbacks need to be static
  methods and be annotated with [MonoPInvokeCallback].  Get things
  working with these limitations.

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

14 years agoUpdated the profiler documentation, removing the obsolete signal related options...
Massimiliano Mantione [Mon, 14 Sep 2009 18:23:48 +0000 (18:23 -0000)]
Updated the profiler documentation, removing the obsolete signal related options and adding the description of the new socket based command interface.

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

14 years agoRemoved the use of signals to control the profiler and extended the socket based...
Massimiliano Mantione [Mon, 14 Sep 2009 18:23:43 +0000 (18:23 -0000)]
Removed the use of signals to control the profiler and extended the socket based interface to control also heap snapshots.

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

14 years ago * zlib-helper.c: support reverse callbacks within MonoTouch.
Jonathan Pryor [Mon, 14 Sep 2009 18:23:20 +0000 (18:23 -0000)]
* zlib-helper.c: support reverse callbacks within MonoTouch.

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

14 years ago2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 17:03:34 +0000 (17:03 -0000)]
2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* MessagePropertiesTest.cs : new test.

* MessageProperties.cs : fix CopyProperties() behavior to not
  clear existing items. Make all properties call this[name].

* System.ServiceModel_test.dll.sources: add MessagePropertiesTest.cs.

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

14 years ago2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 15:41:16 +0000 (15:41 -0000)]
2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* HttpTransportBindingElement.cs : fix 2.1 build.

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

14 years ago2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 13:23:01 +0000 (13:23 -0000)]
2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* TransportBindingElement.cs : another GetProperty fix, iterate
  other binding elements.

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

14 years ago2007-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 13:20:21 +0000 (13:20 -0000)]
2007-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* MsmqIntegrationBindingElement.cs : implemented some parts.

* HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
  some GetProperty() implementation.

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

14 years ago2009-09-14 Ivan Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 14 Sep 2009 12:22:33 +0000 (12:22 -0000)]
2009-09-14  Ivan Zlatev  <contact@i-nz.net>

* DesignSurface.cs: Prevent a NRE in Flush by cheching if the
designer loader is null.
[Fixes bug #538929]

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

14 years ago2009-09-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Sep 2009 11:42:03 +0000 (11:42 -0000)]
2009-09-14  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (add_generic_class): Add instances of
Array.GetGenericValueImpl as well.

* Makefile.am (fullaotcheck): Copy and aot more assemblies so linq
can be tested too.

* generics.cs: Add a fullaot linq test.

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

14 years ago2007-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 10:09:08 +0000 (10:09 -0000)]
2007-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* MsmqIntegrationMessageProperty.cs, MsmqMessage.cs:
  cleanup couple of warnings.

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

14 years ago2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 09:03:15 +0000 (09:03 -0000)]
2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : do not try to wait for channel closer
  handle when the loop is not started yet. This fixes lengthy wait
  in the nunit tests.

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

14 years ago2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 09:01:39 +0000 (09:01 -0000)]
2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* HttpListenerManager.cs : release HttpListener and avoid extra
  close process more than once.

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

14 years ago2009-09-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Sep 2009 19:10:37 +0000 (19:10 -0000)]
2009-09-13  Zoltan Varga  <vargaz@gmail.com>

* runtime-invoke.cs: Add a test.

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

14 years ago2009-09-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Sep 2009 19:10:25 +0000 (19:10 -0000)]
2009-09-13  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_runtime_invoke): Don't share instance
methods of vtypes, as they could be incorrectly shared with static methods
taking an IntPtr argument.

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

14 years agopainfully updated these
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 03:30:33 +0000 (03:30 -0000)]
painfully updated these

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

14 years ago2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 03:15:56 +0000 (03:15 -0000)]
2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpServerChannelTests.cs:
* BaseCalls.cs:
* System.Runtime.Remoting.Channels.Tcp/TcpChannelTest.cs: ignore tests
that fail on MS.NET.

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

14 years ago2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 02:49:03 +0000 (02:49 -0000)]
2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* AsyncResult.cs: lock when setting the 'completed' field and use the
property instead of the 'handle' field.

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

14 years ago2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 02:44:02 +0000 (02:44 -0000)]
2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* StringBuilderTest.cs: new test.

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

14 years agoavoid ISO C90 warning
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 02:40:08 +0000 (02:40 -0000)]
avoid ISO C90 warning

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

14 years ago2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 02:36:58 +0000 (02:36 -0000)]
2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* domain.c:
* object.c:
* class-internals.h: renamed waithandle_class to
manualresetevent_class.
* marshal.c: propagate the exception if a remoting BeginInvoke call
fails.

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

14 years agoSlightly changed exception footer
Marek Habersack [Fri, 11 Sep 2009 23:15:15 +0000 (23:15 -0000)]
Slightly changed exception footer

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:47:09 +0000 (22:47 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* object.c: Properly handle vtable failures.

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:46:58 +0000 (22:46 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* socket-io.c: Assert on vtable failure.

* mono-mlist.c: Assert on vtable failure.

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:46:48 +0000 (22:46 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* marshal.c: Assert on vtable failure.

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:46:38 +0000 (22:46 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c: Properly handle vtable failures.

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