mono.git
16 years ago2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 6 Aug 2007 15:46:33 +0000 (15:46 -0000)]
2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>

* DataSourceView.cs: fixed:
view raises onchange event when datasource is chenged.

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

* DataSourceViewTest.cs:
Added new test.

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

* AccessDataSource.cs: does not subscribed on view changed event.
* ObjectDataSource.cs: fixed state management.
* SqlDataSource.cs: fixed state management.

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

16 years ago2007-08-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 6 Aug 2007 15:20:49 +0000 (15:20 -0000)]
2007-08-06  Rodrigo Kumpera  <rkumpera@novell.com>

* AssemblyResourceLoader.cs: use the right static constructor name
if SYSTEM_WEB_EXTENSIONS is defined.

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

16 years ago2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 6 Aug 2007 14:45:58 +0000 (14:45 -0000)]
2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs: fixed: control ID management.

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

* ControlTest.cs:
Added new tests.

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

* DataGridTest.cs:
* DetailsViewTest.cs:
fixed tests.

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

16 years ago* AssemblyResourceLoader.cs: performance optimization, caching urls for built-in...
Vladimir Krasnov [Mon, 6 Aug 2007 13:48:36 +0000 (13:48 -0000)]
* AssemblyResourceLoader.cs: performance optimization, caching urls for built-in resources
fixed CacheControl, should be private
added HttpException if resource is not found

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

16 years agoupdate tests
Jb Evain [Mon, 6 Aug 2007 12:32:57 +0000 (12:32 -0000)]
update tests

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

16 years ago2007-08-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 6 Aug 2007 07:55:46 +0000 (07:55 -0000)]
2007-08-06  Marek Habersack  <mhabersack@novell.com>

* AspComponentFoundry.cs: properly add new foundry if the
corresponding entry in the foundries collection is a Queue. Patch
from Juraj Skripsky <juraj@hotfeet.ch>, thanks! Fixes bug #82285.

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

16 years ago2007-08-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Aug 2007 07:48:23 +0000 (07:48 -0000)]
2007-08-06  Atsushi Enomoto  <atsushi@ximian.com>

* PerformanceCounterCategory.cs PerformanceCounter.cs :
  added missing 2.0 stuff (unimplemented, where things are anyways
  unimplemented in 1.x layer).

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

16 years ago2007-08-06 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Mon, 6 Aug 2007 07:17:20 +0000 (07:17 -0000)]
2007-08-06  Nagappan A  <anagappan@novell.com>

* SqlCommand.cs, SqlDataReader.cs, SqlConnection.cs: When the
server resets the connection, now the client code also disconnects
the session and remove the instance from pool. Fixes bug # 81933.

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

16 years ago2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 6 Aug 2007 07:16:55 +0000 (07:16 -0000)]
2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs: refactoring: code formatting only.

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

16 years ago2007-08-06 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Mon, 6 Aug 2007 07:16:37 +0000 (07:16 -0000)]
2007-08-06  Nagappan A  <anagappan@novell.com>

* TdsComm.cs (TdsComm): Now connects to the SqlServer in Async
mode. Fixes bug # 81934.

* Tds.cs (ProcessEnvironmentChange): Gets the server locale to use
them when required. Fixes bug # 82047.
When the server resets the connection, now the client code also
disconnects the session and remove the instance. Fixes bug #
81933.
Added new protected property Locale.

* TdsEnvPacketSubType.cs (Locale): Added new enumerator
entry. This gets the Locale type of SqlServer. Fixes bug # 82047.

* Tds70.cs (FormatParameter): Fixes the error when trying to add a
row with a DateTime field into an Italian SqlServer, bug # 82047.

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

16 years ago2007-08-06 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Mon, 6 Aug 2007 07:00:57 +0000 (07:00 -0000)]
2007-08-06  Nagappan A  <anagappan@novell.com>

* DataTableTest.cs (Bug55978): In some cases this test case was
failing with Invalid Date format. So modified the testcase to use
invariant culture for DateTime.

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

