mono.git
16 years ago2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 30 Oct 2007 16:18:44 +0000 (16:18 -0000)]
2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* HttpUtility.cs: fixed UrlPathEncode.

2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* HttpUtilityTest.cs: make test pass on .NET.

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

16 years ago2007-10-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 30 Oct 2007 15:21:04 +0000 (15:21 -0000)]
2007-10-30  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Add test for bug #325436.

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

16 years ago2007-10-15 Jonathan Chambers <joncham@gmail.com>
Miguel de Icaza [Tue, 30 Oct 2007 14:56:08 +0000 (14:56 -0000)]
2007-10-15  Jonathan Chambers <joncham@gmail.com>

* icall.c: Use GetEnvironmentStrings on windows
so we are using the same environment block as
GetEnvironmentVariable/SetEnvironmentVariable. Fixes
#333740.

Code is contributed under MIT/X11 license.

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

16 years ago2007-10-30 Jerome Haltom (wasabi@larvalstage.net)
Miguel de Icaza [Tue, 30 Oct 2007 14:51:40 +0000 (14:51 -0000)]
2007-10-30  Jerome Haltom  (wasabi@larvalstage.net)

* FtpWebRequest.cs: adds support for ftp multiline results, fixes
#333978

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 14:45:07 +0000 (14:45 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* Compiler.cs : added CheckExtraAttributes() to check invalid
  attributes on stylesheet component elements.
  Use it in xsl:sort too.

* XslMessage.cs, XslText.cs, XslVariable.cs, XslNumber.cs,
  XslElement.cs, XslIf.cs, XslFallback.cs, XslCopyOf.cs,
  XslValueOf.cs, XslComment.cs, XslAttribute.cs, XslApplyImports.cs,
  XslApplyTemplates.cs, XslForEach.cs, XslCallTemplate.cs,
  XslCopy.cs, XslProcessingInstruction.cs, XslChoose.cs:
  refactory on checking invalid attributes. Fixed bug #333806.

in Test/System.Xml.Xsl/standalone:
* Makefile: it somehow does not work fine unless nunit-console.exe is
  here. So just copy it here when building the test.

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

16 years ago2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 30 Oct 2007 14:21:51 +0000 (14:21 -0000)]
2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* Image.cs: fixed management state of Enabled property.
* WebControl.cs: refactoring in management state of Enabled property.

2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* ImageTest.cs:
* WebControlTest.cs:
Added new tests.

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

16 years ago2007-10-30 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 30 Oct 2007 13:55:11 +0000 (13:55 -0000)]
2007-10-30  Dick Porter  <dick@ximian.com>

* UdpClient.cs: Don't set the multicast option twice.  Fixes bug
324033.

2007-10-30  Dick Porter  <dick@ximian.com>

* UdpClientTest.cs: Test for 324033.

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

16 years ago2007-10-30 Juraj Skripsky <js@hotfete.ch>
Juraj Skripsky [Tue, 30 Oct 2007 13:10:44 +0000 (13:10 -0000)]
2007-10-30 Juraj Skripsky  <js@hotfete.ch>

