mono.git
16 years agofix test suite
Igor Zelmanovich [Mon, 21 Jan 2008 15:11:55 +0000 (15:11 -0000)]
fix test suite

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

16 years agofixed web service proxy generation.
Igor Zelmanovich [Mon, 21 Jan 2008 14:41:54 +0000 (14:41 -0000)]
fixed web service proxy generation.

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

16 years ago2008-01-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jan 2008 14:39:53 +0000 (14:39 -0000)]
2008-01-21  Jb Evain  <jbevain@novell.com>

* Enumerable.cs (Iterate): protect against null selectors.

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

16 years agooh, they're already in :)
Jb Evain [Mon, 21 Jan 2008 14:19:45 +0000 (14:19 -0000)]
oh, they're already in :)

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

16 years agoremove until Miguel check them in
Jb Evain [Mon, 21 Jan 2008 14:18:41 +0000 (14:18 -0000)]
remove until Miguel check them in

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

16 years agoAdd
Miguel de Icaza [Mon, 21 Jan 2008 14:18:10 +0000 (14:18 -0000)]
Add

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

16 years ago2008-01-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jan 2008 14:12:21 +0000 (14:12 -0000)]
2008-01-21  Jb Evain  <jbevain@novell.com>

* Expression.cs, UnaryExpression.cs, BinaryExpression.cs:
Move the IsUnsigned helper from BinaryExpression to Expression,
so it can be used in UnaryExpression.

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

16 years ago2008-01-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jan 2008 14:09:41 +0000 (14:09 -0000)]
2008-01-21  Jb Evain  <jbevain@novell.com>

* Enumerable.cs: fix IterateNullable.

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

16 years agoconstant rocks
Jb Evain [Mon, 21 Jan 2008 14:08:28 +0000 (14:08 -0000)]
constant rocks

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

16 years agofixed getTreeStructureToSave
Vladimir Krasnov [Mon, 21 Jan 2008 13:25:36 +0000 (13:25 -0000)]
fixed getTreeStructureToSave

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

16 years agoExport Java documentation
Noam Lampert [Mon, 21 Jan 2008 11:40:21 +0000 (11:40 -0000)]
Export Java documentation

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

16 years agoFix date.
Massimiliano Mantione [Mon, 21 Jan 2008 10:20:32 +0000 (10:20 -0000)]
Fix date.

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

16 years ago *class.c:
Massimiliano Mantione [Mon, 21 Jan 2008 10:19:33 +0000 (10:19 -0000)]
*class.c:
mono_generic_class_get_class: hook profiler events.
mono_field_get_offset: added to support heap-shot in the new profiler.
*class.h: exported mono_field_get_offset.
* reflection.c:
mono_reflection_setup_internal_class: hook profiler events.

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

16 years agoForm validation: ensure the collection is accessible after validation failed
Konstantin Triger [Mon, 21 Jan 2008 09:49:27 +0000 (09:49 -0000)]
Form validation: ensure the collection is accessible after validation failed

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

16 years agotypo fix
Igor Zelmanovich [Mon, 21 Jan 2008 09:41:43 +0000 (09:41 -0000)]
typo fix

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

16 years ago2008-01-21 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 21 Jan 2008 09:29:02 +0000 (09:29 -0000)]
2008-01-21 Igor Zelmanovich <igorz@mainsoft.com>

* WebUIValidation_2.0.js:
fixed CompareValidatorEvaluateIsValid.
works correctly with operator="datatypecheck"

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

16 years agoFix for bug 9720. Patterns are fixed for correct working with IBM Java virtual machin...
Arina Itkes [Mon, 21 Jan 2008 08:38:15 +0000 (08:38 -0000)]
Fix for bug 9720. Patterns are fixed for correct working with IBM Java virtual machine too.

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

16 years agoImprove this, still wrong
Miguel de Icaza [Mon, 21 Jan 2008 06:14:06 +0000 (06:14 -0000)]
Improve this, still wrong

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

16 years ago2008-01-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 21 Jan 2008 06:05:28 +0000 (06:05 -0000)]
2008-01-21  Miguel de Icaza  <miguel@novell.com>

