mono.git
15 years agoConvert.cs: Removed useless check from ToChar (ushort).
Kornél Pál [Sat, 15 Nov 2008 18:53:24 +0000 (18:53 -0000)]
Convert.cs: Removed useless check from ToChar (ushort).

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

15 years ago2008-11-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 15 Nov 2008 18:12:19 +0000 (18:12 -0000)]
2008-11-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ConfigurationManager.cs: the config file name is arbitrary.
(Standalone test t46)

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

15 years agotypo
Gonzalo Paniagua Javier [Sat, 15 Nov 2008 18:03:36 +0000 (18:03 -0000)]
typo

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

15 years agoRemove a debug printf.
Zoltan Varga [Sat, 15 Nov 2008 17:19:49 +0000 (17:19 -0000)]
Remove a debug printf.

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

15 years ago2008-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 15 Nov 2008 17:19:08 +0000 (17:19 -0000)]
2008-11-15  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Emit dwarf unwind information so gdb can unwind through
AOT method frames. Enable writing symbols for methods by default.

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

15 years agoBuild fix.
Paolo Molaro [Sat, 15 Nov 2008 14:03:15 +0000 (14:03 -0000)]
Build fix.

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

15 years ago* SettingPropertyValue.cs: Do not return null for zero-length String
Gert Driesen [Sat, 15 Nov 2008 13:41:35 +0000 (13:41 -0000)]
* SettingPropertyValue.cs: Do not return null for zero-length String
value.

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

15 years ago2008-11-15 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Sat, 15 Nov 2008 10:59:47 +0000 (10:59 -0000)]
2008-11-15  Andreas Faerber  <andreas.faerber@web.de>

* ppc/test.c: Add support for Mac OS X.

This commit is licensed under the MIT X11 license.

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

15 years ago2008-11-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 15 Nov 2008 04:00:05 +0000 (04:00 -0000)]
2008-11-15  Marek Habersack  <mhabersack@novell.com>

* System.Web.Extensions.dll.sources: added
System.Web.UI.WebControls/DataPagerCommandEventArgs.cs

2008-11-15  Marek Habersack  <mhabersack@novell.com>

* ListViewInsertEventArgs.cs: implemented the Values property.

* ListView.cs: CreateChildControls uses the Items collection to
store the created items.
InsertNewItem triggers page validation if necessary.
Part of InsertNewItem code refactored to DoInsert.
Implemented handling of the Insert and Select commands.

* TemplatePagerField.cs: implemented all the code.

* DataPager.cs: CreatePagerFields now adds the new pager field
control before creating data pagers in it and before binding to
data. This avoids situation in which the field is parentless.
FindPageableItemContainer now properly finds the container if it's
placed directly in the Page.
{Load,Save}ViewState don't use a Pair anymore, object array is
used for compatibility with MS.NET

* NumericPagerField.cs, NextPreviousPagerField.cs,
DataPagerFieldCommandEventArgs.cs: minor refactoring

* ListViewSelectEventArgs.cs: implemented all the code.

* ListViewInsertedEventArgs.cs: Values allocates the dictionary on
demand now.
Initialize all the properties in constructor

* DataPagerCommandEventArgs.cs: added

* DataPagerField.cs: implemented IsTrackingViewState

* DataPagerFieldItem.cs: implements the INonBindingContainer
interface.

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

15 years ago2008-11-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 15 Nov 2008 03:40:24 +0000 (03:40 -0000)]
2008-11-15  Marek Habersack  <mhabersack@novell.com>

* ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
ChangePassword.cs, DetailsViewPagerRow.cs: implements
INonBindingContainer interface.

* Wizard.cs: implement INonBindingContainer interface for several
private/internal classes.

2008-11-15  Marek Habersack  <mhabersack@novell.com>

* INonBindingContainer.cs: added

* Control.cs: BindingContainer now checks if a control implements
INonBindingContainer interface in addition to the
BINDING_CONTAINER mask check.

* UserControl.cs: implements INonBindingContainer

