Miguel de Icaza [Thu, 20 Oct 2005 21:49:55 +0000 (21:49 -0000)]
2005-10-20 Miguel de Icaza <miguel@novell.com>
* mkbundle.cs: Deal with the fact that these were Linux-specific
svn path=/trunk/mcs/; revision=52009
Ben Maurer [Thu, 20 Oct 2005 21:47:15 +0000 (21:47 -0000)]
update after Zoltan's change
svn path=/trunk/mono/; revision=52008
Zoltan Varga [Thu, 20 Oct 2005 21:40:44 +0000 (21:40 -0000)]
2005-10-20 Zoltan Varga <vargaz@gmail.com>
* mini.h (MonoDebugOptions): Remove 'abort_on_sigsegv' option.
* mini-exceptions.c (mono_handle_native_sigsegv): New function to
handle SIGSEGVs received while in native code.
* mini.c (sigsegv_signal_handler): If the SIGSEGV happened in native
code, call mono_handle_native_sigsegv which will abort the runtime
after printing some diagnostics, instead of converting it into a
confusing NullReferenceException.
svn path=/trunk/mono/; revision=52007
Jackson Harper [Thu, 20 Oct 2005 21:23:35 +0000 (21:23 -0000)]
* TreeNodeCollection.cs: Remove debug code.
svn path=/trunk/mcs/; revision=52006
Gonzalo Paniagua Javier [Thu, 20 Oct 2005 20:28:48 +0000 (20:28 -0000)]
2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* StreamReader.cs: made ReadLine() less memory-hungry. Fixes bug #76399.
svn path=/trunk/mcs/; revision=52004
Gonzalo Paniagua Javier [Thu, 20 Oct 2005 20:27:44 +0000 (20:27 -0000)]
2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* StreamReaderTest.cs: more tests for ReadLine().
svn path=/trunk/mcs/; revision=52003
Gonzalo Paniagua Javier [Thu, 20 Oct 2005 19:52:43 +0000 (19:52 -0000)]
fix the 2.0 build after my last commit
svn path=/trunk/mcs/; revision=52002
Sebastien Pouliot [Thu, 20 Oct 2005 19:15:32 +0000 (19:15 -0000)]
Added new unit/CAS tests for System.Security.Cryptography namespace. Ignore some warnings during tests compilation. Added internal ManagedProtection class to the build.
svn path=/trunk/mcs/; revision=52001
Sebastien Pouliot [Thu, 20 Oct 2005 19:14:00 +0000 (19:14 -0000)]
2005-10-20 Sebastien Pouliot <sebastien@ximian.com>
* CryptographicAttributeCollection.cs: Fixed Add and Remove methods.
* ProtectedMemory.cs: Implemented (unmanaged) for Windows only.
* ProtectedData.cs: Implemented for everything except Windows ;-) by
using the new ManagedProtection class.
svn path=/trunk/mcs/; revision=52000
Sebastien Pouliot [Thu, 20 Oct 2005 19:13:03 +0000 (19:13 -0000)]
2005-10-20 Sebastien Pouliot <sebastien@ximian.com>
* ManagedProtection.cs: New. A managed class similar to ProtectedData.
Source code will be reused in other assemblies to protect data.
svn path=/trunk/mcs/; revision=51999
Gonzalo Paniagua Javier [Thu, 20 Oct 2005 19:11:22 +0000 (19:11 -0000)]
2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ListControl.cs: made GetSelectedIndices() internal.
* ListBox.cs: html-encode the item text. Fixed single and multiple
selection handling. All the tests pass now. Closes bug #76478.
svn path=/trunk/mcs/; revision=51998
Gonzalo Paniagua Javier [Thu, 20 Oct 2005 19:08:45 +0000 (19:08 -0000)]
2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ListBoxTest.cs: a few more tests for ListBox and selection.
svn path=/trunk/mcs/; revision=51997
Sebastien Pouliot [Thu, 20 Oct 2005 18:40:44 +0000 (18:40 -0000)]
2005-10-20 Sebastien Pouliot <sebastien@ximian.com>
* CryptographicAttributeObjectCas.cs: New. CAS unit tests.
* CryptographicAttributeObjectEnumeratorCas.cs: New. CAS unit tests.
* CryptographicAttributeObjectEnumeratorTest.cs: New. Unit tests.
* CryptographicAttributeObjectCollectionCas.cs: New. CAS unit tests.
* CryptographicAttributeObjectCollectionTest.cs: New. Unit tests.
* ProtectedDataCas.cs: New. CAS unit tests.
* ProtectedDataTest.cs: Reworked/complete unit tests.
* ProtectedMemoryCas.cs: New. CAS unit tests.
* ProtectedMemoryTest.cs: Reworked/complete unit tests.
svn path=/trunk/mcs/; revision=51996
Sebastien Pouliot [Thu, 20 Oct 2005 18:37:33 +0000 (18:37 -0000)]
2005-10-20 Sebastien Pouliot <sebastien@ximian.com>
* DataProtectionPermission.cs: Fixed Flags property to allow multiple
values.
svn path=/trunk/mcs/; revision=51995
Jordi Mas i Hernandez [Thu, 20 Oct 2005 17:52:49 +0000 (17:52 -0000)]
2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
* Datagrid.cs: Implements column sorting in Datagrid
* DataGridColumnStyle.cs: Implements column sorting in Datagrid
svn path=/trunk/mcs/; revision=51994
Raja R Harinath [Thu, 20 Oct 2005 14:55:52 +0000 (14:55 -0000)]
Revert revisions 51953, 51954
svn path=/trunk/mcs/; revision=51987
Raja R Harinath [Thu, 20 Oct 2005 14:53:22 +0000 (14:53 -0000)]
* Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
svn path=/trunk/mcs/; revision=51986
Raja R Harinath [Thu, 20 Oct 2005 14:50:39 +0000 (14:50 -0000)]
In tests:
* Makefile (run-test-local): Make compiler-tester use $(RUNTIME)
when running tests out-of-process.
In errors:
* Makefile (run-mcs-tests): Set MONO_RUNTIME to $(RUNTIME).
svn path=/trunk/mcs/; revision=51985
Raja R Harinath [Thu, 20 Oct 2005 14:33:08 +0000 (14:33 -0000)]
* Makefile.am (testbundle): Use in-tree config, and in-tree
shared directory.
svn path=/trunk/mono/; revision=51983
Dick Porter [Thu, 20 Oct 2005 14:01:50 +0000 (14:01 -0000)]
2005-10-20 Dick Porter <dick@ximian.com>
* processes.c (process_set_current): If the expected process
handle slot doesn't contain the correct pid, create a new handle.
* handles.c (_wapi_search_handle): When the search doesn't find
anything, return failure instead of the last handle we looked at.
(_wapi_handle_ref, _wapi_handle_unref): Don't try to ref or unref
unused handles (makes tracking refcounting bugs easier.)
svn path=/trunk/mono/; revision=51982
Senganal T [Thu, 20 Oct 2005 13:54:16 +0000 (13:54 -0000)]
2005-10-20 Senganal T <tsenganal@novell.com>
* TdsMetaParameter.cs: Set default values of Precision
and Scale for Decimal Parameters when not explicitly set.
Fixes #76467
svn path=/trunk/mcs/; revision=51981
Ankit Jain [Thu, 20 Oct 2005 12:40:14 +0000 (12:40 -0000)]
* get.c (get_method_core): Use the parent context for get_methodspec
instead of the inflated method's context.
(get_methodspec): Get the context for the generic method.
Use parent_context for getting the method's type parameters.
svn path=/trunk/mono/; revision=51980
Jackson Harper [Thu, 20 Oct 2005 10:42:31 +0000 (10:42 -0000)]
* TreeNodeCollection.cs: Remove items properly. Update the correct
area after removing them.
svn path=/trunk/mcs/; revision=51976
Jordi Mas i Hernandez [Thu, 20 Oct 2005 10:10:17 +0000 (10:10 -0000)]
2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
* Datagrid.cs: Should not call base.OnPaintBackground
svn path=/trunk/mcs/; revision=51975
Peter Dennis Bartok [Thu, 20 Oct 2005 09:28:33 +0000 (09:28 -0000)]
2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs (GetMessage):
- Now properly calculates NC_xBUTTONDOWN coordinates off the whole
window instead of client window
- Now properly calculates NC_xBUTTONUP message coordinates
- ScreenToMenu now properly calculates it's coordinates of whole
window, since menus are in the whole window, not in the client
window
- Added WholeToScreen coordinate translation method
svn path=/trunk/mcs/; revision=51973
Konstantin Triger [Thu, 20 Oct 2005 09:06:09 +0000 (09:06 -0000)]
make Clone abstract
svn path=/trunk/mcs/; revision=51972
Konstantin Triger [Thu, 20 Oct 2005 08:33:03 +0000 (08:33 -0000)]
make fallbacks for GdiCharSet, GdiVerticalFont
svn path=/trunk/mcs/; revision=51971
Raja R Harinath [Thu, 20 Oct 2005 08:10:36 +0000 (08:10 -0000)]
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New. Make 'distcheck'
compile with the 'monolite' in the distribution tarball.
(compiler-tests-net_2_0): Avoid deleting
$(mcs_topdir)/build/common/Consts.cs.
svn path=/trunk/mono/; revision=51970
Peter Dennis Bartok [Thu, 20 Oct 2005 08:01:14 +0000 (08:01 -0000)]
2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs (GetMessage): Don't return in situations where we don't
want to return a message, loop back to the beginning of the function
and grab the next real message to process instead.
svn path=/trunk/mcs/; revision=51969
Atsushi Eno [Thu, 20 Oct 2005 07:35:50 +0000 (07:35 -0000)]
2005-10-20 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaWriter.cs : escape names in the schema with XmlConvert.
Fixed bug #76480.
* DataSetTest.cs : added test for #76480.
svn path=/trunk/mcs/; revision=51968
Peter Dennis Bartok [Thu, 20 Oct 2005 06:27:17 +0000 (06:27 -0000)]
- Remove debug
svn path=/trunk/mcs/; revision=51967
Peter Dennis Bartok [Thu, 20 Oct 2005 06:26:30 +0000 (06:26 -0000)]
2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
* Splitter.cs: Properly set limits if no filler control is used
svn path=/trunk/mcs/; revision=51966
Ankit Jain [Thu, 20 Oct 2005 05:07:51 +0000 (05:07 -0000)]
* main.c (dis_method_list): Oops. Check method_context for null.
svn path=/trunk/mono/; revision=51965
Gonzalo Paniagua Javier [Thu, 20 Oct 2005 04:30:01 +0000 (04:30 -0000)]
2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStream.cs: reworked buffering so that adjacents blocks are
written at once. Also fix bug #76460.
svn path=/trunk/mcs/; revision=51964
Atsushi Eno [Thu, 20 Oct 2005 04:13:11 +0000 (04:13 -0000)]
2005-10-20 Atsushi Enomoto <atsushi@ximian.com>
* generic.cs : (ConstructedType.CheckConstraints) warn CS0310 when
1) "new()" is specified as generic parameter constraint and 2) the
type is TypeBuilder and 3) the type is abstract even if it has a
default .ctor(). Now errors/gcs0310-3.cs is correctly rejected.
svn path=/trunk/mcs/; revision=51963
Jackson Harper [Thu, 20 Oct 2005 03:05:18 +0000 (03:05 -0000)]
* ColorDialog.cs: Don't show the help button if it is not enabled
instead of disabling it (this is what MS does). Don't create the
panel until the dialog is run, otherwise the vars (such as
ShowHelp) are not set yet.
svn path=/trunk/mcs/; revision=51962
Martin Baulig [Thu, 20 Oct 2005 02:58:45 +0000 (02:58 -0000)]
2005-10-20 Martin Baulig <martin@ximian.com>
* generic.cs
(GenericConstraints.TypeParameter): New public property.
(TypeParameter.ctor): Also take a `DeclSpace' argument.
(TypeParameter.DeclSpace): New public property.
(TypeParameter.DefineType): Inflate the constraints if our
`DeclSpace' is an `Iterator'.
svn path=/trunk/mcs/; revision=51961
Martin Baulig [Thu, 20 Oct 2005 02:58:15 +0000 (02:58 -0000)]
New test for #76097
svn path=/trunk/mcs/; revision=51960
Jackson Harper [Thu, 20 Oct 2005 02:43:21 +0000 (02:43 -0000)]
* TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
are reduced when adding nodes.
* TreeNode.cs:
* TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
tree.
svn path=/trunk/mcs/; revision=51959
Jackson Harper [Thu, 20 Oct 2005 02:37:35 +0000 (02:37 -0000)]
* FolderBrowserDialog.cs: End editing our treeview so the window
actually gets refreshed.
svn path=/trunk/mcs/; revision=51958
Martin Baulig [Thu, 20 Oct 2005 00:24:25 +0000 (00:24 -0000)]
2005-10-20 Martin Baulig <martin@ximian.com>
* Makefile: Take mbas out of the build.
svn path=/trunk/mcs/; revision=51954
Martin Baulig [Thu, 20 Oct 2005 00:22:54 +0000 (00:22 -0000)]
2005-10-20 Martin Baulig <martin@ximian.com>
* Makefile: Take Microsoft.VisualBasic out of the build.
svn path=/trunk/mcs/; revision=51953
Robert Jordan [Wed, 19 Oct 2005 22:49:00 +0000 (22:49 -0000)]
2005-10-20 Robert Jordan <robertj@gmx.net>
* data/net_2_0/machine.config: Added IPC channel templates.
svn path=/trunk/mono/; revision=51950
Robert Jordan [Wed, 19 Oct 2005 21:58:49 +0000 (21:58 -0000)]
2005-10-19 Robert Jordan <robertj@gmx.net>
* System.Runtime.Remoting.dll.sources: Added S.R.R.Channels.Ipc*
* System.Runtime.Remoting_test.dll.sources: Added IpcCalls.cs
svn path=/trunk/mcs/; revision=51949
Robert Jordan [Wed, 19 Oct 2005 21:55:09 +0000 (21:55 -0000)]
2005-10-16 Robert Jordan <robertj@gmx.net>
* IpcCalls.cs: Added.
svn path=/trunk/mcs/; revision=51948
Robert Jordan [Wed, 19 Oct 2005 21:53:56 +0000 (21:53 -0000)]
2005-10-16 Robert Jordan <robertj@gmx.net>
* Added System.Runtime.Remoting.Channels.Ipc* for NET_2_0
svn path=/trunk/mcs/; revision=51947
Jackson Harper [Wed, 19 Oct 2005 21:40:01 +0000 (21:40 -0000)]
* profiler.c: Don't put a . in front of types that are not in a
namespace.
svn path=/trunk/mono/; revision=51945
Robert Jordan [Wed, 19 Oct 2005 21:19:38 +0000 (21:19 -0000)]
2005-10-18 Robert Jordan <robertj@gmx.net>
* UnixChannel.cs: fixed ParseUnixURL to support channel URLs (those
w/out an objectUri).
svn path=/trunk/mcs/; revision=51943
Miguel de Icaza [Wed, 19 Oct 2005 20:01:01 +0000 (20:01 -0000)]
2005-10-19 Miguel de Icaza <miguel@novell.com>
* CSharpCodeCompiler.cs: Quote the directory, to fix #76469
svn path=/trunk/mcs/; revision=51940
Atsushi Eno [Wed, 19 Oct 2005 19:12:03 +0000 (19:12 -0000)]
2005-10-19 Atsushi Enomotot <atsushi@ximian.com>
* class.cs, decl.cs : (MemberCache.FindMemberToOverride) added
GenericMethod argument to compare methods' generic type arguments.
Fixed bug #76382.
* gtest-216.cs : new test for #76382.
svn path=/trunk/mcs/; revision=51939
Atsushi Eno [Wed, 19 Oct 2005 18:25:48 +0000 (18:25 -0000)]
2005-10-19 Atsushi Enomoto <atsushi@ximian.com>
* gtest-215.cs : make it runnable.
svn path=/trunk/mcs/; revision=51932
Jonathan Pryor [Wed, 19 Oct 2005 18:07:41 +0000 (18:07 -0000)]
* Mono.Posix.dll.sources: Add new files: Mono.Unix/FileAccessPermissions.cs,
Mono.Unix/FileSpecialAttributes.cs, Mono.Unix/FileTypes.cs.
* Mono.Unix/FileAccessPermissions.cs, Mono.Unix/FileSpecialAttributes.cs,
Mono.Unix/FileTypes.cs: Added.
* Mono.Unix/UnixFileSystemInfo.cs, Mono.Unix/UnixStream.cs:
Replace the old Permission property
with 4 new properties: Protection (for the Native.FilePermissions value),
FileAccessPermissions (for rwxrwxrwx info), FileSpecialAttributes (for
set-user-id, set-group-id, sticky), and FileTypes (directory, socket...).
The new enumeration types have nicer CLS-compliant names.
svn path=/trunk/mcs/; revision=51928
Peter Dennis Bartok [Wed, 19 Oct 2005 18:07:27 +0000 (18:07 -0000)]
2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Fixed logic flip on when to call OnPaintBackground.
Obsoleted handling of WM_ERASEBKGND, now always draws our background
inside of WM_PAINT
svn path=/trunk/mcs/; revision=51927
Martin Baulig [Wed, 19 Oct 2005 17:38:21 +0000 (17:38 -0000)]
Return 0 if we're a type parameter.
svn path=/trunk/mcs/; revision=51926
Martin Baulig [Wed, 19 Oct 2005 17:20:22 +0000 (17:20 -0000)]
New testcase.
svn path=/trunk/mcs/; revision=51924
Martin Baulig [Wed, 19 Oct 2005 17:18:57 +0000 (17:18 -0000)]
This is an untested fix for a bug.
svn path=/trunk/mcs/; revision=51923
Martin Baulig [Wed, 19 Oct 2005 17:14:58 +0000 (17:14 -0000)]
2005-10-19 Martin Baulig <martin@ximian.com>
* generic.cs (ConstructedType.CheckConstraints): Committing
untested fix for #76441.
svn path=/trunk/mcs/; revision=51922
Vladimir Krasnov [Wed, 19 Oct 2005 16:24:19 +0000 (16:24 -0000)]
* GraphicsPath.jvm.cs: fixed FillMode, ConvertArcAngle, AddPath, CloseFigure
* Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
* PlainImage.jvm.cs: fixed Clone
* Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
svn path=/trunk/mcs/; revision=51918
Vladimir Krasnov [Wed, 19 Oct 2005 16:18:19 +0000 (16:18 -0000)]
* Brush.jvm.cs: added InternalClone() method changed transformation methods access level
* TextureBrush.jvm.cs: refactoring, fixed clone()
* LinearGradientBrush.jvm.cs: fixed clone(), SetBlendTriangularShape, LinearColors, InterpolationColors, GetMedianeEnclosingRect, Init, NativeObject
* PathGradientBrush.jvm.cs: fixed clone()
svn path=/trunk/mcs/; revision=51917
Vladimir Krasnov [Wed, 19 Oct 2005 16:03:51 +0000 (16:03 -0000)]
* AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform matrix singularity added
* Font.jvm.cs: implemetated ISerializable
* Pen.jvm.cs: fixed DashPattern property, fixed GetNativeObject() dash pattern calculation
svn path=/trunk/mcs/; revision=51916
Rafael Teixeira [Wed, 19 Oct 2005 15:24:12 +0000 (15:24 -0000)]
2005-10-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* VBCodeGenerator.cs: Generate MyBase.New() with parenthesis as mbas currently chokes without them
svn path=/trunk/mcs/; revision=51915
Ankit Jain [Wed, 19 Oct 2005 15:14:25 +0000 (15:14 -0000)]
* main.c (dis_method_list): Fix warning introduced by my last patch.
svn path=/trunk/mono/; revision=51914
Raja R Harinath [Wed, 19 Oct 2005 15:10:45 +0000 (15:10 -0000)]
*** Merged revisions from mcs: 51858, 51864
svn path=/trunk/mcs/; revision=51913
Ankit Jain [Wed, 19 Oct 2005 15:05:50 +0000 (15:05 -0000)]
2005-10-19 Ankit Jain <jankit@novell.com>
* main.c (dis_method_list): Use 'method_context' instead of 'container' for
mono_metadata_parse_method_signature_full.
svn path=/trunk/mono/; revision=51912
Raja R Harinath [Wed, 19 Oct 2005 13:55:37 +0000 (13:55 -0000)]
*** Merged revisions from mcs: 51787
svn path=/trunk/mcs/; revision=51911
Jordi Mas i Hernandez [Wed, 19 Oct 2005 13:34:18 +0000 (13:34 -0000)]
2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
* MenuAPI.cs: Returns after Hidding window
* XplatUIX11.cs: Added TODO found while debugging menu issues
svn path=/trunk/mcs/; revision=51910
Senganal T [Wed, 19 Oct 2005 13:12:58 +0000 (13:12 -0000)]
2005-10-19 Senganal T <tsenganal@novell.com>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsConnectionParameter.cs :
- Added a class variable 'AttachDBFileName' to store the location
of the DB file.
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs (Connect) :
- Modified to append the bytes corresponding to AttachDBFileName
into the Tds Packets.
* System.Data/System.Data.SqlClient/SqlConnection.cs (SetProperties) :
- Added support for AttachDBFileName
svn path=/trunk/mcs/; revision=51909
Senganal T [Wed, 19 Oct 2005 12:01:01 +0000 (12:01 -0000)]
2005-10-19 Senganal T <tsenganal@novell.com>
* SqlException.cs (Constructor)
- Modified the constructor, so that the message parameter
of base class is not the same as that of the Exception message.
fixes bug #76468
svn path=/trunk/mcs/; revision=51908
Dick Porter [Wed, 19 Oct 2005 11:24:08 +0000 (11:24 -0000)]
2005-10-19 Dick Porter <dick@ximian.com>
* handles.c:
* handles-private.h:
* wapi-private.h:
* processes.c:
* mutexes.c:
* collection.c (_wapi_handle_collect): Remove the shared handle
indirection layer, and use locking instead. Delete other
complexity that is no longer needed. Refcount shared handles and
delete them when needed, but keep the timestamps so that orphaned
handles will be cleaned up eventually.
* shared.c (_wapi_shm_file): Add processor, OS and struct size
info to the shared file names, to cope with dual-boot and 32/64bit
size issues. Fixes bug 75839.
* wait.c (WaitForMultipleObjectsEx): No need to distinguish
between shared handles and private, as the wait functions cope
with both together now.
svn path=/trunk/mono/; revision=51907
Raja R Harinath [Wed, 19 Oct 2005 10:22:34 +0000 (10:22 -0000)]
*** Merged revisions from mcs: 51705, 51728
svn path=/trunk/mcs/; revision=51904
Peter Dennis Bartok [Wed, 19 Oct 2005 08:11:22 +0000 (08:11 -0000)]
2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Do not re-map the whole window when it's size
becomes non-zero unless it's supposed to be actually visible
svn path=/trunk/mcs/; revision=51903
Atsushi Eno [Wed, 19 Oct 2005 06:34:44 +0000 (06:34 -0000)]
2005-10-19 Atsushi Enomoto <atsushi@ximian.com>
* WebClient.cs : added net_2_0 DownloadString() and DownloadData()
with HTTP method as well.
svn path=/trunk/mcs/; revision=51902
Atsushi Eno [Wed, 19 Oct 2005 06:21:29 +0000 (06:21 -0000)]
2005-10-19 Atsushi Enomoto <atsushi@ximian.com>
* WebClient.cs : added UploadString() and Encoding (net_2_0). Added
some new overloaded stuff that takes Uri instead of string address.
svn path=/trunk/mcs/; revision=51901
Jackson Harper [Wed, 19 Oct 2005 03:46:28 +0000 (03:46 -0000)]
* TreeView.cs: We don't need to keep a count anymore.
* TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
use the Grow method.
svn path=/trunk/mcs/; revision=51898
Jackson Harper [Wed, 19 Oct 2005 03:03:04 +0000 (03:03 -0000)]
* TreeNodeCollection.cs: Insert is not supported on arrays, so
implement it manually here.
svn path=/trunk/mcs/; revision=51897
Gonzalo Paniagua Javier [Tue, 18 Oct 2005 23:07:31 +0000 (23:07 -0000)]
2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStream.cs: when allocating a chunk larger than the
default chunk size, mark all the blocks as taken. Fixes bug
#76452.
svn path=/trunk/mcs/; revision=51894
Jackson Harper [Tue, 18 Oct 2005 21:26:57 +0000 (21:26 -0000)]
- Same goes for setting the image size. Just resize them all
instead of killing the list softly.
svn path=/trunk/mcs/; revision=51891
Chris Toshok [Tue, 18 Oct 2005 21:17:10 +0000 (21:17 -0000)]
2005-10-18 Chris Toshok <toshok@ximian.com>
* WebUIValidation.js: fix handling for validation_result so that
buttons that don't cause validation still work. Fixes bug #76429.
svn path=/trunk/mcs/; revision=51890
Jackson Harper [Tue, 18 Oct 2005 21:09:37 +0000 (21:09 -0000)]
* ImageList.cs: Dont kill the list when the colour depth is
changed, just change the colour depth of all the images.
svn path=/trunk/mcs/; revision=51889
Gonzalo Paniagua Javier [Tue, 18 Oct 2005 19:47:30 +0000 (19:47 -0000)]
fix for 76415 + tests
svn path=/trunk/mcs/; revision=51885
Zoltan Varga [Tue, 18 Oct 2005 19:35:52 +0000 (19:35 -0000)]
2005-10-18 Zoltan Varga <vargaz@gmail.com>
* cpu-pentium.md: Remove unused opcodes.
svn path=/trunk/mono/; revision=51884
Gert Driesen [Tue, 18 Oct 2005 19:24:59 +0000 (19:24 -0000)]
* HttpWebRequestElement.cs: Added missing properties and attributes.
* HttpWebRequestElementTest.cs: Added test for default values.
* System_test.dll.sources: Added HttpWebRequestElementTest.cs from
Test/System.Net.Configuration.
svn path=/trunk/mcs/; revision=51883
Jordi Mas i Hernandez [Tue, 18 Oct 2005 19:22:59 +0000 (19:22 -0000)]
2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
* ListViewCollectionsTest.cs: Add tests for the ListView Collections
2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridBoolColumn.cs: fixes warning
svn path=/trunk/mcs/; revision=51882
Jackson Harper [Tue, 18 Oct 2005 19:18:11 +0000 (19:18 -0000)]
* Control.cs: Don't invalidate empty rectangles.
svn path=/trunk/mcs/; revision=51881
Geoff Norton [Tue, 18 Oct 2005 19:12:26 +0000 (19:12 -0000)]
2005-10-18 Geoff Norton <gnorton@customerdna.com>
* MacPack.cs: Support Application Icons that are referenced from
something other than cwd.
svn path=/trunk/mcs/; revision=51880
Jordi Mas i Hernandez [Tue, 18 Oct 2005 19:04:49 +0000 (19:04 -0000)]
* ListViewItem.cs:
- Adds checked item to the Checked/Item lists (where empty before)
- Do not add items to the Selected lists if they are already present
* ListView.cs:
- Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
- When deleting items make sure that we delete them for the Selected
and Checked list also.
2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
svn path=/trunk/mcs/; revision=51879
Zoltan Varga [Tue, 18 Oct 2005 18:00:48 +0000 (18:00 -0000)]
2005-10-18 Zoltan Varga <vargaz@gmail.com>
* TypeTest.cs: Add tests for #75515.
svn path=/trunk/mcs/; revision=51878
Zoltan Varga [Tue, 18 Oct 2005 18:00:01 +0000 (18:00 -0000)]
2005-10-18 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_Type_GetField): Applied patch from Robert Jordan (robertj@gmx.net). Fixes #75515.
svn path=/trunk/mono/; revision=51877
Michal Moskal [Tue, 18 Oct 2005 17:59:57 +0000 (17:59 -0000)]
2005-10-16 Michal Moskal <malekith@nemerle.org>
* TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
svn path=/trunk/mcs/; revision=51876
Sebastien Pouliot [Tue, 18 Oct 2005 16:06:09 +0000 (16:06 -0000)]
2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
* TimerElapsedEventArgs.cs: Re-added [ComVisible (false)] attribute
before NET_2_0.
svn path=/trunk/mcs/; revision=51873
Sebastien Pouliot [Tue, 18 Oct 2005 15:49:22 +0000 (15:49 -0000)]
2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
* InstanceDescriptorCas.cs: Added more tests for LinkDemand as it just
occured to me that it looked like the LinkDemand was on the class (and
not only on the ctor).
svn path=/trunk/mcs/; revision=51872
Sebastien Pouliot [Tue, 18 Oct 2005 15:40:33 +0000 (15:40 -0000)]
Add System.UriTypeConverter (2.0) with unit/CAS tests, also add CAS/unit tests for System.ComponentModel.Design.Serialization.InstanceDescriptor
svn path=/trunk/mcs/; revision=51871
Sebastien Pouliot [Tue, 18 Oct 2005 15:37:42 +0000 (15:37 -0000)]
2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
* InstanceDescriptor.cs: Added CAS permissions (unrestricted at class
level).
svn path=/trunk/mcs/; revision=51870
Sebastien Pouliot [Tue, 18 Oct 2005 15:22:58 +0000 (15:22 -0000)]
2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
* UriTypeConverter.cs: New. Implemented (2.0).
svn path=/trunk/mcs/; revision=51869
Sebastien Pouliot [Tue, 18 Oct 2005 15:22:08 +0000 (15:22 -0000)]
2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
* UriTypeConverterCas.cs: New. CAS unit tests.
* UriTypeConverterTest.cs: New. Unit tests for UriTypeConverter.
svn path=/trunk/mcs/; revision=51868
Sebastien Pouliot [Tue, 18 Oct 2005 15:19:43 +0000 (15:19 -0000)]
2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
* InstanceDescriptor.cs: Fix Invoke method as there's no 'this' for ctors.
svn path=/trunk/mcs/; revision=51867
Sebastien Pouliot [Tue, 18 Oct 2005 15:17:53 +0000 (15:17 -0000)]
2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
* InstanceDescriptorCas.cs: New. CAS unit tests.
* InstanceDescriptorTest.cs: New. Unit tests for InstanceDescriptor
when using a ContructorInfo.
svn path=/trunk/mcs/; revision=51866
Raja R Harinath [Tue, 18 Oct 2005 14:14:45 +0000 (14:14 -0000)]
workaround parsing bug in compiler-tester
svn path=/trunk/mcs/; revision=51865
Raja R Harinath [Tue, 18 Oct 2005 14:03:20 +0000 (14:03 -0000)]
In mcs:
Fix #76371.
* class.cs (TypeContainer.DefineType): Move updating of
topological sort earlier in the code.
* decl.cs (DeclSpace.ResolveBaseTypeExpr): Don't use TypeBuilder.
In tests:
* test-463.cs: New test from #76371.
svn path=/trunk/mcs/; revision=51864
Gonzalo Paniagua Javier [Tue, 18 Oct 2005 13:52:23 +0000 (13:52 -0000)]
2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* NetConfigurationHandler.cs: new attribute 'useUnsafeHeaderParsing'.
It's value is ignored. Fixes bug #76442.
svn path=/trunk/mcs/; revision=51863