mono.git
18 years ago2005-11-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 23 Nov 2005 21:51:54 +0000 (21:51 -0000)]
2005-11-23  Zoltan Varga  <vargaz@gmail.com>

* icall.c threads-types.h threads.c: Add Exchange<T> icall.

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

18 years ago * MdiChildContext.cs: Don't size windows if they are
Jackson Harper [Wed, 23 Nov 2005 21:48:58 +0000 (21:48 -0000)]
* MdiChildContext.cs: Don't size windows if they are
          maximized.

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

18 years ago2005-11-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 23 Nov 2005 21:32:48 +0000 (21:32 -0000)]
2005-11-23  Zoltan Varga  <vargaz@gmail.com>

* Interlocked.cs: Add T:class constraint to the generic
CompareExchange and Exchange methods.

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

18 years ago2005-11-23 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 23 Nov 2005 19:25:43 +0000 (19:25 -0000)]
2005-11-23  Mike Kestner  <mkestner@novell.com>

* ContextMenu.cs: use MenuTracker.
* Control.cs: remove menu handle usage.
* Form.cs: remove menu handle usage.
* Hwnd.cs: remove menu handle usage.
* MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
motion and clicks to the new Tracker handlers.
* Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
and handle usage.
* MenuAPI.cs: refactored to combine popup and menubar event handling.
Killed the MENU and MENUITEM data types and associated collections
since we now keep the info on Menu and MenuItem. Expanded TRACKER into
MenuTracker class that exposes the leftovers from the old MenuAPI
static methods. Restructured Capture handling so that only one grab is
done for the entire menu hierarchy instead of handing off grabs to
submenus. Tracker now has an invisible control to Capture when active.
* MenuItem.cs: add sizing accessors, kill Create
and handle usage.
* Theme.cs: remove menu handle and MENU(ITEM) usage.
* ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
MENU(ITEM). remove menu handle usage, use Menu directly.
* XplatUIDriver.cs: remove menu handle usage.
* XplatUIOSX.cs: remove menu handle usage.
* XplatUIWin32.cs: remove menu handle usage.
* XplatUIX11.cs: remove menu handle usage.
[Fixes #76621 and #76648]

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

18 years ago2005-11-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 23 Nov 2005 18:41:06 +0000 (18:41 -0000)]
2005-11-23  Sebastien Pouliot  <sebastien@ximian.com>

* TlsServerCertificate.cs: Add support for Netscape Server Gated
Crypto (2.16.840.1.113730.4) as a valid server-side EKU OID. Fix bug
#76804.

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

18 years ago2005-11-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Nov 2005 18:20:28 +0000 (18:20 -0000)]
2005-11-23  Martin Baulig  <martin@ximian.com>

* generic.cs (Constraints.Define): Removed.
(TypeParameter.DefineConstraints): Removed.
(TypeParameter.DefineType): Call SetGenericParameterAttributes()
on the GenericTypeParameterBuilder here.

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

18 years ago* Iterator.cs: fixed UnionIterator.SetCurrent method, the navigators may be from...
Vladimir Krasnov [Wed, 23 Nov 2005 17:32:01 +0000 (17:32 -0000)]
* Iterator.cs: fixed UnionIterator.SetCurrent method, the navigators may be from different xml files.

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

18 years ago* Iterator.cs: fixed SimpleSlashIterator.MoveNextCore method, the navigators may...
Vladimir Krasnov [Wed, 23 Nov 2005 17:25:05 +0000 (17:25 -0000)]
* Iterator.cs: fixed SimpleSlashIterator.MoveNextCore method, the navigators may be from different xml files.

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

18 years ago* XslKey.cs: fixed KeyIndexTable.Evaluate method, changed XPathNavigator given to...
Vladimir Krasnov [Wed, 23 Nov 2005 16:56:16 +0000 (16:56 -0000)]
* XslKey.cs: fixed KeyIndexTable.Evaluate method, changed XPathNavigator given to GetNodesByValue()
* ignore.lst: adeed Keys__91835, idkey_idkey18, idkey_idkey50 because failed in .NET

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

18 years ago2005-11-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Nov 2005 15:44:12 +0000 (15:44 -0000)]
2005-11-23  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.GetProperty): Make this public.

* generic.cs (Nullable.NullableInfo.ctor): Use
TypeManager.GetProperty() rather than using reflection directly.

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

18 years ago2005-11-23 Senganal T <tsenganal@novell.com>
Senganal T [Wed, 23 Nov 2005 14:15:11 +0000 (14:15 -0000)]
2005-11-23  Senganal T  <tsenganal@novell.com>

* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsComm.cs :
- ResizeOutBuf : Modified to shrink the output buffer if
the block size is reduced. Fixed bug #76778
* System.Data/Test/ProviderTests/System.Data.SqlClient/SqlCommandTest.cs :
- Added testcases for bug #76778

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

18 years agodo not import empty namespaces.
Konstantin Triger [Wed, 23 Nov 2005 12:53:57 +0000 (12:53 -0000)]
do not import empty namespaces.

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

18 years ago2005-11-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 23 Nov 2005 12:40:58 +0000 (12:40 -0000)]
2005-11-23  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Virtualized some methods (like Dispose). Fix
bug #76801.

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

18 years ago2005-11-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 23 Nov 2005 12:40:13 +0000 (12:40 -0000)]
2005-11-23  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Synched with corlib version (IV behaviour for
NET_2_0). Virtualized some methods (like Dispose). Fix bug #76801.

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

