mono.git
18 years agosvn path=/branches/mono-1-1-9/mcs/; revision=51206
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 20:45:10 +0000 (20:45 -0000)]
svn path=/branches/mono-1-1-9/mcs/; revision=51206

18 years agosvn path=/branches/mono-1-1-9/mcs/; revision=51205
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 20:44:21 +0000 (20:44 -0000)]
svn path=/branches/mono-1-1-9/mcs/; revision=51205

18 years agosvn path=/branches/mono-1-1-9/mcs/; revision=51204
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 20:44:10 +0000 (20:44 -0000)]
svn path=/branches/mono-1-1-9/mcs/; revision=51204

18 years ago2005-10-04 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 4 Oct 2005 20:24:16 +0000 (20:24 -0000)]
2005-10-04  Peter Bartok  <pbartok@novell.com>

* ResXResourceReader.cs, ResXResourceWriter.cs: Added call
  to GC.SuppressFinalize() in dispose method. Fixes #76330

2005-10-04  Peter Dennis Bartok  <pbartok@novell.com>

* Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  in dispose method. Fixes #76330

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

18 years ago2005-10-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 4 Oct 2005 20:03:16 +0000 (20:03 -0000)]
2005-10-04  Zoltan Varga  <vargaz@freemail.hu>

* Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Set this flag.

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

18 years ago2005-10-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 4 Oct 2005 19:50:52 +0000 (19:50 -0000)]
2005-10-04  Sebastien Pouliot  <sebastien@ximian.com>

* ComponentDesigner.cs: Added a call to GC.SuppressFinalize in Dispose
method (even if we throw an NotImplementedException afterward). This
will remove warnings from gendarme.

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

18 years ago2005-10-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 4 Oct 2005 19:46:38 +0000 (19:46 -0000)]
2005-10-04  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFile.cs: Add a call to GC.SuppressFinalize in Dispose
(even if we're not disposing anything).

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

18 years agoNew test.
Martin Baulig [Tue, 4 Oct 2005 19:14:08 +0000 (19:14 -0000)]
New test.

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 19:13:31 +0000 (19:13 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* metadata.c
(mono_metadata_load_generic_param_constraints): New public
function; splitted the constraints loading out from
mono_metadata_load_generic_params().

* class.c (mono_class_create_from_typedef): Call
mono_metadata_load_generic_param_constraints() after setting up
the type and creating our parent; fixes #75329.

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

18 years agoStarted the documentation work.
Martin Baulig [Tue, 4 Oct 2005 19:11:01 +0000 (19:11 -0000)]
Started the documentation work.

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

18 years ago2005-10-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 4 Oct 2005 18:43:22 +0000 (18:43 -0000)]
2005-10-04  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Fix up problems with the latest libtool on win32.

svn path=/branches/mono-1-1-9/mono/; revision=51195

18 years ago2005-10-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 4 Oct 2005 18:40:15 +0000 (18:40 -0000)]
2005-10-04  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Fix up problems with the latest libtool on win32.

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

18 years agoTue Oct 4 20:23:25 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 4 Oct 2005 18:24:26 +0000 (18:24 -0000)]
Tue Oct 4 20:23:25 CEST 2005 Paolo Molaro <lupus@ximian.com>

* mini.c, mini.h: do not consider exception handlers blocks when
setting up interface variables.

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

18 years agoNew test.
Martin Baulig [Tue, 4 Oct 2005 18:15:17 +0000 (18:15 -0000)]
New test.

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 18:14:27 +0000 (18:14 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
return type from `MonoGenericClass to `Type'.

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 18:13:38 +0000 (18:13 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* icall.c (ves_icall_MonoGenericClass_GetParentType): Allow
non-dynamic parent classes.

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

18 years ago2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Oct 2005 18:12:46 +0000 (18:12 -0000)]
2005-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConvert.cs : backport r51188.

svn path=/branches/mono-1-1-9/mcs/; revision=51189

18 years ago2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Oct 2005 18:08:14 +0000 (18:08 -0000)]
2005-10-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlConvert.cs : ToTimeSpan() resulted in an infinite loop when the
  digits for "second" were not exactly 3. Fixed bug #76328.