* AssemblyResourceLoader.cs: Always use '&' as query parameter
separator, as HttpUtility does not support ';' anymore.

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 13:07:14 +0000 (13:07 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaExporterTests.cs : without Infoset(), those tests randomly
  fail on .NET. This fix is incomplete. Someone please continue this
  boring work. I don't want to do that.

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

16 years ago* AlertCheck.cs, ConfirmCheck.cs, Generic.cs, Prompt.cs: Fix warnings
Andreia Gaita [Tue, 30 Oct 2007 13:01:39 +0000 (13:01 -0000)]
* AlertCheck.cs, ConfirmCheck.cs, Generic.cs, Prompt.cs: Fix warnings

2007-10-30  Andreia Gaita <avidigal@novell.com>

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

16 years ago* Add manual test scripts for 2.0
Andreia Gaita [Tue, 30 Oct 2007 12:58:44 +0000 (12:58 -0000)]
* Add manual test scripts for 2.0

2007-10-30  Andreia Gaita <avidigal@novell.com>

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

16 years ago* ContainerControl.cs: Check if the active control is a
Andreia Gaita [Tue, 30 Oct 2007 12:55:27 +0000 (12:55 -0000)]
* ContainerControl.cs: Check if the active control is a
child of a removed control and update active_control accordingly.
Fixes #329718

* ContainerControlTest.cs: Add test for #329718

2007-10-30  Andreia Gaita <avidigal@novell.com>

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 12:33:34 +0000 (12:33 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConvert.cs : ToDateTime(string,string) should use ParseExact(),
  not Parse(). Use 'K' for roundtrip format.

* XmlCustomFormatter.cs : use RoundtripKind when converting to and
  from DateTime.

* XmlConvertTest.cs : added test for DateTime roundtrip.

* XmlSerializerTests.cs : added test for bug #337729.

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

16 years agoFix for the build breakage.
Paolo Molaro [Tue, 30 Oct 2007 12:21:27 +0000 (12:21 -0000)]
Fix for the build breakage.

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

16 years ago* Test/Microsoft.VisualBasic/CodeGeneratorFromExpressionTest.cs: Added
Rolf Bjarne Kvinge [Tue, 30 Oct 2007 11:11:47 +0000 (11:11 -0000)]
* Test/Microsoft.VisualBasic/CodeGeneratorFromExpressionTest.cs: Added
  ArrayIndexerExpressionTest.
* Microsoft.VisualBasic/VBCodeGenerator.cs: Fix array indexer
  expressions by don't adding a ".Item" to the array.

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

16 years ago2007-10-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 30 Oct 2007 10:35:38 +0000 (10:35 -0000)]
2007-10-30  Marek Safar  <marek.safar@gmail.com>

* Makefile (net_2_0_bootstrap/mcs.exe.config): Reverted copy gmcs.exe.config.

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 10:12:19 +0000 (10:12 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeFormatInfoTest.cs : added test for bug #335298.

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 10:11:57 +0000 (10:11 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* culture-info-table.h : regenerated.

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Oct 2007 10:10:56 +0000 (10:10 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* Driver.cs, DateTimeFormatEntry.cs : since FullDateTimePattern
  should be computed on the overriden Long[Date/Time]Pattern, compute
  it later than reading all format resources (langs/locales/supp).

* es_ES.xml : couple of format string fixes for bug #335298.

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

16 years ago2007-10-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 30 Oct 2007 02:45:48 +0000 (02:45 -0000)]
2007-10-29  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePickerTest.cs: Tests for setting the Value outside the
range of MinDate and MaxDate.

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

16 years ago2007-10-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 30 Oct 2007 02:43:31 +0000 (02:43 -0000)]
2007-10-29  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePicker.cs: Throw ArgEx if the Value is set outside the MinDate
or the MaxDate.  Fixed bug #337693.

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

16 years agoIn Test/System.Timers:
Robert Jordan [Tue, 30 Oct 2007 02:34:38 +0000 (02:34 -0000)]
In Test/System.Timers:
2007-10-30  Robert Jordan  <robertj@gmx.net>

* TimerTest.cs: Enable test for bug #82701/#325368.

In System.Timers:
2007-10-30  Robert Jordan  <robertj@gmx.net>

* Timer.cs (set_Enabled): Allow setting Enabled from within
the Elapsed event handler. Fixes #325368.

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

16 years ago2007-10-30 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 30 Oct 2007 02:14:42 +0000 (02:14 -0000)]
2007-10-30  Robert Jordan  <robertj@gmx.net>

* HttpHelper.cs: Support for the "https" scheme. Make scheme parser
case invariant. Fixes bug #81701.

* HttpServerChannel.cs (GetChannelUri): Take channel data into account.

* HttpServerChannel.cs (SetupChannel): Initialize channel data
with "null", because at this stage we don't necessary have a valid
channel URI.

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

16 years ago2007-10-30 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 30 Oct 2007 01:49:53 +0000 (01:49 -0000)]
2007-10-30  Robert Jordan  <robertj@gmx.net>

* GenericTest.cs: Add tests for bug #324232.

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

16 years agoIn System.Runtime.Remoting:
Robert Jordan [Tue, 30 Oct 2007 01:49:05 +0000 (01:49 -0000)]
In System.Runtime.Remoting:
2007-10-30  Robert Jordan  <robertj@gmx.net>

