mono.git
16 years ago* TimerTest.cs (TestHeavyCreationLoad): Don't shadow a variable name.
Raja R Harinath [Fri, 19 Oct 2007 19:25:58 +0000 (19:25 -0000)]
* TimerTest.cs (TestHeavyCreationLoad): Don't shadow a variable name.

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

16 years ago2007-10-19 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 19 Oct 2007 18:17:33 +0000 (18:17 -0000)]
2007-10-19  Robert Jordan  <robertj@gmx.net>

* mkbundle.cs (Execute): [Windows] since recently (?) cygwin's bash
doesn't strip CRLFs from ``-style command interpolation anymore.
The superfluous CRLF was breaking the gcc command line.

* mkbundle.cs (Execute): [Windows] set UseShellExecute = false to
prevent the creation of a new console windows.

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

16 years ago* DbTransactionTest.cs: Enabled test for bug #325397.
Gert Driesen [Fri, 19 Oct 2007 17:15:32 +0000 (17:15 -0000)]
* DbTransactionTest.cs: Enabled test for bug #325397.

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

16 years ago* OdbcTransaction.cs: Clear connection in Commit and Rollback.
Gert Driesen [Fri, 19 Oct 2007 17:12:55 +0000 (17:12 -0000)]
* OdbcTransaction.cs: Clear connection in Commit and Rollback.
In IsolationLevel, throw IOE if transaction is no longer open.
* SqlTransaction.cs: Clear connection in commit. In IsolationLevel,
throw IOE if transaction is no longer open.
* OleDbTransaction.cs: Clear connection in Commit and Rollback. In
IsolationLevel and Begin overloads, throw IOE if transaction is no
longer open.

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

16 years ago* DbTransaction.cs: Do not perform a rollback in Dispose (bool).
Gert Driesen [Fri, 19 Oct 2007 16:04:39 +0000 (16:04 -0000)]
* DbTransaction.cs: Do not perform a rollback in Dispose (bool).
Leaves it up to deriving classes to override Dispose (bool) and
perform a rollback if necessary. Fixes bug #325397. Code formatting.
* ExceptionHelper.cs: Added TransactionNotUsable method that constructs
an InvalidOperationException to be thrown by IDbTransaction
implementations when the transaction is no longer open.
* OdbcTransaction.cs: Keep state of the transaction, and update it
when performing commit or rollback. In Dispose (bool), only perform
a rollback if transaction was not committed or rollback before.
In Commit and Rollback, throw an InvalidOperationException if
transaction is no longer open.
* SqlTransaction.cs: Avoid unnecessary initialization. Remove
isRolledBack since its essentially the same as isOpen. Use
ExceptionHelper.TransactionNotUsable instead of duplicating code.
On 2.0 profile, ignore call to Rollback when transaction was already
disposed.
* OleDbTransaction.cs: Keep track of whether transaction is open and
whether it's disposed. In Commit an Rollback, throw an IOE if the
transaction is no longer open. In Dispose (bool), perform a rollback
if the transaction is still open.

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

16 years agoMore time-dependent fixing.
Paolo Molaro [Fri, 19 Oct 2007 15:59:13 +0000 (15:59 -0000)]
More time-dependent fixing.

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

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

* TextControl.cs: Clean up and document the Insert function.

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

16 years ago* OdbcTransaction.cs: Use OdbcIsolationLevel enum value instead of
Gert Driesen [Fri, 19 Oct 2007 13:36:40 +0000 (13:36 -0000)]
* OdbcTransaction.cs: Use OdbcIsolationLevel enum value instead of
magic numbers. For Snapshot isolation level, the attribute
SQL_COPT_SS_TXN_ISOLATION must be used instead. When isolation level
is Unspecified, then do not modify the isolation level at all and
lazy initlization the IsolationLevel property. Modified exceptions
for invalid / not supported isolation levels to match MS.
* libodbc.cs: Added attribute for changing SQL Server specific
connection option. Added enum for ODBC isolation level options.
Added SQLGetConnectAttr method.

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

16 years ago2007-10-19 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 19 Oct 2007 13:18:01 +0000 (13:18 -0000)]
2007-10-19  Dick Porter  <dick@ximian.com>

* ThreadTest.cs: Re-enable ManagedThreadId test too

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

