Atsushi Eno [Wed, 20 Jan 2010 14:05:06 +0000 (14:05 -0000)]
2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
* AddressHeader.cs : implement remaining bits.
Eliminate dependency on NetDataContractSerializer.
* AddressHeaderTest.cs : add reader and writer tests.
svn path=/trunk/mcs/; revision=149907
Jb Evain [Wed, 20 Jan 2010 13:57:53 +0000 (13:57 -0000)]
protect ILGenerator.Mono_GetCurrentOffset
svn path=/trunk/mcs/; revision=149903
Marek Safar [Wed, 20 Jan 2010 13:38:44 +0000 (13:38 -0000)]
Updated.
svn path=/trunk/mcs/; revision=149902
Zoltan Varga [Wed, 20 Jan 2010 09:49:00 +0000 (09:49 -0000)]
2010-01-20 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (encode_method_ref): Use mono_marshal_wrapper_info_from_wrapper
() in one place.
(mono_aot_wrapper_name): Remove the special handling of delegate invoke wrappers,
its no longer needed.
svn path=/trunk/mono/; revision=149887
Zoltan Varga [Wed, 20 Jan 2010 09:48:53 +0000 (09:48 -0000)]
2010-01-20 Zoltan Varga <vargaz@gmail.com>
* marshal.c: Calculate the target class of the delegete invoke wrappers using
get_wrapper_target_class.
svn path=/trunk/mono/; revision=149886
Zoltan Varga [Wed, 20 Jan 2010 09:48:47 +0000 (09:48 -0000)]
2010-01-20 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Fix a warning.
svn path=/trunk/mono/; revision=149885
Atsushi Eno [Wed, 20 Jan 2010 05:57:20 +0000 (05:57 -0000)]
2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : in Fault(), do similar work as previous
change does.
svn path=/trunk/mcs/; revision=149879
Atsushi Eno [Wed, 20 Jan 2010 05:53:30 +0000 (05:53 -0000)]
2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
* NetTcpBindingTest.cs : disable connection tests, with analyzed
reason why it's blocking, for each.
* System.ServiceModel_test.dll.sources: move back some FeatureBased
tests.
svn path=/trunk/mcs/; revision=149878
Carlos Alberto Cortez [Wed, 20 Jan 2010 05:51:48 +0000 (05:51 -0000)]
2010-01-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TextBox.cs: When showing the autocomplete listbox, make sure it's on
top, by calling the raw XplatUI.SetZOrder for it, since we can't
properly call BringToFront on it as it is parentless. This fixes an
issue when using this feature with ComboBox's own parentless listbox.
Fixes the remaining bits of #489339.
svn path=/trunk/mcs/; revision=149877
Atsushi Eno [Wed, 20 Jan 2010 05:26:38 +0000 (05:26 -0000)]
2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : a stability workaround to make nunit test
stopper almost reproducible.
svn path=/trunk/mcs/; revision=149876
Zoltan Varga [Wed, 20 Jan 2010 03:38:46 +0000 (03:38 -0000)]
Fix aligment problems introduced by the previous change.
svn path=/trunk/mono/; revision=149875
Zoltan Varga [Wed, 20 Jan 2010 03:22:41 +0000 (03:22 -0000)]
2010-01-20 Zoltan Varga <vargaz@gmail.com>
* exceptions-<ARCH>.c: Introduce a MONO_ARCH_HAVE_THROW_EXCEPTION_BY_NAME
define for platforms still using it (s390). Get rid of the
mono_arch_get_throw_exception_by_name () routines on all other platforms.
svn path=/trunk/mono/; revision=149873
Zoltan Varga [Wed, 20 Jan 2010 03:03:45 +0000 (03:03 -0000)]
2010-01-20 Zoltan Varga <vargaz@gmail.com>
* exceptions-x86.c: Rework the throw trampolines so there is only one function
which can generate throw/rethrow/corlib trampolines for llvm/not llvm code.
svn path=/trunk/mono/; revision=149871
Zoltan Varga [Wed, 20 Jan 2010 02:10:11 +0000 (02:10 -0000)]
2010-01-20 Zoltan Varga <vargaz@gmail.com>
* exceptions-x86.c: Add LLVM specific throw trampolines which doesn't assume
the caller pushed the arguments.
* mini-llvm.c: Enable throwing exceptions on x86.
* mini-posix.c (SIG_HANDLER_SIGNATURE): Avoid
"Thread (nil) may have been prematurely finalized" messages if this is called
on a thread not registered with the runtime.
* mini-exceptions.c (mono_handle_native_sigsegv): Ditto.
svn path=/trunk/mono/; revision=149869
Carlos Alberto Cortez [Wed, 20 Jan 2010 01:30:46 +0000 (01:30 -0000)]
2010-01-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* XplatUI.cs:
* XplatUIDriver:
* XplatUICarbon:
* XplatUIWin32:
* XplatUIX11.cs:
* XplatUIStructs: Implement support for different kind of audible
alerts in Windows, and update the requiered classes.
* MessageBox.cs:
* TextBoxBase.cs: Update calls to XplatUI.AudibleAlert.
Fixes #473725.
svn path=/trunk/mcs/; revision=149868
Zoltan Varga [Wed, 20 Jan 2010 00:17:40 +0000 (00:17 -0000)]
Add ChangeLog entries removed by mistake.
svn path=/trunk/mono/; revision=149865
Mark Probst [Tue, 19 Jan 2010 22:39:49 +0000 (22:39 -0000)]
2010-01-19 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Fix warnings.
svn path=/trunk/mono/; revision=149859
Marek Habersack [Tue, 19 Jan 2010 22:36:10 +0000 (22:36 -0000)]
2010-01-19 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/App_GlobalResources/Resource1.resx
and
Test/mainsoft/NunitWebResources/TagWithExpressionWithinAttribute.aspx
2010-01-19 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompilerTest.cs: added test for bug #568631
2010-01-19 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs: modified the runatServer regex to correctly
match embedded server tags which end in a sequence like: "%>"/>
Fixes bug #568631
svn path=/trunk/mcs/; revision=149855
Rodrigo Kumpera [Tue, 19 Jan 2010 21:28:29 +0000 (21:28 -0000)]
2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (store_local): Better error message.
svn path=/trunk/mono/; revision=149845
Marek Habersack [Tue, 19 Jan 2010 21:14:19 +0000 (21:14 -0000)]
2010-01-19 Marek Habersack <mhabersack@novell.com>
* StaticSiteMapProvider.cs: AddNode checks the url of node
returned by FindSiteMapNode to see if it indeed was a
duplicate. It is necessary if application derives from
StaticSiteMapProvider and overrides FindSiteMapNode to return
RootNode if rawUrl doesn't match any existing node. Fixes bug
#570194
2010-01-19 Marek Habersack <mhabersack@novell.com>
* TestRunner.cs: Run makes sure Uri parser is passed a full url,
or otherwise it won't be parsed correctly (will not parse the
query part if an URL similar to '/file.html?query=value' is
passed)
* Helpers.cs: added a simple and naive method to extract query
from WebResource.axd URLs. This is necessary because the query
will be different each time the test is ran.
2010-01-19 Marek Habersack <mhabersack@novell.com>
* standalone-runner.cs: reformatted summary message to match
NUnit's more closely.
svn path=/trunk/mcs/; revision=149842
Rodrigo Kumpera [Tue, 19 Jan 2010 20:51:06 +0000 (20:51 -0000)]
2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
* object.c (mono_object_get_virtual_method): Handle generic interfaces with variant
arguments.
svn path=/trunk/mono/; revision=149840
Rodrigo Kumpera [Tue, 19 Jan 2010 20:50:59 +0000 (20:50 -0000)]
2010-01-19 Rodrigo Kumpera <rkumpera@novell.com>
* MethodInfoTest.cs: Add a test for Invoke with generic variant
interfaces.
svn path=/trunk/mcs/; revision=149839
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