* XmlConvertTests.cs : added test for bug #76328.

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 17:27:31 +0000 (17:27 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* reflection.c
(mono_image_get_methodspec_token): Make the cache actually work;
fixes #75974.

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

18 years ago2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 4 Oct 2005 17:26:39 +0000 (17:26 -0000)]
2005-10-04  Jordi Mas i Hernandez <jordi@ximian.com>

* ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:

- Implements vertical and horizontal scrolling using XplatUI
- Fixes keyboard navagation
- Fixes EnsureVisible
- Drawing fixes
- Handles and draws focus properly

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

18 years ago2005-10-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Oct 2005 16:53:15 +0000 (16:53 -0000)]
2005-10-04  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Remove 'Globalization:' entry from final message.

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

18 years ago2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Oct 2005 16:44:20 +0000 (16:44 -0000)]
2005-10-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : Name is virtual in NET_2_0.

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

18 years ago*** Merged revisions from mcs: 50790
Raja R Harinath [Tue, 4 Oct 2005 16:24:09 +0000 (16:24 -0000)]
*** Merged revisions from mcs: 50790

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 15:00:57 +0000 (15:00 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* ecore.cs (PropertyExpr.ResolveAccessors): Cosmetic fix; make the
`SetMemberIsUsed()' work for generics, too.

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

18 years agoAdd new error tests
Miguel de Icaza [Tue, 4 Oct 2005 14:20:09 +0000 (14:20 -0000)]
Add new error tests

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

18 years agoAdd new tests
Miguel de Icaza [Tue, 4 Oct 2005 14:19:23 +0000 (14:19 -0000)]
Add new tests

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

18 years ago2005-10-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 4 Oct 2005 14:16:11 +0000 (14:16 -0000)]
2005-10-01  Miguel de Icaza  <miguel@novell.com>

* expression.cs (Probe): instead of having a "Type probe_type"
keep the extra information as a TypeExpr probe_type_expr since the
"As" operator needs to perform some type checks.

* (As.DoResolve): If the type is a type parameter, ensure that it
is constrained by a class.

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

18 years agoImageList.cs: Use upper case initials for internal fields. ImageStream: Create handle...
Kornél Pál [Tue, 4 Oct 2005 14:15:27 +0000 (14:15 -0000)]
ImageList.cs: Use upper case initials for internal fields. ImageStream: Create handle. NET_2_0: Destroy handle when value is null.

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

18 years ago2005-10-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Oct 2005 13:15:58 +0000 (13:15 -0000)]
2005-10-03  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_thread_cleanup): Fix reading of freed memory.

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

18 years agowhitespace fix
Raja R Harinath [Tue, 4 Oct 2005 13:12:34 +0000 (13:12 -0000)]
whitespace fix

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

18 years ago2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Oct 2005 13:07:12 +0000 (13:07 -0000)]
2005-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* file-io.c : win32 build fix (ETXTBSY seems not found).

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

18 years ago*** Merged revisions from mcs: 50555
Raja R Harinath [Tue, 4 Oct 2005 12:54:22 +0000 (12:54 -0000)]
*** Merged revisions from mcs: 50555

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

18 years ago*** Merged revisions from mcs: 50155, 50225
Raja R Harinath [Tue, 4 Oct 2005 12:34:00 +0000 (12:34 -0000)]
*** Merged revisions from mcs: 50155, 50225

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

18 years ago*** Merged revisions from mcs: 49487, 49488, 49497, 50753, 50859
Raja R Harinath [Tue, 4 Oct 2005 11:40:26 +0000 (11:40 -0000)]
*** Merged revisions from mcs: 49487, 49488, 49497, 50753, 50859

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 11:01:40 +0000 (11:01 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_name_from_token): Removed the unneccessary
`MonoGenericContext *' argument.

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

18 years ago* Makefile (with_mono_path_n11b): New.
Raja R Harinath [Tue, 4 Oct 2005 10:53:48 +0000 (10:53 -0000)]
* Makefile (with_mono_path_n11b): New.
(ILASM): Use it.

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 10:49:40 +0000 (10:49 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* expression.cs (DelegateInvocation.EmitStatement): Make this work
for corlib.  Fixes #75691.

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

18 years ago*** Merged revisions from mcs: 49829, 50194, 50875, 50936, 50939
Raja R Harinath [Tue, 4 Oct 2005 10:28:05 +0000 (10:28 -0000)]
*** Merged revisions from mcs: 49829, 50194, 50875, 50936, 50939

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

18 years agomake this build
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 09:49:07 +0000 (09:49 -0000)]
make this build

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 09:46:47 +0000 (09:46 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* loader.c
(method_from_methodspec): Make the caching work again; fixes the
performance regression from #76262.

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

18 years agoUpdated.
Martin Baulig [Tue, 4 Oct 2005 09:45:23 +0000 (09:45 -0000)]
Updated.

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

18 years agoUpdated inline documentation.
Martin Baulig [Tue, 4 Oct 2005 09:41:50 +0000 (09:41 -0000)]
Updated inline documentation.

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

18 years agoAdded document describing the merging process.
Martin Baulig [Tue, 4 Oct 2005 08:36:34 +0000 (08:36 -0000)]
Added document describing the merging process.

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

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 08:21:03 +0000 (08:21 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* file-io.c:
* file-io.h:
* icall.c: replace FindFirst/FindNext/FindClose calls with a new
GetFileSystemEntries that performs the same work but without going
into io-layer, locking, etc.

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

18 years agosvn path=/trunk/mcs/; revision=51153
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 08:20:58 +0000 (08:20 -0000)]
svn path=/trunk/mcs/; revision=51153

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 08:20:51 +0000 (08:20 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MonoIO.cs: replace FindFirst/FindNext/FindClose with
GetFileSystemEntries.
* Directory.cs: simplify GetFileSystemEntries by using the new icall.

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

18 years agofrom head
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 07:51:04 +0000 (07:51 -0000)]
from head

svn path=/branches/mono-1-1-9/mcs/; revision=51151

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 07:50:06 +0000 (07:50 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: fix breakaga of alternating item style in one of my
last patches.

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

18 years agofrom head
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 07:37:49 +0000 (07:37 -0000)]
from head

svn path=/branches/mono-1-1-9/mcs/; revision=51149

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 07:36:02 +0000 (07:36 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Calendar.cs: remove Console.
* ListBox.cs: the name is the UniqueID, not the ClientID.
* WebControl.cs: Attributes is case insensitive.

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

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 07:35:16 +0000 (07:35 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListBoxTest.cs: the name is the UniqueID, not the ClientID.
* WebControlTest.cs: Attributes statebag is case insensitive.

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

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 07:12:13 +0000 (07:12 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageButton.cs: use UniqueID in LoadPostData and also try just the
UniqueID without appending a ".x" or ".y". Fixes several issues in
mojoPortal. Thanks to Joe Audetter for his patience.

svn path=/branches/mono-1-1-9/mcs/; revision=51146

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 07:09:05 +0000 (07:09 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageButton.cs: use UniqueID in LoadPostData and also try just the
UniqueID without appending a ".x" or ".y". Fixes several issues in
mojoPortal. Thanks to Joe Audetter for his patience.

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

18 years agootro
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 03:00:07 +0000 (03:00 -0000)]
otro

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

18 years agofrom head
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 02:57:16 +0000 (02:57 -0000)]
from head

svn path=/branches/mono-1-1-9/mcs/; revision=51143

18 years ago2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 02:53:10 +0000 (02:53 -0000)]
2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* OutputFilterStream.cs: proxy class for response filters.
* HttpResponse.cs: moved all the actual write operations into the
response stream. Handle response filtering. When caching, get the
actual length of the data, not the buffer length.
* HttpApplication.cs: if there's no error, invoke the filters before
updating the request cache.
* HttpResponseStream.cs: new Filter property. SendChunkSize is moved
here and now supports writing the final chunk. New method ApplyFilter
that filters the existing buckets and replaces them with the filtered
ones. Modified Write to deal with buffering and filtering.

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

18 years agoMerge from HEAD.
Zoltan Varga [Mon, 3 Oct 2005 23:15:41 +0000 (23:15 -0000)]
Merge from HEAD.

svn path=/branches/mono-1-1-9/mono/; revision=51141

18 years ago2005-10-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 3 Oct 2005 23:06:17 +0000 (23:06 -0000)]
2005-10-04  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (emit_section_change): Fix emitting of sections on win32. Fixes #76322.

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

18 years ago * ScrollBar.cs: My last scrollbar patch was broken. This is a
Jackson Harper [Mon, 3 Oct 2005 22:31:07 +0000 (22:31 -0000)]
* ScrollBar.cs: My last scrollbar patch was broken. This is a
revert and a new patch to prevent the thumb from refreshing so
much.

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

18 years ago2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 22:20:04 +0000 (22:20 -0000)]
2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponseStream.cs: allow for writes of more than 32K at once.

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

18 years agoextra check
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 21:35:09 +0000 (21:35 -0000)]
extra check

