Jonathan Chambers [Fri, 13 Nov 2009 18:18:05 +0000 (18:18 -0000)]
2009-11-13 Jonathan Chambers <joncham@gmail.com>
* debugger-agent.c: Implementation for Windows platform.
* mini-x86.c: Add support for Windows. Use mono-* synchronization
primitives. Use SEH to implement breakpoints and single stepping.
* mini-x86.h: Enable soft debugger on Windows.
Code contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=146168
Marek Safar [Fri, 13 Nov 2009 17:51:37 +0000 (17:51 -0000)]
2009-11-13 Marek Safar <marek.safar@seznam.cz>
* Makefile: Always install only 2.0 version of security and gacutil.
svn path=/trunk/mcs/; revision=146165
Marek Safar [Fri, 13 Nov 2009 16:24:06 +0000 (16:24 -0000)]
2009-11-13 Marek Safar <marek.safar@gmail.com>
* UnmanagedMemoryAccessor.cs: Finished.
svn path=/trunk/mcs/; revision=146159
Marek Safar [Fri, 13 Nov 2009 16:22:40 +0000 (16:22 -0000)]
2009-11-13 Marek Safar <marek.safar@gmail.com>
A fix for bug #553650
* generic.cs: Another missing TypeToCoreType, still too many to fix.
svn path=/trunk/mcs/; revision=146157
Marek Habersack [Fri, 13 Nov 2009 15:46:37 +0000 (15:46 -0000)]
made test culture-invariant
svn path=/trunk/mcs/; revision=146151
Marek Habersack [Fri, 13 Nov 2009 15:42:25 +0000 (15:42 -0000)]
2009-11-13 Marek Habersack <mhabersack@novell.com>
* TemplateBuildProvider.cs: if directive has empty string as a
value and it represents a path, do not create a VirtualPath.
svn path=/trunk/mcs/; revision=146148
Marek Safar [Fri, 13 Nov 2009 14:52:59 +0000 (14:52 -0000)]
Warnings cleanup
svn path=/trunk/mcs/; revision=146142
Marek Habersack [Fri, 13 Nov 2009 13:22:23 +0000 (13:22 -0000)]
Added null check to Remove
svn path=/trunk/mcs/; revision=146131
Marek Safar [Fri, 13 Nov 2009 13:19:05 +0000 (13:19 -0000)]
Fixes 4.0 build
svn path=/trunk/mcs/; revision=146130
Marek Safar [Fri, 13 Nov 2009 13:17:42 +0000 (13:17 -0000)]
2009-11-13 Marek Safar <marek.safar@gmail.com>
* Lazy.cs: Check recursive initializations.
svn path=/trunk/mcs/; revision=146129
Marek Habersack [Fri, 13 Nov 2009 12:56:34 +0000 (12:56 -0000)]
2009-11-13 Marek Habersack <mhabersack@novell.com>
* TableRowCollection.cs: added .NET compatibility NREX throws to
several methods.
Whenever a row is added/removed, its Container property is
set. Fixes bug #551666
* TableRow.cs: introduced an internal property, Container, which
is set by TableRowCollection whenever this row is added/removed
to/from the collection. This allows the row to notify the
collectio and, in consequence, collection owner that TableSection
has been set and thead/tbody/tfoot elements need to be
generated. Fixes bug #551666
2009-11-13 Marek Habersack <mhabersack@novell.com>
* GridViewTest.cs: added test for bug #551666
2009-11-13 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/TableSections_Bug551666.aspx
Test/mainsoft/NunitWebResources/TableSections_Bug551666.aspx.cs
svn path=/trunk/mcs/; revision=146126
Zoltan Varga [Fri, 13 Nov 2009 10:42:07 +0000 (10:42 -0000)]
Add missing file to fix the build.
svn path=/trunk/mcs/; revision=146119
Marek Safar [Fri, 13 Nov 2009 10:02:31 +0000 (10:02 -0000)]
2009-11-13 Marek Safar <marek.safar@gmail.com>
A fix for bug #555170
* class.cs, delegate.cs, enum.cs: Constants have to be available
for parameters resolve.
svn path=/trunk/mcs/; revision=146117
Zoltan Varga [Fri, 13 Nov 2009 06:36:08 +0000 (06:36 -0000)]
2009-11-13 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_call_body): Disable usage of near calls when running
under XEN. Fixes #522894.
svn path=/trunk/mono/; revision=146109
Zoltan Varga [Fri, 13 Nov 2009 06:28:16 +0000 (06:28 -0000)]
2009-11-13 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c: Add support for passing flags to invokes. Add a
DISABLE_BREAKPOINTS flag. Bump protocol version.
svn path=/trunk/mono/; revision=146105
Zoltan Varga [Fri, 13 Nov 2009 06:28:10 +0000 (06:28 -0000)]
2009-11-13 Zoltan Varga <vargaz@gmail.com>
* dtest.cs: Add a test for InvokeOptions.DisableBreakpoints.
svn path=/trunk/mono/; revision=146104
Zoltan Varga [Fri, 13 Nov 2009 06:27:10 +0000 (06:27 -0000)]
2009-11-13 Zoltan Varga <vargaz@gmail.com>
* InvokeOptions.cs: New file.
* ObjectMirror.cs TypeMirror.cs StructMirror.cs: Add support for passing flags
to InvokeMethod ().
* Connection.cs: Bump protocol version.
svn path=/trunk/mcs/; revision=146103
Zoltan Varga [Fri, 13 Nov 2009 06:22:36 +0000 (06:22 -0000)]
2009-11-13 Zoltan Varga <vargaz@gmail.com>
* processes.c: Include mono-path.h.
svn path=/trunk/mono/; revision=146101
Zoltan Varga [Fri, 13 Nov 2009 04:19:39 +0000 (04:19 -0000)]
2009-11-13 Zoltan Varga <vargaz@gmail.com>
* patch-info.h: Add LLVM_IMT_TRAMPOLINE.
* mini-llvm.c aot-compiler.c aot-runtime.c mini.c: Add support for making
interface calls in LLVM AOT code.
* aot-compiler.c mini-llvm.c: Abort llvm compilation if a non-encodable patch
is found.
svn path=/trunk/mono/; revision=146099
Zoltan Varga [Fri, 13 Nov 2009 02:37:20 +0000 (02:37 -0000)]
2009-11-13 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c: Add support for OP_VPHI.
* objects.cs: Add a test.
svn path=/trunk/mono/; revision=146096
Marek Habersack [Fri, 13 Nov 2009 02:04:23 +0000 (02:04 -0000)]
2009-11-13 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: added parameter checks to Redirect ().
If the passed url starts with http:, https:, file: or ftp: then it
is treated as a fully qualified one and no attempt to rewrite the
url to the fully qualified form (if system.web/httpRuntime
UseFullyQualifiedRedirectUrl is true) is made.
svn path=/trunk/mcs/; revision=146092
Zoltan Varga [Fri, 13 Nov 2009 01:47:31 +0000 (01:47 -0000)]
2009-11-13 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (mono_debugger_agent_single_step_event): Avoid a crash if
this is called on the debugger thread.
svn path=/trunk/mono/; revision=146089
Marek Habersack [Fri, 13 Nov 2009 01:18:33 +0000 (01:18 -0000)]
2009-11-13 Marek Habersack <mhabersack@novell.com>
* HtmlForm.cs: reverted part of the previous patch - action is not
set to the result of calling ResolveClientUrl(action)
anymore. Fixes bug #554324
svn path=/trunk/mcs/; revision=146086
Zoltan Varga [Thu, 12 Nov 2009 22:46:05 +0000 (22:46 -0000)]
2009-11-12 Zoltan Varga <vargaz@gmail.com>
* acinclude.m4 (dolt_supported): Handle 'i686-pc-cygwin' too.
svn path=/trunk/mono/; revision=146077
Geoff Norton [Thu, 12 Nov 2009 22:13:18 +0000 (22:13 -0000)]
2009-11-12 Geoff Norton <gnorton@novell.com>
* mono-path.c: When resolving symlinks in a path, we need to
split on the directory separator and check each level, as
readlink only checks the final destination.
svn path=/trunk/mono/; revision=146071
Geoff Norton [Thu, 12 Nov 2009 22:13:15 +0000 (22:13 -0000)]
2009-11-12 Geoff Norton <gnorton@novell.com>
* processes.c: match_procname_to_modulename should resolve
symlinks when checking if two process modules match.
svn path=/trunk/mono/; revision=146070
Marek Safar [Thu, 12 Nov 2009 21:44:37 +0000 (21:44 -0000)]
More tests.
svn path=/trunk/mcs/; revision=146064
Marek Safar [Thu, 12 Nov 2009 21:42:26 +0000 (21:42 -0000)]
2009-11-12 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, argument.cs, support.cs, delegate.cs: Dynamic
arrays.
svn path=/trunk/mcs/; revision=146063
Marek Safar [Thu, 12 Nov 2009 17:22:18 +0000 (17:22 -0000)]
New tests.
svn path=/trunk/mcs/; revision=146051
Marek Safar [Thu, 12 Nov 2009 17:10:16 +0000 (17:10 -0000)]
2009-11-12 Marek Safar <marek.safar@gmail.com>
* argument.cs, context.cs, expression.cs, ecore.cs: Dynamic binding
with a statically known candidate set.
svn path=/trunk/mcs/; revision=146050
Marek Safar [Thu, 12 Nov 2009 16:55:08 +0000 (16:55 -0000)]
New test
svn path=/trunk/mcs/; revision=146048
Eric Maupin [Thu, 12 Nov 2009 13:56:46 +0000 (13:56 -0000)]
* System.Linq/Lookup.cs: Support null keys
* System.Linq/Enumerable.cs: Support null keys
svn path=/trunk/mcs/; revision=146039
Jb Evain [Thu, 12 Nov 2009 12:33:46 +0000 (12:33 -0000)]
2009-11-12 Jb Evain <jbevain@novell.com>
* Aes.cs: avoid using an hardcoded assembly version for System.Core.
svn path=/trunk/mcs/; revision=146033
Jb Evain [Thu, 12 Nov 2009 12:32:51 +0000 (12:32 -0000)]
2009-11-12 Jb Evain <jbevain@novell.com>
* Consts.cs.in: add a AssemblySystem_Core constant.
svn path=/trunk/mcs/; revision=146031
Atsushi Eno [Thu, 12 Nov 2009 10:45:50 +0000 (10:45 -0000)]
2009-11-12 Atsushi Enomoto <atsushi@ximian.com>
* net_4_0_System.Runtime.Serialization.dll : 4.0 dll contains
JSON serializer (moved from Sys.SM.Web).
* net_4_0_System.ServiceModel.dll.sources : 4.0 dll contains
syndication stuff (moved from Sys.SM.Web.dll).
* common_System.ServiceModel.Web.dll.sources,
net_2_0_System.ServiceModel.Web.dll.sources,
net_4_0_System.ServiceModel.Web.dll.sources :
in 4.0 profile, some types are moved from this
assembly, so extract common basis and include
it in 2.0 and 4.0 profile sources (4.0 is
equivalent to common so far).
svn path=/trunk/mcs/; revision=146025
Atsushi Eno [Thu, 12 Nov 2009 08:15:40 +0000 (08:15 -0000)]
2009-11-12 Atsushi Enomoto <atsushi@ximian.com>
* JsonSerializationReader.cs : reuse generic collection search
logic in KnownTypeCollection.cs. Fixed bug #551671.
svn path=/trunk/mcs/; revision=146023
Zoltan Varga [Thu, 12 Nov 2009 04:34:56 +0000 (04:34 -0000)]
2009-11-12 Zoltan Varga <vargaz@gmail.com>
* dtest.cs: Update to latest APIs.
svn path=/trunk/mono/; revision=146018
Zoltan Varga [Thu, 12 Nov 2009 04:33:46 +0000 (04:33 -0000)]
2009-11-12 Zoltan Varga <vargaz@gmail.com>
* VirtualMachineManager.cs: Put back the old Launch (string[], LaunchOptions)
overload.
svn path=/trunk/mcs/; revision=146017
Zoltan Varga [Thu, 12 Nov 2009 03:31:33 +0000 (03:31 -0000)]
2009-11-12 Zoltan Varga <vargaz@gmail.com>
* generic-virtual.2.cs: Add a test for rebuilding virtual generic method
thunks.
svn path=/trunk/mono/; revision=146016
Rodrigo Kumpera [Thu, 12 Nov 2009 02:18:31 +0000 (02:18 -0000)]
2009-11-11 Rodrigo Kumpera <rkumpera@novell.com>
* Type.cs: Fix Make(Array|ByRef|Pointer)Type to not crash
with user types.
* Type.cs (MakeGenericType): Don't crash with user types.
* Type.cs (GetGenericParameterConstraints): Don't crash with user types.
* Type.cs (GenericParameterAttributes): Don't crash with user types.
* Type.cs (IsInstanceOfType): Don't crash with user types.
* Type.cs (IsAssignableFrom): Better handle User Types.
* Type.cs (GetInterfaceMap): Don't crash with user types.
* Type.cs (Equals): Fix behavior to be more MS compatible.
svn path=/trunk/mcs/; revision=146014
Zoltan Varga [Thu, 12 Nov 2009 01:35:11 +0000 (01:35 -0000)]
Fix a warning.
svn path=/trunk/mono/; revision=146013
Zoltan Varga [Thu, 12 Nov 2009 01:34:55 +0000 (01:34 -0000)]
2009-11-12 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c: Add soft-float support.
* method-to-ir.c (mono_decompose_soft_float): Restart after decomposing an
FCALL which returns an R4.
* driver.c (mono_main): Add a missing '\n'.
* mini-trampolines.c (mono_create_llvm_imt_trampoline): Fix the build on
platforms which doesn't support the LLVM IMT trampoline.
svn path=/trunk/mono/; revision=146011
Miguel de Icaza [Wed, 11 Nov 2009 23:55:32 +0000 (23:55 -0000)]
Small fixes
svn path=/trunk/mono/; revision=146006
Miguel de Icaza [Wed, 11 Nov 2009 23:47:26 +0000 (23:47 -0000)]
Up
svn path=/trunk/mono/; revision=146005
Miguel de Icaza [Wed, 11 Nov 2009 23:46:14 +0000 (23:46 -0000)]
Up
svn path=/trunk/mono/; revision=146004
Mark Probst [Wed, 11 Nov 2009 23:42:49 +0000 (23:42 -0000)]
2009-11-12 Mark Probst <mark.probst@gmail.com>
* scripts/mono-heapviz: New script for generating SGen heap
visualizations.
* scripts/Makefile.am: mono-heapviz added.
svn path=/trunk/mono/; revision=146003
Miguel de Icaza [Wed, 11 Nov 2009 23:40:56 +0000 (23:40 -0000)]
Update README and order.xml file
svn path=/trunk/mono/; revision=146002
Miguel de Icaza [Wed, 11 Nov 2009 23:29:57 +0000 (23:29 -0000)]
Update
svn path=/trunk/mcs/; revision=146000
Miguel de Icaza [Wed, 11 Nov 2009 23:27:52 +0000 (23:27 -0000)]
Up
svn path=/trunk/mono/; revision=145999
Miguel de Icaza [Wed, 11 Nov 2009 23:26:50 +0000 (23:26 -0000)]
Make csproj target work again
svn path=/trunk/mcs/; revision=145998
Mark Probst [Wed, 11 Nov 2009 23:07:24 +0000 (23:07 -0000)]
2009-11-12 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c (find_tlab_next_from_address): Handle the case where
tlab_next points outside the TLAB because the allocator was
interrupted.
svn path=/trunk/mono/; revision=145995
Geoff Norton [Wed, 11 Nov 2009 22:46:25 +0000 (22:46 -0000)]
2009-11-11 Geoff Norton <gnorton@novell.com>
* VirtualMachineManager.cs: Refactor the APIs to have async methods.
Remove a bunch of Listen overloads that are pointless. Refactor
Launch to take a ProcessStartInfo instead of string arguments.
svn path=/trunk/mcs/; revision=145994
Scott Thomas [Wed, 11 Nov 2009 21:52:13 +0000 (21:52 -0000)]
Fixed bug #553655 and added a unit test for it.
svn path=/trunk/mcs/; revision=145989
Marek Safar [Wed, 11 Nov 2009 17:25:31 +0000 (17:25 -0000)]
More tests.
svn path=/trunk/mcs/; revision=145968
Marek Safar [Wed, 11 Nov 2009 17:25:15 +0000 (17:25 -0000)]
More tests.
svn path=/trunk/mcs/; revision=145967
Marek Safar [Wed, 11 Nov 2009 17:24:34 +0000 (17:24 -0000)]
2009-11-11 Marek Safar <marek.safar@gmail.com>
* CSharpInvokeBinder.cs, CSharpBinder.cs,
CSharpInvokeMemberBinder.cs: Convert discarded result expressions.
svn path=/trunk/mcs/; revision=145966
Marek Safar [Wed, 11 Nov 2009 17:23:15 +0000 (17:23 -0000)]
2009-11-11 Marek Safar <marek.safar@gmail.com>
* dynamic.cs, decl.cs, expression.cs, ecore.cs: More dynamic type
checks.
svn path=/trunk/mcs/; revision=145964
Sebastien Pouliot [Wed, 11 Nov 2009 16:22:41 +0000 (16:22 -0000)]
2009-11-11 Sebastien Pouliot <sebastien@ximian.com>
* Console.cs: Reduce duplication between OpenStandard[Input|
Output|Error] and, for Moonlight, don't return a NullStream if
security is disabled (e.g. when smcs executes) r: alan
Note: include changes from r145773 (2-6) from toshok
svn path=/trunk/mcs/; revision=145960
Carlos Alberto Cortez [Wed, 11 Nov 2009 12:09:34 +0000 (12:09 -0000)]
2009-11-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DataGrid.cs: Add a new internal property to get the maximum possible
visible rows in the grid. We cannot use VisibleRowCount since this
value can, depending on the scroll position, return a +1 or -1 value,
so we need an absolute way to know whether we need a scroll bar or
not. Also, update VLargeChange to avoid code duplication.
Fixes a vertical scroll mismatch happening trying to add a new row
while the scrollbar has reached its maximum value.
svn path=/trunk/mcs/; revision=145952
Atsushi Eno [Wed, 11 Nov 2009 04:27:02 +0000 (04:27 -0000)]
2009-11-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocument.cs, XmlElement.cs, XmlAttribute.cs,
XmlAttributeCollection.cs :
when CreateElement() and/or CreateAttribute() are overriden,
use overriden method. Otherwise, use internal optimal ones.
Fixed bug #549839.
svn path=/trunk/mcs/; revision=145920
Jonathan Pobst [Wed, 11 Nov 2009 04:10:14 +0000 (04:10 -0000)]
- Add some [Flags].
svn path=/trunk/mcs/; revision=145919
Jonathan Pobst [Wed, 11 Nov 2009 03:49:15 +0000 (03:49 -0000)]
2009-10-10 Jonathan Pobst <monkey@jpobst.com>
* Add jaystuff.bat and win32.xml, used by MonkeyBuilder.
svn path=/trunk/mono/; revision=145916
Miguel de Icaza [Wed, 11 Nov 2009 03:15:29 +0000 (03:15 -0000)]
Small 4fx fixes
svn path=/trunk/mcs/; revision=145914
Zoltan Varga [Wed, 11 Nov 2009 02:44:20 +0000 (02:44 -0000)]
2009-11-11 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_generic_instances): Only add GetGenericValueImpl to the
mscorlib aot image.
svn path=/trunk/mono/; revision=145911
Atsushi Eno [Wed, 11 Nov 2009 02:41:28 +0000 (02:41 -0000)]
2009-11-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlNodeReaderImpl.cs : when the reader is at attribute value,
MoveToNextAttribute() incorrectly moved to the first attribute.
Fixed bug #550379.
* XmlNodeReaderTests.cs : added test for bug #550379.
svn path=/trunk/mcs/; revision=145910
Zoltan Varga [Wed, 11 Nov 2009 01:24:13 +0000 (01:24 -0000)]
2009-11-11 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Fix LOCALLOC.
svn path=/trunk/mono/; revision=145909
Zoltan Varga [Wed, 11 Nov 2009 01:11:38 +0000 (01:11 -0000)]
2009-11-11 Zoltan Varga <vargaz@gmail.com>
* mini-llvm-cpp.cpp: Update to latest LLVM SVN.
svn path=/trunk/mono/; revision=145908
Zoltan Varga [Wed, 11 Nov 2009 01:11:32 +0000 (01:11 -0000)]
2009-11-11 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Avoid creating plt entries for
virtual calls.
svn path=/trunk/mono/; revision=145906
Zoltan Varga [Wed, 11 Nov 2009 01:11:25 +0000 (01:11 -0000)]
2009-11-11 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c: Don't define HAVE_DL_ITERATE_PHDR, configure now does that.
svn path=/trunk/mono/; revision=145905
Zoltan Varga [Wed, 11 Nov 2009 01:11:19 +0000 (01:11 -0000)]
2009-11-11 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add checks for link.h and dl_iterate_phdr.
svn path=/trunk/mono/; revision=145904
Zoltan Varga [Wed, 11 Nov 2009 01:11:12 +0000 (01:11 -0000)]
2009-11-10 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Change how mono_arch_find_jit_info () works.
Instead of emitting a method_order table, sort the contents of the code_offsets
table and do a binary search in the sorted table. The previous approach doesn't
work with LLVM which emits methods in a arbitrary order.
* aot-runtime.c: Add support for creating MonoJitInfo structures by searching
in the .eh_frame section in ELF files.
* mini.h: Bump corlib file format version.
* mini-llvm.c aot-compiler.c: Add support for AOT to the LLVM back end.
svn path=/trunk/mono/; revision=145903
Geoff Norton [Tue, 10 Nov 2009 22:48:22 +0000 (22:48 -0000)]
Add ReaderWriterLockSlim to monotouch
svn path=/trunk/mcs/; revision=145892
Andrew Jorgensen [Tue, 10 Nov 2009 22:08:59 +0000 (22:08 -0000)]
spec fixes galore
svn path=/trunk/mono/; revision=145890
Geoff Norton [Tue, 10 Nov 2009 20:54:22 +0000 (20:54 -0000)]
restore iso-8859-1 to monotouch
svn path=/trunk/mcs/; revision=145882
Marek Safar [Tue, 10 Nov 2009 20:29:52 +0000 (20:29 -0000)]
Build using 4.0 clr
svn path=/trunk/mcs/; revision=145875
Andrew Jorgensen [Tue, 10 Nov 2009 20:12:27 +0000 (20:12 -0000)]
remove monostyle manpage
svn path=/trunk/mono/; revision=145871
Andrew Jorgensen [Tue, 10 Nov 2009 19:57:48 +0000 (19:57 -0000)]
mint manpage should also be conditional
svn path=/trunk/mono/; revision=145869
Andrew Jorgensen [Tue, 10 Nov 2009 19:50:28 +0000 (19:50 -0000)]
remove oldmono man page
svn path=/trunk/mono/; revision=145867
Jb Evain [Tue, 10 Nov 2009 19:10:13 +0000 (19:10 -0000)]
fix the build
svn path=/trunk/mcs/; revision=145864
Miguel de Icaza [Tue, 10 Nov 2009 17:31:08 +0000 (17:31 -0000)]
Few more 4.0 touchups
svn path=/trunk/mcs/; revision=145858
Miguel de Icaza [Tue, 10 Nov 2009 17:27:27 +0000 (17:27 -0000)]
2009-11-10 Miguel de Icaza <miguel@novell.com>
* Lazy.cs: Updated API to 4.0 Beta 2
svn path=/trunk/mcs/; revision=145856
Marek Safar [Tue, 10 Nov 2009 16:56:57 +0000 (16:56 -0000)]
New tests.
svn path=/trunk/mcs/; revision=145852
Marek Safar [Tue, 10 Nov 2009 16:56:42 +0000 (16:56 -0000)]
2009-11-10 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, generic.cs, parameter.cs, argument.cs, dynamic.cs,
linq.cs, rootcontext.cs, ecore.cs, class.cs, delegate.cs,
attribute.cs: Add some dynamic error checking.
svn path=/trunk/mcs/; revision=145851
Jonathan Chambers [Tue, 10 Nov 2009 14:07:07 +0000 (14:07 -0000)]
2009-11-10 Jonathan Chambers <joncham@gmail.com>
* winconfig.h: Bump version string to 2.7.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=145835
Marek Habersack [Tue, 10 Nov 2009 14:00:01 +0000 (14:00 -0000)]
Removed 1.x code and NET_2_0 ifdefs
svn path=/trunk/mcs/; revision=145834
Marek Habersack [Tue, 10 Nov 2009 13:49:01 +0000 (13:49 -0000)]
2009-11-10 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: AddImports is called from LoadConfigDefaults
so that it reads configuration from the correct .config file (it
needs to be called after this.VirtualPath has been
initialized). Fixes an issue with MVC apps which put configuration
in Views/web.config etc. Fixes bug #552457
* ControlBuilder.cs, Page.cs: system.web/pages section is not
confined to the top-level web.config
2009-11-10 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: path passed to OpenWebConfiguration
from GetSection does not come from FindWebConfig.
2009-11-10 Marek Habersack <mhabersack@novell.com>
* BaseCompiler.cs: parser.Imports is a Dictionary <>/Hashtable
now.
* AspComponentFoundry.cs: system.web/pages section is not confined
to the top-level web.config
svn path=/trunk/mcs/; revision=145831
Jb Evain [Tue, 10 Nov 2009 13:36:54 +0000 (13:36 -0000)]
add failing test for bnc550722
svn path=/trunk/mcs/; revision=145829
Marek Habersack [Tue, 10 Nov 2009 10:41:41 +0000 (10:41 -0000)]
2009-11-10 Marek Habersack <mhabersack@novell.com>
* PasswordRecovery.cs:
{Question,Success,UserName}TemplateContainer must all be populated
the first time the property is accessed, so that calling
FindControl on the container returns valid and expected
results. If the associated template is not defined, though,
populating is postponed till CreateChildControls is called -
that's where default, empty, template will be created. This is
required to fix YetAnotherForum's password recovery control.
Mail template used in SendPasswordByMail must match the one used
in .NET (it has to end with a newline) as YAF parses the message
to retrieve user name and password and breaks if the last line
doesn't end with a newline character.
svn path=/trunk/mcs/; revision=145824
Gonzalo Paniagua Javier [Tue, 10 Nov 2009 05:56:22 +0000 (05:56 -0000)]
new test
svn path=/trunk/mcs/; revision=145809
Gonzalo Paniagua Javier [Tue, 10 Nov 2009 05:54:00 +0000 (05:54 -0000)]
2009-11-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket_2_1.cs: throw when shutting down a socket that is not
connected. Don't linger if the socket is not connected.
svn path=/trunk/mcs/; revision=145806
Zoltan Varga [Tue, 10 Nov 2009 04:49:15 +0000 (04:49 -0000)]
2009-11-10 Zoltan Varga <vargaz@gmail.com>
* VirtualMachineManager.cs (Launch): Close the listening socket instead of
shutting it down since Shutdown throws on exception on non-connected sockets
in ms.net.
svn path=/trunk/mcs/; revision=145803
Rodrigo Kumpera [Tue, 10 Nov 2009 02:05:53 +0000 (02:05 -0000)]
2009-11-09 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (mono_image_module_basic_init): Handle exceptions correctly.
svn path=/trunk/mono/; revision=145798
Rodrigo Kumpera [Tue, 10 Nov 2009 02:05:43 +0000 (02:05 -0000)]
2009-11-09 Rodrigo Kumpera <rkumpera@novell.com>
* object-internals.h: Change signature for mono_string_to_utf8_image.
* object.c (mono_string_to_utf8_image): Change signature to take a MonoError
argument.
* reflection.c: Take care of mono_string_to_utf8_image change and avoid raising
exceptions due to mono_string_to_utf8.
svn path=/trunk/mono/; revision=145797
Rodrigo Kumpera [Tue, 10 Nov 2009 02:05:33 +0000 (02:05 -0000)]
2009-11-09 Rodrigo Kumpera <rkumpera@novell.com>
* object-internals.h: Change signature for mono_string_to_utf8_mp.
* object.c (mono_remote_class): Make sure all resources are released before
raising an exception.
* object.c (mono_print_unhandled_exception): Avoid raising an exception.
svn path=/trunk/mono/; revision=145796
Rodrigo Kumpera [Tue, 10 Nov 2009 02:05:25 +0000 (02:05 -0000)]
2009-11-09 Rodrigo Kumpera <rkumpera@novell.com>
* mono-perfcounters.c (network_get_impl): Change variable initialization
ordering to fix potential memory leak in case of exceptions.
* mono-perfcounters.c (mono_perfcounter_create): Properly handle badly
encoded strings.
svn path=/trunk/mono/; revision=145795
Rodrigo Kumpera [Tue, 10 Nov 2009 02:05:16 +0000 (02:05 -0000)]
2009-11-09 Rodrigo Kumpera <rkumpera@novell.com>
* file-io.c (ves_icall_System_IO_MonoIO_GetFileSystemEntries): Change
variable initialization ordering to fix potential memory leak in case
of exceptions.
svn path=/trunk/mono/; revision=145794
Carlos Alberto Cortez [Tue, 10 Nov 2009 01:02:30 +0000 (01:02 -0000)]
* DataGridTextBoxColumn.cs:
* DataGrid.cs: Position the cursor in the add row should *not* show
yet another new row - that will happen till we get any real input data
from the user. When that happens, we will also mark the new row as
ready to commit - otherwise, when the cursor moves to a different row,
the just added row will be discarded. This is exactly what .Net seems
to do.
2009-11-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=145790
Zoltan Varga [Tue, 10 Nov 2009 00:59:52 +0000 (00:59 -0000)]
2009-11-10 Zoltan Varga <vargaz@gmail.com>
* exceptions-arm.c (mono_arch_get_call_filter_full): Update after the
LDMIA->LDM macro name change.
svn path=/trunk/mono/; revision=145787
Zoltan Varga [Tue, 10 Nov 2009 00:58:49 +0000 (00:58 -0000)]
2009-11-10 Zoltan Varga <vargaz@gmail.com>
* arm/arm-codegen.h: Fix the names of the LDMIA/STMIA macros, they don't actually
update the base register.
svn path=/trunk/mono/; revision=145786
Geoff Norton [Mon, 9 Nov 2009 23:02:52 +0000 (23:02 -0000)]
Support building on 10.6
svn path=/trunk/mono/; revision=145784