18 years ago2005-11-23 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Wed, 23 Nov 2005 11:01:56 +0000 (11:01 -0000)]
2005-11-23  Raja R Harinath  <rharinath@novell.com>
    Ankit Jain  <jankit@novell.com>

* loader.c (mono_get_method_from_token): Initialize 'method' field
of all generic parameters before parsing the signature.  Remove
code that "fixed"-up MVAR references.

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

18 years ago* test-33.il:
Ankit Jain [Wed, 23 Nov 2005 10:46:19 +0000 (10:46 -0000)]
* test-33.il:
* test-34.il: New. Tests for custom attributes on type parameters.

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

18 years ago* get.c (get_methodspec): Use mono_get_method_full so as to handle
Ankit Jain [Wed, 23 Nov 2005 10:29:25 +0000 (10:29 -0000)]
* get.c (get_methodspec): Use mono_get_method_full so as to handle
methodspecs that refer to generic methods in other assemblies.

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

18 years agomono/dis:
Ankit Jain [Wed, 23 Nov 2005 09:52:33 +0000 (09:52 -0000)]
mono/dis:
* dump.c (has_cattr_get_table): Handle GenericParam.
* get.c (dis_get_custom_attrs): Likewise.
* main.c (dump_cattrs_for_type_params): New. Dump custom attributes
for type parameters.
(dis_method_list): Call dump_cattrs_for_type_params.
(dis_type): Likewise.

mono/dis/tests:
* gen-cattr.cs: New test case for custom attributes on
type parameters.

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

18 years ago* metadata.c (mono_metadata_has_generic_params):
Ankit Jain [Wed, 23 Nov 2005 09:50:20 +0000 (09:50 -0000)]
* metadata.c (mono_metadata_has_generic_params):
(mono_metadata_load_generic_param_constraints):
(mono_metadata_load_generic_params): Move duplicate code ...
(mono_metadata_get_generic_param_row): ... here. Returns the
first row-id in GenericParam table for a given owner (token).
* metadata-internals.h (mono_metadata_get_generic_param_row): Add
prototype.

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

18 years ago2005-11-23 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Wed, 23 Nov 2005 08:19:59 +0000 (08:19 -0000)]
2005-11-23  Raja R Harinath  <rharinath@novell.com>
    Ankit Jain  <jankit@novell.com>

* metadata.c (mono_metadata_class_equal): Pass signature_only when
comparing VARs too.
* icall.c (ves_icall_MonoType_get_DeclaringMethod): Look at
type->data.generic_param only if the type is an MVAR.
(ves_icall_MonoMethod_GetGenericArguments): Ensure that we don't
leak owner-less VARs and MVARs into managed space.

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

18 years agoBling fix to #76607
Miguel de Icaza [Wed, 23 Nov 2005 04:16:38 +0000 (04:16 -0000)]
Bling fix to #76607

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

18 years ago * Hwnd.cs: Don't compute the menu size for
Jackson Harper [Wed, 23 Nov 2005 02:18:46 +0000 (02:18 -0000)]
* Hwnd.cs: Don't compute the menu size for
DefaultClientRectangle.
- Reenable menu sizes being computed for GetClienRectangle.
* Form.cs: Remove comment of trechery

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

18 years ago2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Nov 2005 00:31:37 +0000 (00:31 -0000)]
2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.

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

18 years ago2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Nov 2005 00:30:55 +0000 (00:30 -0000)]
2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebServiceCompiler.cs: fixed caching for web handlers.

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

18 years ago2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 22 Nov 2005 23:53:10 +0000 (23:53 -0000)]
2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* IPAddress.cs: the byte[] ctor supports length 4 in .NET 2.0.
Fixes bug #76792.

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

18 years ago2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 22 Nov 2005 23:51:50 +0000 (23:51 -0000)]
2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* IPAddressTest.cs: more tests for the byte[] ctor.

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

18 years ago * Hwnd.cs: The adjustments for the menu bar are made when it is
Jackson Harper [Tue, 22 Nov 2005 21:55:17 +0000 (21:55 -0000)]
* Hwnd.cs: The adjustments for the menu bar are made when it is
attached to the form.

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

18 years ago * Missed dependency.
Vladislav Spivak [Tue, 22 Nov 2005 21:32:24 +0000 (21:32 -0000)]
* Missed dependency.
<profile>.sources file is supporting #include directive
Usually it includes common .sources file.
Let's make it dependency of <profile>.sources

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

18 years ago2005-11-22 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Tue, 22 Nov 2005 19:50:49 +0000 (19:50 -0000)]
2005-11-22  Cesar Lopez Nataren  <cnataren@novell.com>

* Statement.cs (Return.Resolve): Added field exp_returns_void
which allow us to return a method call as the return expression
value even when the method call returns void; we emit null in such
a case.

* ast.cs (Function): switch from 'protected' to 'internal'
property HandleReturnType.

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

18 years ago2005-11-20 Jelmer Vernooij <jelmer@samba.org>
Alexandre Rocha Lima e Marcondes [Tue, 22 Nov 2005 19:13:28 +0000 (19:13 -0000)]
2005-11-20 Jelmer Vernooij <jelmer@samba.org>
* genericparser.cs,decl.cs,class.cs: allow members with the same
          name as their enclosing type, just like vbc does

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

18 years agoAdd CAS/unit tests for System.Security.Cryptography.X509Certificates.PublicKey class
Sebastien Pouliot [Tue, 22 Nov 2005 19:12:03 +0000 (19:12 -0000)]
Add CAS/unit tests for System.Security.Cryptography.X509Certificates.PublicKey class

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

