Mark Probst [Thu, 30 Oct 2008 20:39:23 +0000 (20:39 -0000)]
2008-10-30 Mark Probst <mark.probst@gmail.com>
* monitor.c (mono_monitor_get_fast_enter_method): If
CompareExchange is not available, don't create the fastpath
instead of asserting. (The method is missing in the 1.1 profile.)
svn path=/trunk/mono/; revision=117515
Gonzalo Paniagua Javier [Thu, 30 Oct 2008 19:17:53 +0000 (19:17 -0000)]
2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebConnectionStream.cs: when there's a NTLM authentication in
progress, don't let the connection be used by the next request if we
have the entire response in the input buffer.
svn path=/trunk/mcs/; revision=117511
Gonzalo Paniagua Javier [Thu, 30 Oct 2008 19:12:52 +0000 (19:12 -0000)]
2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebResponseTest.cs:
* SocketResponder.cs:
* HttpWebRequestTest.cs: don't pretend to be a 1.1 server or the
socket will stay open. Timeout for Ntlm test is 5s now.
svn path=/trunk/mcs/; revision=117510
Jonathan Pryor [Thu, 30 Oct 2008 19:10:46 +0000 (19:10 -0000)]
* man/mdoc-assemble.1: Document //node use within .source files.
svn path=/trunk/mono/; revision=117509
Mark Probst [Thu, 30 Oct 2008 18:42:14 +0000 (18:42 -0000)]
2008-10-30 Mark Probst <mark.probst@gmail.com>
* marshal.c, marshal.h: Rename signature_no_pinvoke() and make it non-static.
* monitor.c, monitor.h: Code for generating Monitor.Enter and
Monitor.Exit IL fastpaths.
2008-10-30 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mini_emit_inst_for_method): Use the IL fastpaths
for Monitor.Enter and Monitor.Exit if enabled.
* mini-x86.h, mini-amd64.h: Enable the IL fastpaths for Linux and
Solaris.
svn path=/trunk/mono/; revision=117504
Gonzalo Paniagua Javier [Thu, 30 Oct 2008 17:35:24 +0000 (17:35 -0000)]
2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpListenerResponse.cs: removed obsolete comment.
* ResponseStream.cs: don't read response.SendChunked until after
getting the response headers.
svn path=/trunk/mcs/; revision=117492
Gonzalo Paniagua Javier [Thu, 30 Oct 2008 16:04:57 +0000 (16:04 -0000)]
2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
* RegexBugs.cs: added test from bug #439947.
svn path=/trunk/mcs/; revision=117488
Zoltan Varga [Thu, 30 Oct 2008 15:59:21 +0000 (15:59 -0000)]
2008-10-30 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs: Implement SubExpression opcode.
svn path=/trunk/mcs/; revision=117485
Zoltan Varga [Thu, 30 Oct 2008 15:41:03 +0000 (15:41 -0000)]
2008-10-30 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs: Save and restore strpos in the Test opcode. Fixes
#439947.
svn path=/trunk/mcs/; revision=117484
Marek Habersack [Thu, 30 Oct 2008 14:46:35 +0000 (14:46 -0000)]
2008-10-30 Marek Habersack <mhabersack@novell.com>
* System.Web.Extensions.dll.sources: added
./System.Web.UI.WebControls/TemplatePagerField.cs
* System.Web.Extensions_test.dll.sources: added
System.Web.UI.WebControls/EventRecorder.cs,
System.Web.UI.WebControls/ListViewTest.cs,
System.Web.UI.WebControls/DataPagerFieldCollectionTest.cs
2008-10-30 Marek Habersack <mhabersack@novell.com>
* DataPagerFieldCollectionTest.cs: created. Some basic tests for
DataPagerFieldCollection
* EventRecorder.cs: created. A helper class for tests.
* ListViewTest.cs: created. Some basic test for ListView.
2008-10-30 Marek Habersack <mhabersack@novell.com>
* DataPagerFieldCollection.cs: implemented most of the methods and
properties, so that using the DataPager is possible now.
* PagePropertiesChangingEventArgs.cs: implemented all the methods
and properties.
* ListView.cs: {Save,Load}ControlState now uses constants to index
state arrays. Total row count is stored in the control state.
CreateChildControls () now uses dummy data to initialize child
controls if no items were found after postback.
CreateChildControls (IEnumerable, bool) now properly calculates
total row count, calls OnTotalRowCountAvailable after creating the
child controls and returns the total row count instead of the
number of created child controls. This makes pager work
correctly.
Implemented SetPageProperties () to support paging.
* NextPreviousPagerField.cs: Correctly order the Next/Previous
buttons.
When creating buttons, cast the new control properly before
assigning properties.
* TemplatePagerField.cs: added (stub)
* DataPager.cs: added missing class attributes (ParseChildren,
PersistChildren and SupportsEventValidation).
{Save,Load}ControlState now use constants to index the state
arrays.
Properly implemented FindPageableItemContainer - it now looks for
the container up the parenthood chain, querying all the naming
containers for the named control.
SetUpForNewContainer now accepts an additional parameter, so that
the SetPageProperties method is called on the container whenever
necessary.
* NumericPagerField.cs: implemented the CreateField method.
* ListViewPagedDataSource.cs: implemented data source
enumerators.
* DataPagerFieldItem.cs: implemented all the methods and properties.
svn path=/trunk/mcs/; revision=117479
Zoltan Varga [Thu, 30 Oct 2008 04:32:37 +0000 (04:32 -0000)]
2008-10-30 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (type_from_op): Convert CEE_CONV_U on OP_ICONV_TO_U instead
of an OP_MOVE. Fixes #440046.
* basic-long.cs: Add a new test.
svn path=/trunk/mono/; revision=117446
Gonzalo Paniagua Javier [Wed, 29 Oct 2008 22:20:27 +0000 (22:20 -0000)]
2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* PathTest.cs: add test for bug #439751.
svn path=/trunk/mcs/; revision=117436
Gonzalo Paniagua Javier [Wed, 29 Oct 2008 22:19:49 +0000 (22:19 -0000)]
2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Path.cs: clean the path when we're not in windows.
Bug #321706 fixed.
svn path=/trunk/mcs/; revision=117435
Gonzalo Paniagua Javier [Wed, 29 Oct 2008 21:47:11 +0000 (21:47 -0000)]
2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SiteMapNode.cs:
* XmlSiteMapProvider.cs:
* StaticSiteMapProvider.cs: first stab at getting rid of a race
condition.
svn path=/trunk/mcs/; revision=117426
Gonzalo Paniagua Javier [Wed, 29 Oct 2008 20:44:42 +0000 (20:44 -0000)]
2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* main.c: don't crash when the method is in an assembly that can't be
loaded. Just prints the warnings now instead of 'segfaulting'.
Bug #436989 fixed.
svn path=/trunk/mono/; revision=117415
Gonzalo Paniagua Javier [Wed, 29 Oct 2008 19:44:33 +0000 (19:44 -0000)]
2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* main.c: when loading the image, use mono_assembly_load_from_full
instead of mono_assembly_load_references so that monodis mimics the
way the runtime loads assemblies in the real world.
Bug #439404 fixed.
svn path=/trunk/mono/; revision=117412
Rodrigo Kumpera [Wed, 29 Oct 2008 19:10:12 +0000 (19:10 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector*.cs: Added casting between all types.
svn path=/trunk/mcs/; revision=117410
Rodrigo Kumpera [Wed, 29 Oct 2008 18:36:05 +0000 (18:36 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4i.cs: Add Acceleration attribute to all methods.
svn path=/trunk/mcs/; revision=117404
Rodrigo Kumpera [Wed, 29 Oct 2008 18:36:03 +0000 (18:36 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4ui.cs: Add Acceleration attribute to all methods.
svn path=/trunk/mcs/; revision=117403
Rodrigo Kumpera [Wed, 29 Oct 2008 18:36:01 +0000 (18:36 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector16sb.cs: Add Acceleration attribute to all methods.
svn path=/trunk/mcs/; revision=117402
Rodrigo Kumpera [Wed, 29 Oct 2008 18:36:00 +0000 (18:36 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector16b.cs: Add Acceleration attribute to all methods.
svn path=/trunk/mcs/; revision=117401
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:59 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector8us.cs: Add Acceleration attribute to all methods.
svn path=/trunk/mcs/; revision=117400
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:58 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector8s.cs: Add Acceleration attribute to all methods.
svn path=/trunk/mcs/; revision=117399
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:57 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector2ul.cs: Add Acceleration attribute to all methods.
svn path=/trunk/mcs/; revision=117398
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:55 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector2l.cs: Add Acceleration attribute to all methods.
svn path=/trunk/mcs/; revision=117397
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:54 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector2d.cs: Add Acceleration attribute to all methods.
svn path=/trunk/mcs/; revision=117396
Rodrigo Kumpera [Wed, 29 Oct 2008 18:35:52 +0000 (18:35 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4f.cs: Fix acceleration attribute of Shuffle.
svn path=/trunk/mcs/; revision=117395
Jonathan Pryor [Wed, 29 Oct 2008 18:10:23 +0000 (18:10 -0000)]
* Monodoc/xhtml-provider.cs: Use HelpSource.Message(), not
Console.WriteLine().
svn path=/trunk/mcs/; revision=117391
Rodrigo Kumpera [Wed, 29 Oct 2008 15:26:16 +0000 (15:26 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4f.cs: Add Acceleration attribute to all methods.
svn path=/trunk/mcs/; revision=117380
Rodrigo Kumpera [Wed, 29 Oct 2008 15:26:15 +0000 (15:26 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* Mono.Simd.dll.sources: Added AccelMode.cs, AccelerationAttribute.cs and SimdRuntime.cs.
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* AccelMode.cs:
* AccelerationAttribute.cs:
* SimdRuntime.cs: Support files to provide runtime capabilities querying.
svn path=/trunk/mcs/; revision=117379
Rodrigo Kumpera [Wed, 29 Oct 2008 15:24:57 +0000 (15:24 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* mini.h: Add synchronization note for the managed counter-part.
* simd-intrinsics.c: Add SimdRuntime.get_AccelMode intrinsic that
returns the simd caps of the current cpu.
svn path=/trunk/mono/; revision=117378
Rodrigo Kumpera [Wed, 29 Oct 2008 15:24:52 +0000 (15:24 -0000)]
2008-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Remove Console.WriteLine.
svn path=/trunk/mono/; revision=117377
Marek Habersack [Wed, 29 Oct 2008 14:45:39 +0000 (14:45 -0000)]
2008-10-29 Marek Habersack <mhabersack@novell.com>
* StateManagedCollection.cs: IList.Remove should call this.IndexOf
instead of items.IndexOf
svn path=/trunk/mcs/; revision=117375
Marek Habersack [Wed, 29 Oct 2008 14:10:10 +0000 (14:10 -0000)]
2008-10-29 Marek Habersack <mhabersack@novell.com>
* ApplicationHost.cs: set domain setup CachePath to the same value
as DynamicBase, so that shadow-copied assemblies appear under the
same location what generated files.
svn path=/trunk/mcs/; revision=117371
Mario Carrion [Wed, 29 Oct 2008 13:41:40 +0000 (13:41 -0000)]
2008-10-29 Mario Carrion <mcarrion@novell.com>
* ListViewItem.cs: Control enabled to support Accessibility:
- Internal events: UIATextChanged, UIASubItemTextChanged.
- Internal event UIATextChanged in ListViewSubItem that triggers
UIASubItemTextChanged.
* ListView.cs: Control enabled to support Accessibility:
- Internal events: UIACheckBoxesChanged, UIAMultiSelectChanged,
UIAShowGroupsChanged, UIAViewChanged and UIALabelEditChanged.
- Internal event UIACollectionChanged in ColumnHeaderCollection.
- Internal event UIACollectionChanged in ListViewItemCollection.
- Internal properties: UIAHeaderControl, UIAColumns, UIARows,
UIADefaultListViewGroup, UIAHScrollBar and UIAVScrollBar.
- Internal methods: UIAGetHeaderBounds.
svn path=/trunk/mcs/; revision=117370
Marek Habersack [Wed, 29 Oct 2008 10:17:58 +0000 (10:17 -0000)]
2008-10-29 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: seal the internal classes.
Remove unused BuildCacheItem.ValidBuild property.
svn path=/trunk/mcs/; revision=117364
Rodrigo Kumpera [Tue, 28 Oct 2008 22:52:43 +0000 (22:52 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: New tests for Vector2ul.
svn path=/trunk/mono/; revision=117319
Rodrigo Kumpera [Tue, 28 Oct 2008 22:52:34 +0000 (22:52 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrinsics.c: Add new vector type Vector2ul.
svn path=/trunk/mono/; revision=117318
Rodrigo Kumpera [Tue, 28 Oct 2008 22:52:24 +0000 (22:52 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_create_from_typedef): Added Vector2ul.
svn path=/trunk/mono/; revision=117317
Jonathan Pryor [Tue, 28 Oct 2008 20:55:56 +0000 (20:55 -0000)]
* Monodoc/provider.cs: Add HelpSource.InlineCss and
HelpSource.InlineJavaScript virtual properties, so that the help
source can provide specific CSS and JavaScript to be included into
the generated HTML document. This is used by the ASP.NET front-end,
as it needs to insert the CSS & JavaScript separately (as it also
inserts its own CSS & JavaScript).
* Monodoc/ecma-provider.cs, Monodoc/ecmaspec-provider.cs,
Monodoc/error-provider.cs: Override InlineCss & InlineJavaScript, as
appropriate.
svn path=/trunk/mcs/; revision=117305
Rodrigo Kumpera [Tue, 28 Oct 2008 20:54:56 +0000 (20:54 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* Vector2ul.cs: New vector type.
svn path=/trunk/mcs/; revision=117304
Rodrigo Kumpera [Tue, 28 Oct 2008 20:54:55 +0000 (20:54 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* Vector2l.cs : Remove useless comments.
svn path=/trunk/mcs/; revision=117303
Rodrigo Kumpera [Tue, 28 Oct 2008 19:24:47 +0000 (19:24 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: New tests for Vector2l.
svn path=/trunk/mono/; revision=117297
Rodrigo Kumpera [Tue, 28 Oct 2008 19:24:48 +0000 (19:24 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* Vector2l.cs (operator ^): Simplify and fix the implementation.
svn path=/trunk/mcs/; revision=117296
Rodrigo Kumpera [Tue, 28 Oct 2008 19:24:46 +0000 (19:24 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* Mono.Simd.dll.sources: Added Vector2l.cs.
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* Vector2l.cs: New vector type.
svn path=/trunk/mcs/; revision=117295
Rodrigo Kumpera [Tue, 28 Oct 2008 19:24:40 +0000 (19:24 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* cpu-x86.md: Add long version of most packed int ops.
* mini-ops.h: Same.
* mini-x86.h: Same.
* simd-intrinsics.c: Add new vector type Vector2l.
svn path=/trunk/mono/; revision=117294
Rodrigo Kumpera [Tue, 28 Oct 2008 19:24:35 +0000 (19:24 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrinsics.c: Replace SN_op_BitwiseXor with SN_op_ExclusiveOr.
* simd-methods.h: Remove SN_op_BitwiseXor.
svn path=/trunk/mono/; revision=117293
Rodrigo Kumpera [Tue, 28 Oct 2008 19:24:34 +0000 (19:24 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* x86/x86-codegen.h: Add long version of the packed integer
ops.
svn path=/trunk/mono/; revision=117292
Rodrigo Kumpera [Tue, 28 Oct 2008 19:24:25 +0000 (19:24 -0000)]
2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_create_from_typedef): Added Vector2l.
svn path=/trunk/mono/; revision=117291
Jonathan Pryor [Tue, 28 Oct 2008 18:33:47 +0000 (18:33 -0000)]
migration
svn path=/trunk/mcs/; revision=117287
Zoltan Varga [Tue, 28 Oct 2008 16:51:35 +0000 (16:51 -0000)]
Fix the previous change.
svn path=/trunk/mono/; revision=117278
Zoltan Varga [Tue, 28 Oct 2008 16:50:45 +0000 (16:50 -0000)]
2008-10-28 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_allocate_stack_slots_full): Align the size of vtypes to their
alignment.
svn path=/trunk/mono/; revision=117277
Atsushi Eno [Tue, 28 Oct 2008 10:16:55 +0000 (10:16 -0000)]
2008-10-28 Atsushi Enomoto <atsushi@ximian.com>
* CSharpCodeGenerator.cs : escape #pragma checksum argument literal
which could contain '\' (must be escaped).
svn path=/trunk/mcs/; revision=117246
Atsushi Eno [Tue, 28 Oct 2008 09:32:46 +0000 (09:32 -0000)]
2008-10-28 Atsushi Enomoto <atsushi@ximian.com>
* BasicProfileChecker.cs : use indexer instead of Add() for
collected MessagePart table. Fixed bug #434892.
svn path=/trunk/mcs/; revision=117243
Atsushi Eno [Tue, 28 Oct 2008 01:14:03 +0000 (01:14 -0000)]
fix bug #435206.
svn path=/trunk/mcs/; revision=117232
Rodrigo Kumpera [Tue, 28 Oct 2008 00:25:44 +0000 (00:25 -0000)]
2008-10-27 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Test for Vector2d.
* basic-simd.cs (test_vector8s_pack_signed_sat): Fixed broken
value.
svn path=/trunk/mono/; revision=117227
Rodrigo Kumpera [Tue, 28 Oct 2008 00:06:39 +0000 (00:06 -0000)]
2008-10-27 Rodrigo Kumpera <rkumpera@novell.com>
* Vector2d.cs: New vector type.
2008-10-27 Rodrigo Kumpera <rkumpera@novell.com>
* Mono.Simd.dll.sources: Added Vector2d.cs.
svn path=/trunk/mcs/; revision=117223
Rodrigo Kumpera [Tue, 28 Oct 2008 00:06:10 +0000 (00:06 -0000)]
2008-10-27 Rodrigo Kumpera <rkumpera@novell.com>
* cpu-x86.md: Add double version of all packed float ops.
* mini-ops.h: Same.
* mini-x86.h: Same.
* simd-intrinsics.c: Add new vector type Vector2d.
* simd-intrinsics.c (vector4f_intrinsics): Fix ordering.
* simd-methods.h: Add Duplicate.
svn path=/trunk/mono/; revision=117222
Rodrigo Kumpera [Tue, 28 Oct 2008 00:06:00 +0000 (00:06 -0000)]
2008-10-27 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_create_from_typedef): Added Vector2d.
svn path=/trunk/mono/; revision=117221
Rodrigo Kumpera [Tue, 28 Oct 2008 00:05:56 +0000 (00:05 -0000)]
2008-10-27 Rodrigo Kumpera <rkumpera@novell.com>
* x86/x86-codegen.h: Add movddup.
svn path=/trunk/mono/; revision=117220
Rodrigo Kumpera [Tue, 28 Oct 2008 00:05:50 +0000 (00:05 -0000)]
2008-10-27 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Test for packing with signed saturation.
svn path=/trunk/mono/; revision=117219
Atsushi Eno [Mon, 27 Oct 2008 23:57:04 +0000 (23:57 -0000)]
fix bug #433774.
svn path=/trunk/mcs/; revision=117216
Zoltan Varga [Mon, 27 Oct 2008 23:09:01 +0000 (23:09 -0000)]
2008-10-28 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_generic_instances): Add all methods of generic instances
found in the TYPESPEC table.
svn path=/trunk/mono/; revision=117214
Atsushi Eno [Mon, 27 Oct 2008 21:51:30 +0000 (21:51 -0000)]
2008-10-27 Atsushi Enomoto <atsushi@ximian.com>
* Ping.cs : use privileged mode for non-unix. On Windows there is
no /usr/bin/ping.
svn path=/trunk/mcs/; revision=117210
Gonzalo Paniagua Javier [Mon, 27 Oct 2008 21:23:17 +0000 (21:23 -0000)]
2008-10-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ResourceReaderTest.cs: use the current directory to locate the
resources.
svn path=/trunk/mcs/; revision=117205
Gonzalo Paniagua Javier [Mon, 27 Oct 2008 21:21:44 +0000 (21:21 -0000)]
2008-10-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* appdomain.c: translate \ into / for cache_path.
* domain-internals.h: new mono_is_shadow_copy_enabled().
* icall.c: (fill_reflection_assembly_name) do the same path
manipulations that get_code_base does.
(get_code_base) use mono_is_shadow_copy_enabled.
svn path=/trunk/mono/; revision=117204
Jonathan Pryor [Mon, 27 Oct 2008 16:38:11 +0000 (16:38 -0000)]
* docs/Makefile (DISTFILES): Add mono-file-formats.config.
svn path=/trunk/mcs/; revision=117186
Jonathan Pryor [Mon, 27 Oct 2008 14:53:28 +0000 (14:53 -0000)]
* Makefile: Fix build error caused by filenames containing '`'.
svn path=/trunk/mcs/; revision=117168
Jb Evain [Mon, 27 Oct 2008 14:42:19 +0000 (14:42 -0000)]
2008-10-27 Jb Evain <jbevain@novell.com>
* data/cecil.pc.in: update version.
svn path=/trunk/mono/; revision=117166
Jb Evain [Mon, 27 Oct 2008 14:41:58 +0000 (14:41 -0000)]
2008-10-27 Jb Evain <jbevain@novell.com>
* Mono.Cecil/AssemblyInfo.cs: bump version.
svn path=/trunk/mcs/; revision=117165
Zoltan Varga [Mon, 27 Oct 2008 14:34:02 +0000 (14:34 -0000)]
2008-10-27 Zoltan Varga <vargaz@gmail.com>
* Mono.Cecil/AssemblyStripper.cs: Strip locals info too.
svn path=/trunk/mcs/; revision=117162
Jonathan Pryor [Mon, 27 Oct 2008 14:14:47 +0000 (14:14 -0000)]
* Mono.Documentation/mdoc.cs: TraceLevel.Error messages should go to
Console.Error, as per Unix convention.
* Makefile: cehck-mdoc-validate* needs to also capture standard error.
svn path=/trunk/mcs/; revision=117159
Jonathan Pryor [Mon, 27 Oct 2008 14:10:01 +0000 (14:10 -0000)]
* Mono.Documentation/validate.cs: Remove warnings
* Test/validate.check.monodocer, Test/validate.check.monodocer.since:
Don't generate output if no errors are found.
* Test/validate.check.monodocer.importslashdoc: Prefix error messages
with "mdoc:", as per Unix convention.
svn path=/trunk/mcs/; revision=117158
Atsushi Eno [Mon, 27 Oct 2008 14:00:29 +0000 (14:00 -0000)]
2008-10-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaValidatingReader.cs : give SourceUri to
XmlSchemaValidator, which used to be impossible in 2.0 betas.
svn path=/trunk/mcs/; revision=117157
Gonzalo Paniagua Javier [Mon, 27 Oct 2008 04:58:02 +0000 (04:58 -0000)]
2008-10-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ServicePointManager.cs: set the default limit of connections from
the configuration file(s) on startup.
Bug #339422 fixed.
svn path=/trunk/mcs/; revision=117126
Gonzalo Paniagua Javier [Mon, 27 Oct 2008 03:19:10 +0000 (03:19 -0000)]
2008-10-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* appdomain.c: shadow-copied assemblies go to CachePath +
ApplicationName when both are set. DynamicBase has nothing to do with
shadow copies.
Bug #406877 fixed.
svn path=/trunk/mono/; revision=117124
Zoltan Varga [Sun, 26 Oct 2008 14:56:52 +0000 (14:56 -0000)]
2008-10-26 Zoltan Varga <vargaz@gmail.com>
* reflection.c (encode_locals): Use a cache to avoid duplicate entries in the
STANDALONESIG table.
* metadata-internals.h (struct _MonoDynamicImage): Add cache for
standalone signatures.
svn path=/trunk/mono/; revision=117092
Zoltan Varga [Sun, 26 Oct 2008 14:55:02 +0000 (14:55 -0000)]
2008-10-26 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Rewrite the signature
comparison code: instead of comparing the signatures using a custom
equals function, transform them to a common signature and compare that. This
works better with AOT.
svn path=/trunk/mono/; revision=117091
Zoltan Varga [Sun, 26 Oct 2008 14:24:14 +0000 (14:24 -0000)]
2008-10-26 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method): Log not found methods for extra methods
too.
svn path=/trunk/mono/; revision=117089
Zoltan Varga [Sun, 26 Oct 2008 14:14:40 +0000 (14:14 -0000)]
2008-10-26 Zoltan Varga <vargaz@gmail.com>
* mini.h (MONO_AOT_FILE_VERSION): Bump AOT file format version.
* mini.c (mono_method_to_ir): For MONO_PATCH_INFO_RVA, save field the token
instead of the RVA, since the RVA can be changed by tools like the cil
stripper.
* method-to-ir.c (mono_method_to_ir2): Ditto.
svn path=/trunk/mono/; revision=117087
Zoltan Varga [Sun, 26 Oct 2008 14:08:34 +0000 (14:08 -0000)]
2008-10-26 Zoltan Varga <vargaz@gmail.com>
* debug-mini.c (serialize_variable): Handle ADDRESS_MODE_DEAD.
(deserialize_variable): Ditto.
svn path=/trunk/mono/; revision=117086
Carlos Alberto Cortez [Sat, 25 Oct 2008 21:32:01 +0000 (21:32 -0000)]
2008-10-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ScrollableControl.cs: Actually fire the 2.0 Scroll event when we get
the event from the respective scrollbars.
Fixes #436709.
svn path=/trunk/mcs/; revision=117071
Miguel de Icaza [Sat, 25 Oct 2008 19:06:11 +0000 (19:06 -0000)]
Add Describe method
svn path=/trunk/mcs/; revision=117068
Miguel de Icaza [Sat, 25 Oct 2008 19:06:00 +0000 (19:06 -0000)]
Expose a bit more
svn path=/trunk/mcs/; revision=117067
Miguel de Icaza [Sat, 25 Oct 2008 18:35:14 +0000 (18:35 -0000)]
Make Monop's code reusable
svn path=/trunk/mcs/; revision=117066
Gonzalo Paniagua Javier [Sat, 25 Oct 2008 17:59:28 +0000 (17:59 -0000)]
2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ImageButton.cs: clicking an image causes a postback.
Bug #439004 fixed.
svn path=/trunk/mcs/; revision=117065
Zoltan Varga [Sat, 25 Oct 2008 17:58:51 +0000 (17:58 -0000)]
2008-10-25 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs: Implement Test opcode.
svn path=/trunk/mcs/; revision=117064
Gonzalo Paniagua Javier [Sat, 25 Oct 2008 15:05:59 +0000 (15:05 -0000)]
Fix the build
svn path=/trunk/mcs/; revision=117054
Gonzalo Paniagua Javier [Sat, 25 Oct 2008 14:49:46 +0000 (14:49 -0000)]
2008-10-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
* RxInterpreter.cs: implement missing Unicode* opcodes and
StringReverseIgnoreCase.
svn path=/trunk/mcs/; revision=117048
Zoltan Varga [Sat, 25 Oct 2008 14:00:58 +0000 (14:00 -0000)]
2008-10-25 Zoltan Varga <vargaz@gmail.com>
* RxOp.cs: Remove unused Generic opcodes.
* RxCompiler.cs: Emit opcodes with flags using methods which can be
overriden by CILCompiler.cs, so we only have to override a few methods.
* CILCompiler.cs: Simplify based on the RxCompiler changes. Implement
UnicodeString opcode. Throw a NotImplementedException when an unsupported
opcode is encountered, since the IL compiler is now believed to be feature
complete.
svn path=/trunk/mcs/; revision=117047
Zoltan Varga [Sat, 25 Oct 2008 13:01:27 +0000 (13:01 -0000)]
2008-10-25 Zoltan Varga <vargaz@gmail.com>
* Reapply r116521 with (!mono_debug_using_mono_debugger ()) checks.
* class.c (mono_class_init): Remove unneccesary mono_class_setup_properties ()
call for generic instances.
(mono_class_setup_properties): Call setup_properties () before accessing
gklass->properties.
* class.c (mono_class_get_virtual_methods): New helper function to iterate
over the virtual methods of a class using metadata if possible, avoiding the
creation of MonoMethod's for non-virtual methods.
* class.c (mono_class_setup_vtable_general): Rewrite this to use
get_virtual_methods () to iterate over the virtual methods of classes.
svn path=/trunk/mono/; revision=117044
Jonathan Pryor [Sat, 25 Oct 2008 03:51:04 +0000 (03:51 -0000)]
Oops; remove debug console message.
svn path=/trunk/mcs/; revision=117023
Jonathan Pryor [Sat, 25 Oct 2008 03:49:57 +0000 (03:49 -0000)]
* Makefile: Fixup mdoc.exe dependencies so that it's rebuilt if the
resources or monodoc.dll change. Add tests for mdoc-validate.
* Mono.Documentation/assembler.cs, Mono.Documentation/mdoc.cs,
Mono.Documentation/monodocer.cs, Mono.Documentation/monodocs2html.cs,
Mono.Documentation/monodocs2slashdoc.cs,
Mono.Documentation/validate.cs:
- Major rearchitecture; instead of having the option parsing
centralized within mdoc.cs, keep option parsing within the relevant
files/types.
- Introduce the MDocCommand abstract class to serve as the base class
-- primarily done to introduce the new Message() and Error()
methods, in which Message() will only show the message if the
current message level is >= the message's level (thus minimizing
console spew); see ../monodoc for more details.
- Add `-v' ("verbose") top-level argument to allow setting/adding
levels, so that `mdoc -v -v assemble ...` will show *all*
assemble-associated messages (which can be quite voluminous).
- Remove compiler warnings, when able.
* Mono.Documentation/XhtmlWriter.cs: Remove warning about unused
variable.
* Resources/monodoc-ecma.xsd: Extend the XSD to support more
elements/attributes on various elements -- e.g. mdoc-update looks
for a //code/@src attribute, which wasn't defined in the XSD. Oops.
* Test/validate.check.monodocer.importslashdoc: Flush (due to above
XSD changes).
svn path=/trunk/mcs/; revision=117021
Jonathan Pryor [Sat, 25 Oct 2008 03:37:58 +0000 (03:37 -0000)]
* Monodoc/addins-provider.cs, Monodoc/ecma-provider.cs,
Monodoc/ecmaspec-provider.cs, Monodoc/error-provider.cs,
Monodoc/man-provider.cs, Monodoc/monohb-provider.cs,
Monodoc/provider.cs: Remove Console.WriteLine() spew; helps cleanup
`make` output in mcs/docs (from `mdoc assemble`, which indirectly
invokes most of the *-provider files). We solve this problem by
providing a TraceLevel-based message system, so that messages are
only generated if they are less than or equal to the requested
output level (thus skipping the more verbose "every file" messages
from ecma-provider.cs & error-provider.cs).
* provider.cs: Change Node.CompareTo() to use a "natural sorting"
algorithm -- this allows the C# Language Specification nodes to
continue being displayed in the correct order.
svn path=/trunk/mcs/; revision=117017
Martin Baulig [Sat, 25 Oct 2008 00:00:40 +0000 (00:00 -0000)]
2008-10-25 Martin Baulig <martin@ximian.com>
* debug-mini.c (write_variable): Use
`MONO_DEBUG_VAR_ADDRESS_MODE_DEAD' for dead variables.
svn path=/trunk/mono/; revision=117014
Rodrigo Kumpera [Fri, 24 Oct 2008 22:08:34 +0000 (22:08 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4i.cs:
* Vector4ui.cs:
* Vector8s.cs:
* Vector8us.cs: Add (Signed)PackWithSignedSaturation.
* Vector8s.cs: Remove the CLSCompliant(false) from a compliant method.
svn path=/trunk/mcs/; revision=117003
Rodrigo Kumpera [Fri, 24 Oct 2008 22:08:31 +0000 (22:08 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* Vector16b: Mark type as CLS compliant (remove attribute) and
mark the methods which are not.
svn path=/trunk/mcs/; revision=117002
Rodrigo Kumpera [Fri, 24 Oct 2008 22:08:30 +0000 (22:08 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4i.cs: New vector type.
svn path=/trunk/mcs/; revision=117001
Rodrigo Kumpera [Fri, 24 Oct 2008 22:08:28 +0000 (22:08 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4ui.cs: Add missing SSE 4.1 comments.
svn path=/trunk/mcs/; revision=117000
Rodrigo Kumpera [Fri, 24 Oct 2008 22:08:26 +0000 (22:08 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* Vector16sb.cs: Fix a warning.
* Vector4f.cs: Add some missing CLSCompliant attributes.
* Vector8s.cs: Add CompareGreaterThan and a missing
CLSCompliant attribute.
svn path=/trunk/mcs/; revision=116999