* RemotingServices.cs: (InternalExecuteMessage):
Resolve interface methods using the new icall GetVirtualMethod ().
Remove the now obsolete GetMethodBaseFromName + generic params
overloads.

In System.Runtime.Remoting.Messaging:
2007-10-30  Robert Jordan  <robertj@gmx.net>

* MethodCall.cs (ResolveMethod): Lookup the interface
using RemotingServices.GetVirtualMethod (). Eliminates
the costly GetMethodBaseFromName () call.

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

16 years ago2007-10-30 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 30 Oct 2007 01:47:07 +0000 (01:47 -0000)]
2007-10-30  Robert Jordan  <robertj@gmx.net>

* icall-def.h, icall.c:
Add ves_icall_Remoting_RemotingServices_GetVirtualMethod ().

Code is contributed under MIT/X11 license.

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

16 years ago2007-10-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Oct 2007 21:58:58 +0000 (21:58 -0000)]
2007-10-29  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_setup_vtable): Find the inflated methods in the
inflated class instead of inflating them again.

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

16 years ago2007-10-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Oct 2007 21:53:24 +0000 (21:53 -0000)]
2007-10-29  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_setup_vtable): Inflate the override methods in the
dynamic case.

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

16 years ago2007-10-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 29 Oct 2007 21:32:31 +0000 (21:32 -0000)]
2007-10-29  Jonathan Pobst  <monkey@jpobst.com>

* XplatUIWin32.cs: Always call SetWindowPos with SWP_FRAMECHANGED flag
after calling SetWindowLong for a form, to force an immediate NC refresh.
Fixes first part of bug #325150.

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

16 years ago2007-10-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Oct 2007 21:11:03 +0000 (21:11 -0000)]
2007-10-29  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_generic_class_get_class): Set klass->property.count as well.
Call setup_supertypes () after klass->parent is set.
(mono_class_setup_properties): Enable this to work on dynamic generic classes.

* reflection.c (mono_type_get_object): Only return a MonoGenericClass object
for inflated instances of not yet created dynamic generic classes.
(ctorbuilder_to_mono_method): Handle the case when this is called multiple
times from inflated_method.
(methodbuilder_to_mono_method): Ditto.

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

16 years ago2007-10-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 29 Oct 2007 21:03:50 +0000 (21:03 -0000)]
2007-10-29  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: Don't try to resize the listbox when we are DropDownStyle
simple.  Fixes the last part of bug #322668.

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

16 years ago2007-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 29 Oct 2007 21:02:13 +0000 (21:02 -0000)]
2007-10-29 Rodrigo Kumpera  <rkumpera@novell.com>

* bug-335131.2.cs: Regression test for bug #335131.
It tests the enconding of methods and constructor from
a generic types that are called from the same type
that defines then.

* Makefile.am: Added the new test to the suite.

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

16 years ago2007-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 29 Oct 2007 20:42:06 +0000 (20:42 -0000)]
2007-10-29 Rodrigo Kumpera  <rkumpera@novell.com>

* make_imt_test.sh: added, this script generates
an interface with 2000 methods, an implementation and
test code that calls all methods. This is enough to
stress the IMT machinery, as thunks should have more
than 100 methods with the current IMT table size.

* Makefile.am: added the generated imt test and
associated rules to use the script to create it.

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

16 years agoMon Oct 29 21:02:53 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 29 Oct 2007 19:45:53 +0000 (19:45 -0000)]
Mon Oct 29 21:02:53 CET 2007 Paolo Molaro <lupus@ximian.com>

* gc.c: code cleanup and removed old untested option of not creating the
finalizer thread.

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

16 years ago2007-10-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 29 Oct 2007 19:23:20 +0000 (19:23 -0000)]
2007-10-29  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: add the file pointed to by the Src or
CodeFile attributes to the list of page cache dependencies.

* PageParser.cs, UserControlParser.cs: Add the MasterPage file to
the list of page cache dependencies.

* MasterPageParser.cs: add the source pointed to by VirtualPath to
the list of cache dependencies.

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

