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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Peter Dennis Bartok [Thu, 2 Feb 2006 18:50:53 +0000 (18:50 -0000)]
- No longer needed
svn path=/trunk/mcs/; revision=56485
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
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
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
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
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
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
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
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
Gonzalo Paniagua Javier [Thu, 2 Feb 2006 15:41:37 +0000 (15:41 -0000)]
build fix
svn path=/trunk/mcs/; revision=56475
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
Konstantin Triger [Thu, 2 Feb 2006 15:23:21 +0000 (15:23 -0000)]
Adding TARGET_JVM OleDb testsuite
svn path=/trunk/mcs/; revision=56473
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Martin Baulig [Thu, 2 Feb 2006 09:58:45 +0000 (09:58 -0000)]
Reverted r56388.
svn path=/trunk/mono/; revision=56440
Paolo Molaro [Thu, 2 Feb 2006 09:40:09 +0000 (09:40 -0000)]
Warning fixes.
svn path=/trunk/mono/; revision=56439
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
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
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
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
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
Gonzalo Paniagua Javier [Thu, 2 Feb 2006 01:01:50 +0000 (01:01 -0000)]
new files
svn path=/trunk/mcs/; revision=56431
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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