mono.git
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

17 years agoDisable the exception throw in this method - Adar Wesley of Mainsoft is investigating...
Marek Habersack [Mon, 18 Jun 2007 11:43:35 +0000 (11:43 -0000)]
Disable the exception throw in this method - Adar Wesley of Mainsoft is investigating the issue.

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

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

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

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

        * ClientConfigurationSystem.cs : do not asume GetEntryAssembly()
          returns non-null. Patch by Patrick Perry.

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

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

* Control.cs: optimized flow in ResolveClientUrl.

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

17 years agoimplemented ScriptResourceHandler using existing AssemblyResourceLoader
Igor Zelmanovich [Mon, 18 Jun 2007 08:22:25 +0000 (08:22 -0000)]
implemented ScriptResourceHandler using existing AssemblyResourceLoader
from System.Web

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

17 years agoTARGET_JVM: do not differentiate the first run
Konstantin Triger [Mon, 18 Jun 2007 08:20:23 +0000 (08:20 -0000)]
TARGET_JVM: do not differentiate the first run

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

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

* AssemblyResourceLoader.cs: refactoring:
make the code reusable in System.Web.Extensions.

2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>

* HttpUtility.cs: refactoring:
removed constants to another class.

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

17 years ago* MailAddress.cs: Throw ArgumentNullException if address is null.
Gert Driesen [Sun, 17 Jun 2007 09:46:08 +0000 (09:46 -0000)]
* MailAddress.cs: Throw ArgumentNullException if address is null.
Allow display name to be specified as part of the address. Fixes
bug #81854. Return zero-length string in DisplayName if no display
name is set.
* MailAddressTest.cs: Added tests for ctors and specifying display
name as part of address.

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

17 years ago* LogicalMethodInfoTest.cs: Fixed namespace.
Gert Driesen [Sat, 16 Jun 2007 15:24:58 +0000 (15:24 -0000)]
* LogicalMethodInfoTest.cs: Fixed namespace.
* WebClientProtocolTest.cs: Fixed namespace.
* SoapHttpClientProtocolTest.cs: Fixed namespace. Added test for
bug #81886.
* SoapServerTypeTest.cs: Fixed namespace.
* SocketResponder.cs: Sync with copy in System assembly.
* Fault.cs: In SOAP 1.1, the child elements of Fault may be unqualified.
Fixed FaultReader's ReadObject_Fault to only process either unqualified
elements or elements in the SOAP 1.1 namespace, hereby fixing part of
bug #81886 where an unqualified detail element was not processed. In
FaultWriter, write unqualified detail element. Fixes second part of
bug #81886.

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

17 years ago2007-06-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 16 Jun 2007 02:45:06 +0000 (02:45 -0000)]
2007-06-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DrawListViewColumnHeaderEventArgs.cs:
* ThemeWin32Classic.cs: Implement 2.0 OwnerDraw support for
column headers in ListView.

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

17 years ago2007-06-15 Wade Berrier <wberrier@novell.com>
Wade Berrier [Sat, 16 Jun 2007 00:20:26 +0000 (00:20 -0000)]
2007-06-15  Wade Berrier  <wberrier@novell.com>

        * scripts/mono-find-requires.in: revert back to using package names
        for .config file dep scanning.  This is because noarch packages can be
        built on either 32 or 64 bit arches, depending on either a 32bit or 64bit
        library, which is wrong.

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

17 years ago * invalid_dup_maxstack.il: the test wasn't generating the failing condition
Rodrigo Kumpera [Sat, 16 Jun 2007 00:11:02 +0000 (00:11 -0000)]
* invalid_dup_maxstack.il: the test wasn't generating the failing condition
* make_tests.sh: fixed the generation of stack merge tests and a typo on the return coercion tests
* unverifiable_ldfld_initonly.il: add assembly manifest (so it tests the right thing)
* invalid_stack_2_ret.il: fix the entry point

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

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

17 years agoRemoved gcs0733, interesting how tiny discrepancy can expose big problem
Marek Safar [Fri, 15 Jun 2007 22:02:06 +0000 (22:02 -0000)]
Removed gcs0733, interesting how tiny discrepancy can expose big problem

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

17 years agoMore tests.
Marek Safar [Fri, 15 Jun 2007 21:58:13 +0000 (21:58 -0000)]
More tests.

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

17 years ago2007-06-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 15 Jun 2007 21:57:49 +0000 (21:57 -0000)]
2007-06-15  Marek Safar  <marek.safar@gmail.com>

