Commit Graph
14 Commits
Author SHA1 Message Date
Marek Habersack e9a0173141 2009-03-31 Marek Habersack <[email protected]>
* All of the below are part of the fix for bug #489687

	* ThemeDirectoryCompiler.cs: pass VirtualPath instances to parser
	constructors.

	* BuildProvider.cs: associated virtual path is stored internally
	as an instance of VirtualPath, accessible via new
	VirtualPathInternal property.

	* BuildManagerDirectoryBuilder.cs: VirtualPath.IsFake is used to
	detect fake virtual paths.
	GetBuildProvider now takes a VirtualPath instead of string for the
	virtualPath parameter. The passed VirtualPath instance is passed
	unchanged to BuildProvider.

	* BuildManager.cs: AssertVirtualPathExists now uses
	VirtualPath.IsFake to check for fake virtual paths.

	* ApplicationFileBuildProvider.cs, GenericBuildProvider.cs,
	MasterPageBuildProvider.cs, PageBuildProvider.cs,
	ThemeBuildProvider.cs, UserControlBuildProvider.cs,
	WebHandlerBuildProvider.cs, WebServiceBuildProvider.cs:
	CreateParser overloads now take a VirtualPath instead of a string
	for the virtualPath parameter.

	* ThemeBuildProvider.cs: use new parser constructors which take
	VirtualPath instances instead of strings.

2009-03-31  Marek Habersack  <[email protected]>

	* VirtualPath.cs: added code to detect whether the VirtualPath
	instance represents a fake virtual path (IsFake property).
	Added new property DirectoryNoNormalize which returns
	non-normalized directory for the VirtualPath instance.
	Made ToString () a bit more friendly and well-behaved.

2009-03-31  Marek Habersack  <[email protected]>

	* ApplicationFileParser.cs, MasterPageParser.cs, PageParser.cs,
	PageThemeFileParser.cs, PageThemeParser.cs, UserControlParser.cs,
	WebHandlerParser.cs, WebServiceParser.cs: 2.0 constructors take a
	VirtualPath instance for the virtualPath parameter, instead of a
	string.

svn path=/trunk/mcs/; revision=130665
2009-03-31 15:01:21 +00:00
Marek Habersack ba4f24d13a 2007-09-05 Marek Habersack <[email protected]>
* RootBuilder.cs: make Foundry settable, but protect the backing
            field from being set to null.
2007-09-05  Marek Habersack  <[email protected]>

            * ThemeDirectoryCompiler.cs: all the skin files compiled in one
            batch must share the same component foundry. Under MS.NET if any
            earlier .skin file registers a control prefix any later .skin
            files may use it without registering.

svn path=/trunk/mcs/; revision=85373
2007-09-05 17:32:21 +00:00
Marek Habersack c45b4e08e9 2007-05-29 Marek Habersack <[email protected]>
* ThemeDirectoryCompiler.cs: pass the skin file's
	virtual path to the skin file parser as its first paramenter, and
	not a physical path.


svn path=/trunk/mcs/; revision=78115
2007-05-29 12:45:31 +00:00
Marek Habersack 832109351f Make sure themes are recompiled whenever .skin and .css files are updated
svn path=/trunk/mcs/; revision=73974
2007-03-08 23:41:36 +00:00
Marek Habersack c4799d34fb make themes work. Also fixes bug #80953
svn path=/trunk/mcs/; revision=73707
2007-03-05 13:58:16 +00:00
Marek Habersack 0a13955adb A buglet in theme directory parser
svn path=/trunk/mcs/; revision=71467
2007-01-22 21:33:25 +00:00
Igor Zelmanovich 4626a6f944 2006-11-29 Igor Zelmanovich <[email protected]>
* Page.cs: The specified theme must exist as either an application theme. 
	If the theme does not exist, an HttpException exception s thrown.


svn path=/trunk/mcs/; revision=69282
2006-12-10 16:03:02 +00:00
Andrew Skiba a9221254d5 render CSS path as a virtual path
svn path=/trunk/mcs/; revision=63576
2006-08-10 08:32:56 +00:00
Konstantin Triger 8799f00b45 load themes relative to context root
svn path=/trunk/mcs/; revision=61560
2006-06-08 11:35:11 +00:00
Andrew Skiba db448f91e1 use UrlUtils.Combine to combine pathes
svn path=/trunk/mcs/; revision=59813
2006-04-24 14:20:05 +00:00
Andrew Skiba 0a4655895b Scan css files from theme directory and put them into __linkedStyleSheets field of generated theme page
svn path=/trunk/mcs/; revision=59787
2006-04-23 08:12:59 +00:00
Andrew Skiba 4ac1860607 add to the directory parser all the assemblies found by theme file parsers
svn path=/trunk/mcs/; revision=59521
2006-04-16 11:44:14 +00:00
Andrew Skiba 2f9f5035cb map the virtual path to the physical path
svn path=/trunk/mcs/; revision=59345
2006-04-11 07:35:58 +00:00
Chris Toshok f28eecd2e1 2006-03-07 Chris Toshok <[email protected]>
* ThemeDirectoryCompiler.cs: new file.

	* PageThemeCompiler.cs: new file.


svn path=/trunk/mcs/; revision=57671
2006-03-07 22:00:21 +00:00