18 years ago2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Nov 2005 19:11:30 +0000 (19:11 -0000)]
2005-11-22  Sebastien Pouliot  <sebastien@ximian.com>

* PublicKeyCas.cs: New (2.0). CAS tests.
* PublicKeyTest.cs: New (2.0). Unit tests.

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

18 years ago2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Nov 2005 19:10:05 +0000 (19:10 -0000)]
2005-11-22  Sebastien Pouliot  <sebastien@ximian.com>

* PublicKey.cs: Completed implementation for both RSA and DSA public
keys.

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

18 years ago2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Nov 2005 19:07:00 +0000 (19:07 -0000)]
2005-11-22  Sebastien Pouliot  <sebastien@ximian.com>

* DSATest.cs: Added test case where J isn't imported. In this case we
don't export (our internally calculated) J and it's also not part of
the XML output.

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

18 years ago2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Nov 2005 19:05:17 +0000 (19:05 -0000)]
2005-11-22  Sebastien Pouliot  <sebastien@ximian.com>

* DSAManaged.cs: Don't output J in the XML if it's not exported (i.e.
if it wasn't imported too but instead calculated from the other
parameters ;-).

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

18 years ago2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Nov 2005 19:03:58 +0000 (19:03 -0000)]
2005-11-22  Sebastien Pouliot  <sebastien@ximian.com>

* DSAManaged.cs: Don't export J if it wasn't imported (i.e. it was
calculated from the other parameters).

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

18 years ago2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Nov 2005 18:43:09 +0000 (18:43 -0000)]
2005-11-22  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedData.cs: Create a new Oid instance _only_ if the supplied
Oid isn't null.

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

18 years ago2005-11-22 Massimiliano Mantione <massi@ximian.com>
Massimiliano Mantione [Tue, 22 Nov 2005 18:38:42 +0000 (18:38 -0000)]
2005-11-22  Massimiliano Mantione  <massi@ximian.com>

        * aliasing.c: Fixed aliasing issue on 64 bit archs.

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

18 years ago2005-11-19 Jelmer Vernooij <jelmer@samba.org>
Alexandre Rocha Lima e Marcondes [Tue, 22 Nov 2005 18:06:41 +0000 (18:06 -0000)]
2005-11-19 Jelmer Vernooij <jelmer@samba.org>
  * mb-parser.jay: fix error handling when array modifiers are
          specified on both type and variable name

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

18 years ago2005-11-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Nov 2005 17:19:45 +0000 (17:19 -0000)]
2005-11-22  Atsushi Enomoto  <atsushi@ximian.com>

* ASCIIEncoding.cs, Latin1Encoding.cs : added EncoderFallback support.
* Encoding.cs : changed default fallback selection. Seems like only
  ASCII and GB18030 uses '?' for replacement.
* UTF8Encoding.cs : now that Fallback is read only by default, we
  need special setter.

* EncoderReplacementFallbackTest.cs :
  Added Latin1 replacement test.
  Updated some test results changed from beta2 to RTM.
* DecoderReplacementFallbackTest.cs : the same updates.

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

18 years agoset inner exception.
Konstantin Triger [Tue, 22 Nov 2005 15:34:46 +0000 (15:34 -0000)]
set inner exception.

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

18 years agoset inner exception.
Konstantin Triger [Tue, 22 Nov 2005 15:33:26 +0000 (15:33 -0000)]
set inner exception.

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

18 years agoAdd CAS/unit tests for System.Security.Permissions
Sebastien Pouliot [Tue, 22 Nov 2005 14:39:37 +0000 (14:39 -0000)]
Add CAS/unit tests for System.Security.Permissions

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

18 years ago2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Nov 2005 14:37:51 +0000 (14:37 -0000)]
2005-11-22  Sebastien Pouliot  <sebastien@ximian.com>

* StorePermission.cs: Fix a few bugs (flags/union) and a strange
behaviour where Copy can return null (reported as FDBK40928).

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

18 years ago2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Nov 2005 14:36:31 +0000 (14:36 -0000)]
2005-11-22  Sebastien Pouliot  <sebastien@ximian.com>

* ResourcePermissionBaseCas.cs: New. CAS tests.
* ResourcePermissionBaseEntryCas.cs: New. CAS tests.
* StorePermissionAttributeCas.cs: New (2.0). CAS tests.
* StorePermissionCas.cs: New (2.0). CAS tests.
* StorePermissionTest.cs: New (2.0). Unit tests.

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

18 years agoTARGET_JVM build changes
Konstantin Triger [Tue, 22 Nov 2005 14:29:51 +0000 (14:29 -0000)]
TARGET_JVM build changes

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

18 years agonew tests.
Marek Safar [Tue, 22 Nov 2005 12:19:20 +0000 (12:19 -0000)]
new tests.

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

18 years agonew test
Marek Safar [Tue, 22 Nov 2005 11:53:36 +0000 (11:53 -0000)]
new test

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

18 years ago2005-11-22 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 22 Nov 2005 11:51:18 +0000 (11:51 -0000)]
2005-11-22  Marek Safar  <marek.safar@seznam.cz>

Fix #76783.
* class.cs (MethodData.Emit): Parameters should be labeled first.

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

18 years ago2005-11-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Nov 2005 04:18:35 +0000 (04:18 -0000)]
2005-11-22  Atsushi Enomoto  <atsushi@ximian.com>

* XslCompiledTransform.cs : added non-compiler transformer (aka. stub).

* System.Xml.dll.sources : added dummy XslCompiledTransform.cs.

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