* decl.cs (MemberName): Moved all Unbound stuff to parser.

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

17 years ago2007-06-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 15 Jun 2007 21:57:14 +0000 (21:57 -0000)]
2007-06-15  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Correctly split generic arguments and generic
 parameters. Correctly implemented typeof of generic unbound types.

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

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

* UserControl.cs: Implement AutoSize.

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

17 years ago* ObjectStateFormatter.cs: Avoid NRE in Serialize. Fixes bug #81851.
Gert Driesen [Fri, 15 Jun 2007 20:11:35 +0000 (20:11 -0000)]
* ObjectStateFormatter.cs: Avoid NRE in Serialize. Fixes bug #81851.
* LosFormatterTest.cs: Added tests for LosFormatter.
* System.Web_test.dll.sources: Added LosFormatterTest.cs.

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

17 years ago2007-06-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 15 Jun 2007 18:14:47 +0000 (18:14 -0000)]
2007-06-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DrawListViewItemEventArgs.cs:
* ListView.cs:
* ThemeWin32Classic.cs: Implement basic support for 2.0 OwnerDraw in
ListView.

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

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

* ToolStripDropDownItemAccessibleObject.cs: Added.
* ToolStripDropDownItem.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
ToolStripOverflow.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
ToolStripProgressBar.cs, ToolStripSeparator.cs, ToolStripSplitButton.cs,
ToolStripTextBox.cs: corcompare work.

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

* System.Windows.Forms.dll.sources: Add ToolStripDropDownItemAccessibleObject.cs.

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

17 years agoAvoid allocating 'MonoGenericContext' on the heap.
Raja R Harinath [Fri, 15 Jun 2007 14:11:17 +0000 (14:11 -0000)]
Avoid allocating 'MonoGenericContext' on the heap.
* class-internals (_MonoMethodInflated::context): Make field
inline, not a pointer.
* loader.c (method_from_methodspec): Allocate 'new_context' on the
stack.  Use the context embedded within the inflated method as the
hash key, rather than 'new_context'.
* class.c (inflate_generic_context): Simplify.  Return a struct
rather than allocating on the heap.
(mono_class_inflate_generic_method_full): Update to changes.  Now,
doesn't salt away a copy of the context -- simplifying the
lifetime rules of a 'MonoGenericContext *'.
(mono_method_get_context): Return pointer to embedded context.
(setup_generic_array_ifaces): Allocate temporary context on stack.
* reflection.c (inflate_mono_method): Likewise.
(mono_reflection_bind_generic_method_parameters): Likewise.
Use the context embedded within the inflated method as the hash key.

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

17 years agoIn dis:
Raja R Harinath [Fri, 15 Jun 2007 11:38:53 +0000 (11:38 -0000)]
In dis:
* get.c (dis_stringify_object_with_class): Update to changes in
MonoGenericClass.
(dis_stringify_type): Likewise.

In metadata:
Avoid a source of allocation of 'MonoGenericContext'.
* class-internals.h (_MonoGenericClass::context): Combine 'inst'
and 'cached_context' fields into embedded 'MonoGenericContext' field.
* class.c: Update to changes.
(mono_generic_class_get_context): Simplify drastically.  Now just
returns a pointer to the field.
* metadata-internals.h (mono_metadata_generic_context_hash): Mark
argument as a const pointer.
(mono_metadata_generic_context_equal): Likewise.
* metadata.c, loader.c, icall.c, reflection.c, verify.c:
Update to changes.

In mini:
* jit-icalls.c (mono_helper_compile_generic_method): Update to
changes in MonoGenericClass.

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

17 years ago2007-06-14 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Fri, 15 Jun 2007 01:43:23 +0000 (01:43 -0000)]
2007-06-14  Rodrigo Kumpera  <kumpera@gmail.com>

* invalid_call_empty_stack.il: added assembly manifest (so it tests the right thing)
* invalid_ldsfld_nonstatic_fld.il: same
* invalid_dup_maxstack.il: same
* invalid_ldsfld_no_fld.il: same
* unverifiable_call_private.il: same
* invalid_backward_branch.il: same
* make_unary_test.sh: same
* invalid_ldloc_no_local.il: same
* make_obj_store_test.sh: added static field to have stsfld tests
* make_store_test.sh: fixed the entrypoint
* make_tests.sh: fixed tests to be faithfull to the spec

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

17 years agoTemporary disabled, the test exposed bigger issue
Marek Safar [Thu, 14 Jun 2007 22:51:42 +0000 (22:51 -0000)]
Temporary disabled, the test exposed bigger issue

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

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

