Eric House
|
96194671e2
|
move menu xml files outside build tree: scripts will generate now
|
2014-04-07 08:00:18 -07:00 |
|
Eric House
|
1bed9e3bec
|
move menu xml files outside build tree: scripts will generate now
|
2014-04-07 07:59:55 -07:00 |
|
Eric House
|
4ce7f923c1
|
revert changes adding loc: to mark localizable strings: will be doing that automatically
|
2014-04-07 07:54:59 -07:00 |
|
Eric House
|
36672395ff
|
store new column, always false for now
|
2014-04-07 07:47:08 -07:00 |
|
Eric House
|
227a25e259
|
add column for tracking xlation source
|
2014-04-07 07:09:43 -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
|
86cc8f6dbf
|
move onCreateOptionsMenu into superclass
|
2014-04-06 16:48:17 -07:00 |
|
Eric House
|
2ae6ecb125
|
get rid of allcaps translation, instead using translations where
available. Works -- but app needs to be restarted for menus to change.
|
2014-04-06 16:08:45 -07:00 |
|
Eric House
|
a351b2a5b9
|
implement search through loc dialog
|
2014-04-06 06:43:48 -07:00 |
|
Eric House
|
7e16d7abc5
|
add getContentView -- since I can never remember how to do it
|
2014-04-06 06:37:51 -07:00 |
|
Eric House
|
6b59093d84
|
use new loc db to save translation data (per locale) across boots.
|
2014-04-05 14:04:02 -07:00 |
|
Eric House
|
47ea2b8b62
|
add loc table to store translation data, mapping key and locale to text
|
2014-04-05 14:00:41 -07:00 |
|
Eric House
|
527685da79
|
preserve translation changes in memory. Next: write to DB.
|
2014-04-05 13:33:12 -07:00 |
|
Eric House
|
7dfa042b77
|
rename style and use it to align table header with columns
|
2014-04-05 12:12:00 -07:00 |
|
Eric House
|
663f4293a9
|
display English text on left side of table
|
2014-04-05 11:45:20 -07:00 |
|
Eric House
|
2494f7b8d4
|
add activity for localizing strings and add menuitem to localizable activities to trigger it. Does nothing yet, including populating itself.
|
2014-04-05 10:27:05 -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
|
409940adae
|
remove localized files. They'll get used somehow but not in this form on this branch.
|
2014-04-04 23:09:22 -07:00 |
|
Eric House
|
073c461693
|
new type of problem: make a string array in ListPreference localizable
|
2014-04-04 08:00:30 -07:00 |
|
Eric House
|
589b740af6
|
include loc: strings from common_rsrc.xml
|
2014-04-04 07:59:16 -07:00 |
|
Eric House
|
2c9dc526c2
|
convert most of GamesList to be localizable
|
2014-04-04 06:50:08 -07:00 |
|
Eric House
|
9531c6939e
|
add getString() variants to LocUtils and use from BoardActivity
|
2014-04-04 06:34:46 -07:00 |
|
Eric House
|
f6b2e5a3c2
|
transform submenus too
|
2014-04-04 06:20:46 -07:00 |
|
Eric House
|
0e7676b301
|
make board menu localizable -- but submenus don't work yet
|
2014-04-03 22:37:13 -07:00 |
|
Eric House
|
a6954a71dc
|
menu title can be null
|
2014-04-03 22:36:47 -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
|
f2bfd36780
|
menus are broken: you don't get access to an AttributeSet when inflating them. So replace string references with strings equal to the name of the id (xxx in R.string.xxx); next I'll need to harvest the strings from R.java and map them to their numbers in a way that's runtime-accessible.
|
2014-04-03 06:21:02 -07:00 |
|
Eric House
|
2afe048095
|
fix formatting
|
2014-04-03 06:19:17 -07:00 |
|
Eric House
|
bd02a10fc3
|
beginnings of framework to allow localized strings to be read from downloaded modules: in xml replace string references with a custom attribute that's the same thing, then in overridden view subclasses pull the reference from the AttributeSet and look it up myself. Works to uppercase all strings in the NewGames dialog.
|
2014-04-02 08:06:51 -07:00 |
|
Eric House
|
eff00c1743
|
use setBackground rather than setBackgroundColor to fix not reverting on 4.4 (and maybe earlier)
|
2014-04-01 06:27:19 -07:00 |
|
Eric House
|
9351eb257b
|
call setPct on new group item if appropriate
|
2014-03-31 07:57:31 -07:00 |
|
Eric House
|
9a55c97793
|
add new style for expander buttons
|
2014-03-31 07:20:19 -07:00 |
|
Eric House
|
3ff60861f7
|
derive GameListGroup from ExpiringLinearLayout
|
2014-03-31 07:14:40 -07:00 |
|
Eric House
|
d896670c21
|
remove unneeded paramter
|
2014-03-31 06:34:35 -07:00 |
|
Eric House
|
256dda85c0
|
don't show resend messages menu when anything's selected
|
2014-03-30 17:15:26 -07:00 |
|
Eric House
|
6f373c6c11
|
drop click event when don't have any games (easier than uninstalling the handler when there are no child games)
|
2014-03-28 22:41:57 -07:00 |
|
Eric House
|
fe14c88685
|
fix so gameless groups are still shown (but don't have an expand button)
|
2014-03-28 22:32:35 -07:00 |
|
Eric House
|
52d2436903
|
snapshot on the way to fixing query that failed to show empty groups
|
2014-03-28 07:46:46 -07:00 |
|
Eric House
|
fe64f89788
|
fix assertion on newer devices by letting the compiler do its job
|
2014-03-28 06:20:28 -07:00 |
|
Eric House
|
fb3b6ff96d
|
expand/contract in response to click anywhere
|
2014-03-27 08:45:12 -07:00 |
|
Eric House
|
3f3e9f5389
|
implement expand/contract of groups. Still skanky, but works.
|
2014-03-27 08:28:34 -07:00 |
|
Eric House
|
64d0e0c867
|
toggle image when clicked
|
2014-03-26 21:12:43 -07:00 |
|
Eric House
|
84698273a5
|
fix selection of group item by adding a delegate all selectable items can call.
|
2014-03-26 21:03:51 -07:00 |
|
Eric House
|
31b65e659d
|
make GamesList list- not expandable-list-based for future compatibility with Fragments. Groups still don't contract since they need arrows. Next...
|
2014-03-26 20:01:55 -07:00 |
|
Eric House
|
0a1449859a
|
add countGames and to group info the count of games in each
|
2014-03-26 19:55:05 -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
|
e70bb33537
|
break ChatActivity up
|
2014-03-25 22:29:20 -07:00 |
|
Eric House
|
558d34bc98
|
break part of BoardActivity out into BoardDelegate (and make a bunch of little changes that required)
|
2014-03-25 21:53:38 -07:00 |
|
Eric House
|
609962df58
|
cleanup
|
2014-03-25 07:21:12 -07:00 |
|
Eric House
|
0430cfbd24
|
break parts of StudyListActivity into StudyListDelegate
|
2014-03-25 07:14:22 -07:00 |
|
Eric House
|
dae0c7208f
|
rename StudyList -> StudyListActivity
|
2014-03-25 06:31:59 -07:00 |
|
Eric House
|
8084e63d09
|
add and use a showDialog() that takes a DlgID
|
2014-03-25 06:26:28 -07:00 |
|
Eric House
|
e0c0ff219f
|
rename onCreateDialog createDialog where it's not an overridden method
|
2014-03-25 06:16:46 -07:00 |
|
Eric House
|
cae30c61e8
|
need onCreateDialog() to get into DlgDelegate; onContentChanged needs to call super()
|
2014-03-25 06:03:25 -07:00 |
|
Eric House
|
1da9d36f3a
|
emacs added missing file-terminating NL
|
2014-03-25 06:02:07 -07:00 |
|
Eric House
|
c988859063
|
get rid of XWExpandableListActivity
|
2014-03-24 22:18:58 -07:00 |
|
Eric House
|
b78514ca6c
|
break parts of DictsActivity into DictsDelegate
|
2014-03-24 21:48:03 -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
|
5ff5074180
|
yet another version of showConfirmThen()
|
2014-03-24 21:08:06 -07:00 |
|
Eric House
|
ef381f1d71
|
hide more files (changes generated)
|
2014-03-24 20:27:19 -07:00 |
|
Eric House
|
c60da510cb
|
add new source file
|
2014-03-24 20:26:56 -07:00 |
|
Eric House
|
9af9e2089b
|
ignore more files in dbg dir
|
2014-03-24 19:54:35 -07:00 |
|
Eric House
|
6256e2a843
|
don't show check-for-updates menuitem unless we can update something: we're not installed from the Play store OR we've installed at least one wordlist.
|
2014-03-24 07:37:44 -07:00 |
|
Eric House
|
b4df0125cc
|
make formatting uniform (no code change)
|
2014-03-24 06:56:21 -07:00 |
|
Eric House
|
57e2dd5492
|
make remote/robot score report dialog non-blocking to fix ugly first-game experience
|
2014-03-24 06:55:13 -07:00 |
|
Eric House
|
a842363be1
|
rename file: Lookup dialog is no longer an Activity
|
2014-03-23 18:53:38 -07:00 |
|
Eric House
|
73a1083dff
|
only show lookup menuitem when there's a single word selected, and include that word in the menu title
|
2014-03-22 10:37:48 -07:00 |
|
Eric House
|
e2cd275459
|
cleanup
|
2014-03-22 10:14:27 -07:00 |
|
Eric House
|
c426741fa1
|
use same counter title for wordlist and studylist browsers
|
2014-03-21 19:54:30 -07:00 |
|
Eric House
|
0b01caf262
|
add missing image, fixing build breakage
|
2014-03-21 19:48:28 -07:00 |
|
Eric House
|
9dab6bc772
|
add studylist menu to lookup selected words -- same as tapping, but maybe easier to discover.
|
2014-03-21 19:42:23 -07:00 |
|
Eric House
|
b776b7cd71
|
try inverting it
|
2014-03-21 19:07:12 -07:00 |
|
Eric House
|
13b64871d5
|
update strings for release
|
2014-03-21 18:57:00 -07:00 |
|
Eric House
|
638f9725e3
|
new versions of placeholders
|
2014-03-20 18:57:15 -07:00 |
|
Eric House
|
2f49f64c4f
|
clear selection in onResume since we're rebuilding list; fixes it being forever out of sync after a wordslist is opened
|
2014-03-20 18:56:56 -07:00 |
|
Eric House
|
c2c81dbbf1
|
use tmp model to find words crossing a point to avoid undoing pending turns
|
2014-03-20 18:52:57 -07:00 |
|
Eric House
|
5d32fce43e
|
don't allocate new Runnable on every draw
|
2014-03-20 05:18:40 -07:00 |
|
Eric House
|
673ab53a61
|
go back to extending XWListAdapter
|
2014-03-20 05:11:52 -07:00 |
|
Eric House
|
3717035150
|
include number to be deleted in comfirm message
|
2014-03-19 22:56:17 -07:00 |
|
Eric House
|
c7818bd364
|
build query a bit more effeciently
|
2014-03-19 22:52:33 -07:00 |
|
Eric House
|
38fe8ec3fd
|
invalidate menubar when might change
|
2014-03-19 22:39:21 -07:00 |
|
Eric House
|
426e939b61
|
hook up onClick to launch lookup
|
2014-03-19 22:25:14 -07:00 |
|
Eric House
|
64a5aab456
|
hook up long click to [de]select
|
2014-03-19 21:36:49 -07:00 |
|
Eric House
|
fd817a98da
|
implement menus, including adding crappy placeholder icons
|
2014-03-19 21:29:20 -07:00 |
|
Eric House
|
aa6fbf8605
|
snapshot on the way to making studylists editable: add checkbox to xwlistitem. It's to be an alterative to long tap to select. Implement selectAll and deselectAll.
|
2014-03-19 20:42:29 -07:00 |
|
Eric House
|
e7708ef439
|
fix NPE when serializing
|
2014-03-19 20:17:53 -07:00 |
|
Eric House
|
c333e561af
|
use a global enum for DlgDelegate actions -- should be no real code change
|
2014-03-18 06:06:21 -07:00 |
|
Eric House
|
12e77e8c47
|
get rid of three Utils.format calls
|
2014-03-17 08:20:43 -07:00 |
|
Eric House
|
a5f0c797bb
|
use one message for deletion of groups, whether one or many
|
2014-03-17 07:45:09 -07:00 |
|
Eric House
|
37b2458140
|
add number being reset to message
|
2014-03-17 06:56:10 -07:00 |
|
Eric House
|
cb5bb00ef0
|
remove LookupActivity
|
2014-03-14 19:21:31 -07:00 |
|
Eric House
|
94a838d88e
|
give lookup alert a title
|
2014-03-14 18:55:06 -07:00 |
|
Eric House
|
be440c8abf
|
try, again, making lookup dialog an alert rather than an activity. It's a much better experience on a nexus 5 but I've lost my records of why I made it an activity in the first place -- what phones it sucked on as an alert. Still probably doesn't bundle itself correctly and is missing a title.
|
2014-03-14 18:41:54 -07:00 |
|
Eric House
|
d4930e157b
|
make method private
|
2014-03-14 07:12:53 -07:00 |
|
Eric House
|
ea189c5717
|
turn study lists on by default
|
2014-03-14 06:45:17 -07:00 |
|
Eric House
|
94d9a03d51
|
add enum to hold all dialogIDs so they're forced to be unique across the app. (The diff's big but there's no behavior change.)
|
2014-03-14 06:37:32 -07:00 |
|
Eric House
|
ad0f882335
|
change port to live server's so recovery can be faster
|
2014-03-12 19:47:14 -07:00 |
|
Eric House
|
5f34fe3317
|
first cut at script to fetch messages for a game
|
2014-03-12 19:45:07 -07:00 |
|