mono.git
14 years agoCompilation fix: typo
Marek Habersack [Thu, 3 Sep 2009 13:13:38 +0000 (13:13 -0000)]
Compilation fix: typo

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

14 years ago2009-09-03 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 3 Sep 2009 12:10:36 +0000 (12:10 -0000)]
2009-09-03  Jb Evain  <jbevain@novell.com>

* ExpressionTest_Constant.cs: add test to emit dbnull constants.

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

14 years ago2009-09-03 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 3 Sep 2009 12:10:09 +0000 (12:10 -0000)]
2009-09-03  Jb Evain  <jbevain@novell.com>

* ConstantExpression.cs (Emit): add support to emit DBNull values.

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

14 years ago2009-09-03 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 3 Sep 2009 12:00:59 +0000 (12:00 -0000)]
2009-09-03  Jb Evain  <jbevain@novell.com>

* ExpressionTest_Constant.cs: add test to emit DateTime constants.

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

14 years ago2009-09-03 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 3 Sep 2009 12:00:32 +0000 (12:00 -0000)]
2009-09-03  Jb Evain  <jbevain@novell.com>

* ConstantExpression.cs (Emit): add support for emitting
DateTime constants.

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

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

* ServiceHostBase.cs : move DispatcherBuilder out from ServiceHostBase.

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

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

* SvcHttpHandler.cs : apply configuration, and if there is still no
  endpoint, then add default one.

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

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

* ServiceHostBase.cs : on service contract lookup, do not always
  expect contract name to match type name.
* ServiceHost.cs : remove extra local var.

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

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

* SvcHttpHandler.cs : another URL to make relative.

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

14 years ago2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 3 Sep 2009 10:13:08 +0000 (10:13 -0000)]
2009-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* SvcHttpHandlerFactory.cs : some GetHandler changes.
* SvcHttpHandler.cs : significant changes on receiver structure. Now
  ProcessRequest() stores pending requests (this might be extraneous,
  but maybe useful when it implements async handler). Also removed
  reply_channel field as it may become to handle multiple requests.
* HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
* AspNetReplyChannel.cs : make it receive requests like
  HttpReplyChannel (for HttpListener) to make them consistent.

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

14 years agoFix the build.
Zoltan Varga [Thu, 3 Sep 2009 09:57:55 +0000 (09:57 -0000)]
Fix the build.

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

14 years ago2009-09-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 3 Sep 2009 09:57:31 +0000 (09:57 -0000)]
2009-09-03  Marek Habersack  <mhabersack@novell.com>

* AppResourcesCompiler.cs: SanitizeResourceName uses VB/C# rules
to attempt to create valid identifiers from resource
names. Identifier is also escaped by the CodeDOM provider before
returning. Possible fix for bug #536364

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

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

* AspNetRequestContext.cs, HttpRequestContext.cs :
  fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
  by splitting HttpListener-based context out from common code base.

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

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

* ServiceHostBase.cs : fix wrong listenUri argument in
  AddServiceEndpoint() call chain.

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

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

* SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
  relative or absolute. new Uri ("/foobar") doesn't work on non-unix
  environment.

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

14 years ago2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
Miguel de Icaza [Thu, 3 Sep 2009 00:11:57 +0000 (00:11 -0000)]
2009-08-11  Jérémie Laval  <jeremie.laval@gmail.com>

* corlib.dll.sources: Update with moved files.
* corlib_test.dll.source: Updated with moved files.

2009-07-31  Jérémie Laval  <jeremie.laval@gmail.com>

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

14 years ago2009-09-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 2 Sep 2009 23:50:56 +0000 (23:50 -0000)]
2009-09-03  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_get_vcall_slot): Pass the start of the method to
mono_breakpoint_clean_code () when using LLVM as the prologues generated by
LLVM might be very short.

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

14 years ago2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 2 Sep 2009 22:56:13 +0000 (22:56 -0000)]
2009-09-02  Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c, icall-def.h: Remove some dead code from early SRE changes.

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

