mono.git
15 years agoNew error message.
Marek Safar [Wed, 10 Jun 2009 16:14:01 +0000 (16:14 -0000)]
New error message.

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

15 years ago2009-06-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Jun 2009 16:13:45 +0000 (16:13 -0000)]
2009-06-10  Marek Safar  <marek.safar@gmail.com>

* decl.cs: Better overload ctor collision error message.

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

15 years ago2009-06-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 10 Jun 2009 15:50:59 +0000 (15:50 -0000)]
2009-06-10  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (mono_arch_output_basic_block): Fix the implementation
of CKFINITE and FBGE for VFP.

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

15 years ago2009-06-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Jun 2009 14:25:25 +0000 (14:25 -0000)]
2009-06-10  Marek Safar  <marek.safar@gmail.com>

* Consts.cs.in: Add AssemblySystemCore_3_5.

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

15 years ago2009-06-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Jun 2009 14:25:02 +0000 (14:25 -0000)]
2009-06-10  Marek Safar  <marek.safar@gmail.com>

* LockRecursionException.cs: Updated to 4.0 changes.

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

15 years ago2009-06-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Jun 2009 14:24:10 +0000 (14:24 -0000)]
2009-06-10  Marek Safar  <marek.safar@gmail.com>

* TimeZoneInfo.AdjustmentRule.cs, TimeZoneInfo.TransitionTime.cs,
Funcs.cs, InvalidTimeZoneException.cs, Actions.cs, TimeZoneInfo.cs,
TimeZoneNotFoundException.cs: Updated to 4.0 changes.

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

15 years ago2009-06-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Jun 2009 14:20:30 +0000 (14:20 -0000)]
2009-06-10  Marek Safar  <marek.safar@gmail.com>

* corlib.dll.sources: Add new net 4.0 files.

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

15 years ago2009-06-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Jun 2009 14:19:54 +0000 (14:19 -0000)]
2009-06-10  Marek Safar  <marek.safar@gmail.com>

* LockRecursionException.cs: New file.

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

15 years ago2009-06-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Jun 2009 14:17:59 +0000 (14:17 -0000)]
2009-06-10  Marek Safar  <marek.safar@gmail.com>

* Predicate.cs, Action.cs, Funcs.cs, Comparison.cs, IComparable.cs,
Converter.cs, EventHandler.cs: Add type variance.

* InvalidTimeZoneException.cs,
TimeZoneNotFoundException.cs: New file.

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

15 years ago2009-06-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Jun 2009 14:14:17 +0000 (14:14 -0000)]
2009-06-10  Marek Safar <marek.safar@gmail.com>

* IEqualityComparer.cs, IComparer.cs, IEnumerable.cs,
IEnumerator.cs: Add type variance.

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

15 years agoInitialize AllInternalsVisible
Marek Safar [Wed, 10 Jun 2009 13:43:37 +0000 (13:43 -0000)]
Initialize AllInternalsVisible

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

