mono.git
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: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 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 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:34:14 +0000 (21:34 -0000)]
extra check

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

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 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 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 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: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 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 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 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

18 years ago* CodeTypeReferenceTest.cs: Added tests for CodeTypeParameter ctor,
Gert Driesen [Sun, 2 Oct 2005 14:57:07 +0000 (14:57 -0000)]
* CodeTypeReferenceTest.cs: Added tests for CodeTypeParameter ctor,
and string (basetype) ctor.
* CodeTypeReference.cs: Added default ctor for 2.0 profile. Set
Options to CodeReferenceOptions.GenericTypeParameter when instance
is constructed using ctor taking CodeTypeParameter argument. Modified
BaseType property to return BaseType of ArrayElementType if
available. Fixed some bugs in array and typeparameter support.

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

18 years agoTARGET_J2EE compilation
Eyal Alalouf [Sun, 2 Oct 2005 14:49:32 +0000 (14:49 -0000)]
TARGET_J2EE compilation

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

18 years agoTARGET_J2EE compilation
Eyal Alalouf [Sun, 2 Oct 2005 14:48:11 +0000 (14:48 -0000)]
TARGET_J2EE compilation

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

18 years agoTARGET_J2EE compilation
Eyal Alalouf [Sun, 2 Oct 2005 14:47:55 +0000 (14:47 -0000)]
TARGET_J2EE compilation

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

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

* DataGrid.cs: PageCount must persist in ViewState too and returns the
number of pages in the paged data source once we set that. Fix checks
for visibility of the pager: no more 2 pagers when custom paging is
enabled.

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

18 years ago * Form.cs:
Jackson Harper [Sat, 1 Oct 2005 21:00:57 +0000 (21:00 -0000)]
* Form.cs:
* MdiChildContext.cs:
* MdiClient.cs: Implement ActiveMdiChild in Form.

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

18 years agoIn Test/System.IO:
Ben Maurer [Sat, 1 Oct 2005 18:43:46 +0000 (18:43 -0000)]
In Test/System.IO:
2005-10-01  Ben Maurer  <bmaurer@ximian.com>

* BinaryReaderTest.cs: new test for long, non-ascii strings

In System.IO:
2005-10-01  Ben Maurer  <bmaurer@ximian.com>

* BinaryReader.cs: The patch below had a nasty little bug with
long strings that had non-ascii chars in it, because it was
looking at the char count, not the byte count.

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

18 years ago2005-10-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 1 Oct 2005 18:34:38 +0000 (18:34 -0000)]
2005-10-01  Atsushi Enomoto <atsushi@ximian.com>

* XmlAttribute.cs, XmlDocument.cs : check id table updates when
  XmlAttribute.set_Value() was invoked. Fixed bug #76311.

* XmlAttributeTests.cs : test for bug #76311.

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

18 years ago2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Sat, 1 Oct 2005 14:41:39 +0000 (14:41 -0000)]
2005-10-01  Jordi Mas i Hernandez <jordi@ximian.com>

* ComboBox.cs: Include ComboBoxEdit flag for the edit item

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

18 years ago2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sat, 1 Oct 2005 14:19:20 +0000 (14:19 -0000)]
2005-10-01  Peter Dennis Bartok  <pbartok@novell.com>

* X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  be found

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

18 years ago2005-10-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 1 Oct 2005 11:19:18 +0000 (11:19 -0000)]
2005-10-01  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs :
 XmlReader.Create() with string url argument are not working because
 of incorrect choice of the .ctor().

* XmlReaderCommonTests.cs : added simple Create() test.

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

18 years ago * ListBox.cs: Don't do a full refresh unless some data has
Jackson Harper [Sat, 1 Oct 2005 06:44:37 +0000 (06:44 -0000)]
* ListBox.cs: Don't do a full refresh unless some data has
actually changed.

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