* ControlBuilder.cs: use the new INonBindingContainer interface to
determine the binding container type in the BindingContainerType
property. If TemplateBuilder's ContainerType implements that
interface, the NamingContainer is queried for the binding
container type. If ContainerType is null, we return our own
ControlType (if we're TemplateBuilder)

2008-11-15  Marek Habersack  <mhabersack@novell.com>

* System.Web.dll.sources: added System.Web.UI/INonBindingContainer.cs

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

15 years ago * Makefile: Use Mono.Cecil from class/lib/net_1_1, not net_2_0.
Jonathan Pryor [Sat, 15 Nov 2008 00:00:02 +0000 (00:00 -0000)]
* Makefile: Use Mono.Cecil from class/lib/net_1_1, not net_2_0.

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

15 years agouse a the proper profile where cecil is built
Jb Evain [Fri, 14 Nov 2008 23:41:59 +0000 (23:41 -0000)]
use a the proper profile where cecil is built

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

15 years ago2008-11-14 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 14 Nov 2008 23:17:18 +0000 (23:17 -0000)]
2008-11-14 Rodrigo Kumpera <rkumpera@novell.com>

* simd-intrinsics.c (simd_intrinsic_emit_getter): Generalize this code
and make it work with vectors of element sizes 1, 2 and 4.

* simd-intrinsics.c: Enable getter for all vectors with element size
1, 2 or 4.

* simd-methods.h: Add the names of other getters.

* mini-ops.h: Added OP_EXTRACT_I2/U2/I1/U1.

* cpu-x86.md: Same.

* mini-x86.c: Same.

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

15 years ago * Makefile: Don't build monodocer1.exe, and add Mono.Cecil.dll to the
Jonathan Pryor [Fri, 14 Nov 2008 21:24:54 +0000 (21:24 -0000)]
* Makefile: Don't build monodocer1.exe, and add Mono.Cecil.dll to the
  list of assembly references for mdoc.exe.
* Mono.Documentation/monodocer.cs: Migrate from System.Reflection to
  Mono.Cecil.  This was done for two reasons:
  1. mscorlib.dll: Reflection can load only one mscorlib.dll into an
     AppDomain, which must be the same mscorlib.dll as the runtime
     version.  Thus, in order to run monodocer on mscorlib.dll v1.1,
     monodocer must be a .NET 1.1 application, and to document
     mscorlib.dll v2.0, monodocer must be a .net 2.0 app.
  1.a I don't think it's feasable to drop support for
     mscorlib.dll v1.1.
  1.b This has been previously handled (so far) with conditional
     compilation, but the conditional compilation is painful to
     maintain, and prevents use of LINQ in ongoing development.
  1.c .NET 4.0 will be coming out "soon" (within 2 years?), and it's
     possible that mono will maintain the same limitation, thus
     necessitating having *three* different monodocer programs to
     document mscorlib.dll for v1.1, v2.0, and v4.0.  Yech.
  2. Future directions: It would be nice to parse method/property IL
     bodies to determine which exceptions can be generated, thus
     generating <exception cref="..."/> stubs.  Even with empty stubs,
     I belive this would be useful within e.g. MonoDevelop to know
     which exceptions a method is able to generate.
     This cannot be done (at present) with System.Reflection, and
     would require Mono.Cecil.
  Downsides: mdoc now depends upon Mono.Cecil, which is API-unstable.
  This will likely also complicate execution under .NET, as Mono.Cecil
  would need to be XCOPY deployed into mdoc.exe's directory.
* Test/DocTest-v1.cs: Add additional tests for Custom Attribute
  generation.
* Test/en.expected.importslashdoc/Mono.DocTest.Generic/Func`2.xml,
  Test/en.expected.importslashdoc/Mono.DocTest.Generic/MyList`2.xml,
  Test/en.expected.importslashdoc/Mono.DocTest/DocAttribute.xml,
  Test/en.expected.importslashdoc/Mono.DocTest/Widget+Direction.xml,
  Test/en.expected.importslashdoc/Mono.DocTest/Widget.xml,
  Test/en.expected.since/Mono.DocTest.Generic/Func`2.xml,
  Test/en.expected.since/Mono.DocTest.Generic/MyList`2.xml,
  Test/en.expected.since/Mono.DocTest/DocAttribute.xml,
  Test/en.expected.since/Mono.DocTest/Widget+Direction.xml,
  Test/en.expected.since/Mono.DocTest/Widget.xml,
  Test/en.expected/Mono.DocTest.Generic/Func`2.xml,
  Test/en.expected/Mono.DocTest.Generic/MyList`2.xml,
  Test/en.expected/Mono.DocTest/DocAttribute.xml,
  Test/en.expected/Mono.DocTest/Widget+Direction.xml,
  Test/en.expected/Mono.DocTest/Widget.xml,
  Test/html.expected/Mono.DocTest.Generic/Func`2.html,
  Test/html.expected/Mono.DocTest.Generic/MyList`2.html,
  Test/html.expected/Mono.DocTest/DocAttribute.html,
  Test/html.expected/Mono.DocTest/Widget+Direction.html,
  Test/html.expected/Mono.DocTest/Widget.html,
  Test/msxdoc-expected.importslashdoc.xml: Flush -- updated output due
  to new custom attributes, better implemented interface detection --
  care of the Mono.Cecil migration -- etc.

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