16 years ago2007-08-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Aug 2007 05:40:47 +0000 (05:40 -0000)]
2007-08-06  Atsushi Enomoto  <atsushi@ximian.com>

* PerformanceCounterInstanceLifetime.cs
  PerformanceCounterCategoryType.cs : new.
* ICollectData.cs ProcessStartInfo.cs
  InstanceDataCollectionCollection.cs PerformanceCounter.cs
  InstanceDataCollection.cs Process.cs :
  cosmetic attributes cleanup.

* System.dll.sources : added PerformanceCounterInstanceLifetime.cs
  and PerformanceCounterCategoryType.cs.

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

16 years ago2007-08-05 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 5 Aug 2007 16:49:09 +0000 (16:49 -0000)]
2007-08-05  Miguel de Icaza  <miguel@novell.com>

* data/Makefile.am (pkgconfig_DATA): Move the pc.in files to the
data directory to keep the toplevel directory clean.

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

16 years agoup
Miguel de Icaza [Sun, 5 Aug 2007 16:44:00 +0000 (16:44 -0000)]
up

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

16 years ago2007-08-04 William Holmes <billholmes54@gmail.com>
Bill Holmes [Sun, 5 Aug 2007 16:11:36 +0000 (16:11 -0000)]
2007-08-04  William Holmes  <billholmes54@gmail.com>

* AppDomainTest.cs: Adding username to tempDir to avoid file access
 permissions.

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

16 years ago* HtmlHead.cs: refactoring, used AddAttribute overload without encoding on known...
Vladimir Krasnov [Sun, 5 Aug 2007 14:32:16 +0000 (14:32 -0000)]
* HtmlHead.cs: refactoring, used AddAttribute overload without encoding on known attribute values

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

16 years ago* Button.cs, DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs, RegularExpressio...
Vladimir Krasnov [Sun, 5 Aug 2007 14:30:23 +0000 (14:30 -0000)]
* Button.cs, DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs, RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs, TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs, BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs, RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs, ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs: refactoring, used AddAttribute overload without encoding on known attribute values

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

16 years ago* HtmlTextWriter.cs: performance refactoring, optimized AddAttribute overloads, used...
Vladimir Krasnov [Sun, 5 Aug 2007 12:39:00 +0000 (12:39 -0000)]
* HtmlTextWriter.cs: performance refactoring, optimized AddAttribute overloads, used StringComparer for tag, styles and attrs hashtables
fixed AddAttribute, id attr should not be encoded by default

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

16 years ago* HttpUtility.cs: performance refactoring, optimized UrlEncode
Vladimir Krasnov [Sun, 5 Aug 2007 11:00:51 +0000 (11:00 -0000)]
* HttpUtility.cs: performance refactoring, optimized UrlEncode

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

16 years ago2007-08-05 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 5 Aug 2007 08:45:14 +0000 (08:45 -0000)]
2007-08-05 Igor Zelmanovich <igorz@mainsoft.com>

* SiteMapNode.cs: refactoring + typo fix:
variable is declared in scope where is used.

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

16 years ago* ServletWorkerRequest.jvm.cs: fixed _OutputStream in ServletWorkerRequest ctor
Vladimir Krasnov [Sun, 5 Aug 2007 07:45:15 +0000 (07:45 -0000)]
* ServletWorkerRequest.jvm.cs: fixed _OutputStream in ServletWorkerRequest ctor

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

16 years agoprotect some more types for smcs
Jb Evain [Sat, 4 Aug 2007 22:05:41 +0000 (22:05 -0000)]
protect some more types for smcs

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

16 years agoadd descriptors to DIST
Jb Evain [Sat, 4 Aug 2007 21:54:58 +0000 (21:54 -0000)]
add descriptors to DIST

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

16 years ago2007-08-05 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 4 Aug 2007 21:52:27 +0000 (21:52 -0000)]
2007-08-05  Jb Evain  <jbevain@novell.com>

* Descriptors/smcs.xml, Makefile: add a descriptor
to protect some classes in smcs.

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

