mono.git
18 years ago* XmlSchemaExporterTests.cs: Reworked tests that fail on Mono due to bug
Gert Driesen [Sat, 4 Feb 2006 10:24:02 +0000 (10:24 -0000)]
* XmlSchemaExporterTests.cs: Reworked tests that fail on Mono due to bug
#77117 to pass on Mono (until that bug is fixed) and mark these tests
NotDotNet.

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

18 years ago* ServiceDescriptionReflectorTest.cs: Use only one include as otherwise the
Gert Driesen [Sat, 4 Feb 2006 09:26:40 +0000 (09:26 -0000)]
* ServiceDescriptionReflectorTest.cs: Use only one include as otherwise the
order of element on MS.NET is not consistent.

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

18 years ago* ServiceDescriptionReflectorTest.cs: New test, currently marked NotWorking.
Gert Driesen [Sat, 4 Feb 2006 08:17:35 +0000 (08:17 -0000)]
* ServiceDescriptionReflectorTest.cs: New test, currently marked NotWorking.
* System.Web.Services_test.dll.sources: Added ServiceDescriptionReflectorTest.cs

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

18 years ago2006-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 4 Feb 2006 07:54:00 +0000 (07:54 -0000)]
2006-02-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : on ReadEndTag() we can avoid NameTable.Add().
  Store name, local name and prefix in the stack instead of just name
  and reuse them for EndElement.

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

18 years ago2006-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 4 Feb 2006 07:52:13 +0000 (07:52 -0000)]
2006-02-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlDocumentNavigator.cs : make use of HasAttributes (avoid possible
  XmlAttributeCollection creation).

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

18 years ago2006-02-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 4 Feb 2006 02:42:05 +0000 (02:42 -0000)]
2006-02-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* FtpWebRequestTest.cs: Add a small check for Method.

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

18 years ago * FtpWebRequest.cs: Add supportedCommands array with the sorted
Carlos Alberto Cortez [Sat, 4 Feb 2006 02:40:20 +0000 (02:40 -0000)]
* FtpWebRequest.cs: Add supportedCommands array with the sorted
methods, to search using Array.BinarySearch. Remove CheckMethod.

2006-02-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

18 years ago2006-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Feb 2006 23:41:33 +0000 (23:41 -0000)]
2006-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: added a missing overload for SetSocketOption.

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

18 years ago2006-02-04 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 3 Feb 2006 23:09:26 +0000 (23:09 -0000)]
2006-02-04  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: One more...

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

18 years ago * FileDialog.cs: Next try
Alexander Olk [Fri, 3 Feb 2006 23:01:56 +0000 (23:01 -0000)]
* FileDialog.cs: Next try

2006-02-03  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago * FileDialog.cs: First part of fix for #77464
Alexander Olk [Fri, 3 Feb 2006 22:56:57 +0000 (22:56 -0000)]
* FileDialog.cs: First part of fix for #77464

2006-02-03  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-02-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Feb 2006 22:35:45 +0000 (22:35 -0000)]
2006-02-03  Zoltan Varga  <vargaz@gmail.com>

* MethodInfoTest.cs: Add tests for IsGenericMethod.

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

18 years ago2006-02-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Feb 2006 22:28:25 +0000 (22:28 -0000)]
2006-02-03  Zoltan Varga  <vargaz@gmail.com>

* MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
Fixes #77460.

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

18 years ago2006-02-03 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 3 Feb 2006 21:06:58 +0000 (21:06 -0000)]
2006-02-03  Alexander Olk  <alex.olk@googlemail.com>

* ButtonBase.cs, ContainerControl.cs, Forms.cs,
  ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  AcceptButton border drawing.

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

18 years agoFri Feb 3 18:51:35 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 3 Feb 2006 17:55:16 +0000 (17:55 -0000)]
Fri Feb 3 18:51:35 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini.c: change optimize_branches () to use a single loop
and introduce a new optimization to simplify some range checks.

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

