mono.git
16 years agowe pass those
Jb Evain [Sat, 7 Jun 2008 18:09:38 +0000 (18:09 -0000)]
we pass those

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

16 years ago2008-06-07 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 7 Jun 2008 18:09:12 +0000 (18:09 -0000)]
2008-06-07  Jb Evain  <jbevain@novell.com>

* BinaryExpression.cs (EmitConvertedCoalesce): implement.

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

16 years ago2008-06-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Jun 2008 17:29:55 +0000 (17:29 -0000)]
2008-06-07  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c: Add some code to avoid saving callee saved registers in the
LMF. Not yet used.

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

16 years ago2008-06-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Jun 2008 16:17:59 +0000 (16:17 -0000)]
2008-06-07  Zoltan Varga  <vargaz@gmail.com>

* threads.c (mono_set_pending_exception): New internal function to set the
pending exception of the current thread.
(mono_thread_get_and_clear_pending_exception): Check for
thread->pending_exception as well.

* object-internals.h (struct _MonoThread): Add 'pending_exception' field.

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

16 years agopassing those
Jb Evain [Sat, 7 Jun 2008 15:59:25 +0000 (15:59 -0000)]
passing those

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

16 years agoseparate normal coalesce operations from converted coalesce nodes
Jb Evain [Sat, 7 Jun 2008 15:59:02 +0000 (15:59 -0000)]
separate normal coalesce operations from converted coalesce nodes

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

16 years agonew tests
Jb Evain [Sat, 7 Jun 2008 15:27:27 +0000 (15:27 -0000)]
new tests

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

16 years ago* ServiceContainer.cs: In AddService, first check parent and end flow
Gert Driesen [Sat, 7 Jun 2008 15:05:44 +0000 (15:05 -0000)]
* ServiceContainer.cs: In AddService, first check parent and end flow
after adding service to parent, throw ArgumentNullException when
serviceInstance or callback is null. In RemoveService, when promote is
false the service must be removed from current container. Fixes bug
#397824. On 1.0 profile, IServiceContainer is a default service offered
by containers. Minor code formatting.
* ServiceContainerTest.cs: Added test for argument checks in
AddService and RemoveService overloads. Added tests for AddService
and RemoveService.

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

16 years ago2008-06-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Jun 2008 10:19:02 +0000 (10:19 -0000)]
2008-06-07  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (mono_gc_base_init): Set GC_no_dls before calling GC_init () since
it can trigger a collection.

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

16 years agoBump minor version.
Martin Baulig [Sat, 7 Jun 2008 09:28:00 +0000 (09:28 -0000)]
Bump minor version.

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

16 years ago2008-06-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 7 Jun 2008 09:27:38 +0000 (09:27 -0000)]
2008-06-07  Martin Baulig  <martin@ximian.com>

* Mono.Cecil.Mdb/MdbReader.cs: Reflect latest symbol
reader changes.

* Mono.Cecil.Mdb/MdbWriter.cs: Reflect latest symbol
writer changes.

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

16 years ago2008-06-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 7 Jun 2008 09:26:22 +0000 (09:26 -0000)]
2008-06-07  Martin Baulig  <martin@ximian.com>

* DebuggingInfo.cs: Reflect latest symbol writer changes.

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

16 years ago2008-06-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 7 Jun 2008 09:23:55 +0000 (09:23 -0000)]
2008-06-05  Martin Baulig  <martin@ximian.com>

* MonoSymbolTable.cs
(MethodEntry.Flags): New public enum.
(MethodEntry.MethodFlags): New public fields.
(MethodEntry.LocalNamesAmbiguous): Removed; this is now part of
the `MethodFlags'.

* MonoSymbolWriter.cs
(MonoSymbolWriter.SetCompilerGenerated): New public method.

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

16 years ago2008-06-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 7 Jun 2008 09:21:52 +0000 (09:21 -0000)]
2008-06-05  Martin Baulig  <martin@ximian.com>

* MonoSymbolTable.cs
(MethodEntry.Flags): New public enum.
(MethodEntry.MethodFlags): New public fields.
(MethodEntry.LocalNamesAmbiguous): Removed; this is now part of
the `MethodFlags'.

* MonoSymbolWriter.cs
(MonoSymbolWriter.SetCompilerGenerated): New public method.