15 years ago 2009-06-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 10 Jun 2009 13:42:36 +0000 (13:42 -0000)]
2009-06-10  Marek Habersack  <mhabersack@novell.com>

     * TestDataColumn.cs: added detection of foreign key columns.

     * FooWithDefaults.cs: added foreign key columns

     * FooDisplayName.cs, FooDisplayNameEmptyName.cs,
     FooSettableDefaults.cs: added

    2009-06-10  Marek Habersack  <mhabersack@novell.com>

     * MetaTable.cs: fixed DisplayName implementation.
     Implemented GetPrimaryKeyString, GetQuery.

    2009-06-10  Marek Habersack  <mhabersack@novell.com>

     * System.Web.DynamicData_test.dll.sources: added
     Common/FooDisplayName.cs
     Common/FooDisplayNameEmptyName.cs
     Common/FooSettableDefaults.cs

    2009-06-10  Marek Habersack  <mhabersack@novell.com>

     * MetaTableTest.cs: added more table contexts.
     Added tests for: Attributes, Columns, DataContextPropertyName,
     DataContextType, DisplayName, EntityType, ForeignKeyColumnNames
     (doesn't work on .NET), GetPrimaryKeyString, GetQuery,
     HasPrimaryKey,

    2009-06-09  Marek Habersack  <mhabersack@novell.com>

     * MetaTableTest.cs: added two more tables for various kinds of
     tests (in fixture setup).
     More tests for GetActionPath.
     Tests for GetPrimaryKeyValues, DisplayColumn, Attributes,
     GetDisplayString, GetColumn, TryGetColumn

    2009-06-09  Marek Habersack  <mhabersack@novell.com>

     * Baz.cs, BazNoStrings.cs, BazNoStringsNoPrimary.cs,
     FooDisplayColumnAttribute.cs, FooEmpty.cs,
     FooEmptyDisplayColumnAttribute.cs,
     FooInvalidDisplayColumnAttribute.cs, FooWithToString.cs,
     TestDataColumn.cs, TestDataContainer.cs, TestDataTable.cs: added

    2009-06-09  Marek Habersack  <mhabersack@novell.com>

     * MetaTable.cs: implemented more overloads of GetActionPath.
     Implemented GetPrimaryKeyValues, GetActionPathFromRoutes,
     Attributes, DisplayColumn, GetDisplayString.

    2009-06-09  Marek Habersack  <mhabersack@novell.com>

     * MetaTableTest.cs: added two more tables for various kinds of
     tests (in fixture setup).
     More tests for GetActionPath.
     Tests for GetPrimaryKeyValues.

    2009-06-09  Marek Habersack  <mhabersack@novell.com>

     * MetaTable.cs: implemented more overloads of GetActionPath.
     Implemented GetPrimaryKeyValues.
     Implemented GetActionPathFromRoutes.

    2009-06-09  Marek Habersack  <mhabersack@novell.com>

     * Utils.cs: added two BuildActionName methods to make building
     action paths for testing more compact.

     * FooNoPrimaryColumns.cs, FooNoDefaultsWithPrimaryKey.cs: added

    2009-06-09  Marek Habersack  <mhabersack@novell.com>

     * System.Web.DynamicData_test.dll.sources: added
     Common/FooNoDefaultsWithPrimaryKey.cs
     Common/FooNoPrimaryColumns.cs

    2009-06-08  Marek Habersack  <mhabersack@novell.com>

     * Utils.cs: added.
       Moved GetModel here from MetaModelTest.cs
       Added RegisterContext methods.

     * FooWithDefaultsContainer.cs,
     FooWithDefaultsColumn.cs,FooWithDefaultsTable.cs,
     FooWithDefaults.cs: added

    2009-06-08  Marek Habersack  <mhabersack@novell.com>

     * MetaTableTest.cs: added.

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

15 years ago2009-06-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Jun 2009 13:32:45 +0000 (13:32 -0000)]
2009-06-10  Marek Safar  <marek.safar@gmail.com>

* InternalsVisibleToAttribute.cs: Updated to 2.0 SP2.

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

15 years ago2009-06-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Jun 2009 13:03:22 +0000 (13:03 -0000)]
2009-06-10  Marek Safar  <marek.safar@gmail.com>

* TypeForwardedFromAttribute: New file.

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

15 years ago2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Jun 2009 09:46:23 +0000 (09:46 -0000)]
2009-06-10  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceThrottlingBehavior.cs : implement Validate() (nothing to do
  here).

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

15 years ago2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Jun 2009 07:15:46 +0000 (07:15 -0000)]
2009-06-10  Atsushi Enomoto  <atsushi@ximian.com>

* ReplyChannelBase.cs : fix wrong null delegate check point.

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

15 years ago2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Jun 2009 05:52:37 +0000 (05:52 -0000)]
2009-06-10  Atsushi Enomoto  <atsushi@ximian.com>

* HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
  now implemented as virtual in base class. Remove NIEs in http.

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

15 years ago2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Jun 2009 04:56:16 +0000 (04:56 -0000)]
2009-06-10  Atsushi Enomoto  <atsushi@ximian.com>

* HttpChannelListener.cs : hack async implementation.

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

15 years ago2009-06-09 Andrés G. Aragoneses <aaragoneses@novell.com>
Andrés G. Aragoneses [Wed, 10 Jun 2009 02:56:34 +0000 (02:56 -0000)]
2009-06-09  Andrés G. Aragoneses  <aaragoneses@novell.com>

        * WebRequestTest.cs: Added tests for bug #323452.

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

