Imported Upstream version 4.6.0.125

Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-03 10:59:49 +00:00
parent a569aebcfd
commit e79aa3c0ed
17047 changed files with 3137615 additions and 392334 deletions

View File

@@ -1,30 +0,0 @@
2008-11-19 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: made System.Web.Extensions_test_net_2_0 a
friend assembly.
2008-04-28 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: disable the ScriptResource attributes - we do
not have the translations in place. Enabling the attributes
without the .resx present, causes manifest resource missing
exceptions to be thrown. Fixes bug #84144
2008-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* AssemblyInfo.cs: Added missing attributes
2008-03-13 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: version changed to 3.5.0.0 for the 3.5
profile.
2008-03-12 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: use version 3.6.0.0 for the 3.5 profile, as
that's the latest .NET version of the assembly for .NET 3.5
2007-12-04 Marek Safar <marek.safar@gmail.com>
* ChangeLog: Added

View File

@@ -1,183 +0,0 @@
2010-04-28 Marek Habersack <mhabersack@novell.com>
* Makefile (OTHER_LIB_MCS_FLAGS): added a reference to
System.Web.ApplicationServices in the 4.0 profile.
2009-12-15 Marek Habersack <mhabersack@novell.com>
* System.Web.Extensions_test.dll.sources: added
System.Web.UI.WebControls/ListViewPagedDataSourceTest.cs
2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : add -r:System.ServiceModel.
* System.Web.Extensions_test.dll.sources : add ProxyGeneratorTest.cs.
2009-07-06 Raja R Harinath <harinath@hurrynot.org>
* Makefile (TEST_MCS_FLAGS): Reference SystemWebTestShim.
2009-05-26 Marek Habersack <mhabersack@novell.com>
* Test/System.Web.UI/ScriptReferenceBaseTest.cs: added tests for
ReplaceExtension
* System.Web.Extensions_test.dll.sources: added
System.Web.UI/ScriptReferenceBaseTest.cs
* System.Web.Extensions.dll.sources: added
System.Web.UI/ScriptReferenceBase.cs
2008-11-28 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : add NUNIT_RESOURCE_FILES to dist.
2008-11-20 Marek Habersack <mhabersack@novell.com>
* System.Web.Extensions.dll.sources: added
System.Web.ClientServices and System.Web.ClientServices.Providers
Sorted contents for easier reading and modification.
2008-11-19 Marek Habersack <mhabersack@novell.com>
* Makefile (NUNIT_RESOURCE_FILES): added
* System.Web.Extensions_test.dll.sources: added the system.web
Mainsoft test suite files.
Added new test files.
2008-11-18 Marek Habersack <mhabersack@novell.com>
* System.Web.Extensions.dll.sources: added
./System.Web.UI.WebControls/ListViewTableCell.cs
Added ./System.Web.Query.Dynamic/DynamicClass.cs and
./System.Web.Query.Dynamic/ParseException.cs
Added ./System.Web.UI.WebControls/ListViewContainer.cs
2008-11-15 Marek Habersack <mhabersack@novell.com>
* System.Web.Extensions.dll.sources: added
System.Web.UI.WebControls/DataPagerCommandEventArgs.cs
2008-10-30 Marek Habersack <mhabersack@novell.com>
* System.Web.Extensions.dll.sources: added
./System.Web.UI.WebControls/TemplatePagerField.cs
* System.Web.Extensions_test.dll.sources: added
System.Web.UI.WebControls/EventRecorder.cs,
System.Web.UI.WebControls/ListViewTest.cs,
System.Web.UI.WebControls/DataPagerFieldCollectionTest.cs
2008-10-17 Jonathan Pryor <jpryor@novell.com>
* Test/Makefile: Add doc-update target support.
2008-10-08 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: add reference to S.D.Linq.
2008-09-30 Marek Habersack <mhabersack@novell.com>
* Makefile (LIB_MCS_FLAGS): added -define:NET_3_5 as the 3.5 parts
of the assembly are now built as part of the 2.0 profile.
2008-09-19 Marek Habersack <mhabersack@novell.com>
* System.Web.Extensions.dll.sources: removed most of the
Newtonsoft JSON code, leaving only ReflectionUtils and
JavaScriptUtils.
2008-09-18 Marek Safar <marek.safar@gmail.com>
* Makefile: Add System.Core reference.
2008-09-18 Atsushi Enomoto <atsushi@ximian.com>
* System.Web.Extensions.dll.sources: added LinqDataSource stuff.
2008-09-17 Marek Habersack <mhabersack@novell.com>
* System.Web.Extensions.dll.sources: added
System.Web.Script.Serialization/Json.cs,
System.Web.Script.Serialization/JsonSerializer.cs and
System.Web.Script.Serialization/StringBuilderExtensions.cs
* System.Web.Script.Serialization/Json.cs: helper class to invoke
de/serializer.
* System.Web.Script.Serialization/JsonSerializer.cs: new
implementation of Json serializer that is free of issues found in
the old one (and faster + simpler).
* System.Web.Script.Serialization/JavaScriptSerializer.cs: staging
transition to the new Json (de)serializer. For now deserialization
is done using the old JSON code, serialization uses the new
serializer.
* System.Web.Script.Serialization/StringBuilderExtensions.cs: a
set of simple StringBuilder extension methods which check the size
of the builder against some value and throw an exception if the
value is exceeded.
2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
* System.Web.Extensions.dll.sources :
added sys.web.DynamicData types.
2008-08-30 Marek Habersack <mhabersack@novell.com>
* System.Web.Script.Serialization/JavaScriptSerializer.cs: if the
target type is an IDictionary with value type of System.Object,
make sure to NOT convert any values.
Any values descendant from JavaScriptSerializer.LazyDictionary are
converted to Dictionary <string, object>
2008-08-28 Marek Habersack <mhabersack@novell.com>
* System.Web.Script.Services/LogicalTypeInfo.cs: Invoke does not
convert context to System.Object.
If context is descendant from JavaScriptSerializer.LazyDictionary
it is converted to a regular Dictionary <string, object> before
passing to the service method.
* System.Web.Script.Serialization/JavaScriptSerializer.cs:
correctly handle members which have an interface as their return
type - several known interfaces are converted to implementing
types.
2008-08-22 Marek Habersack <mhabersack@novell.com>
* Test/System.Web.Script.Serialization/JavaScriptSerializerTest.cs:
marked several of the JavaScriptSerializer tests as not
working. Experiments show that the tests are invalid as they relay
on behavior which is different to .NET's.
* System.Web.Script.Serialization/JavaScriptSerializer.cs:
GetConverter now checks whether the requested type is descendant
from the type supported by teh converter.
2008-06-11 Marek Habersack <mhabersack@novell.com>
* Test/System.Web.UI/ScriptBehaviorDescriptorTest.cs,
Test/System.Web.UI/ScriptComponentDescriptorTest.cs,
Test/System.Web.UI/ScriptControlDescriptorTest.cs: disabled
tests relying on the Dictionary keys order.
2008-05-07 Marek Habersack <mhabersack@novell.com>
* ChangeLog: added and moved entries from ../ChaneLog to here.
* Makefile (RESOURCE_FILES): partially revert r102022 - always use
the 3.5.0.0 script library. Fixes bug #384580
2008-04-29 Marek Habersack <mhabersack@novell.com>
* System.Web.Extensions/Makefile (EXTRA_DISTFILES): include all
the Microsoft AJAX library scripts in the dist tarball.
2008-04-28 Marek Habersack <mhabersack@novell.com>
* System.Web.Extensions/Makefile (RESOURCE_FILES): for the 2.0
profile use the 1.0.61025.0 scripts.

