Eyal Alalouf [Wed, 14 Mar 2007 10:47:05 +0000 (10:47 -0000)]
Mark tests as not working under TARGET_JVM
svn path=/trunk/mcs/; revision=74246
Konstantin Triger [Wed, 14 Mar 2007 09:27:37 +0000 (09:27 -0000)]
remove TARGET_JVM
svn path=/trunk/mcs/; revision=74243
Konstantin Triger [Wed, 14 Mar 2007 09:20:08 +0000 (09:20 -0000)]
remove TARGET_JVM
svn path=/trunk/mcs/; revision=74241
Marek Habersack [Wed, 14 Mar 2007 08:52:56 +0000 (08:52 -0000)]
it should have come with the previous commit
svn path=/trunk/mcs/; revision=74240
Marek Habersack [Wed, 14 Mar 2007 08:52:12 +0000 (08:52 -0000)]
2007-03-14 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: hadle situations when there exist a
control in the page with id matching the name of a field/property
in the parent class. In this case we use 'protected new' to
override the parent.
svn path=/trunk/mcs/; revision=74239
Marek Habersack [Wed, 14 Mar 2007 08:44:13 +0000 (08:44 -0000)]
2007-03-14 Marek Habersack <mhabersack@novell.com>
* data/net_2_0/machine.config: add two missing section handlers.
svn path=/trunk/mono/; revision=74238
Chris Toshok [Wed, 14 Mar 2007 07:02:36 +0000 (07:02 -0000)]
2007-03-14 Chris Toshok <toshok@ximian.com>
* Form.cs: go ahead and remove the RecreateHandles that jpobst
removed earlier and I had him add back it. It turns out metacity
*does* in fact handle the MOTIF_WM_HINTS property changing, it
just doesn't redraw the window titlebar until you resize the
window. This also means we aren't recreating the entire window
hierarchy on X when you change this property. And it looks better
on windows, too.
svn path=/trunk/mcs/; revision=74236
Carlos Alberto Cortez [Wed, 14 Mar 2007 06:47:51 +0000 (06:47 -0000)]
2007-03-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs:
* ListView.cs: Collecting selection information
is now done in SelectedIndexCollection rather than in
SelectedListViewItemCollection. This is done so we can
have the selection information code in one single place
(virtual mode selection information entirely depends on
SelectedIndexCollection).
svn path=/trunk/mcs/; revision=74235
Nagappan Alagappan [Wed, 14 Mar 2007 06:03:51 +0000 (06:03 -0000)]
2007-03-14 Nagappan A <anagappan@novell.com>
* SqlCommandTest.cs (ExecuteScalarTest, ExecuteReaderTest)
(ExecuteReaderTest, PrepareTest, TransactionTest): Modified
expected exception to NullReferenceException as it has to be
thrown in 2.0 profile.
svn path=/trunk/mcs/; revision=74234
Nagappan Alagappan [Wed, 14 Mar 2007 05:57:41 +0000 (05:57 -0000)]
2007-03-14 Nagappan A <anagappan@novell.com>
* SqlCommand.cs (CommandType): Exception type thrown in 2.0
profile is different than 1.0, ArgumentOutOfRangeException.
(Connection): Exception type thrown in 2.0 profile is different
than 1.0, ArgumentOutOfRangeException.
(Execute): If Size property is 0 for String and Binary type, then
throw InvalidOperationException.
(ValidateCommand): Exception type thrown in 2.0 profile is
different than 1.0, NullReferenceException.
svn path=/trunk/mcs/; revision=74232
Miguel de Icaza [Wed, 14 Mar 2007 04:59:12 +0000 (04:59 -0000)]
This breaks buildbot, remove for now
svn path=/trunk/mono/; revision=74230
Miguel de Icaza [Wed, 14 Mar 2007 03:28:13 +0000 (03:28 -0000)]
Add eglib
svn path=/trunk/mono/; revision=74229
Miguel de Icaza [Wed, 14 Mar 2007 03:25:45 +0000 (03:25 -0000)]
2007-03-13 Miguel de Icaza <miguel@novell.com>
* ErrorProvider.cs: Add stubs for ISupportInitialize
svn path=/trunk/mcs/; revision=74228
Jonathan Chambers [Wed, 14 Mar 2007 03:19:32 +0000 (03:19 -0000)]
Fix output directory.
svn path=/trunk/mono/; revision=74227
Carlos Alberto Cortez [Wed, 14 Mar 2007 00:32:48 +0000 (00:32 -0000)]
* ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
in the right order with the right values, from the Checked property,
just as MS does (instead of triggering them from ListView).
* ListView.cs: Make OnItemCheck and OnItemChecked internal.
2007-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=74222
Miguel de Icaza [Tue, 13 Mar 2007 23:57:25 +0000 (23:57 -0000)]
Fix
svn path=/trunk/mcs/; revision=74213
Wade Berrier [Tue, 13 Mar 2007 23:54:11 +0000 (23:54 -0000)]
* Makefile.am:
* msvc/Makefile.am:
Update EXTRA_DIST to take into account .vcproj file moves
svn path=/trunk/mono/; revision=74212
Miguel de Icaza [Tue, 13 Mar 2007 21:29:47 +0000 (21:29 -0000)]
Assist in debugging
svn path=/trunk/mcs/; revision=74209
Andreia Gaita [Tue, 13 Mar 2007 20:27:34 +0000 (20:27 -0000)]
* PrintingServices.cs: Add missing static method SysPrn.GetPrintDialogInfo
for SWF to call up printing dialogues.
2007-03-13 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=74206
Gert Driesen [Tue, 13 Mar 2007 20:20:14 +0000 (20:20 -0000)]
* ErrorProviderTest.cs: Improved GetandSetErrorTest. Marked failing
test NotWorking. Removed extra tabs.
* System.Windows.Forms_test.dll.sources: Added ErrorProviderTest.cs.
svn path=/trunk/mcs/; revision=74205
Jackson Harper [Tue, 13 Mar 2007 20:17:51 +0000 (20:17 -0000)]
* TextBoxBase.cs: Calculate the document before the handle is
created, so there isn't an extra invalidate called.
svn path=/trunk/mcs/; revision=74204
Jonathan Chambers [Tue, 13 Mar 2007 20:00:05 +0000 (20:00 -0000)]
2007-03-13 Jonathan Chambers <joncham@gmail.com>
* *.vcproj: Move to msvc directory.
* *.bat: Move to msvc directory.
* libgc/misc.c: Use correct string type for GetModuleHandle.
svn path=/trunk/mono/; revision=74203
Marek Habersack [Tue, 13 Mar 2007 19:53:04 +0000 (19:53 -0000)]
2007-03-13 Marek Habersack <mhabersack@novell.com>
* AspParser.cs: fix an off-by-one parsing bug with server-side
includes.
svn path=/trunk/mcs/; revision=74202
Carlos Alberto Cortez [Tue, 13 Mar 2007 19:51:32 +0000 (19:51 -0000)]
2007-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Implement ItemChecked 2.0 event. Also cast to
the correct handler in OnItemCheck method (ItemCheckEventHandler
instead of EventHandler). This used to throw an InvalidCastException.
svn path=/trunk/mcs/; revision=74201
Jackson Harper [Tue, 13 Mar 2007 19:49:38 +0000 (19:49 -0000)]
* TextBoxBase.cs: Calculate the document before the handle is
created, so there isn't an extra invalidate called.
svn path=/trunk/mcs/; revision=74200
Alp Toker [Tue, 13 Mar 2007 18:59:08 +0000 (18:59 -0000)]
2007-03-13 Alp Toker <alp@atoker.com>
* TypeTest.cs: Add a regression test for #63841.
svn path=/trunk/mcs/; revision=74195
Alp Toker [Tue, 13 Mar 2007 18:56:25 +0000 (18:56 -0000)]
Revert r74157 -- should not have been a compiler test
svn path=/trunk/mcs/; revision=74194
Jonathan Chambers [Tue, 13 Mar 2007 18:08:42 +0000 (18:08 -0000)]
2007-03-13 Jonathan Chambers <joncham@gmail.com>
*.vcproj: Fix Release build target, add define to remove CRT warnings,
structure output folders a bit better, begin WIN64 port.
*.bat: Use output from current VS target for executable.
* icall.c: Fix environ access on windows.
* gc.h: Fix Win64 typedef.
svn path=/trunk/mono/; revision=74191
Alp Toker [Tue, 13 Mar 2007 16:56:58 +0000 (16:56 -0000)]
2007-03-13 Alp Toker <alp@atoker.com>
* cilc.exe.sources:
* cilc.cs:
* CodeWriter.cs: Split out CodeWriter class.
svn path=/trunk/mcs/; revision=74189
Alp Toker [Tue, 13 Mar 2007 16:52:28 +0000 (16:52 -0000)]
2007-03-13 Alp Toker <alp@atoker.com>
* cilc.cs: Use String.Empty.
svn path=/trunk/mcs/; revision=74187
Yaacov Akiba Slama [Tue, 13 Mar 2007 16:48:49 +0000 (16:48 -0000)]
*.class is forbidden
svn path=/trunk/mono/; revision=74185
Jonathan Pobst [Tue, 13 Mar 2007 14:33:59 +0000 (14:33 -0000)]
2007-03-13 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: Don't set owner in ShowDialog until we are sure
that we aren't going to throw an exception. [Fixes bug #80773]
2007-03-13 Jonathan Pobst <monkey@jpobst.com>
* FormTest.cs: Add test for bug #80773.
svn path=/trunk/mcs/; revision=74172
Marek Habersack [Tue, 13 Mar 2007 14:31:46 +0000 (14:31 -0000)]
* PageThemeCompiler.cs: let property builders through, stop the
builders that have no control type. Fixes bug #81092
* TemplateControlCompiler.cs:
Make sure builders are in valid state before trying to use them.
svn path=/trunk/mcs/; revision=74171
Martin Baulig [Tue, 13 Mar 2007 14:10:12 +0000 (14:10 -0000)]
Ooops, that was the old version of my patch.
svn path=/trunk/mcs/; revision=74169
Martin Baulig [Tue, 13 Mar 2007 13:28:28 +0000 (13:28 -0000)]
2007-03-09 Martin Baulig <martin@ximian.com>
* enum.cs (Enum): Make this a TypeContainer.
(EnumMember): Derive from `Const'.
* const.cs
(Const.DoResolveValue): New protected virtual method; move most of
the functionality of ResolveValue() here so we can override it in
`EnumMember'.
(Const.CreateConstantReference): Make this virtual.
* class.cs (Kind): Add `Kind.Enum'.
(TypeContainer.Emit): Don't emit the enums here; they're already
in the `RootContext.typecontainer_resolve_order'.
* rootcontext.cs (RootContext.EmitCode): Don't emit the enums
here; they're already in the `typecontainer_resolve_order'.
* ecore.cs (EnumConstant.ConvertImplicitly): Add
TypeManager.DropGenericTypeArguments().
* typemanager.cs
(TypeManager.CSharpEnumValue): Add DropGenericTypeArguments().
(TypeManager.IsEnumType): Likewise.
(TypeManager.EnumToUnderlying): Likewise.
(TypeManager.IsEqual): Add support for enums.
svn path=/trunk/mcs/; revision=74168
Marek Habersack [Tue, 13 Mar 2007 13:11:04 +0000 (13:11 -0000)]
2007-03-13 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: name generated classes the same way MS.NET
does - include the app-relative path to the control/page in the
class name.
* PageCompiler.cs: interfaces are to be implemented by the parent
partial class, not the generated one.
* TemplateControlCompiler.cs:
Put field declarations for controls in the partial class.
* BaseCompiler.cs:
Change the generated code model for pages/controls to comply with
the way MS.NET does (partial class contains only two properties
plus declarations of all the controls, the actual control/page
class inherits from the partial class). Fixes bug #81001.
svn path=/trunk/mcs/; revision=74167
Konstantin Triger [Tue, 13 Mar 2007 10:49:22 +0000 (10:49 -0000)]
align with recent changes
svn path=/trunk/mcs/; revision=74161
Adar Wesley [Tue, 13 Mar 2007 09:58:40 +0000 (09:58 -0000)]
2007-03-13 Adar Wesley <adarw@mainsoft.com>
* Page.cs: improved Async Page implementation.
svn path=/trunk/mcs/; revision=74160
Marek Habersack [Tue, 13 Mar 2007 09:56:36 +0000 (09:56 -0000)]
2007-03-13 Marek Habersack <mhabersack@novell.com>
* AppResourceFilesCollection.cs: added separate constructor for
local resources handling.
* TemplateControlCompiler.cs: request the local resource object
with proper virtual path.
* BaseCompiler.cs: added code to assing AppRelativeVirtualPath
property in the page/control constructor.
* AppResourcesCompiler.cs: does not require specifying manually
whether it's a global or local resource compiler anymore. New
constructors take care of that.
Changed to compile local resources on demand, when a control/page
is parsed.
2007-03-13 Marek Habersack <mhabersack@novell.com>
* AppResourceFilesCollection.cs: added separate constructor for
local resources handling.
* TemplateControlCompiler.cs: request the local resource object
with proper virtual path.
* BaseCompiler.cs: added code to assing AppRelativeVirtualPath
property in the page/control constructor.
* AppResourcesCompiler.cs: does not require specifying manually
whether it's a global or local resource compiler anymore. New
constructors take care of that.
Changed to compile local resources on demand, when a control/page
is parsed.
2007-03-13 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
#80634.
svn path=/trunk/mcs/; revision=74159
Igor Zelmanovich [Tue, 13 Mar 2007 08:42:46 +0000 (08:42 -0000)]
2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
* HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
'<' char must be encoded.
svn path=/trunk/mcs/; revision=74158
Alp Toker [Tue, 13 Mar 2007 05:46:50 +0000 (05:46 -0000)]
2007-03-13 Alp Toker <alp@atoker.com>
* test-567.cs: New test based on #63841.
svn path=/trunk/mcs/; revision=74157
Alp Toker [Tue, 13 Mar 2007 05:46:40 +0000 (05:46 -0000)]
2007-03-13 Alp Toker <alp@atoker.com>
* icall.c (ves_icall_MonoType_GetElementType): For enums, return null
rather than the underlying type. Based on a patch by Ben Maurer. Fixes
#63841.
svn path=/trunk/mono/; revision=74156
George Giolfan [Mon, 12 Mar 2007 23:00:20 +0000 (23:00 -0000)]
2007-03-12 George Giolfan <georgegiolfan@yahoo.com>
* TreeView.cs: Make it compile.
svn path=/trunk/mcs/; revision=74153
Jonathan Pobst [Mon, 12 Mar 2007 22:16:35 +0000 (22:16 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Another place we don't call SizeFromClientSize.
* Form.cs: Another place we don't call SizeFromClientSize.
[Fixes bug #81125]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* ControlTest.cs: Add test for bug #81125.
svn path=/trunk/mcs/; revision=74152
Jackson Harper [Mon, 12 Mar 2007 22:14:09 +0000 (22:14 -0000)]
* TreeNode.cs: We need to start nodes with a zero visible order,
because the order calcs are based on the first nodes order.
svn path=/trunk/mcs/; revision=74151
Jackson Harper [Mon, 12 Mar 2007 22:09:39 +0000 (22:09 -0000)]
- oops made scrolling backwards.
svn path=/trunk/mcs/; revision=74150
Miguel de Icaza [Mon, 12 Mar 2007 21:43:56 +0000 (21:43 -0000)]
2007-03-12 Frederik Carlier <frederik.carlier@ugent.be>
* ResXFileRef.cs: Add support for byte[] types.
Fixes 81122
svn path=/trunk/mcs/; revision=74148
Jackson Harper [Mon, 12 Mar 2007 21:21:44 +0000 (21:21 -0000)]
* TreeView.cs: Basically emulating some strangness here with
exanding nodes and setting node positions when windows aren't
created.
- Also attempting to walk the node tree less than previously,
and
just use visible order calculations for determining offsets.
svn path=/trunk/mcs/; revision=74146
Jonathan Pobst [Mon, 12 Mar 2007 21:09:50 +0000 (21:09 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: Don't exit the program if RecreateHandle is called on
the main form.
svn path=/trunk/mcs/; revision=74144
Jonathan Pobst [Mon, 12 Mar 2007 21:00:31 +0000 (21:00 -0000)]
Revert r74140. Apparently the RecreateHandle is for proper behavior in X. Will fix another way.
svn path=/trunk/mcs/; revision=74143
Chris Toshok [Mon, 12 Mar 2007 20:56:07 +0000 (20:56 -0000)]
enable this test. works now.
svn path=/trunk/mcs/; revision=74142
Chris Toshok [Mon, 12 Mar 2007 20:40:40 +0000 (20:40 -0000)]
2007-03-12 Chris Toshok <toshok@ximian.com>
* XEventQueue.cs: remove the use of PostQuitState.
* XplatUIX11.cs: remove the use of PostQuitState. If we get a
WM_QUIT message in GetMessage, return false (and if we're in the
nested WaitForHwndMessage, repost the WM_QUIT message).
svn path=/trunk/mcs/; revision=74141
Jonathan Pobst [Mon, 12 Mar 2007 20:19:45 +0000 (20:19 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: Don't call RecreateHandle when we change the MinimizeBox
or the MaximizeBox properties. [Part of bug #80640]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* FormTest.cs: Add a test showing we do not recreate the handle when
MinimizeBox or MaximizeBox is changed. [Part of bug #80640]
svn path=/trunk/mcs/; revision=74140
Chris Toshok [Mon, 12 Mar 2007 20:09:19 +0000 (20:09 -0000)]
add test to confirm behavior of Control.SetVisibleCore, and remove some redundant tests which are covered by ControlHandleTest
svn path=/trunk/mcs/; revision=74139
Everaldo Canuto [Mon, 12 Mar 2007 18:57:21 +0000 (18:57 -0000)]
2007-03-12 Everaldo Canuto <everaldo@simios.org>
* LinkLabel.cs: When calculate pieces make LinkArea empty if theres
no links.
svn path=/trunk/mcs/; revision=74136
Jonathan Pobst [Mon, 12 Mar 2007 18:45:12 +0000 (18:45 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: Fix some tests I broke by checking Visible
instead of visible.
svn path=/trunk/mcs/; revision=74135
Gert Driesen [Mon, 12 Mar 2007 18:34:48 +0000 (18:34 -0000)]
* FileDialog.cs: Use text of File name combobox to determine what
files the user selected. Added tokenizer to parse the file names.
Fixes bug #81123.
svn path=/trunk/mcs/; revision=74134
Jonathan Pobst [Mon, 12 Mar 2007 16:25:57 +0000 (16:25 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* ControlTest.cs: Add test for bug #80621.
svn path=/trunk/mcs/; revision=74131
Noam Lampert [Mon, 12 Mar 2007 16:22:41 +0000 (16:22 -0000)]
small bug fixes
svn path=/trunk/mcs/; revision=74130
Jonathan Pobst [Mon, 12 Mar 2007 16:10:03 +0000 (16:10 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: We can't call SizeFromClientSize in the constructor,
but we still need to do the same work, so make an internal version.
[Fixes bug #80621]
svn path=/trunk/mcs/; revision=74129
Paolo Molaro [Mon, 12 Mar 2007 16:07:56 +0000 (16:07 -0000)]
Mon Mar 12 17:07:32 CET 2007 Paolo Molaro <lupus@ximian.com>
* amd64/amd64-codegen.h: removed some useless size rex prefixes.
svn path=/trunk/mono/; revision=74128
Ilya Kharmatsky [Mon, 12 Mar 2007 14:44:08 +0000 (14:44 -0000)]
TD Bug fix: 7489 - the application should not throw an exception even if the configuration doesn't contain definition of JNDI entry for groups namespace.
svn path=/trunk/mcs/; revision=74127
Konstantin Triger [Mon, 12 Mar 2007 14:28:44 +0000 (14:28 -0000)]
remove TARGET_JVM define
svn path=/trunk/mcs/; revision=74126
Konstantin Triger [Mon, 12 Mar 2007 14:26:15 +0000 (14:26 -0000)]
TARGET_J2EE: Add stub for BuildManager
svn path=/trunk/mcs/; revision=74125
Raja R Harinath [Mon, 12 Mar 2007 13:31:45 +0000 (13:31 -0000)]
In corlib/System.Runtime.InteropServices:
* DefaultParameterValueAttribute.cs: Move to System.dll.
In System/System.Runtime.InteropServices:
* StandardOleMarshalObject.cs: New .net2.0 class.
* DefaultParameterValueAttribute.cs: Move here from corlib.
svn path=/trunk/mcs/; revision=74124
Zoltan Varga [Mon, 12 Mar 2007 12:58:31 +0000 (12:58 -0000)]
2007-03-12 Zoltan Varga <vargaz@gmail.com>
* DynamicMethodTest.cs: Add a test for circular references.
svn path=/trunk/mcs/; revision=74122
Raja R Harinath [Mon, 12 Mar 2007 12:46:42 +0000 (12:46 -0000)]
* typemanager.cs (InitCoreTypes) [NET_2_0]: Allow
DefaultParameterValueAttribute to be undefined, say if System.dll
is not referenced.
(prepare to move DefaultParameterValueAttribute to System.dll)
svn path=/trunk/mcs/; revision=74121
Zoltan Varga [Mon, 12 Mar 2007 12:38:14 +0000 (12:38 -0000)]
2007-03-12 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_reflection_create_dynamic_method): Add support for
circular references among dynamic methods. Fixes #81091.
svn path=/trunk/mono/; revision=74120
Zoltan Varga [Mon, 12 Mar 2007 12:37:13 +0000 (12:37 -0000)]
2007-03-12 Zoltan Varga <vargaz@gmail.com>
* object-internals.h (MonoReflectionDynamicMethod): Add 'referenced_by' field.
svn path=/trunk/mono/; revision=74119
Zoltan Varga [Mon, 12 Mar 2007 12:36:32 +0000 (12:36 -0000)]
2007-03-12 Zoltan Varga <vargaz@gmail.com>
* DynamicMethod.cs: Add a field used by unmanaged code.
svn path=/trunk/mcs/; revision=74118
Vladimir Krasnov [Mon, 12 Mar 2007 12:34:09 +0000 (12:34 -0000)]
* CapabilitiesLoader.cs: added TARGET_JVM part of static members, added caching to GetCapabilities method for performance improvement
svn path=/trunk/mcs/; revision=74117
Marek Habersack [Mon, 12 Mar 2007 12:08:39 +0000 (12:08 -0000)]
* AspParser.cs: revert r73587 as it breaks more than it fixes
svn path=/trunk/mcs/; revision=74116
Marek Habersack [Mon, 12 Mar 2007 11:38:34 +0000 (11:38 -0000)]
2007-03-12 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: support custom site map providers. Fixes
bug #81115
svn path=/trunk/mcs/; revision=74113
Marek Habersack [Mon, 12 Mar 2007 11:28:02 +0000 (11:28 -0000)]
2007-03-12 Marek Habersack <mhabersack@novell.com>
* ProvidersHelper.cs: support loading custom providers from
App_Code assemblies. Fixes bug #81071.
Also set eol-style to native.
svn path=/trunk/mcs/; revision=74112
Marek Habersack [Mon, 12 Mar 2007 11:25:19 +0000 (11:25 -0000)]
* AspComponentFoundry.cs: try to register foundries from App_Code
assemblies if tag prefix and its namespace are defined. Fixes bug
#78797.
svn path=/trunk/mcs/; revision=74111
Ilya Kharmatsky [Mon, 12 Mar 2007 11:14:22 +0000 (11:14 -0000)]
1. Added WPAuthenticationModule.cs - WPS specific authentication module.
2. Added property CurrentUserName to IPumaServicesProvider
svn path=/trunk/mcs/; revision=74110
Marek Habersack [Mon, 12 Mar 2007 11:05:57 +0000 (11:05 -0000)]
forgot to commit the changelog
svn path=/trunk/mcs/; revision=74109
Igor Zelmanovich [Mon, 12 Mar 2007 10:30:01 +0000 (10:30 -0000)]
2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
* AttributeCollection.cs:
* CssStyleCollection.cs: fixed: works w/o state bag.
2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
* Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
svn path=/trunk/mcs/; revision=74108
Igor Zelmanovich [Mon, 12 Mar 2007 10:12:43 +0000 (10:12 -0000)]
2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
* HtmlTextWriter.cs: fixed:
- Fixed writing background-image style attribute (different behavior in
1.1 and 2.0).
- Does not encode 'name' attribute.
- Always encode style attributes (for 2.0 only).
svn path=/trunk/mcs/; revision=74107
Noam Lampert [Mon, 12 Mar 2007 09:48:19 +0000 (09:48 -0000)]
builder-specific changes
svn path=/trunk/mcs/; revision=74106
Marek Habersack [Mon, 12 Mar 2007 09:31:50 +0000 (09:31 -0000)]
2007-03-12 Marek Habersack <mhabersack@novell.com>
* RootBuilder.cs: change the error text to be less misleading.
svn path=/trunk/mcs/; revision=74105
Marek Habersack [Mon, 12 Mar 2007 09:26:55 +0000 (09:26 -0000)]
2007-03-12 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs, BaseCompiler.cs: CodeAssemblies is a collection
of Assembly instances, not strings.
* CachingCompiler.cs: make sure items in the CodeAssemblies and
TopLevelAssemblies are really instances of the Assembly class
before trying to use them.
CodeAssemblies is a collection of Assembly instances, not
strings.
* AppCodeCompiler.cs: on MS.NET CodeAssemblies is a collection of
assemblies, not paths to assemblies.
svn path=/trunk/mcs/; revision=74104
Marek Habersack [Mon, 12 Mar 2007 08:45:38 +0000 (08:45 -0000)]
2007-03-12 Marek Habersack <mhabersack@novell.com>
* RolePrincipal.cs: decrypt the roles ticket properly. Makes role
caching in cookies work. Fixes bug #81117. Patch from Mike Morano
<mmorano@mikeandwan.us>
svn path=/trunk/mcs/; revision=74101
Vladimir Krasnov [Mon, 12 Mar 2007 08:34:32 +0000 (08:34 -0000)]
* ServletWorkerRequest.jvm.cs: fixed ctor, adding welcome page to aspnetconfig folder
svn path=/trunk/mcs/; revision=74100
Jackson Harper [Mon, 12 Mar 2007 07:37:49 +0000 (07:37 -0000)]
* TreeView.cs:
* TreeNode.cs:
* OpenTreeNodeEnumerator: Match MS better for IsVisible and
IsExpanded.
svn path=/trunk/mcs/; revision=74099
Konstantin Triger [Mon, 12 Mar 2007 07:30:47 +0000 (07:30 -0000)]
TARGET_J2EE: support only J2EE sessions
svn path=/trunk/mcs/; revision=74098
Jackson Harper [Mon, 12 Mar 2007 05:31:26 +0000 (05:31 -0000)]
* TextBoxBase.cs: Now that the handles are being created a
* little
later, we need to make sure that the document is recalculated
when
the handle is created.
svn path=/trunk/mcs/; revision=74097
Everaldo Canuto [Mon, 12 Mar 2007 02:17:51 +0000 (02:17 -0000)]
2007-03-11 Everaldo Canuto <everaldo@simios.org>
* LinkLabelTest.cs: LinkLabel tests added.
svn path=/trunk/mcs/; revision=74083
Everaldo Canuto [Mon, 12 Mar 2007 02:16:06 +0000 (02:16 -0000)]
2007-03-11 Everaldo Canuto <everaldo@simios.org>
* Theme.cs: GetLinkFont abstract method added.
* LinkLabel.cs:
- Remove CalcTrimRectangle, no longer needed.
- Factor also remove, position issues must be fixed in libgdiplus.
- Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
- GetPieceFont, CreateLinkFont and link_font removed, theme must be
care about font used to draw links.
- Set TabStop to true when control is "Selectable", control is selectable
when have one or more links. Fixes #80501 (test case is also added).
- Set the LinkArea values after links change, LinkArea values must be
based in first link position and size, a test case was created.
- Fix ControlStyles.Selectable value, now is based on LinkArea value,
the attribute must be true LinkArea.Length > 0. The same was applied to
TabStop.
* ThemeWin32Classic.cs:
- LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
in draw method.
- Use CPDrawStringDisabled to draw disabled text instead of hard code
color change.
- Draw focus rectangle for every parts focused, including parts that
is on another line, its because regions returns various rectangles
and not only one. Needed to mimic W32 look.
- Uses Graphics.Clip to delimite region painted, it mean that now
complete text is passed to DrawString, with this we solve layout
issues without create another text renderer.
- Uses Region.Intersect to fix some flickers problems, now only needed
parts will redrawed.
- This changes fixes #79614 and some other unreported issues, on Linux
some layout problems still remain, the problem is under
MeasureCharacterRanges but it is an libgdiplus bug.
svn path=/trunk/mcs/; revision=74082
Gert Driesen [Sun, 11 Mar 2007 17:45:14 +0000 (17:45 -0000)]
* Delegate.cs: Fixed bootstrap build.
svn path=/trunk/mcs/; revision=74073
Miguel de Icaza [Sun, 11 Mar 2007 17:10:49 +0000 (17:10 -0000)]
Fix the build
svn path=/trunk/mcs/; revision=74071
Zoltan Varga [Sun, 11 Mar 2007 16:05:44 +0000 (16:05 -0000)]
2007-03-11 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Fix box+brtrue optimization. Fixes
#81102.
* generics.2.cs: Add regression test.
svn path=/trunk/mono/; revision=74069
Zoltan Varga [Sun, 11 Mar 2007 14:26:33 +0000 (14:26 -0000)]
2007-03-11 Zoltan Varga <vargaz@gmail.com>
* ASN1Convert.cs: Fix a warning.
svn path=/trunk/mcs/; revision=74068
Zoltan Varga [Sun, 11 Mar 2007 14:24:28 +0000 (14:24 -0000)]
2007-03-11 Zoltan Varga <vargaz@gmail.com>
* UnmanagedMemoryStream.cs: Fix a warning.
svn path=/trunk/mcs/; revision=74067
Zoltan Varga [Sun, 11 Mar 2007 14:21:03 +0000 (14:21 -0000)]
2007-03-11 Zoltan Varga <vargaz@gmail.com>
* Delegate.cs: Add throwOnBindFailure overloads to CreateDelegate (). Fixes #81107.
svn path=/trunk/mcs/; revision=74066
Konstantin Triger [Sun, 11 Mar 2007 14:10:00 +0000 (14:10 -0000)]
throw on protocol version mismatch for 2.0 profile only
svn path=/trunk/mcs/; revision=74065
Konstantin Triger [Sun, 11 Mar 2007 13:31:48 +0000 (13:31 -0000)]
fix validation of the R2401 rule
svn path=/trunk/mcs/; revision=74064
Konstantin Triger [Sun, 11 Mar 2007 13:29:42 +0000 (13:29 -0000)]
make FindAll(Type) consistent with Find(Type)
svn path=/trunk/mcs/; revision=74063
Gert Driesen [Sun, 11 Mar 2007 13:02:52 +0000 (13:02 -0000)]
* TcpClient.cs: Do not initialize network stream in Connect. In
Dispose, only nullify client if network stream was not obtained.
Fixes bug #81105.
* TcpClientTest.cs: Added test for bug #81105.
svn path=/trunk/mcs/; revision=74062
Marek Safar [Sun, 11 Mar 2007 12:54:27 +0000 (12:54 -0000)]
2007-03-11 Marek Safar <marek.safar@gmail.com>
* ecore.cs, parameter.cs, typemanager.cs: Another gmcs fix to work with
any mscorlib.
svn path=/trunk/mcs/; revision=74061