15 years agore-disable the cache that was enabled by mistake
Gonzalo Paniagua Javier [Wed, 10 Jun 2009 02:55:07 +0000 (02:55 -0000)]
re-disable the cache that was enabled by mistake

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

15 years ago2009-06-09 Gonzalo Paniagua, Miguel de Icaza <gonzalo@novell.com, miguel@novell...
Gonzalo Paniagua Javier [Wed, 10 Jun 2009 01:07:50 +0000 (01:07 -0000)]
2009-06-09  Gonzalo Paniagua, Miguel de Icaza  <gonzalo@novell.com, miguel@novell.com>

* Expression.cs: improve the ExpressionCache, it still does not
work, but it will at least work better with multithreaded apps (we
take locks) and we use WeakReferences correctly.

For WeakReferences it is important to not depend on IsAlive to
retrieve the target (this is a documented race).  IsAlive is only
useful to determine if it has already been collected, but if true,
the Target can still be released.

This race condition is exposed by #505678 on x86-64 platforms (only).

Sadly, this fix is not good enough to re-enable the cache, on
x86-64 this with a single thread, it still crashes randomly

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

15 years ago2009-06-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Jun 2009 22:55:23 +0000 (22:55 -0000)]
2009-06-09 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-blob-tests.md: Tests for methodspec signature.

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

15 years ago2009-06-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Jun 2009 22:55:14 +0000 (22:55 -0000)]
2009-06-09 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify methodspec signatures.

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

15 years ago2009-06-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Jun 2009 22:55:02 +0000 (22:55 -0000)]
2009-06-09 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-blob-tests.md: Tests for typespec signature.

* assembly-with-typespec.il: Input file with a
bunch of typespec instances.

* Makefile: Add new dependency.

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

15 years ago2009-06-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Jun 2009 22:54:54 +0000 (22:54 -0000)]
2009-06-09 Rodrigo Kumpera  <rkumpera@novell.com>

* gen-md-tests.c: Added read.byte.

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

15 years ago2009-06-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Jun 2009 22:54:45 +0000 (22:54 -0000)]
2009-06-09 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify typespec signatures.

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

15 years ago2009-06-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Jun 2009 21:43:09 +0000 (21:43 -0000)]
2009-06-09  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Don't align code to 16 bytes on arm.

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

15 years ago2009-06-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Jun 2009 21:29:16 +0000 (21:29 -0000)]
2009-06-09  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_method_code): Emit the unbox trampolines right
before the methods they belong to.

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

15 years ago2009-06-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Jun 2009 21:10:43 +0000 (21:10 -0000)]
2009-06-09  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_plt_resolve): Avoid creating trampolines in
the full-aot case if possible, since the trampoline will be called right
away.

* aot-compiler.c (mono_compile_assembly): Decrease the number of full aot
trampolines to 1024 after the change above.

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

15 years ago2009-06-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Jun 2009 21:10:35 +0000 (21:10 -0000)]
2009-06-09  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_plt_resolve): Avoid creating trampolines in
the full-aot case if possible, since the trampoline will be called right
away.

* aot-compiler.c (mono_compile_assembly): Decrease the number of full aot
trampolines to 1024 after the change above.

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

15 years ago2009-06-09 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 9 Jun 2009 15:56:21 +0000 (15:56 -0000)]
2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewComboBoxCell.cs, DataGridViewComboBoxColumn.cs:
Implement items syncing in the non-databound scenario.
[Fixes bug #494031]

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

15 years ago2009-06-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 9 Jun 2009 15:40:35 +0000 (15:40 -0000)]
2009-06-09 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequest.cs: ProtocolViolationException is not thrown in
certain cases since 2.0. Fixes bug #508027.

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

15 years agoenable test
Gonzalo Paniagua Javier [Tue, 9 Jun 2009 15:14:39 +0000 (15:14 -0000)]
enable test

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

15 years ago2009-06-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 9 Jun 2009 15:14:13 +0000 (15:14 -0000)]
2009-06-09 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequest.cs: follow MS docs when throwing
ProtocolViolationException at the beginning of an asynchronous
operation. Fixes bug #465613.

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