18 years ago2005-11-18 Jelmer Vernooij <jelmer@samba.org>
Alexandre Rocha Lima e Marcondes [Tue, 22 Nov 2005 04:18:32 +0000 (04:18 -0000)]
2005-11-18 Jelmer Vernooij <jelmer@samba.org>
  * mb-tokenizer.cs: add fix so the tokenizer no longer parses
  label names at the start of continuation lines

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

18 years ago2005-11-21 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Tue, 22 Nov 2005 01:56:30 +0000 (01:56 -0000)]
2005-11-21  Cesar Lopez Nataren  <cnataren@novell.com>

* Statement.cs (class Switch): Preserve the value of
EmitContext.LoopEnd as can be overriden in nested blocks, for
example in a switch statement inside a for-loop.

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

18 years ago2005-11-16 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Alexandre Rocha Lima e Marcondes [Tue, 22 Nov 2005 01:34:43 +0000 (01:34 -0000)]
2005-11-16 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* mb-parser.jay: Do not create a set_block with ReadOnly Properties.
* typemanager.cs: Search for correct DefaultPropName and the class
 Type that contains the Default Property.
* expression.cs: Send the correct Type for porperties search;
Fix Error with uses of default properties without a Default Property
 definition.

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

18 years ago2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 21:34:42 +0000 (21:34 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspParser.cs: don't change case for verbatim IDs.
Fixes bug #76657.

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

18 years ago2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 20:45:14 +0000 (20:45 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CheckBox.cs: use the NameAttribute property for setting 'name'.
* RadioButton.cs: get a UniqueID based identifier for 'name'.
Fixes bug #76710.

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

18 years ago2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 20:43:26 +0000 (20:43 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* RadioButtonTest.cs: more tests for the 'name' attribute.

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

18 years ago2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 19:12:16 +0000 (19:12 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebROCollection.cs: override ToString and generate a query string from
the key/value pairs. Fixes bug #76779.

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

18 years ago2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 18:41:45 +0000 (18:41 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlInputButton.cs: render the onclick attribute only when the
button is a 'submit' and no validators or when the button is a
'button' and there's a registered ServerClick event. Fixes bug #76781.

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

18 years ago2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 18:39:12 +0000 (18:39 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlInputButtonTest.cs: more tests for 'onclick'.

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

18 years agoAdd CAS/unit tests for System.Text.RegularExpressions
Sebastien Pouliot [Mon, 21 Nov 2005 18:37:44 +0000 (18:37 -0000)]
Add CAS/unit tests for System.Text.RegularExpressions

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

18 years ago2005-11-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 21 Nov 2005 18:37:01 +0000 (18:37 -0000)]
2005-11-21  Sebastien Pouliot  <sebastien@ximian.com>

* CaptureCas.cs: New. CAS tests.
* CaptureCollectionCas.cs: New. CAS tests.
* GroupCas.cs: New. CAS tests.
* GroupCollectionCas.cs: New. CAS tests.
* GroupTest.cs: New. Unit tests.
* MatchCas.cs: New. CAS tests.
* MatchCollectionCas.cs: New. CAS tests.
* MatchTest.cs: New. Unit tests.
* RegexCas.cs: New. CAS tests.
* RegexCompilationInfoCas.cs: New. CAS tests.
* RegexCompilationInfoTest.cs: New. Unit tests.
* RegexRunnerCas.cs: New. CAS tests.
* RegexRunnerFactoryCas.cs: New. CAS tests.
* RegexTest.cs: Added test cases for new (2.0) CacheSize property.

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

18 years ago2005-11-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 21 Nov 2005 18:33:35 +0000 (18:33 -0000)]
2005-11-21  Sebastien Pouliot  <sebastien@ximian.com>

* CaptureCollection.cs: Fixed length check.
* Group.cs: Added missing validation for Synchronized method.
* Match.cs: Added missing validation for Synchronized and Result
methods.
* MatchEvaluator.cs: Added [Serializable] for 2.0 profile.
* RegexCompilationInfo.cs: Added missing property validation.
* Regex.cs: Implemented UseOptionC and UseOptionR protected methods
(now documented). Fixed API for 2.0 profile.
* RegexRunner.cs: Stubbed CharInClass for 2.0 profile.

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

18 years ago2005-11-21 Senganal T <tsenganal@novell.com>
Senganal T [Mon, 21 Nov 2005 14:44:27 +0000 (14:44 -0000)]
2005-11-21  Senganal T   <tsenganal@novell.com>

* OracleCommandBuilder.cs :
- ApplyParameterInfo - modified the args list
- GetParameterName (string) - added
Changes for ado.net 2.0 api compatibility

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

18 years ago2005-11-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Nov 2005 14:23:03 +0000 (14:23 -0000)]
2005-11-21  Martin Baulig  <martin@ximian.com>

* class-internals.h
(MonoMethod): Moved the `generic_container' here from
`MonoMethodNormal' since we now also need it for
`MonoMethodPInvoke';
(MonoMethodNormal): Moved the `generic_container' to `MonoMethod'.
(MonoMethodInflated): Replaced the `MonoMethodNormal nmethod' with
an union containing both `MonoMethodNormal' and
`MonoMethodPInvoke'.

* loader.c
(mono_get_method_from_token): Allow implementing generic methods
as interncalls.

* threads.c
(ves_icall_System_Threading_Interlocked_CompareExchange_T): New
icall.

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

18 years ago* Metadata.cs (MetaData.WriteCodedIndex): Fix indentation.
Ankit Jain [Mon, 21 Nov 2005 14:04:10 +0000 (14:04 -0000)]
* Metadata.cs (MetaData.WriteCodedIndex): Fix indentation.

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

18 years ago* Metadata.cs (GenericParameter.SortKey2): New. Use index as the secondary key.
Ankit Jain [Mon, 21 Nov 2005 13:50:50 +0000 (13:50 -0000)]
* Metadata.cs (GenericParameter.SortKey2): New. Use index as the secondary key.
(GenericParameter.Size): Set size correctly.
(GenericParameter.Write): Use StringsIndex to write the index.
(MetaData.WriteTildeStream): Emit 2,0 as version for NET_2_0 profile.
(MetaData.version): Use 'v2.0.50727' for NET_2_0 profile.
(MetaData.BuildMetaData): Build and sort GenericParam, MethodSpec and
GenericParamConstraint tables only for NET_2_0 profile.

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

18 years ago2005-11-21 Senganal T <tsenganal@novell.com>
Senganal T [Mon, 21 Nov 2005 13:50:02 +0000 (13:50 -0000)]
2005-11-21 Senganal T   <tsenganal@novell.com>
        * Dns.cs : corrected a mistake in GetHostEntry ()

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

18 years ago2005-11-21 Senganal T <tsenganal@novell.com>
Senganal T [Mon, 21 Nov 2005 13:08:48 +0000 (13:08 -0000)]
2005-11-21 Senganal T <tsenganal@novell.com>

        * System/System.Net/Dns.cs : added GetHostEntry() method for 2.0 api conformance
* System.Data/System.Data.ProviderBase/DbParameterCollectionBase.cs
- Marked CheckName method as virtual
* System.Data/System.Data.ProviderBase/DbParameterBase.cs
- Marked Offset property and CopyTo method as virtual
* System.Data/System.Data.Common/DbMetaDataCollectionNames.cs (new file)
- Added DbMetaDataCollectionNames Enumeration
* System.Data/System.Data.dll.sources:
- Added System.Data/ConflictOption.cs : Source file for ConflictOption
enumeration.
* System.Data/System.Data/ConflictOption.cs (new file)
- Added ConflictOption Enumeration
* System.Data/System.Data/DataTableReader.cs
* System.Data/System.Data/IDataRecord2.cs
- GetProviderSpecificFieldType : Corrected the method name
* System.Data/System.Data.Common/DbDataAdapter.cs
* System.Data/System.Data.Common/DbParameter.cs
* System.Data/System.Data.Common/DbTransaction.cs
* System.Data/System.Data.Common/DbTable.cs
* System.Data/System.Data.Common/DbProviderFactories.cs
* System.Data/System.Data.Common/DbException.cs
* System.Data/System.Data.Common/DbProviderFactory.cs
* System.Data/System.Data.Common/DbCommandBuilder.cs
* System.Data/System.Data.Common/DbDataReader.cs
* System.Data/System.Data.Common/DbParameterCollection.cs
* System.Data/System.Data.SqlClient/SqlClientFactory.cs
* System.Data/System.Data.SqlClient/SqlCommandBuilder.cs
* System.Data/System.Data.SqlClient/SqlParameterCollection.cs
* System.Data/System.Data.SqlClient/SqlDataReader.cs
* System.Data/System.Data.SqlClient/SqlDataAdapter.cs
* System.Data/System.Data.SqlClient/SqlParameter.cs
* System.Data/System.Data.SqlClient/SqlTransaction.cs
* System.Data/System.Data.Odbc/OdbcTransaction.cs
* System.Data/System.Data.Odbc/OdbcCommandBuilder.cs
* System.Data/System.Data.Odbc/OdbcParameterCollection.cs
* System.Data/System.Data.Odbc/OdbcDataReader.cs
* System.Data/System.Data.Odbc/OdbcFactory.cs
* System.Data/System.Data.Odbc/OdbcDataAdapter.cs
* System.Data/System.Data.Odbc/OdbcParameter.cs

Added stubs and other changes for ADO.NET 2.0 compatibility

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

18 years ago* scripts/Makefile.am (bin_SCRIPTS): Move 'gmcs' to ...
Raja R Harinath [Mon, 21 Nov 2005 09:04:17 +0000 (09:04 -0000)]
* scripts/Makefile.am (bin_SCRIPTS): Move 'gmcs' to ...
(scripts_2_0): ... here.
(gmcs): Remove special-case rule.

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

18 years ago* Makefile (net_2_0_bootstrap_SUBDIRS): Add ilasm.
Raja R Harinath [Mon, 21 Nov 2005 09:03:18 +0000 (09:03 -0000)]
* Makefile (net_2_0_bootstrap_SUBDIRS): Add ilasm.
(net_2_0_SUBDIRS): Likewise.
* class/Makefile (net_2_0_bootstrap_SUBDIRS): Add PEAPI.
(net_1_1_java_SUBDIRS): New.  Don't use 'ifeq ($(PROFILE))' to
define SUBDIRS.
* class/Microsoft.VisualBasic/Makefile (bootstrap_profile): New.  Defines
the bootstrap profile associated with the current profile.
(ilasm, ILASM): Use it.
($(the_il)): Don't be too eager to delete temporary files.

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

18 years ago2005-11-21 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 21 Nov 2005 08:02:45 +0000 (08:02 -0000)]
2005-11-21  Marek Safar  <marek.safar@seznam.cz>

Fix #76761.
* parameter.cs (Parameter.ApplyAttributeBuilder): Fixed `ref' detection.

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

18 years ago2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 07:26:50 +0000 (07:26 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpServerUtility.cs: prevent possible nullref in GetLastError().

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

18 years agoMake line-endings uniform
Raja R Harinath [Mon, 21 Nov 2005 06:05:42 +0000 (06:05 -0000)]
Make line-endings uniform

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

18 years ago2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 20 Nov 2005 23:12:39 +0000 (23:12 -0000)]
2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* CP949.cs : UHC level 2 base number is wrong.
  Fixed bug #76760 Patch by Hye-Shik Chang.

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

18 years ago* CodeParameterDeclarationExpressionCollection.cs: Use CollectionBase
Gert Driesen [Sun, 20 Nov 2005 18:46:58 +0000 (18:46 -0000)]
* CodeParameterDeclarationExpressionCollection.cs: Use CollectionBase
implementation of IList.Remove to handle removal of item from
collection.
* CodeCatchClauseCollection.cs: Same.
* CodeStatementCollection.cs: Same.
* CodeAttributeDeclarationCollection.cs: Same.
* CodeTypeMemberCollection.cs: Same.
* CodeDirectiveCollection.cs: Same.
* CodeTypeDeclarationCollection.cs: Same.
* CodeNamespaceCollection.cs: Same.
* CodeExpressionCollection.cs: Same.
* CodeTypeReferenceCollection.cs: Same.
* CodeTypeParameterCollection.cs: Same.
* CodeCommentStatementCollection.cs: Same.
* CodeAttributeArgumentCollection.cs: Same.
* CodeTypeParameterCollectionTest.cs: Improve coverage of AddRange
test. Added Remove tests.
* CodeParameterDeclarationExpressionCollectionTest.cs: Same.
* CodeCatchClauseCollectionTest.cs: Same.
* CodeStatementCollectionTest.cs: Same.
* CodeTypeMemberCollectionTest.cs: Same.
* CodeExpressionCollectionTest.cs: Same.
* CodeTypeReferenceCollectionTest.cs: Same.
* CodeCommentStatementCollectionTest.cs: Same.
* CodeAttributeArgumentCollectionTest.cs: Same.
* CodeAttributeDeclarationCollectionTest.cs: Same.
* CodeDirectiveCollectionTest.cs: Same.
* CodeTypeDeclarationCollectionTest.cs: Same.
* CodeNamespaceCollectionTest.cs: Same.

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

18 years ago2005-11-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 20 Nov 2005 18:34:30 +0000 (18:34 -0000)]
2005-11-20  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c exceptions-ia64.c: Simplify the way filters/finally
handlers are called.

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

18 years ago* CodeEventReferenceExpression.cs: Set eol-style to native.
Gert Driesen [Sun, 20 Nov 2005 17:38:12 +0000 (17:38 -0000)]
* CodeEventReferenceExpression.cs: Set eol-style to native.
* CodeArgumentReferenceExpression.cs: Set eol-style to native.
* CodeParameterDeclarationExpressionCollection.cs: Set eol-style to native.
* CodeRegionMode.cs: Set eol-style to native.
* FieldDirection.cs: Set eol-style to native.
* CodeChecksumPragma.cs: Set eol-style to native.
* CodeCatchClauseCollection.cs: Set eol-style to native.
* CodeAttachEventStatement.cs: Set eol-style to native.
* CodeSnippetCompileUnit.cs: Set eol-style to native.
* CodeNamespace.cs: Set eol-style to native.
* CodePropertySetValueReferenceExpression.cs: Set eol-style to native.
* CodeTypeReference.cs: Set eol-style to native.
* CodeDirectionExpression.cs: Set eol-style to native.
* CodeThisReferenceExpression.cs: Set eol-style to native.
* CodeSnippetStatement.cs: Set eol-style to native.
* CodeMemberMethod.cs: Set eol-style to native.
* CodeMemberProperty.cs: Set eol-style to native.
* CodeEntryPointMethod.cs: Set eol-style to native.
* CodeTypeReferenceOptions.cs: Set eol-style to native.
* CodeIndexerExpression.cs: Set eol-style to native.
* CodeCatchClause.cs: Set eol-style to native.
* CodeStatementCollection.cs: Set eol-style to native.
* CodeRegionDirective.cs: Set eol-style to native.
* CodeTypeParameter.cs: Set eol-style to native.
* CodeIterationStatement.cs: Set eol-style to native.
* CodeRemoveEventStatement.cs: Set eol-style to native.
* CodeVariableReferenceExpression.cs: Set eol-style to native.
* CodeAttributeDeclarationCollection.cs: Set eol-style to native.
* CodeTryCatchFinallyStatement.cs: Set eol-style to native.
* CodeTypeMemberCollection.cs: Set eol-style to native.
* CodeCompileUnit.cs: Set eol-style to native.
* CodePrimitiveExpression.cs: Set eol-style to native.
* CodeDirectiveCollection.cs: Fixed line endings. Set eol-style to native.
* CodeTypeDeclarationCollection.cs: Set eol-style to native.
* CodeNamespaceImportCollection.cs: Set eol-style to native.
* CodeNamespaceCollection.cs: Set eol-style to native.
* CodeTypeMember.cs: Set eol-style to native.
* CodeAttributeDeclaration.cs: Set eol-style to native.
* CodeConditionStatement.cs: Set eol-style to native.
* CodeExpressionCollection.cs: Set eol-style to native.
* CodeTypeReferenceCollection.cs: Set eol-style to native.
* CodeSnippetTypeMember.cs: Set eol-style to native.
* CodeDelegateCreateExpression.cs: Set eol-style to native.
* CodeLinePragma.cs: Set eol-style to native.
* CodeMethodReferenceExpression.cs: Set eol-style to native.
* CodeVariableDeclarationStatement.cs: Set eol-style to native.
* CodeTypeReferenceExpression.cs: Set eol-style to native.
* CodeArrayCreateExpression.cs: Set eol-style to native.
* CodeFieldReferenceExpression.cs: Set eol-style to native.
* CodePropertyReferenceExpression.cs: Set eol-style to native.
* CodeTypeDeclaration.cs: Set eol-style to native.
* CodeTypeConstructor.cs: Set eol-style to native.
* CodeNamespaceImport.cs: Set eol-style to native.
* CodeTypeParameterCollection.cs: Use for loop instead of foreach to add
elements in AddRange method. Fixed line endings. Set eol-style to native.
* CodeTypeParameterCollection.cs: Set eol-style to native.
* CodeExpression.cs: Set eol-style to native.
* CodeBinaryOperatorType.cs: Set eol-style to native.
* CodeSnippetExpression.cs: Set eol-style to native.
* CodeCommentStatementCollection.cs: Set eol-style to native.
* CodeMethodReturnStatement.cs: Set eol-style to native.
* CodeObject.cs: Set eol-style to native.
* CodeParameterDeclarationExpression.cs: Set eol-style to native.
* CodeDelegateInvokeExpression.cs: Set eol-style to native.
* CodeThrowExceptionStatement.cs: Set eol-style to native.
* CodeObjectCreateExpression.cs: Set eol-style to native.
* CodeTypeDelegate.cs: Set eol-style to native.
* CodeLabeledStatement.cs: Set eol-style to native.
* CodeArrayIndexerExpression.cs: Set eol-style to native.
* CodeBinaryOperatorExpression.cs: Set eol-style to native.
* CodeAttributeArgumentCollection.cs: Set eol-style to native.
* MemberAttributes.cs: Set eol-style to native.
* CodeExpressionStatement.cs: Set eol-style to native.
* CodeConstructor.cs: Set eol-style to native.
* CodeTypeOfExpression.cs: Set eol-style to native.
* CodeCommentStatement.cs: Set eol-style to native.
* CodeGotoStatement.cs: Set eol-style to native.
* CodeComment.cs: Set eol-style to native.
* CodeStatement.cs: Set eol-style to native.
* CodeMemberEvent.cs: Set eol-style to native.
* CodeBaseReferenceExpression.cs: Set eol-style to native.
* CodeAssignStatement.cs: Set eol-style to native.
* CodeCastExpression.cs: Set eol-style to native.
* CodeMemberField.cs: Set eol-style to native.
* CodeMethodInvokeExpression.cs: Set eol-style to native.
* CodeDirective.cs: Set eol-style to native.

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

18 years ago* CodeTypeParameterCollectionTest.cs: Added tests for ctors, and
Gert Driesen [Sun, 20 Nov 2005 17:21:40 +0000 (17:21 -0000)]
* CodeTypeParameterCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeCatchClauseCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeStatementCollectionTest.cs: Added AddRange test for null item.
* CodeTypeMemberCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeCommentStatementCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeAttributeArgumentCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeAttributeDeclarationCollectionTest.cs: Added tests for ctors,
and Add/AddRange/Insert methods.
* CodeDirectiveCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeTypeDeclarationCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeNamespaceImportCollectionTest.cs: Added tests for ctor, Add and
AddRange methods.
* CodeNamespaceCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeCatchClauseCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeAttributeDeclarationCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeTypeMemberCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeTypeDeclarationCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeNamespaceImportCollection.cs: Added null check to Add and perform
case-insensitive check on namespace to avoid duplicate namespace
imports. Added null check to AddRange method.
* CodeNamespaceCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeCommentStatementCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeAttributeArgumentCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeDirectiveCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeTypeParameterCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* System_test.dll.sources: Added CodeNamespaceImportCollectionTest.cs,
CodeNamespaceCollectionTest.cs, CodeTypeDeclarationCollectionTest.cs,
CodeTypeMemberCollectionTest.cs, CodeTypeParameterCollectionTest.cs,
CodeAttributeArgumentCollectionTest.cs, CodeDirectiveCollectionTest.cs,
CodeAttributeDeclarationCollectionTest.cs,
CodeCatchClauseCollectionTest.cs,
CodeCommentStatementCollectionTest.cs.

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

18 years ago2005-11-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 20 Nov 2005 15:14:39 +0000 (15:14 -0000)]
2005-11-20  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c (mono_arch_emit_exceptions): Optimize size of exception
throwing code.

 * mini-ia64.c: Add support for the throw->branch exception
optimization.

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

18 years ago2005-11-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 20 Nov 2005 14:04:56 +0000 (14:04 -0000)]
2005-11-20  Zoltan Varga  <vargaz@gmail.com>

