Skip to content

Commit

Permalink
Merge pull request #114 from forrestguice/prep-release-0.5.0
Browse files Browse the repository at this point in the history
prep release 0.5.0
  • Loading branch information
forrestguice authored Nov 19, 2017
2 parents 0d662ab + ad68ed9 commit fe5db6c
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 20 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
### ~

### v0.5.0 (2017-11-18)
* adds data source; Time4A (time4a-simple, time4a-noaa, time4a-cc, time4a-time4j) (contributions by MenoData) (#103).
* adds support for custom themes; theme editor activity (add / edit), theme selector activity (copy / delete / export) (#7).
* adds widget option "show noon" (#102); adds noon field to 1x3 widget, adds noon to flippable widget.
* adds widget option "show comparison" (show/hide comparison field on 1x3 widgets).
Expand Down
32 changes: 19 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,41 @@ An Android app (and home screen widget) that displays sunrise, sunset, civil/nau
<a href="https://f-droid.org/repository/browse/?fdid=com.forrestguice.suntimeswidget" target="_blank">
<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="80"/></a>

**App and Widget Features**

The app:
* displays the current time, and notes the time until next sunrise, sunset, or civil/nautical/astronomical twilight.
* can set an alarm for next sunrise, sunset, or civil/nautical/astronomical twilight.
* can display the configured location on a map (requires a map application).
* *does not* require GPS. The location is manually specified by default (and optionally obtained from GPS).
* *does not* require network connectivity. Calculations are performed locally on the device using:
** [Time4A](http://github.com/MenoData/Time4A)
** [sunrisesunsetlib-java](http://mikereedell.github.io/sunrisesunsetlib-java/)
** [ca.rmen.sunrisesunset](http://github.com/caarmen/SunriseSunset)

**Widget Features**
* Time4A [LGPL-2.1] (http://github.com/MenoData/Time4A)
* ca.rmen.sunrisesunset [LGPL-2.1] (http://github.com/caarmen/SunriseSunset)
* sunrisesunsetlib-java [Apache License 2.0] (http://mikereedell.github.io/sunrisesunsetlib-java/)

The widget is themeable and provides:
* a dark theme (and dark w/ transparent background)
* a light theme (and light w/ transparent background)
* a theme editor and support for basic custom themes.

The widget is (re)configurable:
* configure location (latitude / longitude)
* configure timezone
* configure widget theme (dark theme, light theme, transparent themes)
* configure widget theme
* configure user-defined title (supports limited substitutions)
* configure comparison mode (against tomorrow or yesterday)
* configure "show noon" and "show comparison"
* configure "comparison mode" (against tomorrow or yesterday)

The home screen widget is resizable and has layouts for:
The widget is resizable and has layouts for:
* a 1x1 widget that displays either the sunrise OR sunset time.
* a 1x1 widget that displays both the sunrise AND sunset times.
* a 1x2 widget that displays the sunrise and sunset times, and displays the difference in rise and set times between today and tomorrow (or today and yesterday).
* a 1x3 widget that displays the sunrise and sunset times, and displays the difference in the amount of daylight (in minutes) between today and tomorrow (or today and yesterday).
* a 1x1 widget that flips between sunrise and sunset times.
* a 2x1 widget that displays the sunrise and sunset times, and displays the difference in the amount of daylight (in minutes) between today and tomorrow (or today and yesterday).


<img alt="screenshot1" src='https://cloud.githubusercontent.com/assets/10246147/14938297/ab3697ee-0ed3-11e6-80c2-a9611c1f20cc.png' width="280px" />
<img alt="screenshot1" src='https://user-images.githubusercontent.com/10246147/32984023-7b17535e-cc5b-11e7-809c-6b00c25814f4.png' width="280px" />

<img alt="screenshot2" src='https://cloud.githubusercontent.com/assets/10246147/14938299/ad52bc2e-0ed3-11e6-8916-9b7e75057a62.png' width="280px" />
<img alt="screenshot2" src='https://user-images.githubusercontent.com/10246147/32984027-81568b7c-cc5b-11e7-8f49-fbd44c06cb19.png' width="280px" />

**Bug Reports**

Expand All @@ -59,13 +61,17 @@ Icons borrowed from:
* "Google Material Icons" [Apache License 2.0] (https://material.io/icons/)
* "Material Design Icons" [SIL Open Font License 1.1] (https://materialdesignicons.com)

Additional libraries:
* QuadFlask/colorpicker [Apache License 2.0] (https://github.com/QuadFlask/colorpicker)

**Project Contributions**

[Contributions to the project](CONTRIBUTING.md) are welcome.

German translation by <u>Henrik "HerHde" Hüttemann</u>.<br/>
Polish and Esperanto translations by <u>verdulo</u>.<br/>
Polish and Esperanto translations by <u>Verdulo</u>.<br/>
French translation by <u>Jej</u>.<br/>
Hungarian translation by <u>Erci</u>.



Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ android
minSdkVersion 10
//noinspection OldTargetApi
targetSdkVersion 25
versionCode 12
versionName "0.4.1"
versionCode 13
versionName "0.5.0"

buildConfigField "java.util.Date", "BUILD_TIME", "new java.util.Date(" + getDateAsMillis() + "L)"
buildConfigField "String", "GIT_HASH", "\"${getGitHash()}\""
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,12 @@
Französisch Übersetzung von Jej. <br />
Ungarische Übersetzung von Erci.
]]></string>
<string name="app_legal3"><![CDATA[ <b>Libraries:</b><br/> ]]>
<![CDATA[ github.com/MenoData/Time4A ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/mikereedell/sunrisesunsetlib-java ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/caarmen/SunriseSunset ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/QuadFlask/colorpicker ]]>
</string>

<!-- Dialog: Help -->
<string name="help_dialog_title">Hilfe</string>
Expand Down
6 changes: 5 additions & 1 deletion app/src/main/res/values-eo/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,11 @@
Franca traduko de Jej. <br />
Hunga traduko de Erci.
]]></string>
<string name="app_legal3"><![CDATA[ <b>Bibliotekoj:</b><br/> ]]><![CDATA[ github.com/mikereedell/sunrisesunsetlib-java ]]> <![CDATA[ <br /> ]]><![CDATA[ github.com/caarmen/SunriseSunset ]]></string>
<string name="app_legal3"><![CDATA[ <b>Bibliotekoj:</b><br/> ]]>
<![CDATA[ github.com/MenoData/Time4A ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/mikereedell/sunrisesunsetlib-java ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/caarmen/SunriseSunset ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/QuadFlask/colorpicker ]]></string>

<!-- Dialog: Help -->
<string name="help_dialog_title">Helpo</string>
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,10 @@
Traduction hongrois par Erci.
]]></string>
<string name="app_legal3"><![CDATA[ <b>Bibliothèques:</b><br/> ]]>
<![CDATA[ github.com/MenoData/Time4A ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/mikereedell/sunrisesunsetlib-java ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/caarmen/SunriseSunset ]]>
<![CDATA[ github.com/caarmen/SunriseSunset ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/QuadFlask/colorpicker ]]>
</string>

<!-- Dialog: Help -->
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/res/values-hu/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,10 @@
Hungarian translation by Erci.
]]></string>
<string name="app_legal3"><![CDATA[ <b>Libraries:</b><br/> ]]>
<![CDATA[ github.com/MenoData/Time4A ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/mikereedell/sunrisesunsetlib-java ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/caarmen/SunriseSunset ]]>
<![CDATA[ github.com/caarmen/SunriseSunset ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/QuadFlask/colorpicker ]]>
</string>

<!-- Dialog: Help -->
Expand Down
6 changes: 5 additions & 1 deletion app/src/main/res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,11 @@
<string name="app_url"><xliff:g id="url"><![CDATA[<a href="https://github.com/forrestguice/SuntimesWidget">github.com/forrestguice/SuntimesWidget</a>]]></xliff:g></string>
<string name="app_legal1"><![CDATA[Prawo autorskie &#169 2014 Forrest Guice <br />Kod źródłowy dostępny na licencji GPLv3.]]></string>
<string name="app_legal2"><![CDATA[Niemieckie tłumaczenie: Henrik "HerHde" Hüttemann. <br />Esperanckie i Polskie tłumaczenie: Verdulo.<br />Francuskie tłumaczenie: Jej.]]></string>
<string name="app_legal3"><![CDATA[ <b>Biblioteki:</b><br/> ]]><![CDATA[ github.com/mikereedell/sunrisesunsetlib-java ]]> <![CDATA[ <br /> ]]><![CDATA[ github.com/caarmen/SunriseSunset ]]></string>
<string name="app_legal3"><![CDATA[ <b>Biblioteki:</b><br/> ]]>
<![CDATA[ github.com/MenoData/Time4A ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/mikereedell/sunrisesunsetlib-java ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/caarmen/SunriseSunset ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/QuadFlask/colorpicker ]]></string>

<!-- Dialog: Help -->
<string name="help_dialog_title">Pomoc</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,8 @@
<string name="app_legal3"><![CDATA[ <b>Libraries:</b><br/> ]]>
<![CDATA[ github.com/MenoData/Time4A ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/mikereedell/sunrisesunsetlib-java ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/caarmen/SunriseSunset ]]>
<![CDATA[ github.com/caarmen/SunriseSunset ]]> <![CDATA[ <br /> ]]>
<![CDATA[ github.com/QuadFlask/colorpicker ]]>
</string>

<!-- Dialog: Help -->
Expand Down

0 comments on commit fe5db6c

Please sign in to comment.