* Start code generation for nullables, currently this generates
incorrect code for things like:

Expression<Func<int?, int?, int?>> e2 = (a, b) => a + b;
e2.Compile ().Invoke (null, 3))

This should return null, but returns something else.

* Introduce LINQ_DBG env variable, which generates a linq file in
/tmp;   It currently does not work as well as it should, as the
Func<> parameters do not mwatch the generated method.
Investigate.

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

16 years ago2008-01-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 21 Jan 2008 00:45:16 +0000 (00:45 -0000)]
2008-01-20  Miguel de Icaza  <miguel@novell.com>

Introduce support for Nullable arguments, no code is generated for
these yet, its only tests + node creation behavior at this point.

* Expression.cs (BinaryCoreCheck): Do not allow "int?" and "int"
as operators, they must both be nullable.

NullableTypes in the arguments are transformed into the underlying
values when doing the method validation.

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

16 years ago2008-01-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 21 Jan 2008 00:02:55 +0000 (00:02 -0000)]
2008-01-21  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.h (MONO_ARCH_AOT_SUPPORTED): Disable AOT for apple x86.

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

16 years ago2008-01-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 20 Jan 2008 23:47:06 +0000 (23:47 -0000)]
2008-01-21  Zoltan Varga  <vargaz@gmail.com>

* ResXFileRefTest.cs: Add a test for #354994.

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

16 years ago2008-01-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 20 Jan 2008 23:46:18 +0000 (23:46 -0000)]
2008-01-21  Zoltan Varga  <vargaz@gmail.com>

* ResXFileRef.cs (ConvertFrom): Add special support for MemoryStream. Fixes
#354994.

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

16 years ago2008-01-20 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Sun, 20 Jan 2008 20:44:34 +0000 (20:44 -0000)]
2008-01-20  Juraj Skripsky  <js@hotfeet.ch>

* ReadOnlyCollection.cs: Fix the getters for ICollection.IsSynchronized,
ICollection.SyncRoot and IList.IsFixedSize to match MS.NET.

2008-01-20  Juraj Skripsky  <js@hotfeet.ch>

* ReadOnlyCollectionTest.cs: Add test to verify that ReadOnlyCollection
is indeed only a simple wrapper for a given IList.
Add tests for ICollection.IsSynchronized, IList.IsFixedSize and
IList.IsReadOnly.

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

16 years ago2008-01-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 20 Jan 2008 19:06:30 +0000 (19:06 -0000)]
2008-01-20  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_emit_native_wrapper): Add a 'check_exceptions'
argument here too and use it to avoid checking for pending exceptions if
possible.

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

16 years ago2008-01-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 20 Jan 2008 17:24:46 +0000 (17:24 -0000)]
2008-01-20  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_prolog): Optimize the omit fp case to save two
stack slots.

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

16 years agoTARGET_JVM: call ProfileModule's OnLeave when the action phase ends
Konstantin Triger [Sun, 20 Jan 2008 15:58:57 +0000 (15:58 -0000)]
TARGET_JVM: call ProfileModule's OnLeave when the action phase ends

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

16 years ago* EnvironmentCas.cs: Fixed line ending.
Gert Driesen [Sun, 20 Jan 2008 15:56:18 +0000 (15:56 -0000)]
* EnvironmentCas.cs: Fixed line ending.

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

16 years ago* AppDomainTest.cs: Added test for DefineDynamicAssembly overload
Gert Driesen [Sun, 20 Jan 2008 15:51:42 +0000 (15:51 -0000)]
* AppDomainTest.cs: Added test for DefineDynamicAssembly overload
taking IEnumerable<CustomAttributeBuilder>.
* AssemblyBuilderTest.cs: Added tests for DefineUnmanagedResource and
DefineVersionInfoResource overloads that check whether only a single
unmanaged resource can be defined. Improved test for SetCustomAttribute.
* AssemblyNameTest.cs: Added test for effect of AssemblyNameFlags on
FullName. Added test for PublicKey with value "null". Added ctor test
for Retargetable spec.
* AssemblyName.cs: Added support for Retargetable spec in FullName.

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

