mono.git
15 years ago2008-12-01 Mark Mason <mmason@upwardaccess.com>
Mark Mason [Mon, 1 Dec 2008 18:39:43 +0000 (18:39 -0000)]
2008-12-01  Mark Mason   <mmason@upwardaccess.com>

        * mini-ops.h: updated MIPS opcodes
        * mini-mips.c: decompose long opts
        * mini-mips.h: decompose long opts

Contributed under the MIT X11 license.

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

15 years agoAdded a replay of the whole call stack at the beginning of each event block.
Massimiliano Mantione [Mon, 1 Dec 2008 18:23:43 +0000 (18:23 -0000)]
Added a replay of the whole call stack at the beginning of each event block.

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

15 years ago2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 1 Dec 2008 17:05:48 +0000 (17:05 -0000)]
2008-12-01  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Refresh the data if the data list is reset, etc.

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

15 years agoCrossAppDomainChannel.cs: Make _ContextID an object that fixes bug #422491.
Kornél Pál [Mon, 1 Dec 2008 14:52:19 +0000 (14:52 -0000)]
CrossAppDomainChannel.cs: Make _ContextID an object that fixes bug #422491.

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

15 years ago2008-12-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Dec 2008 14:45:16 +0000 (14:45 -0000)]
2008-12-01  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: instead of adding ContentPlaceHolder
instances to the ContentPlaceHolders collection when the
placeholder is instantiated in the control build method, collect
the ids and store them in ContentPlaceHolders inside the
constructor. Fixes bug #449970
For each content placeholder generate a public virtual property
named "Template_PLACEHOLDERID", this is compatible with what .NET
does.

* BaseCompiler.cs: added new virtual method,
AddStatementsToConstructor, which is called just before
CreateConstructor returns.

2008-12-01  Marek Habersack  <mhabersack@novell.com>

* MasterPage.cs: use List <string> for ContentPlaceHolders instead
of ArrayList.
CreateMasterPage now directly accesses the ContentPlaceHolders as
it is now a list of strings

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

15 years ago2008-12-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 1 Dec 2008 12:45:52 +0000 (12:45 -0000)]
2008-12-01  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Cecil.Signatures/CustomAttrib.cs: Define reusable Empty
arrays for both FixedArg and NamedArg.
* Mono.Cecil.Signatures/SignatureReader.cs: Avoid creating empty
ParameterDefinitionCollection on constructors. Use the new Empty
arrays when possible.

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

15 years ago2008-12-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 1 Dec 2008 12:44:56 +0000 (12:44 -0000)]
2008-12-01  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Cecil/MethodReference.cs: Make HasParameters virtual
* Mono.Cecil/MethodSpecification.cs: Override HasParameters to make
sure we're tracking the same object as the Parameters property does.
* Mono.Cecil/PropertyDefinition.cs: Implement HasParameters based on
the GetMethod, SetMethod or its own parameter collection.
* Mono.Cecil/PropertyReference.cs: Add abstract HasParameters property

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

15 years ago2008-12-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Dec 2008 12:34:45 +0000 (12:34 -0000)]
2008-12-01  Marek Habersack  <mhabersack@novell.com>

* Style.cs: WriteStyleAttributes must not use the fontinfo field
directly, it has to be done via the Font property. Fixes bug
#449793

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

15 years ago2008-12-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 1 Dec 2008 11:50:48 +0000 (11:50 -0000)]
2008-12-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #448560
* expression.cs (As): Box any generic type arguments to be
verifiable.

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

15 years ago2008-12-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 1 Dec 2008 11:50:34 +0000 (11:50 -0000)]
2008-12-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #448560
* expression.cs (As): Box any generic type arguments to be
verifiable.

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