14 years ago2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 2 Sep 2009 22:56:02 +0000 (22:56 -0000)]
2009-09-02  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_setup_fields): Remove duplicated local variable
named gklass.
Rename gklass to gtd to reflect the fact that it points to the generic
type definition.
Remove the duplicated call to mono_class_setup_fields on gtd and move
the error check to the beginning.

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

14 years ago2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 2 Sep 2009 22:55:53 +0000 (22:55 -0000)]
2009-09-02  Rodrigo Kumpera  <rkumpera@novell.com>

* time.c (Mono_Posix_Syscall_nanosleep): Avoid referencing unitialized
memory.

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

14 years ago2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 2 Sep 2009 20:50:08 +0000 (20:50 -0000)]
2009-09-02 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Test for #536243.

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

14 years ago2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 2 Sep 2009 20:49:48 +0000 (20:49 -0000)]
2009-09-02 Rodrigo Kumpera  <rkumpera@novell.com>

* ILGenerator.cs (label_fixup): Check for unmarked labels.
Fixes #536243.

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

14 years ago * src/**/*: Sync with DbLinq r1215. This fixes the
Jonathan Pryor [Wed, 2 Sep 2009 19:42:28 +0000 (19:42 -0000)]
* src/**/*: Sync with DbLinq r1215.  This fixes the
  ../../tools/sqlmetal build.

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

14 years ago2009-09-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Sep 2009 19:11:12 +0000 (19:11 -0000)]
2009-09-02  Sebastien Pouliot  <sebastien@ximian.com>

* assembly.c (parse_public_key): Avoid allocating (and not
freeing) the public key array when it's not requested by the
caller.
* threads.c (mono_thread_manage, mono_thread_create_internal,
ves_icall_System_Threading_Thread_Thread_internal): Free
allocated memory on error.

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

14 years ago2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 2 Sep 2009 19:03:45 +0000 (19:03 -0000)]
2009-09-02  Rodrigo Kumpera  <rkumpera@novell.com>

* marshal.c (mono_array_to_lparray): Do DISABLE_COM properly.
Remove cruft of the previous patch.

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

14 years agoUpdate comment
Miguel de Icaza [Wed, 2 Sep 2009 18:45:48 +0000 (18:45 -0000)]
Update comment

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

14 years ago2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 2 Sep 2009 18:13:44 +0000 (18:13 -0000)]
2009-09-02 Rodrigo Kumpera  <rkumpera@novell.com>

* mono-sha1.c: Update documentation.

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

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

* mono-md5.c: Update documentation.

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

14 years ago2009-09-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Sep 2009 18:07:11 +0000 (18:07 -0000)]
2009-09-02  Sebastien Pouliot  <sebastien@ximian.com>

* mono-dl.c (mono_dl_open): Don't leak module if name is NULL
* mono-md5.c (mono_md5_get_digest_from_file): Close 'fp' even on
success (just like we do for sha1)

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

14 years ago * src/**/*: Sync with DbLinq r1214. This integrates several
Jonathan Pryor [Wed, 2 Sep 2009 17:56:50 +0000 (17:56 -0000)]
* src/**/*: Sync with DbLinq r1214.  This integrates several
  performance patches from Zoltan Varga, and adds a
  DataContextSubclass(string) constructor to sqlmetal output.

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

14 years ago2009-09-02 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 2 Sep 2009 16:04:02 +0000 (16:04 -0000)]
2009-09-02  Jb Evain  <jbevain@novell.com>

* Makefile: include System.Json in monotouch.

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

14 years ago2009-09-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 2 Sep 2009 15:50:55 +0000 (15:50 -0000)]
2009-09-02  Marek Safar  <marek.safar@gmail.com>

* expression.cs, statement.cs, ecore.cs: Use common Report.Error.

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

