mono.git
14 years agoremove oldmono man page
Andrew Jorgensen [Tue, 10 Nov 2009 19:50:28 +0000 (19:50 -0000)]
remove oldmono man page

svn path=/trunk/mono/; revision=145867

14 years agofix the build
Jb Evain [Tue, 10 Nov 2009 19:10:13 +0000 (19:10 -0000)]
fix the build

svn path=/trunk/mcs/; revision=145864

14 years agoFew more 4.0 touchups
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

14 years ago2009-11-10 Miguel de Icaza <miguel@novell.com>
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

14 years agoNew tests.
Marek Safar [Tue, 10 Nov 2009 16:56:57 +0000 (16:56 -0000)]
New tests.

svn path=/trunk/mcs/; revision=145852

14 years ago2009-11-10 Marek Safar <marek.safar@gmail.com>
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

14 years ago2009-11-10 Jonathan Chambers <joncham@gmail.com>
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

14 years agoRemoved 1.x code and NET_2_0 ifdefs
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

14 years ago2009-11-10 Marek Habersack <mhabersack@novell.com>
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

14 years agoadd failing test for bnc550722
Jb Evain [Tue, 10 Nov 2009 13:36:54 +0000 (13:36 -0000)]
add failing test for bnc550722

svn path=/trunk/mcs/; revision=145829

14 years ago2009-11-10 Marek Habersack <mhabersack@novell.com>
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

14 years agonew test
Gonzalo Paniagua Javier [Tue, 10 Nov 2009 05:56:22 +0000 (05:56 -0000)]
new test

svn path=/trunk/mcs/; revision=145809

14 years ago2009-11-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-11-10 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-11-09 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-11-09 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-11-09 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-11-09 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-11-09 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago * DataGridTextBoxColumn.cs:
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

14 years ago2009-11-10 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-11-10 Zoltan Varga <vargaz@gmail.com>
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

14 years agoSupport building on 10.6
Geoff Norton [Mon, 9 Nov 2009 23:02:52 +0000 (23:02 -0000)]
Support building on 10.6

svn path=/trunk/mono/; revision=145784

14 years agofix the moonlight build
Geoff Norton [Mon, 9 Nov 2009 23:01:46 +0000 (23:01 -0000)]
fix the moonlight build

svn path=/trunk/mcs/; revision=145783

14 years agoIn class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Ankit Jain [Mon, 9 Nov 2009 22:53:03 +0000 (22:53 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

* ToolTask.cs (ToolExe): New.
* Csc.cs:
* AL.cs: Use ToolExe instead of ToolName to construct
tool's full path.

In tools/xbuild:

* xbuild/Microsoft.Common.targets(AL):
* xbuild/Microsoft.CSharp.targets (CSC):
* xbuild/Microsoft.VisualBasic.targets (Vbc): Set ToolExe and ToolPath to
corresponding properties, allowing them to be overridden.

svn path=/trunk/mcs/; revision=145782

14 years ago2009-11-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Nov 2009 22:44:32 +0000 (22:44 -0000)]
2009-11-09  Zoltan Varga  <vargaz@gmail.com>

* tramp-x86.c (mono_arch_get_llvm_imt_trampoline): Fix and enable this for
x86.

* mini-llvm-cpp.cpp (JITMemoryManager): Fix compilation with LLVM 2.7
SVN.

* aot-compiler.c: Ditto.

svn path=/trunk/mono/; revision=145780

14 years ago2009-11-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Nov 2009 22:44:25 +0000 (22:44 -0000)]
2009-11-09  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Define LLVM_MAJOR/MINOR_VERSION defines to allow working
around changes in LLVM APIs.

svn path=/trunk/mono/; revision=145779

14 years ago2009-11-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 9 Nov 2009 19:46:23 +0000 (19:46 -0000)]
2009-11-09  Marek Safar  <marek.safar@gmail.com>

* Makefile: Add dist only dlr subdirs.

svn path=/trunk/mcs/; revision=145762