16 years ago2007-10-19 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 19 Oct 2007 13:15:05 +0000 (13:15 -0000)]
2007-10-19  Dick Porter  <dick@ximian.com>

* ThreadTest.cs: Re-enable GetHashCodeTest

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

16 years ago2007-10-19 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 19 Oct 2007 11:50:27 +0000 (11:50 -0000)]
2007-10-19  Nagappan A  <anagappan@novell.com>

* OdbcDataReaderTest.cs (Bug332404Test): Bug 332404 - ODBC and
  numeric columns. Thanks to Ernesto Carrea <equistango@gmail.com>
  for the patch and the test case.
  Fixed compilation issues in Bug332400Test method.

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

16 years ago2007-10-19 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 19 Oct 2007 11:49:41 +0000 (11:49 -0000)]
2007-10-19  Nagappan A  <anagappan@novell.com>

* SqlCommandBuilderTest.cs: Fixed compilation warnings.

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

16 years ago2007-10-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 19 Oct 2007 09:34:40 +0000 (09:34 -0000)]
2007-10-19  Marek Habersack  <mhabersack@novell.com>

* Makefile: include consts.cs.in in the dist tarball.
Extra distribution files should be named in EXTRA_DISTFILES.

2007-10-19  Marek Habersack  <mhabersack@novell.com>

* Makefile: fix the buildbot build - mconfig should be
listed also in DIST_ONLY_SUBDIRS

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

16 years agoSet eol-style to native.
Gert Driesen [Fri, 19 Oct 2007 09:09:42 +0000 (09:09 -0000)]
Set eol-style to native.

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

16 years ago* libodbc.cs: Spaces to tabs. Code formatting.
Gert Driesen [Fri, 19 Oct 2007 09:06:25 +0000 (09:06 -0000)]
* libodbc.cs: Spaces to tabs. Code formatting.
* OdbcConnection.cs: Spaces to tabs. Code formatting.
* OdbcTransaction.cs: Code formatting.

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

16 years ago2007-10-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Oct 2007 07:25:50 +0000 (07:25 -0000)]
2007-10-19  Atsushi Enomoto  <atsushi@ximian.com>

* AlternateView.cs, AttachmentView.cs, AttachmentBase.cs :
  reverted default back to TransferEncoding.Base64 again, and use
  QuotedPrintable only when created from string.
  No need to check null Stream at AlternateView.ctor(). See base.
* SmtpClient.cs : For multipart message, do not send body twice (it
  still emits extraneous part, which should be fixed too).
  Do not premise charset existence in every AttachmentBase.

* AlternateViewTest.cs : default TransferEncoding value is more
  complicated.

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

16 years ago* OleDbCommandBuilder.cs: Implemented ApplyParameterInfo, Dispose,
Nagappan Alagappan [Fri, 19 Oct 2007 05:37:24 +0000 (05:37 -0000)]
* OleDbCommandBuilder.cs: Implemented ApplyParameterInfo, Dispose,
  GetParameterName, GetParameterPlaceholder, RefreshSchema methods.

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

16 years ago2007-10-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Oct 2007 05:36:00 +0000 (05:36 -0000)]
2007-10-19  Atsushi Enomoto <atsushi@ximian.com>

* SubtreeXmlReader.cs : when a subtree reader is closed, the original
  reader moves to the end of the subtree. Fixed bug #334752, patch by
  Scott Peterson.

* XmlReaderCommonTests.cs : added test for bug #334752.

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

16 years ago* OleDbCommand.cs: Implemented Clone, Dispose methods.
Nagappan Alagappan [Fri, 19 Oct 2007 05:32:09 +0000 (05:32 -0000)]
* OleDbCommand.cs: Implemented Clone, Dispose methods.
  Implemented CreateDbParameter, DbConnection, DbParameterCollection,
  DbTransaction, ExecuteDbDataReader properties.

* OleDbParameterCollection.cs: Fixed 1.0 API compatibility.

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

16 years ago* OdbcCommandBuilder.cs, OdbcParameterCollection.cs: Code alignment.
Nagappan Alagappan [Fri, 19 Oct 2007 05:24:09 +0000 (05:24 -0000)]
* OdbcCommandBuilder.cs, OdbcParameterCollection.cs: Code alignment.
* OdbcDataReader.cs: Fixes numeric columns, bug # 332404.

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

