mono.git
15 years agoNew test.
Marek Safar [Fri, 30 Jan 2009 14:54:22 +0000 (14:54 -0000)]
New test.

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

15 years ago2009-01-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 30 Jan 2009 14:41:37 +0000 (14:41 -0000)]
2009-01-30  Marek Safar  <marek.safar@gmail.com>

A fix for bug #470767
* statement.cs: Introduced BlockScopeExpression, needed when
expression tree conversion has to emit scope variables.

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

15 years ago2009-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Jan 2009 13:45:39 +0000 (13:45 -0000)]
2009-01-30  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Emuate OP_FCONV_TO_I when using soft float.

* mini-arm.c (emit_load_volatile_arguments): Avoid an unneccesary assert.

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

15 years ago2009-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Jan 2009 13:32:51 +0000 (13:32 -0000)]
2009-01-30  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Register mono_isfinite.

* jit-icalls.c (mono_isfinite): New jit icall.

* method-to-ir.c (mono_decompose_soft_float): Add support for OP_CKFINITE.

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

15 years ago2009-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Jan 2009 13:01:02 +0000 (13:01 -0000)]
2009-01-30  Zoltan Varga  <vargaz@gmail.com>

* exceptions-arm.c (mono_arch_find_jit_info): When unwinding using the LMF,
set esp to ARMREG_FP instead of R12, since R12 stores the value of sp for
the parent frame.

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

15 years ago2009-01-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 30 Jan 2009 12:48:29 +0000 (12:48 -0000)]
2009-01-30 Rodrigo Kumpera <rkumpera@novell.com>

* exceptions-arm.c (mono_arch_find_jit_info): The frame layout on arm have
separate frame and stack pointers, so we must use FP to find the register
spill area.
The FP reg is retrieved from the MonoContext::regs array.

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

15 years ago2009-01-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 30 Jan 2009 12:48:22 +0000 (12:48 -0000)]
2009-01-30  Rodrigo Kumpera  <rkumpera@novell.com>

* mini-arm.c (mono_arch_output_basic_block): Emit two cond ops for OP_FBGE
as FPA requires it.

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

15 years ago2009-01-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 30 Jan 2009 12:48:02 +0000 (12:48 -0000)]
2009-01-30  Rodrigo Kumpera  <rkumpera@novell.com>

* mini-arm.c (mono_arch_emit_setret): Emit OP_FMOVE for methods that
return R4 and R8 when not running under softfloat.

Fixes basic-calls.exe

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

15 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Fri, 30 Jan 2009 12:27:45 +0000 (12:27 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* TaskEngine.cs (GetObjectFromString): Empty value is allowed only for
arrays.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

* ProjectTest.cs (TestRequiredTask_*): New.
(TestBatchedMetadataRef5): New.

In class/Microsoft.Build.Engine/Test/resources:

* TestTasks.cs (RequiredTestTask): Rename to ..
(RequiredTestTask_TaskItems): .. this.
(RequiredTestTask_*): New types.

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

15 years ago2009-01-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Jan 2009 12:13:56 +0000 (12:13 -0000)]
2009-01-30  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs : surrogate characters are handled in
  InternalGetChars() but not in InternalGetCharCount().
  Fixed bug #415628.

* UTF8EncodingTest.cs : added test for bug #415628.

* 415628.bin : new test resource.

* Makefile: new resource, new EXTRA_DIST mess.

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

15 years ago* Copy.cs (Execute): Use for loop instead of enumerators.
Ankit Jain [Fri, 30 Jan 2009 11:59:45 +0000 (11:59 -0000)]
* Copy.cs (Execute): Use for loop instead of enumerators.
sourceFiles and destinationFiles can be null, handle that.
Create new directory if required.

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

15 years ago2009-01-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Jan 2009 11:14:22 +0000 (11:14 -0000)]
2009-01-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaValidator.cs : when xsi:nil is true, do not validate
  text string. Fixed bug #469713.

