Marek Habersack [Fri, 6 Feb 2009 13:09:25 +0000 (13:09 -0000)]
2009-02-06 Marek Habersack <mhabersack@novell.com>
* Control.cs: partially restore the ViewStateShouldBeSaved method
in order to introduce a small optimization - when the control's
EnableViewState is false, there is no point in checking all the
child controls.
svn path=/trunk/mcs/; revision=126037
Marek Safar [Fri, 6 Feb 2009 12:49:11 +0000 (12:49 -0000)]
2009-02-06 Marek Safar <marek.safar@gmail.com>
* delegate.cs: Use cached Invoke method directly.
svn path=/trunk/mcs/; revision=126031
Atsushi Eno [Fri, 6 Feb 2009 11:52:22 +0000 (11:52 -0000)]
2009-02-06 Atsushi Enomoto <atsushi@ximian.com>
* ClientBase.cs : oops, should have tried build with net_2_1_raw.
svn path=/trunk/mcs/; revision=126028
Gert Driesen [Fri, 6 Feb 2009 11:34:39 +0000 (11:34 -0000)]
* Control.cs: Make IsViewStateEnabled available on 1.0 profile
and use it to determine if viewstate needs to be saved instead of
the newly introduced ViewStateShouldBeSaved. Remove
ViewStateShouldBeSaved.
svn path=/trunk/mcs/; revision=126025
Marek Safar [Fri, 6 Feb 2009 11:11:45 +0000 (11:11 -0000)]
Update.
svn path=/trunk/mcs/; revision=126022
Marek Safar [Fri, 6 Feb 2009 11:11:32 +0000 (11:11 -0000)]
2009-02-06 Marek Safar <marek.safar@gmail.com>
* expression.cs: Emit expression tree for hoisted variable access.
svn path=/trunk/mcs/; revision=126021
Atsushi Eno [Fri, 6 Feb 2009 10:27:01 +0000 (10:27 -0000)]
2009-02-06 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs, ClientBase.cs :
implement remaining ChannelBase members and made some required
changes in ClientRuntimeChannel.
svn path=/trunk/mcs/; revision=126017
Raja R Harinath [Fri, 6 Feb 2009 07:50:39 +0000 (07:50 -0000)]
Fix mcs/tests/test-7.cs
* mini-amd64.c (mono_arch_allocate_vars): Revert change from 2009-02-03.`
svn path=/trunk/mono/; revision=126006
Geoff Norton [Fri, 6 Feb 2009 07:02:03 +0000 (07:02 -0000)]
2009-02-05 Geoff Norton <gnorton@novell.com>
* WebClient_2_1.cs: Use g_timeout_add instead of g_idle_add here until
SyncContext is ready, as its less prone to starvation.
svn path=/trunk/mcs/; revision=126003
Miguel de Icaza [Fri, 6 Feb 2009 06:26:59 +0000 (06:26 -0000)]
2009-02-06 Miguel De Icaza <miguel@novell.com>
* Disable parallel marking on OSX as it hangs during collections
in the bootstrap stage of Mono.
As we find more platforms that hang, we should disable it there as
well.
svn path=/trunk/mono/; revision=126002
Scott Thomas [Fri, 6 Feb 2009 01:03:07 +0000 (01:03 -0000)]
Rolling back premature commit.
svn path=/trunk/mono/; revision=125977
Scott Thomas [Fri, 6 Feb 2009 00:52:27 +0000 (00:52 -0000)]
Contributed under the MIT/X11 license. This patch completes
runtime support for generic variance.
svn path=/trunk/mono/; revision=125976
Zoltan Varga [Thu, 5 Feb 2009 23:26:36 +0000 (23:26 -0000)]
Put back a '\n'.
svn path=/trunk/mono/; revision=125957
Zoltan Varga [Thu, 5 Feb 2009 23:25:12 +0000 (23:25 -0000)]
2009-02-06 Zoltan Varga <vargaz@gmail.com>
* mini.c (print_jit_stats): Remove some unused statistics.
svn path=/trunk/mono/; revision=125955
Zoltan Varga [Thu, 5 Feb 2009 23:18:25 +0000 (23:18 -0000)]
2009-02-06 Zoltan Varga <vargaz@gmail.com>
* loader.c: Add a statistics for the size of the memberref signature cache.
svn path=/trunk/mono/; revision=125954
Zoltan Varga [Thu, 5 Feb 2009 23:10:40 +0000 (23:10 -0000)]
2009-02-06 Zoltan Varga <vargaz@gmail.com>
* loader.c (find_cached_memberref_sig): New helper function.
(cache_memberref_sig): Ditto.
* loader.c: Cache the result of parsing memberref signatures, since otherwise
they will be parsed again for every generic instantiation, leading to unbounded
memory growth.
svn path=/trunk/mono/; revision=125953
Miguel de Icaza [Thu, 5 Feb 2009 23:01:12 +0000 (23:01 -0000)]
Add a new macro
svn path=/trunk/mono/; revision=125952
Marek Habersack [Thu, 5 Feb 2009 22:08:33 +0000 (22:08 -0000)]
2009-02-05 Marek Habersack <mhabersack@novell.com>
* AppResourcesCompiler.cs: implemented a type resolver for
ResXResourceReader so that it can correctly resolve
System.Resources types which are normally found in
System.Windows.Forms but are included by System.Web
directly. Without the type resolver, code comparing types inside
ResXResourceReader when file references are used in side the .resx
file will not work correctly. The reason for that is that .resx
files will name "System.Resources.ResXFileRef,
System.Windows.Forms" as the file reference handler, while inside
System.Web ResXFileRef will be of type
"System.Resources.ResXFileRef, System.Web". Fixes bug #466059
svn path=/trunk/mcs/; revision=125945
Geoff Norton [Thu, 5 Feb 2009 21:50:21 +0000 (21:50 -0000)]
2009-02-05 Geoff Norton <gnorton@novell.com>
* WebClient_2_1.cs: CancelAsync calls Thread.Interrupt so needs to be
SecuritySafeCritical for now.
svn path=/trunk/mcs/; revision=125938
Zoltan Varga [Thu, 5 Feb 2009 21:44:57 +0000 (21:44 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_get_method_from_token): Avoid creating class for the generic
parameters of generic methods.
svn path=/trunk/mono/; revision=125937
Miguel de Icaza [Thu, 5 Feb 2009 21:24:41 +0000 (21:24 -0000)]
2009-02-05 Miguel de Icaza <miguel@novell.com>
* src/gstr.c: Add g_strnfill
* src/glib.h: Add g_list_previous
svn path=/trunk/mono/; revision=125934
Miguel de Icaza [Thu, 5 Feb 2009 20:30:21 +0000 (20:30 -0000)]
Fix make distcheck
svn path=/trunk/mono/; revision=125928
Zoltan Varga [Thu, 5 Feb 2009 19:29:04 +0000 (19:29 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_inflate_generic_method_full): Set is_mb_open again
after the original method is copied to the inflated method.
(mono_class_get_vtable_entry): Handle rgctx invoke wrappers more efficiently.
svn path=/trunk/mono/; revision=125918
Zoltan Varga [Thu, 5 Feb 2009 18:58:34 +0000 (18:58 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (struct _MonoMethodInflated): Move the is_mb_open
field to MonoMethod since it only consumes 1 bit there, and 4/8 bytes here.
* class.c metadata.c: Update after the changes above.
svn path=/trunk/mono/; revision=125911
Rodrigo Kumpera [Thu, 5 Feb 2009 18:45:21 +0000 (18:45 -0000)]
2009-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Simplified error handling and added
section table validation.
svn path=/trunk/mono/; revision=125909
Rodrigo Kumpera [Thu, 5 Feb 2009 18:45:20 +0000 (18:45 -0000)]
2009-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* section-table-tests.md: New test suite for
section headers.
* Makefile: Add new test suite.
svn path=/trunk/mono/; revision=125908
Rodrigo Kumpera [Thu, 5 Feb 2009 18:45:19 +0000 (18:45 -0000)]
2009-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Add section-table var.
Add support for function calls. Added read.uint.
Added support for complex arithmetic expressions.
svn path=/trunk/mono/; revision=125907
Zoltan Varga [Thu, 5 Feb 2009 18:30:41 +0000 (18:30 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_klass_info): Update after MonoClass changes.
svn path=/trunk/mono/; revision=125903
Zoltan Varga [Thu, 5 Feb 2009 18:29:33 +0000 (18:29 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (MonoClassExt): New structure containing rarely used
fields of MonoClass.
(struct _MonoClass): Move rarely used fields to MonoClassExt, accessed
through a new 'ext' field.
* class.c (mono_class_alloc_ext): New helper function to allocate
class->ext.
* class.c metadata.c reflection.c: Update after MonoClass structure changes.
svn path=/trunk/mono/; revision=125902
Ivan Zlatev [Thu, 5 Feb 2009 18:23:39 +0000 (18:23 -0000)]
2009-02-05 Ivan N. Zlatev <contact@i-nz.net>
* DataGridViewRowCollection.cs, DataGridView.cs: Fix row insertation:
- Use ArrayList.Insert instead of the Item property so that the item
is actually inserted and not an existing item replaced.
- Call DataGridView.OnRowsAddedInternal and drop internal from
OnRowsAdded for binary compitability. This also fixes several
redrawing issues.
[Fixes bug #472968]
svn path=/trunk/mcs/; revision=125900
Andrés G. Aragoneses [Thu, 5 Feb 2009 18:03:59 +0000 (18:03 -0000)]
* System.Windows.Forms/ToolBarButton.cs: Doh, fire OnUIATextChanged
*after* setting the value.
svn path=/trunk/mcs/; revision=125894
Mark Probst [Thu, 5 Feb 2009 17:04:43 +0000 (17:04 -0000)]
2009-02-05 Mark Probst <mark.probst@gmail.com>
* object.c (mono_object_get_virtual_method): Properly inflate
generic methods. Fixes #472692.
2009-02-05 Mark Probst <mark.probst@gmail.com>
* jit-icalls.c (mono_helper_compile_generic_method): Don't inflate
the method we get from mono_object_get_virtual_method() because
that function does it properly, now.
2009-02-05 Mark Probst <mark.probst@gmail.com>
* bug-472692.2.cs: New test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=125887
Marek Habersack [Thu, 5 Feb 2009 17:01:27 +0000 (17:01 -0000)]
Merge branch 'bug468359'
* bug468359:
2009-02-05 Marek Habersack <mhabersack@novell.com>
Conflicts:
class/System.Web/ChangeLog
class/System.Web/Makefile
svn path=/trunk/mcs/; revision=125885
Zoltan Varga [Thu, 5 Feb 2009 16:26:51 +0000 (16:26 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* unwind.c (mono_unwind_ops_encode): Handle offsets greater than 32 between
opcodes. Fixes #472775.
svn path=/trunk/mono/; revision=125879
Marek Safar [Thu, 5 Feb 2009 15:37:11 +0000 (15:37 -0000)]
Enable full verifier
svn path=/trunk/mono/; revision=125872
Marek Safar [Thu, 5 Feb 2009 15:30:29 +0000 (15:30 -0000)]
Enable full verifier for 1.1
svn path=/trunk/mcs/; revision=125870
Marek Safar [Thu, 5 Feb 2009 15:30:13 +0000 (15:30 -0000)]
1 test fixed
svn path=/trunk/mcs/; revision=125869
Gert Driesen [Thu, 5 Feb 2009 14:56:52 +0000 (14:56 -0000)]
* UTF32EncodingTest.cs: Added tests for GetByteCount overloads.
svn path=/trunk/mcs/; revision=125864
Gert Driesen [Thu, 5 Feb 2009 14:55:41 +0000 (14:55 -0000)]
* UTF32Encoding.cs: Added missing argument check in GetByteCount
(char*, int) overload.
svn path=/trunk/mcs/; revision=125863
Marek Habersack [Thu, 5 Feb 2009 13:48:38 +0000 (13:48 -0000)]
2009-02-05 Marek Habersack <mhabersack@novell.com>
* NunitWebResources/NoDoubleOnInitOnRemoveAdd.aspx,
NunitWebResources/NoDoubleOnInitOnRemoveAdd.aspx.cs: added
2009-02-05 Marek Habersack <mhabersack@novell.com>
* ControlTest.cs: added test for bug #47130
2009-02-05 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/NoDoubleOnInitOnRemoveAdd.aspx and
Test/mainsoft/NunitWebResources/NoDoubleOnInitOnRemoveAdd.aspx.cs
svn path=/trunk/mcs/; revision=125860
Marek Habersack [Thu, 5 Feb 2009 13:15:06 +0000 (13:15 -0000)]
2009-02-05 Marek Habersack <mhabersack@novell.com>
* GenericBuildProvider.cs: added a new virtual method, MapPath,
which can be overriden by builders which need special handling of
virtual path mapping.
* PageBuildProvider.cs: provide implementation of
GenericBuildProvider.MapPath which takes into account fake virtual
paths. Fixes bug #463950
svn path=/trunk/mcs/; revision=125857
Gert Driesen [Thu, 5 Feb 2009 12:06:22 +0000 (12:06 -0000)]
* HttpListener2Test.cs: Make tests quiet.
* HttpWebRequestTest.cs: Added test for bug #471782.
svn path=/trunk/mcs/; revision=125852
Rodrigo Kumpera [Thu, 5 Feb 2009 11:40:50 +0000 (11:40 -0000)]
2009-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_create_from_typedef): The CLR supports SystemF
recursive types such as List<T>:Cons<T,List<T>> so when doing the lookup
for the parent type, the created type must be ready to be used on a generic
instantiation.
We fill this_arg/byval_arg if the parent is a generic instance to make sure
we won't have duplicated entries in generic_inst_cache.
Fixes #469553.
svn path=/trunk/mono/; revision=125849
Mark Probst [Thu, 5 Feb 2009 10:39:30 +0000 (10:39 -0000)]
2009-02-05 Mark Probst <mark.probst@gmail.com>
* mini-exceptions.c (ves_icall_get_frame_info): Account for the
fact that mono_find_jit_info() sometimes returns the context
corresponding to the jit info in new_ctx. Fixes #472600.
2009-02-05 Mark Probst <mark.probst@gmail.com>
* bug-472600.2.cs: New test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=125839
Miguel de Icaza [Thu, 5 Feb 2009 06:10:57 +0000 (06:10 -0000)]
2009-02-05 Miguel de Icaza <miguel@novell.com>
* WebConnectionStream.cs: Prevent a nullref here. This might
have to be backported to 2.2 and 2.4
svn path=/trunk/mcs/; revision=125823
Miguel de Icaza [Thu, 5 Feb 2009 05:58:23 +0000 (05:58 -0000)]
Add test for bug 471580
svn path=/trunk/mcs/; revision=125822
Miguel de Icaza [Thu, 5 Feb 2009 05:57:54 +0000 (05:57 -0000)]
2009-02-05 Miguel De Icaza <miguel@novell.com>
* threadpool.c (socket_io_add_poll): Remove the BSD6 define and
replace with plain BSD per the comments on the bug MONO77637.
2009-02-05 Miguel De Icaza <miguel@novell.com>
* sockets.c (_wapi_setsockopt): SO_REUSEPORT is needed also on
MacOS X. Fixes bug #471292
svn path=/trunk/mono/; revision=125821
Zoltan Varga [Thu, 5 Feb 2009 05:36:42 +0000 (05:36 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_get_generic_class): New accessor function.
(mono_class_get_generic_container): Ditto.
svn path=/trunk/mono/; revision=125818
Zoltan Varga [Thu, 5 Feb 2009 05:10:44 +0000 (05:10 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (struct _MonoClass): Add 'is_generic' and 'is_inflated'
fields, similar to the ones in MonoMethod.
* class.c (mono_generic_class_get_class): Set klass->is_inflated.
(mono_class_create_from_typedef): Set klass->is_generic if needed.
* reflection.c (mono_reflection_create_generic_class): Set klass->is_generic.
svn path=/trunk/mono/; revision=125816
Zoltan Varga [Thu, 5 Feb 2009 04:01:41 +0000 (04:01 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (struct _MonoClass): Remove enum_basetype, it contains
the same information as element_class->byval_arg.
* class.c reflection.c: Remove references to class->byval_arg.
svn path=/trunk/mono/; revision=125813
Miguel de Icaza [Thu, 5 Feb 2009 03:36:14 +0000 (03:36 -0000)]
Fix build regression
svn path=/trunk/mono/; revision=125810
Zoltan Varga [Thu, 5 Feb 2009 03:30:25 +0000 (03:30 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* class.c marshal.c: Use mono_class_enum_basetype () instead of accessing
klass->enum_basetype directly.
svn path=/trunk/mono/; revision=125809
Zoltan Varga [Thu, 5 Feb 2009 02:37:06 +0000 (02:37 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* class.c: Use mono_class_enum_basetype () instead of accessing
klass->enum_basetype directly.
svn path=/trunk/mono/; revision=125807
Zoltan Varga [Thu, 5 Feb 2009 02:25:00 +0000 (02:25 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* verify.c metadata.c object.c icall.c reflection.c: Use
mono_class_enum_basetype () instead of accessing klass->enum_basetype
directly.
svn path=/trunk/mono/; revision=125806
Zoltan Varga [Thu, 5 Feb 2009 02:23:20 +0000 (02:23 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c mini-hppa.c mini.c trace.c mini-s390x.c aot-compiler.c
mini-s390.c: Use mono_class_enum_basetype () instead of accessing
klass->enum_basetype directly.
svn path=/trunk/mono/; revision=125805
Andrés G. Aragoneses [Thu, 5 Feb 2009 01:31:32 +0000 (01:31 -0000)]
* ToolBarButton.cs: Add another event (OnUIATextChanged).
svn path=/trunk/mcs/; revision=125802
Zoltan Varga [Thu, 5 Feb 2009 01:15:49 +0000 (01:15 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_class_dwarf_info): Add support for all possible
enum subtypes.
svn path=/trunk/mono/; revision=125801
Marek Habersack [Thu, 5 Feb 2009 00:56:56 +0000 (00:56 -0000)]
2009-02-05 Marek Habersack <mhabersack@novell.com>
* Control.cs: if a control has been added to the controls
collection, removed and added again do not call OnInit (). At the
same time OnInit() should be called more than once if a control is
added to a container which, in turn, is then added to another
control. To achieve that a new state mask flag has been added -
REMOVED. Fixes bug #471305
svn path=/trunk/mcs/; revision=125798
Gonzalo Paniagua Javier [Thu, 5 Feb 2009 00:21:52 +0000 (00:21 -0000)]
new tests for empty string
svn path=/trunk/mcs/; revision=125795
Gonzalo Paniagua Javier [Thu, 5 Feb 2009 00:19:49 +0000 (00:19 -0000)]
2009-02-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DateTime.cs: check for null and empty strings before anything else
in CoreParse.
svn path=/trunk/mcs/; revision=125793
Zoltan Varga [Thu, 5 Feb 2009 00:16:14 +0000 (00:16 -0000)]
Oops.
svn path=/trunk/mono/; revision=125792
Zoltan Varga [Thu, 5 Feb 2009 00:15:16 +0000 (00:15 -0000)]
Fix another [0] issue.
svn path=/trunk/mono/; revision=125791
Zoltan Varga [Thu, 5 Feb 2009 00:11:32 +0000 (00:11 -0000)]
2009-02-05 Zoltan Varga <vargaz@gmail.com>
* unwind.c: Avoid 0 sized arrays.
svn path=/trunk/mono/; revision=125790
Jonathan Pobst [Wed, 4 Feb 2009 22:16:55 +0000 (22:16 -0000)]
2009-02-04 Jonathan Pobst <monkey@jpobst.com>
* FlowLayout.cs: When laying out ToolStripItems, they should be
the height of the ToolStrip, not their preferred height.
[Fixes bug #469196]
svn path=/trunk/mcs/; revision=125770
Miguel de Icaza [Wed, 4 Feb 2009 22:02:41 +0000 (22:02 -0000)]
This seems like dead code for now
svn path=/trunk/mono/; revision=125764
Miguel de Icaza [Wed, 4 Feb 2009 21:56:45 +0000 (21:56 -0000)]
On platforms without SIGUSR1, return -1
svn path=/trunk/mono/; revision=125762
Miguel de Icaza [Wed, 4 Feb 2009 21:40:14 +0000 (21:40 -0000)]
2009-02-04 Miguel de Icaza <miguel@novell.com>
More patches from Paolo's work, refactored to be integrated into
trunk:
* icall-def.h: Remove internal calls for sockets when
DISABLE_SOCKET is defined, file system writing features when the
OS only support reading and not writing data and Policy support if
the Policy is disabled.
* image.c (do_mono_image_open): Apply Paolo's patches for using
mono_file_map_ APIs here.
* assembly.c: Add support for platforms to avoid prefix
auto-detection.
svn path=/trunk/mono/; revision=125757
Miguel de Icaza [Wed, 4 Feb 2009 20:57:32 +0000 (20:57 -0000)]
This is internal
svn path=/trunk/mcs/; revision=125748
Andrés G. Aragoneses [Wed, 4 Feb 2009 20:51:01 +0000 (20:51 -0000)]
fix changelog
svn path=/trunk/mcs/; revision=125747
Andrés G. Aragoneses [Wed, 4 Feb 2009 20:43:27 +0000 (20:43 -0000)]
* System.Windows.Forms/ToolBarButton.cs: Fix typo in previous commit
(r125704).
svn path=/trunk/mcs/; revision=125744
Andrew Jorgensen [Wed, 4 Feb 2009 20:35:58 +0000 (20:35 -0000)]
remove genxs2 (no 2.0 profile assembly is built)
svn path=/trunk/mono/; revision=125742
Zoltan Varga [Wed, 4 Feb 2009 20:24:35 +0000 (20:24 -0000)]
2009-02-04 Zoltan Varga <vargaz@gmail.com>
* Dictionary.cs: Declare the Link struct outside the main class to avoid
creating a separate inflated instances for each instantiation of Dictionary.
svn path=/trunk/mcs/; revision=125739
Zoltan Varga [Wed, 4 Feb 2009 20:04:33 +0000 (20:04 -0000)]
2009-02-04 Zoltan Varga <vargaz@gmail.com>
* generic-sharing.c (mono_method_fill_runtime_generic_context): Fix a
warning.
svn path=/trunk/mono/; revision=125737
Zoltan Varga [Wed, 4 Feb 2009 19:45:59 +0000 (19:45 -0000)]
2009-02-04 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_inflate_generic_class): New helper function.
* class.c: Use mono_class_inflate_generic_class in a few places. Add
statistics for inflated methods/classes.
* loader.c (inflate_generic_header): Use mono_class_inflate_generic_class.
svn path=/trunk/mono/; revision=125730
Zoltan Varga [Wed, 4 Feb 2009 19:25:03 +0000 (19:25 -0000)]
2009-02-04 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_Type_GetMethodsByName): Optimize the case when
the call is made from Delegate.CreateDelegate () for the invoke method of
a delegate.
* loader.c: Add a statistics for the memory occupied by inflated signatures.
* metadata.c (mono_metadata_signature_size): New helper function.
* class.c (mono_class_get_method_from_name_flags): Add an optimization for
generic instances.
svn path=/trunk/mono/; revision=125727
Zoltan Varga [Wed, 4 Feb 2009 19:24:53 +0000 (19:24 -0000)]
2009-02-04 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_Type_GetMethodsByName): Optimize the case when
the call is made from Delegate.CreateDelegate () for the invoke method of
a delegate.
* loader.c: Add a statistics for the memory occupied by inflated signatures.
* metadata.c (mono_metadata_signature_size): New helper function.
* class.c (mono_class_get_method_from_name_flags): Add an optimization for
generic instances.
svn path=/trunk/mono/; revision=125726
Zoltan Varga [Wed, 4 Feb 2009 19:07:52 +0000 (19:07 -0000)]
2009-02-04 Zoltan Varga <vargaz@gmail.com>
* metadata.c (inflated_method_in_image): Avoid calling
mono_method_signature () if the method does not already have a signature.
svn path=/trunk/mono/; revision=125724
Raja R Harinath [Wed, 4 Feb 2009 18:39:26 +0000 (18:39 -0000)]
update known issues
svn path=/trunk/mcs/; revision=125722
Raja R Harinath [Wed, 4 Feb 2009 18:34:45 +0000 (18:34 -0000)]
update known issues
svn path=/trunk/mcs/; revision=125721
Andrew Jorgensen [Wed, 4 Feb 2009 17:47:26 +0000 (17:47 -0000)]
Fix bnc#472021
svn path=/trunk/mono/; revision=125709
Andrés G. Aragoneses [Wed, 4 Feb 2009 17:11:21 +0000 (17:11 -0000)]
* ToolBar.cs, ToolBarButton.cs: Add new UIA events to know
when a button gets focus, firing the events from the ToolBar.
r: jpobst
svn path=/trunk/mcs/; revision=125704
Mario Carrion [Wed, 4 Feb 2009 17:11:13 +0000 (17:11 -0000)]
2009-02-04 Mario Carrion <mcarrion@novell.com>
* ColumnHeaderTest.cs: Testing ListView.ColumnWidthChanged when
changing Width (for bug #467086).
svn path=/trunk/mcs/; revision=125703
Mario Carrion [Wed, 4 Feb 2009 17:10:31 +0000 (17:10 -0000)]
2009-02-04 Mario Carrion <mcarrion@novell.com>
* ColumnHeader.cs: Raising ListView.ColumnWidthChanged when
setting Width.
* ListView.cs: Internal method added: RaiseColumnWidthChanged,
used by ColumnHeader to raise ColumnWidthChanged. [
Fixes Bug #467086]
svn path=/trunk/mcs/; revision=125702
Zoltan Varga [Wed, 4 Feb 2009 16:32:07 +0000 (16:32 -0000)]
2009-02-04 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_setup_altstack): Use a more reasonable altstack
size on systems with 64k pages. Fixes #471389.
svn path=/trunk/mono/; revision=125697
Miguel de Icaza [Wed, 4 Feb 2009 14:43:56 +0000 (14:43 -0000)]
Fix windows build
svn path=/trunk/mono/; revision=125690
Marek Safar [Wed, 4 Feb 2009 14:14:19 +0000 (14:14 -0000)]
Sealed internal comparers.
svn path=/trunk/mcs/; revision=125687
Mark Probst [Wed, 4 Feb 2009 13:39:11 +0000 (13:39 -0000)]
2009-02-04 Mark Probst <mark.probst@gmail.com>
Contributed under the terms of the MIT/X11 license by Steven
Munroe <munroesj@us.ibm.com>.
* mini-ppc.c (mono_arch_output_basic_block): Generate better code
for LOADI4_MEMBASE. Use addi instead of addic if it's not
necessary.
svn path=/trunk/mono/; revision=125679
Mark Probst [Wed, 4 Feb 2009 13:25:48 +0000 (13:25 -0000)]
2009-02-04 Mark Probst <mark.probst@gmail.com>
Contributed under the terms of the MIT/X11 license by Steven
Munroe <munroesj@us.ibm.com>.
* exceptions-ppc.c (mono_arch_get_restore_context): Code size
comparison fix.
* tramp-ppc.c (mono_arch_create_generic_class_init_trampoline):
The trampoline can be longer on PPC64.
svn path=/trunk/mono/; revision=125676
Mark Probst [Wed, 4 Feb 2009 13:09:29 +0000 (13:09 -0000)]
2009-02-04 Mark Probst <mark.probst@gmail.com>
Contributed under the terms of the MIT/X11 license by Steven
Munroe <munroesj@us.ibm.com>.
* mini-ppc.c: Compiler warning fixes and trivial code
simplifications.
svn path=/trunk/mono/; revision=125672
Marek Safar [Wed, 4 Feb 2009 11:36:42 +0000 (11:36 -0000)]
2009-02-04 Marek Safar <marek.safar@gmail.com>
* namespace.cs: Add better extension class check.
svn path=/trunk/mcs/; revision=125667
Scott Thomas [Wed, 4 Feb 2009 11:06:48 +0000 (11:06 -0000)]
Fixed a type (TypeParameter.Variacne).
svn path=/trunk/mcs/; revision=125666
Marek Habersack [Wed, 4 Feb 2009 10:44:57 +0000 (10:44 -0000)]
2009-02-04 Marek Habersack <mhabersack@novell.com>
* Control.cs: update of the fix for bug #470993 - view state of
the child controls isn't saved when any of their parents has it
disabled.
svn path=/trunk/mcs/; revision=125663
Marek Habersack [Wed, 4 Feb 2009 09:03:42 +0000 (09:03 -0000)]
2009-02-04 Marek Habersack <mhabersack@novell.com>
* SQLite3.cs, SQLite3_UTF16.cs, SQLiteBase.cs, SQLiteFunction.cs,
UnsafeNativeMethods.cs: fixes for custom functions and collations
creation with sqlite3. Fixes bug #470042. Patch from John Millikin
<jmillikin@gmail.com>, thanks!
svn path=/trunk/mcs/; revision=125659
Atsushi Eno [Wed, 4 Feb 2009 08:11:13 +0000 (08:11 -0000)]
2009-02-04 Atsushi Enomoto <atsushi@ximian.com>
* ServiceContractGenerator.cs : add async operation support (might
be hacky under some condition).
svn path=/trunk/mcs/; revision=125655
Atsushi Eno [Wed, 4 Feb 2009 06:31:05 +0000 (06:31 -0000)]
2009-02-04 Atsushi Enomoto <atsushi@ximian.com>
* BaseMessagesFormatter.cs : do not use non-2.1 CreateInstance().
svn path=/trunk/mcs/; revision=125653
Atsushi Eno [Wed, 4 Feb 2009 04:23:38 +0000 (04:23 -0000)]
2009-02-04 Atsushi Enomoto <atsushi@ximian.com>
* UTF32Encoding.cs : fixed wrong range in GetByteCount(). Patch by
David Michell.
svn path=/trunk/mcs/; revision=125648
Scott Thomas [Wed, 4 Feb 2009 04:22:19 +0000 (04:22 -0000)]
This commit adds generic variance support under the new
"future" langversion. Variance is allowed in interface
and delegate types. Covariant type parameters are denoted
with the "out" keyword like so:
interface IFoo<out T> {
T Bar { get; }
}
And contravariant type parameters are dentoed with the
"in" keyword, like so:
delegate void Bar<in T> (T input);
Covariant type parameters can only be used as method
return types and type arguments for inherited
interfaces. Contravariant type parameters can only be
used as by-value method parameter types.
Only reference type are variant.
!!!IT SHOULD BE NOTED!!!
That the Mono VM does not yet fully support generic
type variance, so variant code compiled with this
feature will not run on Mono until variance support
is complete. Code compiled with this feature will run
on the .NET 2.0 virtual machine.
This patch is contributed under the MIT/X11 license.
svn path=/trunk/mcs/; revision=125647
Zoltan Varga [Wed, 4 Feb 2009 02:18:48 +0000 (02:18 -0000)]
2009-02-04 Zoltan Varga <vargaz@gmail.com>
* Regex.cs: Disable the new regex engine for now.
svn path=/trunk/mcs/; revision=125637
Zoltan Varga [Wed, 4 Feb 2009 01:50:17 +0000 (01:50 -0000)]
Fix AOT.
svn path=/trunk/mono/; revision=125634
Gonzalo Paniagua Javier [Wed, 4 Feb 2009 01:50:09 +0000 (01:50 -0000)]
2009-02-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebConnection.cs:
* HttpWebRequest.cs: calling Abort is safe now if the request has been
read entirely.
svn path=/trunk/mcs/; revision=125633