Marek Habersack [Mon, 15 Dec 2008 22:36:35 +0000 (22:36 -0000)]
2008-12-15 Marek Habersack <mhabersack@novell.com>
* data/Makefile.am (EXTRA_DIST): added
system.web.extensions_1.0.pc.in. Also added to pkgconfig_DATA
* data/system.web.extensions_1.0.pc.in: added. This file serves
the purpose of making MonoDevelop see the 1.0 version of the
System.Web.Extensions assembly in the project references
editor. This will also make legacy 2.0 ASP.NET apps not fail when
they reference the 1.0 version of the assembly in their project
files.
* configure.in: added data/system.web.extensions_1.0.pc to AC_OUTPUT
svn path=/trunk/mono/; revision=121557
Marek Habersack [Mon, 15 Dec 2008 21:42:52 +0000 (21:42 -0000)]
Reverting r121536
svn path=/trunk/mcs/; revision=121552
Marek Habersack [Mon, 15 Dec 2008 19:16:27 +0000 (19:16 -0000)]
2008-12-15 Marek Habersack <mhabersack@novell.com>
* Configuration.cs: do not reset empty sections - it results in
the elements from the parent sections being re-added to the
current section with their default values which, in turn, can lead
to duplicate keys being added to the collections in some cases.
svn path=/trunk/mcs/; revision=121536
Brad Taylor [Mon, 15 Dec 2008 19:02:41 +0000 (19:02 -0000)]
2008-12-15 Brad Taylor <brad@getcoded.net>
* ToolStripItem.cs: Add a UIA specific event for listening for when a
ToolStripItem becomes selected or deselected.
svn path=/trunk/mcs/; revision=121534
Atsushi Eno [Mon, 15 Dec 2008 10:49:12 +0000 (10:49 -0000)]
2008-12-15 Atsushi Enomoto <atsushi@ximian.com>
* import-subst-dbr-base.xsd, import-subst-dbr-ext.xsd :
new test files.
svn path=/trunk/mcs/; revision=121510
Atsushi Eno [Mon, 15 Dec 2008 10:39:00 +0000 (10:39 -0000)]
2008-12-15 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchema.cs, XmlSchemaSet.cs : move substitutionGroup processing
from validation phase to post-subset-collection phase. It caused
inconsistent substitutionGroup processing among import and
schemaSet.Schemas(). Fixed possible XBRL schema processing.
* XmlSchemaSetTests.cs : added test for Compile() after "duplicating"
call to Add() for such schemas that also have xs:import of the
same schema that causes errors on processing substitutionGroup.
svn path=/trunk/mcs/; revision=121509
Carlos Alberto Cortez [Mon, 15 Dec 2008 09:36:58 +0000 (09:36 -0000)]
2008-12-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MonthCalendar.cs: Select the date in MouseDown, not in MouseUp, as
.net does. Use the date in the point of the mouse move coords as the
new range as well, if the left button of the mouse is being pressed.
Fixes #364914.
svn path=/trunk/mcs/; revision=121507
Zoltan Varga [Sun, 14 Dec 2008 09:44:51 +0000 (09:44 -0000)]
2008-12-14 Zoltan Varga <vargaz@gmail.com>
* liveness.c (mono_analyze_liveness): Avoid eliminating the 'this' var in
gshared code. Fixes #458947.
* generics.cs: Add a test.
svn path=/trunk/mono/; revision=121496
Mark Mason [Sat, 13 Dec 2008 06:58:32 +0000 (06:58 -0000)]
2008-12-12 Mark Mason <mmason@upwardaccess.com>
* method-to-ir.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER
* where needed.
* mini-mips.c: first pass n32 code generation.
* mini-mips.h: datatypes and defines for n32 support.
* exceptions-mips.c: first pass n32 code generation.
* tramp-mips.c: first pass n32 code generation.
* cpu-mips.md: add long_ opcodes.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121489
Mark Mason [Sat, 13 Dec 2008 06:54:25 +0000 (06:54 -0000)]
2008-12-12 Mark Mason <mmason@upwardaccess.com>
* mips/mips-codegen.h: Changes to support n32.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121488
Mark Mason [Sat, 13 Dec 2008 06:48:38 +0000 (06:48 -0000)]
2008-12-12 Mark Mason <mmason@upwardaccess.com>
* liveness.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* cfold.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* local-propogation.c: replace SIZEOF_VOID_P with
* SIZEOF_REGISTER where needed.
* regalloc2.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* mini.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* mini-codegen.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER
* where needed.
* ssa.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* decompose.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* helpers.c: for mips/n32, don't pass -mips32 to objdump
Some of the simpler changes of SIZEOF_VOID_P to SIZEOF_REGISTER. Tested
on mips/o32, mips/n32 and x86.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121487
Gonzalo Paniagua Javier [Sat, 13 Dec 2008 01:51:41 +0000 (01:51 -0000)]
2008-12-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SqlParameter.cs: use the underlying type when inferring the type for
enumerations.
svn path=/trunk/mcs/; revision=121485
Mark Mason [Sat, 13 Dec 2008 00:09:56 +0000 (00:09 -0000)]
2008-12-12 Mark Mason <mmason@upwardaccess.com>
* metadata.c (mono_type_stack_size_internal): If SIZEOF_REGISTER > SIZEOF_VOID_P then use SIZEOF_REGISTER as the size and alignment of the stack slots.
Contributed under the MIT X11 license
svn path=/trunk/mono/; revision=121482
Gonzalo Paniagua Javier [Fri, 12 Dec 2008 22:19:07 +0000 (22:19 -0000)]
2008-12-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-perfcounters.c: avoid warning.
svn path=/trunk/mono/; revision=121472
Zoltan Varga [Fri, 12 Dec 2008 19:49:41 +0000 (19:49 -0000)]
2008-12-12 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c tramp-arm.c: Fix calls to mono_arch_flush_icache.
svn path=/trunk/mono/; revision=121457
Andrés G. Aragoneses [Fri, 12 Dec 2008 19:31:11 +0000 (19:31 -0000)]
* driver.c: Sync --help-trace with man page (EXPR,EXPR).
svn path=/trunk/mono/; revision=121456
Rodrigo Kumpera [Fri, 12 Dec 2008 19:30:07 +0000 (19:30 -0000)]
2008-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* bug-389886-sre-generic-interface-instances.cs: New regression test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=121455
Rodrigo Kumpera [Fri, 12 Dec 2008 19:29:56 +0000 (19:29 -0000)]
2008-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (ensure_runtime_vtable): Work on generic instances and
make sure all interfaces have MonoClass::interface_id set.
* reflection.c (ensure_generic_class_runtime_vtable): Ensure the
method table is property set.
svn path=/trunk/mono/; revision=121454
Rodrigo Kumpera [Fri, 12 Dec 2008 19:29:46 +0000 (19:29 -0000)]
2008-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* class.c: New function mono_class_setup_interface_id that setup
MonoClass::interface_id if needed.
* class-internals.h: Export new function.
svn path=/trunk/mono/; revision=121453
Rodrigo Kumpera [Fri, 12 Dec 2008 19:29:37 +0000 (19:29 -0000)]
2008-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* class.c: Add code to sanity check the vtable after setup_vtable_general
has done it's work.
svn path=/trunk/mono/; revision=121452
Mark Probst [Fri, 12 Dec 2008 19:23:58 +0000 (19:23 -0000)]
2008-12-12 Mark Probst <mark.probst@gmail.com>
* mini-porting.txt: Added some details about function descriptors
and emulated opcodes.
svn path=/trunk/mono/; revision=121451
Mark Probst [Fri, 12 Dec 2008 19:22:38 +0000 (19:22 -0000)]
2008-12-12 Mark Probst <mark.probst@gmail.com>
* mini-ppc.h, exceptions-ppc.c, tramp-ppc.c: Create function
descriptors for helper functions directly in front of the code.
svn path=/trunk/mono/; revision=121450
Raja R Harinath [Fri, 12 Dec 2008 18:39:50 +0000 (18:39 -0000)]
* rules.make (topdir): Don't use $(shell ...).
Reported by Jonathan Chambers.
svn path=/trunk/mcs/; revision=121446
Ankit Jain [Fri, 12 Dec 2008 16:43:56 +0000 (16:43 -0000)]
In class/Microsoft.Build.Tasks:
* Microsoft.Build.Tasks_test.dll.sources: Added
CreateCSharpManifestResourceNameTest.cs
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* CreateManifestResourceName.cs: Implement.
* CreateCSharpManifestResourceName.cs: Implement.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CreateCSharpManifestResourceNameTest.cs: New.
In tools/xbuild:
* Microsoft.CSharp.targets: Add CreateCSharpManifestResourceName task.
svn path=/trunk/mcs/; revision=121439
Massimiliano Mantione [Fri, 12 Dec 2008 15:14:25 +0000 (15:14 -0000)]
Proper remember already opened ELF files, and ensure that the index in the statistical hits never trips over and becomes negative.
svn path=/trunk/mono/; revision=121422
Massimiliano Mantione [Fri, 12 Dec 2008 15:14:21 +0000 (15:14 -0000)]
Added defaults to command line options.
svn path=/trunk/mono/; revision=121421
Carlos Alberto Cortez [Fri, 12 Dec 2008 11:51:39 +0000 (11:51 -0000)]
2008-12-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MonthCalendar.cs: When modifying either AnnuallyBoldedDates,
MonthlyBoldedDates or BoldedDates call UpdateBoldedDates, to
effectively repaint the control.
Fixes the remaining bits of #417961.
svn path=/trunk/mcs/; revision=121416
Carlos Alberto Cortez [Fri, 12 Dec 2008 11:09:57 +0000 (11:09 -0000)]
2008-12-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MonthCalendar.cs: When setting MaxDate/MinDate, adjust the selected
range to contain only dates within the new possible range.
Fixes part of #417961.
svn path=/trunk/mcs/; revision=121414
Marek Safar [Fri, 12 Dec 2008 10:10:56 +0000 (10:10 -0000)]
New tests.
svn path=/trunk/mcs/; revision=121410
Marek Safar [Fri, 12 Dec 2008 10:10:39 +0000 (10:10 -0000)]
2008-12-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #457489
* anonymous.cs, statement.cs: Split anonymous storey instantiation
and initialization to capture scope initializers correctly.
svn path=/trunk/mcs/; revision=121409
Dean Brettle [Fri, 12 Dec 2008 09:43:04 +0000 (09:43 -0000)]
Changes approved via private email from Marek Habersack <mhabersack@novell.com> on 2008-10-05.
In System.Web.Configuration_2.0:
2008-12-12 Owen Brady <Ocean@owenbrady.net>
* nBrowser/File.cs, nBrowser/Identification.cs, nBrowser/Node.cs, nBrowser/NodeTypes.cs,
nBrowser/Result.cs, nBrowser/Build.cs, nBrowser/Exception.cs, CapabilitiesBuild.cs,
CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
* nBrowser/Build.cs: Removed LoadDefaultEmbeddedResource function, the embeded resource
it is referring too was never included in Mono. And was designed for a free standing
browser identification libary.
* nBrowser/Exception.cs: Removed Compile Attributes and related comments which were left
in from the original free standing browser libary.
* CapabilitiesBuild.cs: Removed Header Checksum related coding since it is not required
for the Mono implementation.
* CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
Removed functions which were designed to make use of features of a embeded browser file which
is not present in Mono.
* CapabilitiesChecksum.cs, RandomRoboBotKeywords.txt: Deleted
In .:
2008-12-12 Dean Brettle <dean@brettle.com>
* System.Web.dll.sources: deleted
System.Web.Configuration_2.0/CapabilitiesChecksum.cs
* Makefile (RESOURCE_FILES_2): deleted
System.Web.Configuration_2.0/RandomRoboBotKeywords.txt
svn path=/trunk/mcs/; revision=121408
Rolf Bjarne Kvinge [Fri, 12 Dec 2008 08:51:43 +0000 (08:51 -0000)]
2008-12-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
* Makefile.am, vbnc.1: Remove vbnc.1. It's living in the
mono-basic module now.
svn path=/trunk/mono/; revision=121406
Gonzalo Paniagua Javier [Thu, 11 Dec 2008 21:06:47 +0000 (21:06 -0000)]
2008-12-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
* icall.c: make Assembly.GetExecutingAssembly work properly when
reflection is used to invoke the method.
Bug #321781 fixed.
svn path=/trunk/mono/; revision=121352
Mark Mason [Thu, 11 Dec 2008 15:24:49 +0000 (15:24 -0000)]
2008-12-11 Mark Mason <mmason@upwardaccess.com>
* configure.in: introduce SIZEOF_REGISTER - usually ==SIZEOF_VOID_P, except on mips/n32
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121295
Mark Probst [Thu, 11 Dec 2008 14:55:41 +0000 (14:55 -0000)]
2008-12-11 Mark Probst <mark.probst@gmail.com>
* metadata/generic-sharing.c: Look for constraints in all type
arguments, not just the first one.
2008-12-11 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c: Removed an unnecessary assertion.
2008-12-11 Mark Probst <mark.probst@gmail.com>
* generic-marshalbyref.2.cs: Test for calls to marshal-by-ref
objects.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=121292
Marek Habersack [Thu, 11 Dec 2008 11:51:44 +0000 (11:51 -0000)]
2008-12-11 Marek Habersack <mhabersack@novell.com>
* MasterPageParser.cs: check if masterType is null before using it
in AddDirective.
svn path=/trunk/mcs/; revision=121287
Carlos Alberto Cortez [Thu, 11 Dec 2008 11:40:54 +0000 (11:40 -0000)]
2008-12-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MaskedTextBoxTest.cs: New test for the Text property.
By Andrus Moor (kobruleht2 at hot.ee).
svn path=/trunk/mcs/; revision=121286
Carlos Alberto Cortez [Thu, 11 Dec 2008 11:37:57 +0000 (11:37 -0000)]
2008-12-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MaskedTextBox.cs: MaskedTextService.Replace doesn't expect the
length of the text, but the end position, so we need to substract 1 to
have a valid value. Also, in the same InputText method, don't use
SelectionLength as the length of the text, since the selected text
could actually be empty, but we need to set the value anyway.
Fixes #457370.
svn path=/trunk/mcs/; revision=121285
Marek Safar [Thu, 11 Dec 2008 11:13:00 +0000 (11:13 -0000)]
New test.
svn path=/trunk/mcs/; revision=121284
Marek Safar [Thu, 11 Dec 2008 11:12:24 +0000 (11:12 -0000)]
2008-12-11 Marek Safar <marek.safar@gmail.com>
* generic.cs, parameter.cs, expression.cs, statement.cs, doc.cs:
ParameterReference refactoring.
svn path=/trunk/mcs/; revision=121283
Gonzalo Paniagua Javier [Thu, 11 Dec 2008 08:46:45 +0000 (08:46 -0000)]
2008-12-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Ping.cs: close the socket in SendPrivileged. Use Buffer.BlockCopy
instead of Array.Copy. Return IPStatus.Unknown instead of throwing an
exception for unknown status codes received.
svn path=/trunk/mcs/; revision=121278
Gonzalo Paniagua Javier [Thu, 11 Dec 2008 04:19:05 +0000 (04:19 -0000)]
2008-12-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* XmlSerializer.cs: updated to work with shadowcopy fixes.
svn path=/trunk/mcs/; revision=121275
Gonzalo Paniagua Javier [Thu, 11 Dec 2008 04:15:11 +0000 (04:15 -0000)]
2008-12-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* appdomain.c: return the correct CodeBase for an Assembly instance
that was loaded from the shadow-copy directories.
Bug #458190 fixed.
svn path=/trunk/mono/; revision=121273
Marek Habersack [Wed, 10 Dec 2008 23:45:04 +0000 (23:45 -0000)]
2008-12-11 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: in the 2.0 profile when a custom control is
registered, do not compile it right away but store the tag name in
a registry to be compiled at a later stage.
2008-12-11 Marek Habersack <mhabersack@novell.com>
* BaseCompiler.cs: added a new method, InitializeType, to be
overriden in child classes when any class initialization needs to
be performed before methods, constructors and fields are created.
* TemplateControlCompiler.cs: if the parser has any custom
controls registered, compile them here - in the InitializeType
method.
svn path=/trunk/mcs/; revision=121262
Zoltan Varga [Wed, 10 Dec 2008 20:12:22 +0000 (20:12 -0000)]
Remove some obsolete FIXMEs.
svn path=/trunk/mono/; revision=121247
Zoltan Varga [Wed, 10 Dec 2008 20:11:49 +0000 (20:11 -0000)]
2008-12-10 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c: Merge SGEN changes from the old JIT.
svn path=/trunk/mono/; revision=121246
Zoltan Varga [Wed, 10 Dec 2008 20:10:10 +0000 (20:10 -0000)]
2008-12-10 Zoltan Varga <vargaz@gmail.com>
* sgen-gc.c (build_nursery_fragments): Clear nursery_next/nursery_frag_real_end.
* sgen-gc.c (check_object): New debugging helper function.
* object.c: Fix calls to mono_value_copy_array ().
svn path=/trunk/mono/; revision=121245
Rodrigo Kumpera [Wed, 10 Dec 2008 19:08:44 +0000 (19:08 -0000)]
2008-12-08 Rodrigo Kumpera <rkumpera@novell.com>
* bug445361.il: New regression test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=121239
Rodrigo Kumpera [Wed, 10 Dec 2008 19:08:24 +0000 (19:08 -0000)]
2008-12-10 Rodrigo Kumpera <rkumpera@novell.com>
class.c (mono_class_setup_fields): It working on an inflated class
first check if the generic definition did init with success.
Fixes #445361.
svn path=/trunk/mono/; revision=121238
Rodrigo Kumpera [Wed, 10 Dec 2008 19:08:15 +0000 (19:08 -0000)]
2008-12-10 Rodrigo Kumpera <rkumpera@novell.com>
pedump.c (main): Fix a warning.
svn path=/trunk/mono/; revision=121237
Bill Holmes [Wed, 10 Dec 2008 18:51:31 +0000 (18:51 -0000)]
2008-12-10 Bill Holmes <billholmes54@gmail.com>
* Variant.cs (SetValue): Changing the behavior for COM object in
VARIANTs to match MS. Also adding support for BStrWrapper,
UnknownWrapper, and DispatchWrapper.
Contributed under MIT/X11 license.
svn path=/trunk/mcs/; revision=121235
Bill Holmes [Wed, 10 Dec 2008 18:49:01 +0000 (18:49 -0000)]
2008-12-10 Bill Holmes <billholmes54@gmail.com>
* object-internals.h : Adding a definition for
MonoReflectionComVisibleAttribute.
* marshal.c (cominterop_com_visible) : Method added to check the
ComVisible attribute of a class.
* marshal.c (cominterop_raise_hr_exception, cominterop_get_interface) :
cominterop_raise_hr_exception added to consolidate common code
to raise hr exceptions.
* marshal.c (cominterop_can_support_dispatch) : Method added to determine
if a managed class should support IDispatch.
* marshal.c
(cominterop_get_idispatch_for_objec, cominterop_ccw_queryinterfacet) :
Added additional checks for managed object when getting
an IDispatch interface.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=121234
Rodrigo Kumpera [Wed, 10 Dec 2008 18:35:24 +0000 (18:35 -0000)]
Revert the last changes in encoding.
svn path=/trunk/mono/; revision=121231
Rodrigo Kumpera [Wed, 10 Dec 2008 18:13:39 +0000 (18:13 -0000)]
2008-12-10 Rodrigo Kumpera <rkumpera@novell.com>
pedump.c (main): Handle mono_get_method () returning NULL.
svn path=/trunk/mono/; revision=121229
Zoltan Varga [Wed, 10 Dec 2008 18:06:32 +0000 (18:06 -0000)]
2008-12-10 Zoltan Varga <vargaz@gmail.com>
* driver.c (compile_all_methods_thread_main): Handle failure of
mono_get_method ().
svn path=/trunk/mono/; revision=121227
Jb Evain [Wed, 10 Dec 2008 18:04:09 +0000 (18:04 -0000)]
update project to vs2008
svn path=/trunk/mcs/; revision=121225
Carlos Alberto Cortez [Wed, 10 Dec 2008 11:33:16 +0000 (11:33 -0000)]
2008-12-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TextBox.cs: Don't do any auto complete task if the custom source is
null or empty. Also avoid duplication of code.
Fixes #457743.
svn path=/trunk/mcs/; revision=121208
Mark Probst [Wed, 10 Dec 2008 09:33:57 +0000 (09:33 -0000)]
2008-12-10 Mark Probst <mark.probst@gmail.com>
* mini-ppc.c: Merged with mini-ppc64.c.
* mini-ppc.h: Define PPC_MINIMAL_PARAM_AREA_SIZE on all targets.
* Makefile.am: Use the same sources for PPC and PPC64.
* mini-ppc64.c: Removed.
2008-12-10 Mark Probst <mark.probst@gmail.com>
* ppc/ppc-codegen.h: A few new macros for the final PPC/PPC64
merge.
svn path=/trunk/mono/; revision=121203
Gonzalo Paniagua Javier [Wed, 10 Dec 2008 07:11:20 +0000 (07:11 -0000)]
2008-12-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
* XhtmlTextWriter.cs: don't recreate the Hashtables every time, but
Clone the defaults.
svn path=/trunk/mcs/; revision=121197
Atsushi Eno [Wed, 10 Dec 2008 02:24:12 +0000 (02:24 -0000)]
2008-12-10 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : remove sys.messaging from CENTUM_TESTS. It has never
been supported, and now, it's heavily developed.
svn path=/trunk/mcs/; revision=121185
Atsushi Eno [Wed, 10 Dec 2008 02:20:44 +0000 (02:20 -0000)]
fix float test that has wrong value (exposed by nunit24).
svn path=/trunk/mcs/; revision=121183
Atsushi Eno [Wed, 10 Dec 2008 02:06:14 +0000 (02:06 -0000)]
2008-12-10 Atsushi Enomoto <atsushi@ximian.com>
* TestGraphics.cs, GDIPlusTest.cs : fix tests wrt rounding that
were failing on .NET too (exposed by nunit24).
* LinearGradientBrushTest.cs, GraphicsPathTest.cs,
TestMatrix.cs : fix tests wrt rounding that were failing on .NET
too (exposed by nunit24).
svn path=/trunk/mcs/; revision=121182
Marek Habersack [Wed, 10 Dec 2008 02:03:35 +0000 (02:03 -0000)]
2008-12-10 Marek Habersack <mhabersack@novell.com>
* MasterPageParser.cs: do not compile anything while
parsing. MasterType virtual path is not compiled, but stored for
later. It is compiled when the MasterType property is requested
from within MasterPageCompiler.
* PageParser.cs: do not compile anything while
parsing. MasterPageFile, MasterType and PreviousPageType virtual
paths aren't compiled but checked for existence and stored for
later. Actual compilation happens when the MasterType and
PreviousPageType are requested from within PageCompiler.
* BaseParser.cs: added a new helper method, ThrowParseFileNotFound.
2008-12-10 Marek Habersack <mhabersack@novell.com>
* ParseException.cs: made serializable.
* PageCompiler.cs: CreateStronglyTypedProperty calls
AddReferencedAssembly to add type's assembly to the unit's
references after the typed property has been created.
* BaseCompiler.cs: added a new helper method,
AddReferencedAssembly to be used whenever an assembly location
needs to be added to the compilation unit's list after the parsing
is done (e.g. when processing PreviousPageType or MasterPageType
properties in PageParser)
2008-12-10 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/MissingMasterFile.aspx
* System.Web_test.dll.sources: added System.Web.UI/PageParserTest.cs
2008-12-10 Marek Habersack <mhabersack@novell.com>
* NunitWebResources/MissingMasterFile.aspx: added
2008-12-10 Marek Habersack <mhabersack@novell.com>
* PageParserTest.cs: added
svn path=/trunk/mcs/; revision=121181
Atsushi Eno [Wed, 10 Dec 2008 00:53:33 +0000 (00:53 -0000)]
2008-12-10 Atsushi Enomoto <atsushi@ximian.com>
* BinaryReaderTest.cs : fix tests that are also failing under .NET
(Exposed by nunit24).
svn path=/trunk/mcs/; revision=121179
Atsushi Eno [Wed, 10 Dec 2008 00:42:43 +0000 (00:42 -0000)]
2008-12-10 Atsushi Enomoto <atsushi@ximian.com>
* library.make : enable FIXTURE and TESTNAME on run-test-ondotnet.
svn path=/trunk/mcs/; revision=121178
Rodrigo Kumpera [Tue, 9 Dec 2008 23:38:47 +0000 (23:38 -0000)]
2008-12-09 Rodrigo Kumpera <rkumpera@novell.com>
* branch-opts.c (remove_block_if_useless): Extract fall through detection
code to mono_bb_is_fall_through.
* branch-opts.c (mono_remove_critical_edges): Same.
svn path=/trunk/mono/; revision=121176
Rodrigo Kumpera [Tue, 9 Dec 2008 23:38:40 +0000 (23:38 -0000)]
2008-12-09 Rodrigo Kumpera <rkumpera@novell.com>
* ssa.c (fold_ins): branch opt can kill dummy switch ops so we can't
expect that an OP_BR_REG will be there.
svn path=/trunk/mono/; revision=121175
Rodrigo Kumpera [Tue, 9 Dec 2008 23:38:38 +0000 (23:38 -0000)]
2008-12-08 Rodrigo Kumpera <rkumpera@novell.com>
* bug457574.il: New regression test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=121174
Rodrigo Kumpera [Tue, 9 Dec 2008 23:38:32 +0000 (23:38 -0000)]
2008-12-09 Rodrigo Kumpera <rkumpera@novell.com>
* branch-opts.c (remove_block_if_useless): Use MONO_IS_BRANCH_OP instead of checking
for the many branch ops. The original check miss OP_BR_REG.
Fixes #457574.
svn path=/trunk/mono/; revision=121173
Christian Hergert [Tue, 9 Dec 2008 23:32:18 +0000 (23:32 -0000)]
2008-12-09 Christian Hergert <christian.hergert@gmail.com>
* System/Test/System.Diagnostics/CounterCreationDataTest.cs: Test to verify CounterHelp defaults to String.Empty.
* System/System.Diagnostics/CounterCreationData.cs: Default CounterHelp to String.Empty.
svn path=/trunk/mcs/; revision=121172
Ivan Zlatev [Tue, 9 Dec 2008 22:31:22 +0000 (22:31 -0000)]
2008-12-09 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Refresh column sizes when new rows are added.
[Fixes bug #457050]
svn path=/trunk/mcs/; revision=121169
Mark Mason [Tue, 9 Dec 2008 20:49:27 +0000 (20:49 -0000)]
2008-12-09 Mark Mason <mmason@upwardaccess.com>
* mini-mips.h mini-mips.c exceptions-mips.c tramp-mips.c: first round of changes necessary to eventually support n32.
svn path=/trunk/mono/; revision=121160
Zoltan Varga [Tue, 9 Dec 2008 20:11:00 +0000 (20:11 -0000)]
2008-12-09 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (load_method): Avoid calling decode_exception_debug_info
while holding the aot lock.
svn path=/trunk/mono/; revision=121150
Carlos Alberto Cortez [Tue, 9 Dec 2008 19:57:18 +0000 (19:57 -0000)]
2008-12-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RichTextBox.cs: When parsing the contents of a rtf file, don't call
Split to create a line - we are already doing this, by _adding_ a new
one when rtf_cursor_x is 0 (this field gets this value just after we
receive the newline param as true). This avoids having a proportional number
of empty lines in the end of the rich text box.
Fixes #396664.
svn path=/trunk/mcs/; revision=121149
Carlos Alberto Cortez [Tue, 9 Dec 2008 19:50:34 +0000 (19:50 -0000)]
2008-12-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RichTextBox.cs: When saving the contents as a plain text, don't add
a new line for every Line structure, since the data in Document
already contains the new line characters. This avoids duplicated new
lines using the Save methods.
Fixes #445618.
svn path=/trunk/mcs/; revision=121147
Zoltan Varga [Tue, 9 Dec 2008 19:39:07 +0000 (19:39 -0000)]
2008-12-09 Zoltan Varga <vargaz@gmail.com>
* marshal.h: Fix a warning.
svn path=/trunk/mono/; revision=121146
Sandy Armstrong [Tue, 9 Dec 2008 18:35:46 +0000 (18:35 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/TreeView.cs: Expose
ScrollBars as internal properties, for use by UIA framework. Fixes
bug #457678.
svn path=/trunk/mcs/; revision=121134
Mark Mason [Tue, 9 Dec 2008 18:09:30 +0000 (18:09 -0000)]
2008-12-09 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c (mono_arch_output_basic_block): use mfc1/lwc1 instead of mfc1d/ldc1
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121129
Bill Holmes [Tue, 9 Dec 2008 16:54:45 +0000 (16:54 -0000)]
2008-12-09 Bill Holmes <billholmes54@gmail.com>
* marshal.c : Adding cominterop_release_all_rcws to release all
runtime callable wrappers held by the runtime.
* marshal.h : Adding deceleration for cominterop_release_all_rcws.
* mini.c (mini_cleanup) : Adding a call to cominterop_release_all_rcws
to release all runtime callable wrappers held by the runtime.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=121114
Bill Holmes [Tue, 9 Dec 2008 16:43:34 +0000 (16:43 -0000)]
2008-12-09 Bill Holmes <billholmes54@gmail.com>
* tramp-amd64.c (mono_arch_create_trampoline_code_full) : Increase the code size for
for Winx64.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=121112
Bill Holmes [Tue, 9 Dec 2008 16:37:46 +0000 (16:37 -0000)]
2008-12-09 Bill Holmes <billholmes54@gmail.com>
* libmono.vcproj : Adding unwind.c to the project.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=121108
Zoltan Varga [Tue, 9 Dec 2008 16:05:17 +0000 (16:05 -0000)]
2008-12-09 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (decode_exception_debug_info): Acquire the domain
lock when calling mono_domain_alloc (). Hopefully fixes #415608.
svn path=/trunk/mono/; revision=121103
Mark Mason [Tue, 9 Dec 2008 15:09:41 +0000 (15:09 -0000)]
2008-12-09 Mark Mason <mmason@upwardaccess.com>
* cpu-mips.md: fix ckfinite length
* mini-mips.c: at least recognize n32 ABI when used (not yet supported)
(mono_arch_lowering_pass): cleanup, rearrange for clarity
(mono_arch_output_basic_block): implement OP_CKFINITE, add more asserts
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121099
Zoltan Varga [Tue, 9 Dec 2008 14:45:15 +0000 (14:45 -0000)]
2008-12-09 Zoltan Varga <vargaz@gmail.com>
* metadata.c (mono_image_alloc_lock): New helper function.
(mono_image_alloc0_lock): Ditto.
* metadata.c: Use the alloc_lock () helper functions for allocating
memory from the image mempool.
svn path=/trunk/mono/; revision=121097
Atsushi Eno [Tue, 9 Dec 2008 13:47:07 +0000 (13:47 -0000)]
2008-12-09 Atsushi Enomoto <atsushi@ximian.com>
* BasicProfileChecker.cs : reimplemented R2305 that turned out to
be wrong on fixing bug #443095 (fixed).
* 443095.wsdl, WebServicesInteroperabilityTest.cs : added
new test for R2305 checker.
svn path=/trunk/mcs/; revision=121095
Atsushi Eno [Tue, 9 Dec 2008 11:19:20 +0000 (11:19 -0000)]
2008-12-09 Atsushi Enomoto <atsushi@ximian.com>
* XsdValidatingReader.cs : skip text validation under xs:any.
Fixed part of bug #449512.
* XmlSchemaValidator.cs : skip text validation under xs:any.
* XmlValidatingReaderTests.cs : added test for validating mixed
element under xs:any.
svn path=/trunk/mcs/; revision=121093
Atsushi Eno [Tue, 9 Dec 2008 08:20:24 +0000 (08:20 -0000)]
2008-12-09 Atsushi Enomoto <atsushi@ximian.com>
* XslCompiledTransform.cs : Fixed bug #450797, patch by Jonathan
Anderson. Preserve whitespace-only text in xsl:text.
* XslTransformTests.cs : test for bug #450797 by Jonathan Anderson.
svn path=/trunk/mcs/; revision=121083
Atsushi Eno [Tue, 9 Dec 2008 08:12:07 +0000 (08:12 -0000)]
2008-12-09 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : DescendantIterator.Clone() was not cloning current
node in new code. Fixed bug #456103.
* XPathNavigatorTests.cs : added test fo bug #456103.
svn path=/trunk/mcs/; revision=121080
Mark Mason [Tue, 9 Dec 2008 07:43:28 +0000 (07:43 -0000)]
2008-12-08 Mark Mason <mmason@upwardaccess.com>
* exceptions-mips.c (mono_arch_find_jit_info): init new_ctx with ctx, dont' call setup_context.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121078
Geoff Norton [Tue, 9 Dec 2008 03:18:11 +0000 (03:18 -0000)]
2008-12-08 Geoff Norton <gnorton@novell.com>
* tramp-amd64.c: r120895 stores RAX, so we need to increase the window
size by 8 bytes as well.
svn path=/trunk/mono/; revision=121076
Atsushi Eno [Tue, 9 Dec 2008 02:51:11 +0000 (02:51 -0000)]
2008-12-09 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: those paths are all wrong!
svn path=/trunk/mcs/; revision=121074
Atsushi Eno [Tue, 9 Dec 2008 02:13:32 +0000 (02:13 -0000)]
2008-12-09 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: huh, more messy sources.
svn path=/trunk/mcs/; revision=121073
Atsushi Eno [Tue, 9 Dec 2008 00:44:06 +0000 (00:44 -0000)]
2008-12-09 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : sigh, there was missing extension.
svn path=/trunk/mcs/; revision=121067
Marek Habersack [Mon, 8 Dec 2008 23:44:04 +0000 (23:44 -0000)]
2008-12-09 Marek Habersack <mhabersack@novell.com>
* HttpServerUtility.cs: when Execute finishes, clear
Request.QueryStringRaw. Backport of r121010 by Vladimir Krasnov.
svn path=/trunk/mcs/; revision=121064
Rodrigo Kumpera [Mon, 8 Dec 2008 22:25:21 +0000 (22:25 -0000)]
2008-12-08 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Fix method names for Vector16b.
svn path=/trunk/mono/; revision=121061
Rodrigo Kumpera [Mon, 8 Dec 2008 22:25:09 +0000 (22:25 -0000)]
2008-12-08 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Fix method names for Vector16sb.
svn path=/trunk/mono/; revision=121060
Rodrigo Kumpera [Mon, 8 Dec 2008 22:24:54 +0000 (22:24 -0000)]
2008-12-08 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Fix method names for Vector8us.
svn path=/trunk/mono/; revision=121059
Rodrigo Kumpera [Mon, 8 Dec 2008 22:24:39 +0000 (22:24 -0000)]
2008-12-08 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Fix method names for Vector8s.
svn path=/trunk/mono/; revision=121058
Rodrigo Kumpera [Mon, 8 Dec 2008 22:24:27 +0000 (22:24 -0000)]
2008-12-08 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Fix method names for Vector4ui.
svn path=/trunk/mono/; revision=121057
Rodrigo Kumpera [Mon, 8 Dec 2008 22:23:49 +0000 (22:23 -0000)]
2008-12-08 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Fix method names for Vector2l.
svn path=/trunk/mono/; revision=121056