15 years agoTurn off AOT on the 2.0 profile as it causes hangs in System tests.
Zoltan Varga [Fri, 14 Nov 2008 21:12:50 +0000 (21:12 -0000)]
Turn off AOT on the 2.0 profile as it causes hangs in System tests.

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

15 years ago2008-11-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 14 Nov 2008 19:07:19 +0000 (19:07 -0000)]
2008-11-14  Zoltan Varga  <vargaz@gmail.com>

* domain-internals.h (MonoDomain): Update MONO_DOMAIN_LAST_GC_TRACKED.

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

15 years ago2008-11-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 14 Nov 2008 18:54:47 +0000 (18:54 -0000)]
2008-11-14  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_type_get_object): Special case the very common
void type.

* domain-internals.h (struct _MonoDomain): Add 'typeof_void' field to
hold typeof(void).

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

15 years ago2008-11-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 14 Nov 2008 18:51:42 +0000 (18:51 -0000)]
2008-11-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* cache.cs:
* Regex.cs: honor CacheSize value.

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

15 years ago2008-11-14 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 14 Nov 2008 17:05:50 +0000 (17:05 -0000)]
2008-11-14  Jb Evain  <jbevain@novell.com>

* driver.cs: ignore empty -nowarn argument such as
the one in -nowarn:12,13,,.

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

15 years ago2008-11-14 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Fri, 14 Nov 2008 16:27:37 +0000 (16:27 -0000)]
2008-11-14  Andreas Faerber  <andreas.faerber@web.de>

* Makefile.am (ENABLE_DTRACE): Re-add dtrace -h flag.
Fixes #445074.

This commit is licensed under the MIT X11 license.

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

15 years agoReenable AOT, it wasn't enabled on the x86 buildbot anyway.
Zoltan Varga [Fri, 14 Nov 2008 15:07:43 +0000 (15:07 -0000)]
Reenable AOT, it wasn't enabled on the x86 buildbot anyway.

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

15 years agoFri Nov 14 15:54:18 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 14 Nov 2008 14:57:07 +0000 (14:57 -0000)]
Fri Nov 14 15:54:18 CET 2008 Paolo Molaro <lupus@ximian.com>

* mini-ppc.h: portability fix.

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

15 years agoFri Nov 14 15:39:50 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 14 Nov 2008 14:42:42 +0000 (14:42 -0000)]
Fri Nov 14 15:39:50 CET 2008 Paolo Molaro <lupus@ximian.com>

* mini-ppc.h, mini-ppc.c: avoid using the red zone as some kernels are
buggy and will overwrite it.

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

15 years ago2008-11-14 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 14 Nov 2008 13:51:26 +0000 (13:51 -0000)]
2008-11-14  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ParameterAttributes.cs: add Retval and Lcid.
* Mono.Cecil/ParameterDefinition.cs: add Is* property accordingly.

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

15 years agoDisable AOT to see if that fixes the failures on the buildbot.
Zoltan Varga [Fri, 14 Nov 2008 13:18:27 +0000 (13:18 -0000)]
Disable AOT to see if that fixes the failures on the buildbot.

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

15 years ago2008-11-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 14 Nov 2008 12:04:45 +0000 (12:04 -0000)]
2008-11-14  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Add functionality to emit local symbols to the elf writer.
Use it to emit local symbols for all methods so AOTed methods show up with
their full name in gdb/valgrind output.

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

