Eric House
6871ef24a6
move several strings, including app name, NBS port, and url prefix, into generated
...
.xml file so Dbg and regular variants can co-exist better
Conflicts:
xwords4/android/XWords4/archive/R.java
2015-08-03 04:55:59 -07:00
Eric House
b500a4646d
use different uuid for dbg variant so it's not cross-sending BT
...
messages with other variants, causing among other problems spurious
"deleted on other device" warnings.
2015-08-03 04:50:56 -07:00
Eric House
7875d34757
allow using script for any project with an AndroidManifest.xml
2015-08-02 14:15:14 -07:00
Eric House
af8c6d618d
different logging TAG for different variants
2015-08-02 10:29:17 -07:00
Eric House
0425df7a5e
move several strings, including app name, NBS port, and url prefix, into generated
...
.xml file so Dbg and regular variants can co-exist better
2015-08-01 22:39:00 -07:00
Eric House
65606607ab
use different uuid for dbg variant so it's not cross-sending BT
...
messages with other variants, causing among other problems spurious
"deleted on other device" warnings.
2015-07-29 19:48:56 -07:00
Eric House
dfc3ca5289
Merge branch 'android_branch' into relay_noconn
2015-07-29 05:54:10 -07:00
Eric House
a2705ca821
uninstall dbg variant too
2015-07-28 21:01:46 -07:00
Eric House
aa78ec2701
echo name of new .apk for easier scping
2015-07-27 07:29:09 -07:00
Eric House
82f1406df7
incorporate git rev number in name of debug .apk
2015-07-27 07:28:58 -07:00
Eric House
fc904af928
echo name of new .apk for easier scping
2015-07-27 07:26:32 -07:00
Eric House
85bd8ec2d4
merge
2015-07-27 07:16:28 -07:00
Eric House
7cc58de6e5
Merge branch 'android_branch' of ssh://git.code.sf.net/p/xwords/git into android_branch
...
Conflicts:
xwords4/android/scripts/info.py
2015-07-27 07:14:54 -07:00
Eric House
e31c7ae4f5
update to not notify of debug build updates when version matches what's installed
2015-07-27 07:12:44 -07:00
Eric House
fe91c9e04e
update to serve newest debug as well as release builds, and to know about variants
2015-07-25 21:56:48 -07:00
Eric House
ca71118c8d
incorporate git rev number in name of debug .apk
2015-07-25 20:54:07 -07:00
Eric House
59ab1736ca
include res_src in set of directories copied for -dbg variant
2015-07-25 08:21:44 -07:00
Eric House
9e533f82db
remove redundant constant
2015-07-21 06:55:43 -07:00
Eric House
f626d6ca4c
remove redundant constant
2015-07-21 06:55:15 -07:00
Eric House
5e10febe0e
actually serve debug build
2015-06-09 06:39:57 -07:00
Eric House
aeae648afc
look for new dbg key and drop message if it's set. Later we can keep a
...
separate set of binaries.
2015-06-07 13:42:19 -07:00
Eric House
8e21c69a55
add reinstall option
2015-06-02 08:04:06 -07:00
Eric House
d00a89b8b0
Remove name property to silence warning. This didn't work with earlier
...
version of ant but I'll hope it's ok for everybody now.
2015-04-07 07:31:41 -07:00
Eric House
3e624a6829
remove warning about not using checked-in debug keystore from release
...
builds that won't use it regardless
2015-04-07 07:20:48 -07:00
Eric House
e00938aeb1
fix to use ANDROID_NDK instead of NDK_ROOT, following fdroid's
...
convention, but also not to require either if ndk-build is on PATH.
2015-04-07 07:07:24 -07:00
Eric House
7d4aa8dd17
fix warning
2015-03-31 20:38:45 -07:00
Eric House
51e6892c32
add option to list a single language code's wordlists
2015-03-27 21:54:56 -07:00
Eric House
31f3e71704
remove repeated code
2015-03-27 21:53:37 -07:00
Eric House
10fe016785
tweaks to strings.xml copying: add comment warning files are
...
generated, and don't copy over strings that say "XLATE ME"
2015-03-27 21:37:29 -07:00
Eric House
c0199e8768
include copy-strings.py in the build
2015-03-27 07:46:50 -07:00
Eric House
ac811f1690
move French strings into res_src/, and add script to filter/copy all
...
strings.xml files from there to res/, effectively including them in
the app the way the Android SDK intends. This will allow me to turn
off the downloadable localization stuff which is tripping over having
more than English built in. ToDo: incorporate the copy into the build.
2015-03-27 07:26:51 -07:00
Eric House
d5984a34b7
include language code in available dicts json
2015-03-25 06:51:13 -07:00
Eric House
51e86269ac
use try for better usage error message
2015-03-25 04:51:30 -07:00
Eric House
899d2073b2
towards a script to sanity-check localized strings.xml files against
...
English
2015-03-25 04:43:33 -07:00
Eric House
69aa57d951
fix to output unicode
2015-03-19 06:58:28 -07:00
Eric House
e89fdf7dc4
first cut at script to convert <string> to <plurals> (with only one "other" <item>)
2015-03-18 07:13:27 -07:00
Eric House
4514fc4449
fake <plurals> too
2015-03-17 20:47:17 -07:00
Eric House
3ddbb6be0f
include build timestamp as a long, and let android utilities format it
...
based on locale and timezone.
2015-03-16 07:38:20 -07:00
Eric House
57c727e3cd
add new flag to usage()
2015-03-10 19:56:22 -07:00
Eric House
9a551c51f8
add option to print only strings missing from the localized file
2015-03-10 07:41:25 -07:00
Eric House
59f9ebc13d
cleanup
2015-03-10 07:41:10 -07:00
Eric House
1e051e835c
Merge remote-tracking branch 'sf/android_branch' into android_multi2
2015-03-03 21:23:30 -08:00
Eric House
7e7305c1be
I want to be able to switch dev machines without having to uninstall
...
the latest debug build from my phones, and that requires using the
same debug.keystore everywhere. So check one in, and add a script that
symlinks to it from the machine's global location if necessary.
2015-03-03 21:19:07 -08:00
Eric House
027cd319e6
Merge branch 'android_branch' into android_multi2
...
Conflicts:
xwords4/android/XWords4/archive/R.java
2015-01-24 10:10:10 -08:00
Eric House
e0c9d626ae
rename script
2015-01-23 08:30:19 -08:00
Eric House
301ce8bc3c
spelling error in comment :-)
2014-11-20 18:57:57 -08:00
Eric House
64276b041e
echo so I know it's doing something
2014-11-15 20:37:22 -08:00
Eric House
452729fb9d
merge android_branch
2014-10-17 18:36:08 -07:00
Eric House
3dfb4ae6f8
Merge remote branch 'origin/android_branch' into android_branch
2014-10-16 20:48:39 -07:00
Eric House
39f8ec4734
expand pattern to match newer .apks
2014-10-16 20:47:43 -07:00
Eric House
dd00ba477b
fix mistaken commit: uncomment
2014-10-16 20:16:35 -07:00
Eric House
878a16b3bc
snapshot: android compiles, and works well enough to exchange moves
...
via relay! Lots of changes, mostly around treating connTypes as a Set
inside the java world. Jni to translate to that is a pain.
2014-10-16 06:45:24 -07:00
Eric House
f14c3216a5
commit changes that have been running for a while
2014-10-13 19:10:56 -07:00
Eric House
bf1f0485df
include git hash in name of .apk file
2014-10-13 19:06:40 -07:00
Eric House
858187b9d7
include git rev hash in update info -- for later use detecting when a
...
tagged build has changed
2014-10-13 07:20:17 -07:00
Eric House
e69f0179cc
fix script
2014-09-21 16:59:00 -07:00
Eric House
473bea77d6
get rid of -i param; instead install to all devices instead of passing
...
'install' to ant.
2014-09-08 07:25:05 -07:00
Eric House
c1ee254c4f
echo what's going on
2014-09-05 21:19:32 -07:00
Eric House
5035042ce4
rename script, and add install option so can work with multiple devices
2014-09-05 07:29:03 -07:00
Eric House
b9d9fc2520
put back auto-scp of finished file to server
2014-08-29 07:33:21 -07:00
Eric House
4df0f7ffd2
add option to get new .apk file name into a file
2014-08-29 07:21:54 -07:00
Eric House
031cd613c1
Don't upload .apk as part of this script. Maybe later as part of -clone.sh.
2014-07-14 21:40:31 -07:00
Eric House
4d9c7c97ba
Merge remote branch 'origin/android_localize' into android_localize
2014-06-24 08:16:56 -07:00
Eric House
d1f3648390
better shelf clearing
2014-06-24 08:16:01 -07:00
Eric House
e3ca40c221
make prompt clearer
2014-06-22 11:15:44 -07:00
Eric House
2c7128ad30
pull note out of dict header
2014-06-18 20:18:09 -07:00
Eric House
b3852ba603
cast to int so doesn't get turned into a string on the java side
2014-06-18 06:46:45 -07:00
Eric House
3e107a82e2
include word count and file size
2014-06-18 05:18:22 -07:00
Eric House
45ebb8d3b9
put dict list info in shelf for faster response
2014-06-07 17:57:43 -07:00
Eric House
d54bbb3beb
don't barf when something not found in git history -- just return nothing, as it's the dev case
2014-06-07 17:50:35 -07:00
Eric House
d55dd7e206
change format of downloadable dict info. Late checkin: Android code's
...
been counting on this for several days.
2014-06-03 07:43:47 -07:00
Eric House
092c0f54c8
include md5sums of dicts in json
2014-05-28 20:45:55 -07:00
Eric House
5d0a6babae
add function to list all wordlists by lang in a json -- toward not
...
using webview for download function.
2014-05-28 07:14:45 -07:00
Eric House
937e1fa9a9
don't upgrade app and translations at the same time (since new app may
...
behave differently once installed)
2014-05-28 06:43:37 -07:00
Eric House
f87bf2f95d
allow non-English strings.xml files to have duplicate text
2014-05-22 06:07:55 -07:00
Eric House
9a9a4e2991
add option to replace %s with %1$d etc.
2014-05-20 20:53:48 -07:00
Eric House
1ebf51d3ab
when building from modified tree, still use latest commit number for
...
about box for easier debugging. Shouldn't matter for releases.
2014-05-19 07:15:21 -07:00
Eric House
f8dbc91cb0
don't set constant if R.java has uncommitted changes
2014-05-19 07:10:29 -07:00
Eric House
c42e5f2c0f
keep elipses char where it belongs when reversing rest of strings
2014-05-11 20:15:10 -07:00
Eric House
49001c6893
various changes so dbg and bt versions build again -- and may work, but
...
that's not tested yet.
2014-05-11 19:55:05 -07:00
Eric House
2a3b8c7a74
when reversing words, preserve capitalization (i.e. start don't end with a cap)
2014-05-10 06:52:26 -07:00
Eric House
c06f0e157d
first cut at file to clean up variant trees by removing anything not
...
under version control
2014-05-10 06:50:55 -07:00
Eric House
30b966b902
generate fake translations automatically
2014-05-06 07:47:29 -07:00
Eric House
c0afd40337
update test section to work again
2014-05-06 07:25:00 -07:00
Eric House
0ff09868cb
Query user before removing build dir
2014-05-06 06:58:57 -07:00
Eric House
477019757e
make getopt flags match what usage says is there
2014-05-04 16:39:56 -07:00
Eric House
1fcf9027cb
when looking for a translation for locale xx_YY, if there is none try
...
again for just xx. And silently drop strings in the translation file
with names that don't exist in English, though eventually that
shouldn't happen. With this change a newly installed app on a
claiming-to-be-Czech emulator picks up the Czech translation within
moments.
2014-05-04 16:26:35 -07:00
Eric House
6d60e45eb9
tweak fake translation generation (and include new strings)
2014-05-02 22:08:44 -07:00
Eric House
43f90cb3b0
use -1 as array index
2014-05-02 22:03:02 -07:00
Eric House
ad65b93ef2
changes necessary to actually return a translation based on revision
...
hash of R.java passed by client, or none if it already has it. Rough,
but works.
2014-05-02 22:00:25 -07:00
Eric House
8d6f46fa22
snapshot. Should work for current case where the newest R.java is older than the app connecting
2014-05-01 08:15:42 -07:00
Eric House
7b40abfa2f
more features and some refactoring
2014-05-01 08:14:40 -07:00
Eric House
164387b37d
update to use mygit
2014-04-30 07:25:23 -07:00
Eric House
6d194e5362
don't chdir (which isn't cool when a cgi); use subprocess's cwd param instead
2014-04-30 07:08:59 -07:00
Eric House
d91c307792
include hash of current R.java in xlation update json, not of the entire app
2014-04-30 03:29:47 -07:00
Eric House
a3bcef18f0
add more functionality
2014-04-29 21:15:50 -07:00
Eric House
a7c4730eb5
start of a file to interact with git for getting xlations
2014-04-29 06:53:02 -07:00
Eric House
4279457471
name change to remind what script is doing
2014-04-29 06:43:11 -07:00
Eric House
b4d5130588
Merge remote branch 'origin/android_localize' into android_localize
2014-04-29 06:39:35 -07:00
Eric House
7ea037d56a
work with arrays of locales
2014-04-29 06:33:14 -07:00
Eric House
be817feb55
add git rev hash as constant (and usage())
2014-04-27 20:03:08 -07:00
Eric House
b87a7e808c
don't fail building if scp fails
2014-04-27 19:08:04 -07:00
Eric House
8612a5f624
use IDs rather than english strings as keys in passing
...
translations. Requires parallel change on client, and currently
doesn't quite work because e.g. \n is not replaced before the
translation is rendered.
2014-04-24 06:24:38 -07:00
Eric House
1e5a474692
remove unneeded param
2014-04-24 06:21:10 -07:00
Eric House
6d7d4955a0
more informative log message
2014-04-23 19:38:16 -07:00
Eric House
780b22678e
add param caller expects
2014-04-23 19:35:35 -07:00
Eric House
36f839f8d1
more stuff to not reverse/capitalize (e.g. "\n"); print to stdout by default
2014-04-23 19:35:10 -07:00
Eric House
19c32b0444
Merge branch 'android_branch' into android_localize
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-04-23 07:44:51 -07:00
Eric House
e25a0e7dbc
changes for translation downloading
2014-04-23 07:39:36 -07:00
Eric House
66768c7e7d
better formatting and key identity checking
2014-04-22 07:30:32 -07:00
Eric House
94597ee287
record R.java where it won't be used. I want to see how often, and in what ways, it changes.
2014-04-21 19:46:27 -07:00
Eric House
45b1b0bfa8
script to produce the translation array that's downloaded to device
2014-04-21 07:13:41 -07:00
Eric House
0bf8b45157
implement reverse fake-locale
2014-04-20 21:36:41 -07:00
Eric House
5d3beb6404
script to generate fake locales from English strings.xml for use testing downloading translations
2014-04-20 21:26:43 -07:00
Eric House
e0404801ba
fix clean builds
2014-04-18 19:25:40 -07:00
Eric House
538cd7b154
disallow duplicate strings in strings.xml, manually appending #<digit>. Will eventually filter that out of displayed strings.
2014-04-16 21:14:53 -07:00
Eric House
f5f7428683
fix debug tree to build again, this time with a paramaterized common
...
xml file
2014-04-16 21:06:41 -07:00
Eric House
79dc66b3a7
add array index as comment
2014-04-16 07:44:10 -07:00
Eric House
d3c5aeb977
add param
2014-04-14 07:40:35 -07:00
Eric House
a0fd457ad1
add stuff, including ability to list strings missing in english or translated version
2014-04-14 07:40:24 -07:00
Eric House
9a4474ac1e
ignore .pyc file
2014-04-14 06:28:48 -07:00
Eric House
42ba1baaf7
include preceeding comments with string text
2014-04-12 08:19:48 -07:00
Eric House
1b79bcb1c4
add and use ability to remove nodes
2014-04-12 06:37:55 -07:00
Eric House
64ebbcfbae
mods to export getString
2014-04-12 06:16:32 -07:00
Eric House
ac4fc367bb
first changes made by script
2014-04-11 23:12:16 -07:00
Eric House
30b861879a
first modification made by script
2014-04-11 22:54:13 -07:00
Eric House
77b87c6458
localized files as read in and printed back out, unmodifed but for how
...
python prints them differently. This is a baseline: modifications
will follow.
2014-04-11 22:43:56 -07:00
Eric House
10d6969930
fix release builds: generate empty version of checker function
2014-04-10 07:43:57 -07:00
Eric House
67bca0dd4e
Because loc: strings can't be supplied for all Views, don't do
...
that. Instead use the English strings themselves as keys. Generate a
java array of all R.string.whatever contants at build time, and use
that at runtime to build a hashmap of localizable strings that may be
found in UI widgets. When one is found and there's a translation,
substitute.
2014-04-09 21:09:46 -07:00
Eric House
ce3fab3b15
don't try to write file if not specified
2014-04-09 07:29:56 -07:00
Eric House
edf720c58c
add EditText's hint. But Spinner's prompt MUST be a reference -- fuck you Android -- so I need another way to do this
2014-04-09 07:28:31 -07:00
Eric House
812c54f598
CheckBoxes get translated too
2014-04-09 07:10:55 -07:00
Eric House
0b93e77018
combine the xml-manipulation and java-class-generation scripts
2014-04-08 18:57:31 -07:00
Eric House
d27f2d580a
(more of prev commit) generate xml layout files from res_src, and run all inflation through LocUtils that tries to substitute strings
2014-04-08 06:48:42 -07:00
Eric House
aad4872f68
generate menu resources from the old files, adding the 'loc:' key for those title strings listed in strings.xml
2014-04-07 08:14:09 -07:00
Eric House
437e2024cc
generate hashmap from strings.xml -- all of them -- making it
...
unmodifiable, and test for stuff not being in it.
2014-04-06 18:58:33 -07:00
Eric House
663f4293a9
display English text on left side of table
2014-04-05 11:45:20 -07:00
Eric House
16346beeb1
enforce new convention: strings containing formatting must be names whatever_fmt (and strings containing formatting must be so named.) I'm going to have to parse such strings, which will be expensive, so being able to determine from the name whether there's a need should help.
2014-04-04 23:42:57 -07:00
Eric House
2b2fd32951
replace %s and %d (and enforce)
2014-04-04 23:09:50 -07:00
Eric House
589b740af6
include loc: strings from common_rsrc.xml
2014-04-04 07:59:16 -07:00
Eric House
11dabca721
generate mapping from actual strings to R.string.id that can be used at runtime to convert/lookup menu titles. Works to uppercase a menu! Changes break dbg and bt builds -- to be fixed.
2014-04-03 22:27:50 -07:00
Eric House
af0522b0f4
always serve the newest .apk for debug builds wanting to upgrade
2014-03-26 18:44:14 -07:00
Eric House
9993ef1e4c
add function to return all apks sorted by creation time
2014-03-26 08:22:17 -07:00
Eric House
6c8cedf5bb
rename GamesList -> GamesListActivity, then move most of it into GamesListDelegate. This is part of exploring what it'll take to separate Activity-ness from the rest that can then also be used, say, from a Fragment.
2014-03-24 21:10:02 -07:00
Eric House
3b971e0153
tweak build timestamp format
2014-03-06 22:11:13 -08:00
Eric House
0a601a73a4
(commented out) line to cause ndk to be built without optimization for better source-level debugging
2014-03-04 07:07:44 -08:00
Eric House
56c05869da
allow to run from bin directory, which turns out to be useful
2014-03-01 12:39:51 -08:00
Eric House
e536a6d3ee
format build timestamp added to about dialog
2014-02-28 06:47:44 -08:00
Eric House
536a1e3b13
install dbg variant too
2014-02-11 22:11:28 -08:00
Eric House
80c3374728
add build timestamp to about dialog (needs better formatting)
2014-02-10 19:20:35 -08:00
Eric House
9b43fed03f
rule for .jar files: copy
2014-02-10 18:32:00 -08:00
Eric House
4b293ac89b
add Crittercism App ID if available
2014-02-10 07:32:16 -08:00
Eric House
d02481879b
catch debug variant up with recent changes and lay groundwork for including crittercism in it.
2014-02-10 07:31:52 -08:00
Eric House
ed9b9646e7
launch app after installing
2014-02-07 07:34:09 -08:00
Eric House
2b653dcf9b
add build script
2014-02-02 11:27:09 -08:00
Eric House
af801997ef
update name of target SDK version (but not the version itself)
2014-01-07 07:19:47 -08:00
Eric House
bbbc8124ba
uninstall based on where called from
2013-12-06 08:00:03 -08:00
Eric House
856474a9b9
remove mistaken echo
2013-12-05 07:55:25 -08:00
Eric House
ea3347ad4a
fix to install and launch based on location run from
2013-12-05 07:47:13 -08:00
Eric House
0c15a0000e
pass package to script so can work from variants
2013-12-04 20:32:15 -08:00
Eric House
2eefd14231
fix so --clean gets respected
2013-12-04 19:42:18 -08:00
Eric House
0c30dd6bf4
new script to uninstall then install
2013-12-03 08:26:41 -08:00
Eric House
742a94783f
launch app after installing
2013-12-03 08:26:26 -08:00
Eric House
3ccc9ac0f1
use auto-generated BuildConstants class instead of my own act-alike
2013-12-03 07:15:03 -08:00
Eric House
6a6e5b2f4f
script to ... fetch screenshots
2013-11-28 11:42:07 -08:00
Eric House
f50badc428
rename script
2013-11-26 08:06:53 -08:00
Eric House
25144b8e82
script to push a .xwd file onto a device -- or mine anyway
2013-11-21 19:20:23 -08:00
Eric House
2d7c845ebb
Merge remote branch 'origin/android_branch' into android_branch
2013-11-21 05:25:23 -08:00
Eric House
8de638a047
update explaining kitkat
2013-11-21 05:24:36 -08:00
Eric House
edadc962f8
rename generated file; set logging on by default for debug builds
2013-11-14 21:56:37 -08:00
Eric House
8488dc1055
script to fetch db from sd card
2013-11-14 21:56:37 -08:00
Eric House
5f346d94b0
scp automatically if the right ENV variable is set
2013-11-14 21:56:37 -08:00
Eric House
2fbf0fca50
up sdk version
2013-11-13 07:55:41 -08:00
Eric House
ad464b8861
fix to work when both -e and -d passed
2013-11-10 09:01:52 -08:00
Eric House
57c887b8cd
don't touch Application.mk unless it's changed to avoid recompiling every .c file each time
2013-11-09 05:20:21 -08:00
Eric House
bb80cdfb08
Merge branch 'android_branch' into android_thumbnail
...
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardCanvas.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/XwJNI.java
2013-11-07 05:25:51 -08:00
Eric House
de284588f7
test for X86 developers too
2013-11-05 06:36:16 -08:00
Eric House
f0bfbedfb9
call script from build.xml to generate Application.mk
2013-11-04 19:23:47 -08:00
Eric House
d72526ff84
enable turning thumbnail featuren on/off via a line in build.xml
2013-10-29 06:49:06 -07:00
Eric House
60ae8b97c2
try giving the generated pngs transparent backgrounds
2013-10-23 21:07:38 -07:00
Eric House
d838151c0c
modify build system to generate .png files from .svg files, with one
...
.svg as an example.
2013-10-18 22:36:45 -07:00
Eric House
91a0dc5ecd
turn chat back on -- and make it configurable via a single property in
...
build.xml that's turned into both a -D option to the jni compiler and
a constant in the java world.
2013-09-11 22:18:00 -07:00
Eric House
5197033de3
In the spirit of setting constants in only one place, pass
...
INITIAL_CLIENT_VERS in from build.xml rather than the jni makefile,
and make it available in java world as well.
2013-08-20 08:42:12 -07:00
Eric House
db26c32c3e
revert accidental part of commit
2013-07-08 07:14:42 -07:00
Eric House
7d968f8502
target is now hard-coded since I reliably can't derive it from the
...
manifest file.
2013-07-08 07:13:48 -07:00
Eric House
11994d06f8
quote variable to make shell happy
2013-07-08 07:09:03 -07:00
Eric House
e7d20fd2a3
change API version configured by build script to be what I'm using now
2013-07-08 07:03:57 -07:00
Eric House
407a82322c
modify to server the latest beta for non-debug users
2013-05-02 06:58:36 -07:00
Eric House
9cfc6be82c
fix for when wordlist not found
2013-05-02 06:52:12 -07:00
Eric House
5a026ffda3
merge android_wordlists (local branch)
2013-05-01 06:39:31 -07:00
Eric House
388d37e4ee
deal with more than one connected device/emulator
2013-04-06 08:16:57 -07:00
Eric House
660efa6380
rename script to be easier to type
2013-01-30 08:03:13 -08:00
Eric House
60adf36718
fix typo
2012-12-16 15:14:33 -08:00
Eric House
9007331fb0
cleanup, and suggest accepting Android's make-default offer
2012-12-01 21:13:04 -08:00
Eric House
38e6eac3a1
improve page users see when opening invite from new device on an old one.
2012-12-01 10:10:28 -08:00
Eric House
dd882ba9d4
first cut at script old clients will see responding to new-style invitations
2012-12-01 09:34:21 -08:00
Eric House
f82e5bd0e9
add code to deal with Amazon, which I falsely identified as having
...
broken custom schemes. I'm leaving it in, unreachable, to have a record.
2012-11-25 12:30:25 -08:00
Eric House
d7bb869a5b
rewrite to present a link rather than redirect, to attempt to present
...
the link only on Android devices, and to encourage users to email me
if I'm wrong about their not being on a device.
2012-11-25 10:39:46 -08:00
Eric House
b2e329f670
pass along wl (dict) param if present
2012-11-25 08:53:15 -08:00
Eric House
9659f810dc
work even if ENV variable unset
2012-11-22 08:20:08 -08:00
Eric House
0bea58b128
make it possible to build without knowing the GCM sender ID.
2012-11-22 08:13:06 -08:00
Eric House
47f9eb03b9
merge in changes from the -gcm directory: GCM will be a feature of the
...
non-variant build now.
2012-11-02 05:35:31 -07:00
Eric House
ecd6d81228
Merge branch 'android_branch' into android_gcm
2012-11-01 19:50:07 -07:00
Eric House
257a15917b
script to run with lint checks enabled -- since I always have to look up how.
2012-11-01 19:46:08 -07:00
Eric House
935e3b9673
fix to work from main build directory
2012-11-01 19:32:08 -07:00
Eric House
1c33c8cc31
scripts that help find unneeded string resources
2012-11-01 19:17:46 -07:00
Eric House
c93dfd6605
Merge branch 'android_branch' into android_gcm
...
Conflicts:
xwords4/android/XWords4/res/values/common_rsrc.xml
2012-10-30 07:10:42 -07:00
Eric House
f0a46eacfa
script reached by URL in SMS messages sent to devices without
...
Crosswords installed.
2012-10-27 13:15:34 -07:00
Eric House
50238bea3e
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.
2012-10-16 08:16:43 -07:00
Eric House
8281bd7f10
call back into java for util_getCurSeconds implementation so java and
...
C world are sure to be using the same clock.
2012-09-29 19:27:02 -07:00
Eric House
571300c0f8
work with two checksums per wordlist, the old that's on the whole
...
file, and the new that's on the wordlist data only.
2012-09-15 09:34:27 -07:00
Eric House
a3b1fc8379
beginnings of script to annotate localized .xml files with what's missing
2012-08-31 21:33:44 -07:00
Eric House
73c26d8643
replace Crosswords in variants' xml files. Required passing in app
...
name from build.xml and a new clean-target script that removes the
generated variant files.
2012-08-30 07:00:26 -07:00
Eric House
f3b289f4be
fix to take defaults from current dir
2012-08-26 20:18:37 -07:00
Eric House
786e05b1f9
update to install beta 51
2012-08-23 06:51:32 -07:00
Eric House
02fa53cbc7
bring in recent tweak
2012-08-21 08:02:36 -07:00
Eric House
6b23bebd0a
use constants
2012-08-20 21:36:14 -07:00
Eric House
4d51cc8d3a
check for presence of apache mode (which is unavable when running from
...
cmdline)
2012-08-20 07:07:57 -07:00
Eric House
fca1621ad0
use json to do app and all dict queries in one transaction
2012-08-18 07:42:42 -07:00
Eric House
07c6d57233
pass git version and installer name (usually empty) as part of update
...
for more granularity
2012-08-16 21:49:52 -07:00
Eric House
e749aedd34
return url inside a json rather than just a url for more flexibility
...
and so python's error messages don't trigger Notifications that then
fail.
2012-08-15 18:55:54 -07:00
Eric House
6947c50238
pass lang instead of lang code; include app name in notification text
2012-08-15 07:22:10 -07:00
Eric House
dfdaa500a7
return url for app to download when version's old
2012-08-15 06:51:48 -07:00
Eric House
2155631021
improve, including commmandline testability and use of shelve to store
...
md5sums after they're generated.
2012-08-14 18:29:48 -07:00
Eric House
8b6af3fdb9
add md5sum calculator for dicts and use to send POST that checks if
...
they're current.
2012-08-14 07:13:03 -07:00
Eric House
3ef81f248b
start on checking for updates/latest version: a menu item that
...
triggers new code that sends an HTTP POST to a python script on the
server that returns whether the current version is correct.
2012-08-13 21:10:22 -07:00
Eric House
0aadec9380
Uninstall variant based on where called from if unspecified
2012-07-31 06:46:11 -07:00
Eric House
43e8205fd8
only honor one install-set option -- fixes multiple installs.
2012-07-01 16:03:02 -07:00
Eric House
03f4236240
install to everything by default
2012-07-01 12:53:36 -07:00
Eric House
edd02c24ea
derive variant if called from a directory with AndroidManifest in it
2012-05-11 07:32:02 -07:00
Eric House
fff4116d24
add a .css file that makes text readably large
2012-03-31 10:03:14 -07:00
Eric House
d7c77d538d
don't add files whose names end with ~ to .gitignored
2012-03-24 11:50:39 -07:00
Eric House
b4242fe123
use SDK-8 for now, and modify build scripts to set up properties based
...
on SDK listed in AndroidManifest.xml.
2012-03-24 11:29:19 -07:00
Eric House
6a635d1631
Go back to using a built-in list item resource. Mine was
...
white-on-white on several OS versions. Need to test further to try to
reproduce the conditions that had me trying to manage contrast myself.
Or use a dialog-themed Activity for lookup dialog -- prev checkins say
that was too slow but that might be fixable....
2012-03-06 07:41:33 -08:00
Eric House
9d153b500c
don't insist that dgb .apk exist if it't not what's being installed
2012-03-06 07:36:07 -08:00
Eric House
79be6654dc
-p to allow multiple runs
2012-03-05 19:16:03 -08:00
Eric House
319c9da258
add -pre-clean that invokes the jni's 'make clean'
2012-03-05 19:07:49 -08:00
Eric House
542f10a3e5
improvements to work with variants -- though jni still doesn't compile.
2012-03-02 05:49:25 -08:00
Eric House
d2952794af
add variant support
2012-03-01 22:10:41 -08:00
Eric House
933b812d3a
paths within src directory need to change to match class names. Not
...
sure how I thought this was working before.
2012-02-27 19:40:48 -08:00
Eric House
1ea892e88e
add variant option
2012-02-27 19:32:57 -08:00
Eric House
6496736625
take .apk file as optional param
2012-02-27 19:15:53 -08:00
Eric House
ca7a0a5913
fix to work on devices too
2012-02-22 09:49:57 -08:00
Eric House
45f2134ab5
fix variant generation -- seems to work now. JNI was broken.
2012-02-13 23:35:41 -08:00
Eric House
cf9ab45e6f
finish first pass at build variant generation. This works well enough
...
that the app so generated runs in emulator, talks to relay, and does
not crash. Makefile has rules for .java, .xml and .h that run through
sed to xw4 in import statements, package names etc so the variant app
is in a different namespace. Also honors any files in the variant
tree that are actually checked into git should it be necessary to make
changes beyond what sed can manage.
2012-02-13 22:25:27 -08:00
Eric House
8590466229
stop changing directiories/assuing where it'll be run from
2012-02-13 22:15:34 -08:00
Eric House
0f8ddadd69
make work from more than one directory
2012-02-12 21:23:50 -08:00
Eric House
f2b86b2a71
work-in-progress on scripts to generate a second app from the same source tree.
2012-02-12 21:22:36 -08:00
Eric House
49a3f1cad6
git-copied (using checkout) from android_bt
2012-02-07 06:20:51 -08:00
Eric House
ad5b42121b
revert recently-added typo
2012-01-30 18:39:11 -08:00