* XsdValidatingReader.cs : when xsi:nil is true, do not validate
  text string.

* XmlSchemaValidatorTests.cs : added test for bug #469713.

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

15 years ago2009-01-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Jan 2009 08:13:06 +0000 (08:13 -0000)]
2009-01-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaElement.cs : to reference elementFormDefault, use its
  ancestor, not the schema island root.

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

15 years ago2009-01-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Jan 2009 03:17:39 +0000 (03:17 -0000)]
2009-01-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaValidatingReader.cs : implement IHasXmlParserContext to
  pass possible DTD information.

* DTDValidatingReader2.cs, EntityResolvingXmlReader.cs : simplify
  parsercontext provision.
* XmlValidatingReader.cs : expand parser context provision to
  non-dtdvalidating readers.

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

15 years agoFix the build
Zoltan Varga [Fri, 30 Jan 2009 01:21:32 +0000 (01:21 -0000)]
Fix the build

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

15 years ago2009-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Jan 2009 01:17:20 +0000 (01:17 -0000)]
2009-01-30  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c: Implement some overflow opcodes.

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

15 years ago2009-01-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 30 Jan 2009 00:54:07 +0000 (00:54 -0000)]
2009-01-29  Miguel de Icaza  <miguel@novell.com>

* ssa.c: handle another alloca.h

* mini-exceptions.c (mono_handle_native_sigsegv): Do not use
PLATFORM_WIN32 for detecting if we have sigaction.   Instead use
MONO_ARCH_USE_SIGACTION.

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

15 years ago2009-01-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 30 Jan 2009 00:48:17 +0000 (00:48 -0000)]
2009-01-29  Miguel de Icaza  <miguel@novell.com>

* aot-runtime.c, mini-exceptions.c: Replace platform define with
capability defines.

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

15 years agoNeed config.h to check for HAVE_ALLOCA_H
Miguel de Icaza [Fri, 30 Jan 2009 00:43:24 +0000 (00:43 -0000)]
Need config.h to check for HAVE_ALLOCA_H

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

15 years ago2009-01-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 30 Jan 2009 00:38:55 +0000 (00:38 -0000)]
2009-01-29  Miguel de Icaza  <miguel@novell.com>

* method-to-ir.c (mono_method_to_ir): Type cast fix on some platforms.

* mini-ppc.h (MONO_ARCH_USE_SIGACTION): Do not define this for all
PPC targets as sigaction does not exist on all platforms, define
this on a per-platform basis.

Instead of erroring out if the platform is not defined, include
mini-ppc-os.h, and expect that the OS specific setting provides
the required information.

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

15 years agoTiny fixio
Miguel de Icaza [Fri, 30 Jan 2009 00:25:20 +0000 (00:25 -0000)]
Tiny fixio

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

15 years ago2009-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Jan 2009 00:15:43 +0000 (00:15 -0000)]
2009-01-30  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Fix --enable-minimal=aot.

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

15 years ago2009-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Jan 2009 00:08:58 +0000 (00:08 -0000)]
2009-01-30  Zoltan Varga  <vargaz@gmail.com>

