You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -1,171 +0,0 @@
|
||||
2009-10-27 Marek Habersack <mhabersack@novell.com>
|
||||
|
||||
* ProfileBase.cs: CreateSettingsProperty sets the returned
|
||||
property's DefaultValue to String.Empty if no default is specified
|
||||
through the DefaultSettingValue attribute and the associated
|
||||
property type is String.
|
||||
|
||||
2009-10-22 Marek Habersack <mhabersack@novell.com>
|
||||
|
||||
* ProfileBase.cs: put named entries into SettingProperty's
|
||||
Attributes collection based on custom attributes decorating the
|
||||
associated profile property.
|
||||
|
||||
* CustomProviderDataAttribute.cs: implemented IsDefaultAttribute
|
||||
|
||||
2009-09-08 Marek Habersack <mhabersack@novell.com>
|
||||
|
||||
* ProfileParser.cs: GetProfileGroupType creates type name with
|
||||
"ProfileGroup" prefix instead of "ProfileCommon". Fixes bug
|
||||
#535655
|
||||
|
||||
* ProfileBase.cs: typo fix - renamed CreateSettingsPropery to
|
||||
CreateSettingsProperty
|
||||
|
||||
2008-12-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
|
||||
|
||||
* SqlProfileProvider.cs: use IndexOf (char).
|
||||
|
||||
2008-06-30 Marek Habersack <mhabersack@novell.com>
|
||||
|
||||
* SqliteProfileProvider.cs: remove unused method
|
||||
|
||||
2008-05-30 Marek Habersack <mhabersack@novell.com>
|
||||
|
||||
* ProfileModule.cs: do not use synthetized event accessors (to
|
||||
avoid locks).
|
||||
|
||||
2007-12-30 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* SqlProfileProvider.cs: added db schema checking
|
||||
|
||||
2007-12-13 Marek Habersack <mhabersack@novell.com>
|
||||
|
||||
* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
|
||||
use String.Concat instead of String.Format in some cases.
|
||||
|
||||
2007-12-12 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* ProfileParser.jvm.cs: Profile types loading optimized
|
||||
|
||||
2007-12-11 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* ProfileManager.cs: fixed Providers property to be thread safe
|
||||
|
||||
2007-12-08 Marek Habersack <mhabersack@novell.com>
|
||||
|
||||
* SqliteProfileProvider.cs: added - a Profile Provider for
|
||||
Sqlite, based on PostgreSQL Profile Provider code from Daniel
|
||||
Nauck <dna@informatik.uni-kiel.de>
|
||||
|
||||
2007-10-15 Marek Habersack <mhabersack@novell.com>
|
||||
|
||||
* ProfileBase.cs: use HttpApplication.LoadType instead of
|
||||
Type.GetType.
|
||||
|
||||
2007-08-14 Marek Habersack <mhabersack@novell.com>
|
||||
|
||||
* SqlProfileProvider.cs: remove unused variable.
|
||||
|
||||
2007-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* ProfileBase.cs: fixed typo bug in InitProperties
|
||||
|
||||
2007-05-21 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* ProfileModule.cs: OnLeave checks if Profile was accessed during a
|
||||
request
|
||||
|
||||
2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
|
||||
|
||||
* ProfileManager.cs:
|
||||
if default provider was not found ConfigurationErrorsException is thrown.
|
||||
|
||||
2007-03-14 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* ProfileParser.jvm.cs: performance optimization
|
||||
|
||||
2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* ProfileModule.cs: fixed OnLeave, AutomaticSaveEnabled should be
|
||||
checked before save
|
||||
|
||||
2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* ProfileBase.cs: fixed SetPropertyValue, allow anonymous attribute
|
||||
check added on property value set
|
||||
|
||||
2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* ProfileBase.cs: added inherited properties properties initialization
|
||||
|
||||
2006-12-26 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* ProfileGroupBase.cs: fixed property name while getting from parent
|
||||
|
||||
2006-12-26 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* ProfileParser.jvm.cs: implemented PageMapper call
|
||||
* ProfileBase.cs: fixed SettingsProperty type resolving,
|
||||
added SettingsProperty validation
|
||||
|
||||
2006-12-20 Marek Habersack <grendello@gmail.com>
|
||||
|
||||
* ProfileParser.cs: use App_Code compiler to get the assembly
|
||||
where the ProfileCommon class is found.
|
||||
|
||||
2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* ProfileBase.cs, ProfileGroupBase.cs, ProfileManager.cs,
|
||||
ProfileModule.cs, ProfileProviderCollection.cs, SqlProfileProvider.cs:
|
||||
implemented profile feature
|
||||
* added: ProfileParser.cs, ProfileParser.jvm.cs stubs for profile
|
||||
helper classes compilation
|
||||
|
||||
2006-02-28 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* ProfileBase.cs: corcompare work.
|
||||
|
||||
* SqlProfileProvider.cs: add stubbed out file.
|
||||
|
||||
2005-11-30 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* ProfileBase.cs (Properties): mark as override, not static.
|
||||
|
||||
* ProfileProviderCollection.cs (ProfileProvider): mark as "new" to
|
||||
fix warning.
|
||||
|
||||
2005-11-18 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* ProfileModule.cs: hook up saving of the request's profile.
|
||||
|
||||
* ProfileBase.cs (Save): call base.Save instead of throwing NIE.
|
||||
|
||||
2005-11-03 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* ProfileEventArgs.cs, ProfileProviderCollection.cs,
|
||||
ProfileAutoSaveEventArgs.cs, ProfileMigrateEventArgs.cs,
|
||||
ProfileBase.cs, ProfileManager.cs,
|
||||
SettingsAllowAnonymousAttribute.cs, ProfileProviderAttribute.cs,
|
||||
ProfileEventHandler.cs, CustomProviderDataAttribute.cs,
|
||||
DefaultProfile.cs, ProfileModule.cs,
|
||||
ProfileAutoSaveEventHandler.cs, ProfileGroupBase.cs,
|
||||
ProfileMigrateEventHandler.cs: 90% unimplemented skeletons.
|
||||
|
||||
* ProfileInfoCollection.cs: make serializable.
|
||||
|
||||
* ProfileAuthenticationOption.cs: fix ordering of enum elements.
|
||||
|
||||
2005-11-03 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* ProfileInfoCollection.cs: new implementation.
|
||||
|
||||
* ProfileProvider.cs: new implementation.
|
||||
|
||||
2005-08-19 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* ProfileInfo.cs: I was bored. implement this.
|
||||
|
||||
2004-08-02 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* ProfileAuthenticationOption.cs: Added enumeration.
|
@@ -1,43 +0,0 @@
|
||||
//
|
||||
// System.Web.UI.WebControls.DefaultProfile.cs
|
||||
//
|
||||
// Authors:
|
||||
// Chris Toshok (toshok@ximian.com)
|
||||
//
|
||||
// (C) 2005 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Configuration;
|
||||
|
||||
namespace System.Web.Profile
|
||||
{
|
||||
public class DefaultProfile : ProfileBase
|
||||
{
|
||||
[MonoTODO("Currently does nothing")]
|
||||
public DefaultProfile ()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,37 +0,0 @@
|
||||
//
|
||||
// System.Web.Profile.ProfileAuthenticationOption.cs
|
||||
//
|
||||
// Authors:
|
||||
// Duncan Mak (duncan@ximian.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
|
||||
namespace System.Web.Profile
|
||||
{
|
||||
public enum ProfileAuthenticationOption
|
||||
{
|
||||
Anonymous = 0,
|
||||
Authenticated = 1,
|
||||
All = 2
|
||||
}
|
||||
}
|
@@ -1,92 +0,0 @@
|
||||
//
|
||||
// System.Web.Profile.ProfileInfo.cs
|
||||
//
|
||||
// Authors:
|
||||
// Chris Toshok (toshok@ximian.com)
|
||||
//
|
||||
// (C) 2005 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
using System;
|
||||
|
||||
namespace System.Web.Profile
|
||||
{
|
||||
[Serializable]
|
||||
public class ProfileInfo
|
||||
{
|
||||
string user_name;
|
||||
bool is_anonymous;
|
||||
DateTime last_activity_date;
|
||||
DateTime last_updated_date;
|
||||
int size;
|
||||
|
||||
protected ProfileInfo ()
|
||||
{
|
||||
}
|
||||
|
||||
public ProfileInfo (string username,
|
||||
bool isAnonymous,
|
||||
DateTime lastActivityDate,
|
||||
DateTime lastUpdatedDate,
|
||||
int size)
|
||||
{
|
||||
user_name = username;
|
||||
is_anonymous = isAnonymous;
|
||||
last_activity_date = lastActivityDate;
|
||||
last_updated_date = lastUpdatedDate;
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public virtual bool IsAnonymous
|
||||
{
|
||||
get {
|
||||
return is_anonymous;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual DateTime LastActivityDate
|
||||
{
|
||||
get {
|
||||
return last_activity_date;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual DateTime LastUpdatedDate {
|
||||
get {
|
||||
return last_updated_date;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual int Size {
|
||||
get {
|
||||
return size;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string UserName {
|
||||
get {
|
||||
return user_name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -1,127 +0,0 @@
|
||||
//
|
||||
// System.Web.Profile.ProfileInfoCollection.cs
|
||||
//
|
||||
// Authors:
|
||||
// Chris Toshok (toshok@ximian.com)
|
||||
//
|
||||
// (C) 2005 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
namespace System.Web.Profile
|
||||
{
|
||||
[Serializable]
|
||||
public sealed class ProfileInfoCollection : ICollection, IEnumerable
|
||||
{
|
||||
public ProfileInfoCollection()
|
||||
{
|
||||
list = new ArrayList ();
|
||||
}
|
||||
|
||||
public void Add (ProfileInfo profileInfo)
|
||||
{
|
||||
if (readOnly)
|
||||
throw new NotSupportedException ();
|
||||
|
||||
list.Add (profileInfo);
|
||||
}
|
||||
|
||||
public void Clear ()
|
||||
{
|
||||
if (readOnly)
|
||||
throw new NotSupportedException ();
|
||||
|
||||
list.Clear ();
|
||||
}
|
||||
|
||||
public void CopyTo (System.Array array, int index)
|
||||
{
|
||||
list.CopyTo (array, index);
|
||||
}
|
||||
|
||||
public void CopyTo (ProfileInfo[ ] array, int index)
|
||||
{
|
||||
list.CopyTo (array, index);
|
||||
}
|
||||
|
||||
public IEnumerator GetEnumerator ()
|
||||
{
|
||||
return list.GetEnumerator ();
|
||||
}
|
||||
|
||||
public void Remove (string name)
|
||||
{
|
||||
if (readOnly)
|
||||
throw new NotSupportedException ();
|
||||
|
||||
for (int i = 0; i < list.Count; i ++) {
|
||||
ProfileInfo info = (ProfileInfo)list[i];
|
||||
if (info.UserName == name) {
|
||||
list.Remove (i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void SetReadOnly ()
|
||||
{
|
||||
readOnly = true;
|
||||
}
|
||||
|
||||
public int Count {
|
||||
get {
|
||||
return list.Count;
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsSynchronized {
|
||||
get {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public object SyncRoot {
|
||||
get {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public ProfileInfo this [string name] {
|
||||
get {
|
||||
for (int i = 0; i < list.Count; i ++) {
|
||||
ProfileInfo info = (ProfileInfo)list[i];
|
||||
if (info.UserName == name) {
|
||||
return info;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
ArrayList list;
|
||||
bool readOnly;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user