Permalink
Commits on Apr 16, 2012
  1. Use isLoggable to restrict excess logging at possible hotspot

    rtyley committed Mar 19, 2012
    Note that if you actually *do* want to see these log messages, you need
    to use 'adb' to enable the log level:
    
    adb shell setprop log.tag.RTS DEBUG
  2. Add realtime update for the Gauge list fragment

    rtyley committed Mar 13, 2012
    This approach works by introducing RealtimeTrafficService,
    which manages the Pusher previously associated only with the
    AirTraffic activity. Interested activities and fragments
    bind to the service, and register themselves as listeners for
    Hit events.
    
    This has the advantage that the same pusher can be initialised
    and then shared amongst multiple activities - so start up of
    the AirTraffic activity can now be immediate, rather than the
    10-second-ish delay we currently have.
    
    Only the view count is incremented at the moment, but the
    Gauges web app has code which shows us how we can use the
    'uniques' data to increment the 'people' counter too.
  3. Update to ABS 4.0.2

    rtyley committed Apr 16, 2012
    This release brings with it the new r7 support library. Due to the
    previous version depending on a now-removed Dalvik bug, we have to
    update to this version of ABS to ensure it functions with future
    versions of Android and Dalvik.
    
    https://plus.google.com/108284392618554783657/posts/5adND7hSey8
Commits on Mar 27, 2012
  1. Use SDK platform version 15 for android-maven ops

    rtyley committed Mar 27, 2012
    This is motivated by the fact that the CI build server has that version
    auto-installed.
Commits on Mar 21, 2012
  1. Remove javadoc warning in GaugeGraphView

    kevinsawicki committed Mar 21, 2012
    Javadoc complains about using templates in method
    links and wants the plain non-template parameter
    signatures.
Commits on Mar 19, 2012
  1. Set app 'debuggable' true for dev, false for release

    rtyley committed Mar 19, 2012
    Like the version code, the android-maven-plugin takes care of updating
    this manifest field for us. Having the app debuggable is useful because
    it allows us to profile performance & mem usage using DDMS:
    
    http://developer.android.com/guide/developing/debugging/ddms.html
Commits on Mar 14, 2012
  1. Remove extra shape element from first layer

    kevinsawicki committed Mar 14, 2012
    This was causing the given shape color to not be drawn
Commits on Mar 13, 2012
  1. Use common lib for RoboGuice-ActionBarSherlock types

    rtyley committed Mar 13, 2012
    Both RoboGuice and ActionBarSherlock require the use of base activities,
    so we're using copies of the RoboGuice classes that extend the *ABS*
    base classes, rather than the normal Android classes.
    
    https://github.com/rtyley/roboguice-sherlock
Commits on Mar 12, 2012
  1. commit updated version code so it doesn't confuse people

    rtyley committed Mar 12, 2012
    I used 'mvn release:prepare' to do the tagging this time, which is much
    faster than me doing it, but doesn't commit the automatic version-code
    updates - so I'm doing that now.
Commits on Mar 8, 2012
  1. Update to ABS 4.0.0 Final (changes since RC1)

    rtyley committed Mar 8, 2012
    Three changes:
    
    * Remove use of ABS 'plugin-support-lib' as this is back in the ABS lib
    itself
    
    * Adapt our activities to use RoboGuice-supporting subclasses of the
    ActionBarSherlock activity and fragment classes.
    
    * ProGuard rule to ensure that the
    constructor of the ActionBarSherlock implementation classes aren't
    over-aggressivly removed (the 'native' one is invoked via reflection).
Commits on Mar 6, 2012
  1. Introduce GaugeGraphView, allow colouring via styles

    rtyley committed Mar 6, 2012
    There's some fractional improvements in reduced array allocation etc,
    but mostly this change is just to remove the duplication of the
    graph-generating code that was in TrafficListFragment & GaugeViewHolder.
  2. another tweak test for ci

    rtyley committed Mar 6, 2012
  3. tweak to test ci...

    rtyley committed Mar 6, 2012
Commits on Mar 5, 2012
  1. Post-release 1.2

    rtyley committed Mar 5, 2012
  2. Commit 1.2 release

    rtyley committed Mar 5, 2012
    Should fix:
    
    * NPEs on Gauges with less than 7 days of recent traffic.
    * Hitting refresh no longer jumps you back to the top of the list
  3. Revert "Rotate refresh icon in Action Bar while loading things."

    rtyley committed Mar 5, 2012
    Unfortunately, due to some rendering issues, this isn't quite ready to
    go out yet:
    
    #13 (comment)
    
    We're putting it on a branch and hopefully it'll be sorted soon and we
    can re-merge it.
    
    Reverts commit e606ff2.
    
    Conflicts:
    
    	app/src/main/java/com/github/mobile/gauges/ui/ListLoadingFragment.java
  4. tidy

    rtyley committed Mar 5, 2012
  5. Ensure color and data arrays are always filled

    kevinsawicki committed Mar 5, 2012
    This guards against NPEs that occur with gauges that report
    less than seven days of recent traffic.
Commits on Mar 2, 2012
  1. More import refreshing

    rtyley committed Mar 2, 2012
  2. Remove unused imports

    rtyley committed Mar 2, 2012
  3. Stop list from jumping back to the top on reload

    rtyley committed Mar 2, 2012
    Uses setList() instead of setAdapter() - it's not a method available on
    ListAdapter, so we have to ensure we have a ViewHoldingListAdapter.
    
    This is a redo of commit 73689dc - which was broken because it left the
    'Content' and 'Referrers' fragments blank. This was because a private
    reference to the ListAdapter was being held in the ListLoadingFragment-
    a bad idea because list fragments can actually have their ListAdapters
    replaced when on coming back on screen, leaving the LLF holding an old
    ref. Now, instead of holding our own ref to the ViewHoldingListAdapter,
    we call getListAdapter() and cast it, ensuring we have the correct
    ListAdapter.
    
    
    
    
    fix the jump fix
  4. Revert "Stop list from jumping back to the top on reload"

    rtyley committed Mar 2, 2012
    This commit introduced a bug, the 'Content' and 'Referrers'
    fragments went blank - quite surprised, sure I had checked
    them... oh well, investigating
    
    This reverts commit 73689dc.
  5. Remove unused imports

    kevinsawicki committed Mar 2, 2012
  6. Stop list from jumping back to the top on reload

    rtyley committed Mar 1, 2012
    Uses setList() instead of setAdapter() - it's not a method available on
    ListAdapter, so we have to ensure we have the adapter reference as a
    ViewHoldingListAdapter.
Commits on Mar 1, 2012
Commits on Feb 28, 2012
  1. Remove unneeded cast to ImageView

    kevinsawicki committed Feb 28, 2012
    All methods used are available on the View class