* exceptions-arm.c (mono_arch_get_throw_exception_generic): Fix the
previous change.

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jan 2009 22:14:03 +0000 (22:14 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

* exceptions-arm.c: Fix warnings.

* tramp-arm.c aot-compiler.c unwind.h unwind.c: Implement xdebug support for
ARM.

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jan 2009 21:36:06 +0000 (21:36 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c: Fix --enable-minimal=jit build.

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

15 years agoFix another DISABLE_JIT problem.
Zoltan Varga [Thu, 29 Jan 2009 20:55:19 +0000 (20:55 -0000)]
Fix another DISABLE_JIT problem.

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jan 2009 20:37:26 +0000 (20:37 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Remove -Wcast-align from the warning list, it leads to a lot of
useless warnings which can only be fixed by casting a pointer to (void*).

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jan 2009 20:32:46 +0000 (20:32 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Really fix --enable-minimal=jit build.

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jan 2009 19:50:08 +0000 (19:50 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

* mini.c (construct_object_context_for_method): Move this outside
the DISABLE_JIT block to fix the --enable-minimal=jit build.

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

15 years ago* SqlCommandTest.cs: Added test for bug #470579.
Gert Driesen [Thu, 29 Jan 2009 19:10:44 +0000 (19:10 -0000)]
* SqlCommandTest.cs: Added test for bug #470579.

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jan 2009 18:58:09 +0000 (18:58 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

"Backported" of r124984 from 2.0 branch.

* aot-compiler.c aot-runtime.c: Add full-aot support delegate BeginInvoke/EndInvoke.

"Backport" of r124977 + r124978 from 2.0 branch.

* exceptions-arm.c (mono_arm_throw_exception_by_token): New helper function
to avoid calling mono_exception_from_token () from the throw trampoline.
(mono_arch_get_throw_exception_generic): call throw_exception_by_token
for throwing corlib exceptions, this fixes full-aot support for corlib
exceptions.

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

15 years agofix the 1.x build. Patch from Marek Safar
Gonzalo Paniagua Javier [Thu, 29 Jan 2009 18:56:42 +0000 (18:56 -0000)]
fix the 1.x build. Patch from Marek Safar

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jan 2009 18:31:08 +0000 (18:31 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (compile_method): Make a copy of cfg->locals to fix the build.

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

15 years ago2009-01-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 29 Jan 2009 18:01:59 +0000 (18:01 -0000)]
2009-01-29  Miguel de Icaza  <miguel@novell.com>

* configure.in: Add a couple of new AM conditionals for POSIX and
DARWIN, these are used to conditionally include some files in
mono/mini.

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

15 years ago2009-01-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 29 Jan 2009 17:57:40 +0000 (17:57 -0000)]
2009-01-29  Miguel de Icaza  <miguel@novell.com>

* mini-darwin.c, mini-windows.c, mini-posix.c: Commit the first
part of the changes to split the code in mini into operating
system specific files.

This patch was done by copying mini.c to the respective files to
preserve SVN history.

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

15 years agoCopy
Miguel de Icaza [Thu, 29 Jan 2009 17:53:59 +0000 (17:53 -0000)]
Copy

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

15 years agoCopy
Miguel de Icaza [Thu, 29 Jan 2009 17:53:54 +0000 (17:53 -0000)]
Copy

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

15 years agoCopy
Miguel de Icaza [Thu, 29 Jan 2009 17:53:50 +0000 (17:53 -0000)]
Copy

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

15 years ago2009-01-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 29 Jan 2009 17:20:39 +0000 (17:20 -0000)]
2009-01-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Tds70.cs: fix for output parameters and '@'.
Fixes bug #470579. Patch from Varadhan.

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

15 years ago2009-01-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 29 Jan 2009 16:42:47 +0000 (16:42 -0000)]
2009-01-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpApplicationFactory.cs: fix check that avoids lock. Keep one
HttpApplication instance ready to be returned in an instance variable
to avoid a few locks.

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jan 2009 15:26:33 +0000 (15:26 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

* shared.c: Fall back to file based shared storage if shm_open () fails
because /dev/shm is not mounted.

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jan 2009 15:13:47 +0000 (15:13 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_method_dwarf_info): Add minimal support for locals.

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

15 years agoClarified details regarding non-LGPL use to specify both Mono and Moonlight
Joseph Hill [Thu, 29 Jan 2009 14:51:39 +0000 (14:51 -0000)]
Clarified details regarding non-LGPL use to specify both Mono and Moonlight

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

15 years ago2009-01-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 29 Jan 2009 14:06:53 +0000 (14:06 -0000)]
2009-01-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* XplatUIX11.cs: We should use utf8 handling clipboard transference
with other x11 applications, and use utf16 when handling clipboard
data in the class library. Update the related points as well.
Fixes #468683.

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jan 2009 13:13:10 +0000 (13:13 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

* shared.c: Add an alternative implementation using shared memory instead of
files. This fixes problems where the mono process would spin up the disk
every x secs on laptops. Fixes #434566, #415373 and #321949.

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

15 years agofix build
Jb Evain [Thu, 29 Jan 2009 12:52:51 +0000 (12:52 -0000)]
fix build

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

15 years ago2009-01-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 29 Jan 2009 11:39:42 +0000 (11:39 -0000)]
2009-01-29  Marek Safar  <marek.safar@gmail.com>

* class.cs: Remove duplicate CallingConvention.

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

15 years ago2009-01-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 29 Jan 2009 11:09:23 +0000 (11:09 -0000)]
2009-01-29  Marek Safar  <marek.safar@gmail.com>

*.cs: Rename Parameters to ParametersCompiled and ParametersImported
when I finally found the right naming convention.

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

15 years ago2009-01-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 29 Jan 2009 10:46:00 +0000 (10:46 -0000)]
2009-01-29  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs: Put back different open parens optimization.

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jan 2009 00:00:55 +0000 (00:00 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

* mono-gdb.py mono-gdbinit: Support files to help debugging mono/mono apps
using a python enabled gdb.

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

15 years ago2009-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 28 Jan 2009 23:42:05 +0000 (23:42 -0000)]
2009-01-29  Zoltan Varga  <vargaz@gmail.com>

* mono-debug.c (mono_debug_print_stack_frame): Print the IL offset even when
there is no line number info.

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

15 years ago2009-01-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 28 Jan 2009 23:28:34 +0000 (23:28 -0000)]
2009-01-29  Marek Habersack  <mhabersack@novell.com>