14 years ago2009-11-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 9 Nov 2009 19:37:49 +0000 (19:37 -0000)]
2009-11-09  Marek Safar  <marek.safar@gmail.com>

* Makefile: Add dist only Makefile.

svn path=/trunk/mcs/; revision=145761

14 years agoIn b/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Ankit Jain [Mon, 9 Nov 2009 18:15:11 +0000 (18:15 -0000)]
In b/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-11-09  Ankit Jain  <jankit@novell.com>

* GetFrameworkPath.cs (FrameworkVersion11Path):
(FrameworkVersion20Path):
(FrameworkVersion30Path):
(FrameworkVersion35Path): New.

In b/class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-11-09  Ankit Jain  <jankit@novell.com>

* TargetDotNetFrameworkVersion.cs (Version30):
(Version35): New.
* ToolLocationHelper.cs: Support 3.0 and 3.5 also.

In b/tools/xbuild:
2009-11-09  Ankit Jain  <jankit@novell.com>

* xbuild/Microsoft.Common.targets: Set default TargetFrameworkVersion.
Replace TargetFrameworkPath with TargetFrameworkDirectories, and set
according to the TargetFrameworkVersion.

svn path=/trunk/mcs/; revision=145756

14 years agofix monotouch build
Geoff Norton [Mon, 9 Nov 2009 17:37:03 +0000 (17:37 -0000)]
fix monotouch build

svn path=/trunk/mcs/; revision=145752

14 years agoadd gcc-c++ dep
Andrew Jorgensen [Mon, 9 Nov 2009 17:28:50 +0000 (17:28 -0000)]
add gcc-c++ dep

svn path=/trunk/mono/; revision=145750

14 years ago * DataGrid.cs: The large value for our vertical scrollbar should
Carlos Alberto Cortez [Mon, 9 Nov 2009 15:07:23 +0000 (15:07 -0000)]
* DataGrid.cs: The large value for our vertical scrollbar should
depend on the number of visible rows, instead of trying to re-use the
value of VisibleRowCount, which is the value of *current* visible
rows, and can easily end messed up if new rows are added/removed.

2009-11-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=145743

14 years ago2009-11-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 9 Nov 2009 14:21:09 +0000 (14:21 -0000)]
2009-11-09  Marek Habersack  <mhabersack@novell.com>

* RouteCollection.cs: GetVirtualPath doesn't append trailing slash
to application path blindly anymore. Fixes bug #553022

svn path=/trunk/mcs/; revision=145740

14 years ago2009-11-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 9 Nov 2009 13:36:18 +0000 (13:36 -0000)]
2009-11-09  Marek Habersack  <mhabersack@novell.com>

* HttpCookieTest.cs: added test for bug #553063

2009-11-09  Marek Habersack  <mhabersack@novell.com>

* HttpCookie.cs: made HttpCookie.CookieNVC serializable. Patch
from Sean Foy <sean.foy+novell@gmail.com>, thanks! Fixes bug
#553063

svn path=/trunk/mcs/; revision=145735

14 years ago2009-11-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 9 Nov 2009 12:31:06 +0000 (12:31 -0000)]
2009-11-09  Marek Habersack  <mhabersack@novell.com>

* HttpCookieCollection.cs: Add allows for duplicate cookie
names. Fixes bug #553150

2009-11-09  Marek Habersack  <mhabersack@novell.com>

* HttpCookieCollectionTest.cs: added test for bug #553150

svn path=/trunk/mcs/; revision=145727

14 years ago2009-11-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 9 Nov 2009 11:46:39 +0000 (11:46 -0000)]
2009-11-09  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationManager.cs: there's no need to cache sections by
_file_ path - using section name and web.config path is more than
enough and it reduces the number of cache entries
considerably. Fixes bug #550730

svn path=/trunk/mcs/; revision=145721

14 years agobring XslCompiledTransform to MonoTouch
Jb Evain [Mon, 9 Nov 2009 10:33:07 +0000 (10:33 -0000)]
bring XslCompiledTransform to MonoTouch

