Marek Habersack [Thu, 18 Jun 2009 08:35:50 +0000 (08:35 -0000)]
2009-06-18 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializerTest.cs: added comparison with the
.NET-generated serialization result in TestDeserialize and
TestDeserializeTypeResolver tests.
2009-06-18 Marek Habersack <mhabersack@novell.com>
* ListViewTest.cs: hushed the output in ListView_Edit ()
svn path=/trunk/mcs/; revision=136383
Marek Habersack [Thu, 18 Jun 2009 08:35:39 +0000 (08:35 -0000)]
2009-06-18 Marek Habersack <mhabersack@novell.com>
* browscap.ini.diff: updated to match the latest upstream
version.
svn path=/trunk/mcs/; revision=136382
Rodrigo Kumpera [Thu, 18 Jun 2009 03:14:56 +0000 (03:14 -0000)]
2009-06-18 Rodrigo Kumpera <rkumpera@novell.com>
* cli-blob-tests.md: Tests for method header.
* assembly-with-methods.cs: Fill in more methods
with EH tables.
svn path=/trunk/mono/; revision=136372
Rodrigo Kumpera [Thu, 18 Jun 2009 03:14:43 +0000 (03:14 -0000)]
2009-06-18 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Added more header verification code.
Now only EH clauses are missing.
svn path=/trunk/mono/; revision=136371
Geoff Norton [Thu, 18 Jun 2009 02:23:14 +0000 (02:23 -0000)]
2009-06-17 Geoff Norton <gnorton@novell.com>
* aot-compiler.c: Ensure we dont try to close a null dwarf writer.
svn path=/trunk/mono/; revision=136367
Jonathan Pobst [Wed, 17 Jun 2009 21:27:10 +0000 (21:27 -0000)]
2009-06-17 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: When using AddRange on a sorted combobox, don't
try to use our inefficient sorted insert method, just append
it and sort the whole thing at then end.
[Fixes bug #511247]
svn path=/trunk/mcs/; revision=136358
Zoltan Varga [Wed, 17 Jun 2009 21:13:52 +0000 (21:13 -0000)]
2009-06-17 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (mono_dwarf_writer_create): Add an 'appending' parameter
to control whenever the dwarf writer is in xdebug or aot mode.
(emit_class_dwarf_info): Use a separate abbrev for structures without
children.
* aot-compiler.c: Pass the appending parameter to
mono_dwarf_writer_create ().
svn path=/trunk/mono/; revision=136353
Massimiliano Mantione [Wed, 17 Jun 2009 20:01:56 +0000 (20:01 -0000)]
Only emit initial stack snippet if we are tracking stacks.
svn path=/trunk/mono/; revision=136350
Marek Safar [Wed, 17 Jun 2009 18:58:34 +0000 (18:58 -0000)]
Add more tests.
svn path=/trunk/mcs/; revision=136345
Marek Safar [Wed, 17 Jun 2009 18:57:33 +0000 (18:57 -0000)]
2009-06-17 Marek Safar <marek.safar@gmail.com>
A fix for bug #514096
* class.cs: Allow IntPtr/UIntPtr fields to be volatile.
svn path=/trunk/mcs/; revision=136342
Sebastien Pouliot [Wed, 17 Jun 2009 18:47:44 +0000 (18:47 -0000)]
2009-06-17 Sebastien Pouliot <sebastien@ximian.com>
* WebClient_2_1.cs: Fix BaseAddress and remove dual base[Address|
String] variables.
svn path=/trunk/mcs/; revision=136341
Marek Safar [Wed, 17 Jun 2009 18:47:36 +0000 (18:47 -0000)]
Error message updated
svn path=/trunk/mcs/; revision=136340
Marek Safar [Wed, 17 Jun 2009 18:47:16 +0000 (18:47 -0000)]
2009-06-17 Marek Safar <marek.safar@gmail.com>
* statement.cs (Switch): Fixed error message to reflect 2.0 changes.
svn path=/trunk/mcs/; revision=136339
Marek Safar [Wed, 17 Jun 2009 18:16:52 +0000 (18:16 -0000)]
2009-06-17 Marek Safar <marek.safar@gmail.com>
* Makefile: Keep at least one target usable for me.
svn path=/trunk/mcs/; revision=136337
Marek Safar [Wed, 17 Jun 2009 18:15:19 +0000 (18:15 -0000)]
New tests.
svn path=/trunk/mcs/; revision=136336
Marek Safar [Wed, 17 Jun 2009 18:14:44 +0000 (18:14 -0000)]
2009-06-17 Marek Safar <marek.safar@gmail.com>
* expression.cs: The first multi-dimensional array nested array
initializers was not checked.
svn path=/trunk/mcs/; revision=136335
Gonzalo Paniagua Javier [Wed, 17 Jun 2009 15:36:05 +0000 (15:36 -0000)]
2009-06-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
* BrowserCapsUpdater.cs: update URLs.
svn path=/trunk/mcs/; revision=136324
Gonzalo Paniagua Javier [Wed, 17 Jun 2009 15:24:03 +0000 (15:24 -0000)]
2009-06-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
* EndPointListener.cs: call CheckIfRemove() after removing a regular
prefix. Fixes bug #513849.
* EndPointManager.cs: make sure we use the right lock when one prefix
of a collection fails to be added and we need to remove all of the
prefixes.
Clear the ip_to_endpoints hashtable if there are no more prefixes
listening on that address.
svn path=/trunk/mcs/; revision=136320
Gonzalo Paniagua Javier [Wed, 17 Jun 2009 15:03:23 +0000 (15:03 -0000)]
updated browscap.ini
svn path=/trunk/mono/; revision=136317
Marek Safar [Wed, 17 Jun 2009 14:57:59 +0000 (14:57 -0000)]
New tests.
svn path=/trunk/mcs/; revision=136315
Marek Safar [Wed, 17 Jun 2009 14:49:23 +0000 (14:49 -0000)]
2009-06-17 Marek Safar <marek.safar@gmail.com>
A fix for bug #513400
* nullable.cs (EmitEquality): Operands emit could be simplified for
built-in types when we now emit user operators differently.
svn path=/trunk/mcs/; revision=136314
Zoltan Varga [Wed, 17 Jun 2009 14:23:23 +0000 (14:23 -0000)]
2009-06-17 Zoltan Varga <vargaz@gmail.com>
* runtime-invoke.cs: Add test for sharing i8/u8 return values.
svn path=/trunk/mono/; revision=136307
Zoltan Varga [Wed, 17 Jun 2009 14:23:16 +0000 (14:23 -0000)]
2009-06-17 Zoltan Varga <vargaz@gmail.com>
* marshal.c (get_runtime_invoke_type): Don't share primitive types
for return values.
svn path=/trunk/mono/; revision=136306
Zoltan Varga [Wed, 17 Jun 2009 13:49:24 +0000 (13:49 -0000)]
2009-06-17 Zoltan Varga <vargaz@gmail.com>
* branch-opts.c (mono_merge_basic_blocks): Fix the case when bbn
falls through to its next bblock. Fixes #513931.
* iltests.il: Add a test.
svn path=/trunk/mono/; revision=136303
Geoff Norton [Wed, 17 Jun 2009 01:13:07 +0000 (01:13 -0000)]
2009-06-16 Geoff Norton <gnorton@novell.com>
* include/private/gcconfig.h: Disable static scanning on this platform
* misc.c: Enable platform-specific disabling of static scanning
svn path=/trunk/mono/; revision=136280
Marek Habersack [Wed, 17 Jun 2009 00:08:11 +0000 (00:08 -0000)]
2009-06-17 Marek Habersack <mhabersack@novell.com>
* MetaColumnTest.cs: added another data context.
Added tests for EntityTypeProperty, HtmlEncode, IsBinaryData,
IsCustomProperty, IsFloatingPoint, IsForeignKeyComponent,
IsGenerated, IsInteger, IsLongString, IsPrimaryKey, IsReadOnly,
IsString, MaxLength, Model, Name, NullDisplayText, Provider,
RequiredErrorMessage, Scaffold, Table, TypeCode, UIHint.
2009-06-17 Marek Habersack <mhabersack@novell.com>
* DynamicDataStringLengthAttribute.cs: added
* DynamicDataContainerColumnProvider.cs: implemented
EntityTypeProperty, IsCustomProperty, IsGenerated, MaxLength.
2009-06-17 Marek Habersack <mhabersack@novell.com>
* MetaTable.cs: fixed Scaffold implementation.
Added internal ScaffoldAllTables property.
* MetaColumn.cs: fixed TypeCode, MaxLength, Scaffold, UIHint
implementations.
Implemented IsLongString, IsBinaryData, IsReadOnly,
NullDisplayText, RequiredErrorMessage
2009-06-17 Marek Habersack <mhabersack@novell.com>
* System.Web.DynamicData_test.dll.sources: added
Common/FooNoScaffold.cs, Common/TestDataContext2.cs,
ModelProviders/DynamicDataStringLengthAttribute.cs
2009-06-15 Marek Habersack <mhabersack@novell.com>
* MetaColumnTest.cs: added
2009-06-15 Marek Habersack <mhabersack@novell.com>
* TestDataContext.cs: added new tables
* BazColumnAttributes.cs, BazDataTypeDefaultTypes.cs,
FooWithMetadataType.cs: added
2009-06-15 Marek Habersack <mhabersack@novell.com>
* MetaColumn.cs: implemented ApplyFormatInEditMode, Attributes,
ConvertEmptyStringToNull, DataFormatString, DataTypeAttribute,
DefaultValue, Description, DisplayName
2009-06-15 Marek Habersack <mhabersack@novell.com>
* MetaTable.cs: use MetaModel.GetTypeDescriptor to retrieve
associated entity type attributes.
* MetaModel.cs: implemented registration of type metadata
cache. Metadata is provided by a set of TypeDescriptionProvider
instances (if ContextConfig is present for given model provider)
or by default type description provider (note that this
functionality is not implemented in
System.ComponentModel.TypeDescriptor yet!).
svn path=/trunk/mcs/; revision=136272
Rodrigo Kumpera [Tue, 16 Jun 2009 23:08:25 +0000 (23:08 -0000)]
2009-06-16 Rodrigo Kumpera <rkumpera@novell.com>
* cli-blob-tests.md: Tests for method header.
* assembly-with-methods.cs: Add some body to
make for some fat headers.
svn path=/trunk/mono/; revision=136268
Rodrigo Kumpera [Tue, 16 Jun 2009 23:08:16 +0000 (23:08 -0000)]
2009-06-16 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Initial method header verification.
svn path=/trunk/mono/; revision=136267
Rodrigo Kumpera [Tue, 16 Jun 2009 23:08:01 +0000 (23:08 -0000)]
2009-06-16 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (verify_import_table): The IAT contents
might end been patched by the windows DL when running with
coree enabled.
svn path=/trunk/mono/; revision=136266
Zoltan Varga [Tue, 16 Jun 2009 23:04:20 +0000 (23:04 -0000)]
2009-06-17 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (mono_dwarf_writer_emit_base_info): Emit some line number
infor even if emit_line is FALSE, as the apple linker seems to require it.
svn path=/trunk/mono/; revision=136265
Zoltan Varga [Tue, 16 Jun 2009 22:42:49 +0000 (22:42 -0000)]
2009-06-17 Zoltan Varga <vargaz@gmail.com>
* image-writer.c (asm_writer_emit_symbol_diff): Call get_label ().
svn path=/trunk/mono/; revision=136264
Zoltan Varga [Tue, 16 Jun 2009 22:32:23 +0000 (22:32 -0000)]
2009-06-17 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (emit_cie): Emit a separate symbol for the cie start, as
gcc does.
(emit_fde): Ditto.
svn path=/trunk/mono/; revision=136263
Gonzalo Paniagua Javier [Tue, 16 Jun 2009 22:17:04 +0000 (22:17 -0000)]
typo
svn path=/trunk/mono/; revision=136261
Miguel de Icaza [Tue, 16 Jun 2009 20:02:47 +0000 (20:02 -0000)]
Up
svn path=/trunk/mono/; revision=136248
Andrés G. Aragoneses [Tue, 16 Jun 2009 19:32:00 +0000 (19:32 -0000)]
* tuner/Mono.Tuner/MoonlightA11yProcessor.cs: GLibSharp uses
Activator.CreateInstance for *Adapter classes, so we need to have an
exception here for these ctors (to avoid MissingMethodExceptions).
svn path=/trunk/mcs/; revision=136245
Marek Safar [Tue, 16 Jun 2009 19:27:35 +0000 (19:27 -0000)]
New test.
svn path=/trunk/mcs/; revision=136244
Marek Safar [Tue, 16 Jun 2009 19:27:15 +0000 (19:27 -0000)]
2009-06-16 Marek Safar <marek.safar@gmail.com>
* ecore.cs: Report inaccessible delegate methods correctly.
svn path=/trunk/mcs/; revision=136243
Marek Safar [Tue, 16 Jun 2009 17:42:16 +0000 (17:42 -0000)]
New tests.
svn path=/trunk/mcs/; revision=136236
Marek Safar [Tue, 16 Jun 2009 17:41:32 +0000 (17:41 -0000)]
New tests.
svn path=/trunk/mcs/; revision=136235
Marek Safar [Tue, 16 Jun 2009 17:41:06 +0000 (17:41 -0000)]
2009-06-16 Marek Safar <marek.safar@gmail.com>
* parameter.cs, expression.cs, ecore.cs, class.cs, delegate.cs,
cs-parser.jay: Implemented C# 4.0 optional parameters.
svn path=/trunk/mcs/; revision=136234
Marek Safar [Tue, 16 Jun 2009 17:21:16 +0000 (17:21 -0000)]
2009-06-16 Marek Safar <marek.safar@gmail.com>
* driver.cs: Removed broken DefineManifestResource.
svn path=/trunk/mcs/; revision=136233
Raja R Harinath [Tue, 16 Jun 2009 17:08:30 +0000 (17:08 -0000)]
Improve profile test coverage
* errors/Makefile (test-local): Empty out.
(run-test-local): Remove $(TEST_SUPPORT_FILES).
* tests/Makefile (test-local): Empty out.
svn path=/trunk/mcs/; revision=136231
Raja R Harinath [Tue, 16 Jun 2009 16:21:39 +0000 (16:21 -0000)]
* Makefile [net_2_0_bootstrap]: Don't explicitly mention net_1_1.
Use $(BOOTSTRAP_PROFILE) instead.
svn path=/trunk/mcs/; revision=136230
Raja R Harinath [Tue, 16 Jun 2009 16:16:50 +0000 (16:16 -0000)]
* configure.in (--with-profile2): Simplify slightly.
(--with-profile4, --with-moonlight): Likewise.
svn path=/trunk/mono/; revision=136229
Carlos Alberto Cortez [Tue, 16 Jun 2009 15:15:29 +0000 (15:15 -0000)]
2009-06-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolBar.cs: Expose as internal the code used to show a dropdown menu.
* PrintPreviewDialog.cs: Handle the down/up arrow keys for our
DropDown element.
Fixes #509152.
svn path=/trunk/mcs/; revision=136225
Marek Habersack [Tue, 16 Jun 2009 13:48:30 +0000 (13:48 -0000)]
2009-06-16 Marek Habersack <mhabersack@novell.com>
* RouteValueDictionaryExtensions.cs: do not compile if
SYSTEMCORE_DEP is not defined
* PatternParser.cs: if SYSTEMCORE_DEP is not defined, do not
compile parts which require RouteValueDictionaryExtensions.
2009-06-16 Marek Habersack <mhabersack@novell.com>
* Makefile (LIB_MCS_FLAGS): define SYSTEMCORE_DEP
2009-06-16 Marek Habersack <mhabersack@novell.com>
* DynamicDataManager.cs, DynamicDataExtensions.cs: use new
DataBoundControl.DataSourceObject instead of
InternalGetDataSource
2009-06-16 Marek Habersack <mhabersack@novell.com>
* Makefile: warn if the 4.0 assembly is compiled without
System.Core
svn path=/trunk/mcs/; revision=136222
Atsushi Eno [Tue, 16 Jun 2009 13:34:26 +0000 (13:34 -0000)]
2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
* DispatchRuntimeTest.cs : add reasonable timeout and close client
appropriately. Objects are disposed in different ways than .NET.
Do not expect things automatically disposed as just time goes by.
svn path=/trunk/mcs/; revision=136221
Atsushi Eno [Tue, 16 Jun 2009 13:31:15 +0000 (13:31 -0000)]
2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs : cosmetic dependency reduction on listener.
svn path=/trunk/mcs/; revision=136220
Atsushi Eno [Tue, 16 Jun 2009 13:30:06 +0000 (13:30 -0000)]
2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : cosometic simplification.
svn path=/trunk/mcs/; revision=136219
Atsushi Eno [Tue, 16 Jun 2009 13:28:10 +0000 (13:28 -0000)]
2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : Fixed timeout handling. It was causing
infinite block in 2.0 profile.
svn path=/trunk/mcs/; revision=136218
Marek Safar [Tue, 16 Jun 2009 08:23:50 +0000 (08:23 -0000)]
2009-06-16 Marek Safar <marek.safar@gmail.com>
* driver.cs: Close resource handlers.
svn path=/trunk/mcs/; revision=136205
Andrés G. Aragoneses [Tue, 16 Jun 2009 04:21:58 +0000 (04:21 -0000)]
2009-06-16 Andrés G. Aragoneses <aaragoneses@novell.com>
* WebConnection.cs: propagate the exception to the request.
* WebException.cs: new internal ctor.
* HttpWebRequest.cs: use new ctor to encapsulate the innerException.
Fixes #323452.
2009-06-16 Andrés G. Aragoneses <aaragoneses@novell.com>
* WebRequestTest.cs: Drop NotWorking attrib, more accurate tests.
svn path=/trunk/mcs/; revision=136198
Ivan Zlatev [Tue, 16 Jun 2009 01:55:25 +0000 (01:55 -0000)]
2009-06-16 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Scrolling fixes.
[Fixes bug #512816]
svn path=/trunk/mcs/; revision=136193
Marek Habersack [Tue, 16 Jun 2009 01:46:33 +0000 (01:46 -0000)]
2009-06-16 Marek Habersack <mhabersack@novell.com>
* HtmlHeadBuilder.cs: use faster String.Compare overloads.
* HtmlHead.cs: implemented 4.0 properties Description and
Keywords.
2009-06-16 Marek Habersack <mhabersack@novell.com>
* IPersistedSelector.cs: removed AspNetHostingPermission
attributes from the 4.0 profile.
* IDataBoundControl.cs, IDataBoundItemControl.cs,
IDataBoundListControl.cs, IFieldControl.cs: added
* DetailsView.cs: control implements 4.0 IDataBoundItemControl
interface.
* DataBoundControl.cs: implemented 4.0 property DataSourceObject
and made the InternalPerformDataBinding method internal for the
4.0 profile.
2009-06-16 Marek Habersack <mhabersack@novell.com>
* net_4_0_System.Web.dll.sources:
Added
System.Web.UI.WebControls/IDataBoundControl.cs,
System.Web.UI.WebControls/IDataBoundItemControl.cs,
System.Web.UI.WebControls/IDataBoundListControl.cs,,
System.Web.UI.WebControls/IFieldControl.cs
svn path=/trunk/mcs/; revision=136192
Marek Habersack [Tue, 16 Jun 2009 00:15:48 +0000 (00:15 -0000)]
2009-06-16 Marek Habersack <mhabersack@novell.com>
* net_4_0_System.Web.dll.sources:
Added System.Web.Routing/PageRouteHandler.cs
2009-06-16 Marek Habersack <mhabersack@novell.com>
* PageRouteHandler.cs: added
svn path=/trunk/mcs/; revision=136187
Ivan Zlatev [Mon, 15 Jun 2009 23:58:56 +0000 (23:58 -0000)]
2009-06-16 Ivan N. Zlatev <contact@i-nz.net>
* DataGridViewTest.cs: Duplicate test label fix.
svn path=/trunk/mcs/; revision=136186
Ivan Zlatev [Mon, 15 Jun 2009 23:58:48 +0000 (23:58 -0000)]
2009-06-16 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs, DataGridViewRowCollection.cs: Clean up a bit and
optimize for batch adding rows.
svn path=/trunk/mcs/; revision=136185
Ivan Zlatev [Mon, 15 Jun 2009 23:58:31 +0000 (23:58 -0000)]
2009-06-16 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Avoid calling ReBind twice during the initial data
binding.
[Fixes bug #512807]
svn path=/trunk/mcs/; revision=136184
Ivan Zlatev [Mon, 15 Jun 2009 23:57:51 +0000 (23:57 -0000)]
2009-06-16 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Suppress invalidation during data binding.
[Fixes part of bug #512807]
svn path=/trunk/mcs/; revision=136183
Marek Habersack [Mon, 15 Jun 2009 23:57:37 +0000 (23:57 -0000)]
2009-06-16 Marek Habersack <mhabersack@novell.com>
* net_4_0_System.Web.Routing.dll.sources: added. In the 4.0
profile all classes are compiled into System.Web,
System.Web.Routing becomes an empty assembly.
2009-06-16 Marek Habersack <mhabersack@novell.com>
* net_4_0_System.Web.Abstractions.dll.sources: added. In the 4.0
profile all classes are compiled into System.Web,
System.Web.Abstractions becomes an empty assembly.
2009-06-16 Marek Habersack <mhabersack@novell.com>
* Decorated all classes with the TypeForwardedFrom attribute for
the 4.0 profile.
2009-06-16 Marek Habersack <mhabersack@novell.com>
* Decorated all classes with the TypeForwardedFrom attribute for
the 4.0 profile.
2009-06-16 Marek Habersack <mhabersack@novell.com>
* net_4_0_System.Web.dll.sources: added. System.Web.Routing and
System.Web.Abstractions are part of System.Web.dll in the 4.0
profile.
svn path=/trunk/mcs/; revision=136182
Zoltan Varga [Mon, 15 Jun 2009 22:36:55 +0000 (22:36 -0000)]
2009-06-16 Zoltan Varga <vargaz@gmail.com>
* StringTest.cs: Fix make check.
svn path=/trunk/mcs/; revision=136177
Robert Jordan [Mon, 15 Jun 2009 20:34:46 +0000 (20:34 -0000)]
2009-06-14 Robert Jordan <robertj@gmx.net>
* ScriptHandlerFactory.cs: handle precompiled web services.
svn path=/trunk/mcs/; revision=136163
Miguel de Icaza [Mon, 15 Jun 2009 19:27:36 +0000 (19:27 -0000)]
2009-06-15 Miguel de Icaza <miguel@novell.com>
* configure.in: Changed the default to not build the 4.0 profile
unless explicitly enabled.
svn path=/trunk/mono/; revision=136155
Carlos Alberto Cortez [Mon, 15 Jun 2009 17:41:45 +0000 (17:41 -0000)]
2009-06-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PrintPreviewDialog.cs: Tune the navigation among the buttons and
controls that are part of our ToolBar, so we can mimic the behaviour
observed in .Net, by handling also the arrow keys and doing the
preprocess for them too.
Fixes the remaining bits of #509142.
svn path=/trunk/mcs/; revision=136143
Miguel de Icaza [Mon, 15 Jun 2009 16:21:08 +0000 (16:21 -0000)]
2009-06-15 Miguel de Icaza <miguel@novell.com>
* MonoTODOAttribute.cs: Thin diet, no point in having virtual
methods and overrides that do the same thing.
svn path=/trunk/mcs/; revision=136139
Gonzalo Paniagua Javier [Mon, 15 Jun 2009 15:37:55 +0000 (15:37 -0000)]
2009-06-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequest.cs: for unknown methods, always send the request once
we are connected even if there's no writeStream. Fixes bug #513087.
svn path=/trunk/mcs/; revision=136136
Rodrigo Kumpera [Mon, 15 Jun 2009 15:25:08 +0000 (15:25 -0000)]
2009-06-15 Rodrigo Kumpera <rkumpera@novell.com>
* load-exceptions.cs class.cs: Add regression test for #508487.
* t-missing.cs: Add nested type.
svn path=/trunk/mono/; revision=136135
Rodrigo Kumpera [Mon, 15 Jun 2009 15:24:59 +0000 (15:24 -0000)]
2009-06-15 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_from_typeref): If the enclosing type is not
found return null instead of crashing. Fixes #508487.
svn path=/trunk/mono/; revision=136134
Atsushi Eno [Mon, 15 Jun 2009 10:27:41 +0000 (10:27 -0000)]
2009-06-15 Atsushi Enomoto <atsushi@ximian.com>
* ReaderWriterLockSlim.cs : fix deadlock when entered
read lock -> entered writer lock -> exited writer lock
-> exited read lock and then entered reader lock.
Fixed bug #512485, patch by Kazuki Oikawa.
* ReaderWriterLockSlimTest.cs : test for bug #512485, by
Kazuki Oikawa.
svn path=/trunk/mcs/; revision=136109
Zoltan Varga [Mon, 15 Jun 2009 09:38:18 +0000 (09:38 -0000)]
2009-06-15 Zoltan Varga <vargaz@gmail.com>
* CMakeLists.txt: Add mips support.
svn path=/trunk/mono/; revision=136104
Zoltan Varga [Mon, 15 Jun 2009 09:29:01 +0000 (09:29 -0000)]
2009-06-15 Zoltan Varga <vargaz@gmail.com>
* gc_wrapper.h: Disable thread local alloc on mips.
svn path=/trunk/mono/; revision=136103
Zoltan Varga [Mon, 15 Jun 2009 09:28:29 +0000 (09:28 -0000)]
2009-06-15 Zoltan Varga <vargaz@gmail.com>
* exceptions-mips.c (mono_arch_get_throw_exception_by_name): Fix the
mips build.
svn path=/trunk/mono/; revision=136102
Atsushi Eno [Mon, 15 Jun 2009 08:57:18 +0000 (08:57 -0000)]
2009-06-15 Atsushi Enomoto <atsushi@ximian.com>
* Environment.cs : bump corlib version.
* Normalization.cs : For NFC and NFKC, IsNormalized() was not working
enough to check composed characters. It's not possible without
the actual composition, so just call Normalize() and compare them.
In Normalize() mapping helper didn't pick correct map index since
the table for index stores index for "uncompressed" numbers.
* NormalizationTableUtil.cs : updated to the latest UCD.
* Makefile : to build test, source file must be downloaded too.
* StringTest.cs : added string normalization test.
svn path=/trunk/mcs/; revision=136100
Atsushi Eno [Mon, 15 Jun 2009 08:56:09 +0000 (08:56 -0000)]
2009-06-15 Atsushi Enomoto <atsushi@ximian.com>
* normalization-tables.h : updated to the latest unicode charcter
data.
* appdomain.c : bump corlib version.
svn path=/trunk/mono/; revision=136099
Marek Habersack [Mon, 15 Jun 2009 08:28:44 +0000 (08:28 -0000)]
2009-06-15 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs: CreateRootBuilder quits when root builder
already exist. This can happen when recursively parsing an include
file. Fixes bug #512028
svn path=/trunk/mcs/; revision=136096
Marek Habersack [Mon, 15 Jun 2009 08:02:03 +0000 (08:02 -0000)]
2009-06-15 Marek Habersack <mhabersack@novell.com>
* HttpCachePolicy.cs: SetHeaders adds max-age when MaxAge is set
to TimeSpan.Zero by calling SetMaxAge. Fixes bug #513000
svn path=/trunk/mcs/; revision=136093
Marek Habersack [Mon, 15 Jun 2009 07:28:44 +0000 (07:28 -0000)]
2009-06-15 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: AddAssembliesInBin (1.1 profile) tries to
load every assembly in order to see if it's a valid one. All bad
dll image errors are silently ignored. Fixes bug #315816
svn path=/trunk/mcs/; revision=136089
Zoltan Varga [Sun, 14 Jun 2009 17:02:28 +0000 (17:02 -0000)]
2009-06-14 Zoltan Varga <vargaz@gmail.com>
* scripts/CMakeLists.txt: New file.
svn path=/trunk/mono/; revision=136081
Zoltan Varga [Sun, 14 Jun 2009 15:31:54 +0000 (15:31 -0000)]
2009-06-14 Zoltan Varga <vargaz@gmail.com>
* samples/CMakeLists.txt: New file, currently empty.
svn path=/trunk/mono/; revision=136079
Zoltan Varga [Sun, 14 Jun 2009 11:42:12 +0000 (11:42 -0000)]
2009-06-14 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_from_name): Fix support for assembly references
in the EXPORTEDTYPE table. Fixes #511704.
svn path=/trunk/mono/; revision=136078
Geoff Norton [Sat, 13 Jun 2009 17:01:09 +0000 (17:01 -0000)]
2009-06-13 Geoff Norton <gnorton@novell.com>
* domain.c: Ensure that mono_domain_assembly_open actually opens the
assembly in the target domain.
svn path=/trunk/mono/; revision=136068
Zoltan Varga [Sat, 13 Jun 2009 10:52:48 +0000 (10:52 -0000)]
2009-06-13 Zoltan Varga <vargaz@gmail.com>
* mini.h (struct MonoBasicBlock): Add 'has_jump_table' and
'has_call_handler' fields.
* method-to-ir.c (mono_method_to_ir): Set them if needed.
* branch-opts.c (mono_merge_basic_blocks): Avoid iterating through the
first bblock if not needed. Fixes #512790.
svn path=/trunk/mono/; revision=136063
Bill Holmes [Fri, 12 Jun 2009 21:28:26 +0000 (21:28 -0000)]
2009-06-12 Bill Holmes <billholmes54@gmail.com>
* Variant.cs (GetValue): Changing the bool case to use the short value.
This is to avoid junk in the high word.
Contributed under MIT/X11 license.
svn path=/trunk/mcs/; revision=136044
Andreia Gaita [Fri, 12 Jun 2009 21:25:43 +0000 (21:25 -0000)]
* config.in: add libcups dllmap entry
svn path=/trunk/mono/; revision=136039
Robert Jordan [Fri, 12 Jun 2009 20:41:58 +0000 (20:41 -0000)]
2009-06-12 Robert Jordan <robertj@gmx.net>
* cominterop.c (cominterop_get_ccw): Increment mspec's SizeParamIndex
because "this" of the managed signature has become an
ordinary parameter in the unmanaged signature.
svn path=/trunk/mono/; revision=136029
Andrés G. Aragoneses [Fri, 12 Jun 2009 18:57:02 +0000 (18:57 -0000)]
2009-06-12 Andrés G. Aragoneses <aaragoneses@novell.com>
* AssemblyInfo.cs: Changing the public key, as we now use
mono-uia.snk.
svn path=/trunk/mcs/; revision=136025
Carlos Alberto Cortez [Fri, 12 Jun 2009 18:06:34 +0000 (18:06 -0000)]
2009-06-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolBar.cs: Expose the current item as internal.
* PrintPreviewDialog.cs: Tune the TabStop property for
PrintPreviewControl/ToolBar so we match the .net scenario regarding
Tab navigation. Also implement support to navigate throughout the
items in the ToolBar.
Fixes #509142.
svn path=/trunk/mcs/; revision=136020
Jerri Maine [Fri, 12 Jun 2009 17:33:11 +0000 (17:33 -0000)]
Add marcos for coding two byte SIMD/SSE opcodes. Added comments to help tell the different types of SSE code gen marcos appart.
svn path=/trunk/mono/; revision=136018
Atsushi Eno [Fri, 12 Jun 2009 15:10:15 +0000 (15:10 -0000)]
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactory.cs : no need for NIE at OnAbort() (at least so far).
svn path=/trunk/mcs/; revision=136007
Ankit Jain [Fri, 12 Jun 2009 14:43:29 +0000 (14:43 -0000)]
* xbuild/Microsoft.Common.targets (ProjectDir): Fix typo.
svn path=/trunk/mcs/; revision=136002
Ankit Jain [Fri, 12 Jun 2009 14:04:53 +0000 (14:04 -0000)]
* xbuild/Microsoft.Common.targets (IntermediateAssembly): Change to
an Item list to match msbuild.
* xbuild/Microsoft.CSharp.targets (IntermediateAssembly): Update for
above changes.
svn path=/trunk/mcs/; revision=136001
Ankit Jain [Fri, 12 Jun 2009 14:04:06 +0000 (14:04 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Fix bug #512535.
* ExpressionCollection.cs (ConvertToITaskItemArray): Whitespace around a
itemref is allowed if the prev/next element is ";".
In class/Microsoft.Build.Engine/Test/various:
* Items.cs (TestItemsInTarget3a): Add another case for valid whitespace
around an item ref.
svn path=/trunk/mcs/; revision=136000
Marek Habersack [Fri, 12 Jun 2009 13:15:23 +0000 (13:15 -0000)]
Updated test sources list
svn path=/trunk/mcs/; revision=135998
Marek Habersack [Fri, 12 Jun 2009 13:14:49 +0000 (13:14 -0000)]
2009-06-12 Marek Habersack <mhabersack@novell.com>
* MetaTableTest.cs: tests use single data model provider now.
Implemented tests for IsReadOnly, ListActionPath, Model, Name,
Provider, Scaffold, SortColumn, SortDescending, ToString.
Fixed ForeignKeyColumnNames test.
2009-06-12 Marek Habersack <mhabersack@novell.com>
* TestDataContainer.cs: GetTables uses an object of the associated
data type to create table collection.
* TestDataColumn.cs: foreign key columns are determined using a
custom attribute instead of a name now. This makes it possible to
specify which table.column they are associated with.
* FooDisplayColumnAttribute.cs: changed sortDescending to true in
class attributes.
* AssociatedBar.cs, AssociatedFoo.cs, FooEmptySortColumn.cs,
FooMisnamedSortColumn.cs, FooNoScaffold.cs, FooReadOnly.cs,
ITestDataContext.cs, TestDataContext.cs: added
2009-06-12 Marek Habersack <mhabersack@novell.com>
* MetaTable.cs: implemented correct detection of foreign key
columns.
Implemented IsReadOnly, SortColumn, SortDescending.
svn path=/trunk/mcs/; revision=135997
Jb Evain [Fri, 12 Jun 2009 12:42:17 +0000 (12:42 -0000)]
2009-06-12 Jb Evain <jbevain@novell.com>
* mcs.1: update the /platform information.
svn path=/trunk/mono/; revision=135992
Jb Evain [Fri, 12 Jun 2009 12:41:42 +0000 (12:41 -0000)]
2009-06-12 Jb Evain <jbevain@novell.com>
* gtest-449.cs
* gtest-450.cs:
new tests for the /platform support.
svn path=/trunk/mcs/; revision=135991
Jb Evain [Fri, 12 Jun 2009 12:41:01 +0000 (12:41 -0000)]
2009-06-12 Jb Evain <jbevain@novell.com>
* rootcontext.cs: add a Platform field.
* driver.cs: handle /platform.
* codegen.cs: pass the proper flags according to
the platform when saving the assembly.
svn path=/trunk/mcs/; revision=135990
Jb Evain [Fri, 12 Jun 2009 12:39:17 +0000 (12:39 -0000)]
2009-06-12 Jb Evain <jbevain@novell.com>
* AssemblyBuilder.cs (Save): throw a NotImplementedException
when asked to emit a pe32+ binary for a AMD64 or IA64
specific assembly.
svn path=/trunk/mcs/; revision=135989
Marek Safar [Fri, 12 Jun 2009 10:34:32 +0000 (10:34 -0000)]
Support all versions in mcs
svn path=/trunk/mcs/; revision=135981
Atsushi Eno [Fri, 12 Jun 2009 10:09:59 +0000 (10:09 -0000)]
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcherTest.cs : make sure to close service host,
within rational TimeSpan.
svn path=/trunk/mcs/; revision=135980