svn path=/branches/mono-1-1-9/mcs/; revision=51137

18 years agoextra check
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 21:34:14 +0000 (21:34 -0000)]
extra check

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

18 years agofrom head. Fixes the build.
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 20:49:26 +0000 (20:49 -0000)]
from head. Fixes the build.

svn path=/branches/mono-1-1-9/mcs/; revision=51135

18 years agoupdate to reflect results after reversion.
Raja R Harinath [Mon, 3 Oct 2005 18:25:43 +0000 (18:25 -0000)]
update to reflect results after reversion.

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

18 years agoRevert r51122 since it's causing strange failures. Restore tree to bootstrap-land
Raja R Harinath [Mon, 3 Oct 2005 18:20:57 +0000 (18:20 -0000)]
Revert r51122 since it's causing strange failures.  Restore tree to bootstrap-land

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

18 years agoAdd new unit test for check for bug#75841 - ordered set for authenticated attributes
Sebastien Pouliot [Mon, 3 Oct 2005 18:11:21 +0000 (18:11 -0000)]
Add new unit test for check for bug#75841 - ordered set for authenticated attributes

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

18 years ago2005-10-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 3 Oct 2005 18:10:23 +0000 (18:10 -0000)]
2005-10-03  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS7.cs: Ensure that attributes (authenticated and unauthenticated)
are sorted as required in ASN.1 SET with DER encoding. Kind of hackish
because this should be done in the ASN.1 encoder - but it solves
interop problems with BouncyCastle. Patch (modified) from Daniel
Granath <dgranath#gmail.com>.

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