16 years ago* OdbcCommand.cs (Clone): Implemented new method. Code alignment.
Nagappan Alagappan [Fri, 19 Oct 2007 05:05:16 +0000 (05:05 -0000)]
* OdbcCommand.cs (Clone): Implemented new method. Code alignment.

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

16 years ago* DataRelation.cs: Removed bogus TODO.
Nagappan Alagappan [Fri, 19 Oct 2007 05:03:23 +0000 (05:03 -0000)]
* DataRelation.cs: Removed bogus TODO.

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

16 years ago2007-10-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 19 Oct 2007 00:52:04 +0000 (00:52 -0000)]
2007-10-19  Marek Habersack  <mhabersack@novell.com>

* Makefile (DISTFILES): added

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

16 years ago2007-10-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 19 Oct 2007 00:47:09 +0000 (00:47 -0000)]
2007-10-19  Marek Habersack  <mhabersack@novell.com>

* scripts/Makefile.am (scripts_2_0): added mconfig to the list

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

16 years ago2007-10-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 19 Oct 2007 00:45:57 +0000 (00:45 -0000)]
2007-10-19  Marek Habersack  <mhabersack@novell.com>

* Makefile (net_2_0_SUBDIRS): added mconfig to the build

2007-10-19  Marek Habersack  <mhabersack@novell.com>

* Initial import of mconfig

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

16 years ago2007-10-18 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 18 Oct 2007 23:25:32 +0000 (23:25 -0000)]
2007-10-18  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/MethodBody.cs: Add an Optimize method which
is the opposite of Simplify. Based on a patch by Carlo.

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

16 years ago2007-10-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 18 Oct 2007 21:13:23 +0000 (21:13 -0000)]
2007-10-18  Zoltan Varga  <vargaz@gmail.com>

* interlocked.cs: Add a test for CompareExchange and negative values.

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

16 years ago2007-10-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 18 Oct 2007 21:10:39 +0000 (21:10 -0000)]
2007-10-18  Zoltan Varga  <vargaz@gmail.com>

* atomic.h (InterlockedCompareExchange): Fix the ia64 version so it works for
negative values too. Hopefully fixes #332700.

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

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

* TextControl.cs: Make sure we know our start point for updating the view
in ReplaceSelection.  Fixes an issue where pasting multiline text wouldn't
update the view.

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

16 years ago2007-10-18 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 18 Oct 2007 20:49:00 +0000 (20:49 -0000)]
2007-10-18  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/CodeWriter.cs: don't care about reducing MaxStack.

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

16 years ago2007-10-18 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Thu, 18 Oct 2007 19:58:39 +0000 (19:58 -0000)]
2007-10-18 Andreia Gaita <avidigal@novell.com>

* use the newly-renamed gluezilla library

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

16 years ago2007-10-17 Jonathan Pobst <monkey@jpobst>
Jonathan Pobst [Thu, 18 Oct 2007 19:55:25 +0000 (19:55 -0000)]
2007-10-17  Jonathan Pobst  <monkey@jpobst>

* ListView: Couple of corcompare fixes.

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

16 years ago2007-10-17 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 18 Oct 2007 19:38:25 +0000 (19:38 -0000)]
2007-10-17  Geoff Norton  <gnorton@novell.com>

    * Graphics.cs: Only synchronize the display on Flush when we actually have
    a CGContext

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

16 years ago2007-10-17 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 18 Oct 2007 19:34:27 +0000 (19:34 -0000)]
2007-10-17  Geoff Norton  <gnorton@novell.com>

    * XplatUIOSX.cs: Implement support for window icons in the dock.  Set
    the title caption of real window.

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

16 years ago2007-10-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 18 Oct 2007 18:26:24 +0000 (18:26 -0000)]
2007-10-17  Jonathan Pobst  <monkey@jpobst.com>

* ErrorProvider.cs: Add the error provider's internal window to a
containercontrol when the parent changes.  [Fixes bug #329714]

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

16 years ago2007-10-17 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 18 Oct 2007 17:26:31 +0000 (17:26 -0000)]
2007-10-17  Geoff Norton  <gnorton@novell.com>

    * XplatUIOSX.cs: Implement ScrollWindow.  Properly create TOOLWINDOWs.
    When we make a new window; restore the old active window - fixes dialogs.

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

