mono.git
16 years ago2007-09-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Sep 2007 15:55:48 +0000 (15:55 -0000)]
2007-09-25  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTypeMapping.cs, XmlSerializationWriterInterpreter.cs,
  SerializationCodeGenerator.cs :
  More XmlSchemaProviderAttribute method check. Use QName returned
  by the method for the output root name.

* XmlSerializerTests.cs, XmlReflectionImporterTests.cs :
  added tests for XmlSchemaProviderAttribute and how its qname works.

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

16 years ago2007-09-25 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 25 Sep 2007 15:34:04 +0000 (15:34 -0000)]
2007-09-25  Dick Porter  <dick@ximian.com>

* ThreadTest.cs: Enable GetHashCodeTest

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

16 years ago2007-09-25 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 25 Sep 2007 15:28:09 +0000 (15:28 -0000)]
2007-09-25  Dick Porter  <dick@ximian.com>

* Thread.cs: Keep ManagedThreadId constant over the lifetime of a
Thread.  Patch from jlarimer@gmail.com fixing bugs 325367 and
325566.

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

16 years ago2007-09-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Sep 2007 15:25:09 +0000 (15:25 -0000)]
2007-09-25  Zoltan Varga  <vargaz@gmail.com>

* PropertyInfoTest.cs: Add test for calling ReflectedType on accessors.

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

16 years ago2007-09-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Sep 2007 15:24:21 +0000 (15:24 -0000)]
2007-09-25  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_get_property_info): Set the reflected type of the
accessors correctly.

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

16 years agoMore tests.
Marek Safar [Tue, 25 Sep 2007 15:14:04 +0000 (15:14 -0000)]
More tests.

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

16 years agoNew tests.
Marek Safar [Tue, 25 Sep 2007 15:13:47 +0000 (15:13 -0000)]
New tests.

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

16 years ago2007-09-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 25 Sep 2007 15:13:10 +0000 (15:13 -0000)]
2007-09-25  Marek Safar  <marek.safar@gmail.com>

* expression.cs (ArrayCreation): Fixed cloning of an implicit types.

* statement.cs (Block): Refactored AddVariable to allow error handling
customization.

* generic.cs: New stub.

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

16 years ago2007-09-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 25 Sep 2007 15:11:55 +0000 (15:11 -0000)]
2007-09-25  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Use only one block per query expression.

* generics.cs (GenericMethod.Define): Moved local variables collision
check to Block.

* linq.cs: Introduced QueryBlock and removed all blocks from query
clauses.

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

16 years ago2007-09-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 25 Sep 2007 14:38:37 +0000 (14:38 -0000)]
2007-09-25  Jonathan Pobst  <monkey@jpobst.com>

* SynchronizationContext.cs: Implement SetSynchronizationContext.

2007-09-25  Jonathan Pobst  <monkey@jpobst.com>

* AsyncOperationManager.cs: Tie the SynchronizationContext here to
SynchronizationContext.Current.

2007-09-25  Jonathan Pobst  <monkey@jpobst.com>

* AsyncOperationManagerTest.cs: Add test for SynchronizationContext.

2007-09-25  Jonathan Pobst  <monkey@jpobst.com>

* System_test.dll.sources: Added AsyncOperationManagerTest.cs.

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

16 years agocorrect WriteAttributeString while writing xml with XmlWriteMode.WriteSchema
Konstantin Triger [Tue, 25 Sep 2007 14:31:17 +0000 (14:31 -0000)]
correct WriteAttributeString while writing xml with XmlWriteMode.WriteSchema

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

16 years agounconfuse emacs font-lock
Raja R Harinath [Tue, 25 Sep 2007 13:41:26 +0000 (13:41 -0000)]
unconfuse emacs font-lock

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

16 years agoTest case for bug#325444.
Paolo Molaro [Tue, 25 Sep 2007 13:11:35 +0000 (13:11 -0000)]
Test case for bug#325444.

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

16 years agoTue Sep 25 14:56:03 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 25 Sep 2007 12:46:48 +0000 (12:46 -0000)]
Tue Sep 25 14:56:03 CEST 2007 Paolo Molaro <lupus@ximian.com>

* threads.c: support OSX and other systems in
mono_thread_get_stack_bounds (bug #328026).

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

16 years agowrong namespace name in previous commit
Marek Habersack [Tue, 25 Sep 2007 12:25:07 +0000 (12:25 -0000)]
wrong namespace name in previous commit

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

16 years ago2007-09-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 25 Sep 2007 12:20:09 +0000 (12:20 -0000)]
2007-09-25  Marek Habersack  <mhabersack@novell.com>

        * DummyClass.cs: added to have System.Web.UI.Design.Util present in the
        assembly. AJAX Control Toolkit references the namespace and it's
        apparently empty (at least no docs on MSDN).

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

