Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurbenemann committed Feb 25, 2014
2 parents b5105f3 + 8e5e73e commit 1fd0b41
Show file tree
Hide file tree
Showing 44 changed files with 976 additions and 232 deletions.
16 changes: 16 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# DroidPlanner ChangeLog
Our convention for release control is the following (for a release like DPvA.B.C_RCx):
* A - Main version, changes just with big changes in the app structure or/and layout
* B - Minor version, add's some significant feature to the app
* C - Minor changes with bugfixes, or small refactorings, from previous "A" or "B" changes.
* x - Releases Candidates (RC) are build from the main releases, but may have some feature's disabled. The "x" is used if multiple RC are needed for a new version of the app.

All the changes are logged below (preferable with the pull request numbers in parenteses):

# Releases
## Droidplanner v2.2.1
* Fix errors in Land, Takeoff and RTH mission items (#655)
* German Translation and Language Selector in settings (#650)
* Fix Gradle build (#648)
* Starting to add unit testing to the code (#646)

## Droidplanner v2.2.0
* Added support for phones (#618)
* Fixing typos and whitespaces on strings.xml (#640)
Expand Down
2 changes: 1 addition & 1 deletion DroidPlanner/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.droidplanner"
android:versionCode="61"
android:versionCode="62"
android:versionName="please run version.sh to get the version name">

<uses-sdk
Expand Down
6 changes: 1 addition & 5 deletions DroidPlanner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,5 @@ android {
debug.setRoot('build-types/debug')
release.setRoot('build-types/release')
}
signingConfigs {
debug {
storeFile file('/home/fhuya/.android/debug.keystore')
}
}

}
14 changes: 7 additions & 7 deletions DroidPlanner/res/layout-land/fragment_mission_control.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
android:drawableTop="@drawable/ic_control"
android:visibility="gone"
android:layout_weight="1"
android:text="Control" />
android:text="@string/mission_control_control" />

<Button
android:id="@+id/mc_planningBtn"
Expand All @@ -25,7 +25,7 @@
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_edit"
android:layout_weight="1"
android:text="Edit" />
android:text="@string/mission_control_edit" />


<Button
Expand All @@ -35,7 +35,7 @@
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_home"
android:layout_weight="1"
android:text="Home" />
android:text="@string/mission_control_home" />


<Button
Expand All @@ -44,7 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_land"
android:text="Land"
android:text="@string/mission_control_land"
android:layout_weight="1"
tools:ignore="ContentDescription" />

Expand All @@ -54,7 +54,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_takeoff"
android:text="Takeoff"
android:text="@string/mission_control_takeoff"
android:visibility="gone"
android:layout_weight="1"
tools:ignore="ContentDescription" />
Expand All @@ -65,7 +65,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_loiter"
android:text="Loiter"
android:text="@string/mission_control_loiter"
android:layout_weight="1"
tools:ignore="ContentDescription" />

Expand All @@ -75,7 +75,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_follow"
android:text="Follow"
android:text="@string/mission_control_follow"
android:layout_weight="1"
tools:ignore="ContentDescription" />

Expand Down
14 changes: 7 additions & 7 deletions DroidPlanner/res/layout-port/fragment_mission_control.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
android:drawableTop="@drawable/ic_control"
android:visibility="gone"
android:layout_weight="1"
android:text="Control" />
android:text="@string/mission_control_control" />

<Button
android:id="@+id/mc_planningBtn"
Expand All @@ -25,7 +25,7 @@
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_edit"
android:layout_weight="1"
android:text="Edit" />
android:text="@string/mission_control_edit" />


<Button
Expand All @@ -35,7 +35,7 @@
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_home"
android:layout_weight="1"
android:text="Home" />
android:text="@string/mission_control_home" />


<Button
Expand All @@ -44,7 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_land"
android:text="Land"
android:text="@string/mission_control_land"
android:layout_weight="1"
tools:ignore="ContentDescription" />

Expand All @@ -54,7 +54,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_takeoff"
android:text="Takeoff"
android:text="@string/mission_control_takeoff"
android:visibility="gone"
android:layout_weight="1"
tools:ignore="ContentDescription" />
Expand All @@ -65,7 +65,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_loiter"
android:text="Loiter"
android:text="@string/mission_control_loiter"
android:layout_weight="1"
tools:ignore="ContentDescription" />

Expand All @@ -75,7 +75,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_follow"
android:text="Follow"
android:text="@string/mission_control_follow"
android:layout_weight="1"
tools:ignore="ContentDescription" />

Expand Down
2 changes: 1 addition & 1 deletion DroidPlanner/res/layout-sw540dp/activity_editor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:text="Distance: 200m, Flight time: 3:30s"
android:text="@string/editor_info_window"
style="@style/editorMissionOverviewText"
/>

Expand Down
14 changes: 7 additions & 7 deletions DroidPlanner/res/layout-sw540dp/fragment_mission_control.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
android:drawableTop="@drawable/ic_control"
android:visibility="gone"
android:layout_weight="1"
android:text="Control" />
android:text="@string/mission_control_control" />

<Button
android:id="@+id/mc_planningBtn"
Expand All @@ -24,7 +24,7 @@
android:layout_height="match_parent"
android:drawableTop="@drawable/ic_edit"
android:layout_weight="1"
android:text="Edit" />
android:text="@string/mission_control_edit" />


<Button
Expand All @@ -34,7 +34,7 @@
android:layout_height="match_parent"
android:drawableTop="@drawable/ic_home"
android:layout_weight="1"
android:text="Home" />
android:text="@string/mission_control_home" />


<Button
Expand All @@ -43,7 +43,7 @@
android:layout_width="75dp"
android:layout_height="match_parent"
android:drawableTop="@drawable/ic_land"
android:text="Land"
android:text="@string/mission_control_land"
android:layout_weight="1"
tools:ignore="ContentDescription" />

Expand All @@ -53,7 +53,7 @@
android:layout_width="75dp"
android:layout_height="match_parent"
android:drawableTop="@drawable/ic_takeoff"
android:text="Takeoff"
android:text="@string/mission_control_takeoff"
android:visibility="gone"
android:layout_weight="1"
tools:ignore="ContentDescription" />
Expand All @@ -64,7 +64,7 @@
android:layout_width="75dp"
android:layout_height="match_parent"
android:drawableTop="@drawable/ic_loiter"
android:text="Loiter"
android:text="@string/mission_control_loiter"
android:layout_weight="1"
tools:ignore="ContentDescription" />

Expand All @@ -74,7 +74,7 @@
android:layout_width="75dp"
android:layout_height="match_parent"
android:drawableTop="@drawable/ic_follow"
android:text="Follow"
android:text="@string/mission_control_follow"
android:layout_weight="1"
tools:ignore="ContentDescription" />

Expand Down
2 changes: 1 addition & 1 deletion DroidPlanner/res/layout/activity_editor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:text="Distance: 200m, Flight time: 3:30s"
android:text="@string/editor_info_window"
style="@style/editorMissionOverviewText"
/>

Expand Down
6 changes: 4 additions & 2 deletions DroidPlanner/res/layout/fragment_editor_detail_land.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
android:layout_marginLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="LAND" />
android:text="@string/waypointType_Land"
android:textAllCaps="true" />

<TextView
android:id="@+id/DistanceLabel"
Expand All @@ -63,13 +64,14 @@
android:layout_below="@id/WaypointType"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Distance to home " />
android:text="@string/distance_to_home" />

<TextView
android:id="@+id/DistanceValue"
style="@style/missionHeaderValue"
android:layout_toRightOf="@id/DistanceLabel"
android:layout_alignBaseline="@id/DistanceLabel"
android:layout_marginLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="20m" />
Expand Down
6 changes: 4 additions & 2 deletions DroidPlanner/res/layout/fragment_editor_detail_loitern.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
android:layout_marginLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="CIRCLE" />
android:text="@string/waypointType_Circle"
android:textAllCaps="true" />

<TextView
android:id="@+id/DistanceLabel"
Expand All @@ -64,13 +65,14 @@
android:layout_below="@id/WaypointType"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Distance to home " />
android:text="@string/distance_to_home" />

<TextView
android:id="@+id/DistanceValue"
style="@style/missionHeaderValue"
android:layout_toRightOf="@id/DistanceLabel"
android:layout_alignBaseline="@id/DistanceLabel"
android:layout_marginLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="20m" />
Expand Down
6 changes: 4 additions & 2 deletions DroidPlanner/res/layout/fragment_editor_detail_loitert.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
android:layout_marginLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="LOITER" />
android:text="@string/waypointType_Loiter"
android:textAllCaps="true" />

<TextView
android:id="@+id/DistanceLabel"
Expand All @@ -64,13 +65,14 @@
android:layout_below="@id/WaypointType"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Distance to home " />
android:text="@string/distance_to_home" />

<TextView
android:id="@+id/DistanceValue"
style="@style/missionHeaderValue"
android:layout_toRightOf="@id/DistanceLabel"
android:layout_alignBaseline="@id/DistanceLabel"
android:layout_marginLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="20m" />
Expand Down
3 changes: 2 additions & 1 deletion DroidPlanner/res/layout/fragment_editor_detail_roi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
android:layout_marginLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Region of Interest" />
android:text="@string/waypointType_ROI"
android:textAllCaps="true" />

<TextView
android:id="@+id/DistanceLabel"
Expand Down
6 changes: 4 additions & 2 deletions DroidPlanner/res/layout/fragment_editor_detail_rtl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
android:layout_marginLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RETURN TO LAUNCH" />
android:text="@string/waypointType_RTL"
android:textAllCaps="true" />

<TextView
android:id="@+id/DistanceLabel"
Expand All @@ -64,13 +65,14 @@
android:layout_below="@id/WaypointType"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Distance to home " />
android:text="@string/distance_to_home" />

<TextView
android:id="@+id/DistanceValue"
style="@style/missionHeaderValue"
android:layout_toRightOf="@id/DistanceLabel"
android:layout_alignBaseline="@id/DistanceLabel"
android:layout_marginLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="20m" />
Expand Down
6 changes: 4 additions & 2 deletions DroidPlanner/res/layout/fragment_editor_detail_survey.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="12dp"
android:text="Survey Polygon" />
android:text="@string/waypointType_Survey"
android:textAllCaps="true" />

<TextView
android:id="@+id/DistanceLabel"
Expand All @@ -62,11 +63,12 @@
android:layout_height="wrap_content"
android:layout_alignLeft="@id/WaypointType"
android:layout_below="@id/WaypointType"
android:text="Area " />
android:text="@string/area" />

<TextView
android:id="@+id/DistanceValue"
style="@style/missionHeaderValue"
android:layout_marginLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/DistanceLabel"
Expand Down
Loading

0 comments on commit 1fd0b41

Please sign in to comment.