Commit Graph
361 Commits
Author SHA1 Message Date
Marek Habersack b7c1796077 2010-04-28 Marek Habersack <[email protected]>
* Makefile (OTHER_LIB_MCS_FLAGS): added a reference to
	System.Web.ApplicationServices in the 4.0 profile.

2010-04-28  Marek Habersack  <[email protected]>

	* KeyedList.cs: do not implement IStateManager in 4.0

2010-04-28  Marek Habersack  <[email protected]>

	* Makefile (OTHER_LIB_MCS_FLAGS): added a reference to
	System.Web.ApplicationServices in the 4.0 profile.

2010-04-28  Marek Habersack  <[email protected]>

	* Makefile (LIB_MCS_FLAGS): added a reference to
	System.Web.ApplicationServices in the 4.0 profile.

2010-04-28  Marek Habersack  <[email protected]>

	* Makefile (OTHER_LIB_MCS_FLAGS): added a reference to
	System.Web.ApplicationServices in the 4.0 profile.

2010-04-28  Marek Habersack  <[email protected]>

	* Makefile (common_dirs): added System.Web.ApplicationServices

2010-04-28  Marek Habersack  <[email protected]>

	* RolePrincipal.cs: class is not sealed in 4.0

	* MembershipUser.cs: type forwarded to
	System.Web.ApplicationServices in 4.0.
	In the 4.0 profile, a MembershipHelper instance is created using
	reflection, so that the Membership class and password
	encryption/decryption services can be accessed without referencing
	System.Web

	* MembershipProvider.cs: type forwarded to
	System.Web.ApplicationServices in 4.0.
	{Encrypt,Decrypt}Password implementations moved to
	MembershipHelper.
	Added new EncryptPassword overload for 4.0

	* MembershipHelper.cs: a helper class to handle password
	encryption/decryption and to forward requests for certain
	Membership properties in 4.0. It is used also in 2.0 to keep code
	cleaner. System.Web.ApplicationServices uses it to access the
	Membership class without having to reference System.Web

	* MembershipCreateStatus.cs, MembershipCreateUserException.cs,
	MembershipPasswordException.cs, MembershipPasswordFormat.cs,
	MembershipProviderCollection.cs, MembershipUserCollection.cs,
	MembershipValidatePasswordEventHandler.cs, RoleProvider.cs,
	ValidatePasswordEventArgs.cs:
	types forwarded to System.Web.ApplicationServices in 4.0

	* FormsIdentity.cs: class is not sealed in 4.0

svn path=/trunk/mcs/; revision=156264
2010-04-27 22:49:20 +00:00
Marek Habersack ad322714f6 2010-04-07 Marek Habersack <[email protected]>
* Control.cs: control cache must be filled using the local
	_controls collection instead of the virtual Controls
	property. Fixes bug #594238
	Check if _controls isn't null before using it.

2010-04-07  Marek Habersack  <[email protected]>

	* ControlTest.cs: added test for bug #594238

2010-04-07  Marek Habersack  <[email protected]>

	* Makefile: moved App_* test resources to separate variables -
	whatever is contained in those variables is preprocessed before
	embedding as resource to include appropriate resource name prefix
	(App_Code/, App_GlobalResources/ for now). This is used in WebTest
	to automatically populate the relevant directories when running
	the test suite.

2010-04-07  Marek Habersack  <[email protected]>

	* WebTest.cs: introduced concept of prefixed resources and added
	an API which handles them - CopyPrefixedResources. All the
	manifest resource names are checked for match with the given
	prefix, and all the matching ones are copied to the specified
	subdirectory of the test directory.

svn path=/trunk/mcs/; revision=154948
2010-04-07 13:14:11 +00:00
Marek Habersack d63508e6c0 2010-02-18 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/CheckBoxList_Bug377703_1.aspx,
	Test/mainsoft/NunitWebResources/CheckBoxList_Bug377703_2.aspx and
	Test/mainsoft/NunitWebResources/CheckBoxList_Bug578770.aspx

2010-02-18  Marek Habersack  <[email protected]>

	* CheckBoxListTest.cs: added tests for bugs #377703 and #578770

	* TreeViewTest.cs: added test for bug #580692

svn path=/trunk/mcs/; revision=152025
2010-02-18 21:48:35 +00:00
Marek Habersack 9f27044115 2010-02-12 Marek Habersack <[email protected]>
* Makefile (EXTRA_DISTFILES): ignore .svn directories