15 years agoFri Nov 14 12:56:27 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 14 Nov 2008 11:59:03 +0000 (11:59 -0000)]
Fri Nov 14 12:56:27 CET 2008 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: portability fixes.

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

15 years ago2008-11-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 14 Nov 2008 11:54:17 +0000 (11:54 -0000)]
2008-11-14  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_magic_trampoline): Move the patching of plt
entries out of the if (!generic_shared...) code so it is always done.
(mono_class_init_trampoline): Do the patching when running under valgrind
too, newer versions of valgrind have no problems with it.

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

15 years ago2008-11-14 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 14 Nov 2008 11:47:36 +0000 (11:47 -0000)]
2008-11-14  Jb Evain  <jbevain@novell.com>

* DictionaryTest.cs: add tests for #444778.

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

15 years ago2008-11-14 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 14 Nov 2008 11:47:11 +0000 (11:47 -0000)]
2008-11-14  Jb Evain  <jbevain@novell.com>

* Dictionary.cs (ICollection.CopyTo): fix the different possible
copying cases depending on the actual type of destination array,
be it an array of KeyValuePair, DictionaryEntry, or object.
Fixes #444778.

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

15 years ago2008-11-14 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 14 Nov 2008 10:36:55 +0000 (10:36 -0000)]
2008-11-14  Jb Evain  <jbevain@novell.com>

* DictionaryTest.cs: add tests for bug #444768.

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

15 years ago2008-11-14 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 14 Nov 2008 10:36:28 +0000 (10:36 -0000)]
2008-11-14  Jb Evain  <jbevain@novell.com>

* Dictionary.cs: fix ICollection<KeyValuePair<T>>.Remove and .Contains
to not only check if the key exists but if the associated value is the
good one as well. Fixes #444768.

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

15 years ago2008-11-14 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Fri, 14 Nov 2008 09:37:41 +0000 (09:37 -0000)]
2008-11-14  Andreas Faerber  <andreas.faerber@web.de>

* configure.in: Add preprocessor defines for ppc(64).
Suggested by Paolo and Mark.

This commit is licensed under the MIT X11 license.

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

15 years ago2008-11-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 14 Nov 2008 06:30:46 +0000 (06:30 -0000)]
2008-11-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DefaultWsdlHelpGenerator.aspx: use javascript instead of
HttpWebRequest to avoid a deadlock if the web service uses Session.
Bug #444343 fixed.

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

15 years ago2008-11-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 14 Nov 2008 02:08:45 +0000 (02:08 -0000)]
2008-11-14  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: If BindingDirection of the parent
        template builder is OneWay in
RegisterBindingInfo, do not throw an exception but simply do not
register the binding.

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

15 years ago2008-11-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 14 Nov 2008 00:41:03 +0000 (00:41 -0000)]
2008-11-14  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: treat Eval and Bind expressions as
verbatim code. The only difference between the two is that in the
latter case Bind is replaced with Eval in the output code. Fixes
bug #444725

2008-11-14  Marek Habersack  <mhabersack@novell.com>

* DataBinder.cs: if Eval doesn't find the indicated property, try
to find an indexer property on the object and use the expression
value as its parameter. Fixes #444725

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

15 years ago2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 13 Nov 2008 22:56:58 +0000 (22:56 -0000)]
2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpWebRequestTest.cs: the upload test now passes with the MS
runtime. Added another test for download.

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

15 years ago2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 13 Nov 2008 22:55:54 +0000 (22:55 -0000)]
2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpDataStream.cs: use the socket for reading until the end of a
stream that wasn't read entirely. Remove unused ManualResetEvent.
* FtpWebRequest.cs: set the file_name when downloading. Update the
response status after every SendCommand. Send a "OPTS utf8 on" as MS
does (the control cnc reader should do something with UTF8)

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

15 years ago2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 13 Nov 2008 22:51:28 +0000 (22:51 -0000)]
2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>

* simd-intrinsics.c: Add getter support for Vector4i and Vector4ui.

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

15 years ago2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 13 Nov 2008 22:51:27 +0000 (22:51 -0000)]
2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>

* x86/x86-codegen.h: Remove not used macro x86_pshufd_reg_reg.

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

15 years ago2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 13 Nov 2008 22:51:20 +0000 (22:51 -0000)]
2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>

* mini-ops.h: Kill diplicated ops OP_SHUFLEPS.