15 years ago2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 1 Dec 2008 01:53:58 +0000 (01:53 -0000)]
2008-12-01  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Handle datasource state changes:
   - IBindingList - list changes
   - BindingSource - list changed and datasource changes

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

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 22:52:53 +0000 (22:52 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Select the first cell when databound.
Visually select when CurrentCell is set.

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

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 22:49:28 +0000 (22:49 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Set the current cell before raising CellClick.

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

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 22:43:06 +0000 (22:43 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Cleanup MoveCurrentCell to not fire any CellEnter,
CellLeave events as this is already done in SetCurrentCellAddressCore.

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

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 20:16:29 +0000 (20:16 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Set the minimum size for the columns to be the
width of their header, so that the columns don't get squashed
all together.

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

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 20:05:38 +0000 (20:05 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: After the data is bound PerformLayout, so that
the columns get autosized.

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

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 19:10:55 +0000 (19:10 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Move all currentCell setting code into
one central place - SetCurrentCellAddressCore. That way the
current cell is properly updated when programatically set.
Fire RowEnter/Leave events.

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

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 18:33:03 +0000 (18:33 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Update the CurrencyManager.Position, so that
when a BindingSource is used BindingSource.Current will be correct.

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

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 17:52:26 +0000 (17:52 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* GroupBoxRenderer.cs: Fix when VisualStyles disabled:
   - No caption text is drawn because Color.Empty is used.
   - Fix top and height off by 1.

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

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 17:05:08 +0000 (17:05 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewRow.cs: Implement DataBoundItem.

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

15 years ago2008-11-30 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Sun, 30 Nov 2008 16:13:29 +0000 (16:13 -0000)]
2008-11-30 Jordi Mas i Hernandez <jordimash@gmail.com>

* Mono.Cairo/ImageSurface.cs: Fixes ImageSurface constructor signature.
        Data param should not be ref since the data is not modified.

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

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 12:28:00 +0000 (12:28 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* BindingSource.cs: Return null for Current if there is no data present.

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

15 years ago2008-11-29 Mark Mason <mmason@upwardaccess.com>
Mark Mason [Sun, 30 Nov 2008 05:16:46 +0000 (05:16 -0000)]
2008-11-29  Mark Mason   <mmason@upwardaccess.com>

        * cpu-mips.md: fix length on int_rem_un
        * mini-mips.c (mips_stackframe_adjust): fix insertion of spillvars region in MIPS stackframes.

Contributed under the MIT X11 license.

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

15 years ago2008-11-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 30 Nov 2008 02:48:56 +0000 (02:48 -0000)]
2008-11-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MenuAPI.cs: Add a Menu.SelectedItem null check when navigating the
menus using the arrow keys. Also when handling the left arrow key, don't
assign the current menu to the parent one, if the parent is null.
Fixes #446392.

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

15 years ago2008-11-25 Atsushi Enomoto <atsushi@ximian.com>
Miguel de Icaza [Sat, 29 Nov 2008 20:25:30 +0000 (20:25 -0000)]
2008-11-25  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : update old nunit options that break upgrade to 2.4.

2008-11-03 Gonzalo Paniagua Javier <gonzalo@novell.com>

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

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

* IPAddressCollection.cs: added an internal method to make the
collection read-only.
* IPInterfaceProperties.cs: read DNS client configuration from
/etc/resolv.conf.
* NetworkInterface.cs: dummy Speed property for linux.

Bug #450211 fixed.

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

15 years agoAdd tripwire for implicit conversion bugs
Raja R Harinath [Sat, 29 Nov 2008 18:49:45 +0000 (18:49 -0000)]
Add tripwire for implicit conversion bugs

* ecore.cs (MethodGroupExpr.Error_ArgumentCountWrong): New helper
for CS1501 error.
(MethodGroupExpr.OverloadResolve): Add sanity check between
IsApplicable and VerifyArgumentsCompat.
(VerifyArgumentsCompat): Report CS1501 where appropriate.

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

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

* mini.h aot-runtime.c: Fix building with DISABLE_AOT.

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

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

* mini-codegen.c (mono_print_ins_index): Handle OP_VOIDCALL_MEMBASE.

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

15 years agoFix build break in System.Data_test
Raja R Harinath [Sat, 29 Nov 2008 12:55:40 +0000 (12:55 -0000)]
Fix build break in System.Data_test

* convert.cs (ImplicitConversionExists): Move NullLiteral conversions ...
(ImplicitStandardConversionExists): ... here.

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

15 years agoupdate known issues
Raja R Harinath [Sat, 29 Nov 2008 12:55:20 +0000 (12:55 -0000)]
update known issues

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

15 years agocoree.c (MonoFixupExe): Use sizeof(IMAGE_BASE_RELOCATION) instead of IMAGE_SIZEOF_BAS...
Kornél Pál [Sat, 29 Nov 2008 10:02:20 +0000 (10:02 -0000)]
coree.c (MonoFixupExe): Use sizeof(IMAGE_BASE_RELOCATION) instead of IMAGE_SIZEOF_BASE_RELOCATION as newer Vista SDKs no longer define the latter.

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

15 years ago2008-11-28 Miguel De Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 29 Nov 2008 00:13:21 +0000 (00:13 -0000)]
2008-11-28  Miguel De Icaza  <miguel@novell.com>

* TermInfoDriver.cs: Also register a mapping to make verase be the
backspace key.  Funny thing: verase was fetched from the termios,
but it was *never* actually used in this file.

VSUSP and VINTR are likewise ignored.   Must ponder this.

This makes the backspace key in MacOS work on interactive
applications.

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

15 years ago2008-11-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 28 Nov 2008 23:34:14 +0000 (23:34 -0000)]
2008-11-29  Martin Baulig  <martin@ximian.com>

* mini-exceptions.c (mono_handle_native_sigsegv): Check
mono_debug_using_mono_debugger() in addition to the
`no_gdb_backtrace' flag in the `MonoDebugOptions'.

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

15 years ago2008-11-28 Mark Mason <mmason@upwardaccess.com>
Mark Mason [Fri, 28 Nov 2008 23:11:32 +0000 (23:11 -0000)]
2008-11-28  Mark Mason   <mmason@upwardaccess.com>

        * mini-ops.h: updated more MIPS opcodes
        * mini-mips.c: FP compare/branch working again, clean up last of  CEE_ -> OP_ mappings
        * cpu-mips.md: Added MIPS versions of new FP compare/branch opcodes.

Contributed under the MIT X11 license.

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

15 years agofix another typo
Stephane Delcroix [Fri, 28 Nov 2008 20:54:58 +0000 (20:54 -0000)]
fix another typo

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

15 years agoremove the c:/cygwin reference that slipped in
Stephane Delcroix [Fri, 28 Nov 2008 20:38:47 +0000 (20:38 -0000)]
remove the c:/cygwin reference that slipped in

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

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

* class.c (mono_class_setup_fields): Don't copy MonoType::attrs as
the inflate_generic_type machinery should handle it.

This avoids a crash when the field's flags is zero and it's type is
a primitive.
What happens is that mono_metadata_parse_type_full will see that opt_attrs
is zero and will return one of the cached built-in primitive types. Since
those types live in read-only memory, the code that copies it crashes.

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

15 years ago2008-11-28 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 28 Nov 2008 20:16:59 +0000 (20:16 -0000)]
2008-11-28  Mark Probst  <mark.probst@gmail.com>

* mini-ppc64.c: Patch the RGCTX fetch trampoline correctly.

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

15 years ago2008-11-28 Mark Mason <mmason@upwardaccess.com>
Mark Mason [Fri, 28 Nov 2008 19:16:28 +0000 (19:16 -0000)]
2008-11-28  Mark Mason   <mmason@upwardaccess.com>

        * mini-mips.c (mono_arch_emit_call): adding missing conversion to fp single when passing in integer arg register.
        * mini-mips.c (mips_adjust_stackframe): compensate for spill-down logic.
        * mini-ops.h: correct selected mips opcode entries

Contributed under the MIT X11 license.

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

15 years ago2008-11-28 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 28 Nov 2008 19:06:34 +0000 (19:06 -0000)]
2008-11-28  Mark Probst  <mark.probst@gmail.com>

* mini-ppc64.c, mini-ppc64.h: Enable generalized IMT thunks and
make them work.

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

* object.c: Don't put function descriptors into generalized IMT
thunks.

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

* ppc/ppc-codegen.h: #define for the maximum length of a load
sequence.

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

15 years ago2008-11-28 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 28 Nov 2008 18:13:19 +0000 (18:13 -0000)]
2008-11-28  Mark Probst  <mark.probst@gmail.com>

* mini-ppc64.h, tramp-ppc64.c: Make generic code sharing work.

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

* class.c: Enable generic code sharing on PPC64.

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

15 years agoChangelog from last commit. Sorry ;)
Mark Mason [Fri, 28 Nov 2008 17:55:39 +0000 (17:55 -0000)]
Changelog from last commit. Sorry ;)

Contributed under the MIT X11 license

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

15 years ago * method-to-ir.c, mini-trampolines.c: protect IMG code with #ifdef MONO_ARCH_...
Mark Mason [Fri, 28 Nov 2008 17:53:10 +0000 (17:53 -0000)]
    * method-to-ir.c, mini-trampolines.c: protect IMG code with #ifdef MONO_ARCH_HAVE_IMT to fix compile errors.
        * mini-mips.c: Fixup stackframe assignments after allocation of spillvars.
        * mini-mips.h: disable IMT
        * tramp-mips.c (mono_arch_get_vcall_slot): fix offset extraction

Contributed under the MIT X11 license

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

15 years ago2008-11-28 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 28 Nov 2008 15:57:38 +0000 (15:57 -0000)]
2008-11-28  Mark Probst  <mark.probst@gmail.com>

