Atsushi Eno [Tue, 12 Aug 2008 16:39:56 +0000 (16:39 -0000)]
2008-08-12 Atsushi Enomoto <atsushi@ximian.com>
* SmtpClient.cs : fixed bug #392682, in the same spirit in the
patch by Ted Unangst, to assure safety on socket closing.
svn path=/trunk/mcs/; revision=110263
Marek Safar [Tue, 12 Aug 2008 15:56:44 +0000 (15:56 -0000)]
New tests.
svn path=/trunk/mcs/; revision=110256
Marek Safar [Tue, 12 Aug 2008 15:56:24 +0000 (15:56 -0000)]
2008-08-12 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay, enum.cs: Simplified enum parsing.
* decl.cs: Check all type parameters conflicts.
* expression.cs, statement.cs, attribute.cs: More expression checks.
svn path=/trunk/mcs/; revision=110255
Zoltan Varga [Tue, 12 Aug 2008 14:15:01 +0000 (14:15 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_call_body): Use image->aot_module instead of
assembly->aot_module.
svn path=/trunk/mono/; revision=110236
Zoltan Varga [Tue, 12 Aug 2008 14:14:07 +0000 (14:14 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c: Use image->aot_module instead of searching in the aot_modules
hash table. This simplifies and speeds up a lot of code, and fixes support
for .netmodules.
svn path=/trunk/mono/; revision=110235
Zoltan Varga [Tue, 12 Aug 2008 14:10:52 +0000 (14:10 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* metadata-internals.h: Move the 'aot_module' field from MonoAssembly to
MonoImage to simplify the AOT code.
svn path=/trunk/mono/; revision=110233
Zoltan Varga [Tue, 12 Aug 2008 12:59:39 +0000 (12:59 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* mini.c (SIG_HANDLER_SIGNATURE): Avoid crashes if the thread is not registered
with the runtime.
* mini-exceptions.c: Ditto.
svn path=/trunk/mono/; revision=110229
Stephane Delcroix [Tue, 12 Aug 2008 09:31:27 +0000 (09:31 -0000)]
Adds an empty WebClient to the 2.1 build
svn path=/trunk/mcs/; revision=110216
Gert Driesen [Tue, 12 Aug 2008 09:04:52 +0000 (09:04 -0000)]
* corlib.dll.sources: Removed ReflectionSerializationHolder.cs.
* ReflectionSerializationHolder.cs: Removed.
* common.src: Removed.
svn path=/trunk/mcs/; revision=110212
Carlos Alberto Cortez [Tue, 12 Aug 2008 02:54:51 +0000 (02:54 -0000)]
2008-08-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: Fix the -temporary- broken selection in ListBox for
MultiExtended mode, by separating some logic between the ctrl/shift
handling. Also ignore any MouseMove events generated together with
MouseDown events - we are only interested in the real motion event.
Fixes part of #414963.
svn path=/trunk/mcs/; revision=110204
Zoltan Varga [Mon, 11 Aug 2008 22:27:00 +0000 (22:27 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* exceptions-*c.c (mono_arch_find_jit_info): Remove unused 'trace' and
'native_offset' argument, since these are computed in the
mono_find_jit_info () function.
svn path=/trunk/mono/; revision=110175
Zoltan Varga [Mon, 11 Aug 2008 22:13:10 +0000 (22:13 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_find_jit_info): Make this non-static, as it
is used by exceptions-ppc.c.
* exceptions-ppc.c: Call mono_find_jit_info () instead of
mono_arch_find_jit_info ().
* mini-ppc.h exceptions-ppc.c mini-mips.h mini-mips.c exceptions-mips.c
mini-exceptions.c: Get rid of the CUSTOM_STACK_WALK stuff, use the
generic code in mini-exceptions.c.
svn path=/trunk/mono/; revision=110174
Zoltan Varga [Mon, 11 Aug 2008 21:47:04 +0000 (21:47 -0000)]
2008-08-11 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_arch_flush_register_windows): Add this for ppc.
svn path=/trunk/mono/; revision=110170
Zoltan Varga [Mon, 11 Aug 2008 20:18:46 +0000 (20:18 -0000)]
2008-08-11 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_plt_info_offset): Fix a warning.
svn path=/trunk/mono/; revision=110160
Larry Ewing [Mon, 11 Aug 2008 20:11:16 +0000 (20:11 -0000)]
2008-08-11 Larry Ewing <lewing@novell.com>
* ResourceReader.cs: fix reading/writing beyond the end of the
current resource when the resource is larger than 1024 bytes.
svn path=/trunk/mcs/; revision=110159
Zoltan Varga [Mon, 11 Aug 2008 20:06:00 +0000 (20:06 -0000)]
2008-08-11 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method): Avoid doing all the loading inside
the aot lock, to avoid deadlocks when mono_aot_get_class_from_name () is
called while holding the loader lock. Fixes #415608.
(mono_aot_get_method_from_token_inner): Ditto.
svn path=/trunk/mono/; revision=110157
Zoltan Varga [Mon, 11 Aug 2008 20:01:21 +0000 (20:01 -0000)]
2008-08-11 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method): Avoid doing all the loading inside
the aot lock, to avoid deadlocks when mono_aot_get_class_from_name () is
called while holding the loader lock. Fixes #415608.
svn path=/trunk/mono/; revision=110156
Marek Habersack [Mon, 11 Aug 2008 17:04:51 +0000 (17:04 -0000)]
2008-08-11 Marek Habersack <mhabersack@novell.com>
Pass onRemoveCallback along in Insert. Fixes bugs #324528 and
#382644. Patch provided by Juraj Skripsky <juraj@hotfeet.ch>,
thanks!
svn path=/trunk/mcs/; revision=110125
Marek Habersack [Mon, 11 Aug 2008 16:13:47 +0000 (16:13 -0000)]
2008-08-11 Marek Habersack <mhabersack@novell.com>
* Cache.cs: dispose item timer when removing an entry. Fixes bug
#416076. Patch provided by Adriaan van Kekem
<adriaanvk@gmail.com>, thanks!
svn path=/trunk/mcs/; revision=110121
Marek Safar [Mon, 11 Aug 2008 13:16:08 +0000 (13:16 -0000)]
New tests.
svn path=/trunk/mcs/; revision=110104
Marek Safar [Mon, 11 Aug 2008 13:15:45 +0000 (13:15 -0000)]
2008-11-08 Marek Safar <marek.safar@gmail.com>
* generic.cs: Add type inference types restriction.
* parameter.cs, class.cs, delegate.cs, iterators.cs, cs-parser.jay,
anonymous.cs, expression.cs: Allocate less accessor parameters.
svn path=/trunk/mcs/; revision=110103
Gert Driesen [Sun, 10 Aug 2008 18:17:22 +0000 (18:17 -0000)]
* IServiceProvider.cs: Added ComVisible attribute (1.0 only).
* String.cs: Fixed argument names to match MS.
svn path=/trunk/mcs/; revision=110079
Zoltan Varga [Sun, 10 Aug 2008 14:43:54 +0000 (14:43 -0000)]
2008-08-10 Zoltan Varga <vargaz@gmail.com>
* include/private/gc_locks.h: Add amd64 support so parallel mark works on
amd64 too.
svn path=/trunk/mono/; revision=110070
Gert Driesen [Sun, 10 Aug 2008 14:24:16 +0000 (14:24 -0000)]
* Boolean.cs
* Byte.cs
* Char.cs
* DateTime.cs
* DBNull.cs
* Decimal.cs
* Double.cs
* Enum.cs
* Int16.cs
* Int32.cs
* Int64.cs
* Single.cs
* String.cs
* UInt16.cs
* UInt32.cs
* UInt64.cs: Added missing CLSCompliant attributes for 1.0 profile.
svn path=/trunk/mcs/; revision=110069
Zoltan Varga [Sun, 10 Aug 2008 11:31:29 +0000 (11:31 -0000)]
2008-08-10 Zoltan Varga <vargaz@gmail.com>
* pinvoke3.cs: Add test for #416078.
svn path=/trunk/mono/; revision=110068
Zoltan Varga [Sun, 10 Aug 2008 11:24:47 +0000 (11:24 -0000)]
2008-08-10 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_object): Implement native-to-managed StringBuilder
marshalling. Fixes #416078.
svn path=/trunk/mono/; revision=110066
Zoltan Varga [Sat, 9 Aug 2008 21:09:06 +0000 (21:09 -0000)]
2008-08-09 Zoltan Varga <vargaz@gmail.com>
* exceptions-ppc.c (mono_jit_walk_stack): Use MONO_INIT_CONTEXT_FROM_CURRENT
to reduce differences between this and the generic implementation in
mini-exceptions.c.
(ves_icall_get_frame_info): Ditto.
* mini-ppc.h (MONO_INIT_CONTEXT_FROM_CURRENT): Define this for ppc too.
svn path=/trunk/mono/; revision=110055
Zoltan Varga [Sat, 9 Aug 2008 20:55:49 +0000 (20:55 -0000)]
2008-08-09 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_exceptions_init): Remove an #ifdef which is no
longer neccesarry.
* exceptions-ppc.c (arch_get_call_filter): Rename this to
mono_arch_get_call_filter () and make it non-static, for consistency with the
other architectures.
svn path=/trunk/mono/; revision=110054
Raja R Harinath [Sat, 9 Aug 2008 16:36:17 +0000 (16:36 -0000)]
kill unused file
svn path=/trunk/mcs/; revision=110050
Gert Driesen [Sat, 9 Aug 2008 16:31:15 +0000 (16:31 -0000)]
Removed extra spaces that I introduced.
svn path=/trunk/mcs/; revision=110048
Gert Driesen [Sat, 9 Aug 2008 16:24:26 +0000 (16:24 -0000)]
* IpcChannel.cs: Fixed argument names to match MS.
* IpcClientChannel.cs: Fixed argument names to match MS. Made
CreateMessageSink virtual to match MS.
* IpcServerChannel.cs: Fixed argument names to match MS. Made
GetUrlsForUri virtual to match MS.
svn path=/trunk/mcs/; revision=110046
Gert Driesen [Sat, 9 Aug 2008 15:57:49 +0000 (15:57 -0000)]
Revert part of r110042.
svn path=/trunk/mcs/; revision=110045
Rodrigo Kumpera [Sat, 9 Aug 2008 14:11:05 +0000 (14:11 -0000)]
2008-08-09 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c:
* local-propagation.c:
* mini-x86.c: Correct the name of arch defines.
svn path=/trunk/mono/; revision=110044
Gert Driesen [Sat, 9 Aug 2008 14:10:57 +0000 (14:10 -0000)]
* ServiceProcessInstaller.cs: Fixed argument name to match MS. Code
formatting.
* ServiceBase.cs: Fixed argument name to match MS. Code formatting.
* SessionChangeDescription.cs: Fixed argument name to match MS.
svn path=/trunk/mcs/; revision=110043
Gert Driesen [Sat, 9 Aug 2008 14:06:44 +0000 (14:06 -0000)]
* System.Runtime.Remoting_test.dll.sources: add SocketCachePolicy.cs.
* SocketCachePolicy.cs: Added.
* IpcChannel.cs: Fixed argument names to match MS. Changed spaces to
tabs.
* IpcClientChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* IpcServerChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* TcpChannel.cs: Fixed argument names to match MS.
* TcpServerChannel.cs: Fixed argument names to match MS.
* MetaData.cs: Fixed argument names to match MS.
* SdlChannelSink.cs: Fixed argument names to match MS.
* SUDSGeneratorException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* SUDSParserException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* RemotingClientProxy.cs: Marked ComVisible on 2.0 profile.
svn path=/trunk/mcs/; revision=110042
Rodrigo Kumpera [Sat, 9 Aug 2008 12:36:49 +0000 (12:36 -0000)]
2008-08-09 Rodrigo Kumpera <rkumpera@novell.com>
* docs/generic-sharing: Some updates from an irc talk with Mark.
svn path=/trunk/mono/; revision=110041
Gert Driesen [Sat, 9 Aug 2008 12:03:24 +0000 (12:03 -0000)]
* BinaryServerFormatterSink.cs: Fixed argument name to match MS.
* SoapClientFormatterSink.cs: Fixed argument name to match MS. Code
formatting.
svn path=/trunk/mcs/; revision=110040
Gert Driesen [Sat, 9 Aug 2008 11:59:17 +0000 (11:59 -0000)]
* AssemblyInfo.cs: ComVisible attribute only applies to 2.0 profile.
svn path=/trunk/mcs/; revision=110039
Gert Driesen [Sat, 9 Aug 2008 11:46:28 +0000 (11:46 -0000)]
Removed empty dir.
svn path=/trunk/mcs/; revision=110038
Raja R Harinath [Sat, 9 Aug 2008 05:10:59 +0000 (05:10 -0000)]
* DateTimeTest.cs (Bug377042): Allow compilation on the 1.1 profile.
(Note that this is the smallest change required. The test itself doesn't
validate the result -- so I'm guessing it's only testing that no exception
is thrown)
svn path=/trunk/mcs/; revision=110037
Zoltan Varga [Fri, 8 Aug 2008 23:28:09 +0000 (23:28 -0000)]
2008-08-09 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_op_to_op_imm_noemul): Correct name of
NO_EMULATE_LONG_SHIFT_OPS define.
svn path=/trunk/mono/; revision=110027
Zoltan Varga [Fri, 8 Aug 2008 23:26:08 +0000 (23:26 -0000)]
Add missing change.
svn path=/trunk/mono/; revision=110026
Jonathan Pobst [Fri, 8 Aug 2008 20:43:35 +0000 (20:43 -0000)]
2008-08-08 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewCell.cs: Guard against an AOORE when checking if a cell
is selected. [Fixes bug #414143]
svn path=/trunk/mcs/; revision=110024
Sebastien Pouliot [Fri, 8 Aug 2008 19:19:01 +0000 (19:19 -0000)]
2008-08-08 Sebastien Pouliot <sebastien@ximian.com>
* UriTypeConverter.cs: Fix cp typo found when cp (of course ;-)
code into Silverlight's System.Windows.dll
svn path=/trunk/mcs/; revision=110021
Gert Driesen [Fri, 8 Aug 2008 18:21:51 +0000 (18:21 -0000)]
* TestIcon.cs: Add test case for bug #415581.
* Makefile: Add 415581.ico.
* Icon.cs (InitFromStreamWithSize): Use temp ArrayList for IconDirEntry
to avoid empty slots in array. Use actual index of IconDirEntry in
array when entries have been skipped. Fixes bug #415581.
svn path=/trunk/mcs/; revision=110007
Raja R Harinath [Fri, 8 Aug 2008 17:47:58 +0000 (17:47 -0000)]
Reduce massive code duplication
* System.Data.Common/DataContainer.cs (DataContainer): Rename from
AbstractDataContainer.
Introduce new 'protected abstract' members to encapsulate
type-specific handling, and move all common code here.
(DataContainer.Create): Rename from CreateInstance.
* System.Data/DataColumn.cs: Update to changes in DataCollection.
(Since a majority of the lines are changed, I decided to dos2unix the file
too)
svn path=/trunk/mcs/; revision=110002
Zoltan Varga [Fri, 8 Aug 2008 17:38:53 +0000 (17:38 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Remove some code from CEE_MONO_LDPTR
now that aot-ed icall wrappers use CEE_MONO_ICALL_ADDR.
svn path=/trunk/mono/; revision=109997
Zoltan Varga [Fri, 8 Aug 2008 17:27:41 +0000 (17:27 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Add support for static aot compilation.
MACH fixes. Merged from the 2.0 branch.
svn path=/trunk/mono/; revision=109995
Zoltan Varga [Fri, 8 Aug 2008 17:24:17 +0000 (17:24 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Handle CEE_MONO_ICALL_ADDR.
* mini.c (mono_resolve_patch_target): Error out if an icall is not found.
(mono_method_to_ir): Handle CEE_MONO_ICALL_ADDR.
svn path=/trunk/mono/; revision=109994
Zoltan Varga [Fri, 8 Aug 2008 17:17:37 +0000 (17:17 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* exceptions-arm.c (mono_arch_get_throw_exception_generic): Add AOT support.
svn path=/trunk/mono/; revision=109990
Zoltan Varga [Fri, 8 Aug 2008 17:11:26 +0000 (17:11 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c mini.c driver.c aot-compiler.c: Update after
mono_marshal_get_native_wrapper () signature changes.
svn path=/trunk/mono/; revision=109988
Zoltan Varga [Fri, 8 Aug 2008 17:08:43 +0000 (17:08 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_native_wrapper): Add an 'aot' argument, when
it is set, looking up the icall address is deferred to the JIT, since
in embedded scenarios, the icall might not be registered in the runtime
doing the AOT compilation. Backported from the 2.0 branch.
svn path=/trunk/mono/; revision=109987
Zoltan Varga [Fri, 8 Aug 2008 17:07:40 +0000 (17:07 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* cil-opcodes.xml: Add an 'icall_addr' opcode.
svn path=/trunk/mono/; revision=109986
Gert Driesen [Fri, 8 Aug 2008 16:58:46 +0000 (16:58 -0000)]
* TestIcon.cs: Modified test for bug #410608 to work around bug
#415809.
svn path=/trunk/mcs/; revision=109985
Sebastien Pouliot [Fri, 8 Aug 2008 15:40:20 +0000 (15:40 -0000)]
2008-08-08 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Remove a few attributes for SL2
svn path=/trunk/mcs/; revision=109976
Zoltan Varga [Fri, 8 Aug 2008 15:23:54 +0000 (15:23 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* mono.1: Remove no-dlsym aot option for now.
svn path=/trunk/mono/; revision=109974
Zoltan Varga [Fri, 8 Aug 2008 15:16:52 +0000 (15:16 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* mono.1: Document the 'static' aot option.
svn path=/trunk/mono/; revision=109971
Zoltan Varga [Fri, 8 Aug 2008 15:00:46 +0000 (15:00 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* nullable_boxing.2.cs: Add test for #415621.
svn path=/trunk/mono/; revision=109970
Zoltan Varga [Fri, 8 Aug 2008 14:58:26 +0000 (14:58 -0000)]
2008-08-08 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_remoting_wrapper): Handle nullable types correctly.
Fixes #415621.
svn path=/trunk/mono/; revision=109968
Sebastien Pouliot [Fri, 8 Aug 2008 14:11:51 +0000 (14:11 -0000)]
2008-08-08 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate20.cs: Remove reference to X509ContentType.Pfx and
SerializedCert since they are not available in SL 2.0
* X509ContentType.cs: Remove values not available in SL 2.0
* X509KeyStorageFlags.cs: Remove values not available in SL 2.0
svn path=/trunk/mcs/; revision=109964
Marek Safar [Fri, 8 Aug 2008 10:33:09 +0000 (10:33 -0000)]
Warnings cleanup.
svn path=/trunk/mcs/; revision=109956
Marek Safar [Fri, 8 Aug 2008 10:21:39 +0000 (10:21 -0000)]
2008-08-08 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, ecore.cs: Ambiguous operators can come from different
classes.
svn path=/trunk/mcs/; revision=109955
Marek Habersack [Fri, 8 Aug 2008 09:52:29 +0000 (09:52 -0000)]
2008-08-08 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: a better bugfix for bug #412495.
Do not call RootNode within BuildSiteMap, as it induces
recursion. Fixes bug #415685.
svn path=/trunk/mcs/; revision=109952
Marek Safar [Fri, 8 Aug 2008 09:10:06 +0000 (09:10 -0000)]
2008-08-08 Marek Safar <marek.safar@gmail.com>
* convert.cs, delegate.cs: Fixed delegate compatibility conversion.
svn path=/trunk/mcs/; revision=109950
Jb Evain [Fri, 8 Aug 2008 08:41:14 +0000 (08:41 -0000)]
fix #415644
svn path=/trunk/mcs/; revision=109948
Marek Habersack [Fri, 8 Aug 2008 01:14:59 +0000 (01:14 -0000)]
2008-08-08 Marek Habersack <mhabersack@novell.com>
* StateManagedCollection.cs: set all the contained objects state
to dirty in SetDirty.
svn path=/trunk/mcs/; revision=109932
Marek Habersack [Fri, 8 Aug 2008 00:36:27 +0000 (00:36 -0000)]
2008-08-08 Marek Habersack <mhabersack@novell.com>
* UpdatePanel.cs: do not check whether a panel whose children are
to be rendered has been marked for update in the async postback
mode. It prevents complex scenarios where there is one superior
update panel which owns an inferior one, and only the superior one
has Update called on it.
svn path=/trunk/mcs/; revision=109922
Sebastien Pouliot [Thu, 7 Aug 2008 18:19:09 +0000 (18:19 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* Aes.cs: Don't set the (unexisting) FeedbackSizeValue field
for NET_2_1
* AesTransform.cs: Remove code for blocksize != 128 bits
svn path=/trunk/mcs/; revision=109898
Sebastien Pouliot [Thu, 7 Aug 2008 18:17:56 +0000 (18:17 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* CryptoTools.cs: Make this usable with Silverlight 2.0 (NET_2_1)
* SymmetricTransform.cs: Make this (more) usable with SL2 limited
crypto support.
svn path=/trunk/mcs/; revision=109897
Sebastien Pouliot [Thu, 7 Aug 2008 18:17:26 +0000 (18:17 -0000)]
corlib.dll.sources: Add System.Security/SecurityState.cs
svn path=/trunk/mcs/; revision=109896
Sebastien Pouliot [Thu, 7 Aug 2008 18:16:13 +0000 (18:16 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* MiniParser.cs: Remove. It is not used anymore inside corlib
svn path=/trunk/mcs/; revision=109895
Sebastien Pouliot [Thu, 7 Aug 2008 18:15:04 +0000 (18:15 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* SecurityState.cs: New. Silverlight 2.0 abstract type.
svn path=/trunk/mcs/; revision=109894
Sebastien Pouliot [Thu, 7 Aug 2008 18:13:50 +0000 (18:13 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricAlgorithm.cs: Hide some protected fields not present in
Silverlight 2.0 (NET_2_1)
svn path=/trunk/mcs/; revision=109893
Sebastien Pouliot [Thu, 7 Aug 2008 18:12:17 +0000 (18:12 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Make this (more) usable with SL2 limited
crypto support.
svn path=/trunk/mcs/; revision=109892
Rodrigo Kumpera [Thu, 7 Aug 2008 17:33:04 +0000 (17:33 -0000)]
2008-08-07 Rodrigo Kumpera <rkumpera@novell.com>
* jit-icalls.c (mono_fconv_ovf_u8): Work around soft-float double to long
conversion bug under arm.
svn path=/trunk/mono/; revision=109882
Gert Driesen [Thu, 7 Aug 2008 17:21:30 +0000 (17:21 -0000)]
* TestIcon.cs: Ignore test for bug #410608 on Unix, since it depends
on bug #323511.
svn path=/trunk/mcs/; revision=109880
Gert Driesen [Thu, 7 Aug 2008 16:58:15 +0000 (16:58 -0000)]
* Icon.cs (InitFromStreamWithSize): Move init of iconDir.idCount
and imageData until after the number of entries was determined to
cope with skipping of 256x256 icons. Fixes bug #410608.
* Makefile: Add 323511.ico.
* TestIcon.cs: Add test case for bug #410608.
svn path=/trunk/mcs/; revision=109879
Jb Evain [Thu, 7 Aug 2008 15:37:25 +0000 (15:37 -0000)]
add helper target
svn path=/trunk/mcs/; revision=109869
Marek Safar [Thu, 7 Aug 2008 15:25:58 +0000 (15:25 -0000)]
New tests.
svn path=/trunk/mcs/; revision=109868
Marek Safar [Thu, 7 Aug 2008 15:25:45 +0000 (15:25 -0000)]
New tests.
svn path=/trunk/mcs/; revision=109867
Marek Safar [Thu, 7 Aug 2008 15:24:50 +0000 (15:24 -0000)]
2008-08-07 Marek Safar <marek.safar@gmail.com>
* class.cs, decl.cs, iterator.cs, ecore.cs: Refactor base type resolving.
Also fixes #362146 and #381592.
svn path=/trunk/mcs/; revision=109866
Ivan Zlatev [Thu, 7 Aug 2008 14:44:11 +0000 (14:44 -0000)]
2008-08-07 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs: Check if current property is a ICustomTypeDescriptor
and not the parent one (the propertyowner). Fixes the behavior of
GetConverter/GetEditor.
[Fixes bug #415452]
svn path=/trunk/mcs/; revision=109864
Ivan Zlatev [Thu, 7 Aug 2008 14:38:04 +0000 (14:38 -0000)]
2008-08-07 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs: Refresh should also repopulate the PropertyGrid.
[Fixes part of bug #415452]
svn path=/trunk/mcs/; revision=109862
Atsushi Eno [Thu, 7 Aug 2008 14:06:36 +0000 (14:06 -0000)]
2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
* SmtpClient.cs : Fixed bug #392809, patch by Ted Unangst. Text body
was not copied to byte array which is being sent.
svn path=/trunk/mcs/; revision=109861
Sebastien Pouliot [Thu, 7 Aug 2008 14:02:01 +0000 (14:02 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* GenericUriParserOptions.cs: Add new values for SL2 (NET_2_1)
* UriFormatException.cs: Add ctor(string,Exception) for SL2 (NET_2_1)
* UriIdnScope.cs: Fix values
svn path=/trunk/mcs/; revision=109860
Jb Evain [Thu, 7 Aug 2008 13:49:28 +0000 (13:49 -0000)]
2008-08-07 Jb Evain <jbevain@novell.com>
* Expression.cs (GetAssociatedProperty): strengthen accessors
comparisons.
svn path=/trunk/mcs/; revision=109858
Sebastien Pouliot [Thu, 7 Aug 2008 13:45:50 +0000 (13:45 -0000)]
net_2_1_raw_System.dll.sources: Add existing System/UriIdnScope.cs
svn path=/trunk/mcs/; revision=109857
Sebastien Pouliot [Thu, 7 Aug 2008 13:38:17 +0000 (13:38 -0000)]
System_test.dll.sources: Add System.ComponentModel/DefaultValueAttributeTest.cs to the test suite
svn path=/trunk/mcs/; revision=109855
Sebastien Pouliot [Thu, 7 Aug 2008 13:36:58 +0000 (13:36 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* DefaultValueAttributeTest.cs: New. A few unit tests for
DefaultValueAttribute - showing problems in Equals and GetHashCode.
svn path=/trunk/mcs/; revision=109854
Sebastien Pouliot [Thu, 7 Aug 2008 13:36:27 +0000 (13:36 -0000)]
2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
* DefaultValueAttribute.cs: Fix Equals (wrt boxing) and
GetHashCode (wrt NRE on null Value).
* PropertyChangedEventArgs.cs: Property PropertyName is not
virtual for NET_2_1
svn path=/trunk/mcs/; revision=109853
Atsushi Eno [Thu, 7 Aug 2008 12:24:18 +0000 (12:24 -0000)]
2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
* set Algorithm in .ctor(bool), fixed bug #398904.
svn path=/trunk/mcs/; revision=109851
Atsushi Eno [Thu, 7 Aug 2008 12:18:36 +0000 (12:18 -0000)]
2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : zzzz format allows non-fixed length of number, even
in exact parsing mode. Fixed bug #377042.
* DateTimeTest.cs : added test for bug #377042.
svn path=/trunk/mcs/; revision=109847
Marek Safar [Thu, 7 Aug 2008 11:56:07 +0000 (11:56 -0000)]
2008-08-07 Marek Safar <marek.safar@gmail.com>
* ecore.cs: Reduced constant cannot be used as an attribute value.
* cs-parser.jay: Base expression has to be a type.
* expression.cs (Conditional): Uses ReducedExpression.
svn path=/trunk/mcs/; revision=109846
Raja R Harinath [Thu, 7 Aug 2008 11:41:24 +0000 (11:41 -0000)]
update
svn path=/trunk/mcs/; revision=109843
Atsushi Eno [Thu, 7 Aug 2008 08:30:02 +0000 (08:30 -0000)]
2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
* CSharpCodeGenerator.cs : fixed bug #387878, patch by Ted Unangst.
The number of generic type arguments must not be assumed as less
than 10.
svn path=/trunk/mcs/; revision=109837
Sebastien Pouliot [Thu, 7 Aug 2008 02:05:52 +0000 (02:05 -0000)]
2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
* XmlDsigC14NTransform.cs,
* XmlDsigExcC14NTransform.cs
* XmlDsigXsltTransform.cs: Don't use is + as.
[Found using Gendarme AvoidRepetitiveCastsRule]
svn path=/trunk/mcs/; revision=109819
Rodrigo Kumpera [Thu, 7 Aug 2008 00:53:21 +0000 (00:53 -0000)]
2008-08-06 Rodrigo Kumpera <rkumpera@novell.com>
* cpu-arm.md: Increase long_conv_to_ovf_i4_2 max length to 36.
* mini-arm.c (mono_arch_output_basic_block): Implement long to int conversion
with overflow checking.
svn path=/trunk/mono/; revision=109817
Sebastien Pouliot [Thu, 7 Aug 2008 00:26:28 +0000 (00:26 -0000)]
2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
* ToolboxItem.cs: (Initialize) Avoid casting image to Bitmap 2 times.
[Found using Gendarme]
svn path=/trunk/mcs/; revision=109814
Sebastien Pouliot [Thu, 7 Aug 2008 00:20:17 +0000 (00:20 -0000)]
System.Drawing_test.dll.sources: Add System.Drawing.Imaging.FrameDimension unit tests to the build
svn path=/trunk/mcs/; revision=109813
Sebastien Pouliot [Thu, 7 Aug 2008 00:19:00 +0000 (00:19 -0000)]
2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
* FrameDimensionTest.cs: New. Unit tests for FrameDimension
svn path=/trunk/mcs/; revision=109812