Commit Graph
29 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Marek Habersack 63cc5053cc 2010-06-17 Marek Habersack <[email protected]>
* RootBuilder.cs: both LINK and META HTML tags must be represented
	as instances of HtmlGenericControl. Fixes bug #603541

svn path=/trunk/mcs/; revision=159046
2010-06-17 00:56:12 +00:00
Marek Habersack b1bbc5ad14 Fixed two broken tests
svn path=/trunk/mcs/; revision=154745
2010-04-03 00:24:42 +00:00
Marek Habersack 2cf5d1a507 2010-02-19 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: GetConverterForMember now completely
	relies on TypeDescriptor and description providers to retrieve
	converter for a property. Fixes bug #578586
	If UrlPropertyAttribute is found for a member,
	GetExpressionFromString uses the preconverted value, if any, as
	parameter to HandleUrlProperty.

svn path=/trunk/mcs/; revision=152040
2010-02-19 01:51:06 +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 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 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 947a38fd94 Fix for tests I broke yesterday
svn path=/trunk/mcs/; revision=140371
2009-08-20 21:03:07 +00:00
Marek Habersack 5c24f18f97 1.1 test fixes
svn path=/trunk/mcs/; revision=140213
2009-08-18 23:56:22 +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
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
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 3f9d37cf39 Use ExpectedException(string) when referring to internal exception types
In class/System.Web/Test/System.Web.Compilation:

	* TemplateControlCompilerTest.cs (InvalidPropertyBindTest1):
	Don't use 'typeof' on a System.Web internal exception type.
	(InvalidPropertyBindTest3): Likewise.

In class/System.Web/Test/System.Web.UI:

	* PageParserTest.cs (MissingMasterFile): Don't use 'typeof' on a
	System.Web internal exception type.

svn path=/trunk/mcs/; revision=137420
2009-07-06 16:02:16 +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 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 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 2cc422baec 2008-12-08 Marek Habersack <[email protected]>
* NunitWebResources/ValidPropertyBind5.aspx: added

	* NunitWebResources/ReadWritePropertyControl.ascx: added a
	writable string property.

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

	* TemplateControlCompilerTest.cs: added another valid Bind
	expression test.

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

	* TemplateControlCompiler.cs: use the correct regex match group
	index in SanitizeBindCall (), fixes bug #457011



svn path=/trunk/mcs/; revision=120988
2008-12-08 12:03:43 +00:00
Marek Habersack 9fb8f0992b 2008-12-01 Marek Habersack <[email protected]>
* NunitWebResources/ContentPlaceHolderInTemplate.master: added

	* NunitWebResources/ContentPlaceHolderInTemplate.aspx: added

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

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/ContentPlaceHolderInTemplate.aspx
	Test/mainsoft/NunitWebResources/ContentPlaceHolderInTemplate.master 
	(TEST_MCS_FLAGS): added reference to System.Web.Extensions

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

	* Web.mono.config: added ASP.NET AJAX 1.0 configuration entries

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

	* TemplateControlCompilerTest.cs: Added test for bug #449970

svn path=/trunk/mcs/; revision=120376
2008-12-01 19:33:35 +00:00
Marek Habersack a77d9eca19 2008-11-21 Marek Habersack <[email protected]>
* CompilationException.cs: made serializable.

	* TemplateControlCompiler.cs: make the Bind regex stricter.
	When creating Eval expression from Bind, replace single quotes
	with double quotes. Fixes bug #447597
	When processing Bind expressions and the regex doesn't match,
	throw an exception.

2008-11-21  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/InvalidPropertyBind1.aspx
	Test/mainsoft/NunitWebResources/InvalidPropertyBind2.aspx
	Test/mainsoft/NunitWebResources/InvalidPropertyBind3.aspx
	Test/mainsoft/NunitWebResources/InvalidPropertyBind4.aspx
	Test/mainsoft/NunitWebResources/ValidPropertyBind1.aspx
	Test/mainsoft/NunitWebResources/ValidPropertyBind2.aspx
	Test/mainsoft/NunitWebResources/ValidPropertyBind3.aspx
	Test/mainsoft/NunitWebResources/ValidPropertyBind4.aspx
	Test/mainsoft/NunitWebResources/ReadWritePropertyControl.ascx

	* Test/tools/web.config: disabled batch compilation and enabled
	debugging.

2008-11-21  Marek Habersack  <[email protected]>

	* HttpParseException.cs, HtmlizedException.cs: added
	deserialization constructor.

2008-11-21  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs: added simple data source for
	Bind tests.
	Added 8 tests for valid and invalid Bind expressions.

2008-11-21  Marek Habersack  <[email protected]>

	* Web.config, Web.mono.config: disabled batch compilation.

2008-11-21  Marek Habersack  <[email protected]>

	* NunitWebResources/WebLogin.config,
	NunitWebResources/WebControl.config: disabled batch compilation.

	* NunitWebResources/WebMapping.config: enabled debugging and
	disabled batch compilation.

	* NunitWebResources/InvalidPropertyBind1.aspx,
	NunitWebResources/InvalidPropertyBind2.aspx,
	NunitWebResources/InvalidPropertyBind3.aspx,
	NunitWebResources/InvalidPropertyBind4.aspx,
	NunitWebResources/ValidPropertyBind1.aspx,
	NunitWebResources/ValidPropertyBind2.aspx,
	NunitWebResources/ValidPropertyBind3.aspx,
	NunitWebResources/ValidPropertyBind4.aspx,
	NunitWebResources/ReadWritePropertyControl.ascx: added

	* MainsoftWebApp20/Web.config: disabled batch compilation

2008-11-21  Marek Habersack  <[email protected]>

	* Web.config: disabled batch compilation



svn path=/trunk/mcs/; revision=119673
2008-11-21 21:35:55 +00:00
Marek Habersack 4e78b2f2ff 2008-10-09 Marek Habersack <[email protected]>
* WebTest.cs: made the Host property internal. It is used to
	access the host's application domain when necessary in some
	tests.

	* MyTemplateControls.cs: added

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

	* NunitWebResources/TemplateControlParsingTest.aspx: added

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

	* TemplateControlCompilerTest.cs: compile the file on 1.1 as well.
	Added a test for template parsing in compound controls.

svn path=/trunk/mcs/; revision=115324
2008-10-09 10:24:45 +00:00
Konstantin Triger f314d30011 Add NotWorking category for failing NunitWeb tests
svn path=/trunk/mcs/; revision=69745
2006-12-19 16:00:35 +00:00
Andrew Skiba 5160ba326b NunitWeb test framework major API refactoring; downport to net 1.1
svn path=/trunk/mcs/; revision=61910
2006-06-21 15:57:20 +00:00
Andrew Skiba 1d80fed29a Check IsWritablePropertyOrField before generating code for assignment statement and DataBind event.
svn path=/trunk/mcs/; revision=61826
2006-06-18 10:51:24 +00:00