Commit graph

8000 commits

Author SHA1 Message Date
Eric House
5c5ddd5ecd fix delete dicts warning to catch case of nuking all the lists for a
language at once.  To simplify (coding and user experience), don't
bother with case where user will have to switch to another list before
opening a game.  May want to reconsider this.
2014-06-27 08:29:42 -07:00
Eric House
38b37643f4 call mkListAdapter in a couple of places exposed now that it's not called in onResume 2014-06-24 22:04:59 -07:00
Eric House
f2eea61a76 name lang 0 "unknown", and display dicts with langs outside the known range there. 2014-06-24 21:33:44 -07:00
Eric House
d062508929 no need to rebuild list onResume 2014-06-24 21:32:49 -07:00
Eric House
d902c35d33 add note 2014-06-24 08:19:20 -07:00
Eric House
c82ec8b646 use lang name, not code, to build download URL. Fixes download of Experimental lists. 2014-06-24 08:18:42 -07:00
Eric House
40d63be58b too much logging 2014-06-24 08:18:42 -07:00
Eric House
e36f68a1d0 make list item text elements single-line to prevent long-named
wordlists from looking ugly
2014-06-24 08:18:42 -07:00
Eric House
eac5e1dd65 cancel wordlist download/digesting when progress dialog dismissed 2014-06-24 08:18:42 -07:00
Eric House
39809e49aa fix another NPE (though these don't occur on older devices) 2014-06-24 08:18:42 -07:00
Eric House
7e515b19c9 fix NPE in studylist; cleanup duplicated method 2014-06-24 08:18:42 -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
23aa211a75 don't insist on presence of game's dict when deleting game 2014-06-23 08:14:19 -07:00
Eric House
91db8d9cdb track which list items are expanded so when rebuilt (e.g. after
scrolling out of sight) the retain their state.  (Not preserved across
invocations of the activity.)
2014-06-23 08:03:48 -07:00
Eric House
b34f701b1e use comm instead of huge grep loop to filter wordlist 2014-06-23 07:29:05 -07:00
Eric House
0749266ec3 remove padding 2014-06-22 16:05:46 -07:00
Eric House
46fba6204a switch to providing details about remote wordlist via expanding view
rather than a separate alert.
2014-06-22 13:36:25 -07:00
Eric House
91fe1537cb specify orientation (no change, since it's the default) and make
formatting standard.
2014-06-22 12:41:25 -07:00
Eric House
0c1d9661df make downloadable checkbox bigger and easier to hit 2014-06-22 12:00:30 -07:00
Eric House
4f093d13c1 change download checkbox string 2014-06-22 11:59:35 -07:00
Eric House
e3ca40c221 make prompt clearer 2014-06-22 11:15:44 -07:00
Eric House
8783822bdc fix crash after lookup of word when language has only one URL
(e.g. Dutch) by not skipping the LookupAlert dialog in that case.
2014-06-22 11:12:31 -07:00
Eric House
e9608a867e use existing wrapper method rather than calling on activity 2014-06-22 10:40:20 -07:00
Eric House
e1f7c13fc7 print wordlist count as part of group title 2014-06-22 09:42:08 -07:00
Eric House
cf0c864553 rename method 2014-06-20 18:44:47 -07:00
Eric House
509dfb4b4f launch DictsActivity for result, and have it return the last language
and wordlist downloaded. Use that information to update the spinner
that launched it so that choosing "download more" then downloading a
German wordlist causes German to be selected.
2014-06-19 20:42:34 -07:00
Eric House
c31697ea47 tweak DictsDelegate so it works when invoked via "Download more..."
from GameConfig spinners to add langs and dicts within a lang.
2014-06-19 07:57:46 -07:00
Eric House
770679daa0 combine window titles since windows are also combined 2014-06-19 07:53:28 -07:00
Eric House
0c2f85d534 put back missing string for game config dialog (missed from prev commit) 2014-06-18 20:51:24 -07:00
Eric House
5568f00dd8 put back missing string for game config dialog 2014-06-18 20:51:00 -07:00
Eric House
975c37ddae add note to info alert, blank if not present 2014-06-18 20:25:45 -07:00
Eric House
927ba028fb cleanup 2014-06-18 20:24:13 -07:00
Eric House
27972d10e7 new files to ignore 2014-06-18 20:23:58 -07:00
Eric House
2c7128ad30 pull note out of dict header 2014-06-18 20:18:09 -07:00
Eric House
44e2c988ad treat nBytes as a long 2014-06-18 06:51:33 -07:00
Eric House
b6d316134d more tweaks to wordlists: display names of those that can be updated;
click on available list shows info and offers to download; etc.
2014-06-18 06:48:04 -07:00
Eric House
03b0b041fc Fix NPE 2014-06-18 06:48:04 -07:00
Eric House
0fe9949449 log when we don't have lang name 2014-06-18 06:48:04 -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
99db1cef51 snapshot on the way to removing RemoteDicts in favor of DictsActivity
with a "show remote" checkbox at the top.  Works, but incomplete.
2014-06-17 06:42:07 -07:00
Eric House
2fa9b9151c remove firefox warning and unused method 2014-06-13 07:34:15 -07:00
Eric House
26a8bf418f move into superclass 2014-06-12 23:52:20 -07:00
Eric House
9cfacf6667 don't download already-installed dicts 2014-06-12 07:30:13 -07:00
Eric House
3cfd29fb2e update dict to show 'installed' after successful download 2014-06-12 07:18:32 -07:00
Eric House
f375defc0b preserve scroll position across recreation of list adapters 2014-06-12 06:51:17 -07:00
Eric House
ac2c960ef5 fix stupid listadapters, and preserve selection for remotedicts list too 2014-06-11 19:07:05 -07:00
Eric House
6de515e75e use a hashmap to track selected wordlists so selection survives
orientation change (which typically creates new views).  TODO: apply
same trick to remotedicts display.
2014-06-11 08:15:33 -07:00
Eric House
b3823bacb1 label dicts that are installed and that need updating 2014-06-11 07:07:14 -07:00