* cpu-x86.md: Same.

* mini-x86.c: Same.

* simd-intrinsics.c: Same.

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

15 years ago2008-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 13 Nov 2008 22:04:34 +0000 (22:04 -0000)]
2008-11-13  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_writeout): Rework this to make it easier to add
further sections.

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

15 years ago* RegexBugs.cs: added test for bug #443841.
Gert Driesen [Thu, 13 Nov 2008 20:20:00 +0000 (20:20 -0000)]
* RegexBugs.cs: added test for bug #443841.

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

15 years agofix the build
Gonzalo Paniagua Javier [Thu, 13 Nov 2008 17:24:00 +0000 (17:24 -0000)]
fix the build

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

15 years ago2008-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 13 Nov 2008 17:13:43 +0000 (17:13 -0000)]
2008-11-13  Zoltan Varga  <vargaz@gmail.com>

* RxInterpreter.cs: Fix pc computation in various opcodes. Fixes #443841.

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

15 years ago2008-11-13 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 13 Nov 2008 17:11:16 +0000 (17:11 -0000)]
2008-11-13  Mark Probst  <mark.probst@gmail.com>

* mini-ppc.c, cpu-ppc.md: Reserve space for the parameter area in
filters.

2008-11-13  Mark Probst  <mark.probst@gmail.com>

* filter-stack.cs: Test whether method calls with large arguments
work in filter clauses.

* Makefile.am: Test added.

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

15 years agoReset the connection on timeout exception before reusing it
Veerapuram Varadhan [Thu, 13 Nov 2008 17:01:23 +0000 (17:01 -0000)]
Reset the connection on timeout exception before reusing it

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

15 years ago2008-11-13 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 13 Nov 2008 16:03:48 +0000 (16:03 -0000)]
2008-11-13  Bill Holmes  <billholmes54@gmail.com>

* process.h : Adding method declaration for
  ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* process.c : Adding implementation for
  ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* icall-def.h : Registering ICALL Processs.WaitForInputIdle_internal
  to ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* wait.h : Adding method declaration for WaitForInputIdle.

* wait.c : Adding implementation for WaitForInputIdle.

* Process.cs : Adding an implementation for WaitForInputIdle
  to call the an internal call.  The internal call is only
  implemented properly on Windows.

Code is contributed under MIT/X11 license.

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

15 years ago2008-11-13 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 13 Nov 2008 16:03:48 +0000 (16:03 -0000)]
2008-11-13  Bill Holmes  <billholmes54@gmail.com>

* process.h : Adding method declaration for
  ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* process.c : Adding implementation for
  ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* icall-def.h : Registering ICALL Processs.WaitForInputIdle_internal
  to ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* wait.h : Adding method declaration for WaitForInputIdle.

* wait.c : Adding implementation for WaitForInputIdle.

* Process.cs : Adding an implementation for WaitForInputIdle
  to call the an internal call.  The internal call is only
  implemented properly on Windows.

Code is contributed under MIT/X11 license.

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

15 years ago2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 13 Nov 2008 15:52:29 +0000 (15:52 -0000)]
2008-11-13  Rodrigo Kumpera  <rkumpera@novell.com>

* simd-intrinsics.c: Enable constructor intrinsics for all types.

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

15 years agoTypo
Miguel de Icaza [Thu, 13 Nov 2008 15:41:22 +0000 (15:41 -0000)]
Typo

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

15 years ago2008-11-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 13 Nov 2008 15:24:26 +0000 (15:24 -0000)]
2008-11-13  Marek Safar  <marek.safar@gmail.com>

A test for bug #444271

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

15 years ago2008-11-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 13 Nov 2008 15:23:58 +0000 (15:23 -0000)]
2008-11-13  Marek Safar  <marek.safar@gmail.com>

A fix for bug #444271
* anonymous.cs: Rescan parent storeys when best candidate was
undone.

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

15 years ago2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 13 Nov 2008 15:13:17 +0000 (15:13 -0000)]
2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>

* simd-intrinsics.c (simd_intrinsic_emit_ctor): Generalize this method
to work with more Vector types.

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

15 years ago2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 13 Nov 2008 15:13:12 +0000 (15:13 -0000)]
2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>

* simd-intrinsics.c (simd_intrinsic_emit_ctor): If the target is already a pointer
store the elemens directly instead of using and intermediate.

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