16 years ago2007-10-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Oct 2007 19:11:11 +0000 (19:11 -0000)]
2007-10-29  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Delegate_CreateDelegate_internal): Avoid
creating a jump trampoline for dynamic methods.

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

16 years ago2007-08-29 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Mon, 29 Oct 2007 18:41:12 +0000 (18:41 -0000)]
2007-08-29  Jonathan Chambers <joncham@gmail.com>

* mono.sln, libmono.vcproj, mono.vcproj, genmdesc.vcproj, monoburg.vcproj:
Setup eglib configurations (Debug_eglib, Release_eglib). They
do not build at this point.

Contributed under MIT/X11 license.

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

16 years ago* runtime/Makefile.am ($(tmpinst)/bin/gmcs): Update rule to point
Raja R Harinath [Mon, 29 Oct 2007 18:38:45 +0000 (18:38 -0000)]
* runtime/Makefile.am ($(tmpinst)/bin/gmcs): Update rule to point
to location of 'gmcs.exe'.

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

16 years ago2007-10-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 29 Oct 2007 16:28:45 +0000 (16:28 -0000)]
2007-10-29  Jonathan Pobst  <monkey@jpobst.com>

* MessageBox.cs: If the owner is TopMost, then the MessageBox form
needs to be TopMost as well, or else the MessageBox is under the form.
Patch by George fixes bug #325300.

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

16 years agoUpdated changelog fog revision 88355
Arina Itkes [Mon, 29 Oct 2007 16:12:39 +0000 (16:12 -0000)]
Updated changelog fog revision 88355

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

16 years ago- Change Log updated for revisions 88065, 88356 and 88375
Arina Itkes [Mon, 29 Oct 2007 15:46:34 +0000 (15:46 -0000)]
- Change Log updated for revisions 88065, 88356 and 88375
- Original Copyright is set on extracted by refactoring class BaseMachine.

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

16 years ago2007-08-29 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Mon, 29 Oct 2007 15:42:06 +0000 (15:42 -0000)]
2007-08-29  Jonathan Chambers <joncham@gmail.com>

* monodiet.vcproj, libgc.vcproj, eglib.vcproj, libmono.vcproj, mono.vcproj,
genmdesc.vcproj, monoburg.vcproj, pedump.vcproj:
Make output directories a bit more usable.

Contributed under MIT/X11 license.

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

16 years ago2007-10-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Oct 2007 15:30:55 +0000 (15:30 -0000)]
2007-10-29  Atsushi Enomoto  <atsushi@ximian.com>

* AttributeCollection.cs : implemented FromExisting().
* Container.cs : implemented ValidateName() support.
* ContainerFilterService.cs : FilterComponents() does nothing.
* InstanceCreationEditor.cs : implemented get_Text().

* ContainerTest.cs : added test for ValidateName().

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

16 years agoNew tests.
Marek Safar [Mon, 29 Oct 2007 14:50:49 +0000 (14:50 -0000)]
New tests.

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

16 years agoMore tests.
Marek Safar [Mon, 29 Oct 2007 14:50:33 +0000 (14:50 -0000)]
More tests.

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

16 years ago2007-10-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Oct 2007 14:50:16 +0000 (14:50 -0000)]
2007-10-29  Marek Safar  <marek.safar@gmail.com>

  * cs-tokenizer.cs, gcs-parser.jay, driver.cs: Fixed parsing of nested
  query expressions.

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

