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

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

* ConsoleClient/nunit-console-exe/Makefile : more :(

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

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

* ConsoleClient/nunit-console/Makefile : here this time :(

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

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

* NUnitCore/interfaces/Makefile: another one bites the dust :(

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

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

* Makefile, NUnitExtensions/docs :
  well, just remove those extra empty stuff.

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

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

* Makefile : more fix extra distfiles (whitespace in filename).

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

15 years ago2005-11-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Nov 2008 23:56:57 +0000 (23:56 -0000)]
2005-11-25  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : remove nonexistent distfiles.

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

15 years agoMIPS to use ELF writer
Mark Mason [Tue, 25 Nov 2008 23:20:50 +0000 (23:20 -0000)]
MIPS to use ELF writer

Contributed under the MIT X11 license.

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

15 years ago2008-11-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Nov 2008 22:09:40 +0000 (22:09 -0000)]
2008-11-25  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : replace nunit20 with nunit24.

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

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

* import NUnit 2.4.8 to replace with fresh version.

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

15 years agoupdate nunit options that break upgrade to 2.4.
Atsushi Eno [Tue, 25 Nov 2008 21:36:44 +0000 (21:36 -0000)]
update nunit options that break upgrade to 2.4.

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

15 years agoRemove MIPS-specific assert.
Mark Mason [Tue, 25 Nov 2008 21:22:35 +0000 (21:22 -0000)]
Remove MIPS-specific assert.

This commit is licensed under the MIT X11 license.

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

15 years agoonly install the net_1_1 version of Cecil.Mdb
Jb Evain [Tue, 25 Nov 2008 18:33:37 +0000 (18:33 -0000)]
only install the net_1_1 version of Cecil.Mdb

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

15 years agoonly install the net_1_1 version of Cecil
Jb Evain [Tue, 25 Nov 2008 18:30:04 +0000 (18:30 -0000)]
only install the net_1_1 version of Cecil

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

15 years agoupdate
Jb Evain [Tue, 25 Nov 2008 18:25:50 +0000 (18:25 -0000)]
update

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

15 years ago2008-11-25 Atsushi Enomoto <atsushi@ximian.com>
Jb Evain [Tue, 25 Nov 2008 18:25:00 +0000 (18:25 -0000)]
2008-11-25  Atsushi Enomoto  <atsushi@ximian.com>
            Jb Evain  <jbevain@novell.com>

* WellFormedXmlWriter.cs : new file to escape invalid XML
  characters.
* mono-api-info.cs mono-api-diff.cs : don't use XmlTextWriter
  directly when you don't know what you are going to write.
  escape invalid characters as \xXX or \uUUUU.

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

15 years ago2008-11-25 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 25 Nov 2008 18:04:25 +0000 (18:04 -0000)]
2008-11-25  Geoff Norton  <gnorton@novell.com>

        * SynchronizationContext.cs: A temporary horrible hack to SyncContext
        to hard-wire all calls back to the main thread (moonlight-only) so that
        we can use our unit test harness.  This will be fixed for 2.1 when we
        implement Dispatcher properly.

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

15 years agoNew test.
Marek Safar [Tue, 25 Nov 2008 16:30:18 +0000 (16:30 -0000)]
New test.

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

15 years ago2008-11-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 25 Nov 2008 16:29:43 +0000 (16:29 -0000)]
2008-11-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #447027
* anonymous.cs (HoistedVariable): Cache also outer access to deal
with context variables stored as expression instances.

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

15 years agofixes build
Marek Safar [Tue, 25 Nov 2008 15:23:04 +0000 (15:23 -0000)]
fixes build

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

15 years agoNew tests.
Marek Safar [Tue, 25 Nov 2008 15:01:35 +0000 (15:01 -0000)]
New tests.

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

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

A fix for bug #447027
* delegate.cs: Fixed delegate VerifyMethod logic.

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

15 years ago2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 25 Nov 2008 13:40:44 +0000 (13:40 -0000)]
2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* pedump.c: initialize perf. counters. Fixes a segv.

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

15 years ago2008-11-24 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Tue, 25 Nov 2008 13:27:02 +0000 (13:27 -0000)]
2008-11-24  Everaldo Canuto  <ecanuto@novell.com>
* PrintPreviewDialog.cs: Fix toolbar size, height must be 26. Fixes bug
#413501.

2008-11-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

15 years ago2008-11-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 25 Nov 2008 10:50:56 +0000 (10:50 -0000)]
2008-11-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Scrollbar.cs:
* ScrollableControl.cs: Simplify the code to manually set the size of
the thum area, avoiding duplication of code, and also preserving the
right value for different code paths - this can happen when size
changes are made to the scrollbar after setting LargeChange, Maximum
or related properties for the ScrollBar.

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

15 years ago2008-11-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Nov 2008 10:32:45 +0000 (10:32 -0000)]
2008-11-25  Atsushi Enomoto  <atsushi@ximian.com>