* HttpApplicationFactory.cs: optimize lock usage

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

15 years ago2009-01-28 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 28 Jan 2009 23:25:52 +0000 (23:25 -0000)]
2009-01-28  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewCell.cs: Format strings according to the supplied
CellStyle.Format.
[Fixes bug #470384]

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

15 years ago2009-01-28 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 28 Jan 2009 23:22:09 +0000 (23:22 -0000)]
2009-01-28  Bill Holmes  <billholmes54@gmail.com>

* Uri.cs (IsWellFormedUriString):  Changing IsWellFormedUriString
  to not throw an exception but return false instead.

Contributed under MIT/X11 license.

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

15 years ago2009-01-28 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 28 Jan 2009 22:47:24 +0000 (22:47 -0000)]
2009-01-28  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Reset the hover cell if it gets moved due to row(s)
addition or removal. Fixes multiple crashes in OnMouseMove.

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

15 years agoAvoid some MonoType allocations
Raja R Harinath [Wed, 28 Jan 2009 21:05:41 +0000 (21:05 -0000)]
Avoid some MonoType allocations

* reflection.c (mono_reflection_initialize_generic_parameter):
Reuse MonoType from param->pklass rather than allocating one.
(mono_dynamic_image_free): Update to changes.

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

15 years agoRearrange some code to improve consistency
Raja R Harinath [Wed, 28 Jan 2009 21:05:18 +0000 (21:05 -0000)]
Rearrange some code to improve consistency

* reflection.c (mono_reflection_setup_generic_class): Move body ...
(mono_reflection_initialize_generic_parameter): ... here.

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

15 years agoUpdate
Miguel de Icaza [Wed, 28 Jan 2009 21:04:56 +0000 (21:04 -0000)]
Update

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

