mono.git
20 years ago2003-12-31 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 31 Dec 2003 20:27:10 +0000 (20:27 -0000)]
2003-12-31 Ben Maurer  <bmaurer@users.sourceforge.net>

* decl.cs: only allocate hashtables for ifaces if
it is an iface!

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

20 years ago2003-12-31 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 31 Dec 2003 19:08:33 +0000 (19:08 -0000)]
2003-12-31 Ben Maurer  <bmaurer@users.sourceforge.net>

* expression.cs: fix the error from cs0121-2.cs
(a parent interface has two child interfaces that
have a function with the same name and 0 params
and the function is called through the parent).

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

20 years agoWe fail on this variation of CS0121, where an interface has two identical methods...
Ben Maurer [Wed, 31 Dec 2003 17:43:54 +0000 (17:43 -0000)]
We fail on this variation of CS0121, where an interface has two identical methods from base interfaces, leaving an ambigious call

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

20 years ago2004-01-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 31 Dec 2003 16:10:11 +0000 (16:10 -0000)]
2004-01-01  Nick Drochak <ndrochak@gol.com>

* ServiceContainerTest.cs: Eliminate unused variable that was giving us
a warning.  Also did a little nunit version 2 house cleaning.

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

20 years ago2004-01-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 31 Dec 2003 16:00:24 +0000 (16:00 -0000)]
2004-01-01  Nick Drochak <ndrochak@gol.com>

* Makefile: Suppress warnings about multiple Regex defs and obsolete
calls in the test assembly.

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

20 years ago2004-01-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 31 Dec 2003 15:48:23 +0000 (15:48 -0000)]
2004-01-01  Nick Drochak  <ndrochak@gol.com>

* corlib_test.dll.sources: Add PermissionRequestEvidenceTest.cs
* corlib.dll.sources. Add PermissionRequestEvidence.cs

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

20 years ago2004-01-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 31 Dec 2003 15:46:31 +0000 (15:46 -0000)]
2004-01-01  Nick Drochak  <ndrochak@gol.com>

* PermissionRequestEvidenceTest.cs: New File

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

20 years ago2004-01-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 31 Dec 2003 15:44:43 +0000 (15:44 -0000)]
2004-01-01  Nick Drochak  <ndrochak@gol.com>

* PermissionRequestEvidence.cs: New File

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

20 years ago2004-01-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 31 Dec 2003 14:57:41 +0000 (14:57 -0000)]
2004-01-01  Nick Drochak  <ndrochak@gol.com>

* RegistryKey.cs: Add some missing overloads.

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

20 years ago2004-01-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 31 Dec 2003 14:55:26 +0000 (14:55 -0000)]
2004-01-01  Nick Drochak  <ndrochak@gol.com>

* BitVector32Test.cs: Test some more values less than 1.

Happy New Year!

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

20 years ago2003-12-31 Nick Drochak <ndrochak@ieee.com>
Nick Drochak [Wed, 31 Dec 2003 14:43:58 +0000 (14:43 -0000)]
2003-12-31  Nick Drochak  <ndrochak@ieee.com>

* UriTest2.cs: Use proper path to find file.
* UriBuilderTest.cs: 123456789 is not a bad port.

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

20 years ago2003-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 31 Dec 2003 13:18:45 +0000 (13:18 -0000)]
2003-12-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System_test.dll.sources: added SocketTest.cs

* System.Net.Sockets/Socket.cs: fix for several asynchronous methods to
delay exception throwing.

* Test/System.Net.Sockets/SocketTest.cs: new test for asynchronous
connection failure.

Test+fix by Brad FitzpatrickBrad Fitzpatrick <brad@danga.com>.

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

20 years ago2003-12-30 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 30 Dec 2003 19:50:12 +0000 (19:50 -0000)]
2003-12-30 Ben Maurer  <bmaurer@users.sourceforge.net>

* class.cs, rootcontext.cs, typmanager.cs: do not
leak pointers.

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

20 years ago2003-12-13 Patrik Torstensson <p@rxc.se>
Patrik Torstensson [Tue, 30 Dec 2003 14:38:48 +0000 (14:38 -0000)]
2003-12-13  Patrik Torstensson  <p@rxc.se>