18 years ago2006-02-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 3 Feb 2006 17:26:53 +0000 (17:26 -0000)]
2006-02-03  Martin Baulig  <martin@ximian.com>

* debug-debugger.c (debugger_thread_manager_thread_created): Removed
and merged with debugger_thread_manager_add_thread().
(mono_debugger_main): Call debugger_thread_manager_add_thread() to
inform the debugger about the main thread.

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

18 years ago2006-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Feb 2006 17:05:10 +0000 (17:05 -0000)]
2006-02-03  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs : avoid possible overflow.

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

18 years ago2006-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Feb 2006 16:54:56 +0000 (16:54 -0000)]
2006-02-03  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs : In zero-charbuffer case, byte buffer count should
  be checked. Also it should not ignore leftOver characters even if
  byte buffer length is 0.

* UTF8EncodingTest.cs : added test for insufficient bytes for
  flush=true and leftOver!='\0' case.

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

18 years ago2006-02-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Feb 2006 16:54:29 +0000 (16:54 -0000)]
2006-02-03  Zoltan Varga  <vargaz@gmail.com>

* basic.cs: Add test for div.un/rem.un constant folding.

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

18 years ago2006-02-03 Senganal T <tsenganal@novell.com>
Senganal T [Fri, 3 Feb 2006 16:50:15 +0000 (16:50 -0000)]
2006-02-03  Senganal T  <tsenganal@novell.com>
* Test/System.Data.SqlTypes/SqlStringTest.cs : Removed NotWorking attribute for testcases fixed
* Test/System.Data/DataTableCollectionTest2.cs,EvaluateExceptionTest.cs,
DataColumnTest.cs,DataRowViewTest.cs,DataRowCollectionTest2.cs,
DataTableTest2.cs,DataTableTest.cs,DataColumnCollectionTest2.cs,
DataColumnCollectionTest.cs,DataViewTest.cs,DataColumnTest2.cs
- Removed 'NotWorking' attributes for the testcases fixed
- Added few new testcases
* System.Data.SqlTypes/SqlString.cs :
- GetUnicodeBytes()
- GetNonUnicodeBytes()
- Constructor
Use Encoding class to convert between byte[] and string
* Mono.Data.SqlExpressions/ColumnReference.cs :
- GetReferencedRow ()
- GetReferencedRows() : Verify the column before getting the values.
  Validate the ColumnReference even when the table has no rows.
* Mono.Data.SqlExpressions/Function.cs : Modified Eval()
- A tmp fix to check for null. Expression.Eval needs to be modified all
around to return DBNull.Value.
* System.Data/DataTableCollection.cs :
- Remove () : Check for invalid TableName
- Add () : Verify the table doesn't belong to another dataset
* System.Data/DataView.cs :
- CompleteLastAdded () : Do not raise ItemAdded Event as it is
already raised in AddNew().
* System.Data/DataColumn.cs :
- Expression : Verify that the Column names in the expression are valid
- ResetCollectionInfo : Renamed to ResetColumnInfo
* System.Data/DataRow.cs :
- RejectChanges () : Reorganized the code to do the Right thing.
- Item  : Dont check for detached and deleted rows as these are
done elsewhere.
* System.Data/DataRowCollection.cs :
- Add () : Check for null value
* System.Data/DataTable.cs :
- PrimaryKey : Set AllowDBNull=false for all the key columns
- ImportRow : Import the row only if it is not in Detached state. if in Deleted
state, perform the validation when AcceptChanges/RejectChanges is called.
* System.Data/DataColumnCollection.cs :
- Add : Validate the column expression before adding it to the collection.
- GetColumnDependency () : New. Get the dependencies on the column
- CanRemove : Move checks to GetColumnDependency
- Clear () : Simplified code. Remove unncessary checks.Also, dont check Expression col.
- IndexOf - Check argument.
Overall , appropriate error msg's are thrown if Remove/Clear fails. Removed a few
redundant checks performed and moved the common code to GetColumnDependency.

Fixes failing testcases in System.Data.

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

