Jb Evain [Mon, 21 Jan 2008 21:07:16 +0000 (21:07 -0000)]
2008-01-21 Jb Evain <jbevain@novell.com>
* Enumerable.cs: fix Intersect.
svn path=/trunk/mcs/; revision=93450
Jb Evain [Mon, 21 Jan 2008 21:02:45 +0000 (21:02 -0000)]
2008-01-21 Jb Evain <jbevain@novell.com>
* Enumerable.cs: fix Concat et SelectMany.
svn path=/trunk/mcs/; revision=93449
Jb Evain [Mon, 21 Jan 2008 20:57:10 +0000 (20:57 -0000)]
2008-01-21 Jb Evain <jbevain@novell.com>
* Enumerable.cs: fix range.
svn path=/trunk/mcs/; revision=93448
Rodrigo Kumpera [Mon, 21 Jan 2008 20:41:50 +0000 (20:41 -0000)]
2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_ldstr): added, verifies if the #US token is valid.
* verify.c (mono_method_verify): removed old TODO
svn path=/trunk/mono/; revision=93447
Rodrigo Kumpera [Mon, 21 Jan 2008 20:40:17 +0000 (20:40 -0000)]
2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_ldstr_bad_token.il: added. check the index
against the the #US heap.
svn path=/trunk/mono/; revision=93446
Rodrigo Kumpera [Mon, 21 Jan 2008 20:10:10 +0000 (20:10 -0000)]
2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_newobj): add visibility check.
svn path=/trunk/mono/; revision=93443
Rodrigo Kumpera [Mon, 21 Jan 2008 20:09:28 +0000 (20:09 -0000)]
* unverifiable_newobj_no_visibility.il: added. visibility
check for newobj.
2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=93442
Miguel de Icaza [Mon, 21 Jan 2008 19:53:04 +0000 (19:53 -0000)]
Improve the helper tool, generate code twice
svn path=/trunk/mcs/; revision=93438
Marek Safar [Mon, 21 Jan 2008 19:31:05 +0000 (19:31 -0000)]
2008-01-21 Marek Safar <marek.safar@gmail.com>
* BinaryExpression.cs: Fixed initobj initialization.
svn path=/trunk/mcs/; revision=93437
Noam Lampert [Mon, 21 Jan 2008 19:18:43 +0000 (19:18 -0000)]
Modify java build to use a different JSF implementation
svn path=/trunk/mcs/; revision=93436
Marek Safar [Mon, 21 Jan 2008 19:18:00 +0000 (19:18 -0000)]
2008-01-21 Marek Safar <marek.safar@gmail.com>
* BinaryExpression.cs: Fixed initobj initialization.
svn path=/trunk/mcs/; revision=93434
Marek Safar [Mon, 21 Jan 2008 19:13:41 +0000 (19:13 -0000)]
2008-01-21 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay, expression.cs: Check `namespace alias qualifier' language
feature in parser only as we do in other cases.
svn path=/trunk/mcs/; revision=93433
Ivan Zlatev [Mon, 21 Jan 2008 19:13:36 +0000 (19:13 -0000)]
2008-01-21 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs: Just hide the grid textbox and do nothing more
when the current object selection changes.
Fixes failing test SelectedObject_Null2.B5.
svn path=/trunk/mcs/; revision=93432
Rodrigo Kumpera [Mon, 21 Jan 2008 18:30:52 +0000 (18:30 -0000)]
2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_load_function_ptr): add visibility check.
svn path=/trunk/mono/; revision=93431
Rodrigo Kumpera [Mon, 21 Jan 2008 18:27:38 +0000 (18:27 -0000)]
2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_ldftn_no_visibility.il: added. visibility
check for ldftn.
* unverifiable_ldvirtftn_no_visibility.il: added. visibility
check for ldvirtftn.
svn path=/trunk/mono/; revision=93430
Ivan Zlatev [Mon, 21 Jan 2008 18:00:11 +0000 (18:00 -0000)]
2008-01-21 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs: Process Browsable properties with
DesignerSerializationVisibilityAttribute.Content as being expandable.
This seems also what MS does. Without this e.g SplitContainer.Panel1/2
will not be expandable. We should be nested components-friendly now.
svn path=/trunk/mcs/; revision=93429
Jb Evain [Mon, 21 Jan 2008 17:24:20 +0000 (17:24 -0000)]
2008-01-21 Jb Evain <jbevain@novell.com>
* Enumerable.cs: more ArgumentNullExceptions.
svn path=/trunk/mcs/; revision=93421
Geoff Norton [Mon, 21 Jan 2008 17:15:38 +0000 (17:15 -0000)]
In .:
2008-01-21 Geoff Norton <gnorton@novell.com>
* Graphics.cs: Support Graphics.FromHwnd (IntPtr.Zero) on X11
* carbonFunctions.cs: Support for Graphics.FromHwnd (IntPtr.Zero)
on Carbon
* gdipFunctions.cs: Add XDefaultScreen overload.
svn path=/trunk/mcs/; revision=93419
Marek Safar [Mon, 21 Jan 2008 16:53:25 +0000 (16:53 -0000)]
New test.
svn path=/trunk/mcs/; revision=93416
Marek Safar [Mon, 21 Jan 2008 16:52:12 +0000 (16:52 -0000)]
2008-01-21 Marek Safar <marek.safar@gmail.com>
* attribute.cs, ecore.cs, class.cs, delegate.cs, expression.cs, linq.cs,
typemanager.cs: A refactoring of params arguments to reuse existing
expressions (params -> array initializer) to emit params argument instead
of specialized handling.
It was required by expression tree implementation and it has other benefits
as well, we now apply same optimization for params arguments as we do for
array initializers.
svn path=/trunk/mcs/; revision=93414
Andreia Gaita [Mon, 21 Jan 2008 16:25:57 +0000 (16:25 -0000)]
* WebBrowserBase.cs: Check if control was loaded properly,
don't bind if it wasn't.
* HtmlDocument.cs: Implement CreateElement, Equals, Focus,
GetElementFromPoint, equality operators, OpenNew, Write.
Remove extra set_Body
2008-01-21 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=93409
Andreia Gaita [Mon, 21 Jan 2008 16:23:20 +0000 (16:23 -0000)]
* Mono.WebBrowser/DOM/INavigation.cs: Add Go overload with flags,
and LoadFlags enumeration.
* Mono.WebBrowser/DOM/IDocument.cs: Add CreateElement, GetElement,
Equals and Write.
* Mono.Mozilla/DOM/Document.cs: Add CreateElement, GetElement,
Equals and Write implementations.
Fix GetElementsByTagName to return a proper IElementCollection instance.
* Mono.Mozilla/DOM/Element.cs: Add Top, Left, Width and Height
properties to support retrieving elements by location.
* Mono.Mozilla/DOM/Navigation.cs: Reset WebBrowser object cache
so that the next time Document (and others, eventually) is accessed,
it will be retrieved from mozilla. This should happen on any
action that causes a document reload.
Add Go overload to support flags when loading an uri (bypassing proxies,
refreshing from cache, etc).
* Mono.Mozilla/DOM/HTMLElementCollection.cs: Fix inheritance
2008-01-21 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=93408
Konstantin Triger [Mon, 21 Jan 2008 16:17:51 +0000 (16:17 -0000)]
undo r93350 and implement in Mainsoft.Web.Portal using phaseListener
svn path=/trunk/mcs/; revision=93406
Andreia Gaita [Mon, 21 Jan 2008 16:07:39 +0000 (16:07 -0000)]
* Mono.Mozilla/WebBrowser.cs: fix Document accessor
2008-01-21 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=93404
Jb Evain [Mon, 21 Jan 2008 16:03:03 +0000 (16:03 -0000)]
2008-01-21 Jb Evain <jbevain@novell.com>
* Enumerable.cs: fix some more ArgumentNullException.
svn path=/trunk/mcs/; revision=93403
Konstantin Triger [Mon, 21 Jan 2008 16:00:28 +0000 (16:00 -0000)]
add Lifecycle property to BaseHttpContext
svn path=/trunk/mcs/; revision=93402
Jb Evain [Mon, 21 Jan 2008 15:34:36 +0000 (15:34 -0000)]
2008-01-21 Jb Evain <jbevain@novell.com>
* Enumerable.cs: correctly throw ArgumentNullException
for Cast.
svn path=/trunk/mcs/; revision=93401
Igor Zelmanovich [Mon, 21 Jan 2008 15:11:55 +0000 (15:11 -0000)]
fix test suite
svn path=/trunk/mcs/; revision=93396
Igor Zelmanovich [Mon, 21 Jan 2008 14:41:54 +0000 (14:41 -0000)]
fixed web service proxy generation.
svn path=/trunk/mcs/; revision=93394
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
Jb Evain [Mon, 21 Jan 2008 14:19:45 +0000 (14:19 -0000)]
oh, they're already in :)
svn path=/trunk/mcs/; revision=93392
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
Miguel de Icaza [Mon, 21 Jan 2008 14:18:10 +0000 (14:18 -0000)]
Add
svn path=/trunk/mcs/; revision=93389
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
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
Jb Evain [Mon, 21 Jan 2008 14:08:28 +0000 (14:08 -0000)]
constant rocks
svn path=/trunk/mcs/; revision=93385
Vladimir Krasnov [Mon, 21 Jan 2008 13:25:36 +0000 (13:25 -0000)]
fixed getTreeStructureToSave
svn path=/trunk/mcs/; revision=93384
Noam Lampert [Mon, 21 Jan 2008 11:40:21 +0000 (11:40 -0000)]
Export Java documentation
svn path=/trunk/mcs/; revision=93379
Massimiliano Mantione [Mon, 21 Jan 2008 10:20:32 +0000 (10:20 -0000)]
Fix date.
svn path=/trunk/mono/; revision=93376
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
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
Igor Zelmanovich [Mon, 21 Jan 2008 09:41:43 +0000 (09:41 -0000)]
typo fix
svn path=/trunk/mcs/; revision=93373
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
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
Miguel de Icaza [Mon, 21 Jan 2008 06:14:06 +0000 (06:14 -0000)]
Improve this, still wrong
svn path=/trunk/mcs/; revision=93370
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
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
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
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
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
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
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
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
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
Gert Driesen [Sun, 20 Jan 2008 15:56:18 +0000 (15:56 -0000)]
* EnvironmentCas.cs: Fixed line ending.
svn path=/trunk/mcs/; revision=93349
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
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
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
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
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
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
Noam Lampert [Sun, 20 Jan 2008 06:05:35 +0000 (06:05 -0000)]
Fix Java build system.
svn path=/trunk/mcs/; revision=93339
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
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
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
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
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
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
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
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
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
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
Jonathan Pobst [Fri, 18 Jan 2008 18:31:59 +0000 (18:31 -0000)]
Remove an errant category.
svn path=/trunk/mcs/; revision=93281
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
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
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
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
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
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
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
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
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
Jb Evain [Fri, 18 Jan 2008 15:05:03 +0000 (15:05 -0000)]
add new files
svn path=/trunk/mcs/; revision=93264
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
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
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
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
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
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
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
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
Marek Safar [Fri, 18 Jan 2008 12:18:03 +0000 (12:18 -0000)]
New tests.
svn path=/trunk/mcs/; revision=93246
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
Jb Evain [Fri, 18 Jan 2008 12:11:34 +0000 (12:11 -0000)]
spaces to tabs
svn path=/trunk/mcs/; revision=93244
Marek Safar [Fri, 18 Jan 2008 11:03:08 +0000 (11:03 -0000)]
New test.
svn path=/trunk/mcs/; revision=93240
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
Marek Safar [Fri, 18 Jan 2008 09:33:41 +0000 (09:33 -0000)]
No explicit return false.
svn path=/trunk/mcs/; revision=93235
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
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
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