svn path=/trunk/mcs/; revision=145711

14 years ago2009-11-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 9 Nov 2009 05:29:04 +0000 (05:29 -0000)]
2009-11-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DataGrid.cs: When moving the scroll, *dont* ever end the current
edit - this could seriously mess up our current edit cycle, specially
when adding new rows.

svn path=/trunk/mcs/; revision=145706

14 years ago2009-11-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Nov 2009 02:21:12 +0000 (02:21 -0000)]
2009-11-09  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Remove the MONO_ARCH_REGPARMS define.

svn path=/trunk/mono/; revision=145703

14 years ago2009-11-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Nov 2009 02:21:06 +0000 (02:21 -0000)]
2009-11-09  Zoltan Varga  <vargaz@gmail.com>

* icall.c (mono_ArgIterator_Setup): Remove the MONO_ARCH_REGPARMS stuff, its not
needed.

svn path=/trunk/mono/; revision=145702

14 years ago2009-11-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Nov 2009 02:15:14 +0000 (02:15 -0000)]
2009-11-09  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (PLATFORM_DISABLED_TESTS): Disable filter-stack.exe on ARM.

svn path=/trunk/mono/; revision=145701

14 years ago2009-11-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Nov 2009 02:01:57 +0000 (02:01 -0000)]
2009-11-09  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (mono_arch_allocate_vars): Fix the previous change by passing
&align to mini_type_stack_size_full ().

svn path=/trunk/mono/; revision=145699

14 years ago2009-11-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Nov 2009 01:44:46 +0000 (01:44 -0000)]
2009-11-09  Zoltan Varga  <vargaz@gmail.com>

* configure.in (MONO_ARCH_REGPARMS): Set MONO_ARCH_REGPARS on ARM.

svn path=/trunk/mono/; revision=145698

14 years ago2009-11-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Nov 2009 01:44:40 +0000 (01:44 -0000)]
2009-11-09  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (mono_arch_emit_prolog): Implement support for varargs.

* mini-ops.h: Add documentation for the OP_ARGLIST opcode.

svn path=/trunk/mono/; revision=145697

14 years agoUse Unix style parameters
Miguel de Icaza [Mon, 9 Nov 2009 01:41:08 +0000 (01:41 -0000)]
Use Unix style parameters

svn path=/trunk/mcs/; revision=145696

14 years agoAdd MEF for .NET 4
Miguel de Icaza [Mon, 9 Nov 2009 01:39:41 +0000 (01:39 -0000)]
Add MEF for .NET 4

svn path=/trunk/mcs/; revision=145695

14 years agoFixBuild
Miguel de Icaza [Mon, 9 Nov 2009 01:30:31 +0000 (01:30 -0000)]
FixBuild

svn path=/trunk/mcs/; revision=145693

14 years agoUpdate
Miguel de Icaza [Mon, 9 Nov 2009 01:16:08 +0000 (01:16 -0000)]
Update

svn path=/trunk/mcs/; revision=145692

14 years ago2009-11-08 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 8 Nov 2009 23:05:00 +0000 (23:05 -0000)]
2009-11-08  Miguel de Icaza  <miguel@novell.com>

* Use the ConditionalWeakTable.cs implementation from MEF, it
needs a little bit of work (see the comment on the file, and the
test suite that shows the problem).

This code is MS-PL

2009-10-15  Sebastien Pouliot  <sebastien@ximian.com>

svn path=/trunk/mcs/; revision=145687

14 years ago2009-11-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 8 Nov 2009 22:36:45 +0000 (22:36 -0000)]
2009-11-08  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c: Compute the stack space used by arguments using
mini_type_stack_size_full ().

svn path=/trunk/mono/; revision=145685

14 years ago2009-11-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 8 Nov 2009 22:36:39 +0000 (22:36 -0000)]
2009-11-08  Zoltan Varga  <vargaz@gmail.com>

* optflags-def.h: Remove dead TREEPROP optimization.

svn path=/trunk/mono/; revision=145684