18 years ago* s390x.md: correct int_xor_imm length
Neale Ferguson [Fri, 3 Feb 2006 16:27:41 +0000 (16:27 -0000)]
* s390x.md: correct int_xor_imm length

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

18 years ago2006-02-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Feb 2006 14:49:18 +0000 (14:49 -0000)]
2006-02-03  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilder.cs (CreateType): Add a check for Sealed parents.

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

18 years ago2006-02-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Feb 2006 14:12:56 +0000 (14:12 -0000)]
2006-02-03  Zoltan Varga  <vargaz@gmail.com>

* CryptoStream.cs: Add 'override' keyword to Dispose (bool) method in 2.0.

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

18 years ago2006-02-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Feb 2006 14:12:07 +0000 (14:12 -0000)]
2006-02-03  Zoltan Varga  <vargaz@gmail.com>

* Stream.cs FileStream.cs: Add new 2.0 Dispose () method and protected
Dispose (bool) method.

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

18 years ago2006-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Feb 2006 14:05:48 +0000 (14:05 -0000)]
2006-02-03  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : no need to call Clear() for each attribute value.

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

18 years agoget.c: Added #include <mono/utils/mono-compiler.h> so VS.NET can compile monodis.
Sebastien Pouliot [Fri, 3 Feb 2006 13:54:41 +0000 (13:54 -0000)]
get.c: Added #include <mono/utils/mono-compiler.h> so VS.NET can compile monodis.

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

18 years ago2006-02-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Feb 2006 13:29:24 +0000 (13:29 -0000)]
2006-02-03  Zoltan Varga  <vargaz@gmail.com>

* generics.2.cs: New test for #77442.

* jit-icalls.c (helper_compile_generic_method): Check for null. Fixes
#77442.

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

18 years ago2006-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Feb 2006 12:39:02 +0000 (12:39 -0000)]
2006-02-03  Atsushi Enomoto <atsushi@ximian.com>

* XmlDocument.cs : reverted most of the previous changes. It somehow
  broke System.Data tests.

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

18 years ago2006-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Feb 2006 11:59:07 +0000 (11:59 -0000)]
2006-02-03  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs : Fast path optimization for InternalGetByteCount()
  and InternalGetBytes().

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

18 years ago2006-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Feb 2006 11:25:06 +0000 (11:25 -0000)]
2006-02-03  Atsushi Enomoto  <atsushi@ximian.com>

* WebRequestTest.cs : FtpWebRequest is only NET_2_0.

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

18 years ago2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Feb 2006 10:37:42 +0000 (10:37 -0000)]
2006-02-02  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs :
  actually leftover bits needs more careful handleding. So it's
  better to be rather close to the original GetBytes().
  Also changed leftOver handling so that it will be able to support
  fallback.

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

18 years ago2006-02-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 3 Feb 2006 10:19:06 +0000 (10:19 -0000)]
2006-02-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* FtpWebRequestTest.cs: New file to test properties/methods
that don't need any connection to work.

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

18 years ago2005-02-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 3 Feb 2006 10:06:21 +0000 (10:06 -0000)]
2005-02-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* WebRequestTest.cs: Add ftp to the Create () method (to return
a FtpWebRequest instance).

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

18 years ago2006-02-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 3 Feb 2006 10:04:14 +0000 (10:04 -0000)]
2006-02-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* FtpWebRequest.cs: Fixed some typos and small issues.

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

18 years agoFri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 3 Feb 2006 10:02:56 +0000 (10:02 -0000)]
Fri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>

* String.cs: changed StartsWith/EndsWith to faster versions.

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

18 years ago2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Feb 2006 08:54:45 +0000 (08:54 -0000)]
2006-02-03  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs: Moved positioning of form after auto scaling is applied,
  otherwise it would possibly use wrong form size.

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

18 years ago2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Feb 2006 08:34:50 +0000 (08:34 -0000)]
2006-02-03  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs (RecreateHandle): No need to re-create any child
  controls, the child windows will get destroyed automatically by
  the windowing system or driver, and re-created when the handle
  is being accessed the first time. Fixes #77456