16 years ago2007-10-18 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 18 Oct 2007 15:29:44 +0000 (15:29 -0000)]
2007-10-18  Jonathan Chambers <joncham@gmail.com>

* marshal.c: Use correct key when removing item
from ccw_hash.

Code is contributed under MIT/X11 license.

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

16 years ago * SqlConnectionTest.cs: Added tests for BeginTransaction and GetSchema
Gert Driesen [Thu, 18 Oct 2007 14:30:29 +0000 (14:30 -0000)]
 * SqlConnectionTest.cs: Added tests for BeginTransaction and GetSchema
when connection is closed.

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

16 years ago* SqlConnection.cs: Avoid unnecessary initialization. Use string.Empty
Gert Driesen [Thu, 18 Oct 2007 14:21:44 +0000 (14:21 -0000)]
* SqlConnection.cs: Avoid unnecessary initialization. Use string.Empty
for assigning zero-length string, and use String.Length to check for
zero-length string. Added support for IsolationLevel.Snapshot.
Added StructuredTypeMembers schema collection and restrictions. Fixed
table name for MetaDataCollections collection. Implemented
DataSourceInformation collection. Added missing data types (probably
introduced in 2.0 SP1). In GetSchema, throw InvalidOperationException
if connection is closed and throw NotImplementedException for
StructuredTypeMembers collection.

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

16 years ago* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
Raja R Harinath [Thu, 18 Oct 2007 12:27:08 +0000 (12:27 -0000)]
* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
handling for generic parameters.

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

16 years agoremoved #if TARGET_J2EE
Igor Zelmanovich [Thu, 18 Oct 2007 12:01:05 +0000 (12:01 -0000)]
removed #if TARGET_J2EE

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

16 years agoNew test.
Marek Safar [Thu, 18 Oct 2007 11:47:09 +0000 (11:47 -0000)]
New test.

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

16 years agofor #TARGET_J2EE
Igor Zelmanovich [Thu, 18 Oct 2007 09:47:07 +0000 (09:47 -0000)]
for #TARGET_J2EE
not all servers such portal supports partial rendering

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

16 years ago* SqlConnection.cs: On 1.0 profile, IsolationLevel.Unspecified is
Gert Driesen [Thu, 18 Oct 2007 08:36:46 +0000 (08:36 -0000)]
* SqlConnection.cs: On 1.0 profile, IsolationLevel.Unspecified is
not valid. On 2.0 profile, when IsolationLevel.Unspecified is passed
make sure to also set SqlTransaction.IsolationLevel to
ReadCommitted. Modified exceptions to match MS.

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

16 years ago'System.Runtime.Serialization.StreamingContext is a structure and can not be compared...
Noam Lampert [Thu, 18 Oct 2007 08:33:36 +0000 (08:33 -0000)]
'System.Runtime.Serialization.StreamingContext is a structure and can not be compared with null. Fix compilation error

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

16 years agoJava build - build against rt.dll of Java 1.4
Noam Lampert [Thu, 18 Oct 2007 08:32:15 +0000 (08:32 -0000)]
Java build - build against rt.dll of Java 1.4

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

16 years ago2007-10-18 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Thu, 18 Oct 2007 08:06:07 +0000 (08:06 -0000)]
2007-10-18  Juraj Skripsky  <js@hotfeet.ch>

* StaticSiteMapProvider.cs: Replace Hashtables by Dictionaries,
don't allocate them on-demand, there will never be many
Provider instances around.
AddNode(): Check for duplicate keys before adding any item to
hashtables.
RemoveNode(): Use fact that Hashtable.Remove() never throws,
remove item from keyToNode as well, make symmetric to AddNode().
MapUrl(): Use VirtualPathUtility, allow for full urls
(e.g. http://www.google.com).

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

16 years ago2007-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 18 Oct 2007 01:40:59 +0000 (01:40 -0000)]
2007-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* nunit-host-ignore-list: Change host name for DISTRO names.

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

16 years ago2007-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 18 Oct 2007 01:40:15 +0000 (01:40 -0000)]
2007-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* HostIgnoreList.cs: Now use the DISTRO variable to track tests to
ignore.

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

