mono.git
17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 18:46:31 +0000 (18:46 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs: Bump corlib version.

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

17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 18:45:38 +0000 (18:45 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

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

17 years ago2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 21 Jun 2007 18:35:02 +0000 (18:35 -0000)]
2007-06-21  Sebastien Pouliot  <sebastien@ximian.com>

* TestImageAttributes.cs: Add test case for big alpha value used in
a ColorMatrix.

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

17 years agoimplemented DeserializeObject
Konstantin Triger [Thu, 21 Jun 2007 18:24:28 +0000 (18:24 -0000)]
implemented DeserializeObject

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

17 years agoimplemented JavaScriptConverter..Deserialize functionality
Konstantin Triger [Thu, 21 Jun 2007 18:16:26 +0000 (18:16 -0000)]
implemented JavaScriptConverter..Deserialize functionality

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

17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 18:16:12 +0000 (18:16 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* object-internals.h: Reflect changes in the layout of the managed Delegate
class.

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

17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 18:14:17 +0000 (18:14 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* Delegate.cs: Applied patch from Robert Jordan (robertj@gmx.net). Keep
the dynamic method referenced by a delegate alive.

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

17 years agoThu Jun 21 19:24:03 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 21 Jun 2007 17:33:54 +0000 (17:33 -0000)]
Thu Jun 21 19:24:03 CEST 2007 Paolo Molaro <lupus@ximian.com>

* driver.c: check for the MONO_NO_SMP env var and bind to a single
processor if it is set.

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

17 years agoAdded documentation about MONO_NO_SMP.
Paolo Molaro [Thu, 21 Jun 2007 17:33:11 +0000 (17:33 -0000)]
Added documentation about MONO_NO_SMP.

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

17 years agoAdded check for sched_setaffinity().
Paolo Molaro [Thu, 21 Jun 2007 17:31:57 +0000 (17:31 -0000)]
Added check for sched_setaffinity().

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

17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 17:31:47 +0000 (17:31 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* DynamicMethod.cs: Applied patch from Robert Jordan (robertj@gmx.net). Add
a destructor which frees the runtime data for the method.

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

17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 17:29:45 +0000 (17:29 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* object-internals.h reflection.c icall-def.h: Applied patch from Robert
Jordan (robertj@gmx.net). Add a dtor to dynamic methods which frees up the
runtime memory used by the dynamic method. Fixes #77146.

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

17 years ago2007-06-21 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 21 Jun 2007 16:33:35 +0000 (16:33 -0000)]
2007-06-21  Dick Porter  <dick@ximian.com>

* file-io.h:
* file-io.c (convert_share): Cope with FileShare.Delete.  Patch
from Wojtek Krawczyk <krawczyk.wojciech@gazeta.pl>, fixes bug
81767.

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

17 years ago2007-06-21 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 21 Jun 2007 16:22:27 +0000 (16:22 -0000)]
2007-06-21  Dick Porter  <dick@ximian.com>

* FileStream.cs: Fix FileShare test, fixing better bug 79250.

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

17 years ago2007-06-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 21 Jun 2007 16:11:10 +0000 (16:11 -0000)]
2007-06-21  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.

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

17 years agoimplement a CultureInfoConverter for testing
Konstantin Triger [Thu, 21 Jun 2007 15:52:56 +0000 (15:52 -0000)]
implement a CultureInfoConverter for testing

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

17 years agoimplementation of converters for serialization
Konstantin Triger [Thu, 21 Jun 2007 15:30:02 +0000 (15:30 -0000)]
implementation of converters for serialization

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

17 years agoremove commented out code
Konstantin Triger [Thu, 21 Jun 2007 15:25:21 +0000 (15:25 -0000)]
remove commented out code

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

17 years ago2007-06-21 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 21 Jun 2007 15:24:34 +0000 (15:24 -0000)]
2007-06-21  Dick Porter  <dick@ximian.com>

