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
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
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
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
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
621e049962
Cleanup for a5 release: always use status icons when building for bluetooth.
2007-02-18 03:33:17 +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
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
edd1ce9455
up version number for alpha
2007-02-06 05:55:21 +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
e8f2215221
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
7c8b7294cd
add const to a bunch of char* decls in APIs and variables; no code change
2007-02-03 17:54:20 +00:00
ehouse
e6ec790305
eType_2str replaces logEvent. Only effects debug builds.
2007-02-03 17:41:46 +00:00
ehouse
1fb61d9a7f
don't set INITIALOBJECTID for main form
2007-02-03 17:39:48 +00:00
ehouse
83a25455bb
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
3f111c5657
name change only: Connectedness becomes DeviceRole
2007-02-02 08:34:37 +00:00
ehouse
b2f3e73672
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
c2d67e16da
debugging: add custom events to logEvent
2007-02-02 08:11:42 +00:00
ehouse
aaeb58e993
Remove excess logging
2007-01-27 15:12:13 +00:00
ehouse
9d74699181
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
0313a89553
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
a998e96de9
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
45ad5bc5df
Fix drawing highlighted cells on perimeter.
2007-01-20 04:30:02 +00:00
ehouse
2fabf70396
use new perimeter feature and conditionally replace manual board
...
framing with it. Off for now.
2007-01-19 08:22:14 +00:00
ehouse
68730379b4
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
d350151659
remove code to save bits behind miniwindow
2007-01-18 05:49:07 +00:00
ehouse
5decd9bbf3
run svnversion on parent to catch changes in common or other shared dirs
2007-01-16 02:48:27 +00:00
ehouse
5a87db48bd
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
fef8891e3c
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
cf0f88cf36
up version to b3
2007-01-07 05:23:06 +00:00