Commit graph

118 commits

Author SHA1 Message Date
Johannes Mockenhaupt
41ebabe5e7
Merge remote-tracking branch 'origin/dev' into combo-v2
* origin/dev: (126 commits)
  ConfigBuilder: hide disabled plugins by default.
  sum on name for LP
  log to debug not error
  logger reformat
  logging
  rhinoAMA first full run
  rhinoAMA first crashfree call
  rhino some more cleanups
  rhino logging and cleanups
  rhino MA looping
  rhino first real detemine-basal call
  rhino small refactor
  NDK filters to work around j2v8 vs. libBleCommandUtil issue.
  NewTreatmentDialog: sanitize inputs, fixes #417.
  rhino complex parameter passing
  rhino first parameter passing
  rhino function passing
  first rhino
  location permission for BLE scanning
  use customized name only for LocalProfile
  ...
2017-10-17 12:16:43 +02:00
AdrianLxM
f751638a7f enabling wearcontrols from preferences 2017-10-12 18:01:10 +02:00
Johannes Mockenhaupt
1bd5dc3719
Merge remote-tracking branch 'origin/dev' into develop
* origin/dev: (53 commits)
  bump 1.53
  BG & IOB contribution on by default in wizard
  check for NaN
  Revert "Rounding issues visible in nightscout insulin field"
  Clarified boolean logic with parentheses :)
  loadEvents after bolus in separate thread
  use notification for bolus delivery failed message when window has been destroyed
  fix null pointer exception
  Added cases to accept both a.m./p.m. and AM/PM
  split JSON arrays to 50 elements
  Update strings.xml
  Changed rounding to use BigDecimals to avoid noisy long doubles in output
  Revert "Merge branch 'dev' of C:\Users\Dylan\StudioProjects\AndroidAPS fork with conflicts."
  Changed how time strings are parsed to fix a problem where PM times were being saved as the AM version any time toSeconds was called
  Merge branch 'dev' of C:\Users\Dylan\StudioProjects\AndroidAPS fork with conflicts.
  Removed unused imports
  Rounding fix
  VirtualPump: set PumpEnactResult.enacted.
  Use correct units for low/high from TT.
  Remove duplicate logging.
  ...

# Conflicts:
#	app/build.gradle
#	app/src/main/java/info/nightscout/androidaps/MainApp.java
#	app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java
#	app/src/main/res/values/strings.xml
2017-09-18 22:54:35 +02:00
Johannes Mockenhaupt
5c3ec9a086
Use SystemClock.sleep instead of Thread.sleep.
Gets rid of all those pointless InterruptedException catching.

(cherry picked from commit 6acaa2b)
2017-09-09 16:41:11 +02:00
Johannes Mockenhaupt
c50fad81bb
Log exceptions in catch blocks rather than printing to console.
The default code used by Android Studio when generating a
try/catch can be altered in Settings under
    Editor->File and Code Templates->Catch Statement body
to
    log.error("Unhandled exception", e);
to also do this for newly generated code.

(cherry picked from commit c2ae29f)

