Commit Graph

679 Commits

Author SHA1 Message Date
Philipp Crocoll
df875f959e Merge branch 'AlexVallat/Keepass2AndroidPerfOpt' into Release085
Conflicts:
	src/keepass2android/search/SearchResults.cs
2013-08-30 23:10:43 +02:00
Philipp Crocoll
e8ad5f0845 Implemented moving of groups 2013-08-30 22:58:29 +02:00
Philipp Crocoll
e1de3e2cbf entries can be moved to other groups 2013-08-28 14:00:54 +02:00
Philipp Crocoll
964d0ea512 database is correctly unloaded if saving fails 2013-08-28 14:00:36 +02:00
AlexVallat
76af17cfa0 Search bug fixing 2013-08-16 18:46:05 +01:00
Philipp Crocoll
55e81ab25b * fixed bug in SearchResults.cs: _db was always null
* refactoring of GroupView: removed GroupAddEntryView.cs, renamed GroupViewOnlyView.cs to GroupView with added method to set button visibility
* introduced AppTask for moving an element (but not yet implemented/used)
2013-08-16 14:26:06 +02:00
AlexVallat
bb0827ea51 Added serializer precompile to preload step for kdbp files 2013-08-15 18:49:27 +01:00
Philipp Crocoll
4cbc4542c2 updated version number and change log 2013-08-14 08:12:09 +02:00
Philipp Crocoll
273dd2ff65 updated translations from crowdin 2013-08-14 08:11:53 +02:00
Philipp Crocoll
04acfb99ed Fixed problem with opening non-existing files through CachingFileStorage 2013-08-14 06:36:12 +02:00
Philipp Crocoll
e014b2c185 Merge branch 'AlexVallat/Keepass2AndroidPerfOpt'
Conflicts:
	src/Kp2aBusinessLogic/database/edit/LoadDB.cs
2013-08-14 06:13:16 +02:00
Philipp Crocoll
05c131a745 Merge branch 'master' of https://git01.codeplex.com/forks/alexvallat/keepass2androidperfopt into AlexVallat/Keepass2AndroidPerfOpt
Conflicts:
	src/keepass2android/PasswordActivity.cs
2013-08-14 06:09:26 +02:00
Philipp Crocoll
c63302ef5e * CachingFileStorage: Added more callbacks to provide user with more information what's going on
* Changed TestCacheSupervisor for easier use of the many callbacks
* Adapted tests for new callbacks

* GroupBaseActivity: Added sync menu command
* Preferences: Added option to enable/disable offline caching
* App: don't lock database when user wants to reload. This is done in PasswordActivity and should be done there after the password was filled into the pw field
* CheckDatabaseForChanges.cs: used when syncing a non-cached database
2013-08-14 06:05:25 +02:00
Philipp Crocoll
d169cd3f5b Bugfix: Search without context now working again (fixes resolving of references fields) 2013-08-14 05:59:26 +02:00
Philipp Crocoll
21f38a4eaa define "RELEASE" in Release builds to make sure Debuggable is set to false 2013-08-13 21:52:17 +02:00
AlexVallat
8a193f5216 Better exception handling for pre-loading 2013-08-10 19:49:59 +01:00
Philipp Crocoll
370c937578 Merge branch 'AlexVallat/Keepass2AndroidPerfOpt'
Conflicts:
	src/KeePassLib2Android/Serialization/IOConnection.cs
	src/Kp2aBusinessLogic/IKp2aApp.cs
	src/Kp2aBusinessLogic/database/Database.cs
	src/keepass2android/Resources/Resource.designer.cs
	src/keepass2android/app/App.cs
	src/keepass2android/fileselect/FileSelectActivity.cs
2013-08-10 20:25:10 +02:00
Philipp Crocoll
27d75b4d5a + Manifest for Unit-Test project 2013-08-10 20:10:47 +02:00
Philipp Crocoll
96a4831758 Removed ExitChangeDb result code (no longer required)
Added "!IsFinisihing"
2013-08-10 20:09:13 +02:00
Philipp Crocoll
eaa426db33 FileSelectActivity is only shown when necessary or when explicitly selected by user 2013-08-09 22:31:30 +02:00
Philipp Crocoll
3b1b10385f Merge branch 'master' of https://git01.codeplex.com/forks/alexvallat/keepass2androidperfopt into AlexVallat/Keepass2AndroidPerfOpt
Conflicts:
	src/keepass2android/QuickUnlock.cs