* AuthenticationManager.cs:
* FtpWebRequest.cs:
* Cookie.cs:
* ServicePoint.cs:
* WebClient.cs:
* Authorization.cs:
* FileWebRequest.cs:
* HttpWebRequest.cs:
* WebResponse.cs:
* ServicePointManager.cs:
* HttpWebResponse.cs: Throw NotImplementedException indirectly, to
reduce noise in Moma reports.

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

17 years ago2007-06-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 21 Jun 2007 15:15:30 +0000 (15:15 -0000)]
2007-06-21  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutPanel.cs: Implement CellBorderStyle.  [Fixes bug #81884]

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

* TableLayout.cs: Take CellBorderStyle into account when laying
stuff out.  [Fixes bug #81884]

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

* TableLayoutTest.cs: Add test for CellBorderStyle.

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

17 years ago2007-06-21 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Thu, 21 Jun 2007 14:31:00 +0000 (14:31 -0000)]
2007-06-21  Juraj Skripsky <js@hotfeet.ch>

   * quicksearch.ch: Optimization. Add byte array as skip table for
   chars <= 255, falling back to the hashtable for chars > 255 and
   skip distances > 255.

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

17 years agorafactoring
Igor Zelmanovich [Thu, 21 Jun 2007 13:50:01 +0000 (13:50 -0000)]
rafactoring

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

17 years ago* reflection.c (method_encode_methodspec): Add a tripwire.
Raja R Harinath [Thu, 21 Jun 2007 13:31:09 +0000 (13:31 -0000)]
* reflection.c (method_encode_methodspec): Add a tripwire.
* class.c (inflate_generic_type): The fully open generic type is
not the same as the generic type definition.

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

17 years agoImplemented RegisterExpandoAttribute and RegisterOnSubmitStatement
Igor Zelmanovich [Thu, 21 Jun 2007 13:19:22 +0000 (13:19 -0000)]
Implemented RegisterExpandoAttribute and RegisterOnSubmitStatement

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:15:51 +0000 (13:15 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* DbConnectionStringBuilder.cs (Add): Fixed exception error message.

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

17 years ago2007-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 21 Jun 2007 13:13:51 +0000 (13:13 -0000)]
2007-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* SettingValueElement.cs : implement Reset().
* CustomizableFileSettingsProvider.cs : fixed company name getter
  and product name getter.
  LoadPropertyValue() should expect null ValueXml.
* LocalFileSettingsProvider.cs : time to switch. With a bit of
  directory name difference, it should work.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:11:58 +0000 (13:11 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* SqlConnection.cs: Fixed compiler warning.

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

17 years ago2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 21 Jun 2007 13:11:37 +0000 (13:11 -0000)]
2007-06-21  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:09:49 +0000 (13:09 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* DbConnectionStringBuilder.cs (Init): Modified the dictionary to
use StringComparer.InvariantCultureIgnoreCase.
(Add, ContainsKey): Checks whether argument is null or empty string.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:06:51 +0000 (13:06 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* System.Data.Connected.Tests.dll.sources: Added
System.Data.Odbc/OdbcConnectionStringBuilderTest.cs.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:05:26 +0000 (13:05 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* OdbcConnectionStringBuilderTest.cs: Added base test-cases from
Nidhi Rawal (rawalnidhi_rawal@yahoo.com).

* OdbcParameterTest.cs (ImageParameterTest, NTextParameterTest)
(TextParameterTest): Fixed mysql syntax used.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:01:14 +0000 (13:01 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* System.Data.dll.sources: Added
System.Data.Odbc/OdbcConnectionStringBuilder.cs.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:00:13 +0000 (13:00 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* OdbcConnectionStringBuilder.cs: Added new file with the basic
work of Nidhi Rawal (rawalnidhi_rawal@yahoo.com).

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

17 years ago2007-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 21 Jun 2007 13:00:04 +0000 (13:00 -0000)]
2007-06-21  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MONO_DEBUGGER_VERSION): Bump to 59.

* mono-debug-debugger.h
(MonoDebuggerBreakpointInfo): Removed.
(mono_debugger_insert_breakpoint_full): Moved to ../mini/debug-mini.h.
(mono_debugger_remove_breakpoint): Likewise.
(mono_debugger_breakpoint_callback): Likewise.
(mono_debugger_start_add_type): Renamed into mono_debugger_add_type().

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 12:56:31 +0000 (12:56 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* SqlBooleanTest.cs (EqualityOperator): Fixed compiler warnings.
(InequalityOperator): Fixed compiler warnings.

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

17 years agoImplemented RegisterHiddenField
Igor Zelmanovich [Thu, 21 Jun 2007 12:50:28 +0000 (12:50 -0000)]
Implemented RegisterHiddenField

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 12:44:40 +0000 (12:44 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* OleDbConnection.cs: Fixed compiler warning.

* OleDbParameterCollection.cs (AddWithValue): Fixed compiler
warning.

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

17 years agoImplemented RegisterClientScriptInclude and RegisterClientScriptResource
Igor Zelmanovich [Thu, 21 Jun 2007 12:31:24 +0000 (12:31 -0000)]
Implemented RegisterClientScriptInclude and RegisterClientScriptResource

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

17 years ago* metadata.c (mono_metadata_lookup_generic_class): The fully open
Raja R Harinath [Thu, 21 Jun 2007 12:12:09 +0000 (12:12 -0000)]
* metadata.c (mono_metadata_lookup_generic_class): The fully open
generic type is not the same as the generic type definition.
* class.c (mono_generic_class_get_class): Likewise.

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

17 years agoImplemented RegisterArrayDeclaration.
Igor Zelmanovich [Thu, 21 Jun 2007 11:59:00 +0000 (11:59 -0000)]
Implemented RegisterArrayDeclaration.

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

17 years agoImplemented RegisterClientScriptBlock and RegisterStartupScript.
Igor Zelmanovich [Thu, 21 Jun 2007 11:29:09 +0000 (11:29 -0000)]
Implemented RegisterClientScriptBlock and RegisterStartupScript.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 10:04:59 +0000 (10:04 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* OdbcDataReader.cs (GetValue): Patch for varchar longer than 255
characters, by Mads Bondo Dydensborg <mbd@dbc.dk>.

* OdbcConnection.cs: Fixed compiler warning.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 10:03:00 +0000 (10:03 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* OdbcDataReaderTest.cs (FindZeroInToStringTest): Test for varchar
longer than 255 characters, by Mads Bondo Dydensborg <mbd@dbc.dk>.

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

17 years agoInitial ScriptManagerProxy implementation
Igor Zelmanovich [Thu, 21 Jun 2007 09:13:04 +0000 (09:13 -0000)]
Initial ScriptManagerProxy implementation

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

17 years agoImplemented EnableScriptLocalization and ScriptPath features.
Igor Zelmanovich [Thu, 21 Jun 2007 08:58:05 +0000 (08:58 -0000)]
Implemented EnableScriptLocalization and ScriptPath features.

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

17 years ago2007-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 21 Jun 2007 08:15:41 +0000 (08:15 -0000)]
2007-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* Configuration.cs, InternalConfigurationHost.cs :
  configuration file to write might be given as an absolute path,
  where the ancestor directories may not exist.

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

17 years agoTARGET_JVM: correctly handle Portal's 'GetBack'
Konstantin Triger [Thu, 21 Jun 2007 06:19:08 +0000 (06:19 -0000)]
TARGET_JVM: correctly handle Portal's 'GetBack'

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

17 years ago2007-06-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 21 Jun 2007 00:25:02 +0000 (00:25 -0000)]
2007-06-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
Details view.
* DrawListViewColumnHeaderEventArgs.cs:
* DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
using the DrawText () methods.

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

17 years ago2007-06-20 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Wed, 20 Jun 2007 22:52:38 +0000 (22:52 -0000)]
2007-06-20  Rodrigo Kumpera  <kumpera@gmail.com>

*make_tests.sh: new ldsfld tests, more call conv tests

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

17 years ago2007-06-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 20 Jun 2007 22:16:47 +0000 (22:16 -0000)]
2007-06-20  Marek Safar  <marek.safar@gmail.com>

* namespace.cs (NamespaceEntry.Error_AmbiguousTypeReference): Print
more error details.

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

17 years ago2007-06-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Jun 2007 21:35:49 +0000 (21:35 -0000)]
2007-06-20  Marek Habersack  <mhabersack@novell.com>

* WebControl.cs: if savedState is a Triplet, take the actual state
data from savedState.First. Also make sure that the data is a
Pair. Fixes bug #78533.

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

17 years agoAdd new test + update.
Marek Safar [Wed, 20 Jun 2007 18:20:19 +0000 (18:20 -0000)]
Add new test + update.

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

17 years agoNew test + update.
Marek Safar [Wed, 20 Jun 2007 18:19:54 +0000 (18:19 -0000)]
New test + update.

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

17 years ago2007-06-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 20 Jun 2007 18:19:11 +0000 (18:19 -0000)]
2007-06-20  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Reworked var keyword handling. We cannot handle var as
static keyword because var becomes keyword only if no type with the var
name exists in the scope of variable which uses var declaration.

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

17 years ago2007-06-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 20 Jun 2007 18:14:49 +0000 (18:14 -0000)]
2007-06-20  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs: Removed var related stuff.

* ecore.cs (Expression.ResolveAsContextualType): Introduced new method.
(VarExpr): Changed to derive from SimpleName. VarExpr now behaves as
a type and a keyword at same time.

* decl.cs (MembeName.GetTypeExpression): Create VarExpr when type name
matches to "var".

* expression.cs (ImplicitlyTypedArrayCreation): New empty class for
implicitly typed arrays, more changes will follow.

* statement.cs (LocalInfo.Resolve): Resolve type as contextual type.

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

17 years ago2007-06-20 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Wed, 20 Jun 2007 18:00:23 +0000 (18:00 -0000)]
2007-06-20  Juraj Skripsky <js@hotfeet.ch>

   * Dictionary.cs: Optimize and add implementation notes. Use a "mini-heap"
   to store the linked lists instead of the regular heap. Split arrays of
   structs into separate arrays to make the GC's life simpler (see bug 81879
   for details). Make class serialization compatible with MS.NET.

   * EqualityComparer.cs: Rename IEquatableOfTEqualityComparer<T> to
   GenericEqualityComparer<T> to fix binary serialization compatibility
   with MS.

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

