mono.git
17 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 15:44:01 +0000 (15:44 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* PrimalityTests.cs: Last attempt half-failed. For the time being we
need the initial workaround :(

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

17 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 15:22:51 +0000 (15:22 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Call PrimalityTests.Test instead of the Rabin-Miller
test. This will select the best algorithm to use based on the prime
candidate. Applied #69999 optimization (even if this code is commented
right now) so this old issue can be closed.

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

17 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 15:21:01 +0000 (15:21 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* PrimalityTests.cs: Added Test method that select which algorithm,
SPP or RabinMillerTest, to use based on the prime-candidate size.
Removed previous workaround (as this is both a workaround and a good
fix ;-).

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

17 years agoprepare selenium test environment
Igor Zelmanovich [Thu, 5 Jul 2007 14:52:14 +0000 (14:52 -0000)]
prepare selenium test environment

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

17 years ago* ListControl.cs:
Vladimir Krasnov [Thu, 5 Jul 2007 14:43:44 +0000 (14:43 -0000)]
* ListControl.cs:
* ListItem.cs:
* ListItemCollection.cs: controls based on ListControl should not save view state before than TrackViewState called

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

17 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 14:38:05 +0000 (14:38 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* PrimeTestingTest.cs: Re-enable failing 20 digits primes (now that
we have a workaround for them).

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

17 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 14:36:50 +0000 (14:36 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Reduce modulo steps in Multiply. Add #if/#else around
older, and commented, [Odd|Even]Pow methods.

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

17 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 14:35:24 +0000 (14:35 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* PrimalityTests.cs: Rewritten RabinMillerTest to be closer to the
original algorithm (easier to understand/debug). Added a workaround
for #81857 when the prime is small (less than 100 bits) so we can keep
the a (base) == 2 optimization for larger primes.

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

17 years agofixed project files
Igor Zelmanovich [Thu, 5 Jul 2007 13:05:27 +0000 (13:05 -0000)]
fixed project files

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

17 years ago* WebControl.cs: fixed AddDisplayStyleAttribute, returns if ControlStyle is not created
Vladimir Krasnov [Thu, 5 Jul 2007 12:39:13 +0000 (12:39 -0000)]
* WebControl.cs: fixed AddDisplayStyleAttribute, returns if ControlStyle is not created

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

17 years agoRemove some overrides in TARGET_JVM due to byte code compiler limitations
Noam Lampert [Thu, 5 Jul 2007 12:18:42 +0000 (12:18 -0000)]
Remove some overrides in TARGET_JVM due to byte code compiler limitations

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

17 years agoconsider section 'system.web/deployment' is not supported for TARGET_J2EE
Igor Zelmanovich [Thu, 5 Jul 2007 11:07:34 +0000 (11:07 -0000)]
consider section 'system.web/deployment' is not supported for TARGET_J2EE

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

17 years agoprepare test project
Igor Zelmanovich [Thu, 5 Jul 2007 11:04:18 +0000 (11:04 -0000)]
prepare test project

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

17 years ago * ListView.cs: Implement the so-incredibly broken 2.0
Carlos Alberto Cortez [Thu, 5 Jul 2007 08:37:38 +0000 (08:37 -0000)]
* ListView.cs: Implement the so-incredibly broken 2.0
VirtualItemsSelectionRangeChanged event.

2007-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years agoadded/fixed project files
Igor Zelmanovich [Thu, 5 Jul 2007 08:26:57 +0000 (08:26 -0000)]
added/fixed project files

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

17 years agoRename cs1624-3.cs to gcs1624.cs
Raja R Harinath [Thu, 5 Jul 2007 08:15:19 +0000 (08:15 -0000)]
Rename cs1624-3.cs to gcs1624.cs

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

17 years agoScript to run standalone functional tests using Selenium.
Adar Wesley [Thu, 5 Jul 2007 08:05:03 +0000 (08:05 -0000)]
Script to run standalone functional tests using Selenium.

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

17 years ago * ListView.cs: When enter is pressed and selection is non empty,
Carlos Alberto Cortez [Thu, 5 Jul 2007 06:55:33 +0000 (06:55 -0000)]
* ListView.cs: When enter is pressed and selection is non empty,
an OnItemActivate event must be fired.

2007-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years ago2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 5 Jul 2007 05:36:19 +0000 (05:36 -0000)]
2007-07-04  Atsushi Enomoto <atsushi@ximian.com>

* mcs.1 : we do not use fixed Latin1 by default.

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

17 years ago2007-07-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 5 Jul 2007 05:18:41 +0000 (05:18 -0000)]
2007-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Store the FocusedItem information as an
int instead of a ListViewItem (needed by VirtualMode).
Update the calls to SetFocusedItem to pass an index instead of
an item.
* ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
the Focused state from the owner ListView.

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

17 years ago * ListViewItemTest.cs: Add tests for Focused property.
Carlos Alberto Cortez [Wed, 4 Jul 2007 23:42:15 +0000 (23:42 -0000)]
* ListViewItemTest.cs: Add tests for Focused property.

2007-07-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years ago * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
Carlos Alberto Cortez [Wed, 4 Jul 2007 23:41:04 +0000 (23:41 -0000)]
* ListView.cs: Set ListView.focused_item from ListViewItem.Focused
property. Also, invalidate previous focused item in the mentioned
property (match .Net).

2007-07-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years ago2007-07-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 4 Jul 2007 23:09:40 +0000 (23:09 -0000)]
2007-07-05  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Fix warnings.

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

17 years ago2007-07-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 4 Jul 2007 21:34:56 +0000 (21:34 -0000)]
2007-07-04  Sebastien Pouliot  <sebastien@ximian.com>
* BigIntegerTest.cs: A few more ModPow test cases to corner the
small value bug (looks like a bad Barrett reduction).

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

17 years ago2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 4 Jul 2007 18:37:29 +0000 (18:37 -0000)]
2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.Core.dll.sources : remove unused DTDValidatingReader2.cs

* DTDValidatingReader2.cs :
  we can remove NET_2_1 from this unused code in SL.

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

17 years ago* MathTest.cs: No longer use Assertion as base class, and changed
Gert Driesen [Wed, 4 Jul 2007 18:11:30 +0000 (18:11 -0000)]
* MathTest.cs: No longer use Assertion as base class, and changed
asserts accordingly. Numbered tests. Added test for bug #82001.
Code formatting.

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

17 years ago2007-07-04 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 4 Jul 2007 16:20:26 +0000 (16:20 -0000)]
2007-07-04  Dick Porter  <dick@ximian.com>