* bug-42136.cs: invalid liveness analyse for locals
used in try and catch block. (exceptions not counted
for in the liveness analyse)
* Makefile.am: added bug-42136.cs

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

20 years ago2003-12-30 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 30 Dec 2003 14:23:49 +0000 (14:23 -0000)]
2003-12-30  Nick Drochak  <ndrochak@gol.com>

* DnsTest.cs: Update with new IP address for www.go-mono.com and make
test failure output more informative. All Tests pass for me on
.NET 1.1.
* HttpWebRequestTest.cs: Get rid of WriteLines and use Asserts to make
it a proper unit test.

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

20 years agoFixed DoVerticalRendering () and DoHorizontalRendering().
Alon Gazit [Tue, 30 Dec 2003 14:23:43 +0000 (14:23 -0000)]
Fixed DoVerticalRendering () and DoHorizontalRendering().
Current implementation produces few extra html tags.

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

20 years ago2003-12-30 Patrik Torstensson <p@rxc.se>
Patrik Torstensson [Tue, 30 Dec 2003 13:02:12 +0000 (13:02 -0000)]
2003-12-30  Patrik Torstensson <p@rxc.se>

* mini-x86.h: Decreased number of availiable fp regs.
Solves corner cases with FP spilling.

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

20 years ago2003-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 30 Dec 2003 12:56:29 +0000 (12:56 -0000)]
2003-12-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
AcceptChanges in Update when a CommandBuilder is used and
correctly fill information about primary keys in FillSchema.
Patch from Sergei Malinin (smalinin@amurnet.ru).

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

20 years agoundo to the change that i made few hours ago.
Alon Gazit [Tue, 30 Dec 2003 11:49:22 +0000 (11:49 -0000)]
undo to the change that i made few hours ago.
the problem is in HyperLink.
sorry for my mistake.

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

20 years ago2003-12-30 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 30 Dec 2003 10:52:46 +0000 (10:52 -0000)]
2003-12-30  Nick Drochak <ndrochak@gol.com>

* DiagnosticsConfigurationHandlerTest.cs: Inherit from Assertion to
make it a bit simpler.
* SwitchesTest.cs: Make the tests pass on .NET 1.1

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

20 years ago2003-05-29 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 30 Dec 2003 10:42:48 +0000 (10:42 -0000)]
2003-05-29  Nick Drochak <ndrochak@gol.com>

* System_test.dll.config: Nunit loads configs with the same name as the
test assembly. This is for the Swithes test.

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

20 years agofix typo in IsRelativeUrl().
Alon Gazit [Tue, 30 Dec 2003 10:12:16 +0000 (10:12 -0000)]
fix typo in IsRelativeUrl().
fix cases when the path is absolute path like "www.go-mono.com".

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

20 years ago2003-12-29 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 30 Dec 2003 04:28:16 +0000 (04:28 -0000)]
2003-12-29  Sebastien Pouliot  <spouliot@videotron.ca>

* corlib_test.dll.sources: Added new unit tests to System.Security.Principal.

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

20 years ago2003-12-29 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 30 Dec 2003 04:20:08 +0000 (04:20 -0000)]
2003-12-29  Sebastien Pouliot  <spouliot@videotron.ca>

* WindowsPrincipal.cs: Return false for a null role.

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

20 years ago2003-12-29 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 30 Dec 2003 04:17:40 +0000 (04:17 -0000)]
2003-12-29  Sebastien Pouliot  <spouliot@videotron.ca>

* corlib_test.dll.sources: Added new unit tests to System.Security.
Permissions and System.Security.Principal.

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

20 years ago2003-12-29 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 30 Dec 2003 04:16:32 +0000 (04:16 -0000)]
2003-12-29  Sebastien Pouliot  <spouliot@videotron.ca>

* WindowsIdentityTest.cs: New. Partial unit test for WindowsIdentity.
* WindowsPrincipalTest.cs: New. Partial unit test for WindowsPrincipal.

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

20 years ago2003-12-29 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 30 Dec 2003 04:13:59 +0000 (04:13 -0000)]
2003-12-29  Sebastien Pouliot  <spouliot@videotron.ca>