2008-06-02  Martin Baulig  <martin@ximian.com>

* MonoSymbolWriter.cs
(ICompileUnit): New public interface.
(MonoSymbolWriter.Sources): Removed.
(MonoSymbolWriter.OpenMethod): Take an `ICompileUnit', removed
`startRow', `startColumn', `endRow' and `endColumn'.
(MonoSymbolWriter.DefineCompilationUnit): New public method.
(MonoSymbolWriter.DefineNamespace): Operate on `ICompileUnit'.

* MonoSymbolFile.cs
(MonoSymbolFile.CompileUnit): New public properties.

* MonoSymbolTable.cs
(OffsetTable): Replace `Version' by `MajorVersion' and
`MinorVersion'.  Add `CompileUnitCount', `CompileUnitTableOffset'
and `CompileUnitTableSize'.
(CompileUnitEntry): New public method.
(LineNumberTable): Removed `StartFile' and `StartRow'.
(MethodEntry): Removed `StartRow' and `EndRow'.

2008-06-02  Martin Baulig  <martin@ximian.com>

* SymbolWriterImpl.cs: Removed.

2008-05-28  Martin Baulig  <martin@ximian.com>

* MonoSymbolTable.cs
(MethodIndexEntry): Removed.
(MethodEntry): Moved everything into the data section, so it can
be read dynamically on-the-fly.  The `MethodEntry' now has a fixed
size of 12 bytes in the symbol file containing only token, data
offset and line number table offset.

2008-05-28  Martin Baulig  <martin@ximian.com>

* MonoSymbolTable.cs
(MethodEntry.LocalTypeIndices): Removed.
(MethodEntry.GetLineNumberTable): New public method; replaces the
`LineNumbers' and `NumLineNumbers' fields.
(MethodEntry.GetLocals): New public method; replaces the `Locals'
and `NumLocals' fields.
(MethodEntry.GetCodeBlocks): New public method; replaces the
`CodeBlocks' and `NumCodeBlocks' fields.
(MethodEntry.GetScopeVariables): New public method; replaces the
`ScopeVariables' and `NumScopeVariables' fields.
(MethodEntry.GetRealName): New public method; replaces `RealName'.
(MethodEntry): Removed the old fields.

2008-05-28  Martin Baulig  <martin@ximian.com>

* MonoSymbolTable.cs
(MethodSourceEntry): Removed.
(SourceFileEntry.Methods): Removed.

2008-05-26  Martin Baulig  <martin@ximian.com>

* MonoSymbolWriter.cs
(MonoSymbolWriter.DefineDocument): Added overloaded version taking
additional `byte[] guid' and `byte[] hash' arguments.

* MonoSymbolFile.cs
(OffsetTable.IsAspxSource): New public field.
(SourceFileEntry): Completely redesigned this; only write index
and data offset, everything else goes into the data section.
(SourceFileEntry.AutoGenerated): New public property.
(SourceFileEntry.CheckChecksum): New public method.

2008-05-16  Martin Baulig  <martin@ximian.com>

* MonoSymbolTable.cs
(LineNumberEntry.IsHidden): New public field.
(LineNumberTable): Add support for hidden line numbers.

* MonoSymbolWriter.cs
(MonoSymbolWriter.MarkSequencePoint): Add overloaded version
taking an additional `bool is_hidden' argument.

2008-05-05  Martin Baulig  <martin@ximian.com>

* MonoSymbolFile.cs
(MonoSymbolFile.OffsetTable): New public property.
(MonoSymbolFile.FileName): New public readonly field.

* MonoSymbolTable.cs
(OffsetTable): Make this a class and not a struct.
(OffsetTable): Add `LineNumberTable_LineBase',
`LineNumberTable_LineRange' and `LineNumberTable_OpcodeBase'.
(LineNumberEntry): Removed the reading/writing functions.
(LineNumberTable): Get `LineBase', `LineRange' and `OpcodeBase'
from the `OffsetTable' rather than hardcoding it here.
(MethodEntry): Make `NumLineNumbers' and `LineNumbers' properties;
massive cleanup, use leb128 everywhere and removed all the
obsolete fields.

2008-04-29  Martin Baulig  <martin@ximian.com>