16 years ago2007-09-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Sep 2007 11:22:13 +0000 (11:22 -0000)]
2007-09-25  Martin Baulig  <martin@ximian.com>

* mono-debug.h
(MonoDebugVarInfo): Replace `MonoClass *klass' with `MonoType *type'.

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

16 years agoReadWriteXmlTest - New Tests - for Read/WriteXml API tests.
Veerapuram Varadhan [Tue, 25 Sep 2007 11:17:43 +0000 (11:17 -0000)]
ReadWriteXmlTest - New Tests - for Read/WriteXml API tests.

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

16 years agoChangeLog for the previous commit.
Veerapuram Varadhan [Tue, 25 Sep 2007 11:12:32 +0000 (11:12 -0000)]
ChangeLog for the previous commit.

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

16 years agoReadXml, WriteXml - API implementation
Veerapuram Varadhan [Tue, 25 Sep 2007 11:09:37 +0000 (11:09 -0000)]
ReadXml, WriteXml - API implementation

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

16 years ago2007-09-25 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 25 Sep 2007 09:20:36 +0000 (09:20 -0000)]
2007-09-25  Nagappan A  <anagappan@novell.com>

        * Tds.cs (Pooling): Added new property to get the internal
        connection pooling list.

        * ITds.cs (Pooling): Added new property to get the internal
        connection pooling list.

        * TdsConnectionPool.cs (ResetConnectionPool, GetConnectionPool)
        (ReleaseConnection): Added new methods to clear connection pool.

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

16 years ago2007-09-25 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 25 Sep 2007 07:20:59 +0000 (07:20 -0000)]
2007-09-25  Nagappan A  <anagappan@novell.com>

* SqlMoney.cs (implicit, explicit): Implemented missing APIs.

* SqlBytes.cs (implicit, explicit): Implemented missing APIs.

* SqlBinary.cs: 2.0 attribute fixes.

* SqlAlreadyFilledException.cs: 2.0 attribute fixes.

* SqlBoolean.cs: 2.0 attribute fixes.

* SqlByte.cs: 2.0 attribute fixes.

* SqlXml.cs: 2.0 attribute fixes.

* SqlChars.cs (implicit, explicit): Implemented missing APIs.

* SqlDecimal.cs (implicit, explicit): Implemented missing APIs.

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

16 years ago2007-09-25 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 25 Sep 2007 07:15:03 +0000 (07:15 -0000)]
2007-09-25  Nagappan A  <anagappan@novell.com>

* OdbcParameter.cs (ResetOdbcType, ResetDbType): Implemented
missing methods. 2.0 attribute fixes.

* OdbcInfoMessageEventArgs.cs (Message, Errors, ToString):
Implemented missing properties and methods. 2.0 attribute fixes.

* OdbcConnection.cs (InfoMessage): Added public event and relevant
private APIs. 2.0 attribute fixes.

* OdbcConnectionStringBuilder.cs: 2.0 attribute fixes.

* OdbcParameterCollection.cs (GetParameter, SetParameter):
Implemented missing 2.0 APIs and 2.0 attribute fixes.

* OdbcDataReader.cs (finalize): 2.0 compatibility fixes.

* OdbcPermission.cs (Add): 2.0 compatibility fixes.

* OdbcCommandBuilder.cs: 2.0 attribute fixes.

* OdbcRowUpdatingEventArgs.cs (BaseCommand): Added 2.0 property.

* OdbcCommand.cs: 2.0 attribute fixes.

* OdbcException.cs: 2.0 attribute fixes.

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

16 years ago2007-09-25 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 25 Sep 2007 06:40:29 +0000 (06:40 -0000)]
2007-09-25  Nagappan A  <anagappan@novell.com>

* OleDbConnection.cs: 2.0 attribute changes.

* OleDbException.cs: 2.0 attribute changes.

* OleDbDataReader.cs: 2.0 attribute changes.

* OleDbCommandBuilder.cs: 2.0 attribute changes.

* OleDbParameter.cs: 2.0 attribute changes.

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

16 years ago2007-09-25 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 25 Sep 2007 06:37:24 +0000 (06:37 -0000)]
2007-09-25  Nagappan A  <anagappan@novell.com>

