starting new variant for GCM
missing gitignores
fix name of service so reply received from GCM
generate sender_id const from ENV so doesn't need to be checked in.
Now works to register as I'm using the right id.
Merge branch 'android_branch' into android_gcm
show toast when update requested manually and nothing found
comment out unused param/variable
fix link problem with upgrade from natty to oneiric (Ubuntu): -lpq
param must follow object file list.
download dicts without the browser.  This is a partial implementation
that will need to be generalized and used in other places, basically
whenever the full URL can be known.
use Utils.showToast() everywhere
use new internal download code for download to get dict required for
SMS invite as well.  Still to do: put back the query for where the
thing should be stored.  Hard-coded to go in INTERNAL for now.
make dict storage location a default set in preference rather than
something queried each time.
use import to shorten type -- no code change
fix to print contents again
comments to remind not to remove code not called from java; no code change
add pref to replace querying on each download where to store dict.
And use new background-download for update-triggered downloads.
remove redundant class name (no code change)
add new game_changeDict() and enough gtk code to test it.
protect changeDict feature with compile-time flags (since it can't be
used on Android)
When a game's consumated and guest discovers it isn't using the same
dict, give chance to switch, and to download if required.  Because of
the way the JNI thread works, and JNI's requirement in general that
env instances match up (e.g. dicts must be destroyed in the same
thread that creates them), substituting into a live game is too hard.
So the game's saved with its new dict and then reloaded.