ehouse
d03ef80b3e
What I mean to check in...
2006-09-17 05:04:32 +00:00
ehouse
65a82b1c3b
Punt on problem of svn version in about box changing: comment in
...
makefile, and make it the last string.
2006-09-17 05:03:59 +00:00
ehouse
4bdef12c3e
Prune excessive logging
2006-09-17 04:45:19 +00:00
ehouse
6cf4d50ee4
fix ARM build so DEBUG setting is passed to compiler, and code so it
...
compiles that way.
2006-09-16 22:09:28 +00:00
ehouse
31532c06ca
pass debug -D options to .rcp files to to include debug menus
2006-09-16 16:08:33 +00:00
ehouse
0f271d707f
revert change 1593: FEATURE_HIGHRES is no longer defined. This brings
...
highres icons back.
2006-09-16 15:53:14 +00:00
ehouse
8f5bdf1163
strutils macro change
2006-09-15 07:43:21 +00:00
ehouse
63afad6482
strutils macro change; tweak so compiles non-DEBUG and without Bluetooth
2006-09-15 07:42:10 +00:00
ehouse
4e60a477e4
Names change only: it's actions, not events, that are postponed.
2006-09-14 01:57:40 +00:00
ehouse
6e143e0b87
Remove dead code
2006-09-14 01:48:22 +00:00
ehouse
3645481a53
New addr param to checkAndDeliver so address can be passed back to
...
comms; Add debug-only menus to toggle logging to file and memopad.
2006-09-14 01:46:41 +00:00
ehouse
07f21767fc
New addr param to checkAndDeliver so address can be passed back to
...
comms.
2006-09-14 01:41:37 +00:00
ehouse
3866d898f4
Better handling of disconnect and reconnect; esp. slave will keep
...
trying to connect after losing contact with server. With this
checkin, a game between palm and linux can be interrupted by either or
both and restarted, with either in either role. Haven't tested
palm-on-palm yet. App stop speed is much better now too.
2006-09-14 01:38:09 +00:00
ehouse
4b953e8891
Add debug-only menus to toggle logging to file and memopad
2006-09-14 01:34:22 +00:00
ehouse
7cf02f322e
Don't typedef array; make array field of struct.
2006-09-14 01:31:13 +00:00
ehouse
7d1d4d23c4
tweaks to re/connect logic; process incoming data from main event loop
...
and enqueue more than one at a time; wipe existing queue when reinited.
2006-09-10 18:34:57 +00:00
ehouse
c4b0f350e1
Lots of changes aimed at allowing to quit and restart in the middle of
...
a BT game: track states so can shutdown cleanly; transition from
master to slave; mechanism to defer work from callbacks to the main
loop. Can now quit and restart as guest against host on linux. Have
not tested between two Treos.
2006-09-08 07:06:21 +00:00
ehouse
148e711e54
init address field with current bt_adddr
2006-09-08 07:02:16 +00:00
ehouse
96dd01cbe5
cleanup: add missing consts.
2006-09-08 06:43:59 +00:00
ehouse
22f4edfd89
add ability to log to non-Memo db (to be read off device).
2006-09-08 06:39:35 +00:00
ehouse
5d043e349e
add __FUNCTION__ to assert macro
2006-09-01 04:39:56 +00:00
ehouse
9aa0e41eed
hardcode psm (for now), and remove spd lookup stuff. Was needed to
...
connect to linux server which doesn't add spd records yet.
2006-08-29 13:23:00 +00:00
ehouse
74c6b241d7
Put up BT device browser while user is picking connection method
...
rather than when trying to send for first time, then pass address
through from conns dialog to bt code.
2006-08-26 21:12:10 +00:00
ehouse
0c915e61b0
First shot at bluetooth support (turned off in Makefile by default).
...
A full robot vs. robot game now works between two Treos. Added UI to
choose BT as transport mechanism, and added new send proc to establish
socket connection between host and guest. Works only for two devices:
no piconet yet. No error recovery, ability to quit game in middle,
start new game, etc.
2006-08-23 04:44:55 +00:00
ehouse
1e8966c6f7
Fix compile errors due to missing UNUSED macros
2006-08-17 01:31:49 +00:00
ehouse
4daabf6fe5
Set -Wunused-parameter for those versions of gcc that support it, and
...
deal with the output by removing params where possible and elsewhere
by adding XP_UNUSED macro wrapping __attribute__((unused)). There
should be NO change in function in spite of the large number of files.
2006-08-16 13:44:44 +00:00
ehouse
d493502714
tweak button location
2006-07-28 08:04:00 +00:00
ehouse
8903c2ad3f
fix change between Local players/Total players when device role changes in newgame dlg
2006-07-28 08:03:33 +00:00
ehouse
e4493c2255
better compile-command in header
2006-07-28 07:53:18 +00:00
ehouse
8c7624fe7d
cleanup: remove overly verbose logging
2006-07-28 07:51:49 +00:00
ehouse
58bb0734b8
round up when determining top coord of letter in cell. Fixes "Q"
...
getting drawn higher than other ascii chars, and does not break even
taller chars in Danish or Portuguese.
2006-07-04 00:16:08 +00:00
ehouse
63a948cbd4
Exclude high-res bitmaps from lowres build
2006-07-03 23:45:18 +00:00
ehouse
a1fcd56d55
on low-res screens, don't expand timer's clip rect to avoid erasing cell border below.
2006-07-03 23:44:51 +00:00
ehouse
dfb8104eb8
ppm files no longer used. Remove.
2006-07-03 23:06:25 +00:00
ehouse
e0072c9b87
UI compromise on juggle: force something to happen, so the user sees a
...
change, then juggle again so the outcome is random. This works on Palm
because draws are not cached: if two players wind up not moving you still
see them move then move back.
2006-07-01 14:18:00 +00:00
ehouse
504f9641ea
remove parameter following API change
2006-06-28 03:11:26 +00:00
ehouse
a08dc22023
Use new xplatform newgame logic to replace palm's in newgame.c, and make other
...
changes (shifting util functions around) that follow from that. Back
version number down to 4.1.5 since that'll be the next shipped from this
branch. Add juggle button to newgame -- the whole point of this.
2006-06-22 04:57:46 +00:00
ehouse
037bce2196
Use new xplatform newgame logic to replace palm's in newgame.c, and make other
...
changes (shifting util functions around) that follow from that. Back
version number down to 4.1.5 since that'll be the next shipped from this
branch. Add juggle button to newgame -- the whole point of this.
2006-06-22 04:57:08 +00:00
ehouse
cdc74b668a
turn off advanced networking by default for push to release
2006-06-22 04:52:33 +00:00
ehouse
19414ae505
Finish scrollbar work by passing number of visible rows to
...
util_trayHiddenChange, which means an API change. In board, calculate
bottom of board based on bottom of tray when tray is hidden, and round
so that it's an exact multiple of cell height. In wince, take
advantage of the new parameter to fix the scrollbar so that very
constrained boards can be scrolled even when the tray is hidden.
2006-05-19 13:44:05 +00:00
ehouse
fd5355b627
Include output of svnversion in Palm version's About dialog. For
...
Catalan and Spanish as well as English. There's also some character
conversion in the former two that may be linked to my local LANG
setting now being en_US.utf8. May need to revisit if there are
problems.
2006-05-15 04:24:30 +00:00
ehouse
36993ba258
catch up with API change
2006-05-09 04:05:19 +00:00
ehouse
3a4c5dfff6
catch up with API change
2006-05-09 04:04:56 +00:00
ehouse
08e8c4a858
Get rid of TALL_FONT macro, since it's permanently on anyway.
2006-04-01 21:25:58 +00:00
ehouse
3388fc9f7b
Remove HIGHRES compile-time tests: all palm releases will have HIGHRES
...
support now; build in different directories.
2006-03-31 10:57:01 +00:00
ehouse
300c29be35
add a couple of missing icon images
2006-03-18 03:34:15 +00:00
ehouse
90412fe9d4
bring in transparant small icon change from 4.1 branch
2006-02-26 23:56:06 +00:00
ehouse
eb2a4d513e
up alpha version
2006-02-26 23:53:55 +00:00
ehouse
fb0d471dae
add const decls to draw.h and dictnry.h functions where appropriate,
...
and modify "subclass" methods to match. Should be no code change, but
this makes the intent of the APIs clearer.
2006-02-18 06:39:40 +00:00
ehouse
dde823a5ca
update help target
2006-02-18 06:37:01 +00:00
ehouse
b03db750b5
merge transparant large-icon from 411-branch
2006-01-22 17:50:47 +00:00
ehouse
301d854c25
don't show "loading ARM" except on debug versions. It's fast enough now.
2006-01-21 19:16:39 +00:00
ehouse
95eaac50dd
tell folks where to get dictionaries.
2006-01-21 19:12:37 +00:00
ehouse
146a4f1d4d
-Os instead of -O2
2006-01-16 06:08:16 +00:00
ehouse
834a5e0411
make default build arm_only, and don't require multilink to build the
...
68k stub.
2006-01-16 06:07:33 +00:00
ehouse
4e49a4c008
don't use arm-palmos* tools if arm-elf* tools available. Current
...
version on debian testing builds bad code.
2006-01-08 22:19:24 +00:00
ehouse
92485783af
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
57ccb08528
fix for when BEYOND_IR not defined
2005-09-17 19:49:53 +00:00
ehouse
7803fead80
use comms_setAddr rather than modifying const to set resolved address.
2005-09-04 20:34:52 +00:00
ehouse
75b8f5342a
add error messages
2005-09-04 20:34:16 +00:00
ehouse
6d0b23a8e8
TALL_FONTS (support for Danish tall letters) now on by default
2005-09-04 20:32:16 +00:00
ehouse
c0bdfb54c9
constant name changed
2005-08-21 14:18:56 +00:00
ehouse
ae91d38e45
Clean up and fix timer code.
2005-08-03 01:14:49 +00:00
ehouse
1b40b1956e
add const to match new signature
2005-07-30 02:44:42 +00:00
ehouse
bc3515272c
Get rid of unused param
2005-07-14 02:54:47 +00:00
ehouse
84ec7e38f2
Get rid of WinCopyRect-based method of drawing letters and values in
...
tray tiles, since it seems not to work on all versions of PalmOS.
Simply drawing seems fine where tested; will try close clipping if
erasure happens elsewhere. Draw board-top stuff one pixel higher on
highres devices, and fix scoreboard being too narrow on high-res
devices.
2005-07-14 02:45:10 +00:00
ehouse
e1d3eeaf2a
don't use %c on ARM. Crashes due to my bad StrPrintF implementation.
2005-07-08 08:30:42 +00:00
ehouse
e537e29e87
new functions for measuring glyphs
2005-07-08 08:29:37 +00:00
ehouse
a16505727a
Moving glyph-measuring code to drawing; fix for highres case.
2005-07-08 03:14:43 +00:00
ehouse
d3249d93ae
Moving glyph-measuring code to drawing
2005-07-08 03:10:21 +00:00
ehouse
58728ae00d
remove glyph-measuring API just added (since it belongs in drawing,
...
not dict)
2005-07-08 03:08:16 +00:00
ehouse
9e76871306
(conditionally) modify dicts to support getting height of platform
...
glyphs, pass into drawing code so can be fetched and cached, and
implement for Palm. This is to allow drawing glyphs (like Danish's
A-with-circle) that are taller than normal without the visual padding
the rest can have. So far works for 68K/non-highres. Will not
compile for ARM yet.
2005-07-07 03:46:07 +00:00
ehouse
4701ee8c34
update copyright year in about box
2005-06-27 06:05:14 +00:00
ehouse
978d840df7
put back functions that never should have been removed.
2005-06-27 05:45:28 +00:00
ehouse
e92234b324
cleanup: make module-local functions static
2005-06-25 05:43:56 +00:00
ehouse
8faf6a670c
add default compile command
2005-06-25 05:43:04 +00:00
ehouse
e6b5d2d0e4
version to 4.2x
2005-06-23 04:23:06 +00:00
ehouse
fa945f74aa
handle heartbeat timer and change to util_setTimer
2005-06-23 04:22:46 +00:00
ehouse
684697216d
fix timer not getting drawn on highres screens; handle heartbeat timer
...
and change to util_setTimer
2005-06-23 04:22:27 +00:00
ehouse
3ab25c843b
fix timer not getting drawn on highres screens
2005-06-23 04:21:35 +00:00
ehouse
5385c9f7dc
BEYOND_IR now the default
2005-06-23 04:20:46 +00:00
ehouse
37dd97edf6
add NetLibGetHostByName
2005-05-01 18:23:28 +00:00
ehouse
af10fa0425
modify TARGET .prc name based on ARCH
2005-05-01 17:39:09 +00:00
ehouse
aef5cc3fc9
NetLibGetHostByName
2005-05-01 17:36:33 +00:00
ehouse
c56d76d743
add types for netlib funcs
2005-05-01 17:34:39 +00:00
ehouse
b1b9e96142
enable network-aware PNO build
2005-05-01 17:19:50 +00:00
ehouse
62b994e32e
track whether running on POSE to work around NetLibSelect bug; track
...
whether addr needs re-resolving.
2005-04-03 16:55:38 +00:00
ehouse
b485deb357
add palm_util_addrChange; track whether running on POSE to work around
...
NetLibSelect bug.
2005-04-03 16:54:54 +00:00
ehouse
84cdcc8d30
remove unneeded param
2005-04-03 16:53:32 +00:00
ehouse
f5320a46bd
deal with address change, esp of hostname, and separate name
...
resolution from socket opening.
2005-04-03 16:52:51 +00:00
ehouse
45621dffdb
turn off linger on new sockets; use long enough timeout on name
...
resolution that can succeed on device.
2005-04-03 06:24:55 +00:00
ehouse
abc866af74
needn't open netlib from here!
2005-04-03 02:47:46 +00:00
ehouse
930b320011
first checked in. Works, but error recovery not done yet.
2005-04-03 02:46:31 +00:00
ehouse
3add8ccbf4
move generic send/receive stuff from palmir.c; tweak data structures
...
for relay scheme.
2005-04-03 02:00:44 +00:00
ehouse
8af072f8d9
move generic send/receive stuff from palmir.c.
2005-04-03 01:59:57 +00:00
ehouse
656bcac3aa
modify ip-params dialog for new relay-based scheme, using new struct
...
fields and dialog objects.
2005-04-03 01:58:02 +00:00
ehouse
b6d3ad8a07
add XP_LD
2005-04-03 01:53:07 +00:00
ehouse
0839ce0337
remove ip-related stuff to new files
2005-04-03 01:47:34 +00:00
ehouse
b56b4f7b37
add palmip.c; change how upload works
2005-04-03 01:39:08 +00:00
ehouse
38bd3d4528
correct spelling
2005-03-15 06:27:21 +00:00