From a5e533b8f793626ccae2c7b2f46bbb476bfce1f0 Mon Sep 17 00:00:00 2001 From: ncruces Date: Wed, 16 Dec 2015 18:42:38 +0000 Subject: [PATCH 01/92] Fix infinite recursion. --- Akavache/Portable/JsonSerializationMixin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Akavache/Portable/JsonSerializationMixin.cs b/Akavache/Portable/JsonSerializationMixin.cs index 1bf7481dc..f98ed1d7f 100644 --- a/Akavache/Portable/JsonSerializationMixin.cs +++ b/Akavache/Portable/JsonSerializationMixin.cs @@ -42,7 +42,7 @@ public static IObservable InsertObject(this IBlobCache This, string key public static IObservable InsertAllObjects(this IBlobCache This, IDictionary keyValuePairs, DateTimeOffset? absoluteExpiration = null) { var objCache = This as IObjectBlobCache; - if (objCache != null) return objCache.InsertAllObjects(keyValuePairs, absoluteExpiration); + if (objCache != null) return objCache.InsertObjects(keyValuePairs, absoluteExpiration); throw new NotImplementedException(); } From 8f6d649a7015f36ba152056d90563f3b21832312 Mon Sep 17 00:00:00 2001 From: ncruces Date: Wed, 16 Dec 2015 18:54:27 +0000 Subject: [PATCH 02/92] Add missing absoluteExpiration. --- Akavache/Portable/BulkOperationsMixin.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Akavache/Portable/BulkOperationsMixin.cs b/Akavache/Portable/BulkOperationsMixin.cs index b7ec5c208..32165c94d 100644 --- a/Akavache/Portable/BulkOperationsMixin.cs +++ b/Akavache/Portable/BulkOperationsMixin.cs @@ -31,7 +31,7 @@ public static IObservable Insert(this IBlobCache This, IDictionary This.Insert(x.Key, x.Value)) + .SelectMany(x => This.Insert(x.Key, x.Value, absoluteExpiration)) .TakeLast(1); } @@ -76,7 +76,7 @@ public static IObservable InsertObjects(this IBlobCache This, IDictiona if (bulkCache != null) return bulkCache.InsertObjects(keyValuePairs, absoluteExpiration); return keyValuePairs.ToObservable() - .SelectMany(x => This.InsertObject(x.Key, x.Value)) + .SelectMany(x => This.InsertObject(x.Key, x.Value, absoluteExpiration)) .TakeLast(1); } From eba0e2ce176cda39c293b1150cf5ca5512945450 Mon Sep 17 00:00:00 2001 From: Dennis Daume Date: Tue, 22 Dec 2015 12:26:16 +0100 Subject: [PATCH 03/92] Remove some unused code This is especially important when using Akavache on iOS or Android, to keep the package size down --- Akavache.Sqlite3/Akavache.Sqlite3.csproj | 1 - Akavache.Sqlite3/SQLiteAsync.cs | 421 ------------------ .../SqlitePersistentBlobCacheNext.cs | 10 - Akavache/Utility.cs | 21 - 4 files changed, 453 deletions(-) delete mode 100644 Akavache.Sqlite3/SQLiteAsync.cs diff --git a/Akavache.Sqlite3/Akavache.Sqlite3.csproj b/Akavache.Sqlite3/Akavache.Sqlite3.csproj index 815fbd315..c11bd37d0 100644 --- a/Akavache.Sqlite3/Akavache.Sqlite3.csproj +++ b/Akavache.Sqlite3/Akavache.Sqlite3.csproj @@ -31,7 +31,6 @@ - diff --git a/Akavache.Sqlite3/SQLiteAsync.cs b/Akavache.Sqlite3/SQLiteAsync.cs deleted file mode 100644 index b3b84eee7..000000000 --- a/Akavache.Sqlite3/SQLiteAsync.cs +++ /dev/null @@ -1,421 +0,0 @@ -// -// Copyright (c) 2012 Krueger Systems, Inc. -// -// 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; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Reactive; -using System.Reactive.Concurrency; -using System.Reactive.Linq; -using System.Threading; -using System.Threading.Tasks; -using Akavache.Sqlite3; -using Akavache; - -namespace Akavache.Sqlite3.Internal -{ - internal interface IAsyncTableQuery where T : new() - { - IAsyncTableQuery Where (Expression> predExpr); - IAsyncTableQuery Skip (int n); - IAsyncTableQuery Take (int n); - IAsyncTableQuery OrderBy (Expression> orderExpr); - IAsyncTableQuery OrderByDescending (Expression> orderExpr); - IObservable> ToListAsync (); - IObservable CountAsync (); - IObservable ElementAtAsync (int index); - IObservable FirstAsync (); - IObservable FirstOrDefaultAsync (); - } - - public partial class SQLiteAsyncConnection - { - SQLiteConnectionString _connectionString; - SQLiteConnectionPool _pool; - SQLiteOpenFlags _openFlags; - - public SQLiteAsyncConnection(string databasePath, bool storeDateTimeAsTicks = false) - : this(databasePath, SQLiteOpenFlags.ReadWrite | SQLiteOpenFlags.Create | SQLiteOpenFlags.NoMutex | SQLiteOpenFlags.SharedCache, storeDateTimeAsTicks) - { - } - - public SQLiteAsyncConnection(string databasePath, SQLiteOpenFlags openFlags, bool storeDateTimeAsTicks = false) - { - _openFlags = openFlags; - _connectionString = new SQLiteConnectionString (databasePath, storeDateTimeAsTicks); - _pool = new SQLiteConnectionPool(_connectionString, _openFlags); - } - - public IObservable CreateTableAsync () - where T : new () - { - return CreateTablesAsync (typeof (T)); - } - - public IObservable CreateTablesAsync () - where T : new () - where T2 : new () - { - return CreateTablesAsync (typeof (T), typeof (T2)); - } - - public IObservable CreateTablesAsync () - where T : new () - where T2 : new () - where T3 : new () - { - return CreateTablesAsync (typeof (T), typeof (T2), typeof (T3)); - } - - public IObservable CreateTablesAsync () - where T : new () - where T2 : new () - where T3 : new () - where T4 : new () - { - return CreateTablesAsync (typeof (T), typeof (T2), typeof (T3), typeof (T4)); - } - - public IObservable CreateTablesAsync () - where T : new () - where T2 : new () - where T3 : new () - where T4 : new () - where T5 : new () - { - return CreateTablesAsync (typeof (T), typeof (T2), typeof (T3), typeof (T4), typeof (T5)); - } - - public IObservable CreateTablesAsync (params Type[] types) - { - return _pool.EnqueueConnectionOp(conn => { - var result = new CreateTablesResult (); - - foreach (Type type in types) { - int aResult = conn.CreateTable (type); - result.Results[type] = aResult; - } - return result; - }); - } - - public IObservable DropTableAsync () - where T : new () - { - return _pool.EnqueueConnectionOp(conn => { - return conn.DropTable(); - }); - } - - public IObservable InsertAsync (object item) - { - return _pool.EnqueueConnectionOp(conn => { - return conn.Insert (item); - }); - } - - public IObservable InsertAsync (object item, string extra, Type type) - { - return _pool.EnqueueConnectionOp(conn => { - return conn.Insert (item, extra, type); - }); - } - - - public IObservable UpdateAsync (object item) - { - return _pool.EnqueueConnectionOp(conn => { - return conn.Update (item); - }); - } - - public IObservable DeleteAsync (object item) - { - return _pool.EnqueueConnectionOp(conn => { - return conn.Delete (item); - }); - } - - public IObservable Get(object pk) - where T : new() - { - return _pool.EnqueueConnectionOp(conn => { - return conn.Get(pk); - }); - } - - public IObservable FindAsync (object pk) - where T : new () - { - return _pool.EnqueueConnectionOp(conn => { - return conn.Find (pk); - }); - } - - public IObservable Get (Expression> predicate) - where T : new() - { - return _pool.EnqueueConnectionOp(conn => { - return conn.Get (predicate); - }); - } - - public IObservable FindAsync (Expression> predicate) - where T : new () - { - return _pool.EnqueueConnectionOp(conn => { - return conn.Find (predicate); - }); - } - - public IObservable ExecuteAsync (string query, params object[] args) - { - return _pool.EnqueueConnectionOp(conn => { - return conn.Execute (query, args); - }); - } - - public IObservable InsertAllAsync (IEnumerable items, string extra) - { - return _pool.EnqueueConnectionOp(conn => { - return conn.InsertAll (items, extra); - }); - } - - public IObservable UpdateAllAsync(IEnumerable items) - { - return _pool.EnqueueConnectionOp(conn => { - return conn.UpdateAll(items); - }); - } - - public IObservable RunInTransactionAsync(Action action) - { - return _pool.EnqueueConnectionOp(conn => { - conn.BeginTransaction(); - try { - action(conn); - conn.Commit(); - return Unit.Default; - } catch (Exception) { - conn.Rollback(); - throw; - } - }); - } - - public IObservable ExecuteScalarAsync (string sql, params object[] args) - { - return _pool.EnqueueConnectionOp(conn => { - var command = conn.CreateCommand (sql, args); - return command.ExecuteScalar (); - }); - } - - public IObservable> QueryAsync (string sql, params object[] args) - where T : new () - { - return _pool.EnqueueConnectionOp(conn => { - return conn.Query (sql, args); - }); - } - - public IObservable Shutdown() - { - return _pool.Reset(false); - } - } - - public class CreateTablesResult - { - public Dictionary Results { get; private set; } - - internal CreateTablesResult () - { - this.Results = new Dictionary (); - } - } - - class SQLiteConnectionPool : IDisposable - { - readonly int connectionCount; - readonly Tuple connInfo; - - List connections; - KeyedOperationQueue opQueue; - int nextConnectionToUseAtomic = 0; - const int tableLockRetries = 3; - - public SQLiteConnectionPool(SQLiteConnectionString connectionString, SQLiteOpenFlags flags, int? connectionCount = null) - { - this.connectionCount = connectionCount ?? 4; - connInfo = Tuple.Create(connectionString, flags); - Reset().Wait(); - } - - public IObservable EnqueueConnectionOp(Func operation) - { - var idx = Interlocked.Increment(ref nextConnectionToUseAtomic) % connectionCount; - var conn = connections[idx]; - - if (connections == null) - { - Reset(true).Wait(); - } - - var makeRq = Observable.Defer(() => - Observable.Start(() => operation(conn.Connection), BlobCache.TaskpoolScheduler)); - - return opQueue.EnqueueObservableOperation(idx.ToString(), () => - makeRq.RetryWithBackoffStrategy(tableLockRetries, retryOnError: ex => - { - var sqlex = ex as SQLiteException; - if (sqlex == null) - return false; - - return (sqlex.Result == SQLite3.Result.Locked || sqlex.Result == SQLite3.Result.Busy); - })); - } - - /// - /// Closes all connections managed by this pool. - /// - public IObservable Reset (bool shouldReopen = true) - { - var shutdownQueue = Observable.Return(Unit.Default); - - if (opQueue != null) - { - shutdownQueue = opQueue.ShutdownQueue(); - } - - return shutdownQueue.Finally(() => - { - if (connections != null) - { - foreach(var v in connections.Where(x => x != null && x.Connection != null)) - { - v.OnApplicationSuspended(); - } - - connections = null; - } - - if (shouldReopen) - { - connections = Enumerable.Range(0, connectionCount) - .Select(_ => new Entry(connInfo.Item1, connInfo.Item2)) - .ToList(); - - opQueue = new KeyedOperationQueue(); - } - }); - } - - public void Dispose() - { - Reset(false).Wait(); - } - - class Entry - { - public SQLiteConnectionString ConnectionString { get; private set; } - public SQLiteConnectionWithoutLock Connection { get; private set; } - - public Entry (SQLiteConnectionString connectionString, SQLiteOpenFlags flags) - { - ConnectionString = connectionString; - Connection = new SQLiteConnectionWithoutLock (connectionString, flags); - } - - public void OnApplicationSuspended () - { - Connection.Dispose (); - Connection = null; - } - } - } - - class SQLiteConnectionWithoutLock : SQLiteConnection - { - public SQLiteConnectionWithoutLock (SQLiteConnectionString connectionString, SQLiteOpenFlags flags) - : base (connectionString.DatabasePath, flags, connectionString.StoreDateTimeAsTicks) - { - } - } - - public static class RetryWithBackoffMixin - { - /// - /// An exponential back off strategy which starts with 1 second and then 4, 9, 16... - /// - public static readonly Func ExponentialBackoff = - n => TimeSpan.FromMilliseconds(Math.Pow(n, 2) * 20); - - /// - /// Returns a cold observable which retries (re-subscribes to) the source observable on error up to the - /// specified number of times or until it successfully terminates. Allows for customizable back off strategy. - /// - /// The source observable. - /// The number of attempts of running the source observable before failing. - /// The strategy to use in backing off, exponential by default. - /// A predicate determining for which exceptions to retry. Defaults to all - /// The scheduler. - /// - /// A cold observable which retries (re-subscribes to) the source observable on error up to the - /// specified number of times or until it successfully terminates. - /// - public static IObservable RetryWithBackoffStrategy( - this IObservable source, - int retryCount = 3, - Func strategy = null, - Func retryOnError = null, - IScheduler scheduler = null) - { - strategy = strategy ?? ExponentialBackoff; - scheduler = scheduler ?? BlobCache.TaskpoolScheduler; - - if (retryOnError == null) - { - retryOnError = _ => true; - } - - int attempt = 0; - - return Observable.Defer(() => - { - return ((++attempt == 1) ? source : source.DelaySubscription(strategy(attempt - 1), scheduler)) - .Select(item => new Tuple(true, item, null)) - .Catch, Exception>(e => retryOnError(e) - ? Observable.Throw>(e) - : Observable.Return(new Tuple(false, default(T), e))); - }) - .Retry(retryCount) - .SelectMany(t => t.Item1 - ? Observable.Return(t.Item2) - : Observable.Throw(t.Item3)); - } - } -} - diff --git a/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs b/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs index c4847f6e5..1fd5893f8 100755 --- a/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs +++ b/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs @@ -404,16 +404,6 @@ class CacheElement public DateTime CreatedAt { get; set; } } - class VersionOneCacheElement - { - [PrimaryKey] - public string Key { get; set; } - - public string TypeName { get; set; } - public byte[] Value { get; set; } - public DateTime Expiration { get; set; } - } - class SchemaInfo { public int Version { get; set; } diff --git a/Akavache/Utility.cs b/Akavache/Utility.cs index 43c7d8242..ecdb13fbd 100644 --- a/Akavache/Utility.cs +++ b/Akavache/Utility.cs @@ -172,26 +172,5 @@ public static IObservable CopyToAsync(this Stream This, Stream destination } }, scheduler ?? BlobCache.TaskpoolScheduler); } - - public static void Retry(this Action block, int retries = 3) - { - while (true) - { - try - { - block(); - return; - } - catch (Exception) - { - retries--; - if (retries == 0) - { - throw; - } - } - } - } - } } From 9c8ef490777a1725fd7a341dba36bd946d576acb Mon Sep 17 00:00:00 2001 From: Dennis Daume Date: Tue, 22 Dec 2015 17:59:12 +0100 Subject: [PATCH 04/92] Lazily initialize the various SQLite operations This makes initial calls to e.g BlobCache.Get faster, because it doesn't have to construct the SQLite operations that aren't even used when selecting from the database --- Akavache.Sqlite3/OperationQueue.cs | 125 ++++++++++++++++++++--------- 1 file changed, 86 insertions(+), 39 deletions(-) diff --git a/Akavache.Sqlite3/OperationQueue.cs b/Akavache.Sqlite3/OperationQueue.cs index 6c30b0484..403443442 100644 --- a/Akavache.Sqlite3/OperationQueue.cs +++ b/Akavache.Sqlite3/OperationQueue.cs @@ -25,17 +25,17 @@ partial class SqliteOperationQueue : IEnableLogger, IDisposable readonly AsyncLock flushLock = new AsyncLock(); readonly IScheduler scheduler; - readonly BulkSelectSqliteOperation bulkSelectKey; - readonly BulkSelectByTypeSqliteOperation bulkSelectType; - readonly BulkInsertSqliteOperation bulkInsertKey; - readonly BulkInvalidateSqliteOperation bulkInvalidateKey; - readonly BulkInvalidateByTypeSqliteOperation bulkInvalidateType; - readonly InvalidateAllSqliteOperation invalidateAll; - readonly VacuumSqliteOperation vacuum; - readonly DeleteExpiredSqliteOperation deleteExpired; - readonly GetKeysSqliteOperation getAllKeys; - readonly BeginTransactionSqliteOperation begin; - readonly CommitTransactionSqliteOperation commit; + readonly Lazy bulkSelectKey; + readonly Lazy bulkSelectType; + readonly Lazy bulkInsertKey; + readonly Lazy bulkInvalidateKey; + readonly Lazy bulkInvalidateType; + readonly Lazy invalidateAll; + readonly Lazy vacuum; + readonly Lazy deleteExpired; + readonly Lazy getAllKeys; + readonly Lazy begin; + readonly Lazy commit; BlockingCollection operationQueue = new BlockingCollection(); @@ -44,17 +44,17 @@ public SqliteOperationQueue(SQLiteConnection conn, IScheduler scheduler) { this.scheduler = scheduler; - bulkSelectKey = new BulkSelectSqliteOperation(conn, false, scheduler); - bulkSelectType = new BulkSelectByTypeSqliteOperation(conn, scheduler); - bulkInsertKey = new BulkInsertSqliteOperation(conn); - bulkInvalidateKey = new BulkInvalidateSqliteOperation(conn, false); - bulkInvalidateType = new BulkInvalidateByTypeSqliteOperation(conn); - invalidateAll = new InvalidateAllSqliteOperation(conn); - vacuum = new VacuumSqliteOperation(conn, scheduler); - deleteExpired = new DeleteExpiredSqliteOperation(conn, scheduler); - getAllKeys = new GetKeysSqliteOperation(conn, scheduler); - begin = new BeginTransactionSqliteOperation(conn); - commit = new CommitTransactionSqliteOperation(conn); + bulkSelectKey = new Lazy(() => new BulkSelectSqliteOperation(conn, false, scheduler)); + bulkSelectType = new Lazy(() => new BulkSelectByTypeSqliteOperation(conn, scheduler)); + bulkInsertKey = new Lazy(() => new BulkInsertSqliteOperation(conn)); + bulkInvalidateKey = new Lazy(() => new BulkInvalidateSqliteOperation(conn, false)); + bulkInvalidateType = new Lazy(() => new BulkInvalidateByTypeSqliteOperation(conn)); + invalidateAll = new Lazy(() => new InvalidateAllSqliteOperation(conn)); + vacuum = new Lazy(() => new VacuumSqliteOperation(conn, scheduler)); + deleteExpired = new Lazy(() => new DeleteExpiredSqliteOperation(conn, scheduler)); + getAllKeys = new Lazy(() => new GetKeysSqliteOperation(conn, scheduler)); + begin = new Lazy(() => new BeginTransactionSqliteOperation(conn)); + commit = new Lazy(() => new CommitTransactionSqliteOperation(conn)); } // NB: This constructor is used for testing operation coalescing, @@ -253,7 +253,7 @@ public AsyncSubject Vacuum() var vacuumOp = OperationQueueItem.CreateUnit(OperationType.VacuumSqliteOperation); - MarshalCompletion(vacuumOp.Completion, vacuum.PrepareToExecute(), Observable.Return(Unit.Default)); + MarshalCompletion(vacuumOp.Completion, vacuum.Value.PrepareToExecute(), Observable.Return(Unit.Default)); await vacuumOp.CompletionAsUnit; } @@ -287,7 +287,7 @@ void ProcessItems(List toProcess) { var commitResult = new AsyncSubject(); - begin.PrepareToExecute()(); + begin.Value.PrepareToExecute()(); foreach (var item in toProcess) { @@ -297,28 +297,28 @@ void ProcessItems(List toProcess) MarshalCompletion(item.Completion, () => { }, commitResult); break; case OperationType.BulkInsertSqliteOperation: - MarshalCompletion(item.Completion, bulkInsertKey.PrepareToExecute(item.ParametersAsElements), commitResult); + MarshalCompletion(item.Completion, bulkInsertKey.Value.PrepareToExecute(item.ParametersAsElements), commitResult); break; case OperationType.BulkInvalidateByTypeSqliteOperation: - MarshalCompletion(item.Completion, bulkInvalidateType.PrepareToExecute(item.ParametersAsKeys), commitResult); + MarshalCompletion(item.Completion, bulkInvalidateType.Value.PrepareToExecute(item.ParametersAsKeys), commitResult); break; case OperationType.BulkInvalidateSqliteOperation: - MarshalCompletion(item.Completion, bulkInvalidateKey.PrepareToExecute(item.ParametersAsKeys), commitResult); + MarshalCompletion(item.Completion, bulkInvalidateKey.Value.PrepareToExecute(item.ParametersAsKeys), commitResult); break; case OperationType.BulkSelectByTypeSqliteOperation: - MarshalCompletion(item.Completion, bulkSelectType.PrepareToExecute(item.ParametersAsKeys), commitResult); + MarshalCompletion(item.Completion, bulkSelectType.Value.PrepareToExecute(item.ParametersAsKeys), commitResult); break; case OperationType.BulkSelectSqliteOperation: - MarshalCompletion(item.Completion, bulkSelectKey.PrepareToExecute(item.ParametersAsKeys), commitResult); + MarshalCompletion(item.Completion, bulkSelectKey.Value.PrepareToExecute(item.ParametersAsKeys), commitResult); break; case OperationType.GetKeysSqliteOperation: - MarshalCompletion(item.Completion, getAllKeys.PrepareToExecute(), commitResult); + MarshalCompletion(item.Completion, getAllKeys.Value.PrepareToExecute(), commitResult); break; case OperationType.InvalidateAllSqliteOperation: - MarshalCompletion(item.Completion, invalidateAll.PrepareToExecute(), commitResult); + MarshalCompletion(item.Completion, invalidateAll.Value.PrepareToExecute(), commitResult); break; case OperationType.DeleteExpiredSqliteOperation: - MarshalCompletion(item.Completion, deleteExpired.PrepareToExecute(), commitResult); + MarshalCompletion(item.Completion, deleteExpired.Value.PrepareToExecute(), commitResult); break; case OperationType.VacuumSqliteOperation: throw new ArgumentException("Vacuum operation can't run inside transaction"); @@ -329,7 +329,7 @@ void ProcessItems(List toProcess) try { - commit.PrepareToExecute()(); + commit.Value.PrepareToExecute()(); // NB: We do this in a scheduled result to stop a deadlock in // First and friends @@ -387,13 +387,60 @@ void MarshalCompletion(object completion, Action block, IObservable commit public void Dispose() { - var toDispose = new IDisposable[] { - bulkSelectKey, bulkSelectType, bulkInsertKey, bulkInvalidateKey, - bulkInvalidateType, invalidateAll, vacuum, deleteExpired, getAllKeys, begin, - commit, - }; + if(bulkSelectKey.IsValueCreated) + { + bulkSelectKey.Value.Dispose(); + } + + if (bulkSelectType.IsValueCreated) + { + bulkSelectType.Value.Dispose(); + } + + if (bulkInsertKey.IsValueCreated) + { + bulkInsertKey.Value.Dispose(); + } - foreach (var v in toDispose) v.Dispose(); + if (bulkInvalidateKey.IsValueCreated) + { + bulkInvalidateKey.Value.Dispose(); + } + + if (bulkInvalidateType.IsValueCreated) + { + bulkInvalidateType.Value.Dispose(); + } + + if (invalidateAll.IsValueCreated) + { + invalidateAll.Value.Dispose(); + } + + if (vacuum.IsValueCreated) + { + vacuum.Value.Dispose(); + } + + if (deleteExpired.IsValueCreated) + { + deleteExpired.Value.Dispose(); + } + + if (getAllKeys.IsValueCreated) + { + getAllKeys.Value.Dispose(); + } + + if (begin.IsValueCreated) + { + begin.Value.Dispose(); + } + + if (begin.IsValueCreated) + { + commit.Value.Dispose(); + } } } From 117339defceb4570d76a9176266eba6d17344b1b Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Fri, 22 Jan 2016 14:24:57 -0800 Subject: [PATCH 05/92] Create CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000000000..fb82d68b1 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,50 @@ +# Contributor Code of Conduct + +As contributors and maintainers of this project, and in the interest of +fostering an open and welcoming community, we pledge to respect all people who +contribute through reporting issues, posting feature requests, updating +documentation, submitting pull requests or patches, and other activities. + +We are committed to making participation in this project a harassment-free +experience for everyone, regardless of level of experience, gender, gender +identity and expression, sexual orientation, disability, personal appearance, +body size, race, ethnicity, age, religion, or nationality. + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery +* Personal attacks +* Trolling or insulting/derogatory comments +* Public or private harassment +* Publishing other's private information, such as physical or electronic + addresses, without explicit permission +* Other unethical or unprofessional conduct + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +By adopting this Code of Conduct, project maintainers commit themselves to +fairly and consistently applying these principles to every aspect of managing +this project. Project maintainers who do not follow or enforce the Code of +Conduct may be permanently removed from the project team. + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting a project maintainer at [INSERT EMAIL ADDRESS]. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. Maintainers are +obligated to maintain confidentiality with regard to the reporter of an +incident. + + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 1.3.0, available at +[http://contributor-covenant.org/version/1/3/0/][version] + +[homepage]: http://contributor-covenant.org +[version]: http://contributor-covenant.org/version/1/3/0/ From e6eb0da2da6338d54e1047fa88816859e503cd4b Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Fri, 22 Jan 2016 14:27:26 -0800 Subject: [PATCH 06/92] Update CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index fb82d68b1..f3a1be431 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -35,7 +35,7 @@ This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting a project maintainer at [INSERT EMAIL ADDRESS]. All +reported by contacting a project maintainer at paul@paulbetts.org. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Maintainers are obligated to maintain confidentiality with regard to the reporter of an From 92f86bdab3546807dbfc7bd56d338e5f8b0b84cf Mon Sep 17 00:00:00 2001 From: Dennis Daume Date: Tue, 10 May 2016 09:55:03 +0200 Subject: [PATCH 07/92] Pin the Splat dependency in the nuspec file to the same version we're building Akavache with Fixes #206 --- Akavache/akavache.nuspec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Akavache/akavache.nuspec b/Akavache/akavache.nuspec index 3e7c18801..fc20b2005 100644 --- a/Akavache/akavache.nuspec +++ b/Akavache/akavache.nuspec @@ -9,32 +9,32 @@ - + - + - + - + - + From 19af5864948c3f053ccd7a436b76215360fee88c Mon Sep 17 00:00:00 2001 From: Dennis Daume Date: Tue, 10 May 2016 10:09:06 +0200 Subject: [PATCH 08/92] Remove the support for WinRT80, since it can't even be opened in VS2015 --- Akavache.Mobile/Akavache.Mobile.nuspec | 1 - .../Akavache.Mobile_WinRT80.csproj | 109 ---------------- .../packages.Akavache.Mobile_WinRT80.config | 13 -- Akavache.sln | 89 +------------ Akavache/Akavache_WinRT80.csproj | 122 ------------------ Akavache/packages.Akavache_WinRT80.config | 12 -- Akavache_VSAll.sln | 25 +--- MakeRelease.ps1 | 2 +- 8 files changed, 7 insertions(+), 366 deletions(-) delete mode 100644 Akavache.Mobile/Akavache.Mobile_WinRT80.csproj delete mode 100644 Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config delete mode 100644 Akavache/Akavache_WinRT80.csproj delete mode 100644 Akavache/packages.Akavache_WinRT80.config diff --git a/Akavache.Mobile/Akavache.Mobile.nuspec b/Akavache.Mobile/Akavache.Mobile.nuspec index c766cf062..9d1cff599 100644 --- a/Akavache.Mobile/Akavache.Mobile.nuspec +++ b/Akavache.Mobile/Akavache.Mobile.nuspec @@ -19,7 +19,6 @@ - diff --git a/Akavache.Mobile/Akavache.Mobile_WinRT80.csproj b/Akavache.Mobile/Akavache.Mobile_WinRT80.csproj deleted file mode 100644 index 8448f6b7d..000000000 --- a/Akavache.Mobile/Akavache.Mobile_WinRT80.csproj +++ /dev/null @@ -1,109 +0,0 @@ - - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC} - Library - Properties - Akavache.Mobile - Akavache.Mobile - en-US - 512 - {BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - ..\ - true - - - true - full - false - bin\Debug\Win8\ - obj\Debug\WinRT45\ - TRACE;DEBUG;NETFX_CORE; WINRT - prompt - 4 - - - - - true - pdbonly - true - bin\Release\Win8\ - obj\Release\WinRT45\ - TRACE;NETFX_CORE; WINRT - prompt - 4 - bin\Release\Win8\Akavache.Mobile.XML - - - - Properties\CommonAssemblyInfo.cs - - - - - - - - {74ccfbb6-7a56-461f-8db6-93594bb4112e} - Akavache_WinRT80 - - - - - False - ..\packages\Newtonsoft.Json.6.0.3\lib\netcore45\Newtonsoft.Json.dll - - - False - ..\packages\reactiveui-core.6.0.1\lib\Win8\ReactiveUI.dll - - - False - ..\packages\Splat.1.6.0\lib\NetCore45\Splat.dll - - - False - ..\packages\Rx-Core.2.2.5\lib\windows8\System.Reactive.Core.dll - - - False - ..\packages\Rx-Interfaces.2.2.5\lib\windows8\System.Reactive.Interfaces.dll - - - False - ..\packages\Rx-Linq.2.2.5\lib\windows8\System.Reactive.Linq.dll - - - False - ..\packages\Rx-PlatformServices.2.2.5\lib\windows8\System.Reactive.PlatformServices.dll - - - False - ..\packages\Rx-Xaml.2.2.5\lib\windows8\System.Reactive.Windows.Threading.dll - - - False - ..\packages\Rx-WinRT.2.2.5\lib\windows8\System.Reactive.WindowsRuntime.dll - - - - - - - 11.0 - - - - diff --git a/Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config b/Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config deleted file mode 100644 index 22836a442..000000000 --- a/Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/Akavache.sln b/Akavache.sln index 765ad370e..941725fea 100644 --- a/Akavache.sln +++ b/Akavache.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.30501.0 +# Visual Studio 14 +VisualStudioVersion = 14.0.25123.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Tests", "Akavache.Tests\Akavache.Tests.csproj", "{0306DEFB-B42E-48C4-8D03-2AC9E860ADC1}" EndProject @@ -31,10 +31,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Deprecated", "Deprecated", "{403A7511-EACE-4DEA-9CE9-61592FB87C7B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache_WinRT80", "Akavache\Akavache_WinRT80.csproj", "{74CCFBB6-7A56-461F-8DB6-93594BB4112E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WinRT80", "Akavache.Mobile\Akavache.Mobile_WinRT80.csproj", "{47D34AB1-5188-4D8C-B24F-3151C67CC8CC}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Sqlite3", "Akavache.Sqlite3\Akavache.Sqlite3.csproj", "{241C47DF-CA8E-4296-AA03-2C48BB646ABD}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Deprecated", "Akavache.Deprecated\Akavache.Deprecated.csproj", "{1FE2625D-844E-4224-B6BC-4E9246AF9C62}" @@ -70,9 +66,8 @@ Global {0306DEFB-B42E-48C4-8D03-2AC9E860ADC1}.Release|x86.Build.0 = Release|x86 {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.ActiveCfg = Debug|ARM - {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.Build.0 = Debug|ARM {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.ActiveCfg = Debug|Any CPU + {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.Build.0 = Debug|ARM {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -114,9 +109,8 @@ Global {57655198-7A38-48A6-BF95-BE57B2C3D32D}.Release|x86.ActiveCfg = Release|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.ActiveCfg = Debug|ARM - {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.Build.0 = Debug|ARM {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.ActiveCfg = Debug|Any CPU + {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.Build.0 = Debug|ARM {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -156,80 +150,6 @@ Global {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Release|Mixed Platforms.Build.0 = Release|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Release|x64.ActiveCfg = Release|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Release|x86.ActiveCfg = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|ARM.ActiveCfg = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|x64.ActiveCfg = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|x86.ActiveCfg = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Any CPU.Build.0 = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|ARM.ActiveCfg = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|x64.ActiveCfg = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|x86.ActiveCfg = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|ARM.ActiveCfg = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|x64.ActiveCfg = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|x86.ActiveCfg = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Any CPU.Build.0 = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|ARM.ActiveCfg = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|x64.ActiveCfg = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|x86.ActiveCfg = Release|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|ARM.ActiveCfg = Debug|ARM - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|ARM.Build.0 = Debug|ARM - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|x64.ActiveCfg = Debug|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|x86.ActiveCfg = Debug|x86 - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|x86.Build.0 = Debug|x86 - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Any CPU.Build.0 = Release|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|ARM.ActiveCfg = Release|ARM - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|ARM.Build.0 = Release|ARM - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Mixed Platforms.ActiveCfg = Release|x86 - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Mixed Platforms.Build.0 = Release|x86 - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|x64.ActiveCfg = Release|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|x86.ActiveCfg = Release|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|x86.Build.0 = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|ARM.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|x64.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|x86.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.Build.0 = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|ARM.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|x64.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|x86.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|ARM.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|x64.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|x86.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.Build.0 = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|ARM.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|x64.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|x86.ActiveCfg = Release|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.Build.0 = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|ARM.ActiveCfg = Debug|Any CPU @@ -267,7 +187,6 @@ Global {0306DEFB-B42E-48C4-8D03-2AC9E860ADC1} = {9E586C5C-5E77-4D58-8222-3E94C60E4756} {9F13D088-7B83-4922-97DD-18C4CBBDDEAE} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {3CC2AFD6-D25F-4C8E-BD4B-31486F368365} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {241C47DF-CA8E-4296-AA03-2C48BB646ABD} = {9E059863-7633-4919-B6A7-627D80186383} {1FE2625D-844E-4224-B6BC-4E9246AF9C62} = {403A7511-EACE-4DEA-9CE9-61592FB87C7B} EndGlobalSection diff --git a/Akavache/Akavache_WinRT80.csproj b/Akavache/Akavache_WinRT80.csproj deleted file mode 100644 index b0ea23b44..000000000 --- a/Akavache/Akavache_WinRT80.csproj +++ /dev/null @@ -1,122 +0,0 @@ - - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {74CCFBB6-7A56-461F-8DB6-93594BB4112E} - Library - Properties - Akavache - Akavache - en-US - 512 - {BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - ..\ - true - - - true - full - false - bin\Debug\Win8\ - obj\Debug\WinRT45\ - TRACE;DEBUG;NETFX_CORE; WINRT - prompt - 4 - - - - - pdbonly - true - bin\Release\Win8\ - obj\Release\WinRT45\ - TRACE;NETFX_CORE; WINRT - prompt - 4 - bin\Release\Win8\Akavache.XML - - - - Properties\CommonAssemblyInfo.cs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - False - ..\packages\Newtonsoft.Json.6.0.3\lib\netcore45\Newtonsoft.Json.dll - - - False - ..\packages\Splat.1.6.0\lib\NetCore45\Splat.dll - - - False - ..\packages\Rx-Core.2.2.5\lib\windows8\System.Reactive.Core.dll - - - False - ..\packages\Rx-Interfaces.2.2.5\lib\windows8\System.Reactive.Interfaces.dll - - - False - ..\packages\Rx-Linq.2.2.5\lib\windows8\System.Reactive.Linq.dll - - - False - ..\packages\Rx-PlatformServices.2.2.5\lib\windows8\System.Reactive.PlatformServices.dll - - - False - ..\packages\Rx-Xaml.2.2.5\lib\windows8\System.Reactive.Windows.Threading.dll - - - False - ..\packages\Rx-WinRT.2.2.5\lib\windows8\System.Reactive.WindowsRuntime.dll - - - - - - - 11.0 - - - - diff --git a/Akavache/packages.Akavache_WinRT80.config b/Akavache/packages.Akavache_WinRT80.config deleted file mode 100644 index ff8d4e0cd..000000000 --- a/Akavache/packages.Akavache_WinRT80.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/Akavache_VSAll.sln b/Akavache_VSAll.sln index 2441362d0..aeaeeb908 100644 --- a/Akavache_VSAll.sln +++ b/Akavache_VSAll.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.30626.0 +# Visual Studio 14 +VisualStudioVersion = 14.0.25123.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Tests", "Akavache.Tests\Akavache.Tests.csproj", "{0306DEFB-B42E-48C4-8D03-2AC9E860ADC1}" EndProject @@ -13,8 +13,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache_WinRT", "Akavache\ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WP8", "Akavache.Mobile\Akavache.Mobile_WP8.csproj", "{9F13D088-7B83-4922-97DD-18C4CBBDDEAE}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WinRT80", "Akavache.Mobile\Akavache.Mobile_WinRT80.csproj", "{47D34AB1-5188-4D8C-B24F-3151C67CC8CC}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Mobile", "Mobile", "{D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SQLite", "SQLite", "{9E059863-7633-4919-B6A7-627D80186383}" @@ -44,8 +42,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WinRT", "Ak EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Deprecated", "Akavache.Deprecated\Akavache.Deprecated.csproj", "{1FE2625D-844E-4224-B6BC-4E9246AF9C62}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache_WinRT80", "Akavache\Akavache_WinRT80.csproj", "{74CCFBB6-7A56-461F-8DB6-93594BB4112E}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Sqlite3", "Akavache.Sqlite3\Akavache.Sqlite3.csproj", "{241C47DF-CA8E-4296-AA03-2C48BB646ABD}" EndProject Global @@ -95,14 +91,6 @@ Global {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Release|Any CPU.Build.0 = Release|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.Build.0 = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.Build.0 = Release|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Debug|Any CPU.Build.0 = Debug|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU @@ -159,14 +147,6 @@ Global {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Any CPU.Build.0 = Release|Any CPU {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.Build.0 = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.Build.0 = Release|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.Build.0 = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU @@ -182,7 +162,6 @@ Global GlobalSection(NestedProjects) = preSolution {0306DEFB-B42E-48C4-8D03-2AC9E860ADC1} = {9E586C5C-5E77-4D58-8222-3E94C60E4756} {9F13D088-7B83-4922-97DD-18C4CBBDDEAE} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {192A477B-BB94-A3C1-F14E-E177EF9FEDB7} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {FA91337A-9E94-4DBD-801E-05E1FDA78FFC} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {3CC2AFD6-D25F-4C8E-BD4B-31486F368365} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} diff --git a/MakeRelease.ps1 b/MakeRelease.ps1 index c47cdfcaa..51598363a 100644 --- a/MakeRelease.ps1 +++ b/MakeRelease.ps1 @@ -1,6 +1,6 @@ Param([string]$version = $null) -$Archs = { "Net45","WP8", "WinRT45", "MonoMac", "Monoandroid", "Monotouch", "Portable-Net45+Win8+WP8+Wpa81", "Portable-Win81+Wpa81", "Xamarin.iOS10", "Xamarin.Mac10" } +$Archs = { "Net45","WP8", "MonoMac", "Monoandroid", "Monotouch", "Portable-Net45+Win8+WP8+Wpa81", "Portable-Win81+Wpa81", "Xamarin.iOS10", "Xamarin.Mac10" } $Projects = {"Akavache", "Akavache.Sqlite3", "Akavache.Mobile", "Akavache.Deprecated" } $SlnFileExists = Test-Path ".\Akavache.sln" From b458884f4f582ffdbdcb4dc41cb85601098ea461 Mon Sep 17 00:00:00 2001 From: Dennis Daume Date: Tue, 10 May 2016 10:22:01 +0200 Subject: [PATCH 09/92] Remove the Win8 nuspec entry --- Akavache/akavache.nuspec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Akavache/akavache.nuspec b/Akavache/akavache.nuspec index fc20b2005..e4e2fa660 100644 --- a/Akavache/akavache.nuspec +++ b/Akavache/akavache.nuspec @@ -12,13 +12,6 @@ - - - - - - - @@ -53,7 +46,6 @@ - From 3e066f150987ae1b9853bcffbe64e7bbd883471d Mon Sep 17 00:00:00 2001 From: mms- Date: Sat, 21 May 2016 14:26:43 -0700 Subject: [PATCH 10/92] Added CacheElement.Expiration index Makes GetAllKeys() and others 100x faster when storing multi MB blobs --- Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs b/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs index 1fd5893f8..6fabc1f17 100755 --- a/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs +++ b/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs @@ -400,6 +400,7 @@ class CacheElement public string TypeName { get; set; } public byte[] Value { get; set; } + [Indexed()] public DateTime Expiration { get; set; } public DateTime CreatedAt { get; set; } } From d031d7a6d967aea054263d1e86539c8fbd6d8e3a Mon Sep 17 00:00:00 2001 From: Dennis Daume Date: Mon, 23 May 2016 11:53:04 +0200 Subject: [PATCH 11/92] Index the TypeName in the database to make bulk object queries faster Fixes #285 --- Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs b/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs index 6fabc1f17..35e18b2fd 100755 --- a/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs +++ b/Akavache.Sqlite3/SqlitePersistentBlobCacheNext.cs @@ -398,10 +398,14 @@ class CacheElement [PrimaryKey] public string Key { get; set; } + [Indexed] public string TypeName { get; set; } + public byte[] Value { get; set; } - [Indexed()] + + [Indexed] public DateTime Expiration { get; set; } + public DateTime CreatedAt { get; set; } } From c16437b23740385445de54052f1fb2446b3e620f Mon Sep 17 00:00:00 2001 From: Dennis Daume Date: Tue, 24 May 2016 16:58:04 +0200 Subject: [PATCH 12/92] Revert "Remove the support for WinRT80, since it can't even be opened in VS2015" --- Akavache.Mobile/Akavache.Mobile.nuspec | 1 + .../Akavache.Mobile_WinRT80.csproj | 109 ++++++++++++++++ .../packages.Akavache.Mobile_WinRT80.config | 13 ++ Akavache.sln | 89 ++++++++++++- Akavache/Akavache_WinRT80.csproj | 122 ++++++++++++++++++ Akavache/akavache.nuspec | 8 ++ Akavache/packages.Akavache_WinRT80.config | 12 ++ Akavache_VSAll.sln | 25 +++- MakeRelease.ps1 | 2 +- 9 files changed, 374 insertions(+), 7 deletions(-) create mode 100644 Akavache.Mobile/Akavache.Mobile_WinRT80.csproj create mode 100644 Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config create mode 100644 Akavache/Akavache_WinRT80.csproj create mode 100644 Akavache/packages.Akavache_WinRT80.config diff --git a/Akavache.Mobile/Akavache.Mobile.nuspec b/Akavache.Mobile/Akavache.Mobile.nuspec index 9d1cff599..c766cf062 100644 --- a/Akavache.Mobile/Akavache.Mobile.nuspec +++ b/Akavache.Mobile/Akavache.Mobile.nuspec @@ -19,6 +19,7 @@ + diff --git a/Akavache.Mobile/Akavache.Mobile_WinRT80.csproj b/Akavache.Mobile/Akavache.Mobile_WinRT80.csproj new file mode 100644 index 000000000..8448f6b7d --- /dev/null +++ b/Akavache.Mobile/Akavache.Mobile_WinRT80.csproj @@ -0,0 +1,109 @@ + + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC} + Library + Properties + Akavache.Mobile + Akavache.Mobile + en-US + 512 + {BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + ..\ + true + + + true + full + false + bin\Debug\Win8\ + obj\Debug\WinRT45\ + TRACE;DEBUG;NETFX_CORE; WINRT + prompt + 4 + + + + + true + pdbonly + true + bin\Release\Win8\ + obj\Release\WinRT45\ + TRACE;NETFX_CORE; WINRT + prompt + 4 + bin\Release\Win8\Akavache.Mobile.XML + + + + Properties\CommonAssemblyInfo.cs + + + + + + + + {74ccfbb6-7a56-461f-8db6-93594bb4112e} + Akavache_WinRT80 + + + + + False + ..\packages\Newtonsoft.Json.6.0.3\lib\netcore45\Newtonsoft.Json.dll + + + False + ..\packages\reactiveui-core.6.0.1\lib\Win8\ReactiveUI.dll + + + False + ..\packages\Splat.1.6.0\lib\NetCore45\Splat.dll + + + False + ..\packages\Rx-Core.2.2.5\lib\windows8\System.Reactive.Core.dll + + + False + ..\packages\Rx-Interfaces.2.2.5\lib\windows8\System.Reactive.Interfaces.dll + + + False + ..\packages\Rx-Linq.2.2.5\lib\windows8\System.Reactive.Linq.dll + + + False + ..\packages\Rx-PlatformServices.2.2.5\lib\windows8\System.Reactive.PlatformServices.dll + + + False + ..\packages\Rx-Xaml.2.2.5\lib\windows8\System.Reactive.Windows.Threading.dll + + + False + ..\packages\Rx-WinRT.2.2.5\lib\windows8\System.Reactive.WindowsRuntime.dll + + + + + + + 11.0 + + + + diff --git a/Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config b/Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config new file mode 100644 index 000000000..22836a442 --- /dev/null +++ b/Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/Akavache.sln b/Akavache.sln index 941725fea..765ad370e 100644 --- a/Akavache.sln +++ b/Akavache.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25123.0 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30501.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Tests", "Akavache.Tests\Akavache.Tests.csproj", "{0306DEFB-B42E-48C4-8D03-2AC9E860ADC1}" EndProject @@ -31,6 +31,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Deprecated", "Deprecated", "{403A7511-EACE-4DEA-9CE9-61592FB87C7B}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache_WinRT80", "Akavache\Akavache_WinRT80.csproj", "{74CCFBB6-7A56-461F-8DB6-93594BB4112E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WinRT80", "Akavache.Mobile\Akavache.Mobile_WinRT80.csproj", "{47D34AB1-5188-4D8C-B24F-3151C67CC8CC}" +EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Sqlite3", "Akavache.Sqlite3\Akavache.Sqlite3.csproj", "{241C47DF-CA8E-4296-AA03-2C48BB646ABD}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Deprecated", "Akavache.Deprecated\Akavache.Deprecated.csproj", "{1FE2625D-844E-4224-B6BC-4E9246AF9C62}" @@ -66,8 +70,9 @@ Global {0306DEFB-B42E-48C4-8D03-2AC9E860ADC1}.Release|x86.Build.0 = Release|x86 {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.ActiveCfg = Debug|Any CPU + {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.ActiveCfg = Debug|ARM {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.Build.0 = Debug|ARM + {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.ActiveCfg = Debug|Any CPU {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -109,8 +114,9 @@ Global {57655198-7A38-48A6-BF95-BE57B2C3D32D}.Release|x86.ActiveCfg = Release|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.ActiveCfg = Debug|Any CPU + {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.ActiveCfg = Debug|ARM {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.Build.0 = Debug|ARM + {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.ActiveCfg = Debug|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -150,6 +156,80 @@ Global {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Release|Mixed Platforms.Build.0 = Release|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Release|x64.ActiveCfg = Release|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Release|x86.ActiveCfg = Release|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|ARM.ActiveCfg = Debug|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|x64.ActiveCfg = Debug|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|x86.ActiveCfg = Debug|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Any CPU.Build.0 = Release|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|ARM.ActiveCfg = Release|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|x64.ActiveCfg = Release|Any CPU + {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|x86.ActiveCfg = Release|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|ARM.ActiveCfg = Debug|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|x64.ActiveCfg = Debug|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|x86.ActiveCfg = Debug|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Any CPU.Build.0 = Release|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|ARM.ActiveCfg = Release|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|x64.ActiveCfg = Release|Any CPU + {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|x86.ActiveCfg = Release|Any CPU + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|ARM.ActiveCfg = Debug|ARM + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|ARM.Build.0 = Debug|ARM + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|x64.ActiveCfg = Debug|Any CPU + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|x86.ActiveCfg = Debug|x86 + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|x86.Build.0 = Debug|x86 + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Any CPU.Build.0 = Release|Any CPU + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|ARM.ActiveCfg = Release|ARM + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|ARM.Build.0 = Release|ARM + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Mixed Platforms.ActiveCfg = Release|x86 + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Mixed Platforms.Build.0 = Release|x86 + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|x64.ActiveCfg = Release|Any CPU + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|x86.ActiveCfg = Release|Any CPU + {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|x86.Build.0 = Release|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|ARM.ActiveCfg = Debug|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|x64.ActiveCfg = Debug|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|x86.ActiveCfg = Debug|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.Build.0 = Release|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|ARM.ActiveCfg = Release|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|x64.ActiveCfg = Release|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|x86.ActiveCfg = Release|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|ARM.ActiveCfg = Debug|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|x64.ActiveCfg = Debug|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|x86.ActiveCfg = Debug|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.Build.0 = Release|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|ARM.ActiveCfg = Release|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|x64.ActiveCfg = Release|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|x86.ActiveCfg = Release|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.Build.0 = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|ARM.ActiveCfg = Debug|Any CPU @@ -187,6 +267,7 @@ Global {0306DEFB-B42E-48C4-8D03-2AC9E860ADC1} = {9E586C5C-5E77-4D58-8222-3E94C60E4756} {9F13D088-7B83-4922-97DD-18C4CBBDDEAE} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {3CC2AFD6-D25F-4C8E-BD4B-31486F368365} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {241C47DF-CA8E-4296-AA03-2C48BB646ABD} = {9E059863-7633-4919-B6A7-627D80186383} {1FE2625D-844E-4224-B6BC-4E9246AF9C62} = {403A7511-EACE-4DEA-9CE9-61592FB87C7B} EndGlobalSection diff --git a/Akavache/Akavache_WinRT80.csproj b/Akavache/Akavache_WinRT80.csproj new file mode 100644 index 000000000..b0ea23b44 --- /dev/null +++ b/Akavache/Akavache_WinRT80.csproj @@ -0,0 +1,122 @@ + + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {74CCFBB6-7A56-461F-8DB6-93594BB4112E} + Library + Properties + Akavache + Akavache + en-US + 512 + {BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + ..\ + true + + + true + full + false + bin\Debug\Win8\ + obj\Debug\WinRT45\ + TRACE;DEBUG;NETFX_CORE; WINRT + prompt + 4 + + + + + pdbonly + true + bin\Release\Win8\ + obj\Release\WinRT45\ + TRACE;NETFX_CORE; WINRT + prompt + 4 + bin\Release\Win8\Akavache.XML + + + + Properties\CommonAssemblyInfo.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + False + ..\packages\Newtonsoft.Json.6.0.3\lib\netcore45\Newtonsoft.Json.dll + + + False + ..\packages\Splat.1.6.0\lib\NetCore45\Splat.dll + + + False + ..\packages\Rx-Core.2.2.5\lib\windows8\System.Reactive.Core.dll + + + False + ..\packages\Rx-Interfaces.2.2.5\lib\windows8\System.Reactive.Interfaces.dll + + + False + ..\packages\Rx-Linq.2.2.5\lib\windows8\System.Reactive.Linq.dll + + + False + ..\packages\Rx-PlatformServices.2.2.5\lib\windows8\System.Reactive.PlatformServices.dll + + + False + ..\packages\Rx-Xaml.2.2.5\lib\windows8\System.Reactive.Windows.Threading.dll + + + False + ..\packages\Rx-WinRT.2.2.5\lib\windows8\System.Reactive.WindowsRuntime.dll + + + + + + + 11.0 + + + + diff --git a/Akavache/akavache.nuspec b/Akavache/akavache.nuspec index e4e2fa660..fc20b2005 100644 --- a/Akavache/akavache.nuspec +++ b/Akavache/akavache.nuspec @@ -12,6 +12,13 @@ + + + + + + + @@ -46,6 +53,7 @@ + diff --git a/Akavache/packages.Akavache_WinRT80.config b/Akavache/packages.Akavache_WinRT80.config new file mode 100644 index 000000000..ff8d4e0cd --- /dev/null +++ b/Akavache/packages.Akavache_WinRT80.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/Akavache_VSAll.sln b/Akavache_VSAll.sln index aeaeeb908..2441362d0 100644 --- a/Akavache_VSAll.sln +++ b/Akavache_VSAll.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25123.0 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30626.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Tests", "Akavache.Tests\Akavache.Tests.csproj", "{0306DEFB-B42E-48C4-8D03-2AC9E860ADC1}" EndProject @@ -13,6 +13,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache_WinRT", "Akavache\ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WP8", "Akavache.Mobile\Akavache.Mobile_WP8.csproj", "{9F13D088-7B83-4922-97DD-18C4CBBDDEAE}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WinRT80", "Akavache.Mobile\Akavache.Mobile_WinRT80.csproj", "{47D34AB1-5188-4D8C-B24F-3151C67CC8CC}" +EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Mobile", "Mobile", "{D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SQLite", "SQLite", "{9E059863-7633-4919-B6A7-627D80186383}" @@ -42,6 +44,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WinRT", "Ak EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Deprecated", "Akavache.Deprecated\Akavache.Deprecated.csproj", "{1FE2625D-844E-4224-B6BC-4E9246AF9C62}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache_WinRT80", "Akavache\Akavache_WinRT80.csproj", "{74CCFBB6-7A56-461F-8DB6-93594BB4112E}" +EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Sqlite3", "Akavache.Sqlite3\Akavache.Sqlite3.csproj", "{241C47DF-CA8E-4296-AA03-2C48BB646ABD}" EndProject Global @@ -91,6 +95,14 @@ Global {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Release|Any CPU.Build.0 = Release|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.Build.0 = Release|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.Build.0 = Release|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Debug|Any CPU.Build.0 = Debug|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU @@ -147,6 +159,14 @@ Global {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Any CPU.Build.0 = Release|Any CPU {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.Build.0 = Release|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.Build.0 = Release|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.Build.0 = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU @@ -162,6 +182,7 @@ Global GlobalSection(NestedProjects) = preSolution {0306DEFB-B42E-48C4-8D03-2AC9E860ADC1} = {9E586C5C-5E77-4D58-8222-3E94C60E4756} {9F13D088-7B83-4922-97DD-18C4CBBDDEAE} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} + {47D34AB1-5188-4D8C-B24F-3151C67CC8CC} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {192A477B-BB94-A3C1-F14E-E177EF9FEDB7} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {FA91337A-9E94-4DBD-801E-05E1FDA78FFC} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {3CC2AFD6-D25F-4C8E-BD4B-31486F368365} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} diff --git a/MakeRelease.ps1 b/MakeRelease.ps1 index 51598363a..c47cdfcaa 100644 --- a/MakeRelease.ps1 +++ b/MakeRelease.ps1 @@ -1,6 +1,6 @@ Param([string]$version = $null) -$Archs = { "Net45","WP8", "MonoMac", "Monoandroid", "Monotouch", "Portable-Net45+Win8+WP8+Wpa81", "Portable-Win81+Wpa81", "Xamarin.iOS10", "Xamarin.Mac10" } +$Archs = { "Net45","WP8", "WinRT45", "MonoMac", "Monoandroid", "Monotouch", "Portable-Net45+Win8+WP8+Wpa81", "Portable-Win81+Wpa81", "Xamarin.iOS10", "Xamarin.Mac10" } $Projects = {"Akavache", "Akavache.Sqlite3", "Akavache.Mobile", "Akavache.Deprecated" } $SlnFileExists = Test-Path ".\Akavache.sln" From 19fc287a7c7d061fc6ac6877c1efc99949735fd0 Mon Sep 17 00:00:00 2001 From: Dennis Daume Date: Tue, 10 May 2016 10:09:06 +0200 Subject: [PATCH 13/92] Remove the support for WinRT80, since it can't even be opened in VS2015 --- Akavache.Mobile/Akavache.Mobile.nuspec | 1 - .../Akavache.Mobile_WinRT80.csproj | 109 ---------------- .../packages.Akavache.Mobile_WinRT80.config | 13 -- Akavache.sln | 89 +------------ Akavache/Akavache_WinRT80.csproj | 122 ------------------ Akavache/packages.Akavache_WinRT80.config | 12 -- Akavache_VSAll.sln | 25 +--- MakeRelease.ps1 | 2 +- 8 files changed, 7 insertions(+), 366 deletions(-) delete mode 100644 Akavache.Mobile/Akavache.Mobile_WinRT80.csproj delete mode 100644 Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config delete mode 100644 Akavache/Akavache_WinRT80.csproj delete mode 100644 Akavache/packages.Akavache_WinRT80.config diff --git a/Akavache.Mobile/Akavache.Mobile.nuspec b/Akavache.Mobile/Akavache.Mobile.nuspec index c766cf062..9d1cff599 100644 --- a/Akavache.Mobile/Akavache.Mobile.nuspec +++ b/Akavache.Mobile/Akavache.Mobile.nuspec @@ -19,7 +19,6 @@ - diff --git a/Akavache.Mobile/Akavache.Mobile_WinRT80.csproj b/Akavache.Mobile/Akavache.Mobile_WinRT80.csproj deleted file mode 100644 index 8448f6b7d..000000000 --- a/Akavache.Mobile/Akavache.Mobile_WinRT80.csproj +++ /dev/null @@ -1,109 +0,0 @@ - - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC} - Library - Properties - Akavache.Mobile - Akavache.Mobile - en-US - 512 - {BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - ..\ - true - - - true - full - false - bin\Debug\Win8\ - obj\Debug\WinRT45\ - TRACE;DEBUG;NETFX_CORE; WINRT - prompt - 4 - - - - - true - pdbonly - true - bin\Release\Win8\ - obj\Release\WinRT45\ - TRACE;NETFX_CORE; WINRT - prompt - 4 - bin\Release\Win8\Akavache.Mobile.XML - - - - Properties\CommonAssemblyInfo.cs - - - - - - - - {74ccfbb6-7a56-461f-8db6-93594bb4112e} - Akavache_WinRT80 - - - - - False - ..\packages\Newtonsoft.Json.6.0.3\lib\netcore45\Newtonsoft.Json.dll - - - False - ..\packages\reactiveui-core.6.0.1\lib\Win8\ReactiveUI.dll - - - False - ..\packages\Splat.1.6.0\lib\NetCore45\Splat.dll - - - False - ..\packages\Rx-Core.2.2.5\lib\windows8\System.Reactive.Core.dll - - - False - ..\packages\Rx-Interfaces.2.2.5\lib\windows8\System.Reactive.Interfaces.dll - - - False - ..\packages\Rx-Linq.2.2.5\lib\windows8\System.Reactive.Linq.dll - - - False - ..\packages\Rx-PlatformServices.2.2.5\lib\windows8\System.Reactive.PlatformServices.dll - - - False - ..\packages\Rx-Xaml.2.2.5\lib\windows8\System.Reactive.Windows.Threading.dll - - - False - ..\packages\Rx-WinRT.2.2.5\lib\windows8\System.Reactive.WindowsRuntime.dll - - - - - - - 11.0 - - - - diff --git a/Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config b/Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config deleted file mode 100644 index 22836a442..000000000 --- a/Akavache.Mobile/packages.Akavache.Mobile_WinRT80.config +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/Akavache.sln b/Akavache.sln index 765ad370e..941725fea 100644 --- a/Akavache.sln +++ b/Akavache.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.30501.0 +# Visual Studio 14 +VisualStudioVersion = 14.0.25123.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Tests", "Akavache.Tests\Akavache.Tests.csproj", "{0306DEFB-B42E-48C4-8D03-2AC9E860ADC1}" EndProject @@ -31,10 +31,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Deprecated", "Deprecated", "{403A7511-EACE-4DEA-9CE9-61592FB87C7B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache_WinRT80", "Akavache\Akavache_WinRT80.csproj", "{74CCFBB6-7A56-461F-8DB6-93594BB4112E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WinRT80", "Akavache.Mobile\Akavache.Mobile_WinRT80.csproj", "{47D34AB1-5188-4D8C-B24F-3151C67CC8CC}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Sqlite3", "Akavache.Sqlite3\Akavache.Sqlite3.csproj", "{241C47DF-CA8E-4296-AA03-2C48BB646ABD}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Deprecated", "Akavache.Deprecated\Akavache.Deprecated.csproj", "{1FE2625D-844E-4224-B6BC-4E9246AF9C62}" @@ -70,9 +66,8 @@ Global {0306DEFB-B42E-48C4-8D03-2AC9E860ADC1}.Release|x86.Build.0 = Release|x86 {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.ActiveCfg = Debug|ARM - {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.Build.0 = Debug|ARM {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.ActiveCfg = Debug|Any CPU + {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|ARM.Build.0 = Debug|ARM {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {A54279A3-3457-41DB-9166-67E05FD0E0B1}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -114,9 +109,8 @@ Global {57655198-7A38-48A6-BF95-BE57B2C3D32D}.Release|x86.ActiveCfg = Release|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.ActiveCfg = Debug|ARM - {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.Build.0 = Debug|ARM {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.ActiveCfg = Debug|Any CPU + {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|ARM.Build.0 = Debug|ARM {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -156,80 +150,6 @@ Global {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Release|Mixed Platforms.Build.0 = Release|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Release|x64.ActiveCfg = Release|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Release|x86.ActiveCfg = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|ARM.ActiveCfg = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|x64.ActiveCfg = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Debug|x86.ActiveCfg = Debug|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Any CPU.Build.0 = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|ARM.ActiveCfg = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|x64.ActiveCfg = Release|Any CPU - {1F6FD150-FEA6-4428-8521-781B8A0B31E8}.Release|x86.ActiveCfg = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|ARM.ActiveCfg = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|x64.ActiveCfg = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Debug|x86.ActiveCfg = Debug|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Any CPU.Build.0 = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|ARM.ActiveCfg = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|x64.ActiveCfg = Release|Any CPU - {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|x86.ActiveCfg = Release|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|ARM.ActiveCfg = Debug|ARM - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|ARM.Build.0 = Debug|ARM - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|x64.ActiveCfg = Debug|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|x86.ActiveCfg = Debug|x86 - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Debug|x86.Build.0 = Debug|x86 - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Any CPU.Build.0 = Release|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|ARM.ActiveCfg = Release|ARM - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|ARM.Build.0 = Release|ARM - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Mixed Platforms.ActiveCfg = Release|x86 - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|Mixed Platforms.Build.0 = Release|x86 - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|x64.ActiveCfg = Release|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|x86.ActiveCfg = Release|Any CPU - {AC4FCB4C-2A32-4E23-A5AB-7A4268016CBF}.Release|x86.Build.0 = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|ARM.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|x64.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|x86.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.Build.0 = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|ARM.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|x64.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|x86.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|ARM.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|x64.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|x86.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.Build.0 = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|ARM.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|x64.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|x86.ActiveCfg = Release|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.Build.0 = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|ARM.ActiveCfg = Debug|Any CPU @@ -267,7 +187,6 @@ Global {0306DEFB-B42E-48C4-8D03-2AC9E860ADC1} = {9E586C5C-5E77-4D58-8222-3E94C60E4756} {9F13D088-7B83-4922-97DD-18C4CBBDDEAE} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {3CC2AFD6-D25F-4C8E-BD4B-31486F368365} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {241C47DF-CA8E-4296-AA03-2C48BB646ABD} = {9E059863-7633-4919-B6A7-627D80186383} {1FE2625D-844E-4224-B6BC-4E9246AF9C62} = {403A7511-EACE-4DEA-9CE9-61592FB87C7B} EndGlobalSection diff --git a/Akavache/Akavache_WinRT80.csproj b/Akavache/Akavache_WinRT80.csproj deleted file mode 100644 index b0ea23b44..000000000 --- a/Akavache/Akavache_WinRT80.csproj +++ /dev/null @@ -1,122 +0,0 @@ - - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {74CCFBB6-7A56-461F-8DB6-93594BB4112E} - Library - Properties - Akavache - Akavache - en-US - 512 - {BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - ..\ - true - - - true - full - false - bin\Debug\Win8\ - obj\Debug\WinRT45\ - TRACE;DEBUG;NETFX_CORE; WINRT - prompt - 4 - - - - - pdbonly - true - bin\Release\Win8\ - obj\Release\WinRT45\ - TRACE;NETFX_CORE; WINRT - prompt - 4 - bin\Release\Win8\Akavache.XML - - - - Properties\CommonAssemblyInfo.cs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - False - ..\packages\Newtonsoft.Json.6.0.3\lib\netcore45\Newtonsoft.Json.dll - - - False - ..\packages\Splat.1.6.0\lib\NetCore45\Splat.dll - - - False - ..\packages\Rx-Core.2.2.5\lib\windows8\System.Reactive.Core.dll - - - False - ..\packages\Rx-Interfaces.2.2.5\lib\windows8\System.Reactive.Interfaces.dll - - - False - ..\packages\Rx-Linq.2.2.5\lib\windows8\System.Reactive.Linq.dll - - - False - ..\packages\Rx-PlatformServices.2.2.5\lib\windows8\System.Reactive.PlatformServices.dll - - - False - ..\packages\Rx-Xaml.2.2.5\lib\windows8\System.Reactive.Windows.Threading.dll - - - False - ..\packages\Rx-WinRT.2.2.5\lib\windows8\System.Reactive.WindowsRuntime.dll - - - - - - - 11.0 - - - - diff --git a/Akavache/packages.Akavache_WinRT80.config b/Akavache/packages.Akavache_WinRT80.config deleted file mode 100644 index ff8d4e0cd..000000000 --- a/Akavache/packages.Akavache_WinRT80.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/Akavache_VSAll.sln b/Akavache_VSAll.sln index 2441362d0..aeaeeb908 100644 --- a/Akavache_VSAll.sln +++ b/Akavache_VSAll.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.30626.0 +# Visual Studio 14 +VisualStudioVersion = 14.0.25123.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Tests", "Akavache.Tests\Akavache.Tests.csproj", "{0306DEFB-B42E-48C4-8D03-2AC9E860ADC1}" EndProject @@ -13,8 +13,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache_WinRT", "Akavache\ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WP8", "Akavache.Mobile\Akavache.Mobile_WP8.csproj", "{9F13D088-7B83-4922-97DD-18C4CBBDDEAE}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WinRT80", "Akavache.Mobile\Akavache.Mobile_WinRT80.csproj", "{47D34AB1-5188-4D8C-B24F-3151C67CC8CC}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Mobile", "Mobile", "{D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SQLite", "SQLite", "{9E059863-7633-4919-B6A7-627D80186383}" @@ -44,8 +42,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Mobile_WinRT", "Ak EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Deprecated", "Akavache.Deprecated\Akavache.Deprecated.csproj", "{1FE2625D-844E-4224-B6BC-4E9246AF9C62}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache_WinRT80", "Akavache\Akavache_WinRT80.csproj", "{74CCFBB6-7A56-461F-8DB6-93594BB4112E}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akavache.Sqlite3", "Akavache.Sqlite3\Akavache.Sqlite3.csproj", "{241C47DF-CA8E-4296-AA03-2C48BB646ABD}" EndProject Global @@ -95,14 +91,6 @@ Global {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Release|Any CPU.Build.0 = Release|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {9F13D088-7B83-4922-97DD-18C4CBBDDEAE}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Any CPU.Build.0 = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC}.Release|Mixed Platforms.Build.0 = Release|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Debug|Any CPU.Build.0 = Debug|Any CPU {EB73ADDD-2FE9-44C0-A1AB-20709B979B64}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU @@ -159,14 +147,6 @@ Global {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Any CPU.Build.0 = Release|Any CPU {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {1FE2625D-844E-4224-B6BC-4E9246AF9C62}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Any CPU.Build.0 = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {74CCFBB6-7A56-461F-8DB6-93594BB4112E}.Release|Mixed Platforms.Build.0 = Release|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Any CPU.Build.0 = Debug|Any CPU {241C47DF-CA8E-4296-AA03-2C48BB646ABD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU @@ -182,7 +162,6 @@ Global GlobalSection(NestedProjects) = preSolution {0306DEFB-B42E-48C4-8D03-2AC9E860ADC1} = {9E586C5C-5E77-4D58-8222-3E94C60E4756} {9F13D088-7B83-4922-97DD-18C4CBBDDEAE} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} - {47D34AB1-5188-4D8C-B24F-3151C67CC8CC} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {192A477B-BB94-A3C1-F14E-E177EF9FEDB7} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {FA91337A-9E94-4DBD-801E-05E1FDA78FFC} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} {3CC2AFD6-D25F-4C8E-BD4B-31486F368365} = {D3FCAC54-DE89-4D3D-AAFD-68A378A7A9F1} diff --git a/MakeRelease.ps1 b/MakeRelease.ps1 index c47cdfcaa..51598363a 100644 --- a/MakeRelease.ps1 +++ b/MakeRelease.ps1 @@ -1,6 +1,6 @@ Param([string]$version = $null) -$Archs = { "Net45","WP8", "WinRT45", "MonoMac", "Monoandroid", "Monotouch", "Portable-Net45+Win8+WP8+Wpa81", "Portable-Win81+Wpa81", "Xamarin.iOS10", "Xamarin.Mac10" } +$Archs = { "Net45","WP8", "MonoMac", "Monoandroid", "Monotouch", "Portable-Net45+Win8+WP8+Wpa81", "Portable-Win81+Wpa81", "Xamarin.iOS10", "Xamarin.Mac10" } $Projects = {"Akavache", "Akavache.Sqlite3", "Akavache.Mobile", "Akavache.Deprecated" } $SlnFileExists = Test-Path ".\Akavache.sln" From 00b5db52d1ee69cce15ad9fadcfcd1976e3cef06 Mon Sep 17 00:00:00 2001 From: Dennis Daume Date: Tue, 10 May 2016 10:22:01 +0200 Subject: [PATCH 14/92] Remove the Win8 nuspec entry --- Akavache/akavache.nuspec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Akavache/akavache.nuspec b/Akavache/akavache.nuspec index fc20b2005..e4e2fa660 100644 --- a/Akavache/akavache.nuspec +++ b/Akavache/akavache.nuspec @@ -12,13 +12,6 @@ - - - - - - - @@ -53,7 +46,6 @@ - From 9a6be0768dab31ff8dcf587d3d13d914fcd3a1b7 Mon Sep 17 00:00:00 2001 From: Kent Boogaart Date: Fri, 27 May 2016 14:23:06 +0930 Subject: [PATCH 15/92] Add Shutdown docs to README. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 87d46e49a..3b5738f37 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,16 @@ toaster = await BlobCache.UserAccount.GetObjectAsync("toaster") .Catch(Observable.Return(new Toaster())); ``` +### Shutting Down + +Critical to the integrity of your Akavache cache is the `BlobCache.Shutdown()` method. You *must* call this when your application shuts down. Moreover, be sure to wait for the result: + +```cs +BlobCache.Shutdown().Wait(); +``` + +Failure to do this may mean that queued items are not flushed to the cache. + ### Examining Akavache caches Using [Akavache Explorer](https://github.com/paulcbetts/AkavacheExplorer), you From 4f43826a2b4139424b7fc1ac8046c7c631f109a8 Mon Sep 17 00:00:00 2001 From: Geoffrey Huntley Date: Mon, 15 Aug 2016 18:11:57 +1000 Subject: [PATCH 16/92] docs: added issue/pr templates and contrib guidelines --- .github/ISSUE_TEMPLATE.md | 27 +++++ .github/PULL_REQUEST_TEMPLATE.md | 23 ++++ CONTRIBUTING.md | 200 +++++++++++++++++++++++++++++++ 3 files changed, 250 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 CONTRIBUTING.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 000000000..df408219b --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,27 @@ +***Note*: for support questions, please ask on StackOverflow: https://stackoverflow.com/questions/tagged/Akavache . This repository's issues are reserved for feature requests and bug reports.** + +**Do you want to request a *feature* or report a *bug*?** + + + +**What is the current behavior?** + + + +**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem** + + + +**What is the expected behavior?** + + + +**What is the motivation / use case for changing the behavior?** + + + +**Which versions of Akavache, and which platform / OS are affected by this issue? Did this work in previous versions of Akavache? Please also test with the latest stable and snapshot (https://www.myget.org/feed/Akavache/package/nuget/Akavache) versions.** + + + +**Other information (e.g. stacktraces, related issues, suggestions how to fix)** diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..797cfd7b2 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,23 @@ +**What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)** + + + +**What is the current behavior? (You can also link to an open issue here)** + + + +**What is the new behavior (if this is a feature change)?** + + + +**Does this PR introduce a breaking change?** + + + +**Please check if the PR fulfills these requirements** +- [ ] The commit follows our guidelines: https://github.com/Akavache/Akavache/blob/master/CONTRIBUTING.md +- [ ] Tests for the changes have been added (for bug fixes / features) +- [ ] Docs have been added / updated (for bug fixes / features) + +**Other information**: + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..40063f246 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,200 @@ +# Contributing to Akavache + +We'd love for you to contribute to our source code and to make Akavache even better than it is +today! Here are the guidelines we'd like you to follow: + + - [Code of Conduct](#coc) + - [Question or Problem?](#question) + - [Issues and Bugs](#issue) + - [Feature Requests](#feature) + - [Submission Guidelines](#submit) + - [Coding Rules](#rules) + - [Commit Message Guidelines](#commit) + +## Code of Conduct + +Help us keep the project open and inclusive. Please read and follow our [Code of Conduct][coc]. + +## Got a Question or Problem? + +If you have questions about how to use Akavache, please direct these to [StackOverflow](https://stackoverflow.com/questions/tagged/Akavache). The project maintainers hang out in this [Slack](https://github.com/reactiveui/reactiveui#slack) channel. + +## Found an Issue? + +If you find a bug in the source code or a mistake in the documentation, you can help us by +submitting an issue to our [GitHub Repository](https://github.com/akavache/akavache). Even better you can submit a Pull Request +with a fix. + +**Please see the [Submission Guidelines](#submit) below.** + +## Want a Feature? + +You can request a new feature by submitting an issue to our [GitHub Repository](https://github.com/akavache/Akavache). If you +would like to implement a new feature then consider what kind of change it is: + +* **Major Changes** that you wish to contribute to the project should be discussed first in [Slack](https://github.com/reactiveui/reactiveui#slack) so that we can better coordinate our efforts, + prevent duplication of work, and help you to craft the change so that it is successfully accepted + into the project. +* **Small Changes** can be crafted and submitted to the [GitHub Repository](https://github.com/akavache/Akavache) as a Pull + Request. + +## Submission Guidelines + +### Submitting an Issue + +If your issue appears to be a bug, and hasn't been reported, open a new issue. Help us to maximize +the effort we can spend fixing issues and adding new features, by not reporting duplicate issues. + +Providing the following information will increase the chances of your issue being dealt with +quickly: + +* **Overview of the Issue** - if an error is being thrown a stack trace helps +* **Motivation for or Use Case** - explain why this is a bug for you +* **Akavache Version(s)** - is it a regression? +* **Operating System** - is this a problem with all browsers or only specific ones? +* **Reproduce the Error** - provide a example or an unambiguous set of steps. +* **Related Issues** - has a similar issue been reported before? +* **Suggest a Fix** - if you can't fix the bug yourself, perhaps you can point to what might be + causing the problem (line of code or commit) + +**If you get help, help others. Good karma rulez!** + +### Submitting a Pull Request +Before you submit your pull request consider the following guidelines: + +* Search [GitHub](https://github.com/akavache/akavache/pulls) for an open or closed Pull Request + that relates to your submission. You don't want to duplicate effort. +* Make your changes in a new git branch: + + ```shell + git checkout -b my-fix-branch master + ``` + +* Create your patch, **including appropriate test cases**. +* Follow our [Coding Rules](#rules). +* Run the test suite, as described below. +* Commit your changes using a descriptive commit message that follows our + [commit message conventions](#commit). + + ```shell + git commit -a + ``` + Note: the optional commit `-a` command line option will automatically "add" and "rm" edited files. + +* Build your changes locally to ensure all the tests pass: + + ```shell + build.cmd + ``` + +* Push your branch to GitHub: + + ```shell + git push origin my-fix-branch + ``` + +In GitHub, send a pull request to `akavache:master`. + +If we suggest changes, then: + +* Make the required updates. +* Re-run the test suite to ensure tests are still passing. +* Commit your changes to your branch (e.g. `my-fix-branch`). +* Push the changes to your GitHub repository (this will update your Pull Request). + +If the PR gets too outdated we may ask you to rebase and force push to update the PR: + +```shell +git rebase master -i +git push origin my-fix-branch -f +``` + +_WARNING: Squashing or reverting commits and force-pushing thereafter may remove GitHub comments +on code that were previously made by you or others in your commits. Avoid any form of rebasing +unless necessary._ + +That's it! Thank you for your contribution! + +#### After your pull request is merged + +After your pull request is merged, you can safely delete your branch and pull the changes +from the main (upstream) repository: + +* Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows: + + ```shell + git push origin --delete my-fix-branch + ``` + +* Check out the master branch: + + ```shell + git checkout master -f + ``` + +* Delete the local branch: + + ```shell + git branch -D my-fix-branch + ``` + +* Update your master with the latest upstream version: + + ```shell + git pull --ff upstream master + ``` + +## Coding Rules + +To ensure consistency throughout the source code, keep these rules in mind as you are working: + +* All features or bug fixes **must be tested** by one or more unit tests. +* All public API methods **must be documented** with XML documentation. + +## Git Commit Guidelines + +Each commit message consists of a **header**, a **body** and a **footer**. The header has a special +format that includes a **type** and a **subject**: + +``` +: + + +