svn path=/trunk/mcs/; revision=151670
2010-02-12 21:57:10 +00:00
Marek Habersack c4a76e1dd9 2010-02-11 Marek Habersack <[email protected]>
* AppResourcesCompiler.cs: explicitly dispose all the streams and
	readers+writers in CompileResource.

2010-02-11  Marek Habersack  <[email protected]>

	* Web.config, Web.mono.config: added test role manager
	definition.

2010-02-11  Marek Habersack  <[email protected]>

	* RolesTest.cs: added a test for IsUserInRole. Patch from Tiaan
	Geldenhuys <[email protected]>, thanks!

2010-02-11  Marek Habersack  <[email protected]>

	* Roles.cs: IsUserInRole checks if username is null or empty
	before attempting to use it. Patch from Tiaan Geldenhuys
	<[email protected]>. thanks!

2010-02-11  Marek Habersack  <[email protected]>

	* System.Web_test.dll.sources: added
	mainsoft/NunitWeb/NunitWeb/TestRoleProvider.cs

2010-02-11  Marek Habersack  <[email protected]>

	* WebTest.cs: test environment setup enhancements. Contributed by
	Tiaan Geldenhuys <[email protected]>, thanks!

	* TestRoleProvider.cs: added. Contributed by Tiaan Geldenhuys
	<[email protected]>, thanks!

svn path=/trunk/mcs/; revision=151519
2010-02-11 14:15:55 +00:00
Marek Habersack d08769539a 2010-01-19 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/App_GlobalResources/Resource1.resx
	and
	Test/mainsoft/NunitWebResources/TagWithExpressionWithinAttribute.aspx

2010-01-19  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs: added test for bug #568631

2010-01-19  Marek Habersack  <[email protected]>

	* AspGenerator.cs: modified the runatServer regex to correctly
	match embedded server tags which end in a sequence like: "%>"/>
	Fixes bug #568631

svn path=/trunk/mcs/; revision=149855
2010-01-19 22:36:10 +00:00
Marek Habersack 079990272c 2010-01-15 Marek Habersack <[email protected]>
* ChangePassword.cs: BaseChangePasswordContainer forwards
	EnsureChildControls call to its owner, so that finding controls in
	the container works correctly.

2010-01-15  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/ChangePasswordContainer_FindControl.aspx

2010-01-15  Marek Habersack  <[email protected]>

	* ChangePasswordTest.cs: added test for looking for controls in
	ChangePassword template containers.

svn path=/trunk/mcs/; revision=149631
2010-01-15 13:23:54 +00:00
Marek Habersack 7804364216 2010-01-14 Marek Habersack <[email protected]>
* Helpers.cs, ITestCase.cs, ITestRunner.cs, StandaloneTest.cs,
	TestCallback.cs, TestCaseAttribute.cs,
	TestCaseFailureException.cs, TestRunItem.cs, TestRunner.cs,
	TestWorkerRequest.cs: added

2010-01-14  Marek Habersack  <[email protected]>

	* System.Web_standalone_test.dll.sources,
	standalone-runner-support.dll.sources: added

	* Makefile: Added targets to build and run standalone tests.
	Added standalone tests and test tools to EXTRA_DISTFILES

2010-01-14  Marek Habersack  <[email protected]>

	* Consts.cs.in, Locations.cs: added

2010-01-14  Marek Habersack  <[email protected]>

	* standalone-runner.cs: added

	* Makefile: added build targets for standalone-runner.exe

2010-01-14  Marek Habersack  <[email protected]>

	* NunitWebTest.cs: added new overload of GetControlFromPageHtml
	which takes begin and end markers as parameters.

2010-01-14  Marek Habersack  <[email protected]>

	* ApplicationManager.cs: implemented a missing CreateObject
	overload

2010-01-14  Marek Habersack  <[email protected]>

	* executable.make, library.make, rules.make: quote file name
	wherever referenced in dist* targets, so that files with spaces in
	name work fine.

svn path=/trunk/mcs/; revision=149522
2010-01-14 01:15:01 +00:00
Marek Habersack 4e55bac694 2009-12-18 Marek Habersack <[email protected]>
* ObjectStateFormatter.cs: ObjectFormatter.WriteObject checks
	whether candidate converter can convert from string now. Fixes bug
	#565547

2009-12-18  Marek Habersack  <[email protected]>

	* System.Web_test.dll.sources: added
	mainsoft/NunitWeb/NunitWeb/Tests/Author.cs
	mainsoft/NunitWeb/NunitWeb/Tests/AuthorConverter.cs
	mainsoft/NunitWeb/NunitWeb/Tests/Book.cs
	mainsoft/NunitWeb/NunitWeb/Tests/BookType.cs

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/StateFormatter_CorrectConverter.aspx
	Test/mainsoft/NunitWebResources/StateFormatter_CollectionConverter.aspx
	Test/mainsoft/NunitWebResources/StateFormatter_CollectionConverter.aspx.cs

