Atsushi Eno [Mon, 9 Jun 2008 11:46:17 +0000 (11:46 -0000)]
2008-06-09 Atsushi Enomoto <atsushi@ximian.com>
* ISO2022JP.cs : handle ESC-J sequence which is obsoleted in
JIS X 0213. Fixed bug #398273.
* I18N.CJK.Test.cs : added test for bug #398273.
svn path=/trunk/mcs/; revision=105299
Jb Evain [Mon, 9 Jun 2008 11:40:48 +0000 (11:40 -0000)]
don't use CreateInstance missing in SL2
svn path=/trunk/mcs/; revision=105297
Jb Evain [Mon, 9 Jun 2008 11:23:37 +0000 (11:23 -0000)]
remove use of methods not present in SL2
svn path=/trunk/mcs/; revision=105294
Marek Safar [Mon, 9 Jun 2008 11:21:46 +0000 (11:21 -0000)]
New test.
svn path=/trunk/mcs/; revision=105293
Marek Safar [Mon, 9 Jun 2008 11:21:31 +0000 (11:21 -0000)]
2008-06-09 Marek Safar <marek.safar@gmail.com>
A fix for bug #397068
* expression.cs: Check both operand types when predefined operator is used.
svn path=/trunk/mcs/; revision=105292
Marek Safar [Mon, 9 Jun 2008 09:51:00 +0000 (09:51 -0000)]
Unregister fixed tests.
svn path=/trunk/mcs/; revision=105289
Atsushi Eno [Mon, 9 Jun 2008 09:03:08 +0000 (09:03 -0000)]
2008-06-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader.cs : when Normalized is true, '<' after \r which
comes after text node was incorrectly consumed as a text content.
Fixed bug #398374.
* XmlTextReaderTests.cs : added test for bug #398374.
svn path=/trunk/mcs/; revision=105288
Jb Evain [Mon, 9 Jun 2008 08:42:21 +0000 (08:42 -0000)]
fix expected values
svn path=/trunk/mcs/; revision=105287
Miguel de Icaza [Mon, 9 Jun 2008 04:46:08 +0000 (04:46 -0000)]
Update README
svn path=/trunk/mono/; revision=105285
Andreia Gaita [Mon, 9 Jun 2008 02:27:02 +0000 (02:27 -0000)]
* tools/xpidl2cs/xpidl2cs.pl: Add more type conversions. Add support
for out-parameter-as-return-value signature type (doesn't add the
PreserveSigAttribute)
2008-06-09 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=105280
Zoltan Varga [Mon, 9 Jun 2008 02:20:21 +0000 (02:20 -0000)]
2008-06-09 Zoltan Varga <vargaz@gmail.com>
* threads.c (start_wrapper): Call mono_monitor_init_tls ().
(mono_thread_attach): Ditto.
* monitor.c: Use a TLS variable for holding the current thread id instead
of calling pthread_self ().
(mono_monitor_init_tls): New internal function to initialize the TLS
variable.
(mono_monitor_try_enter_internal): Put the owner == id check after the
owner == 0 check.
* object-internals.h (_G_BOOLEAN_EXPR): Redefine this glib macro to avoid
missed optimizations when using gcc-4.3.
svn path=/trunk/mono/; revision=105279
Miguel de Icaza [Mon, 9 Jun 2008 01:05:40 +0000 (01:05 -0000)]
remove debug info
svn path=/trunk/mcs/; revision=105276
Rodrigo Kumpera [Sun, 8 Jun 2008 23:46:18 +0000 (23:46 -0000)]
2008-06-08 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (mono_dynamic_image_free): Free the memory
used by MonoGenericParam in MonoDynamicImage::gen_param.
* reflection.c (mono_reflection_setup_generic_class): Allocate
container from mempool.
* reflection.c (mono_reflection_initialize_generic_parameter): Allocate
container from mempool.
svn path=/trunk/mono/; revision=105273
Gert Driesen [Sun, 8 Jun 2008 21:11:28 +0000 (21:11 -0000)]
* HtmlAnchor.cs: Do not render empty name, target or title attribute.
Removed extra check for target attribute in RenderAttributes. Use
string.Empty instead of "", and check string's Length instead of
comparison with "" or string.Empty. Minor code formatting.
* HtmlAnchorTest.cs: Added RenderAttributes tests for empty or null
HRef, Name, Target and Title.
svn path=/trunk/mcs/; revision=105270
Gert Driesen [Sun, 8 Jun 2008 20:50:48 +0000 (20:50 -0000)]
* PageInvoker.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=105266
Gert Driesen [Sun, 8 Jun 2008 20:49:43 +0000 (20:49 -0000)]
* WebTest.cs: Fixed compilation using csc 1.x.
svn path=/trunk/mcs/; revision=105264
Miguel de Icaza [Sun, 8 Jun 2008 16:46:53 +0000 (16:46 -0000)]
2008-06-08 Miguel de Icaza <miguel@novell.com>
* ResponseStream.cs: Do not Close the HttpResponse object here as
it is possible to issue multiple OutputStream.Close calls (they
actually happen implicitly through things like StreamWriter.Close,
and they are in various MSDN samples).
2008-05-28 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
svn path=/trunk/mcs/; revision=105259
Jb Evain [Sun, 8 Jun 2008 13:25:02 +0000 (13:25 -0000)]
remove warning
svn path=/trunk/mcs/; revision=105258
Jb Evain [Sun, 8 Jun 2008 12:07:59 +0000 (12:07 -0000)]
test only methods declared in the tester
svn path=/trunk/mcs/; revision=105257
Zoltan Varga [Sun, 8 Jun 2008 11:37:39 +0000 (11:37 -0000)]
2008-06-08 Zoltan Varga <vargaz@gmail.com>
* trace.c (mono_trace_parse_options): Fix warnings.
svn path=/trunk/mono/; revision=105256
Zoltan Varga [Sun, 8 Jun 2008 11:33:00 +0000 (11:33 -0000)]
2008-06-08 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c: Revert most of the last patch for now as it breaks the build.
svn path=/trunk/mono/; revision=105255
Marek Safar [Sat, 7 Jun 2008 23:03:04 +0000 (23:03 -0000)]
SetCompilerGenerated is nonsense
svn path=/trunk/mcs/; revision=105252
Marek Safar [Sat, 7 Jun 2008 22:05:39 +0000 (22:05 -0000)]
New test.
svn path=/trunk/mcs/; revision=105251
Marek Safar [Sat, 7 Jun 2008 22:04:56 +0000 (22:04 -0000)]
2008-06-07 Marek Safar <marek.safar@gmail.com>
* Array.cs (IndexOf, LastIndexOf): Fixed more array element comparers used
instead of tested value comparers.
svn path=/trunk/mcs/; revision=105250
Zoltan Varga [Sat, 7 Jun 2008 21:26:19 +0000 (21:26 -0000)]
2008-06-07 Zoltan Varga <vargaz@gmail.com>
* mini.c (remove_block_if_useless): Avoid printing the method name.
svn path=/trunk/mono/; revision=105247
Zoltan Varga [Sat, 7 Jun 2008 21:24:51 +0000 (21:24 -0000)]
2008-06-07 Zoltan Varga <vargaz@gmail.com>
* mini.c: Remove needless setting of ins->cil_code which is now done by
MONO_INST_NEW.
svn path=/trunk/mono/; revision=105246
Jb Evain [Sat, 7 Jun 2008 18:18:26 +0000 (18:18 -0000)]
inline
svn path=/trunk/mcs/; revision=105245
Jb Evain [Sat, 7 Jun 2008 18:09:38 +0000 (18:09 -0000)]
we pass those
svn path=/trunk/mcs/; revision=105244
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
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
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
Jb Evain [Sat, 7 Jun 2008 15:59:25 +0000 (15:59 -0000)]
passing those
svn path=/trunk/mcs/; revision=105236
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
Jb Evain [Sat, 7 Jun 2008 15:27:27 +0000 (15:27 -0000)]
new tests
svn path=/trunk/mcs/; revision=105233
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
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
Martin Baulig [Sat, 7 Jun 2008 09:28:00 +0000 (09:28 -0000)]
Bump minor version.
svn path=/trunk/mcs/; revision=105227
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jb Evain [Thu, 5 Jun 2008 22:09:09 +0000 (22:09 -0000)]
fixed
svn path=/trunk/mcs/; revision=105125
Jb Evain [Thu, 5 Jun 2008 22:06:53 +0000 (22:06 -0000)]
passing this one
svn path=/trunk/mcs/; revision=105124
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
Jb Evain [Thu, 5 Jun 2008 22:00:50 +0000 (22:00 -0000)]
new test
svn path=/trunk/mcs/; revision=105122
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
Jb Evain [Thu, 5 Jun 2008 21:47:14 +0000 (21:47 -0000)]
temporary excluse test
svn path=/trunk/mcs/; revision=105120
Jb Evain [Thu, 5 Jun 2008 21:44:19 +0000 (21:44 -0000)]
passing this one
svn path=/trunk/mcs/; revision=105118
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
Jb Evain [Thu, 5 Jun 2008 21:38:21 +0000 (21:38 -0000)]
complete
svn path=/trunk/mcs/; revision=105116
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
Jb Evain [Thu, 5 Jun 2008 21:23:15 +0000 (21:23 -0000)]
oops
svn path=/trunk/mcs/; revision=105114
Jb Evain [Thu, 5 Jun 2008 21:22:06 +0000 (21:22 -0000)]
new test
svn path=/trunk/mcs/; revision=105113
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
Jb Evain [Thu, 5 Jun 2008 20:54:19 +0000 (20:54 -0000)]
we pass this guy
svn path=/trunk/mcs/; revision=105109
Jb Evain [Thu, 5 Jun 2008 20:53:57 +0000 (20:53 -0000)]
fix loading of initializers
svn path=/trunk/mcs/; revision=105108
Jb Evain [Thu, 5 Jun 2008 20:47:02 +0000 (20:47 -0000)]
new test
svn path=/trunk/mcs/; revision=105106
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
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
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