16 years ago2007-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 29 Oct 2007 12:50:21 +0000 (12:50 -0000)]
2007-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* reflection.c (mono_image_create_token): Correctly encode methods and constructors of
generic TypeBuilders when called from another method of the same type (bug #335131).

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

16 years agoFix:
Arina Itkes [Mon, 29 Oct 2007 12:24:10 +0000 (12:24 -0000)]
Fix:
- Fixing category construct
- Moving category construct to Mono machine
- Fix grouping meta data for ExplicitCapture options
- Moving machine creation to ctor
- Fix of Result method

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

16 years agoMoving creation of Regex machine to ctor.
Arina Itkes [Mon, 29 Oct 2007 12:20:38 +0000 (12:20 -0000)]
Moving creation of Regex machine to ctor.

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

16 years ago* configure.in (olive_topdir): Look for $olivedir in the source tree.
Raja R Harinath [Mon, 29 Oct 2007 10:59:34 +0000 (10:59 -0000)]
* configure.in (olive_topdir): Look for $olivedir in the source tree.

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Oct 2007 10:55:37 +0000 (10:55 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* MapCodeGenerator.cs : found the true culprit for the previous
  attempt to the fix.

* XmlCodeExporterTests.cs : enable the previous test again.

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Oct 2007 10:41:53 +0000 (10:41 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* MapCodeGenerator.cs, XmlSchemaImporter.cs: revert the previous
  change; the type is included in the output, but it should not be
  the base type.

* XmlCodeExporterTests.cs : disable the previous test; it's reverted.

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Oct 2007 10:23:35 +0000 (10:23 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* MapCodeGenerator.cs, XmlSchemaImporter.cs: when a complexType has
  simple content extension/restriction and the simple base type is
  schema-defined, it must be written in exported code. Fixed (part
  of?) bug #336739.

* XmlCodeExporterTests.cs : added test for (part of?) bug #336739,
  base simple content enum type output.

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

16 years agoUpdated source file location
Marek Safar [Mon, 29 Oct 2007 09:44:41 +0000 (09:44 -0000)]
Updated source file location

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

16 years ago* Makefile (net_2_0_bootstrap/mcs.exe.config): Copy gmcs.exe.config.
Raja R Harinath [Mon, 29 Oct 2007 09:43:14 +0000 (09:43 -0000)]
* Makefile (net_2_0_bootstrap/mcs.exe.config): Copy gmcs.exe.config.

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

16 years ago2007-10-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Oct 2007 09:32:04 +0000 (09:32 -0000)]
2007-10-29  Marek Safar  <marek.safar@gmail.com>

  A test for bug #334652

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

16 years ago2007-10-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Oct 2007 09:31:45 +0000 (09:31 -0000)]
2007-10-29  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #334652
  * ecore.cs (MethodGroupExpr.OverloadResolve): Do also lookup for
  extension methods when we have not found the best candidate in normal
  container.

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

16 years ago2007-10-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Oct 2007 09:29:28 +0000 (09:29 -0000)]
2007-10-29  Marek Safar <marek.safar@gmail.com>

* Makefile: Fixed gmcs location.

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

16 years agoFix for Result method of Match. Throwing an exception if Result method was called...
Arina Itkes [Mon, 29 Oct 2007 09:20:00 +0000 (09:20 -0000)]
Fix for Result method of Match. Throwing an exception if Result method was called on a failed Match.

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

16 years agoNew tests for Regex:
Arina Itkes [Mon, 29 Oct 2007 09:15:16 +0000 (09:15 -0000)]
New tests for Regex:
- for Result method,
- for patterns with number of groups more than 10
- for patterns with ExpicitCapture options

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

16 years ago2007-10-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Oct 2007 08:27:47 +0000 (08:27 -0000)]
2007-10-29  Atsushi Enomoto  <atsushi@ximian.com>

* SoapException.cs : serialization constructor didn't call base.
  Fixed bug #337421.

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

16 years ago* OdbcDataReader.cs: Code formatting, spaces to tabs.
Gert Driesen [Sun, 28 Oct 2007 18:55:50 +0000 (18:55 -0000)]
* OdbcDataReader.cs: Code formatting, spaces to tabs.

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

16 years ago * X11Dnd.cs: When starting a new drag operation, reset the static
Carlos Alberto Cortez [Sat, 27 Oct 2007 23:30:53 +0000 (23:30 -0000)]
* X11Dnd.cs: When starting a new drag operation, reset the static
'dropped' field to false (previously the implementation didn't reset
it and got confused after the first drag).
Fixes #325071.

