Sebastien Pouliot [Tue, 9 May 2006 21:19:23 +0000 (21:19 -0000)]
2006-05-09 Sebastien Pouliot <sebastien@ximian.com>
* PathGradientBrushTest.cs: New. Unit tests (mostly) based on the test
cases created for LinearGradientBrush.
svn path=/trunk/mcs/; revision=60474
Sebastien Pouliot [Tue, 9 May 2006 21:17:42 +0000 (21:17 -0000)]
2006-05-09 Sebastien Pouliot <sebastien@ximian.com>
* PathGradientBrush.cs: Added missing checks before calling libgdiplus
(or GDI+).
svn path=/trunk/mcs/; revision=60473
Marek Safar [Tue, 9 May 2006 21:04:46 +0000 (21:04 -0000)]
2006-05-09 Marek Safar <marek.safar@seznam.cz>
* statement.cs (LocalInfo): Add IsConstant.
(LocalInfo.DeclareLocal): Moved from EmitMeta and changed to don't emit
local variable for constants.
svn path=/trunk/mcs/; revision=60471
Miguel de Icaza [Tue, 9 May 2006 19:07:18 +0000 (19:07 -0000)]
Small comment, for those using Coverity
svn path=/trunk/mono/; revision=60468
Atsushi Eno [Tue, 9 May 2006 18:56:23 +0000 (18:56 -0000)]
2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
* mocks, Makefile : added nunit.mocks.dll due to the request
in bug #78275. Patch by Matt Hargett.
svn path=/trunk/mcs/; revision=60467
Miguel de Icaza [Tue, 9 May 2006 18:51:55 +0000 (18:51 -0000)]
2006-05-09 Miguel de Icaza <miguel@novell.com>
* object.c (mono_load_remote_field): The code used to provide a
temporary variable for returning results if the user did not
provide a result pointer. But our temporary variable was allocted
on the satck.
Fix calling code to always pass a result area. Coverity ID 103.
svn path=/trunk/mono/; revision=60466
Miguel de Icaza [Tue, 9 May 2006 18:49:19 +0000 (18:49 -0000)]
2006-05-09 Miguel de Icaza <miguel@novell.com>
* interp.c (ves_exec_method_with_context): Pass a temporary to the
mono_load_remote_field routine, instead of passing a NULL.
svn path=/trunk/mono/; revision=60465
Atsushi Eno [Tue, 9 May 2006 18:27:48 +0000 (18:27 -0000)]
2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
* ServicePointManager.cs : oops, CONFIGURATION_DEP.
svn path=/trunk/mcs/; revision=60464
Ankit Jain [Tue, 9 May 2006 17:46:56 +0000 (17:46 -0000)]
In ilasm/codegen:
* MethodDef.cs (MethodDef.AddLabel): Throw exception for duplicate
labels.
In ilasm/errors:
* err-dup-label.il: New.
svn path=/trunk/mcs/; revision=60459
Atsushi Eno [Tue, 9 May 2006 17:36:51 +0000 (17:36 -0000)]
2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
* GlobalProxySelection.cs : if corresponding config section is
DefaultProxySection then use it.
* DefaultProxySection.cs :
remove NotImpl from PostDeserialize() and Reset().
(ditto).
svn path=/trunk/mcs/; revision=60457
Atsushi Eno [Tue, 9 May 2006 17:24:59 +0000 (17:24 -0000)]
2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
* WebRequest.cs : if corresponding config section is
WebRequestModulesSection then use it.
* WebRequestModulesSection.cs :
don't throw NotImpl in InitializeDefault().
* WebRequestModuleElement.cs :
TypeTypeConverter -> TypeConverter and uncomment it.
* WebRequestModuleElementCollection.cs :
element is WebRequestModuleElement in GetElementKey().
Similarly no actual config change yet.
svn path=/trunk/mcs/; revision=60456
Atsushi Eno [Tue, 9 May 2006 17:11:42 +0000 (17:11 -0000)]
2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
* ServicePointManager.cs : if corresponding config section is
ConnectionManagementSection then use it.
* ConnectionManagementHandler.cs : (ConnectionManagementData) add
Add(string,int) overload so that it could be used with
ConnectionManagementSection seamlessly.
* ConnectionManagementElementCollection.cs :
create ConnectionManagementElement. in CreateNewElement().
remove extra MonoTODO as it does not (well, won't) happen anymore.
The actual configuration file change will follow in the later stage
since it needs changes in ConfigurationSettings and sys.conf.dll.
svn path=/trunk/mcs/; revision=60454
Zoltan Varga [Tue, 9 May 2006 17:03:05 +0000 (17:03 -0000)]
2006-05-09 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_get_vcall_slot_addr): Add a missing call sequence. Fixes
#78325.
svn path=/trunk/mono/; revision=60453
Boris Kirzner [Tue, 9 May 2006 15:51:04 +0000 (15:51 -0000)]
merge -r 60447:60448
svn path=/trunk/mcs/; revision=60452
Zoltan Varga [Tue, 9 May 2006 15:12:42 +0000 (15:12 -0000)]
2006-05-09 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Reflection_Assembly_InternalGetAssemblyName): Remove
a redundant (and incorrect) addref. Hopefully fixes sn.exe on windows.
* marshal.c: Allocate all signatures from mempools.
svn path=/trunk/mono/; revision=60449
Sebastien Pouliot [Tue, 9 May 2006 15:02:32 +0000 (15:02 -0000)]
2006-05-09 Sebastien Pouliot <sebastien@ximian.com>
* Driver.cs: Move up the loading of the strongname key pair to allow
embedding the public part into the assembly. Also don't try to sign
netmodules.
svn path=/trunk/mcs/; revision=60447
Sebastien Pouliot [Tue, 9 May 2006 15:02:13 +0000 (15:02 -0000)]
2006-05-09 Sebastien Pouliot <sebastien@ximian.com>
* test-sn-key.il: New. Added test case when /key is used but the IL
source doesn't include a .publickey directive or any attribute that
loads the public key.
* test-sn-module.il: New. Added test case when /key is used when
assembling a netmodule (signing shouldn't occur).
svn path=/trunk/mcs/; revision=60446
Raja R Harinath [Tue, 9 May 2006 14:53:38 +0000 (14:53 -0000)]
In mcs:
* flowanalysis.cs (MyBitVector.Empty): New.
(MyBitVector): Don't allow InheritedFrom to be null.
(MyBitVector.And, MyBitVector.Or): Treat 'null' as all-ones.
(UsageVector, FlowBranching): Update to changes.
In gmcs:
* flowanalysis.cs (MyBitVector.Empty): New.
(MyBitVector): Don't allow InheritedFrom to be null.
(MyBitVector.And, MyBitVector.Or): Treat 'null' as all-ones.
(UsageVector, FlowBranching): Update to changes.
svn path=/trunk/mcs/; revision=60445
Raja R Harinath [Tue, 9 May 2006 13:30:47 +0000 (13:30 -0000)]
In mcs:
* flowanalysis.cs (FlowBranching.InTryWithCatch): Don't terminate
recursion. The 'Parent == null' condition isn't sufficient for
anonymous methods.
(FlowBranching.AddBreakOrigin): Likewise.
(FlowBranching.AddContinueOrigin): Likewise.
(FlowBranching.AddReturnOrigin): Likewise.
(FlowBranching.StealFinallyClauses): Likewise.
(FlowBranching.MergeTopBlock): Move to FlowBranchingToplevel.
(FlowBranching.CheckOutParameters): Likewise.
(FlowBranchingToplevel): Terminate all the above recursions here.
(FlowBranchingToplevel.End): Rename from MergeTopBlock.
* codegen.cs (EmitContext.ResolveTopBlock): Update to changes.
In gmcs:
* flowanalysis.cs (FlowBranching.InTryWithCatch): Don't terminate
recursion. The 'Parent == null' condition isn't sufficient for
anonymous methods.
(FlowBranching.AddBreakOrigin): Likewise.
(FlowBranching.AddContinueOrigin): Likewise.
(FlowBranching.AddReturnOrigin): Likewise.
(FlowBranching.StealFinallyClauses): Likewise.
(FlowBranching.MergeTopBlock): Move to FlowBranchingToplevel.
(FlowBranching.CheckOutParameters): Likewise.
(FlowBranchingToplevel): Terminate all the above recursions here.
(FlowBranchingToplevel.End): Rename from MergeTopBlock.
* codegen.cs (EmitContext.ResolveTopBlock): Update to changes.
svn path=/trunk/mcs/; revision=60444
Sebastien Pouliot [Tue, 9 May 2006 13:25:59 +0000 (13:25 -0000)]
2006-05-09 Sebastien Pouliot <sebastien@ximian.com>
* sn.cs: Don't throw an exception on invalid assemblies (e.g.
netmodules). Fixed some typos.
svn path=/trunk/mcs/; revision=60443
Ankit Jain [Tue, 9 May 2006 13:23:03 +0000 (13:23 -0000)]
In ilasm/codegen:
* CodeGen.cs (CodeGen.data_list): Change to ..
(CodeGen.data_table): .. a hashtable.
(CodeGen.AddDataDef): Update to throw exception for duplicate .data
labels.
(CodeGen.GetDataConst): Update to use data_table.
In ilasm/errors:
* err-dup-datalabel.il: New.
svn path=/trunk/mcs/; revision=60442
Konstantin Triger [Tue, 9 May 2006 13:08:29 +0000 (13:08 -0000)]
merge -r 60439:60440
svn path=/trunk/mcs/; revision=60441
Konstantin Triger [Tue, 9 May 2006 12:40:04 +0000 (12:40 -0000)]
fix GetOleDbSchemaTable for OleDbSchemaGuid.Tables
svn path=/branches/mainsoft/gh1.7/mcs/; revision=60440
Raja R Harinath [Tue, 9 May 2006 12:34:09 +0000 (12:34 -0000)]
In mcs:
* flowanalysis.cs (BranchingType.Toplevel): New. Represents a
toplevel block.
(FlowBranchingToplevel): New. Empty for now.
(FlowBranching.MergeTopBlock): Update.
* codegen.cs (EmitContext.ResolveTopBlock): Create a Toplevel
branching for the anonymous delegate.
(EmitContext.StartFlowBranching): Add ToplevelBlock variant.
In gmcs:
* flowanalysis.cs (BranchingType.Toplevel): New. Represents a
toplevel block.
(FlowBranchingToplevel): New. Empty for now.
(FlowBranching.MergeTopBlock): Update.
* codegen.cs (EmitContext.ResolveTopBlock): Create a Toplevel
branching for the anonymous delegate.
(EmitContext.StartFlowBranching): Add ToplevelBlock variant.
svn path=/trunk/mcs/; revision=60439
Atsushi Eno [Tue, 9 May 2006 11:55:53 +0000 (11:55 -0000)]
2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlAttribute.cs : (WriteTo) when the namespace URI is empty,
always use empty string for prefix.
* XmlAttributeTests.cs : added NonEmptyPrefixWithEmptyNS().
svn path=/trunk/mcs/; revision=60438
Boris Kirzner [Tue, 9 May 2006 11:17:07 +0000 (11:17 -0000)]
merge 60376:60436
svn path=/trunk/mcs/; revision=60437
Boris Kirzner [Tue, 9 May 2006 10:43:16 +0000 (10:43 -0000)]
Handling NCHAR as CHAR
svn path=/branches/mainsoft/gh1.7/mcs/; revision=60436
Raja R Harinath [Tue, 9 May 2006 10:04:22 +0000 (10:04 -0000)]
* mcs/flowanalysis.cs (UsageVector.MergeOrigins): Reorganize.
(UsageVector.MergeJumpOrigins): Don't ignore current reachability
information at the start of the merge. Reorganize.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60434
Senganal T [Tue, 9 May 2006 09:12:09 +0000 (09:12 -0000)]
2006-05-09 Senganal T <tsenganal@novell.com>
* System.Data.Odbc/OdbcConnection.cs : Implemented ChangeDatabase Method
* System.Data.Odbc/libodbc.cs : Added value for CurrentCatalog in OdbcConnectionAttribute
svn path=/trunk/mcs/; revision=60432
Atsushi Eno [Tue, 9 May 2006 05:25:27 +0000 (05:25 -0000)]
2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
* BinderTests.cs : (BindToMethodNamedArgs) hmm, why it didn't
show up during my last test run...
svn path=/trunk/mcs/; revision=60431
Zoltan Varga [Mon, 8 May 2006 22:35:21 +0000 (22:35 -0000)]
2006-05-09 Zoltan Varga <vargaz@gmail.com>
* marshal.c: Allocate some more signatures from mempools.
svn path=/trunk/mono/; revision=60427
Zoltan Varga [Mon, 8 May 2006 21:58:41 +0000 (21:58 -0000)]
2006-05-08 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_create_jump_trampoline): Allocate MonoJitInfo from the domain
mempool.
(mono_jit_free_method): Remove the method from jump_trampoline_hash as well.
svn path=/trunk/mono/; revision=60426
Peter Dennis Bartok [Mon, 8 May 2006 20:46:49 +0000 (20:46 -0000)]
2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Added new InternalCapture method to allow controls to prevent
the capture behaviour on the click handlers
- Switched to use InternalCapture
* ComboBox.cs:
- Using InternalCapture to prevent mouse captures from being released
on mouse button release (Fixes #78100)
* XplatUIX11.cs (DeriveStyles): Now checks caption state and only
returns Form borders if a caption is present. (Fixes #78310)
svn path=/trunk/mcs/; revision=60425
Chris Toshok [Mon, 8 May 2006 19:22:41 +0000 (19:22 -0000)]
add 76818's testcase
svn path=/trunk/mcs/; revision=60422
Chris Toshok [Mon, 8 May 2006 19:20:26 +0000 (19:20 -0000)]
78616 -> 76818
svn path=/trunk/mcs/; revision=60421
Chris Toshok [Mon, 8 May 2006 19:19:54 +0000 (19:19 -0000)]
2006-05-08 Chris Toshok <toshok@ximian.com>
* ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
fixes the last thing keeping the test in #78616 from working.
svn path=/trunk/mcs/; revision=60420
Sebastien Pouliot [Mon, 8 May 2006 19:17:01 +0000 (19:17 -0000)]
2006-05-08 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Reduce the errors reported by corcompare.
svn path=/trunk/mcs/; revision=60419
Sebastien Pouliot [Mon, 8 May 2006 19:16:05 +0000 (19:16 -0000)]
2006-05-08 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added test cases for Widen and Wrap with empty
path (expected behaviour) and paths that have a single point (stranger
behaviour). Changed comments on GetBounds_WithPen test case as it will
probably never work under Mono due to difference in precisions.
svn path=/trunk/mcs/; revision=60418
Peter Dennis Bartok [Mon, 8 May 2006 18:36:17 +0000 (18:36 -0000)]
2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
* TreeNode.cs: Changed serialization .ctor to not require every field
to be present. (#78265)
* OwnerDrawPropertyBag.cs: Added serialization .ctor
svn path=/trunk/mcs/; revision=60416
Chris Toshok [Mon, 8 May 2006 17:51:37 +0000 (17:51 -0000)]
2006-05-08 Chris Toshok <toshok@ximian.com>
* WebConfigurationManager.cs (GetBasePath): fix bug where
path.Length was 0 when we got to the last while loop (and indexed
-1 into an array.) Thanks Marek for the fix.
svn path=/trunk/mcs/; revision=60415
Miguel de Icaza [Mon, 8 May 2006 17:32:34 +0000 (17:32 -0000)]
It is a long story, we need both bindings
svn path=/trunk/mono/; revision=60414
Chris Toshok [Mon, 8 May 2006 17:32:15 +0000 (17:32 -0000)]
add WinSerialStream.cs to fix the build
svn path=/trunk/mcs/; revision=60413
Andrew Skiba [Mon, 8 May 2006 16:09:24 +0000 (16:09 -0000)]
add NunitWeb
svn path=/trunk/mcs/; revision=60412
Atsushi Eno [Mon, 8 May 2006 15:19:45 +0000 (15:19 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* BinderTests.cs : added test for bug #77079.
svn path=/trunk/mcs/; revision=60410
Atsushi Eno [Mon, 8 May 2006 15:10:13 +0000 (15:10 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* Binder.cs : (Default.SelectMethod)
don't throw AmbiguousMatchException when one of conflicting method
matches weakly. Fixed bug #42547.
* BinderTests.cs : added test for bug #42547.
svn path=/trunk/mcs/; revision=60409
Atsushi Eno [Mon, 8 May 2006 14:45:08 +0000 (14:45 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* Binder.cs : (DefaultBinder.BindToMethod) reorder parameters based
on namedParameters. Fixed bug #41691.
* BinderTests.cs : added test for bug #41691.
svn path=/trunk/mcs/; revision=60408
Atsushi Eno [Mon, 8 May 2006 13:54:54 +0000 (13:54 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* DirectoryTest.cs : don't expect "chmod" on Windows.
svn path=/trunk/mcs/; revision=60404
Carlos Alberto Cortez [Mon, 8 May 2006 13:47:08 +0000 (13:47 -0000)]
2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Makefile: Add -unsafe flag, since it is needed in
System.IO.Ports.WinSerialStream.
svn path=/trunk/mcs/; revision=60403
Carlos Alberto Cortez [Mon, 8 May 2006 13:44:25 +0000 (13:44 -0000)]
* SerialPort.cs:
* WinSerialStream.cs: Actually plug the Win serial stream
in the SerialPort and use it if we are on Windows (use std
stream otherwise).
2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=60402
Raja R Harinath [Mon, 8 May 2006 13:44:23 +0000 (13:44 -0000)]
In System.Text.RegularExpressions:
Fix #78278
Remove 65535-limit on number of repetitions matched by a pattern.
We still have a 65535 limit on the length of a pattern and the
number of groups in a pattern.
* compiler.cs (PatternCompiler.EmitCount): New. Emits an int as
two ushorts into the program stream.
(EmitInfo, EmitRepeat, EmitFastRepeat): Use it to emit integers
rather than shorts.
* interpreter.cs (Intepreter.ReadProgramCount): Read an int
emitted into the program stream.
(Interpreter): Use it. Update counts.
(Interpreter.Eval) [OpCode.Repeat, OpCode.FastRepeat]: Likewise.
* parser.cs (ParseGroup): Pass 0x7ffffff as the max value for '*'
and '+' repetition patterns.
* arch.cs (Info, Repeat, FastRepeat): Update description.
In Test/System.Text.RegularExpressions:
* RegexBugs.cs (Kill65535_1, Kill65535_2, No65535Limit): New tests
based on #78278.
svn path=/trunk/mcs/; revision=60401
Carlos Alberto Cortez [Mon, 8 May 2006 12:49:28 +0000 (12:49 -0000)]
2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* WinSerialStream.cs: Implement some bits needed for
the backend thing.
svn path=/trunk/mcs/; revision=60400
Atsushi Eno [Mon, 8 May 2006 11:28:22 +0000 (11:28 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* AsyncOperation.cs : SynchronizationContext.OperationStarted()
should not be called more than once. So move it from Post() to
.ctor(). Thanks again to cl.
svn path=/trunk/mcs/; revision=60399
Atsushi Eno [Mon, 8 May 2006 10:09:53 +0000 (10:09 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* AsyncOperation.cs : call OperationStared() at Post(). Call
OperationCompleted() at the finalizer. Thanks to cl.
svn path=/trunk/mcs/; revision=60398
Atsushi Eno [Mon, 8 May 2006 08:20:00 +0000 (08:20 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* DeflateStreamTest.cs, GzipStreamTest.cs : enabled tests that are
marked as NotWorking. Closed bug #72143.
svn path=/trunk/mcs/; revision=60397
Atsushi Eno [Mon, 8 May 2006 07:34:06 +0000 (07:34 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
Patch by Kazuki Oikawa. Fixed bug #77277.
* List.cs : use proper comparer in Contains(), IndexOf() and
LastIndexOf(). Patch by Kazuki Oikawa. Fixed bug #77277.
* ArrayTest.cs : test for bug #77277 by Kazuki Oikawa.
* ListTest.cs : test for bug #77277 by Kazuki Oikawa.
svn path=/trunk/mcs/; revision=60396
Atsushi Eno [Mon, 8 May 2006 06:18:31 +0000 (06:18 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* XslTransform.cs : fixed ObsoleteAttributes. It won't be harmful
as we have working XslCompiledTransform stubs.
svn path=/trunk/mcs/; revision=60395
Atsushi Eno [Mon, 8 May 2006 06:12:13 +0000 (06:12 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* System.dll.sources : added SettingsBindableAttribute.cs.
* SettingsBindableAttribute.cs : new file. Bug #78333 is fixed.
svn path=/trunk/mcs/; revision=60393
Marek Safar [Sun, 7 May 2006 18:44:29 +0000 (18:44 -0000)]
2006-05-07 Marek Safar <marek.safar@seznam.cz>
* class.cs (MethodData.Define): Method cannot implement interface accessor.
svn path=/trunk/mcs/; revision=60388
Zoltan Varga [Sun, 7 May 2006 15:56:22 +0000 (15:56 -0000)]
2006-05-07 Zoltan Varga <vargaz@gmail.com>
* Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
svn path=/trunk/mcs/; revision=60383
Zoltan Varga [Sun, 7 May 2006 14:25:55 +0000 (14:25 -0000)]
2006-05-07 Zoltan Varga <vargaz@gmail.com>
* data/mono.supp: Applied patch from Matt Hargett (matt@use.net).
Generalize path to the mono executable.
svn path=/trunk/mono/; revision=60381
Boris Kirzner [Sun, 7 May 2006 12:09:23 +0000 (12:09 -0000)]
Added XmlHelper.cs to TARGET_JVM project
svn path=/trunk/mcs/; revision=60380
Boris Kirzner [Sun, 7 May 2006 12:03:36 +0000 (12:03 -0000)]
merge -r 60375:60376
svn path=/trunk/mcs/; revision=60379
Marek Safar [Sun, 7 May 2006 11:32:47 +0000 (11:32 -0000)]
2006-05-07 Marek Safar <marek.safar@seznam.cz>
* expression.cs (QualifiedAliasMember.ResolveAsTypeStep): Pass location
to newly introduced ctor.
* namespace.cs (Namespace.Error_NamespaceDoesNotExist): Moved an error
message to one place.
(GlobalRootNamespace.Error_NamespaceDoesNotExist): Custom message for
global namespace.
svn path=/trunk/mcs/; revision=60378
Marek Safar [Sun, 7 May 2006 10:14:57 +0000 (10:14 -0000)]
2006-05-07 Marek Safar <marek.safar@seznam.cz>
* const.cs (Const.Error_ExpressionMustBeConstant): Better error message.
* ecore.cs (Expression.ResolveAsConstant): Updated.
* statement.cs (ResolveMeta): Updated.
svn path=/trunk/mcs/; revision=60377
Boris Kirzner [Sun, 7 May 2006 08:55:49 +0000 (08:55 -0000)]
Handle NVARCHAR type as VARCHAR for Sql Server 2005 database metadata.
svn path=/branches/mainsoft/gh1.7/mcs/; revision=60376
Andrew Skiba [Sun, 7 May 2006 07:19:44 +0000 (07:19 -0000)]
read default theme and styleSheetTheme from web.config.
svn path=/trunk/mcs/; revision=60373
Carlos Alberto Cortez [Sun, 7 May 2006 00:59:11 +0000 (00:59 -0000)]
2006-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* System.dll.sources: Added new System.IO.Ports/ISerialStream.cs
file.
svn path=/trunk/mcs/; revision=60369
Carlos Alberto Cortez [Sun, 7 May 2006 00:57:07 +0000 (00:57 -0000)]
2005-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ISerialStream.cs:
* SerialPortStream.cs:
* SerialPort.cs:
* SerialSignal.cs:
Some changes to make SerialPorStream implement ISerialInterface,
and be able to have OS-depending backends.
svn path=/trunk/mcs/; revision=60368
Miguel de Icaza [Sat, 6 May 2006 21:29:09 +0000 (21:29 -0000)]
Public vs internal interface
svn path=/trunk/mono/; revision=60367
Gonzalo Paniagua Javier [Sat, 6 May 2006 20:46:07 +0000 (20:46 -0000)]
2006-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ResponseStream.cs:
* HttpListenerResponse.cs: allow 0 length POST. Patch by Horst Reiterer.
Closes bug #78316.
svn path=/trunk/mcs/; revision=60365
Miguel de Icaza [Sat, 6 May 2006 18:08:51 +0000 (18:08 -0000)]
Remove conflict marker
svn path=/trunk/mono/; revision=60364
Zoltan Varga [Sat, 6 May 2006 18:06:39 +0000 (18:06 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_cleanup): Applied patch from Joachim Ante (joe@otee.dk). Call
mono_trace_cleanup ().
svn path=/trunk/mono/; revision=60363
Zoltan Varga [Sat, 6 May 2006 17:34:49 +0000 (17:34 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* iltests.il: Fix problem with the newly added test.
svn path=/trunk/mono/; revision=60362
Zoltan Varga [Sat, 6 May 2006 17:21:50 +0000 (17:21 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c (mono_local_regalloc): When changing the dreg of an instruction
due to register constraints, free up the previous hreg. Fixes #78314.
* iltests.il: Add new test for #78314.
svn path=/trunk/mono/; revision=60361
Zoltan Varga [Sat, 6 May 2006 16:26:29 +0000 (16:26 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_get_inst_for_method): Use OP_ATOMIC_ADD_NEW_I4 for
Interlocked.Add. Fixes #78312.
* mini-amd64.c (mono_arch_get_inst_for_method): Ditto.
svn path=/trunk/mono/; revision=60360
Zoltan Varga [Sat, 6 May 2006 16:25:01 +0000 (16:25 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* threads.c (ves_icall_System_Threading_Interlocked_Add_Int): Return the new
value, not the old. Fixes #78312.
(ves_icall_System_Threading_Interlocked_Add_Long): Ditto.
svn path=/trunk/mono/; revision=60359
Zoltan Varga [Sat, 6 May 2006 16:23:55 +0000 (16:23 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (TEST_CS2_SRC): Add interlocked-2.2.cs and fix compiling of net 2.0
tests.
svn path=/trunk/mono/; revision=60358
Zoltan Varga [Sat, 6 May 2006 16:20:36 +0000 (16:20 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* interlocked-2.2.cs: New tests for the net 2.0 Interlocked methods.
svn path=/trunk/mono/; revision=60357
Miguel de Icaza [Sat, 6 May 2006 16:04:29 +0000 (16:04 -0000)]
Some more updates
svn path=/trunk/mono/; revision=60356
Miguel de Icaza [Sat, 6 May 2006 16:01:48 +0000 (16:01 -0000)]
Update documentation format to match docscript setup
svn path=/trunk/mono/; revision=60355
Miguel de Icaza [Sat, 6 May 2006 15:43:06 +0000 (15:43 -0000)]
Update docs
svn path=/trunk/mono/; revision=60354
Carlos Alberto Cortez [Sat, 6 May 2006 15:37:48 +0000 (15:37 -0000)]
2006-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ISerialStream.cs: New internal interface used for
accessing the backend streams functionality.
svn path=/trunk/mcs/; revision=60353
Marek Safar [Sat, 6 May 2006 15:00:57 +0000 (15:00 -0000)]
2006-05-06 Marek Safar <marek.safar@seznam.cz>
* cs-parser.jay: __arglist cannot be used in initializer.
svn path=/trunk/mcs/; revision=60352
Marek Safar [Sat, 6 May 2006 10:10:11 +0000 (10:10 -0000)]
2006-05-06 Marek Safar <marek.safar@seznam.cz>
A fix for #77879
* namespace.cs (LocalAliasEntry.DoResolve): Don't allow to access nested
private types.
svn path=/trunk/mcs/; revision=60351
Zoltan Varga [Fri, 5 May 2006 22:25:04 +0000 (22:25 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_bounded_array_class_get): Allocate data from the image mempool.
(mono_ptr_class_get): Ditto. Also change the cache from a global one to a
per-image cache.
* assembly.c (mono_assembly_close): Free image->references.
* assembly.c (mono_assembly_names_equal): Fix a warning.
(mono_assemblies_cleanup): Cleanup more global data.
* metadata-internals.h (MonoImage): Add 'ptr_cache'.
* image.c (mono_image_close): Free up the contents of 'array_cache', free up
ptr_cache and image->modules.
* image.c (mono_image_init): Allocate array_cache lazily.
svn path=/trunk/mono/; revision=60348
Gonzalo Paniagua Javier [Fri, 5 May 2006 21:36:24 +0000 (21:36 -0000)]
2006-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CredentialCache.cs: added DefaultNetworkCredentials.
svn path=/trunk/mcs/; revision=60346
Gonzalo Paniagua Javier [Fri, 5 May 2006 21:30:27 +0000 (21:30 -0000)]
removed ^Ms
svn path=/trunk/mcs/; revision=60345
Gonzalo Paniagua Javier [Fri, 5 May 2006 21:23:04 +0000 (21:23 -0000)]
2006-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* NetworkCredential.cs: implement ICredentialsByHost interface.
svn path=/trunk/mcs/; revision=60344
Chris Toshok [Fri, 5 May 2006 20:46:02 +0000 (20:46 -0000)]
* LocalFileSettingsProvider.cs (IsUserSetting): more
CONFIGURATION_DEP crap.
2006-05-05 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=60342
Gonzalo Paniagua Javier [Fri, 5 May 2006 20:45:02 +0000 (20:45 -0000)]
2006-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* assembly.c: use GetCurrentThreadId for the hash, as GetCurrentThread
behavior was changed recently and has bad side effects.
svn path=/trunk/mono/; revision=60341
Sebastien Pouliot [Fri, 5 May 2006 20:06:18 +0000 (20:06 -0000)]
2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
* IToolboxService.cs: corcompare fix. Added [ComImport] for 2.0.
* ToolboxItem.cs: corcompare fix. Added new overload for
CreateComponentsCore in 2.0
* UITypeEditor.cs: corcompare fix. Added new IsDropDownResizable
property for 2.0.
svn path=/trunk/mcs/; revision=60340
Alexander Olk [Fri, 5 May 2006 20:05:32 +0000 (20:05 -0000)]
2006-05-05 Alexander Olk <alex.olk@googlemail.com>
* MimeIcon.cs: for is faster than foreach for strings.
svn path=/trunk/mcs/; revision=60339
Chris Toshok [Fri, 5 May 2006 19:57:14 +0000 (19:57 -0000)]
2006-05-05 Chris Toshok <toshok@ximian.com>
* ProviderBase.cs (Initialize): don't die if config == null.
svn path=/trunk/mcs/; revision=60338
Chris Toshok [Fri, 5 May 2006 19:55:30 +0000 (19:55 -0000)]
fix up the System.Configuration unit tests.
svn path=/trunk/mcs/; revision=60337
Chris Toshok [Fri, 5 May 2006 19:55:12 +0000 (19:55 -0000)]
2006-05-05 Chris Toshok <toshok@ximian.com>
* ApplicationSettingsBase.cs (CacheValuesByProvider): emit
SettingsLoaded after we load the property values.
(set_Item[string]): fill in settingClass in the
SettingChangingEventArgs properly.
(get_Properties): don't depend on setting_attrs[0] being either
UserScoped- or ApplicationScopedSettingAttribute. Also, call
Initialize on any providers we create here.
* LocalFileSettingsProvider.cs (GetPropertyValues): add a naive
implementation, leave a MonoTODO.
(Initialize): fill in name properly, and deal with null values.
svn path=/trunk/mcs/; revision=60336
Sebastien Pouliot [Fri, 5 May 2006 19:51:02 +0000 (19:51 -0000)]
2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
* PaletteFlags.cs: corcompare fixes for 2.0. Add [Flags] and remove
[Serializable]
svn path=/trunk/mcs/; revision=60334
Sebastien Pouliot [Fri, 5 May 2006 19:46:45 +0000 (19:46 -0000)]
2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added more test cases for GetBounds and found
out the results are very imprecise when curves are used (hence
difficult to test but much easier to implement ;-)
svn path=/trunk/mcs/; revision=60333
Mike Kestner [Fri, 5 May 2006 19:14:09 +0000 (19:14 -0000)]
2006-05-05 Mike Kestner <mkestner@novell.com>
* CheckedListBox.cs: update check handling code to not use selected.
* ListBox.cs: rewrite of mouse selection handling to correspond to MS
behavior for visual feedback, motion response, shift/ctrl handling,
and properly deal with all 4 selection modes. Updates to bounds
handling logic. Add scroll wheel support. [Fixes #77842]
svn path=/trunk/mcs/; revision=60329
Marek Sieradzki [Fri, 5 May 2006 18:52:31 +0000 (18:52 -0000)]
2006-05-05 Marek Sieradzki <marek.sieradzki@gmail.com>
* ExpressionCollection.cs, BuildItemGroup.cs, BuildItem.cs,
ItemReference.cs, PropertyReference.cs: Changed name of *Reference
methods converting reference to string from ToString () to
ConvertToString () to avoid mistakes like using ToString () provided
by default.
svn path=/trunk/mcs/; revision=60322
Peter Dennis Bartok [Fri, 5 May 2006 18:45:54 +0000 (18:45 -0000)]
2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
* ListView.cs:
- Moved adding of Implicit controls into .ctor. That way, subsequent
creation of the controls will not cause them to think they are
toplevel windows (fixes #78200 header problem)
- Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
- Switched visibility setting of header control to use internal field
to avoid triggering handle creation
- Now checking if handle is created before causing a refresh when items
are added (This makes us now match handle creation time with MS)
* Splitter.cs: Removed loading of private splitter cursor, switched to
Cursors version now that that is loading the right ones
* Cursors.cs: Load proper splitter cursors from resources
* Cursor.cs: Added second method of loading resource cursors for the
VS.Net users amongst us
svn path=/trunk/mcs/; revision=60320