version header cannot be configured. MS corrected this documenation
error in .NET 2.0 SDK.
* HttpRuntimeConfig.cs: Added support for several undocumented options,
and removed support for options that are not supported or 2.0 only.
* HttpRuntimeConfigurationHandler.cs: Added support for several
undocumented options, and removed support for options that are not
support or 2.0 only.
svn path=/trunk/mcs/; revision=115553
* HttpResponseHeader.cs: encode header values if
httpRuntime.enableHeaderChecking is true (default). Fixes bug
#418620
2008-08-20 Marek Habersack <[email protected]>
* HttpRuntimeConfig.cs: implemented the undocumented (but
supported in .NET 1.1) option EnableHeaderChecking to support fix
for bug #416620
svn path=/trunk/mcs/; revision=111122
* WebConfigurationSettings.cs: if path mapping fails in
GetConfigFromFileName, fall back to the application's physical
directory.
2008-04-29 Marek Habersack <[email protected]>
* HttpException.cs: safe guard against context being null in
GetHtmlErrorMessage.
2008-04-29 Marek Habersack <[email protected]>
* WebServiceCompiler.cs: if compiling a body-less web service, try
to load the class type from the loaded assemblies before
attempting to find it in the assemblies on disk.
svn path=/trunk/mcs/; revision=102127
* NunitWebResources/adapters.browser,
NunitWebResources/TestCapability.browser: modified to work and
support tests of browser defs in
etc/mono/2.0/Browsers/Compat.browser.
++ class/System.Web/Test/System.Web/ChangeLog (working copy)
* AppBrowsersTest.cs: added tests to ensure browscap.ini
etc/mono/2.0/Browsers/Compat.browser are being used when there
are App_Browser/*.browser files.
++ class/System.Web/Test/System.Web.UI/ChangeLog (working copy)
* PageTest.cs: added tests to ensure that using a
ControlAdapter that is not of the type corresponding to the
control doesn't cause a cast error.
++ class/System.Web/Test/System.Web.UI.WebControls/ChangeLog (working copy)
* DataBoundControlTest.cs, HierarchicalDataBoundControlTest.cs,
WebControlTest.cs: added tests to ensure that using a
ControlAdapter that is not of the type corresponding to the
control doesn't cause a cast error.
++ class/System.Web/System.Web/ChangeLog (working copy)
* HttpApplicationFactory.cs (CapabilitiesProcessor): changed to
use etc/mono/2.0/Browser/*.browser files in addition to
~/App_Browsers/*.browser files.
++ class/System.Web/System.Web.UI/ChangeLog (working copy)
* Page.cs (PageAdapter): fixed cast error when a ControlAdapter that
wasn't a PageAdapter was used.
++ class/System.Web/System.Web.Configuration_2.0/ChangeLog (working copy)
* CapabilitiesBuild.cs (Process), ICapabilitiesProcess.cs (Process),
nBrowser/Build.cs (Process): Added initialCapabilities argument to
facilitate using browscap.ini capabilities.
* CapabilitiesResult.cs (ctor), nBrowserResult.cs (ctor): Change
items arg to IDictionary to facilitate using browscap.ini capabilities.
* nBrowser/Node.cs (Reset): Removed code which checked prohibited
non-alphanumerics in id attributes because .NET is not that strict.
* nBrowser/Node.cs (MergeFrom): Fixed NullReferenceExceptions that
occurred when the source or destination node did not have any
capabilities or adapters.
* nBrowser/Result.cs (AddAdapter): Fixed to allow types in other
assemblies.
++ class/System.Web/System.Web.UI.WebControls/ChangeLog (working copy)
* DataBoundControl.cs (InternalPerformDataBinding),
HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
WebControl.cs (Render): fixed cast errors when a ControlAdapter
that wasn't of the type corresponding to the control was used.
++ class/System.Web/System.Web.Configuration/ChangeLog (working copy)
* HttpCapabilitiesBase.cs (GetConfigCapabilities): changed to use
browscap.ini for default capabilities when *.browser files are
present, so we don't need to maintain browser capabilities in two
places.
svn path=/trunk/mcs/; revision=100150
* add new resources:
PageWithAdapter.aspx for PageTest and PageAdapterTest.
TestCapability.browser for AppBrowsersTest.
* NunitWebResources/adapters.browser,
NunitWebResources/AppBrowsersTest.browser: modified to support
testing reference nodes with captures, and adapters.
* NunitWeb/NunitWeb/WebTest.cs: ensure that, during AppDomain
unload, no new requests are sent to the app host and any
pending requests are completed before the the unload occurs.
Also added WebTest.AppUnloaded event that tests can use to wait
for the app to unload (e.g. after touching Global.asax), and
WebTest.CleanApp() which can be called to restart the app with
the a skeleton directory structure. Tests which add files that
could effect other tests (e.g. App_Browsers/*.browser files) should
call WebTest.CleanApp() during TearDown to return the app to a
pristine environment.
++ Test/mainsoft/MainsoftWebTest/ChangeLog (working copy)
* HtmlAgilityPack/AssemblyInfo.cs: made assembly delay signed so that
tests can access System.Web internals now that System.Web is
InternalsVisibleTo this assembly.
++ Test/System.Web/ChangeLog (working copy)
* AppBrowsersTest.cs: added. Includes tests for Control.Adapter,
Control.ResolveAdapter, Control.TagWriter, and
Control.CreateHtmlTextWriter, when using App_Browsers/*.browser files.
AppBrowsersTest is currently tagged [Ignore], pending a fix for
bug #351878.
* HttpRuntimeTest.cs: added. Includes test for
HttpRuntime.UnloadAppDomain(). Marked [Ignore], pending a fix for
bug #351878.
++ Test/System.Web.UI.Adapters/ChangeLog (revision 0)
* PageAdapterTest.cs: added tests for PageAdapter.
* ControlAdapterTest.cs (ConfigCapabilitiesNotCalled): added test to
ensure that HttpCapabilitiesBase.ConfigCapabilities() is not called
during normal page processing if no files are in App_Browsers.
* ControlAdapterTest.cs: added tests for ControlAdapter.
++ Test/System.Web.UI/ChangeLog (working copy)
* PageTest.cs: add tests for using a PageAdapter.
* ControlTest.cs: moved commented out ResolveAdapter_1 test to
../System.Web/AppBrowsersTest.cs. Fixed typo in test name.
Added Customcontroladapter.Adapter property for use by AppBrowsersTest.
++ Test/System.Web.UI.WebControls.Adapters/ChangeLog (revision 0)
* MenuAdapterTest.cs: added
* WebControlAdapterTest.cs, HierarchicalDataBoundControlAdapterTest.cs,
DataBoundControlAdapterTest.cs, HideDisabledControlAdapterTest.cs: added
++ Test/System.Web.UI.WebControls/ChangeLog (working copy)
* MenuTest.cs (Menu_RenderStaticItems): added tests to check that
result was the same when using the base MenuAdapter as when using
no adapter.
* MenuTest.cs (Menu_RenderStaticItemsWithAdapter): added test
to ensure that MenuAdapter.RenderItem() is called.
* HierarchicalDataBoundControlTest.cs, WebControlTest.cs,
DataBoundControlTest.cs: added test for use of ControlAdapters
when present.
* WebControl.cs: added test for IsEnabled.
++ System.Web/ChangeLog (working copy)
* HttpApplicationFactory.cs: Added support for detecting
App_Browsers/*.browser files and using them to determine capabilities.
Also restart the app if the App_Browsers, App_Code, or App_GlobalResources
directories are created.
* BrowserCapabilities.cs (TagWriter): get value via internal virtual
GetTagWriter() method, which is overridden in nBrowser.Result.
* HttpRequest.cs (BrowserMightHaveSpecialWriter, BrowserMightHaveAdapters):
internal properties added to allow Page and Control methods to avoid
accessing Request.Browser to get browser-specific HtmlTextWriters or
ControlAdapters. Those things only exist when there are App_Browsers
files.
++ System.Web.UI.Adapters/ChangeLog (working copy)
* ControlAdapter.cs: made control field internal so
derived internal classes can access it without using base.Control
which can involved several typecasts.
* PageAdapter.cs: implemented all members.
* ControlAdapter.cs: implemented all members.
* PageAdapter.cs, ControlAdapter.cs: add MonoTODO's.
++ System.Web.UI/ChangeLog (working copy)
* Page.cs (SavePageControlState, LoadPageControlState): save/load
adapter state in 2.0 profile.
* Page.cs (CreateHtmlTextWriter): call Browser.CreateHtmlTextWriter()
in 2.0 profile.
* Page.cs (RenderPage): call CreateHtmlTextWriter() to get the writer
in 2.0 profile.
* Page.cs (DeterminePostBackMode, InitOutputCache,
RenderClientScriptFormDeclaration, InternalProcessRequest,
PageStatePersister): added support for PageAdapters.
* Control.cs (Adapter, ResolveAdapter): implemented. Adapter calls
ResolveAdapter and remembers result. ResolveAdapter checks for adapters
of the Type hierarchy until it finds one.
* Control.cs (SaveViewStateRecursive, LoadViewStateRecursive): save/load
adapter state in 2.0 profile.
* HtmlTextWriter.cs (BeginRender, EndRender): added empty virtual methods
required by 2.0 profile. These are called by corresponding methods of
System.Web.UI.Adapters.ControlAdapter.
* Page.cs, Control.cs: don't access Request.Browser if it couldn't have
any adapters/writers because there are no files in App_Browsers/.
++ Assembly/ChangeLog (working copy)
* AssemblyInfo.cs: made InternalsVisibleTo System.Web.test_net_2_0.dll
to support ControlAdapterTest.ConfigCapabilitiesNotCalled().
++ ChangeLog (working copy)
* System.Web_test.dll.sources: added
System.Web.UI.WebControls.Adapters/MenuAdapterTest.cs
System.Web.UI.WebControls.Adapters/WebControlAdapterTest.cs
System.Web.UI.WebControls.Adapters/HierarchicalDataBoundControlAdapterTest.cs
System.Web.UI.WebControls.Adapters/DataBoundControlAdapterTest.cs
System.Web.UI.WebControls.Adapters/HideDisabledControlAdapterTest.cs
System.Web.UI.Adapters/PageAdapterTest.cs
System.Web.UI.Adapters/ControlAdapterTest.cs
* Makefile (RESOURCE_FILES_2): added
System.Web.Configuration_2.0/RandomRoboBotKeywords.txt
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/PageWithAdapter.aspx
* System.Web.dll.sources: added
System.Web.Configuration_2.0/CapabilitiesBuild.cs
System.Web.Configuration_2.0/CapabilitiesChecksum.cs
System.Web.Configuration_2.0/CapabilitiesResult.cs
System.Web.Configuration_2.0/ICapabilitiesProcess.cs
System.Web.Configuration_2.0/nBrowser/Result.cs
System.Web.Configuration_2.0/nBrowser/NodeTypes.cs
System.Web.Configuration_2.0/nBrowser/Identification.cs
System.Web.Configuration_2.0/nBrowser/File.cs
System.Web.Configuration_2.0/nBrowser/Build.cs
System.Web.Configuration_2.0/nBrowser/Node.cs
System.Web.Configuration_2.0/nBrowser/Exception.cs
++ System.Web.UI.WebControls.Adapters/ChangeLog (working copy)
* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
DataBoundControlAdapter.cs: changed to use ControlAdapter.control
instead of using base.Control or using a new control field.
* MenuAdapter.cs: added internal constructor that takes a Menu
parameter. The constructor is used when writing unit tests.
* MenuAdapter.cs (OnInit, OnPreRender, RenderBeginTag,
RenderContents, RenderEndTag): delegate to base instead of
Control.
* MenuAdapter.cs (LoadAdapterControlState, SaveAdapterControlState,
RaisePostBackEvent, RenderItem): implemented.
* WebControlAdapter.cs (RenderContents): changed to call
control.RenderContents() instead of control.Render().
* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
DataBoundControlAdapter.cs, HideDisabledControlAdapter.cs: added
internal constructor that takes a parameter of the corresponding
Control type. The construct is used when writing unit tests.
++ System.Web.Configuration_2.0/ChangeLog (working copy)
* nBrowser/Result.cs, nBrowser/NodeTypes.cs, nBrowser/Identification.cs,
nBrowser/File.cs, nBrowser/Build.cs, nBrowser/Node.cs,
nBrowser/Exception.cs: added. The code under nBrowser handles *.browser
files. It is based on Owen "Ocean" Brady's code, with the following
changes and improvements. Replaced Result.Adapter
property with AdapterTypeMap property which maps control Type to adapter
Type. Added Result.MarkupTextWriter property. Added overrides for
Result.GetAdapters and Result.GetTagWriter to return MarkupTextWriter
and AdapterTypeMap, resp. Changed tree building algorithm to not
depend on nodes with id="Default" and to inject defaultBrowser nodes
as parents of regular nodes with the same ids. Changed Node.cs to use
Item instead of Add when adding a capability or sample header, so that
values get replaced instead of appended. Added support for reference
nodes (ie. nodes with refID="someID").
* CapabilitiesResult.cs: load RandomRoboBotKeywords.txt resource
using the correct name.
* RandomRoboBotKeywords.txt: added
* HttpCapabilitiesBase.cs (CreateHtmlWriter, Adapters): Added
support for *.browsers. Adapters property calls internal virtual
GetAdapters() method which is overrided in nBrowser.Result
returned by nBrowser code. CreateHtmlWriter uses type specified
by TagWriter property.
++ System.Web.UI.WebControls/ChangeLog (working copy)
* DetailsView.cs, ListControl.cs, DataBoundControl.cs,
FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
added support for using ControlAdapters when present.
* WebControl.cs: fixed implementation of IsEnabled to match
documentation.
* Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
calls back to new Menu.RenderItem() internal method which calls
RenderMenuItem() with the appropriate parameters.
++ System.Web.Configuration/ChangeLog (working copy)
* HttpCapabilitiesBase.cs: changed to use nBrowser for *.browser
support. Also added internal GetConfigCapabilities_called
flag used by ControlAdapterTest.ConfigCapabilitiesNotCalled() to
test that GetConfigCapabilities() is not called during normal page
processing when there are no files in App_Browsers/.
svn path=/trunk/mcs/; revision=97824
* HandlerFactoryConfiguration.cs: ignore case when matching
handler paths.
2008-02-28 Marek Habersack <[email protected]>
* HttpHandlerAction.cs: ignore case when matching handler
paths. Fixes bug #364995
2008-02-28 Marek Habersack <[email protected]>
* TemplateControlParser.cs: when registering a control, check for
the .ascx extension case-insensitively. Fixes bug #364995
svn path=/trunk/mcs/; revision=96870
* TemplateControlCompiler.cs, AspComponentFoundry.cs,
AssemblyBuilder.cs, AppResourcesCompiler.cs,
AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
2007-12-13 Marek Habersack <[email protected]>
* MailAddress.cs, SmtpClient.cs, MailMessageWrapper.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
2007-12-13 Marek Habersack <[email protected]>
* HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
speed optimization - use String.Concat instead of String.Format in
some cases.
2007-12-13 Marek Habersack <[email protected]>
* FileMatchingInfo.cs. MachineKeyRegistryStorage.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
svn path=/trunk/mcs/; revision=91234
* HandlerFactoryConfiguration.cs: FileMatchingInfo array must be
created anew on each request (before the result is cached). Fixes
bug #335669.
svn path=/trunk/mcs/; revision=89812
* FileMatchingInfo.cs: if Request is present, construct MatchExact
using Request.BaseVirtualDir instead of
HttpRuntime.AppDomainAppVirtualPath, falling back to the latter if
the former is not available. Fixes bug #341703
svn path=/trunk/mcs/; revision=89631
* HttpApplication.cs: introduced HTTP handler cache to save time
on repetitive handler collection traversals. On busy sites the
traversal of the default 26 handlers may account for thousands of
unnecessary calls to configsystem.LocateHandler method, which may
also involve executing a regex. The cache is cleared whenever the
HTTP handler collection is modified.
2007-11-02 Marek Habersack <[email protected]>
* HttpHandlerActionCollection.cs: clear http handler cache in
HttpApplication if the collection is modified.
2007-11-02 Marek Habersack <[email protected]>
* HandlerFactoryConfiguration.cs: clear the HttpApplication HTTP
handler cache whenever the collection is modified.
svn path=/trunk/mcs/; revision=88716
* FileMatchingInfo.cs: MatchExact should be constructed using the
current application virtual path, not literal "/".
svn path=/trunk/mcs/; revision=88714
* HttpHandlerAction.cs: exact path matching must be done on the
original string in PathMatches, not on the sliced one. Fixes bug
#335669.
2007-10-24 Marek Habersack <[email protected]>
* HandlerFactoryConfiguration.cs: exact path matching must be done
on the original string in PathMatches, not on the sliced one.
* FileMatchingInfo.cs: refactoring - this code used to live in
both 1.1 and 2.0 profiles. At the same time, fixe the way
MatchExact is created - the slash is prepended only if the path
doesn't begin with it.
2007-10-24 Marek Habersack <[email protected]>
* System.Web.dll.sources: added
System.Web.Configuration/FileMatchingInfo.cs
svn path=/trunk/mcs/; revision=88121
* HttpModulesSection.cs: use HttpApplication.LoadType when loading
modules, to include both the bin/ directory and the top-level
assemblies in search. Fixes bug #333686.
2007-10-15 Marek Habersack <[email protected]>
* ModulesConfiguration.cs: load modules using
HttpApplication.LoadType to include the bin/ directory in search.
svn path=/trunk/mcs/; revision=87486
* System.Web.dll.sources: added MachineKeyRegistryStorage.cs
2007-08-30 Marek Habersack <[email protected]>
* MachineKeySection.cs: retrieve the keys from the registry before
falling back to the old method. Fixes bug #76606
2007-08-30 Marek Habersack <[email protected]>
* MachineKeyRegistryStorage.cs: added
svn path=/trunk/mcs/; revision=85063
2007-08-23 Robert Jordan <[email protected]>
* WebConfigurationSettings.cs: Move RemotingConfiguration to
System.Runtime.Remoting.Channels.Http/HttpRemotingHandlerFactory.cs.
Fixes#19384.
In System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http:
2007-08-23 Robert Jordan <[email protected]>
* HttpRemotingHandlerFactory.cs: configure Remoting because
System.Web doesn't anymore. Fixes#81831.
svn path=/trunk/mcs/; revision=84681
* PagesConfiguration.cs: Use enum for EnableSessionState.
* PagesEnableSessionState.cs: Marked internal on 1.0 profile.
* PageParser.cs: Replace enableSessionState and readOnlySessionState
bools with enum backed field. Move 1.0 profile code for checking value
of EnableSessionState pages config to PagesConfigurationHandler.
Fixes bug #82392 for 1.0 profile.
svn path=/trunk/mcs/; revision=83810
* SessionDictionary.cs: do not use lock (this), replace it
with lock (this_object), where this_object is an instance
variable. Prevents deadlocks in situation when external code locks
on the class instance.
2007-08-08 Marek Habersack <[email protected]>
* WebConfigurationSettings.cs: do not use lock (this), replace it
with lock (this_object), where this_object is an instance
variable. Prevents deadlocks in situation when external code locks
on the class instance.
2007-08-08 Marek Habersack <[email protected]>
* StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
TimeoutManager.cs: do not use lock (this), replace it with lock
(this_object), where this_object is an instance variable. Prevents
deadlocks in situation when external code locks on the class
instance.
svn path=/trunk/mcs/; revision=83648
* HttpCapabilitiesBase.cs: move the User-Agent code to a separate
internal method.
2007-05-01 Marek Habersack <[email protected]>
* HtmlForm.cs: do not use User-Agent directly, we must take
ClientTarget into account.
2007-05-01 Marek Habersack <[email protected]>
* BaseValidator.cs: do not use User-Agent directly, we must take
ClientTarget into account.
2007-05-01 Marek Habersack <[email protected]>
* PageParser.cs: clientTarget comparisons must be case-insensitive
svn path=/trunk/mcs/; revision=76522
* CacheDependency.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
2007-04-10 Marek Habersack <[email protected]>
* XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
* HttpApplicationFactory.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
App_Code, App_Browsers and App_GlobalResources watchers must watch
for events with the '*' mask so that they can notice events
related to subdirectory creation/deletion.
Watch for subdirectory events with the App_Code watcher.
2007-04-10 Marek Habersack <[email protected]>
* WebConfigurationSettings.cs: add NotifyFilter.Size to the
watcher notification filter to enable file modification events
with Linux inotify.
svn path=/trunk/mcs/; revision=75568
* BrowserCapabilities.cs: Added implementation for all capabilities.
changed implementation to throw when capability is not defined in browscaps.ini.
* CapabilitiesLoader.cs: fixed parent resultion bug. added internal support for
browser and browsers capabilities.
2007-03-22 Adar Wesley <[email protected]>
* HttpCapabilitiesBase.cs: implemented all capabilities. Capabilities
still throw if there is no value in browscaps.ini and the property is called.
2007-03-22 Adar Wesley <[email protected]>
* HttpCapabilitiesBase.cs: support for implementation of new
capabilities.
svn path=/trunk/mcs/; revision=74819
* WebConfigurationSettings.cs: another fix to the
GetConfigFromFileName logic - the passed "filepath" must not end
with a slash when called recursively, or it will lead to endless
recursion.
svn path=/trunk/mcs/; revision=74578
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.
* StaticFileHandler.cs (ProcessRequest): remove unused variable.
* HttpApplication.cs (ProcessError): Remove unused variable.
2007-01-20 Miguel de Icaza <[email protected]>
* ClientBuildManager.cs: Remove unused variable (this could be a
real problem, we never use the appPhysicalTargetDir)
* AssemblyBuilder.cs: Remove unused field.
* AppResourceFilesCollection.cs: Remove unused field.
* TemplateControlCompiler.cs (GetExpressionFromString): Remove
unused variable.
* AppResourcesCompiler.cs: Remove unused variable.
* AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
parameter.
* PageCompiler.cs: Put InternalCreatePageProperty inside the
NET_2_0 block to eliminate warnings.
2007-01-20 Miguel de Icaza <[email protected]>
* HandlerFactoryConfiguration.cs (LoadType): remove unused
variable.
(ctor): do not assign parent, we do not use it, keep the code for
reference.
2007-01-20 Miguel de Icaza <[email protected]>
* ApplicationManager.cs: Remove unused variable.
(ShutdownAll) remove unused variables.
* ApplicationHost.cs: Protect create_dir lock
2007-01-20 Miguel de Icaza <[email protected]>
* SqlRoleProvider.cs: comment out unused code.
* SqlMembershipProvider.cs: Removed unused variables.
Remove unused variable.
* AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
remove unused variable. This might be a real bug.
2007-01-20 Miguel de Icaza <[email protected]>
* SessionStateModule.cs: Removed unused variables.
2007-01-20 Miguel de Icaza <[email protected]>
* SessionDictionary.cs: Removed unused variable (dirty).
2007-01-20 Miguel de Icaza <[email protected]>
* XhtmlTextWriter.cs: comment out unused code.
* ThemeProvider.cs: comment out unused code.
* DataSourceView.cs: Comment unused variable.
* ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
code
* Control.cs: Put _templateControl inside the NET_2_0 ifdef
2007-01-20 Miguel de Icaza <[email protected]>
* HtmlHead.cs: comment out unused code, in particular metadata is
commented out because nothing could have triggered its creation.
* HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
2007-01-20 Miguel de Icaza <[email protected]>
* DataControlFieldCollection.cs (RemoveAt): remove unused
variable.
* RoleGroupCollection.cs (OnValidate): Flag as protected, as it
should not show up.
* RadioButton.cs (RaisePostDataChangedEvent): This method was not
used in 1.0, so put the whole method in 2.0
2007-01-20 Miguel de Icaza <[email protected]>
* WebPart.cs: Remove
* PersonalizableAttribute.cs: Remove extra API that was wrong as well.
2006-11-28 Miguel de Icaza <[email protected]>
* WebPart.cs:
2007-01-20 Miguel de Icaza <[email protected]>
* FileUtils.cs (CreateTemporaryFile): Remove unused variable.
svn path=/trunk/mcs/; revision=71399
* System.Web/TempFileStream.cs: a FileStream that removes the file once
it is disposed.
* System.Web/HttpRequest.cs: support for writing request data to on-disk
files if the request is longer than the threshold specified in the
configuration files. In mono this will work for 1.x and 2.0, while with
MS this only works for 2.0.
* System.Web.dll.sources: add TempFileStream.cs
* System.Web.Configuration/HttpRuntimeConfigurationHandler.cs: removed
a bunch of useless stuff for 1.x.
svn path=/trunk/mcs/; revision=58170
* System.Web.Configuration_2.0/Compiler.cs:
* System.Web.Configuration_2.0/CompilerCollection.cs: removed
compatibility code.
* System.Web.Configuration_2.0/BuildProviderCollection.cs: add
GetProviderForExtension().
* System.Web.UI/IThemeResolutionService.cs: this is now added to the
sources file, but some other stuff does not compile yet as the
interface changed after the beta.
* System.Web.UI/ObjectConverter.cs: removed extra attribute.
* System.Web.UI/ObjectStateFormatter.cs: add IStateFormatter for 2.0.
* System.Web.UI/ICallbackEventHandler.cs: update the interface, but
commented the 'good' stuff out, since other files need to be fixed
too.
* System.Web.dll.sources: add new files.
* System.Web.Configuration/CompilationConfiguration.cs:
* System.Web.Configuration/CompilationConfigurationHandler.cs: only
compile these for pre-2.0 assemblies.
* System.Web.Hosting/DefaultVirtualPathProvider.cs: add some
comments/TODO.
* System.Web.Hosting/HostingEnvironment.cs: initialize the
default value for VirtualPathProvider.
* System.Web.Compilation/CompilerType.cs: implemented.
* System.Web.Compilation/AssemblyBuilder.cs: implemented most of it.
* System.Web.Compilation/WebServiceCompiler.cs:
* System.Web.Compilation/CachingCompiler.cs: update 2.0 compiler
instance creation code.
* System.Web.Compilation/ClientBuildManager.cs: implemented some of
its methods. Not yet ready.
* System.Web.Compilation/BuildManager.cs: the more interesting methods
are implemented now.
* System.Web.Compilation/BaseCompiler.cs: delete the temporary files
in case of error.
* System.Web.Compilation/BuildProvider.cs: implemented the
Get*Compiler* protected methods.
svn path=/trunk/mcs/; revision=56781
* WebConfigurationSettings.cs: patch by Cyrille Colin that sets the
right application path even when MapPath fails. Closes bug #77044.
svn path=/trunk/mcs/; revision=54716
* HttpHandlersSectionHandler.cs:
* HandlerFactoryConfiguration.cs: we need to use a copy of the parent
mappings, otherwise we may remove mappings from the parent. Fix a typo
when removing the item from the collection. Now LocateHandler searches
first for this configuration mappings and then for the parent ones.
Fixes (truly) bug #76842.
svn path=/trunk/mcs/; revision=53839
* HandlerFactoryConfiguration.cs: my previous patch broke the
* order in which handlers are searched. This one fixes that,
* while not breaking bug 76842 again.
svn path=/trunk/mcs/; revision=53743
* WebConfigurationSettings.cs (ReadSectionGroup): some
CONFIGURATION_2_0 work.
* CompilationConfigurationHandler.cs (ReadCompilers): change the
NET_2_0 to CONFIGURATION_2_0.
* CompilerCollection.cs: more ugly hacks for the
2.0-without-config-2.0 case. wrap this in #if !CONFIGURATION_2_0
and make it public in the NET_2_0 case (so it can be used to keep
the config 2.0 stuff building).
* Compiler.cs: same.
* CompilationConfiguration.cs (Init): change the #if NET_2_0 to
#if CONFIGURATION_2_0.
svn path=/trunk/mcs/; revision=53737
* HandlerFactoryConfiguration.cs: copy the parents' mappings
into the new one to allow for removing without affecting the
parent configuration mappings. Fixes bug #76842.
svn path=/trunk/mcs/; revision=53610
* CompilationConfigurationHandler.cs (ReadCompilers): call
CompilerCollection.Add in the 2.0 case, as it doesn't expose a
setter indexer.
* CompilationConfiguration.cs: need this to keep things compiling,
even though CompilationConfiguration doesn't need to be used in
the 2.0 case.
svn path=/trunk/mcs/; revision=53268