* OSFeature.cs, StatusStrip.cs, TabControl.cs, TableLayoutSettings.cs,
TableLayoutStyle.cs, TableLayoutCollection.cs, ToolStripContentPanel.cs,
ToolStripControlHost.cs, ToolStripDropDown.cs, ToolStripDropDownButton.cs:
corcompare.

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

17 years agoWrong test filename
Marek Safar [Thu, 14 Jun 2007 21:26:54 +0000 (21:26 -0000)]
Wrong test filename

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

17 years agoNew test.
Marek Safar [Thu, 14 Jun 2007 20:53:08 +0000 (20:53 -0000)]
New test.

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

17 years agoNew test.
Marek Safar [Thu, 14 Jun 2007 20:52:12 +0000 (20:52 -0000)]
New test.

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

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

* cs-parser.jay: Assembly and module attributes must precede all other
elements except using clauses and extern alias declarations.

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

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

A fix for bugs #81855 and #76274
* attribute.cs (AttachTo): Always set owner for global attributes to
prefined owner.

* ecore.cs (Error_TypeDoesNotContainDefinition): A type location can be
usefull too.

* cs-parser.jay: Assembly and module attributes must precede all other
elements except using clauses and extern alias declarations.

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

17 years agoUpdated --help output
Marek Safar [Thu, 14 Jun 2007 20:47:46 +0000 (20:47 -0000)]
Updated --help output

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

17 years ago2007-06-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 14 Jun 2007 19:28:25 +0000 (19:28 -0000)]
2007-06-14  Jonathan Pobst  <monkey@jpobst.com>

* OSFeature.cs: Add IsPresent.
* PrintPreviewControl.cs: Add RightToLeft.
* SplitContainer.cs: Add AutoScrollOffset, ScaleControl.
* SplitterPanel.cs: Add AutoSizeMode.

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

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

* mini-codegen.c (mono_opcode_to_type): Fix ia64 build.

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

17 years ago2007-06-14 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Thu, 14 Jun 2007 17:12:44 +0000 (17:12 -0000)]
2007-06-14  Rodrigo Kumpera  <kumpera@gmail.com>

* verify.c improved the handling of brtrue/brfalse, factored out common code

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

17 years ago2007-06-14 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Thu, 14 Jun 2007 17:04:17 +0000 (17:04 -0000)]
2007-06-14  Rodrigo Kumpera  <kumpera@gmail.com>
*Changelog: fixed the dates of my commits
2007-06-14  Rodrigo Kumpera  <kumpera@gmail.com>

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

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

17 years agoIn metadata:
Raja R Harinath [Thu, 14 Jun 2007 14:29:24 +0000 (14:29 -0000)]
In metadata:
Kill MonoGenericMethod.
* class-internals.h (MonoGenericContext::method_inst): Rename from
'gmethod' and convert to a MonoGenericInst.
(MonoGenericMethod): Remove.
* metadata.h (MonoGenericMethod): Note that the name is obsolete.
* loader.c (method_from_methodspec): Update to changes.  Use a
MonoGenericContext as the key to the hashtable.
* metadata.c (mono_metadata_generic_context_equal): Rename from
'mono_metadata_generic_method_equal' and take MonoGenericContext.
(mono_metadata_generic_context_hash): Likewise from
'mono_metadata_generic_method_hash'.  Change hash function.
(mono_metadata_load_generic_params): Update to changes.
(mono_get_shared_generic_method): Remove.
* metadata-internals.h (mono_get_shared_generic_method): Remove.
* class.c (inflate_generic_type) [MONO_TYPE_MVAR]: Update to changes.
(inflate_generic_context): Likewise.
(mono_class_inflate_generic_method_full): Likewise.
(setup_generic_array_ifaces): Likewise.
(mono_class_create_from_typespec): Likewise.
* reflection.c (encode_generic_method_sig): Take a MonoGenericContext.
(method_encode_methodspec): Update callsite.
(reflection_methodbuilder_to_mono_method): Update to changes.
(mono_reflection_bind_generic_method_parameters): Likewise.  Use a
MonoGenericContext as the key to the hashtable.
(inflate_mono_method): Update to changes.

In mini:
* jit-icalls.c (mono_helper_compile_generic_method): Update to
removal of MonoGenericMethod.

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

17 years ago2007-05-14 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Thu, 14 Jun 2007 13:32:02 +0000 (13:32 -0000)]
2007-05-14  Rodrigo Kumpera  <kumpera@gmail.com>

