Jb Evain [Sun, 24 Feb 2008 13:07:38 +0000 (13:07 -0000)]
2008-02-24 Jb Evain <jbevain@novell.com>
* LambdaExpression.cs, EmitContext.cs: make compilation
of delegate returning void work.
svn path=/trunk/mcs/; revision=96505
Jb Evain [Sun, 24 Feb 2008 13:06:33 +0000 (13:06 -0000)]
2008-02-24 Jb Evain <jbevain@novell.com>
* MethodCallExpression.cs: emit call or callvirt depending
on the virtuality of the method.
svn path=/trunk/mcs/; revision=96504
Jb Evain [Sun, 24 Feb 2008 12:45:42 +0000 (12:45 -0000)]
2008-02-24 Jb Evain <jbevain@novell.com>
* LambdaExpression.cs: properly format error message.
svn path=/trunk/mcs/; revision=96503
Jb Evain [Sun, 24 Feb 2008 12:08:23 +0000 (12:08 -0000)]
2008-02-24 Jb Evain <jbevain@novell.com>
* ExecutionScope.cs: update API.
svn path=/trunk/mcs/; revision=96501
Vladimir Krasnov [Sun, 24 Feb 2008 10:48:32 +0000 (10:48 -0000)]
reverted 96348
svn path=/trunk/mono/; revision=96500
Igor Zelmanovich [Sun, 24 Feb 2008 08:48:32 +0000 (08:48 -0000)]
TARGET_J2EE:
merge r96495:96497
svn path=/trunk/mcs/; revision=96498
Carlos Alberto Cortez [Sun, 24 Feb 2008 00:58:19 +0000 (00:58 -0000)]
2008-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingTest.cs: Update ctor test with 2.0 properties, and add new
tests for 2.0 FormattingEnabled and FormatString properties.
svn path=/trunk/mcs/; revision=96493
Carlos Alberto Cortez [Sun, 24 Feb 2008 00:55:37 +0000 (00:55 -0000)]
2008-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: Actually implement 2.0 FormatString and FormatInfo
properties. Also when changing FormattingEnabled update the control
property -as .Net does-.
svn path=/trunk/mcs/; revision=96492
Zoltan Varga [Sat, 23 Feb 2008 21:15:05 +0000 (21:15 -0000)]
2008-02-23 Zoltan Varga <vargaz@gmail.com>
* regalloc.h: Remove some unused fields.
svn path=/trunk/mono/; revision=96487
Zoltan Varga [Sat, 23 Feb 2008 15:43:27 +0000 (15:43 -0000)]
2008-02-23 Zoltan Varga <vargaz@gmail.com>
* pinvoke3.cs: Add tests for missing MarshalAs directives when marshalling arrays.
svn path=/trunk/mono/; revision=96477
Zoltan Varga [Sat, 23 Feb 2008 15:42:27 +0000 (15:42 -0000)]
2008-02-23 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_emit_managed_wrapper): Avoid generating invalid IL if
some of the conversions caused the generation of a marshal directive exception.
svn path=/trunk/mono/; revision=96476
Marek Safar [Sat, 23 Feb 2008 12:45:02 +0000 (12:45 -0000)]
2008-02-23 Marek Safar <marek.safar@gmail.com>
* mkbundle.cs: Close resources correctly when something goes wrong.
svn path=/trunk/mcs/; revision=96466
Carlos Alberto Cortez [Sat, 23 Feb 2008 04:34:24 +0000 (04:34 -0000)]
2008-02-22 Carlos Alberto Cortez <calberto.cortez@ŋmail.com>
* ControlBindingsCollection.cs: Add the missing 2.0 Add overloads.
* Binding.cs: Add stubs for the overloads of the Add method in
CBCollection.
svn path=/trunk/mcs/; revision=96462
Carlos Alberto Cortez [Sat, 23 Feb 2008 00:43:36 +0000 (00:43 -0000)]
2008-02-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: PullData () returns a false value if we got an exception.
Also when validating the control and we get an error, instead of
setting the value of the previous one, cancel the event (tested in 1.1
and 2.0).
svn path=/trunk/mcs/; revision=96456
Rodrigo Kumpera [Fri, 22 Feb 2008 20:25:34 +0000 (20:25 -0000)]
2008-02-21 Rodrigo Kumpera <rkumpera@novell.com>
verify.c: Report which exception should be thrown by the JIT.
Added a lot of FIXME notes.
svn path=/trunk/mono/; revision=96449
Zoltan Varga [Fri, 22 Feb 2008 17:14:33 +0000 (17:14 -0000)]
2008-02-22 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_patch_code): Fix a warning.
svn path=/trunk/mono/; revision=96442
Zoltan Varga [Fri, 22 Feb 2008 16:16:28 +0000 (16:16 -0000)]
2008-02-22 Zoltan Varga <vargaz@gmail.com>
* ssa.c (mono_ssa_remove): Avoid declaring volatile variables dead.
svn path=/trunk/mono/; revision=96436
Mark Probst [Fri, 22 Feb 2008 15:41:43 +0000 (15:41 -0000)]
2008-02-22 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c: Runtime generic context slots are not
instantiated on init anymore. Instead, provide function to do the
instantiating on demand.
* class-internals.h: Added vtable to runtime generic context.
Macros for encoding direct and indirect slot offsets in one
guint32.
2008-02-22 Mark Probst <mark.probst@gmail.com>
* mini.h: New trampoline type (RGCTX_LAZY_FETCH).
* mini-trampolines.c, tramp-amd64.c, tramp-x86.c: RGCTX lazy fetch
trampoline: Fetch an entry from the runtime generic context. If
it's NULL, jump to the actual trampoline to fill the runtime
generic context. Otherwise, return it.
* mini.c: Call the lazy fetch trampoline to get entries out of the
runtime generic context.
* tramp-ia64.c, tramp-arm.c, tramp-alpha.c, tramp-s390.c,
tramp-s390x.c, tramp-ppc.c, tramp-hppa.c, tramp-mips.c,
tramp-sparc.c: Stubs for the lazy fetch trampoline.
2008-02-22 Mark Probst <mark.probst@gmail.com>
* generics-sharing.2.cs: New tests for the extensible runtime
generic context.
* recursive-generics.2.cs: Tests for recursive generic types.
* Makefile.am: Added recursive-generics.2.cs.
svn path=/trunk/mono/; revision=96432
Jonathan Pobst [Fri, 22 Feb 2008 15:11:59 +0000 (15:11 -0000)]
2008-02-22 Jonathan Pobst <monkey@jpobst.com>
* TreeView.cs: Make selected_node and highlighted_node internal.
* TreeNodeCollection.cs: Reset selected_node and highlighted_node
to null when Nodes.Clear is called.
[Fixes bug #363884]
svn path=/trunk/mcs/; revision=96428
Marek Safar [Fri, 22 Feb 2008 14:55:23 +0000 (14:55 -0000)]
Fixed tests to check produced results.
svn path=/trunk/mcs/; revision=96426
Marek Safar [Fri, 22 Feb 2008 14:32:37 +0000 (14:32 -0000)]
More tests.
svn path=/trunk/mcs/; revision=96423
Marek Safar [Fri, 22 Feb 2008 14:31:58 +0000 (14:31 -0000)]
2008-02-22 Marek Safar <marek.safar@gmail.com>
* generic.cs, expression.cs: More ongoing work on expression trees.
svn path=/trunk/mcs/; revision=96422
Paolo Molaro [Fri, 22 Feb 2008 09:39:36 +0000 (09:39 -0000)]
Fri Feb 22 11:23:53 CET 2008 Paolo Molaro <lupus@ximian.com>
* Thread.cs: implemented Begin/EndCriticalRegion.
svn path=/trunk/mcs/; revision=96410
Atsushi Eno [Fri, 22 Feb 2008 03:54:18 +0000 (03:54 -0000)]
2008-02-22 Atsushi Enomoto <atsushi@ximian.com>
* ProtocolReflector.cs : reverted previous change, which caused
several regressions.
* TypeStubManager.cs : reverted 2007-12-11 change as it caused
several regressions.
* ServiceDescriptionReflectorTest.cs : mark Bug345448() NotWorking.
svn path=/trunk/mcs/; revision=96408
Mark Probst [Thu, 21 Feb 2008 21:38:33 +0000 (21:38 -0000)]
2008-02-21 Mark Probst <mark.probst@gmail.com>
* object.c, generic-sharing.c: Moved some generic sharing code
from object.c to generic-sharing.c.
* generic-sharing.c: Added support for extensible runtime generic
context.
* metadata-internals.h: Two new hash tables in MonoImage for
extensible runtime generic context support.
* domain.c: Unregister generic vtables upon domain unloading.
* image.c: Destroy new hash tables upon image unloading.
* metadata.c: Unregister generic subclasses upon image unloading.
* class-internals.h: New data structure for runtime generic
context template. New fields in the runtime generic context for
extensible part.
* Makefile.am: Added generic-sharing.c.
2008-02-21 Mark Probst <mark.probst@gmail.com>
* mini.c: Fetch data out of the extensible part of the runtime
generic context instead of calling a helper function.
* generic-sharing.c: Some functions moved into
metadata/generic-sharing.c. Helper function for fetching other
types now checks and asserts against extensible rgctx (just for
debugging purposes - the helper function isn't called anymore
unless for debugging).
2008-02-21 Mark Probst <mark.probst@gmail.com>
* generics-sharing.2.cs: Improved tests.
svn path=/trunk/mono/; revision=96397
Marek Habersack [Thu, 21 Feb 2008 21:06:57 +0000 (21:06 -0000)]
2008-02-21 Marek Habersack <mhabersack@novell.com>
* ControlBuilder.cs: introduced a new internal property -
MyNamingContainer used by the public properties
NamingContainerType and BindingContainerType. This simplifies the
code in the latter property, as the binding container type must
almost always be the same as the naming container type. The only
exception is when we're inside a content builder, in which case we
return the parent's BindingContainerType. Fixes bug #363665
svn path=/trunk/mcs/; revision=96395
Jonathan Pobst [Thu, 21 Feb 2008 20:12:32 +0000 (20:12 -0000)]
2008-02-21 Jonathan Pobst <monkey@jpobst.com>
* FontDialog.cs: Ensure that when the Font is set in code,
all the gui pieces are updated accordingly.
[Fixes bug #361020]
svn path=/trunk/mcs/; revision=96392
Jb Evain [Thu, 21 Feb 2008 19:33:09 +0000 (19:33 -0000)]
andalso, orelse compilation tests
svn path=/trunk/mcs/; revision=96391
Jonathan Pobst [Thu, 21 Feb 2008 19:31:54 +0000 (19:31 -0000)]
2008-02-21 Jonathan Pobst <monkey@jpobst.com>
* TextRenderer.cs: Respect proposed size for MeasureString.
* ThemeWin32Classics.cs: If our CheckBox/RadioButton isn't
autosize, use a proposed width to force wrapping for long text.
[Fixes bug #360981]
svn path=/trunk/mcs/; revision=96390
Marek Habersack [Thu, 21 Feb 2008 18:28:35 +0000 (18:28 -0000)]
2008-02-21 Marek Habersack <mhabersack@novell.com>
* Configuration.cs: if the section being deserialized uses the
configSource attribute, call the section's DeserializeConfigSource
method.
* SectionInfo.cs: WriteData takes care of writing the section data
to the configSource file, if any.
* ConfigurationSection.cs: moved reading of the configSource
external data file to a separate internal method,
DeserializeConfigSource. Section's source config file path is now
used to find the configSource.
SerializeSection now doesn't write the section content to the
passed writer if configSource was used. Writing of the section
data is now done in SectionInfo.
* ConfigurationElement.cs: added a new method -
HasLocalModifications which returns true of any of the element
properties have been set locally on that element.
svn path=/trunk/mcs/; revision=96384
Jonathan Pobst [Thu, 21 Feb 2008 17:17:48 +0000 (17:17 -0000)]
2008-02-21 Jonathan Pobst <monkey@jpobst.com>
* TreeView.cs: Factor in checkboxes = false and state images in
to HitTest. [Fixes bug #363360]
svn path=/trunk/mcs/; revision=96375
Zoltan Varga [Thu, 21 Feb 2008 17:17:47 +0000 (17:17 -0000)]
2008-02-21 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_output_basic_block): Implement proper argument passing
for tail calls up to the point that the tests in iltests.exe run. Also add a
dummy CKFINITE implementation.
(mono_arch_emit_prolog): Avoid saving the method in the LMF since it is only
needed for trampoline LMF frames.
* exceptions-arm.c (mono_arch_find_jit_info): Only read lmf->method for
trampoline LMF frames.
svn path=/trunk/mono/; revision=96374
Jb Evain [Thu, 21 Feb 2008 16:55:49 +0000 (16:55 -0000)]
fix line endings once in for all
svn path=/trunk/mcs/; revision=96371
Jb Evain [Thu, 21 Feb 2008 16:54:41 +0000 (16:54 -0000)]
fix test on .net + Mono's System.Core
svn path=/trunk/mcs/; revision=96370
Jb Evain [Thu, 21 Feb 2008 16:47:07 +0000 (16:47 -0000)]
2008-02-21 Jb Evain <jbevain@novell.com>
* BinaryExpression.cs (EmitCoalesce): fix setup_null.
svn path=/trunk/mcs/; revision=96368
Jb Evain [Thu, 21 Feb 2008 16:40:11 +0000 (16:40 -0000)]
oops
svn path=/trunk/mcs/; revision=96366
Jb Evain [Thu, 21 Feb 2008 16:39:12 +0000 (16:39 -0000)]
cleanup
svn path=/trunk/mcs/; revision=96365
Kornél Pál [Thu, 21 Feb 2008 16:25:53 +0000 (16:25 -0000)]
cygwin requires Unix line endings for shell scripts; Set eol-style to LF for mkinstalldirs
svn path=/trunk/mcs/; revision=96362
Jonathan Pobst [Thu, 21 Feb 2008 15:36:12 +0000 (15:36 -0000)]
2008-02-21 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Only look at the Date part of a DateTime
when drawing the selected range.
[Fixes bug #363648]
svn path=/trunk/mcs/; revision=96355
Jonathan Pobst [Thu, 21 Feb 2008 15:02:13 +0000 (15:02 -0000)]
2008-02-21 Jonathan Pobst <monkey@jpobst.com>
* ToolStripContainer.cs: Add SupportsTransparentBackColor and
ResizeRedraw control styles.
[Fixes bug #363555]
2008-02-21 Jonathan Pobst <monkey@jpobst.com>
* ToolStripContainerTests.cs: Add test for bug #363555.
svn path=/trunk/mcs/; revision=96353
Igor Zelmanovich [Thu, 21 Feb 2008 14:51:46 +0000 (14:51 -0000)]
TARGET_J2EE:
merge r96350:96351
svn path=/trunk/mcs/; revision=96352
Jb Evain [Thu, 21 Feb 2008 14:36:02 +0000 (14:36 -0000)]
2008-02-21 Jb Evain <jbevain@novell.com>
* BinaryExpression.cs (Emit): fix the both_are_null case.
svn path=/trunk/mcs/; revision=96350
Rodrigo Kumpera [Thu, 21 Feb 2008 14:29:35 +0000 (14:29 -0000)]
2008-02-21 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c (inline_method): clean any pending loader error when inlining fail.
Otherwise loader errors in mono_method_to_ir leaks and cause spurious errors.
svn path=/trunk/mono/; revision=96349
Vladimir Krasnov [Thu, 21 Feb 2008 14:25:20 +0000 (14:25 -0000)]
Added SqlProviders with default asp.net names
svn path=/trunk/mono/; revision=96348
Rodrigo Kumpera [Thu, 21 Feb 2008 14:11:14 +0000 (14:11 -0000)]
2008-02-21 Rodrigo Kumpera <rkumpera@novell.com>
* resolve_method_bug.2.il
* resolve_field_bug.2.il
* resolve_type_bug.2.il: Tests for #363450. They verify that
a loader error during System.Reflection.Module::Resolve* methods don't
leak and causes a spurious TypeLoadException somewhere else.
* Makefile.am: Added the previous tests.
svn path=/trunk/mono/; revision=96347
Rodrigo Kumpera [Thu, 21 Feb 2008 14:01:27 +0000 (14:01 -0000)]
2008-02-21 Rodrigo Kumpera <rkumpera@novell.com>
icall.c (ves_icall_System_Reflection_Module_ResolveTypeToken): If
there is a pending loader exception, raise it.
icall.c (ves_icall_System_Reflection_Module_ResolveMethodToken):
same.
icall.c (ves_icall_System_Reflection_Module_ResolveFieldToken):
same.
Fixes #363450.
svn path=/trunk/mono/; revision=96346
Sebastien Pouliot [Thu, 21 Feb 2008 13:55:49 +0000 (13:55 -0000)]
2008-02-21 Sebastien Pouliot <sebastien@ximian.com>
* Rfc2898DeriveBytesTest.cs: Add test cases for consecutive calls to
GetBytes and compare the result to a single, larger, call. Converted
all exitsing tests to NUnit 2.2.
svn path=/trunk/mcs/; revision=96343
Sebastien Pouliot [Thu, 21 Feb 2008 13:54:53 +0000 (13:54 -0000)]
Rfc2898DeriveBytes.cs: Fix GetByte not to throw an exception if called several time to get more data.
svn path=/trunk/mcs/; revision=96342
Zoltan Varga [Thu, 21 Feb 2008 12:55:47 +0000 (12:55 -0000)]
2008-02-21 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (encode_patch): Handle ICALL_ADDR patch type.
* aot-runtime.c (decode_patch_info): Ditto.
* mini.c (mono_resolve_patch_target): Ditto.
* aot-compiler.c (compile_method): Add some experimental code for AOT compiling
icall wrappers.
* patch-info.h (PATCH_INFO): Add 'ICALL_ADDR' patch type.
* mini.c (mono_method_to_ir): Convert a CEE_MONO_LDPTR opcode to an AOT constant
if it references an icall address.
svn path=/trunk/mono/; revision=96339
Ankit Jain [Thu, 21 Feb 2008 11:16:04 +0000 (11:16 -0000)]
Fix bug #363587
* Driver.cs: Use Report.Message for emitting messages.
* Report.cs (AssembleFile): Honor 'quiet'.
Patch from Andrea Carlo Ornstein <andrea.ornstein@st.com>
svn path=/trunk/mcs/; revision=96334
Zoltan Varga [Thu, 21 Feb 2008 11:04:49 +0000 (11:04 -0000)]
2008-02-21 Zoltan Varga <vargaz@gmail.com>
* HttpConnection.cs (Close): Close the socket even if Shutdown throws an exception.
svn path=/trunk/mcs/; revision=96331
Marek Safar [Thu, 21 Feb 2008 09:53:08 +0000 (09:53 -0000)]
New test + update.
svn path=/trunk/mcs/; revision=96329
Marek Safar [Thu, 21 Feb 2008 09:52:40 +0000 (09:52 -0000)]
2008-02-21 Marek Safar <marek.safar@gmail.com>
* class.cs, typemanager.cs: Rewrote operator matching logic to correctly
handle missing matches when mutiple operators exist.
svn path=/trunk/mcs/; revision=96328
Jb Evain [Thu, 21 Feb 2008 09:42:00 +0000 (09:42 -0000)]
update
svn path=/trunk/mcs/; revision=96327
Jonathan Pobst [Wed, 20 Feb 2008 22:54:05 +0000 (22:54 -0000)]
changelog typo
svn path=/trunk/mcs/; revision=96321
Jonathan Pobst [Wed, 20 Feb 2008 22:52:17 +0000 (22:52 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* TreeView.cs: StateImages are basically custom checkboxes, so
factor their size the same as real checkboxes when determining
what got clicked.
[Fixes bug #363360]
svn path=/trunk/mcs/; revision=96320
Zoltan Varga [Wed, 20 Feb 2008 20:45:20 +0000 (20:45 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_Type_GetPacking): Handle dynamic types.
svn path=/trunk/mono/; revision=96314
Marek Habersack [Wed, 20 Feb 2008 19:46:40 +0000 (19:46 -0000)]
2008-02-20 Marek Habersack <mhabersack@novell.com>
* ConfigurationSection.cs: support the "configSource" attribute
when deserializing a section. Contents of the file (if it exists)
replaces the previous section contents.
* ConfigurationElement.cs: ignore the "configSource" attribute if we're a
ConfigurationSection instance.
HasValues () returns true only if any of the properties has the
origin set to SetHere.
svn path=/trunk/mcs/; revision=96296
Jonathan Pobst [Wed, 20 Feb 2008 19:46:31 +0000 (19:46 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* MessageBox.cs: Make the message box wider if the form caption
is longer than the text in the form.
[Fixes bug #361137]
svn path=/trunk/mcs/; revision=96295
Jb Evain [Wed, 20 Feb 2008 19:25:16 +0000 (19:25 -0000)]
we pass MemberBind tests
svn path=/trunk/mcs/; revision=96294
Jb Evain [Wed, 20 Feb 2008 19:25:03 +0000 (19:25 -0000)]
2008-02-20 Jb Evain <jbevain@novell.com>
* Expression.cs, ExpressionPrinter.cs: implement MemberBind.
svn path=/trunk/mcs/; revision=96293
Ivan Zlatev [Wed, 20 Feb 2008 19:19:07 +0000 (19:19 -0000)]
2008-02-20 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs: Fix a NRE when closing the drop down form.
svn path=/trunk/mcs/; revision=96291
Jonathan Pobst [Wed, 20 Feb 2008 19:17:19 +0000 (19:17 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* TreeNode.cs: Guard against an NRE when the parent's
StateImageList hasn't been set.
[Fixes bug #363353]
svn path=/trunk/mcs/; revision=96290
Zoltan Varga [Wed, 20 Feb 2008 19:08:43 +0000 (19:08 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_load_from_full): Fix a leak in the previous
svn path=/trunk/mono/; revision=96289
Zoltan Varga [Wed, 20 Feb 2008 19:04:51 +0000 (19:04 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_load_from_full): Return the non-refonly corlib for
ref-only requests for compatibility with MS.
svn path=/trunk/mono/; revision=96287
Jb Evain [Wed, 20 Feb 2008 18:53:27 +0000 (18:53 -0000)]
add MemberBind tests
svn path=/trunk/mcs/; revision=96286
Marek Safar [Wed, 20 Feb 2008 18:07:04 +0000 (18:07 -0000)]
2008-02-20 Marek Safar <marek.safar@gmail.com>
A test for bug #363218
svn path=/trunk/mcs/; revision=96281
Marek Safar [Wed, 20 Feb 2008 18:05:44 +0000 (18:05 -0000)]
2008-02-20 Marek Safar <marek.safar@gmail.com>
A fix for bug #363218
* expression.cs (ArrayCreation.Clone): Deal with multi-dimensional
initializers.
svn path=/trunk/mcs/; revision=96280
Marek Safar [Wed, 20 Feb 2008 17:29:49 +0000 (17:29 -0000)]
New test.
svn path=/trunk/mcs/; revision=96277
Marek Safar [Wed, 20 Feb 2008 17:29:30 +0000 (17:29 -0000)]
More tests.
svn path=/trunk/mcs/; revision=96276
Marek Safar [Wed, 20 Feb 2008 17:28:30 +0000 (17:28 -0000)]
2008-02-20 Marek Safar <marek.safar@gmail.com>
* expression.cs, constant.cs, cfold.cs: Yet another side-effect constant
update. This time to deal correctly with SideEffectConstant expression used
as an argument for another constant folding.
svn path=/trunk/mcs/; revision=96275
Zoltan Varga [Wed, 20 Feb 2008 17:21:42 +0000 (17:21 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
svn path=/trunk/mcs/; revision=96274
Jb Evain [Wed, 20 Feb 2008 17:10:23 +0000 (17:10 -0000)]
we pass ListInit tests
svn path=/trunk/mcs/; revision=96273
Jb Evain [Wed, 20 Feb 2008 17:10:07 +0000 (17:10 -0000)]
2008-02-20 Jb Evain <jbevain@novell.com>
* Expression.cs, ExpressionPrinter.cs: implement ListInit.
svn path=/trunk/mcs/; revision=96272
Jonathan Pobst [Wed, 20 Feb 2008 17:02:50 +0000 (17:02 -0000)]
svn path=/trunk/mcs/; revision=96271
Jonathan Pobst [Wed, 20 Feb 2008 16:42:02 +0000 (16:42 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: For the app data paths and the registry key paths,
ensure they are created before returning them to the user.
[Fixes bug #361709]
svn path=/trunk/mcs/; revision=96268
Jonathan Pobst [Wed, 20 Feb 2008 16:37:39 +0000 (16:37 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Guard against an NRE in CompanyName and
ProductName.
svn path=/trunk/mcs/; revision=96267
Vladimir Krasnov [Wed, 20 Feb 2008 16:04:54 +0000 (16:04 -0000)]
merge -r96230:96231
svn path=/trunk/mcs/; revision=96263
Jonathan Pobst [Wed, 20 Feb 2008 15:08:16 +0000 (15:08 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: For CompanyName, ProductName, and ProductVersion,
make sure we handle all three cases correctly: attribute is present,
attribute is present but is an empty string, and attribute is not
present.
svn path=/trunk/mcs/; revision=96259
Igor Zelmanovich [Wed, 20 Feb 2008 13:28:37 +0000 (13:28 -0000)]
merge r96245:96256:
2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
* Login.cs: render id attribute of root element correctly.
svn path=/trunk/mcs/; revision=96247
Jb Evain [Wed, 20 Feb 2008 13:12:09 +0000 (13:12 -0000)]
huh
svn path=/trunk/mcs/; revision=96245
Igor Zelmanovich [Wed, 20 Feb 2008 12:17:29 +0000 (12:17 -0000)]
merge r96225:96227
svn path=/trunk/mcs/; revision=96243
Igor Zelmanovich [Wed, 20 Feb 2008 12:14:11 +0000 (12:14 -0000)]
merge r96240:96241
svn path=/trunk/mcs/; revision=96242
Zoltan Varga [Wed, 20 Feb 2008 11:47:21 +0000 (11:47 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* cpu-s390x.md: Remove some more unused opcodes.
svn path=/trunk/mono/; revision=96240
Zoltan Varga [Wed, 20 Feb 2008 11:33:47 +0000 (11:33 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* AssemblyName.cs (ReferenceMatchesDefinition): Add error checking and some
simple cases required by ikvm.
svn path=/trunk/mcs/; revision=96237
Ivan Zlatev [Wed, 20 Feb 2008 11:15:20 +0000 (11:15 -0000)]
2008-02-20 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs:
- Fix a NRE that caused a test failure
- Another performance improvement - cache the standard values
listbox.
svn path=/trunk/mcs/; revision=96234
Veerapuram Varadhan [Wed, 20 Feb 2008 11:02:56 +0000 (11:02 -0000)]
svn path=/trunk/mcs/; revision=96233
Zoltan Varga [Wed, 20 Feb 2008 10:45:51 +0000 (10:45 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* cpu-s390x.md: Remove some unused opcodes.
svn path=/trunk/mono/; revision=96232
Raja R Harinath [Wed, 20 Feb 2008 09:58:13 +0000 (09:58 -0000)]
* reflection.c (mono_custom_attrs_from_method): Don't silently
return an empty list for generic method instances.
(mono_custom_attrs_from_param): Likewise.
svn path=/trunk/mono/; revision=96229
Raja R Harinath [Wed, 20 Feb 2008 08:22:24 +0000 (08:22 -0000)]
In class/corlib/Test/System.Reflection.Emit:
* MethodBuilderTest.cs (Bug354757): New test.
In class/corlib/Test/System.Reflection:
* MethodInfoTest.cs (GetGenericMethodDefinition): Add a test for
an instantiation.
(Bug354757): New test.
svn path=/trunk/mcs/; revision=96225
Raja R Harinath [Wed, 20 Feb 2008 08:21:00 +0000 (08:21 -0000)]
2008-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Raja R Harinath <harinath@hurrynot.org>
Fix #354757
* class-internals.h (struct _MonoMethodInflated.is_mb_open): Add.
* class.c (mono_class_inflate_generic_method_full): Initialize it
when a fully-open method is instantiated.
* metadata.c (inflated_method_equal, inflated_method_hash): Update
to new field.
* reflection.c (inflate_mono_method): Don't create a temporary context.
svn path=/trunk/mono/; revision=96224
Raja R Harinath [Wed, 20 Feb 2008 07:56:54 +0000 (07:56 -0000)]
fix some whitespace
svn path=/trunk/mcs/; revision=96223
Raja R Harinath [Wed, 20 Feb 2008 07:56:26 +0000 (07:56 -0000)]
* typemanager.cs (DropGenericMethodArguments): Ensure we get an underlying
MethodBuilder.
svn path=/trunk/mcs/; revision=96222
Raja R Harinath [Wed, 20 Feb 2008 07:16:39 +0000 (07:16 -0000)]
* icall.c (ves_icall_MonoMethod_GetGenericMethodDefinition):
Compute correct value, to prepare for imethod->reflection_info going away.
svn path=/trunk/mono/; revision=96221
Carlos Alberto Cortez [Wed, 20 Feb 2008 01:14:38 +0000 (01:14 -0000)]
2008-02-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SerialPortStream.cs: Set DllImport.SetLastError to true for
all MonoPosixHelper functions, so in case of error we can retrieve the
error and print a simple but effective message about it.
svn path=/trunk/mcs/; revision=96216
Zoltan Varga [Wed, 20 Feb 2008 00:13:46 +0000 (00:13 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.c (mono_arch_lowering_pass): Add some more opcodes. Use
mono_op_imm_to_op ().
svn path=/trunk/mono/; revision=96211
Zoltan Varga [Wed, 20 Feb 2008 00:07:22 +0000 (00:07 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (opcode_to_sparc_cond): Use the mono_opcode_to_cond () functions
instead of a switch statement.
svn path=/trunk/mono/; revision=96210
Zoltan Varga [Wed, 20 Feb 2008 00:00:35 +0000 (00:00 -0000)]
Fix some whitespace issues.
svn path=/trunk/mono/; revision=96209
Zoltan Varga [Tue, 19 Feb 2008 23:59:22 +0000 (23:59 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (mono_arch_allocate_vars): Allocate a stack slot for use by
the int<->float conversion opcodes instead of using mono_spillvar_offset_float ().
svn path=/trunk/mono/; revision=96208
Zoltan Varga [Tue, 19 Feb 2008 23:33:54 +0000 (23:33 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c: Eliminate rassign macro which is no longer needed.
svn path=/trunk/mono/; revision=96204