Joseph Hill [Thu, 29 Jan 2009 14:51:39 +0000 (14:51 -0000)]
Clarified details regarding non-LGPL use to specify both Mono and Moonlight
svn path=/trunk/mono/; revision=124925
Carlos Alberto Cortez [Thu, 29 Jan 2009 14:06:53 +0000 (14:06 -0000)]
2009-01-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* XplatUIX11.cs: We should use utf8 handling clipboard transference
with other x11 applications, and use utf16 when handling clipboard
data in the class library. Update the related points as well.
Fixes #468683.
svn path=/trunk/mcs/; revision=124918
Zoltan Varga [Thu, 29 Jan 2009 13:13:10 +0000 (13:13 -0000)]
2009-01-29 Zoltan Varga <vargaz@gmail.com>
* shared.c: Add an alternative implementation using shared memory instead of
files. This fixes problems where the mono process would spin up the disk
every x secs on laptops. Fixes #434566, #415373 and #321949.
svn path=/trunk/mono/; revision=124915
Jb Evain [Thu, 29 Jan 2009 12:52:51 +0000 (12:52 -0000)]
fix build
svn path=/trunk/mcs/; revision=124914
Marek Safar [Thu, 29 Jan 2009 11:39:42 +0000 (11:39 -0000)]
2009-01-29 Marek Safar <marek.safar@gmail.com>
* class.cs: Remove duplicate CallingConvention.
svn path=/trunk/mcs/; revision=124913
Marek Safar [Thu, 29 Jan 2009 11:09:23 +0000 (11:09 -0000)]
2009-01-29 Marek Safar <marek.safar@gmail.com>
*.cs: Rename Parameters to ParametersCompiled and ParametersImported
when I finally found the right naming convention.
svn path=/trunk/mcs/; revision=124911
Marek Safar [Thu, 29 Jan 2009 10:46:00 +0000 (10:46 -0000)]
2009-01-29 Marek Safar <marek.safar@gmail.com>
* cs-tokenizer.cs: Put back different open parens optimization.
svn path=/trunk/mcs/; revision=124905
Zoltan Varga [Thu, 29 Jan 2009 00:00:55 +0000 (00:00 -0000)]
2009-01-29 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py mono-gdbinit: Support files to help debugging mono/mono apps
using a python enabled gdb.
svn path=/trunk/mono/; revision=124883
Zoltan Varga [Wed, 28 Jan 2009 23:42:05 +0000 (23:42 -0000)]
2009-01-29 Zoltan Varga <vargaz@gmail.com>
* mono-debug.c (mono_debug_print_stack_frame): Print the IL offset even when
there is no line number info.
svn path=/trunk/mono/; revision=124880
Marek Habersack [Wed, 28 Jan 2009 23:28:34 +0000 (23:28 -0000)]
2009-01-29 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: optimize lock usage
svn path=/trunk/mcs/; revision=124872
Ivan Zlatev [Wed, 28 Jan 2009 23:25:52 +0000 (23:25 -0000)]
2009-01-28 Ivan N. Zlatev <contact@i-nz.net>
* DataGridViewCell.cs: Format strings according to the supplied
CellStyle.Format.
[Fixes bug #470384]
svn path=/trunk/mcs/; revision=124871
Bill Holmes [Wed, 28 Jan 2009 23:22:09 +0000 (23:22 -0000)]
2009-01-28 Bill Holmes <billholmes54@gmail.com>
* Uri.cs (IsWellFormedUriString): Changing IsWellFormedUriString
to not throw an exception but return false instead.
Contributed under MIT/X11 license.
svn path=/trunk/mcs/; revision=124869
Ivan Zlatev [Wed, 28 Jan 2009 22:47:24 +0000 (22:47 -0000)]
2009-01-28 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Reset the hover cell if it gets moved due to row(s)
addition or removal. Fixes multiple crashes in OnMouseMove.
svn path=/trunk/mcs/; revision=124867
Raja R Harinath [Wed, 28 Jan 2009 21:05:41 +0000 (21:05 -0000)]
Avoid some MonoType allocations
* reflection.c (mono_reflection_initialize_generic_parameter):
Reuse MonoType from param->pklass rather than allocating one.
(mono_dynamic_image_free): Update to changes.
svn path=/trunk/mono/; revision=124850
Raja R Harinath [Wed, 28 Jan 2009 21:05:18 +0000 (21:05 -0000)]
Rearrange some code to improve consistency
* reflection.c (mono_reflection_setup_generic_class): Move body ...
(mono_reflection_initialize_generic_parameter): ... here.
svn path=/trunk/mono/; revision=124849
Miguel de Icaza [Wed, 28 Jan 2009 21:04:56 +0000 (21:04 -0000)]
Update
svn path=/trunk/mono/; revision=124848
Ankit Jain [Wed, 28 Jan 2009 20:05:01 +0000 (20:05 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* BuildItem.cs (child_items): Change type from BuildItemGroup to
List<BuildItem>.
(HasParent): Rename to ..
(HasParentItem): .. this.
(ParentItemGroup): Add setter.
* BuildItemGroup.cs (.ctor): Add overload with @project param.
(AddNewItem):
(AddItem): Correctly set the ParentItemGroup for new build items.
(ParentProject): Add setter.
* Project.cs: Set the project for new BuildItemGroup instances.
* TaskEngine.cs (PublishItemGroup): Likewise.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* BuildItemTest.cs (TestBuildItemTransform): New.
In class/Microsoft.Build.Engine/Test/resources:
* TestTasks.cs (BatchingTestTask.TaskItemsOutput): New.
svn path=/trunk/mcs/; revision=124840
Raja R Harinath [Wed, 28 Jan 2009 19:43:46 +0000 (19:43 -0000)]
update known issues
svn path=/trunk/mcs/; revision=124837
Jb Evain [Wed, 28 Jan 2009 19:40:38 +0000 (19:40 -0000)]
2009-01-28 Jb Evain <jbevain@novell.com>
* Mono.Tuner/CheckVisibility.cs: use the appropriate Resolve methods.
svn path=/trunk/mcs/; revision=124836
Jb Evain [Wed, 28 Jan 2009 19:23:24 +0000 (19:23 -0000)]
small optimization
svn path=/trunk/mcs/; revision=124833
Jb Evain [Wed, 28 Jan 2009 19:06:25 +0000 (19:06 -0000)]
2009-01-28 Jb Evain <jbevain@novell.com>
* AssemblyResolver.cs
Util.cs
mono-api-info.cs:
Directly use the Resolve methods from Cecil.
svn path=/trunk/mcs/; revision=124822
Jb Evain [Wed, 28 Jan 2009 19:06:14 +0000 (19:06 -0000)]
2009-01-28 Jb Evain <jbevain@novell.com>
* Mono.Linker/AssemblyResolver.cs
Mono.Linker.Steps/MarkStep.cs:
Directly use the Resolve methods from Cecil.
svn path=/trunk/mcs/; revision=124821
Jb Evain [Wed, 28 Jan 2009 19:06:00 +0000 (19:06 -0000)]
2009-01-28 Jb Evain <jbevain@novell.com>
* Mono.Cecil/MetadataResolver.cs:
Add new MetadataResolver.
* Mono.Cecil/GenericParameter.cs
Mono.Cecil/FieldDefinition.cs
Mono.Cecil/TypeReference.cs
Mono.Cecil/GenericInstanceMethod.cs
Mono.Cecil/IMemberDefinition.cs
Mono.Cecil/TypeDefinition.cs
Mono.Cecil/PropertyReference.cs
Mono.Cecil/EventReference.cs
Mono.Cecil/MethodDefinition.cs
Mono.Cecil/EventDefinition.cs
Mono.Cecil/ModuleDefinition.cs
Mono.Cecil/MethodReference.cs
Mono.Cecil/FieldReference.cs
Mono.Cecil/ParameterDefinition.cs
Mono.Cecil/PropertyDefinition.cs
Mono.Cecil/ParameterReference.cs
Mono.Cecil.Cil/VariableReference.cs
Mono.Cecil.Cil/VariableDefinition.cs:
Add Resolve to Definition methods on References.
* Mono.Cecil.dll.sources, Mono.Cecil.csproj: add MetadataResolver.cs
svn path=/trunk/mcs/; revision=124820
Zoltan Varga [Wed, 28 Jan 2009 16:58:21 +0000 (16:58 -0000)]
Fix a warning.
svn path=/trunk/mono/; revision=124799
Jb Evain [Wed, 28 Jan 2009 16:41:38 +0000 (16:41 -0000)]
cosmetic diff
svn path=/trunk/mcs/; revision=124795
Zoltan Varga [Wed, 28 Jan 2009 16:40:49 +0000 (16:40 -0000)]
2009-01-28 Zoltan Varga <vargaz@gmail.com>
* generic-sharing.c (has_constraints): Enable gshared for methods/classes
with type constraints as an experiment.
svn path=/trunk/mono/; revision=124794
Jb Evain [Wed, 28 Jan 2009 16:38:17 +0000 (16:38 -0000)]
cosmetic diff
svn path=/trunk/mcs/; revision=124793
Zoltan Varga [Wed, 28 Jan 2009 16:19:01 +0000 (16:19 -0000)]
2009-01-28 Zoltan Varga <vargaz@gmail.com>
* generic-marshalbyref.2.cs: Also do the test for a class without type
constraints.
svn path=/trunk/mono/; revision=124790
Zoltan Varga [Wed, 28 Jan 2009 16:18:05 +0000 (16:18 -0000)]
2009-01-28 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Avoid generic sharing for calls made to
remoting-invoke-with-check wrappers of shared methods.
svn path=/trunk/mono/; revision=124789
Marek Safar [Wed, 28 Jan 2009 16:13:30 +0000 (16:13 -0000)]
New test.
svn path=/trunk/mcs/; revision=124788
Marek Safar [Wed, 28 Jan 2009 16:12:37 +0000 (16:12 -0000)]
2009-01-28 Marek Safar <marek.safar@gmail.com>
A fix for bug #470227
* cs-tokenizer.cs: Remove too agressive parser optimization.
svn path=/trunk/mcs/; revision=124786
Marek Habersack [Wed, 28 Jan 2009 15:37:05 +0000 (15:37 -0000)]
Copied a few more stub files
svn path=/trunk/mcs/; revision=124784
Marek Habersack [Wed, 28 Jan 2009 15:25:02 +0000 (15:25 -0000)]
More attribution/header updates
svn path=/trunk/mcs/; revision=124783
Zoltan Varga [Wed, 28 Jan 2009 14:55:48 +0000 (14:55 -0000)]
2009-01-28 Zoltan Varga <vargaz@gmail.com>
* boehm-gc.c (on_gc_notification): Update mono_stats.
svn path=/trunk/mono/; revision=124782
Zoltan Varga [Wed, 28 Jan 2009 14:54:52 +0000 (14:54 -0000)]
2009-01-28 Zoltan Varga <vargaz@gmail.com>
* mini.c (print_jit_stats): Print out major gc count/time for libgc too.
svn path=/trunk/mono/; revision=124781
Marek Habersack [Wed, 28 Jan 2009 14:51:30 +0000 (14:51 -0000)]
Added copies of some .jvm.cs files
svn path=/trunk/mcs/; revision=124780
Marek Habersack [Wed, 28 Jan 2009 14:42:28 +0000 (14:42 -0000)]
Added attribution and copyright headers
svn path=/trunk/mcs/; revision=124779
Marek Safar [Wed, 28 Jan 2009 12:34:17 +0000 (12:34 -0000)]
New test, update.
svn path=/trunk/mcs/; revision=124773
Marek Safar [Wed, 28 Jan 2009 12:34:00 +0000 (12:34 -0000)]
Better error message.
svn path=/trunk/mcs/; revision=124772
Marek Safar [Wed, 28 Jan 2009 12:27:03 +0000 (12:27 -0000)]
Update.
svn path=/trunk/mcs/; revision=124768
Marek Safar [Wed, 28 Jan 2009 12:26:47 +0000 (12:26 -0000)]
2009-01-28 Marek Safar <marek.safar@gmail.com>
A fix for bug #324319
* class.cs: Remove too early base type resolve.
svn path=/trunk/mcs/; revision=124766
Raja R Harinath [Wed, 28 Jan 2009 07:30:59 +0000 (07:30 -0000)]
Avoid some allocations
* class-internals.h (_MonoGenericInst::type_argv): Convert from
pointer to tail array to avoid extra allocation.
* metadata.c (free_generic_inst): Update to changes.
(mono_metadata_get_generic_inst): Likewise. Use alloca instead of
on-stack struct.
This adds a blit to get_generic_inst as compared to the original version.
However, both arms of the 'if' in there traverse the 'type_argv' array
_fully_ with 'for' loops, recursion and whatnot; the extra blit is unlikely
to add overhead.
svn path=/trunk/mono/; revision=124754
Raja R Harinath [Wed, 28 Jan 2009 06:23:36 +0000 (06:23 -0000)]
Revert r124658. Either full verification isn't ready or our generated code is
buggy -- either way, it isn't the right time to enable it, since it breaks
'make compiler-tests'
svn path=/trunk/mono/; revision=124752
Miguel de Icaza [Wed, 28 Jan 2009 00:00:06 +0000 (00:00 -0000)]
2009-01-16 Miguel de Icaza <miguel@novell.com>
* sockets.c (WSASend): Fix memory leak, and optimize for the case
with 1 segment.
This should really use writev or sendmsg to use the kernel
scatter/gather facility instead of emulating it by copying buffers.
svn path=/trunk/mono/; revision=124732
Marek Safar [Tue, 27 Jan 2009 22:42:27 +0000 (22:42 -0000)]
New test, update.
svn path=/trunk/mcs/; revision=124724
Marek Safar [Tue, 27 Jan 2009 22:41:54 +0000 (22:41 -0000)]
2009-01-27 Marek Safar <marek.safar@gmail.com>
A fix for bug #324319
* ecore.cs: Explicitly type null when assigning to type argument to
make pass verifier check.
svn path=/trunk/mcs/; revision=124723
Zoltan Varga [Tue, 27 Jan 2009 21:57:34 +0000 (21:57 -0000)]
2009-01-27 Zoltan Varga <vargaz@gmail.com>
* TypeTest.cs: Add a test for #467229.
svn path=/trunk/mcs/; revision=124718
Zoltan Varga [Tue, 27 Jan 2009 21:56:31 +0000 (21:56 -0000)]
2009-01-27 Zoltan Varga <vargaz@gmail.com>
* Type.cs (GetHashCode): Work on UnderlyingSystemType. Fixes #467229.
svn path=/trunk/mcs/; revision=124716
Zoltan Varga [Tue, 27 Jan 2009 21:45:26 +0000 (21:45 -0000)]
2009-01-27 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Type_EqualsInternal): For user-defined types,
return TRUE if the two type objects are the same.
svn path=/trunk/mono/; revision=124714
Mark Probst [Tue, 27 Jan 2009 21:12:43 +0000 (21:12 -0000)]
2009-01-27 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (emit_stloc_ir): Only apply the reg-reg move
optimization if the top of stack is the last instruction in the
bblock. Otherwise it might have been used after its definition.
Fixes #469742.
2009-01-27 Mark Probst <mark.probst@gmail.com>
* bug469742.2.il: New test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=124712
Jb Evain [Tue, 27 Jan 2009 20:37:49 +0000 (20:37 -0000)]
2009-01-27 Jb Evain <jbevain@novell.com>
* configure.in: bump Mono's version to 2.5 now that 2.4
has been branched.
svn path=/trunk/mono/; revision=124707
Zoltan Varga [Tue, 27 Jan 2009 18:06:58 +0000 (18:06 -0000)]
2009-01-27 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Print out the caller
method as well when get_vcall_slot () fails to match a code sequence.
svn path=/trunk/mono/; revision=124689
Zoltan Varga [Tue, 27 Jan 2009 17:07:34 +0000 (17:07 -0000)]
2009-01-27 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c: Fix the android build, which doesn't have
__aeabi_read_tp.
svn path=/trunk/mono/; revision=124674
Ivan Zlatev [Tue, 27 Jan 2009 16:46:16 +0000 (16:46 -0000)]
2009-01-27 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Fix a NRE when setting the CurrentCell to null.
svn path=/trunk/mcs/; revision=124670
Ivan Zlatev [Tue, 27 Jan 2009 16:39:20 +0000 (16:39 -0000)]
2009-01-27 Ivan N. Zlatev <contact@i-nz.net>
* XplatUIX11.cs: Fire Timer.Tick even if there is no MainForm for the
current context.
[Fixes bug #469239]
svn path=/trunk/mcs/; revision=124668
Marek Habersack [Tue, 27 Jan 2009 14:25:00 +0000 (14:25 -0000)]
2009-01-27 Marek Habersack <mhabersack@novell.com>
* HttpHandlerAction.cs: removed the matches cache, it doesn't
improve matters here in 99% of the cases.
Regexps are no longer used to match handler paths, SearchPattern
is used instead.
2009-01-27 Marek Habersack <mhabersack@novell.com>
* SearchPattern.cs: added
2009-01-27 Marek Habersack <mhabersack@novell.com>
* System.Web.dll.sources: added System.Web.Util/SearchPattern.cs
svn path=/trunk/mcs/; revision=124659
Marek Safar [Tue, 27 Jan 2009 14:13:11 +0000 (14:13 -0000)]
2009-01-27 Marek Safar <marek.safar@gmail.com>
* runtime/Makefile.am: Run full verification checks
svn path=/trunk/mono/; revision=124658
Jb Evain [Tue, 27 Jan 2009 13:29:58 +0000 (13:29 -0000)]
2009-01-27 Jb Evain <jbevain@novell.com>
* HashSet.cs: use Paolo's trick to return items in insertion order
when possible.
svn path=/trunk/mcs/; revision=124656
Ankit Jain [Tue, 27 Jan 2009 12:58:38 +0000 (12:58 -0000)]
* Delete.cs (Execute): Skip non-existant files.
svn path=/trunk/mcs/; revision=124655
Gonzalo Paniagua Javier [Tue, 27 Jan 2009 03:51:13 +0000 (03:51 -0000)]
2009-01-26 Christian Prochnow <cproch@seculogix.de>
* Ping.cs: ignore ICMP echo request packet in case we ping
localhost.
svn path=/trunk/mcs/; revision=124624
Marek Safar [Tue, 27 Jan 2009 00:01:25 +0000 (00:01 -0000)]
2009-01-27 Marek Safar <marek.safar@gmail.com>
* anonymous.cs: Fixed recent regression when initializing captured
this.
svn path=/trunk/mcs/; revision=124607
Andreia Gaita [Mon, 26 Jan 2009 22:58:49 +0000 (22:58 -0000)]
* WebBrowser.cs: fix initial value of ScrollbarsEnabled, so they
won't be disabled by default.
Fixes #468690
2009-01-26 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=124596
Zoltan Varga [Mon, 26 Jan 2009 22:10:57 +0000 (22:10 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* mini-s390x.c: Remove a stray declaration of emit_sig_cookie () to fix
the s390x build.
svn path=/trunk/mono/; revision=124582
Ivan Zlatev [Mon, 26 Jan 2009 21:56:44 +0000 (21:56 -0000)]
2009-01-26 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Do not clear the rows if we are not databound.
svn path=/trunk/mcs/; revision=124569
Zoltan Varga [Mon, 26 Jan 2009 20:33:31 +0000 (20:33 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* pinvoke2.cs libtest.c: Add a test for #469135.
svn path=/trunk/mono/; revision=124560
Zoltan Varga [Mon, 26 Jan 2009 20:32:34 +0000 (20:32 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_load_type_info): Fill out info->min_align.
(mono_class_native_size): Use klass->marshal_info->min_align instead of
klass->min_align, since klass->min_align contains the managed alignment,
while the native alignment can be different, like for longs on x86.
Fixes #469135.
* class-internals.h (MonoMarshalType): Add a min_align field.
svn path=/trunk/mono/; revision=124559
Ivan Zlatev [Mon, 26 Jan 2009 20:14:00 +0000 (20:14 -0000)]
2009-01-26 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Do not be too smart about selecting the first cell
when the first row is added as this is not what MS does. Fixes the
failing unit tests.
svn path=/trunk/mcs/; revision=124557
Carlos Alberto Cortez [Mon, 26 Jan 2009 19:40:24 +0000 (19:40 -0000)]
2009-01-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeNode.cs: NextVisibleNode and PrevVisibleNode properties don't
take into account the fact that OpenTreeNodeEnumerator needs to call
MoveNext/MovePrevious to actually put the passed node as the one
retrieved in Current. This way this property should work as really
expected in .net.
Fixes part of #467225.
svn path=/trunk/mcs/; revision=124553
Rodrigo Kumpera [Mon, 26 Jan 2009 19:06:56 +0000 (19:06 -0000)]
2009-01-26 Rodrigo Kumpera <rkumpera@novell.com>
* critical-sections.h (Enter/LeaveCriticalSection): Show
helpfull warning messages before crashing.
svn path=/trunk/mono/; revision=124549
Marek Habersack [Mon, 26 Jan 2009 18:58:04 +0000 (18:58 -0000)]
2009-01-26 Marek Habersack <mhabersack@novell.com>
* ClientProxyHandler.cs: before generating the proxy check if the
service type is decorated with the [ScriptService] custom
attribute. Only such service types can be called from client
JavaScript.
2009-01-26 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: before registering script service reference
check if the service type is decorated with the [ScriptService]
custom attribute. Only such service types can be called from
client JavaScript.
svn path=/trunk/mcs/; revision=124547
Rodrigo Kumpera [Mon, 26 Jan 2009 18:54:39 +0000 (18:54 -0000)]
2009-01-26 Rodrigo Kumpera <rkumpera@novell.com>
* unwind.c (mono_unwind_cleanup): Don't crash if cached_info is NULL.
svn path=/trunk/mono/; revision=124545
Rodrigo Kumpera [Mon, 26 Jan 2009 18:21:29 +0000 (18:21 -0000)]
2009-01-26 Rodrigo Kumpera <rkumpera@novell.com>
* assembly.c (mono_assembly_try_decode_skip_verification): Add a hack to check
the 1.0 format.
svn path=/trunk/mono/; revision=124540
Rodrigo Kumpera [Mon, 26 Jan 2009 18:21:27 +0000 (18:21 -0000)]
2009-01-26 Rodrigo Kumpera <rkumpera@novell.com>
* handles-private.h (_wapi_handle_set_signal_state): Show
helpfull warning messages before crashing.
svn path=/trunk/mono/; revision=124539
Marek Safar [Mon, 26 Jan 2009 17:59:19 +0000 (17:59 -0000)]
Replace FullName with CSharpSignature
svn path=/trunk/mcs/; revision=124537
Marek Habersack [Mon, 26 Jan 2009 17:51:25 +0000 (17:51 -0000)]
2009-01-26 Marek Habersack <mhabersack@novell.com>
* BuildManagerDirectoryBuilder.cs: added support for fake virtual
paths.
svn path=/trunk/mcs/; revision=124536
Jeffrey Stedfast [Mon, 26 Jan 2009 17:07:58 +0000 (17:07 -0000)]
2009-01-26 Jeffrey Stedfast <fejj@novell.com>
* mono-mutex.[c,h]: Removed GPLv2 copyright notice which should
not have been there.
svn path=/trunk/mono/; revision=124535
Marek Safar [Mon, 26 Jan 2009 16:50:14 +0000 (16:50 -0000)]
New test.
svn path=/trunk/mcs/; revision=124534
Marek Safar [Mon, 26 Jan 2009 16:49:23 +0000 (16:49 -0000)]
2009-01-26 Marek Safar <marek.safar@gmail.com>
A fix for bug #469019
* anonymous.cs: Use all parent type parameters when instantiating
nested generic storey.
svn path=/trunk/mcs/; revision=124532
Carlos Alberto Cortez [Mon, 26 Jan 2009 15:47:56 +0000 (15:47 -0000)]
2000-01-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeView.cs: When calculating the scrollbars, don't use
TreeNode.Bounds, since it still can have the values of the previous
-and now invalid- layout -which depends on TreeView.skipped_nodes, and
could not have been updated as well-, and use the actual number of
visible number of nodes to compute the height needed to contain all
the nodes. Also reset the value of vbar to 0 when disabled - this way
we make sure that, when re-enabled, it will update the visible area of
the treeview, even if the previous value before disabling it is the
same as now. Finally don't do anything for the vbar.ValueChanged
handler - for the case wheer we manually set the value but don't the
vbar is disabled already.
Fixes part of #467225.
svn path=/trunk/mcs/; revision=124509
Marek Safar [Mon, 26 Jan 2009 15:28:41 +0000 (15:28 -0000)]
New test.
svn path=/trunk/mcs/; revision=124507
Marek Safar [Mon, 26 Jan 2009 15:27:14 +0000 (15:27 -0000)]
2009-01-26 Marek Safar <marek.safar@gmail.com>
* expression.cs: Check for null instance methodgroup expression.
svn path=/trunk/mcs/; revision=124505
Zoltan Varga [Mon, 26 Jan 2009 15:18:18 +0000 (15:18 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_method_compile): Save the unwind info generated by the JIT
and put its id into jinfo->used_regs. This is only used on amd64,
which is currently the only platform generating unwind info.
* exceptions-amd64.c: Instead of unwinding based on a register mask, use
the dwarf unwinder. This is required to correctly handle async exceptions
like thread abort and stack overflows, which can happen while a method
is in the middle of its prolog or epilog.
* aot-runtime.c (mono_aot_get_unwind_info): New helper function to obtain
the unwind info belonging to an AOTed method.
* aot-compiler.c aot-runtime.c: Save/Load the unwind info emitted by the JIT
into cfg->unwind_ops.
svn path=/trunk/mono/; revision=124504
Zoltan Varga [Mon, 26 Jan 2009 15:13:18 +0000 (15:13 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* unwind.c (mono_unwind_frame): Use <= instead of < for the loop exit check.
svn path=/trunk/mono/; revision=124503
Zoltan Varga [Mon, 26 Jan 2009 14:56:40 +0000 (14:56 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* domain-internals.h (struct _MonoJitInfo): Add a 'from_aot' field plus
some comments about the usage of the used_regs field.
svn path=/trunk/mono/; revision=124502
Zoltan Varga [Mon, 26 Jan 2009 14:43:59 +0000 (14:43 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_init): Call mono_unwind_init ().
(mini_cleanup): Call mono_unwind_cleanup ().
svn path=/trunk/mono/; revision=124501
Zoltan Varga [Mon, 26 Jan 2009 14:41:29 +0000 (14:41 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* unwind.c: Add functions for managing a set of unwind info entries, allowing
unwind info to be shared between methods.
svn path=/trunk/mono/; revision=124500
Zoltan Varga [Mon, 26 Jan 2009 14:23:17 +0000 (14:23 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_emit_prolog): Emit unwind info for the registers
saved in the LMF.
svn path=/trunk/mono/; revision=124499
Marek Habersack [Mon, 26 Jan 2009 14:22:48 +0000 (14:22 -0000)]
2009-01-26 Marek Habersack <mhabersack@novell.com>
* data/config.xml: added a definition for .NET 3.5 AJAX entries
(feature AJAX) and moved the 1.0 entries to feature AJAX1.
svn path=/trunk/mcs/; revision=124498
Marek Habersack [Mon, 26 Jan 2009 13:26:21 +0000 (13:26 -0000)]
2009-01-26 Marek Habersack <mhabersack@novell.com>
* SearchPattern.cs: make IsMatch work for situations when there is
no wildcard in the pattern, but a subdirectory match is being
tested, e.g. pattern == "file.txt" and text ==
"subdir/file.txt". Lack of support for this has been causing
watching for changes to ASP.NET's web.config in subdirectories to
fail.
svn path=/trunk/mcs/; revision=124491
Rolf Bjarne Kvinge [Mon, 26 Jan 2009 12:58:50 +0000 (12:58 -0000)]
2009-01-26 Rolf Bjarne Kvinge <rkvinge@novell.com>
* WebClient_2_1.cs: Ensure we don't let exceptions go to native code.
* HttpWebRequest_2_1.cs: Add AllowReadStreamBuffering.
svn path=/trunk/mcs/; revision=124487
Marek Safar [Mon, 26 Jan 2009 12:43:57 +0000 (12:43 -0000)]
New test.
svn path=/trunk/mcs/; revision=124485
Marek Safar [Mon, 26 Jan 2009 12:42:31 +0000 (12:42 -0000)]
2009-01-26 Marek Safar <marek.safar@gmail.com>
A fix for bug #469244
* cs-tokenizer.cs, cs-parser.jay: Fixed parsing of nullable type
instance inside a conditional expression.
svn path=/trunk/mcs/; revision=124484
Marek Habersack [Mon, 26 Jan 2009 11:38:08 +0000 (11:38 -0000)]
2009-01-26 Marek Habersack <mhabersack@novell.com>
* WebConfigurationHost.cs: when an attempt to map a fake virtual
path is made, MapPath returns the aplication physical root
directory. Fixes bug #463950
svn path=/trunk/mcs/; revision=124479
Marek Habersack [Mon, 26 Jan 2009 10:46:23 +0000 (10:46 -0000)]
2009-01-26 Marek Habersack <mhabersack@novell.com>
* CompilationException.cs: added a Message override to make error
messages more useful.
svn path=/trunk/mcs/; revision=124475
Zoltan Varga [Mon, 26 Jan 2009 08:16:39 +0000 (08:16 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_ptr): Allow pointers to blittable structures.
Fixes #469217.
svn path=/trunk/mono/; revision=124469
Gonzalo Paniagua Javier [Mon, 26 Jan 2009 07:00:46 +0000 (07:00 -0000)]
2009-01-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SocketTest.cs:
(TestSelect1) avoid RST by reading the bytes from the client.
svn path=/trunk/mcs/; revision=124463
Gonzalo Paniagua Javier [Mon, 26 Jan 2009 06:47:17 +0000 (06:47 -0000)]
ChangeLog
svn path=/trunk/mcs/; revision=124459
Gonzalo Paniagua Javier [Mon, 26 Jan 2009 06:44:21 +0000 (06:44 -0000)]
2009-01-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebResponse.cs: avoid throwing an exception when
Content-Length is not present.
svn path=/trunk/mcs/; revision=124458
Zoltan Varga [Mon, 26 Jan 2009 06:42:29 +0000 (06:42 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_exceptions_init): Call
get_throw_pending_exception () to avoid initialization races.
* mini-exceptions.c (mono_exceptions_init): Call an arch specific
mono_arch_exceptions_init () function.
svn path=/trunk/mono/; revision=124457
Zoltan Varga [Mon, 26 Jan 2009 06:42:08 +0000 (06:42 -0000)]
2009-01-26 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_exceptions_init): Call
get_throw_pending_exception () to avoid initialization races.
* mini-exceptions.c (mono_exceptions_init): Call an arch specific
mono_arch_exceptions_init () function.
svn path=/trunk/mono/; revision=124456