* mini-ppc64.c, mini-ppc64.h: Don't emulate long ops.

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

15 years agoNew test.
Marek Safar [Fri, 28 Nov 2008 15:55:34 +0000 (15:55 -0000)]
New test.

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

15 years ago2008-11-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Nov 2008 15:54:16 +0000 (15:54 -0000)]
2008-11-28  Marek Safar  <marek.safar@gmail.com>

* literal.cs: Emit correctly explicit null to nullable cast.

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

15 years agoNew test.
Marek Safar [Fri, 28 Nov 2008 15:41:33 +0000 (15:41 -0000)]
New test.

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

15 years ago2008-11-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Nov 2008 15:41:04 +0000 (15:41 -0000)]
2008-11-28  Marek Safar  <marek.safar@gmail.com>

* ecore.cs, generics.cs: Fixed crash when type arguments fail to
resolve.

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

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

* ArrayExtensions.cs (IsAligned): Add a sensible default
implementation that will give results similar to the instrinsic version.

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

15 years ago2008-11-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 28 Nov 2008 13:47:37 +0000 (13:47 -0000)]
2008-11-27  Rodrigo Kumpera  <rkumpera@novell.com>

* ArrayExtensions.cs: Add aligned Get/SetVector variants for
all vector types.

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

15 years ago2008-11-28 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 28 Nov 2008 12:31:59 +0000 (12:31 -0000)]
2008-11-28  Mark Probst  <mark.probst@gmail.com>