* DbDataRecord.cs : it is abstract, so create different impl. class.
* DbEnumerator.cs : use above.

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

15 years ago2008-11-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 25 Nov 2008 08:56:26 +0000 (08:56 -0000)]
2008-11-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Consts.cs.in: Update Silverlight's FxFileVersion to final
  version number of Silverlight 2.

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

15 years ago2008-11-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 25 Nov 2008 08:39:32 +0000 (08:39 -0000)]
2008-11-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ScrollableControl.cs: When scrolling, don't invalidate the entire
area, and call to XplatUIX11.ScrollWindow instead. This is exactly
what .Net does: copy the visible area, and only invalidate the part of
the area that wasn't visible before scrolling.
Fixes #441738.

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

15 years ago2008-11-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Nov 2008 01:18:18 +0000 (01:18 -0000)]
2008-11-25  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c
(mono_debugger_runtime_invoke): Return the exception object if an
exception was thrown.  Visual Studio displays the exception object
in the locals window.

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

15 years ago2008-11-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 25 Nov 2008 00:51:21 +0000 (00:51 -0000)]
2008-11-25  Marek Habersack  <mhabersack@novell.com>

* System.Web.dll.sources: added
System.Web.Compilation/AspComponent.cs

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

* RootBuilder.cs: use new API in AspComponentFoundry to retrieve
registered control type.

* TemplateControlParser.cs: AddControlImports () removed. Its
functionality is now implemented in ControlBuilder.AddChild in a
more elegant, fine grained and correct way.

* TemplateParser.cs: replaced some "" with String.Empty

* ControlBuilder.cs: AddChild now adds an import for child's
namespace if the control being added has been registered in the
web.config file. Possible fix for #447896 and #447898

* PageParser.cs, MasterPageParser.cs: do not call
AddControlImports, it no longer exists.

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

* AspComponentFoundry.cs: GetComponentType methods replaced with
GetComponent returning an instance of AspComponent which fully
describes the registered item. Components are cached, indexed by
full tag name.

* AspComponent.cs: added

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

15 years ago2008-11-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 25 Nov 2008 00:08:23 +0000 (00:08 -0000)]
2008-11-25  Mark Probst  <mark.probst@gmail.com>

* mini-ppc64.c, mini-ppc64.h, tramp-ppc64.c, cpu-ppc64.md: Several
fixes.  PPC64 now passes most of the runtime regressions.

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

15 years ago2008-11-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 25 Nov 2008 00:04:13 +0000 (00:04 -0000)]
2008-11-24  Mark Probst  <mark.probst@gmail.com>

* mini-trampolines.c (mono_delegate_trampoline): Don't return a
ftnptr.

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

15 years ago2008-11-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 24 Nov 2008 23:58:58 +0000 (23:58 -0000)]
2008-11-24  Mark Probst  <mark.probst@gmail.com>

* marshal.c (mono_type_native_stack_size): MONO_TYPE_I and
MONO_TYPE_U are sizeof (gpointer), too.

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

15 years ago2008-11-24 Geoff Norton <gnorton@novell.com>
Geoff Norton [Mon, 24 Nov 2008 18:43:20 +0000 (18:43 -0000)]
2008-11-24  Geoff Norton  <gnorton@novell.com>

* gdipFunctions.cs: Ensure that System.Drawing works on the mac as
well as unix.

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

15 years ago2008-11-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Nov 2008 18:31:48 +0000 (18:31 -0000)]
2008-11-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Listen for a DataTable's TableCleared event so we
can clear ourselves when it is raised, we don't have a newrowindex
if we don't have any columns.
* DataGridViewRowCollection.cs: Ensure we always delete all the rows,
re-index after each delete so the NewRow will have the correct index.
[Fixes bug #448005]

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

* DataGridViewDataBindingTest.cs: Flush and add test for bug #448005.
* DataGridViewRowCollectionTest.cs: Add test for bug #448005.

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

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

* freebsd-elf_common.h (struct): Use uint32_t instead of
u_int32_t to fix the build on opensolaris.

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

15 years agoFix a warning.
Zoltan Varga [Mon, 24 Nov 2008 17:03:56 +0000 (17:03 -0000)]
Fix a warning.

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

15 years ago2008-11-24 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 24 Nov 2008 16:54:09 +0000 (16:54 -0000)]
2008-11-24  Jb Evain  <jbevain@novell.com>

* Mono.Linker.Steps/ResolveFromAssemblyStep.cs
* Mono.Linker.Steps/ResolveFromXmlStep.cs
* Mono.Linker.Steps/MarkStep.cs:
generalize the use of the new Has* pattern in Cecil
to avoid unecessary allocations. Also cache delegates.

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

15 years agoNew test.
Marek Safar [Mon, 24 Nov 2008 16:53:25 +0000 (16:53 -0000)]
New test.

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