16 years ago* assembly.c (build_assembly_name): add arg for passing the assembly
Gert Driesen [Sun, 20 Jan 2008 15:51:17 +0000 (15:51 -0000)]
* assembly.c (build_assembly_name): add arg for passing the assembly
flags. Do not consider a PublicKey with value "null" valid.
(mono_assembly_name_parse_full): added boolean argument that will be
set if the assembly name contains a PublicKeyToken spec. Added support
for the Retargetable spec for which only Yes or No are allowed as valid
value. Consider assembly name invalid if Retargetable spec is set, but
either version, culture or public key (token) are not specified.
* metadata-internals.h: sync signature of mono_assembly_name_parse_full
with implementation in assembly.c.
* icall.c (fill_reflection_assembly_name): also copy assembly flags
from MonoAssemblyName.
(ves_icall_System_Reflection_AssemblyName_ParseName): use newly
introduced argument for mono_assembly_name_parse_full to know if the
assembly name has a PublicKeyToken spec, and if it has instruct
fill_reflection_assembly_name to use default value for keyToken (if
PublicKeyToken is null).

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

16 years agoset content encoding for HttpServletResponse (if any)
Igor Zelmanovich [Sun, 20 Jan 2008 14:33:32 +0000 (14:33 -0000)]
set content encoding for HttpServletResponse (if any)
refactoring

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

16 years agosuppress exception and return url as is
Konstantin Triger [Sun, 20 Jan 2008 10:14:38 +0000 (10:14 -0000)]
suppress exception and return url as is

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

16 years ago2008-01-20 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Sun, 20 Jan 2008 10:07:14 +0000 (10:07 -0000)]
2008-01-20  Olivier Dufour <olivier.duff@gmail.com>

* ResXResourceReaderTest.cs: Add tests to check GetNodePosition.

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

16 years ago2008-01-20 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Sun, 20 Jan 2008 10:06:12 +0000 (10:06 -0000)]
2008-01-20  Olivier Dufour <olivier.duff@gmail.com>

* ResXDataNode.cs: Add GetNodePosition, GetValueTypeName, GetValue
* ResXResourceReader.cs: Add Node Position

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

16 years agoFix Java build system.
Noam Lampert [Sun, 20 Jan 2008 06:05:35 +0000 (06:05 -0000)]
Fix Java build system.

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

16 years ago2008-01-19 Dick Porter <dick@ximian.com>
Dick Porter [Sat, 19 Jan 2008 14:22:25 +0000 (14:22 -0000)]
2008-01-19  Dick Porter  <dick@ximian.com>

* versioninfo.c (get_stringtable_block): Cope when the StringTable
block is first in the resources data, and we just need to step
over it.  Fixes bug 354856.

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

16 years ago2008-01-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 19 Jan 2008 11:55:07 +0000 (11:55 -0000)]
2008-01-19  Atsushi Enomoto  <atsushi@ximian.com>

* XslCopyOf.cs : when the evaluated argument was RTF (it could happen
  when variable or extensions are used), copy the node itself, not
  only its children. Fixed bug #322551.

* XslTransformTests.cs : added test for bug #322551.

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

16 years ago* System.ComponentModel/MaskedTextProvider.cs,
Rolf Bjarne Kvinge [Sat, 19 Jan 2008 11:26:12 +0000 (11:26 -0000)]
* System.ComponentModel/MaskedTextProvider.cs,
  Test/System.ComponentModel/MaskedTextProviderTest.cs: Fix
  IsPassword (found by Gendarme)

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

16 years ago2008-01-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 18 Jan 2008 23:41:47 +0000 (23:41 -0000)]
2008-01-18  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_method_verify): fixed ovf ops with
float values. They are unverifiable now.

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

16 years ago2008-01-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 18 Jan 2008 23:40:49 +0000 (23:40 -0000)]
2008-01-18 Rodrigo Kumpera <rkumpera@novell.com>

* make_tests.sh: added tests for ovf math with floats.

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

16 years ago2008-01-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 18 Jan 2008 22:42:51 +0000 (22:42 -0000)]
2008-01-18  Jonathan Pobst  <monkey@jpobst.com>