15 years ago* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Cosmetic.
Andrés G. Aragoneses [Tue, 9 Jun 2009 14:01:27 +0000 (14:01 -0000)]
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Cosmetic.

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

15 years ago2009-06-09 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 9 Jun 2009 14:01:16 +0000 (14:01 -0000)]
2009-06-09  Jonathan Chambers <joncham@gmail.com>

        * CMakeLists.txt: Add start of CMake build.
        * src/CMakeLists.txt: Add start of CMake build.

        Contribution is licensed as MIT/X11.

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

15 years ago* linker/Mono.Linker.Steps/BaseStep.cs: New virtual API needed.
Andrés G. Aragoneses [Tue, 9 Jun 2009 13:56:15 +0000 (13:56 -0000)]
* linker/Mono.Linker.Steps/BaseStep.cs: New virtual API needed.

* linker/Mono.Linker/Pipeline.cs: API love.

* tuner/Mono.Tuner.csproj:
* tuner/Mono.Tuner.dll.sources: Update.

* tuner/Mono.Tuner/MoonlightA11yProcessor.cs:
* tuner/Mono.Tuner/MoonlightA11yAssemblyStep.cs: Typo.

* tuner/Mono.Tuner/MoonlightA11yUsageInspectionStep.cs:
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: New steps for
prevention of API stripping.

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

15 years ago* linker/Mono.Linker.csproj: Update.
Andrés G. Aragoneses [Tue, 9 Jun 2009 13:52:27 +0000 (13:52 -0000)]
* linker/Mono.Linker.csproj: Update.

* linker/Mono.Linker/Driver.cs: Prevent InvalidCastException.

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

15 years ago2009-06-09 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 9 Jun 2009 12:46:50 +0000 (12:46 -0000)]
2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Call OnCellValidating and OnCellValidated and
handle the Cancel accordingly.
[Fixes bug #506838]

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

15 years ago2009-06-09 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 9 Jun 2009 11:32:19 +0000 (11:32 -0000)]
2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewBand.cs: Fix a typo in DefaultHeaderCellType.
[Fixes bug #506796]

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

15 years ago2009-06-09 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 9 Jun 2009 11:29:16 +0000 (11:29 -0000)]
2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewColumnCollection.cs, DataGridViewRowCollection.cs,
DataGridView.cs: Fire CollectionChangeAction.Refresh collection
changed when Clearing the collections so that the DataGridView
can know and reset the current cell.
[Fixes bug #492549]

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

15 years ago2009-06-09 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 9 Jun 2009 11:17:53 +0000 (11:17 -0000)]
2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>

* BindingSource.cs: In ResetBindings use the ListChangedEventArgs ctor
with the PropertyDescriptor parameter instead of index, because the
latter will set some irelevant indices. Fixes a bug uncovered by recent
 fix to ListChangedEventArgs.

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

15 years ago2009-06-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Jun 2009 07:51:40 +0000 (07:51 -0000)]
2009-06-09  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : avoid NRE (actually it should eliminate
  Thread.Abort()). Added some comments on throttling.

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

15 years ago2009-06-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Jun 2009 07:50:32 +0000 (07:50 -0000)]
2009-06-09  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcherTest.cs : add ServiceThrottle test, and comments.

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

15 years agoPrepare ServiceThorottle implementation.
Atsushi Eno [Tue, 9 Jun 2009 07:46:31 +0000 (07:46 -0000)]
Prepare ServiceThorottle implementation.

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

15 years ago2009-06-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 9 Jun 2009 04:03:59 +0000 (04:03 -0000)]
2009-06-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DataObject.cs: When looking for any specific format, do a case
insensitive search, as .net does.
Fixes #509199.

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

15 years ago2009-06-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Jun 2009 02:22:25 +0000 (02:22 -0000)]
2009-06-09  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (arch_emit_specific_trampoline): Rework the arm
trampoline to save 8 bytes per trampoline.

* tramp-arm.c (mono_arch_create_trampoline_code_full): Update after the
change above.

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