16 years ago2007-08-05 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 4 Aug 2007 21:51:07 +0000 (21:51 -0000)]
2007-08-05  Jb Evain  <jbevain@novell.com>

* Mono.Linker.Steps/ResolveFromXmlStep.cs:
Now the resolver deals only with assembly names
instead of fullnames.

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

16 years ago2007-08-03 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 4 Aug 2007 20:45:41 +0000 (20:45 -0000)]
2007-08-03  Jb Evain  <jbevain@novell.com>

* FileVersionInfo.cs: force the use of the params
AppendFormat method of StringBuilder as it is the only
one accessible in 2.1 and in the previous versions.

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

16 years ago2007-08-04 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 4 Aug 2007 20:33:27 +0000 (20:33 -0000)]
2007-08-04  Jb Evain  <jbevain@novell.com>

* XmlUrlResolver.cs: remove code duplication in 2.1.

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

16 years ago2007-08-04 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 4 Aug 2007 20:28:33 +0000 (20:28 -0000)]
2007-08-04  Jb Evain  <jbevain@novell.com>

* XmlTextReader.cs, XmlConvert.cs, XmlReaderBinarySupport.cs:
Use the available constructor for the 2.1 profile.

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

16 years agofix the fix
Jb Evain [Sat, 4 Aug 2007 19:58:30 +0000 (19:58 -0000)]
fix the fix

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

16 years agofix
Jb Evain [Sat, 4 Aug 2007 19:40:07 +0000 (19:40 -0000)]
fix

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

16 years agopreserve everything in ILGenerator and ModuleBuilder, so smcs can access them through...
Jb Evain [Sat, 4 Aug 2007 19:14:48 +0000 (19:14 -0000)]
preserve everything in ILGenerator and ModuleBuilder, so smcs can access them through reflection

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

16 years ago2007-08-04 William Holmes <billholmes54@gmail.com>
Bill Holmes [Sat, 4 Aug 2007 19:08:02 +0000 (19:08 -0000)]
2007-08-04  William Holmes  <billholmes54@gmail.com>

        * TypeTest.cs: Removing generic method for net_1_1 profile.

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

16 years agoSwitch to use the Application Deployment Guidelines
Miguel de Icaza [Sat, 4 Aug 2007 15:34:27 +0000 (15:34 -0000)]
Switch to use the Application Deployment Guidelines

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

16 years agoAdd a .pc file for internal use
Miguel de Icaza [Sat, 4 Aug 2007 15:30:09 +0000 (15:30 -0000)]
Add a .pc file for internal use

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

16 years agorefine reports
Jb Evain [Sat, 4 Aug 2007 11:39:04 +0000 (11:39 -0000)]
refine reports

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

16 years agoFix getters of masked attributes
Jb Evain [Sat, 4 Aug 2007 11:09:28 +0000 (11:09 -0000)]
Fix getters of masked attributes

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

16 years agouse the new IsSomething methods
Jb Evain [Sat, 4 Aug 2007 11:08:50 +0000 (11:08 -0000)]
use the new IsSomething methods

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

16 years agoadd csproj
Jb Evain [Sat, 4 Aug 2007 10:48:18 +0000 (10:48 -0000)]
add csproj

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

16 years ago2007-08-03 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 3 Aug 2007 21:27:17 +0000 (21:27 -0000)]
2007-08-03  Jb Evain  <jbevain@novell.com>

* FileVersionInfo.cs: remove CAS checks for 2.1.

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

16 years ago2007-08-03 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 3 Aug 2007 21:13:42 +0000 (21:13 -0000)]
2007-08-03  Jb Evain  <jbevain@novell.com>

* Process.cs: disable StartExistCallbackIfNeeded in 2.1.

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

16 years ago2007-08-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 3 Aug 2007 21:11:54 +0000 (21:11 -0000)]
2007-08-02  Jonathan Pobst  <monkey@jpobst.com>

