mono.git
15 years ago2008-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Nov 2008 02:28:19 +0000 (02:28 -0000)]
2008-11-17  Zoltan Varga  <vargaz@gmail.com>

* *.h *.c: Remove duplicate MonoInst emission macros, use the ones in
ir-emit.h.

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

15 years agoupdate known-issues-smcs
Raja R Harinath [Mon, 17 Nov 2008 02:16:51 +0000 (02:16 -0000)]
update known-issues-smcs

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

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

* regalloc.h *.c: Remove references to mono_regstate_next_int (), use
mono_alloc_ireg () instead.

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

15 years ago2008-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Nov 2008 01:07:28 +0000 (01:07 -0000)]
2008-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-<ARCH>.c: Include ir-emit.h. Remove duplicate MonoInst emission
macros.

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

15 years agoFix ia64 build.
Zoltan Varga [Mon, 17 Nov 2008 01:03:39 +0000 (01:03 -0000)]
Fix ia64 build.

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

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

* mini-amd64.c (emit_load_volatile_arguments): Removed, not needed
on amd64.

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

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

* aot-runtime.c (load_aot_module): Disable AOT when running under
CAS.

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

15 years ago2008-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Nov 2008 00:33:58 +0000 (00:33 -0000)]
2008-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.h: Change the monitor fastpath defines to check for
!PLATFORM_WIN32 so they work on *bsd too.

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

15 years ago2008-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Nov 2008 00:30:48 +0000 (00:30 -0000)]
2008-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini.h mini.c mini-hhpa.c: Remove more unused code.

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

15 years ago2008-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Nov 2008 00:22:57 +0000 (00:22 -0000)]
2008-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-s390.c mini-s390x.c: Remove !cfg->new_ir code.

* mini.h (MonoCompile): Remove new_ir flag.

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

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

* regalloc.h regalloc.c: Remove unused code.

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

15 years ago2008-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 16 Nov 2008 23:58:09 +0000 (23:58 -0000)]
2008-11-17  Zoltan Varga  <vargaz@gmail.com>

* cpu-*.md: Remove more unused opcodes.

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

15 years ago2008-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 16 Nov 2008 23:55:10 +0000 (23:55 -0000)]
2008-11-17  Zoltan Varga  <vargaz@gmail.com>

* simple-cee-ops.h simple-mini-ops.h: Removed.

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

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

* simple-cee-ops.h simple-mini-ops.h: Removed.

* mini-ops.h *.c cpu-<ARCH>.md: Remove more unused opcodes.

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

15 years ago2008-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 16 Nov 2008 23:30:53 +0000 (23:30 -0000)]
2008-11-17  Zoltan Varga  <vargaz@gmail.com>

* aliasing.h: Removed.

* *.c: Remove references to aliasing.h and inssel.h.

* mini.c: Remove additional unused functions.

* mini-ops.h cpu-*.md: Remove unused opcodes.

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

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

Remove the old JIT code.

* inssel*.brg: Removed.

* ssa.c abcremoval.c aliasing.c: Removed.

* ssa2.c: Renamed to ssa.c.

* abcremoval2.c: Renamed to abcremoval.c.

* *.c: Removed all !cfg->new_ir code.

* mini-<ARCH>.c: Removed mono_arch_call_opcode (),
mono_arch_emit_this_vret_args (), and mono_arch_get_inst_for_method ().

* mini.c: Removed the old mono_method_to_ir () and all the code used by it.

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

15 years ago * Mono.Documentation/dump.cs: Rewrite to be a MDocCommand subclass.
Jonathan Pryor [Sun, 16 Nov 2008 19:35:46 +0000 (19:35 -0000)]
* Mono.Documentation/dump.cs: Rewrite to be a MDocCommand subclass.
* Mono.Documentation/mdoc.cs: Add dump-tree command which can be used
  to dump the contents of assemble-generated .tree files.
* mdoc.exe.sources: Add Mono.Documentation/dump.cs to the build.

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

15 years agoMono.Cecil/TypeDefinition.cs (IsValueType): Inline the call to IsEnum and remove...
Sebastien Pouliot [Sun, 16 Nov 2008 18:35:56 +0000 (18:35 -0000)]
Mono.Cecil/TypeDefinition.cs (IsValueType): Inline the call to IsEnum and remove the double null check being done.

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

15 years agoFix the x86 build.
Zoltan Varga [Sun, 16 Nov 2008 11:20:38 +0000 (11:20 -0000)]
Fix the x86 build.

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

