]> hydra-www.ietfng.org Git - acmetensortoys-ctfws-android/log
acmetensortoys-ctfws-android
7 years agoTimesync using new topic
Nathaniel Wesley Filardo [Tue, 19 Feb 2019 00:58:51 +0000 (00:58 +0000)]
Timesync using new topic

7 years agoTry harder to tear down old mqtt connections
Nathaniel Wesley Filardo [Tue, 19 Feb 2019 01:18:40 +0000 (01:18 +0000)]
Try harder to tear down old mqtt connections

7 years agoSlightly richer Logging
Nathaniel Wesley Filardo [Tue, 19 Feb 2019 00:57:59 +0000 (00:57 +0000)]
Slightly richer Logging

7 years agoNotification icon: hammer and sickle, vector
Nathaniel Wesley Filardo [Sat, 17 Nov 2018 01:04:44 +0000 (01:04 +0000)]
Notification icon: hammer and sickle, vector

Try to placate newer Androids by changing the icon to match the
guidelines from
https://developer.android.com/guide/practices/ui_guidelines/icon_design_status_bar

Since the shield looked odd, anyway, move to a proper hammer and sickle,
as obtained from Wikimedia and incorporated under public domain.  See
https://commons.wikimedia.org/wiki/File:Hammer_and_sickle.svg .

See https://github.com/cmukgb/ctfws-timer-android/issues/6

7 years agoBump version release-1.2
Nathaniel Wesley Filardo [Tue, 30 Oct 2018 22:39:30 +0000 (22:39 +0000)]
Bump version

7 years agoSmall changes to semigenerated files
Nathaniel Wesley Filardo [Tue, 30 Oct 2018 22:38:51 +0000 (22:38 +0000)]
Small changes to semigenerated files

7 years agoAdd handbook activity
Nathaniel Wesley Filardo [Tue, 30 Oct 2018 22:37:48 +0000 (22:37 +0000)]
Add handbook activity

7 years agoBump version (1.1)
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 17:05:51 +0000 (18:05 +0100)]
Bump version (1.1)

7 years agoAdd support for message reset messages
Nathaniel Wesley Filardo [Sun, 28 Oct 2018 14:52:58 +0000 (14:52 +0000)]
Add support for message reset messages

And tweak the handling of the message queue in notifications
Add TODO for main display

7 years agoAdd support for timesync messages
Nathaniel Wesley Filardo [Sun, 28 Oct 2018 14:12:48 +0000 (14:12 +0000)]
Add support for timesync messages

7 years agoRefactor out a string resource manipulation util
Nathaniel Wesley Filardo [Sun, 28 Oct 2018 14:12:05 +0000 (14:12 +0000)]
Refactor out a string resource manipulation util

7 years agoSwitch reconnect icon to something at least netish
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 17:05:17 +0000 (18:05 +0100)]
Switch reconnect icon to something at least netish

"Search" was not really useful; "download" at least has the right idea.

7 years agoImprove debug logging
Nathaniel Wesley Filardo [Sun, 28 Oct 2018 14:13:12 +0000 (14:13 +0000)]
Improve debug logging

7 years agoImprove flag message display
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 16:56:27 +0000 (17:56 +0100)]
Improve flag message display

No longer k=v pairs, let's actually get some color and labels

7 years agoSet notification source for end of game
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 16:54:45 +0000 (17:54 +0100)]
Set notification source for end of game

The vibration pattern was erroneously inherited from whatever had come
before.

7 years agoEnsure we have flag counts more often
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 16:13:23 +0000 (17:13 +0100)]
Ensure we have flag counts more often

In particular, we will want to display this even if we didn't get a Now
message, say, if we've relauched the app after the game ended.

7 years agoMake connection status display slightly less obtrusive
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 16:12:58 +0000 (17:12 +0100)]
Make connection status display slightly less obtrusive

7 years agoAdd display of sides information
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 15:51:26 +0000 (16:51 +0100)]
Add display of sides information

7 years agoSwitch to enum for rationales
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 15:24:13 +0000 (16:24 +0100)]
Switch to enum for rationales

Stop using strings from lib/; fetch them from the string table like
we're supposed to.

7 years agoFlags messages are timestamped, too, now
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 13:23:37 +0000 (14:23 +0100)]
Flags messages are timestamped, too, now

Don't bother with backwards compat for this; it just won't parse and
that's probably good enough.

7 years agoBack off on pings a bit
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:54:58 +0000 (04:54 +0100)]
Back off on pings a bit

Ironically, this seems to improve our connection longevity.

7 years agoTreewide: tidy many warnings
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:53:58 +0000 (04:53 +0100)]
Treewide: tidy many warnings

7 years agoRobustify message display
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:48:12 +0000 (04:48 +0100)]
Robustify message display