View File

@@ -39,7 +39,7 @@ NUNIT_RESOURCE_FILES= \
CLASSLIB_DIR = $(topdir)/class/lib/$(PROFILE)
STANDALONE_RUNNER_SUPPORT_ASSEMBLY = $(CLASSLIB_DIR)/standalone-runner-support.dll
STANDALONE_TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) $(PROFILE_MCS_FLAGS) -debug:full -r:$(STANDALONE_RUNNER_SUPPORT_ASSEMBLY) -r:System.Web.dll -r:System.Web.Extensions.dll -r:nunit.framework.dll
STANDALONE_TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) $(PROFILE_MCS_FLAGS) -r:$(STANDALONE_RUNNER_SUPPORT_ASSEMBLY) -r:$(topdir)/class/lib/$(PROFILE)/System.Web.dll -r:$(topdir)/class/lib/$(PROFILE)/System.Web.Extensions.dll -r:$(topdir)/class/lib/$(PROFILE)/nunit.framework.dll
STANDALONE_TEST_ASSEMBLY = System.Web.Extensions_standalone_test_$(PROFILE).dll
STANDALONE_TEST_MAKEFRAG = $(depsdir)/$(STANDALONE_TEST_ASSEMBLY).makefrag
@@ -49,20 +49,20 @@ ifdef TESTNAME
RUN_STANDALONE += --test=$(TESTNAME)
endif
ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
OTHER_LIB_MCS_FLAGS += -r:System.Web.ApplicationServices.dll
endif
LIB_REFS = System System.Core System.Drawing System.Data System.Data.Linq System.Xml System.Web System.Web.Services System.Configuration System.EnterpriseServices System.ServiceModel
LIB_MCS_FLAGS = \
-unsafe \
-define:NET_3_5 \
-define:SYSTEM_WEB_EXTENSIONS \
-r:$(corlib) \
$(OTHER_LIB_MCS_FLAGS) \
$(RESOURCE_FILES:%=/resource:%)
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -doc:$(test_lib:.dll=.xml) -nowarn:219,169,1591 $(NUNIT_RESOURCE_FILES:%=/resource:%) -r:SystemWebTestShim.dll -define:SYSTEM_WEB_EXTENSIONS
ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
LIB_REFS += System.Web.ApplicationServices
endif
TEST_LIB_REFS = SystemWebTestShim
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -doc:$(test_lib:.dll=.xml) -nowarn:219,169,1591 $(NUNIT_RESOURCE_FILES:%=/resource:%) -define:SYSTEM_WEB_EXTENSIONS
EXTRA_DISTFILES = $(RESOURCE_FILES_DIST) $(NUNIT_RESOURCE_FILES) \
System.Web.Extensions_standalone_test.dll.sources \