16 years ago2007-10-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 18 Oct 2007 01:39:42 +0000 (01:39 -0000)]
2007-10-18  Marek Habersack  <mhabersack@novell.com>

* Menu.js: a workaround for an IE bug. IE recalculates element's
 offsetWidth when the element's _height_ is set - which in case of
 elements with overflowing content results in a value that's just
 slightly smaller than the client window width. In effect, a long
 submenu will also be very wide, which isn't desirable. Fixes bug
 #322809

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

16 years ago2007-10-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 17 Oct 2007 23:39:08 +0000 (23:39 -0000)]
2007-10-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* PropertyGridView.cs: Look for RefreshPropertiesAttribute
when modifying a property, and if found then invalidate as
requested.
Fixes part of #324865.

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

16 years agoThe fix for bug #325303 is for the 2.0 profile only
Marek Habersack [Wed, 17 Oct 2007 23:04:47 +0000 (23:04 -0000)]
The fix for bug #325303 is for the 2.0 profile only

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

16 years ago2007-10-17 William Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 17 Oct 2007 22:37:21 +0000 (22:37 -0000)]
2007-10-17  William Holmes  <billholmes54@gmail.com>

*marshal.c: Adding a case to marshal booleans to U1

Code is contributed under MIT/X11 license.

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

16 years ago2007-10-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 Oct 2007 21:43:35 +0000 (21:43 -0000)]
2007-10-18  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_from_name): Search the modules compromising dynamic
assemblies. Fixes #331601.

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

16 years ago2007-10-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 17 Oct 2007 21:27:58 +0000 (21:27 -0000)]
2007-10-17  Marek Habersack  <mhabersack@novell.com>

* StaticFileHandler.cs: fixed an bug with Mono running under
Windows operating systems which caused XSP to return source of the
requested page if the file name used in the request ended in any
number of spaces or dots. The problem lies in the way the Win32
subsystem treats such file names - it ignores the trailing
characters and allows the calling application to open a file on
disk even when its name does not contain the trailing characters
used in the open request. Such file names may be supported by the
underlying filesystem (e.g. NTFS) but they are not supported by
the I/O Win32 subsystem. The security issue is reported in
CVE security report CVE-2007-5473. Fixes bug #332401

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

16 years ago2007-10-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 17 Oct 2007 21:17:41 +0000 (21:17 -0000)]
2007-10-17  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: removed code that ignored the Async and
AsyncTimeout attributes.

* PageParser.cs: handle the Async and AsyncTimeout attributes
here. Fixes bug #325450
2007-10-17  Marek Habersack  <mhabersack@novell.com>

* PageCompiler.cs: added code to set the AsyncMode and
AsyncTimeout Page properties.

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

16 years ago2007-10-17 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 17 Oct 2007 20:59:25 +0000 (20:59 -0000)]
2007-10-17  Geoff Norton  <gnorton@novell.com>

* XplatUIOSX.cs: Re-enable the native driver on the Mac.  This is still
highly experimental.  Fixed coordinate translation.  Fixed window locations.
Initial support for clipping. Implemented NC areas and menus.  Support for
launching from command line from Will Johansson (wjohansson@atacomm.com).
* OSXStructs.cs: Add ProcessSerialNumer (Patch from Will Johansson
wjohansson@atacomm.com)
* Hwnd.cs: Add some internal structures for tracking Mac cursors.
Hwnds now track the existence of all of their children for Mac clipping.
* XplatUI.cs: Re-enabled the native driver on the Mac.

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

16 years ago 2007-10-17 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 17 Oct 2007 20:36:36 +0000 (20:36 -0000)]
 2007-10-17  Geoff Norton  <gnorton@novell.com>

    * carbonFunctions.cs: Initial support for clipping children out of the
    CGContext before drawing on it.

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

16 years ago2007-10-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 17 Oct 2007 20:30:31 +0000 (20:30 -0000)]
2007-10-17  Jonathan Pobst  <monkey@jpobst.com>

* Line.cs: Move the InsertString function to here.
* TextControl.cs: Cleanup some duplicate code, move some InsertString
functionality to Line.

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

16 years ago2007-10-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 Oct 2007 19:39:26 +0000 (19:39 -0000)]
2007-10-17  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.h mini-amd64.c: Add support for the common vtable trampoline.

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