* driver.c (DEFAULT_OPTIMIZATIONS): Add MONO_OPT_EXCEPTION.

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

18 years ago * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
Jackson Harper [Sat, 19 Nov 2005 21:18:50 +0000 (21:18 -0000)]
* XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
(just like on windows).

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

18 years ago2005-11-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 19 Nov 2005 18:43:56 +0000 (18:43 -0000)]
2005-11-19  Zoltan Varga  <vargaz@gmail.com>

* ArrayTest.cs: Reenable some previously not-working 2.0 tests.

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

18 years ago2005-11-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 19 Nov 2005 18:42:06 +0000 (18:42 -0000)]
2005-11-19  Zoltan Varga  <vargaz@gmail.com>

* KeyNotFoundException.cs: Add default message.

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

18 years ago2005-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 19 Nov 2005 18:41:18 +0000 (18:41 -0000)]
2005-11-17  Zoltan Varga  <vargaz@gmail.com>

* Interlocked.cs: Add generic CompareExchange and Exchange methods.

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

18 years ago2005-11-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 19 Nov 2005 18:39:24 +0000 (18:39 -0000)]
2005-11-19  Zoltan Varga  <vargaz@gmail.com>

* AssemblyBuilder.cs: Add support for setting FileVersion unmanaged
resource. Fixes #64427.

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