15 years ago2009-06-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Jun 2009 02:21:21 +0000 (02:21 -0000)]
2009-06-09  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (free_inflated_method): Call
mono_marshal_free_inflated_wrappers (), which was missed earlier.

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

15 years ago2009-06-09 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 9 Jun 2009 01:54:08 +0000 (01:54 -0000)]
2009-06-09  Ivan N. Zlatev  <contact@i-nz.net>

* CurrencyManager.cs: In AllowNew firstly check if the list is a
IBindingList and proxy to AllowNew. IBindingList has slightly differet
logic and eventhough it's an IList IsReadOnly should not be used in this
case as it might be True but AllowNew could be True as well.
Fixes a bug uncovered by a fix to the Array class.

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

15 years ago2009-06-08 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 8 Jun 2009 23:49:10 +0000 (23:49 -0000)]
2009-06-08  Miguel de Icaza  <miguel@novell.com>

* mono-config.c: Small change to report the PPC64/ILP32 model.

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

15 years ago2009-06-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 8 Jun 2009 22:26:59 +0000 (22:26 -0000)]
2009-06-08 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnectionStream.cs: throw a WebException instead of an IOException.

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

15 years ago2009-06-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 8 Jun 2009 21:09:01 +0000 (21:09 -0000)]
2009-06-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListBindingHelper.cs: In GetListItemType do a null check when
looking for IList.Item, since the impl could be explicit, and thus
private. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
Fixes the remaining part of #507120

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

15 years ago* standalone/Project01: Add missing Lib2.deploy.txt in the correct
Ankit Jain [Mon, 8 Jun 2009 20:55:46 +0000 (20:55 -0000)]
* standalone/Project01: Add missing Lib2.deploy.txt in the correct
location.

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

15 years ago2009-06-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 8 Jun 2009 20:48:03 +0000 (20:48 -0000)]
2009-06-08 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpWebRequest.cs: avoid exception when the reply from the server
contains just response code. Fixes bug #510852.

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

15 years agoIn class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
Ankit Jain [Mon, 8 Jun 2009 20:43:05 +0000 (20:43 -0000)]
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

* EngineTest.cs (TestMSBuildOutputs): New.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

* MSBuild.cs (Execute): Copy metadata from the @Projects items
to the target outputs.

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

15 years ago2009-06-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 8 Jun 2009 20:40:18 +0000 (20:40 -0000)]
2009-06-08 Gonzalo Paniagua Javier <gonzalo@novell.com>

* SmtpClient.cs: handle dots. Patch by Ted Unangst that fixes bug
#392875.

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

15 years ago2009-06-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 8 Jun 2009 20:06:26 +0000 (20:06 -0000)]
2009-06-08  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Use acfg->temp_prefix instead of .L to prefix labels.

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

15 years ago2009-06-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 8 Jun 2009 19:48:22 +0000 (19:48 -0000)]
2009-06-08 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpHandlerAction.cs: fix path matching when the pattern has more
than one slash.

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

15 years agoEnabled 4.0 features for bootstrap too.
Marek Safar [Mon, 8 Jun 2009 19:05:34 +0000 (19:05 -0000)]
Enabled 4.0 features for bootstrap too.

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

15 years ago2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Jun 2009 16:48:51 +0000 (16:48 -0000)]
2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>

* HttpListenerManager.cs : oops, extra line removal.

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

15 years ago2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Jun 2009 16:47:18 +0000 (16:47 -0000)]
2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>

* HttpChannelManager.cs, HttpListenerManager.cs : rename file too.

* System.ServiceModel.dll.sources: renamed a file.

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

15 years ago2009-06-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 8 Jun 2009 16:44:50 +0000 (16:44 -0000)]
2009-06-08  Zoltan Varga  <vargaz@gmail.com>

* CSharpCodeProviderTest.cs: Avoid depending on the order in which
GetManifestResourceNames () returns resource names.

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

15 years ago2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Jun 2009 16:43:07 +0000 (16:43 -0000)]
2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>

* HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
  "ChannelManager" is confusing (there is ChannelManagerBase).

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

15 years ago2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Jun 2009 16:37:52 +0000 (16:37 -0000)]
2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>