2007-10-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years agoMore build magic
Marek Safar [Sat, 27 Oct 2007 21:31:00 +0000 (21:31 -0000)]
More build magic

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 21:27:47 +0000 (21:27 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* AssemblyInfo.cs: Keep up-to-date.

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

16 years agoDistribute all .sources
Marek Safar [Sat, 27 Oct 2007 20:55:31 +0000 (20:55 -0000)]
Distribute all .sources

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

16 years agoRemoved.
Marek Safar [Sat, 27 Oct 2007 19:14:30 +0000 (19:14 -0000)]
Removed.

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

16 years agoAdd test, fix regression
Miguel de Icaza [Sat, 27 Oct 2007 18:43:15 +0000 (18:43 -0000)]
Add test, fix regression

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 18:03:00 +0000 (18:03 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* profiles/net_2_0_bootstrap.make: Fixed generics compiler name.

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 18:01:04 +0000 (18:01 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* Makefile: Fixed generics compiler name.

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

16 years agoAdd an Obsolete
Miguel de Icaza [Sat, 27 Oct 2007 17:52:57 +0000 (17:52 -0000)]
Add an Obsolete

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

16 years ago2007-10-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 27 Oct 2007 17:50:28 +0000 (17:50 -0000)]
2007-10-27  Miguel de Icaza  <miguel@novell.com>

* HttpListener.cs: Remove more trigger-happy disposed=true from
the code;   We should only dispose when the Dispose method is
actually called.   Not before.

Fixes #337371

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

16 years ago2007-10-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 27 Oct 2007 17:44:16 +0000 (17:44 -0000)]
2007-10-27  Miguel de Icaza  <miguel@novell.com>

*  HttpListener.cs (Close): Closing does not mean dispose the
object.   This allows Start/Stop/Start to be called as many times
as desired.

Fixes #337368

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 17:21:01 +0000 (17:21 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* lambda.test: removed, lambda parsing is done differently.

* gen-il.cs, gen-treedump.cs, old-code.cs : Obsolete.

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

16 years ago* Makefile: Removed dependency on gmcs.exe.config. Fixes build.
Gert Driesen [Sat, 27 Oct 2007 17:13:47 +0000 (17:13 -0000)]
* Makefile: Removed dependency on gmcs.exe.config. Fixes build.

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

16 years ago2007-10-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 27 Oct 2007 17:13:29 +0000 (17:13 -0000)]
2007-10-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* PropertyGrid.cs: When PropertySort changes, re-organize the grid
items instead of re-creating them all. For this purpose we now cache
both CategoryGridEntry items and the GridEntries for the main object's
properties.
* GridItem.cs: Make SetParent method abstract.
* GridEntry.cs: Override the SetParent method (already there, but now
we override it).
Fixes #324866.

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

16 years agoWhy is this needed
Marek Safar [Sat, 27 Oct 2007 16:53:30 +0000 (16:53 -0000)]
Why is this needed

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

16 years ago2007-07-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 16:32:00 +0000 (16:32 -0000)]
2007-07-27  Marek Safar  <marek.safar@gmail.com>

* Makefile: Removed gmcs and smcs, removed DIST_ONLY_SUBDIRS.

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

16 years ago2007-07-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 16:31:43 +0000 (16:31 -0000)]
2007-07-27  Marek Safar  <marek.safar@gmail.com>

* Makefile: Removed gmcs and smcs, removed DIST_ONLY_SUBDIRS.

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

16 years agoNo longer used
Marek Safar [Sat, 27 Oct 2007 16:11:34 +0000 (16:11 -0000)]
No longer used

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

16 years agoThis one was not ready yet.
Marek Safar [Sat, 27 Oct 2007 16:10:32 +0000 (16:10 -0000)]
This one was not ready yet.

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 15:59:48 +0000 (15:59 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* rules.make: Changed gmcs location.

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

16 years ago2007-07-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 15:58:42 +0000 (15:58 -0000)]
2007-07-27  Marek Safar  <marek.safar@gmail.com>