14 years agoMove some classes to new locations
Miguel de Icaza [Sun, 8 Nov 2009 19:34:49 +0000 (19:34 -0000)]
Move some classes to new locations

svn path=/trunk/mcs/; revision=145679

14 years ago2009-11-08 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Sun, 8 Nov 2009 19:31:32 +0000 (19:31 -0000)]
2009-11-08  Juraj Skripsky  <js@hotfeet.ch>

* Array.cs (Sort):
- Sort(..) without IComparer param call Sort(.., (IComparer)null) siblings
- Sort(keys, items,..) with items == null call Sort(keys,..) siblings
Add missing argument checks. Add SortImpl method to be used by
List<T>.Sort(Comparison <T>).

Part 3 of 3 fixing bug #351638.

2009-11-08  Juraj Skripsky <js@hotfeet.ch>

* List.cs (Sort): Sync to latest changes in Array.Sort.

svn path=/trunk/mcs/; revision=145678

14 years ago2009-11-08 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Sun, 8 Nov 2009 19:29:48 +0000 (19:29 -0000)]
2009-11-08  Juraj Skripsky  <js@hotfeet.ch>

* Array.cs (Sort): Add and call
- SortImpl methods which do the real work without argument checking
- MoveNullKeysToFront methods which do a null <-> non-null sorting and
ensure that all non-null object implement IComparable/IComparable<T>

Part 2 of 3 fixing bug #351638.

svn path=/trunk/mcs/; revision=145677

14 years ago2009-11-08 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Sun, 8 Nov 2009 19:28:45 +0000 (19:28 -0000)]
2009-11-08  Juraj Skripsky  <js@hotfeet.ch>

* Array.cs (Sort): optimize qsort by employing multiple, faster copies
of the inner-most loops:
- for case "comparer != null"
- for case "pivot is IComparable<T>"
- for case "pivot is IComparable"
Remove compare methods as the inner loops now do their work.
Use GetValueImpl instead of GetValue in swap.

Part 1 of 3 fixing bug #351638.

svn path=/trunk/mcs/; revision=145676

14 years agoImplement the class methods, currently disabled until 553650 is fixed in mcs
Miguel de Icaza [Sun, 8 Nov 2009 19:16:42 +0000 (19:16 -0000)]
Implement the class methods, currently disabled until 553650 is fixed in mcs

svn path=/trunk/mcs/; revision=145675

14 years agoMore 4.0 work
Miguel de Icaza [Sun, 8 Nov 2009 18:32:52 +0000 (18:32 -0000)]
More 4.0 work

svn path=/trunk/mcs/; revision=145674

14 years ago2009-11-08 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Sun, 8 Nov 2009 18:32:20 +0000 (18:32 -0000)]
2009-11-08  Juraj Skripsky  <js@hotfeet.ch>

* corlib_test.dll.sources: Add System/ArraySortArgChecks.cs

2009-11-08  Juraj Skripsky  <js@hotfeet.ch>

* ArraySortArgChecks.cs: Added tests checking all possible exceptions
the Array.Sort method can throw.

svn path=/trunk/mcs/; revision=145673

14 years agosvn path=/trunk/mcs/; revision=145672
Miguel de Icaza [Sun, 8 Nov 2009 18:23:53 +0000 (18:23 -0000)]
svn path=/trunk/mcs/; revision=145672

14 years agosvn path=/trunk/mcs/; revision=145671
Miguel de Icaza [Sun, 8 Nov 2009 18:16:21 +0000 (18:16 -0000)]
svn path=/trunk/mcs/; revision=145671

14 years ago2009-11-08 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 8 Nov 2009 18:04:58 +0000 (18:04 -0000)]
2009-11-08  Miguel de Icaza  <miguel@novell.com>

* Marshal.cs: Expose copy_*_unamnaged to SafeBuffer.

* SafeBuffer.cs: Update SafeBufer implementation

svn path=/trunk/mcs/; revision=145670

