Commit Graph
23 Commits
Author SHA1 Message Date
Vladimir Krasnov aac94353f2 * ObjectStateFormatter.cs: optimized loops in array formatters
svn path=/trunk/mcs/; revision=81699
2007-07-10 12:15:37 +00:00
Vladimir Krasnov 37e14dc36c * ObjectStateFormatter.cs: WriterContext.RegisterCache, refactored out parameter
svn path=/trunk/mcs/; revision=80617
2007-06-24 09:24:25 +00:00
Gert Driesen 1671cb3249 * ObjectStateFormatter.cs: Avoid NRE in Serialize. Fixes bug #81851.
* LosFormatterTest.cs: Added tests for LosFormatter.
* System.Web_test.dll.sources: Added LosFormatterTest.cs.

svn path=/trunk/mcs/; revision=79754
2007-06-15 20:11:35 +00:00
Adar Wesley 4b91e3e87b 2007-03-06 Adar Wesley <[email protected]>
* Page.cs: initial implementation of support for Async=true.  Added
        initial support for ViewStateEncryption.  Implemented
        CreateHtmlTextWriterFromType.

        * PageAsyncTask.cs: Created class to support Async pages.

        * ObjectStateFormatter.cs: Added support for ViewState encryption.

        * HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
        to conform to MS behavior.


svn path=/trunk/mcs/; revision=73797
2007-03-06 10:00:18 +00:00
Igor Zelmanovich 3168c4a908 2007-02-20 Igor Zelmanovich <[email protected]>
* ObjectStateFormatter.cs:
	optimization for serialization of primitive type arrays	

svn path=/trunk/mcs/; revision=73152
2007-02-20 10:04:33 +00:00
Marek Habersack 78c82d7d42 Implement the 2.0 page state persister model, and use it internally int the 1.x profile
svn path=/trunk/mcs/; revision=69254
2006-12-09 00:03:31 +00:00
Gonzalo Paniagua Javier 654d38765c 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs:
	* ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
	empty strings.


svn path=/trunk/mcs/; revision=68034
2006-11-16 20:49:11 +00:00
Gonzalo Paniagua Javier 6be4ffb621 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
* 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
2006-02-10 23:43:09 +00:00
Konstantin Triger e339aeb86e refactoring for ColorFormatter Read/Write
svn path=/trunk/mcs/; revision=56033
2006-01-25 08:32:05 +00:00
Konstantin Triger caee16f7d1 preserve emptiness in ColorFormatter
svn path=/trunk/mcs/; revision=55711
2006-01-18 08:57:28 +00:00
Vladimir Krasnov 76313ccac3 * ObjectStateFormatter.cs: Removed TARGET_JVM parts in
TypeFormatter.Read

svn path=/trunk/mcs/; revision=55375
2006-01-11 15:46:36 +00:00
Vladimir Krasnov 20ac4bb294 * ObjectStateFormatter.cs: Merged TARGET_JVM parts in
TypeFormatter.Read, TypeFormatter.Write from /main/5

svn path=/trunk/mcs/; revision=55246
2006-01-09 17:34:33 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier aaabec71e5 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* ObjectStateFormatter.cs: use ObjectFormatter methods instead of
	calling a protected method of another object.

svn path=/trunk/mcs/; revision=28737
2004-06-03 04:57:26 +00:00
Atsushi Eno b03dd37b8f 2004-06-03 Atsushi Enomoto <[email protected]>
* ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
	  (of other objects) are called in TypeConverterFormatter.

svn path=/trunk/mcs/; revision=28735
2004-06-03 04:35:12 +00:00
Gonzalo Paniagua Javier 554f9ec5ca 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* ObjectStateFormatter.cs: before choosing the binary formatter, check
	if the object type has a TypeConverter that can convert to/from string.
	Fixes bug #59495.

	* Page.cs: call GetViewStateString from outside the WriteLine. This
	allows writing to the Response when getting the string without breaking
	the HTML generated.

svn path=/trunk/mcs/; revision=28721
2004-06-03 00:05:29 +00:00
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Gonzalo Paniagua Javier 8a88b9bd57 typo
svn path=/trunk/mcs/; revision=21247
2003-12-16 17:41:03 +00:00
Gonzalo Paniagua Javier e4299678de 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
* ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
	are not [Serializable]. Fixes bug #52244.

svn path=/trunk/mcs/; revision=21246
2003-12-16 17:36:10 +00:00
Ben Maurer 8420bd11b0 2003-11-30 Ben Maurer <[email protected]>
* LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
	reduction.

	* ObjectStateFormatter.cs: Comment out tracing.

svn path=/trunk/mcs/; revision=20647
2003-12-01 01:07:45 +00:00
Gonzalo Paniagua Javier 6162bd2ef5 fix build on windows.
svn path=/trunk/mcs/; revision=20381
2003-11-24 13:14:56 +00:00
Ben Maurer ad8bbec4ba 2003-11-22 Ben Maurer <[email protected]>
* ObjectStateFormatter.cs: Fix bug when reading small ints.
	Add some tracing so we can see what is going on.

svn path=/trunk/mcs/; revision=20343
2003-11-22 22:04:38 +00:00
Ben Maurer 46a2f42592 2003-11-21 Ben Maurer <[email protected]>
* ObjectStateFormatter.cs: v2 file. In v1.x this will be
	internal as LosFormatter will eventually use it to save
	the view state.

svn path=/trunk/mcs/; revision=20329
2003-11-22 04:31:31 +00:00