17 years ago2007-06-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Jun 2007 17:25:25 +0000 (17:25 -0000)]
2007-06-20  Marek Habersack  <mhabersack@novell.com>

* Cache.cs: Iterate over the entries when filling the ArrayList in the 2.0
profile to avoid type cast exceptions.

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

17 years ago2007-06-20 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 20 Jun 2007 16:49:12 +0000 (16:49 -0000)]
2007-06-20  Geoff Norton  <gnorton@customerdna.com>

* icall.c: The second argument to
System.Reflection.MethodBase.GetMethodFromHandleInternalType
is a MonoType not a MonoClass.

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

17 years ago2007-06-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jun 2007 16:26:15 +0000 (16:26 -0000)]
2007-06-20  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigurationManager.cs : in OpenExeConfiguration() and
  OpenMappedExeConfiguration(), take userLevel into consideration.
* InternalConfigurationHost.cs : consider ConfigurationUserLevel and
  use correct config map file in InitForConfiguration().

* ConfigurationManagerTest.cs : Enabled some tests with related to
  roaming user config. Marked some tests for negative check as
  [NotWorking] (they are rather uncovered bugs than enbug).

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

17 years ago * verify.c: support for function pointers in the verifier
Rodrigo Kumpera [Wed, 20 Jun 2007 16:02:45 +0000 (16:02 -0000)]
* verify.c: support for function pointers in the verifier

