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
Rolf Bjarne Kvinge [Thu, 14 Jan 2010 13:17:53 +0000 (13:17 -0000)]
2010-01-14 Rolf Bjarne Kvinge <RKvinge@novell.com>
* UnmanagedMemoryStream.cs: Read: don't read bytes one-by-one, read all
at once.
svn path=/trunk/mcs/; revision=149555
Marek Safar [Thu, 14 Jan 2010 12:24:47 +0000 (12:24 -0000)]
2010-01-14 Marek Safar <marek.safar@gmail.com>
* membercache.cs: Extracted from decl.cs.
* *.cs: Put more infrastructure in place.
svn path=/trunk/mcs/; revision=149550
Jonathan Pryor [Thu, 14 Jan 2010 04:58:22 +0000 (04:58 -0000)]
* Monodoc/provider.cs, Monodoc/ecma-provider.cs: Improve cache support
by having EcmaHelpSource.GetTextFromUrl() look for cached contents.
This greatly speeds up type member listings (e.g. T:...List`1/*),
e.g. from ~2.0s to 0.06s.
svn path=/trunk/mcs/; revision=149531
Zoltan Varga [Thu, 14 Jan 2010 04:50:01 +0000 (04:50 -0000)]
2010-01-14 Zoltan Varga <vargaz@gmail.com>
* object.c (build_imt_slots): Compute the vtable slot correctly for interfaces
with static methods.
svn path=/trunk/mono/; revision=149530
Zoltan Varga [Thu, 14 Jan 2010 02:47:57 +0000 (02:47 -0000)]
2010-01-14 Zoltan Varga <vargaz@gmail.com>
* object.c (build_imt_slots): Avoid asserting when static methods are
encountered in an interface.
svn path=/trunk/mono/; revision=149528
Zoltan Varga [Thu, 14 Jan 2010 02:32:14 +0000 (02:32 -0000)]
2010-01-14 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c: Fix a few LLVM problems.
svn path=/trunk/mono/; revision=149527
Zoltan Varga [Thu, 14 Jan 2010 02:32:08 +0000 (02:32 -0000)]
2010-01-14 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (simd_class_to_llvm_type): Fix compilation on !x86/amd64.
svn path=/trunk/mono/; revision=149526
Marek Habersack [Thu, 14 Jan 2010 01:15:01 +0000 (01:15 -0000)]
2010-01-14 Marek Habersack <mhabersack@novell.com>
* Helpers.cs, ITestCase.cs, ITestRunner.cs, StandaloneTest.cs,
TestCallback.cs, TestCaseAttribute.cs,
TestCaseFailureException.cs, TestRunItem.cs, TestRunner.cs,
TestWorkerRequest.cs: added
2010-01-14 Marek Habersack <mhabersack@novell.com>
* System.Web_standalone_test.dll.sources,
standalone-runner-support.dll.sources: added
* Makefile: Added targets to build and run standalone tests.
Added standalone tests and test tools to EXTRA_DISTFILES
2010-01-14 Marek Habersack <mhabersack@novell.com>
* Consts.cs.in, Locations.cs: added
2010-01-14 Marek Habersack <mhabersack@novell.com>
* standalone-runner.cs: added
* Makefile: added build targets for standalone-runner.exe
2010-01-14 Marek Habersack <mhabersack@novell.com>
* NunitWebTest.cs: added new overload of GetControlFromPageHtml
which takes begin and end markers as parameters.
2010-01-14 Marek Habersack <mhabersack@novell.com>
* ApplicationManager.cs: implemented a missing CreateObject
overload
2010-01-14 Marek Habersack <mhabersack@novell.com>
* executable.make, library.make, rules.make: quote file name
wherever referenced in dist* targets, so that files with spaces in
name work fine.
svn path=/trunk/mcs/; revision=149522
Gonzalo Paniagua Javier [Thu, 14 Jan 2010 00:11:49 +0000 (00:11 -0000)]
-Remove unneeded assertion.
svn path=/trunk/mono/; revision=149505
Gonzalo Paniagua Javier [Wed, 13 Jan 2010 23:22:38 +0000 (23:22 -0000)]
2010-01-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequest.cs: when the server returns several different
authentication methods, pick the one that works.
Fixes bug #562043.
svn path=/trunk/mcs/; revision=149500
Jonathan Pryor [Wed, 13 Jan 2010 21:35:46 +0000 (21:35 -0000)]
* Mono.Documentation/XmlDocUtils.cs: XmlDocUtils.AddExtensionMethods()
wasn't adding extension methods which matched *interfaces* of base
classes. Result: Mono.Options.OptionSet (which inherits
System.Collections.ObjectModel.KeyedCollection`2 which inherits from
System.Collections.ObjectModel.Collection`1 which implements
System.Collections.Generic.IEnumerable`1) wasn't getting any of the
LINQ extension methods (which is bad). Fix this.
svn path=/trunk/mcs/; revision=149496
Jonathan Pryor [Wed, 13 Jan 2010 21:11:27 +0000 (21:11 -0000)]
* Resources/mdoc-html-utils.xsl: Fix regression caused by 2009-12-02
commit adding GetLinkTargetHtml(). The problem was that when
running within ASP.NET/monodoc ~all extension method links would be
'javascript:alert("...")M:Foo.Method(...)', which is clearly wrong.
This occurred because $linkid's generation would always call
GetLinkTargetHtml() with a $cref value of '', thus the monodoc
GetLinkTarget() would return '', so GetLinkTargetHtml() would return
the javascript "not found" alert. Thus, we can't expect
GetLinkTargetHtml() with $cref='' to work under monodoc, but it's
~required to work sanely under 'mdoc export-html'.
Solution is to not call GetLinkTargetHtml() here UNLESS we're doing
'mdoc export-html' generation, which we assume to be the case if
$html-anchor is true.
svn path=/trunk/mcs/; revision=149492
Sebastien Pouliot [Wed, 13 Jan 2010 18:40:16 +0000 (18:40 -0000)]
2010-01-13 Sebastien Pouliot <sebastien@ximian.com>
* HttpWebRequest_2_1.cs: Throw for CookieContainer. It is
implemented only in the client http stack (and for a limited
time in the browser stack too ;-)
* InternalWebRequestStreamWrapper.cs: Keep the MemoryStream data
available after closing/disposing (by user) since our own code
will need it later (e.g. when posting like DRT287)
* WebHeaderCollection_2_1.cs: Provide an argument to
ArgumentException. Found by Gendarme's ArgumentException
InstantiateArgumentExceptionCorrectlyRule
svn path=/trunk/mcs/; revision=149484
Marek Safar [Wed, 13 Jan 2010 18:12:38 +0000 (18:12 -0000)]
2010-01-13 Marek Safar <marek.safar@gmail.com>
* *.cs: Add property specification, unused yet.
svn path=/trunk/mcs/; revision=149483
Mark Probst [Wed, 13 Jan 2010 15:58:24 +0000 (15:58 -0000)]
2010-01-13 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c (to_space_expand): Fix assertion.
svn path=/trunk/mono/; revision=149479
Mark Probst [Wed, 13 Jan 2010 15:52:57 +0000 (15:52 -0000)]
2010-01-13 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mini_emit_stobj): Use EMIT_NEW_CLASSCONST when
AOT compiling.
svn path=/trunk/mono/; revision=149478
Paolo Molaro [Wed, 13 Jan 2010 14:56:39 +0000 (14:56 -0000)]
Wed Jan 13 15:54:53 CET 2010 Paolo Molaro <lupus@ximian.com>
* jit.h, method-to-ir.c: added ability to set the policy for
inserting breakpoints from the break IL instruction or the
Debugger.Break () API call.
svn path=/trunk/mono/; revision=149472
Marek Safar [Wed, 13 Jan 2010 14:48:29 +0000 (14:48 -0000)]
2010-01-13 Marek Safar <marek.safar@gmail.com>
* property.cs: Move all property based declarations into a new file.
svn path=/trunk/mcs/; revision=149471
Paolo Molaro [Wed, 13 Jan 2010 14:43:41 +0000 (14:43 -0000)]
Wed Jan 13 15:42:28 CET 2010 Paolo Molaro <lupus@ximian.com>
* string-icalls.c: missing declaration fixes.
* sgen-gc.c: portability fixes.
svn path=/trunk/mono/; revision=149470