18 years ago * TreeView.cs: Make sure that the checkboxes size is factored in
Jackson Harper [Sat, 1 Oct 2005 06:22:21 +0000 (06:22 -0000)]
* TreeView.cs: Make sure that the checkboxes size is factored in
even when not visible.

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

18 years ago2005-10-01 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Sat, 1 Oct 2005 05:13:02 +0000 (05:13 -0000)]
2005-10-01  Cesar Lopez Nataren  <cnataren@novell.com>

* mjs-most.tests: Add ecma/Date/15.9.1.1-1.js,
ecma/Date/15.9.5.7.js, ecma/Expressions/11.2.1-3-n.js,
ecma/Expressions/11.2.1-4-n.js, ecma/Math/15.8.1.8-3.js.

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

18 years ago2005-09-30 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 1 Oct 2005 00:13:47 +0000 (00:13 -0000)]
2005-09-30  Miguel de Icaza  <miguel@novell.com>

* Recompile the
FirebirdSql.Data.Common/Resources/isc_error_msg.resources with the
resgen so it produces 1.x resources not 2.x resources which are
unreadable in 1.x profile.

* FirebirdSql.Data.Firebird.dll.resources: Add the full name that
will be used, otherwise no resources work.

* FirebirdSql.Data.Common/Resources/isc_error_msg.txt: Fix newline.

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

18 years ago2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 23:26:09 +0000 (23:26 -0000)]
2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageButton.cs: fix a bug reported on the list. We were triggering the
command event on every POST. And the 'name' attribute was not being
rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
and we couldn't find the values.

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

18 years ago2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 22:18:44 +0000 (22:18 -0000)]
2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: fix the links for the numeric pager.

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

18 years ago2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 30 Sep 2005 20:11:09 +0000 (20:11 -0000)]
2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>

* FileDialog.cs: Fix Jordi's build break

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

18 years ago2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 30 Sep 2005 19:30:01 +0000 (19:30 -0000)]
2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>

* FileDialog.cs:
- Use standard the Windows colours for the combobox as espected
- Dispose objects that use resouces when no longer need them

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

18 years ago2005-09-30 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Fri, 30 Sep 2005 19:12:10 +0000 (19:12 -0000)]
2005-09-30  Cesar Lopez Nataren  <cnataren@novell.com>

* expression.cs (Expression::Resolve): check if we have an
assigment in a chain of expressions and stms, it fixes
#75801, and give us 660 more successful tests.

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

18 years agoFri Sep 30 20:07:20 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 30 Sep 2005 18:16:24 +0000 (18:16 -0000)]
Fri Sep 30 20:07:20 CEST 2005 Paolo Molaro <lupus@ximian.com>

* Makefile.am, driver.c, mini-x86.c, mini.c, mini.h, branch-opts.c:
Patrik Torstensson's implementation of my exception-handling
optimization idea, when the exception object is not used
(bug #62150).

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

18 years ago2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 30 Sep 2005 17:43:25 +0000 (17:43 -0000)]
2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added X11DesktopColors.cs
* SWF.csproj: Updated

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

18 years ago2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 30 Sep 2005 17:42:58 +0000 (17:42 -0000)]
2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>

* X11DesktopColors.cs: Initial incomplete implementation
* XplatUIX11.cs: Added call to initialize X11DesktopColors

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

18 years agoFri Sep 30 19:10:29 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 30 Sep 2005 17:16:04 +0000 (17:16 -0000)]
Fri Sep 30 19:10:29 CEST 2005 Paolo Molaro <lupus@ximian.com>

* mini-x86.c, cpu-pentium.md: Patrik Torstensson's port
of the mul_imm optimizations from the old jit.

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

18 years ago- Added annotation on how to implement proper rubber-band down the road
Peter Dennis Bartok [Fri, 30 Sep 2005 16:58:59 +0000 (16:58 -0000)]
- Added annotation on how to implement proper rubber-band down the road

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

18 years ago2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 30 Sep 2005 16:25:06 +0000 (16:25 -0000)]
2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>