2009-12-18  Marek Habersack  <[email protected]>

	* ObjectStateFormatterTest.cs: added.

svn path=/trunk/mcs/; revision=148743
2009-12-18 11:07:34 +00:00
Marek Habersack 3190bde9ae 2009-12-14 Marek Habersack <[email protected]>
* AspParser.cs: PlainText should calculate the boundaries of
	text using character offset, not line offset. Fixes bug #562286
	InternalLineOffset and Internal properties need not exist.

	* AspGenerator.cs: AspParser inner parser constructor takes 5
	parameters now - accepts character offset of the current outer
	parser's position.

2009-12-14  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/NestedParserFileText.aspx

svn path=/trunk/mcs/; revision=148378
2009-12-14 13:05:01 +00:00
Marek Habersack e384ddcd0d 2009-11-13 Marek Habersack <[email protected]>
* TableRowCollection.cs: added .NET compatibility NREX throws to
	several methods.
	Whenever a row is added/removed, its Container property is
	set. Fixes bug #551666

	* TableRow.cs: introduced an internal property, Container, which
	is set by TableRowCollection whenever this row is added/removed
	to/from the collection. This allows the row to notify the
	collectio and, in consequence, collection owner that TableSection
	has been set and thead/tbody/tfoot elements need to be
	generated. Fixes bug #551666

2009-11-13  Marek Habersack  <[email protected]>

	* GridViewTest.cs: added test for bug #551666

2009-11-13  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/TableSections_Bug551666.aspx
	Test/mainsoft/NunitWebResources/TableSections_Bug551666.aspx.cs

svn path=/trunk/mcs/; revision=146126
2009-11-13 12:56:34 +00:00
Marek Habersack 77a61be80d 2009-10-19 Marek Habersack <[email protected]>
* ASPState.sql: added - schema for the SQL session state server
	database.

2009-10-19  Marek Habersack  <[email protected]>

	* SessionStateModule.cs: enabled SQL session state provider.

	* SessionSQLServerHandler.cs: implemented. Uses System.Data.Common
	for provider-agnostic implementation. Until an issue with Npgsql's
	2.0 factory missing is resolved it defaults to using
	Mono.Data.Sqlite as the provider.
	Selecting of the data provider is done by putting DbProviderName
	in the connection string specified in the
	<system.web/sessionState> configuration section.

svn path=/trunk/mcs/; revision=144412
2009-10-19 20:59:08 +00:00
Marek Habersack 4439b058a5 Forgotten changelog
svn path=/trunk/mcs/; revision=143578
2009-10-06 21:30:42 +00:00
Marek Habersack ff8784c653 2009-10-05 Marek Habersack <[email protected]>
* Makefile ($(build_lib)): fixed a typo in dependency macro

2009-10-05  Marek Habersack  <[email protected]>

	* WebUIValidation_2.0.js: before using webFrom.Page_Validators,
	check if they are defined and not null. Fixes bug #542582

svn path=/trunk/mcs/; revision=143388
2009-10-05 11:15:03 +00:00
Marek Habersack 04bfff9c53 2009-09-07 Marek Habersack <[email protected]>
* HostingEnvironment.cs: MapPath checks if HttpContext.Request
	actually exists before using it.

2009-09-07  Marek Habersack  <[email protected]>

	* XmlSiteMapProviderTest.cs: added

	* StaticSiteMapProviderTest.cs: added test for FindSiteMapNode

2009-09-07  Marek Habersack  <[email protected]>

	* XmlSiteMapProvider.cs: do not allow the provider to be
	intialized more than once.
	Initialize throws if it finds unknown attributes in the
	'attributes' collection.
	AddNode checks its arguments and throws if they are null or aren't
	from the same provider.
	FindStartingNode throws exceptions in several erroneous situations
	now.
	Added private method GetConfigDocument which performs several
	checks on the source .sitemap file and throws exceptions if it
	finds any errors.
	BuildSiteMap clears provider state before building the map.
	BuildSiteMapRecursive correctly deals with custom providers. Fixes
	bug #465696
	FindSiteMapNode maps url before searching. Fixes bug #465696

	* VirtualPathUtility.cs: Combine a bit more efficient

	* StaticSiteMapProvider.cs: FindSiteMap node checks if rawUrl is
	relative to application root and if yes, makes it absolute.
	MapUrl converts both rooted and not rooted urls to absolute.

	* SiteMapProvider.cs: check if HttpContext.Request exists before
	using it in FindSiteMapnode

	* SiteMap.cs: Providers collection must be read-only.