14 years ago2009-11-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sun, 8 Nov 2009 15:48:42 +0000 (15:48 -0000)]
2009-11-08  Rodrigo Kumpera  <rkumpera@novell.com>

* configure.in: Add check for FreeBSD/ppc64.

Patch by Justin Hibbits <chmeeedalf@gmail.com>.

svn path=/trunk/mono/; revision=145669

14 years ago2009-11-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sun, 8 Nov 2009 15:48:33 +0000 (15:48 -0000)]
2009-11-08  Rodrigo Kumpera  <rkumpera@novell.com>

* mini-ppc.h: Make mono compiler under FreeBSD/ppc64.

Patch by Justin Hibbits <chmeeedalf@gmail.com>.

2009-11-08  Rodrigo Kumpera  <rkumpera@novell.com>

* mono-sigcontext.h: Add ucontext support for FreeBSD/ppc64.

Patch by Justin Hibbits <chmeeedalf@gmail.com>.

svn path=/trunk/mono/; revision=145668

14 years ago2009-11-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 7 Nov 2009 23:03:14 +0000 (23:03 -0000)]
2009-11-07  Rodrigo Kumpera  <rkumpera@novell.com>

* appdomain.c: Fix shadow path code to better deal with exceptions.

svn path=/trunk/mono/; revision=145658

14 years ago2009-11-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 7 Nov 2009 23:03:06 +0000 (23:03 -0000)]
2009-11-07  Rodrigo Kumpera  <rkumpera@novell.com>

* appdomain.c: Use checked version of mono_string_to_utf8 to avoid raising an
exception in the middle of the runtime code.

svn path=/trunk/mono/; revision=145657

14 years ago2009-11-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 7 Nov 2009 23:02:57 +0000 (23:02 -0000)]
2009-11-07  Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c (ves_icall_System_Environment_InternalSetEnvironmentVariable): Don't
leak memory with broken envvar value.

svn path=/trunk/mono/; revision=145656

14 years ago2009-11-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Nov 2009 22:09:44 +0000 (22:09 -0000)]
2009-11-07  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mono_jit_parse_options): New public API function to parse options
as done by the runtime executable.

svn path=/trunk/mono/; revision=145653

14 years ago2009-11-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Nov 2009 21:41:19 +0000 (21:41 -0000)]
2009-11-07  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (buffer_add_cattrs): Fix reading an uninitialized variable
when handling named arguments.

svn path=/trunk/mono/; revision=145651

14 years agoFix build
Miguel de Icaza [Sat, 7 Nov 2009 18:32:57 +0000 (18:32 -0000)]
Fix build

svn path=/trunk/mcs/; revision=145650

14 years agoNew test.
Marek Safar [Sat, 7 Nov 2009 10:07:00 +0000 (10:07 -0000)]
New test.

svn path=/trunk/mcs/; revision=145645

14 years ago2009-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 7 Nov 2009 10:06:40 +0000 (10:06 -0000)]
2009-11-07  Marek Safar  <marek.safar@gmail.com>

A fix for bug #553465

* expression.cs: Fixed mixed version of expression tree anonymous
type.

svn path=/trunk/mcs/; revision=145644

14 years agoReenable System.Data.Services.
Zoltan Varga [Sat, 7 Nov 2009 08:53:42 +0000 (08:53 -0000)]
Reenable System.Data.Services.

svn path=/trunk/mcs/; revision=145643

14 years agoAdd missing files.
Zoltan Varga [Sat, 7 Nov 2009 08:50:56 +0000 (08:50 -0000)]
Add missing files.

svn path=/trunk/mcs/; revision=145641

14 years ago2009-11-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Nov 2009 07:09:10 +0000 (07:09 -0000)]
2009-11-07  Miguel de Icaza  <miguel@novell.com>

* UnmanagedMemoryStream.cs: Move the CLS attribute to the methods
that are unsafe.

* Path.cs (Combine):e Fix implementation to follow docs (we need
to reset the path if any of the combined paths is rooted), and add a
couple of overloads;