* MdiClient.cs, MdiWindowManager.cs: Support 2.0 Mdi MenuStrip
folding.
* MdiControlStrip.cs: Added.  These are the menu items used in mdi
folding.
* ToolStrip.cs: Add a null check to mnemonics.
* ToolStripDropDownMenu.cs: When using a SystemMenuItem, there is
no ConnectedArea.
[Fixes most of bug #81689]

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

16 years ago2007-08-03 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 3 Aug 2007 20:46:43 +0000 (20:46 -0000)]
2007-08-03  Jb Evain  <jbevain@novell.com>

* Dns.cs: remove async methods for the 2.1 profile.

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

16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 20:43:14 +0000 (20:43 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* image.c (mono_image_close): Fix a leak.

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

16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 20:07:07 +0000 (20:07 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_runtime_invoke_array): Avoid using alloca.

* icall.c (ves_icall_FieldInfo_SetValueInternal): Ditto.

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

16 years agoA test for bug #81979
Marek Safar [Fri, 3 Aug 2007 18:49:40 +0000 (18:49 -0000)]
A test for bug #81979

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

16 years ago2007-08-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 3 Aug 2007 18:47:32 +0000 (18:47 -0000)]
2007-08-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81979
* expression.cs (TypeOf.GetAttributableValue): Check for type arguments
only.

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

16 years ago* mini-s390.c (add_general): Adjust offset calculation to take into account of roundi...
Neale Ferguson [Fri, 3 Aug 2007 18:06:18 +0000 (18:06 -0000)]
* mini-s390.c (add_general): Adjust offset calculation to take into account of rounding up
due to alignment.

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

16 years ago2007-08-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 3 Aug 2007 18:01:01 +0000 (18:01 -0000)]
2007-08-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82300

* anonymous.cs (AnonymousContainer.Define): Don't define anything when
we are in probing scope.

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

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 17:44:27 +0000 (17:44 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Module_ResolveSignature): New icall.

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

16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 17:43:31 +0000 (17:43 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_is_assignable_from): Handle the case when klass is a
generic parameter.

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

16 years agoFri Aug 3 19:54:23 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 3 Aug 2007 17:37:41 +0000 (17:37 -0000)]
Fri Aug 3 19:54:23 CEST 2007 Paolo Molaro <lupus@ximian.com>

* domain.c, threads.c, threads-types.h: fix memory retention issue
with thread static variables not being cleared on domain unload.
Reuse thread static slots after domain unload.

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

16 years agoin System.Diagnostics:
Jb Evain [Fri, 3 Aug 2007 17:32:44 +0000 (17:32 -0000)]
in System.Diagnostics:

2007-08-03  Jb Evain  <jbevain@novell.com>

* ProcessThreadCollection.cs
  ProcessModuleCollection.cs: use our own collection base
  for the 2.1 profile, as ReadOnlyCollectionBase does not exist
  in 2.1, and they are internalized by the linker.

in System.ComponentModel:

2007-08-03  Jb Evain  <jbevain@novell.com>

* ComponentCollection.cs: use our own collection base
  for the 2.1 profile, as ReadOnlyCollectionBase does not exist
  in 2.1, and they are internalized by the linker.

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