18 years ago2005-10-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 3 Oct 2005 18:09:47 +0000 (18:09 -0000)]
2005-10-03  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS7Test.cs: New. Unit tests to ensure authenticated attributes
are sorted before they are signed. This is required by DER and ensures
better interoperability with other implementations (like BouncyCastle)

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

18 years agonew tests
Marek Safar [Mon, 3 Oct 2005 15:43:09 +0000 (15:43 -0000)]
new tests

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

18 years ago2005-10-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 3 Oct 2005 15:33:31 +0000 (15:33 -0000)]
2005-10-03  Marek Safar  <marek.safar@seznam.cz>

* assign.cs (Assign.DoResolve): Implicit conversion is more
strict.

* cfold.cs (DoConstantNumericPromotions): Error method changed.

* const.cs (ResolveValue): Reset in_transit immediately.

* constant.cs: Error method changed.

* convert.cs: Removed useless location parameter.
(ExplicitNumericConversion): Don't do double enum check.
(ExplicitConversionCore): Renamed from ExplicitConversion.
(ExplicitUnsafe): Extracted from ExplicitConversion.
(ExplicitConversion): Uses for error reporting.

* ecore.cs (Error_ValueCannotBeConverted): More logic for more
error messages.
(ResolveBoolean): Uses common error method.
(CastToDecimal): Get rid of ec.
(CastFromDecimal): Optimized.
(ConvCast): Get rid of ec.

* enum.cs (ResolveValue): Reset in_transit immediately.
(Emit): Return after first error.