* SqlInitialCatalogConverter.cs, SqlDataSourceConverter.cs:
NetworkLibraryConverter.cs: Added new files.

* SqlParameter.cs: 2.0 attribute changes.

* SqlDataAdapter.cs: 2.0 attribute changes.

* SqlConnectionStringBuilder.cs: 2.0 attribute changes.

* SqlConnection.cs (ClearAllPools, ClearPool): Implemented 2.0
APIs, other 2.0 attribute changes.

* SqlCommandBuilder.cs (GetSchemaTable, InitializeCommand):
Implemented 2.0 APIs, other 2.0 attribute changes.

* SqlBulkCopyColumnMappingCollection.cs: Added constructor, 2.0
API compatibility changes.

* SqlException.cs: 2.0 attribute changes.

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

16 years ago2007-09-25 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 25 Sep 2007 05:23:45 +0000 (05:23 -0000)]
2007-09-25  Nagappan A  <anagappan@novell.com>

* DbConnection.cs: 2.0 attribute fixes.

* DataColumnMapping.cs: 2.0 attribute fixes.

* DbParameterCollection.cs: Code alignment.

* DataAdapter.cs: 2.0 attribute fixes.

* DataTableMapping.cs: 2.0 attribute fixes.

* RowUpdatingEventArgs.cs (BaseCommand): Code alignment.

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

16 years ago2007-09-25 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 25 Sep 2007 05:06:38 +0000 (05:06 -0000)]
2007-09-25  Nagappan A  <anagappan@novell.com>

* DataTable.cs: Code alignment.

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

16 years ago2007-09-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 25 Sep 2007 00:22:04 +0000 (00:22 -0000)]
2007-09-25  Marek Habersack  <mhabersack@novell.com>

* WebControl.cs: added an internal method, BuildScriptAttribute,
which merges the specified JavaScript code in an attribute, with
the value of that attribute specified by the user.

* CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
preserve user-specified attribute value, if present.

* ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
after doing its job. AutoPostBack handling makes sure to preserve
user-specified attribute value, if present. Fixes bug #327816.

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

16 years ago2007-09-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 24 Sep 2007 22:18:18 +0000 (22:18 -0000)]
2007-09-25  Marek Habersack  <mhabersack@novell.com>

* WebServiceHandlerFactory.cs: WebServiceParser.GetCompiledType
must be passed a virtual path, not physical one. Fixes bug
#327809.

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

16 years ago2007-09-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 Sep 2007 16:09:52 +0000 (16:09 -0000)]
2007-09-24  Martin Baulig  <martin@ximian.com>

* mono-debug.h
(MonoDebugClassEntry): Moved the definition of this struct into
mono-debug.c to make it private.

* mono-debug.c
(MonoDebugClassEntry): Removed `symfile_id'; since we now use one
type table per symbol file, we don't need to store the symfile id
any longer.

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

16 years agoSmall fix.
Martin Baulig [Mon, 24 Sep 2007 16:00:14 +0000 (16:00 -0000)]
Small fix.

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

16 years ago2007-09-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 Sep 2007 15:23:57 +0000 (15:23 -0000)]
2007-09-24  Martin Baulig  <martin@ximian.com>

Create one type table per symbol file, since a `MonoClass *' gets
invalid when its image is unloaded.

* mono-debug.h (MonoSymbolTable): Removed `type_table'.
(MonoDebugHandle): Added `type_table'.

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

16 years agoMon Sep 24 17:25:43 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 24 Sep 2007 15:23:02 +0000 (15:23 -0000)]
Mon Sep 24 17:25:43 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mempool.c, mempool.h: added mono_mempool_new_size () API
to be able to specify a smaller initial size for the pool.
Adjusted the code to slowly increase pool size before using
the previous default size.
* image.c: use a small initial size for image mempools.

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

16 years agoscripts/Makefile.am:
Wade Berrier [Mon, 24 Sep 2007 15:16:56 +0000 (15:16 -0000)]
scripts/Makefile.am:
-make sure mono-test-install gets distributed in the tarball

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

16 years agoMon Sep 24 17:14:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 24 Sep 2007 15:05:12 +0000 (15:05 -0000)]
Mon Sep 24 17:14:05 CEST 2007 Paolo Molaro <lupus@ximian.com>

* strtod.h, strtod.c: made the code threadsafe, fixed gcc warnings,
renamed exported call and made it properly internal.

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