View File

@@ -1,8 +0,0 @@
2008-11-20 Marek Habersack <mhabersack@novell.com>
* ClientFormsAuthenticationCredentials.cs,
ClientFormsAuthenticationMembershipProvider.cs,
ClientRoleProvider.cs, ClientSettingsProvider.cs,
ClientWindowsAuthenticationMembershipProvider.cs,
IClientFormsAuthenticationCredentialsProvider.cs,
SettingsSavedEventArgs.cs, UserValidatedEventArgs.cs: added (stubs)

View File

@@ -1,4 +0,0 @@
2008-11-20 Marek Habersack <mhabersack@novell.com>
* ClientFormsIdentity.cs, ClientRolePrincipal.cs,
ConnectivityStatus.cs: added (stubs)

View File

@@ -1,5 +0,0 @@
2009-08-17 Marek Habersack <mhabersack@novell.com>
* ScriptingJsonSerializationSection.cs: MaxJsonLength default
value is 2097152 for .NET 3.5+

View File

@@ -1,11 +0,0 @@
2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
* DynamicDataSourceOperation.cs, DynamicValidatorEventArgs.cs,
IDynamicDataSource.cs, IDynamicValidatorException.cs :
oops, everything went into wrong namespace.
2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
* DynamicDataSourceOperation.cs, DynamicValidatorEventArgs.cs,
IDynamicDataSource.cs, IDynamicValidatorException.cs :
new in 3.5 SP1.

View File

@@ -1,6 +0,0 @@
2010-07-08 Marek Habersack <mhabersack@novell.com>
* ScriptModule.cs: PostAcquireRequestState must check if the
current context and the current handler aren't null before
attempting to use them.

View File

@@ -1,6 +0,0 @@
2008-11-18 Marek Habersack <mhabersack@novell.com>
* DynamicClass.cs: added
* ParseException.cs: added

View File

@@ -1,79 +0,0 @@
2009-08-18 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializer.cs: read converters from the config only if
explicitly requested.
2009-08-17 Marek Habersack <mhabersack@novell.com>
* JsonSerializer.cs: serialize fields before properties.
* JavaScriptSerializer.cs: MaxJsonLength default value for .NET
3.5 is 2097152
2009-03-17 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializer.cs: if conversion of IDictionary or
IDictionary <K,V> to an object is requested, make sure that a
concrete type is used (in both cases Dictionary <string, object>).
Make sure that if the target type is an IDictionary<K,V> that the
key is either an object or a string.
2009-03-06 Marek Habersack <mhabersack@novell.com>
* JsonDeserializer.cs: unquoted key values must ignore leading
and trailing whitespace
2008-12-05 Marek Habersack <mhabersack@novell.com>
* JsonSerializer.cs: StringBuilder extension methods aren't used
anymore, changed to calls to static methods in
StringBuilderExtensions.
* StringBuilderExtensions.cs: cannot use extension methods here
because this file is also used in the version 1.0 build which
doesn't reference System.Core
2008-10-22 Marek Habersack <mhabersack@novell.com>
* JsonDeserializer.cs: object can contain more than one unquoted
keys.
2008-09-23 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializer.cs: removed the LazyDictionary class, it's
not needed anymore.
2008-09-23 Juraj Skripsky <js@hotfeet.ch>
* JsonSerializer.cs: "SerializeGenericDictionary" is an instance method,
fix retrieval of its MethodInfo.
Initialize serializeGenericDictionaryMethods (lazily).
Add and use GetClosedIDictionaryBase to also handle cases where a
non-generic class implements a closed IDictionary<,> (e.g.
SomeDictionary : IDictionary<string, object>). Fixes bug #424704.
First check for IDictionary<,>, then for IDictionary.
2008-09-20 Marek Habersack <mhabersack@novell.com>
* JsonDeserializer.cs: added support for stand-alone NaN, Infinity
and -Infinity values, as well as the same within an array.
2008-09-19 Marek Habersack <mhabersack@novell.com>
* Json.cs: added new Serialize overload which takes a TextWriter
for its output parameter.
Added Deserialize methods.
* JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
Added new Serialize overload which takes a TextWriter for its
output parameter.
Added WriteValue overloads for float and double - they must not be
converted to strings as IConvertibles because their Max/MinValue
end up converted incorrectly.
* JavaScriptSerializer.cs: adjustments for the new JSON
(de)serializer.
* JsonDeserializer.cs: new JSON deserializer code, fully compliant
with the .NET AJAX one.