14 years agoNew test.
Marek Safar [Wed, 2 Sep 2009 12:56:15 +0000 (12:56 -0000)]
New test.

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

14 years ago2009-09-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 2 Sep 2009 12:56:00 +0000 (12:56 -0000)]
2009-09-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #535448
* anonymous.cs, class.cs: Copy return label between all contexts.

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

14 years ago2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Sep 2009 12:48:01 +0000 (12:48 -0000)]
2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>

* SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
  loads types from system assemblies appropriately.

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

14 years ago2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Sep 2009 11:41:43 +0000 (11:41 -0000)]
2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>

* WebMessageFormatter.cs : it was not returning value with correct
  wrapper name/namespace. Fix interop with .NET client.

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

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

* WebMessageEncodingBindingElement.cs : implement GetProperty<T>().

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

14 years ago2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Sep 2009 11:04:52 +0000 (11:04 -0000)]
2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>

* WebMessageFormatter.cs : Made the same prohibition for dispatch
  formatters too. Support WebMessageBodyStyle on dispatcher side too.

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

14 years agoNew test.
Marek Safar [Wed, 2 Sep 2009 10:53:05 +0000 (10:53 -0000)]
New test.

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

14 years ago2009-09-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 2 Sep 2009 10:52:53 +0000 (10:52 -0000)]
2009-09-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #535395
* namespace.cs: Resolve context can be null.

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

14 years ago2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Sep 2009 10:35:08 +0000 (10:35 -0000)]
2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>

* WebHttpBehavior.cs : now message formatters are pairs of request/
  reply formatters.

* WebMessageFormatter.cs : override some serialization methods as
  prohibited.

* WebHttpBehaviorTest.cs : some message formatters tests.

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

14 years ago2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Sep 2009 10:18:38 +0000 (10:18 -0000)]
2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>

* BaseMessagesFormatter.cs :
  implement XmlBodyWriter.OnCreateBufferedCopy().

* XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
  for XmlReader input.

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

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

* HttpRequestMessageProperty.cs : fix default values.

* HttpRequestMessagePropertyTest.cs : new test.

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

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

14 years ago2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Sep 2009 08:53:30 +0000 (08:53 -0000)]
2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>

* WebHttpDispatchOperationSelector.cs : use common extension method.
* WebMessageFormatter.cs : support WebMessageBodyStyle(.Wrapped*).
  Cache serializers.

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

14 years ago2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Sep 2009 08:48:19 +0000 (08:48 -0000)]
2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : use System.Core.

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

14 years ago2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Sep 2009 08:47:23 +0000 (08:47 -0000)]
2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>

* WebHttpBehavior.cs : BodyStyle is operation specific.

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

14 years ago2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Sep 2009 08:44:31 +0000 (08:44 -0000)]
2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>

* JsonQueryStringConverterTest.cs : comment out one cosmetic case
  that is not working under .NET.

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

14 years ago2009-09-01 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 1 Sep 2009 21:48:31 +0000 (21:48 -0000)]
2009-09-01 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DB2CLIWrapper.cs: changed libname to 'db2'. Use 'int' instead of
'IntPtr' for most of the SQL handles. Only SQLPOINTER is 64 bits in
64-bit machines.

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