* mini-ppc64.c, exceptions-ppc64.c: Several fixes.

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

15 years agoNew test.
Marek Safar [Fri, 28 Nov 2008 11:40:18 +0000 (11:40 -0000)]
New test.

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

15 years ago2008-11-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Nov 2008 11:34:41 +0000 (11:34 -0000)]
2008-11-28  Marek Safar  <marek.safar@gmail.com>

A fix for bug #449005
* convert.cs, nullable.cs: Use only one implicit nullable
conversion.

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

15 years ago2008-11-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Nov 2008 07:22:50 +0000 (07:22 -0000)]
2008-11-28  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : ugh, ok another dist pain.

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

15 years ago2008-11-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Nov 2008 04:51:18 +0000 (04:51 -0000)]
2008-11-28  Atsushi Enomoto  <atsushi@ximian.com>

* nunit-summary.xsl : copied from nunit resource (summary.xslt)
* library.make : put transformation result from TestResult-*.xml
  into TestResult-*.log as we used to do.

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

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

* method-to-ir.c (handle_isinst): Use PCONST instead of ICONST for
consistency.

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

15 years agoFix the build.
Zoltan Varga [Fri, 28 Nov 2008 02:55:17 +0000 (02:55 -0000)]
Fix the build.

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

15 years ago2008-11-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Nov 2008 02:30:07 +0000 (02:30 -0000)]
2008-11-28  Atsushi Enomoto  <atsushi@ximian.com>

* data/mono-nunit.pc.in : add new 2.4.8 files.

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

15 years ago2008-11-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Nov 2008 01:47:23 +0000 (01:47 -0000)]
2008-11-28  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : add NUNIT_RESOURCE_FILES to dist.

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

15 years ago2008-11-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 28 Nov 2008 01:43:09 +0000 (01:43 -0000)]
2008-11-28  Marek Habersack  <mhabersack@novell.com>

* DataBinder.cs: do the proper thing in Eval when a non-indexed
property is requested on an object and not found. In that case try
to use the Items property.

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

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

