Commit Graph
584 Commits
Author SHA1 Message Date
Marek Habersack 2d0b4476f2 2007-03-16 Marek Habersack <[email protected]>
* AppCodeCompiler.cs: produce message that makes more sense.


svn path=/trunk/mcs/; revision=74447
2007-03-16 02:36:47 +00:00
Marek Habersack 37c1af47ac 2007-03-15 Marek Habersack <[email protected]>
* AppResourcesCompiler.cs: handle global resource keys with dots
	the way MS.NET does. All the dots are replaced with underscores
	when generating the stronly-typed property.

svn path=/trunk/mcs/; revision=74351
2007-03-15 12:19:12 +00:00
Marek Habersack a3d6e98441 2007-03-14 Marek Habersack <[email protected]>
* AppResourcesCompiler.cs: Fix a bug with global resources file
	grouping where no translated resources were processed due to base
	name mismatch.

svn path=/trunk/mcs/; revision=74255
2007-03-14 13:57:18 +00:00
Marek Habersack 7fe2e24626 2007-03-14 Marek Habersack <[email protected]>
* 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
2007-03-14 08:52:12 +00:00
Marek Habersack c9b55219e9 2007-03-13 Marek Habersack <[email protected]>
* AspParser.cs: fix an off-by-one parsing bug with server-side
	includes.

svn path=/trunk/mcs/; revision=74202
2007-03-13 19:53:04 +00:00
Marek Habersack 86823f9836 * 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
2007-03-13 14:31:46 +00:00
Marek Habersack fba0cc826e 2007-03-13 Marek Habersack <[email protected]>
* 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
2007-03-13 13:11:04 +00:00
Marek Habersack 095b2a7004 2007-03-13 Marek Habersack <[email protected]>
* 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  <[email protected]>

        * 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  <[email protected]>

        * TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
        #80634.


svn path=/trunk/mcs/; revision=74159
2007-03-13 09:56:36 +00:00
Marek Habersack 9e2b329c50 * AspParser.cs: revert r73587 as it breaks more than it fixes
svn path=/trunk/mcs/; revision=74116
2007-03-12 12:08:39 +00:00
Marek Habersack 61740bb501 * 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
2007-03-12 11:25:19 +00:00
Marek Habersack c0d510eb33 2007-03-12 Marek Habersack <[email protected]>
* 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
2007-03-12 09:26:55 +00:00
Marek Habersack dee3ab3311 * PageCompiler.cs, BaseCompiler.cs: refactoring: moved the
CreateProfileProperty and InternalCreatePageProperty to
	BaseCompiler from PageCompiler.

	* GlobalAsaxCompiler.cs: generate the Profile property for the
	Global_asax class.