2013-08-09 21:25:54 +02:00
Philipp Crocoll
525821e3b9 added ignores 2013-08-08 20:41:03 +02:00
Philipp Crocoll
a671c4f241 Fixed SaveDb for CachingFileStorage and target file not existing
-> + Tests
First, very simple implementation of ChangingFileStorage in KP2A App (preliminary)
2013-08-08 20:40:35 +02:00
AlexVallat
b9aad79b62 Made pre-loading optional
Refactoring of PasswordActivity/QuickUnlock lifecycle
2013-08-07 18:34:43 +01:00
Philipp Crocoll
289e10e1c4 Added tests and functionality to ensure that caching and syncing works when the remote file is removed.
Added UI strings for sync and cache functionality
2013-08-06 22:21:58 +02:00
Philipp Crocoll
3b905a354f App locks the database before trying to reload. 2013-08-06 20:46:09 +02:00
AlexVallat
518479904a Remove debugging delay, ensure prompt GC of memory used when loading DB 2013-08-04 09:40:26 +01:00
AlexVallat
f0dfdefd67 Load Database task async wait moved to LoadDb runnable rather than blocking UI thread (in case the file is very slow, or the user is very quick to enter their password)
Database Unlocked warning notification now uses a 4.1 extended "Lock Database" button, and the main action is now just to activate the app.

PasswordActivity no longer loads the database file into memory ready for loading if it's already loaded and we're showing QuickUnlock instead.
2013-08-03 19:58:01 +01:00
Philipp Crocoll
bf0897e7ec added comment with small todo 2013-08-03 12:34:12 +02:00
Philipp Crocoll
ac88da90e7 More changes due to other Mono Version and VS2012 2013-08-03 12:33:47 +02:00
Philipp Crocoll
4f7744999f EntryActivity.cs: Ensure notifications don't pop up if locked
QuickUnlock.cs: ensure keyboard shows up also OnResume
App.cs: use GetDb() to ensure db is not null
2013-08-03 12:33:19 +02:00
Philipp Crocoll
85e6a0e9c2 Kp2aLog.cs: thread safe file access 2013-08-03 12:31:40 +02:00
Philipp Crocoll
28fb854fb1 Modifications for Mono for Android 4.8 2013-08-03 12:30:13 +02:00
Philipp Crocoll
8693dfe9f4 Added logging regarding native key transform 2013-08-02 16:48:22 +02:00
Philipp Crocoll
e6bf40321b removed invalid character sequences from italian and chinese resource files 2013-08-01 22:22:50 +02:00
Philipp Crocoll
f0f305fc9f Deleted android-support library due to changes in Mono for Android 4.6->4.8 2013-08-01 22:22:26 +02:00
Philipp Crocoll
c0520c055f + SynchronizeCachedDatabase.cs: Synchronizes the local cache with the remote file. Applies merging if necessary.
+ Tests (not yet complete)
2013-08-01 22:20:39 +02:00
Philipp Crocoll
3cfb2c17e6 First implementation of CachingFileStorage
+ some tests to test loading and saving to cached storage
2013-07-30 20:42:16 +02:00
Philipp Crocoll
89eb4b0a34 Added missing java file
Added many ignores
2013-07-30 20:41:19 +02:00
AlexVallat
84efaae462 Never hang on to reference to PwDatabase (allow it to be garbage collected when cleared) 2013-07-27 12:25:13 +01:00
AlexVallat
8a1136aa97 Added missing newline 2013-07-27 09:36:37 +01:00
AlexVallat
e3b707b529 Working, OngoingNotifications foreground only when QuickLocked 2013-07-27 09:22:39 +01:00
Philipp Crocoll
8c682d8a24 more paranoid setting: QuickUnlock doesn't show the filename either when filenames are not remembered 2013-07-27 09:36:32 +02:00
AlexVallat
8c8c94c454 Working, but service dies after sharing 2013-07-26 20:10:03 +01:00
AlexVallat
0006a19066 New icons 2013-07-25 17:56:44 +01:00
AlexVallat
d678c711fa On master: Current working dir changes 2013-07-25 13:47:05 +01:00
AlexVallat
6c94824028 untracked files on master: cab539e Merge branch 'master' of https://git01.codeplex.com/keepass2android 2013-07-25 13:47:05 +01:00
AlexVallat
806d175ac7 index on master: cab539e Merge branch 'master' of https://git01.codeplex.com/keepass2android 2013-07-25 13:47:04 +01:00
Philipp Crocoll
4294791d76 Added option not to remember recently opened files 2013-07-24 20:32:39 +02:00
AlexVallat
cab539e85f Merge branch 'master' of https://git01.codeplex.com/keepass2android 2013-07-24 08:12:45 +01:00