15 years ago * Documentation/en/**: Flush; changes due to mdoc-update
Jonathan Pryor [Sun, 16 Nov 2008 02:14:36 +0000 (02:14 -0000)]
* Documentation/en/**: Flush; changes due to mdoc-update
  Reflection->Cecil migration.  Changes include:
  - Alphabetical ordering of custom attributes (these used to be in
    Reflection order, and Cecil uses a different ordering, so just
    sort them now).
  - Closer documentation mapping to source code (e.g. `class Foo :
    ICollection<Bar>, IEnumerable<Bar>` now adds IEnumerable<Bar> as
    an interface).
  - Some method have been removed (presumably because the source was
    altered since the last time `make doc-update` was run).

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

15 years ago * Mono.Documentation/monodocer.cs: Properties on interfaces shouldn't
Jonathan Pryor [Sun, 16 Nov 2008 02:02:59 +0000 (02:02 -0000)]
* Mono.Documentation/monodocer.cs: Properties on interfaces shouldn't
  have `abstract' on them.
* Test/DocTest-v1.cs: Add a property to an interface to check above.
* Test/en.expected.importslashdoc/Mono.DocTest/Widget+IMenuItem.xml,
  Test/en.expected.since/Mono.DocTest/Widget+IMenuItem.xml,
  Test/en.expected/Mono.DocTest/Widget+IMenuItem.xml,
  Test/html.expected/Mono.DocTest/Widget+IMenuItem.html,
  Test/msxdoc-expected.importslashdoc.xml: Flush.

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

15 years ago * Mono.Documentation/monodocer.cs: Fix regressions found from
Jonathan Pryor [Sun, 16 Nov 2008 01:43:24 +0000 (01:43 -0000)]
* Mono.Documentation/monodocer.cs: Fix regressions found from
  `make doc-update` in corlib:
  - Ensure that custom attributes are sorted (they weren't before,
    resulting in spurious differences between Reflection & Cecil
    output).
  - CecilExtensions.GetMethod() should return null if the method can't
    be found.
  - DocUtils.IsDelegate() should ensure that the delegate type isn't
    abstract (otherwise it dies on System.MulticastDelegate, which is
    an abstract type lacking an "Invoke" method).
  - Properly count generic argument counts for nested types (fixes IOE
    from S.C.G.Dictionary`2.KeyCollection.Enumerator).
* Test/DocTest-v1.cs: Add doubly-nested class under a generic class to
  simulate S.C.G.Dictionary`2.KeyCollection.Enumerator behavior.
* Test/en.expected.importslashdoc/index.xml,
  Test/en.expected.importslashdoc/Mono.DocTest.Generic/GenericBase`1+NestedCollection+Enumerator.xml,
  Test/en.expected.importslashdoc/Mono.DocTest.Generic/GenericBase`1+NestedCollection.xml,
  Test/en.expected.since/index.xml,
  Test/en.expected.since/Mono.DocTest.Generic/GenericBase`1+NestedCollection+Enumerator.xml,
  Test/en.expected.since/Mono.DocTest.Generic/GenericBase`1+NestedCollection.xml,
  Test/en.expected/index.xml,
  Test/en.expected/Mono.DocTest.Generic/GenericBase`1+NestedCollection+Enumerator.xml,
  Test/en.expected/Mono.DocTest.Generic/GenericBase`1+NestedCollection.xml,
  Test/html.expected/index.html,
  Test/html.expected/Mono.DocTest.Generic/GenericBase`1+NestedCollection+Enumerator.html,
  Test/html.expected/Mono.DocTest.Generic/GenericBase`1+NestedCollection.html,
  Test/html.expected/Mono.DocTest.Generic/index.html,
  Test/msxdoc-expected.importslashdoc.xml: Flush (new types/changes
  from DocTest-v1.cs changes).

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

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

* aot-compiler.c aot-runtime.c: Emit most of the non-table data in a structure
to simplify the code and cut back on the number of global symbols in the AOT
file.

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

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

* aot-compiler.c aot-runtime.c: Get rid of the unused plt_jump_table.

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

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

* aot-runtime.c aot-compiler.c: Unify the plt_jump_table/plt_info tables
with the got/got_info tables.

* mini.h: Bump AOT file format version.

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

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

* unwind.h: New file, contains definitions for stack unwinding.

* mini.c (mono_emit_unwind_op): New helper function to append an unwind op
to cfg->unwind_ops.

* aot-compiler.c: Generalize the emitting of unwind information to use the
information in cfg->unwind_ops.

* mini-amd64.c (mono_arch_emit_prolog): Emit unwind info.

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

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

* unwind.h: New file, contains definitions for stack unwinding.

* mini.c (mono_emit_unwind_op): New helper function to append an unwind op
to cfg->unwind_ops.

* aot-compiler.c: Generalize the emitting of unwind information to use the
information in cfg->unwind_ops.

* mini-amd64.c (mono_arch_emit_prolog): Emit unwind info.

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

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

* unwind.h: New file, contains definitions for stack unwinding.

* mini.c (mono_emit_unwind_op): New helper function to append an unwind op
to cfg->unwind_ops.

* aot-compiler.c: Generalize the emitting of unwind information to use the
information in cfg->unwind_ops.

* mini-amd64.c (mono_arch_emit_prolog): Emit unwind info.

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

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