Jordi Mas i Hernandez [Wed, 10 May 2006 20:16:44 +0000 (20:16 -0000)]
2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
* DataGrid.cs:
- Recalculate grid when the data source has changed
- Matches styles provided by user from all data sources types
* DataGridTableStyle.cs: For columns that provided by the user set the
with the preferred value is there was unassigned.
* CurrencyManager.cs: throw OnItemChanged event
svn path=/trunk/mcs/; revision=60553
Peter Dennis Bartok [Wed, 10 May 2006 19:52:29 +0000 (19:52 -0000)]
2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
* PictureBox.cs: Don't animate until handle is created. Start animation
when handle is created.
svn path=/trunk/mcs/; revision=60551
Peter Dennis Bartok [Wed, 10 May 2006 19:47:48 +0000 (19:47 -0000)]
* XEventQueue.cs: We don't need to provide the extra info
svn path=/trunk/mcs/; revision=60550
Peter Dennis Bartok [Wed, 10 May 2006 19:42:38 +0000 (19:42 -0000)]
2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
current codebase.
svn path=/trunk/mcs/; revision=60549
Chris Toshok [Wed, 10 May 2006 19:34:58 +0000 (19:34 -0000)]
add test for LinkedStyleSheet support with themes
svn path=/trunk/mcs/; revision=60548
Jackson Harper [Wed, 10 May 2006 19:19:30 +0000 (19:19 -0000)]
* MdiClient.cs: If the mdi clients parent form has a background
image set, we draw that background image for the mdi area's
background.
svn path=/trunk/mcs/; revision=60545
Mike Kestner [Wed, 10 May 2006 19:08:37 +0000 (19:08 -0000)]
2006-05-10 Mike Kestner <mkestner@novell.com>
* ToolBar.cs: fix some text padding issues with ButtonSize
calculation. Update the default size to match MS documentation.
* ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
button size. Fixes #78296.
svn path=/trunk/mcs/; revision=60542
Peter Dennis Bartok [Wed, 10 May 2006 18:57:03 +0000 (18:57 -0000)]
2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs: Set IBeam cursor (#78347)
svn path=/trunk/mcs/; revision=60541
Mike Kestner [Wed, 10 May 2006 18:45:26 +0000 (18:45 -0000)]
2006-05-10 Mike Kestner <mkestner@novell.com>
* ListBox.cs: use is_visible for scrollbar positioning in case the
control isn't on screen yet. Fix off by one with Right vs Width
usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
svn path=/trunk/mcs/; revision=60540
Sebastien Pouliot [Wed, 10 May 2006 18:31:15 +0000 (18:31 -0000)]
2006-05-10 Sebastien Pouliot <sebastien@ximian.com>
* marshal.c: In function mono_mb_add_local don't use the mb pointer
before checking if it's NULL (g_assert).
svn path=/trunk/mono/; revision=60539
Jackson Harper [Wed, 10 May 2006 18:00:56 +0000 (18:00 -0000)]
* X11Dnd.cs: Drop to a control with another control on top of
* it.
* ToolBar.cs: Work on a copy of the buttons list, so that it can
be modified in click handlers. TODO: Look for similar problems
in
other controls.
svn path=/trunk/mcs/; revision=60537
Zoltan Varga [Wed, 10 May 2006 17:54:09 +0000 (17:54 -0000)]
2006-05-10 Zoltan Varga <vargaz@gmail.com>
* MonoType.cs (GetMethodImpl): Fix a warning.
svn path=/trunk/mcs/; revision=60536
Zoltan Varga [Wed, 10 May 2006 17:53:39 +0000 (17:53 -0000)]
2006-05-10 Zoltan Varga <vargaz@gmail.com>
* Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
svn path=/trunk/mcs/; revision=60535
Martin Baulig [Wed, 10 May 2006 17:52:35 +0000 (17:52 -0000)]
New test.
svn path=/trunk/mcs/; revision=60534
Martin Baulig [Wed, 10 May 2006 17:47:30 +0000 (17:47 -0000)]
2006-05-10 Martin Baulig <martin@ximian.com>
* metadata.c (mono_type_size): Kill the g_assert() in MONO_TYPE_GENERICINST;
I thought I already killed that two months ago, but now it somehow reappeared.
svn path=/trunk/mono/; revision=60533
Sebastien Pouliot [Wed, 10 May 2006 17:29:28 +0000 (17:29 -0000)]
2006-05-10 Sebastien Pouliot <sebastien@ximian.com>
* PathGradientBrush.cs: Added MonoTODO to warn about the lack of
support, for most cases, when using libgdiplus.
svn path=/trunk/mcs/; revision=60532
Jackson Harper [Wed, 10 May 2006 17:29:05 +0000 (17:29 -0000)]
* X11Dnd.cs: Drop to a control with another control on top of
* it.
svn path=/trunk/mcs/; revision=60531
Zoltan Varga [Wed, 10 May 2006 17:22:42 +0000 (17:22 -0000)]
2006-05-10 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_instrument_epilog): Fix handling of
MONO_TYPE_GENERICINST.
svn path=/trunk/mono/; revision=60528
Martin Baulig [Wed, 10 May 2006 17:14:48 +0000 (17:14 -0000)]
2006-05-10 Martin Baulig <martin@ximian.com>
* mono-debug.c (mono_debug_add_method): Allow instantiated generic methods.
svn path=/trunk/mono/; revision=60522
Zoltan Varga [Wed, 10 May 2006 16:32:25 +0000 (16:32 -0000)]
2006-05-10 Zoltan Varga <vargaz@gmail.com>
* reflection.c: Allocate memory for dynamically created methods in the image
mempools.
svn path=/trunk/mono/; revision=60520
Sebastien Pouliot [Wed, 10 May 2006 15:39:48 +0000 (15:39 -0000)]
2006-05-10 Sebastien Pouliot <sebastien@ximian.com>
* appdomain.c: In ves_icall_System_AppDomain_[Get|Set]Data functions,
don't use the ad pointer before checking if it's NULL (g_assert).
svn path=/trunk/mono/; revision=60517
Atsushi Eno [Wed, 10 May 2006 15:10:54 +0000 (15:10 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* ConnectionStringSettings.cs : it seems that "name" property
could be null i.e. there is no StringValidator.
* StringValidator.cs : allow null.
* StringValidatorTest.cs : added NullZero().
svn path=/trunk/mcs/; revision=60516
Gonzalo Paniagua Javier [Wed, 10 May 2006 14:52:19 +0000 (14:52 -0000)]
2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: get rid of TryParseHexa.
svn path=/trunk/mcs/; revision=60515
Atsushi Eno [Wed, 10 May 2006 14:50:31 +0000 (14:50 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationManager.cs : use GetCallingAssembly() instead of
GetEntryAssembly() which possibly returns null (e.g. nunit) in
OpenExeConfiguration(). Several nunit test failures are gone.
svn path=/trunk/mcs/; revision=60514
Atsushi Eno [Wed, 10 May 2006 14:48:14 +0000 (14:48 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* t36.cs, t36-lib.cs, t36.exe.config, t36.exe.expected :
new test for bug #77236.
* Makefile : added a trick for building this test.
svn path=/trunk/mcs/; revision=60513
Atsushi Eno [Wed, 10 May 2006 12:28:59 +0000 (12:28 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* ConnectionStringSettings.cs : oops, this API fix broke standalone
test.
svn path=/trunk/mcs/; revision=60505
Atsushi Eno [Wed, 10 May 2006 12:14:14 +0000 (12:14 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* ObjectType.cs :
getObjTstToInt64() always returned 0. Fixed bug #75386.
svn path=/trunk/mcs/; revision=60504
Atsushi Eno [Wed, 10 May 2006 11:49:53 +0000 (11:49 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationElement.cs,
ConfigurationErrorsException.cs,
ConfigurationUserLevel.cs,
ConfigurationPropertyOptions.cs,
ConnectionStringSettings.cs : assorted minor corcompare fixes.
svn path=/trunk/mcs/; revision=60503
Raja R Harinath [Wed, 10 May 2006 11:35:01 +0000 (11:35 -0000)]
* mcs/flowanalysis.cs (MyBitVector.And, MyBitVector.Or): Make lazier.
(MyBitVector): Rationalize invariants. 'vector != null' implies
that we have our own copy of the bitvector. Otherwise,
'InheritsFrom == null' implies all inherited bits are true.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60502
Ankit Jain [Wed, 10 May 2006 11:32:59 +0000 (11:32 -0000)]
In ilasm/parser:
* ILParser.jay (native_type | K_ERROR): Use NativeType.Error for the
value.
(native_type | K_LPSTRUCT): Likewise for K_LPSTRUCT.
In class/PEAPI:
* Metadata.cs (NativeType): Add LPStruct and Error.
svn path=/trunk/mcs/; revision=60500
Atsushi Eno [Wed, 10 May 2006 11:29:13 +0000 (11:29 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* Configuration.cs : some kind of refactoring is absolutely needed
here. Reuse RawXml from parentSection when data was not available
on current section. This should fix bug #78353.
svn path=/trunk/mcs/; revision=60499
Ankit Jain [Wed, 10 May 2006 11:19:49 +0000 (11:19 -0000)]
* get.c (init_key_table): Add keyword 'switch'.
svn path=/trunk/mono/; revision=60497
Ankit Jain [Wed, 10 May 2006 08:41:07 +0000 (08:41 -0000)]
* get.c (init_key_table): Add keyword 'property'.
svn path=/trunk/mono/; revision=60494
Ankit Jain [Wed, 10 May 2006 07:56:36 +0000 (07:56 -0000)]
In ilasm/scanner:
* ILTables.cs (keywords): Add 'property' for NET_2_0.
In ilasm/parser:
* ILParser.jay: Add K_PROPERTY.
svn path=/trunk/mcs/; revision=60492
Andrew Skiba [Wed, 10 May 2006 06:18:58 +0000 (06:18 -0000)]
surround file name with quotes
svn path=/trunk/mcs/; revision=60491
Andrew Skiba [Wed, 10 May 2006 06:04:54 +0000 (06:04 -0000)]
keep the internal exception
svn path=/trunk/mcs/; revision=60490
Atsushi Eno [Wed, 10 May 2006 05:26:19 +0000 (05:26 -0000)]
and let new status pages show up.
svn path=/trunk/mono/; revision=60488
Atsushi Eno [Wed, 10 May 2006 05:25:40 +0000 (05:25 -0000)]
handle 2.0 with simply "make PROFILE=net_2_0".
svn path=/trunk/mono/; revision=60487
Atsushi Eno [Wed, 10 May 2006 05:00:13 +0000 (05:00 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* test-enum-indstoreil.il : removed duplicate label.
Fixed test-runtime.
svn path=/trunk/mono/; revision=60486
Atsushi Eno [Wed, 10 May 2006 03:43:30 +0000 (03:43 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* data/net_2_0/machine.config : updated webRequestModules,
defaultProxy and connectionManagement handlers.
svn path=/trunk/mono/; revision=60485
Atsushi Eno [Wed, 10 May 2006 03:42:53 +0000 (03:42 -0000)]
tsushi Enomoto <atsushi@ximian.com>
* System_test.dll.sources : added ConnectionManagementSectionTest.cs
and WebRequestModulesSectionTest.cs.
* ConnectionManagementSectionTest.cs,
WebRequestModulesSectionTest.cs : new tests.
svn path=/trunk/mcs/; revision=60484
Atsushi Eno [Wed, 10 May 2006 03:39:56 +0000 (03:39 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : add -r:System.Configuration under net_2_0.
* ConfigurationSettings.cs : use ConfigurationManager.GetConfig()
in its GetConfig(). No need to change AppSettings and
Default.GetConfig() behavior here.
* t35.cs, t35.exe.config, t35.exe.expected :
new test, largely from bug #78337.
* ConfigurationManagerTest.cs :
added GetSectionReturnsNativeObject().
* ConfigurationElement.cs,
DefaultSection.cs :
in some cases RawXml was set null string, so skip such cases.
* Configuration.cs : support IConfigurationSectionHandler here.
* ConfigurationManager.cs : GetSection() now returns name value
collection, not a section.
* ConfigurationSection.cs : added SectionHandler for
IConfigurationSectionHandler support, and use its Create() in
GetRuntimeObject().
* ClientConfigurationSystem.cs :
use GetRuntimeObject() in GetSection(). Thus now
ConfigurationManager.GetSection() returns a runtime object.
Fixed bug #78337.
svn path=/trunk/mcs/; revision=60483
Atsushi Eno [Wed, 10 May 2006 03:18:10 +0000 (03:18 -0000)]
nunit.mocks.dll.csproj does not exist. Fix make dist.
svn path=/trunk/mcs/; revision=60482
Zoltan Varga [Wed, 10 May 2006 00:31:38 +0000 (00:31 -0000)]
2006-05-10 Zoltan Varga <vargaz@gmail.com>
* configure.in: Disable usage of visibility(hidden) on solaris x86.
svn path=/trunk/mono/; revision=60481
Jackson Harper [Tue, 9 May 2006 23:22:22 +0000 (23:22 -0000)]
* Form.cs: Window managers need the old window state when
* setting
window state now.
* InternalWindowManager.cs: Allow the base mdi window manager to
handle more of the MDI only stuff (like maximize buttons).
* MdiWindowManager.cs: Fix some snafus in changing the window
state. Add all the menu functionality, for both popup and
maximized menus.
* MdiClient.cs: When a new form is selected the currently
activated form is sent to the back, this matches MS.
- Implement a new method to activate the next mdi child window.
svn path=/trunk/mcs/; revision=60480
Jackson Harper [Tue, 9 May 2006 23:18:20 +0000 (23:18 -0000)]
* Form.cs: Window managers need the old window state when
* setting
window state now.
* InternalWindowManager.cs: Allow the base mdi window manager to
handle more of the MDI only stuff (like maximize buttons).
* MdiWindowManager.cs: Fix some snafus in changing the window
state. Add all the menu functionality, for both popup and
maximized menus.
* MdiClient.cs: When a new form is selected the currently
activated form is sent to the back, this matches MS.
- Implement a new method to activate the next mdi child window.
svn path=/trunk/mcs/; revision=60479
Miguel de Icaza [Tue, 9 May 2006 22:51:12 +0000 (22:51 -0000)]
Get reliable builds
svn path=/trunk/mono/; revision=60478
Zoltan Varga [Tue, 9 May 2006 22:06:33 +0000 (22:06 -0000)]
2006-05-10 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_instrument_epilog): Fix handling of
MONO_TYPE_GENERICINST.
svn path=/trunk/mono/; revision=60476
Sebastien Pouliot [Tue, 9 May 2006 21:20:32 +0000 (21:20 -0000)]
2006-05-09 Sebastien Pouliot <sebastien@ximian.com>
* System.Drawing_test.dll.sources: Added unit tests for
PathGradientBrush.
svn path=/trunk/mcs/; revision=60475
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