Permalink
Commits on Jun 26, 2017
  1. Fix Travis breakage (and overall breakage)

    dirkhh committed Jun 26, 2017
    I can't believe this slipped through my review. How embarrassing.
    
    Credit goes to Anton Lundin for spotting this.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Commits on Jun 25, 2017
  1. QML UI: Download from DC: move accept button to the right

    dirkhh committed Jun 25, 2017
    So it doesn't conflict with the hamburger menu button / opening the
    global drawer.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  2. QML UI: Download from DC: avoid assignments of undefined values

    dirkhh committed Jun 25, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  3. QML UI: DC Download progress indicator

    dirkhh committed Jun 25, 2017
    For now just do an indeterminate busy indicator - we can get more fancy
    and use the libdivecomputer progress event, later.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  4. Add the EON Steel as support DC on Android

    dirkhh committed Jun 24, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  5. Enable BLE on Android

    dirkhh committed Jun 24, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  6. BLE support: convert fprintf(stderr,...) to qDebug()

    dirkhh committed Jun 25, 2017
    This way the output can be seen in the AppLog on Android.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  7. BLE support: add SPDX headers

    dirkhh committed Jun 25, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Commits on Jun 24, 2017
  1. QML UI: DiveList: add date box to trip header

    dirkhh committed Jun 24, 2017
    This way you can tell when a trip happened.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  2. Avoid Q_ASSERT with debug build of Qt

    dirkhh committed Jun 24, 2017
    I don't know why we are setting lastIndex to -1. That seems odd.
    But for now this workaround will have to do.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  3. QML UI: set opacity of 1 for dive list

    dirkhh committed Jun 24, 2017
    Hopefully with this we get exactly the right colors.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  4. QML UI: Davide's colors for the blue theme

    dirkhh committed Jun 24, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  5. QML UI: Theme colors: fix bad typo

    dirkhh committed Jun 24, 2017
    Here I confused myself with "dark" theme and the "darkerPrimary"
    colorls...
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  6. QML UI: remember the theme

    dirkhh committed Jun 24, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  7. QML UI: show a small color palette preview

    dirkhh committed Jun 24, 2017
    When picking which color theme to use, show the user how things will look.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  8. QML UI: use textColor instead of diveListTextColor

    dirkhh committed Jun 24, 2017
    This color is used for more than just the dive list.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  9. QML UI: move theme setting into preferences

    dirkhh committed Jun 23, 2017
    And reorganize settings and preferences a bit.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  10. QML UI: clean up the setting of theme colors

    dirkhh committed Jun 23, 2017
    Let's have names for the colors in each theme and assign those
    named values to the theme colors when switching themes. This
    way other pages can access the colors that are not in the current
    theme (for example for a theme switcher).
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Commits on Jun 23, 2017
  1. QML UI: set color of the action button

    dirkhh committed Jun 23, 2017
    This requires Kirigami master past 2.2.0 (which explains commit 001ff1b
    "QML UI: switch to Kirigami master").
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  2. QML UI: color the status bar on Android

    dirkhh committed Jun 23, 2017
    This code is based on code from Marco Martin from the Kirigami Android
    sample app. In order to simplify the QML code the QMLManager function is
    there for all OSs, but it's a no-op on anything but Android.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  3. Warn when not compiling against the matching libdc version

    dirkhh committed Jun 23, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Commits on Jun 22, 2017
  1. Update translation source strings

    dirkhh committed Jun 22, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  2. QML UI: switch to Kirigami master

    dirkhh committed Jun 22, 2017
    That way we'll get access to the colored Action Button.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  3. QML UI: add missing go-up icon

    dirkhh committed Jun 22, 2017
    Now the 'Reachability' feature should be more obvious.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  4. Update plural translations

    dirkhh committed Jun 22, 2017
    Including the fake en_US translation.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  5. Latest translations

    dirkhh committed Jun 22, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  6. Update translation source strings

    dirkhh committed Jun 22, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  7. Use plural form for cloud connection wait

    dirkhh committed Jun 22, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  8. Add en_US translation for plurals

    dirkhh committed Jun 22, 2017
    This way in the en_US locale we no longer get shown the odd "dive(s)"
    and instead get correct singular and plural forms.
    
    Most of the patch is just a reindentation as it removes the if clause
    that used to do the special case of NOT loading a translation for the
    en_US case.
    
    Right now we start with a trivial en_US translation file. My guess is
    that this will be overwritten once we do the next round of "new strings,
    new translations".
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  9. QML UI: correctly build plural translation

    dirkhh committed Jun 22, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  10. QML UI: DiveList: allow trip header to wrap

    dirkhh committed Jun 22, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  11. Android build: work around odd build problem with missing rand()

    dirkhh committed Jun 22, 2017
    I don't quite understand why this isn't correctly substituted to lrand48()
    by the header file, but patching it in the source is easy enough.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  12. Android build: match versions between wrapper and build script

    dirkhh committed Jun 22, 2017
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  13. QML UI: DiveDetails: add more space at bottom

    dirkhh committed Jun 22, 2017
    This way the user can scroll up the page to see all of the notes without
    having them covered by the action button.
    
    Signed-off-by: Dirk Hohndel <dirk@hohndel.org>