* Makefile: Removed gmcs and smcs

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 15:57:19 +0000 (15:57 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* Makefile, *.sources : All C# compilers are in mcs folder.

* *.cs: Use existing 2_1 define for smcs.

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

16 years ago* ResourceManager.cs: Removed temporary workaround for bug #43567.
Gert Driesen [Sat, 27 Oct 2007 15:32:24 +0000 (15:32 -0000)]
* ResourceManager.cs: Removed temporary workaround for bug #43567.
Reworked basename to only throw ArgumentException if resource with
name ending on ".resources" does not actually exist. Fixes bug
#336283. Do not throw exception in GetStream since this is already
done in InternalGetResourceSet. In InternalGetResourceSet, do not
throw MissingManifestResourceException when culture is null. Fixed
MissingManifestResourceException message to match MS. When using
file-based ResourceManager, then also throw an exception when file
does not exist for neutral culture.
* ResourceManager.cs: Added tests for null argument checks. Added test
for GetStream with resource file that does not exist.

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

16 years ago * SortedListTest.cs: Fixed deserialization test to pass on MS.
Gert Driesen [Sat, 27 Oct 2007 15:32:07 +0000 (15:32 -0000)]
 * SortedListTest.cs: Fixed deserialization test to pass on MS.

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 15:27:12 +0000 (15:27 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* executable.make: Added KEEP_OUTPUT_FILE_COPY to avoid move and copy
back compiler executables.

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

16 years ago2007-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Oct 2007 15:18:56 +0000 (15:18 -0000)]
2007-10-27  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs (InvokeMember_VarArgs): Enable this test.

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

16 years ago2007-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Oct 2007 15:17:54 +0000 (15:17 -0000)]
2007-10-27  Zoltan Varga  <vargaz@gmail.com>

* MonoType.cs: Applied patch from Mario A Chavez
<mario.chavez@gmail.com>. Add support for invoking members with the
ParamArray attribute. Fixes #336841.

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

16 years ago2007-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Oct 2007 14:46:52 +0000 (14:46 -0000)]
2007-10-27  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (methodbuilder_to_mono_method): Revert the last change as it
doesn't seem to work perfectly.

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

16 years agoUpgraded to beta 2
Marek Safar [Sat, 27 Oct 2007 10:57:38 +0000 (10:57 -0000)]
Upgraded to beta 2

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

16 years agoRenamed compiler.csproj to mcs
Marek Safar [Sat, 27 Oct 2007 10:01:54 +0000 (10:01 -0000)]
Renamed compiler.csproj to mcs

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

16 years ago2007-10-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Oct 2007 03:07:15 +0000 (03:07 -0000)]
2007-10-27  Atsushi Enomoto  <atsushi@ximian.com>

* Encoding.cs : fixed UTF8UnmarkedUnsafe for 1.1; should not be null.

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

16 years ago2007-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Oct 2007 23:05:40 +0000 (23:05 -0000)]
2007-10-27  Zoltan Varga  <vargaz@gmail.com>

* MonoGenericClass.cs: Override GetPropertyImpl too.

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

16 years ago2007-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Oct 2007 22:19:49 +0000 (22:19 -0000)]
2007-10-27  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (ctorbuilder_to_mono_method): Handle the case when this is
called multiple times.
(methodbuilder_to_mono_method): Ditto.
(resolve_object): Inflate FieldBuilder's.

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

16 years ago2007-10-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 26 Oct 2007 20:05:40 +0000 (20:05 -0000)]
2007-10-26  Marek Safar  <marek.safar@gmail.com>

A tests for bug #335847

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

16 years ago2007-10-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 26 Oct 2007 20:04:21 +0000 (20:04 -0000)]
2007-10-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #335847
* assign.cs, expression.cs: Couple of changes to avoid creating a
temporary variable for each object initializer assignment statement. It
simplifies struct initialization too, otherwise two temporary variables
would be required.
Implemented optimization of redundant default element initializers.

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

16 years ago2007-10-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Oct 2007 18:20:17 +0000 (18:20 -0000)]
2007-10-26  Rodrigo Kumpera  <rkumpera@novell.com>

* mini-arm.c (mono_arch_build_imt_thunk): Take the advantage
that IP  either is an unused value or the vtable pointer. IMT
calls use vtable + offset now. Reduced by almost half the size
of IMT entries.

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

16 years ago2007-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Oct 2007 18:17:35 +0000 (18:17 -0000)]
2007-10-26  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add test for #336936.

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

16 years ago2007-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Oct 2007 18:14:55 +0000 (18:14 -0000)]
2007-10-26  Zoltan Varga  <vargaz@gmail.com>

* MonoType.cs (InvokeMember): Make sure one operation is passed in the binding
flags. Fixes #336936.

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