15 years ago2008-11-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 24 Nov 2008 16:46:29 +0000 (16:46 -0000)]
2008-11-24  Marek Safar  <marek.safar@gmail.com>

* ecore.cs, delegate.cs: MethodGroup expressions can be applicable
but not verifiable.

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

15 years ago2008-11-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Nov 2008 16:39:40 +0000 (16:39 -0000)]
2008-11-23  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Add test for bug #447873.

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

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

* Form.cs: Don't change min/max size if it is empty.
[Fixes bug #447873]

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

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

* regalloc2.c: Distinguish between use/def positions. Optimize the creation of
volatile intervals a bit.

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

15 years ago2008-11-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 24 Nov 2008 16:22:00 +0000 (16:22 -0000)]
2008-11-24  Marek Habersack  <mhabersack@novell.com>

* HttpRuntime.cs: take PlatformID.MacOSX into account when
determining whether we're running on Windows or not. Possible fix
for #447874

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

15 years ago2008-11-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 24 Nov 2008 14:16:34 +0000 (14:16 -0000)]
2008-11-24  Mark Probst  <mark.probst@gmail.com>

* marshal.c (mono_type_native_stack_size): Fixed size and
alignment for reference types.

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

15 years ago2008-11-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 24 Nov 2008 12:32:19 +0000 (12:32 -0000)]
2008-11-24  Mark Probst  <mark.probst@gmail.com>

* basic-long.cs: New test case.

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

15 years ago2008-11-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 24 Nov 2008 11:22:01 +0000 (11:22 -0000)]
2008-11-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ScrollBar.cs:
* ScrollableControl.cs: When the manual thumb size is used, the
maximum allowed value should depend on that thumb size, instead of
LargeChange (using the maximum - LargeChange + 1 value). But
LargeChange should be used normally when incrementing/decrementing.
Fixes the remaining part of #441546.

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

15 years ago2008-11-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Nov 2008 21:25:02 +0000 (21:25 -0000)]
2008-11-23  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_method_compile): Disable globalra for large methods for
now.

* regalloc2.c (order_moves): Add fp support.

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

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

* branch-opts.c (mono_remove_critical_edges): Split non-critical edges whose
source bblock ends with an OP_BR_REG.

* ratests.cs: Add a new test.

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

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

* mini-ppc64.c, mini-ppc64.h, tramp-ppc64.c: Disable generic code
sharing.  PPC64 now passes generics.exe.

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

* class.c (mono_class_generic_sharing_enabled): Disable generic
code sharing for PPC64.

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

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

* mini-ppc64.c: Several fixes.  PPC64 now runs iltests.exe.

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

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

* exceptions-x86.c (mono_arch_find_jit_info): Avoid reading uninitialized
memory when mono_jit_info_table_find () can't find the method in the
LMF case.

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

15 years ago* WebBrowser.cs, WebBrowserBase.cs: Delay loading of DocumentStream
Andreia Gaita [Sun, 23 Nov 2008 15:21:42 +0000 (15:21 -0000)]
* WebBrowser.cs, WebBrowserBase.cs: Delay loading of DocumentStream
until an about:blank has been loaded (according to spec). Fix
ScrollbarsEnabled to set when a document is loaded (since we use js
for it). Fix url so it reflects the current loading document and not
the previous one. Send StatusChanged events.

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

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

15 years ago* Mono.Mozilla/Callback.cs: Catch redirecting and update url accordingly.
Andreia Gaita [Sun, 23 Nov 2008 15:21:31 +0000 (15:21 -0000)]
* Mono.Mozilla/Callback.cs: Catch redirecting and update url accordingly.
Ignore OnLocationChanged, it's not always called, use OnStateChange instead.

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

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

15 years ago* Mono.Mozilla/WebBrowser.cs: Do delayed resizing, when the resize happens
Andreia Gaita [Sun, 23 Nov 2008 15:21:19 +0000 (15:21 -0000)]
* Mono.Mozilla/WebBrowser.cs: Do delayed resizing, when the resize happens
before a window is created. Fix the window getter so it gets the top content
window if no window is focused.

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

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

15 years agoRemoved svn:executable.
Gert Driesen [Sun, 23 Nov 2008 13:48:15 +0000 (13:48 -0000)]
Removed svn:executable.

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

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

* aot-compiler.c(mono_save_xdebug_info): Emit complete debug info for
AOTed code too.

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

15 years ago* test-695.cs:
Gert Driesen [Sun, 23 Nov 2008 13:24:39 +0000 (13:24 -0000)]
* test-695.cs:
* test-695-2-lib.cs:
* test-695-3.lib.cs: Added test for bug #432423.
* AssemblyBuilder.cs: When assembly is strongnamed, then explicitly
set PublicKey flag. Do not allow AssemblyFlagsAttribute to overwrite
flags value, and ignore PublicKey flag if assembly is not strongnamed.
Fixes bug #432423.

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

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

* aot-compiler.c (mono_save_xdebug_info): Make this work with the assembly
writer too.

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