* Form.cs: No longer setting the form to closing if the handle is
  being recreated. This seems like the right thing to do, don't
  have a bug or testcase for this, though.

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

18 years ago2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Feb 2006 07:55:02 +0000 (07:55 -0000)]
2006-02-02  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs :
  GetBytes(string, ...) could reuse InternalGetBytes() using fixed
  pointers. However, InternalGetBytes() was slower than
  GetBytes(string, ...), so first replaced existing InternalGetBytes()
  with GetBytes() internals, and GetBytes(string, ...) switched to
  InternalGetBytes(). Now GetBytes() implementation code is reduced
  to one method.

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

18 years ago2006-02-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 3 Feb 2006 07:31:14 +0000 (07:31 -0000)]
2006-02-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* data/net_2_0/machine.config: Add FtpRequestCreator
to create new instances of System.Net.FtpWebWebRequest.

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

18 years ago2005-02-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 3 Feb 2006 07:18:07 +0000 (07:18 -0000)]
2005-02-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* System.dll.sources: Add the recently added System.Net 2.0
clases (FtpWebRequest, FtpWebResponse, FtpDataStream, FtpAsyncResult,
and also FtpStatusCode and WebRequestMethods).

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

18 years ago2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Feb 2006 04:21:23 +0000 (04:21 -0000)]
2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>

* FileDialog.cs: Suspend/Resume layouting when changing sizes of
  controls to avoid unwanted side effects

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

18 years ago2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Feb 2006 03:20:38 +0000 (03:20 -0000)]
2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - ScaleCore needs to scale the bounds, not the ClientSize of the
    control. Fixes #77416.
  - DefaultSize is 0,0 for control
* TextBoxBase.cs:
  - DefaultSize is 100, 20
  - SetBoundsCore: Now enforcing the height, no matter if the provided
    height is more or less than the preferred one, as long as AutoSize
    is on
* Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416

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

18 years ago2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Feb 2006 00:30:42 +0000 (00:30 -0000)]
2006-02-02  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - ResumeLayout: Fixed logic when to call PerformLayout, we may not
    call unless both performLayout is true *and* we have a pending
    layout change
  - ResumeLayout: MS does not completely nest Suspend and Resume,
    they bottom out at 0, fixed our code to match that.
  - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
    SetBoundsCore, we were updating even when we shouldn't. This fixes
    swf-anchors mis-anchoring when resizing the app fast and lots.
  - UpdateDistances: Now only setting the left and top distance if
    we have a parent and are not suspended, this is based on
    a suggestion by Don Edvaldson in bug #77355.
  - OnVisibleChanged: Fixed logic when to create the control. We may
    not create the control if we have no parent or if it's not visible;
    switched to using Visible property instead of is_visible field
    since the property also considers parent states. This fixes a bug
    when starting Paint.Net

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

18 years ago2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Feb 2006 00:19:21 +0000 (00:19 -0000)]
2006-02-02  Peter Dennis Bartok <pbartok@novell.com>

* ControlTest.cs: Added test for layout nesting
* MonthCalendarTest.cs: Fixed typo in class name

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

18 years ago2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Feb 2006 23:24:17 +0000 (23:24 -0000)]
2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: dummy implementation of UnsafeAuthenticationBlah
property.

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

18 years ago2006-02-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 2 Feb 2006 23:15:22 +0000 (23:15 -0000)]
2006-02-02  Miguel de Icaza  <miguel@novell.com>

* anonymous.cs (CaptureContext.EmitInitScope): I was wrong in the
commit yesterday, the initialization for the roots is necessary.
What is not necessary is the scope activation.

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

18 years ago2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Feb 2006 22:21:38 +0000 (22:21 -0000)]
2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HostingEnvironment.cs: MapPath is done.

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

18 years ago2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Feb 2006 22:19:42 +0000 (22:19 -0000)]
2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HostingEnvironmentTest.cs: tests for MapPath.

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