* Socket.cs: Don't set DontFragment by default for IPv6 sockets.
Fixes bug 81985.

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

17 years agoWed Jul 4 17:46:19 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 4 Jul 2007 15:35:46 +0000 (15:35 -0000)]
Wed Jul 4 17:46:19 CEST 2007 Paolo Molaro <lupus@ximian.com>

* darwin_stop_world.c: use a larger array for GC_mach_threads
(it'll need to be enlarged dynamically, but it's with the world
stopped, bug #81974).

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

17 years ago2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 4 Jul 2007 13:22:57 +0000 (13:22 -0000)]
2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile
  DummySystemXmlCore.cs
  System.Xml.Core.dll.sources :
  new files, to build System.Xml.Core.dll.

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

17 years agoUpdate for sse2 opt flag.
Paolo Molaro [Wed, 4 Jul 2007 13:20:39 +0000 (13:20 -0000)]
Update for sse2 opt flag.

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

17 years agoWed Jul 4 15:30:36 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 4 Jul 2007 13:20:11 +0000 (13:20 -0000)]
Wed Jul 4 15:30:36 CEST 2007 Paolo Molaro <lupus@ximian.com>

* optflags-def.h, mini-x86.c: added sse2 optimization flag and use it
to emit better double->int conversions.

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

17 years ago2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 4 Jul 2007 13:19:57 +0000 (13:19 -0000)]
2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>

* SubtreeXmlReader.cs XmlFilterReader.cs :
  exclude xsd stuff from NET_2_1 profile.

* DTDAutomata.cs DTDObjectModel.cs DTDReader.cs
  DTDValidatingReader2.cs XmlException.cs XmlReader.cs
  XmlReaderSettings.cs XmlWriter.cs :
  Make System.Xml.Core.dll build easier, using NET_2_1.

  DTD support is simply cut at this stage (as it largely depends on
  sys.xml.schema stuff).

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

17 years agoWed Jul 4 15:29:07 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 4 Jul 2007 13:17:45 +0000 (13:17 -0000)]
Wed Jul 4 15:29:07 CEST 2007 Paolo Molaro <lupus@ximian.com>