* FileStream.cs (Flush/flushToDisk): Implement.

* Stream.cs (CopyTo): Implement.

svn path=/trunk/mcs/; revision=145640

14 years agoNo makefile was added for System.Data.Services; Comment out for now
Miguel de Icaza [Sat, 7 Nov 2009 07:04:41 +0000 (07:04 -0000)]
No makefile was added for System.Data.Services; Comment out for now

svn path=/trunk/mcs/; revision=145639

14 years agoAdd minutes
Miguel de Icaza [Sat, 7 Nov 2009 06:36:33 +0000 (06:36 -0000)]
Add  minutes

svn path=/trunk/mcs/; revision=145638

14 years ago2009-11-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Nov 2009 05:48:37 +0000 (05:48 -0000)]
2009-11-07  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c: Implement support for returning vtypes in registers, fix support
for passing small vtypes in registers, make the CallInfo structures more
similar to the code on the other platforms.

svn path=/trunk/mono/; revision=145637

14 years ago2009-11-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Nov 2009 03:55:52 +0000 (03:55 -0000)]
2009-11-07  Zoltan Varga  <vargaz@gmail.com>

* gen-runtime-invoke.cs: Add a test.

* invoke.cs: Convert to using the TestRunner. Remove a test which is
auto-generated now.

svn path=/trunk/mono/; revision=145636

14 years ago2009-11-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Nov 2009 03:55:46 +0000 (03:55 -0000)]
2009-11-07  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (mono_arch_allocate_vars): Align small vtypes to 4 bytes too since
the code in the prolog requires it.

svn path=/trunk/mono/; revision=145635

14 years ago2009-11-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Nov 2009 02:45:08 +0000 (02:45 -0000)]
2009-11-07  Zoltan Varga  <vargaz@gmail.com>

* Makefile (net_2_0_dirs): Add System.Data.Services.

svn path=/trunk/mcs/; revision=145631

14 years ago2009-11-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Nov 2009 02:45:01 +0000 (02:45 -0000)]
2009-11-07  Zoltan Varga  <vargaz@gmail.com>

*: Move .cs files to the System.Data.Services subdir to match their namespace,
move tests to 'Test' from 'Tests', add Makefile.

svn path=/trunk/mcs/; revision=145630

14 years agoAdded System.Data.Services sources
Eric Maupin [Sat, 7 Nov 2009 01:45:55 +0000 (01:45 -0000)]
Added System.Data.Services sources

svn path=/trunk/mcs/; revision=145628

14 years ago2009-11-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Nov 2009 23:10:07 +0000 (23:10 -0000)]
2009-11-07  Zoltan Varga  <vargaz@gmail.com>

* System.Data.Linq.dll.sources: Use MySqlDataContext.cs instead of
MysqlDataContext.cs.

svn path=/trunk/mcs/; revision=145623

14 years ago2009-11-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Nov 2009 22:43:35 +0000 (22:43 -0000)]
2009-11-06  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (resume_from_signal_handler): New helper function extracted
from the single step/breakpoint handlers. Add a FIXME.

svn path=/trunk/mono/; revision=145622

14 years agoJumbo patch for NET_2_0, mscorlib is now clean
Miguel de Icaza [Fri, 6 Nov 2009 22:23:59 +0000 (22:23 -0000)]
Jumbo patch for NET_2_0, mscorlib is now clean

svn path=/trunk/mcs/; revision=145621

14 years ago * Makefile: re-enable the tests. They were disabled in r137153
Jonathan Pryor [Fri, 6 Nov 2009 21:40:05 +0000 (21:40 -0000)]
* Makefile: re-enable the tests.  They were disabled in r137153
  because they weren't compiling, which was because System.Data.Linq
  wasn't listing sqlmetal_net_2_0 as a friend assembly.  (Why this
  built before I couldn't tell you...)  Fixed in latest S.D.L.

svn path=/trunk/mcs/; revision=145614

