Rodrigo Kumpera [Tue, 19 Jan 2010 20:50:56 +0000 (20:50 -0000)]
2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_Remoting_RemotingServices_GetVirtualMethod): This
function is generics variance aware.
svn path=/trunk/mono/; revision=149838
Zoltan Varga [Tue, 19 Jan 2010 17:13:05 +0000 (17:13 -0000)]
2010-01-19 Zoltan Varga <vargaz@gmail.com>
* jit-icalls.c (mono_array_new_3): New jit icall.
* aot-compiler.c aot-runtime.c: Add support for ElementAddr wrappers.
* arrays.cs: Add a test for 3 dimensional arrays.
svn path=/trunk/mono/; revision=149834
Zoltan Varga [Tue, 19 Jan 2010 17:12:58 +0000 (17:12 -0000)]
2010-01-19 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_wrapper_info_from_wrapper): New helper function to
return a point to a wrapper specific info structure describing the wrapper.
(mono_marshal_get_array_address): Store the rank+elem_size in the wrapper info.
svn path=/trunk/mono/; revision=149833
Rodrigo Kumpera [Tue, 19 Jan 2010 16:52:51 +0000 (16:52 -0000)]
2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
* EventOnTypeBuilderInst.cs: Fix build.
svn path=/trunk/mcs/; revision=149828
Sebastien Pouliot [Tue, 19 Jan 2010 16:19:48 +0000 (16:19 -0000)]
2010-01-19 Sebastien Pouliot <sebastien@ximian.com>
* security-core-clr.c (mono_security_core_clr_can_access_internals):
Handle the case where 'basedir' can be NULL (e.g. SRE assemblies)
svn path=/trunk/mono/; revision=149823
Miguel de Icaza [Tue, 19 Jan 2010 16:04:47 +0000 (16:04 -0000)]
Fix a crasher
svn path=/trunk/mono/; revision=149822
Bill Holmes [Tue, 19 Jan 2010 15:11:34 +0000 (15:11 -0000)]
2010-01-19 Sylvain Dupont <duposyl@gmail.com>
* cominterop.c marshal.c: Added support for marshalling in, in/byref,
in/out, in/out/byref parameters of type SAFEARRAY[VARIANT].
* cominterop.cs libtest.c: Added tests for marshalling
in, in/byref, in/out, in/out/byref parameters of type
SAFEARRAY[VARIANT].
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=149817
Rolf Bjarne Kvinge [Tue, 19 Jan 2010 13:46:32 +0000 (13:46 -0000)]
Added/Updated .gitignore files
svn path=/trunk/mono/; revision=149816
Rodrigo Kumpera [Tue, 19 Jan 2010 12:47:09 +0000 (12:47 -0000)]
2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
* TypeTest.cs: Add test for GetGenericMethodDefinition of inflated
generic methods on a GTD.
svn path=/trunk/mcs/; revision=149809
Rodrigo Kumpera [Tue, 19 Jan 2010 12:47:03 +0000 (12:47 -0000)]
2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_MonoMethod_GetGenericMethodDefinition): Handle inflated generic methods
on a GTD.
svn path=/trunk/mono/; revision=149808
Alan McGovern [Tue, 19 Jan 2010 11:27:01 +0000 (11:27 -0000)]
2010-01-19 Alan McGovern <amcgovern@novell.com>
* BufferedStream.cs: Patch by Tom Philpot to optimise ReadByte
* and
WriteByte significantly by making them fulfill their request by
directly reading from the buffer.
svn path=/trunk/mcs/; revision=149799
Atsushi Eno [Tue, 19 Jan 2010 10:15:25 +0000 (10:15 -0000)]
2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : when process state changes, lock the
object to make sure the state transition is valid.
Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
* ChannelDispatcher.cs : another error audit.
svn path=/trunk/mcs/; revision=149793
Carlos Alberto Cortez [Tue, 19 Jan 2010 07:26:53 +0000 (07:26 -0000)]
* ComboBox.cs: When use manually setting DropDownHeight, ignore the
MaxDropDownHeight property - also rename our field 'count' to
'visible_items_count' to avoid confusion as much as possible.
Fixes an issue with several items, showing an incorrect layout.
2010-01-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=149786
Atsushi Eno [Tue, 19 Jan 2010 05:32:14 +0000 (05:32 -0000)]
2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
* ServiceAuthorizationBehavior.cs : implement (it does almost
nothing though).
* ServiceAuthorizationBehaviorTest.cs : it's updated and enabled.
Added some more tests.
svn path=/trunk/mcs/; revision=149785
Atsushi Eno [Tue, 19 Jan 2010 05:30:47 +0000 (05:30 -0000)]
2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
* WS2007FederationHttpBinding.cs, WS2007HttpBinding.cs:
add missing constructors.
svn path=/trunk/mcs/; revision=149784
Zoltan Varga [Tue, 19 Jan 2010 02:56:17 +0000 (02:56 -0000)]
2010-01-19 Zoltan Varga <vargaz@gmail.com>
* exceptions-x86.c (mono_arch_get_throw_corlib_exception): Emit xdebug info.
(mono_arch_find_jit_info_ext): Disable the popping of arguments when LLVM is
used.
* mini-llvm.c (emit_cond_system_exception): Abort when an implicit exception is
thrown on x86.
svn path=/trunk/mono/; revision=149783
Zoltan Varga [Tue, 19 Jan 2010 01:11:18 +0000 (01:11 -0000)]
2010-01-19 Zoltan Varga <vargaz@gmail.com>
* unwind.c (mono_unwind_decode_fde): Fix an assert on x86.
* mini-x86.h (MONO_CONTEXT_SET_LLVM_EXC_REG): Define this for x86.
* mini-llvm.c: Disable OP_THROW on x86, it doesn't work yet.
svn path=/trunk/mono/; revision=149782
Mark Probst [Mon, 18 Jan 2010 22:37:15 +0000 (22:37 -0000)]
2010-01-18 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Make minor collection section allowance adaptive,
depending on the amount of memory reclaimed in the last major
collection. If more memory was reclaimed (i.e. more garbage
produced), do the next collection earlier.
svn path=/trunk/mono/; revision=149781
Marek Habersack [Mon, 18 Jan 2010 22:34:03 +0000 (22:34 -0000)]
2010-01-18 Marek Habersack <mhabersack@novell.com>
* Parameter.cs: added missing 3.5 APIs - constructors taking
DbType as one of the parameters, ConvertDbTypeToTypeCode,
ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
2010-01-18 Marek Habersack <mhabersack@novell.com>
* ParameterTest.cs: added tests for ConvertDbTypeToTypeCode,
ConvertTypeCodeToDbType and constructors taking DbType as one of
the parameters.
svn path=/trunk/mcs/; revision=149778
Rodrigo Kumpera [Mon, 18 Jan 2010 22:25:07 +0000 (22:25 -0000)]
2010-01-18 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (parse_type): Fail a type signature if it has a recursive reference
to itself.
* metadata-verify.c (mono_verifier_verify_typespec_signature): Change signature to take
the token as parameter.
* verify-internals.h: Ditto.
* metadata.c (mono_type_create_from_typespec): Pass token to verifier.
Fixes #571460.
svn path=/trunk/mono/; revision=149776
Mark Probst [Mon, 18 Jan 2010 22:07:16 +0000 (22:07 -0000)]
2010-01-18 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Make store_remset_buffer_index long.
svn path=/trunk/mono/; revision=149775
Bill Holmes [Mon, 18 Jan 2010 21:54:43 +0000 (21:54 -0000)]
2010-01-18 Bill Holmes <billholmes54@gmail.com>
* libmono.vcproj : Adding a link to Mswsock.lib and adding files
mono-error and debugger-agent.
* debugger-agent.c : Changing the PLATFORM_WIN32 preprocessor check to
HOST_WIN32. Also including winsock2. to define struct in_addr.
* mini-amd64.h : Changing the PLATFORM_WIN32 preprocessor check to HOST_WIN32.
* mini-x86.h : Changing the PLATFORM_WIN32 preprocessor check to HOST_WIN32.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=149774
Carlos Alberto Cortez [Mon, 18 Jan 2010 21:11:06 +0000 (21:11 -0000)]
2010-01-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RichTextBoxTest.cs: New test for the Modified property.
svn path=/trunk/mcs/; revision=149773
Carlos Alberto Cortez [Mon, 18 Jan 2010 21:08:39 +0000 (21:08 -0000)]
2010-01-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RichTextBox.cs: SelectedText should set Modified to true. Observe
that this is happening just here, not for the Text property, and
neither for the TextBoxBase impl.
Fixes #569950.
svn path=/trunk/mcs/; revision=149772
Sebastien Pouliot [Mon, 18 Jan 2010 20:09:06 +0000 (20:09 -0000)]
2010-01-18 Sebastien Pouliot <sebastien@ximian.com>
* mono-error.c: Call va_end/va_start before reusing 'args'.
svn path=/trunk/mono/; revision=149765
Rodrigo Kumpera [Mon, 18 Jan 2010 19:10:49 +0000 (19:10 -0000)]
2010-01-18 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_from_typeref): Fail loading of self-referencing typeref tokens.
Fixes #569579.
svn path=/trunk/mono/; revision=149760
Marek Habersack [Mon, 18 Jan 2010 17:42:38 +0000 (17:42 -0000)]
2010-01-18 Marek Habersack <mhabersack@novell.com>
* LogicalTypeInfo.cs: partial revert of r146546. The 'd' wrapper
(and thus the JsonResult class) is needed after all. Fixes bug
#571365
svn path=/trunk/mcs/; revision=149756
Zoltan Varga [Mon, 18 Jan 2010 17:34:22 +0000 (17:34 -0000)]
2010-01-18 Zoltan Varga <vargaz@gmail.com>
* dtest.cs dtest-app.cs: Add a test for single stepping + out of line bblocks.
svn path=/trunk/mono/; revision=149755
Zoltan Varga [Mon, 18 Jan 2010 17:34:16 +0000 (17:34 -0000)]
2010-01-18 Zoltan Varga <vargaz@gmail.com>
* mini.h (MonoCompile): Add 'disable_out_of_line_bblocks' flag.
* branch-opts.c (mono_optimize_branches): Honor the new flag.
* mini.c (mini_method_compile): Set the new flag when running under the
debugger.
svn path=/trunk/mono/; revision=149754
Zoltan Varga [Mon, 18 Jan 2010 16:18:44 +0000 (16:18 -0000)]
2010-01-18 Zoltan Varga <vargaz@gmail.com>
* dtest.cs: Upgrade after debugging namespace change.
svn path=/trunk/mono/; revision=149749
Zoltan Varga [Mon, 18 Jan 2010 16:18:37 +0000 (16:18 -0000)]
2010-01-18 Zoltan Varga <vargaz@gmail.com>
* mini-gc.c: Change the GC map to use a ref/noref/pin value instead of just
a ref/noref value + a global pin flag, so parts of stack frames can still be
precisely marked even if they include stuff which needs pinning. Improve logging.
Fix many bugs. Not enabled yet.
* gc-test.cs: Add a few tests.
svn path=/trunk/mono/; revision=149748
Zoltan Varga [Mon, 18 Jan 2010 16:18:31 +0000 (16:18 -0000)]
2010-01-18 Zoltan Varga <vargaz@gmail.com>
* liveness.c (mono_analyze_liveness): Make the debug output controllable by
the normal -v options. Avoid propagating liveness information through bblocks
which end with a NOT_REACHED opcode.
svn path=/trunk/mono/; revision=149747
Martin Baulig [Mon, 18 Jan 2010 14:31:21 +0000 (14:31 -0000)]
Put the soft debugger into the 'Mono.Debugger.Soft' namespace.
svn path=/trunk/mcs/; revision=149742
Atsushi Eno [Mon, 18 Jan 2010 07:49:39 +0000 (07:49 -0000)]
2010-01-18 Atsushi Enomoto <atsushi@ximian.com>
* SecureConversationVersion.cs, SecurityPolicyVersion.cs,
TrustVersion.cs : add new 3.5 classes.
* MessageSecurityVersion.cs : add new 3.5 members.
* System.ServiceModel.dll.sources : added new security version types.
svn path=/trunk/mcs/; revision=149724
Carlos Alberto Cortez [Mon, 18 Jan 2010 04:11:02 +0000 (04:11 -0000)]
2010-01-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* UInt64.cs: Implement a lightweight version of the Parse method for
the overload that does not take IFormatProvider/NumberStyle
parameters - this gets us a nice speed up, just like we do for the
other number types.
Fixes #338022.
svn path=/trunk/mcs/; revision=149722
Zoltan Varga [Mon, 18 Jan 2010 00:23:14 +0000 (00:23 -0000)]
2010-01-18 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_compile_method_inner): Avoid reading cfg->prof_options
after cfg has been freed.
svn path=/trunk/mono/; revision=149721
Zoltan Varga [Mon, 18 Jan 2010 00:23:08 +0000 (00:23 -0000)]
2010-01-18 Zoltan Varga <vargaz@gmail.com>
* sgen-gc.c (mono_gc_base_init): Add 'conservative_stack_mark' option to turn
off precise marking if it is available.
(mono_gc_get_bitmap_for_descr): Fix the handling of run length descriptors.
svn path=/trunk/mono/; revision=149720
Zoltan Varga [Sun, 17 Jan 2010 08:46:10 +0000 (08:46 -0000)]
2010-01-17 Zoltan Varga <vargaz@gmail.com>
* sgen-gc.c (mono_gc_conservatively_scan_area): Resurrect this.
svn path=/trunk/mono/; revision=149706
Zoltan Varga [Sun, 17 Jan 2010 08:42:26 +0000 (08:42 -0000)]
2010-01-17 Zoltan Varga <vargaz@gmail.com>
* sgen-pinning.c (evacuate_pin_staging_area): Don't assert if there are no
pinned objects.
* sgen-gc.c (create_allocator): Add the missing n > MONO_ARRAY_MAX_INDEX check
to the array allocator.
svn path=/trunk/mono/; revision=149705
Zoltan Varga [Sun, 17 Jan 2010 08:02:01 +0000 (08:02 -0000)]
2010-01-17 Zoltan Varga <vargaz@gmail.com>
* branch-opts.c (mono_branch_optimize_exception_target): Stop the optimization
if a clause is skipped because it uses the exception object, since it could
have caught the exception.
* exceptions.cs: Add a test.
svn path=/trunk/mono/; revision=149704
Miguel de Icaza [Sun, 17 Jan 2010 05:50:35 +0000 (05:50 -0000)]
Fix crash when the quote starts the string to escape
svn path=/trunk/mcs/; revision=149703
Miguel de Icaza [Sun, 17 Jan 2010 05:43:27 +0000 (05:43 -0000)]
This method needs to be overwritten from the JsonValue class
svn path=/trunk/mcs/; revision=149702
Zoltan Varga [Sat, 16 Jan 2010 08:32:55 +0000 (08:32 -0000)]
2010-01-16 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_create_static_rgctx_trampoline): Add an assert.
* aot-runtime.c (mono_aot_get_method): Handle ftnptr's correctly for the
ICollection<T> wrappers.
svn path=/trunk/mono/; revision=149691
Zoltan Varga [Sat, 16 Jan 2010 08:32:39 +0000 (08:32 -0000)]
2010-01-16 Zoltan Varga <vargaz@gmail.com>
* generic-sharing.c (instantiate_other_info): Don't create ftnptr's from the
result of mono_compile_method (), it already includes an ftnptr.
svn path=/trunk/mono/; revision=149690
Zoltan Varga [Sat, 16 Jan 2010 02:56:53 +0000 (02:56 -0000)]
2010-01-16 Zoltan Varga <vargaz@gmail.com>
* dtest-app.cs dtest.cs: Add tests for handling vtypes with IntPtr fields.
svn path=/trunk/mono/; revision=149686
Zoltan Varga [Sat, 16 Jan 2010 02:56:43 +0000 (02:56 -0000)]
2010-01-16 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (decode_value): Fix the decoding of I/U/PTR.
svn path=/trunk/mono/; revision=149685
Gonzalo Paniagua Javier [Sat, 16 Jan 2010 01:19:42 +0000 (01:19 -0000)]
Add 2 empty functions needed to compile in the PS3.
svn path=/trunk/mono/; revision=149679
Miguel de Icaza [Sat, 16 Jan 2010 01:03:13 +0000 (01:03 -0000)]
Remove accidentally added file
svn path=/trunk/mono/; revision=149678
Miguel de Icaza [Sat, 16 Jan 2010 01:02:34 +0000 (01:02 -0000)]
Revert temporary hack
svn path=/trunk/mono/; revision=149677
Miguel de Icaza [Sat, 16 Jan 2010 01:00:22 +0000 (01:00 -0000)]
Import proper patch
svn path=/trunk/mono/; revision=149676
Miguel de Icaza [Sat, 16 Jan 2010 00:59:54 +0000 (00:59 -0000)]
Revert gcconfig.h change
svn path=/trunk/mono/; revision=149675
Gonzalo Paniagua Javier [Sat, 16 Jan 2010 00:46:58 +0000 (00:46 -0000)]
Little hack to support EGLIB (no GMemChunk).
Patch by Miguel.
svn path=/trunk/mono/; revision=149672
Zoltan Varga [Sat, 16 Jan 2010 00:46:51 +0000 (00:46 -0000)]
2010-01-16 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_call_body): Always use near calls when AOTing even if
NOMAP32BIT or optimize_for_xen is set.
svn path=/trunk/mono/; revision=149671
Gonzalo Paniagua Javier [Sat, 16 Jan 2010 00:45:08 +0000 (00:45 -0000)]
A few additions to better support PS3.
Patch by Miguel.
svn path=/trunk/mono/; revision=149670
Gonzalo Paniagua Javier [Sat, 16 Jan 2010 00:43:28 +0000 (00:43 -0000)]
Define GMemChunk.
svn path=/trunk/mono/; revision=149669
Zoltan Varga [Sat, 16 Jan 2010 00:30:01 +0000 (00:30 -0000)]
2010-01-16 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Get rid of mono_aot_str_hash (), use
mono_metadata_str_hash () instead.
svn path=/trunk/mono/; revision=149666
Gonzalo Paniagua Javier [Sat, 16 Jan 2010 00:24:28 +0000 (00:24 -0000)]
2010-01-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-hash.c: fix the null-gc build.
svn path=/trunk/mono/; revision=149664
Zoltan Varga [Sat, 16 Jan 2010 00:20:55 +0000 (00:20 -0000)]
2010-01-16 Zoltan Varga <vargaz@gmail.com>
* metadata.c (get_image_set): Remove an assert which can happen in normal use.
svn path=/trunk/mono/; revision=149663
Atsushi Eno [Sat, 16 Jan 2010 00:04:25 +0000 (00:04 -0000)]
2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeTest.cs : commented out ParseExact() case that tests
preserved fraction.
svn path=/trunk/mcs/; revision=149662
Jonathan Pobst [Fri, 15 Jan 2010 23:01:01 +0000 (23:01 -0000)]
2010-01-15 Jonathan Pobst <monkey@jpobst.com>
* ConfigurationErrorsExceptionTest.cs: Mark 4 failing tests as NotWorking.
Filed as bug #571226.
svn path=/trunk/mcs/; revision=149654
Jonathan Pobst [Fri, 15 Jan 2010 22:45:38 +0000 (22:45 -0000)]
2010-01-15 Jonathan Pobst <monkey@jpobst.com>
* HttpWebRequestTest.cs: Mark test WriteServerAborts as
NotWorking. Documented on bug #312968.
svn path=/trunk/mcs/; revision=149653
Jonathan Pobst [Fri, 15 Jan 2010 22:35:08 +0000 (22:35 -0000)]
2010-01-15 Jonathan Pobst <monkey@jpobst.com>
* OracleParameterTest.cs: Mark test ParamSize_424908_SizeNotSetError
as not working. Bug filed: #571218.
svn path=/trunk/mcs/; revision=149652
Carlos Alberto Cortez [Fri, 15 Jan 2010 21:03:19 +0000 (21:03 -0000)]
2010-01-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Int32Test.cs: Test for TryParse with MaxValue + 1.
svn path=/trunk/mcs/; revision=149649
Rodrigo Kumpera [Fri, 15 Jan 2010 20:50:45 +0000 (20:50 -0000)]
2010-01-15 Rodrigo Kumpera <rkumpera@novell.com>
* Array.cs: Implement IStructuralComparer.
2010-01-15 Rodrigo Kumpera <rkumpera@novell.com>
* ArrayTest.cs: Tests for IStructuralComparer::CompareTo.
svn path=/trunk/mcs/; revision=149647
Carlos Alberto Cortez [Fri, 15 Jan 2010 20:28:33 +0000 (20:28 -0000)]
2010-01-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Int32.cs: In Parse() cast the parsed value to long *before* changing
its sign - this way we preserve the original value, instead of
accidentally changing it. This was happening parsing _exactly_
MaxValue + 1.
Fixes #475815.
svn path=/trunk/mcs/; revision=149646
Marek Habersack [Fri, 15 Jan 2010 13:23:54 +0000 (13:23 -0000)]
2010-01-15 Marek Habersack <mhabersack@novell.com>
* ChangePassword.cs: BaseChangePasswordContainer forwards
EnsureChildControls call to its owner, so that finding controls in
the container works correctly.
2010-01-15 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/ChangePasswordContainer_FindControl.aspx
2010-01-15 Marek Habersack <mhabersack@novell.com>
* ChangePasswordTest.cs: added test for looking for controls in
ChangePassword template containers.
svn path=/trunk/mcs/; revision=149631
Marek Safar [Fri, 15 Jan 2010 12:35:13 +0000 (12:35 -0000)]
2010-01-15 Marek Safar <marek.safar@gmail.com>
* *.cs: Use only 1 member kind enum.
svn path=/trunk/mcs/; revision=149624
Atsushi Eno [Fri, 15 Jan 2010 10:55:42 +0000 (10:55 -0000)]
2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
* XElementTest.cs, XAttributeTest.cs : add another set of extensive
tests by Tiaan Geldenhuys.
svn path=/trunk/mcs/; revision=149620
Atsushi Eno [Fri, 15 Jan 2010 10:54:48 +0000 (10:54 -0000)]
2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
* XAttribute.cs : escape whitespace chars in ToString().
svn path=/trunk/mcs/; revision=149619
Atsushi Eno [Fri, 15 Jan 2010 10:49:03 +0000 (10:49 -0000)]
2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : Do not ignore ticks which are less than a
millisecond. Remove trailing zeros for milliseconds and ticks.
* XmlConvertTests.cs : add test for ToString(TimeSpan) with small
ticks.
svn path=/trunk/mcs/; revision=149618
Atsushi Eno [Fri, 15 Jan 2010 10:21:16 +0000 (10:21 -0000)]
2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : trim spaces when parsing TimeSpan.
* XmlConvertTests.cs : add test for ToTimeSpan() with spaces.
svn path=/trunk/mcs/; revision=149617
Atsushi Eno [Fri, 15 Jan 2010 10:10:30 +0000 (10:10 -0000)]
2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : In AddMilliseconds(), it seems fractional
milliseconds are first rounded and then added.
* DateTimeTest.cs : added test for rounding milliseconds.
svn path=/trunk/mcs/; revision=149614
Atsushi Eno [Fri, 15 Jan 2010 09:52:46 +0000 (09:52 -0000)]
2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : shorten format string patterns.
svn path=/trunk/mcs/; revision=149612
Atsushi Eno [Fri, 15 Jan 2010 09:51:52 +0000 (09:51 -0000)]
2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeOffset.cs : preserve fractions (it is somehow dropped).
* DateTimeOffsetTest.cs : add ParseExact() case that should preserve
fractions.
svn path=/trunk/mcs/; revision=149611
Marek Safar [Fri, 15 Jan 2010 09:11:59 +0000 (09:11 -0000)]
updated
svn path=/trunk/mcs/; revision=149610
Atsushi Eno [Fri, 15 Jan 2010 08:58:42 +0000 (08:58 -0000)]
2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : DateTimeOffset parse is sloppy.
* XmlConvertTests.cs : add test for ToDateTimeOffset() with date
string with spaces.
svn path=/trunk/mcs/; revision=149609
Marek Safar [Fri, 15 Jan 2010 08:53:21 +0000 (08:53 -0000)]
2010-01-15 Marek Safar <marek.safar@gmail.com>
* *.cs: Add event specification.
svn path=/trunk/mcs/; revision=149608
Zoltan Varga [Fri, 15 Jan 2010 08:12:01 +0000 (08:12 -0000)]
2010-01-15 Zoltan Varga <vargaz@gmail.com>
* ir-emit.h (MONO_EMIT_NEW_ICOMPARE_IMM): Use sizeof (mgreg_t) instead of
sizeof (void*).
svn path=/trunk/mono/; revision=149607
Atsushi Eno [Fri, 15 Jan 2010 07:36:45 +0000 (07:36 -0000)]
2010-01-15 Astushi Enomoto <atsushi@ximian.com>
* System.ServiceModel.dll.sources: add SL config loader here
for easy debugging under 2.0 profile.
* SilverlightClientConfigLoader.cs : add another loop blocker.
Do not reject binding configuration with no basic http binding.
In SL3 it may be custom and such configuration should be valid.
svn path=/trunk/mcs/; revision=149606
Zoltan Varga [Fri, 15 Jan 2010 07:33:28 +0000 (07:33 -0000)]
2010-01-15 Zoltan Varga <vargaz@gmail.com>
* unwind.c (mono_unwind_frame): Use mgreg_t instead of gssize.
svn path=/trunk/mono/; revision=149605
Zoltan Varga [Fri, 15 Jan 2010 07:29:43 +0000 (07:29 -0000)]
2010-01-15 Zoltan Varga <vargaz@gmail.com>
* ir-emit.h (MONO_EMIT_NEW_CHECK_THIS): Emit an explicit null check if the
flag is set.
svn path=/trunk/mono/; revision=149604
Zoltan Varga [Fri, 15 Jan 2010 05:33:40 +0000 (05:33 -0000)]
2010-01-15 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_arch_emit_exceptions): Compute the size of the exception
throwing code correctly.
svn path=/trunk/mono/; revision=149603
Zoltan Varga [Fri, 15 Jan 2010 05:31:03 +0000 (05:31 -0000)]
2010-01-15 Zoltan Varga <vargaz@gmail.com>
* mini.h (MONO_AOT_FILE_VERSION): Bump this because of the IMT hashing changes.
svn path=/trunk/mono/; revision=149602
Zoltan Varga [Fri, 15 Jan 2010 05:29:42 +0000 (05:29 -0000)]
2010-01-15 Zoltan Varga <vargaz@gmail.com>
* metadata.c (mono_metadata_str_hash): New helper function to compute a stable
hash value which doesn't depend on glib/eglib versions.
(mono_metadata_type_hash): Use it.
* object.c (mono_method_get_imt_slot): Ditto.
svn path=/trunk/mono/; revision=149601
Zoltan Varga [Fri, 15 Jan 2010 03:07:49 +0000 (03:07 -0000)]
2010-01-15 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_plt_resolve): Reenable the previous assert for
ftnptrs created by us, handle RGCTX_FETCH correctly.
(mono_aot_get_lazy_fetch_trampoline): Add an ftnptr.
* mini-trampolines.c (mono_create_generic_class_init_trampoline): Remove the
ftnptr added by mono_aot_get_named_code ().
svn path=/trunk/mono/; revision=149600
Zoltan Varga [Fri, 15 Jan 2010 03:06:55 +0000 (03:06 -0000)]
Fix the previous change.
svn path=/trunk/mono/; revision=149599
Atsushi Eno [Fri, 15 Jan 2010 02:43:01 +0000 (02:43 -0000)]
2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
* profiles/net_4_0_bootstrap.make : MCS also needs MONO_PATH to
net_2_0 to load System.Core.dll. Fix build (mostly for windows).
svn path=/trunk/mcs/; revision=149598
Zoltan Varga [Fri, 15 Jan 2010 01:28:51 +0000 (01:28 -0000)]
2010-01-15 Zoltan Varga <vargaz@gmail.com>
* configure.in: Don't define TARGET_WIN32 when --target is used.
svn path=/trunk/mono/; revision=149593
Zoltan Varga [Fri, 15 Jan 2010 01:25:05 +0000 (01:25 -0000)]
Check in the proper version of this file instead of the old version.
svn path=/trunk/mono/; revision=149592
Gonzalo Paniagua Javier [Fri, 15 Jan 2010 01:21:05 +0000 (01:21 -0000)]
exclude the support directory when cross compiling
svn path=/trunk/mono/; revision=149591
Gonzalo Paniagua Javier [Fri, 15 Jan 2010 01:18:20 +0000 (01:18 -0000)]
add a few libraries needed when cross-compiling
svn path=/trunk/mono/; revision=149590
Gonzalo Paniagua Javier [Fri, 15 Jan 2010 01:17:40 +0000 (01:17 -0000)]
do not build a few directories when building the cross compiler
svn path=/trunk/mono/; revision=149589
Gonzalo Paniagua Javier [Fri, 15 Jan 2010 01:10:28 +0000 (01:10 -0000)]
fix for cross-compiling on linux
svn path=/trunk/mono/; revision=149587
Gonzalo Paniagua Javier [Fri, 15 Jan 2010 00:06:19 +0000 (00:06 -0000)]
add 3 more zip files needed
svn path=/trunk/mono/; revision=149585
Zoltan Varga [Thu, 14 Jan 2010 23:41:51 +0000 (23:41 -0000)]
Fix the DISABLE_REFLECTION_EMIT build.
svn path=/trunk/mono/; revision=149584
Gonzalo Paniagua Javier [Thu, 14 Jan 2010 23:32:13 +0000 (23:32 -0000)]
For the windows cross-compiler build.
svn path=/trunk/mono/; revision=149583
Zoltan Varga [Thu, 14 Jan 2010 23:15:12 +0000 (23:15 -0000)]
2010-01-15 Zoltan Varga <vargaz@gmail.com>
* scripts/get-cygwin-deps.sh: New file. Contains a script to download and setup
the dependencies needed for compiling mono on cygwin.
svn path=/trunk/mono/; revision=149582
Rodrigo Kumpera [Thu, 14 Jan 2010 21:04:28 +0000 (21:04 -0000)]
2010-01-14 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_type_has_exceptions): Check the generic instance. It can fail
independently of the GTD.
* class.c (mono_class_setup_fields): Fail if field has negative offset.
* class.c (mono_class_setup_fields): Fail if valuetype has zero size. Add sizeof(MonoObject)
to the upper limit since instance_size includes this amount.
* class.c (mono_class_layout_fields): Check if the types of the static fields have failed.
Fixes #569544.
svn path=/trunk/mono/; revision=149575
Zoltan Varga [Thu, 14 Jan 2010 19:09:35 +0000 (19:09 -0000)]
Fix the build.
svn path=/trunk/mono/; revision=149574
Jb Evain [Thu, 14 Jan 2010 18:12:17 +0000 (18:12 -0000)]
2010-01-14 Jb Evain <jbevain@novell.com>
* MarkStep.cs: preserve fields specified by the
SoapHeader attribute.
svn path=/trunk/mcs/; revision=149571