15 years ago2008-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 13 Nov 2008 14:19:41 +0000 (14:19 -0000)]
2008-11-13  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (emit_call_body): Avoid aligning call sites in AOTed code.

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

15 years ago2008-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 13 Nov 2008 14:12:59 +0000 (14:12 -0000)]
2008-11-13  Zoltan Varga  <vargaz@gmail.com>

* tramp-x86.c (mono_arch_create_trampoline_code): Rework the return sequence
to preserve %eax for aot plt trampolines.

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

15 years ago * Test/html.expected/**: Update
Jonathan Pryor [Thu, 13 Nov 2008 14:07:46 +0000 (14:07 -0000)]
* Test/html.expected/**: Update
  //meta[@http-equiv='Content-Type']/@content attribute value (changed
  due to yesterday's defaulttemplate.xsl fix).

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

15 years ago2008-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 13 Nov 2008 13:12:13 +0000 (13:12 -0000)]
2008-11-13  Zoltan Varga  <vargaz@gmail.com>

* Makefile (AOT_IN_PROFILES): Disable AOT for the 2.0 profile as it actually
slows down the build.

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

15 years agomerge XPath optimization branch. About 15% faster/less memory use so
Atsushi Eno [Thu, 13 Nov 2008 13:05:44 +0000 (13:05 -0000)]
merge XPath optimization branch. About 15% faster/less memory use so
far.

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

15 years agoAdd --verify-all
Marek Safar [Thu, 13 Nov 2008 10:07:54 +0000 (10:07 -0000)]
Add --verify-all

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

15 years agoNew test
Marek Safar [Thu, 13 Nov 2008 10:04:46 +0000 (10:04 -0000)]
New test

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

15 years ago2008-11-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 13 Nov 2008 10:04:25 +0000 (10:04 -0000)]
2008-11-13  Marek Safar  <marek.safar@gmail.com>

* generic.cs, expression.cs, ecore.cs, cs-parser.jay: Removed
useless UnboundTypeExpression.

* attribute.cs: Do check obsolete attribute on generic types.

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

15 years agoUse reset flag bit instead of executing sp_reset_connection and related
Veerapuram Varadhan [Thu, 13 Nov 2008 09:16:42 +0000 (09:16 -0000)]
Use reset flag bit instead of executing sp_reset_connection and related
changes.

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

15 years agoFix for mingw.
Paolo Molaro [Thu, 13 Nov 2008 08:04:39 +0000 (08:04 -0000)]
Fix for mingw.

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

15 years agoMore headers checks.
Paolo Molaro [Thu, 13 Nov 2008 07:49:51 +0000 (07:49 -0000)]
More headers checks.

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

15 years ago2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 13 Nov 2008 03:48:52 +0000 (03:48 -0000)]
2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* SocketTest.cs: added test case based on the one in bug
#443346.

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

15 years ago2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 13 Nov 2008 03:47:23 +0000 (03:47 -0000)]
2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Socket.cs: mark the socket as not connected when there is a pending
error or exception about to be thrown.
Bug #443346 fixed.

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

15 years ago2008-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 13 Nov 2008 02:17:41 +0000 (02:17 -0000)]
2008-11-13  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (compile_method): Don't skip synchronized methods.
(encode_method_ref): Flag synchronized methods so they won't go through
the AOT trampoline.

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

15 years ago2008-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 13 Nov 2008 01:52:32 +0000 (01:52 -0000)]
2008-11-13  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Additional work to support AOTing synchronized methods/
wrappers.

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

15 years ago* Mono.Mozilla/Callback.cs, Mono.WebBrowser/DOM/EventArgs.cs: strong
Andreia Gaita [Thu, 13 Nov 2008 01:48:33 +0000 (01:48 -0000)]
* Mono.Mozilla/Callback.cs, Mono.WebBrowser/DOM/EventArgs.cs: strong
  typing for node event arguments

2008-11-13  Andreia Gaita <shana@jitted.com>

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

15 years ago2008-11-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 13 Nov 2008 01:39:03 +0000 (01:39 -0000)]
2008-11-13  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: implemented support for Edit, Update and Delete.
Implemented ExtractItemValues.

* ListViewDataItem.cs, ListViewItem.cs: implemented OnBubbleEvent.

* ListViewDeletedEventArgs.cs, ListViewUpdateEventArgs.cs,
ListViewEditEventArgs.cs, ListViewCancelEventArgs.cs,
ListViewDeleteEventArgs.cs, ListViewUpdatedEventArgs.cs:
implemented all the properties and methods.

* HelperExtensions.cs: added

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

15 years ago* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: Support
Andreia Gaita [Thu, 13 Nov 2008 01:38:55 +0000 (01:38 -0000)]
* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: Support
  script execution directly in the browser object

2008-11-13  Andreia Gaita <shana@jitted.com>

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

15 years ago* Mono.Mozilla/DOM/Node.cs, Mono.Mozilla/DOM/Window.cs: Fix equality
Andreia Gaita [Thu, 13 Nov 2008 01:35:56 +0000 (01:35 -0000)]
* Mono.Mozilla/DOM/Node.cs, Mono.Mozilla/DOM/Window.cs: Fix equality
  operators

2008-11-13  Andreia Gaita <shana@jitted.com>

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

15 years ago2008-11-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 13 Nov 2008 01:31:59 +0000 (01:31 -0000)]
2008-11-13  Marek Habersack  <mhabersack@novell.com>

* Control.cs: added ability to reset child names to a specific
value, not only to 0.

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

15 years ago2008-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 13 Nov 2008 00:04:24 +0000 (00:04 -0000)]
2008-11-13  Zoltan Varga  <vargaz@gmail.com>

* cpu-ia64.md (jmp): Increase max length.

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

15 years ago2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 12 Nov 2008 23:18:09 +0000 (23:18 -0000)]
2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* UnixSignalTest.cs: use WaitAny + 30s timeout.

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

15 years ago2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 12 Nov 2008 21:58:51 +0000 (21:58 -0000)]
2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>

* mini-ops.h: Remove OP_PUSH_R4 and OP_LOADX_STACK.

* cpu-x86.md: Same.

* mini-x86.c: Same.

* mini.h (struct MonoCompile): Add simd_ctor_var to be used as storage
for simd ctor values.

* simd-intrinsics.c (simd_intrinsic_emit_ctor): Use simd_ctor_var for the constructor
instead of directly pushing the values on stack. This saves about 15 bytes of generated code.

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

15 years agoClose() was missing in a bunch of tests
Gonzalo Paniagua Javier [Wed, 12 Nov 2008 21:47:40 +0000 (21:47 -0000)]
Close() was missing in a bunch of tests

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

15 years ago2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 12 Nov 2008 21:38:54 +0000 (21:38 -0000)]
2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpListener2Test.cs: Fixed Test7.

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

15 years agoadjust
Jb Evain [Wed, 12 Nov 2008 21:17:01 +0000 (21:17 -0000)]
adjust

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

15 years ago2008-11-12 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 12 Nov 2008 21:16:43 +0000 (21:16 -0000)]
2008-11-12  Jb Evain  <jbevain@novell.com>

* IComponent.cs
* ComponentCollection.cs
* PropertyDescriptor.cs: adjust api for NET_2_1.

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

15 years ago2008-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 12 Nov 2008 20:51:24 +0000 (20:51 -0000)]
2008-11-12  Zoltan Varga  <vargaz@gmail.com>

* Makefile: Enable AOT for the 2.0 profile too.

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

15 years ago2008-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 12 Nov 2008 20:49:55 +0000 (20:49 -0000)]
2008-11-12  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (load_method): Avoid calling runtime_class_init () for
open generic classes.

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

15 years agoline not needed. might cause exception when writing
Gonzalo Paniagua Javier [Wed, 12 Nov 2008 20:12:06 +0000 (20:12 -0000)]
line not needed. might cause exception when writing

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

15 years ago2008-11-12 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 12 Nov 2008 20:09:34 +0000 (20:09 -0000)]
2008-11-12  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCellStyle.cs: Allow SelectionBackColor to have
an alpha value.
[Fixes bug #444348]

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

15 years ago2008-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 12 Nov 2008 19:08:35 +0000 (19:08 -0000)]
2008-11-12  Zoltan Varga  <vargaz@gmail.com>

* Makefile: Enable AOT for the 1.1 profile.

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

15 years ago2008-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 12 Nov 2008 19:07:58 +0000 (19:07 -0000)]
2008-11-12  Zoltan Varga  <vargaz@gmail.com>

* library.make: AOT the library after compilation if the AOT_IN_PROFILES
variable is defined and it contains the current profile.

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

15 years ago2008-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 12 Nov 2008 19:06:06 +0000 (19:06 -0000)]
2008-11-12  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add an ENABLE_AOT variable to config.make, currently only
enabled for AMD64.

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

15 years ago2008-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 12 Nov 2008 19:04:57 +0000 (19:04 -0000)]
2008-11-12  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Enable the ELF writer on ELF platforms.

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

15 years ago2008-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 12 Nov 2008 18:43:40 +0000 (18:43 -0000)]
2008-11-12  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir2): Revert the last change to the
box+brtrue optimization since it causes test failures on x86.

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

15 years ago* Mono.WebBrowser.dll.sources, Mono.WebBrowser2K5.csproj,
Andreia Gaita [Wed, 12 Nov 2008 17:59:59 +0000 (17:59 -0000)]
* Mono.WebBrowser.dll.sources, Mono.WebBrowser2K5.csproj,
  Mono.Mozilla/interfaces/nsIURIContentListener.cs,
  Mono.Mozilla/DOM/ContentListener.cs: New class added to listen for
  load requests and handle content types
* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: New
  NavigationRequested event to catch load requests

2008-11-12  Andreia Gaita <shana@jitted.com>

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

15 years ago2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 12 Nov 2008 16:43:35 +0000 (16:43 -0000)]
2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>

* simd-methods.h: Rename SubWithSaturation, ArithmeticRightShift and
LogicalRightShift.

* simd-instrincs.c: Same.

* basic-simd.cs: Same.

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

15 years ago2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 12 Nov 2008 16:42:01 +0000 (16:42 -0000)]
2008-11-12  Rodrigo Kumpera  <rkumpera@novell.com>

* Vector*.cs: Renamed ShiftRightLogic to LogicalRightShift and
ShiftRightArithmetic to ArithmeticRightShift.

2008-11-12  Rodrigo Kumpera  <rkumpera@novell.com>

* Documentation/en/Mono.Simd/Vector*.xml: Renamed ShiftRightLogic
to LogicalRightShift and ShiftRightArithmetic to ArithmeticRightShift.

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

15 years ago2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 12 Nov 2008 16:41:59 +0000 (16:41 -0000)]
2008-11-12  Rodrigo Kumpera  <rkumpera@novell.com>

* Documentation/en/Mono.Simd/Vector*.xml: Renamed SubWithSaturation
to SubtractWithSaturation.

2008-11-12  Rodrigo Kumpera  <rkumpera@novell.com>

* Vector*.cs: Renamed SubWithSaturation to SubtractWithSaturation.

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

15 years ago2008-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 12 Nov 2008 16:40:14 +0000 (16:40 -0000)]
2008-11-12  Zoltan Varga  <vargaz@gmail.com>

* ratests.cs: Add more tests.

* regalloc2.c (add_spill_code): Handle more corner cases.

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

15 years ago * Resources/defaulttemplate.xsl: Update /html/head/meta/@content value
Jonathan Pryor [Wed, 12 Nov 2008 15:48:15 +0000 (15:48 -0000)]
* Resources/defaulttemplate.xsl: Update /html/head/meta/@content value
  so that IE7 properly recognizes the file as UTF-8 encoded.
  Fixes #444009.

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

15 years ago2008-11-12 Cedric Vivier <cedricv@neonux.com>
Cedric Vivier [Wed, 12 Nov 2008 14:52:01 +0000 (14:52 -0000)]
2008-11-12  Cedric Vivier  <cedricv@neonux.com>

* Vector*.cs: Add indexer to all Vector types to get/set an individual component's value.
* Documentation/en/Mono.Simd/Vector*.xml: Added Member entry for indexer (Component).

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

15 years agofix for real
Jb Evain [Wed, 12 Nov 2008 14:43:20 +0000 (14:43 -0000)]
fix for real

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

15 years ago2008-11-12 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 12 Nov 2008 14:15:40 +0000 (14:15 -0000)]
2008-11-12  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Signatures/SignatureReader.cs: properly construct
TypeReferences when reading them from custom attributes data.

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