Miguel de Icaza [Fri, 2 Jan 2004 18:43:52 +0000 (18:43 -0000)]
Add bunch of Posix calls
svn path=/trunk/mcs/; revision=21599
Miguel de Icaza [Fri, 2 Jan 2004 18:32:57 +0000 (18:32 -0000)]
initial doc
svn path=/trunk/mono/; revision=21598
Zoltan Varga [Fri, 2 Jan 2004 16:20:18 +0000 (16:20 -0000)]
2004-01-02 Zoltan Varga <vargaz@freemail.hu>
* cs-tokenizer.cs (consume_identifier) driver.cs: Cache identifiers in
a hashtable to avoid needless string allocations when an identifier is
used more than once (the common case).
svn path=/trunk/mcs/; revision=21596
Zoltan Varga [Fri, 2 Jan 2004 15:52:25 +0000 (15:52 -0000)]
2004-01-02 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_method_to_ir): Prevent register allocation for arguments
of tail calls.
svn path=/trunk/mono/; revision=21595
Zoltan Varga [Fri, 2 Jan 2004 14:24:26 +0000 (14:24 -0000)]
2004-01-02 Zoltan Varga <vargaz@freemail.hu>
* KeyedList.cs: 'private' is not allowed on explicit interface
implementations. Fixes 1.2 build.
Happy New Year !
svn path=/trunk/mcs/; revision=21594
Paolo Molaro [Fri, 2 Jan 2004 12:25:38 +0000 (12:25 -0000)]
Fri Jan 2 13:37:25 CET 2004 Paolo Molaro <lupus@ximian.com>
* mini-ops.h, mini.c, inssel.brg: Object.GetType () speedup.
svn path=/trunk/mono/; revision=21593
Paolo Molaro [Fri, 2 Jan 2004 12:23:59 +0000 (12:23 -0000)]
Fri Jan 2 13:35:48 CET 2004 Paolo Molaro <lupus@ximian.com>
* class.h, object.c: prepare for GetType () speedup.
svn path=/trunk/mono/; revision=21592
Ben Maurer [Thu, 1 Jan 2004 22:05:35 +0000 (22:05 -0000)]
2004-01-01 Ben Maurer <bmaurer@users.sourceforge.net>
* pending.cs: MS's TypeBuilder.GetInterfaces ()
is broken, it will not return anything. So, we
have to use the information we have in mcs to
do the task.
* typemanager.cs: Add a cache for GetInterfaces,
since this will now be used more often (due to ^^)
(GetExplicitInterfaces) New method that gets the
declared, not effective, interfaces on a type
builder (eg, if you have interface IFoo, interface
IBar, Foo : IFoo, Bar : Foo, IBar, GetExplInt (Bar) ==
{ IBar }.
This patch makes MCS able to bootstrap itself on
Windows again.
svn path=/trunk/mcs/; revision=21589
Ben Maurer [Thu, 1 Jan 2004 21:49:03 +0000 (21:49 -0000)]
2004-01-01 Ben Maurer <bmaurer@users.sourceforge.net>
* expression.cs: Remove the Nop's that Miguel put
in by mistake.
svn path=/trunk/mcs/; revision=21588
Nick Drochak [Thu, 1 Jan 2004 16:39:28 +0000 (16:39 -0000)]
2004-01-02 Nick Drochak <ndrochak@gol.com>
* ServicePointManagerTest.cs: Use the nunit v2 paradigm, and stop this
test from outputting its debug info with WriteLines.
* ServicePointTest.cs: Make sure MaxServicePoints weren't set to some
other limit in another test or whatever. Suppress debug output.
svn path=/trunk/mcs/; revision=21585
Alon Gazit [Thu, 1 Jan 2004 15:57:33 +0000 (15:57 -0000)]
update RenderItem() so that each item in the RadioButtonList or the
CheckBoxList is disabled or enabled like the container.
svn path=/trunk/mcs/; revision=21584
Alon Gazit [Thu, 1 Jan 2004 15:04:28 +0000 (15:04 -0000)]
add check in Write() in order to prevent NullReferenceException.
svn path=/trunk/mcs/; revision=21583
Alon Gazit [Thu, 1 Jan 2004 13:47:00 +0000 (13:47 -0000)]
implemented ExpiresAbsolute and Expires.
svn path=/trunk/mcs/; revision=21582
Sanja Gupta [Thu, 1 Jan 2004 11:06:59 +0000 (11:06 -0000)]
ChangeLog for Added missing functionality in WriteXml() of DataSet.
svn path=/trunk/mcs/; revision=21581
Sanja Gupta [Thu, 1 Jan 2004 11:05:17 +0000 (11:05 -0000)]
Added missing functionality in WriteXml() of DataSet
svn path=/trunk/mcs/; revision=21580
Alon Gazit [Thu, 1 Jan 2004 09:54:46 +0000 (09:54 -0000)]
Fixed PrepareControlHierarchyForItem().
The Header or Footer Style shouldn't merge with the cells Style.
svn path=/trunk/mcs/; revision=21579
Alon Gazit [Thu, 1 Jan 2004 08:20:16 +0000 (08:20 -0000)]
Headers and Footers are initialized with the relevant Style object.
svn path=/trunk/mcs/; revision=21578
Ben Maurer [Wed, 31 Dec 2003 21:27:06 +0000 (21:27 -0000)]
another way we dont catch cs0121
svn path=/trunk/mcs/; revision=21577
Jackson Harper [Wed, 31 Dec 2003 21:23:38 +0000 (21:23 -0000)]
TemplateControlParser.cs: When registering tag prefixs make sure
the file exists and throw the correct error if it does not.
svn path=/trunk/mcs/; revision=21576
Ben Maurer [Wed, 31 Dec 2003 21:21:55 +0000 (21:21 -0000)]
we do not report cs0229 at all really
svn path=/trunk/mcs/; revision=21575
Ben Maurer [Wed, 31 Dec 2003 20:53:22 +0000 (20:53 -0000)]
2003-12-31 Ben Maurer <bmaurer@users.sourceforge.net>
* report.cs, codegen.cs: Give the real stack trace to
the error when an exception is thrown.
svn path=/trunk/mcs/; revision=21574
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jochen Wezel [Mon, 29 Dec 2003 23:23:19 +0000 (23:23 -0000)]
StringsTest.cs updated
svn path=/trunk/mcs/; revision=21540
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
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
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
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
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
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
Tim Coleman [Mon, 29 Dec 2003 06:40:55 +0000 (06:40 -0000)]
Missed commit
svn path=/trunk/mcs/; revision=21533
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
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
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
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
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
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
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
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
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
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
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
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
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
Ben Maurer [Sun, 28 Dec 2003 05:18:28 +0000 (05:18 -0000)]
forgot to remove dead code
svn path=/trunk/mcs/; revision=21512
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Duncan Mak [Thu, 25 Dec 2003 07:40:52 +0000 (07:40 -0000)]
Oops.
svn path=/trunk/mcs/; revision=21486
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
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
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
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
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
César Natarén [Wed, 24 Dec 2003 17:36:35 +0000 (17:36 -0000)]
ChangeLog entries
svn path=/trunk/mcs/; revision=21479