7c release

fix bugs in AutoFillService
add 1.0.0 changelog again
move kill button down
This commit is contained in:
Philipp Crocoll 2016-02-07 20:55:29 +01:00
parent 91059a8349
commit 5c9b411bfd
11 changed files with 229 additions and 60 deletions

View File

@ -114,7 +114,6 @@
<Compile Include="ProgressTask.cs" /> <Compile Include="ProgressTask.cs" />
<Compile Include="PwGroupEqualityFromIdComparer.cs" /> <Compile Include="PwGroupEqualityFromIdComparer.cs" />
<Compile Include="PwUuidEqualityComparer.cs" /> <Compile Include="PwUuidEqualityComparer.cs" />
<Compile Include="Resources\Resource.Designer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SearchDbHelper.cs" /> <Compile Include="SearchDbHelper.cs" />
<Compile Include="ProgressDialogStatusLogger.cs" /> <Compile Include="ProgressDialogStatusLogger.cs" />
@ -125,6 +124,10 @@
<Compile Include="Utils\Spr\SprEngine.PickChars.cs" /> <Compile Include="Utils\Spr\SprEngine.PickChars.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\JavaFileStorageBindings\JavaFileStorageBindings.csproj">
<Project>{48574278-4779-4b3a-a9e4-9cf1bc285d0b}</Project>
<Name>JavaFileStorageBindings</Name>
</ProjectReference>
<ProjectReference Include="..\KeePassLib2Android\KeePassLib2Android.csproj"> <ProjectReference Include="..\KeePassLib2Android\KeePassLib2Android.csproj">
<Project>{545B4A6B-8BBA-4FBE-92FC-4AC060122A54}</Project> <Project>{545B4A6B-8BBA-4FBE-92FC-4AC060122A54}</Project>
<Name>KeePassLib2Android</Name> <Name>KeePassLib2Android</Name>
@ -139,16 +142,9 @@
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="packages.config" /> <Folder Include="Resources\" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="..\packages\Xamarin.Insights.1.11.3\build\MonoAndroid10\Xamarin.Insights.targets" Condition="Exists('..\packages\Xamarin.Insights.1.11.3\build\MonoAndroid10\Xamarin.Insights.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Aktivieren Sie die Wiederherstellung von NuGet-Paketen, um die fehlende Datei herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Xamarin.Insights.1.11.3\build\MonoAndroid10\Xamarin.Insights.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Insights.1.11.3\build\MonoAndroid10\Xamarin.Insights.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="VcsDirectoryMappings"> <component name="VcsDirectoryMappings">
<mapping directory="" vcs="" /> <mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
</component> </component>
</project> </project>

View File

@ -104,8 +104,8 @@
<orderEntry type="library" exported="" name="httpcore-4.0.1" level="project" /> <orderEntry type="library" exported="" name="httpcore-4.0.1" level="project" />
<orderEntry type="library" exported="" name="json_simple-1.1" level="project" /> <orderEntry type="library" exported="" name="json_simple-1.1" level="project" />
<orderEntry type="library" exported="" name="google-http-client-android-1.16.0-rc" level="project" /> <orderEntry type="library" exported="" name="google-http-client-android-1.16.0-rc" level="project" />
<orderEntry type="library" exported="" name="gson-2.1" level="project" />
<orderEntry type="library" exported="" name="google-http-client-gson-1.20.0" level="project" /> <orderEntry type="library" exported="" name="google-http-client-gson-1.20.0" level="project" />
<orderEntry type="library" exported="" name="gson-2.1" level="project" />
<orderEntry type="library" exported="" name="google-http-client-jackson-1.16.0-rc" level="project" /> <orderEntry type="library" exported="" name="google-http-client-jackson-1.16.0-rc" level="project" />
<orderEntry type="library" exported="" name="commons-logging-1.1.1" level="project" /> <orderEntry type="library" exported="" name="commons-logging-1.1.1" level="project" />
</component> </component>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="VcsDirectoryMappings"> <component name="VcsDirectoryMappings">
<mapping directory="" vcs="" /> <mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
</component> </component>
</project> </project>

View File

@ -9,7 +9,19 @@
<option name="TOOL_WINDOW_CONFIGURED_FILTER" value="Show only selected application" /> <option name="TOOL_WINDOW_CONFIGURED_FILTER" value="Show only selected application" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="d4fa0d1a-5b1d-4c4c-9674-0eb896f6d066" name="Default" comment="" /> <list default="true" id="d4fa0d1a-5b1d-4c4c-9674-0eb896f6d066" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../JavaFileStorage/app/build/outputs/aar/app-debug.aar" afterPath="$PROJECT_DIR$/../JavaFileStorage/app/build/outputs/aar/app-debug.aar" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/build/outputs/aar/app-debug.aar" afterPath="$PROJECT_DIR$/app/build/outputs/aar/app-debug.aar" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/src/main/java/keepass2android/autofill/AutoFillService.java" afterPath="$PROJECT_DIR$/app/src/main/java/keepass2android/autofill/AutoFillService.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../../Kp2aBusinessLogic/Io/CachingFileStorage.cs" afterPath="$PROJECT_DIR$/../../Kp2aBusinessLogic/Io/CachingFileStorage.cs" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../../keepass2android/ChangeLog.cs" afterPath="$PROJECT_DIR$/../../keepass2android/ChangeLog.cs" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../../Kp2aBusinessLogic/Kp2aBusinessLogic.csproj" afterPath="$PROJECT_DIR$/../../Kp2aBusinessLogic/Kp2aBusinessLogic.csproj" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../JavaFileStorage/app/app.iml" afterPath="$PROJECT_DIR$/../JavaFileStorage/app/app.iml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../../keepass2android/Resources/layout/password.xml" afterPath="$PROJECT_DIR$/../../keepass2android/Resources/layout/password.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../JavaFileStorage/.idea/vcs.xml" afterPath="$PROJECT_DIR$/../JavaFileStorage/.idea/vcs.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/vcs.xml" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
</list>
<ignored path="java.iws" /> <ignored path="java.iws" />
<ignored path=".idea/workspace.xml" /> <ignored path=".idea/workspace.xml" />
<ignored path="$PROJECT_DIR$/build/classes/" /> <ignored path="$PROJECT_DIR$/build/classes/" />
@ -45,6 +57,8 @@
<folding> <folding>
<element signature="e#0#100279#0" expanded="false" /> <element signature="e#0#100279#0" expanded="false" />
<element signature="imports" expanded="false" /> <element signature="imports" expanded="false" />
<element signature="e#8338#8366#0" expanded="false" />
<element signature="e#8439#8457#0" expanded="false" />
<element signature="e#8691#8692#0" expanded="false" /> <element signature="e#8691#8692#0" expanded="false" />
<element signature="e#8739#8740#0" expanded="false" /> <element signature="e#8739#8740#0" expanded="false" />
<element signature="e#8790#8791#0" expanded="false" /> <element signature="e#8790#8791#0" expanded="false" />
@ -55,8 +69,19 @@
<element signature="e#9518#9519#0" expanded="false" /> <element signature="e#9518#9519#0" expanded="false" />
<element signature="e#9591#9592#0" expanded="false" /> <element signature="e#9591#9592#0" expanded="false" />
<element signature="e#9647#9648#0" expanded="false" /> <element signature="e#9647#9648#0" expanded="false" />
<element signature="e#9693#10226#0" expanded="false" />
<element signature="e#10225#10226#0" expanded="false" />
<element signature="e#14396#14405#0" expanded="false" />
<element signature="e#37639#37653#0" expanded="false" />
<element signature="e#51293#51294#0" expanded="false" /> <element signature="e#51293#51294#0" expanded="false" />
<element signature="e#51354#51355#0" expanded="false" /> <element signature="e#51354#51355#0" expanded="false" />
<element signature="e#52556#52660#0" expanded="false" />
<element signature="e#52659#52660#0" expanded="false" />
<element signature="e#52722#52739#0" expanded="false" />
<element signature="e#54257#55536#0" expanded="false" />
<element signature="e#55535#55536#0" expanded="false" />
<element signature="e#55597#55743#0" expanded="false" />
<element signature="e#55742#55743#0" expanded="false" />
<element signature="e#59864#59865#0" expanded="false" /> <element signature="e#59864#59865#0" expanded="false" />
<element signature="e#59905#59906#0" expanded="false" /> <element signature="e#59905#59906#0" expanded="false" />
<element signature="e#59939#59940#0" expanded="false" /> <element signature="e#59939#59940#0" expanded="false" />
@ -65,6 +90,8 @@
<element signature="e#67625#67626#0" expanded="false" /> <element signature="e#67625#67626#0" expanded="false" />
<element signature="e#67674#67675#0" expanded="false" /> <element signature="e#67674#67675#0" expanded="false" />
<element signature="e#67733#67734#0" expanded="false" /> <element signature="e#67733#67734#0" expanded="false" />
<element signature="e#67913#68280#0" expanded="false" />
<element signature="e#68279#68280#0" expanded="false" />
<element signature="e#68330#68331#0" expanded="false" /> <element signature="e#68330#68331#0" expanded="false" />
<element signature="e#68387#68388#0" expanded="false" /> <element signature="e#68387#68388#0" expanded="false" />
<element signature="e#81359#81360#0" expanded="false" /> <element signature="e#81359#81360#0" expanded="false" />
@ -75,8 +102,8 @@
<element signature="e#85765#85766#0" expanded="false" /> <element signature="e#85765#85766#0" expanded="false" />
<element signature="e#87861#87862#0" expanded="false" /> <element signature="e#87861#87862#0" expanded="false" />
<element signature="e#87890#87891#0" expanded="false" /> <element signature="e#87890#87891#0" expanded="false" />
<element signature="e#89833#89834#0" expanded="false" /> <element signature="e#89727#89882#0" expanded="false" />
<element signature="e#89875#89876#0" expanded="false" /> <element signature="e#89881#89882#0" expanded="false" />
<element signature="e#91923#91924#0" expanded="false" /> <element signature="e#91923#91924#0" expanded="false" />
<element signature="e#91951#91952#0" expanded="false" /> <element signature="e#91951#91952#0" expanded="false" />
<element signature="e#91993#91994#0" expanded="false" /> <element signature="e#91993#91994#0" expanded="false" />
@ -85,6 +112,8 @@
<element signature="e#93122#93123#0" expanded="false" /> <element signature="e#93122#93123#0" expanded="false" />
<element signature="e#93163#93164#0" expanded="false" /> <element signature="e#93163#93164#0" expanded="false" />
<element signature="e#93222#93223#0" expanded="false" /> <element signature="e#93222#93223#0" expanded="false" />
<element signature="e#96878#97414#0" expanded="false" />
<element signature="e#97413#97414#0" expanded="false" />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -143,10 +172,14 @@
<file leaf-file-name="AutoFillService.java" pinned="false" current-in-tab="true"> <file leaf-file-name="AutoFillService.java" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/app/src/main/java/keepass2android/autofill/AutoFillService.java"> <entry file="file://$PROJECT_DIR$/app/src/main/java/keepass2android/autofill/AutoFillService.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.33242506"> <state vertical-scroll-proportion="0.5964392">
<caret line="149" column="44" selection-start-line="149" selection-start-column="44" selection-end-line="149" selection-end-column="44" /> <caret line="384" column="29" selection-start-line="384" selection-start-column="29" selection-end-line="384" selection-end-column="29" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
<element signature="e#2880#2881#0" expanded="true" />
<element signature="e#2913#2914#0" expanded="true" />
<element signature="e#13075#13076#0" expanded="true" />
<element signature="e#13129#13130#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -177,7 +210,10 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0"> <state vertical-scroll-proportion="0.0">
<caret line="54" column="0" selection-start-line="54" selection-start-column="0" selection-end-line="54" selection-end-column="0" /> <caret line="54" column="0" selection-start-line="54" selection-start-column="0" selection-end-line="54" selection-end-column="0" />
<folding /> <folding>
<element signature="e#0#3436#0" expanded="false" />
<element signature="imports" expanded="false" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -193,6 +229,9 @@
</list> </list>
</option> </option>
</component> </component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../../.." />
</component>
<component name="GradleLocalSettings"> <component name="GradleLocalSettings">
<option name="availableProjects"> <option name="availableProjects">
<map> <map>
@ -1218,7 +1257,7 @@
</option> </option>
<option name="modificationStamps"> <option name="modificationStamps">
<map> <map>
<entry key="$PROJECT_DIR$" value="4359057111489" /> <entry key="$PROJECT_DIR$" value="4363927957950" />
</map> </map>
</option> </option>
<option name="projectBuildClasspath"> <option name="projectBuildClasspath">
@ -1497,7 +1536,7 @@
<option name="width" value="1382" /> <option name="width" value="1382" />
<option name="height" value="744" /> <option name="height" value="744" />
</component> </component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false"> <component name="ProjectLevelVcsManager" settingsEditedManually="true">
<OptionsSetting value="true" id="Add" /> <OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" /> <OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" /> <OptionsSetting value="true" id="Checkout" />
@ -1520,21 +1559,8 @@
<sortByType /> <sortByType />
</navigator> </navigator>
<panes> <panes>
<pane id="PackagesPane" />
<pane id="Scratches" /> <pane id="Scratches" />
<pane id="AndroidView">
<subPane>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="java" />
<option name="myItemType" value="com.android.tools.idea.navigator.nodes.AndroidViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Gradle Scripts" />
<option name="myItemType" value="com.android.tools.idea.navigator.nodes.AndroidBuildScriptsGroupNode" />
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<PATH> <PATH>
@ -1567,10 +1593,109 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT> </PATH_ELEMENT>
</PATH> </PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="java" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="KP2ASoftkeyboard_AS" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="app" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="main" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="java" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="KP2ASoftkeyboard_AS" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="app" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="main" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="java" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="keepass2android" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="java" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="KP2ASoftkeyboard_AS" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="app" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="main" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="java" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="keepass2android" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="autofill" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane id="AndroidView">
<subPane>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="java" />
<option name="myItemType" value="com.android.tools.idea.navigator.nodes.AndroidViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Gradle Scripts" />
<option name="myItemType" value="com.android.tools.idea.navigator.nodes.AndroidBuildScriptsGroupNode" />
</PATH_ELEMENT>
</PATH>
</subPane> </subPane>
</pane> </pane>
<pane id="Scope" /> <pane id="Scope" />
<pane id="PackagesPane" />
</panes> </panes>
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
@ -1761,19 +1886,18 @@
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="-8" y="-8" width="1382" height="744" extended-state="6" /> <frame x="-8" y="-8" width="1382" height="744" extended-state="6" />
<editor active="false" /> <editor active="true" />
<layout> <layout>
<window_info id="Palette&#9;" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Palette&#9;" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Designer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Designer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3270869" sideWeight="0.4969743" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Captures" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Captures" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3270869" sideWeight="0.5030257" order="7" side_tool="true" content_ui="tabs" /> <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32879046" sideWeight="0.53630865" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Gradle Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> <window_info id="Gradle Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Build Variants" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> <window_info id="Build Variants" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32879046" sideWeight="0.47579426" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32879046" sideWeight="0.46369138" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Android" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32879046" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Android" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32879046" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32879046" sideWeight="0.4969743" order="6" side_tool="false" content_ui="tabs" /> <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32879046" sideWeight="0.4969743" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Gradle" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Gradle" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
@ -1782,10 +1906,11 @@
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24886535" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24886535" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.24962178" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.24962178" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3270869" sideWeight="0.4969743" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
@ -1839,6 +1964,10 @@
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
<element signature="e#2880#2881#0" expanded="true" />
<element signature="e#2913#2914#0" expanded="true" />
<element signature="e#13075#13076#0" expanded="true" />
<element signature="e#13129#13130#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -1863,7 +1992,10 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0"> <state vertical-scroll-proportion="0.0">
<caret line="54" column="0" selection-start-line="54" selection-start-column="0" selection-end-line="54" selection-end-column="0" /> <caret line="54" column="0" selection-start-line="54" selection-start-column="0" selection-end-line="54" selection-end-column="0" />
<folding /> <folding>
<element signature="e#0#3436#0" expanded="false" />
<element signature="imports" expanded="false" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -2115,7 +2247,10 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0"> <state vertical-scroll-proportion="0.0">
<caret line="54" column="0" selection-start-line="54" selection-start-column="0" selection-end-line="54" selection-end-column="0" /> <caret line="54" column="0" selection-start-line="54" selection-start-column="0" selection-end-line="54" selection-end-column="0" />
<folding /> <folding>
<element signature="e#0#3436#0" expanded="false" />
<element signature="imports" expanded="false" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -2134,6 +2269,8 @@
<folding> <folding>
<element signature="e#0#100279#0" expanded="false" /> <element signature="e#0#100279#0" expanded="false" />
<element signature="imports" expanded="false" /> <element signature="imports" expanded="false" />
<element signature="e#8338#8366#0" expanded="false" />
<element signature="e#8439#8457#0" expanded="false" />
<element signature="e#8691#8692#0" expanded="false" /> <element signature="e#8691#8692#0" expanded="false" />
<element signature="e#8739#8740#0" expanded="false" /> <element signature="e#8739#8740#0" expanded="false" />
<element signature="e#8790#8791#0" expanded="false" /> <element signature="e#8790#8791#0" expanded="false" />
@ -2144,8 +2281,19 @@
<element signature="e#9518#9519#0" expanded="false" /> <element signature="e#9518#9519#0" expanded="false" />
<element signature="e#9591#9592#0" expanded="false" /> <element signature="e#9591#9592#0" expanded="false" />
<element signature="e#9647#9648#0" expanded="false" /> <element signature="e#9647#9648#0" expanded="false" />
<element signature="e#9693#10226#0" expanded="false" />
<element signature="e#10225#10226#0" expanded="false" />
<element signature="e#14396#14405#0" expanded="false" />
<element signature="e#37639#37653#0" expanded="false" />
<element signature="e#51293#51294#0" expanded="false" /> <element signature="e#51293#51294#0" expanded="false" />
<element signature="e#51354#51355#0" expanded="false" /> <element signature="e#51354#51355#0" expanded="false" />
<element signature="e#52556#52660#0" expanded="false" />
<element signature="e#52659#52660#0" expanded="false" />
<element signature="e#52722#52739#0" expanded="false" />
<element signature="e#54257#55536#0" expanded="false" />
<element signature="e#55535#55536#0" expanded="false" />
<element signature="e#55597#55743#0" expanded="false" />
<element signature="e#55742#55743#0" expanded="false" />
<element signature="e#59864#59865#0" expanded="false" /> <element signature="e#59864#59865#0" expanded="false" />
<element signature="e#59905#59906#0" expanded="false" /> <element signature="e#59905#59906#0" expanded="false" />
<element signature="e#59939#59940#0" expanded="false" /> <element signature="e#59939#59940#0" expanded="false" />
@ -2154,6 +2302,8 @@
<element signature="e#67625#67626#0" expanded="false" /> <element signature="e#67625#67626#0" expanded="false" />
<element signature="e#67674#67675#0" expanded="false" /> <element signature="e#67674#67675#0" expanded="false" />
<element signature="e#67733#67734#0" expanded="false" /> <element signature="e#67733#67734#0" expanded="false" />
<element signature="e#67913#68280#0" expanded="false" />
<element signature="e#68279#68280#0" expanded="false" />
<element signature="e#68330#68331#0" expanded="false" /> <element signature="e#68330#68331#0" expanded="false" />
<element signature="e#68387#68388#0" expanded="false" /> <element signature="e#68387#68388#0" expanded="false" />
<element signature="e#81359#81360#0" expanded="false" /> <element signature="e#81359#81360#0" expanded="false" />
@ -2164,8 +2314,8 @@
<element signature="e#85765#85766#0" expanded="false" /> <element signature="e#85765#85766#0" expanded="false" />
<element signature="e#87861#87862#0" expanded="false" /> <element signature="e#87861#87862#0" expanded="false" />
<element signature="e#87890#87891#0" expanded="false" /> <element signature="e#87890#87891#0" expanded="false" />
<element signature="e#89833#89834#0" expanded="false" /> <element signature="e#89727#89882#0" expanded="false" />
<element signature="e#89875#89876#0" expanded="false" /> <element signature="e#89881#89882#0" expanded="false" />
<element signature="e#91923#91924#0" expanded="false" /> <element signature="e#91923#91924#0" expanded="false" />
<element signature="e#91951#91952#0" expanded="false" /> <element signature="e#91951#91952#0" expanded="false" />
<element signature="e#91993#91994#0" expanded="false" /> <element signature="e#91993#91994#0" expanded="false" />
@ -2174,6 +2324,8 @@
<element signature="e#93122#93123#0" expanded="false" /> <element signature="e#93122#93123#0" expanded="false" />
<element signature="e#93163#93164#0" expanded="false" /> <element signature="e#93163#93164#0" expanded="false" />
<element signature="e#93222#93223#0" expanded="false" /> <element signature="e#93222#93223#0" expanded="false" />
<element signature="e#96878#97414#0" expanded="false" />
<element signature="e#97413#97414#0" expanded="false" />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -2228,10 +2380,14 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/keepass2android/autofill/AutoFillService.java"> <entry file="file://$PROJECT_DIR$/app/src/main/java/keepass2android/autofill/AutoFillService.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.33242506"> <state vertical-scroll-proportion="0.5964392">
<caret line="149" column="44" selection-start-line="149" selection-start-column="44" selection-end-line="149" selection-end-column="44" /> <caret line="384" column="29" selection-start-line="384" selection-start-column="29" selection-end-line="384" selection-end-column="29" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
<element signature="e#2880#2881#0" expanded="true" />
<element signature="e#2913#2914#0" expanded="true" />
<element signature="e#13075#13076#0" expanded="true" />
<element signature="e#13129#13130#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>

View File

@ -113,7 +113,8 @@ public class AutoFillService extends AccessibilityService {
if (event.getEventType() == AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED if (event.getEventType() == AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED
|| event.getEventType() == AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED) || event.getEventType() == AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED)
{ {
android.util.Log.d(_logTag, "event: " + event.getEventType() + ", package = " + event.getPackageName()); CharSequence packageName = event.getPackageName();
android.util.Log.d(_logTag, "event: " + event.getEventType() + ", package = " + packageName);
if ( "com.android.systemui".equals(event.getPackageName()) ) if ( "com.android.systemui".equals(event.getPackageName()) )
{ {
android.util.Log.d(_logTag, "return."); android.util.Log.d(_logTag, "return.");
@ -124,6 +125,13 @@ public class AutoFillService extends AccessibilityService {
android.util.Log.d(_logTag, "no com.android.systemui"); android.util.Log.d(_logTag, "no com.android.systemui");
} }
if ((packageName != null)
&& (packageName.toString().startsWith("keepass2android.")))
{
android.util.Log.d(_logTag, "don't autofill kp2a.");
return;
}
AccessibilityNodeInfo root = getRootInActiveWindow(); AccessibilityNodeInfo root = getRootInActiveWindow();
int eventWindowId = event.getWindowId(); int eventWindowId = event.getWindowId();
if ((ExistsNodeOrChildren(root, new WindowIdCondition(eventWindowId)) && !ExistsNodeOrChildren(root, new SystemUiCondition()))) if ((ExistsNodeOrChildren(root, new WindowIdCondition(eventWindowId)) && !ExistsNodeOrChildren(root, new SystemUiCondition())))
@ -289,7 +297,7 @@ public class AutoFillService extends AccessibilityService {
} }
private void fillDataInTextField(AccessibilityNodeInfo edit, String value) { private void fillDataInTextField(AccessibilityNodeInfo edit, String value) {
if (value == null) if ((value == null) || (edit == null))
return; return;
Bundle b = new Bundle(); Bundle b = new Bundle();
b.putString(AccessibilityNodeInfo.ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE, value); b.putString(AccessibilityNodeInfo.ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE, value);
@ -315,12 +323,15 @@ public class AutoFillService extends AccessibilityService {
try { try {
uri = new URI(url); uri = new URI(url);
String domain = uri.getHost(); String domain = uri.getHost();
if (domain == null)
return url;
return domain.startsWith("www.") ? domain.substring(4) : domain; return domain.startsWith("www.") ? domain.substring(4) : domain;
} catch (URISyntaxException e) { } catch (URISyntaxException e) {
android.util.Log.d(_logTag, "error parsing url: "+ url + e.toString()); android.util.Log.d(_logTag, "error parsing url: "+ url + e.toString());
return url; return url;
} }
} }
private String getLastReceivedCredentialsUser() { private String getLastReceivedCredentialsUser() {
@ -370,9 +381,13 @@ public class AutoFillService extends AccessibilityService {
if (!urlFields.isEmpty()) if (!urlFields.isEmpty())
{ {
AccessibilityNodeInfo addressField = urlFields.get(0); AccessibilityNodeInfo addressField = urlFields.get(0);
url = addressField.getText().toString(); CharSequence text = addressField.getText();
if (!url.contains("://")) if (text != null)
url = "http://" + url; {
url = text.toString();
if (!url.contains("://"))
url = "http://" + url;
}
} }
return url; return url;
} }

View File

@ -26,6 +26,7 @@ namespace keepass2android
AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(ctx, Android.Resource.Style.ThemeHoloLightDialog)); AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(ctx, Android.Resource.Style.ThemeHoloLightDialog));
builder.SetTitle(ctx.GetString(Resource.String.ChangeLog_title)); builder.SetTitle(ctx.GetString(Resource.String.ChangeLog_title));
List<string> changeLog = new List<string>{ List<string> changeLog = new List<string>{
ctx.GetString(Resource.String.ChangeLog_1_0_0),
ctx.GetString(Resource.String.ChangeLog_0_9_9c), ctx.GetString(Resource.String.ChangeLog_0_9_9c),
ctx.GetString(Resource.String.ChangeLog_0_9_9), ctx.GetString(Resource.String.ChangeLog_0_9_9),
ctx.GetString(Resource.String.ChangeLog_0_9_8c), ctx.GetString(Resource.String.ChangeLog_0_9_8c),

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="75" android:versionCode="76"
android:versionName="1.0.0 preview 7b" android:versionName="1.0.0 preview 7c"
package="keepass2android.keepass2android" package="keepass2android.keepass2android"
android:installLocation="auto"> android:installLocation="auto">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" /> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" />

View File

@ -313,12 +313,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>
<Button
android:id="@+id/kill_app"
android:text="@string/kill_app_label"
android:layout_width="fill_parent"
android:layout_marginTop="16dp"
android:layout_height="wrap_content" />
<LinearLayout <LinearLayout
android:id="@+id/enable_quickunlock_container" android:id="@+id/enable_quickunlock_container"
android:orientation="horizontal" android:orientation="horizontal"
@ -363,7 +358,13 @@
android:text="@string/UseOfflineMode_Info" android:text="@string/UseOfflineMode_Info"
android:background="?android:attr/selectableItemBackground"/> android:background="?android:attr/selectableItemBackground"/>
</LinearLayout> </LinearLayout>
<Button
android:id="@+id/kill_app"
android:text="@string/kill_app_label"
android:layout_width="fill_parent"
android:layout_marginTop="16dp"
android:layout_height="wrap_content" />
<View <View
android:id="@+id/spacing" android:id="@+id/spacing"
android:layout_width="fill_parent" android:layout_width="fill_parent"