2009-09-07  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWeb/NunitWeb/Resources/sub_map_01.sitemap
	Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_01.sitemap
	Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_02.sitemap
	Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_03.sitemap
	Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_04.sitemap
	Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_05.sitemap
	Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_06.sitemap
	Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_07.sitemap
	Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_08.sitemap
	Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_09.sitemap

2009-09-07  Marek Habersack  <[email protected]>

	* Tests/TestSiteMapProvider.cs: added

svn path=/trunk/mcs/; revision=141420
2009-09-07 11:07:43 +00:00
Marek Habersack 5e89ae81f5 2009-08-26 Marek Habersack <[email protected]>
* AspTokenizer.cs: when there's put back record and we're in
	verbatim mode, get_token must be careful with what it returns - it
	can't return Token.* values, instead it should look at Value and
	retrieve the next token from it. Fixes bug #400807

2009-08-26  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs: added test for bug #400807

2009-08-26  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/OneLetterIdentifierInCodeRender.aspx

svn path=/trunk/mcs/; revision=140703
2009-08-26 11:02:17 +00:00
Marek Habersack 137e1a8bd2 2009-08-25 Marek Habersack <[email protected]>
* AspGenerator.cs:
	Detect IE conditional comments when processing comment blocks in
	TextParsed. Fixes bug #367273

2009-08-25  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs:
	Added test for bug #367273

2009-08-25  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/ConditionalClientComments.aspx

svn path=/trunk/mcs/; revision=140662
2009-08-25 21:04:51 +00:00
Marek Habersack dfabffa5b2 2009-08-25 Marek Habersack <[email protected]>
* AspGenerator.cs: correctly parse server-side tags nested in
	client-side ones. Fixes bug #323719

2009-08-25  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/TagsNestedInClientTag.aspx

2009-08-25  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs: added test for bug #323719

svn path=/trunk/mcs/; revision=140611
2009-08-25 11:22:37 +00:00
Marek Habersack b68b65ad17 2009-08-18 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/DuplicateControlsInClientComment.aspx

2009-08-18  Marek Habersack  <[email protected]>

	* ControlBuilder.cs: Location property makes a copy of assigned
	ILocation now.

2009-08-18  Marek Habersack  <[email protected]>

	* AspParser.cs: added a constructor which creates an internal
	parser, nested within the outer one, and adjusts its ILocation
	members to report correct locations in the outer parser for better
	error reporting. Inner parser also returns the outer's FileText,
	if available.

	* AspGenerator.cs: restored part of r138474 reverted in r138657,
	r138658 and r138659 to fix bug #525104
	BuilderLocation creates a copy of Location for its own use (since
	the ILocation passed is actually AspParser, the line numbers
	change between creating a BuilderLocation and using its Location
	member).
	The end of tag, expression and client comment regular expressions
	now use lazy quantifiers. This fixes bugs #525104 and #517656
	Client side comment blocks aren't ignored anymore, they are parsed
	just as the other parts of the document. Fixes bug #524358

2009-08-18  Marek Habersack  <[email protected]>

	* JavaScriptSerializer.cs: read converters from the config only if
	explicitly requested.

2009-08-18  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs: added test for bug #525104 and
	improved test for bug #517656

svn path=/trunk/mcs/; revision=140161
2009-08-18 13:31:49 +00:00
Marek Habersack 7dadfa1b28 2009-08-15 Marek Habersack <[email protected]>
* AspGenerator.cs: CodeRenderParser.DoParseExpressions - match
	newline characters inside expressions. Fixes bug #526449

2009-08-15  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/NewlineInCodeExpression.aspx

svn path=/trunk/mcs/; revision=139989
2009-08-15 00:32:46 +00:00
Raja R Harinath 1c79419713 * Makefile ($(build_lib)): Move cyclic dependencies onto this.
svn path=/trunk/mcs/; revision=139040
2009-07-30 09:02:30 +00:00
Marek Habersack bd852c92f4 2009-07-23 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/FullTagsInText.aspx
	Test/mainsoft/NunitWebResources/TagsExpressionsAndCommentsInText.aspx

2009-07-23  Marek Habersack  <[email protected]>

	* AspGenerator.cs: TextParsed takes a different approach to
	post-processing text blocks now. It applies, in order, client-side
	comment, tag and expression regular expressions to the text
	and splits it into blocks of different types. Then the blocks are
	processed accordingly.