* library.make (TESTNAME_ARG): added support for the nunit-console -run
parameter, so that individual tests can be ran.

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

15 years ago2008-11-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 28 Nov 2008 01:30:56 +0000 (01:30 -0000)]
2008-11-28  Marek Habersack  <mhabersack@novell.com>

* library.make (FIXTURE_ARG): /parameter:value syntax is not
supported in nunit 2.4

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

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

* ListView.cs: use the _correct_ operator when checking whether
selected item index is within the data keys range.

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

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

* simd-intrinsics.c (emit_array_extension_intrinsics): Add support
for Set/GetVector aligned versions.

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

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

* basic-simd.cs: Add tests for Get/SetVector.

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

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

* ArrayExtensions.cs: Add Get/SetVector variants for
all vector types.

* ArrayExtensions.cs: Add IsAligned query method to check
is an index of a given array is property aligned for simd.

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

15 years ago2008-11-27 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 27 Nov 2008 19:26:00 +0000 (19:26 -0000)]
2008-11-27  Mark Probst  <mark.probst@gmail.com>

* mempool.c, mempool-internals.h: Added g_slist_append_mempool()
from mini/mini.c.

* generic-sharing.c: Allocate the method template slists from the
image mempool so it doesn't leak.

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

* mini.c: Removed g_slist_append_mempool().  Now in
metadata/mempool.c.

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

15 years ago2008-11-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 Nov 2008 18:57:42 +0000 (18:57 -0000)]
2008-11-27  Sebastien Pouliot  <sebastien@ximian.com>

* FileInfo.cs: Change ToString (in 2.1) not to return the full path
of the filename (since it's not SecurityCritical).

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

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

* simd-intrinsics.c (mono_emit_vector_ldelema): Extract the element
size properly and make the bounds check optional.

* simd-intrinsics.c (emit_array_extension_intrinsics): Add support
for SetVector and IsAligned.

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

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

* class.c (generic_array_methods): Release the linked list.

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

15 years ago2008-11-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 27 Nov 2008 16:27:17 +0000 (16:27 -0000)]
2008-11-27  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: fixes in DoUpdate and DoDelete - check must be made
that the requested item index is _smaller_ than the number of
keys, not _bigger_.
Enable using the lambda expression in CreateItemsInGroups - the
gmcs bug preventing that was fixed.

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

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

* marshal.c (mono_string_builder_to_utf8): Fixed a wrong
invocation to g_utf16_to_utf8().

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

15 years agoUpdated.
Marek Safar [Thu, 27 Nov 2008 15:38:27 +0000 (15:38 -0000)]
Updated.

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

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

* convert.cs, literal.cs: More Convert cleanup is needed.

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

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

* mini.c: Remove unused mono_normalize_opcodes () function.

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

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

* Mono.Cecil/ExternTypeCollection.cs: don't attach types as they
are already attached to the current module.

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

15 years agoNew test.
Marek Safar [Thu, 27 Nov 2008 12:06:53 +0000 (12:06 -0000)]
New test.

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

15 years ago2008-11-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Nov 2008 12:06:36 +0000 (12:06 -0000)]
2008-11-27  Marek Safar  <marek.safar@gmail.com>

* decl.cs, class.cs: Fixed misleading error message.

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

15 years agoNew test.
Marek Safar [Thu, 27 Nov 2008 12:02:55 +0000 (12:02 -0000)]
New test.

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

15 years ago2008-11-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Nov 2008 08:45:05 +0000 (08:45 -0000)]
2008-11-27  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile: here is another nunit24 option breakage.

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

15 years ago2008-11-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Nov 2008 07:16:03 +0000 (07:16 -0000)]
2008-11-26  Atsushi Enomoto  <atsushi@ximian.com>