* x86/x86-codegen.h: added minimal sse instructions currently
needed by the JIT.

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

17 years ago2007-07-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 4 Jul 2007 12:29:22 +0000 (12:29 -0000)]
2007-07-04  Sebastien Pouliot  <sebastien@ximian.com>

* PrimeTestingTest.cs: Add test cases for "small" primes between
10 and 300 digits. 3 cases are failing for 20 digits primes.

* BigIntegerTest.cs: Add test cases for small values with
IsProbablePrime. From bug #81857, subset from patch by Kazuki.

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

17 years ago2007-07-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 4 Jul 2007 12:27:36 +0000 (12:27 -0000)]
2007-07-04  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: In some condition the optimized (4 variants) OddPow
expose a bug, mainly with small numbers. This simpler version, square
and multiply, doesn't expose as much the bug (almost all new prime
tests pass).

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

17 years agodoesn't consider CompilationSection for TARGET_J2EE
Igor Zelmanovich [Wed, 4 Jul 2007 11:42:16 +0000 (11:42 -0000)]
doesn't consider CompilationSection for TARGET_J2EE

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

17 years agorefactoring: make it works for TARGET_J2EE
Igor Zelmanovich [Wed, 4 Jul 2007 11:38:14 +0000 (11:38 -0000)]
refactoring: make it works for TARGET_J2EE

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

17 years agoNew tests.
Marek Safar [Wed, 4 Jul 2007 10:30:47 +0000 (10:30 -0000)]
New tests.

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

17 years ago2007-07-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 4 Jul 2007 10:30:26 +0000 (10:30 -0000)]
2007-07-04  Marek Safar  <marek.safar@gmail.com>

* ecore.cs (VarExpr.DoResolveLValue): More restriction checks.

* anonymous.cs,
* lambda.cs: Add custom error message type.

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

17 years agoTest for bug #81997.
Paolo Molaro [Wed, 4 Jul 2007 09:48:40 +0000 (09:48 -0000)]
Test for bug #81997.

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

17 years agoWed Jul 4 11:53:57 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 4 Jul 2007 09:44:05 +0000 (09:44 -0000)]
Wed Jul 4 11:53:57 CEST 2007 Paolo Molaro <lupus@ximian.com>

* object.c: cleaned up mono_runtime_invoke_array () and fixed handling
of byref generic inst types (bug #81997).

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

17 years agoadding TARGET_JVM on explicit interface implementation
Roei Erez [Wed, 4 Jul 2007 09:15:15 +0000 (09:15 -0000)]
adding TARGET_JVM on explicit interface implementation

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

17 years agoJavaScriptSerializer.Deserialize method returns correct type object.
Igor Zelmanovich [Wed, 4 Jul 2007 07:49:55 +0000 (07:49 -0000)]
JavaScriptSerializer.Deserialize method returns correct type object.
javascripts array is deserialized into object[] type.

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

17 years ago2007-07-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 4 Jul 2007 06:12:04 +0000 (06:12 -0000)]
2007-07-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewTest.cs: Add tests for 2.0 FocusedItem property setter.

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

17 years ago2007-07-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 4 Jul 2007 06:08:50 +0000 (06:08 -0000)]
2007-07-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement 2.0 FocusedItem property setter.

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

17 years agooops, it is S.R.E, not S.R.
Atsushi Eno [Wed, 4 Jul 2007 02:21:10 +0000 (02:21 -0000)]
oops, it is S.R.E, not S.R.

2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>

* DynamicMethod.cs : 2.0 API fix.

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

17 years ago2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 4 Jul 2007 02:19:18 +0000 (02:19 -0000)]
2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>

* Type.cs : 2.0 TypeHandle and ContainsGenericParameters are virtual
  (required fix for 2.0 reflection API fixes).

* CustomAttributeNamedArgument.cs CustomAttributeTypedArgument.cs
  CustomAttributeData.cs : implemented Equals() and GetHashCode().
* Missing.cs : ISerializable.
* AssemblyName.cs : ReferenceMatchesDefinition() stub.
* Module.cs : missing method stubs with generic type/method args.
* ExceptionHandlingClause.cs : ToString() stub.
* MethodBase.cs TypeDelegator.cs ModuleResolveEventHandler.cs
  TypeFilter.cs MemberFilter.cs
  FieldInfo.cs ParameterInfo.cs MethodInfo.cs DynamicMethod.cs :
  miscellaneous cosmetic API fixes.

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

