ehouse
3480df738c
Add ARM support for functions and types required for UUID/PSM lookup.
...
Almost works: if the ARM build is running as host, all's well; but if
it's client, gets btLibL2DiscConnPsmUnsupported after trying to make
an l2c connection.
2007-09-30 17:33:19 +00:00
ehouse
556dbf46e3
move LOG_OFFSET
2007-09-30 17:22:38 +00:00
ehouse
ef31e3688c
fix log_hex to print nibbles in right order.
2007-09-27 02:56:35 +00:00
ehouse
104a173c5d
Publish (master) and look for (slave) SPD record so that we're looking for our app and not just BT when connecting. I hoped this would prevent T650s from crashing when nothing's running. It doesn't, but it's the right way to connect, and will allow better error messages or retry logic. Compiles only on 68K at the moment.
2007-09-15 13:50:07 +00:00
ehouse
cc4aeaee8c
Turn BT back on as default and up version preparing for next release.
2007-09-15 13:47:28 +00:00
ehouse
473d506611
add logging to help catch a recurring assertion
2007-09-15 13:46:59 +00:00
ehouse
40fdec22a2
up version number for dot release.
2007-08-27 12:43:26 +00:00
ehouse
f0b36895d7
If we get keyUp event, override earlier determination that this device doesn't get them. This works around Tungsten double-key bug. Better fix will be to use the right FtrGet constants to set generatesKeyUp.
2007-08-22 02:36:13 +00:00
ehouse
ab6ed444bb
add fnav resource for password dialog, and use it if device has fiveway.
...
Otherwise use FrmSetFocus. This works around a bug where key event that
leaks through from parent dialog dismisses dialog (whereupon another comes
up, and eventually cursor is left flashing on parent.)
2007-06-18 13:21:36 +00:00
ehouse
eeafb5c4f2
reset in/out var before each call to util_askPassword
2007-06-10 14:54:47 +00:00
ehouse
719fc3889c
turn off BT; remove rc designation so can ship
2007-06-09 18:09:21 +00:00
ehouse
c911780c37
fix to build with relay turned on (part 2)
2007-06-08 03:20:09 +00:00
ehouse
a1ebd16a5a
fix to build with relay turned on
2007-06-08 03:15:52 +00:00
ehouse
2f925349a6
Fix so can without BT, and so compiler can be specified to Makefile.
2007-06-02 02:07:45 +00:00
ehouse
edfdda6fd2
Fix so compiles curses-only, and so curses cell can be 2x1 (for square board)
2007-06-01 02:08:04 +00:00
ehouse
f12bf79101
turn on BT; up alpha version number.
2007-05-27 16:59:24 +00:00
ehouse
a527e426d6
Revert version number to rc3 for 4.2.
2007-05-26 22:59:32 +00:00
ehouse
d58789c493
Use a timer to avoid trying to get an ACL connection too frequetly.
...
This seems to trigger crash Treo650s far less often than constantly
retrying.
2007-05-26 22:51:25 +00:00
ehouse
a2f60cb1f8
Makefile for Collins dict
2007-05-26 14:47:46 +00:00
ehouse
dd7a5c8104
type name change only
2007-05-26 14:14:01 +00:00
ehouse
eeebeca542
substitute macro for common sizeof(x)/sizeof(x[0]) pattern; no generated code change
2007-05-26 14:03:07 +00:00
ehouse
45d5bb6260
Hide tray on turn transitions when more than one non-robot local player present in game.
2007-05-20 20:46:29 +00:00
ehouse
aa3d3bc76c
Fix bug where arrow gets placed in wrong cell when tapping on tentative tiles to remove them while board is flipped.
2007-05-18 04:09:10 +00:00
ehouse
f832959480
Up version for ship; build LocalizedStrIncludes.h per-platform;
...
include language in all platform obj directory names
2007-05-13 21:06:42 +00:00
ehouse
8a074126db
Turn of BT for rc2 release
2007-04-28 23:34:44 +00:00
ehouse
934f90efbc
up alpha version number
2007-04-28 22:53:21 +00:00
ehouse
42f8a55220
A few more translations and moving of widgets to accomodate strings
2007-04-27 07:08:09 +00:00
ehouse
96ae1292bf
A couple of additional translations; back out debug-only translations; mark strings that may still need translation.
2007-04-26 01:24:23 +00:00
ehouse
c9e1cab5ee
Make "Cur" string in tile-picker dialog localizable; move buttons in same for French to fit.
2007-04-24 13:34:21 +00:00
ehouse
ee636886a1
Additional French corrections.
2007-04-23 03:24:34 +00:00
ehouse
a1a0f9934a
Call HsNavDrawFocusRing on Treo600, FrmNavDrawFocusRing on later
...
devices. Fixes crasher on devices that don't have the former. Up version.
2007-04-23 03:20:37 +00:00
ehouse
630d9e391b
add no-bt state so there can be no icon when bt's been left off; up
...
version and turn BT on by default for a8 release.
2007-04-16 05:22:49 +00:00
ehouse
0b0143fa92
If BT is off, ask user to turn it on only once. If cancels, warn that
...
it must be turned on, and don't attempt to turn it on again. This
prevents BTLib from repeatedly asking for permission to turn BT on.
2007-04-15 16:46:17 +00:00
ehouse
2bba51f95a
cleanup (no change to generated code): remove old owner_hash code; replace empty formal lists with void.
2007-04-14 16:27:19 +00:00
ehouse
ca7c69bff1
include Makefile.langcommon
2007-04-14 16:03:31 +00:00
ehouse
b1de2cb575
Return null rather than allocing bt storage if unable to open bt library.
2007-04-13 08:47:22 +00:00
ehouse
f141078e1f
More translation tweaks
2007-04-13 08:45:48 +00:00
ehouse
555d8f9a82
include LANG in obj dir name
2007-04-12 01:22:31 +00:00
ehouse
0bc445f2ad
Fix to compile with XWFEATURE_FIVEWAY undefined
2007-04-12 01:19:56 +00:00
ehouse
9b7e0c76a3
Text tweaks from Francis; widget resizings from Eric.
2007-04-12 01:17:33 +00:00
ehouse
0d8545426d
First pass at translation.
2007-04-10 13:23:39 +00:00
ehouse
df1f14b41f
Copy English files preparatory to French localization.
2007-04-10 13:19:04 +00:00
ehouse
13803e2596
When showing cell values, also show tile values if the don't-show tile values preference is set.
2007-04-06 01:41:16 +00:00
ehouse
128d9c56ef
Turn off BT, and up version for first RC release.
2007-04-05 04:19:44 +00:00
ehouse
d1c36681f3
pass -D options to gen_pace.pl
2007-04-05 04:18:42 +00:00
ehouse
959357f0f6
wrap BT APIs in ifdef
2007-04-05 04:18:05 +00:00
ehouse
039a730217
merge changes 1895 and 1899 for allowing ifdefs in funcfile.txt
2007-04-05 04:17:43 +00:00
ehouse
ad4fd26d88
fix bug where arrow replaces tile at edge of board by returning false
...
from figureNextLoc unless an empty space found.
2007-04-03 03:36:14 +00:00
ehouse
539912b8b2
Make gadget and bitmap size match.
2007-03-18 23:58:32 +00:00
ehouse
03433901fc
Closing BT lib from datahandler (since don't want to close on game
...
close in case next game will use); erase BT status icon when not BT
game; plug leak of dict name.
2007-03-18 23:57:30 +00:00
ehouse
dfc2d679e0
Don't call comms_start while opening game. Caller may still consider
...
another game open.
2007-03-18 23:55:58 +00:00
ehouse
0d286632be
palm_dictionary_make makes copy of name if needed. Helps plug memory leak.
2007-03-18 23:49:15 +00:00
ehouse
90d285c593
add consts; remove logging.
2007-03-18 23:48:00 +00:00
ehouse
242e71f04a
What I meant to check in. Need to save first....
2007-03-18 23:38:53 +00:00
ehouse
a4fb5a6d5a
Always send BT reconnet message, even if there are messages to resend.
...
Fixes failure to reconnect when opening a saved BT game where the
other device is waiting and will need to resend.
2007-03-18 23:38:19 +00:00
ehouse
aad182c2e3
turn stringFromStream into macro to aid logging for leak detection. Debug builds only effected.
2007-03-18 23:31:51 +00:00
ehouse
3974ac4639
Fix crash on ARM: don't compare dummy strings.
2007-03-18 14:45:51 +00:00
ehouse
e22a131687
include ability to choose arm or 68K in combined-arch release builds too
2007-03-18 00:05:15 +00:00
ehouse
d9e29674cd
comment out assert that doesn't seem to matter
2007-03-17 17:31:01 +00:00
ehouse
08901ca548
include ability to choose arm or 68K in combined-arch debug builds
2007-03-17 17:30:30 +00:00
ehouse
ecba9df348
Pad prefs struct so ARM and 68K versions are using same addresses
...
(fixes crash opening game in ARM version that was saved in 68K);
2007-03-17 17:29:32 +00:00
ehouse
0fd0692748
better logging: include function name
2007-03-17 15:38:44 +00:00
ehouse
c7b46cffbf
Pad prefs struct so ARM and 68K versions are using same addresses
...
(fixes crash opening game in ARM version that was saved in 68K);
renumber resource IDs so can be logged via a switch.
2007-03-17 15:37:15 +00:00
ehouse
e111c2d89c
Remove excess logging.
2007-03-17 15:35:14 +00:00
ehouse
bf7833c420
Put back code to associate service record with listening socket, but
...
ifdef'd out as it doesn't seem to make any difference.
2007-03-17 15:34:24 +00:00
ehouse
fcb334375a
define XW_PSM in accord with palm guidelines. Doesn't seem to matter...
2007-03-17 15:33:16 +00:00
ehouse
aa4333903f
compare only six bytes of struct ARM pads to 8.
2007-03-15 05:06:56 +00:00
ehouse
19ac39010f
Enable BT; up version number for a3.
2007-03-15 01:21:56 +00:00
ehouse
b72aba3a9a
Don't store procptr stubs in Ftrs across app boots! Fixes device-resetting crash.
2007-03-15 01:20:11 +00:00
ehouse
a0eeafb226
Don't store procptr stubs in Ftrs across app boots! Fixes device-resetting crash.
2007-03-15 01:19:35 +00:00
ehouse
252c07c6ee
Print param lists under 80 columns.
2007-03-15 01:14:15 +00:00
ehouse
97cddf35ff
define constant so tests work on ARM too.
2007-03-09 03:00:44 +00:00
ehouse
c00dad745d
Add APIs needed to compile and use BT APIs. ARM version works now well enough to play games, but often crashes on app exit having done so.
2007-03-09 02:58:57 +00:00
ehouse
3535a2c846
update to die when func not found, and to handle BT APIs
2007-03-09 02:56:02 +00:00
ehouse
5478dbeb43
Add one-bit bluetooth status indicators
2007-02-28 02:32:49 +00:00
ehouse
a0919dcc54
Fix bug: scoreboard doesn't reflect connected state until some other
...
event causes update. Fix by calling turnChangeListener any time turn
changes, including on initial set.
2007-02-27 02:48:51 +00:00
ehouse
971bfc280f
Save and restore focus owner across app restarts (includes working around
...
OS's insistence on sending focusTake event on formOpen); up version numbers; turn off BT prior to beta release.
2007-02-24 03:35:51 +00:00
ehouse
5d867cd81c
Target to build tarball for uploading to byod.
2007-02-20 07:24:18 +00:00
ehouse
8faacfcede
Fix to work with new byod scheme.
2007-02-20 05:49:57 +00:00
ehouse
621e049962
Cleanup for a5 release: always use status icons when building for bluetooth.
2007-02-18 03:33:17 +00:00
ehouse
b2ed436b74
Add support for Russian. So that Russian text can be processed on systems without setting LANG=ru_RU.CP1251, modify dict2dawg to skip duplicates and words outside of specified lengths. Modify all info.txt files for the new scheme (which includes change to byod.cgi not kept on sourceforge.)
2007-02-17 17:06:05 +00:00
ehouse
3b7e680f2c
increment internal tile values by one so strings can be null-terminated
2007-02-14 15:17:00 +00:00
ehouse
f273e93c86
code to use bitmaps instead of letters to show bt conn status.
2007-02-12 08:05:35 +00:00
ehouse
13c425f005
Add bitmaps to replace letters as indicators of bluetooth connnect state. Still to go: lowres equivalents.
2007-02-12 07:54:23 +00:00
ehouse
c0b515457b
Cleanup: compile warning and to make logging easier.
2007-02-08 15:17:23 +00:00
ehouse
b1d4a800c8
Fix nav for tungsten: test for lack rather than presence of keyUp events.
2007-02-08 15:16:46 +00:00
ehouse
a424d54445
Add a one-byte header to BT messages so one device can signal another
...
that a new game's begun without dropping the connection. On Palm,
remove connection-drop on new game. With this change starting a new
game takes imperciptible time, down from 30 seconds.
2007-02-08 02:53:10 +00:00
ehouse
9f23c4b4d9
Replace ints with bools; add rev command; fix bug by reiniting args with each
...
command so they don't hold previous values.
2007-02-07 13:22:40 +00:00
ehouse
ff82dd61c0
Fix linked-list bug in removeFromQueue.
2007-02-07 11:58:01 +00:00
ehouse
a8d3dbda66
Print svn rev number as part of usage()
2007-02-07 11:56:30 +00:00
ehouse
edd1ce9455
up version number for alpha
2007-02-06 05:55:21 +00:00
ehouse
767b9f2908
initialize mutex before using; fixes a hang since could never aquire
...
lock. (This bug has always been there, but didn't matter before;
maybe pthreads changed.) Comment out self-spawning stuff until can
fix df-transfer problems. Other minor changes around logging.
2007-02-06 05:52:22 +00:00
ehouse
3028c9e598
deal with case where guest begins new game but connects to host that's
...
running the old game: the host may reply, but guest must not take that
as evidence of a connection having been established: don't remove sent
messages (this isn't an ACK), and don't assert later on.
2007-02-06 05:49:45 +00:00
ehouse
183f0f716f
enable juggle button after role change
2007-02-06 05:47:20 +00:00
ehouse
f2ae7cb716
close and reopen bt module with every new game to fix, badly, client's
...
failure to connect if it's restarted before host; add event and use to
retry BtLibSocketListen when fails (since failure is usually
temporary).
2007-02-05 04:20:13 +00:00
ehouse
9a61f5c38b
Add assert; don't call comms if has been set to null (fixes device
...
reset); fix failure to install connCB (removes need to manually resend
messages when client starts up first.)
2007-02-04 17:13:01 +00:00
ehouse
363cfdce04
Drop keyUp events not preceeded by keyDowns to catch leaks from
...
dismissed dialogs; don't drop first keyDown on OS4 since the bug that
works around isn't there; turn BT back off by default.
2007-02-04 04:10:11 +00:00
ehouse
5fbc89ae76
add tarball target for exporting enough code to build relay.
2007-02-04 01:22:31 +00:00
ehouse
5afdcc20db
include result of strerror in messages logging errno; turn relay on by default (linux)
2007-02-04 01:22:00 +00:00
ehouse
4c2259400a
include result of strerror in messages logging errno
2007-02-03 21:35:07 +00:00