Commit graph

186 commits

Author SHA1 Message Date
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