18 years ago2006-02-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Feb 2006 21:00:55 +0000 (21:00 -0000)]
2006-02-02  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add test for getting custom attributes of generic
instances.

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

18 years ago2006-02-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Feb 2006 20:54:22 +0000 (20:54 -0000)]
2006-02-02  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_create_generic): Set type_token as well.

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

18 years ago- No longer needed
Peter Dennis Bartok [Thu, 2 Feb 2006 18:50:53 +0000 (18:50 -0000)]
- No longer needed

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

18 years ago- Now presenting "ChangeLog", back from the dead, thanks to Miguel's
Peter Dennis Bartok [Thu, 2 Feb 2006 18:46:40 +0000 (18:46 -0000)]
- Now presenting "ChangeLog", back from the dead, thanks to Miguel's
  trick

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

18 years ago- Prepping to bring the real changelog back
Peter Dennis Bartok [Thu, 2 Feb 2006 18:42:18 +0000 (18:42 -0000)]
- Prepping to bring the real changelog back

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

18 years ago- Trying to get our CHangeLog back
Peter Dennis Bartok [Thu, 2 Feb 2006 18:39:43 +0000 (18:39 -0000)]
- Trying to get our CHangeLog back

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

18 years ago- Bringing it back from the dead
Peter Dennis Bartok [Thu, 2 Feb 2006 18:29:01 +0000 (18:29 -0000)]
- Bringing it back from the dead

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

18 years ago2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Feb 2006 18:20:47 +0000 (18:20 -0000)]
2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DefaultVirtualDirectory.cs: implemented missing bits.
* DefaultVirtualFile.cs: fix ctor scope.
* DefaultVirtualPathProvider.cs: implemented GetFile and GetDirectory.

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

18 years ago2006-02-02 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 2 Feb 2006 18:12:30 +0000 (18:12 -0000)]
2006-02-02  Chris Toshok  <toshok@ximian.com>

* WebConfigurationManager.cs (GetSection(string,string)):
implement.

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

18 years agoadd a usage of GetSection(string,string) and label the asp:Labels
Chris Toshok [Thu, 2 Feb 2006 18:11:37 +0000 (18:11 -0000)]
add a usage of GetSection(string,string) and label the asp:Labels

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

18 years ago2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Feb 2006 16:36:09 +0000 (16:36 -0000)]
2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* String.cs: implement 2.0 StartsWith and EndsWith new overloads. Based
on a patch by Thong Nguyen.

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

18 years agobuild fix
Gonzalo Paniagua Javier [Thu, 2 Feb 2006 15:41:37 +0000 (15:41 -0000)]
build fix

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

18 years ago2006-02-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 2 Feb 2006 15:37:26 +0000 (15:37 -0000)]
2006-02-02  Sebastien Pouliot  <sebastien@ximian.com>

* RegionsRectangle.cs: Add test case for bug #77408.

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

18 years agoAdding TARGET_JVM OleDb testsuite
Konstantin Triger [Thu, 2 Feb 2006 15:23:21 +0000 (15:23 -0000)]
Adding TARGET_JVM OleDb testsuite

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

18 years ago2006-02-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Feb 2006 15:11:50 +0000 (15:11 -0000)]
2006-02-02  Zoltan Varga  <vargaz@gmail.com>

* MethodInfoTest.cs: Add test for Invoke and byref valuetypes.

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

18 years ago2006-02-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Feb 2006 15:10:22 +0000 (15:10 -0000)]
2006-02-02  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_runtime_invoke_array): Fix handling of byref vtypes to be
compatible with MS.

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

18 years agoIn ilasm/parser:
Ankit Jain [Thu, 2 Feb 2006 14:59:04 +0000 (14:59 -0000)]
In ilasm/parser:

* ILParser.jay (bound | int32 ELLIPSIS int32): Throw exception if
lower_bound > upper_bound.

In ilasm/errors:

* err-invalid-array-bounds.il: New. Test for 'lower bound <= upper bound'

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

