mono.git
15 years ago2009-03-31 Marek Habersack <mhabersack@novell.com>
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

15 years agoTypo fix
Marek Habersack [Tue, 31 Mar 2009 15:01:34 +0000 (15:01 -0000)]
Typo fix

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

15 years ago2009-03-31 Marek Habersack <mhabersack@novell.com>
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

15 years ago2009-03-30 Marek Habersack <mhabersack@novell.com>
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

15 years agoBump debugger version to 81.2.
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

15 years agoNotify the debugger about newly created appdomains and their shadow copy path.
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

15 years agoAlso register the class init callback if the class is already initialized to make...
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

15 years ago2009-03-31 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-03-31 Sebastien Pouliot <sebastien@ximian.com>
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

15 years agofix build
Gonzalo Paniagua Javier [Tue, 31 Mar 2009 13:35:42 +0000 (13:35 -0000)]
fix build

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

15 years agoRemove data from FinalizeEntry.
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

15 years agoUse a separate struct for disappearing links.
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

15 years ago2009-03-31 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-03-31 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-03-31 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-03-31 Jb Evain <jbevain@novell.com>
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

15 years ago2009-03-31 Jb Evain <jbevain@novell.com>
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

15 years ago2009-03-31 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-03-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years ago * mdoc-update.1: Add new --exceptions=added functionality.
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

15 years ago2009-03-31 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-03-30 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-03-30 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-03-30 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-03-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

15 years ago2009-03-30 Tom Hindle <tom-hindle@sil.org>
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

15 years ago2009-03-30 Marek Habersack <mhabersack@novell.com>
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

15 years ago * System.Data.Linq.dll.sources: Remove
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

15 years ago2009-03-30 Zoltan Varga <vargaz@gmail.com>
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

15 years ago * Mono.Documentation/exceptions.cs: Add
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

15 years agoUse TypeManager wrapper
Marek Safar [Mon, 30 Mar 2009 10:30:12 +0000 (10:30 -0000)]
Use TypeManager wrapper

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

15 years ago2009-03-30 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-03-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

15 years ago * X11Structs:
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

15 years ago2009-03-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

15 years ago2009-03-29 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-03-29 Zoltan Varga <vargaz@gmail.com>
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

15 years ago 2009-03-29 Veerapuram Varadhan <vvaradhan@novell.com>
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

15 years agoNew: IntervalDescriptor implementation file
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

15 years agoINTERVAL_DAY_TO_SECOND and INTERVAL_YEAR_TO_MONTH implementations
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

15 years agoOciInterval implementation
Veerapuram Varadhan [Sun, 29 Mar 2009 03:47:35 +0000 (03:47 -0000)]
OciInterval implementation

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

15 years ago2009-03-29 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-03-29 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-03-29 Zoltan Varga <vargaz@gmail.com>
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

15 years agofixed
Jb Evain [Sat, 28 Mar 2009 21:57:41 +0000 (21:57 -0000)]
fixed

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

15 years ago2009-03-28 Jb Evain <jbevain@novell.com>
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

15 years ago2009-03-28 Jb Evain <jbevain@novell.com>
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

15 years agoIn mini/
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

15 years agoIn mini/
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

15 years ago2009-03-28 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2009-03-28 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2009-03-28 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-03-28 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-03-28 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-03-28 Ivan N. Zlatev <contact@i-nz.net>
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

15 years ago2009-03-27 Ivan N. Zlatev <contact@i-nz.net>
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

15 years ago2009-03-27 Jonathan Chambers <joncham@gmail.com>
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

15 years ago2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years ago * src/DbLinq.sln,
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

15 years ago2009-03-27 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-03-27 Marek Safar <marek.safar@gmail.com>
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

15 years agoNew tests.
Marek Safar [Fri, 27 Mar 2009 16:22:29 +0000 (16:22 -0000)]
New tests.

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

15 years ago2009-03-27 Marek Safar <marek.safar@gmail.com>
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

15 years ago2009-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years ago2009-03-27 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-03-27 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-03-27 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-03-27 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2009-03-27 Zoltan Varga <vargaz@gmail.com>
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

15 years agoIn io-layer/
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

15 years ago2009-03-27 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-03-27 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago* Makefile (net_2_0_dirs): Build System.Runtime.Serialization
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

15 years ago2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago * src/DbLinq/Data/Linq/Table.cs: Add an explicit
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

15 years ago2009-03-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

15 years ago2009-03-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 26 Mar 2009 19:57:27 +0000 (19:57 -0000)]
2009-03-26   Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolStrip.cs: When disposing, iterate over the items in reverse
order, since disposing the items modifies the collection.
* ToolStripItem.cs: Remove from the owner when disposing.
Fixes #485769.

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

15 years ago2009-03-26 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 26 Mar 2009 19:07:42 +0000 (19:07 -0000)]
2009-03-26  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Add an implementation for UpdateRowHeightInfo. No
longer throws a NotImplementedException.
  Based on a patch by Tom Hindle <tom_hindle@sil.org>
