Andy2
e4aa2ff180
finish changelog
2011-11-07 06:51:27 -08:00
Andy2
995c410b7c
revert unintended checkin: logging should not always be on.
2011-11-07 06:49:55 -08:00
Andy2
ac875894a6
replace assert that occasionally fails with logging. Not sure why it
...
fails, but I just drop the (timer) event in the non-debug case so it's
probably harmless.
2011-11-04 17:19:50 -07:00
Andy2
5123bebe50
don't set dict name to "download more". Just not a good idea.
2011-11-04 17:15:12 -07:00
Andy2
0561ca5ab9
make buttons a bit wider since the bar scrolls now, and rearrange.
2011-11-04 17:14:37 -07:00
Andy2
223d2d6e92
set configchanges on chat activity -- it handles orientations changes fine.
2011-11-04 07:11:34 -07:00
eehouse@eehouse.org
71b09b80ab
Merge remote branch 'origin/android_branch' into android_branch
2011-11-04 07:05:56 -07:00
Andy2
61681745c2
sort languages (groups) in dicts activity alphabetically
2011-11-04 07:03:40 -07:00
Eric House
30387bc528
up version codes
2011-11-03 21:27:43 -07:00
Andy2
948def8223
replace burried launch-dict-browser menuitem with toolbar button and
...
newbie hint.
2011-11-03 18:14:01 -07:00
Andy2
8db6b0bddd
wrap toolbar in a HorizontalScrollView. Comes into action when all
...
buttons are enabled.
2011-11-03 17:24:56 -07:00
Andy2
d19858d6bb
add (buried) menuitem to launch dict browser from game. Required
...
adding method to get current player from BoardView.
2011-11-03 05:51:38 -07:00
Andy2
6e58963231
sign up to handle keyboard/orientation changes for dict browser
2011-11-03 05:32:36 -07:00
Andy2
eace89000b
save text size rather than figure each time
2011-11-03 05:20:38 -07:00
Andy2
a5498ee33a
fix find to return position rather than boolean
2011-11-03 05:20:11 -07:00
Andy2
56fc73e78a
don't go straight from tap on dict word to browser: add bool so that
...
even if there's only one lookup URL it'll be listed and user can
quickly cancel.
2011-11-02 18:48:13 -07:00
Andy2
c222f08252
catch up with API changes.
2011-11-02 18:46:06 -07:00
Andy2
7231bd4be3
make dict entries text size bigger
2011-11-02 05:18:10 -07:00
Andy2
8704acfbf1
launch dict browser from tap on dict rather than contextual menu on it.
2011-11-02 05:06:53 -07:00
Andy2
050a68ce42
use XP_REALLOC now that it's fixes
2011-11-02 05:04:31 -07:00
Andy2
b822f573d6
use getStartsWith() to implement search; add dict name and word count to
...
title; change text of menu item that launches dict browser from
Details to Browse
2011-11-01 18:45:41 -07:00
Andy2
9f2158f094
add dict_getStartsWith to jni
2011-11-01 18:43:36 -07:00
Andy2
482aca5cfb
fix crash due to bad allocation of indexing data space. First cut
...
used XP_REALLOC, but that turns out to be broken, at least on android.
Haven't really used it before...
2011-11-01 18:33:29 -07:00
Andy2
11b7ed1e8e
fix to compile with new dictiter files
2011-10-31 21:11:22 -07:00
Andy2
3c53da46ce
fix to compile with changed API. Crashes, but want to fix up API in
...
other branch before debugging here....
2011-10-31 18:22:33 -07:00
Andy2
7d1e9c7638
Merge branch 'android_branch' into android_browsedict
...
Conflicts:
xwords4/android/XWords4/jni/Android.mk
xwords4/android/XWords4/res/values/strings.xml
xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java
2011-10-28 22:27:22 -07:00
Andy2
8f3c4f6426
add config option to enable face-up tile picking
2011-10-28 22:24:47 -07:00
Andy2
8d228ae190
turn on face-up tile picking for Android (though there's no prefs UI
...
to enable it for a game yet). In common code, break pick tile utils
method in two, one for blank and the other for tray tiles. In java,
implement dialog for picking the tiles. Works, though is a bit clumsy
to have the dialog come and go after every pick. Better would be a
dialog that stays up and accumulates picks -- but it'd have to know to
reduce the set of tile choices as letters are chosen. This'll do for
now.
2011-10-28 22:15:56 -07:00
Andy2
4df13f5617
fix missing dict language
2011-10-28 06:39:47 -07:00
Andy2
b490618c8e
silence warning with cast
2011-10-28 06:34:59 -07:00
Eric House
84044fa9ee
move lookup dialog into superclass so can be used from dict browser.
2011-10-27 21:10:35 -07:00
Eric House
308720186d
get all word-click events and print contents -- setting up for lookup
2011-10-27 18:43:28 -07:00
Eric House
1741021c3c
add search field and button. Not yet wired to do anything.
2011-10-27 18:26:48 -07:00
Eric House
ed055b83c6
export index from jni and use for fastscrolling. Works, but is a bit slow still.
2011-10-27 07:01:57 -07:00
Andy2
92f692510f
outline for fastscroll with thumb. Will need jin support mapping
...
indices <-> first letters, e.g. BB to whatever the index is of the
first word starting with BB.
2011-10-25 19:33:55 -07:00
Andy2
a7ce5a43de
fix so count comes from dict; combine two jni methods into one; fix
...
crash in destructor. Now an entire dict can be scrolled through if
you have the patience.
2011-10-25 18:36:12 -07:00
Andy2
74cf751729
use existing dict iteration APIs to implement jni that adequately
...
displays a dict. But I don't have a getNth in C to implement the one
I've added in java; need to add that, and caching, to speed it up.
2011-10-24 20:15:52 -07:00
Andy2
b08f9770cf
add dictionary browser. For now it just adds items to the list that
...
give the position so I can get a feel for how it works. Will use this
to figure out the right API for a dictionary iterator.
2011-10-23 19:35:15 -07:00
Andy2
c237717de5
dict_getInfo returns false if the dict doesn't parse so can be used to
...
test validity of downloaded dict. Internally (in jni), add lots of
checks that format is correct and we don't run off end of ptr walking
truncated dict.
2011-10-23 14:21:57 -07:00
Andy2
201c32e4db
add support for download directory as a place where we look for dicts
...
and to/from which dicts can be moved. Right now it's just
/sdcard/download. Dunno if that's universal. There seems not to be
API except in newer SDK versions for finding it.
2011-10-20 20:22:36 -07:00
Andy2
4eee7f8aa7
Pass selected tiles into new util function, and from there into java
...
world, so confirming query can include them.
2011-10-19 18:34:26 -07:00
Andy2
d63f6961d4
fix log comment to correctly identify site.
2011-10-18 21:29:59 -07:00
Andy2
90b0a4e46f
if words stream is null, don't pass into java code (where current impl
...
will get a NPE)
2011-10-18 21:28:50 -07:00
Andy2
028c416587
don't disable player listing when game is in play and locked; allow
...
users to see info about players and change dict.
2011-10-18 06:46:46 -07:00
Andy2
71fabdac95
add changelist change
2011-10-18 06:35:26 -07:00
Andy2
214debca47
up strings for beta 37
2011-10-18 06:16:15 -07:00
Andy2
ff82c20b2c
fix brokenness (black-on-black text in lookup dialog) on 2.2 and
...
beyond by copying in layout for built-in list items and hard-coding
white text color. This is risky/fragile but I can't find another fix.
2011-10-17 21:33:11 -07:00
Andy2
dc84cfcb97
cleanup/reformat. No code change.
2011-10-17 20:27:51 -07:00
Andy2
29eec38821
remove unused strings
2011-10-16 17:59:00 -07:00
Andy2
6793742f0f
remove option to list all words played in a single lookup dialog, and
...
supporting code in the jni/common C.
2011-10-14 22:32:30 -07:00