View File

@@ -1,28 +0,0 @@
2008-08-28 Marek Habersack <mhabersack@novell.com>
* JsonSerializer.cs: each value stored in an enumerable is treated
as a top-level object.
2008-08-22 Marek Habersack <mhabersack@novell.com>
* JsonSerializer.cs: do not perform deep object serialization - it
results in all kinds of problems (including too big size of the
resulting string, recursion errors when two or more objects in the
hierarchy hold a reference to some object) and is not what .NET
code does.
Property name is written only after it is determined if we're
serializing the property or not.
Entire object is serialized only if it's the object requested for
serialization by calling code.
2008-08-19 Marek Habersack <mhabersack@novell.com>
* JsonSerializer.cs: implemented a work-around for a bug in the
SerializedLazyDictionary which would fail to serialize a type if
any of its properties would throw an exception.
2008-05-20 Jb Evain <jbevain@novell.com>
*.cs: all files from JSon.NET are now re-licensed under the
MIT/X11 license, thanks to his author James Newton-King
for relicensing them.

View File

@@ -473,22 +473,22 @@ namespace System.Web.Script.Serialization
case JsonType.INTEGER:
/* MS AJAX.NET JSON parser promotes big integers to double */
if (Int32.TryParse (s, out intValue))
if (Int32.TryParse (s, NumberStyles.Integer, CultureInfo.InvariantCulture, out intValue))
result = intValue;
else if (Int64.TryParse (s, out longValue))
else if (Int64.TryParse (s, NumberStyles.Integer, CultureInfo.InvariantCulture, out longValue))
result = longValue;
else if (Decimal.TryParse (s, out decimalValue))
else if (Decimal.TryParse (s, NumberStyles.Integer, CultureInfo.InvariantCulture, out decimalValue))
result = decimalValue;
else if (Double.TryParse (s, out doubleValue))
else if (Double.TryParse (s, NumberStyles.Integer, CultureInfo.InvariantCulture, out doubleValue))
result = doubleValue;
else
converted = false;
break;
case JsonType.FLOAT:
if (Decimal.TryParse (s, out decimalValue))
if (Decimal.TryParse (s, NumberStyles.Float, CultureInfo.InvariantCulture, out decimalValue))
result = decimalValue;
else if (Double.TryParse (s, out doubleValue))
else if (Double.TryParse (s, NumberStyles.Float, CultureInfo.InvariantCulture, out doubleValue))
result = doubleValue;
else
converted = false;

View File

@@ -1,57 +0,0 @@
2010-01-18 Marek Habersack <mhabersack@novell.com>
* LogicalTypeInfo.cs: partial revert of r146546. The 'd' wrapper
(and thus the JsonResult class) is needed after all. Fixes bug
#571365
2009-11-19 Marek Habersack <mhabersack@novell.com>
* LogicalTypeInfo.cs: removed the JsonResult class - it has no use
and it can break applications (e.g. Umbraco)
2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
* LogicalTypeInfo.cs, RestHandler.cs : add support for WCF proxy
generator. Make LogicalTypeInfo and LogicalMethodInfo abstract
and create sets of derivation for asmx and WCF. Large part of the
code still lives in abstract class, being reduced dependency on
ScriptServiceAttribute.
2009-08-15 Marek Habersack <mhabersack@novell.com>
* LogicalTypeInfo.cs: make sure JavaScriptSerializer instance used
here reads custom converters from web.config. Fixes bug #525589
2009-06-14 Robert Jordan <robertj@gmx.net>
* ScriptHandlerFactory.cs: handle precompiled web services.
2009-04-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ClientProxyHandler.cs: set cacheability to public.
2009-04-03 Marek Habersack <mhabersack@novell.com>
* LogicalTypeInfo.cs: don't throw NREX when the passed type
doesn't have a parameterless constructor in
ShouldGenerateScript. Fixes bug #485435
2009-01-26 Marek Habersack <mhabersack@novell.com>
* ClientProxyHandler.cs: before generating the proxy check if the
service type is decorated with the [ScriptService] custom
attribute. Only such service types can be called from client
JavaScript.
2008-09-23 Marek Habersack <mhabersack@novell.com>
* LogicalTypeInfo.cs: do not use
LazyDictionary as enum serializer anymore.
* ProfileService.cs: do not use
LazyDictionary as ProfileService serializer anymore.
* RestHandler.cs: do not use
LazyDictionary as the Exception or NameValueCollection serializer
anymore.

View File