16 years agoDo not abuse the MonoTODO attribute
Marek Habersack [Wed, 17 Oct 2007 19:13:40 +0000 (19:13 -0000)]
Do not abuse the MonoTODO attribute

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

16 years ago2007-10-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 Oct 2007 18:56:35 +0000 (18:56 -0000)]
2007-10-17  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg (mini_emit_virtual_call): Fix the computation of ins->inst_offset on
64 bit platforms.

* mini-ia64.h mini-ia64.c: Add support for IMT.

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

16 years agoreturn formAction in AJAX response.
Igor Zelmanovich [Wed, 17 Oct 2007 16:57:58 +0000 (16:57 -0000)]
return formAction in AJAX response.

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

16 years ago2007-10-17 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 17 Oct 2007 16:48:16 +0000 (16:48 -0000)]
2007-10-17  Igor Zelmanovich <igorz@mainsoft.com>

* HttpResponse.cs:
response status is sent after PreSendRequestHeaders invoked.
Redirect method set RedirectLocation property
fixes bug #334521

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

16 years agoUpdate
Miguel de Icaza [Wed, 17 Oct 2007 15:38:54 +0000 (15:38 -0000)]
Update

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

16 years ago2007-10-17 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 17 Oct 2007 14:37:07 +0000 (14:37 -0000)]
2007-10-17  Geoff Norton  <gnorton@novell.com>

* ComboBox.cs: Destroy the popup after hiding it.  Fixes #322582

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

16 years ago2007-10-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Oct 2007 14:30:23 +0000 (14:30 -0000)]
2007-10-17  Atsushi Enomoto  <atsushi@ximian.com>

* AlternateView.cs : dispose linked resources. Remove MonoTODOs.
* Attachment.cs : check null content string.
  The string argument in .ctor(Stream,string) is name, not mediaType.
  Use contentEncoding argument in CreateAttachmentFromString().
* AttachmentBase.cs : TransferEncoding default is QuotedPrintable.

* LinkedResourceTest.cs, AttachmentTest.cs, AlternateViewTest.cs:
  added/enabled couple of attachment tests.

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

16 years ago2007-10-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 17 Oct 2007 13:53:18 +0000 (13:53 -0000)]
2007-10-17  Marek Habersack  <mhabersack@novell.com>

* Control.cs: properly configure control visibility in
PreRenderRecursiveInternal. The check must be made by looking at
the Visible value, not at the flags directly. Fixes bug #325303

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

16 years ago* SqlParameter.cs (ConvertToFrameworkType): Added SqlDbType.Image. Fixes bug # 328398.
Nagappan Alagappan [Wed, 17 Oct 2007 12:50:27 +0000 (12:50 -0000)]
* SqlParameter.cs (ConvertToFrameworkType): Added SqlDbType.Image. Fixes bug # 328398.

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

16 years ago* SqlConnection.cs: BeginTransaction does not handle
Nagappan Alagappan [Wed, 17 Oct 2007 12:32:16 +0000 (12:32 -0000)]
* SqlConnection.cs: BeginTransaction does not handle
  IsolationLevel.Unspecified, so the default is set as ReadCommited.
  Thanks to Jerome Haltom <wasabi@larvalstage.net> for this patch.
  Fixes bug # 333082.
* SqlTransaction.cs: If transaction count is greater then 0 then roll
  back. Thanks to Jerome Haltom <wasabi@larvalstage.net> for this
  patch. Fixes bug # 331953.

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

16 years ago* TdsConnectionPool.cs: Default the pooling is enabled. It has to be
Nagappan Alagappan [Wed, 17 Oct 2007 12:24:44 +0000 (12:24 -0000)]
* TdsConnectionPool.cs: Default the pooling is enabled. It has to be
  disabled only when we clear all the pools.

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

16 years ago2007-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 17 Oct 2007 12:15:53 +0000 (12:15 -0000)]
2007-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* sn.1: Fix help for -T / -t as this shows the public key token
(and not the public key).

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

16 years ago2007-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 17 Oct 2007 12:14:33 +0000 (12:14 -0000)]
2007-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* sn.cs: Fix help for -T / -t as this shows the public key token
(and not the public key). Patch by Andy Hume. Fix bug #334507

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