*make_load_test.sh: Fixed the entrypoint to generate valid code
*make_ret_test.sh: Fixed the entrypoint to generate valid code. Removed invalid generics classes
*make_tests.sh: Fixed the testsuite to not generate wrong tests
*Makefile: split the clean step as it was failing due to the huge file list
 (it might need further tweaking as the testsuite grows)

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

17 years ago* class-internals.h (MonoGenericMethod::container): Remove.
Raja R Harinath [Thu, 14 Jun 2007 12:05:33 +0000 (12:05 -0000)]
* class-internals.h (MonoGenericMethod::container): Remove.
* class.c, loader.c, metadata.c, reflection.c: Update to changes.

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

17 years agoThu Jun 14 12:42:04 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 14 Jun 2007 10:31:48 +0000 (10:31 -0000)]
Thu Jun 14 12:42:04 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-exceptions.c: hooks for the exception events profiling API.

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

17 years agoThu Jun 14 12:40:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 14 Jun 2007 10:30:49 +0000 (10:30 -0000)]
Thu Jun 14 12:40:05 CEST 2007 Paolo Molaro <lupus@ximian.com>

* profiler-private.h, profiler.c, profiler.h: added API to profile
exception events.

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

17 years ago2007-06-14 Randolph Chung <tausq@debian.org>
Paolo Molaro [Thu, 14 Jun 2007 09:49:21 +0000 (09:49 -0000)]
2007-06-14  Randolph Chung  <tausq@debian.org>

* Makefile.ma: Add hppa target.
* mini-arch.h: Include mini-hppa.h
* cpu-hppa.md, exceptions-hppa.c, inssel-hppa.brg, mini-hppa.c,
mini-hppa.h, tramp-hppa.c: New files for 32-bit HPPA port.
Contributed under the X11 license (http://bugzilla.ximian.com/show_bug.cgi?id=81866).

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

17 years ago2007-06-13 Randolph Chung <tausq@debian.org>
Paolo Molaro [Thu, 14 Jun 2007 09:46:14 +0000 (09:46 -0000)]
2007-06-13  Randolph Chung  <tausq@debian.org>

* configure.in: Add hppa-linux target.
Contributed under the X11 license (http://bugzilla.ximian.com/show_bug.cgi?id=81866).

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

17 years ago2007-06-14 Randolph Chung <tausq@debian.org>
Paolo Molaro [Thu, 14 Jun 2007 09:20:34 +0000 (09:20 -0000)]
2007-06-14  Randolph Chung  <tausq@debian.org>

* inssel.brg: Add rules for "chained" compare-branch operations so that
a single compare op can affect multiple branches.  Adjust cost for
OP_CEQ/OP_CGT/OP_CGT_UN/OP_CLT/OP_CLT_UN.
* inssel-long32.brg: Update rules to use compare-branch macros.  Adjust
cost for some rules so that they can more easily be overridden by
per-arch rules (with fixes from lupus).
Contributed under the X11 license (http://bugzilla.ximian.com/show_bug.cgi?id=81866).

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

17 years ago2007-06-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 13 Jun 2007 22:04:22 +0000 (22:04 -0000)]
2007-06-13  Jonathan Pobst  <monkey@jpobst.com>

* LayoutEventArgs.cs: Add 2.0 AffectedComponent.
* MdiClient.cs: Add 2.0 ScaleControl.
* NativeWindow.cs: Implement 2.0 interface IWin32Window.
* NumericUpDownAccelerationCollection.cs: Add [ListBinding].

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

17 years ago2007-06-12 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 13 Jun 2007 21:51:09 +0000 (21:51 -0000)]
2007-06-12  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Add tests for ScaleControl and GetScaledBounds.

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

17 years ago2007-06-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 13 Jun 2007 21:31:34 +0000 (21:31 -0000)]
2007-06-13  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Implement some scaling methods, stub some RTL methods,
corcompare work.

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

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

* Control.cs: corcompare work.
* FlatButtonAppearance.cs, FolderBrowserDialog.cs: Add TypeConverters.

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

17 years ago2007-06-13 Randolph Chung <tausq@debian.org>
Paolo Molaro [Wed, 13 Jun 2007 18:42:34 +0000 (18:42 -0000)]
2007-06-13  Randolph Chung  <tausq@debian.org>

* mini-ops.h: Reorder branch ops so that they match the order of the
corresponding CEE_* ops.  The code expects them this way.
Add new ops for HPPA target.
Contributed under the X11 license (http://bugzilla.ximian.com/show_bug.cgi?id=81866).

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