17 years ago2007-07-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 4 Jul 2007 01:58:25 +0000 (01:58 -0000)]
2007-07-03 Rodrigo Kumpera <rkumpera@novell.com>
* make_tests.sh: new access verification tests
* make_access_test.sh: create member access test
* make_nested_access_tests.sh: create nested member access test

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

17 years ago2007-07-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 3 Jul 2007 23:48:25 +0000 (23:48 -0000)]
2007-07-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewTest.cs: Add tests for 2.0 TopItem property setter.

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

17 years ago2007-07-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 3 Jul 2007 23:46:23 +0000 (23:46 -0000)]
2007-07-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement 2.0 TopItem property setter.

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

17 years ago2007-07-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 3 Jul 2007 19:30:22 +0000 (19:30 -0000)]
2007-07-03  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs, TableLayoutTest.cs: Mark some tests that depend on
WM decoration sizes as Ignore.

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

17 years ago2007-07-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 3 Jul 2007 18:09:35 +0000 (18:09 -0000)]
2007-07-03  Marek Habersack  <mhabersack@novell.com>

* DefaultWsdlHelpGenerator.aspx: make head server-side, for the
service generator to run on sites which use stylesheet themes
configured in web.config. Fixes bug #81994

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

17 years ago* CultureInfoTest.cs: Added extra info in order to troubleshoot
Gert Driesen [Tue, 3 Jul 2007 18:05:08 +0000 (18:05 -0000)]
* CultureInfoTest.cs: Added extra info in order to troubleshoot
buildbot failure on redhat9-i386.

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

17 years ago2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 3 Jul 2007 17:46:35 +0000 (17:46 -0000)]
2007-07-03  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Avoid Miller-Rabin test for small primes (we have a
complete list of them) in IsProbablePrime.

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

17 years agoTue Jul 3 19:42:16 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 3 Jul 2007 17:31:23 +0000 (17:31 -0000)]
Tue Jul 3 19:42:16 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini.c: the provided Min/Max optimizations are valid for unisgned
ints.

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

17 years ago2007-07-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 3 Jul 2007 17:31:17 +0000 (17:31 -0000)]
2007-07-03  Atsushi Enomoto  <atsushi@ximian.com>

* CalendarTest.cs, EastAsianLunisolarCalendarTest.cs :
  more tests needed mark as NotWorking.

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

17 years agosvn path=/trunk/mcs/; revision=81275
Jonathan Pobst [Tue, 3 Jul 2007 16:35:03 +0000 (16:35 -0000)]
svn path=/trunk/mcs/; revision=81275

17 years ago2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 3 Jul 2007 16:09:04 +0000 (16:09 -0000)]
2007-07-03  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Add test cases for small values with IsProbablePrime.
From bug #81857, subset from patch by Kazuki.

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

17 years ago2007-07-03 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 3 Jul 2007 16:04:32 +0000 (16:04 -0000)]
2007-07-03 Igor Zelmanovich <igorz@mainsoft.com>

* AssemblyResourceLoader.cs:
implemented WebResourceAttribute.PerformSubstitution feature.

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

17 years ago2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 3 Jul 2007 15:59:45 +0000 (15:59 -0000)]
2007-07-03  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Fix possible IndexOutOfRangeException inside method
IsProbablePrime for small values.

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

17 years ago2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 3 Jul 2007 15:26:15 +0000 (15:26 -0000)]
2007-07-03  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Fix check on IsProbablePrime not to exclude the last
element of the small primes. Patch by Kazuki (#81857).

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

17 years ago2007-07-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 3 Jul 2007 15:13:52 +0000 (15:13 -0000)]
2007-07-03  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Switch to ImplicitLambdaParameter.

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

17 years ago2007-07-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 3 Jul 2007 15:05:10 +0000 (15:05 -0000)]
2007-07-03  Marek Safar  <marek.safar@gmail.com>

* lambda.cs: Simplified little bit.

* parameter.cs: Introduced ImplicitLambdaParameter.
(Parameters.CreateFullyResolved): New factory instead of ctor.

* anonymous.cs,
* class.cs,
* delegate.cs: Updated parameter creation.

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