* PrincipalPolicy.cs: Added missing [Serializable] to enum.
* WindowsAccountType.cs: Added missing [Serializable] to enum.
* WindowsBuiltInRole.cs: Added missing [Serializable] to enum.
* WindowsIdentity.cs: Updated to match the unit tests.
* WindowsPrincipal.cs: Return false for a null role.

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

20 years ago2003-12-29 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 30 Dec 2003 04:07:48 +0000 (04:07 -0000)]
2003-12-29  Sebastien Pouliot  <spouliot@videotron.ca>

* EnvironmentPermission.cs: Fixed return value to match unit tests.
* EnvironmentPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* FileDialogPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* FileIOPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* IsolatedStorageFilePermissionAttribute.cs: Implemented
CreatePermission method. Updated AttributeUsage using 1.2 documentation.
* IsolatedStoragePermissionAttribute.cs: Updated AttributeUsage using
1.2 documentation.
* PermissionSetAttribute.cs: Prepared CreatePermissionSet. Updated
AttributeUsage using 1.2 documentation.
* PrincipalPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Fixed AttributeUsage (more limited than others).
* PublisherIdentityPermissionAttribute.cs: Updated CreatePermission to
throw ArgumentException for Unrestricted permission. Updated
AttributeUsage using 1.2 documentation.
* ReflectionPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* RegistryPermission.cs: Implemented IsUnrestricted for unit tests.
* RegistryPermissionAttribute.cs: Implemented CreatePermission method.
Updated AttributeUsage using 1.2 documentation.
* SecurityAttribute.cs: m_Action is now assigned in constructor.
* SecurityPermission.cs: Completed class.
* SecurityPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Added missing [Serializable] attribute and
UnmanagedCode property. Changed -= to &= to preserve flags (e.g.
setting a flags to false more than one time).
* SecurityPermissionFlag.cs: Cleanup unused XML tags.
* SiteIdentityPermission.cs: Fixed exception for constructor and Site
property to match unit tests.
* SiteIdentityPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* StrongNameIdentityPermission.cs: Fixed default values for Name and
Version to match unit tests.
* StrongNamePermissionAttribute.cs: Updated CreatePermission to
throw ArgumentException for Unrestricted permission. Updated
AttributeUsage using 1.2 documentation.
* UIPermission.cs: Fixed default values in constructor to match unit
tests.
* UIPermissionAttribute.cs: Updated CreatePermission to throw
ArgumentException for Unrestricted permission. Fixed strange case for
null URL. Updated AttributeUsage using 1.2 documentation.
* UrlIdentityPermission.cs: Url property now throws an exception to
match unit tests.
* UrlIdentityPermissionAttribute.cs: Updated CreatePermission to throw
ArgumentException for Unrestricted permission. Updated AttributeUsage
using 1.2 documentation.
* ZoneIdentityPermissionAttribute.cs: Updated CreatePermission to throw
ArgumentException for Unrestricted permission. Updated AttributeUsage
using 1.2 documentation.

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

20 years ago2003-12-29 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 30 Dec 2003 03:35:32 +0000 (03:35 -0000)]
2003-12-29  Sebastien Pouliot  <spouliot@videotron.ca>

* EnvironmentPermissionAttributeTest.cs: Updated to test default
properties, Actions, get for All (1.1) and Unrestricted.
* FileDialogPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* FileIOPermissionAttributeTest.cs: Updated to test default
properties, Actions, get for All (1.1) and Unrestricted.
* IsolatedStorageFilePermissionAttributeTest.cs: New.
* PermissionSetAttributeTest.cs: New.
* PrincipalPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* PublisherIdentityPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* ReflectionPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* RegistryPermissionAttributeTest.cs: New.
* SecurityPermissionAttributeTest.cs: New.
* SiteIdentityPermissionAttributeTest.cs: New.
* StrongNameIdentityPermissionAttributeTest.cs: New.
* StrongNamePublicKeyBlobTest.cs: Converted to NUnit2 format.
* UIPermissionAttributeTest.cs: New.
* UrlIdentityPermissionAttributeTest.cs: New.
* ZoneIdentityPermissionAttributeTest.cs: New.

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

20 years agoFixed bug in Len(Decimal)
Jochen Wezel [Mon, 29 Dec 2003 23:28:06 +0000 (23:28 -0000)]
Fixed bug in Len(Decimal)
Added some results of my studies regarding Asc and single/double byte systems in documentation comments

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

