Zoltan Varga [Sun, 14 Jun 2009 15:31:54 +0000 (15:31 -0000)]
2009-06-14 Zoltan Varga <vargaz@gmail.com>
* samples/CMakeLists.txt: New file, currently empty.
svn path=/trunk/mono/; revision=136079
Zoltan Varga [Sun, 14 Jun 2009 11:42:12 +0000 (11:42 -0000)]
2009-06-14 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_from_name): Fix support for assembly references
in the EXPORTEDTYPE table. Fixes #511704.
svn path=/trunk/mono/; revision=136078
Geoff Norton [Sat, 13 Jun 2009 17:01:09 +0000 (17:01 -0000)]
2009-06-13 Geoff Norton <gnorton@novell.com>
* domain.c: Ensure that mono_domain_assembly_open actually opens the
assembly in the target domain.
svn path=/trunk/mono/; revision=136068
Zoltan Varga [Sat, 13 Jun 2009 10:52:48 +0000 (10:52 -0000)]
2009-06-13 Zoltan Varga <vargaz@gmail.com>
* mini.h (struct MonoBasicBlock): Add 'has_jump_table' and
'has_call_handler' fields.
* method-to-ir.c (mono_method_to_ir): Set them if needed.
* branch-opts.c (mono_merge_basic_blocks): Avoid iterating through the
first bblock if not needed. Fixes #512790.
svn path=/trunk/mono/; revision=136063
Bill Holmes [Fri, 12 Jun 2009 21:28:26 +0000 (21:28 -0000)]
2009-06-12 Bill Holmes <billholmes54@gmail.com>
* Variant.cs (GetValue): Changing the bool case to use the short value.
This is to avoid junk in the high word.
Contributed under MIT/X11 license.
svn path=/trunk/mcs/; revision=136044
Andreia Gaita [Fri, 12 Jun 2009 21:25:43 +0000 (21:25 -0000)]
* config.in: add libcups dllmap entry
svn path=/trunk/mono/; revision=136039
Robert Jordan [Fri, 12 Jun 2009 20:41:58 +0000 (20:41 -0000)]
2009-06-12 Robert Jordan <robertj@gmx.net>
* cominterop.c (cominterop_get_ccw): Increment mspec's SizeParamIndex
because "this" of the managed signature has become an
ordinary parameter in the unmanaged signature.
svn path=/trunk/mono/; revision=136029
Andrés G. Aragoneses [Fri, 12 Jun 2009 18:57:02 +0000 (18:57 -0000)]
2009-06-12 Andrés G. Aragoneses <aaragoneses@novell.com>
* AssemblyInfo.cs: Changing the public key, as we now use
mono-uia.snk.
svn path=/trunk/mcs/; revision=136025
Carlos Alberto Cortez [Fri, 12 Jun 2009 18:06:34 +0000 (18:06 -0000)]
2009-06-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolBar.cs: Expose the current item as internal.
* PrintPreviewDialog.cs: Tune the TabStop property for
PrintPreviewControl/ToolBar so we match the .net scenario regarding
Tab navigation. Also implement support to navigate throughout the
items in the ToolBar.
Fixes #509142.
svn path=/trunk/mcs/; revision=136020
Jerri Maine [Fri, 12 Jun 2009 17:33:11 +0000 (17:33 -0000)]
Add marcos for coding two byte SIMD/SSE opcodes. Added comments to help tell the different types of SSE code gen marcos appart.
svn path=/trunk/mono/; revision=136018
Atsushi Eno [Fri, 12 Jun 2009 15:10:15 +0000 (15:10 -0000)]
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactory.cs : no need for NIE at OnAbort() (at least so far).
svn path=/trunk/mcs/; revision=136007
Ankit Jain [Fri, 12 Jun 2009 14:43:29 +0000 (14:43 -0000)]
* xbuild/Microsoft.Common.targets (ProjectDir): Fix typo.
svn path=/trunk/mcs/; revision=136002
Ankit Jain [Fri, 12 Jun 2009 14:04:53 +0000 (14:04 -0000)]
* xbuild/Microsoft.Common.targets (IntermediateAssembly): Change to
an Item list to match msbuild.
* xbuild/Microsoft.CSharp.targets (IntermediateAssembly): Update for
above changes.
svn path=/trunk/mcs/; revision=136001
Ankit Jain [Fri, 12 Jun 2009 14:04:06 +0000 (14:04 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Fix bug #512535.
* ExpressionCollection.cs (ConvertToITaskItemArray): Whitespace around a
itemref is allowed if the prev/next element is ";".
In class/Microsoft.Build.Engine/Test/various:
* Items.cs (TestItemsInTarget3a): Add another case for valid whitespace
around an item ref.
svn path=/trunk/mcs/; revision=136000
Marek Habersack [Fri, 12 Jun 2009 13:15:23 +0000 (13:15 -0000)]
Updated test sources list
svn path=/trunk/mcs/; revision=135998
Marek Habersack [Fri, 12 Jun 2009 13:14:49 +0000 (13:14 -0000)]
2009-06-12 Marek Habersack <mhabersack@novell.com>
* MetaTableTest.cs: tests use single data model provider now.
Implemented tests for IsReadOnly, ListActionPath, Model, Name,
Provider, Scaffold, SortColumn, SortDescending, ToString.
Fixed ForeignKeyColumnNames test.
2009-06-12 Marek Habersack <mhabersack@novell.com>
* TestDataContainer.cs: GetTables uses an object of the associated
data type to create table collection.
* TestDataColumn.cs: foreign key columns are determined using a
custom attribute instead of a name now. This makes it possible to
specify which table.column they are associated with.
* FooDisplayColumnAttribute.cs: changed sortDescending to true in
class attributes.
* AssociatedBar.cs, AssociatedFoo.cs, FooEmptySortColumn.cs,
FooMisnamedSortColumn.cs, FooNoScaffold.cs, FooReadOnly.cs,
ITestDataContext.cs, TestDataContext.cs: added
2009-06-12 Marek Habersack <mhabersack@novell.com>
* MetaTable.cs: implemented correct detection of foreign key
columns.
Implemented IsReadOnly, SortColumn, SortDescending.
svn path=/trunk/mcs/; revision=135997
Jb Evain [Fri, 12 Jun 2009 12:42:17 +0000 (12:42 -0000)]
2009-06-12 Jb Evain <jbevain@novell.com>
* mcs.1: update the /platform information.
svn path=/trunk/mono/; revision=135992
Jb Evain [Fri, 12 Jun 2009 12:41:42 +0000 (12:41 -0000)]
2009-06-12 Jb Evain <jbevain@novell.com>
* gtest-449.cs
* gtest-450.cs:
new tests for the /platform support.
svn path=/trunk/mcs/; revision=135991
Jb Evain [Fri, 12 Jun 2009 12:41:01 +0000 (12:41 -0000)]
2009-06-12 Jb Evain <jbevain@novell.com>
* rootcontext.cs: add a Platform field.
* driver.cs: handle /platform.
* codegen.cs: pass the proper flags according to
the platform when saving the assembly.
svn path=/trunk/mcs/; revision=135990
Jb Evain [Fri, 12 Jun 2009 12:39:17 +0000 (12:39 -0000)]
2009-06-12 Jb Evain <jbevain@novell.com>
* AssemblyBuilder.cs (Save): throw a NotImplementedException
when asked to emit a pe32+ binary for a AMD64 or IA64
specific assembly.
svn path=/trunk/mcs/; revision=135989
Marek Safar [Fri, 12 Jun 2009 10:34:32 +0000 (10:34 -0000)]
Support all versions in mcs
svn path=/trunk/mcs/; revision=135981
Atsushi Eno [Fri, 12 Jun 2009 10:09:59 +0000 (10:09 -0000)]
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcherTest.cs : make sure to close service host,
within rational TimeSpan.
svn path=/trunk/mcs/; revision=135980
Atsushi Eno [Fri, 12 Jun 2009 10:08:47 +0000 (10:08 -0000)]
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : do not give up releasing further channel
dispatchers when one of them threw an error. Use strict timeout.
svn path=/trunk/mcs/; revision=135979
Atsushi Eno [Fri, 12 Jun 2009 10:06:54 +0000 (10:06 -0000)]
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
more careful close to avoid NRE.
svn path=/trunk/mcs/; revision=135978
Atsushi Eno [Fri, 12 Jun 2009 09:58:35 +0000 (09:58 -0000)]
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs : do not Close() more than once (though
it is allowed to call it twice, we don't reject it; just ignore).
svn path=/trunk/mcs/; revision=135977
Atsushi Eno [Fri, 12 Jun 2009 09:12:20 +0000 (09:12 -0000)]
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* CustomBinding.cs : copy timeouts from argument binding in copy ctr.
svn path=/trunk/mcs/; revision=135975
Marek Habersack [Fri, 12 Jun 2009 07:55:27 +0000 (07:55 -0000)]
2009-06-12 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: avoid a NREX in FixVirtualPath
svn path=/trunk/mcs/; revision=135970
Zoltan Varga [Fri, 12 Jun 2009 00:52:45 +0000 (00:52 -0000)]
2009-06-12 Zoltan Varga <vargaz@gmail.com>
* ParameterInfoTest.cs: Add a test for #512330.
svn path=/trunk/mcs/; revision=135966
Zoltan Varga [Fri, 12 Jun 2009 00:52:37 +0000 (00:52 -0000)]
2009-06-12 Zoltan Varga <vargaz@gmail.com>
* ParameterInfo.cs (DefaultValue): Add support for decimals, their default
value is encoded using a custom attribute.
svn path=/trunk/mcs/; revision=135965
Zoltan Varga [Thu, 11 Jun 2009 23:44:21 +0000 (23:44 -0000)]
2009-06-12 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (struct _MonoGenericContainer): Add an 'image'
field for owner-less generic containers.
* reflection.c (mono_reflection_initialize_generic_parameter): Set the
image field of the owner-less generic containers created here.
* metadata.c (mono_metadata_load_generic_params): Ditto, the
contain is ownerless until the caller sets its owner.
* metadata.c (type_in_image): Handle owner-less generic containers
correctly.
svn path=/trunk/mono/; revision=135964
Gonzalo Paniagua Javier [Thu, 11 Jun 2009 22:17:24 +0000 (22:17 -0000)]
2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ContentControlBuilderInternal.cs: detect missing
ContentPlaceHolderID attribute when parsing instead of throwing a
nullref later on.
svn path=/trunk/mcs/; revision=135960
Gonzalo Paniagua Javier [Thu, 11 Jun 2009 22:14:41 +0000 (22:14 -0000)]
2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HtmlTitle.cs: HtmlTitle allows children that are not
LiteralControls. Fixes bug #511882.
svn path=/trunk/mcs/; revision=135958
Zoltan Varga [Thu, 11 Jun 2009 21:57:53 +0000 (21:57 -0000)]
2009-06-11 Zoltan Varga <vargaz@gmail.com>
* image.c (mono_image_close): Support debug_assembly_unload for
dynamic images too.
svn path=/trunk/mono/; revision=135956
Ankit Jain [Thu, 11 Jun 2009 21:13:30 +0000 (21:13 -0000)]
* Utilities.cs: New.
* AL.cs, AspNetCompiler.cs, Csc.cs,
SGen.cs, Vbc.cs (ToolName): Append ".bat" when running
on windows.
svn path=/trunk/mcs/; revision=135952
Ankit Jain [Thu, 11 Jun 2009 21:13:11 +0000 (21:13 -0000)]
* Parameters.cs (.ctor): Use assembly's location to build
path for the default response file.
svn path=/trunk/mcs/; revision=135951
Ankit Jain [Thu, 11 Jun 2009 21:11:58 +0000 (21:11 -0000)]
* Utilities.cs (FromMSBuildPath): Return null if the path contains
"drive:" only on windows.
svn path=/trunk/mcs/; revision=135950
Zoltan Varga [Thu, 11 Jun 2009 21:07:46 +0000 (21:07 -0000)]
2009-06-11 Zoltan Varga <vargaz@gmail.com>
* reflection.c (add_custom_modifiers): Avoid reading invalid memory.
svn path=/trunk/mono/; revision=135948
Zoltan Varga [Thu, 11 Jun 2009 21:07:36 +0000 (21:07 -0000)]
2009-06-11 Zoltan Varga <vargaz@gmail.com>
* configure.in: Disable dtrace support if dtrace doesn't support the
-h option.
svn path=/trunk/mono/; revision=135947
Andrés G. Aragoneses [Thu, 11 Jun 2009 19:46:26 +0000 (19:46 -0000)]
2009-06-11 Andrés G. Aragoneses <aaragoneses@novell.com>
* class.c: Fix some typos in comments.
svn path=/trunk/mono/; revision=135946
Zoltan Varga [Thu, 11 Jun 2009 19:13:06 +0000 (19:13 -0000)]
2009-06-11 Zoltan Varga <vargaz@gmail.com>
* threads.c (mono_thread_execute_interruption): Avoid creating the
abort exception object while holding the synch_cs lock.
svn path=/trunk/mono/; revision=135944
Marek Safar [Thu, 11 Jun 2009 17:01:39 +0000 (17:01 -0000)]
New test.
svn path=/trunk/mcs/; revision=135939
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