16 years ago2007-10-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Oct 2007 12:03:41 +0000 (12:03 -0000)]
2007-10-17  Atsushi Enomoto  <atsushi@ximian.com>

* WebServicesSection.cs : r87621 has changed WebConfigurationManager
  to not read web.config, which caused couple of configuration
  regressions. So enable ConfigurationManager again.

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

16 years ago2007-10-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Oct 2007 12:01:59 +0000 (12:01 -0000)]
2007-10-17  Atsushi Enomoto  <atsushi@ximian.com>

* web.config, machine.config: moved webSerices section from former
  to latter.

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

16 years ago2007-10-17 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 17 Oct 2007 11:26:19 +0000 (11:26 -0000)]
2007-10-17  Mark Probst  <mark.probst@gmail.com>

* bug-331798-tb.2.cs: added for Rodrigo

* Makefile.am: added bug-331798-tb.2.cs

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

16 years agoWed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 17 Oct 2007 11:09:04 +0000 (11:09 -0000)]
Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>

* Timer.cs: better cleanup test for the expired array.

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

16 years agoRelax the success criteria for a timing-dependent test.
Paolo Molaro [Wed, 17 Oct 2007 11:06:59 +0000 (11:06 -0000)]
Relax the success criteria for a timing-dependent test.

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

16 years agoFix Java compilation
Noam Lampert [Wed, 17 Oct 2007 10:51:37 +0000 (10:51 -0000)]
Fix Java compilation

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

16 years ago2007-10-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Oct 2007 09:28:54 +0000 (09:28 -0000)]
2007-10-17  Atsushi Enomoto  <atsushi@ximian.com>

* MailMessage.cs : removed MonoTODO. some comment.
* SmtpException.cs, SmtpFailedRecipientsException.cs,
  SmtpFailedRecipientException.cs : implemented serialization.

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

16 years agoRemove redundant file from Java build
Noam Lampert [Wed, 17 Oct 2007 09:04:54 +0000 (09:04 -0000)]
Remove redundant file from Java build

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

16 years agooops.
Gert Driesen [Wed, 17 Oct 2007 08:52:59 +0000 (08:52 -0000)]
oops.

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

16 years ago* cs0177-8.cs: New test based on #325478.
Gert Driesen [Wed, 17 Oct 2007 08:42:42 +0000 (08:42 -0000)]
* cs0177-8.cs: New test based on #325478.

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

16 years agoA slightly more elegant way of dealing with 'item==null' issue
Marek Habersack [Wed, 17 Oct 2007 08:16:44 +0000 (08:16 -0000)]
A slightly more elegant way of dealing with 'item==null' issue

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

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

* SessionInProcHandler.cs: in certain situations the 'item'
parameter passed to SetAndReleaseItemExclusive may be null. The
issue was reported in bug #333898, but the reporter cannot provide
a test case that triggers the issue. Added work around the problem
in the way that should have the least impact on the rest of the
code. If 'item' is null, then the new session item is created
without the items and staticItems collections - they will be
initialized to defaults when retrieving the session item. This is
not a correct fix, but since there is no test case this is the
best what can be done right now.

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

16 years ago* AssemblyTest.cs: Enabled test for bug #334204.
Gert Driesen [Wed, 17 Oct 2007 07:26:49 +0000 (07:26 -0000)]
* AssemblyTest.cs: Enabled test for bug #334204.

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

16 years agoadd new file
Konstantin Triger [Wed, 17 Oct 2007 07:20:31 +0000 (07:20 -0000)]
add new file

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

16 years agoTARGET_JVM: remove extern declaration from compilation
Konstantin Triger [Wed, 17 Oct 2007 07:19:04 +0000 (07:19 -0000)]
TARGET_JVM: remove extern declaration from compilation

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

16 years ago* bug-331958.cs: added.
Gert Driesen [Wed, 17 Oct 2007 07:18:08 +0000 (07:18 -0000)]
* bug-331958.cs: added.
* Makefile.am: added bug-331958.cs.

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

16 years ago2007-10-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 16 Oct 2007 22:34:48 +0000 (22:34 -0000)]
2007-10-17  Marek Habersack  <mhabersack@novell.com>

