mono.git
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

15 years agoNew test + disabled 2 problematic
Marek Safar [Wed, 12 Nov 2008 14:06:22 +0000 (14:06 -0000)]
New test + disabled 2 problematic

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

15 years ago2008-11-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 12 Nov 2008 14:05:33 +0000 (14:05 -0000)]
2008-11-12  Marek Safar  <marek.safar@gmail.com>

A fix for bugs #425680, #400139
* ecore.cs, expression.cs: Trying to do some almost_matched_members
refactoring.

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

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

* Vector*.cs: Optimize non-accelerated bitwise-operations (| & ^).

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

15 years ago2008-11-11 Atsushi Enomoto <atsushi@xiiman.com>
Atsushi Eno [Wed, 12 Nov 2008 00:11:45 +0000 (00:11 -0000)]
2008-11-11  Atsushi Enomoto  <atsushi@xiiman.com>

        Fix for bug 439943.
        * SettingValueElement.cs : do not write value element twice.
        * CustomizableFileSettingsProvider.cs : create "value" element
          instead of a document fragment so that the output from
          SettingValueElement could become consistent.
          Null binary value caused crash. Set appropriate
          SerializedValue for each serialization type.
        * SettingsPropertyValue.cs : output only when the value is
          non-null.

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

15 years ago2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 11 Nov 2008 20:14:55 +0000 (20:14 -0000)]
2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>

* ModuleTest.cs : Add test for ResolveMethod with a methodspec
token.

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

15 years ago2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 11 Nov 2008 20:14:53 +0000 (20:14 -0000)]
2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>

* Module.cs (ResolveMethod): Use internal method
GetMethodFromHandleNoGenericCheck to avoid the generic type
limitation of GetMethodFromHandle.

Fixes #443763.

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

15 years ago* SqlCommandTest.cs: Added (SMALL)MONEY rounding tests.
Gert Driesen [Tue, 11 Nov 2008 19:22:02 +0000 (19:22 -0000)]
* SqlCommandTest.cs: Added (SMALL)MONEY rounding tests.

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

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

* regalloc2.c (INS_POS_INTERVAL): Decrease this to 8 to avoid overflows.
(update_liveness): Avoid holes in the liveness ranges of hregs if they are
both the source an destination of an instruction.

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

15 years agoTue Nov 11 19:30:50 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 11 Nov 2008 18:34:09 +0000 (18:34 -0000)]
Tue Nov 11 19:30:50 CET 2008 Paolo Molaro <lupus@ximian.com>

* jit-icalls.c, local-propagation.c, mini.c, ssa.c, ssapre.c, trace.c,
wapihandles.c: more portability changes.

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

15 years ago* SqlCommandTest.cs: Added tests for bug #428139. Added test for
Gert Driesen [Tue, 11 Nov 2008 18:20:27 +0000 (18:20 -0000)]
* SqlCommandTest.cs: Added tests for bug #428139. Added test for
SMALLMONEY overflows. Added workaround for Assert.AreEqual bug in
NUnit v2.2.0.

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

15 years agoAdded more header checks.
Paolo Molaro [Tue, 11 Nov 2008 18:19:59 +0000 (18:19 -0000)]
Added more header checks.

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

15 years ago* Tds70.cs: Support writing negative (small)money values. Added
Gert Driesen [Tue, 11 Nov 2008 18:18:53 +0000 (18:18 -0000)]
* Tds70.cs: Support writing negative (small)money values. Added
overflow check for smallmoney values. Fixes bug #428139.
* Tds.cs: Fixed reading negative (small)money values.

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

15 years agoTue Nov 11 18:56:33 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 11 Nov 2008 18:02:04 +0000 (18:02 -0000)]
Tue Nov 11 18:56:33 CET 2008 Paolo Molaro <lupus@ximian.com>

* aot-compiler.c, aliasing.c, abcremoval.c: portability changes.
* mini.c mini.h, aot-runtime.c: the aot segfault-handling code is not
safe to execute in a signal handler and the kernel provides better
the info in /proc/self/smaps. Avoid the assert on sigaction during
cleanup.

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

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

* Mono.Cecil/ReflectionReader.cs (AddTypeRef):
protect against invalid token.

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

15 years ago* Application.cs: After UIA assembly is successfully loaded,
Andrés G. Aragoneses [Tue, 11 Nov 2008 16:43:12 +0000 (16:43 -0000)]
* Application.cs: After UIA assembly is successfully loaded,
dump any exception that happens on initialization to stderr.

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

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

* RegexBugs.cs: test from bug 432172.

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

15 years ago2008-11-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 11 Nov 2008 16:37:41 +0000 (16:37 -0000)]
2008-11-11  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Add internal to OnAutoSizeColumnModeChanged.
* DataGridViewColumn.cs: Recalculate columns when AutoSizeMode changes.  Raise
AutoSizeColumnModeChanged.
[Fixes bug #443609]

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

15 years ago2008-11-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 11 Nov 2008 16:13:00 +0000 (16:13 -0000)]
2008-11-11  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRowCollection.cs: Guard against the user deleting the
NewRow.  Add an internal delete so we can still delete it.
* DataGridView.cs: Use the new internal delete when deleting the NewRow.
[Fixes bug #442181]

2008-11-01  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRowCollectionTest.cs: Add some tests for bug #442181.

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

15 years ago2008-11-11 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 11 Nov 2008 14:28:50 +0000 (14:28 -0000)]
2008-11-11  Jonathan Chambers  <joncham@gmail.com>

        * Items.cs: Use Path.DirectorySeparatorChar instead of
        hardcoded '/' to fix test on Windows.

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

15 years ago2008-11-11 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 11 Nov 2008 14:02:17 +0000 (14:02 -0000)]
2008-11-11  Jonathan Chambers  <joncham@gmail.com>

        * DeleteTest.cs: Added tests for Delete task.

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