16 years ago2007-09-24 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 24 Sep 2007 15:00:07 +0000 (15:00 -0000)]
2007-09-24  Ivan N. Zlatev  <contact@i-nz.net>

        * DesignerSerializationManager.cs: fix when SerializationComplete
        is fired.

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

16 years agoDbEnumerator.cs, DbDataRecord.cs: refactoring; DbDataRecord.cs: GetValue() should...
Konstantin Triger [Mon, 24 Sep 2007 14:44:35 +0000 (14:44 -0000)]
DbEnumerator.cs, DbDataRecord.cs: refactoring; DbDataRecord.cs: GetValue() should return null instead of DBNull

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

16 years agoMon Sep 24 16:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 24 Sep 2007 14:06:49 +0000 (14:06 -0000)]
Mon Sep 24 16:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>

* include/private/gc_priv.h: increase the default MAX_HEAP_SECTS
value (bug#314759, bug#324318).

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

16 years agoafter a FullLoad, the symbol reader is not needed anymore
Jb Evain [Mon, 24 Sep 2007 13:41:10 +0000 (13:41 -0000)]
after a FullLoad, the symbol reader is not needed anymore

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

16 years ago2007-09-23 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Sun, 23 Sep 2007 23:07:38 +0000 (23:07 -0000)]
2007-09-23 Andreia Gaita <avidigal@novell.com>

* Added implementation of dialog popups - alert,
alertcheck, confirm, confirmcheck, confirmex, prompt,
promptusernameandpassword, promptpassword, select.
Cleaned up some.

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

16 years agoNew test.
Marek Safar [Sun, 23 Sep 2007 17:05:42 +0000 (17:05 -0000)]
New test.

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

16 years ago2007-09-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 23 Sep 2007 17:05:27 +0000 (17:05 -0000)]
2007-09-23  Marek Safar  <marek.safar@gmail.com>

* generics.cs: Fixed lower-bound type inference issue for constructed
types.

* linq.cs: Implemented nested queries.

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

16 years ago2007-09-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 23 Sep 2007 17:04:16 +0000 (17:04 -0000)]
2007-09-23  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs, codegen.cs: Changed InferReturnType to be EmitContext
flag.

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

16 years ago * DataGridViewTest.cs: Added test for bug #325979. Code formatting.
Gert Driesen [Sun, 23 Sep 2007 15:25:47 +0000 (15:25 -0000)]
 * DataGridViewTest.cs: Added test for bug #325979. Code formatting.

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

16 years ago* DataGridViewCellTest.cs: Code formatting. Removed useless SetUp and
Gert Driesen [Sun, 23 Sep 2007 14:26:39 +0000 (14:26 -0000)]
* DataGridViewCellTest.cs: Code formatting. Removed useless SetUp and
TearDown methods. Removed useless test.
* DataGridViewCellCollectionTest.cs: Added indexer tests.
* DataGridViewCellCollection.cs: Added argument checks for indexers.
Use case-insensitive lookup of column name in indexer. Code
formatting.
* System.Windows.Forms_test.dll.sources: Added
DataGridViewCellCollectionTest.cs.

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

16 years ago2007-09-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Sep 2007 13:26:36 +0000 (13:26 -0000)]
2007-09-23  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_array): Generate valid IL for byref array case.
Fixes ##320990.

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

16 years ago* AssemblyTest.cs: Added test for ManifestModule.
Gert Driesen [Sun, 23 Sep 2007 09:39:35 +0000 (09:39 -0000)]
* AssemblyTest.cs: Added test for ManifestModule.
* AssemblyBuilderTest.cs: Added test for ManifestModule. Added missing
Test attributes. Avoid using ExpectedException, thereby improving lots
of existing tests. Uncomment test that checks max length of dynamic
module name and removed LAMESPEC, since MS implements the described
behavior (but we don't, so mark it NotWorking). Code formatting.
* TypeBuilderTest.cs: Removed unused variables.
* AssemblyBuilder.cs: Added missing paramname to ArgumentExceptions.
Use String.Length to check for zero-length string.

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

16 years ago2007-09-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Sep 2007 23:43:30 +0000 (23:43 -0000)]
2007-09-23  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Assembly_get_ManifestModuleInternal):
Rename this to ves_icall_System_Reflection_Assembly_GetManifestModuleInternal.

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

16 years ago2007-09-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Sep 2007 23:39:01 +0000 (23:39 -0000)]
2007-09-23  Zoltan Varga  <vargaz@gmail.com>

* AssemblyBuilder.cs (GetManifestModule): Return a ModuleBuilder here to
match MS.NET.

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