2007-06-20  Rodrigo Kumpera  <kumpera@gmail.com>

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

17 years ago2007-06-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Jun 2007 15:42:36 +0000 (15:42 -0000)]
2007-06-20  Marek Habersack  <mhabersack@novell.com>

* OutputCacheModule.cs: use Context.InternalCache.

* Cache.cs: 2.0 profile uses generic containers to keep the cache
entries.
Gotten rid of the InsertPrivate and InsertInternal methods. The
latter was moved to one of the Insert overloads.
Private entries are no longer handled specifically, because the
internal cache is now kept in a separate object.

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

* AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
private entries.
* CachingCompiler.cs: as above
* AspGenerator.cs: as above

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

* DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
to keep private entries.
* XmlDataSource.cs: as above

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

* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
private entries.

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

* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
the internal entries.

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

* BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
keep the private entries.

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

* HttpRuntime.cs: added new internal property, InternalCache, to
keep all the internal cache entries instead of mixing them with
the public cache ones.
Do not invoke Cache.InvokePrivateCallbacks - this method no longer
exists.

* HttpResponse.cs: private entries are now kept in
Context.InternalCache.

* HttpContext.cs: added new internal property, InternalCache,
which returns the HttpRuntime.InternalCache value.

Fixes bug #81690

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

17 years agoImplemented EnableScriptGlobalization and EnableScriptLocalization properties
Igor Zelmanovich [Wed, 20 Jun 2007 14:50:17 +0000 (14:50 -0000)]
Implemented EnableScriptGlobalization and EnableScriptLocalization properties

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