20 years agoStringsTest.cs updated
Jochen Wezel [Mon, 29 Dec 2003 23:23:19 +0000 (23:23 -0000)]
StringsTest.cs updated

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

20 years agook, so i did not need a +1 there; i hate off by one errors
Ben Maurer [Mon, 29 Dec 2003 18:43:20 +0000 (18:43 -0000)]
ok, so i did not need a +1 there; i hate off by one errors

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

20 years ago2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 29 Dec 2003 17:08:30 +0000 (17:08 -0000)]
2003-12-29 Ben Maurer  <bmaurer@users.sourceforge.net>

* MethodBuilder.cs, ConstructorBuilder.cs: Override GetParameterCount.
* ILGenerator.cs: Use GetParameterCount.

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

20 years ago2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 29 Dec 2003 16:58:36 +0000 (16:58 -0000)]
2003-12-29 Ben Maurer  <bmaurer@users.sourceforge.net>

* MethodBase.cs: Internal method to get param count (this
way we can get the info for the ilgen without creating
an array, if we override the method).

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

20 years agoupdate the implementation of RenderAttributes().
Alon Gazit [Mon, 29 Dec 2003 16:53:34 +0000 (16:53 -0000)]
update the implementation of RenderAttributes().
Change the if statement that determines if the onclick script is rendered.

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

20 years agochange the implementation of LoadPostData.
Alon Gazit [Mon, 29 Dec 2003 09:03:41 +0000 (09:03 -0000)]
change the implementation of LoadPostData.
Currently, while the AutoPostBack property equals true ,
it isn't possible to perform uncheck.

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

20 years ago2003-12-29 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 29 Dec 2003 06:48:49 +0000 (06:48 -0000)]
2003-12-29  Tim Coleman <tim@timcoleman.com>
        * System.Data.ObjectSpaces/ObjectContext.cs:
        * System.Data.ObjectSpaces/ObjectReader.cs:
        * System.Data.ObjectSpaces/ObjectSet.cs:
        * System.Data.ObjectSpaces/ObjectSpace.cs:
                Some implementation
        * System.Data.ObjectSpaces/ObjectList.cs:
        * System.Data.ObjectSpaces/ObjectSources.cs:
        * System.Data.ObjectSpaces.Schema/ObjectRelationship.cs:
        * System.Data.ObjectSpaces.Schema/ObjectSchema.cs:
        * System.Data.ObjectSpaces.Schema/SchemaClass.cs:
        * System.Data.ObjectSpaces.Schema/SchemaMember.cs:
                Remove erroneous "private" modifiers

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

20 years agoMissed commit
Tim Coleman [Mon, 29 Dec 2003 06:40:55 +0000 (06:40 -0000)]
Missed commit

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

20 years ago2003-12-29 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 29 Dec 2003 06:40:27 +0000 (06:40 -0000)]
2003-12-29  Tim Coleman <tim@timcoleman.com>
        * System.Data.SqlXml.dll.sources:
                Remove XmlDataSourceResolver as it is broken.
        * System.Data.Mapping/DataSource.cs:
                Fix property name
        * System.Xml.Query/XmlViewSchemaDictionary.cs:
                Remove "private" from some properties

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

20 years ago2003-12-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 29 Dec 2003 02:04:05 +0000 (02:04 -0000)]
2003-12-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* codegen.cs: remove stack for the ec flow branching.
It is already a linked list, so no need.

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

20 years ago2003-12-28 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 28 Dec 2003 23:36:35 +0000 (23:36 -0000)]
2003-12-28  Tim Coleman <tim@timcoleman.com>
* SqlResultSet.cs:
Missed a couple of includes.

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

20 years ago2003-12-28 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 28 Dec 2003 23:31:24 +0000 (23:31 -0000)]
2003-12-28  Tim Coleman <tim@timcoleman.com>
        * System.Data.dll.sources:
                Add new .NET 1.2 sources.

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

20 years ago2003-12-28 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 28 Dec 2003 23:30:42 +0000 (23:30 -0000)]
2003-12-28  Tim Coleman <tim@timcoleman.com>
        * SqlResultSet.cs:
                Stubbed out this class.

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