14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:04:16 +0000 (21:04 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* cli-tables-tests.md: New test for method abstract + final.
Tests #534175.

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

14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:04:08 +0000 (21:04 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* Makefile: Fix makefile.

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

14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:04:00 +0000 (21:04 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* assembly-with-fields.cs: New test source.

* Makefile: Add test source

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

14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:03:52 +0000 (21:03 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* cli-global-props-tests.md: Add test for field table.

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

14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:03:42 +0000 (21:03 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* gen-md-tests.c: Add suppport for badrt mode for metadata
tests that require runtime type initialization.

* Makefile: Add support for badrt.

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

14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:03:33 +0000 (21:03 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (verify_class_fields): Check for duplicate fields.

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

14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:03:25 +0000 (21:03 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* cli-global-props-tests.md: Add test for typeref table.

* cli-tables-tests.md: Disable test that pass under MS.

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

14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:03:15 +0000 (21:03 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify the typeref table for duplicates.

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

14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:03:05 +0000 (21:03 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

This reverts r140936 and properly handles interfaces with static methods. The
right fix is to ensure vtables without bubles which is an easier to verify
constraint. We should avoid such special cases as of the reverted patch as those
only make the runtime more brittle.

* class.c (mono_class_setup_vtable_general): Revert previous change that handle
static methods on interfaces.

* class.c (setup_interface_offsets): Use the number of virtual methods when
calculating interface offsets instead of the number of methods. This way we
avoid bubles on the layout.

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

14 years agoRevert "2009-08-20 Geoff Norton <gnorton@novell.com>"
Geoff Norton [Tue, 1 Sep 2009 20:39:54 +0000 (20:39 -0000)]
Revert "2009-08-20  Geoff Norton  <gnorton@novell.com>"

This reverts commit c33ce01c93fcd9c03021dcd9613cdc8000d84330.

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

14 years ago2009-09-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 1 Sep 2009 20:32:01 +0000 (20:32 -0000)]
2009-09-01  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c (throw_exception): Fix the previous change by substracting
the alignment for the value of sp.

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

14 years agoadd spec file for monkeywrench
Andrew Jorgensen [Tue, 1 Sep 2009 19:28:15 +0000 (19:28 -0000)]
add spec file for monkeywrench

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

14 years ago2009-09-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 1 Sep 2009 19:24:40 +0000 (19:24 -0000)]
2009-09-01  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: LoadControlState must call OnTotalRowCountAvailable
after restoring the state, so that all parties subscribed to that
event are given chance to react accordingly.
SetPageProperties should use values stored in
PagePropertiesChangingEventArgs arguments after handler returns.

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

* ObjectDataSourceView.cs: ExecuteSelect must call
QueryTotalRowCount after executing the select method (that's what
.NET does)

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

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

* MustUnderstandBehavior.cs : fix build.

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

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

* WebHttpBehavior.cs : on validation, check wrapped parameter style.

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

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

* ChannelFactory_1.cs : validate behaviors.

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

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

* ClientCredentials.cs, ClientViaBehavior.cs,
  MustUnderstandBehavior.cs : implement most of the methods.

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

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

* ClientRuntimeChannel.cs : add Extensions.

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

14 years agotypo
Gonzalo Paniagua Javier [Tue, 1 Sep 2009 10:49:34 +0000 (10:49 -0000)]
typo

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

14 years ago2009-09-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 1 Sep 2009 10:45:44 +0000 (10:45 -0000)]
2009-09-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichTextBox.cs: When saving the text to a file using SaveFile use
Environment.NewLine to separate the lines. This way we should be
saving the files according to the system.
Fixes the remaining part of #511515.

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

14 years agoFix bug #534965.
Ankit Jain [Tue, 1 Sep 2009 10:16:10 +0000 (10:16 -0000)]
Fix bug #534965.
* Project.cs (BuildTarget): Move caching of target outputs to ..
* Target.cs: .. here. Move LogTargetSkipped also here.
Ensure that caching happens for target dependencies also.

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

14 years agoFix #533572
Raja R Harinath [Tue, 1 Sep 2009 09:54:56 +0000 (09:54 -0000)]
Fix #533572

* Uri.cs (ParseNoExceptions): Don't look for '@' in absolute unix paths.

2009-09-01  Andres Aragoneses  <aaragoneses@novell.com>
* UriTest.cs: New tests from #533572.

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

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

* WebOperationContext.cs : Current is automatically created (even
  without WebHttpBehavior or WebChannelFactory).
* IncomingWebRequestContext.cs, IncomingWebResponseContext.cs:
  WebOperationContext could be created regardless of whether it is
  request or not. So do not premise incoming members existence.

* WebOperationContextTest.cs : new test.
* WebInvokeAttributeTest.cs : new test, not working.

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

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

14 years ago2009-09-01 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 1 Sep 2009 04:28:29 +0000 (04:28 -0000)]
2009-09-01  Geoff Norton  <gnorton@novell.com>

        * mini.c (mono_get_lmf_addr): Fix jit_thread_attach for native to
        managed wrappers in full aot.

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

14 years ago* ResolveAssemblyReference.cs (ResolveReference): targetFrameworkDirectories
Ankit Jain [Tue, 1 Sep 2009 04:04:29 +0000 (04:04 -0000)]
* ResolveAssemblyReference.cs (ResolveReference): targetFrameworkDirectories
can be null.

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

14 years ago* DirectoryScanner.cs (Scan): Ignore empty entries in includes and
Ankit Jain [Tue, 1 Sep 2009 04:04:11 +0000 (04:04 -0000)]
* DirectoryScanner.cs (Scan): Ignore empty entries in includes and
excludes.

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

14 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Tue, 1 Sep 2009 04:00:38 +0000 (04:00 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* Expression.cs (ParseOptions): New enum. Replace the bool params
of exression.Parse with this. Add option to control expansion of
metadata references.
(CopyToExpressionCollection): Track api changes.

Update all expr.Parse calls to use the new enum.
* BuildItem.cs, BuildProperty.cs, BuildTask.cs, Import.cs,
Target.cs, TargetBatchingImpl.cs, UsingTask.cs: Track api changes.

* BatchingImplBase.cs: Track api changes. Allow metadata refs
in task attributes.
* ConditionFactorExpression.cs: Allow metadata refs in conditions.
* ItemReference.cs: Allow metadata in transforms.
* TaskEngine.cs: Allow metadata refs.

* MetadataReference.cs (.ctor): Add a 'original string' param.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

* TaskBatchingTest.cs: Add new tests for metadata refs found
in places other than task attributes.

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

14 years ago2009-09-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 1 Sep 2009 00:15:08 +0000 (00:15 -0000)]
2009-09-01  Zoltan Varga  <vargaz@gmail.com>

* processes.c (EnumProcessModules): Applied patch from Romain Tartière
(romain@blogreen.org). Fix this on freebsd/OSX. Fixes #533893.

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

14 years ago2009-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 31 Aug 2009 20:56:59 +0000 (20:56 -0000)]
2009-08-31  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c (get_throw_exception): Align the stack on osx.

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

14 years ago2009-08-31 Michael Barker <mike@middlesoft.co.uk>
Michael Barker [Mon, 31 Aug 2009 18:18:17 +0000 (18:18 -0000)]
2009-08-31  Michael Barker  <mike@middlesoft.co.uk>

        * Updated to version 1.6 of the RabbitMQ libraries

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

14 years ago2009-08-31 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 31 Aug 2009 17:42:41 +0000 (17:42 -0000)]
2009-08-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichText.cs: Remove some unix new line characters and use
Environment.NewLine. Fixes part of #511515.

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

14 years ago2009-08-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 31 Aug 2009 13:33:01 +0000 (13:33 -0000)]
2009-08-31  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (verify_metadata_header): Some very smart
obfuscators like to add extra stream headers. Ignore them.

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

14 years ago2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 31 Aug 2009 12:26:49 +0000 (12:26 -0000)]
2009-08-31  Atsushi Enomoto  <atsushi@ximian.com>

* HttpChannelFactory.cs, HttpRequestChannel.cs,
  ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
  Check ManualAddressing value and reject address-missing ones.

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

14 years ago2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 31 Aug 2009 12:10:33 +0000 (12:10 -0000)]
2009-08-31  Atsushi Enomoto  <atsushi@ximian.com>