15 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Wed, 28 Jan 2009 20:05:01 +0000 (20:05 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* BuildItem.cs (child_items): Change type from BuildItemGroup to
List<BuildItem>.
(HasParent): Rename to ..
(HasParentItem): .. this.
(ParentItemGroup): Add setter.

* BuildItemGroup.cs (.ctor): Add overload with @project param.
(AddNewItem):
(AddItem): Correctly set the ParentItemGroup for new build items.
(ParentProject): Add setter.
* Project.cs: Set the project for new BuildItemGroup instances.
* TaskEngine.cs (PublishItemGroup): Likewise.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

* BuildItemTest.cs (TestBuildItemTransform): New.

In class/Microsoft.Build.Engine/Test/resources:

* TestTasks.cs (BatchingTestTask.TaskItemsOutput): New.

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

15 years agoupdate known issues
Raja R Harinath [Wed, 28 Jan 2009 19:43:46 +0000 (19:43 -0000)]
update known issues

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

15 years ago2009-01-28 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 28 Jan 2009 19:40:38 +0000 (19:40 -0000)]
2009-01-28  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/CheckVisibility.cs: use the appropriate Resolve methods.

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

15 years agosmall optimization
Jb Evain [Wed, 28 Jan 2009 19:23:24 +0000 (19:23 -0000)]
small optimization

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

15 years ago2009-01-28 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 28 Jan 2009 19:06:25 +0000 (19:06 -0000)]
2009-01-28  Jb Evain  <jbevain@novell.com>

* AssemblyResolver.cs
  Util.cs
  mono-api-info.cs:
Directly use the Resolve methods from Cecil.

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

15 years ago2009-01-28 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 28 Jan 2009 19:06:14 +0000 (19:06 -0000)]
2009-01-28  Jb Evain  <jbevain@novell.com>

* Mono.Linker/AssemblyResolver.cs
  Mono.Linker.Steps/MarkStep.cs:
Directly use the Resolve methods from Cecil.

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

15 years ago2009-01-28 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 28 Jan 2009 19:06:00 +0000 (19:06 -0000)]
2009-01-28  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/MetadataResolver.cs:
Add new MetadataResolver.

* Mono.Cecil/GenericParameter.cs
  Mono.Cecil/FieldDefinition.cs
  Mono.Cecil/TypeReference.cs
  Mono.Cecil/GenericInstanceMethod.cs
  Mono.Cecil/IMemberDefinition.cs
  Mono.Cecil/TypeDefinition.cs
  Mono.Cecil/PropertyReference.cs
  Mono.Cecil/EventReference.cs
  Mono.Cecil/MethodDefinition.cs
  Mono.Cecil/EventDefinition.cs
  Mono.Cecil/ModuleDefinition.cs
  Mono.Cecil/MethodReference.cs
  Mono.Cecil/FieldReference.cs
  Mono.Cecil/ParameterDefinition.cs
  Mono.Cecil/PropertyDefinition.cs
  Mono.Cecil/ParameterReference.cs
  Mono.Cecil.Cil/VariableReference.cs
  Mono.Cecil.Cil/VariableDefinition.cs:
Add Resolve to Definition methods on References.

* Mono.Cecil.dll.sources, Mono.Cecil.csproj: add MetadataResolver.cs

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

15 years agoFix a warning.
Zoltan Varga [Wed, 28 Jan 2009 16:58:21 +0000 (16:58 -0000)]
Fix a warning.

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

15 years agocosmetic diff
Jb Evain [Wed, 28 Jan 2009 16:41:38 +0000 (16:41 -0000)]
cosmetic diff

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

15 years ago2009-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 28 Jan 2009 16:40:49 +0000 (16:40 -0000)]
2009-01-28  Zoltan Varga  <vargaz@gmail.com>

* generic-sharing.c (has_constraints): Enable gshared for methods/classes
with type constraints as an experiment.

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

15 years agocosmetic diff
Jb Evain [Wed, 28 Jan 2009 16:38:17 +0000 (16:38 -0000)]
cosmetic diff

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

15 years ago2009-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 28 Jan 2009 16:19:01 +0000 (16:19 -0000)]
2009-01-28  Zoltan Varga  <vargaz@gmail.com>