17 years ago2007-06-20 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Wed, 20 Jun 2007 14:17:38 +0000 (14:17 -0000)]
2007-06-20  Rodrigo Kumpera  <kumpera@gmail.com>
* verify.c: unmanaged pointer verification checks (loading unmanaged pointers is unverifiable)

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

17 years ago* AssemblyResourceLoader.cs: GetResourceUrl, fixed typo
Vladimir Krasnov [Wed, 20 Jun 2007 12:40:45 +0000 (12:40 -0000)]
* AssemblyResourceLoader.cs: GetResourceUrl, fixed typo

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

17 years ago 2007-06-20 yonik <yonik@mainsoft.com>
Yoni Klain [Wed, 20 Jun 2007 12:20:00 +0000 (12:20 -0000)]
  2007-06-20  yonik <yonik@mainsoft.com>
      DropDownListTest.cs;  FormViewTest.cs;  DetailViewTest.cs; GridViewTest.cs;
      Add new tests for DataSourceChanged event

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

17 years agoInitial PostBackTrigger implementation
Igor Zelmanovich [Wed, 20 Jun 2007 12:19:37 +0000 (12:19 -0000)]
Initial PostBackTrigger implementation

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

17 years ago2007-06-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Jun 2007 12:13:27 +0000 (12:13 -0000)]
2007-06-20  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: check all the loaded assemblies for the type
being looked up. Patch from Juraj Skripsky <juraj@hotfeet.ch>,
thanks! Fixes bug #81697.

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

17 years ago2007-06-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Jun 2007 11:58:14 +0000 (11:58 -0000)]
2007-06-20  Marek Habersack  <mhabersack@novell.com>

* SessionStateModule.cs: if session is abandoned and the handler
supports expiration, disable the handler's session expiration
callback and call SessionStateUtility.RaiseSessionEnd
directly. Fixes bug #81853.

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

17 years agoInitial AsyncPostBackTrigger implementation
Igor Zelmanovich [Wed, 20 Jun 2007 11:49:30 +0000 (11:49 -0000)]
Initial AsyncPostBackTrigger implementation

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

17 years agoWed Jun 20 10:22:15 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 20 Jun 2007 08:12:26 +0000 (08:12 -0000)]
Wed Jun 20 10:22:15 CEST 2007 Paolo Molaro <lupus@ximian.com>

* assembly.c: removed Mono.Data.SqliteClient from the list of
forward-compatible assemblies as it breaks the ABI (bug #81899).

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

17 years ago2007-06-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jun 2007 03:00:37 +0000 (03:00 -0000)]
2007-06-20  Atsushi Enomoto  <atsushi@ximian.com>

* ServicePointManager.cs : (bootstrap) build fix.

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

17 years ago2007-06-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 19 Jun 2007 21:06:08 +0000 (21:06 -0000)]
2007-06-19  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
background which got erased in my changes yesterday.

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