* Theme.cs:
  - Switched Theme color names to match the names defined in
    System.Drawing.KnownColors. Life's hard enough, no need to make
    it harder.
  - Added setters to all theme color properties so themes can set
    their color schemes. The setters also propagate the color changes
    to System.Drawing.KnownColors via reflection
* ControlPaint.cs,  Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  use the new, more logical theme color names
* XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  post-NT colors
* ThemeWin32Classic.cs:
  - Removed code to set the old classic Windows colors. Instead it
    now relies on the colors returned by System.Drawing.KnownColors
    which will be either modern static colors (Unix) or colors
    read from the user's configuration (Win32)
  - Updated to use the new, more logical theme color names
  - Switched DataGrid drawing code to use only Theme colors instead of
    a mix of System.Drawing.KnownColors and Theme colors
  - DrawFrameControl(): Removed code that fills the button area, the
    fill would overwrite any previous fill done by a control. This
    fixes bug #75338
  - Added DrawReversibleRectangle() stub
* ScrollableControl.cs: Set visible state to false when scrollbars
  are removed (pdn fix)
* XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  DrawReversibleRectangle() method to allow drawing primitive
  'rubber bands'
* XplatUIX11.cs: Implemented DrawReversibleRectangle()

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

18 years agoFri Sep 30 11:37:51 EDT 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 30 Sep 2005 15:42:52 +0000 (15:42 -0000)]
Fri Sep 30 11:37:51 EDT 2005 Paolo Molaro <lupus@ximian.com>

* mini.c, liveness.c: patch by Patrik Torstensson and
Zoltan Varga to improve performance in methods with
exception clauses.

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

18 years agoRemove libwapi
Miguel de Icaza [Fri, 30 Sep 2005 15:18:31 +0000 (15:18 -0000)]
Remove libwapi

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

18 years ago2005-09-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Sep 2005 15:11:02 +0000 (15:11 -0000)]
2005-09-30  Zoltan Varga  <vargaz@gmail.com>

* abort-stress-3.cs: New file.

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

18 years ago2005-09-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Sep 2005 15:04:45 +0000 (15:04 -0000)]
2005-09-30  Zoltan Varga  <vargaz@gmail.com>

* threads.c (ves_icall_System_Threading_Thread_Abort): Handle
ThreadState_Stopped as well. Fixes #76047.

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

18 years agofixed test
Marek Safar [Fri, 30 Sep 2005 14:56:56 +0000 (14:56 -0000)]
fixed test

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

18 years ago2005-09-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Sep 2005 14:52:31 +0000 (14:52 -0000)]
2005-09-30  Zoltan Varga  <vargaz@gmail.com>

* driver.c: Remove 'Globalization' entry from --version.

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

18 years agoCreate handle.
Kornél Pál [Fri, 30 Sep 2005 14:42:57 +0000 (14:42 -0000)]
Create handle.

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

18 years ago2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 30 Sep 2005 13:57:32 +0000 (13:57 -0000)]
2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>

* ListView.cs:
* ThemeWin32Classic.cs:
- Fixes detail mode
- Sets clippings
- Issues with drawing

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

18 years agoMoved RecreateHandle back to ImageList as event source has to be the ImageList.
Kornél Pál [Fri, 30 Sep 2005 13:10:03 +0000 (13:10 -0000)]
Moved RecreateHandle back to ImageList as event source has to be the ImageList.

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

18 years agoImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
Kornél Pál [Fri, 30 Sep 2005 12:22:58 +0000 (12:22 -0000)]
ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.

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

18 years ago2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 11:56:51 +0000 (11:56 -0000)]
2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* strenc.c: don't use the UTF16 conversion with g_convert. It returns
the FF FE at the beginning, which is not what we expect. Now
MONO_EXTERNAL_ENCODINGS can roundtrip and works.

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