16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 17:28:12 +0000 (17:28 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* MethodInfoTest.cs: Add another test.

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

16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 17:26:28 +0000 (17:26 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_runtime_invoke_array): Handle the case when the receiver is a
nullable type.

* marshal.c (mono_marshal_get_runtime_invoke): Revert the previous change, it is
now done in mono_runtime_invoke_array.

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

16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 17:16:25 +0000 (17:16 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* MethodInfoTest.cs: Add test for Invoking methods with a nullable type receiver.

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

16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 17:12:20 +0000 (17:12 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_runtime_invoke): Handle the case when the
receiver is a nullable type.

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

16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 16:48:19 +0000 (16:48 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add test for IsAssignableFrom and generic parameters.

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

16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 16:47:11 +0000 (16:47 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_is_assignable_from): Handle the case when klass is a
generic parameter.

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

16 years ago2007-08-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Aug 2007 16:28:48 +0000 (16:28 -0000)]
2007-08-03  Atsushi Enomoto  <atsushi@ximian.com>

* DTDObjectModel.cs : in 2.0 and especially 2.1 profiles, use
  our own DictionaryBase-like generic type. It is to reduce
  dependency on DictionaryBase which does not exist in 2.1 mscorlib.
  (included in 2.0 as well so that we do not skip NUnit tests so far)

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

16 years ago2007-07-03 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 3 Aug 2007 15:07:02 +0000 (15:07 -0000)]
2007-07-03  Jonathan Chambers  <joncham@gmail.com>

       * marshal.c: Implement COM Objects as return type for
       managed->unmanaged calls. Added Release calls for COM Object
       out/return values in managed->unmanaged calls.

       Code is contributed under MIT/X11 license.

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

16 years agoFri Aug 3 17:00:51 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 3 Aug 2007 14:42:42 +0000 (14:42 -0000)]
Fri Aug 3 17:00:51 CEST 2007 Paolo Molaro <lupus@ximian.com>

* threads.h, threads-type.h: move the hazard pointer declarations
to the private header.

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

16 years agoAdd new test.
Marek Safar [Fri, 3 Aug 2007 13:30:35 +0000 (13:30 -0000)]
Add new test.

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

16 years ago2007-08-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 3 Aug 2007 13:27:02 +0000 (13:27 -0000)]
2007-08-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82301

* statement.cs (Catch.CloneTo): Clone blocks in the right order.
(Statement.CloneTo): Clone and not map children blocks.

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

16 years agoForget to save :-(
Marek Safar [Fri, 3 Aug 2007 11:24:21 +0000 (11:24 -0000)]
Forget to save :-(

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

16 years agoA test for bug #82299
Marek Safar [Fri, 3 Aug 2007 11:20:00 +0000 (11:20 -0000)]
A test for bug #82299

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

16 years ago2007-08-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 3 Aug 2007 11:18:47 +0000 (11:18 -0000)]
2007-08-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82299

* expression.cs (LocalVariableReference.CloneTo): Remap local info
variable too.

* statement.cs (Statement.CloneTo): Clone variables before statements
to allow remaping of local variables.

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

16 years agoFri Aug 3 13:13:39 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 3 Aug 2007 10:56:48 +0000 (10:56 -0000)]
Fri Aug 3 13:13:39 CEST 2007 Paolo Molaro <lupus@ximian.com>

* file-io.c, appdomain.c: memory leak fixes.

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

16 years ago2007-08-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 3 Aug 2007 08:57:40 +0000 (08:57 -0000)]
2007-08-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82296

* anonymous.cs,
* report.cs: Log crash details for future clone problems.

* statement.cs (Return.Clone): Don't clone non-existent expression.

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

16 years ago2007-08-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Aug 2007 08:26:16 +0000 (08:26 -0000)]
2007-08-03  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : a bit win32 friendly fix.

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

16 years ago2007-08-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Aug 2007 07:38:56 +0000 (07:38 -0000)]
2007-08-03  Atsushi Enomoto  <atsushi@ximian.com>

* XmlResolver.cs, XmlUrlResolver.cs, XmlSecureResolver.cs :
  remove ICredential in NET_2_1 (they have to be explicitly removed
  outside tuner work as ICredentials does not exist in 2.1 profile).
  We cannot use WebRequest in 2.1 as well, so remove dependency on
  it in GetEntity() (and added MonoTODO for non-file URLs).

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

16 years agoRemove some code duplication
Raja R Harinath [Thu, 2 Aug 2007 19:28:41 +0000 (19:28 -0000)]
Remove some code duplication

* mcs/class.cs (TypeContainer.AddBasesForPart): Make virtual.
(Class.AddBasesForPart): Move CS0537 check here from ...
* mcs/cs-parser.jay (class_declaration): ... here.  Move calling of
'AddBasesForPart' to ...
(class_bases): ... here.
(struct_declaration, interface_declaration): Update to changes.
* gmcs/cs-parser.jay: Likewise.

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