@@ -1,313 +0,0 @@
2010-06-19 Marek Habersack <mhabersack@novell.com>
* DataPager.cs: when rendering the ID attribute, use ClientID
2010-06-18 Marek Habersack <mhabersack@novell.com>
* NumericPagerField.cs: CreateDataPagers outputs correct page
number in query mode. Fixes bug #615315
Rendering changes to match .NET
* DataPagerField.cs: if query string has been handled and query
mode is in effect, return true. Fixes bug #615315
2010-05-18 Marek Habersack <mhabersack@novell.com>
* ListView.cs: if data source has pageable data, get total count
from the source's DataSourceCount property. Fixes bug #604053
2009-12-15 Marek Habersack <mhabersack@novell.com>
* NextPreviousPagerField.cs: HandleEvent doesn't call
DataPager.SetPageProperties with negative start index. Also, if
_totalRowCount is <= 0, new start index is not calculated using
it. Fixes bug #545417
* ListViewPagedDataSource.cs: when server paging is on, data items
are counted from index 0 instead of from the value stored in
StartRowIndex. Fixes bug #545417
* ListView.cs: CreateChildControls doesn't create empty data item
if called with fake data.
When a view reports it can page data, ListViewPagedDataSource
passed to item creation methods has AllowServerPaging set to
true. Fixes bug #545417
When CreateChildControls is called with fake data,
ListViewPagedDataSource has its TotalRowCount property set to the
actual total row count, not zero. Fixes bug #545417
2009-09-15 Marek Habersack <mhabersack@novell.com>
* ListView.cs: CreateChildControls calls EnsureDataBound only if
we're not in post-back and if data binding is required.
2009-09-08 Marek Habersack <mhabersack@novell.com>
* ListView.cs: if total row count has been retrieved from the
view, don't reset it to the number of items returned from the data
source. Fixes bug #535701
2009-09-01 Marek Habersack <mhabersack@novell.com>
* ListView.cs: LoadControlState must call OnTotalRowCountAvailable
after restoring the state, so that all parties subscribed to that
event are given chance to react accordingly.
SetPageProperties should use values stored in
PagePropertiesChangingEventArgs arguments after handler returns.
2009-06-25 Marek Habersack <mhabersack@novell.com>
* LinqDataSource.cs: make ContextType not throw an exception when
ContextTypeName is not set, but rather return a null in that
case.
2009-03-03 Marek Habersack <mhabersack@novell.com>
* ListView.cs: SetPageProperties invoked the
PagePropertiesChanging event with the startRowIndex and
maximumRows parameters reversed. Fixes bugs #481250 and #481252
* DataPagerField.cs: GetQueryModeStartRowIndex must return 'true'
if in query mode. Fixes bug #481248
2008-11-28 Marek Habersack <mhabersack@novell.com>
* ListView.cs: use the _correct_ operator when checking whether
selected item index is within the data keys range.
2008-11-27 Marek Habersack <mhabersack@novell.com>
* ListView.cs: fixes in DoUpdate and DoDelete - check must be made
that the requested item index is _smaller_ than the number of
keys, not _bigger_.
Enable using the lambda expression in CreateItemsInGroups - the
gmcs bug preventing that was fixed.
2008-11-20 Marek Habersack <mhabersack@novell.com>
* ListView.cs: implemented the EditItem property.
Use ConvertEmptyStringToNull in ExtractItemValues.
2008-11-19 Marek Habersack <mhabersack@novell.com>
* ListView.cs: added paremeter checks to AddControlToContainer.
CreateInsertItem must instantiate the template and call raise the
ItemCreated event.
Added parameter checks to FindPlaceholder
2008-11-18 Marek Habersack <mhabersack@novell.com>
* ListViewContainer.cs: added
* ListView.cs: implemented grouping support. With this ListView is
feature complete.
Refactored grouped/non-grouped rendering common code into separate
methods.
FindPlaceholder now looks for the placeholder recursively.
Implemented forgotten UpdateItem method.
Align group with empty items if there are no more data items.
Each group is contained within ListViewContainer.
* ListViewTableCell.cs: added
2008-11-15 Marek Habersack <mhabersack@novell.com>
* ListViewInsertEventArgs.cs: implemented the Values property.
* ListView.cs: CreateChildControls uses the Items collection to
store the created items.
InsertNewItem triggers page validation if necessary.
Part of InsertNewItem code refactored to DoInsert.
Implemented handling of the Insert and Select commands.
* TemplatePagerField.cs: implemented all the code.
* DataPager.cs: CreatePagerFields now adds the new pager field
control before creating data pagers in it and before binding to
data. This avoids situation in which the field is parentless.
FindPageableItemContainer now properly finds the container if it's
placed directly in the Page.
{Load,Save}ViewState don't use a Pair anymore, object array is
used for compatibility with MS.NET
* NumericPagerField.cs, NextPreviousPagerField.cs,
DataPagerFieldCommandEventArgs.cs: minor refactoring
* ListViewSelectEventArgs.cs: implemented all the code.
* ListViewInsertedEventArgs.cs: Values allocates the dictionary on
demand now.
Initialize all the properties in constructor
* DataPagerCommandEventArgs.cs: added
* DataPagerField.cs: implemented IsTrackingViewState
* DataPagerFieldItem.cs: implements the INonBindingContainer
interface.
2008-11-13 Marek Habersack <mhabersack@novell.com>
* ListView.cs: implemented support for Edit, Update and Delete.
Implemented ExtractItemValues.
* ListViewDataItem.cs, ListViewItem.cs: implemented OnBubbleEvent.
* ListViewDeletedEventArgs.cs, ListViewUpdateEventArgs.cs,
ListViewEditEventArgs.cs, ListViewCancelEventArgs.cs,
ListViewDeleteEventArgs.cs, ListViewUpdatedEventArgs.cs:
implemented all the properties and methods.
* HelperExtensions.cs: added
2008-11-06 Marek Habersack <mhabersack@novell.com>
* ListView.cs: implemented the sorting capability.
* ListViewSortEventArgs.cs: implemented all the methods and
properties.
2008-11-01 Marek Habersack <mhabersack@novell.com>
* ListView.cs: do not instantiate the layout template more than
necessary.
* NextPreviousPagerField.cs: moved some common code to the base
class (the GetQueryModeStartRowIndex method)
* DataPager.cs: do not call SetPageProperties more than
necessary.
* NumericPagerField.cs: implemented
* DataPagerField.cs: added a helper method,
GetQueryModeStartRowIndex, to be used by all the concrete
implementations to calculate the starting row index in the query
mode.
2008-10-31 Marek Habersack <mhabersack@novell.com>
* ListView.cs: use StartRowIndex and MaximumRows properties when
calculating the total row count server paging case and when
assigning to corresponding properties of the paged data source.
2008-10-30 Marek Habersack <mhabersack@novell.com>
* DataPagerFieldCollection.cs: implemented most of the methods and
properties, so that using the DataPager is possible now.
* PagePropertiesChangingEventArgs.cs: implemented all the methods
and properties.
* ListView.cs: {Save,Load}ControlState now uses constants to index
state arrays. Total row count is stored in the control state.
CreateChildControls () now uses dummy data to initialize child
controls if no items were found after postback.
CreateChildControls (IEnumerable, bool) now properly calculates
total row count, calls OnTotalRowCountAvailable after creating the
child controls and returns the total row count instead of the
number of created child controls. This makes pager work
correctly.
Implemented SetPageProperties () to support paging.
* NextPreviousPagerField.cs: Correctly order the Next/Previous
buttons.
When creating buttons, cast the new control properly before
assigning properties.
* TemplatePagerField.cs: added (stub)
* DataPager.cs: added missing class attributes (ParseChildren,
PersistChildren and SupportsEventValidation).
{Save,Load}ControlState now use constants to index the state
arrays.
Properly implemented FindPageableItemContainer - it now looks for
the container up the parenthood chain, querying all the naming
containers for the named control.
SetUpForNewContainer now accepts an additional parameter, so that
the SetPageProperties method is called on the container whenever
necessary.
* NumericPagerField.cs: implemented the CreateField method.
* ListViewPagedDataSource.cs: implemented data source
enumerators.
* DataPagerFieldItem.cs: implemented all the methods and properties.
2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
* LinqDataSource.cs : set ContextTypeName too when ContextType is set.
2008-10-09 Atsushi Enomoto <atsushi@ximian.com>
* LinqDataSource.cs : implement ContextType/ContextTypeName.
* LinqDataSourceView.cs : some ExecuteSelect() implementation.
Cache type members which are from reflection.
2008-10-08 Atsushi Enomoto <atsushi@ximian.com>
* LinqDataSource.cs, LinqDataSourceView.cs :
some more implementation.
2008-09-30 Marek Habersack <mhabersack@novell.com>
* ListView.cs: implemented all the events.
CreateChildControls works with non-ICollection data sources now.
CreateItemsWithoutGroups now counts items placed in the container
and stores the container in a field, so that RemoveItems can
properly delete the child controls.
Implemented the RemoveItems method.
Implemented Load/SaveControlState.
Implemented LoadViewState.
Implemented OnBubbleEvent.
Implemented all the On* methods.
* ListViewCommandEventArgs.cs: implemented the CommandSource and
Item properties.
* ListViewItemEventArgs.cs: implemented the Item property.
2008-09-18 Atsushi Enomoto <atsushi@ximian.com>
* LinqDataSource.cs, LinqDataSourceView.cs
LinqDataSourceContextEventArgs.cs
LinqDataSourceDeleteEventArgs.cs
LinqDataSourceDisposeEventArgs.cs
LinqDataSourceInsertEventArgs.cs
LinqDataSourceSelectEventArgs.cs
LinqDataSourceStatusEventArgs.cs
LinqDataSourceUpdateEventArgs.cs : easy implementation parts.
2008-09-18 Atsushi Enomoto <atsushi@ximian.com>
* LinqDataSource.cs, LinqDataSourceView.cs
LinqDataSourceContextEventArgs.cs
LinqDataSourceDeleteEventArgs.cs
LinqDataSourceDisposeEventArgs.cs
LinqDataSourceInsertEventArgs.cs
LinqDataSourceSelectEventArgs.cs
LinqDataSourceStatusEventArgs.cs
LinqDataSourceUpdateEventArgs.cs
LinqDataSourceValidationException.cs : stubbed out.
2008-05-08 Marek Habersack <mhabersack@novell.com>
* DataPager.cs, DataPager.cs, DataPagerFieldCollection.cs,
DataPagerFieldCommandEventArgs.cs, DataPagerField.cs,
DataPagerFieldItem.cs, InsertItemPosition.cs,
IPageableItemContainer.cs, ListViewCancelEventArgs.cs,
ListViewCancelMode.cs, ListViewCommandEventArgs.cs, ListView.cs,
ListViewDataItem.cs, ListViewDeletedEventArgs.cs,
ListViewDeleteEventArgs.cs, ListViewEditEventArgs.cs,
ListViewInsertedEventArgs.cs, ListViewInsertEventArgs.cs,
ListViewItem.cs, ListViewItemEventArgs.cs, ListViewItemType.cs,
ListViewPagedDataSource.cs, ListViewSelectEventArgs.cs,
ListViewSortEventArgs.cs, ListViewTableRow.cs,
ListViewUpdatedEventArgs.cs, ListViewUpdateEventArgs.cs,
NextPreviousPagerField.cs, NumericPagerField.cs, PageEventArgs.cs,
PagePropertiesChangingEventArgs.cs, TemplatePagerField.cs:
added. NOTE: this is code in progress! It is not fully implemented
and usable, please do not file bug reports for the code - patches
are gladly accepted :)