* expression.cs: Convert changes.

* literal.cs: Error method changed.

* statement.cs: Error method changed.

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

18 years ago2005-10-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 3 Oct 2005 15:08:44 +0000 (15:08 -0000)]
2005-10-03  Marek Safar <marek.safar@seznam.cz>

* test-10.cs: One more test.

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

18 years ago2005-10-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Oct 2005 14:15:17 +0000 (14:15 -0000)]
2005-10-03  Zoltan Varga  <vargaz@gmail.com>

* liveness.c (mono_analyze_liveness): Revert parts of r51051 since it
causes a regression.

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

18 years ago2005-09-26 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Alexandre Rocha Lima e Marcondes [Mon, 3 Oct 2005 14:04:24 +0000 (14:04 -0000)]
2005-09-26 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
           Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
*  ForEachC.vb : For Each statement test using collections
  and a field as ForEach variable.
* mb-parser.jay: Fix For Each when using fields as the variable
used to iterate through the elements.
        * expression.cs: Created new LocalVariableReference EmitAssign
used in for each with non Static fields.
        * statement.cs: Created new attribute of VariableInfo -
FieldAlias wich references a FieldBase indicated by the alias.
        * Added a field assign treatment if the foreach variable
references a non static field, in EmitCollectionForeach and
EmitArrayForeach.

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

18 years ago2005-10-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Oct 2005 13:56:25 +0000 (13:56 -0000)]
2005-10-03  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_thread_cleanup): Fix reading of freed memory.

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

18 years ago* profiles/basic.make (monolite_flag, use_monolite): New. Used to
Raja R Harinath [Mon, 3 Oct 2005 13:25:05 +0000 (13:25 -0000)]
* profiles/basic.make (monolite_flag, use_monolite): New.  Used to
determine if we need to compile with 'monolite' rather than with
an external mcs.
(do-profile-check): Simplify.  Remove corlib version testing
scripts.  Delegate that work to the mono runtime itself.  Split
off 'monolite' handling into ...
(do-profile-check-monolite): ... this.

Remove build-dependence on 'dc'.  We already have the mechanism
for testing if monolite is compatible with the runtime: just use
them together to build the test program.

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

18 years ago2005-10-03 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 3 Oct 2005 12:45:07 +0000 (12:45 -0000)]
2005-10-03  Lluis Sanchez Gual  <lluis@novell.com>

* ObjectIDGenerator.cs: Use custom comparer instead of an instance
wrapper. Closes bug #76017.

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

18 years agoWithout this, I cant build it standalone
Miguel de Icaza [Mon, 3 Oct 2005 11:12:39 +0000 (11:12 -0000)]
Without this, I cant build it standalone

svn path=/branches/mono-1-1-9/mcs/; revision=51115

18 years agoAdd new file
Miguel de Icaza [Mon, 3 Oct 2005 10:51:03 +0000 (10:51 -0000)]
Add new file

svn path=/branches/mono-1-1-9/mcs/; revision=51114

18 years agoAdd new file
Miguel de Icaza [Mon, 3 Oct 2005 10:50:58 +0000 (10:50 -0000)]
Add new file

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

18 years agoAdd
Miguel de Icaza [Mon, 3 Oct 2005 10:46:44 +0000 (10:46 -0000)]
Add

svn path=/branches/mono-1-1-9/mono/; revision=51111

18 years ago2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Oct 2005 09:42:33 +0000 (09:42 -0000)]
2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* CustomAttributeBuilder.cs : internal attributes should be allowed.
  Fixed bug #75723.

* test-458.cs : test for bug #75723.

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

18 years ago2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Oct 2005 09:35:02 +0000 (09:35 -0000)]
2005-10-03  Atsushi Enomoto <atsushi@ximian.com>

* XmlWriter.cs, XmlWriterSettings.cs, XmlTextWriter.cs :
  added supprot for NormalizeNewLines.
  NewLineOnAttributes is considered only when Indent is true.

* XmlWriterSettingsTests.cs : test for NormalizeNewLines.

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

18 years agofrom head
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 08:41:08 +0000 (08:41 -0000)]
from head