* MonoSymbolTable.cs
(OffsetTable.Version): Bump to 42.
(LineNumberTable): New public class.  Provides a new line number
table format which is based on Dwarf 2.
(MethodEntry): Replaced BuildLineNumberTable() by
CheckLineNumberTable(); we're now more strict than we were before
and disallow not monotonic increasing entries,  we don't check for
duplicates anymore since the new LineNumberTable takes care of that.
(LineEntry): Added public `File' field which is a file index.

* MonoSymbolWriter.cs
(MonoSymbolWriter.MarkSequencePoint): Added `int file' argument.

2008-04-29  Martin Baulig  <martin@ximian.com>

**** Kahalo changes start here ****

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

16 years ago2008-06-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 7 Jun 2008 09:19:05 +0000 (09:19 -0000)]
2008-06-05  Martin Baulig  <martin@ximian.com>

Merged the `debugger-kahalo' branch.

* class.cs
(MethodData.Emit): Call SymbolWriter.SetCompilerGenerated() if
we're an iterator method.
(SourceMethod): Reflect latest symbol writer changes;
SymbolWriter.OpenMethod() now takes a `ICompileUnit' argument and
now `start_row' and `end_row'.
(Constructor.Emit): Fix the logic whether to emit symbol information.

* iterator.cs: Call SymbolWriter.SetCompilerGenerated() on all the
generated methods.

* location.cs
(CompilationUnit): New public class; derives from `SourceFile'.
(SourceFileEntry.DefineSymbolInfo): New public method.
(SourceFileEntry.SetChecksum): New public method.
(Location): Encode hidden line numbers by using `column == 255';
the .ctor now accepts `column == -1' to mark a hidden line number.
(Location.Hidden): New public property.
(Location.CheckPoint): Add `CompilationUnit'.
(Location.SourceFiles): Change return type to `CompilationUnit[]'.
(Location.Push): Add `CompilationUnit compile_unit' argument.
(Location.CompilationUnit): New public property.

* statement.cs
(ToplevelBlock.Emit): Add `ec.Mark (EndLocation)'.

* cs-parser.jay: `SourceFile' -> `CompilationUnit'.

* driver.cs: `SourceFile' -> `CompilationUnit'.

* cs-tokenizer.cs: `SourceFile' -> `CompilationUnit'.

* namespace.cs: `SourceFile' -> `CompilationUnit'.

* cs-tokenizer.cs: Add support for `#pragma checksum' and
`#line hidden'.

* symbolwriter.cs
(SymbolWriter.MarkSequencePoint): Take a `Location' and use the
new symbol writer API to also pass the file.

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

16 years ago2008-06-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 7 Jun 2008 09:16:24 +0000 (09:16 -0000)]
2008-06-06  Martin Baulig  <martin@ximian.com>

Merged the `debugger-kahalo' branch.

* mono-debug.h
(MONO_DEBUGGER_VERSION): Bumped to 72.