View File

@@ -1,162 +0,0 @@
2010-02-02 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: adjusted script rendering to match .NET
formatting.
* ScriptComponentDescriptor.cs: GetScript adds ID value (if
present) to the set of properties.
GetScript rewritten to use StringBuilder.
* ScriptBehaviorDescriptor.cs: GetScript adds Name, if present and
set by the user, to the descriptor's set of properties. The name
must be rendered to the client.
2009-09-28 Marek Habersack <mhabersack@novell.com>
* UpdatePanel.cs: RenderChildren stores the alternative writer in
a private property, for the benefit of nested child panels. Fixes
bug #542441
* ScriptManager.cs: don't render invisible panel IDs during async
request. Fixes bug #542533
2009-05-26 Marek Habersack <mhabersack@novell.com>
* ScriptReferenceBase.cs: implemented (3.5 SP1)
* ScriptReference.cs: now inherits from the ScriptReferenceBase
class. Implemented all the required methods, removed some
properties which now live in the base class.
* ScriptManager.cs: code refactoring - moved parts of script
registration code to ScriptReference
2009-04-23 Marek Habersack <mhabersack@novell.com>
* AsyncPostBackTrigger.cs: HasTriggered () must look up the
UniqueID of the control specified in the ControlID property or
otherwise it may miss certain triggers.
2009-04-11 Marek Habersack <mhabersack@novell.com>
* UpdatePanel.cs: implemented SingleChildControlCollection to be
used in CreateControlCollection ().
RequiresUpdate not only checks the update mode and explicit update
requests, but also looks if any triggers fired.
Initialize () initializes triggers only if partial rendering is
supported by the ScriptManager.
IsInPartialRendering property no longer returns the value of
ScriptManager.IsInPartialRendering. Instead, it relies on the
value of instance field which can be set using new internal
SetInPartialRendering () method (called from
ScriptManager.RenderPageCallback ())
Simplified the logic in RenderChildren ().
* ScriptManager.cs: no need to register panels for refresh in
OnPreRenderComplete, this is now done in RenderPageCallback.
Modified HasBeenRendered () so that it doesn't query whether the
panel has been explicitly updated by the user, but checks whether
panel is in the list of panels to refresh.
RaisePostDataChangedEvent () doesn't update the panel whose id is
named in the POST request for refresh. This is handled in
RenderPageCallback.
Reverted the changes to WriteCallbackPanel and RenderFormCallback
committed in r129774.
RenderPageCallback now correctly detects panels to be refreshed
(and thus included in the async response).
* AsyncPostBackTrigger.cs, PostBackTrigger.cs: implemented
HasTriggered ().
2009-04-08 Marek Habersack <mhabersack@novell.com>
* ScriptComponentDescriptor.cs: properties/events/references must
be serialized in alphabetical order. This matches what .NET
does. Some 3rd party controls depend upon this fact.
2009-04-07 Marek Habersack <mhabersack@novell.com>
* ScriptComponentDescriptor.cs: new values replace old in
AddEntry.
2009-03-19 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: WriteCallbackPanel is called from
UpdatePanel.RenderChildren and should not output anything for
panels registered as the ones to refresh. If such a panel calls
this method, its output is stored in a dictionary to be used later
in RenderFormCallback.
RenderFormCallback first renders all the form controls. In that
process UpdatePanel instances, if any, may call
WriteCallbackPanel. After that, if there are panels registered for
refresh, another loop over the list is made this time checking
whether any panels left their output in WriteCallbackPanel. If a
panel hasn't done it it is rendered. And last, another check is
done to see if the loop described above caused any panels to leave
output in WriteCallbackPanel. If yes, the output is written to the
text writer.
2009-01-26 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: before registering script service reference
check if the service type is decorated with the [ScriptService]
custom attribute. Only such service types can be called from
client JavaScript.
2008-10-02 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: reverting revision 114552 since the real bug
was somewhere else. The correct fix is to make sure UpdatePanels
which output something _or_ have been named in the POST request as
requiring a refresh are marked as such. Only in that situation
HasBeenRendered returns true (as it should for those panels)
Cosmetical output change - the hidden fields are output after the
update panels contents is sent in an async request. It makes the
async response look similar to the MS.NET's one but, more
importantly, makes debugging easier.
2008-09-23 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: CultureInfoSerializer no longer derives from
the obsolete LazyDictionary.
2008-09-01 Marek Habersack <mhabersack@novell.com>
* UpdatePanel.cs: if the writer passed to RenderChildren is not
derived from ScriptManager.AlternativeHtmlTextWriter, check
whether its InnerWriter derives from that type and, if yes, use
it from that point onwards.
2008-08-13 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: always request the webform.js script to be
present. It may happen that a control during a dynamic update will
need to call one of the WebForm_* functions and the call will fail
as the script will be absent.
If debugging is enabled, send the full exception backtrace in
WriteCallbackException - helps debugging AJAX errors.
2008-08-08 Marek Habersack <mhabersack@novell.com>
* UpdatePanel.cs: do not check whether a panel whose children are
to be rendered has been marked for update in the async postback
mode. It prevents complex scenarios where there is one superior
update panel which owns an inferior one, and only the superior one
has Update called on it.
2008-06-05 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: do not throw NREX when there are no profile or
authentication service sections in the config files.
2008-05-15 Marek Habersack <mhabersack@novell.com>
* AsyncPostBackTrigger.cs: don't thrown an exception if EventName
is null or empty and there is no DefaultEventAttribute attached to
the control.
2008-05-14 Marek Habersack <mhabersack@novell.com>
* ScriptComponentDescriptor.cs: do not add the same
entry twice to a dictionary.