18 years ago2005-11-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 19 Nov 2005 18:37:36 +0000 (18:37 -0000)]
2005-11-19  Zoltan Varga  <vargaz@gmail.com>

* Win32Resources.cs: Add a new 'FileVersion' property.

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

18 years ago2005-11-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 19 Nov 2005 16:34:46 +0000 (16:34 -0000)]
2005-11-19  Zoltan Varga  <vargaz@gmail.com>

* TypeDescriptor.cs: Small changes to make this more compliant with
MSDN docs and actual MS behaviour.

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

18 years ago remove debug code.
Jackson Harper [Sat, 19 Nov 2005 08:23:56 +0000 (08:23 -0000)]
remove debug code.

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

18 years ago * MdiChildContext.cs: Handle all the buttons ourselves. We can't
Jackson Harper [Sat, 19 Nov 2005 08:14:52 +0000 (08:14 -0000)]
* MdiChildContext.cs: Handle all the buttons ourselves. We can't
use real buttons anymore because they are in non client area. The
one TODO here is that I need to somehow invalidate a section of
the non client area.

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

18 years ago2005-11-19 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 19 Nov 2005 07:03:55 +0000 (07:03 -0000)]
2005-11-19  Chris Toshok  <toshok@ximian.com>

* CompilationConfigurationHandler.cs (ReadCompilers): call
CompilerCollection.Add in the 2.0 case, as it doesn't expose a
setter indexer.

