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
Rodrigo Kumpera [Fri, 27 Mar 2009 22:50:21 +0000 (22:50 -0000)]
2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for total table sizes.
svn path=/trunk/mono/; revision=130444
Rodrigo Kumpera [Fri, 27 Mar 2009 22:50:20 +0000 (22:50 -0000)]
2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Rename bounds_check_offset to bounds_check_datadir.
* metadata-verify.c: Implement table layout row size calculation. Verify
the total size of the tables.
svn path=/trunk/mono/; revision=130443
Rodrigo Kumpera [Fri, 27 Mar 2009 22:48:13 +0000 (22:48 -0000)]
2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for heap sizes and minumum #~ size
to decode row counts.
svn path=/trunk/mono/; revision=130442
Rodrigo Kumpera [Fri, 27 Mar 2009 22:48:12 +0000 (22:48 -0000)]
2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify heap sizes and size to decode row counts.
svn path=/trunk/mono/; revision=130441
Gonzalo Paniagua Javier [Fri, 27 Mar 2009 20:04:49 +0000 (20:04 -0000)]
2009-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* appdomain.c:
* console-io.[ch]: added new mono_console_init() to make sure that
file descriptors 0, 1 and 2 are opened.
Bug #489019 fixed.
svn path=/trunk/mono/; revision=130424
Jonathan Pryor [Fri, 27 Mar 2009 19:30:04 +0000 (19:30 -0000)]
* src/DbLinq.sln,
src/DbLinq.SqlServer/Test/DbLinq.SqlServer_test_ndb.csproj: Flush;
syncs to DbLinq r1029.
* src/DbLinq.suo: Delete.
* src (svn:ignore): Ignore DbLinq.suo.
* src/DbLinq/Test/NullProvider.cs: Default initialize the
ConnectionString to "" so that the MsSqlDataContextTest tests pass.
* System.Data.Linq_test.dll.sources: Add
src/DbLinq.SqlServer/Test/MsSqlDataContextTest.cs.
svn path=/trunk/mcs/; revision=130422
Atsushi Eno [Fri, 27 Mar 2009 18:41:25 +0000 (18:41 -0000)]
2009-03-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryFormat.cs, XmlBinaryDictionaryWriter.cs :
resolved all namespace and QName issues.
* XmlBinaryDictionaryWriterTest.cs : enabled QName test parts.
svn path=/trunk/mcs/; revision=130419
Marek Safar [Fri, 27 Mar 2009 17:13:46 +0000 (17:13 -0000)]
2009-03-27 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, expression.cs: Removed unused nullable checks.
svn path=/trunk/mcs/; revision=130410
Marek Safar [Fri, 27 Mar 2009 16:22:29 +0000 (16:22 -0000)]
New tests.
svn path=/trunk/mcs/; revision=130405
Marek Safar [Fri, 27 Mar 2009 16:21:36 +0000 (16:21 -0000)]
2009-03-27 Marek Safar <marek.safar@gmail.com>
* *.cs: Removed some gmcs conditionals.
svn path=/trunk/mcs/; revision=130404
Gonzalo Paniagua Javier [Fri, 27 Mar 2009 15:51:43 +0000 (15:51 -0000)]
2009-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DefaultWsdlHelpGenerator.aspx: disable the test form
when only Soap is supported.
Bug #342073 fixed.
svn path=/trunk/mono/; revision=130400
Zoltan Varga [Fri, 27 Mar 2009 15:39:55 +0000 (15:39 -0000)]
2009-03-27 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py (StringPrinter.to_string): Fix support for non-ascii characters.
svn path=/trunk/mono/; revision=130399
Atsushi Eno [Fri, 27 Mar 2009 14:44:32 +0000 (14:44 -0000)]
2009-03-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryWriter.cs : further namespace refactory.
namespaces are managed by its own (to work fine for both string
and dictionary string).
svn path=/trunk/mcs/; revision=130396
Zoltan Varga [Fri, 27 Mar 2009 14:07:28 +0000 (14:07 -0000)]
2009-03-27 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Disable tail calls for calls which
return a valuetype. Fixes #487518.
* iltests.il: Add a test.
svn path=/trunk/mono/; revision=130390
Sebastien Pouliot [Fri, 27 Mar 2009 14:00:09 +0000 (14:00 -0000)]
2009-03-27 Sebastien Pouliot <sebastien@ximian.com>
* appdomain.h: Export a new callback type and a new function to
set this callback. This allow a mono host to provide it's own
definition for "platform code".
* metadata-internals.h: Add a core_clr_platform_code flag on
_MonoImage to (cache and) know if it is representing platform
code.
* image.c (do_mono_image_open): Set core_clr_platform_code flag
on platform code images.
* security-core-clr.c|h
(mono_security_set_core_clr_platform_callback): Allow the host
to provide it's own platform check definition.
(mono_security_core_clr_determine_platform_image): Detect if an
image is platform code (using the specified callback).
(mono_security_core_clr_is_platform_image): Return cached value
for platform code.
svn path=/trunk/mono/; revision=130389
Zoltan Varga [Fri, 27 Mar 2009 13:37:39 +0000 (13:37 -0000)]
2009-03-27 Zoltan Varga <vargaz@gmail.com>
* DelegateTest.cs: Mark a test as working.
svn path=/trunk/mcs/; revision=130386
Zoltan Varga [Fri, 27 Mar 2009 13:35:45 +0000 (13:35 -0000)]
In io-layer/
2009-03-27 Zoltan Varga <vargaz@gmail.com>
* threads.h: Add a comment to CreateThread.
In metadata/
2009-03-27 Zoltan Varga <vargaz@gmail.com>
* threads.c (mono_create_thread): New helper function to wrap CreateThread
which has different parameter types for the 'tid' argument in windows and
the io-layer.
* appdomain.c attach.c threads.c: Use the new helper.
In mini/
2009-03-27 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Use mono_thread_create () to create helper threads.
svn path=/trunk/mono/; revision=130385
Zoltan Varga [Fri, 27 Mar 2009 13:35:25 +0000 (13:35 -0000)]
2009-03-27 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_delegate_trampoline): Handle static delegates
closed over a null reference correctly.
svn path=/trunk/mono/; revision=130384
Atsushi Eno [Fri, 27 Mar 2009 13:20:47 +0000 (13:20 -0000)]
2009-03-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryFormat.cs, XmlBinaryDictionaryReader.cs,
XmlBinaryDictionaryWriter.cs : improved shorthanded prefix
support. Not only autocreated prefixes but also explicitly-
specified 'a' .. 'z' prefixes are mapped as shorthand.
Some significant (and ongoing) namespace support changes.
* XmlBinaryDictionaryWriterTest.cs: added test for shorthand
prefixed attributes.
svn path=/trunk/mcs/; revision=130381
Raja R Harinath [Fri, 27 Mar 2009 11:40:23 +0000 (11:40 -0000)]
* Makefile (net_2_0_dirs): Build System.Runtime.Serialization
before System.Data.Linq.
svn path=/trunk/mcs/; revision=130375
Rodrigo Kumpera [Thu, 26 Mar 2009 23:46:51 +0000 (23:46 -0000)]
2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Add tables-header and set-bit helpers.
* cli-tables-tests.md: New tests for the cli tables.
* Makefile: Add new tests.
svn path=/trunk/mono/; revision=130349
Rodrigo Kumpera [Thu, 26 Mar 2009 23:46:48 +0000 (23:46 -0000)]
2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify valid table bits.
svn path=/trunk/mono/; revision=130348
Rodrigo Kumpera [Thu, 26 Mar 2009 23:46:27 +0000 (23:46 -0000)]
2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (verify_metadata_header): Store size in the size field.
* metadata-verify.c: Add initial table schema verification.
svn path=/trunk/mono/; revision=130347
Jonathan Pryor [Thu, 26 Mar 2009 20:04:06 +0000 (20:04 -0000)]
* src/DbLinq/Data/Linq/Table.cs: Add an explicit
IEnumerable<TEntity>.GetEnumerator() implementation to Table<TEntity>.
This is done for cor-compare compatibility with .NET.
svn path=/trunk/mcs/; revision=130333
Carlos Alberto Cortez [Thu, 26 Mar 2009 19:59:32 +0000 (19:59 -0000)]
2009-03-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolStripTest.cs:
* ToolStripItemTest.cs: Update our Dispose tests.
svn path=/trunk/mcs/; revision=130332