16 years ago2007-09-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Sep 2007 23:37:08 +0000 (23:37 -0000)]
2007-09-23  Zoltan Varga  <vargaz@gmail.com>

* Assembly.cs (GetManifestModule): New virtual method overridden by
AssemblyBuilder.

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

16 years ago2007-09-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Sep 2007 19:00:21 +0000 (19:00 -0000)]
2007-09-22  Zoltan Varga  <vargaz@gmail.com>

* main.c (dis_property_signature): Remove some calls to mono_metadata_free_type ().

* get.c (get_type): Ditto.

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

16 years ago* DiagnosticsConfigurationHandlerTest.cs: No longer derive from
Gert Driesen [Sat, 22 Sep 2007 17:54:03 +0000 (17:54 -0000)]
* DiagnosticsConfigurationHandlerTest.cs: No longer derive from
deprecated Assertion class. Code formatting. On 2.0 profile, allow
non-integral values for switches.
* BooleanSwitch.cs: Use base ctor for default value.
* Switch.cs: On 2.0 profile, store default value and use it if no
value is set in config file.
* SourceSwitch.cs: Use null to signal that there's no default value.

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

16 years ago* DeflateStreamTest.cs: Improved CanRead, CanSeek and CanWrite tests.
Gert Driesen [Sat, 22 Sep 2007 16:50:02 +0000 (16:50 -0000)]
* DeflateStreamTest.cs: Improved CanRead, CanSeek and CanWrite tests.
Added test for bug #327480. Code formatting.
* GzipStreamTest.cs: Improved CanRead, CanSeek and CanWrite tests.
Code formatting.
* DeflateStream.cs: Avoid double free. Fixes bug #327480.

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

16 years ago* Socket.cs: Removed unused method.
Gert Driesen [Sat, 22 Sep 2007 16:49:17 +0000 (16:49 -0000)]
* Socket.cs: Removed unused method.

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

16 years ago2007-09-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 22 Sep 2007 16:12:25 +0000 (16:12 -0000)]
2007-09-22 Rodrigo Kumpera  <rkumpera@novell.com>

* bug-327438.2.il: added

* Makefile.am: added bug-327438.2.il

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

16 years ago* TypeBuilder.cs: Added test for bug #327484. Split up and improved
Gert Driesen [Sat, 22 Sep 2007 15:46:38 +0000 (15:46 -0000)]
* TypeBuilder.cs: Added test for bug #327484. Split up and improved
TestGetProperties(Flags)Incomplete and TestGetMethods(Flags)Incomplete
ests. Improved TestGetMethodsComplete test.
* TypeBuilder.cs: Do not include static methods of base class in
GetMethod(s). Fixes bug #327482.

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

16 years ago2007-09-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Sep 2007 14:00:51 +0000 (14:00 -0000)]
2007-09-22  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (mono_type_create_from_typespec): Remove an invalid
free. Fixes #327438.

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

16 years ago2007-09-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 22 Sep 2007 00:15:25 +0000 (00:15 -0000)]
2007-09-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeNode.cs: When collapsing or expanding a node, check whether its
change will affect the visible area (we were previously doing a
IsVisible check, but that check is not enough since children nodes
could be still visible). Fixes part of #325266.

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

16 years ago2007-09-21 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 21 Sep 2007 19:44:10 +0000 (19:44 -0000)]
2007-09-21  Robert Jordan  <robertj@gmx.net>

* assemblyresolve/Makefile.am: remove the superfluous --security
flag.

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

16 years ago2007-09-21 Justin Cherniak <justin.cherniak@gmail.com>
Justin Cherniak [Fri, 21 Sep 2007 19:20:06 +0000 (19:20 -0000)]
2007-09-21  Justin Cherniak <justin.cherniak@gmail.com>

* SWF2k5.csproj: Fixed missing file.

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

16 years ago* metadata.c (type_in_image) <MONO_TYPE_SZARRAY>: Handle arrays of
Raja R Harinath [Fri, 21 Sep 2007 18:25:37 +0000 (18:25 -0000)]
* metadata.c (type_in_image) <MONO_TYPE_SZARRAY>: Handle arrays of
generic instantiations, etc.
<MONO_TYPE_ARRAY>: Likewise.

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

16 years ago2007-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 21 Sep 2007 18:21:00 +0000 (18:21 -0000)]
2007-09-21  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MonoSymbolFilePriv, MonoDebugHandlePriv): Removed;
these structs were never defined.
(MonoDebugHandle): Removed the `_priv' field, it was never used.

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

16 years ago2007-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 21 Sep 2007 17:56:08 +0000 (17:56 -0000)]
2007-09-21  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MonoDebugVarInfo): Add `MonoClass *klass'.

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