20 years agoadd a pic to be like everyone else
John Luke [Sun, 28 Dec 2003 21:40:01 +0000 (21:40 -0000)]
add a pic to be like everyone else

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

20 years ago2003-12-28 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 28 Dec 2003 21:24:16 +0000 (21:24 -0000)]
2003-12-28  Tim Coleman <tim@timcoleman.com>
        * DbParameterBase.cs:
                Correct type of ValueSize method to int

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

20 years ago2003-12-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 28 Dec 2003 18:30:10 +0000 (18:30 -0000)]
2003-12-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* BinaryWriter.cs: use one encoding buffer for writing
strings rather than allocting one/string. HUGE perf
boost when writing many strings.

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

20 years ago2003-12-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 28 Dec 2003 18:00:57 +0000 (18:00 -0000)]
2003-12-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* MonoSymbolTable.cs (MethodEntry): kill more
useless fields.

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

20 years ago2003-12-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 28 Dec 2003 17:43:39 +0000 (17:43 -0000)]
2003-12-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* MonoSymbolTable.cs (MethodEntry): Remove the
SourceFileIndex field, we already have the info.

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

20 years ago2003-12-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 28 Dec 2003 17:30:39 +0000 (17:30 -0000)]
2003-12-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* MonoSymbolTable.cs: Done make the MethodIndexEntry
part of the method entry class, because it just
takes up extra space.

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

20 years agoadd parentheses to if statement.
Alon Gazit [Sun, 28 Dec 2003 15:47:32 +0000 (15:47 -0000)]
add parentheses to if statement.
Currently the else statement refers to the inner if statement.

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

20 years agofix upper bound of for statement.
Alon Gazit [Sun, 28 Dec 2003 14:57:52 +0000 (14:57 -0000)]
fix upper bound of for statement.

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

20 years agoforgot to remove dead code
Ben Maurer [Sun, 28 Dec 2003 05:18:28 +0000 (05:18 -0000)]
forgot to remove dead code

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

20 years ago2003-12-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 28 Dec 2003 05:06:38 +0000 (05:06 -0000)]
2003-12-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* MonoSymbolTable.cs, MonoSymbolWriter.cs: Use
fewer arrays, dont use arraylists with structs.

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

20 years ago2003-12-27 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 28 Dec 2003 03:29:29 +0000 (03:29 -0000)]
2003-12-27 Ben Maurer  <bmaurer@users.sourceforge.net>

* MonoSymbolFile.cs: Much, much better string writing.

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

20 years ago2003-12-27 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 28 Dec 2003 03:04:58 +0000 (03:04 -0000)]
2003-12-27 Ben Maurer  <bmaurer@users.sourceforge.net>

* Makefile: Allow custom profiler here.

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

20 years ago2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Dec 2003 03:08:46 +0000 (03:08 -0000)]
2003-12-27  Atsushi Enomoto <atsushi@ximian.com>

* DataSet.cs : Fixed incorrect WriteXml() signature.

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

20 years ago2003-12-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 27 Dec 2003 03:01:36 +0000 (03:01 -0000)]
2003-12-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* typemanager.cs (LookupType):
  - Use a static char [], because split takes
    a param array for args, so it was allocating
    every time.
  - Do not store true in a hashtable, it boxes.

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