* generic-marshalbyref.2.cs: Also do the test for a class without type
constraints.

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

15 years ago2009-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 28 Jan 2009 16:18:05 +0000 (16:18 -0000)]
2009-01-28  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Avoid generic sharing for calls made to
remoting-invoke-with-check wrappers of shared methods.

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

15 years agoNew test.
Marek Safar [Wed, 28 Jan 2009 16:13:30 +0000 (16:13 -0000)]
New test.

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

15 years ago2009-01-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 28 Jan 2009 16:12:37 +0000 (16:12 -0000)]
2009-01-28  Marek Safar  <marek.safar@gmail.com>

A fix for bug #470227
* cs-tokenizer.cs: Remove too agressive parser optimization.

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

15 years agoCopied a few more stub files
Marek Habersack [Wed, 28 Jan 2009 15:37:05 +0000 (15:37 -0000)]
Copied a few more stub files

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

15 years agoMore attribution/header updates
Marek Habersack [Wed, 28 Jan 2009 15:25:02 +0000 (15:25 -0000)]
More attribution/header updates

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

15 years ago2009-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 28 Jan 2009 14:55:48 +0000 (14:55 -0000)]
2009-01-28  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (on_gc_notification): Update mono_stats.

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

15 years ago2009-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 28 Jan 2009 14:54:52 +0000 (14:54 -0000)]
2009-01-28  Zoltan Varga  <vargaz@gmail.com>

* mini.c (print_jit_stats): Print out major gc count/time for libgc too.

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

15 years agoAdded copies of some .jvm.cs files
Marek Habersack [Wed, 28 Jan 2009 14:51:30 +0000 (14:51 -0000)]
Added copies of some .jvm.cs files

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

15 years agoAdded attribution and copyright headers
Marek Habersack [Wed, 28 Jan 2009 14:42:28 +0000 (14:42 -0000)]
Added attribution and copyright headers

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

15 years agoNew test, update.
Marek Safar [Wed, 28 Jan 2009 12:34:17 +0000 (12:34 -0000)]
New test, update.

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

15 years agoBetter error message.
Marek Safar [Wed, 28 Jan 2009 12:34:00 +0000 (12:34 -0000)]
Better error message.

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

15 years agoUpdate.
Marek Safar [Wed, 28 Jan 2009 12:27:03 +0000 (12:27 -0000)]
Update.

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

15 years ago2009-01-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 28 Jan 2009 12:26:47 +0000 (12:26 -0000)]
2009-01-28  Marek Safar  <marek.safar@gmail.com>

A fix for bug #324319
* class.cs: Remove too early base type resolve.

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

15 years agoAvoid some allocations
Raja R Harinath [Wed, 28 Jan 2009 07:30:59 +0000 (07:30 -0000)]
Avoid some allocations

* class-internals.h (_MonoGenericInst::type_argv): Convert from
pointer to tail array to avoid extra allocation.
* metadata.c (free_generic_inst): Update to changes.
(mono_metadata_get_generic_inst): Likewise.  Use alloca instead of
on-stack struct.

This adds a blit to get_generic_inst as compared to the original version.
However, both arms of the 'if' in there traverse the 'type_argv' array
_fully_ with 'for' loops, recursion and whatnot; the extra blit is unlikely
to add overhead.

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

15 years agoRevert r124658. Either full verification isn't ready or our generated code is
Raja R Harinath [Wed, 28 Jan 2009 06:23:36 +0000 (06:23 -0000)]
Revert r124658.  Either full verification isn't ready or our generated code is
buggy -- either way, it isn't the right time to enable it, since it breaks
'make compiler-tests'

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

15 years ago2009-01-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 28 Jan 2009 00:00:06 +0000 (00:00 -0000)]
2009-01-16  Miguel de Icaza  <miguel@novell.com>

* sockets.c (WSASend): Fix memory leak, and optimize for the case
with 1 segment.