16 years agoUpdated
Marek Safar [Thu, 2 Aug 2007 16:57:50 +0000 (16:57 -0000)]
Updated

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

16 years agoA test for bug #81923
Marek Safar [Thu, 2 Aug 2007 16:57:23 +0000 (16:57 -0000)]
A test for bug #81923

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

16 years ago2007-08-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Aug 2007 16:56:39 +0000 (16:56 -0000)]
2007-08-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81923

* statement.cs (Using.ResolveLocalVariableDecls): Only non-user implicit
conversion is allowed.

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

16 years agoA test for bug #81564
Marek Safar [Thu, 2 Aug 2007 16:39:46 +0000 (16:39 -0000)]
A test for bug #81564

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

16 years agoA test for bug #81564
Marek Safar [Thu, 2 Aug 2007 16:39:20 +0000 (16:39 -0000)]
A test for bug #81564

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

16 years ago2007-08-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Aug 2007 16:37:45 +0000 (16:37 -0000)]
2007-08-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81564

* ecore.cs (EventExpr): Add IsBase handling.

* expression.cs (BaseAccess.CommonResolve): Events can use base accessor
too.

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

16 years ago2007-08-02 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 2 Aug 2007 16:29:56 +0000 (16:29 -0000)]
2007-08-02  Dick Porter  <dick@ximian.com>

* sockets.c: Changes in error handling, and move the SO_REUSEADDR
setting from metadata/socket-io.c.

2007-08-02  Dick Porter  <dick@ximian.com>

* socket-io.c
(ves_icall_System_Net_Sockets_Socket_Socket_internal): Move the
SO_REUSEADDR setting into io-layer/sockets.c.

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

16 years agoremove code duplication
Jb Evain [Thu, 2 Aug 2007 16:04:30 +0000 (16:04 -0000)]
remove code duplication

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

16 years agowhere the magic comes from
Jb Evain [Thu, 2 Aug 2007 15:54:46 +0000 (15:54 -0000)]
where the magic comes from

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

16 years agooops, forgot a ;
Jb Evain [Thu, 2 Aug 2007 15:54:08 +0000 (15:54 -0000)]
oops, forgot a ;

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

16 years ago2007-08-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Aug 2007 15:51:11 +0000 (15:51 -0000)]
2007-08-02  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/GenericParameter.cs
  Mono.Cecil/FieldDefinition.cs
  Mono.Cecil/TypeDefinition.cs
  Mono.Cecil/MethodDefinition.cs
  Mono.Cecil/EventDefinition.cs
  Mono.Cecil/PInvokeInfo.cs
  Mono.Cecil/Resource.cs
  Mono.Cecil/ParameterDefinition.cs
  Mono.Cecil/PropertyDefinition.cs:

Add Isxxx properties based on the xxxAttributes enums.

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

16 years ago2007-08-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 2 Aug 2007 15:45:04 +0000 (15:45 -0000)]
2007-08-02 Rodrigo Kumpera <rkumpera@novell.com>

* make_exception_branch_test.sh: Fix the generation of the tests, so only
branching problems are validated.

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

16 years agoadd some regions
Jb Evain [Thu, 2 Aug 2007 15:27:28 +0000 (15:27 -0000)]
add some regions

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

16 years agoTest case for bug #82281.
Paolo Molaro [Thu, 2 Aug 2007 15:22:07 +0000 (15:22 -0000)]
Test case for bug #82281.

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

16 years agoThu Aug 2 17:36:22 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 2 Aug 2007 15:18:57 +0000 (15:18 -0000)]
Thu Aug 2 17:36:22 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: avoid an invalid encoding of unsigned right shift by 0
to be emitted (bug #82281).

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

16 years ago2007-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Aug 2007 15:02:09 +0000 (15:02 -0000)]
2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* EventLogTraceListener.cs : fixed wrong 2.0 dependency in 1.x.

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

16 years ago2007-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Aug 2007 14:58:28 +0000 (14:58 -0000)]
2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* EventLogTraceListener.cs : implemented.

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