16 years agoMore tests, disabled a cast test
Marek Safar [Fri, 21 Sep 2007 16:44:19 +0000 (16:44 -0000)]
More tests, disabled a cast test

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

16 years ago2007-09-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 21 Sep 2007 16:43:16 +0000 (16:43 -0000)]
2007-09-21  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Query expression block are not related to each other.

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

16 years ago2007-09-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 21 Sep 2007 15:50:02 +0000 (15:50 -0000)]
2007-09-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Always select the first node when the TreeView gets
focus if there is no currently selected node.
[Fixes bug #324279]

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

16 years ago2007-09-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 21 Sep 2007 14:57:28 +0000 (14:57 -0000)]
2007-09-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Do not raise BeforeSelect or AfterSelect when the
node being selected is null.
[Patch from Yves Bastide fixes bug #326858]

2007-09-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeViewTest.cs: Add test for bug #326858.

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

16 years agoFlush local change.
Gert Driesen [Fri, 21 Sep 2007 13:14:44 +0000 (13:14 -0000)]
Flush local change.

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

16 years ago* MemoryStreamTest.cs: Added test for bug #327053.
Gert Driesen [Fri, 21 Sep 2007 13:04:49 +0000 (13:04 -0000)]
* MemoryStreamTest.cs: Added test for bug #327053.

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

16 years ago* DiagnosticsConfigurationHandler.cs: Rename ValidateIntegralValue
Gert Driesen [Fri, 21 Sep 2007 12:37:04 +0000 (12:37 -0000)]
* DiagnosticsConfigurationHandler.cs: Rename ValidateIntegralValue
to GetSwitchValue. On 2.0 profile, leave the type conversion to
Switch implementations. Minor corrections to exception messages to
match MS.
* Switch.cs: Avoid unnecessary inits. On 2.0 profile, catch and
rethrow exceptions in setter for Value. Do not hide exceptions thrown
in GetConfigFileSetting. Only set value from config file if switch is
actually defined.
* SourceSwitch.cs: Use SwitchSetting for getting/storing value instead
of new field. In OnValueChanged, parse enum value.
* TraceSwitch.cs: If SwitchSetting is changed to value > 4, then set
it to Verbose. In OnValueChanged, parse value case-insensitively, and
assign it to SwitchSetting (to allow other integral values).

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

16 years agoFri Sep 21 14:39:45 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 21 Sep 2007 12:31:51 +0000 (12:31 -0000)]
Fri Sep 21 14:39:45 CEST 2007 Paolo Molaro <lupus@ximian.com>

* image.c: removed the guid hash tables: we can get the same info
without the additional memory usage hit (partially fixes also bug #327052).

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

16 years agocleaning
Jb Evain [Fri, 21 Sep 2007 11:34:06 +0000 (11:34 -0000)]
cleaning

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

16 years ago* Enum.cs: Use regular single quotes in exception message.
Gert Driesen [Fri, 21 Sep 2007 10:21:27 +0000 (10:21 -0000)]
* Enum.cs: Use regular single quotes in exception message.

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

16 years ago2007-09-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 21 Sep 2007 09:58:53 +0000 (09:58 -0000)]
2007-09-21  Atsushi Enomoto  <atsushi@ximian.com>

* GenericOutputter.cs : fixed possible conflict for auto-filled
  attribute prefixes. Fixed bug #325482.

* XslTransformTests.cs : added test for bug #325482.

* 325482.xml, 325482.xsl : new test files.

* Makefile : extra distfiles (325482.xml / 325482.xsl).

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

16 years ago* Makefile (PROFILES): Remove 'atomic' profiles.
Raja R Harinath [Fri, 21 Sep 2007 09:38:21 +0000 (09:38 -0000)]
* Makefile (PROFILES): Remove 'atomic' profiles.
* profiles/atomic.make, profiles/bootstrap.make: Remove.

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

16 years ago2007-09-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 21 Sep 2007 09:19:42 +0000 (09:19 -0000)]
2007-09-21  Atsushi Enomoto  <atsushi@ximian.com>

