ehouse
57baefaf5f
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
9f7d69aec6
Turn BT back on as default and up version preparing for next release.
2007-09-15 13:47:28 +00:00
ehouse
25ae118c4f
up version number for dot release.
2007-08-27 12:43:26 +00:00
ehouse
28dc5c7d38
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
47c3b0f7bd
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
d49a49570b
turn off BT; remove rc designation so can ship
2007-06-09 18:09:21 +00:00
ehouse
1e1f14af29
fix to build with relay turned on (part 2)
2007-06-08 03:20:09 +00:00
ehouse
02f7fdc85e
fix to build with relay turned on
2007-06-08 03:15:52 +00:00
ehouse
6a6261c8de
turn on BT; up alpha version number.
2007-05-27 16:59:24 +00:00
ehouse
0b792a069a
Revert version number to rc3 for 4.2.
2007-05-26 22:59:32 +00:00
ehouse
a79d36a150
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
5878ea6018
type name change only
2007-05-26 14:14:01 +00:00
ehouse
e891a26756
substitute macro for common sizeof(x)/sizeof(x[0]) pattern; no generated code change
2007-05-26 14:03:07 +00:00
ehouse
41b81f463e
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
b78dfc9d61
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
61813278be
Turn of BT for rc2 release
2007-04-28 23:34:44 +00:00
ehouse
4396f8e922
up alpha version number
2007-04-28 22:53:21 +00:00
ehouse
60c1127d66
A few more translations and moving of widgets to accomodate strings
2007-04-27 07:08:09 +00:00
ehouse
acf5554bb3
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
4ea3e72524
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
9037af3de3
Additional French corrections.
2007-04-23 03:24:34 +00:00
ehouse
019d701bf7
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
a0ec3417c2
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
9a86b69527
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
2f52acd5e6
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
0423ef6152
Return null rather than allocing bt storage if unable to open bt library.
2007-04-13 08:47:22 +00:00
ehouse
2f512aa3ff
More translation tweaks
2007-04-13 08:45:48 +00:00
ehouse
d98f02c79e
include LANG in obj dir name
2007-04-12 01:22:31 +00:00
ehouse
54e0ab64d1
Fix to compile with XWFEATURE_FIVEWAY undefined
2007-04-12 01:19:56 +00:00
ehouse
daefd456a3
Text tweaks from Francis; widget resizings from Eric.
2007-04-12 01:17:33 +00:00
ehouse
033318ee6d
First pass at translation.
2007-04-10 13:23:39 +00:00
ehouse
5906443f63
Copy English files preparatory to French localization.
2007-04-10 13:19:04 +00:00
ehouse
4f15c634d3
Turn off BT, and up version for first RC release.
2007-04-05 04:19:44 +00:00
ehouse
500b0fe0e8
pass -D options to gen_pace.pl
2007-04-05 04:18:42 +00:00
ehouse
781add0b35
wrap BT APIs in ifdef
2007-04-05 04:18:05 +00:00
ehouse
5204fd4c23
merge changes 1895 and 1899 for allowing ifdefs in funcfile.txt
2007-04-05 04:17:43 +00:00
ehouse
704e60ef4c
Make gadget and bitmap size match.
2007-03-18 23:58:32 +00:00
ehouse
b965654db3
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
6f7db1a202
palm_dictionary_make makes copy of name if needed. Helps plug memory leak.
2007-03-18 23:49:15 +00:00
ehouse
2bb3c946d9
add consts; remove logging.
2007-03-18 23:48:00 +00:00
ehouse
6dc75914a6
turn stringFromStream into macro to aid logging for leak detection. Debug builds only effected.
2007-03-18 23:31:51 +00:00
ehouse
1ad222c409
Fix crash on ARM: don't compare dummy strings.
2007-03-18 14:45:51 +00:00
ehouse
968a58785d
include ability to choose arm or 68K in combined-arch release builds too
2007-03-18 00:05:15 +00:00
ehouse
5334876568
comment out assert that doesn't seem to matter
2007-03-17 17:31:01 +00:00
ehouse
c72ef78f60
include ability to choose arm or 68K in combined-arch debug builds
2007-03-17 17:30:30 +00:00
ehouse
233fb2ef40
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
7997258163
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
9e345c317f
Remove excess logging.
2007-03-17 15:35:14 +00:00
ehouse
66d8a99bb1
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
3cf22d6302
compare only six bytes of struct ARM pads to 8.
2007-03-15 05:06:56 +00:00
ehouse
eddc046e79
Enable BT; up version number for a3.
2007-03-15 01:21:56 +00:00
ehouse
b9068c10c1
Don't store procptr stubs in Ftrs across app boots! Fixes device-resetting crash.
2007-03-15 01:20:11 +00:00
ehouse
c1c96ed807
Don't store procptr stubs in Ftrs across app boots! Fixes device-resetting crash.
2007-03-15 01:19:35 +00:00
ehouse
a66f290b5e
Print param lists under 80 columns.
2007-03-15 01:14:15 +00:00
ehouse
ca849ea934
define constant so tests work on ARM too.
2007-03-09 03:00:44 +00:00
ehouse
71693ea0f7
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
9963c9de2e
update to die when func not found, and to handle BT APIs
2007-03-09 02:56:02 +00:00
ehouse
13a517d477
Add one-bit bluetooth status indicators
2007-02-28 02:32:49 +00:00
ehouse
033df9c5af
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
2b35dd68c7
Cleanup for a5 release: always use status icons when building for bluetooth.
2007-02-18 03:33:17 +00:00
ehouse
dc204c9aba
code to use bitmaps instead of letters to show bt conn status.
2007-02-12 08:05:35 +00:00
ehouse
e53f483d27
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
2d696b1e6c
Fix nav for tungsten: test for lack rather than presence of keyUp events.
2007-02-08 15:16:46 +00:00
ehouse
51f726ddcf
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
cd397813c8
up version number for alpha
2007-02-06 05:55:21 +00:00
ehouse
129f551737
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
6af89b4182
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
aac30fffea
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
49d0d2b8f8
Turn on BT so 4.3a4 can have a non-M rev number; up version for 4.2.
2007-02-03 20:36:22 +00:00
ehouse
2fe75a19a2
add const to a bunch of char* decls in APIs and variables; no code change
2007-02-03 17:54:20 +00:00
ehouse
3b80f718c9
eType_2str replaces logEvent. Only effects debug builds.
2007-02-03 17:41:46 +00:00
ehouse
b6284511b8
don't set INITIALOBJECTID for main form
2007-02-03 17:39:48 +00:00
ehouse
c57a6a976e
Fix Zodiac-only bug: printing keys generate only keyDown event, so
...
must use different handler than for nav keys; fix treo bug where forms
brought up during key handling get spurious key events by adding
keySafeCustomAlert that consumes up to the first keyDown before
calling FrmCustomAlert.
2007-02-03 17:36:56 +00:00
ehouse
916ea4abc2
name change only: Connectedness becomes DeviceRole
2007-02-02 08:34:37 +00:00
ehouse
e8f5f4159f
Don't make any btlib calls until the main form is up. This works
...
around an (OS?) bug where, apparently, the confirm-turn-on-bt dialog
eats pending events, including frmLoadEvent, so that the form never
loads or is very broken if that dialog is allowed to come up too
early.
2007-02-02 08:24:06 +00:00
ehouse
06b22752c1
debugging: add custom events to logEvent
2007-02-02 08:11:42 +00:00
ehouse
839cc6d5dc
Remove excess logging
2007-01-27 15:12:13 +00:00
ehouse
20ea6b3949
Work around what looks like a PalmOS bug that generates a spurious
...
keyDown event to a form put up while processing a keyUp event in the
main form: set a flag while handling key events, and drop the first
keyDown in child forms when it's set.
2007-01-27 15:10:10 +00:00
ehouse
acb7f0c261
Test and special-case for zodiac, which gets events in the same way
...
has Treo but doesn't have OS support for moving focus among objects.
And since zodiac doesn't support the std Palm hires APIs don't try to
use them. Up version string to b4.
2007-01-21 23:27:46 +00:00
ehouse
17993fea06
Tweak scroll-of-focussed-board inval code so we don't inval the whole
...
board, which looks crappy. Instead inval only what was previously a
border row, and pass a new param to draw_vertScrollBoard so the
platform can choose not to scroll cells that will just get overwritten
with different bits.
2007-01-21 22:59:29 +00:00
ehouse
ddeac54995
Fix drawing highlighted cells on perimeter.
2007-01-20 04:30:02 +00:00
ehouse
e3f57647dd
use new perimeter feature and conditionally replace manual board
...
framing with it. Off for now.
2007-01-19 08:22:14 +00:00
ehouse
e10f6d2163
add five-way support for Tungstens; don't move cursor when keys are
...
meant for menu; redraw after hiding miniwindow when OS brings up
dialog;
2007-01-18 05:49:54 +00:00
ehouse
d22f65b78b
remove code to save bits behind miniwindow
2007-01-18 05:49:07 +00:00
ehouse
df2807e422
run svnversion on parent to catch changes in common or other shared dirs
2007-01-16 02:48:27 +00:00
ehouse
a056dad08c
keep track of last key down so can fake key up event when palm won't
...
be giving us one, e.g. when holding key results in a system window
coming up;
2007-01-12 03:34:43 +00:00
ehouse
f3feef27f7
fix problems created by key-nav changes: don't drop hardware scroll
...
keys, and redraw after key-repeat if either up or down handled.
2007-01-07 05:25:28 +00:00
ehouse
f8c772162b
up version to b3
2007-01-07 05:23:06 +00:00
ehouse
0a4f1d3f7b
add board_handleKeyRepeat, and call it from palm and gtk. This lets a
...
held nav key walk the cursor across the board.
2007-01-07 04:32:29 +00:00
ehouse
c423f04d0d
Don't show about dialog (with its alpha message) except when BT enabled.
2007-01-06 18:31:16 +00:00
ehouse
c5fc1acb3a
handle both keyUp and keyDown events, including dealing with devices
...
that don't generate the former. Break key-handling code into separate
function.
2007-01-06 17:50:43 +00:00
ehouse
c645534b83
Fix so IR-only multi-device build works again.
2007-01-06 16:46:45 +00:00
ehouse
bb0c8fbf75
2007 copyright in about box
2007-01-06 16:45:39 +00:00
ehouse
ac14760070
beta 2; redraw focus ring after redrawing tray buttons; move board
...
focus border so it coincides with regular border.
2006-12-21 07:55:19 +00:00
ehouse
bfda12516f
incorporate svn version number in .prc file name
2006-12-20 04:57:36 +00:00
ehouse
b551142f5f
When palm button loses focus to board obj, post event to be handled
...
after focus event, and on handling it inval rect of focus ring on
button. This fixes drawing glitch where palm remembers pixels behind
focus ring but they're not right.
2006-12-20 04:49:24 +00:00
ehouse
bcf80fcdc9
place initial focus on scoreboard since OS insists on putting it somewhere. Need to fix that.
2006-12-20 04:16:22 +00:00
ehouse
4ac7cf2902
fix for non-BT compile
2006-12-20 04:15:40 +00:00
ehouse
c8259f8eeb
prevent tray buttons overwriting tray by removing border and moving same distance to right
2006-12-20 04:14:41 +00:00
ehouse
f50807d0a9
add new file palmdbg.c
2006-12-20 04:13:30 +00:00