Andreas N [Wed, 2 Apr 2008 17:07:17 +0000 (17:07 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* IndexerNameAttribute.cs
* MethodImplAttribute.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99652
Andreas N [Wed, 2 Apr 2008 17:06:33 +0000 (17:06 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* IReflect.cs
* MethodInfo.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99651
Andreas N [Wed, 2 Apr 2008 17:05:37 +0000 (17:05 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SymbolToken.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99650
Andreas N [Wed, 2 Apr 2008 17:04:59 +0000 (17:04 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* DebuggerTypeProxyAttribute.cs
* StackFrame.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99649
Andreas N [Wed, 2 Apr 2008 17:04:10 +0000 (17:04 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ReadOnlyCollection.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99648
Andreas N [Wed, 2 Apr 2008 17:02:20 +0000 (17:02 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* KeyNotFoundException.cs
* KeyValuePair.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99647
Andreas N [Wed, 2 Apr 2008 17:01:36 +0000 (17:01 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ArrayList.cs
* DictionaryBase.cs
* IEqualityComparer.cs
* Queue.cs
* SortedList.cs
* Stack.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99646
Marek Safar [Wed, 2 Apr 2008 15:28:18 +0000 (15:28 -0000)]
New tests, msg updates.
svn path=/trunk/mcs/; revision=99639
Marek Safar [Wed, 2 Apr 2008 15:27:52 +0000 (15:27 -0000)]
2008-04-02 Marek Safar <marek.safar@gmail.com>
* ecore.cs, expression.cs, nullable.cs: ConditionalLogicalOperator is now
based on UserOperatorCall. More binary nullable operators clean up.
svn path=/trunk/mcs/; revision=99638
Jonathan Pobst [Wed, 2 Apr 2008 15:06:33 +0000 (15:06 -0000)]
2008-04-02 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: We always need to invalidate our children with
transparent backgrounds when we are invalidated.
[Fixes bug #376081]
svn path=/trunk/mcs/; revision=99637
Martin Baulig [Wed, 2 Apr 2008 14:40:32 +0000 (14:40 -0000)]
2008-04-02 Martin Baulig <martin@ximian.com>
* *.cs: Remove the `#if !DISABLE_TERRANIA_CHANGES' conditionals.
svn path=/trunk/mcs/; revision=99636
Martin Baulig [Wed, 2 Apr 2008 14:40:20 +0000 (14:40 -0000)]
2008-04-02 Martin Baulig <martin@ximian.com>
* symbolwriter.cs: Remove the `#if !DISABLE_TERRANIA_CHANGES' conditionals.
svn path=/trunk/mcs/; revision=99635
Marek Safar [Wed, 2 Apr 2008 12:02:24 +0000 (12:02 -0000)]
Added more tests.
svn path=/trunk/mcs/; revision=99634
Marek Safar [Wed, 2 Apr 2008 11:55:43 +0000 (11:55 -0000)]
2008-04-02 Marek Safar <marek.safar@gmail.com>
* nullable.cs: Merge user and empty conversions when lifting expression
trees.
* expression.cs (StringConcat): Implemented expression tree representation.
svn path=/trunk/mcs/; revision=99633
Atsushi Eno [Wed, 2 Apr 2008 09:23:41 +0000 (09:23 -0000)]
2008-04-02 Atsushi Enomoto <atsushi@ximian.com>
* XPathEditableDocument.cs : it should not expect ParentNode for
OwnerElement. Fixed bug #376210.
* XPathEditableNavigatorTests.cs : added test for bug #376210.
svn path=/trunk/mcs/; revision=99629
Andreas N [Wed, 2 Apr 2008 08:32:38 +0000 (08:32 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* StringComparer.cs
* String.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99625
Atsushi Eno [Wed, 2 Apr 2008 08:23:10 +0000 (08:23 -0000)]
2008-04-02 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigator.cs : fixed InnerXml to not give up with root node.
Indent InnerXml. Fixed bug #376191.
* XPathNavigatorTests.cs : added test for bug #376191.
svn path=/trunk/mcs/; revision=99623
Andreas N [Wed, 2 Apr 2008 07:45:41 +0000 (07:45 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* IFormatterConverter.cs
* SerializationException.cs
* StreamingContext.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99619
Andreas N [Wed, 2 Apr 2008 07:44:20 +0000 (07:44 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* VerificationException.cs
* SecurityElement.cs
* SecurityContext.cs
* NamedPermissionSet.cs
* HostProtectionException.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99618
Andreas N [Wed, 2 Apr 2008 07:43:42 +0000 (07:43 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* CompoundAce.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99617
Andreas N [Wed, 2 Apr 2008 07:33:03 +0000 (07:33 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* BinaryFormatter.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99614
Atsushi Eno [Wed, 2 Apr 2008 06:55:00 +0000 (06:55 -0000)]
2008-04-02 Atsushi Enomoto <atsushi@ximian.com>
* SortKey.cs : check null arguments. Fixed bug #376171.
* SortKeyTest.cs : new test, for bug #376171.
* corlib_test.dll.sources : added SortKeyTest.cs.
svn path=/trunk/mcs/; revision=99609
Carlos Alberto Cortez [Wed, 2 Apr 2008 06:54:22 +0000 (06:54 -0000)]
2008-04-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSourceTest.cs: New test for ICancelAddNew support.
* CurrencyManagerTest.cs: Likewise.
svn path=/trunk/mcs/; revision=99608
Carlos Alberto Cortez [Wed, 2 Apr 2008 06:49:39 +0000 (06:49 -0000)]
* BindingSource.cs: EndEdit and CancelEdit should call EndCurrentEdit
and CancelCurrentEdit on CurrencyManager respectively. Implement
support for ICancelAddNew too.
2008-04-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=99607
Jonathan Pobst [Wed, 2 Apr 2008 02:27:49 +0000 (02:27 -0000)]
2008-04-01 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewTest.cs: Commit the rest of my test so the tests
compile.
svn path=/trunk/mcs/; revision=99606
Carlos Alberto Cortez [Tue, 1 Apr 2008 23:48:10 +0000 (23:48 -0000)]
2008-04-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* CurrencyManager.cs: When calling EndCurrentEdit/CancelCurrentEdit,
call EndNew/CancelNew if list is ICancelAddNew.
svn path=/trunk/mcs/; revision=99597
Andreas N [Tue, 1 Apr 2008 22:53:49 +0000 (22:53 -0000)]
2008-04-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Char.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99590
Jonathan Pobst [Tue, 1 Apr 2008 22:50:43 +0000 (22:50 -0000)]
2008-04-01 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Guard against an exception while painting
if there are no rows.
svn path=/trunk/mcs/; revision=99589
Jonathan Pobst [Tue, 1 Apr 2008 22:26:21 +0000 (22:26 -0000)]
2008-04-01 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Implement a bunch of keyboard commands.
2008-04-01 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewTest.cs: Add tests for IsInputChar and IsInputKey.
svn path=/trunk/mcs/; revision=99585
Marek Habersack [Tue, 1 Apr 2008 19:47:06 +0000 (19:47 -0000)]
2008-04-01 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: ParseControl implemented for the 2.0
profile.
* UserControlParser.cs: added support for compiling controls
without input file (e.g. from TemplateControl.ParseControl).
* TemplateParser.cs: implemented VirtualPathProvider support for
registering UserControls.
If there is no input file path provided, auto-generate the class
name in the ClassName property getter.
svn path=/trunk/mcs/; revision=99570
Andreas N [Tue, 1 Apr 2008 19:42:34 +0000 (19:42 -0000)]
2008-04-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* String.cs: Update of String that moves all remaining non-culture-sensitive
code to managed C# code. Improves performance for most cases and most methods
allows code-optimizations tools to perform better optimizations by removing the
internalcalls. Reduces the total number of lines of code used for String.
Allows code duplication reduction in several other classes and the runtime.
* StringComparer.cs: Remove duplicate code and call relevant String methods.
* StringBuilder.cs: Use the new managed String functions.
svn path=/trunk/mcs/; revision=99569
Andreas N [Tue, 1 Apr 2008 19:41:36 +0000 (19:41 -0000)]
2008-04-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* StringTest.cs: New tests for string to check for several corner-cases
and parameter errors.
svn path=/trunk/mcs/; revision=99568
Marek Safar [Tue, 1 Apr 2008 18:45:59 +0000 (18:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=99561
Marek Safar [Tue, 1 Apr 2008 18:45:34 +0000 (18:45 -0000)]
2008-04-01 Marek Safar <marek.safar@gmail.com>
* nullable.cs: When lifting null literal and a user operator exists, no call
is made.
svn path=/trunk/mcs/; revision=99560
Marek Habersack [Tue, 1 Apr 2008 17:33:08 +0000 (17:33 -0000)]
2008-04-01 Marek Habersack <mhabersack@novell.com>
* SqlParameter.cs: ConvertToFrameworkType must handle empty
strings gracefully - a DBNull.Value must be returned in this
case.
* SqlCommand.cs: DeriveParameters should split the stored
procedure name into the schema name and procedure name before
querying its parameters.
svn path=/trunk/mcs/; revision=99553
Marek Safar [Tue, 1 Apr 2008 17:24:10 +0000 (17:24 -0000)]
New test.
svn path=/trunk/mcs/; revision=99552
Marek Safar [Tue, 1 Apr 2008 17:23:56 +0000 (17:23 -0000)]
2008-04-01 Marek Safar <marek.safar@gmail.com>
* nullable.cs, ecore.cs, expression.cs: Convert null arithmetic to lifted
null.
svn path=/trunk/mcs/; revision=99551
Dick Porter [Tue, 1 Apr 2008 16:39:15 +0000 (16:39 -0000)]
2008-04-01 Dick Porter <dick@ximian.com>
* versioninfo.c (get_string_block): Refine the fix for bug 354856
(r93661) so that it also fixes the new part of bug 374600.
2008-04-01 Dick Porter <dick@ximian.com>
* process.c (process_get_fileversion): If there's no string block,
set the file language to en_US. Fixes the other new part of bug
374600.
svn path=/trunk/mono/; revision=99545
Marek Safar [Tue, 1 Apr 2008 16:16:17 +0000 (16:16 -0000)]
2008-04-01 Marek Safar <marek.safar@gmail.com>
* nullable.cs, expression.cs: Use namespace instead heavily nested
monster abstract class.
svn path=/trunk/mcs/; revision=99542
Marek Safar [Tue, 1 Apr 2008 16:04:49 +0000 (16:04 -0000)]
Fixed.
svn path=/trunk/mcs/; revision=99538
Marek Safar [Tue, 1 Apr 2008 16:00:51 +0000 (16:00 -0000)]
New test + update.
svn path=/trunk/mcs/; revision=99537
Marek Safar [Tue, 1 Apr 2008 16:00:02 +0000 (16:00 -0000)]
2008-04-01 Marek Safar <marek.safar@gmail.com>
* ecore.cs, convert.cs, constant.cs, nullable.cs, expression.cs: Implemented
lifting of null literal and user operators. Clean up of some temporary
nullable hacks.
svn path=/trunk/mcs/; revision=99535
Marek Habersack [Tue, 1 Apr 2008 15:59:42 +0000 (15:59 -0000)]
2008-04-01 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: set context.Handler to the detected handler
object before firing application events. Fixes bug #372897
svn path=/trunk/mcs/; revision=99534
Lluis Sanchez [Tue, 1 Apr 2008 14:26:05 +0000 (14:26 -0000)]
* System.Xml.Serialization/XmlSerializerTestClasses.cs,
System.Xml.Serialization/XmlSerializerTests.cs: Test nullable
enums.
svn path=/trunk/mcs/; revision=99517
Lluis Sanchez [Tue, 1 Apr 2008 14:22:17 +0000 (14:22 -0000)]
* ProtocolImporter.cs: Use the binding name as class name for the
proxy.
* SoapProtocolImporter.cs: Use the element name as field name for soap
headers. In 2.0, generate a property for accessing the field.
svn path=/trunk/mcs/; revision=99514
Lluis Sanchez [Tue, 1 Apr 2008 14:18:44 +0000 (14:18 -0000)]
* TypeData.cs: Prefix with a '@' type names that are equal to keywords.
* XmlSerializationReaderInterpreter.cs,
XmlSerializationWriterInterpreter.cs: Properly handle nullable enum
values.
* SerializationCodeGenerator.cs: Properly handle nullable enum values.
Don't generate read flags for text collectors (avoid var not used
warning).
* XmlReflectionImporter.cs: Assign the MappedType to text collector
members. It is needed when the member is an enum.
svn path=/trunk/mcs/; revision=99512
Ivan Zlatev [Tue, 1 Apr 2008 14:12:35 +0000 (14:12 -0000)]
2008-04-01 Ivan N. Zlatev <contact@i-nz.net>
* ColorEditor.cs: Cache the editor contorl instead of creating
it each time.
svn path=/trunk/mcs/; revision=99511
Eyal Alalouf [Tue, 1 Apr 2008 11:37:11 +0000 (11:37 -0000)]
Improve ToString perf of primitive types.
svn path=/trunk/mcs/; revision=99502
Marek Safar [Tue, 1 Apr 2008 09:44:52 +0000 (09:44 -0000)]
VS signature update
svn path=/trunk/mcs/; revision=99499
Miguel de Icaza [Mon, 31 Mar 2008 22:22:08 +0000 (22:22 -0000)]
2008-03-31 Miguel de Icaza <miguel@novell.com>
* serial.c (write_serial): Avoid infinite loops, see #375580.
svn path=/trunk/mono/; revision=99480
Marek Habersack [Mon, 31 Mar 2008 22:03:33 +0000 (22:03 -0000)]
2008-03-31 Marek Habersack <mhabersack@novell.com>
* StaticFileHandler.cs: added code to use custom
VirtualPathProvider, if present, to serve files from virtual
storage.
* HttpResponse.cs: added two internal TransmitFile overloads which
take a VirtualFile as a parameter.
2008-04-01 Marek Habersack <mhabersack@novell.com>
* HostingEnvironment.cs: initialize custom VPP on
registration.
Added an internal boolena property to signal if we're using a
custom VPP or not (HaveCustomVPP)
svn path=/trunk/mcs/; revision=99479
Jonathan Pobst [Mon, 31 Mar 2008 20:12:04 +0000 (20:12 -0000)]
2008-03-31 Jonathan Pobst <monkey@jpobst.com>
* ToolBar.cs: Don't do our painting if UserPaint is set. If UserPaint
isn't set, don't call OnPaint. [Fixes bug #375300]
svn path=/trunk/mcs/; revision=99468
Mark Probst [Mon, 31 Mar 2008 19:41:05 +0000 (19:41 -0000)]
2008-03-31 Mark Probst <mark.probst@gmail.com>
* Makefile.am: Re-enabled CoreCLR security tests. Fixes #362626.
svn path=/trunk/mono/; revision=99464
Mark Probst [Mon, 31 Mar 2008 19:20:17 +0000 (19:20 -0000)]
2008-03-31 Mark Probst <mark.probst@gmail.com>
* MonoMethod.cs: Don't do CAS security checks in Invoke for 2.1
profile.
2008-03-31 Mark Probst <mark.probst@gmail.com>
* MonoType.cs: Don't do CAS security checks in CheckMethodSecurity
for 2.1 profile.
svn path=/trunk/mcs/; revision=99461
Gert Driesen [Mon, 31 Mar 2008 19:05:33 +0000 (19:05 -0000)]
* XmlCodeExporterTests.cs: Remove CWL.
svn path=/trunk/mcs/; revision=99459
Gert Driesen [Mon, 31 Mar 2008 19:04:17 +0000 (19:04 -0000)]
* XmlDocumentTests.cs: Fixed line endings.
* XmlAttributeCollectionTests.cs: Fixed line endings.
* XmlDocumentEventTests.cs: Fixed line endings.
* XmlNodeTests.cs: Fixed line endings.
* XsdValidatingReaderTests.cs: Fixed line endings.
* XmlDocumentTypeTests.cs: Fixed line endings.
* XmlEntityReferenceTests.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=99458
Veerapuram Varadhan [Mon, 31 Mar 2008 18:58:04 +0000 (18:58 -0000)]
Reverting Rev#98474 as it broke couple of test profiles.
svn path=/trunk/mcs/; revision=99457
Gert Driesen [Mon, 31 Mar 2008 18:46:09 +0000 (18:46 -0000)]
* XmlAttributeTests.cs: Use Assert instead of deprecated Assertion
class. Improved a few tests. Added link to MS bug report for regression
in .NET 2.0. Numbered tests.
svn path=/trunk/mcs/; revision=99456
Rodrigo Kumpera [Mon, 31 Mar 2008 14:18:36 +0000 (14:18 -0000)]
2008-03-31 Rodrigo Kumpera <rkumpera@novell.com>
* AssemblyRunner.cs: Mark TypeLoadException as invalid code.
svn path=/trunk/mono/; revision=99422
Jb Evain [Mon, 31 Mar 2008 13:29:27 +0000 (13:29 -0000)]
2008-03-31 Jb Evain <jbevain@novell.com>
Integrate patches from Dzintars Avots <davots@coverity.com>
* Mono.Cecil/GenericParameter.cs
Mono.Cecil/TypeDefinition.cs
Mono.Cecil/DefaultImporter.cs
Mono.Cecil/MethodDefinition.cs:
Fix generic parameter cloning to avoid issues when
the constraint reference the parameter itself.
svn path=/trunk/mcs/; revision=99419
Jb Evain [Mon, 31 Mar 2008 13:04:47 +0000 (13:04 -0000)]
2008-03-31 Jb Evain <jbevain@novell.com>
Integrate patches from Dzintars Avots <davots@coverity.com>
* Mono.Cecil/MethodBody.cs (Clone): deals with switches.
svn path=/trunk/mcs/; revision=99418
Jb Evain [Mon, 31 Mar 2008 12:29:40 +0000 (12:29 -0000)]
2008-03-31 Jb Evain <jbevain@novell.com>
Integrate patches from Dzintars Avots <davots@coverity.com>
* Mono.Cecil/MethodBody.cs (Clone): clone the name of
the local variables.
svn path=/trunk/mcs/; revision=99415
Marek Habersack [Mon, 31 Mar 2008 10:03:33 +0000 (10:03 -0000)]
2008-03-31 Marek Habersack <mhabersack@novell.com>
* AppCodeCompiler.cs: implemented support for AppInitialize (a
static method in any class defined in the App_Code source files),
ran just after the App_Code assemblies are compiled in order to
perform any application initialization actions.
svn path=/trunk/mcs/; revision=99404
Marek Safar [Mon, 31 Mar 2008 10:00:47 +0000 (10:00 -0000)]
2008-03-31 Marek Safar <marek.safar@gmail.com>
* Enumerable.cs: Use Math.Min and Math.Max where appropriate.
svn path=/trunk/mcs/; revision=99403
Carlos Alberto Cortez [Mon, 31 Mar 2008 08:53:53 +0000 (08:53 -0000)]
* BindingSourceTest.cs: More event tests and also a new ones for
RemoveCurrent and IsBindingSuspended properties.
2008-03-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=99398
Carlos Alberto Cortez [Mon, 31 Mar 2008 08:52:09 +0000 (08:52 -0000)]
* BindingSource.cs: IsBindingSuspended, ResumeBinding and
SuspendBinding depend on CurrencyManager. Implement RemoveCurrent,
hookup the remaining events related to CurrencyManager, and fire
OnListChanged also for the Clear () method.
2008-03-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=99397
Carlos Alberto Cortez [Mon, 31 Mar 2008 06:58:35 +0000 (06:58 -0000)]
2008-03-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSourceTest.cs: Add tests for ListChanged event, and also new
assertions for Position property. Mark ListChanged_DataSourceSet as
not working, while I try to figure out why setting the DataSource
fires 2 events instead of only one.
svn path=/trunk/mcs/; revision=99390
Carlos Alberto Cortez [Mon, 31 Mar 2008 06:55:14 +0000 (06:55 -0000)]
2008-03-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSource.cs: Use Current and Position implementations in
CurrencyManager instead of using our own routines, since we need
to be in synch with it. Count should NEVER return a -1 value, and
also report ListChanged events for both simple IList data
sources (manually) as well for IBindingList ones (by hooking up an
event handler for it).
svn path=/trunk/mcs/; revision=99389
Jb Evain [Sun, 30 Mar 2008 19:53:15 +0000 (19:53 -0000)]
ifdef out DebugContext on net_2_1
svn path=/trunk/mcs/; revision=99367
Zoltan Varga [Sun, 30 Mar 2008 16:59:04 +0000 (16:59 -0000)]
2008-03-30 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c cpu-x86.md inssel-x86.brg: Add min/max intrinsics.
svn path=/trunk/mono/; revision=99352
Zoltan Varga [Sun, 30 Mar 2008 16:10:54 +0000 (16:10 -0000)]
2008-03-30 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c mini-amd64.h cpu-amd64.md: Get rid of the non-SSE2 floating point
code.
svn path=/trunk/mono/; revision=99347
Gert Driesen [Sun, 30 Mar 2008 15:25:11 +0000 (15:25 -0000)]
* 82078.xsd: Added new complex type as test for duplicate field
name.
* MapCodeGenerator.cs: Ensure fields that back properties are unique.
* XmlSerializationReaderTests.cs: Marked HandleOutAttributeParameters
test as NotDotNet on 1.0 profile.
* XmlCodeExporterTests.cs: Improved test for duplicate identifiers.
Fixed ExportTypeMapping_Root and ExportTypeMapping_Field tests to
pass on .NET 2.0.
svn path=/trunk/mcs/; revision=99345
Sebastien Pouliot [Sun, 30 Mar 2008 14:50:00 +0000 (14:50 -0000)]
2008-03-30 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Cecil/ReflectionReader.cs:
Avoid creating a BinaryReader+MemoryStream on LE archs for
GetConstant. Saves about 400KB for Gendarme.
Avoid a BinaryReader creation in GetConstant which saves
about 50KB for Gendarme.
* Mono.Cecil.Metadata/GuidHeap.cs:
Compute ideal capacity for Hashtable. Avoid memory allocation
if a single GUID is present (which is the case for all of
Mono 2.0 assemblies). Saves a whole 2KB for Gendarme ;-)
* Mono.Cecil.Binary/Image.cs:
Add internal GetSectionAtVirtualAddress to avoid creating
BinaryReader in some cases.
* Mono.Cecil.Binary/ResourceReader.cs:
Avoid a BinaryReader creation in SetInitialValue which saves
about 3000KB for Gendarme.
svn path=/trunk/mcs/; revision=99338
Jb Evain [Sun, 30 Mar 2008 11:40:08 +0000 (11:40 -0000)]
2008-03-30 Jb Evain <jbevain@novell.com>
* TimeZoneInfo.cs: use generic collections instead of untyped
collections.
svn path=/trunk/mcs/; revision=99331
Jb Evain [Sun, 30 Mar 2008 11:39:20 +0000 (11:39 -0000)]
reference System
svn path=/trunk/mcs/; revision=99330
Roei Erez [Sun, 30 Mar 2008 10:48:22 +0000 (10:48 -0000)]
Fix Grasshopers test project and add testing script
svn path=/trunk/mcs/; revision=99322
Raja R Harinath [Sun, 30 Mar 2008 10:44:24 +0000 (10:44 -0000)]
Fix #368224, test-629.cs
* flowanalysis.cs (FlowBranching.StealFinallyClauses): Return true
if it crossed an unwind-protect boundary.
* iterators.cs (Yield.CheckContext): Relax check for 'yield break'.
(Yield.Resolve, Yield.DoEmit): Track whether the yield occurs
inside an unwind-protected region.
(YieldBreak.Resolve, YieldBreak.DoEmit): Likewise.
(Iterator.MarkYield): Add 'unwind_protect' parameter. Emit a
'leave' instead of a 'br' if unwind-protected.
(Iterator.EmitYieldBreak): Likewise.
svn path=/trunk/mcs/; revision=99321
Roei Erez [Sun, 30 Mar 2008 10:20:12 +0000 (10:20 -0000)]
some changes to Grasshopers project file
svn path=/trunk/mcs/; revision=99315
Roei Erez [Sun, 30 Mar 2008 09:48:16 +0000 (09:48 -0000)]
Add build file for Grasshoper's build system
svn path=/trunk/mcs/; revision=99314
Roei Erez [Sun, 30 Mar 2008 09:47:22 +0000 (09:47 -0000)]
some changes to Grasshopers project file
svn path=/trunk/mcs/; revision=99313
Rodrigo Kumpera [Sat, 29 Mar 2008 20:15:08 +0000 (20:15 -0000)]
2008-03-29 Rodrigo Kumpera <rkumpera@novell.com>
* class.c: New functions mono_method_can_access_field_full and
mono_method_can_access_method_full. They perform type visibility
and type site check.
* class-internal.h: Added exported functions.
* verify.c: Use new functions to implement proper visibility checks.
svn path=/trunk/mono/; revision=99306
Noam Lampert [Sat, 29 Mar 2008 18:27:49 +0000 (18:27 -0000)]
Fix Java compilation
svn path=/trunk/mcs/; revision=99301
Zoltan Varga [Sat, 29 Mar 2008 15:39:46 +0000 (15:39 -0000)]
2008-03-29 Zoltan Varga <vargaz@gmail.com>
* mono-config.h: Add missing G_BEGIN_DECLS/G_END_DECLS. Fixes #375188.
svn path=/trunk/mono/; revision=99291
Jb Evain [Sat, 29 Mar 2008 13:01:56 +0000 (13:01 -0000)]
normalize all cases of names
svn path=/trunk/mcs/; revision=99285
Gert Driesen [Sat, 29 Mar 2008 12:39:22 +0000 (12:39 -0000)]
* FileVersionInfoTest.cs: Enabled tests that previously failed.
Increase code coverage.
svn path=/trunk/mcs/; revision=99283
Gert Driesen [Sat, 29 Mar 2008 12:35:53 +0000 (12:35 -0000)]
* Win32Resources.cs: On 2.0 profile, initialize fixed info to empty
string when emitting versioninfo in compiler context. Default to
neutral language in compiler context. On 1.0 profile, use 0xffff as
default value for version parts. In Version, abort on first invalid
version part and also set FileVersion string. In ProductVersion and
FileVersion, parse version string and abort on first invalid version
part.
* AssemblyBuilder.cs: Added enum that determines the type of the
native (version) resource. Added fields for holding the native
resource type and the version culture. The versioninfo_culture was
introduced to hold the original culture of the assembly, since
the AssemblyCultureAttribute should only affect the language of the
versioninfo block when not used in compiler context. Move constructin
of native version info to DefineVersionInfoResourceImpl to allow
attributes to affect the versioninfo after DefineVersionInfoResource
has been invoked. Allow ArgumentException for invalid culture string
to bubble up. In compiler context, use FileVersion as default value
for ProductionVersion.
* AssemblyBuilderTest.cs: Enabled DefineUnmanagedResource and
DefineVersionInfoResource tests for ArgumentException when native
resource is already defined. Added tests for not supported culture
in AssemblyCultureAttribute when definining versioninfo resource.
svn path=/trunk/mcs/; revision=99280
Gert Driesen [Sat, 29 Mar 2008 12:34:18 +0000 (12:34 -0000)]
driver.cs: Only define versioninfo resources if no win32 resource
file was specified.
svn path=/trunk/mcs/; revision=99279
Zoltan Varga [Sat, 29 Mar 2008 04:39:27 +0000 (04:39 -0000)]
2008-03-29 Zoltan Varga <vargaz@gmail.com>
* mono-logger.h: Move G_END_DECLS outside of an #ifdef. Fixes #375107.
svn path=/trunk/mono/; revision=99269
Carlos Alberto Cortez [Fri, 28 Mar 2008 23:07:20 +0000 (23:07 -0000)]
2008-03-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSource.cs: Add test for just added members in BindingSource.
svn path=/trunk/mcs/; revision=99258
Carlos Alberto Cortez [Fri, 28 Mar 2008 23:05:57 +0000 (23:05 -0000)]
2008-03-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSource.cs: Make one .ctor call the another, to avoid
duplicate code. Add the CurrencyManager property, and also for AddNew
throw the proper exceptions and show better error messages.
svn path=/trunk/mcs/; revision=99257
Ivan Zlatev [Fri, 28 Mar 2008 22:51:16 +0000 (22:51 -0000)]
2008-03-28 Ivan N. Zlatev <contact@i-nz.net>
* CollectionEditor.cs: Fix multiple bugs.
svn path=/trunk/mcs/; revision=99253
Ivan Zlatev [Fri, 28 Mar 2008 20:59:51 +0000 (20:59 -0000)]
2008-03-28 Ivan N. Zlatev <contact@i-nz.net>
* IconConverter.cs: Convert null to "(none)".
* TestIconConverter.cs: Add a test.
svn path=/trunk/mcs/; revision=99244
Jb Evain [Fri, 28 Mar 2008 20:59:37 +0000 (20:59 -0000)]
2008-03-28 Jb Evain <jbevain@novell.com>
* Mono.Linker/XApiReader.cs: deal better with complex names.
svn path=/trunk/mcs/; revision=99243
Jb Evain [Fri, 28 Mar 2008 20:59:02 +0000 (20:59 -0000)]
2008-03-28 Jb Evain <jbevain@novell.com>
* Mono.Linker/LinkContext.cs: do not force the loading of
debug symbols if not asked.
svn path=/trunk/mcs/; revision=99242
Ivan Zlatev [Fri, 28 Mar 2008 20:58:44 +0000 (20:58 -0000)]
2008-03-28 Ivan N. Zlatev <contact@i-nz.net>
* CursorConverter.cs: Convert null to "(none)".
svn path=/trunk/mcs/; revision=99241
Jonathan Pobst [Fri, 28 Mar 2008 19:34:43 +0000 (19:34 -0000)]
2008-03-28 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Only adjust selectedindex if Handle has been
created. Fixes failing test.
svn path=/trunk/mcs/; revision=99238
Ivan Zlatev [Fri, 28 Mar 2008 19:29:09 +0000 (19:29 -0000)]
2008-03-28 Ivan N. Zlatev <contact@i-nz.net>
* TypeDescriptor.cs: Do not return parent type properties, where the child
has used "new" and also changed the property return type. The problem was that
Type.GetProperties returns both the child and parent property in this case.
* TypeDescriptorTests.cs: Add an unit test.
[Fixes bug #374334]
svn path=/trunk/mcs/; revision=99235
Sebastien Pouliot [Fri, 28 Mar 2008 19:12:44 +0000 (19:12 -0000)]
2008-03-28 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorageFileTest.cs: Add test cases for creating directory
(bug #372377) and also getting delaing with subdirectories.
svn path=/trunk/mcs/; revision=99233
Sebastien Pouliot [Fri, 28 Mar 2008 19:11:25 +0000 (19:11 -0000)]
2008-03-28 Sebastien Pouliot <sebastien@ximian.com>
* DirectoryTest.cs: Add test case when deleting a directory that does
not exists but where a file of the same name exists.
svn path=/trunk/mcs/; revision=99232
Sebastien Pouliot [Fri, 28 Mar 2008 19:09:25 +0000 (19:09 -0000)]
2008-03-28 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorageFile.cs: Don't show the full path on exception if a
directory can't be created (fix bug #354539). Also fix path/patterns when
looking for files (it behave differently than DirectoryInfo does).
svn path=/trunk/mcs/; revision=99231