18 years agoImageList.cs: ReduceColorDepth: Clean up pointer operations.
Kornél Pál [Fri, 30 Sep 2005 10:38:18 +0000 (10:38 -0000)]
ImageList.cs: ReduceColorDepth: Clean up pointer operations.

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 06:45:04 +0000 (06:45 -0000)]
2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaUtil.cs: (GetParserContext) if reader is not internal
  IHasXmlParserContext, silently return null. This is for NVDL xsd
  support.

* XsdValidatingReader.cs: make ParserContext and its NamespaceManager
  optional. This is for NVDL xsd support.

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 06:37:56 +0000 (06:37 -0000)]
2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

* XsdValidatingReader.cs: allow validation for such XmlReader whose
  ReadState is Interactive (hold different "is started" flag). This
  is a fix for nvdl support.

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

18 years ago2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 06:35:40 +0000 (06:35 -0000)]
2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponseStream.cs: remove dead code.

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 05:49:16 +0000 (05:49 -0000)]
2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

* NvdlConfig.cs : changed mime type due to the suggestion from Makoto
  Murata.

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 05:46:40 +0000 (05:46 -0000)]
2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

* NvdlXsdSupport.cs : related fix to r51030; XmlSchema.Read() now does
  not consume EndElement.

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 05:42:17 +0000 (05:42 -0000)]
2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : XmlReader position after Read() is the end of the
  schema element.

* XmlSchemaTests.cs : test for reader position after Read().

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 05:41:51 +0000 (05:41 -0000)]
2005-09-30  Atsushi Enomoto  <atsushi@ximian.com>

* xsdtest.cs : noResolver option.

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

18 years ago2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 04:37:22 +0000 (04:37 -0000)]
2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: when paging is enable, the actual number of items is not
the number of items rendered before the postback, but that number times
the number of pages. Now we store the page count in the viewstate. Also,
as the number might be big, don't allocate an array of objects to fake
the collection for the PagedDataSource, but use the new NCollection
class instead, which provides cheap (memory wise) enumerator for an
arbitrary number of items. Thanks to "Adriano" for the test case.

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

18 years ago2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 30 Sep 2005 03:39:03 +0000 (03:39 -0000)]
2005-09-29  Sebastien Pouliot  <sebastien@ximian.com>

* HttpBrowserCapabilitiesCas.cs: Fixed tests case to work with both
values returned by Mono and MS runtimes.
* HttpContextCas.cs: Ignore the Application_Deny_UnmanagedCode test
case. This check was removed in 2.0 and seems to be inconsistent in
previous versions (i.e. depends on the execution order which triggers
the initialization of the HttpRuntime).

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 02:50:50 +0000 (02:50 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Xml.cs: the show must go on. Removed a few NotImplemented.

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

18 years agoImageList.cs: ImageCollection: Removed owner field as it is no more used.
Kornél Pál [Fri, 30 Sep 2005 02:36:31 +0000 (02:36 -0000)]
ImageList.cs: ImageCollection: Removed owner field as it is no more used.

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

18 years ago2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Fri, 30 Sep 2005 02:33:13 +0000 (02:33 -0000)]
2005-09-29  Jonathan Chambers <jonathan.chambers@ansys.com>
        * GridItem.cs: Fixed TODOs
        * GridItemCollection.cs: Added ICollection interface

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 02:22:33 +0000 (02:22 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/DesignerDataBoundLiteralControl.cs: changed autoid api.
* System.Web.UI/DataBoundLiteralControl.cs: changed autoid api.

* System.Web.UI/Control.cs: fixlet for UniqueID and weird test case.
Removed PreventAutoID and only use the property to set that value.

* System.Web.UI/LiteralControl.cs: changed autoid api.

* System.Web.UI.WebControls/Button.cs: implemented 2.0
RaisePostBackEvent in terms of the existing code in 1.1 (or viceversa).
RenderContents() does nothing.

* System.Web.UI.WebControls/DataGrid.cs: changed autoid api.

* System.Web.UI.WebControls/EditCommandColumn.cs: only 'Update' causes
validation.

* System.Web.UI.WebControls/TableCell.cs: changed autoid api.
RenderContents checks the number of controls to decide what to do, not
the value of Text in the viewstate.

* System.Web.UI.WebControls/TableRow.cs: changed autoid api.

* System.Web.UI.WebControls/BoundColumn.cs: SelectedItem was missing
when attaching a DataBind event. When we get an EditItem, we need a
TextBox to be created and this one will be the one that gets the event.
Changed ItemDataBinding to deal with a TextBox too.

All tests pass now in the default profile (2 not run).

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

18 years ago2005-09-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 30 Sep 2005 02:15:04 +0000 (02:15 -0000)]
2005-09-29  Miguel de Icaza  <miguel@novell.com>