18 years agoChanging the SkipWhile method again. Now it works completely OK.
Alejandro Serrano "Serras" [Thu, 2 Feb 2006 14:52:32 +0000 (14:52 -0000)]
Changing the SkipWhile method again. Now it works completely OK.

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

18 years ago2006-02-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 2 Feb 2006 11:57:43 +0000 (11:57 -0000)]
2006-02-02  Martin Baulig  <martin@ximian.com>

* threads.c: Removed the `WITH_INCLUDED_LIBGC' section; it has
never been used so far.

* timed-thread.h (TimedThread): Removed the `stack_ptr' field; it
has only been used by the removed code.

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

18 years ago2006-02-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 2 Feb 2006 11:57:29 +0000 (11:57 -0000)]
2006-02-02  Martin Baulig  <martin@ximian.com>

* threads.c, gc.c: Removed the `WITH_INCLUDED_LIBGC' section; it
has never been used so far.

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

18 years ago2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Feb 2006 11:40:38 +0000 (11:40 -0000)]
2006-02-02  Atsushi Enomoto  <atsushi@ximian.com>

* xmltool.cs : handle multiple input files. Thanks to Alp for the hint.

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

18 years ago2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Feb 2006 11:16:33 +0000 (11:16 -0000)]
2006-02-02  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs : fast path optimization was pretty insufficient.
  Now it handles the entire bytes, not just half of them.

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

18 years ago2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Feb 2006 11:01:21 +0000 (11:01 -0000)]
2006-02-02  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs : zero-length check was wrong. Check it by
  "charIndex == chars.Length" instead of "charCount == 0".

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

18 years ago2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Feb 2006 10:54:24 +0000 (10:54 -0000)]
2006-02-02  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs : switched GetBytes() to pointer-based code.
  Implemented 2.0 pointer-based GetBytes(). 10% perf. improvement.

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

18 years ago2006-02-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 2 Feb 2006 10:23:21 +0000 (10:23 -0000)]
2006-02-02  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.h: Changed comment at the top of this file;
the header is not installed, but it's safe to #include it from
within the JIT.

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

18 years ago2006-02-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 2 Feb 2006 10:14:04 +0000 (10:14 -0000)]
2006-02-02  Martin Baulig  <martin@ximian.com>

* debug-debugger.h: New header file for debug-debugger.c.

* debug-debugger.c: Big API cleanup; don't run the managed Main()
function is a separate thread anymore; add support for attaching.

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

18 years ago2006-02-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 2 Feb 2006 10:12:20 +0000 (10:12 -0000)]
2006-02-02  Martin Baulig  <martin@ximian.com>

* mono-debug.h
(MonoSymbolTable): Removed the `metadata_info' field.

* mono-debug.c
(mono_debug_init_1): Always set `mono_symbol_table->corlib'.

* mono-debug-debugger.h (MonoDebuggerIOLayer): Removed.
(mono_debugger_add_builtin_types): Removed.
(MonoDebuggerInfo): Moved into ../mini/debug-debugger.h.
(mono_debugger_create_notification_function): We now operate on a
pre-allocated area; take a `gpointer' and return `void'.

* mono-debug-debugger.c
(MonoDebuggerMetadataInfo): Moved into ../mini/debug-debugger.h.
(mono_debugger_add_builtin_types): Removed.

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

18 years agoIn mcs:
Raja R Harinath [Thu, 2 Feb 2006 10:05:58 +0000 (10:05 -0000)]
In mcs:
* ecore.cs (PropertyExpr.DoResolveLValue): Add CS0206 check.
* expression.cs (IndexerAccess.DoResolveLValue): Add CS1612 and
CS0206 checks.
(Argument.Resolve): Remove CS0206 checks.

In gmcs:
* ecore.cs (PropertyExpr.DoResolveLValue): Add CS0206 check.
* expression.cs (IndexerAccess.DoResolveLValue): Add CS1612 and
CS0206 checks.
(Argument.Resolve): Remove CS0206 checks.

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