* ContainerControl.cs, Control.cs: Apply patch from James Purcell
that makes our AutoScale* stuff more tolerant to different orders
of being set.  [Fixes bug #354669]

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

* FormTest.cs: Add test from James Purcell for bug #354669.

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

16 years agoAdd basic support for parameters
Miguel de Icaza [Fri, 18 Jan 2008 22:06:53 +0000 (22:06 -0000)]
Add basic support for parameters

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

16 years ago2008-01-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 18 Jan 2008 21:46:25 +0000 (21:46 -0000)]
2008-01-18  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (set_failure_from_loader_error): add BadImageException to the
list of exceptions that can cause a type to fail to load.

* class.c (mono_class_get_exception_for_failure): same.

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

16 years ago2008-01-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 18 Jan 2008 19:54:37 +0000 (19:54 -0000)]
2008-01-18  Ivan N. Zlatev  <contact@i-nz.net>

 * PropertyGridView.cs, PropertyGridTextBox.cs:
 Drop WM_LBUTTONDOWN msg sending and use focusing instead.
 [Fixes #339005 and #348209]

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

16 years ago2008-01-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 18 Jan 2008 19:04:04 +0000 (19:04 -0000)]
2008-01-18  Ivan N. Zlatev  <contact@i-nz.net>

 * PropertyGridView.cs: Hide the grid text box before adjusting it
 for the newly selected GridItem.
 [Fixes #338999]

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

16 years agoRemove an errant category.
Jonathan Pobst [Fri, 18 Jan 2008 18:31:59 +0000 (18:31 -0000)]
Remove an errant category.

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

16 years ago2008-01-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 18 Jan 2008 17:01:07 +0000 (17:01 -0000)]
2008-01-18  Jonathan Pobst  <monkey@jpobst.com>

* MdiFormTest.cs: Add test for bug #354286.

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

* Form.cs: Give MDI children the opportunity to cancel the parent form
attempting to close.  Ensure that all [Form]Clos[ing,ed] events get called
properly for both the parent and child.
* Application.cs: Signature of internal method changed, pass the previous
default of false.
[Fixes bug #354286]

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

16 years ago2008-01-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Jan 2008 16:45:55 +0000 (16:45 -0000)]
2008-01-18  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_prolog): Disable the new optimization if
profiling is enabled.

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

16 years ago2008-01-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Jan 2008 16:41:44 +0000 (16:41 -0000)]
2008-01-18  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_call_opcode): Emit the save_sp_to_lmf instruction at
the end.
(mono_arch_emit_prolog): Add more first bblock optimizations.

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

16 years agoFix the issue that JB found
Miguel de Icaza [Fri, 18 Jan 2008 16:05:22 +0000 (16:05 -0000)]
Fix the issue that JB found

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

16 years ago2008-01-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 18 Jan 2008 16:04:47 +0000 (16:04 -0000)]
2008-01-18  Marek Safar  <marek.safar@gmail.com>

A test for bug #353526

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

16 years ago2008-01-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 18 Jan 2008 16:04:20 +0000 (16:04 -0000)]
2008-01-18  Marek Safar  <marek.safar@gmail.com>

A fix for bug #353526
  * generic.cs: A type inference of params arguments may not required any
  temporary array creation.

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

16 years agoNew test, disabled failures caused by runtime bug
Marek Safar [Fri, 18 Jan 2008 15:34:33 +0000 (15:34 -0000)]
New test, disabled failures caused by runtime bug

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

16 years ago2008-01-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 18 Jan 2008 15:29:31 +0000 (15:29 -0000)]
2008-01-18  Marek Safar  <marek.safar@gmail.com>

A fix for bug #353534
  * generic.cs, ecore.cs, expression.cs: A method group type inference is
  supported for delegates only.

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

16 years agowe pass lessthan and greatherthan tests
Jb Evain [Fri, 18 Jan 2008 15:07:18 +0000 (15:07 -0000)]
we pass lessthan and greatherthan tests

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