* HttpChannelFactory.cs : reject URI mismatch cases when required.

* HttpTransportBindingElementTest.cs : test for URI mismatch case.

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

14 years agofix
Gonzalo Paniagua Javier [Mon, 31 Aug 2009 10:10:11 +0000 (10:10 -0000)]
fix

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

14 years agoPAtch by Adam Wendt
Gonzalo Paniagua Javier [Mon, 31 Aug 2009 09:47:49 +0000 (09:47 -0000)]
PAtch by Adam Wendt

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

14 years ago2009-08-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 31 Aug 2009 09:20:07 +0000 (09:20 -0000)]
2009-08-31 Gonzalo Paniagua Javier <gonzalo@novell.com>

* CustomizableFileSettingsProvider.cs: reset the property value
instead of using the DefaultValue.
* SettingsPropertyValue.cs: new Reset() method.
* ApplicationSettingsBase.cs: Reset happens in Reload().
Patch by Andrew Kurochka that fixes bug #532180.

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

14 years ago2009-08-30 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 30 Aug 2009 16:24:36 +0000 (16:24 -0000)]
2009-08-30  Jb Evain  <jbevain@novell.com>

* IsolatedStorageFileEnumerator.cs
* MoonIsolatedStorageFileStream.cs
* MoonIsolatedStorageFile.cs
* MoonIsolatedStorage.cs
* IsolatedStorageScope.cs
* IsolatedStorageFileStream.cs
* IsolatedStorage.cs
* IsolatedStorageFile.cs:
Use the traditional net_2_0 version of isolated storage
for MonoTouch.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 30 Aug 2009 14:25:06 +0000 (14:25 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_setup_vtable_general): Verify interfaces with static
methods correctly.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 30 Aug 2009 00:03:18 +0000 (00:03 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* MD5CngTest.cs: Update to new nunit style.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 30 Aug 2009 00:03:10 +0000 (00:03 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* HashSetTest.cs: Fix warnings.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:59:34 +0000 (23:59 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* System.Core_test.dll.sources: Add MemoryMappedFileTest.cs.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:59:26 +0000 (23:59 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* MemoryMappedFileTest.cs: New file.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:59:20 +0000 (23:59 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* Makefile: Pass -unsafe to gmcs.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:59:13 +0000 (23:59 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* MemoryMappedViewStream.cs: Implement this for unix.

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

14 years ago2009-08-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:59:04 +0000 (23:59 -0000)]
2009-08-29  Zoltan Varga  <vargaz@gmail.com>

* net_4_0_System.Core.dll.sources: Add System.IO.MemoryMappedFiles/*.cs
and Microsoft.Win32.SafeHandles/SafeMemoryMappedFileHandle.cs.

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

14 years ago2009-08-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:58:51 +0000 (23:58 -0000)]
2009-08-29  Zoltan Varga  <vargaz@gmail.com>

* ObjectSecurity_T.cs: New file, empty stub for new net 4.0 class.

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

14 years ago2009-08-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 29 Aug 2009 21:18:32 +0000 (21:18 -0000)]
2009-08-29  Rodrigo Kumpera  <rkumpera@novell.com>

* cli-global-props-tests.md: New tests for global
properties to check tables for.

* Makefile: Add new test source.

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

14 years ago2009-08-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 29 Aug 2009 21:18:23 +0000 (21:18 -0000)]
2009-08-29  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify for duplicated types.

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

14 years ago2009-08-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 29 Aug 2009 21:18:13 +0000 (21:18 -0000)]
2009-08-28  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (verify_typedef_table): Verify for nested types
without an entry on the nested class table.

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

14 years ago2009-08-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 29 Aug 2009 21:09:20 +0000 (21:09 -0000)]
2009-08-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnection.cs: HEAD response does not have a body even if the
response is an error. Fixes buf #535102.

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

14 years ago * man/mdoc.5: Document the new <format/> element.
Jonathan Pryor [Sat, 29 Aug 2009 20:32:54 +0000 (20:32 -0000)]
* man/mdoc.5: Document the new <format/> element.

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