17 years ago2007-07-03 Roderigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 3 Jul 2007 13:09:45 +0000 (13:09 -0000)]
2007-07-03 Roderigo Kumpera <rkumpera@novell.com>

*make_tests.sh: fixed two tests to produce valid results with .net
*make_field_test.sh: make fields public

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

17 years ago * xamlg.1:
Jackson Harper [Tue, 3 Jul 2007 13:08:04 +0000 (13:08 -0000)]
    * xamlg.1:
        * Makefile.am: Moved to more appropriate place.

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

17 years agoIn metadata:
Rodrigo Kumpera [Tue, 3 Jul 2007 13:01:33 +0000 (13:01 -0000)]
In metadata:
2007-07-03  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c: moved methods mono_method_can_access_field and mono_method_can_access_method from mini/mini.c
* class.h: added declarations of mono_method_can_access_field() and mono_method_can_access_method()

In mini:
2007-07-03  Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c (can_access_method, can_access_field): methods moved to metadata/class.c and renamed to mono_method_can_access_method and mono_method_can_acesss_field

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

17 years ago2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 3 Jul 2007 12:54:40 +0000 (12:54 -0000)]
2007-07-03  Sebastien Pouliot  <sebastien@ximian.com>

* RegionNonRectTest.cs: Add test cases for combining empty paths and
regions with infinite regions.

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

17 years ago2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 3 Jul 2007 12:40:41 +0000 (12:40 -0000)]
2007-07-03  Sebastien Pouliot  <sebastien@ximian.com>

* MarginsTest.cs: Remove operator tests before 2.0. Fix bots failures.

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

17 years agothey are MonoTODOs, unfinished stuff.
Atsushi Eno [Tue, 3 Jul 2007 12:35:32 +0000 (12:35 -0000)]
they are MonoTODOs, unfinished stuff.

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

17 years agoEliminating ComVisible noises.
Atsushi Eno [Tue, 3 Jul 2007 12:34:33 +0000 (12:34 -0000)]
Eliminating ComVisible noises.

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

17 years agoclearing ComVisibleAttribute noises in 2.0 API.
Atsushi Eno [Tue, 3 Jul 2007 12:28:53 +0000 (12:28 -0000)]
clearing ComVisibleAttribute noises in 2.0 API.

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

17 years agoImplemented EnablePageMethods feature
Igor Zelmanovich [Tue, 3 Jul 2007 12:05:08 +0000 (12:05 -0000)]
Implemented EnablePageMethods feature

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

17 years agoAdd new test.
Marek Safar [Tue, 3 Jul 2007 11:37:21 +0000 (11:37 -0000)]
Add new test.

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

17 years ago2007-07-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 3 Jul 2007 11:29:24 +0000 (11:29 -0000)]
2007-07-03  Marek Safar  <marek.safar@gmail.com>

*  ecore.cs (SimpleName.GetSignatureForError): Display correctly generic
arguments.

* generic.cs: Synchronized with gmcs.

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

17 years ago2007-07-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 3 Jul 2007 11:19:40 +0000 (11:19 -0000)]
2007-07-03  Marek Habersack  <mhabersack@novell.com>

* SimpleWebHandlerParser.cs: improve directive
pre-parsing. Directives can span multiple lines, they don't have
to start at the beginning of the line and any content can follow
them after the directive end. Also, do not trim the input since
that might affect program content. Fixes bug #81993.

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

17 years agoUpdated error messages.
Marek Safar [Tue, 3 Jul 2007 09:03:09 +0000 (09:03 -0000)]
Updated error messages.

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

17 years ago2007-07-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 3 Jul 2007 09:02:44 +0000 (09:02 -0000)]
2007-07-03  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Initialize implicit_value_parameter_type for interface
members too.

* linq.cs (QueryExpression.DoResolve): Resolve implicitly typed query
variable.

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

17 years ago2007-07-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 3 Jul 2007 09:01:55 +0000 (09:01 -0000)]
2007-07-03  Marek Safar  <marek.safar@gmail.com>

* class.cs (Indexer): Check return type as soon as possible.

* cs-parser.jay: Initialize implicit_value_parameter_type for interface
members too.

* ecore.cs (VarExpr.DoResolveLValue): Set eclass value.

* expression.cs (Invocation.Error_InvalidArguments): Show type only.

* parameter.cs (Parameter): Use expression type when it is available.

* support.cs (ReflectionParameters.ParameterDesc): Show an extension
method modifier for the first parameter only.

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