14 years ago * src/**/*: Sync with DbLinq r1265. This fixes sqlmetal (it shouldn't
Jonathan Pryor [Fri, 6 Nov 2009 21:38:28 +0000 (21:38 -0000)]
* src/**/*: Sync with DbLinq r1265.  This fixes sqlmetal (it shouldn't
  generate constructors referring to IVendor), enhances query support
  so that extension methods can be used within 'select' blocks,
  various FirebirdSQL fixes, etc.

svn path=/trunk/mcs/; revision=145613

14 years agoMore removal of old defines
Miguel de Icaza [Fri, 6 Nov 2009 21:29:51 +0000 (21:29 -0000)]
More removal of old defines

svn path=/trunk/mcs/; revision=145612

14 years agoMore removal of old defines
Miguel de Icaza [Fri, 6 Nov 2009 21:25:38 +0000 (21:25 -0000)]
More removal of old defines

svn path=/trunk/mcs/; revision=145609

14 years ago2009-11-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Nov 2009 21:05:43 +0000 (21:05 -0000)]
2009-11-06  Zoltan Varga  <vargaz@gmail.com>

* dtest.cs (Threads): Fix a race.

svn path=/trunk/mono/; revision=145608

14 years ago * Mono.Documentation/monodocer.cs: When deleting the ExtensionMethods
Jonathan Pryor [Fri, 6 Nov 2009 17:02:38 +0000 (17:02 -0000)]
* Mono.Documentation/monodocer.cs: When deleting the ExtensionMethods
  element, remove it from the correct parent XML node.  Fixes #553144.

svn path=/trunk/mcs/; revision=145603

14 years ago2009-11-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 6 Nov 2009 15:03:47 +0000 (15:03 -0000)]
2009-11-06 Gonzalo Paniagua Javier <gonzalo@novell.com>

* mono-error.c: VS does not like this.

svn path=/trunk/mono/; revision=145592

14 years ago2009-11-06 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 6 Nov 2009 14:46:44 +0000 (14:46 -0000)]
2009-11-06  Mark Probst  <mark.probst@gmail.com>

        * reflection.c (mono_reflection_setup_internal_class): Because
        nested classes are not added to the name cache, we must put them
        in the reflection_info_unregister_classes list.

svn path=/trunk/mono/; revision=145589

14 years agoMore tests.
Marek Safar [Fri, 6 Nov 2009 13:21:19 +0000 (13:21 -0000)]
More tests.

svn path=/trunk/mcs/; revision=145584

14 years ago2009-11-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 6 Nov 2009 13:15:19 +0000 (13:15 -0000)]
2009-11-06  Marek Safar  <marek.safar@gmail.com>

A fix for bug #553031

* linq.cs, expression.cs, class.cs, cs-parser.jay: Initialize
expression tree version of anonymous type with members declaration.

svn path=/trunk/mcs/; revision=145582

14 years ago2009-11-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Nov 2009 09:15:01 +0000 (09:15 -0000)]
2009-11-06  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c debugger-agent.c: Android changes from Koushik K. Dutta
(koush@koushikdutta.com).

svn path=/trunk/mono/; revision=145574

14 years ago2009-11-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Nov 2009 08:15:02 +0000 (08:15 -0000)]
2009-11-06  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (handle_thunk): Add a domain argument to control the domain
where the thunk memory should be allocated from. Fixes appdomain unloading
on arm.

svn path=/trunk/mono/; revision=145569

14 years ago2009-11-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Nov 2009 05:55:59 +0000 (05:55 -0000)]
2009-11-06  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c exceptions-arm.c: Make ctx->regs map directly to the 16 hardware
registers, instead of r4..r11,ip,lr. Make restore_context () restore r0..r3 too.

svn path=/trunk/mono/; revision=145562

14 years ago2009-11-05 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 6 Nov 2009 04:20:04 +0000 (04:20 -0000)]
2009-11-05  Geoff Norton  <gnorton@novell.com>

* HttpsTransportBindingElement.cs: Implement basic https transport
binding support for Moonlight and MonoTouch

svn path=/trunk/mcs/; revision=145560