17 years ago2007-06-19 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Tue, 19 Jun 2007 19:47:08 +0000 (19:47 -0000)]
2007-06-19  Rodrigo Kumpera  <kumpera@gmail.com>

*make_tests.sh: new ldfld tests (they check everything but visibility)
*make_field_test.sh: generated the new field tests

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

17 years ago2007-06-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 19 Jun 2007 18:40:22 +0000 (18:40 -0000)]
2007-06-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: Actually set bounds for subitems in Details view
(2.0 feature).
* ThemeWin32Classic.cs: Refactor the drawing code for subitems, so we
can invoke from the owner draw routines if we need it. Also, add
support for Owner draw in Details view.

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

17 years agoInitial ScriptManager implementation
Igor Zelmanovich [Tue, 19 Jun 2007 15:39:53 +0000 (15:39 -0000)]
Initial ScriptManager implementation

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

17 years agoInitial UpdatePanel implementation
Igor Zelmanovich [Tue, 19 Jun 2007 14:15:55 +0000 (14:15 -0000)]
Initial UpdatePanel implementation

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

17 years ago* metadata.c (mono_metadata_lookup_generic_class): Protect cache
Raja R Harinath [Tue, 19 Jun 2007 13:51:09 +0000 (13:51 -0000)]
* metadata.c (mono_metadata_lookup_generic_class): Protect cache
lookup/update with the loader lock.
* reflection.c (mono_class_bind_generic_parameters): No need to
protect mono_metadata_lookup_* with the loader lock.
* class.c (inflate_generic_type): Likewise.

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

17 years agoRevert inadvertent checkin
Raja R Harinath [Tue, 19 Jun 2007 13:24:44 +0000 (13:24 -0000)]
Revert inadvertent checkin

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

17 years ago2007-06-19 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 19 Jun 2007 13:23:16 +0000 (13:23 -0000)]
2007-06-19  Dick Porter  <dick@ximian.com>

* AuthenticationManager.cs:
* IWebProxyScript.cs:
* Authorization.cs:
* Cookie.cs:
* CookieException.cs:
* CredentialCache.cs:
* FileWebRequest.cs:
* WebRequest.cs:
* FileWebResponse.cs:
* WebResponse.cs:
* FtpWebRequest.cs:
* HttpWebRequest.cs:
* DecompressionMethods.cs:
* HttpWebResponse.cs:
* ProtocolViolationException.cs:
* ServicePoint.cs:
* ServicePointManager.cs:
* WebClient.cs:
* WebException.cs:
* WebHeaderCollection.cs:
* WebProxy.cs:
* WebExceptionStatus.cs: 2.0 profile updates

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

17 years agoNew test.
Marek Safar [Tue, 19 Jun 2007 13:18:11 +0000 (13:18 -0000)]
New test.

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

17 years ago* metadata.c (ginst_in_image): Avoid mono_class_from_mono_type
Raja R Harinath [Tue, 19 Jun 2007 13:10:42 +0000 (13:10 -0000)]
* metadata.c (ginst_in_image): Avoid mono_class_from_mono_type
on a generic instantiated type.

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

17 years ago2007-06-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 19 Jun 2007 13:00:38 +0000 (13:00 -0000)]
2007-06-19  Marek Safar  <marek.safar@gmail.com>

* ecore.cs (VarExpr): Removed Handled field.

* statement.cs (Using.ResolveLocalVariableDecls): Refactored to use
build-in assign functionality.
(ForEach.Resolve): Removed all implicitly typed local variable code and
simplified.
(ArrayForeach.Resolve): Infer implicitly typed local variable here.
(CollectionForeach.Resolve): Infer implicitly typed local variable here.

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

17 years agoAdd a test for array foreach
Marek Safar [Tue, 19 Jun 2007 12:27:59 +0000 (12:27 -0000)]
Add a test for array foreach

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

17 years agocompilation problems
Konstantin Triger [Tue, 19 Jun 2007 11:51:10 +0000 (11:51 -0000)]
compilation problems

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