16 years agoadd new files
Jb Evain [Fri, 18 Jan 2008 15:05:03 +0000 (15:05 -0000)]
add new files

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

16 years ago2008-01-18 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 18 Jan 2008 15:00:20 +0000 (15:00 -0000)]
2008-01-18  Jb Evain  <jbevain@novell.com>

* ExpressionTest_GreaterThan|GreaterThanOrEqual.cs
* ExpressionTest_LessThan|LessThanOrEqual.cs: new tests.

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

16 years ago2008-01-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Jan 2008 14:46:06 +0000 (14:46 -0000)]
2008-01-18  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_call_opcode): Keep assignments to the arg registers
in order if possible.
(mono_arch_emit_prolog): Optimize assignments to arg registers in the first
bblock, since the arguments are still in their original registers.

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

16 years agowe pass not, negate and unaryplus tests
Jb Evain [Fri, 18 Jan 2008 14:18:29 +0000 (14:18 -0000)]
we pass not, negate and unaryplus tests

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

16 years ago2008-01-18 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 18 Jan 2008 14:17:27 +0000 (14:17 -0000)]
2008-01-18  Jb Evain  <jbevain@novell.com>

* Expression[Printer|Visitor].cs: implement UnaryPlus, Not, Negate.

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

16 years ago2008-01-18 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 18 Jan 2008 14:09:04 +0000 (14:09 -0000)]
2008-01-18  Jb Evain  <jbevain@novell.com>

* ExpressionTest_Negate.cs
ExpressionTest_Not.cs
ExpressionTest_UnaryPlus.cs: test for some unary operators.

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

16 years ago2008-01-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Jan 2008 13:19:47 +0000 (13:19 -0000)]
2008-01-18  Zoltan Varga  <vargaz@gmail.com>

* mini.c (type_from_op): Calling add.ovf on floats in not valid IL code.

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

16 years agoDisable gtest-etree-01.cs until JB catches up
Marek Safar [Fri, 18 Jan 2008 12:35:06 +0000 (12:35 -0000)]
Disable gtest-etree-01.cs until JB catches up

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

16 years agouse common params [] to IEnumerable pattern
Jb Evain [Fri, 18 Jan 2008 12:21:14 +0000 (12:21 -0000)]
use common params [] to IEnumerable pattern

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

16 years agoNew tests.
Marek Safar [Fri, 18 Jan 2008 12:18:03 +0000 (12:18 -0000)]
New tests.

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

16 years ago2008-01-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 18 Jan 2008 12:17:32 +0000 (12:17 -0000)]
2008-01-18  Marek Safar  <marek.safar@gmail.com>

  * generic.cs: Fixed 3.0 type inference fixing phase to determine a unique
  type for more than 1 candidates.

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

16 years agospaces to tabs
Jb Evain [Fri, 18 Jan 2008 12:11:34 +0000 (12:11 -0000)]
spaces to tabs

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

16 years agoNew test.
Marek Safar [Fri, 18 Jan 2008 11:03:08 +0000 (11:03 -0000)]
New test.

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

16 years ago2008-01-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 18 Jan 2008 11:02:54 +0000 (11:02 -0000)]
2008-01-18  Marek Safar  <marek.safar@gmail.com>

  * typemanager.cs, ecore.cs, expression.cs: Implemented ArrayLength and Call
  expressions.

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

16 years agoNo explicit return false.
Marek Safar [Fri, 18 Jan 2008 09:33:41 +0000 (09:33 -0000)]
No explicit return false.

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

16 years agoRemove TypeCode in a few places, there is one place where its actually useful (Consta...
Miguel de Icaza [Fri, 18 Jan 2008 08:30:30 +0000 (08:30 -0000)]
Remove TypeCode in a few places, there is one place where its actually useful (ConstantExpression.Emit) and I dont feel like rewriting that one

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

16 years ago2008-01-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 18 Jan 2008 08:03:10 +0000 (08:03 -0000)]
2008-01-18  Miguel de Icaza  <miguel@novell.com>