View File

@@ -1,38 +0,0 @@
2009-08-17 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializerTest.cs: fixed broken tests
2009-06-18 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializerTest.cs: added comparison with the
.NET-generated serialization result in TestDeserialize and
TestDeserializeTypeResolver tests.
2009-03-17 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializerTest.cs: added tests for conversion to
IDictionary and IDictionary <K,V> types.
2009-03-06 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializerTest.cs: added a test for unquoted tests
surrounded with spaces.
2008-10-22 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializerTest.cs: added tests for deserialization of
objects with more than one unquoted key names.
2008-09-20 Juraj Skripsky <js@hotfeet.ch>
* JavaScriptSerializerTest.cs: added test for bug #424704.
2008-09-20 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializerTest.cs: added some tests
2008-09-19 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializerTest.cs: enabled some tests which were
failing with the old (de)serializer, but work with the new one.

View File

@@ -1,4 +0,0 @@
2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
* ProxyGeneratorTest.cs : new test, for WCF AJAX interop.

View File

@@ -1,30 +0,0 @@
2009-06-18 Marek Habersack <mhabersack@novell.com>
* ListViewTest.cs: hushed the output in ListView_Edit ()
2008-11-20 Marek Habersack <mhabersack@novell.com>
* ListViewTest.cs: added tests for several properties.
2008-11-19 Marek Habersack <mhabersack@novell.com>
* EventRecorder.cs: class is now serializable.
* ListViewTest.cs: use system.web Mainsoft test framework.
ListViewPoker is now able to record events.
Added wrappers for ListView protected methods to ListViewPoker,
Added two simple test ITemplate classes.
Added tests for initial values.
Added tests for all the methods which can be tested in a simple
way, without using a real asp.net page.
Added test for the Edit functionality.
2008-10-30 Marek Habersack <mhabersack@novell.com>
* DataPagerFieldCollectionTest.cs: created. Some basic tests for
DataPagerFieldCollection
* EventRecorder.cs: created. A helper class for tests.
* ListViewTest.cs: created. Some basic test for ListView.

View File

@@ -1,6 +0,0 @@
2010-02-02 Marek Habersack <mhabersack@novell.com>
* ScriptBehaviorDescriptorTest.cs,
ScriptComponentDescriptorTest.cs: added tests for rendering of the
Name and ID properties.

Some files were not shown because too many files have changed in this diff Show More