* Add ComVisible(true) to all the classes that needed it.

* Removed documentation from DictionaryBase.cs and moved it to
Monodoc.

* ArrayList.cs: Fixed signature for constructor, parameter names
are normative.

* CollectionBase.cs: Add a couple of missing methods.

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 02:03:33 +0000 (02:03 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ControlTest.cs: a few more tests for UniqueID, as the datagrid and
related tests showed a problem with this.

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 02:02:35 +0000 (02:02 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TableCellTest.cs: the "Text" viewstate value does not control whether
we render the children or not.

* EditCommandColumnTest.cs: some tests do not pass on MS rutime for me,
so I've made them NotDotNet and fixed all the problems. Also added tests
to ensure that the TextBox's form the BoundColumns are present in the
hierarchy, as before we did nothing there.

* ButtonTest.cs: test to show that a Button's children are not rendered.

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

18 years agoImageList.cs: Resize icons when needed.
Kornél Pál [Fri, 30 Sep 2005 02:02:26 +0000 (02:02 -0000)]
ImageList.cs: Resize icons when needed.

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

18 years agoFix
Miguel de Icaza [Thu, 29 Sep 2005 21:52:38 +0000 (21:52 -0000)]
Fix

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

18 years agoAdd
Miguel de Icaza [Thu, 29 Sep 2005 21:14:42 +0000 (21:14 -0000)]
Add

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

18 years agoDoes not harm
Miguel de Icaza [Thu, 29 Sep 2005 21:13:35 +0000 (21:13 -0000)]
Does not harm

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

18 years ago2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 29 Sep 2005 21:04:29 +0000 (21:04 -0000)]
2005-09-29  Sebastien Pouliot  <sebastien@ximian.com>

* HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
in some of the existing tests (under 2.0).

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

18 years ago2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 29 Sep 2005 21:04:21 +0000 (21:04 -0000)]
2005-09-29  Sebastien Pouliot  <sebastien@ximian.com>

* HMACSHA1.cs: Added the new 2.0 ctor that let the programmer choose
between the managed and unmanaged SHA1 algorithm used in the HMAC
(that doesn't change much thing in the default config for Mono).
* PasswordDeriveBytes.cs: Added [Obsolete] on GetBytes (2.0) as new
applications should be using Rfc2898DeriveBytes to get PKCS#5 v2
support.

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

18 years agoImplement the heap stuff, move it to a separate file
Miguel de Icaza [Thu, 29 Sep 2005 20:26:16 +0000 (20:26 -0000)]
Implement the heap stuff, move it to a separate file

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

18 years ago* mcs/support.cs (SeekableStreamReader): Simplify drastically. Don't
Raja R Harinath [Thu, 29 Sep 2005 19:48:42 +0000 (19:48 -0000)]
* mcs/support.cs (SeekableStreamReader): Simplify drastically.  Don't
try to keep in sync with the byte count of the underlying Stream.
However, this limits us to a window size of 2048 characters: i.e.,
the maximum lookahead of our lexer/parser can be 2048 characters.
* gmcs/support.cs (SeekableStreamReader): Likewise.

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