svn path=/branches/mono-1-1-9/mcs/; revision=51108

18 years ago2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 08:32:32 +0000 (08:32 -0000)]
2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* InputFilterStream.cs proxy stream for use by filters.
* HttpRequest.cs: implement input filtering.

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

18 years ago* mcs/support.cs (SeekableStreamReader.Position): Don't error out when
Raja R Harinath [Mon, 3 Oct 2005 05:20:23 +0000 (05:20 -0000)]
* mcs/support.cs (SeekableStreamReader.Position): Don't error out when
the requested position is just beyond the end of the current
buffered data.
* gmcs/support.cs (SeekableStreamReader.Position): Likewise.

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

18 years agofix the 2.0 build
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 04:44:53 +0000 (04:44 -0000)]
fix the 2.0 build

svn path=/branches/mono-1-1-9/mcs/; revision=51105

18 years agofix the 2.0 build
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 04:44:39 +0000 (04:44 -0000)]
fix the 2.0 build

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

18 years ago2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 03:25:33 +0000 (03:25 -0000)]
2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageButtonTest.cs: test that 'name' attribute is rendered.

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

18 years agobackported r51101 from trunk.
Atsushi Eno [Mon, 3 Oct 2005 03:19:16 +0000 (03:19 -0000)]
backported r51101 from trunk.

svn path=/branches/mono-1-1-9/mcs/; revision=51102

18 years ago2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Oct 2005 01:58:50 +0000 (01:58 -0000)]
2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.

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

18 years ago * ScrollBar.cs: Don't update position if it hasn't actually
Jackson Harper [Mon, 3 Oct 2005 00:06:42 +0000 (00:06 -0000)]
* ScrollBar.cs: Don't update position if it hasn't actually
changed. This occurs when you hold down the increment/decrement
buttons and the thumb gets to the max/min.

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

18 years agofrom head
Gonzalo Paniagua Javier [Sun, 2 Oct 2005 23:28:32 +0000 (23:28 -0000)]
from head

svn path=/branches/mono-1-1-9/mcs/; revision=51099

18 years ago2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 2 Oct 2005 23:28:15 +0000 (23:28 -0000)]
2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ButtonColumn.cs: it was lacking databinding, so copied most of it
from BoundColumn.

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

18 years ago2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 2 Oct 2005 23:26:01 +0000 (23:26 -0000)]
2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGridTest.cs: Test for ButtonColumn with DataTextField.

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

18 years agofrom head
Gonzalo Paniagua Javier [Sun, 2 Oct 2005 22:31:55 +0000 (22:31 -0000)]
from head

svn path=/branches/mono-1-1-9/mcs/; revision=51096

18 years ago2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 2 Oct 2005 22:30:45 +0000 (22:30 -0000)]
2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FontInfo.cs: removed useless ctor.
* Style.cs: keep here some commented out debugging code.
* DataGrid.cs: the Items property does not create a new arraylist if
the items_list was already initialized. Add case for Separator.
* DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
in the header columns has a special ForeColor handling.

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

18 years ago2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 2 Oct 2005 22:28:45 +0000 (22:28 -0000)]
2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGridTest.cs: new test for the style of the linkbutton in the
headers when sorting is enabled. Also test that the Items property
contains the DataGridItems.

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

18 years ago2005-10-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 2 Oct 2005 20:04:24 +0000 (20:04 -0000)]
2005-10-02  Zoltan Varga  <vargaz@freemail.hu>

* get.h get.c main.c: Fix some warnings and bugs.

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

18 years ago2005-10-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 2 Oct 2005 17:36:21 +0000 (17:36 -0000)]
2005-10-02  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (OP_PCONST): Move the definition of OP_PCONST into the rest
of the OP_P definitions.

* TODO: Add a proposal for dealing with the CEE/OP mess.

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

18 years ago2005-10-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 2 Oct 2005 17:10:33 +0000 (17:10 -0000)]
2005-10-02  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_output_basic_block): Merge mul_imm
optimizations from the x86 port.

* cpu-amd64.md: Ditto.

* basic.cs basic-long.cs: Add tests.

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