[Fixes bug #488319]

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

15 years agocomplete test
Jb Evain [Thu, 26 Mar 2009 18:54:25 +0000 (18:54 -0000)]
complete test

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

15 years ago2009-03-26 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 26 Mar 2009 18:46:56 +0000 (18:46 -0000)]
2009-03-26  Jb Evain  <jbevain@novell.com>

* Delegate.cs (CreateDelegate): Support for delegates
on static methods closed on a null target.

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

15 years ago2009-03-26 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 26 Mar 2009 18:18:42 +0000 (18:18 -0000)]
2009-03-26  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Implement IsCurrentRowDirty. No longer throws
NotImplementedException.

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

15 years ago2009-03-26 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 26 Mar 2009 18:13:14 +0000 (18:13 -0000)]
2009-03-26  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewColumn.cs, DataGridViewTextBoxColumn.cs:
Fix SortMode clash handling.
[Fixes bug #488263]

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

15 years ago2009-03-26 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 26 Mar 2009 17:35:49 +0000 (17:35 -0000)]
2009-03-26  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Do not show the vertical scrollbar if there is only
one row or less. For the sake of MSNET compatibility.
[Fixes bug #487988]

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

15 years ago * Test/: Added (though empty), to allow building unit tests located in
Jonathan Pryor [Thu, 26 Mar 2009 17:26:16 +0000 (17:26 -0000)]
* Test/: Added (though empty), to allow building unit tests located in
  src/*/Test/**.
* System.Data.Linq_test.dll.sources: Added; database-less unit tests.

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

15 years ago2009-03-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Mar 2009 17:20:40 +0000 (17:20 -0000)]
2009-03-26  Marek Safar  <marek.safar@gmail.com>

* generic.cs, support.cs: Moved generics stuff out of support.cs

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

15 years ago * src/DbLinq/System.Data.Linq/Binary.cs: Update to pass the unit tests.
Jonathan Pryor [Thu, 26 Mar 2009 16:01:10 +0000 (16:01 -0000)]
* src/DbLinq/System.Data.Linq/Binary.cs: Update to pass the unit tests.
* Makefile: Build against System.Runtime.Serialization.dll so that
  Binary can use the [DataContract] attribute.

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

15 years ago2009-03-26 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 26 Mar 2009 15:47:25 +0000 (15:47 -0000)]
2009-03-26  Jonathan Chambers  <joncham@gmail.com>

        * TaskDatabase.cs (RegisterTask): Search for class by name
        if task was not found using GetType (which uses namespace).

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

15 years ago * **/*: Flush. (Updates to sync with DbLinq r1026, correcting tests
Jonathan Pryor [Thu, 26 Mar 2009 15:39:53 +0000 (15:39 -0000)]
* **/*: Flush.  (Updates to sync with DbLinq r1026, correcting tests
  so that they build under Mono for testing System.Data.Linq.dll.)

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

15 years ago * **/*: Flush. (Updates to sync with DbLinq r1020, adding additional
Jonathan Pryor [Thu, 26 Mar 2009 15:09:07 +0000 (15:09 -0000)]
* **/*: Flush.  (Updates to sync with DbLinq r1020, adding additional
  tests generated from gui-compare differences.)

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

15 years agoIn class/corlib/System.Reflection/
Zoltan Varga [Thu, 26 Mar 2009 14:32:42 +0000 (14:32 -0000)]
In class/corlib/System.Reflection/

2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* ParameterInfoTest.cs: Add a test for #488383.

In class/corlib/System/

2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs: Bump corlib version.

In class/corlib/Test/System.Reflection/

2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* ParameterInfoTest.cs: Add a test for #488383.

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

15 years ago2009-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Mar 2009 14:29:46 +0000 (14:29 -0000)]
2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_get_parameter_info): Add a 'member' argument, used to
obtain the refclass argument needed by mono_param_get_objects (). Fixes
#488383.

* reflection.c (mono_param_get_objects_internal): Add a 'refclass' argument.

* appdomain.c (MONO_CORLIB_VERSION): Bump this.

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

15 years ago2009-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Mar 2009 14:29:38 +0000 (14:29 -0000)]
2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_get_parameter_info): Add a 'member' argument, used to
obtain the refclass argument needed by mono_param_get_objects (). Fixes
#488383.

* reflection.c (mono_param_get_objects_internal): Add a 'refclass' argument.

* appdomain.c (MONO_CORLIB_VERSION): Bump this.

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

15 years agooops, fix wrong copy-pasted doc
Sebastien Pouliot [Thu, 26 Mar 2009 14:27:48 +0000 (14:27 -0000)]
oops, fix wrong copy-pasted doc

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

15 years ago2009-03-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Mar 2009 14:13:53 +0000 (14:13 -0000)]
2009-03-26  Marek Habersack  <mhabersack@novell.com>

* HttpWorkerRequest.cs: use a generic dictionary to keep header
names in 2.0+.
GetKnown{Request,Response}HeaderIndex doesn't use the switch
anymore.

* HttpResponse.cs: WriteHeaders now checks whether a header to be
sent is a known one or not and uses the appropriate method to send
that header. Partial fix for bug #488702

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