Adjust the behavior of the GameStateManager; it's not quite what it
should be, but it's less bad than what was there before.  Notably, Msg
objects now have the right .equals() behavior, not just .compareTo()

Improve CtFwSDisplayLocal and stay subscribed to game state changes
while not visible so we stay informed of messages.  Do not, however,
stay subscribed to service state messages, as there is no point.

We might lose messages all the same, but hopefully fewer and hopefully
without duplicates spamming everyone all the time.

While here, more correctly (I think?) use the Android lifecycle events.

7 years agoAdd support for notification channels
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:55:31 +0000 (04:55 +0100)]
Add support for notification channels

7 years agoBump Android tools versions, disable wear apk
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:46:10 +0000 (04:46 +0100)]
Bump Android tools versions, disable wear apk

7 years agoLandscape layout
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:41:27 +0000 (04:41 +0100)]
Landscape layout

8 years agoImprove encapsulation of game state
Nathaniel Wesley Filardo [Sat, 11 Nov 2017 06:39:17 +0000 (01:39 -0500)]
Improve encapsulation of game state

And deduplication of messages, I hope.

8 years agoBump version (1.0.2)
Nathaniel Wesley Filardo [Sat, 11 Nov 2017 06:39:57 +0000 (01:39 -0500)]
Bump version (1.0.2)

8 years agoAdd notifications on game end
Nathaniel Wesley Filardo [Sat, 11 Nov 2017 02:27:17 +0000 (21:27 -0500)]
Add notifications on game end

Add exit menu option, too, which should force the notification away
even if nothing else works.

8 years agoA bunch of changes
Nathaniel Wesley Filardo [Fri, 10 Nov 2017 23:03:50 +0000 (18:03 -0500)]
A bunch of changes

Add stun timers
Try to fix up spurious message delivery (working around Paho issues)
Bump version to 1.0.1

8 years agoInitial stab at stun timers
Nathaniel Wesley Filardo [Sat, 21 Oct 2017 07:09:30 +0000 (03:09 -0400)]
Initial stab at stun timers

8 years agoEnable more fine-grained control of vibration
Nathaniel Wesley Filardo [Sat, 21 Oct 2017 05:59:25 +0000 (01:59 -0400)]
Enable more fine-grained control of vibration

8 years agoMinor UI tweaks
Nathaniel Wesley Filardo [Sat, 21 Oct 2017 05:56:27 +0000 (01:56 -0400)]
Minor UI tweaks

8 years agoFactor out timer providers
Nathaniel Wesley Filardo [Sat, 21 Oct 2017 05:51:48 +0000 (01:51 -0400)]
Factor out timer providers

8 years agosynchronize game state
Nathaniel Wesley Filardo [Sat, 21 Oct 2017 05:46:46 +0000 (01:46 -0400)]
synchronize game state

8 years agoTidying
Nathaniel Wesley Filardo [Sat, 21 Oct 2017 04:48:31 +0000 (00:48 -0400)]
Tidying

8 years agoBump dep versions
Nathaniel Wesley Filardo [Mon, 20 Mar 2017 08:48:03 +0000 (04:48 -0400)]
Bump dep versions

9 years agoExperimental revisions to notification
Nathaniel Wesley Filardo [Fri, 24 Feb 2017 23:50:26 +0000 (18:50 -0500)]
Experimental revisions to notification

Allow revisions of flag values back to zero
Try to squash back-to-back vibes

9 years agoAdd todo
Nathaniel Wesley Filardo [Fri, 24 Feb 2017 23:49:55 +0000 (18:49 -0500)]
Add todo

9 years agoBump version count for next build
Nathaniel Wesley Filardo [Fri, 24 Feb 2017 20:39:34 +0000 (15:39 -0500)]
Bump version count for next build

9 years agoDisplay rationale in game state line, too
Nathaniel Wesley Filardo [Fri, 24 Feb 2017 20:39:09 +0000 (15:39 -0500)]
Display rationale in game state line, too

9 years agoMove default string to string xml and reference
Nathaniel Wesley Filardo [Fri, 24 Feb 2017 19:39:42 +0000 (14:39 -0500)]
Move default string to string xml and reference

9 years agoSmall cleanups
Nathaniel Wesley Filardo [Wed, 22 Feb 2017 15:33:21 +0000 (10:33 -0500)]
Small cleanups

9 years agoOn pre-N devices, Chronometers only count up
Nathaniel Wesley Filardo [Wed, 22 Feb 2017 15:29:26 +0000 (10:29 -0500)]
On pre-N devices, Chronometers only count up

So keep times in the past

9 years agoTidying as per studio inspector
Nathaniel Wesley Filardo [Tue, 21 Feb 2017 02:50:22 +0000 (21:50 -0500)]
Tidying as per studio inspector