20 years ago2003-12-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 27 Dec 2003 00:47:18 +0000 (00:47 -0000)]
2003-12-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* ArrayList.cs: Add class `SimpleEnumerator' this handles the
.GetEnumerator We are able to remove fields by doing this, the
sizeof the simple version is 75% of that of the complex one, so we
get a pretty nice saving.

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

20 years ago2003-12-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Fri, 26 Dec 2003 20:49:25 +0000 (20:49 -0000)]
2003-12-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* flowanalysis.cs: bytify common enums.

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

20 years ago2003-12-27 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 26 Dec 2003 14:56:19 +0000 (14:56 -0000)]
2003-12-27  Nick Drochak <ndrochak@gol.com>

* AppDomainSetupTest.cs: Seems that AppDomainSetup's use the temp
path, not current directory.

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

20 years ago2003-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Dec 2003 09:50:33 +0000 (09:50 -0000)]
2003-12-26 Atsushi Enomoto <atsushi@ximian.com>

* XslDecimalFormat.cs : implemented format-number() other than number
  grouping.
* XsltCompiledContext.cs : Modified XsltFormatNumber.Evaluate() to
  catch ArgumentException which will be thrown by formatting process.

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

20 years ago2003-12-25 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 26 Dec 2003 04:40:13 +0000 (04:40 -0000)]
2003-12-25  Sebastien Pouliot  <spouliot@videotron.ca>

* corlib.dll.sources: Added WindowsPrincipal to build.

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

20 years ago2003-12-25 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 26 Dec 2003 04:25:41 +0000 (04:25 -0000)]
2003-12-25  Sebastien Pouliot  <spouliot@videotron.ca>

* WindowsIdentity.cs: Added ISerializable (for 1.1+) and default
implementation for constructors/properties.
* WindowsImpersonationContext.cs: Added MonoTODO on class and
NotImplementedException in constructor.
* WindowsPrincipal.cs: New. Basic implementation (mostly a stub).

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

20 years ago2003-12-25 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 25 Dec 2003 23:29:54 +0000 (23:29 -0000)]
2003-12-25 Ben Maurer  <bmaurer@users.sourceforge.net>

* test-141.cs: add tests for #38674.

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

20 years ago2003-12-25 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 25 Dec 2003 22:48:39 +0000 (22:48 -0000)]
2003-12-25 Ben Maurer  <bmaurer@users.sourceforge.net>

* modifiers.cs: Add a new set of flags for the
flags allowed on explicit interface impls.
* cs-parser.jay: catch the use of modifiers in
interfaces correctly.
* class.cs: catch private void IFoo.Blah ().

All related to bug #50572.

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

20 years ago2003-12-25 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 25 Dec 2003 22:10:02 +0000 (22:10 -0000)]
2003-12-25 Ben Maurer  <bmaurer@users.sourceforge.net>

* decl.cs: Rewrite the consistant accessability checking.
Accessability is not linear, it must be implemented in
a tableish way. Fixes #49704.

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

20 years ago2003-12-25 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 25 Dec 2003 21:56:22 +0000 (21:56 -0000)]
2003-12-25 Ben Maurer  <bmaurer@users.sourceforge.net>

* expression.cs: Handle negation in a checked context.
We must use subtraction from zero. Fixes #38674.

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

20 years ago * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
Jackson Harper [Thu, 25 Dec 2003 10:51:15 +0000 (10:51 -0000)]
    * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
#52522.

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

20 years ago * SessionStateModule.cs: Handle SessionStateMode.Off properly in
Jackson Harper [Thu, 25 Dec 2003 10:00:17 +0000 (10:00 -0000)]
    * SessionStateModule.cs: Handle SessionStateMode.Off properly in
Init. Only set session cookies if a new session is created. This
fixes bug #52501.

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

20 years ago * Page.cs: Throw error if the session is accessed when sessions
Jackson Harper [Thu, 25 Dec 2003 09:57:49 +0000 (09:57 -0000)]
    * Page.cs: Throw error if the session is accessed when sessions
are disabled.

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

20 years ago2003-12-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Dec 2003 08:48:46 +0000 (08:48 -0000)]
2003-12-25  Atsushi Enomoto <atsushi@ximian.com>

* Path.cs : Fixed GetFullPath() (and CanonicalizePath()),
  HasExtension(), GetPathRoot() and IsPathRooted() to fit with tests.

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

20 years ago2003-12-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Dec 2003 08:41:00 +0000 (08:41 -0000)]
2003-12-25  Atsushi Enomoto <atsushi@ximian.com>

* PathTest.cs : On Unix, "Z:" can be valid local file.
  And cosmetic character case fix.

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

20 years agoOops.
Duncan Mak [Thu, 25 Dec 2003 07:40:52 +0000 (07:40 -0000)]
Oops.

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

20 years ago* Matrix.cs (ToString): Cache the elements inside a local variable
Duncan Mak [Thu, 25 Dec 2003 07:39:23 +0000 (07:39 -0000)]
* Matrix.cs (ToString): Cache the elements inside a local variable
to avoid calling the Elements property repeatedly.

* graphics-path.c (GdipAddPathLine): Use append instead of
append_point.
(GdipTransformPath): Remember to reset the points after the
transformation.

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

20 years ago2003-12-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 25 Dec 2003 05:16:41 +0000 (05:16 -0000)]
2003-12-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Multiplexer.cs : Now we use managed XSLT engine by default.
  Added obsolete attribute to Transform()s without xmlresolver.

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

20 years ago2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 24 Dec 2003 19:32:54 +0000 (19:32 -0000)]
2003-12-24 Ben Maurer  <bmaurer@users.sourceforge.net>

* Type.cs (IsNotPublic): One would normally assume that
IsNotPublic == !IsPublic, but this is not the case (note to MS,
make better names ;-). Fixes #52547, `Type.IsNotPublic not
correct for Nested types'

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