* HttpChannelManager.cs, HttpTransportBindingElement.cs,
  HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
  they should be split into separate listener->reply channel lines
  (remove "if (HostingEnvironment.IsAspNet)".)

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

15 years agoFixed bug number
Marek Safar [Mon, 8 Jun 2009 11:51:40 +0000 (11:51 -0000)]
Fixed bug number

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

15 years agosvn:eol-style native.
Atsushi Eno [Mon, 8 Jun 2009 09:21:35 +0000 (09:21 -0000)]
svn:eol-style native.

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

15 years agoanother EOL inconsistency.
Atsushi Eno [Mon, 8 Jun 2009 09:20:52 +0000 (09:20 -0000)]
another EOL inconsistency.

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

15 years agofix inconsistent EOLs.
Atsushi Eno [Mon, 8 Jun 2009 09:18:06 +0000 (09:18 -0000)]
fix inconsistent EOLs.

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

15 years agofix inconsistent EOLs.
Atsushi Eno [Mon, 8 Jun 2009 09:16:39 +0000 (09:16 -0000)]
fix inconsistent EOLs.

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

15 years ago2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Jun 2009 09:10:08 +0000 (09:10 -0000)]
2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>

* CommunicationObject.cs : OnClosed() requires call to base method.
  Close() could rather abort the channel, and Abort() does not
  always invke OnAbort().
* ChannelBase.cs : add call to base as above.

* ChannelDispatcher.cs :
  Add call to base (see CommunicationObject change).

* InstanceContext.cs :
  Add call to base (see CommunicationObject change).

* CommunicationObjectTest.cs : added a couple of close/abort tests
  for state transition and base call check.

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

15 years agoImprove exception handling when running in mdb: check whether an exception is caught...
Martin Baulig [Mon, 8 Jun 2009 08:45:31 +0000 (08:45 -0000)]
Improve exception handling when running in mdb: check whether an exception is caught inside a runtime-invoked method or the runtime-invoke wrapper.
2009-06-08  Martin Baulig  <martin@ximian.com>

* debug-mini.c
(MonoDebuggerExceptionAction): Moved into debug-mini.h.
(_mono_debugger_throw_exception): Don't make this static.
(_mono_debugger_unhandled_exception): Likewise.
(mono_debugger_handle_exception): Moved to mini-exceptions.c

* debug-mini.c
(MonoDebuggerExceptionAction): Moved here from debug-mini.c.
(_mono_debugger_throw_exception): Add function prototype.
(_mono_debugger_unhandled_exception): Likewise.