17 years agoimplemented ScriptResource and NotifyScriptLoaded features
Igor Zelmanovich [Tue, 19 Jun 2007 10:53:07 +0000 (10:53 -0000)]
implemented ScriptResource and NotifyScriptLoaded features

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

17 years agoImplemented redirect from AsyncPostBack
Igor Zelmanovich [Tue, 19 Jun 2007 08:00:43 +0000 (08:00 -0000)]
Implemented redirect from AsyncPostBack

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

17 years ago2007-06-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 18 Jun 2007 21:55:59 +0000 (21:55 -0000)]
2007-06-18  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripLabel.cs,
ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs: Respect the
ShowImageMargin setting, properly align text in a ToolStripLabel
hosted on a ToolStripDropDown.

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

17 years ago2007-06-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 18 Jun 2007 20:08:25 +0000 (20:08 -0000)]
2007-06-18  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs, ToolStripContentPanel.cs, ToolStripDropDownMenu.cs,
ToolStripProfessionalRenderer.cs: Refactor and clean up some rendering code.

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

17 years ago* mono-api-info.cs: do not ignore overloaded operators.
Gert Driesen [Mon, 18 Jun 2007 19:03:02 +0000 (19:03 -0000)]
* mono-api-info.cs: do not ignore overloaded operators.

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

17 years ago2007-06-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 18 Jun 2007 18:33:56 +0000 (18:33 -0000)]
2007-06-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DrawListViewSubItemEventArgs.cs: Actually implement its methods.

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

17 years agoNew tests.
Marek Safar [Mon, 18 Jun 2007 18:14:51 +0000 (18:14 -0000)]
New tests.

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

17 years ago2007-06-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 18 Jun 2007 18:14:28 +0000 (18:14 -0000)]
2007-06-18  Marek Safar  <marek.safar@gmail.com>

* assign.cs: Removed implicitly typed local variable check.

* expression.cs (LocalVariableReference.DoResolve): Add check for self
referencing implicitly typed local variable.
(LocalVariableReference.DoResolveLValue): Infer implicitly typed local
variable here.

* statement.cs (Fixed): Removed unsupported implicitly typed local
variable code.

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

17 years ago2007-06-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 18 Jun 2007 18:13:31 +0000 (18:13 -0000)]
2007-06-18  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Add implicitly typed local variable checks.

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

17 years ago2007-06-18 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Mon, 18 Jun 2007 17:59:00 +0000 (17:59 -0000)]
2007-06-18  Rodrigo Kumpera <kumpera@gmail.com>
*verify.c: produce meanfull error messages on verification error
*verify.c: fixed some cases of verification errors reported as validation errors
*pedump.c: fixed the error name array, now it shows validation errors properly
*verify.h: fixed the contant that should be used for verification errors

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

17 years agoFixed the test.
Marek Safar [Mon, 18 Jun 2007 17:27:55 +0000 (17:27 -0000)]
Fixed the test.

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

17 years agoRemoved invalid test.
Marek Safar [Mon, 18 Jun 2007 17:24:46 +0000 (17:24 -0000)]
Removed invalid test.

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

17 years agoMon Jun 18 17:07:22 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 18 Jun 2007 14:59:16 +0000 (14:59 -0000)]
Mon Jun 18 17:07:22 CEST 2007 Paolo Molaro <lupus@ximian.com>

* metadata.c, image.c, metadata-internals.h: part of the fixes needed
for bug #77596, 81858 and 80743 (generics data structures on domain
unload).

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

17 years ago2007-06-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 18 Jun 2007 14:51:12 +0000 (14:51 -0000)]
2007-06-18  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripLabel.cs: If the label is on a dropdown, adjust the text
location to match ToolStripMenuItems.

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

17 years agoInitial ScriptManager implementation
Igor Zelmanovich [Mon, 18 Jun 2007 13:31:24 +0000 (13:31 -0000)]
Initial ScriptManager implementation

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

17 years ago2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 18 Jun 2007 13:21:15 +0000 (13:21 -0000)]
2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs: revised the changes from r79982.

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