20 years ago* graphics.c (DrawBezier, DrawBezierI): Well, it's pretty obvious
Duncan Mak [Wed, 24 Dec 2003 18:23:45 +0000 (18:23 -0000)]
* graphics.c (DrawBezier, DrawBezierI): Well, it's pretty obvious
that the code was incorrect before. After Christmas, I'm gonna
hook up the GraphicsPath code and work on testing and making sure
this stuff is correct. I'm pretty sure, in a first pass, there are
lots of littles bugs waiting to be fixed.

* graphics-path.c (new_point): Removed, we now pack the point
inside the append functions.
(append): New function that takes the X, Y coordinates directly.
(append_bezier): Take coordinates instead of GpPointFs. Use the
new append function instead of append_point.

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

20 years agoupdates from grammar changes.
César Natarén [Wed, 24 Dec 2003 17:37:43 +0000 (17:37 -0000)]
updates from grammar changes.

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

20 years agoChangeLog entries
César Natarén [Wed, 24 Dec 2003 17:36:35 +0000 (17:36 -0000)]
ChangeLog entries

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

20 years ago2003-12-24 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 24 Dec 2003 17:33:19 +0000 (17:33 -0000)]
2003-12-24  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: keep track of parent reference for
IDENTIFIER, STRING_LITERAL.

* expression.cs: Added 'binding' field. Added 'parent' parameter
to constructor. Now we emit the proper code for the identifier.

* VariableStatement.cs: updated to field names instead of the old
property's name.

* VariableDeclaration.cs: Added class Decl, it constains the
references to the static field or LocalBuilder that are created
when a declaration is emitted. Deleted unuseful properties (Id,
InitValue, Type).

* SymbolTable.cs: Deleted Retrieve method. Contains now returns an
object instead of a boolean.

* StringLiteral.cs: Deleted unuseful properties. Use ig instead of ec.ig.

* IdentificationTable.cs: Deleted Retrieve method. Contains method
now return an object instead of a boolean, that reference is the
binding associated with the identifier being searched.

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

20 years ago2003-12-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Dec 2003 17:08:07 +0000 (17:08 -0000)]
2003-12-24  Atsushi Enomoto <atsushi@ximian.com>

* mono.1 : added MONO_UNMANAGED_XSLT env. value (will be available
  soon).

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

20 years ago2003-12-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Dec 2003 17:05:58 +0000 (17:05 -0000)]
2003-12-24  Atsushi Enomoto <atsushi@ximian.com>

* profiler.c: workaround for --profile null reference exception on
  cygwin. Patch by Patrik Torstensson.

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

20 years ago2003-12-24 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Wed, 24 Dec 2003 09:52:15 +0000 (09:52 -0000)]
2003-12-24  Nick Drochak  <ndrochak@ieee.org>

* Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
even though docs say it should be an ArgumentNull. Sent email to MS
about this "bug".

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

20 years agobits
Rafael Teixeira [Wed, 24 Dec 2003 05:23:56 +0000 (05:23 -0000)]
bits

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

20 years ago2003/12/23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 24 Dec 2003 05:23:28 +0000 (05:23 -0000)]
2003/12/23  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* driver.cs : added stubs for options "/netcf /sdkpath:path"
* namespace.cs, decl.cs, rootcontext.cs : use hashtable to avoid duplicate importation of namespaces
  (especially between command-line option /imports and explicit Import clauses), what manifested itself as
  error messages for ambiguous names that where in truth identical