18 years ago2006-02-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 2 Feb 2006 10:02:10 +0000 (10:02 -0000)]
2006-02-02  Martin Baulig  <martin@ximian.com>

* threads.c (mono_debugger_create_all_threads): New public method.

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

18 years agoReverted r56388.
Martin Baulig [Thu, 2 Feb 2006 09:58:45 +0000 (09:58 -0000)]
Reverted r56388.

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

18 years agoWarning fixes.
Paolo Molaro [Thu, 2 Feb 2006 09:40:09 +0000 (09:40 -0000)]
Warning fixes.

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

18 years ago * Form.cs: If the forms handle hasn't been created yet don't
Jackson Harper [Thu, 2 Feb 2006 08:55:52 +0000 (08:55 -0000)]
    * Form.cs: If the forms handle hasn't been created yet don't
        * call
        into xplatui to make it top most, just set the topmost flag on
        the
        form in CreateParams
        * XplatUIX11.cs: Handle WS_EX_TOPMOST.

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

18 years ago2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Feb 2006 08:30:46 +0000 (08:30 -0000)]
2006-02-02  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngValidatingReader.cs : removed extra tables.

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

18 years ago2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Feb 2006 07:20:36 +0000 (07:20 -0000)]
2006-02-02  Atsushi Enomoto <atsushi@ximian.com>

* RdpPatterns.cs : After profiling in depth, finally I found the
  source of the worst perf. problem in the code - return x for
  (choice x x).
  It now validates 5MB of OpenDocument specification content.xml,
  which only Jing could do.

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

18 years ago * FtpRequestCreator.cs:
Carlos Alberto Cortez [Thu, 2 Feb 2006 01:59:28 +0000 (01:59 -0000)]
* FtpRequestCreator.cs:
* FtpAsyncResult.cs:
* FtpDataStream.cs:
* FtpWebRequest.cs:
* FtpWebResponse.cs: Initial implementation of FtpWebRequest (2.0)

2006-02-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

18 years ago2006-02-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 2 Feb 2006 01:50:08 +0000 (01:50 -0000)]
2006-02-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* FtpStatusCode.cs: Fix a typo.

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

18 years agonew files
Gonzalo Paniagua Javier [Thu, 2 Feb 2006 01:01:50 +0000 (01:01 -0000)]
new files

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

18 years ago2006-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Feb 2006 01:01:42 +0000 (01:01 -0000)]
2006-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DefaultVirtualDirectory.cs:
* DefaultVirtualPathProvider.cs:
* VirtualFile.cs:
* DefaultVirtualFile.cs: almost done with the default
VirtualPathProvider which just maps to on-disk directories/files.

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

18 years ago2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Feb 2006 23:20:48 +0000 (23:20 -0000)]
2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Container.cs: patch by Brian Crowell that fixes GetService().

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

18 years ago * ScrollableControl.cs: Refactored the Recalculate method a
Jackson Harper [Wed, 1 Feb 2006 23:09:12 +0000 (23:09 -0000)]
    * ScrollableControl.cs: Refactored the Recalculate method a
        little, this wasn't handling all the variants of bottom and
        right
        bars needed to be added and added/removed based on their
        counterparts being added/removed (which changes the drawable
        size). Also we special case client widths and heights of 0 and
        don't add the scrollbar for those.

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

18 years ago2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Feb 2006 21:51:09 +0000 (21:51 -0000)]
2006-02-01  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigurationElement.cs : ListErrors() and SetPropertyValue()
  are protected.
* ConfigurationSection.cs : the .ctor() is protected.
* ConfigurationElementCollection.cs : CollectionType is public.
  Count and BaseAdd() are not virtual.
* ConfigurationPropertyCollection.cs : Count is not virtual.

* SettingElementCollection.cs : CollectionType is protected.

* TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
  CustomErrorCollection.cs, CompilerCollection.cs,
  HttpHandlerActionCollection.cs,
  FormsAuthenticationUserCollection.cs,
  AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
  CollectionType is public.

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