svn path=/trunk/mcs/; revision=138474
2009-07-22 23:41:32 +00:00
Veerapuram Varadhan 9f93422191 * Implementation of System.Data.Design.TypedDataSetGenerator::Generate methods that generate TableAdapter code
svn path=/trunk/mcs/; revision=138437
2009-07-22 18:26:17 +00:00
Marek Habersack d4cc6a70f7 2009-07-21 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/UnquotedAngleBrackets.aspx

2009-07-21  Marek Habersack  <[email protected]>

	* AspTokenizer.cs: in put_back, store inTag value as well.

	* AspParser.cs: correctly parse code like "<asp:tag> < </asp:tag>"

svn path=/trunk/mcs/; revision=138280
2009-07-21 11:24:45 +00:00
Marek Habersack f077d18ea2 2009-07-08 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: added test for bug #520024

2009-07-08  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/PreprocessorDirectivesInMarkup.aspx

2009-07-08  Marek Habersack  <[email protected]>

	* AspParser.cs: GetServerTag mustn't treat <% # ... %> as
	data-binding directives. Fixes bug #520024

	* AssemblyBuilder.cs: if debugging information is on, append
	/d:DEBUG to the compiler's command line.

svn path=/trunk/mcs/; revision=137558
2009-07-08 11:54:37 +00:00
Raja R Harinath def434b458 Add SystemWebTestShim so that we can avoid InternalsVisibleTo(testsuite)
class/Makefile (common_dirs): Add SystemWebTestShim.
class/System.Web/Makefile (TEST_MCS_FLAGS): Reference SystemWebTestShim.
class/System.Web.DynamicData/Makefile: Likewise.
class/System.Web.Extensions/Makefile: Likewise.

svn path=/trunk/mcs/; revision=137411
2009-07-06 14:52:54 +00:00
Marek Habersack fc4f263698 2009-06-30 Marek Habersack <[email protected]>
* AspGenerator.cs: TextParsed must remove client-side comments
	from the passed text before attempting to parse the text for
	server side controls and expressions. Fixes bug #517656

2009-06-30  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs: added test for bug #517656

2009-06-30  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/ServerControlInClientSideComment.aspx

2009-06-30  Marek Habersack  <[email protected]>

	* NunitWebResources/ServerControlInClientSideComment.aspx: added

svn path=/trunk/mcs/; revision=137137
2009-06-30 09:06:16 +00:00
Marek Habersack 38a1145d2d 2009-06-18 Marek Habersack <[email protected]>
* browscap.ini.diff: updated to match the latest upstream
	version.

svn path=/trunk/mcs/; revision=136382
2009-06-18 08:35:39 +00:00
Marek Habersack 9743d97ec8 2009-06-16 Marek Habersack <[email protected]>
* RouteValueDictionaryExtensions.cs: do not compile if
	SYSTEMCORE_DEP is not defined

	* PatternParser.cs: if SYSTEMCORE_DEP is not defined, do not
	compile parts which require RouteValueDictionaryExtensions.

2009-06-16  Marek Habersack  <[email protected]>

	* Makefile (LIB_MCS_FLAGS): define SYSTEMCORE_DEP

2009-06-16  Marek Habersack  <[email protected]>

	* DynamicDataManager.cs, DynamicDataExtensions.cs: use new
	DataBoundControl.DataSourceObject instead of
	InternalGetDataSource

2009-06-16  Marek Habersack  <[email protected]>

	* Makefile: warn if the 4.0 assembly is compiled without
	System.Core

svn path=/trunk/mcs/; revision=136222
2009-06-16 13:48:30 +00:00
Marek Habersack 2ad931f695 2009-06-16 Marek Habersack <[email protected]>
* HtmlHeadBuilder.cs: use faster String.Compare overloads.

	* HtmlHead.cs: implemented 4.0 properties Description and
	Keywords.

2009-06-16  Marek Habersack  <[email protected]>

	* IPersistedSelector.cs: removed AspNetHostingPermission
	attributes from the 4.0 profile.

	* IDataBoundControl.cs, IDataBoundItemControl.cs,
	IDataBoundListControl.cs, IFieldControl.cs: added

	* DetailsView.cs: control implements 4.0 IDataBoundItemControl
	interface.

	* DataBoundControl.cs: implemented 4.0 property DataSourceObject
	and made the InternalPerformDataBinding method internal for the
	4.0 profile.

2009-06-16  Marek Habersack  <[email protected]>

	* net_4_0_System.Web.dll.sources:
	Added
	System.Web.UI.WebControls/IDataBoundControl.cs,
	System.Web.UI.WebControls/IDataBoundItemControl.cs,
	System.Web.UI.WebControls/IDataBoundListControl.cs,,
	System.Web.UI.WebControls/IFieldControl.cs