* BinaryExpression.cs: Add support for emitting code for some
operators (ported from the Mono C# compiler).

Add tests.

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

16 years ago2008-01-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 18 Jan 2008 00:24:01 +0000 (00:24 -0000)]
2008-01-17  Miguel de Icaza  <miguel@novell.com>

Beginning of code generation framework for Linq.Expressions.
Some code was borrowed by from the C# compiler

* Expression_T.cs: Fill in the blanks.

* LambdaExpression.cs: Validation of parameters mostly, a tiny bit
of codegen.

* ConstantExpression.cs: Mostly done, need to write tests for
non-fundamental types and other ValueType initializations.

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

16 years ago2008-01-17 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 17 Jan 2008 23:21:53 +0000 (23:21 -0000)]
2008-01-17  Ivan N. Zlatev  <contact@i-nz.net>

        * PropertyGridView.cs: Set the property value only if it has changed.
        [Fixes bug #338997]

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

16 years agoadd a dependency on the descriptor resources, so we'll rebuild the linker when they...
Chris Toshok [Thu, 17 Jan 2008 22:29:50 +0000 (22:29 -0000)]
add a dependency on the descriptor resources, so we'll rebuild the linker when they change

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

16 years ago2008-01-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 17 Jan 2008 22:01:27 +0000 (22:01 -0000)]
2008-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFileTest.cs: Added test case against regression of
bug #354539

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

16 years ago2008-01-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 17 Jan 2008 22:00:31 +0000 (22:00 -0000)]
2008-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFile.cs: Fix bug #354539

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

16 years ago2008-01-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 17 Jan 2008 21:33:45 +0000 (21:33 -0000)]
2008-01-17  Jonathan Pobst  <monkey@jpobst.com>

* MenuAPI.cs: Windows sends us MOUSEMOVE messages when any key is pressed.
If the mouse hasn't actually moved, ignore these messages so the currently
highlighted menuitem isn't reset to the one under the mouse.
[Fixes bug #333668]

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

16 years ago2008-01-17 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 17 Jan 2008 21:23:37 +0000 (21:23 -0000)]
2008-01-17  Ivan N. Zlatev  <contact@i-nz.net>

        * PropertyGridView.cs: When the property changes invalidate
        the GridItem in order for the properties with
        UITypeEditor.GetPaintValueSupported == true to reflect the change visually.
        [Fixes bug #338998]

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

16 years ago2008-01-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 17 Jan 2008 19:22:02 +0000 (19:22 -0000)]
2008-01-17  Zoltan Varga  <vargaz@gmail.com>

* Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs
CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some parameter
names to match MS.

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

16 years ago2008-01-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 17 Jan 2008 19:12:16 +0000 (19:12 -0000)]
2008-01-17  Jonathan Pobst  <monkey@jpobst.com>

* ButtonBase.cs: Add LineLimit to 1.1 button drawing, and TextBoxControl
to 2.0 button drawing.
* ThemeWin32Classic.cs: Ensure that the rectangle we are using to draw
the button text is tall enough for one line.  LineLimit says it will
always draw at least one line, but it is a lie.
[Fixes bug #324941]

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

16 years ago2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 17 Jan 2008 19:03:11 +0000 (19:03 -0000)]
2008-01-17  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (in_any_exception_block): added, check if offset
is part of any exception handling clause.

* verify.c (get_stack_type): added VAR and MVAR types.

* verify.c (do_stobj): better error messages.

* verify.c (do_cpobj): added, check cpobj.

* verify.c (do_initobj): added, check initobj.

* verify.c (do_sizeof): added, check sizeof.

* verify.c (do_localloc): added, check localloc.

* verify.c: adde proper verification for cpobj, initobj, sizeof and localloc.

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

16 years ago2008-01-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 17 Jan 2008 17:56:30 +0000 (17:56 -0000)]
2008-01-17  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilder.cs (GetConstructorImpl): Add back the code removed by the last
patch since it is needed when building mscorlib.

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

16 years agoimprove JDBC driver cleanup logic
Konstantin Triger [Thu, 17 Jan 2008 17:52:43 +0000 (17:52 -0000)]
improve JDBC driver cleanup logic

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