* AccessRule.cs AceEnumerator.cs AuditRule.cs AuthorizationRule.cs
  AuthorizationRuleCollection.cs CommonAce.cs CommonAcl.cs
  CommonObjectSecurity.cs CompoundAce.cs CryptoKeyAccessRule.cs
  CryptoKeyAuditRule.cs CryptoKeySecurity.cs CustomAce.cs
  DirectoryObjectSecurity.cs DirectorySecurity.cs
  DiscretionaryAcl.cs EventWaitHandleAccessRule.cs
  EventWaitHandleAuditRule.cs EventWaitHandleSecurity.cs
  FileSecurity.cs FileSystemAccessRule.cs FileSystemAuditRule.cs
  FileSystemSecurity.cs GenericAce.cs GenericAcl.cs KnownAce.cs
  MutexAccessRule.cs MutexAuditRule.cs MutexSecurity.cs
  NativeObjectSecurity.cs ObjectAccessRule.cs ObjectAce.cs
  ObjectAuditRule.cs ObjectSecurity.cs QualifiedAce.cs
  RawAcl.cs RegistryAccessRule.cs RegistryAuditRule.cs
  RegistrySecurity.cs SystemAcl.cs :
  they are not still functional, but being implemented.

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

16 years ago2007-09-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 21 Sep 2007 09:08:39 +0000 (09:08 -0000)]
2007-09-21  Marek Safar  <marek.safar@gmail.com>

* compiler-tester.cs: Mono assembly loading issue has been fixed, switch
to app-domain execution only.

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

16 years agoadd ltest-11.cs to known-issues-gmcs
Raja R Harinath [Fri, 21 Sep 2007 08:41:30 +0000 (08:41 -0000)]
add ltest-11.cs to known-issues-gmcs

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

16 years agoinstall
Miguel de Icaza [Fri, 21 Sep 2007 02:59:34 +0000 (02:59 -0000)]
install

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

16 years agoAdd test script
Miguel de Icaza [Fri, 21 Sep 2007 02:57:56 +0000 (02:57 -0000)]
Add test script

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

16 years ago2007-09-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 21 Sep 2007 00:15:09 +0000 (00:15 -0000)]
2007-09-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeNode.cs: Add an internal ArePreviousNodesExpanded, to know
whether all the parent nodes are expanded.
* TreeNodeCollection.cs: When adding a new node an calling SetupNode,
call RecalculateVisibleOrder if all previous nodes are expanded.
Before that we were doing a IsVisible check, but sometimes the node
is not in the visible area, but _should_already be ready, because of
all previous nodes are expanded. Fixes #325259.

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

16 years ago2007-09-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 20 Sep 2007 23:13:27 +0000 (23:13 -0000)]
2007-09-21  Marek Habersack  <mhabersack@novell.com>

            * TemplateControlCompiler.cs: if we're running on a platform with
            the directory separator character that's different to the Unix
            style '/' one, convert the input file path to the virtual path
            style string, with path parts separated by '/'. Patch from Robert
            Jordan <robertj@gmx.net>, thanks! Fixes bug #324229.

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

16 years agoformatting
Marek Habersack [Thu, 20 Sep 2007 22:59:03 +0000 (22:59 -0000)]
formatting

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

16 years ago2007-09-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 20 Sep 2007 22:49:53 +0000 (22:49 -0000)]
2007-09-21  Marek Habersack  <mhabersack@novell.com>

            * ListItem.cs: don't save StateBag in the control state - the
            class is not serializable and therefore ObjectStateFormatter
            cannot convert it. Instead have the sb object save its own state
            and store the returned value. Fixes bug #326288.

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

16 years ago * profiler.h, profiler-private.h, profiler.c: add a new profiler
Massimiliano Mantione [Thu, 20 Sep 2007 20:19:03 +0000 (20:19 -0000)]
* profiler.h, profiler-private.h, profiler.c: add a new profiler
event to handle unloading methods. After the event is called, the
corresponding MonoMethod* must be considered invalid.
* loader.c (mono_free_method): call the new mono_profiler_method_free
event.

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

16 years ago2007-09-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 19:33:12 +0000 (19:33 -0000)]
2007-09-20  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripSplitButton.cs: Call the ButtonClick event if the button
portion of the item is clicked.

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

16 years ago2007-09-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 18:55:50 +0000 (18:55 -0000)]
2007-09-20  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePickerTest.cs: Make DateTimeMinDate 2.0 only.

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

16 years agoremove debug code
Marek Habersack [Thu, 20 Sep 2007 18:08:19 +0000 (18:08 -0000)]
remove debug code

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

16 years ago2007-09-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 20 Sep 2007 18:01:19 +0000 (18:01 -0000)]
2007-09-20  Marek Habersack  <mhabersack@novell.com>

            * LoginView.cs: implemented RoleGroups support. Fixes bug
            #324633.

