Zoltan Varga [Fri, 4 Sep 2009 22:22:58 +0000 (22:22 -0000)]
2009-09-05 Zoltan Varga <vargaz@gmail.com>
* MemoryMappedViewAccessor.cs: New net 4.0 class.
* MemoryMappedViewStream.cs: Move the mmap code to MemoryMappedFile.cs,
so it can be used by ViewAccessor as well.
svn path=/trunk/mcs/; revision=141375
Zoltan Varga [Fri, 4 Sep 2009 21:50:07 +0000 (21:50 -0000)]
2009-09-04 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Add System.IO/UnmanagedMemoryAccessor.cs.
svn path=/trunk/mcs/; revision=141374
Zoltan Varga [Fri, 4 Sep 2009 21:50:00 +0000 (21:50 -0000)]
2009-09-04 Zoltan Varga <vargaz@gmail.com>
* UnmanagedMemoryAccessor.cs: New net 4.0 class.
svn path=/trunk/mcs/; revision=141373
Zoltan Varga [Fri, 4 Sep 2009 21:49:51 +0000 (21:49 -0000)]
2009-09-04 Zoltan Varga <vargaz@gmail.com>
* SafeBuffer.cs: Mark specific methods as non-cls compliant instead of
the whole class.
svn path=/trunk/mcs/; revision=141372
Marek Habersack [Fri, 4 Sep 2009 21:38:17 +0000 (21:38 -0000)]
2009-09-04 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: retrieve real Mono version from the runtime and
store it in the MonoVersion internal static property.
svn path=/trunk/mcs/; revision=141370
Zoltan Varga [Fri, 4 Sep 2009 21:28:31 +0000 (21:28 -0000)]
2009-09-04 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Add System.Runtime.InteropServices/SafeBuffer.cs.
svn path=/trunk/mcs/; revision=141369
Zoltan Varga [Fri, 4 Sep 2009 21:28:17 +0000 (21:28 -0000)]
2009-09-04 Zoltan Varga <vargaz@gmail.com>
* SafeBuffer.cs: New net 4.0 class.
svn path=/trunk/mcs/; revision=141368
Zoltan Varga [Fri, 4 Sep 2009 21:23:36 +0000 (21:23 -0000)]
2009-09-04 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_init): Set callbacks.get_runtime_build_info ().
svn path=/trunk/mono/; revision=141367
Zoltan Varga [Fri, 4 Sep 2009 21:23:29 +0000 (21:23 -0000)]
2009-09-04 Zoltan Varga <vargaz@gmail.com>
* object-internals.h (MonoRuntimeCallbacks): Add a 'get_runtime_build_info' callback.
* object.c (mono_get_runtime_callbacks): New helper function to return
the runtime callbacks.
* icall.c (ves_icall_Mono_Runtime_GetDisplayName): Use the result of
mono_get_runtime_build_info () as the display name.
svn path=/trunk/mono/; revision=141366
Jonathan Pryor [Fri, 4 Sep 2009 20:50:26 +0000 (20:50 -0000)]
* Makefile: Also rsync dblinq2007/examples sources.
* build/DbLinq.Sqlite_test_mono_strict.dll.sources: Added; .sources
file to build build/DbLinq.Sqlite_test_mono_strict.dll, the
"end-to-end" unit tests for SQLite using Mono.Data.Sqlite.
* build/Makefile: Added; builds all "end-to-end" unit tests.
* examples/**/*: Sync with DbLinq r1217; includes sources needed for
end-to-end tests located in 'build'.
svn path=/trunk/mcs/; revision=141365
Gonzalo Paniagua Javier [Fri, 4 Sep 2009 20:35:29 +0000 (20:35 -0000)]
2009-09-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
* threadpool.c: make the Sleep() alertable to prevent delays exiting
applications that take less than 2s to execute.
Bug #524984 fixed.
svn path=/trunk/mono/; revision=141363
Miguel de Icaza [Fri, 4 Sep 2009 19:13:17 +0000 (19:13 -0000)]
2009-09-04 Miguel de Icaza <miguel@novell.com>
* TermInfoDriver.cs: Handle a few more key combinations.
svn path=/trunk/mcs/; revision=141360
Gonzalo Paniagua Javier [Fri, 4 Sep 2009 17:35:08 +0000 (17:35 -0000)]
2009-09-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebConnection.cs: if the request has already finished reading, don't
throw ObjectDisposedException here, just return as if nothing
happened. Fixes bug #312968.
svn path=/trunk/mcs/; revision=141346
Jonathan Pryor [Fri, 4 Sep 2009 17:22:41 +0000 (17:22 -0000)]
* src/**/*: Sync with DbLinq r1217. This removes a slew of
FieldAccessExceptions when running the DbLinq unit tests.
svn path=/trunk/mcs/; revision=141344
Geoff Norton [Fri, 4 Sep 2009 17:21:45 +0000 (17:21 -0000)]
dont crash is config is null
svn path=/trunk/mcs/; revision=141343
Marek Habersack [Fri, 4 Sep 2009 16:05:39 +0000 (16:05 -0000)]
2009-09-04 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: detect (and parse if possible) real Mono version
and make it available via internal, static property
MonoVersion. MonoVersionParsed property tells whether
Mono.Runtime.GetDisplayName returned string in a format we
understood.
* HttpException.cs: report real Mono version when backtrace is
displayed.
svn path=/trunk/mcs/; revision=141339
Gonzalo Paniagua Javier [Fri, 4 Sep 2009 15:15:05 +0000 (15:15 -0000)]
Avoid nullref in 2.0 too
svn path=/trunk/mcs/; revision=141334
Marek Safar [Fri, 4 Sep 2009 15:00:02 +0000 (15:00 -0000)]
New test.
svn path=/trunk/mcs/; revision=141332
Marek Safar [Fri, 4 Sep 2009 14:59:38 +0000 (14:59 -0000)]
2009-09-04 Marek Safar <marek.safar@gmail.com>
* statement.cs, ecore.cs: Removed error reporting from emit code.
svn path=/trunk/mcs/; revision=141331
Atsushi Eno [Fri, 4 Sep 2009 13:51:22 +0000 (13:51 -0000)]
2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
* OperationInvokerHandler.cs, ReplyHandler.cs :
- Eliminate ReplyHandler use. What is does is simple reply, while
it brings inconsistency between sync and async models.
What reply handler used to do are now integrated.
- Support ErrorHandlers and InputSessionShutdownHandlers.
Actually ErrorHandlers were processed at wrong place and they
weren't called where they are expected.
* InputOrReplyRequestProcessor.cs : hence eliminated ReplyHandler.
* BaseRequestProcessor.cs : add FIXME notes on ErrorHandlers.
svn path=/trunk/mcs/; revision=141326
Atsushi Eno [Fri, 4 Sep 2009 10:43:30 +0000 (10:43 -0000)]
2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
* OutgoingWebResponseContext.cs : add missing methods.
svn path=/trunk/mcs/; revision=141317
Marek Safar [Fri, 4 Sep 2009 10:42:13 +0000 (10:42 -0000)]
New test.
svn path=/trunk/mcs/; revision=141316
Marek Safar [Fri, 4 Sep 2009 10:42:01 +0000 (10:42 -0000)]
2009-09-04 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay, parameter.cs: Moved parser check out of constructor
svn path=/trunk/mcs/; revision=141315
Atsushi Eno [Fri, 4 Sep 2009 10:41:45 +0000 (10:41 -0000)]
2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : remove obsoleted method.
svn path=/trunk/mcs/; revision=141314
Atsushi Eno [Fri, 4 Sep 2009 09:55:04 +0000 (09:55 -0000)]
2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : URI trailing '/' can be added only when the
relative URI is non-empty. Do not make http://host/foo.svc as
http://host/foo.svc/ , it's not a directory.
* SvcHttpHandler.cs : set Uri property based on baseAddresses and
path, to pick those endpoints that are added at custom factories.
svn path=/trunk/mcs/; revision=141307
Atsushi Eno [Fri, 4 Sep 2009 09:06:47 +0000 (09:06 -0000)]
2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBaseTest.cs : a few more base address test.
Remove NotWorking marks.
svn path=/trunk/mcs/; revision=141305
Atsushi Eno [Fri, 4 Sep 2009 08:44:18 +0000 (08:44 -0000)]
2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : add AddBaseAddress(). BaseAddresses must be
non-null.
* ServiceHostBaseTest.cs : added test for AddBaseAddress().
svn path=/trunk/mcs/; revision=141301
Atsushi Eno [Fri, 4 Sep 2009 07:45:49 +0000 (07:45 -0000)]
2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
* WebScriptServiceHostFactory.cs : endpoints are automatically added
and if they are added through configuration, it is an error
(as documented).
svn path=/trunk/mcs/; revision=141294
Marek Safar [Thu, 3 Sep 2009 19:06:26 +0000 (19:06 -0000)]
2009-09-03 Marek Safar <marek.safar@gmail.com>
* anonymous.cs, expression.cs, statement.cs, cs-parser.jay: Moved
parser checks out of constructors.
svn path=/trunk/mcs/; revision=141280
Ivan Zlatev [Thu, 3 Sep 2009 18:00:48 +0000 (18:00 -0000)]
2009-09-03 Ivan N. Zlatev <contact@i-nz.net>
* DataColumnPropertyDescriptor.cs, DataView.cs: Not browsable if Hidden.
[Fixes the second part of bug #536547]
svn path=/trunk/mcs/; revision=141272
Zoltan Varga [Thu, 3 Sep 2009 17:56:32 +0000 (17:56 -0000)]
2009-09-03 Zoltan Varga <vargaz@gmail.com>
* pinvoke3.cs libtest.c: Add a test for #481559.
svn path=/trunk/mono/; revision=141269
Zoltan Varga [Thu, 3 Sep 2009 17:56:25 +0000 (17:56 -0000)]
2009-09-03 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_array): Call conv.ovf.i on the array parameter
argument, since NEWARR expects a native int. Fixes #481559.
svn path=/trunk/mono/; revision=141268
Rodrigo Kumpera [Thu, 3 Sep 2009 17:48:48 +0000 (17:48 -0000)]
2009-09-03 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_MonoMethod_GetDllImportAttribute): Guard
against broken SRE methods.
svn path=/trunk/mono/; revision=141267
Rodrigo Kumpera [Thu, 3 Sep 2009 17:48:38 +0000 (17:48 -0000)]
2009-09-03 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_type_get_full): Don't call mono_metadata_free_type on
a NULL variable. Abort early on failure.
svn path=/trunk/mono/; revision=141266
Rodrigo Kumpera [Thu, 3 Sep 2009 17:48:27 +0000 (17:48 -0000)]
2009-09-03 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (can_access_type): Fail visibility test for non nested
types with nested visibility.
svn path=/trunk/mono/; revision=141265
Ivan Zlatev [Thu, 3 Sep 2009 16:32:22 +0000 (16:32 -0000)]
2009-09-03 Ivan N. Zlatev <contact@i-nz.net>
* BindingSource.cs: Implement support for chained data sources.
* ListBindingHelper.cs: Add support for ICurrencyManagerProvider and
clean up.
[Fixes part of bug #536547]
svn path=/trunk/mcs/; revision=141261
Zoltan Varga [Thu, 3 Sep 2009 16:14:27 +0000 (16:14 -0000)]
2009-09-03 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_nullify_class_init_trampoline): 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=141260
Zoltan Varga [Thu, 3 Sep 2009 16:14:20 +0000 (16:14 -0000)]
2009-09-03 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_nullify_class_init_trampoline): 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=141259
Gonzalo Paniagua Javier [Thu, 3 Sep 2009 15:07:06 +0000 (15:07 -0000)]
typo
svn path=/trunk/mono/; revision=141254
Gonzalo Paniagua Javier [Thu, 3 Sep 2009 15:06:28 +0000 (15:06 -0000)]
We need the g_free symbol in the library
svn path=/trunk/mono/; revision=141253
Zoltan Varga [Thu, 3 Sep 2009 14:46:13 +0000 (14:46 -0000)]
2009-09-03 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_output_basic_block): Maintain stack alignment
in OP_THROW/RETHROW.
* exceptions-x86.c: Rewrite the throw trampolines so they maintain stack
alignment on osx.
svn path=/trunk/mono/; revision=141250
Gonzalo Paniagua Javier [Thu, 3 Sep 2009 14:42:17 +0000 (14:42 -0000)]
Fix the VS build. Part 2/2
svn path=/trunk/mono/; revision=141249
Gonzalo Paniagua Javier [Thu, 3 Sep 2009 14:41:31 +0000 (14:41 -0000)]
Fix the MSVC build. Part 1/2.
svn path=/trunk/mono/; revision=141248
Marek Habersack [Thu, 3 Sep 2009 13:13:38 +0000 (13:13 -0000)]
Compilation fix: typo
svn path=/trunk/mcs/; revision=141245
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
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
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
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
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
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
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
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
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
Zoltan Varga [Thu, 3 Sep 2009 09:57:55 +0000 (09:57 -0000)]
Fix the build.
svn path=/trunk/mono/; revision=141221
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Wed, 2 Sep 2009 18:45:48 +0000 (18:45 -0000)]
Update comment
svn path=/trunk/mono/; revision=141167
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
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
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
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
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
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
Marek Safar [Wed, 2 Sep 2009 12:56:15 +0000 (12:56 -0000)]
New test.
svn path=/trunk/mcs/; revision=141130
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
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
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
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
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
Marek Safar [Wed, 2 Sep 2009 10:53:05 +0000 (10:53 -0000)]
New test.
svn path=/trunk/mcs/; revision=141116
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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