Commit Graph

620 Commits

Author SHA1 Message Date
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
Philipp Crocoll
57506336c1 Added possibility to add entry to root group 2013-07-24 06:43:25 +02:00
Philipp Crocoll
fa6555f01c Updated Manifest files for 0.8.4c 2013-07-24 06:27:17 +02:00
Philipp Crocoll
0a26fdefbb Fixed bug with AppSetting Timeout set to "never"
added more debugging output in TimeoutHelper.cs
2013-07-24 06:03:23 +02:00
Philipp Crocoll
9f3c2dfc06 Added translations for Keyboard from crowdin 2013-07-24 05:58:00 +02:00
Philipp Crocoll
896ce8dd6e Added translations from crowdin 2013-07-24 05:54:28 +02:00
Philipp Crocoll
58a6e63be0 Bug fix: menu didn't work on Android 2.x due to search widget 2013-07-21 21:47:20 +02:00
Philipp Crocoll
c289346538 Bug fixes and debugging, -> v. 0.8.4b 2013-07-21 21:46:58 +02:00
Philipp Crocoll
b750dcfa31 Minor modifications for KP2A offline and release 0.8.4 2013-07-17 23:11:28 +02:00
Philipp Crocoll
ccc557f67b Updated translations from Crowdin 2013-07-17 22:01:07 +02:00