16 years agoUpgrade java build to Grasshopper 2.2
Noam Lampert [Thu, 17 Jan 2008 16:53:44 +0000 (16:53 -0000)]
Upgrade java build to Grasshopper 2.2

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

16 years ago2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 17 Jan 2008 16:51:24 +0000 (16:51 -0000)]
2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>

* make_localloc_test.sh: test generator for localloc.

* make_tests.sh: added tests for localloc.

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

16 years ago2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 17 Jan 2008 16:49:43 +0000 (16:49 -0000)]
2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>

* make_sizeof_test.sh: test generator for sizeof.

* make_tests.sh: added tests for sizeof.

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

16 years ago2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 17 Jan 2008 16:46:52 +0000 (16:46 -0000)]
2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>

* make_cp_test.sh: test generator for cpobj.

* make_tests.sh: added tests for cpobj.

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

16 years ago2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 17 Jan 2008 16:36:24 +0000 (16:36 -0000)]
2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>

* invalid_initobj_invalid_token_out_of_bounds.il: tests for initobj.

* invalid_initobj_invalid_token_type.il: same.

* make_initobj_test.sh: test generator for initobj.

* make_tests.sh: added tests for initobj.

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

16 years agoImprove java generation of compiled DefaultWsdlHelpGenerator
Noam Lampert [Thu, 17 Jan 2008 16:35:54 +0000 (16:35 -0000)]
Improve java generation of compiled DefaultWsdlHelpGenerator

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

16 years ago2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 17 Jan 2008 15:34:56 +0000 (15:34 -0000)]
2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs: fix ResolveUrl for some cases.

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

16 years ago2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 17 Jan 2008 15:16:39 +0000 (15:16 -0000)]
2008-01-17  Igor Zelmanovich <igorz@mainsoft.com>

* BaseCompiler.cs: Assign AppRelativeVirtualPath correctly

2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs: consider changes in BaseCompiler.cs.

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

16 years ago2008-01-17 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 17 Jan 2008 15:13:59 +0000 (15:13 -0000)]
2008-01-17  Jb Evain  <jbevain@novell.com>

* Expression.cs: implement MakeMemberAccess.

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

16 years agowe pass ArrayIndex tests
Jb Evain [Thu, 17 Jan 2008 13:04:41 +0000 (13:04 -0000)]
we pass ArrayIndex tests

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

16 years ago2008-01-17 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 17 Jan 2008 13:04:32 +0000 (13:04 -0000)]
2008-01-17  Jb Evain  <jbevain@novell.com>

* Expression.cs, ExpressionPrinter.cs, BinaryExpression.cs:
implement ArrayIndex.

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

16 years ago2008-01-17 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 17 Jan 2008 12:33:01 +0000 (12:33 -0000)]
2008-01-17  Jb Evain  <jbevain@novell.com>

* Expression.cs: Use TypeCode for IsInt and IsNumber.

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

16 years ago2008-01-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 17 Jan 2008 11:45:30 +0000 (11:45 -0000)]
2008-01-17  Zoltan Varga  <vargaz@gmail.com>

* HttpWebRequestTest.cs: Disable #353495 since it fails on the 2.0 profile.

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

16 years ago2008-01-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 17 Jan 2008 11:22:20 +0000 (11:22 -0000)]
2008-01-17  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_method_to_ir): Use the no-spilling optimization for CEE_CALLI
as well.

* mini-amd64.c (mono_arch_emit_prolog): Save an instruction if the LMF is at
offset 0.

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

16 years ago2008-01-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 17 Jan 2008 10:55:24 +0000 (10:55 -0000)]
2008-01-17  Zoltan Varga  <vargaz@gmail.com>

* method-builder.c (mono_mb_emit_native_call): Get rid of the unused
save_lmf/restore_lmf opcodes.

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

16 years ago2008-01-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 17 Jan 2008 10:43:53 +0000 (10:43 -0000)]
2008-01-17  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.h (MONO_ARCH_HAVE_NOTIFY_PENDING_EXC): Turn on this for amd64.

* exceptions-amd64.c (mono_arch_notify_pending_exc): New function to
process async exceptions received while in unmanaged code.

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