Carlos Alberto Cortez [Fri, 6 Mar 2009 16:26:55 +0000 (16:26 -0000)]
2009-03-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RichTextBox.cs: When calling LoadFile, remove the extra EOL
introduced by StreamReader, since it will convert the EOF to an EOL.
Fixes #479646.
svn path=/trunk/mcs/; revision=128788
Jonathan Pobst [Fri, 6 Mar 2009 15:57:53 +0000 (15:57 -0000)]
2009-03-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDropDownMenu.cs: Use Math.Max instead of calculating
preferred size twice.
svn path=/trunk/mcs/; revision=128786
Zoltan Varga [Fri, 6 Mar 2009 15:55:12 +0000 (15:55 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* arm/tramp.c: Include a change from the debian patches. Avoid #include-ing
a file in the middle of a function.
svn path=/trunk/mono/; revision=128782
Jonathan Pobst [Fri, 6 Mar 2009 15:46:39 +0000 (15:46 -0000)]
2009-03-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripMenuItem.cs: Don't draw the dropdown arrow or shortcut
string if we aren't on a ToolStripDropDownMenu.
svn path=/trunk/mcs/; revision=128780
Zoltan Varga [Fri, 6 Mar 2009 15:24:42 +0000 (15:24 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* load-exceptions.cs load-missing.il: Add a test for #482638.
svn path=/trunk/mono/; revision=128779
Zoltan Varga [Fri, 6 Mar 2009 15:22:16 +0000 (15:22 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Check for type load exceptions in
the delegate ctor handling code. Fixes #482638.
svn path=/trunk/mono/; revision=128778
Jonathan Pobst [Fri, 6 Mar 2009 15:12:04 +0000 (15:12 -0000)]
2009-03-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDropDownButton.cs, ToolStripItem.cs: Refactor some Button
code from Item to Button. Patch from Alex Shulgin.
svn path=/trunk/mcs/; revision=128777
Ankit Jain [Fri, 6 Mar 2009 14:24:00 +0000 (14:24 -0000)]
Fix bug #481336.
* SolutionParser.cs (AddWarningForMissingProjectConfiguration): New.
(AddProjectTargets): Emit warning for missing project configurations.
svn path=/trunk/mcs/; revision=128773
Marek Safar [Fri, 6 Mar 2009 14:02:19 +0000 (14:02 -0000)]
New test.
svn path=/trunk/mcs/; revision=128772
Atsushi Eno [Fri, 6 Mar 2009 04:34:31 +0000 (04:34 -0000)]
2009-03-06 Atsushi Enomoto <atsushi@ximian.com>
* MessageBodyDescription.cs, MessagePartDescription.cs,
OperationDescription.cs, MessageDescriptionCollection.cs:
clean up extra todos.
svn path=/trunk/mcs/; revision=128754
Zoltan Varga [Fri, 6 Mar 2009 02:35:58 +0000 (02:35 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mini_emit_memset): Fix the handling of size '3'. Fixes
#481458.
* iltests.il.in: Add a test.
svn path=/trunk/mono/; revision=128749
Zoltan Varga [Fri, 6 Mar 2009 01:39:24 +0000 (01:39 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* mini-darwin.c (mono_chain_signal): Remove this, it is already in
mini-posix.c.
svn path=/trunk/mono/; revision=128747
Zoltan Varga [Thu, 5 Mar 2009 23:38:21 +0000 (23:38 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* mono-hash.c: Use precise GC allocation for the Boehm GC as well.
svn path=/trunk/mono/; revision=128745
Zoltan Varga [Thu, 5 Mar 2009 23:18:14 +0000 (23:18 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* threads.c (handle_store): Create the 'threads' hash table with the proper
MONO_HASH_VALUE_GC type.
svn path=/trunk/mono/; revision=128744
Zoltan Varga [Thu, 5 Mar 2009 22:18:44 +0000 (22:18 -0000)]
2009-03-05 Zoltan Varga <vargaz@gmail.com>
* domain-internals.h (struct _MonoDomain): Move 'typeof_void' before
FIRST_GC_TRACKED.
* domain.c (mono_domain_create): Register the fields between FIRST_GC_TRACKED
and LAST_GC_TRACKED as a GC root.
svn path=/trunk/mono/; revision=128734
Zoltan Varga [Thu, 5 Mar 2009 22:04:09 +0000 (22:04 -0000)]
2009-03-05 Zoltan Varga <vargaz@gmail.com>
* gc-internal.h: Fix the comment of mono_gc_alloc_fixed.
* object.c (mono_class_create_runtime_vtable): Create a GC descriptor for
the static data even if it consists of 1 reference.
* boehm-gc.c (mono_gc_alloc_fixed): Allocate using GC_MALLOC_EXPLICITLY_TYPED
if there is a GC descriptor.
svn path=/trunk/mono/; revision=128731
Jb Evain [Thu, 5 Mar 2009 22:02:27 +0000 (22:02 -0000)]
adjust name
svn path=/trunk/mcs/; revision=128730
Mark Probst [Thu, 5 Mar 2009 21:44:30 +0000 (21:44 -0000)]
ChangeLog fix.
svn path=/trunk/mono/; revision=128729
Zoltan Varga [Thu, 5 Mar 2009 21:27:42 +0000 (21:27 -0000)]
2009-03-05 Zoltan Varga <vargaz@gmail.com>
* reflection.c (ALLOC_REFENTRY): Allocate ReflectedEntry-es using malloc
instead of through the GC since they contain no object references.
svn path=/trunk/mono/; revision=128727
Mark Probst [Thu, 5 Mar 2009 20:55:15 +0000 (20:55 -0000)]
2009-03-05 Mark Probst <mark.probst@gmail.com>
* mini-trampolines.c (mono_create_jump_trampoline): If the method
is shared generic code, return the trampoline, even if the method
has already been compiled. Fixes #479753.
* mini.c, mini.h: New function
mono_jit_find_compiled_method_with_jit_info() which is the same as
mono_jit_find_compiled_method() but also returns the jit info.
2009-03-05 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c (instantiate_other_info): Always return a jump
trampoline for method code.
2009-03-05 Mark Probst <mark.probst@gmail.com>
* bug-479763.2.cs: New test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=128723
Jb Evain [Thu, 5 Mar 2009 20:48:55 +0000 (20:48 -0000)]
we pass those
svn path=/trunk/mcs/; revision=128722
Jb Evain [Thu, 5 Mar 2009 20:48:13 +0000 (20:48 -0000)]
in System.Runtime.CompilerServices:
2009-03-05 Jb Evain <jbevain@novell.com>
* ExecutionScope.cs: add support for hoisted locals.
in System.Linq.Expressions:
2009-03-05 Jb Evain <jbevain@novell.com>
* EmitContext.cs
* ParameterExpression.cs:
add support for hoisted locals.
svn path=/trunk/mcs/; revision=128721
Mark Probst [Thu, 5 Mar 2009 20:16:59 +0000 (20:16 -0000)]
2009-03-05 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mono_method_to_ir): Only force the vtable var
for methods which actually have one. For all other methods, make
sure the this argument var is live the whole method.
* mini.c (mini_method_compile): Every shared method has a
this/vtable/mrgctx info. Fixes #480807.
svn path=/trunk/mono/; revision=128720
Atsushi Eno [Thu, 5 Mar 2009 19:10:55 +0000 (19:10 -0000)]
2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
* ContractDescriptionGenerator.cs : fill service known types.
* ServiceKnownTypeAttribute.cs : correct implementation to populate
specified types.
svn path=/trunk/mcs/; revision=128719
Atsushi Eno [Thu, 5 Mar 2009 18:46:40 +0000 (18:46 -0000)]
2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaderException.cs : added missing members.
svn path=/trunk/mcs/; revision=128717
Marek Habersack [Thu, 5 Mar 2009 18:05:11 +0000 (18:05 -0000)]
2009-03-05 Marek Habersack <mhabersack@novell.com>
* culture-info-tables.h: generated to include the en-tt culture.
2009-03-05 Marek Habersack <mhabersack@novell.com>
* locales/en_TT.xml: added here since openi18n.org times out and
also I can't update icu_locales.tar.gz. File based on en_ZA.xml
from that tarball, with appropriate modifications.
* Makefile.am (supp_data_files): added supp/en_TT.xml
svn path=/trunk/mono/; revision=128714
Bill Holmes [Thu, 5 Mar 2009 17:56:08 +0000 (17:56 -0000)]
2009-03-05 Bill Holmes <billholmes54@gmail.com>
* mono.def : Removing missing methods to remove link errors for
MSVC build.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=128713
Marek Habersack [Thu, 5 Mar 2009 16:13:56 +0000 (16:13 -0000)]
test
svn path=/trunk/mcs/; revision=128705
Jb Evain [Thu, 5 Mar 2009 15:58:29 +0000 (15:58 -0000)]
new tests
svn path=/trunk/mcs/; revision=128696
Jonathan Pobst [Thu, 5 Mar 2009 15:34:40 +0000 (15:34 -0000)]
2009-03-05 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDrowDown.cs: Remove some hardcoded values and assumptions.
* ToolStripDropDownButton.cs: This should use a ToolStripDropDownMenu,
not a ToolStripDropDown.
* ToolStripItem.cs: Don't use the item margins on a ToolStripDropDown.
svn path=/trunk/mcs/; revision=128694
Mark Probst [Thu, 5 Mar 2009 14:06:59 +0000 (14:06 -0000)]
2009-03-05 Mark Probst <mark.probst@gmail.com>
* mini-ppc.c (mono_arch_build_imt_thunk): Add support for mixed
generic/imt thunks where some entries branch through the vtable,
while other entries branch directly.
svn path=/trunk/mono/; revision=128690
Marek Safar [Thu, 5 Mar 2009 13:37:23 +0000 (13:37 -0000)]
Less static is good for my health.
svn path=/trunk/mcs/; revision=128684
Zoltan Varga [Thu, 5 Mar 2009 13:22:48 +0000 (13:22 -0000)]
2009-03-05 Zoltan Varga <vargaz@gmail.com>
* mini-darwin.c (mono_chain_signal): Define this to fix the build.
* mini-windows.c: Ditto.
svn path=/trunk/mono/; revision=128683
Jb Evain [Thu, 5 Mar 2009 12:23:33 +0000 (12:23 -0000)]
new test
svn path=/trunk/mcs/; revision=128682
Rolf Bjarne Kvinge [Thu, 5 Mar 2009 11:54:52 +0000 (11:54 -0000)]
2009-03-05 Rolf Bjarne Kvinge <RKvinge@novell.com>
* WaitHandle.cs: Added missing WaitOne overload.
svn path=/trunk/mcs/; revision=128681
Marek Safar [Thu, 5 Mar 2009 11:40:08 +0000 (11:40 -0000)]
2009-03-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #480100
* parameter.cs: A parameter is not hoisted when used directly as ET.
svn path=/trunk/mcs/; revision=128679
Atsushi Eno [Thu, 5 Mar 2009 09:33:52 +0000 (09:33 -0000)]
2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
handle headers in SL2. Slightly changed 3.0 code too.
* Makefile : added /r:System.Xml.Linq in 2.1 too.
svn path=/trunk/mcs/; revision=128670
Rodrigo Kumpera [Thu, 5 Mar 2009 02:45:14 +0000 (02:45 -0000)]
2009-03-04 Rodrigo Kumpera <rkumpera@novell.com>
* domain-internals.h (MonoDomain): Add two fields to cache invoke wrappers to
capture the thread context.
* object.c (mono_async_result_new): Cache the invoke wrappers to
ExecutionContext::Capture.
svn path=/trunk/mono/; revision=128664
Rodrigo Kumpera [Thu, 5 Mar 2009 02:45:05 +0000 (02:45 -0000)]
2009-03-04 Rodrigo Kumpera <rkumpera@novell.com>
* marshal.h: Add a prototype for what mono_compile_method returns
for invoke wrappers.
* gc.c: Use the new prototype declaration.
svn path=/trunk/mono/; revision=128663
Geoff Norton [Thu, 5 Mar 2009 02:07:48 +0000 (02:07 -0000)]
whoops
svn path=/trunk/mono/; revision=128662
Geoff Norton [Thu, 5 Mar 2009 02:07:43 +0000 (02:07 -0000)]
2009-03-04 Geoff Norton <gnorton@novell.com>
* boehm-gc.c: Add some MONO_LOG tracing for the GC
* gc-internal.h:
* mono-gc.h: Expose mono_gc_invoke_finalizers in the embedding api.
svn path=/trunk/mono/; revision=128661
Ivan Zlatev [Wed, 4 Mar 2009 23:47:15 +0000 (23:47 -0000)]
2009-03-04 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Fix RowCount/ColumnCount decreasing.
* DataGridViewTest.cs: Add tests for RowCount/ColumnCount decreasing.
Based on a patch by Tom Hindle <tom_hindle@sil.org>
[Fixes bug #482133]
svn path=/trunk/mcs/; revision=128645
Zoltan Varga [Wed, 4 Mar 2009 23:15:48 +0000 (23:15 -0000)]
2009-03-05 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_runtime_invoke): Speed up the invoking of parameterless
ctors.
svn path=/trunk/mono/; revision=128638
Ivan Zlatev [Wed, 4 Mar 2009 22:31:19 +0000 (22:31 -0000)]
2009-03-04 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs, DataGridViewElement.cs:
- Always calls OnDataGridViewChanged() if the new DGV is
not the same/null as the current one.
- Do not throw NREs when setting TopLeftHeaderCell to null
- Unset the DGV for TopLeftHeaderCell when replacing it
* DataGridViewCellTest.cs: Add tests for OnDataGridViewChanged behavior.
Based on a patch by Tom Hindle <tom_hindle@sil.org>
[Fixes bug #481681]
svn path=/trunk/mcs/; revision=128628
Marek Habersack [Wed, 4 Mar 2009 20:02:09 +0000 (20:02 -0000)]
typo fix
svn path=/trunk/mcs/; revision=128610
Miguel de Icaza [Wed, 4 Mar 2009 19:22:20 +0000 (19:22 -0000)]
Allow doc tool to process this
svn path=/trunk/mono/; revision=128607
Marek Safar [Wed, 4 Mar 2009 19:19:37 +0000 (19:19 -0000)]
New tests.
svn path=/trunk/mcs/; revision=128606
Marek Habersack [Wed, 4 Mar 2009 19:03:18 +0000 (19:03 -0000)]
2009-03-04 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: do not clean the dynamic base directory in
DoUnload, it can cause race conditions.
svn path=/trunk/mcs/; revision=128602
Marek Safar [Wed, 4 Mar 2009 18:53:23 +0000 (18:53 -0000)]
2009-03-04 Marek Safar <marek.safar@gmail.com>
* statement.cs: Fixed an issue when using variable is of interface
type.
svn path=/trunk/mcs/; revision=128600
Atsushi Eno [Wed, 4 Mar 2009 18:47:53 +0000 (18:47 -0000)]
2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
* CrossDomainPolicy.cs : added validation method. Not sure if it is
complete.
* CrossDomainAccessManager.cs : validate against crossdomain.xml too.
svn path=/trunk/mcs/; revision=128593
Atsushi Eno [Wed, 4 Mar 2009 18:09:16 +0000 (18:09 -0000)]
2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
* CrossDomainAccessManager.cs : replace reflection-based
Uri retrieval with actually working one.
* HttpRequestChannel.cs : use cross domain access manager.
svn path=/trunk/mcs/; revision=128581
Atsushi Eno [Wed, 4 Mar 2009 17:22:41 +0000 (17:22 -0000)]
2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
* CrossDomainAccessManager.cs : 2.1 WebRequest misses some
members used here.
* Makefile : add /r:System.Core in 2.1 build.
svn path=/trunk/mcs/; revision=128579
Jonathan Pobst [Wed, 4 Mar 2009 16:59:45 +0000 (16:59 -0000)]
2009-03-04 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDropDown.cs: When dismissing control due to ESC, don't
hit a NRE if we are a ContextMenuStrip and do not have a parent.
[Fixes bug #478616]
svn path=/trunk/mcs/; revision=128573
Jb Evain [Wed, 4 Mar 2009 16:53:57 +0000 (16:53 -0000)]
2009-03-04 Jb Evain <jbevain@novell.com>
* Mono.Cecil/StructureWriter.cs: properly set the metadata tokens
of newly emitted modules and assemblies. Fix #480729.
svn path=/trunk/mcs/; revision=128572
Rolf Bjarne Kvinge [Wed, 4 Mar 2009 16:49:21 +0000 (16:49 -0000)]
In .:
2009-03-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
* System.Net.dll.sources: Added WriteStreamClosedEventArgs_2_1.cs
and WriteStreamClosedEventHandler_2_1.cs
In System.Net:
2009-03-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
* WebClient_2_1.cs: Stub out missing methods.
* WriteStreamClosedEventArgs_2_1.cs:
* WriteStreamClosedEventHandler_2_1.cs: Added.
svn path=/trunk/mcs/; revision=128571
Atsushi Eno [Wed, 4 Mar 2009 16:47:34 +0000 (16:47 -0000)]
2009-03-04 Astushi Enomoto <atsushi@ximian.com>
* net_2_1_raw_System.ServiceModel.dll.sources :
added cross domain checker sources.
* CrossDomainAccessManager.cs, ClientAccessPolicy.cs,
CrossDomainPolicy.cs : new. support cross domain access check.
svn path=/trunk/mcs/; revision=128570
Zoltan Varga [Wed, 4 Mar 2009 16:33:59 +0000 (16:33 -0000)]
2009-03-04 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (emit_line_number_info): Add some debug code to help track
down an assert.
svn path=/trunk/mono/; revision=128568
Martin Baulig [Wed, 4 Mar 2009 15:40:48 +0000 (15:40 -0000)]
Clean up the debugger's exception API and add some documentation.
2009-03-04 Martin Baulig <martin@ximian.com>
* debug-mini.c: Clean up the exception API and add documentation.
(mono_debugger_handle_exception): New public method; this is
called when throwing an exception or encountering an unhandled one.
(mono_debugger_call_exception_handler): Formerly known as
mono_debugger_handle_exception(); this is used to tell the
debugger that we're about to invoke an exception handler.
svn path=/trunk/mono/; revision=128556
Mark Probst [Wed, 4 Mar 2009 15:23:53 +0000 (15:23 -0000)]
2009-03-04 Mark Probst <mark.probst@gmail.com>
* Makefile.am: Second part of the erroneous change reverted. I
suck.
svn path=/trunk/mono/; revision=128554
Mark Probst [Wed, 4 Mar 2009 15:21:05 +0000 (15:21 -0000)]
2009-03-04 Mark Probst <mark.probst@gmail.com>
* Makefile.am: Erroneous change reverted.
svn path=/trunk/mono/; revision=128553
Mark Probst [Wed, 4 Mar 2009 15:13:32 +0000 (15:13 -0000)]
2009-03-04 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c: Don't inline methods that use JMP. Fixes
#481403.
2009-03-04 Mark Probst <mark.probst@gmail.com>
* bug-481403.il: New test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=128552
Mark Probst [Wed, 4 Mar 2009 15:05:34 +0000 (15:05 -0000)]
2009-03-04 Mark Probst <mark.probst@gmail.com>
* exceptions-x86.c: Include debug-mini.h - fixes build.
svn path=/trunk/mono/; revision=128549
Martin Baulig [Wed, 4 Mar 2009 14:16:55 +0000 (14:16 -0000)]
Improved the debugger's exception handling code.
2009-03-04 Martin Baulig <martin@ximian.com>
* debug-mini.c (mono_debugger_runtime_invoke): Moved here from
../metadata/mono-debug-debugger.c; save and reset exception state.
2009-03-02 Martin Baulig <martin@ximian.com>
* debug-mini.c: Moved the debugger exception handling here from
../metadata/mono-debug-debugger.c.
* debug-mini.h
(MonoDebuggerExceptionAction): New exception typedef.
* debug-mini.c
(MonoDebuggerThreadInfo): Added `MonoObject *last_exception'.
* exceptions-amd64.c
(mono_amd64_throw_exception): Use the new debugger exception
handling code.
* mini-exceptions.c
(mono_handle_exception_internal): Don't call
mono_debugger_unhandled_exception() here.
2009-03-04 Martin Baulig <martin@ximian.com>
* mono-debug.h
(mono_debugger_runtime_invoke): Removed.
* mono-debug-debugger.c
(mono_runtime_invoke): Moved into ../mini/debug-mini.c.
2009-03-02 Martin Baulig <martin@ximian.com>
* mono-debug.h
(mono_debugger_unhandled_exception): Removed.
(mono_debugger_handle_exception): Removed.
(mono_debugger_throw_exception): Removed.
* mono-debug.c
(mono_debug_debugger_version): Bump to 5.
* mono-debug-debugger.c: Moved the exception handling code to
../mini/debug-mini.c
svn path=/trunk/mono/; revision=128544
Gonzalo Paniagua Javier [Wed, 4 Mar 2009 03:15:52 +0000 (03:15 -0000)]
2009-03-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* IPAddress.cs: don't allocate the IPv6 array for IPv4 addresses.
svn path=/trunk/mcs/; revision=128515
Zoltan Varga [Wed, 4 Mar 2009 00:49:06 +0000 (00:49 -0000)]
2009-03-04 Zoltan Varga <vargaz@gmail.com>
* RxInterpreter.cs (ResetGroups): Avoid allocating larger than needed
arrays.
svn path=/trunk/mcs/; revision=128509
Gonzalo Paniagua Javier [Tue, 3 Mar 2009 23:54:30 +0000 (23:54 -0000)]
unused var
svn path=/trunk/mcs/; revision=128508
Zoltan Varga [Tue, 3 Mar 2009 23:23:23 +0000 (23:23 -0000)]
Revert a change commited by mistake.
svn path=/trunk/mono/; revision=128497
Marek Habersack [Tue, 3 Mar 2009 22:55:44 +0000 (22:55 -0000)]
2009-03-03 Marek Habersack <mhabersack@novell.com>
* CachedRawResponse.cs: headers are stored in NameValueCollection
now.
2009-03-03 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: fully implemented the Headers property.
It is also used in the 1.1 profile, but is internal.
* HttpCookie.cs: GetCookieHeader renamed to GetCookieHeaderValue -
now returns a string with the header value.
* HttpCacheVaryByParams.cs: GetResponseHeader renamed to
GetResponseHeaderValue - now returns a string with the header
value.
* HttpCachePolicy.cs: SetHeaders now takes a NameValueCollection
instead of an ArrayList
svn path=/trunk/mcs/; revision=128494
Marek Habersack [Tue, 3 Mar 2009 22:54:17 +0000 (22:54 -0000)]
2009-03-03 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: avoid calculating the same value twice in
MakeInputStream
svn path=/trunk/mcs/; revision=128493
Zoltan Varga [Tue, 3 Mar 2009 22:18:15 +0000 (22:18 -0000)]
2009-03-03 Zoltan Varga <vargaz@gmail.com>
* domain-internals.h (struct _MonoDomain): Add a separate lock for the
finalize_objects_hash.
* gc.c: Use the separate lock to access the finalize_objects_hash field.
svn path=/trunk/mono/; revision=128490
Zoltan Varga [Tue, 3 Mar 2009 22:07:31 +0000 (22:07 -0000)]
In metadata/
2009-03-03 Zoltan Varga <vargaz@gmail.com>
* domain-internals.h (struct _MonoDomain): Add finalize_runtime_invoke
field.
* metadata-internals.h (struct _MonoImage): Add runtime_invoke_vcall_cache
cache.
* image.c (mono_image_close): Free it.
* marshal.c (mono_marshal_get_runtime_invoke): Add a 'virtual' argument
allowing a creation of a wrapper which invokes its method using a CALLVIRT
on the this argument.
* gc.c (run_finalize): Optimize the calling of the finalizers.
In mini/
2009-03-03 Zoltan Varga <vargaz@gmail.com>
* mini.c aot-compiler.c: Update after the changes to
mono_marshal_get_runtime_invoke ().
svn path=/trunk/mono/; revision=128489
Rodrigo Kumpera [Tue, 3 Mar 2009 21:50:44 +0000 (21:50 -0000)]
2009-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* Control.cs (FillControlCache): Remove useless control
parameter. It's always the same of 'this'.
svn path=/trunk/mcs/; revision=128488
Rodrigo Kumpera [Tue, 3 Mar 2009 20:42:21 +0000 (20:42 -0000)]
2009-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* DataBoundLiteralControl.cs: Don't init static literals
as they are lazily created.
svn path=/trunk/mcs/; revision=128485
Rodrigo Kumpera [Tue, 3 Mar 2009 19:39:48 +0000 (19:39 -0000)]
2009-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* Guid.cs (BaseToString): Reduce allocations.
svn path=/trunk/mcs/; revision=128477
Martin Baulig [Tue, 3 Mar 2009 18:41:34 +0000 (18:41 -0000)]
Bump MONO_DEBUGGER_MAJOR_VERSION to 81 because of the `MonoGenericInst' changes.
svn path=/trunk/mono/; revision=128461
Rodrigo Kumpera [Tue, 3 Mar 2009 17:14:21 +0000 (17:14 -0000)]
2009-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_MonoType_GetGenericArguments): Use
mono_array_class_get_cached to reduce locking contention. Extract
a domain var.
* icall.c (ves_icall_Type_GetFields_internal): Avoid allocating
intermediary managed arrays. Use caching version of mono_array_new
to allocate the result array.
* icall.c (ves_icall_Type_GetEvents_internal): Same.
* icall.c (ves_icall_Type_GetNestedTypes): Same.
* locales.c (create_names_array_idx): Use mono_array_new_cached
to reduce locking contention.
svn path=/trunk/mono/; revision=128455
Marek Safar [Tue, 3 Mar 2009 15:45:38 +0000 (15:45 -0000)]
Updated.
svn path=/trunk/mono/; revision=128451
Marek Safar [Tue, 3 Mar 2009 15:45:13 +0000 (15:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=128450
Marek Safar [Tue, 3 Mar 2009 15:45:01 +0000 (15:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=128449
Marek Safar [Tue, 3 Mar 2009 15:43:54 +0000 (15:43 -0000)]
2009-03-03 Marek Safar <marek.safar@gmail.com>
A fix for bug #480319
* report.cs, driver.cs: Support -warnaserror-:<warning list> option.
svn path=/trunk/mcs/; revision=128448
Marek Safar [Tue, 3 Mar 2009 13:55:29 +0000 (13:55 -0000)]
New test.
svn path=/trunk/mcs/; revision=128442
Marek Safar [Tue, 3 Mar 2009 13:55:14 +0000 (13:55 -0000)]
2009-03-03 Marek Safar <marek.safar@gmail.com>
A fix for bug #480867
* typemanager.cs, expression.cs, ecore.cs: Changed method group
expression to have no valid type.
svn path=/trunk/mcs/; revision=128441
Marek Safar [Tue, 3 Mar 2009 12:58:19 +0000 (12:58 -0000)]
New test.
svn path=/trunk/mcs/; revision=128435
Marek Safar [Tue, 3 Mar 2009 12:57:55 +0000 (12:57 -0000)]
2009-03-03 Marek Safar <marek.safar@gmail.com>
A fix for bug #481258
* class.cs: Set extension method flag in partial container.
svn path=/trunk/mcs/; revision=128433
Marek Safar [Tue, 3 Mar 2009 12:16:11 +0000 (12:16 -0000)]
New tests.
svn path=/trunk/mcs/; revision=128427
Marek Safar [Tue, 3 Mar 2009 12:15:54 +0000 (12:15 -0000)]
2009-03-03 Marek Safar <marek.safar@gmail.com>
* statement.cs, typemanager.cs: Use expression for StringEmitter.
* attribute.cs: Add sanity check.
svn path=/trunk/mcs/; revision=128426
Marek Habersack [Tue, 3 Mar 2009 01:28:50 +0000 (01:28 -0000)]
2009-03-03 Marek Habersack <mhabersack@novell.com>
* ListView.cs: SetPageProperties invoked the
PagePropertiesChanging event with the startRowIndex and
maximumRows parameters reversed. Fixes bugs #481250 and #481252
svn path=/trunk/mcs/; revision=128408
Marek Habersack [Tue, 3 Mar 2009 01:28:31 +0000 (01:28 -0000)]
2009-03-03 Marek Habersack <mhabersack@novell.com>
* DataPagerField.cs: GetQueryModeStartRowIndex must return 'true'
if in query mode. Fixes bug #481248
svn path=/trunk/mcs/; revision=128407
Chris Toshok [Tue, 3 Mar 2009 00:44:33 +0000 (00:44 -0000)]
In System.Runtime.Serialization/System.Xml:
2009-03-02 Chris Toshok <toshok@ximian.com>
* XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs: 2.1
has HasValue.
In System.XML/System.Xml:
2009-03-02 Chris Toshok <toshok@ximian.com>
* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs,
EntityResolvingXmlReader.cs: 2.1 has HasValue.
In System.XML/Mono.Xml:
2009-03-02 Chris Toshok <toshok@ximian.com>
* SubtreeXmlReader.cs, XmlFilterReader.cs: 2.1 has HasValue.
In System.Xml.Linq/System.Xml.Linq:
2009-03-02 Chris Toshok <toshok@ximian.com>
* XNodeReader.cs: 2.1 has HasValue.
In System.ServiceModel.Web/System.Runtime.Serialization.Json:
2009-03-02 Chris Toshok <toshok@ximian.com>
* JsonReader.cs: 2.1 has HasValue.
svn path=/trunk/mcs/; revision=128406
Zoltan Varga [Tue, 3 Mar 2009 00:23:07 +0000 (00:23 -0000)]
2009-03-03 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_method_add_generic_virtual_invocation): Put back the
thunk builder code for the non-interface case.
svn path=/trunk/mono/; revision=128404
Zoltan Varga [Mon, 2 Mar 2009 23:57:09 +0000 (23:57 -0000)]
2009-03-03 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_convert_imt_slot_to_vtable_slot):
Virtual generic methods might not have method->slot set, work around
that.
* generics.cs: Add a test.
svn path=/trunk/mono/; revision=128401
Everaldo Canuto [Mon, 2 Mar 2009 23:30:43 +0000 (23:30 -0000)]
2009-03-02 Everaldo Canuto <ecanuto@novell.com>
* HttpResponse.cs: Headers property implementation.
svn path=/trunk/mcs/; revision=128397
Ankit Jain [Mon, 2 Mar 2009 23:20:18 +0000 (23:20 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* Csc.cs (AddResponseFileCommands): Split DefineConstants on ';'.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CscTest.cs (DefineConstants): Add some extra semi-colons,
that should get removed on output.
(DefineConstants2): New. Test effectively empty define constants.
svn path=/trunk/mcs/; revision=128396
Geoff Norton [Mon, 2 Mar 2009 22:26:21 +0000 (22:26 -0000)]
2009-03-02 Geoff Norton <gnorton@novell.com>
* mini.c:
* driver.c: Allow signal chaining of SIGFPE as well.
svn path=/trunk/mono/; revision=128388
Jb Evain [Mon, 2 Mar 2009 22:23:24 +0000 (22:23 -0000)]
preserve internal methods of EventInfo
svn path=/trunk/mcs/; revision=128387
Rodrigo Kumpera [Mon, 2 Mar 2009 21:47:56 +0000 (21:47 -0000)]
2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.
* object-internals.h (MonoReflectionEvent): Add cached_add_event.
svn path=/trunk/mono/; revision=128384
Rodrigo Kumpera [Mon, 2 Mar 2009 21:47:45 +0000 (21:47 -0000)]
2008-03-02 Rodrigo Kumpera <rkumpera@novell.com>
* EventInfo.cs: Apply similar trick to the one in MonoProperty to speed up
AddEventHandler.
2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=128383
Rodrigo Kumpera [Mon, 2 Mar 2009 21:47:39 +0000 (21:47 -0000)]
2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
* object-internals.h: Rename _MonoReflectionEvent to
MonoReflectionMonoEvent so it reflects the right managed type.
Add a MonoReflectionEvent that correctly represents System.EventInfo.
* icall.c:
* reflection.c: Adjust code to use the new MonoReflectionMonoEvent
type.
svn path=/trunk/mono/; revision=128382
Zoltan Varga [Mon, 2 Mar 2009 21:39:49 +0000 (21:39 -0000)]
2009-03-02 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_generic_virtual_remoting_trampoline): Update
this since it now receives the method not its generic context in the
IMT reg.
svn path=/trunk/mono/; revision=128381
Rodrigo Kumpera [Mon, 2 Mar 2009 18:20:18 +0000 (18:20 -0000)]
2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
* Enum.cs (IsDefined): If the enum underlying type is int32, use
the generic version, which doesn't box every element of the array.
svn path=/trunk/mcs/; revision=128367