svn path=/trunk/mcs/; revision=136192
2009-06-16 01:46:33 +00:00
Marek Habersack 1e9b3c88e0 2009-06-16 Marek Habersack <[email protected]>
* net_4_0_System.Web.dll.sources:
	Added System.Web.Routing/PageRouteHandler.cs

2009-06-16  Marek Habersack  <[email protected]>

	* PageRouteHandler.cs: added

svn path=/trunk/mcs/; revision=136187
2009-06-16 00:15:48 +00:00
Marek Habersack c3de939907 2009-06-16 Marek Habersack <[email protected]>
* net_4_0_System.Web.Routing.dll.sources: added. In the 4.0
	profile all classes are compiled into System.Web,
	System.Web.Routing becomes an empty assembly.

2009-06-16  Marek Habersack  <[email protected]>

	* net_4_0_System.Web.Abstractions.dll.sources: added. In the 4.0
	profile all classes are compiled into System.Web,
	System.Web.Abstractions becomes an empty assembly.

2009-06-16  Marek Habersack  <[email protected]>

	* Decorated all classes with the TypeForwardedFrom attribute for
	the 4.0 profile.

2009-06-16  Marek Habersack  <[email protected]>

	* Decorated all classes with the TypeForwardedFrom attribute for
	the 4.0 profile.

2009-06-16  Marek Habersack  <[email protected]>

	* net_4_0_System.Web.dll.sources: added. System.Web.Routing and
	System.Web.Abstractions are part of System.Web.dll in the 4.0
	profile.

svn path=/trunk/mcs/; revision=136182
2009-06-15 23:57:37 +00:00
Marek Habersack 787a9fd5ff 2009-06-04 Marek Habersack <[email protected]>
* AspGenerator.cs: if plain text is parsed and it contains
	server-side controls, parse and process them. Fixes bug #508888

2009-06-04  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/ServerSideControlsInScriptBlock.aspx

2009-06-04  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs: added test for bug #508888

svn path=/trunk/mcs/; revision=135486
2009-06-04 21:18:21 +00:00
Marek Habersack 44bca195b9 2009-05-10 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/ExpressionInListControl.aspx

2009-05-10  Marek Habersack  <[email protected]>

	* AspGenerator.cs: keep processing the tag if it is not a server
	one and contains expressions and no code render blocks.

2009-05-10  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs: added a test for expressions in
	list control items.

svn path=/trunk/mcs/; revision=133861
2009-05-10 20:29:01 +00:00
Marek Habersack 506b43f893 2009-04-28 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/LinkInHeadWithEmbeddedExpression.aspx

2009-04-28  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs: added test for bug #498637

2009-04-28  Marek Habersack  <[email protected]>

	* AspGenerator.cs: ProcessTag doesn't process a tag which is not
	server-side and which has declarative expressions embedded. Fixes
	bug #498637

2009-04-28  Marek Habersack  <[email protected]>

	* NunitWebResources/LinkInHeadWithEmbeddedExpression.aspx: added

svn path=/trunk/mcs/; revision=132812
2009-04-28 08:39:43 +00:00
Marek Habersack a6ed4173aa 2009-04-24 Marek Habersack <[email protected]>
* System.Web_test.dll.sources: added
	System.Web.UI/PageParserFilterTest.cs

2009-04-24  Marek Habersack  <[email protected]>

	* TemplateParser.cs: PageParserFilter.Initialize now takes just
	one parameter.

	* PageParserFilter.cs: a few alignments for .NET compatibility in
	the default behavior.

2009-04-24  Marek Habersack  <[email protected]>

	* AspGenerator.cs: ProcessCode should _not_ stop processing the
	passed code string if the filter's ProcessCodeConstruct returns
	false. Fixes bug #497775

2009-04-24  Marek Habersack  <[email protected]>

	* PageParserFilterTest.cs: added

svn path=/trunk/mcs/; revision=132607
2009-04-24 18:54:29 +00:00
Marek Habersack c503734d12 2009-04-16 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: using a regexp to check whether an
	expression is a Bind one. Fixes bug #493639

2009-04-16  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/NoBindForMethodsWithBindInName.aspx

2009-04-16  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs: added test for bug #493639

svn path=/trunk/mcs/; revision=131874
2009-04-16 09:51:12 +00:00
Marek Habersack 3dfbadffd6 2009-02-26 Marek Habersack <[email protected]>
* System.Web.dll.sources: added System.Web/IisTraceListener.cs