This should really use writev or sendmsg to use the kernel
scatter/gather facility instead of emulating it by copying buffers.

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

15 years agoNew test, update.
Marek Safar [Tue, 27 Jan 2009 22:42:27 +0000 (22:42 -0000)]
New test, update.

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

15 years ago2009-01-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 27 Jan 2009 22:41:54 +0000 (22:41 -0000)]
2009-01-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #324319
* ecore.cs: Explicitly type null when assigning to type argument to
make pass verifier check.

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

15 years ago2009-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Jan 2009 21:57:34 +0000 (21:57 -0000)]
2009-01-27  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add a test for #467229.

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

15 years ago2009-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Jan 2009 21:56:31 +0000 (21:56 -0000)]
2009-01-27  Zoltan Varga  <vargaz@gmail.com>

* Type.cs (GetHashCode): Work on UnderlyingSystemType. Fixes #467229.

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

15 years ago2009-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Jan 2009 21:45:26 +0000 (21:45 -0000)]
2009-01-27  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Type_EqualsInternal): For user-defined types,
return TRUE if the two type objects are the same.

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

15 years ago2009-01-27 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 27 Jan 2009 21:12:43 +0000 (21:12 -0000)]
2009-01-27  Mark Probst  <mark.probst@gmail.com>

* method-to-ir.c (emit_stloc_ir): Only apply the reg-reg move
optimization if the top of stack is the last instruction in the
bblock.  Otherwise it might have been used after its definition.
Fixes #469742.

2009-01-27  Mark Probst  <mark.probst@gmail.com>

* bug469742.2.il: New test.

* Makefile.am: Test added.

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

15 years ago2009-01-27 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 27 Jan 2009 20:37:49 +0000 (20:37 -0000)]
2009-01-27  Jb Evain  <jbevain@novell.com>

* configure.in: bump Mono's version to 2.5 now that 2.4
has been branched.

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

15 years ago2009-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Jan 2009 18:06:58 +0000 (18:06 -0000)]
2009-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_magic_trampoline): Print out the caller
method as well when get_vcall_slot () fails to match a code sequence.

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

15 years ago2009-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Jan 2009 17:07:34 +0000 (17:07 -0000)]
2009-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c: Fix the android build, which doesn't have
__aeabi_read_tp.

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

15 years ago2009-01-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 27 Jan 2009 16:46:16 +0000 (16:46 -0000)]
2009-01-27  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Fix a NRE when setting the CurrentCell to null.

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

15 years ago2009-01-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 27 Jan 2009 16:39:20 +0000 (16:39 -0000)]
2009-01-27  Ivan N. Zlatev  <contact@i-nz.net>

* XplatUIX11.cs: Fire Timer.Tick even if there is no MainForm for the
current context.
[Fixes bug #469239]

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

15 years ago2009-01-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 27 Jan 2009 14:25:00 +0000 (14:25 -0000)]
2009-01-27  Marek Habersack  <mhabersack@novell.com>

* HttpHandlerAction.cs: removed the matches cache, it doesn't
improve matters here in 99% of the cases.
Regexps are no longer used to match handler paths, SearchPattern
is used instead.

2009-01-27  Marek Habersack  <mhabersack@novell.com>

* SearchPattern.cs: added

2009-01-27  Marek Habersack  <mhabersack@novell.com>

* System.Web.dll.sources: added System.Web.Util/SearchPattern.cs

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

15 years ago2009-01-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 27 Jan 2009 14:13:11 +0000 (14:13 -0000)]
2009-01-27  Marek Safar  <marek.safar@gmail.com>

* runtime/Makefile.am: Run full verification checks

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

15 years ago2009-01-27 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 27 Jan 2009 13:29:58 +0000 (13:29 -0000)]
2009-01-27  Jb Evain  <jbevain@novell.com>

* HashSet.cs: use Paolo's trick to return items in insertion order
when possible.

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