svn path=/trunk/mcs/; revision=74036
2007-03-09 23:44:19 +00:00
Marek Habersack 4d00d430ca Add a missing method to ProfileCommon
svn path=/trunk/mcs/; revision=74032
2007-03-09 21:36:43 +00:00
Marek Habersack bd3a15661d Handle empty .resources files gracefully
svn path=/trunk/mcs/; revision=74022
2007-03-09 18:30:55 +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 fb27421ce2 Support a few more Page directive attributes
svn path=/trunk/mcs/; revision=73660
2007-03-03 15:26:40 +00:00
Marek Habersack 95b0b1d58e Write preservation files for App_Code assemblies
svn path=/trunk/mcs/; revision=73633
2007-03-02 10:17:56 +00:00
Marek Habersack 3f0de23c4f Fix for bug #80998
svn path=/trunk/mcs/; revision=73632
2007-03-02 10:12:02 +00:00
Marek Habersack b6a3d8cb11 Fix for the asp parser
svn path=/trunk/mcs/; revision=73587
2007-03-01 13:57:18 +00:00
Marek Habersack f7193c8afe Implement connection string expressions
svn path=/trunk/mcs/; revision=73460
2007-02-27 12:51:36 +00:00
Marek Habersack 560e3e6465 Fix for global resources
svn path=/trunk/mcs/; revision=73124
2007-02-19 17:52:43 +00:00
Marek Habersack 6ad6d72642 Fix culture problems of the control compiler System.Web.Compilation/ChangeLog System.Web.Compilation/TemplateControlCompiler.cs
svn path=/trunk/mcs/; revision=73015
2007-02-16 14:23:07 +00:00
Marek Habersack 1ce179138a Fix for bug 80808
svn path=/trunk/mcs/; revision=73014
2007-02-16 14:20:46 +00:00
Marek Habersack 54d4c62e44 Fix the FontUnit cultural issue
svn path=/trunk/mcs/; revision=72977
2007-02-16 01:56:20 +00:00
Marek Habersack 30833a4b21 Support for preservation assembly mapping files (.compiled)
svn path=/trunk/mcs/; revision=72656
2007-02-12 13:44:36 +00:00
Marek Habersack 4be3a51818 Fix TemplateSourceDirectory.
svn path=/trunk/mcs/; revision=72476
2007-02-08 13:27:15 +00:00
Marek Habersack f74b35ecb6 Avoid duplicate control registration exception
svn path=/trunk/mcs/; revision=72472
2007-02-08 13:03:50 +00:00
Marek Habersack e66d8ac4b2 Use Resources. as the prefix for global resources embedded in App_GlobalResources.dll
svn path=/trunk/mcs/; revision=72471
2007-02-08 13:02:26 +00:00
Marek Habersack 61df9ff1d2 Fix for bug 80532
svn path=/trunk/mcs/; revision=72245
2007-02-03 21:55:00 +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
Miguel de Icaza 6b4c7232fd * SiteMapNode.cs (GetExplicitResourceString): implement.
* 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
2007-01-20 22:42:04 +00:00
Gert Driesen a4fd86b3e1 * BaseCompiler.cs: Fixed build on 1.0 profile.
svn path=/trunk/mcs/; revision=71383
2007-01-20 09:16:08 +00:00
Marek Habersack f289544bd1 Mark AutoHelpers as obsolete in generated code and a fix for bug #77069
svn path=/trunk/mcs/; revision=71376
2007-01-20 01:57:56 +00:00
Marek Habersack fe977baba8 Fix for bug #80096
svn path=/trunk/mcs/; revision=71373
2007-01-19 23:16:52 +00:00
Marek Habersack 9b0f610b57 Compilation fixes
svn path=/trunk/mcs/; revision=71229
2007-01-17 21:24:52 +00:00
Marek Habersack c79d594b6a thead/tbody aren't ignored anymore
svn path=/trunk/mcs/; revision=71193
2007-01-17 14:02:03 +00:00
Marek Habersack a9751a3d7b Fix a compilation issue
svn path=/trunk/mcs/; revision=71092
2007-01-15 21:44:45 +00:00
Marek Habersack 0689967a9f Wsdl build provider added
svn path=/trunk/mcs/; revision=71084
2007-01-15 21:02:18 +00:00
Marek Habersack 87896660c4 Forgotten commit
svn path=/trunk/mcs/; revision=71028
2007-01-15 13:51:55 +00:00
Marek Habersack 58a60fff88 New app resources handling code
svn path=/trunk/mcs/; revision=70564
2007-01-05 22:42:56 +00:00
Marek Habersack 7ecd1fdc01 Forgotten changelogs
svn path=/trunk/mcs/; revision=69830
2006-12-20 18:43:48 +00:00
Vladimir Krasnov 82b4c306cb * ThemeDirectoryCompiler.jvm.cs: fixed virtual path for themes
svn path=/trunk/mcs/; revision=69415
2006-12-12 17:07:22 +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
Marek Habersack 689a4b7450 Add support for centralized control registration (from web.config) as well as for the system.web/pages/namespaces collection
svn path=/trunk/mcs/; revision=68545
2006-11-28 00:17:26 +00:00
Marek Habersack 31c50ab7aa App_Code assemblies fix
svn path=/trunk/mcs/; revision=68528
2006-11-27 19:24:29 +00:00
Marek Habersack dec216167c App_Code fix
svn path=/trunk/mcs/; revision=68522
2006-11-27 18:02:05 +00:00
Marek Habersack ed80dacc09 minor optimizations
svn path=/trunk/mcs/; revision=68448
2006-11-25 01:15:03 +00:00
Gonzalo Paniagua Javier 9dde872683 2006-11-21 Gonzalo Paniagua Javier <[email protected]>
* WebServiceCompiler.cs: add the type to the cache after getting it
	from the compiled assembly.


svn path=/trunk/mcs/; revision=68299
2006-11-21 23:10:07 +00:00
Marek Habersack 73bab11621 Fix for App_Code compiler
svn path=/trunk/mcs/; revision=68220
2006-11-20 21:21:37 +00:00