2009-02-26  Marek Habersack  <[email protected]>

	* IisTraceListener.cs: added + implemented

svn path=/trunk/mcs/; revision=128046
2009-02-26 02:32:53 +00:00
Marek Habersack f3e28b8c5d Merge branch 'bug468359'
* bug468359:
  2009-02-05  Marek Habersack  <[email protected]>

Conflicts:

	class/System.Web/ChangeLog
	class/System.Web/Makefile

svn path=/trunk/mcs/; revision=125885
2009-02-05 17:01:27 +00:00
Marek Habersack 9b9650acd6 2009-02-05 Marek Habersack <[email protected]>
* NunitWebResources/NoDoubleOnInitOnRemoveAdd.aspx,
	NunitWebResources/NoDoubleOnInitOnRemoveAdd.aspx.cs: added

2009-02-05  Marek Habersack  <[email protected]>

	* ControlTest.cs: added test for bug #47130

2009-02-05  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/NoDoubleOnInitOnRemoveAdd.aspx and
	Test/mainsoft/NunitWebResources/NoDoubleOnInitOnRemoveAdd.aspx.cs

svn path=/trunk/mcs/; revision=125860
2009-02-05 13:48:38 +00:00
Marek Habersack 7dea4232fe 2009-01-27 Marek Habersack <[email protected]>
* HttpHandlerAction.cs: removed the matches cache, it doesn't
	improve matters here in 99% of the cases.
	Regexps are no longer used to match handler paths, SearchPattern
	is used instead.

2009-01-27  Marek Habersack  <[email protected]>

	* SearchPattern.cs: added

2009-01-27  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added System.Web.Util/SearchPattern.cs

svn path=/trunk/mcs/; revision=124659
2009-01-27 14:25:00 +00:00
Marek Habersack dfc843bcf1 2009-01-22 Marek Habersack <[email protected]>
* Makefile (SYSTEMCORE_DEP):
	If NO_SYSTEMCORE_DEP is defined System.Web.dll will not be linked
	with System.Core.dll and BuildManager will use ReaderWriterLock
	instead of ReaderWriterLockSlim.

2009-01-22  Marek Habersack  <[email protected]>
	* BuildManager.cs:
	 - if SYSTEMCOR_DEP is undefined use ReaderWriterLock instead of
	 ReaderWriterLockSlim

svn path=/trunk/mcs/; revision=124253
2009-01-22 21:25:42 +00:00
Marek Habersack 05e3bfbff1 new BuildManager change logs
svn path=/trunk/mcs/; revision=124189
2009-01-22 11:45:04 +00:00
Marek Habersack 2279cf0cf8 2009-01-20 Marek Habersack <[email protected]>
* Substitution.cs: added. Fixes bug #467460

2009-01-20  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added System.Web.UI.WebControls/Substitution.cs

svn path=/trunk/mcs/; revision=123865
2009-01-20 10:04:10 +00:00
Marek Habersack 6e8c180f09 Reverted r123106
svn path=/trunk/mcs/; revision=123113
2009-01-12 19:42:35 +00:00
Marek Habersack dbd6e55cdc 2009-01-12 Marek Habersack <[email protected]>
* LiteralStringControlBuilder.cs: added. Fixes bug #461214

	* ControlBuilder.cs: added location tracking for literal string
	children. Fixes bug #461214

	* TemplateParser.cs: line pragmas are on by default. Fixes bug
	#460479

2009-01-12  Marek Habersack  <[email protected]>

	* TemplateControlCompiler.cs: the LiteralStringControlBuilder
	class is now used to track the location of the plain strings being
	output to the generated code. Fixes bug #461214

	* AspGenerator.cs: AppendLiteralString is called with the current
	parser location as one of its parameters in FlushText (). Fixes
	bug #461214

2009-01-12  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added
	System.Web.UI/LiteralStringControlBuilder.cs


svn path=/trunk/mcs/; revision=123106
2009-01-12 18:53:41 +00:00
Marek Habersack ce8461d813 2008-12-23 Marek Habersack <[email protected]>
* NunitWeb/Makefile (NunitWeb.dll): added NunitWeb/CustomSection.cs

	* NunitWebResources/CustomSectionEmptyCollection.aspx: added

2008-12-23  Marek Habersack  <[email protected]>

	* WebConfigurationManagerTest.cs: added new test.

2008-12-23  Marek Habersack  <[email protected]>

	* CustomSection.cs: added. Implementation of custom configuration
	elements for WebConfigurationManager tests.