* CompilationConfiguration.cs: need this to keep things compiling,
even though CompilationConfiguration doesn't need to be used in
the 2.0 case.

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

18 years ago2005-11-19 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 19 Nov 2005 06:56:05 +0000 (06:56 -0000)]
2005-11-19  Chris Toshok  <toshok@ximian.com>

* Compiler.cs: wrap in #if !NET_2_0 and remove a lot of stubs that
now exist in System.Web.Configuration_2.0.

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

18 years agoadd System.Web.Configuration_2.0/Compiler{Collection}.cs
Chris Toshok [Sat, 19 Nov 2005 05:38:47 +0000 (05:38 -0000)]
add System.Web.Configuration_2.0/Compiler{Collection}.cs

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

18 years ago2005-11-18 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 19 Nov 2005 05:33:23 +0000 (05:33 -0000)]
2005-11-18  Chris Toshok  <toshok@ximian.com>

* CompilerCollection.cs: wrap in #if !NET_2_0, and remove a lot of
stubs that now exist in System.Web.Configuration_2.0.

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

18 years agoback out change
Chris Toshok [Sat, 19 Nov 2005 04:10:50 +0000 (04:10 -0000)]
back out change

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

18 years ago - Get the move start position before adjusting for the titlebar
Jackson Harper [Sat, 19 Nov 2005 03:43:50 +0000 (03:43 -0000)]
- Get the move start position before adjusting for the titlebar
height, this fixes the windows "skipping" when they are first
moved.

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