* ApplicationHost.cs: introduce an application domain data item to
allow checks for whether System.Web code runs inside a hosted
application or in a stand-alone one.
Made the array of web.config name variations an internal one, to
be used from within configuration code.

2007-10-17  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationHost.cs: if running outside hosted environment,
read only the assemblyname.config configuration file instead of
web.config. Fixes bug #332425

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

16 years ago2007-10-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Oct 2007 22:09:03 +0000 (22:09 -0000)]
2007-10-17  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_emit_prolog): Increase the size allocated for the
prolog. Fixes #331958.

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

16 years ago2007-10-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Oct 2007 18:49:00 +0000 (18:49 -0000)]
2007-10-16  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Assembly_InternalGetType): Throw an
exception if the type name contains an assembly component. Fixes #334203.

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

16 years ago2007-10-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Oct 2007 18:31:00 +0000 (18:31 -0000)]
2007-10-16  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_reflection_get_type_with_rootimage): Search all the
modules inside dynamic assemblies. Fixes #334200.

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

16 years ago* DbTransactionTest.cs: Added test for bug #325397.
Gert Driesen [Tue, 16 Oct 2007 18:23:21 +0000 (18:23 -0000)]
* DbTransactionTest.cs: Added test for bug #325397.

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

16 years ago2007-10-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Oct 2007 17:50:14 +0000 (17:50 -0000)]
2007-10-16  Zoltan Varga  <vargaz@gmail.com>

* reflection.c: Set image->public_key and image->public_key_length;

* metadata-internals.h (MonoDynamicImage): Add public_key and public_key_len
fields.

* image.c (mono_image_get_public_key): Handle dynamic assemblies. Fixes #334173.

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

16 years ago2007-10-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 16 Oct 2007 16:52:24 +0000 (16:52 -0000)]
2007-10-16  Jonathan Pobst  <monkey@jpobst.com>

* TableLayout.cs: Revert the last change to TableLayout.  It breaks
other, more important things.

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

16 years ago* ButtonBase.cs: Fixed IsDefault to use assigned value instead of
Gert Driesen [Tue, 16 Oct 2007 16:22:11 +0000 (16:22 -0000)]
* ButtonBase.cs: Fixed IsDefault to use assigned value instead of
always setting value to true.
* Form.cs: When changing AcceptButton, notify new and original button.
* ButtonBaseTest.cs: Added test for IsDefault.
* FormTest.cs: Added test for AcceptButton. Commented out CWLs.

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

16 years ago2007-10-16 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 16 Oct 2007 16:00:47 +0000 (16:00 -0000)]
2007-10-16  Mark Probst  <mark.probst@gmail.com>

* metadata.c: Implemented correct comparing of generic classes.
An inflated generic class can be equal to a non-inflated one if it
is inflated with generic type variables as type arguments.  Fixes
bug #333798.

2007-10-16  Mark Probst  <mark.probst@gmail.com>

* bug-333798.2.cs: added

* Makefile.am: added bug-333798.2.cs

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

16 years agoTue Oct 16 17:22:15 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Oct 2007 15:05:38 +0000 (15:05 -0000)]
Tue Oct 16 17:22:15 CEST 2007 Paolo Molaro <lupus@ximian.com>

* Timer.cs: remove expired timers from the the jobs list.

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

16 years ago* UTF8Encoding.cs: IsMailNewsSave should return true. Fixes bug
Gert Driesen [Tue, 16 Oct 2007 14:48:47 +0000 (14:48 -0000)]
* UTF8Encoding.cs: IsMailNewsSave should return true. Fixes bug
#332515.
* UTF32Encoding.cs: IsBrowserSave returns false for both Big-Endian and
Little-Endian.
* TestEncoding.cs: Also make class available on 1.0 profile.
* EncodingTest.cs: Added tests for Is* properties.
* UTF7EncodingTest.cs: Added tests for Is* properties.
* UnicodeEncodingTest.cs: Added tests for Is* properties. Fixed
line endings.
* UTF8EncodingTest.cs: Added tests for Is* properties. Spaces to
tabs. Numbered tests.
* ASCIIEncodingTest.cs: Added tests for Is* properties. No longer
derive from TestCase class. Spaces to tabs.
* UTF32EncodingTest.cs: Added tests for Is* properties. No longer
derive from deprecated Assertion class.

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