2008-12-23  Marek Habersack  <[email protected]>

	* Web.mono.config: added CustomTags section definition, used in
	WebConfiguratioManager tests.

2008-12-23  Marek Habersack  <[email protected]>

	* WebConfigurationManager.cs: GetSection should call
	OpenWebConfiguration using the actual directory path, not a file
	path. If it fails to do so, System.Configuration may treat the
	top-level Web.config file as a child one which, in turn, in
	certain circumstances will lead to duplicate keys inserted in
	collections.

2008-12-23  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added Test/mainsoft/NunitWebResources/CustomSectionEmptyCollection.aspx

	* System.Web_test.dll.sources: added mainsoft/NunitWeb/NunitWeb/CustomSection.cs

svn path=/trunk/mcs/; revision=122024
2008-12-23 02:42:50 +00:00
Dean Brettle af9585a7b3 Changes approved via private email from Marek Habersack <[email protected]> on 2008-10-05.
In System.Web.Configuration_2.0:
2008-12-12  Owen Brady <[email protected]>
	* nBrowser/File.cs, nBrowser/Identification.cs, nBrowser/Node.cs, nBrowser/NodeTypes.cs,
	nBrowser/Result.cs, nBrowser/Build.cs, nBrowser/Exception.cs, CapabilitiesBuild.cs, 
	CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
	
	* nBrowser/Build.cs: Removed LoadDefaultEmbeddedResource function, the embeded resource
	it is referring too was never included in Mono. And was designed for a free standing 
	browser identification libary.

	* nBrowser/Exception.cs: Removed Compile Attributes and related comments which were left
	in from the original free standing browser libary.
	
	* CapabilitiesBuild.cs: Removed Header Checksum related coding since it is not required
	for the Mono implementation.

	* CapabilitiesResult.cs: Updated Copyright information to include updated contact information. 
	Removed functions which were designed to make use of features of a embeded browser file which
	is not present in Mono.
	
	* CapabilitiesChecksum.cs, RandomRoboBotKeywords.txt: Deleted

In .:
2008-12-12  Dean Brettle  <[email protected]>

	* System.Web.dll.sources: deleted
	System.Web.Configuration_2.0/CapabilitiesChecksum.cs
	
	* Makefile (RESOURCE_FILES_2): deleted
	System.Web.Configuration_2.0/RandomRoboBotKeywords.txt


svn path=/trunk/mcs/; revision=121408
2008-12-12 09:43:04 +00:00
Marek Habersack d0135f374d 2008-12-10 Marek Habersack <[email protected]>
* MasterPageParser.cs: do not compile anything while
	parsing. MasterType virtual path is not compiled, but stored for
	later. It is compiled when the MasterType property is requested
	from within MasterPageCompiler.

	* PageParser.cs: do not compile anything while
	parsing. MasterPageFile, MasterType and PreviousPageType virtual
	paths aren't compiled but checked for existence and stored for
	later. Actual compilation happens when the MasterType and
	PreviousPageType are requested from within PageCompiler.

	* BaseParser.cs: added a new helper method, ThrowParseFileNotFound.

2008-12-10  Marek Habersack  <[email protected]>

	* ParseException.cs: made serializable.

	* PageCompiler.cs: CreateStronglyTypedProperty calls
	AddReferencedAssembly to add type's assembly to the unit's
	references after the typed property has been created.

	* BaseCompiler.cs: added a new helper method,
	AddReferencedAssembly to be used whenever an assembly location
	needs to be added to the compilation unit's list after the parsing
	is done (e.g. when processing PreviousPageType or MasterPageType
	properties in PageParser)

2008-12-10  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/MissingMasterFile.aspx

	* System.Web_test.dll.sources: added System.Web.UI/PageParserTest.cs

2008-12-10  Marek Habersack  <[email protected]>

	* NunitWebResources/MissingMasterFile.aspx: added

2008-12-10  Marek Habersack  <[email protected]>

	* PageParserTest.cs: added



svn path=/trunk/mcs/; revision=121181
2008-12-10 02:03:35 +00:00
Marek Habersack 60f6913978 2008-12-03 Marek Habersack <[email protected]>
* System.Web_test.dll.sources: added System.Web.UI/DataBinderTest.cs

2008-12-03  Marek Habersack  <[email protected]>

	* DataBinderTest.cs: added

2008-12-03  Marek Habersack  <[email protected]>

	* DataBinder.cs: clean up Eval for good this time.
	GetIndexedPropertyValue should throw an exception when a string
	indexer expression is used and the container is an IList.

svn path=/trunk/mcs/; revision=120590
2008-12-03 13:33:05 +00:00