* debug-mono-symfile.h
(MonoSymbolFileMethodIndexEntry): Removed.
(MonoSymbolFileMethodEntry): New public typedef.
(MonoSymbolFileOffsetTable): Added `_is_aspx_source'.
(MonoSymbolFileSourceEntry): Remove everything except `index' and
`data_offset'.
(MonoSymbolFileMethodEntry): Removed.
(MonoSymbolFileLexicalBlockEntry): Removed.
(MonoSymbolFileLineNumberEntry): Removed.
(MonoDebugLexicalBlockEntry): Removed.
(MonoDebugMethodInfo): Replaced `entry' by `guint32 entry_offset';
removed `num_il_offsets' and `il_offsets'.
(MonoSymbolFile): Replace `version' with `major_version' and
`minor_version'.
(MONO_SYMBOL_FILE_VERSION): Replace with
`MONO_SYMBOL_FILE_MAJOR_VERSION' and
`MONO_SYMBOL_FILE_MINOR_VERSION'.

* debug-mono-symfile.c
(mono_debug_symfile_lookup_location): Add support for the new line
number table format.

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

16 years ago2008-06-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 7 Jun 2008 01:15:39 +0000 (01:15 -0000)]
2008-06-07 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata.c (free_generic_class): Release the inflated
MonoClass of dynamic geneic classes if it's not a generic
type definition.

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

16 years ago2008-06-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 7 Jun 2008 01:11:29 +0000 (01:11 -0000)]
2008-06-07 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Reaplied more of the reverted changes.

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

16 years ago2008-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 7 Jun 2008 00:07:46 +0000 (00:07 -0000)]
2008-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBox.cs: When snaping height -because of IntegralHeight set to
true- with ComboBoxStyle.Simple, set the height to PreferredHeight
if the requested height leaves the listbox area with *less* than the
required are to see one item. We were setting it to PreferredHeight
even for values matching the height for a single item.
Fixes #396297.

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

16 years ago * reflection.c (lookup_custom_attr): Clean the cached flag or
Rodrigo Kumpera [Fri, 6 Jun 2008 23:38:41 +0000 (23:38 -0000)]
* reflection.c (lookup_custom_attr): Clean the cached flag or
nobody will free it. Fixes a memleak in MonoCustomAttrs::IsDefinedInternal
for SRE types.

2008-06-07 Rodrigo Kumpera  <rkumpera@novell.com>

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

16 years ago2008-06-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 6 Jun 2008 23:29:22 +0000 (23:29 -0000)]
2008-06-07 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Reaplied a small part of the reverted changes.

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

16 years ago2008-06-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jun 2008 22:35:47 +0000 (22:35 -0000)]
2008-06-07  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c (mono_arch_patch_callsite): Tell valgrind to discard the
translated code after it has been patched.

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

16 years ago2008-06-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jun 2008 22:07:42 +0000 (22:07 -0000)]
2008-06-07  Zoltan Varga  <vargaz@gmail.com>

* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

* monitor.c (mono_monitor_try_enter_internal): Add NULL check which was
previously in managed code.
(mono_monitor_exit): Ditto.
(ves_icall_System_Threading_Monitor_Monitor_exit): Removed, not needed anymore.

* icall-def.h: Rename the Enter/Exit icalls to simply Enter/Exit to match
the managed definition.

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

16 years ago2008-06-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jun 2008 22:03:10 +0000 (22:03 -0000)]
2008-06-07  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs: Bump corlib version.

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

16 years ago2008-06-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jun 2008 22:02:33 +0000 (22:02 -0000)]
2008-06-07  Zoltan Varga  <vargaz@gmail.com>

* Monitor.cs: Implement Enter/Exit directly as icalls without managed wrapper
methods.

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

16 years ago2008-06-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 6 Jun 2008 21:48:12 +0000 (21:48 -0000)]
2008-06-06 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Revert changes to see if it helps with weird buildbot crashes.

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

16 years ago2008-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jun 2008 21:40:28 +0000 (21:40 -0000)]
2008-06-06  Zoltan Varga  <vargaz@gmail.com>

* monitor.c: Redefine GetCurrentThreadId () with a macro on !win32.

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

16 years ago2008-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jun 2008 21:22:02 +0000 (21:22 -0000)]
2008-06-06  Zoltan Varga  <vargaz@gmail.com>

* monitor.c: Add some micro optimizations.

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

16 years ago2008-06-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 6 Jun 2008 20:38:19 +0000 (20:38 -0000)]
2008-06-06  Marek Habersack  <mhabersack@novell.com>

* SiteMap.cs: FindCurrentNode is no longer needed. CurrentNode
uses Provider.CurrentNode to find the return value.
AddNode doesn't throw a duplicate key exception for nodes not
belonging to the current provider.
Check whether keys exist before removing entries from the
dictionaries.

* XmlSiteMapProvider.cs: implemented support for child providers
(the AddProvider method). FindSiteMapNode* methods look for the
node also in the collection of child providers. Fixes bug #397040

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

16 years ago2008-06-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Jun 2008 16:46:03 +0000 (16:46 -0000)]
2008-06-06  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: Simplify GetInheritedStyle by using ApplyStyle.

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

16 years agosort of reverting the previous change that breaks use of -pkg:dotnet
Atsushi Eno [Fri, 6 Jun 2008 15:30:15 +0000 (15:30 -0000)]
sort of reverting the previous change that breaks use of -pkg:dotnet
under 1.0 profile.

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

16 years ago2008-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jun 2008 15:24:18 +0000 (15:24 -0000)]
2008-06-06  Zoltan Varga  <vargaz@gmail.com>

* icall.c (type_from_typename): Handle 'bool'.

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

16 years ago2008-06-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Jun 2008 15:18:19 +0000 (15:18 -0000)]
2008-06-06  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: Use property instead of field.

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

16 years ago2008-06-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 6 Jun 2008 14:40:51 +0000 (14:40 -0000)]
2008-06-06  Atsushi Enomoto  <atsushi@ximian.com>

* importNamespaceTest.xsd, xsdimporttest.xml, importedNamespace.xsd:
  ugh, I did a couple of broken patch -i operations.

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

16 years ago2008-06-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 6 Jun 2008 14:35:52 +0000 (14:35 -0000)]
2008-06-06  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaTests.cs : fix file path.

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

16 years ago2008-06-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 6 Jun 2008 13:46:35 +0000 (13:46 -0000)]
2008-06-06 Rodrigo Kumpera <rkumpera@novell.com>

* make_ctor_test.sh: New test generator for
constructor related tests.

* make_tests.sh: Added tests using using
the new generator.

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

16 years ago2008-06-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 6 Jun 2008 13:44:07 +0000 (13:44 -0000)]
2008-06-06 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Implement constructor verification per P III 1.8.1.4.
Fixes #396716.

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

16 years ago2008-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jun 2008 13:38:01 +0000 (13:38 -0000)]
2008-06-06  Zoltan Varga  <vargaz@gmail.com>

* assembly.c (mono_assembly_loaded_full): Avoid calling the search hooks while
holding the assemblies lock here too.

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

16 years agoMake dotnet.pc.in reference all the .NET libraries (not only when using dotnet35
Miguel de Icaza [Fri, 6 Jun 2008 13:15:28 +0000 (13:15 -0000)]
Make dotnet.pc.in reference all the .NET libraries (not only when using dotnet35

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

16 years ago2008-06-06 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 6 Jun 2008 10:49:07 +0000 (10:49 -0000)]
2008-06-06  Jb Evain  <jbevain@novell.com>

* CodeGen/cecil.xml: constrained. is of type InlineType.
* Mono.Cecil.Cil/OpCodes.cs: re-generate.

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

16 years ago2008-06-06 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 6 Jun 2008 10:47:24 +0000 (10:47 -0000)]
2008-06-06  Jb Evain  <jbevain@novell.com>

* OpCodes.cs: OpCode constrained. is of type InlineType.

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

16 years ago2008-06-06 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 6 Jun 2008 10:46:48 +0000 (10:46 -0000)]
2008-06-06  Jb Evain  <jbevain@novell.com>

* cil-opcodes.xml: constrained. is of type InlineType.
* opcode.def: re-generate.

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

16 years ago2008-06-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 6 Jun 2008 10:15:03 +0000 (10:15 -0000)]
2008-06-06  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchema.cs : indent (I slightly modified the previous patch
  to expose the actual changes).

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

16 years ago2008-06-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 6 Jun 2008 10:07:22 +0000 (10:07 -0000)]
2008-06-06  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchema.cs : fixed bug #397612, patch by James Fitzsimons.
  in ProcessExternal(), Make xs:import without schemaLocation work
  fine as if it were with schemaLocation.

2008-06-06  James Fitzsimons <james.fitzsimons@gmail.com>

* XmlSchemaTests.cs: added test for bug #397612.
* XmlSchemaAssertion.cs : make sure to close schema XmlReader.

2008-06-06  Atsushi Enomoto  <atsushi@ximian.com>

* importNamespaceTest.xsd, xsdimporttest.xml, importedNamespace.xsd:
  new test files.

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

16 years ago2008-06-06 James Fitzsimons <james.fitzsimons@gmail.com>
Atsushi Eno [Fri, 6 Jun 2008 07:39:58 +0000 (07:39 -0000)]
2008-06-06  James Fitzsimons <james.fitzsimons@gmail.com>

* XmlSchema.cs : Changed GetResolvedUri to return Uri in correct case
  to make compatible with the Microsoft.NET framework.

* XmlSchemaTests.cs: added test to support change to
  GetResolvedUri to return Uri in correct case
  to make compatible with the Microsoft.NET framework.

2008-06-06  Atsushi Enomoto  <atsushi@ximian.com>

* resolveUriSchema.xsd : (actually I've incorrectly added it before
  the actual test checkin) Fixed schemaLocation.

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

16 years ago2008-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jun 2008 02:10:51 +0000 (02:10 -0000)]
2008-06-06  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (emit_call_body): Align the call displacement to 4 bytes to
avoid problems during code patching on SMP systems.
(emit_call): Avoid adding a patch info which is already added by
emit_call_body.
(mono_arch_emit_exceptions): Ditto.

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

16 years ago2008-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jun 2008 02:08:56 +0000 (02:08 -0000)]
2008-06-06  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h (amd64_padding_size): Rewrite this to use the
instructions recommended by the amd64 manual.

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

16 years ago2008-06-06 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 6 Jun 2008 01:58:39 +0000 (01:58 -0000)]
2008-06-06  George Giolfan  <georgegiolfan@yahoo.com>

* InternalWindowManager.cs, ThemeWin32Classic.cs: Removed useless Form.Icon
null checks.

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

16 years ago2008-06-06 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 6 Jun 2008 01:51:25 +0000 (01:51 -0000)]
2008-06-06  George Giolfan  <georgegiolfan@yahoo.com>

* Theme.cs: Added #region around the managed window code. Made the managed
window methods abstract.
* ThemeWin32Classic.cs: Added #region around the managed window code.

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

16 years ago2008-06-06 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 6 Jun 2008 01:43:48 +0000 (01:43 -0000)]
2008-06-06  George Giolfan  <georgegiolfan@yahoo.com>

* InternalWindowManager.cs: Now only calls Theme.DrawManagedWindowDecorations
if it has borders.
* ThemeWin32Classic.cs: Removed HasBorders checks in
DrawManagedWindowDecorations.

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

16 years ago2008-06-06 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 6 Jun 2008 01:33:32 +0000 (01:33 -0000)]
2008-06-06  George Giolfan  <georgegiolfan@yahoo.com>

* InternalWindowManager.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
Extracted ManagedWindowGetTitleBarIconArea.

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

16 years ago2008-06-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Jun 2008 01:05:32 +0000 (01:05 -0000)]
2008-06-05  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCellStyle.cs: Don't clone the font.

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

16 years ago2008-06-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Jun 2008 00:04:45 +0000 (00:04 -0000)]
2008-06-05  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: Ensure we don't pass null to GetConverter.

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

16 years ago2008-06-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 5 Jun 2008 22:39:37 +0000 (22:39 -0000)]
2008-06-05 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Kill stack_top function.

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

16 years agofixed
Jb Evain [Thu, 5 Jun 2008 22:09:09 +0000 (22:09 -0000)]
fixed

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

16 years agopassing this one
Jb Evain [Thu, 5 Jun 2008 22:06:53 +0000 (22:06 -0000)]
passing this one

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

16 years agofix convertions in between convertions from or to nullable types
Jb Evain [Thu, 5 Jun 2008 22:06:34 +0000 (22:06 -0000)]
fix convertions in between convertions from or to nullable types

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

16 years agonew test
Jb Evain [Thu, 5 Jun 2008 22:00:50 +0000 (22:00 -0000)]
new test

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

16 years ago2008-06-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 5 Jun 2008 21:54:42 +0000 (21:54 -0000)]
2008-06-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* XplatUIX1..cs: Use IntPtr size instead of int, as wee need to work
also on 64 bit machinges. Fixes the BadWindow errors while scrolling
in 64 bit machines.

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

16 years agotemporary excluse test
Jb Evain [Thu, 5 Jun 2008 21:47:14 +0000 (21:47 -0000)]
temporary excluse test

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

16 years agopassing this one
Jb Evain [Thu, 5 Jun 2008 21:44:19 +0000 (21:44 -0000)]
passing this one

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

16 years agofix lifted only user defined unary operators
Jb Evain [Thu, 5 Jun 2008 21:43:54 +0000 (21:43 -0000)]
fix lifted only user defined unary operators

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

16 years agocomplete
Jb Evain [Thu, 5 Jun 2008 21:38:21 +0000 (21:38 -0000)]
complete

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

16 years ago2008-06-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 5 Jun 2008 21:31:32 +0000 (21:31 -0000)]
2008-06-05  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: Correctly get converters for FormattedValue.
Use Format/FormatProvider before trying converters.
* DataGridViewCellStyle.cs: ApplyStyle should only apply things that
are 'set'.  Change constructor to not use ApplyStyle since it wants
everything applied.  Clone the Font.
* DataGridViewRowHeaderCell.cs: Start with DefaultCellStyle and
ApplyStyle the rest.

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

16 years agooops
Jb Evain [Thu, 5 Jun 2008 21:23:15 +0000 (21:23 -0000)]
oops

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

16 years agonew test
Jb Evain [Thu, 5 Jun 2008 21:22:06 +0000 (21:22 -0000)]
new test

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

16 years ago2008-06-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 5 Jun 2008 21:06:56 +0000 (21:06 -0000)]
2008-06-05 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Kill stack_get function.

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

16 years agowe pass this guy
Jb Evain [Thu, 5 Jun 2008 20:54:19 +0000 (20:54 -0000)]
we pass this guy

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

16 years agofix loading of initializers
Jb Evain [Thu, 5 Jun 2008 20:53:57 +0000 (20:53 -0000)]
fix loading of initializers

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

16 years agonew test
Jb Evain [Thu, 5 Jun 2008 20:47:02 +0000 (20:47 -0000)]
new test

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

16 years ago2008-06-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 5 Jun 2008 20:22:53 +0000 (20:22 -0000)]
2008-06-05 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_method_verify): Last change broke the build. Fixed.

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

16 years ago2008-06-05 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 5 Jun 2008 20:11:17 +0000 (20:11 -0000)]
2008-06-05  Jonathan Chambers  <joncham@gmail.com>

* Makefile.am: Disable async-exc-compilation.exe on Win32 as it is
hanging the runtime tests.

Code is contributed under MIT/X11 license.

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

16 years ago2008-06-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 5 Jun 2008 20:04:37 +0000 (20:04 -0000)]
2008-06-05  Zoltan Varga  <vargaz@gmail.com>

* tramp-*.c (mono_arch_get_unbox_trampoline): No need to check for ret->byref,
MONO_TYPE_ISSTRUCT already checks for it.

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

16 years ago2008-06-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 5 Jun 2008 19:47:23 +0000 (19:47 -0000)]
2008-06-05 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (verify_type_compatibility_full): Make SZARRAY checks
more reliable.

* verify.c (mono_method_verify): Inflate params and locals to avoid
mismatch when checking for compatibility.

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

16 years ago2008-06-05 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 5 Jun 2008 19:33:47 +0000 (19:33 -0000)]
2008-06-05  Jb Evain  <jbevain@novell.com>

* get.c (get_token): properly stringify tokens that
are methoddefs.

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

16 years agodead code
Jb Evain [Thu, 5 Jun 2008 18:58:14 +0000 (18:58 -0000)]
dead code

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

16 years agooh the joy of deleting code
Jb Evain [Thu, 5 Jun 2008 18:30:44 +0000 (18:30 -0000)]
oh the joy of deleting code

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

16 years agopass
Jb Evain [Thu, 5 Jun 2008 18:28:19 +0000 (18:28 -0000)]
pass

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

16 years agofix convert checked for nullable to not nullable
Jb Evain [Thu, 5 Jun 2008 18:27:56 +0000 (18:27 -0000)]
fix convert checked for nullable to not nullable

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

16 years ago2008-06-05 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 5 Jun 2008 18:18:19 +0000 (18:18 -0000)]
2008-06-05  Jonathan Chambers  <joncham@gmail.com>

        * metadata.c (mono_string_from_bstr): Fix BSTR marshalling.
        Length prefix should be size in bytes. Fix bug #339530.

        * metadata.c (mono_string_to_bstr): Fix BSTR marshalling.
        Length prefix should be size in bytes. Fix bug #339530.

        Code is contributed under MIT/X11 license.

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

16 years agonew test
Jb Evain [Thu, 5 Jun 2008 18:17:36 +0000 (18:17 -0000)]
new test

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

16 years agopassing those
Jb Evain [Thu, 5 Jun 2008 18:00:55 +0000 (18:00 -0000)]
passing those

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

16 years ago2008-06-05 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 5 Jun 2008 18:00:16 +0000 (18:00 -0000)]
2008-06-05  Jb Evain  <jbevain@novell.com>

* Expression.cs (GetUserConversionMethod): check for convertion
operators on both types.

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

16 years agonew tests
Jb Evain [Thu, 5 Jun 2008 17:46:45 +0000 (17:46 -0000)]
new tests

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

16 years agofix NegateChecked to be actually checked
Jb Evain [Thu, 5 Jun 2008 17:32:10 +0000 (17:32 -0000)]
fix NegateChecked to be actually checked

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

16 years agofix typo
Jb Evain [Thu, 5 Jun 2008 17:20:50 +0000 (17:20 -0000)]
fix typo

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

16 years ago2008-06-05 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 5 Jun 2008 16:36:55 +0000 (16:36 -0000)]
2008-06-05  Bill Holmes <billholmes54@gmail.com>

ChangeLog:  I messed up some chars in my last commit.

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

16 years agowe pass those
Jb Evain [Thu, 5 Jun 2008 16:33:49 +0000 (16:33 -0000)]
we pass those

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

16 years agofix separate relational cases
Jb Evain [Thu, 5 Jun 2008 16:33:31 +0000 (16:33 -0000)]
fix separate relational cases

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

16 years ago2008-06-05 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 5 Jun 2008 16:13:46 +0000 (16:13 -0000)]
2008-06-05  Bill Holmes  <billholmes54@gmail.com>
* libtest.c, Makefile.am, winx64structs.cs :
  Adding marshaling tests for structs.  These tests
  represent the different cases to consider on Winx64.

Contributed under MIT/X11 license.

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

16 years ago2008-06-05 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 5 Jun 2008 16:12:26 +0000 (16:12 -0000)]
2008-06-05  Bill Holmes  <billholmes54@gmail.com>

* mini-amd64.c:merge_argument_class_from_type: When marshaling
  structs with floats on Winx64 the float registers are not used.
  The integer registers are always used..
* mini-amd64.c:add_valuetype:  When marshaling structs on Winx64
  only one register will be used and only if the size of the struct
  is 1,2,4, or 8 bytes.

* tramp-amd64.c :  Adjusting size used for mono_global_codeman_reserve
  to work for Winx64.

Contributed under MIT/X11 license.

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

16 years ago2008-06-05 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 5 Jun 2008 16:11:40 +0000 (16:11 -0000)]
2008-06-05  Bill Holmes <billholmes54@gmail.com>

* decimal.c:  Adding MSVC implementation to my_g_bit_nth_msf.

Contributed under MIT/X11 license.

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

16 years ago2008-06-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 5 Jun 2008 15:57:40 +0000 (15:57 -0000)]
2008-06-05  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c
(mono_debugger_check_breakpoints): Reflect latest runtime changes.

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

16 years ago2008-06-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 5 Jun 2008 15:56:58 +0000 (15:56 -0000)]
2008-06-05  Martin Baulig  <martin@ximian.com>

* debug-debugger.c (debugger_lookup_class): Also call
mono_class_setup_methods() here; we're only called from RTI.

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

16 years agothat was so wrong
Jb Evain [Thu, 5 Jun 2008 15:35:19 +0000 (15:35 -0000)]
that was so wrong

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

16 years agowe pass those
Jb Evain [Thu, 5 Jun 2008 15:34:25 +0000 (15:34 -0000)]
we pass those

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

16 years agoimplement compilation of not lifted user defined logical operator
Jb Evain [Thu, 5 Jun 2008 15:34:07 +0000 (15:34 -0000)]
implement compilation of not lifted user defined logical operator

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

16 years agoblah
Jb Evain [Thu, 5 Jun 2008 15:33:22 +0000 (15:33 -0000)]
blah

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

16 years agonew tests
Jb Evain [Thu, 5 Jun 2008 15:01:59 +0000 (15:01 -0000)]
new tests

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

16 years ago2008-06-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 5 Jun 2008 14:48:08 +0000 (14:48 -0000)]
2008-06-05  Zoltan Varga  <vargaz@gmail.com>

* assembly.c (mono_assembly_load_from_full): Avoid calling the search hooks
while holding the assemblies lock to prevent deadlocks. Handle the case
where the search hook returns NULL but the assembly was still loaded.
Fixes #323696.

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