No functionality changes, I hope

9 years agoImprove notification
Nathaniel Wesley Filardo [Mon, 20 Feb 2017 21:30:12 +0000 (16:30 -0500)]
Improve notification

9 years agoImprove settings panel
Nathaniel Wesley Filardo [Mon, 20 Feb 2017 08:09:48 +0000 (03:09 -0500)]
Improve settings panel

Remove custom Dialog in favor of custom EditTextPreference
Fix some subscription issues in MainAcitivty

9 years agoAdd preferences menu
Cameron Wong [Fri, 17 Feb 2017 02:03:37 +0000 (21:03 -0500)]
Add preferences menu

9 years agoUnbreak wear build (oops)
Nathaniel Wesley Filardo [Mon, 20 Feb 2017 06:47:25 +0000 (01:47 -0500)]
Unbreak wear build (oops)

9 years agoUpdate About activity to include licenses
Nathaniel Wesley Filardo [Mon, 20 Feb 2017 06:41:31 +0000 (01:41 -0500)]
Update About activity to include licenses

Switch to Tabbed layout.
Tweak (C) text while here.

9 years agoUpdate GameState objects to have gameIx field
Nathaniel Wesley Filardo [Sat, 18 Feb 2017 21:27:19 +0000 (16:27 -0500)]
Update GameState objects to have gameIx field

This is a new parameter in the "/config" message to indicate which game
out of a bunch is being played.  See parallel commit to IoT repo
703983bd66891a4e03c5946aa1f238ae3e685b54.

Display said parameter in the game header.

9 years agoIt'd be nice if I could run this on hardware
Cameron Wong [Thu, 16 Feb 2017 22:57:09 +0000 (17:57 -0500)]
It'd be nice if I could run this on hardware

9 years agoAccording to all known laws of aviation...
Cameron Wong [Thu, 16 Feb 2017 22:56:16 +0000 (17:56 -0500)]
According to all known laws of aviation...

9 years agoSo yeah, those likely bugs? Bugs.
Nathaniel Wesley Filardo [Wed, 15 Feb 2017 06:21:10 +0000 (01:21 -0500)]
So yeah, those likely bugs?  Bugs.

Observees now fire off synthetic events when observers are added, so
that it should be sufficent to draw the link between two components,
as it were.

Improve some commentary throughout.

MainActivity onDestroy() unregisterService(), since that kind of seems
like the right thing to do?

9 years agoMove mobile MQTT to Service
Nathaniel Wesley Filardo [Tue, 14 Feb 2017 19:38:10 +0000 (14:38 -0500)]
Move mobile MQTT to Service

While here, add initial Notification
There are almost surely bugs; I wrote this when I couldn't sleep

9 years agoOverhaul internal architecutre
Nathaniel Wesley Filardo [Mon, 13 Feb 2017 02:20:14 +0000 (21:20 -0500)]
Overhaul internal architecutre

GameState objects now have Observers and are not passive objects; they
also encapsulate their own parsers.  The display logic is now an Observer
of the GameState and everything's just a little less janky.

The stage has been set for Wear integration, too, but that's not
happening any time soon.

9 years agoFix hangup-and-redial logic
Nathaniel Wesley Filardo [Sat, 11 Feb 2017 08:08:40 +0000 (03:08 -0500)]
Fix hangup-and-redial logic

Touch the connection metadata table to force

9 years agoMove some CtFwS logic to library
Nathaniel Wesley Filardo [Sat, 11 Feb 2017 05:59:15 +0000 (00:59 -0500)]
Move some CtFwS logic to library

9 years agoMessages now take timestamps...
Nathaniel Wesley Filardo [Fri, 10 Feb 2017 07:14:01 +0000 (02:14 -0500)]
Messages now take timestamps...

To suppress out-of-order delivery; see parallel commit
f3997b3067a8a9026a6a42c085bb77108cf825a8 in the IoT source

9 years agoTidy MainActivity a bit
Nathaniel Wesley Filardo [Fri, 10 Feb 2017 07:13:47 +0000 (02:13 -0500)]
Tidy MainActivity a bit

9 years agoFurther UI improvements
Nathaniel Wesley Filardo [Fri, 10 Feb 2017 07:12:47 +0000 (02:12 -0500)]
Further UI improvements

Notably, an About screen

9 years agoUI improvements
Nathaniel Wesley Filardo [Fri, 10 Feb 2017 03:46:59 +0000 (22:46 -0500)]
UI improvements

Dialog for setting server URI preference
Feedback TextViews at the bottom

9 years agoInitial revision
Nathaniel Wesley Filardo [Thu, 2 Feb 2017 23:42:05 +0000 (18:42 -0500)]
Initial revision

Logic seems to work, UI is super terrible