16 years ago2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 2 Aug 2007 14:43:58 +0000 (14:43 -0000)]
2007-08-02  Sebastien Pouliot  <sebastien@ximian.com>

* TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
now that #81572 is fixed.

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

16 years agoReduce some differences between cs-parser.jay in mcs/ and gmcs/.
Raja R Harinath [Thu, 2 Aug 2007 14:01:08 +0000 (14:01 -0000)]
Reduce some differences between cs-parser.jay in mcs/ and gmcs/.

* cs-parser.jay: Some whitespace cleanups.
(current_delegate): New.
(type_name): New.
(struct_declaration): Make similar to gmcs/cs-parser.jay -- add
a dummy code block, and use 'type_name' instead of 'member_name'.
(interface_declaration, class_declaration): Likewise.
(delegate_declaration): Likewise.  Rearrange slightly and use
'current_delegate'.
* cs-tokenizer.cs (handle_where): Rename from handle_constraints.
(GetKeyword): Update to change.  Use '!foo' instead of 'foo == false'.
* gmcs/cs-parser.jay: Some whitespace cleanups.
(method_header): Refer to the correct symbol for parameters.

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

16 years agoA fix for bug #82039
Marek Safar [Thu, 2 Aug 2007 13:58:13 +0000 (13:58 -0000)]
A fix for bug #82039

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

16 years ago2007-08-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Aug 2007 13:30:04 +0000 (13:30 -0000)]
2007-08-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82039

* ecore.cs (TypeLookup.GetSignatureForError): Use name when type is not
available.

* typemanager.cs (CSharpName): Split to string overload.

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

16 years ago2007-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Aug 2007 12:32:07 +0000 (12:32 -0000)]
2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* EventLogImpl.cs
  EventLog.cs
  LocalFileEventLog.cs : Implemented EntryWritten event support.
* Win32EventLog.cs, NullEventLog.cs : they need stub overrides.
* EventLogEntry.cs : [MonitoringDescription].
* DiagnosticsConfigurationHandler.cs : [Obsolete]

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

16 years ago2007-08-02 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 2 Aug 2007 12:26:56 +0000 (12:26 -0000)]
2007-08-02  Dick Porter  <dick@ximian.com>

* Socket.cs: Patch from Brian Nickel (brian.nickel@gmail.com) to
improve EndPoint handling.

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

16 years agoAdd missing file.
Rolf Bjarne Kvinge [Thu, 2 Aug 2007 11:57:46 +0000 (11:57 -0000)]
Add missing file.

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

16 years ago* PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.
Rolf Bjarne Kvinge [Thu, 2 Aug 2007 10:17:10 +0000 (10:17 -0000)]
* PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.

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

16 years ago2007-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Aug 2007 09:21:06 +0000 (09:21 -0000)]
2007-08-02  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaComplexType.cs,
  XmlSchemaComplexContentRestriction.cs :
  in Validate(), every descendant item in complexType must be first
  validated before getting GetOptimizedParticle(), or it could result
  in wrong content particle. Fixed bug #82010.

* XsdValidatingReaderTests.cs : test for bug #82010.

* 82010.xsd, 82010.xml : new test files.

* Makefile : extra distfiles (82010.xml/.xsd).

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

16 years agoimplement Profile service
Konstantin Triger [Thu, 2 Aug 2007 09:10:50 +0000 (09:10 -0000)]
implement Profile service

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

16 years agofix typo in WriteAccessProperties prop name; clone the returned value; attach a corre...
Konstantin Triger [Thu, 2 Aug 2007 09:07:38 +0000 (09:07 -0000)]
fix typo in WriteAccessProperties prop name; clone the returned value; attach a correct converter

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

16 years agoUse InitialDelay if ReshowDelay is zero. Fixes #82288.
Rolf Bjarne Kvinge [Thu, 2 Aug 2007 09:02:13 +0000 (09:02 -0000)]
Use InitialDelay if ReshowDelay is zero. Fixes #82288.

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