Marek Safar [Thu, 11 Jun 2009 17:01:21 +0000 (17:01 -0000)]
New tests.
svn path=/trunk/mcs/; revision=135938
Marek Safar [Thu, 11 Jun 2009 16:59:12 +0000 (16:59 -0000)]
2009-06-11 Marek Safar <marek.safar@gmail.com>
* parameter.cs, const.cs, report.cs, cs-parser.jay, attribute.cs:
Add optional parameters grammar.
svn path=/trunk/mcs/; revision=135937
Atsushi Eno [Thu, 11 Jun 2009 09:33:54 +0000 (09:33 -0000)]
2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : reject multiple WaitForRequest calls.
Temporarily disable HTTP Keep-Alive since it somehow results in
wrong reuse of connection (shown as NRE in HttpConnection).
Make sure to close RequestContext which was created from it.
* HttpRequestContext.cs : simplify.
svn path=/trunk/mcs/; revision=135921
Marek Habersack [Thu, 11 Jun 2009 09:20:46 +0000 (09:20 -0000)]
2009-06-11 Marek Habersack <mhabersack@novell.com>
* PageCompiler.cs: if generating code to assign output cache
parameters, use special case for generating OutputCacheLocation
enum reference. Fixes bug #512037
svn path=/trunk/mcs/; revision=135918
Atsushi Eno [Thu, 11 Jun 2009 09:10:38 +0000 (09:10 -0000)]
2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs, TcpChannelListener.cs,
ChannelListenerBase_1.cs : put common internal listener base
and let it handle those async stuff.
svn path=/trunk/mcs/; revision=135916
Zoltan Varga [Wed, 10 Jun 2009 23:26:29 +0000 (23:26 -0000)]
2009-06-11 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (mono_compile_assembly): Fix a warning.
svn path=/trunk/mono/; revision=135904
Zoltan Varga [Wed, 10 Jun 2009 22:28:21 +0000 (22:28 -0000)]
2009-06-11 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_wrappers): Don't emit remoting-invoke-with-check
wrappers.
* aot-runtime.c (mono_aot_get_method): Use the original method's code for
remoting-invoke-with-check wrappers, which are not needed when running with
full-aot, since it doesn't support remoting.
svn path=/trunk/mono/; revision=135898
Rolf Bjarne Kvinge [Wed, 10 Jun 2009 22:17:32 +0000 (22:17 -0000)]
2009-06-10 Rolf Bjarne Kvinge <RKvinge@novell.com>
* Thread.cs: MoonlightUnhandledException: ensure there's no way to
reach native code with a managed exception.
svn path=/trunk/mcs/; revision=135897
Rodrigo Kumpera [Wed, 10 Jun 2009 22:08:16 +0000 (22:08 -0000)]
2009-06-10 Rodrigo Kumpera <rkumpera@novell.com>
* cli-cattr-tests.md: Tests for custom attributes
encoding.
*assembly-with-cattr-enc.cs: Input file
* Makefile: Add new dependency and test.
svn path=/trunk/mono/; revision=135895
Rodrigo Kumpera [Wed, 10 Jun 2009 22:08:07 +0000 (22:08 -0000)]
2009-06-10 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify basic cattr content.
svn path=/trunk/mono/; revision=135894
Zoltan Varga [Wed, 10 Jun 2009 21:42:50 +0000 (21:42 -0000)]
2009-06-10 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_got_info): Don't emit offsets for the plt got entries.
* aot-compiler.c aot-runtime.c: Don't emit the first got offset in the
method info, it is not used anymore.
* mini.h: Bump AOT file format version.
svn path=/trunk/mono/; revision=135891
Zoltan Varga [Wed, 10 Jun 2009 20:13:23 +0000 (20:13 -0000)]
2009-06-10 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (arch_emit_plt_entry): Make the arm plt entries one
word smaller.
* aot-runtime.c (mono_aot_get_plt_info_offset): Update after the
change above.
* tramp-arm.c (mono_arch_patch_plt_entry): Ditto.
* mini.h: Bump AOT file format version.
svn path=/trunk/mono/; revision=135886
Gert Driesen [Wed, 10 Jun 2009 20:11:53 +0000 (20:11 -0000)]
* corlib_test.dll.sources: Added test for InternalVisibleToAttribute.
* InternalVisibleToAttributeTest.cs: Added test for .ctor and
AllInternalsVisible property.
svn path=/trunk/mcs/; revision=135885
Andrés G. Aragoneses [Wed, 10 Jun 2009 19:19:36 +0000 (19:19 -0000)]
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Cosmetic.
* tuner/Mono.Tuner/MoonlightA11yAssemblyStep.cs: Typo.
svn path=/trunk/mcs/; revision=135881
Geoff Norton [Wed, 10 Jun 2009 18:57:17 +0000 (18:57 -0000)]
This is dead now that 3.0 is out
svn path=/trunk/mono/; revision=135880
Zoltan Varga [Wed, 10 Jun 2009 18:40:06 +0000 (18:40 -0000)]
2009-06-10 Zoltan Varga <vargaz@gmail.com>
* reflection.c (add_exported_type): Don't set the FORWARDER flag on
nested types.
svn path=/trunk/mono/; revision=135878
Marek Safar [Wed, 10 Jun 2009 18:38:08 +0000 (18:38 -0000)]
2009-06-10 Marek Safar <marek.safar@gmail.com>
* eval.cs, anonymous.cs, report.cs, rootcontext.cs, cs-parser.jay,
driver.cs: Split lang version and metadata version.
svn path=/trunk/mcs/; revision=135877
Marek Safar [Wed, 10 Jun 2009 18:36:12 +0000 (18:36 -0000)]
2009-06-10 Marek Safar <marek.safar@gmail.com>
* runtime/Makefile.am, configure.in: Make net_4_0 profile optional.
svn path=/trunk/mono/; revision=135876
Zoltan Varga [Wed, 10 Jun 2009 18:34:24 +0000 (18:34 -0000)]
2009-06-10 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_fill_export_table_from_type_forwarders): Add
support for nested types. Fixes #511704.
svn path=/trunk/mono/; revision=135874
Zoltan Varga [Wed, 10 Jun 2009 17:42:29 +0000 (17:42 -0000)]
2009-06-10 Zoltan Varga <vargaz@gmail.com>
* image-writer.c (asm_writer_emit_symbol_diff): Disable the
TARGET_ASM_APPLE stuff for now, as it doesn't seem to work on the
iphone.
svn path=/trunk/mono/; revision=135869
Jb Evain [Wed, 10 Jun 2009 17:27:02 +0000 (17:27 -0000)]
2009-06-10 Jb Evain <jbevain@novell.com>
* main.c: add support for extern types. Fixes #511672.
svn path=/trunk/mono/; revision=135868
Sebastien Pouliot [Wed, 10 Jun 2009 17:17:55 +0000 (17:17 -0000)]
2009-06-10 Sebastien Pouliot <sebastien@ximian.com>
* Thread.cs: Refactor calling Moonlight's OnUnhandledException to
make sur the delegate it not called from a [SecuritySafeCritical]
caller.
* ThreadPool.cs: Reuse the above code for QueueUserWorkItem.
Original patch from Alan McGovern
svn path=/trunk/mcs/; revision=135866
Marek Safar [Wed, 10 Jun 2009 16:14:01 +0000 (16:14 -0000)]
New error message.
svn path=/trunk/mcs/; revision=135863
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
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
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
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
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
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
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
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
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
Marek Safar [Wed, 10 Jun 2009 13:43:37 +0000 (13:43 -0000)]
Initialize AllInternalsVisible
svn path=/trunk/mcs/; revision=135845
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gonzalo Paniagua Javier [Tue, 9 Jun 2009 15:14:39 +0000 (15:14 -0000)]
enable test
svn path=/trunk/mcs/; revision=135760
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
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
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
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
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
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
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
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
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
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
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
Atsushi Eno [Tue, 9 Jun 2009 07:46:31 +0000 (07:46 -0000)]
Prepare ServiceThorottle implementation.
svn path=/trunk/mcs/; revision=135727
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Mon, 8 Jun 2009 11:51:40 +0000 (11:51 -0000)]
Fixed bug number
svn path=/trunk/mcs/; revision=135658
Atsushi Eno [Mon, 8 Jun 2009 09:21:35 +0000 (09:21 -0000)]
svn:eol-style native.
svn path=/trunk/mcs/; revision=135653
Atsushi Eno [Mon, 8 Jun 2009 09:20:52 +0000 (09:20 -0000)]
another EOL inconsistency.
svn path=/trunk/mcs/; revision=135652
Atsushi Eno [Mon, 8 Jun 2009 09:18:06 +0000 (09:18 -0000)]
fix inconsistent EOLs.
svn path=/trunk/mcs/; revision=135651
Atsushi Eno [Mon, 8 Jun 2009 09:16:39 +0000 (09:16 -0000)]
fix inconsistent EOLs.
svn path=/trunk/mcs/; revision=135650
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
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
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
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
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
Ankit Jain [Mon, 8 Jun 2009 00:36:41 +0000 (00:36 -0000)]
* ResolvedReference.cs: Add missing file.
svn path=/trunk/mcs/; revision=135621
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
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
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