* statement.cs : trying to fix the 'exit' statement DoEmit, for "Exit Sub"
* mb-parser.jay, mb-tokenizer.cs : initial support for type_characters (dim az$ = dim az as string)

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

20 years ago2003-12-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Dec 2003 03:37:13 +0000 (03:37 -0000)]
2003-12-24  Atsushi Enomoto  <atsushi@ximian.com>

* Added testresults.tar.gz and README.
* Modified Makefile.

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

20 years ago2003-12-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Dec 2003 01:54:47 +0000 (01:54 -0000)]
2003-12-24  Atsushi Enomoto  <atsushi@ximian.com>

* Added missing xalan_correct_catalog.xml.
* Makefile : a bit improved.

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

20 years ago2003-12-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Dec 2003 01:44:12 +0000 (01:44 -0000)]
2003-12-24  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile, prepare.cs, xslttest.cs : Initial checkin.

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

20 years ago2003-12-23 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Dec 2003 22:41:46 +0000 (22:41 -0000)]
2003-12-23 Ben Maurer  <bmaurer@users.sourceforge.net>

* pp.cs: Also test for 2 entry-point-looking methods
in a library, bug #52490.

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

20 years ago2003-12-23 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Dec 2003 22:35:02 +0000 (22:35 -0000)]
2003-12-23 Ben Maurer  <bmaurer@users.sourceforge.net>

* class.cs: Ignore static void main in DLLs.
* rootcontext.cs: Handle the target type here,
since we are have to access it from class.cs
* driver.cs: account for the above.

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

20 years ago2003-12-23 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Dec 2003 21:43:42 +0000 (21:43 -0000)]
2003-12-23 Ben Maurer  <bmaurer@users.sourceforge.net>

* report.cs: Give line numbers and files if available.

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

20 years ago2003-12-23 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Dec 2003 21:09:38 +0000 (21:09 -0000)]
2003-12-23  Tim Coleman <tim@timcoleman.com>
        * DbConnectionString.cs:
                Some implementation
        * DbProviderFactory.cs:
                Fix typo to make CLS compliant

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

20 years ago2003-12-23 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Dec 2003 21:08:34 +0000 (21:08 -0000)]
2003-12-23  Tim Coleman <tim@timcoleman.com>
        * SqlConnection.cs:
                Improved connection string parsing.  See
                System.Data.Common.DbConnectionString for source.

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

20 years ago2003-12-23 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Dec 2003 21:07:11 +0000 (21:07 -0000)]
2003-12-23  Tim Coleman <tim@timcoleman.com>
        * DbCommandBase.cs DbConnectionBase.cs DbConnectionFactory.cs
        * DbParameterCollectionBase.cs:
                Some implementation

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

20 years ago2003-12-23 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Dec 2003 21:06:10 +0000 (21:06 -0000)]
2003-12-23  Tim Coleman <tim@timcoleman.com>
        * DbCommandBase.cs DbConnectionBase.cs DbConnectionFactory.cs:
                Some implementation

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

20 years ago*** empty log message ***
Tim Coleman [Tue, 23 Dec 2003 21:04:43 +0000 (21:04 -0000)]
*** empty log message ***

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

20 years ago2003-12-23 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Dec 2003 21:04:29 +0000 (21:04 -0000)]
2003-12-23  Tim Coleman <tim@timcoleman.com>
        * DbConnectionString.cs:
                Some implementation

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

20 years agocygwin-induced headaches
Rafael Teixeira [Tue, 23 Dec 2003 18:10:50 +0000 (18:10 -0000)]
cygwin-induced headaches

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

20 years ago2003-12-23 Patrik Torstensson <p@rxc.se>
Patrik Torstensson [Tue, 23 Dec 2003 17:11:34 +0000 (17:11 -0000)]
2003-12-23  Patrik Torstensson <p@rxc.se>

* mini.x86.c, mini-ops.h, cpu-pentium.md: Added support
for floating point stack tracking / spilling on x86.
Fixes bug #49012.

* basic-float.cs: added float mul overflow test.

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

20 years ago2003-12-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Dec 2003 16:41:41 +0000 (16:41 -0000)]
2003-12-23 Atsushi Enomoto <atsushi@ximian.com>

* ScriptCompilerInfo.cs : Use "mjs" as JScript compiler.

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