18 years ago2006-02-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 1 Feb 2006 21:46:37 +0000 (21:46 -0000)]
2006-02-01  Miguel de Icaza  <miguel@novell.com>

* anonymous.cs (CaptureContext.EmitInitScope): Do not emit the
scopes for all the roots, the scopes will now be emitted when the
Blocks are entered.

(CaptureContext.EmitScopeInitFromBlock): Simply emit the ScopeInfo
code.  This reduces a lot of existing cruft.

* statement.cs (Block.Emit): Call EmitScopeInitFromBlock here, so
that the ScopeInfo is generated as we enter the scope, not at the
time of use, which is what we used to do before.

* codegen.cs (EmitScopeInitFromBlock): New routine, this is called
every time a Block is about to be emitted if we have a
CaptureContext.

Fixes bug: 77060

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

18 years agoa simple two level web.config test that loads both configurations. load subdir/index...
Chris Toshok [Wed, 1 Feb 2006 21:35:08 +0000 (21:35 -0000)]
a simple two level web.config test that loads both configurations.  load subdir/index.aspx to see it work.

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

18 years ago2006-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Feb 2006 21:35:05 +0000 (21:35 -0000)]
2006-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* VirtualPathProviderTest.cs: tests for GetFileHash.

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

18 years ago2006-02-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 1 Feb 2006 21:31:03 +0000 (21:31 -0000)]
2006-02-01  Chris Toshok  <toshok@ximian.com>

* WebConfigurationManager.cs: In the normal case, get the current
request's web.config, not the application's.  If there is no
current request, get the application's.
(GetWebApplicationConfiguration): use Request.ApplicationPath, not
Request.PhysicalApplicationPath.  OpenWebConfiguration takes
virtual paths.

* HttpConfigurationSystem.cs: GetWebApplicationSection =>
GetSection.

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

18 years ago2006-02-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 1 Feb 2006 20:23:02 +0000 (20:23 -0000)]
2006-02-01  Chris Toshok  <toshok@ximian.com>

* FormsAuthentication.cs, Membership.cs,
FormsAuthenticationModule.cs, UrlAuthorizationModule.cs: oops,
replace GetWebApplicationSection with GetSection.

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

18 years ago2006-02-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 1 Feb 2006 20:21:54 +0000 (20:21 -0000)]
2006-02-01  Chris Toshok  <toshok@ximian.com>

* SiteMap.cs: use GetSection instead of GetWebApplicationSection.

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

18 years agono need to define CONFIGURATION_2_0 now.
Chris Toshok [Wed, 1 Feb 2006 20:15:58 +0000 (20:15 -0000)]
no need to define CONFIGURATION_2_0 now.

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

18 years ago2006-02-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 1 Feb 2006 20:15:22 +0000 (20:15 -0000)]
2006-02-01  Chris Toshok  <toshok@ximian.com>

* CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0

* Compiler.cs: same.

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

18 years ago2006-02-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 1 Feb 2006 20:13:24 +0000 (20:13 -0000)]
2006-02-01  Chris Toshok  <toshok@ximian.com>

* CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0.

* CompilationConfigurationHandler.cs: same.

* Compiler.cs: same.

* CompilationConfiguration.cs: same.

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

18 years ago2006-02-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 1 Feb 2006 20:00:39 +0000 (20:00 -0000)]
2006-02-01  Chris Toshok  <toshok@ximian.com>

* TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
calls to GetWebApplicationSection with GetSection.

* SimpleWebHandlerParser.cs: same.

* Page.cs: same.

* PageParser.cs: same.

* BaseParser.cs: same.

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

18 years ago2006-02-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 1 Feb 2006 19:53:55 +0000 (19:53 -0000)]
2006-02-01  Chris Toshok  <toshok@ximian.com>

* SessionStateServerHandler.cs: CONFIGURATION_2_0 => NET_2_0.

* SessionSQLServerHandler.cs: same.

* SessionStateModule.cs: same.

* ISessionHandler.cs: same.

* SessionInProcHandler.cs: same.

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