2007-09-20  Marek Habersack  <mhabersack@novell.com>

            * TemplateControlCompiler.cs: if a member passed to
            GetExpressionFromString has a TypeConverter attribute set, try to
            use the named type converter to convert the string value into the
            target type. Fixes bug #325489.

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

16 years ago2007-09-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 16:28:43 +0000 (16:28 -0000)]
2007-09-20  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Do not tell the system to move the cursor if the
textbox isn't focused.  Fixes part of bug #322668.

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

16 years ago2007-09-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 16:13:12 +0000 (16:13 -0000)]
2007-09-20  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: When there are no items, do not show the dropdown if
the down arrow is clicked.  Fixes part of bug #322668.

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

16 years ago2007-09-20 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 20 Sep 2007 15:36:56 +0000 (15:36 -0000)]
2007-09-20  Mark Probst  <mark.probst@gmail.com>

* mini.c: First generics sharing implementation.  Can only share
in very simple cases.  If sharing doesn't work it falls back to
dedicated compilation.

* mini.h: Flag in MonoCompile to specify whether generic
compilation is shared.  Flags enum for marking which generic inst
of a context is used.  Prototypes for helper functions.

* generic-sharing.c: Helper functions for generic method sharing.

* optflags-def.h: Optimization flag (gshared) for enabling generic
method sharing added.

* Makefile.am: generic-sharing.c added.

2007-09-20  Mark Probst  <mark.probst@gmail.com>

* domain-internals.h: New flag in MonoJitInfo which marks shared
generic methods.  New hash table (shared_generics_hash) in
MonoDomain to keep track of shared generic methods.  Prototypes
for functions to register and lookup shared generic methods.

* domain.c: Support for registering and looking up shared generic
methods via a hash table (shared_generics_hash) in MonoDomain.

* class-internals.h: New exception to signal failure of shared
compilation of a generic method.  New counters for generics
sharing in MonoStats.

2007-09-20  Mark Probst  <mark.probst@gmail.com>

* generics-sharing.2.cs: added

* Makefile.am: added generics-sharing.2.cs

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

16 years ago2007-09-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 14:51:58 +0000 (14:51 -0000)]
2007-09-20  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripComboBox.cs: Manually set the size of this control in the
constructor, as it doesn't seem to be the same as DefaultSize.
Fixes a failing monobuild test.

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

16 years agoThu Sep 20 16:59:36 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 20 Sep 2007 14:50:39 +0000 (14:50 -0000)]
Thu Sep 20 16:59:36 CEST 2007 Paolo Molaro <lupus@ximian.com>

* image.c, metadata-internals.h: don't keep a file descriptor open
for loaded assemblies (bug#325988).

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

16 years ago2007-09-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 01:48:24 +0000 (01:48 -0000)]
2007-09-19  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
change it to DateTimePicker.MinDateTime.  [Fixes bug #326609]

2007-09-19  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePickerTest.cs: Add test for bug #326609.

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

16 years ago2007-09-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 19 Sep 2007 19:41:20 +0000 (19:41 -0000)]
2007-09-19  Jonathan Pobst  <monkey@jpobst.com>

* Theme.cs: FileDialogs should be using DesktopDirectory instead of
Desktop.  This lets it work for people who have moved their desktops
from the default location on windows.  For people who have not, both
values are the same, so it shouldn't hurt anything.  [Fixes bug #325270]

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

16 years ago2007-09-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 19 Sep 2007 19:38:17 +0000 (19:38 -0000)]
2007-09-19  Marek Habersack  <mhabersack@novell.com>

            * assemblyresolve/Makefile.am (prereq): build the assemblies in
            the 'prereq' target instead of in the 'all' one.

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

16 years agoforgot to remove the local change
Marek Habersack [Wed, 19 Sep 2007 19:13:26 +0000 (19:13 -0000)]
forgot to remove the local change

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

16 years ago2007-09-19 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Wed, 19 Sep 2007 18:59:18 +0000 (18:59 -0000)]
2007-09-19 Daniel Nauck <dna@mono-project.de>

        * mini.c (mono_thread_abort): fixed typo in r86014. It should be '==' instead of '!='.

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

16 years ago2007-09-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 19 Sep 2007 18:49:51 +0000 (18:49 -0000)]
2007-09-19  Marek Habersack  <mhabersack@novell.com>

            * Makefile.am: assemblyresolve/ assemblies are built only when the
            make test is ran.

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