17 years agomake ScriptMethodAttribute is optionally
Igor Zelmanovich [Tue, 3 Jul 2007 07:46:47 +0000 (07:46 -0000)]
make ScriptMethodAttribute is optionally

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

17 years ago * xamlg.1:
Jackson Harper [Tue, 3 Jul 2007 03:15:18 +0000 (03:15 -0000)]
    * xamlg.1:
        * Makefile.am: Add man page for xamlg.

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

17 years ago2007-07-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 3 Jul 2007 01:02:51 +0000 (01:02 -0000)]
2007-07-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.

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

17 years agoUpdate project file for recent changes
Noam Lampert [Mon, 2 Jul 2007 20:22:43 +0000 (20:22 -0000)]
Update project file for recent changes

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

17 years ago2007-07-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 2 Jul 2007 20:09:37 +0000 (20:09 -0000)]
2007-07-02  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_string): Add support for unicode strings in
MARSHAL_ACTION_MANAGED_CONV_RESULT. Fixes #81990.

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

17 years ago2007-07-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 2 Jul 2007 19:23:07 +0000 (19:23 -0000)]
2007-07-02 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: field load/store are now verified, missing only access checks now

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

17 years ago* EastAsianLunisolarCalenderTest.cs: Fixed build.
Gert Driesen [Mon, 2 Jul 2007 18:01:53 +0000 (18:01 -0000)]
* EastAsianLunisolarCalenderTest.cs: Fixed build.

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

17 years agoinitial script services implementation
Konstantin Triger [Mon, 2 Jul 2007 16:26:06 +0000 (16:26 -0000)]
initial script services implementation

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

17 years agosupport serialization of IDictionary<>; refactoring
Konstantin Triger [Mon, 2 Jul 2007 16:19:24 +0000 (16:19 -0000)]
support serialization of IDictionary<>; refactoring

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

17 years ago* OleDbConnection.cs: Derive from DbConnection on 2.0 profile, and
Gert Driesen [Mon, 2 Jul 2007 16:18:48 +0000 (16:18 -0000)]
* OleDbConnection.cs: Derive from DbConnection on 2.0 profile, and
stubbed out where necessary. Fixed attributes for ConnectionString on
2.0 profile. Marked several members as override on 2.0 profile.
Do not hide StateChange event. Code formatting.
* OleDbCommandBuilder.cs: On 2.0, derive from DbCommandBuilder. Do not
include QuotePrefix and QuoteSuffix on 2.0. Stubbed out 2.0 members.
* OleDbDataAdapter.cs: On 2.0, derive from DbDataAdapter. Stubbed out
2.0 members. Do not not override Dispose on 2.0. Code formatting.
* OleDbDataReader.cs: Derive from DbDataReader on 2.0 profile. Marked
several members as override. Stubbed VisibleFieldCount. Added
EditorBrowsable attribute on GetData. Added GetDbDataReader on 2.0.
On 2.0, override GetEnumerator instead of explicit interface
implementation.
* OleDbErrorCollection.cs: Added 2.0 CopyTo overload.
* OleDbInfoMessageEventHandler.cs: Do not mark class serializable on
2.0 profile. Fixed API mismatch.
* OleDbParameter.cs: On 2.0, derive from DbParameter. Added new 2.0
ctor.  Override properties from base class and added
SourceColumnNullMapping property on 2.0. Implemented ResetDbType and
ResetOleDbType methods on 2.0.
* OleDbParameterCollection.cs: Derive from DbParameterCollection on
2.0 profile. Marked several members as override. Implemented AddRange,
CopyTo, IndexOf, Insert, Remove and RemoveAt methods introduced in
2.0 profile. Stubbed out GetParameter and SetParameter overloads.
* OleDbPermission.cs: Added missing BrowsableAttribute on Provider.
Code formatting.
* OleDbPermissionAttribute.cs: Added BrowsableAttribute on Provdider
(2.0 only).
* OleDbRowUpdatedEventHandler.cs:  Do not mark class serializable on
2.0 profile.
* OleDbRowUpdatingEventArgs.cs: Removed unused command field. Added
BaseCommand property on 2.0
* OleDbRowUpdatingEventHandler.cs: Do not mark class serializable on
2.0 profile. Fixed API mismatch.
* OleDbTransaction.cs: On 2.0, derive from DbTransaction. Added
DbConnection property and override Dispose (both 2.0 only). On 2.0,
Override Commit and Rollback. Code formatting.

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