* mini-exceptions.c
(mono_handle_exception_internal): Added `MonoJitInfo **out_ji'
arg; return the first exception handler if the exception is caught
and we're running inside the debugger.
(mono_debugger_handle_exception): Moved here from debug-mini.c;
improve exception handle inside runtime-invoke, check whether the
exception is actually caught in the method being invoked and not
by the runtime-invoke-wrapper.

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

15 years ago2009-06-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 8 Jun 2009 07:19:41 +0000 (07:19 -0000)]
2009-06-08  Marek Habersack  <mhabersack@novell.com>

* ConfigurationLocation.cs: if the path passed to constructor
starts with any of ' ' '.' '/' or '\', throw an exception. Fixes
bug #510735

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

15 years ago2009-06-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 8 Jun 2009 01:22:02 +0000 (01:22 -0000)]
2009-06-08  Zoltan Varga  <vargaz@gmail.com>

* image-writer.c: Improve support for the osx assembler.

* dwarfwriter.c: Avoid the usage of subsections if the assembler doesn't
support them.

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

15 years ago* standalone/Project01: Fix location for lib2.deploy.txt
Ankit Jain [Mon, 8 Jun 2009 00:37:00 +0000 (00:37 -0000)]
* standalone/Project01: Fix location for lib2.deploy.txt

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

15 years ago* ResolvedReference.cs: Add missing file.
Ankit Jain [Mon, 8 Jun 2009 00:36:41 +0000 (00:36 -0000)]
* ResolvedReference.cs: Add missing file.

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

15 years agoIn class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Ankit Jain [Mon, 8 Jun 2009 00:06:11 +0000 (00:06 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* AssignCulture.cs (TrySplitResourceName): Reset culture arg to null
if returning false.
* CreateCSharpManifestResourceName.cs: Set culture to null if the
culture was invalid.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

* CreateCSharpManifestResourceNameTest.cs (TestInvalidCulture): New.

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

15 years agoAdd support for resolving project and other assembly references, including
Ankit Jain [Sun, 7 Jun 2009 23:36:52 +0000 (23:36 -0000)]
Add support for resolving project and other assembly references, including
their dependant files.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

* ProjectTest (TestBuildSolutionProject): New. Disabled for now.

In class/Microsoft.Build.Tasks:

* Microsoft.Build.Tasks_test.dll.sources: Added
ResolvedReference.cs

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

* ResolvedReference.cs: New.
* AssemblyResolver.cs (GetResolvedReference): New. Honor's the
'Private' metadata and sets CopyLocal.
(SearchPath): New. Used to track how the reference was resolved.
(IsStrongNamed): Fix potential null ref.
All the assembly resolution methods now return ResolvedReference
instead of strings, to aid in proper CopyLocal behavior and
dependency resolution.
* ResolveAssemblyReference.cs: Add support for finding related files,
satellite files, resolving dependencies, copy local files.
Resolve files specified in "AssemblyFiles" param also, used to resolve
project references and dependencies.

In tools/xbuild:

* xbuild/Microsoft.Common.targets: Use ResolveAssemblyReference
to find satellite assemblies, dependent assemblies, dependent
files, copy local files etc.
Add targets to fetch all this info for all referenced projects,
and copy them to the target locations. Also, copy the debug (.mdb)
files. Honor, "CopyToOutputDirectory" metadata.

In tools/xbuild/tests:

* standalone/Project01: New. Solution with interdependent multiple projects,
with deploy files, satellite assemblies etc.

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

15 years ago2009-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 7 Jun 2009 15:42:17 +0000 (15:42 -0000)]
2009-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DataObjectTest.cs: New assertions for the text functionality.

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

15 years ago2009-06-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 7 Jun 2009 14:26:58 +0000 (14:26 -0000)]
2009-06-07  Zoltan Varga  <vargaz@gmail.com>

* image-writer.c (append_subsection): Don't align subsections of the
debug_line section as a workaround.

* dwarfwriter.c: Emit line number info in the AOT case as well.

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

15 years agoIn class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Ankit Jain [Sun, 7 Jun 2009 12:57:52 +0000 (12:57 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* Csc.cs (AddResponseFileCommands): Split DefineConstants on space also.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CscTest.cs (TestDefineConstants): Update DefineConstants to include
spaces also.

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

15 years agoIn class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Ankit Jain [Sun, 7 Jun 2009 12:57:34 +0000 (12:57 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* AssignTargetPath.cs (Execute): Expand incoming path to absolute
path, and correctly extract relative path (skipping over the preceding
dir separator).

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

* AssignTargetPathTest.cs: Update tests to not depend on a fixed
root (C:\) or cur dir.

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

15 years ago* Copy.cs (CopyFile): Don't copy if the source and dest are the same.
Ankit Jain [Sun, 7 Jun 2009 12:57:17 +0000 (12:57 -0000)]
* Copy.cs (CopyFile): Don't copy if the source and dest are the same.

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

15 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Sun, 7 Jun 2009 12:57:01 +0000 (12:57 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* Target.cs (Outputs): Use ITaskItem[] for conversion, to retain
the metadata.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

* TargetTest (TestTargetOutputsIncludingMetadata): New.

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

15 years ago* Parameters.cs (ProcessProperty): Handle invalid syntax.
Ankit Jain [Sun, 7 Jun 2009 12:56:43 +0000 (12:56 -0000)]
* Parameters.cs (ProcessProperty): Handle invalid syntax.

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

15 years ago* SolutionParser.cs (AddGeneralSettings): Don't hardcode the default
Ankit Jain [Sun, 7 Jun 2009 12:51:34 +0000 (12:51 -0000)]
* SolutionParser.cs (AddGeneralSettings): Don't hardcode the default
config/platform. Move to ..
(AddDefaultSolutionConfiguration): .. here.
(AddCurrentSolutionConfigurationContents): Use the first solution target
as the default config/platform or use Debug/anycpu if no config is available.

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

15 years ago2009-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 7 Jun 2009 10:34:05 +0000 (10:34 -0000)]
2009-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DataObject.cs: Map StringFormat/Text/UnicodeText formats properly,
to match them in all the cases, as this is exactly what .net does.
Fixes #510728.

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

15 years ago2009-06-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 7 Jun 2009 10:22:16 +0000 (10:22 -0000)]
2009-06-07  Marek Safar  <marek.safar@gmail.com>

* Makefile: Add net_4_0* profiles.

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

15 years ago2009-06-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 7 Jun 2009 09:13:16 +0000 (09:13 -0000)]
2009-06-07  Marek Safar  <marek.safar@gmail.com>

* runtime/Makefile.am: Enabled net_4_0 for compilation.

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

15 years ago2009-06-06 Steven Munroe <munroesj@us.ibm.com>
Zoltan Varga [Sun, 7 Jun 2009 01:37:17 +0000 (01:37 -0000)]
2009-06-06  Steven Munroe  <munroesj@us.ibm.com>

This patch is contributed under the terms of the MIT/X11 license

       * mini-ppc.c (mono_arch_emit_exceptions): Change assert to
       code_len <= code_size

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

15 years ago2009-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 6 Jun 2009 20:22:57 +0000 (20:22 -0000)]
2009-06-06  Zoltan Varga  <vargaz@gmail.com>

* CMakeLists.txt: Fix handling of powerpc and the selection of
threads. Delete commented out stuff.

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

15 years ago2009-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 6 Jun 2009 20:05:21 +0000 (20:05 -0000)]
2009-06-06  Zoltan Varga  <vargaz@gmail.com>

* CMakeLists.txt: CMake build file for libgc.

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

15 years ago* ContextStack.cs: Added argument check to Type indexer, avoiding a
Gert Driesen [Sat, 6 Jun 2009 17:07:34 +0000 (17:07 -0000)]
* ContextStack.cs: Added argument check to Type indexer, avoiding a
NRE. Modify System.Int32 indexer to throw ArgumentOutOfRangeException
instead of ArgumentException. Reduce number of times that item count
must be obtained.
* ContextStackTest.cs: Added unit tests for indexers, and argument
(null) checks.

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

15 years ago2009-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 6 Jun 2009 12:25:13 +0000 (12:25 -0000)]
2009-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListBindingHelperTest.cs: New assertion for GetListItemType, as well
as a new helper collection class.

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

15 years ago2009-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 6 Jun 2009 12:22:51 +0000 (12:22 -0000)]
2009-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListBindingHelper.cs: In GetListItemType handle gracefully the case
where an instance of IEnumerator returns a null value for its Current
property. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
Fixes #507120.

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

15 years ago2009-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 6 Jun 2009 01:16:19 +0000 (01:16 -0000)]
2009-06-06  Zoltan Varga  <vargaz@gmail.com>

* mini-mips.c (mips_emit_exc_by_name): Fix the mips build.

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

15 years ago* bug-508538.cs: New regression test for bug #508538.
Gert Driesen [Fri, 5 Jun 2009 23:31:33 +0000 (23:31 -0000)]
* bug-508538.cs: New regression test for bug #508538.

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

15 years ago* HttpWebRequestTest.cs: Added tests for bugs #465613, #510661,
Gert Driesen [Fri, 5 Jun 2009 23:20:31 +0000 (23:20 -0000)]
* HttpWebRequestTest.cs: Added tests for bugs #465613, #510661,
#510642 and #508027.

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

15 years ago2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 5 Jun 2009 21:57:52 +0000 (21:57 -0000)]
2009-06-05 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-blob-tests.md: Tests for szarray.

* assembly-with-types.il: Fix the szarray field.

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

15 years ago2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 5 Jun 2009 21:57:41 +0000 (21:57 -0000)]
2009-06-05 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (parse_type): Check szarray.

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

15 years ago2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 5 Jun 2009 21:57:27 +0000 (21:57 -0000)]
2009-06-05 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-blob-tests.md: Tests for fnptr instance.

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