* library.make : another nunit20 to kill :(

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

15 years agoIn class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Ankit Jain [Thu, 27 Nov 2008 05:45:37 +0000 (05:45 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

* AssignCulture.cs (Execute): Emit "Culture" metadata also.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

* AssignCultureTest.cs: Add tests for "Culture" metadata.

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

15 years ago2008-11-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Nov 2008 00:17:20 +0000 (00:17 -0000)]
2008-11-26  Atsushi Enomoto  <atsushi@ximian.com>

* docs/Makefile: remove nunit docs that do not exist (and I don't
  think such docs for private mono use should be provided).

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

15 years ago2008-11-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Nov 2008 23:08:53 +0000 (23:08 -0000)]
2008-11-26  Atsushi Enomoto  <atsushi@ximian.com>

        * Makefile : I happened to remove errors and docs which
          used to be broken.

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

15 years ago2008-11-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 26 Nov 2008 18:47:09 +0000 (18:47 -0000)]
2008-11-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #449005
* nullable.cs (EmitEquality): Disable optimization for user operator
operands.

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

15 years ago2008-11-26 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 26 Nov 2008 14:56:37 +0000 (14:56 -0000)]
2008-11-26  Mark Probst  <mark.probst@gmail.com>

* method-to-ir.c (mini_emit_inst_for_method): Small fix: we're
using the new atomic add ops now.

* mini-ppc64.c, mini-ppc64.h, cpu-ppc64.md: Implemented atomic
add.

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

15 years ago2008-11-26 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 26 Nov 2008 14:23:36 +0000 (14:23 -0000)]
2008-11-26  Mark Probst  <mark.probst@gmail.com>

* vararg2.cs: Forgot to add at last commit.

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

15 years ago2008-11-26 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 26 Nov 2008 13:54:03 +0000 (13:54 -0000)]
2008-11-26  Mark Probst  <mark.probst@gmail.com>

* icall.c (mono_ArgIterator_IntGetNextArg): Handle sub-word sized
arguments on big endian archs.

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

* vararg2.cs: Test for sub-word sized variable arguments.

* Makefile.am: Test added.

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

15 years ago2008-11-26 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 26 Nov 2008 13:42:46 +0000 (13:42 -0000)]
2008-11-26  Mark Probst  <mark.probst@gmail.com>

* mini-ppc64.c: Several fixes.

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

15 years agoAdded jump_table. Eliminate compare-imm instructions during instruction
Mark Mason [Wed, 26 Nov 2008 07:23:10 +0000 (07:23 -0000)]
Added jump_table. Eliminate compare-imm instructions during instruction
lowering. Remove dead code.

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

15 years agoInitial upgrade of the MIPS port to the new IR.
Mark Mason [Wed, 26 Nov 2008 06:40:11 +0000 (06:40 -0000)]
Initial upgrade of the MIPS port to the new IR.
The port compiles (tested under Debian Linux), and almost correctly
compiles and executes an empty c# program ;).

Contributed under the MIT X11 license.

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

15 years agoCorrected a handfull of MIPS opcode entries.
Mark Mason [Wed, 26 Nov 2008 06:36:46 +0000 (06:36 -0000)]
Corrected a handfull of MIPS opcode entries.

Contributed under the MIT X11 license.

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

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

* DomainManager.cs: avoid the annoying %temp% directories.

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

15 years ago2005-11-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Nov 2008 05:31:36 +0000 (05:31 -0000)]
2005-11-26  Atsushi Enomoto  <atsushi@ximian.com>

* App.config, nunit-console.exe.config,
  nunit-console.exe.config.net_2_0,
  nunit-console.exe.config.net_3_5 : remove extra trace listener.

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

15 years ago2005-11-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Nov 2008 05:20:35 +0000 (05:20 -0000)]
2005-11-26  Atsushi Enomoto  <atsushi@ximian.com>

* CommonAssemblyInfo.cs : why is it required in extra-distfiles?

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

15 years ago2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 26 Nov 2008 04:10:31 +0000 (04:10 -0000)]
2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* reflection.c: (_mono_reflection_parse_type) skip leading spaces in
the type name (test added in corlib).

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

15 years ago2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 26 Nov 2008 04:08:53 +0000 (04:08 -0000)]
2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TypeTest.cs: new test for Type.GetType.

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

15 years ago2005-11-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Nov 2008 03:19:51 +0000 (03:19 -0000)]
2005-11-25  Atsushi Enomoto  <atsushi@ximian.com>

* ConsoleClient/nunit-console-exe/nunit-console.exe.config.net_3_5 :
  missing.

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

15 years ago2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 26 Nov 2008 02:56:03 +0000 (02:56 -0000)]
2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpContext.cs: MS does not throw. They just return null.

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