Marek Habersack [Thu, 2 Apr 2009 14:17:17 +0000 (14:17 -0000)]
Unbreak the build
svn path=/trunk/mcs/; revision=130871
Marek Habersack [Thu, 2 Apr 2009 13:53:49 +0000 (13:53 -0000)]
2009-04-02 Marek Habersack <mhabersack@novell.com>
* Initial import of ASP.NET MVC 1.0
2009-04-02 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: added Mono specific attributes to delay-sign
the assembly with the winfx.pub key.
svn path=/trunk/mcs/; revision=130868
Marek Habersack [Thu, 2 Apr 2009 13:52:18 +0000 (13:52 -0000)]
Import of the original ASP.NET MVC sources v1.0
svn path=/trunk/mcs/; revision=130867
Sebastien Pouliot [Thu, 2 Apr 2009 13:03:51 +0000 (13:03 -0000)]
2009-04-02 Sebastien Pouliot <sebastien@ximian.com>
* security-core-clr.c: Change the strategy for checking the
"reflection using delegates optimization" to avoid unneeded
attributes in multiple class libraries.
svn path=/trunk/mono/; revision=130865
Mark Probst [Thu, 2 Apr 2009 12:05:54 +0000 (12:05 -0000)]
2009-04-02 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Remove object element in the disappearing link
struct by storing the object pointer in the link.
svn path=/trunk/mono/; revision=130863
Atsushi Eno [Thu, 2 Apr 2009 09:58:04 +0000 (09:58 -0000)]
2009-04-02 Atsushi Enomoto <atsushi@ximian.com>
* XmlMtomDictionaryWriter.cs : new.
* XmlDictionaryWriter.cs : implement CreateMtomWriter().
* XmlMtomDictionaryWriterTest.cs : new.
* System.Runtime.Serialization.dll.sources : added mtom writer.
* System.Runtime.Serialization_test.dll.sources : added mtom writer test.
svn path=/trunk/mcs/; revision=130849
Atsushi Eno [Thu, 2 Apr 2009 08:22:05 +0000 (08:22 -0000)]
2009-04-02 Atsushi Enomoto <atsushi@ximian.com>
* ContentType.cs : when there are especials, quote parameter values.
* ContentTypeTest.cs : add quotation test for especials.
svn path=/trunk/mcs/; revision=130842
Zoltan Varga [Thu, 2 Apr 2009 01:52:50 +0000 (01:52 -0000)]
2009-04-02 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_output_basic_block): Fix the ARM_FPU_NONE build.
svn path=/trunk/mono/; revision=130819
Zoltan Varga [Thu, 2 Apr 2009 00:51:43 +0000 (00:51 -0000)]
2009-04-02 Zoltan Varga <vargaz@gmail.com>
* mini-arm.h mini-arm.c cpu-arm.md: Finish VFP support.
svn path=/trunk/mono/; revision=130818
Zoltan Varga [Thu, 2 Apr 2009 00:50:47 +0000 (00:50 -0000)]
2009-04-02 Zoltan Varga <vargaz@gmail.com>
* arm/arm-vfp-codegen.h: Add missing VFP codegen macros.
svn path=/trunk/mono/; revision=130817
Miguel de Icaza [Thu, 2 Apr 2009 00:01:08 +0000 (00:01 -0000)]
Add guards
svn path=/trunk/mcs/; revision=130816
Marek Habersack [Wed, 1 Apr 2009 22:31:58 +0000 (22:31 -0000)]
2009-04-02 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: implemented missing converter for
the ExpandDepth property. Fixes bug #490860
svn path=/trunk/mcs/; revision=130813
Mark Probst [Wed, 1 Apr 2009 20:50:30 +0000 (20:50 -0000)]
Make vassign members gint32 to fix ridiculously large methods.
2009-04-01 Mark Probst <mark.probst@gmail.com>
* regalloc.h, mini-codegen.c: Make vassign members gint32 to fix
ridiculously large methods.
svn path=/trunk/mono/; revision=130798
Atsushi Eno [Wed, 1 Apr 2009 18:22:52 +0000 (18:22 -0000)]
2009-04-01 Atsushi Enomoto <atsushi@ximian.com>
* XmlFormatterDeserializer.cs : more hack to handle empty
element nicely.
svn path=/trunk/mcs/; revision=130779
Marek Habersack [Wed, 1 Apr 2009 16:07:02 +0000 (16:07 -0000)]
2009-04-01 Marek Habersack <mhabersack@novell.com>
* AssemblyBuilder.cs: CSharpCodePragmaGenerator.ReserveSpace:
added the 2 extra chars to pragmaChecksumStaticCount constant (the
ones added by Gonzalo below) and removed one NewLine to account
for Martin's change below.
VBCodePragmaGenerator.ReserveSpace - one newline follows
#ExternalSource.
VBCodePragmaGenerator.DecorateFile - one newline follows
#ExternalSource.
svn path=/trunk/mcs/; revision=130763
Martin Baulig [Wed, 1 Apr 2009 14:39:05 +0000 (14:39 -0000)]
Don't emit a blank line after '#line' as this would cause all line numbers to be off by 1.
svn path=/trunk/mcs/; revision=130755
Jb Evain [Wed, 1 Apr 2009 12:32:08 +0000 (12:32 -0000)]
2009-04-01 Jb Evain <jbevain@novell.com>
* Mono.Cecil/ModuleDefinition.cs (Import): add overloads
taking a MethodDefinition as a generic context.
svn path=/trunk/mcs/; revision=130748
Jb Evain [Wed, 1 Apr 2009 12:30:19 +0000 (12:30 -0000)]
2009-04-01 Jb Evain <jbevain@novell.com>
* Mono.Cecil/ReflectionHelper.cs: throw proper exception
when importing in an invalid context.
svn path=/trunk/mcs/; revision=130747
Jb Evain [Wed, 1 Apr 2009 12:28:18 +0000 (12:28 -0000)]
whitespace
svn path=/trunk/mcs/; revision=130746
Jb Evain [Wed, 1 Apr 2009 12:07:38 +0000 (12:07 -0000)]
oops
svn path=/trunk/mcs/; revision=130744
Atsushi Eno [Wed, 1 Apr 2009 08:28:07 +0000 (08:28 -0000)]
2009-04-01 Atsushi Enomoto <atsushi@ximian.com>
* XmlDictionaryReader.cs : add ReadStartElement() overload.
svn path=/trunk/mcs/; revision=130733
Atsushi Eno [Wed, 1 Apr 2009 08:11:07 +0000 (08:11 -0000)]
2009-04-01 Atsushi Enomoto <atsushi@ximian.com>
* UniqueId.cs : add missing security attributes.
* XmlDictionaryReader.cs : cleanup extra TODOs.
* XmlBinaryDictionaryReader.cs : iplement IsArray.
svn path=/trunk/mcs/; revision=130732
Atsushi Eno [Wed, 1 Apr 2009 05:03:44 +0000 (05:03 -0000)]
2009-04-01 Atsushi Enomoto <atsushi@ximian.com>
* OperationInvokeHandler.cs : replace MS copycat exception
message.
svn path=/trunk/mcs/; revision=130721
Gonzalo Paniagua Javier [Wed, 1 Apr 2009 03:50:10 +0000 (03:50 -0000)]
2009-03-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AssemblyBuilder.cs: the guid has to be quoted.
svn path=/trunk/mcs/; revision=130720
Veerapuram Varadhan [Tue, 31 Mar 2009 21:59:48 +0000 (21:59 -0000)]
2009-03-31 Veerapuram Varadhan <vvaradhan@novell.com>
* Fixes rest of #480377
* DataContainer.cs (GetContainerData, GetExplicitValue): Added to handle cases
where passed type overloads an explicit operator for conversion of values.
svn path=/trunk/mcs/; revision=130709
Veerapuram Varadhan [Tue, 31 Mar 2009 21:58:38 +0000 (21:58 -0000)]
2009-03-31 Veerapuram Varadhan <vvaradhan@novell.com>
* Fixes rest of #480377
* DataContainer.cs (GetContainerData, GetExplicitValue): Added to handle cases
where passed type overloads an explicit operator for conversion of values.
svn path=/trunk/mcs/; revision=130708
Jonathan Pryor [Tue, 31 Mar 2009 20:05:31 +0000 (20:05 -0000)]
* Makefile: Remove make warning about overriding dist-local.
svn path=/trunk/mcs/; revision=130704
Atsushi Eno [Tue, 31 Mar 2009 19:11:46 +0000 (19:11 -0000)]
2009-03-13 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : do not bork at some unimplemented
bits.
svn path=/trunk/mcs/; revision=130701
Rodrigo Kumpera [Tue, 31 Mar 2009 19:03:40 +0000 (19:03 -0000)]
2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
* pedump.c (dump_verify_info): Don't crash if signature decoding fails.
svn path=/trunk/mono/; revision=130700
Rodrigo Kumpera [Tue, 31 Mar 2009 19:03:21 +0000 (19:03 -0000)]
2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (verifier_load_field): Fail if the field parent could not be loaded.
* verify.c (mono_method_verify): Do proper bounds checking of exception
clause ranges.
svn path=/trunk/mono/; revision=130699
Rodrigo Kumpera [Tue, 31 Mar 2009 19:03:01 +0000 (19:03 -0000)]
2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
* loader.c (mono_field_from_token): Don't crash if the field parent could
not be decoded.
svn path=/trunk/mono/; revision=130698
Rodrigo Kumpera [Tue, 31 Mar 2009 19:02:42 +0000 (19:02 -0000)]
2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_catch_block_out_of_bounds.il
* invalid_try_block_out_of_bounds.il: Tests for proper bounds
check of exception clauses.
svn path=/trunk/mono/; revision=130697
Marek Habersack [Tue, 31 Mar 2009 18:47:53 +0000 (18:47 -0000)]
2009-03-31 Marek Habersack <mhabersack@novell.com>
* Page.cs: SavePageViewState saves the list of controls which
require post back regardless of whether view state is disabled or
not. Fixes bug #490753
svn path=/trunk/mcs/; revision=130694
Rodrigo Kumpera [Tue, 31 Mar 2009 18:32:36 +0000 (18:32 -0000)]
2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
* MethodDef.cs (WriteCode): Emit labels which use offsets as absolute PEAPI
CilLabels.
svn path=/trunk/mcs/; revision=130692
Rodrigo Kumpera [Tue, 31 Mar 2009 18:31:56 +0000 (18:31 -0000)]
2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
* Code.cs (CILLabel): Add new constructor to signal that
a label is an absolute il offset. This is required by exception
handling declarations that use offsets and not labels.
svn path=/trunk/mcs/; revision=130691
Rodrigo Kumpera [Tue, 31 Mar 2009 18:31:05 +0000 (18:31 -0000)]
2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
* ILParser.jay: Fix integer labels in handler blocks.
svn path=/trunk/mcs/; revision=130690
Marek Habersack [Tue, 31 Mar 2009 17:27:49 +0000 (17:27 -0000)]
ChangeLog update
svn path=/trunk/mcs/; revision=130683
Marek Habersack [Tue, 31 Mar 2009 17:27:31 +0000 (17:27 -0000)]
2009-03-31 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: use glob patterns to watch for
changes to global.asax and web.config files.
Set up recursive watch on web.config in a separate thread, to
minimize application startup delay. Fixes bug #490497
svn path=/trunk/mcs/; revision=130682
Carlos Alberto Cortez [Tue, 31 Mar 2009 17:08:56 +0000 (17:08 -0000)]
2009-03-31 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* X11Clipboard.cs: Actually look for the RtfText format when calling
GetRftText in our clipboard formats list, instead of using the
generical Text format.
svn path=/trunk/mcs/; revision=130681
Jonathan Pryor [Tue, 31 Mar 2009 16:39:07 +0000 (16:39 -0000)]
* mdoc-update.1: Fix --out=DIRECTORY formatting. (It was causing the
remaining text to be bolded within monodoc).
svn path=/trunk/mono/; revision=130679
Mark Probst [Tue, 31 Mar 2009 15:55:53 +0000 (15:55 -0000)]
Execute critical finalizers after regular finalizers.
2009-03-31 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Execute critical finalizers after ordinary
finalizers.
* class-internals.h, domain.c: Add CriticalFinalizerObject to
mono_defaults.
2009-03-31 Mark Probst <mark.probst@gmail.com>
* critical-finalizers.cs: Test case for critical finalizers.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=130677
Jb Evain [Tue, 31 Mar 2009 15:42:07 +0000 (15:42 -0000)]
2009-03-31 Jb Evain <jbevain@novell.com>
* verify.c (do_ldstr): don't check if a string is in the user strings
heap if the current image is dynamic.
svn path=/trunk/mono/; revision=130676
Mark Probst [Tue, 31 Mar 2009 15:20:05 +0000 (15:20 -0000)]
Wait for the last finalizer to finish executing for WaitForPendingFinalizers.
2009-03-31 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Wait until the last finalizer has executed when
returning from WaitForPendingFinalizers.
2009-03-31 Mark Probst <mark.probst@gmail.com>
* finalizer-wait.cs: Test case for WaitForPendingFinalizers.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=130670
Marek Habersack [Tue, 31 Mar 2009 15:01:57 +0000 (15:01 -0000)]
2009-03-31 Marek Habersack <mhabersack@novell.com>
* DefaultWsdlHelpGenerator.aspx: the link element in <head> must
be created using Response.Write, as the code expression in the
href attribute is otherwise treated verbatim. This is the same as
with .NET. Fixes bug #490497
svn path=/trunk/mono/; revision=130667
Marek Habersack [Tue, 31 Mar 2009 15:01:34 +0000 (15:01 -0000)]
Typo fix
svn path=/trunk/mcs/; revision=130666
Marek Habersack [Tue, 31 Mar 2009 15:01:21 +0000 (15:01 -0000)]
2009-03-31 Marek Habersack <mhabersack@novell.com>
* All of the below are part of the fix for bug #489687
* ThemeDirectoryCompiler.cs: pass VirtualPath instances to parser
constructors.
* BuildProvider.cs: associated virtual path is stored internally
as an instance of VirtualPath, accessible via new
VirtualPathInternal property.
* BuildManagerDirectoryBuilder.cs: VirtualPath.IsFake is used to
detect fake virtual paths.
GetBuildProvider now takes a VirtualPath instead of string for the
virtualPath parameter. The passed VirtualPath instance is passed
unchanged to BuildProvider.
* BuildManager.cs: AssertVirtualPathExists now uses
VirtualPath.IsFake to check for fake virtual paths.
* ApplicationFileBuildProvider.cs, GenericBuildProvider.cs,
MasterPageBuildProvider.cs, PageBuildProvider.cs,
ThemeBuildProvider.cs, UserControlBuildProvider.cs,
WebHandlerBuildProvider.cs, WebServiceBuildProvider.cs:
CreateParser overloads now take a VirtualPath instead of a string
for the virtualPath parameter.
* ThemeBuildProvider.cs: use new parser constructors which take
VirtualPath instances instead of strings.
2009-03-31 Marek Habersack <mhabersack@novell.com>
* VirtualPath.cs: added code to detect whether the VirtualPath
instance represents a fake virtual path (IsFake property).
Added new property DirectoryNoNormalize which returns
non-normalized directory for the VirtualPath instance.
Made ToString () a bit more friendly and well-behaved.
2009-03-31 Marek Habersack <mhabersack@novell.com>
* ApplicationFileParser.cs, MasterPageParser.cs, PageParser.cs,
PageThemeFileParser.cs, PageThemeParser.cs, UserControlParser.cs,
WebHandlerParser.cs, WebServiceParser.cs: 2.0 constructors take a
VirtualPath instance for the virtualPath parameter, instead of a
string.
svn path=/trunk/mcs/; revision=130665
Marek Habersack [Tue, 31 Mar 2009 15:01:08 +0000 (15:01 -0000)]
2009-03-30 Marek Habersack <mhabersack@novell.com>
* AspTokenizer.cs: UpdateChecksum - fixed off-by-one bug when
processing the checksum buffer.
svn path=/trunk/mcs/; revision=130664
Martin Baulig [Tue, 31 Mar 2009 14:25:46 +0000 (14:25 -0000)]
Bump debugger version to 81.2.
2009-03-31 Martin Baulig <martin@ximian.com>
* mono-debug.h (MONO_DEBUGGER_MINOR_VERSION): Bump to 2.
svn path=/trunk/mono/; revision=130660
Martin Baulig [Tue, 31 Mar 2009 14:25:30 +0000 (14:25 -0000)]
Notify the debugger about newly created appdomains and their shadow copy path.
2009-03-31 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.h (MonoDebuggerEvent): Add
`MONO_DEBUGGER_EVENT_CREATE_APPDOMAIN' and
`MONO_DEBUGGER_EVENT_UNLOAD_APPDOMAIN'.
(mono_debugger_event_create_appdomain): New function.
(mono_debugger_event_unload_appdomain): New function.
* appdomain.c (mono_domain_create_appdomain_internal): Call
mono_debugger_event_create_appdomain().
svn path=/trunk/mono/; revision=130659
Martin Baulig [Tue, 31 Mar 2009 14:25:16 +0000 (14:25 -0000)]
Also register the class init callback if the class is already initialized to make things work with shadow copied assemblies.
2009-03-31 Martin Baulig <martin@ximian.com>
* debug-debugger.c (debugger_remove_breakpoint): Call
mono_debugger_remove_class_init_callback ().
2009-03-31 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.c
(mono_debugger_register_class_init_callback): Also register the
class init callback if the class is already initialized to make
things work with shadow copied assemblies.
svn path=/trunk/mono/; revision=130658
Atsushi Eno [Tue, 31 Mar 2009 14:17:05 +0000 (14:17 -0000)]
2009-03-31 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs, XmlDictionaryWriter.cs :
a couple of fixes to reflect correct values for node properties
on each read step.
* XmlBinaryDictionaryReaderTest.cs: make tests more doubtful on
state.
svn path=/trunk/mcs/; revision=130655
Sebastien Pouliot [Tue, 31 Mar 2009 13:50:51 +0000 (13:50 -0000)]
2009-03-31 Sebastien Pouliot <sebastien@ximian.com>
* security-core-clr.c
(mono_security_core_clr_ensure_reflection_access_field): Let
critical code access the field (just like we do for methods). Use
check_field_access helper.
(mono_security_core_clr_ensure_reflection_access_method): Use
check_field_access helper.
svn path=/trunk/mono/; revision=130652
Gonzalo Paniagua Javier [Tue, 31 Mar 2009 13:35:42 +0000 (13:35 -0000)]
fix build
svn path=/trunk/mono/; revision=130651
Mark Probst [Tue, 31 Mar 2009 13:09:37 +0000 (13:09 -0000)]
Remove data from FinalizeEntry.
2009-03-31 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Remove data (callback) element from FinalizeEntry
* and
call the run-finalize function directly.
* gc.c, gc-internal.h: Make run_finalize() non-static.
svn path=/trunk/mono/; revision=130650
Mark Probst [Tue, 31 Mar 2009 13:08:48 +0000 (13:08 -0000)]
Use a separate struct for disappearing links.
2009-03-31 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Use a separate struct for disappearing links.
svn path=/trunk/mono/; revision=130649
Atsushi Eno [Tue, 31 Mar 2009 11:33:34 +0000 (11:33 -0000)]
2009-03-31 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs, XmlBinaryFormat.cs :
support array operation (0x03) on reader too.
* XmlBinaryDictionaryReaderTest.cs: test array reader.
svn path=/trunk/mcs/; revision=130644
Atsushi Eno [Tue, 31 Mar 2009 10:34:42 +0000 (10:34 -0000)]
2009-03-31 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs : removed lots of unused part.
svn path=/trunk/mcs/; revision=130635
Atsushi Eno [Tue, 31 Mar 2009 09:21:37 +0000 (09:21 -0000)]
2009-03-31 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryWriterAutoGen.cs : generated code.
* XmlBinaryFormat.cs, XmlBinaryDictionaryWriter.cs :
support array operation (0x03) and a bunch of WriteArray() methods.
* XmlBinaryDictionaryWriterTest.cs : added test for array operation.
* binary-writer-method-gen.cs : another easy code writer for binary
xml writer methods.
* System.Runtime.Serialization.dll.sources : added autogenerated code.
svn path=/trunk/mcs/; revision=130630
Jb Evain [Tue, 31 Mar 2009 07:42:26 +0000 (07:42 -0000)]
2009-03-31 Jb Evain <jbevain@novell.com>
* data: Remove smcs, which is handled by moon now.
svn path=/trunk/mono/; revision=130622
Jb Evain [Tue, 31 Mar 2009 07:39:50 +0000 (07:39 -0000)]
2009-03-31 Jb Evain <jbevain@novell.com>
* scripts: Remove smcs, which is handled by moon now.
svn path=/trunk/mono/; revision=130621
Atsushi Eno [Tue, 31 Mar 2009 07:24:52 +0000 (07:24 -0000)]
2009-03-31 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs, XmlBinaryDictionaryWriter.cs
XmlBinaryFormat.cs : implemented element with short prefix.
* XmlBinaryDictionaryReaderTest.cs,
XmlBinaryDictionaryWriterTest.cs : added test for element with
short prefix.
svn path=/trunk/mcs/; revision=130617
Gonzalo Paniagua Javier [Tue, 31 Mar 2009 06:24:49 +0000 (06:24 -0000)]
2009-03-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
* socket-io.c: don't fail if the SocketOptionsFlag has Partial or
* MaxIOVectorLength enabled, just ignore them.
Fixes bug #349688.
svn path=/trunk/mono/; revision=130613
Jonathan Pryor [Tue, 31 Mar 2009 03:24:49 +0000 (03:24 -0000)]
* mdoc-update.1: Add new --exceptions=added functionality.
svn path=/trunk/mono/; revision=130604
Zoltan Varga [Mon, 30 Mar 2009 22:31:16 +0000 (22:31 -0000)]
2009-03-31 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (mono_compile_assembly): Call img_writer_emit_start ()
right before emitting code, not at the start.
* mini.c (mono_postprocess_patches): Extract this into a separate function
from mono_codegen ().
* ssa.c (mono_ssa_compute): Set ins->klass for every PHI node, handle
byref types correctly.
svn path=/trunk/mono/; revision=130585
Rodrigo Kumpera [Mon, 30 Mar 2009 21:44:31 +0000 (21:44 -0000)]
2009-03-30 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Parse the source assembly using the runtime
metadata routines.
* gen-md-tests.c: Add table-row function.
* Makefile: like gen-md-tests with the runtime.
* cli-tables-tests.md: Add initial tests for the module table.
svn path=/trunk/mono/; revision=130581
Rodrigo Kumpera [Mon, 30 Mar 2009 21:44:08 +0000 (21:44 -0000)]
2009-03-30 Rodrigo Kumpera <rkumpera@novell.com>
assembly-with-resource.cs: Add missing file.
svn path=/trunk/mono/; revision=130580
Rodrigo Kumpera [Mon, 30 Mar 2009 21:37:22 +0000 (21:37 -0000)]
2009-03-30 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Fix eglib build.
svn path=/trunk/mono/; revision=130579
Carlos Alberto Cortez [Mon, 30 Mar 2009 20:35:56 +0000 (20:35 -0000)]
2009-03-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TextBox.cs: Process auto completion properly when we are using the
internal source provided by ComboBox, and also remove some repeated
checks.
Fixes #489339.
svn path=/trunk/mcs/; revision=130573
Ivan Zlatev [Mon, 30 Mar 2009 20:23:45 +0000 (20:23 -0000)]
2009-03-30 Tom Hindle <tom-hindle@sil.org>
* DataGridView added Support for Invisible Columns to
AutoFillColumnsInternal method.
svn path=/trunk/mcs/; revision=130572
Marek Habersack [Mon, 30 Mar 2009 18:24:34 +0000 (18:24 -0000)]
2009-03-30 Marek Habersack <mhabersack@novell.com>
* AssemblyBuilder.cs: introduced a kludge to add #pragma checksum
and #pragma lines (or its vb equivalent - #ExternalSource) to
code-behind files named in the CodeFile/Src directives while
copying them to the dynamic directory for compilation. The kludge
works by recognizing the .cs and .vb extensions and wrapping the
file contents in the appropriate directives. This is done in this
way because the other possible way, using the
CodeSnippetCompileUnit, requires the entire file to be read in
memory and then passed to CodeDOM. We fall back to this way when
the file being copied is neither C# or VB.
svn path=/trunk/mcs/; revision=130566
Jonathan Pryor [Mon, 30 Mar 2009 17:09:45 +0000 (17:09 -0000)]
* System.Data.Linq.dll.sources: Remove
src/DbLinq/Factory/Implementation/AbstractObjectFactory.cs, add
src/DbLinq/Data/Linq/SqlClient/Sql2008Provider.cs.
* src/**/*: Flush; syncs to DbLinq r1038, fixes
System.Data.Linq.SqlClient.Sql200?Provider cor-compare differences,
unit test execution order dependency issues, namespace names within
tests, etc.
svn path=/trunk/mcs/; revision=130561
Zoltan Varga [Mon, 30 Mar 2009 15:31:27 +0000 (15:31 -0000)]
2009-03-30 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (mono_dwarf_writer_emit_method): Fix a crash introduced
by the last change.
svn path=/trunk/mono/; revision=130556
Jonathan Pryor [Mon, 30 Mar 2009 13:11:55 +0000 (13:11 -0000)]
* Mono.Documentation/exceptions.cs: Add
ExceptionLocations.AddedMember, used for --exceptions=added support.
* Mono.Documentation/monodocer.cs: Add --exceptions=added, which will
only add <exception/> elements for newly added elements. This is
useful for updating documentation for established projects which
already have <exception/> corrections (e.g. *removal* of
<exception/> elements because the exceptions weren't actually
possible), so only new members should have <exception/> created.
svn path=/trunk/mcs/; revision=130551
Marek Safar [Mon, 30 Mar 2009 10:30:12 +0000 (10:30 -0000)]
Use TypeManager wrapper
svn path=/trunk/mcs/; revision=130545
Zoltan Varga [Mon, 30 Mar 2009 09:37:30 +0000 (09:37 -0000)]
2009-03-30 Zoltan Varga <vargaz@gmail.com>
* threads-types.h: Fix the win32 build.
svn path=/trunk/mono/; revision=130541
Carlos Alberto Cortez [Mon, 30 Mar 2009 07:40:53 +0000 (07:40 -0000)]
2009-03-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* System.Windows.Forms.dll.sources: Add X11Clipboard.cs to the build.
svn path=/trunk/mcs/; revision=130538
Carlos Alberto Cortez [Mon, 30 Mar 2009 07:40:48 +0000 (07:40 -0000)]
* X11Structs:
* X11Clipboard.cs: Move internal ClipboardStruct from X11Structs to
its own file, since it is adding some functionality and thus is not a
simple struct as before.
* XplatUIX11.cs: Add support to store different formats that could
have been specified by the user when puting data in the Clipboard -
this is important when more than one format is supported (such plain
text and rtf text). Update in the needed places, as well as simplify
the code.
Fixes #489625.
2009-03-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=130537
Carlos Alberto Cortez [Mon, 30 Mar 2009 04:58:02 +0000 (04:58 -0000)]
2009-03-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* XplatUIX11.cs: When handling the SelectionRequest event, use
SelectionRequestEvent instead of SelectionEvent, so we get the right
data for the app asking for clipboard data. Set the member of
SelectioneEvent.property to indicate the place where we are storing
the information as well - this is specially important for gnome/kde
apps using the TARGETS atom to ask for the supported permission before
actually asking for a specific format.
Fixes #489393.
svn path=/trunk/mcs/; revision=130531
Zoltan Varga [Sun, 29 Mar 2009 16:47:09 +0000 (16:47 -0000)]
2009-03-29 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_output_basic_block): Emit a few nops before
indirect calls, this avoids problems where get_vcall_slot () would get
confused by the native code for the instruction preceeding the call.
(mono_arch_get_vcall_slot): Simplify this.
(mono_arch_emit_imt_argument): Remove this, it is no longer needed.
svn path=/trunk/mono/; revision=130505
Zoltan Varga [Sun, 29 Mar 2009 05:36:01 +0000 (05:36 -0000)]
2009-03-29 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h: Fix the definitions of the OP_IA64 opcodes, since the local
register allocator now seems to depend on them instead of the data in
cpu-<ARCH>.md.
svn path=/trunk/mono/; revision=130491
Veerapuram Varadhan [Sun, 29 Mar 2009 03:48:36 +0000 (03:48 -0000)]
2009-03-29 Veerapuram Varadhan <vvaradhan@novell.com>
* Fixes #480377
* OciCalls.cs:
* OciDataType.cs:
* OciDefineHandle.cs:
* OciHandle.cs:
* OciIntervalDescriptor.cs:
* OciParameterDescriptor.cs: Implement INTERVAL_YEAR_TO_MONTH and
INTERVAL_DAY_TO_SECOND OCI types.
svn path=/trunk/mcs/; revision=130490
Veerapuram Varadhan [Sun, 29 Mar 2009 03:48:15 +0000 (03:48 -0000)]
New: IntervalDescriptor implementation file
Implements OCI calls that are required for basic OciInterval types handling
svn path=/trunk/mcs/; revision=130489
Veerapuram Varadhan [Sun, 29 Mar 2009 03:47:56 +0000 (03:47 -0000)]
INTERVAL_DAY_TO_SECOND and INTERVAL_YEAR_TO_MONTH implementations
svn path=/trunk/mcs/; revision=130488
Veerapuram Varadhan [Sun, 29 Mar 2009 03:47:35 +0000 (03:47 -0000)]
OciInterval implementation
svn path=/trunk/mcs/; revision=130487
Zoltan Varga [Sun, 29 Mar 2009 02:44:36 +0000 (02:44 -0000)]
2009-03-29 Zoltan Varga <vargaz@gmail.com>
* remoting4.cs: Fix the last change.
svn path=/trunk/mono/; revision=130486
Zoltan Varga [Sun, 29 Mar 2009 02:29:29 +0000 (02:29 -0000)]
2009-03-29 Zoltan Varga <vargaz@gmail.com>
* CodeGenerator.cs: Add synchronization as SRE is not thread safe.
svn path=/trunk/mcs/; revision=130484
Zoltan Varga [Sun, 29 Mar 2009 01:34:36 +0000 (01:34 -0000)]
2009-03-29 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_method_compile): Throw the correct type of exception if
mono_method_get_header () fails because of a loading error.
svn path=/trunk/mono/; revision=130483
Jb Evain [Sat, 28 Mar 2009 21:57:41 +0000 (21:57 -0000)]
fixed
svn path=/trunk/mcs/; revision=130479
Jb Evain [Sat, 28 Mar 2009 21:55:24 +0000 (21:55 -0000)]
2009-03-28 Jb Evain <jbevain@novell.com>
* Enumerable.cs: fix Intersect.
svn path=/trunk/mcs/; revision=130478
Jb Evain [Sat, 28 Mar 2009 21:48:57 +0000 (21:48 -0000)]
2009-03-28 Jb Evain <jbevain@novell.com>
* EnumerableTest.cs: add test for bug #490016.
svn path=/trunk/mcs/; revision=130477
Zoltan Varga [Sat, 28 Mar 2009 19:55:47 +0000 (19:55 -0000)]
In mini/
* mini.c (mini_method_compile): Clear the loader error if the method
header cannot be decoded.
In tests/
* load-exceptions.cs: Add a test for missing locals.
svn path=/trunk/mono/; revision=130476
Zoltan Varga [Sat, 28 Mar 2009 19:02:04 +0000 (19:02 -0000)]
In mini/
* mini-trampolines.c (mono_magic_trampoline): Handle generic virtual
interface methods on proxies correctly.
In tests/
2009-03-28 Zoltan Varga <vargaz@gmail.com>
* remoting4.cs: Add a test for generic virtual interface methods on proxies.
svn path=/trunk/mono/; revision=130474
Sebastien Pouliot [Sat, 28 Mar 2009 14:14:59 +0000 (14:14 -0000)]
2009-03-28 Sebastien Pouliot <sebastien@ximian.com>
* coreclr-security.cs: Add more override test cases.
svn path=/trunk/mono/; revision=130465
Sebastien Pouliot [Sat, 28 Mar 2009 14:14:47 +0000 (14:14 -0000)]
2009-03-28 Sebastien Pouliot <sebastien@ximian.com>
* class.c: move coreclr inheritance/override checks to
security-core.clr.c
* security-core.clr.c|h: add code from class.c with additional
documentation. Fix override check when the method is not critical.
svn path=/trunk/mono/; revision=130464
Zoltan Varga [Sat, 28 Mar 2009 08:16:56 +0000 (08:16 -0000)]
2009-03-28 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (mono_dwarf_writer_emit_method): Fix handling of the
this argument for vtype methods. Add precise liveness info for arguments.
svn path=/trunk/mono/; revision=130460
Zoltan Varga [Sat, 28 Mar 2009 08:16:49 +0000 (08:16 -0000)]
2009-03-28 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c (mono_print_ins_index): Print the vreg of the
LIVERANGE_START/END opcodes.
* method-to-ir.c (mono_spill_global_vars): Fix liverange calculation
for arguments and values in registers.
svn path=/trunk/mono/; revision=130459
Zoltan Varga [Sat, 28 Mar 2009 05:01:51 +0000 (05:01 -0000)]
2009-03-28 Zoltan Varga <vargaz@gmail.com>
* debug-helpers.c (mono_method_desc_match): Make '*' match anything.
(match_class): Ditto.
svn path=/trunk/mono/; revision=130458
Ivan Zlatev [Sat, 28 Mar 2009 00:15:38 +0000 (00:15 -0000)]
2009-03-28 Ivan N. Zlatev <contact@i-nz.net>
* DataGridViewCell.cs: We don't support drawing all types of cell borders,
so fallback and at least draw something instead of nothing.
svn path=/trunk/mcs/; revision=130449
Ivan Zlatev [Fri, 27 Mar 2009 23:32:30 +0000 (23:32 -0000)]
2009-03-27 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: If the column header isn't visible allow resizing
using the cell column border. Also be sure to reset the cursor properly.
[Fixes bug #489929]
svn path=/trunk/mcs/; revision=130446
Jonathan Chambers [Fri, 27 Mar 2009 23:19:43 +0000 (23:19 -0000)]
2009-03-27 Jonathan Chambers <joncham@gmail.com>
* BuildWhen.cs: Add basic implementation.
* BuildChoose.cs: Add basic implementation.
* BuildItem.cs (AddEvaluatedItem): Add BuiltItem to
EvaluatedItemsIgnoringCondition.
* GroupingCollection.cs: Add evaluation of BuildChoose items.
svn path=/trunk/mcs/; revision=130445