17 years agoimplement GenerateScriptTypeAttribute.ScriptTypeId
Konstantin Triger [Mon, 2 Jul 2007 16:16:32 +0000 (16:16 -0000)]
implement GenerateScriptTypeAttribute.ScriptTypeId

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

17 years ago2007-07-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 2 Jul 2007 14:20:41 +0000 (14:20 -0000)]
2007-07-02  Jonathan Pobst  <monkey@jpobst.com>

* ToolTip.cs: Implement 2.0 Tag property.

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

17 years agobase.Render is called from overridden method
Igor Zelmanovich [Mon, 2 Jul 2007 13:47:18 +0000 (13:47 -0000)]
base.Render is called from overridden method

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

17 years agoAdded tests for Ajax client side functionality using Selenium infrastructure.
Adar Wesley [Mon, 2 Jul 2007 13:04:39 +0000 (13:04 -0000)]
Added tests for Ajax client side functionality using Selenium infrastructure.

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

17 years agoImplemented RegisterDataItem methods
Igor Zelmanovich [Mon, 2 Jul 2007 12:58:40 +0000 (12:58 -0000)]
Implemented RegisterDataItem methods

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

17 years ago2007-07-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 2 Jul 2007 12:29:25 +0000 (12:29 -0000)]
2007-07-02  Marek Habersack  <mhabersack@novell.com>

* CapabilitiesLoader.cs: provide default capability values for all
the 2.0+ capabilities which are not defined in our
browscap.ini. The default values have been assigned as per
MSDN. Fixes bug #81927

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

17 years ago2007-07-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 2 Jul 2007 11:40:40 +0000 (11:40 -0000)]
2007-07-02  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: don't use StartWith to see if a
variable's value is a bind expression, as it erroneously renames
all calls to methods starting with the string Bind. Use a regular
expression now instead. Fixes bug #81928.

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

17 years ago2007-07-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 2 Jul 2007 10:52:13 +0000 (10:52 -0000)]
2007-07-02  Marek Habersack  <mhabersack@novell.com>

* WebControl.cs: Revert r80368, as it wasn't the correct
fix. Fixes bug #81945.

* ListControl.cs: if there are no items in the collection, do not
return an empty ArrayList from GetSelectedIndicesInternal. Fixes
bug #81945 and properly fixes bug #78533.

* ListItemCollection.cs: if there are no items in collection,
return null.

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

17 years agoimproved partial rendering.
Igor Zelmanovich [Mon, 2 Jul 2007 09:25:21 +0000 (09:25 -0000)]
improved partial rendering.

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

17 years ago2007-07-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 2 Jul 2007 09:14:17 +0000 (09:14 -0000)]
2007-07-02  Marek Habersack  <mhabersack@novell.com>

* Control.cs: make sure TemplateSourceDirectory returns meaningful
results in the 1.1 profile. Fixes bug #81950.

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

17 years ago2007-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 2 Jul 2007 08:33:31 +0000 (08:33 -0000)]
2007-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* UmAlQuraCalendar.cs
  EastAsianLunisolarCalendar.cs
  ChineseLunisolarCalendar.cs
  TaiwanLunisolarCalendar.cs
  JapaneseLunisolarCalendar.cs
  KoreanLunisolarCalendar.cs : new 2.0 calendars.
* Calendar.cs
  HijriCalendar.cs HebrewCalendar.cs ThaiBuddhistCalendar.cs
  GregorianCalendar.cs KoreanCalendar.cs JulianCalendar.cs
  TaiwanCalendar.cs JapaneseCalendar.cs PersianCalendar.cs :
  added GetLeapMonth().
* CalendricalCalculations.cs : added some lunisolar calendar stuff.
  mostly stubs.

* EastAsianLunisolarCalendarTest.cs : new test, totally not-working.
* CalendarTest.cs : added couple of 2.0 tests. Some are not working.

* corlib.dll.sources : added couple of new 2.0 calendars.
* corlib_test.dll.sources : added EastAsianLunisolarCalendarTest.cs.

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

17 years agoImplemented RenderMode property
Igor Zelmanovich [Mon, 2 Jul 2007 07:47:57 +0000 (07:47 -0000)]
Implemented RenderMode property

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