(cherry picked from commit 6031a25)
2017-09-09 16:41:06 +02:00
Johannes Mockenhaupt
e399fac8dc
Try to be clever about slow screen updates when scrolling. 2017-08-27 18:45:25 +02:00
AdrianLxM
7bc0a18f6e Version-Number in settings 2017-08-08 02:06:46 +02:00
AdrianLxM
5569b42ac3 wear wizard percentage 2017-07-26 09:58:51 +02:00
AdrianLxM
50c26f28fd wear TDD status 2017-07-17 22:39:48 +02:00
AdrianLxM
387cfcccaf wear menu simplification 2017-07-17 22:39:00 +02:00
AdrianLxM
7fa8ea7224 cpp-watch working2 2017-07-10 04:46:29 +02:00
AdrianLxM
85d028abff cpp watch openactivity 2017-07-10 04:45:08 +02:00
AdrianLxM
e81b217c94 wear show oaps result/reason 2017-07-03 01:47:58 +02:00
AdrianLxM
f0521c0197 nighttime watchface 2017-06-30 01:49:32 +02:00
Milos Kozak
43231cc362 use System.currentTimeMillis() 2017-06-15 23:12:12 +02:00
AdrianLxM
37e00d33aa wear setting for single temp target instead of range 2017-04-30 20:20:04 +02:00
Milos Kozak
c18fcfda62 revert sdk to 23 2017-04-22 10:18:31 +02:00
Milos Kozak
0a2105ac50 wear target 25 2017-04-21 12:27:16 +02:00
AdrianLxM
1c522d4a4d wear 5 minute steps for duration of temp targets 2017-02-19 22:42:31 +01:00
AdrianLxM
74562ae548 wear settings same background as menu 2017-02-15 16:27:46 +01:00
AdrianLxM
f0fc3f6688 wear added viktoria's design 2017-02-13 17:48:11 +01:00
AdrianLxM
56e5fae27d wear allow multiple input layouts 2017-02-13 16:54:06 +01:00
AdrianLxM
e85e651c56 wear full status support and product flavour with/without controls on wear 2017-02-13 01:55:35 +01:00
AdrianLxM
65d1624a5f wear carb restriction 2017-02-12 19:50:25 +01:00
AdrianLxM
d9103b6823 wear wizard confirm reformat, connection stability, prime not in menu per default 2017-02-11 19:51:33 +01:00
AdrianLxM
6cb192b876 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into wear-bolus5 2017-02-11 18:09:22 +01:00
AdrianLxM
b57253af5e wear add carbs to bolus-wizard confirmation 2017-02-11 17:54:47 +01:00
AdrianLxM
16c7731206 update wear.iml 2017-02-11 02:54:54 +01:00
AdrianLxM
c8dc7bf9c8 wear menu list layout 2017-02-11 02:50:18 +01:00
viktoria
5915503ac5 delete wear.iml 2017-02-11 01:50:51 +01:00
viktoria
3176f33a9e fix gitignore 2017-02-11 01:50:25 +01:00
AdrianLxM
9dae8b4e56 wear don't enact 0carbs/0bolus on wizard result 2017-02-11 00:32:45 +01:00
AdrianLxM
705f563f2f wear TTarget -> TempT 2017-02-10 21:27:50 +01:00
Milos Kozak
2e40c7b605 sms calibrations 2017-02-10 21:20:55 +01:00
AdrianLxM
108095ad77 wear confirmation timeout and larger text for editplusminus 2017-02-10 21:20:47 +01:00
Milos Kozak
83667be8cc extract sending intent to a function 2017-02-10 17:25:32 +01:00
Milos Kozak
8db3f258cd xdrip calibration 2017-02-10 16:53:39 +01:00
AdrianLxM
bdcff12b01 wear keep data when looking/swiping back 2017-02-10 12:00:38 +01:00
AdrianLxM
4220d7712a wear wizard working 2017-02-10 06:07:31 +01:00
AdrianLxM
9785d507a8 wear temp targets working 2017-02-10 02:36:38 +01:00
AdrianLxM
93de296113 update wear.iml 2017-02-09 23:46:41 +01:00
AdrianLxM
aff82642af wear multiple watch situation and disable fillbolus for wider testing 2017-02-09 23:39:23 +01:00
Milos Kozak
715d15b51f CS translations 2017-02-09 22:44:42 +01:00
AdrianLxM
eb96cf6713 wear temp target activity 2017-02-09 21:40:00 +01:00
AdrianLxM
3ff41af939 wear bolus activity and refactoring 2017-02-09 20:54:41 +01:00
Milos Kozak
ed7dd48612 remove TODOs 2017-02-09 20:18:22 +01:00
AdrianLxM
dc476a6600 wear menu restructuring and status 2017-02-09 17:40:26 +01:00
AdrianLxM
4dcbbd3df2 wear cleanup 2017-02-09 16:29:46 +01:00
AdrianLxM
b8c3fe2933 wear wizard including bg and iob toggles 2017-02-09 16:16:31 +01:00
AdrianLxM
a2723f60e0 wear wizard on watch part first working 2017-02-09 14:25:25 +01:00