18 years ago * Control.cs: Put the enum check back in now that MDI doesnt have
Jackson Harper [Sat, 19 Nov 2005 03:37:19 +0000 (03:37 -0000)]
* Control.cs: Put the enum check back in now that MDI doesnt have
to use this to set border styles.
* Form.cs: Only set mdi child windows borders if the handle has
been created.
* MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
this directly on to the driver.

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

18 years ago2005-11-18 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 19 Nov 2005 01:39:42 +0000 (01:39 -0000)]
2005-11-18  Chris Toshok  <toshok@ximian.com>

* HostingEnvironmentSection.cs (.cctor): add validators.

* CompilationSection.cs (.cctor): fix defaultvalue of
urlLinePragmas.

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

18 years ago2005-11-18 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 19 Nov 2005 00:50:57 +0000 (00:50 -0000)]
2005-11-18  Chris Toshok  <toshok@ximian.com>

* ProfileModule.cs: hook up saving of the request's profile.

* ProfileBase.cs (Save): call base.Save instead of throwing NIE.

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

18 years ago2005-11-18 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 19 Nov 2005 00:47:09 +0000 (00:47 -0000)]
2005-11-18  Chris Toshok  <toshok@ximian.com>

* SystemWebSectionGroup.cs: enable a whole slew of properties.

* RegexWorker.cs: stub this out.

* HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
of the other partial files.

* CompilationSection.cs: fix this up.

* PagesSection.cs: fix some types and add a comment to
DeserializeSection.

* CompilerCollection.cs (Add): new internal method.

* ProvidersHelper.cs: put the using System.Configuration.Provider
inside the NET_2_0 block.

* CacheSection.cs: add validators.

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

18 years ago * XplatUIX11.cs: Just compute the mdi borders separately as they
Jackson Harper [Fri, 18 Nov 2005 23:37:20 +0000 (23:37 -0000)]
* XplatUIX11.cs: Just compute the mdi borders separately as they
don't totally match up with normal form borders.

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