ehouse
95a93191be
Beginning of rewrite of socket code for communication with relay,
...
replacing dedicated threads for read and write with non-blocking
sockets driven from the main window proc. So far it can do a
round-trip against the relay on win32, and compiles but isn't tested
on wince.
2009-01-31 18:06:09 +00:00
ehouse
50bd5e875b
comment about APIs to use for implementation (probably the last checkin of this file.)
2009-01-31 18:03:06 +00:00
ehouse
1a78d73208
Turn off SMS by default (pending confirming a way to use the apis in unsigned app); add commented-out NO_DRAW option.
2009-01-31 18:02:02 +00:00
ehouse
486cc39822
add obj_ directories from svn status
2009-01-31 17:40:54 +00:00
ehouse
d46152b5f6
if setlocale doesn't work, try again with en_US -- works around
...
problem on my ISP.
2009-01-28 03:32:21 +00:00
ehouse
a61e355b85
update svn:ignore
2009-01-25 20:31:51 +00:00
ehouse
7698393780
cleanup; set locale based on ENV
2009-01-25 20:31:13 +00:00
ehouse
74c5f79338
Set locale based on params passed in, only on ENV if not specified.
2009-01-25 20:13:36 +00:00
ehouse
4661ac8227
Cleanup to run on a machine that's utf8: specify iso-8859-1 when needed.
2009-01-25 18:57:05 +00:00
ehouse
64407edd26
make tarball ready to be dropped into byod
2009-01-25 18:48:29 +00:00
ehouse
dabde3e8fb
update svn:ignore
2009-01-24 17:37:23 +00:00
ehouse
c551f6b372
Need to escape period in grep pattern to get literal dot!
2009-01-22 04:30:35 +00:00
ehouse
ad9bc8b5cc
change default dictionary
2009-01-21 05:36:43 +00:00
ehouse
8043829ece
smartphone-size small bitmaps
2009-01-21 05:25:43 +00:00
ehouse
09cc644a4c
If smallest bitmap is too big, use it anyway at full size.
2009-01-18 19:52:46 +00:00
ehouse
ff89bee6e8
Pick largest possible bitmap; fix inconsistency between cedict's idea
...
of bitmap format and cedraw's: rows are padded to 8-bit boundary, not
necessarily 16-bit.
2009-01-18 18:29:27 +00:00
ehouse
70371d12f5
Make smaller bitmaps 8x8 since that's the smallest size that can be
...
required and StretchBlt to smaller can't work for letters.
2009-01-18 18:25:33 +00:00
ehouse
000f120694
get rid of excess logging (one line)
2009-01-18 18:17:08 +00:00
ehouse
53808a7098
Add __func__ to what's tracked for allocation in debug builds
2009-01-18 16:37:44 +00:00
ehouse
40fcb03441
In tray, when values are hidden draw letters instead of bitmap if
...
they'll fit.
2009-01-17 20:30:49 +00:00
ehouse
ed434c1c67
Scale bitmaps for specials to the size of an M so they look right next
...
to other letters.
2009-01-17 18:49:35 +00:00
ehouse
a21898894c
Include function name in assertion failure message; always print to
...
file before putting up warning.
2009-01-17 18:44:45 +00:00
ehouse
a672de76b9
return TRUE after handling WM_INITDIALOG
2009-01-17 18:41:15 +00:00
ehouse
7201ef2fa8
Tweaks to bitmaps; build for wince by default
2009-01-17 18:39:08 +00:00
ehouse
a24f743856
Don't pass valid bitmaps ptr when drawing blank tile.
2009-01-17 18:24:18 +00:00
ehouse
56039c7438
bug fix: fix reversed width and height params to StretchBlt
2009-01-17 15:45:24 +00:00
ehouse
74c6457f83
add emacs mode line
2009-01-14 13:41:25 +00:00
ehouse
b77f9c437c
Fix size test for bitmap caching
2009-01-14 13:27:56 +00:00
ehouse
088d96f403
Get rid of bogus assert
2009-01-14 13:02:38 +00:00
ehouse
cacf676bfd
Get rid of unused parameter
2009-01-14 13:02:08 +00:00
ehouse
b40d8e3f2d
Don't pass new bitmaps struct to draw code uninitialized
2009-01-14 12:51:55 +00:00
ehouse
f387cd5fa2
Add sms support, largely untested.
2009-01-13 13:33:56 +00:00
ehouse
b45fc82771
Allow language Makefile to specify encoding. Pass to perl and c++
...
dict builders, using it to open files and to determine whether to do
multi-to-wide conversion.
2009-01-13 13:32:07 +00:00
ehouse
2691b00dc9
Add target to build all languages. Stops on Swedish at the moment.
2009-01-13 13:19:15 +00:00
ehouse
dd81444a45
To support Catalan, add Makefile and bitmaps for three special tiles.
...
The first of these, L-high-dot-L, requires Unicode to be properly
drawn, but the current dict format doesn't support it so it'll be L-L
for now. Bitmaps are still rough.
2009-01-13 13:17:58 +00:00
ehouse
140ac0a597
Use new api. Use small for cell and large for tile still, but now
...
create and cache an actual HBITMAP, and prefer it to letters. This is
needed for Catalan where "L-L" will never fit. Still to be done:
prefer letters to bitmap where they'll actually fit (devices where
tiles drawn wider), and position better in tray. May also want to
allow scaling.
2009-01-13 13:11:05 +00:00
ehouse
5b8c6844a5
cleanup: get rid of confusing but harmless *
2009-01-13 13:03:59 +00:00
ehouse
77381a1d5d
Use new draw API but same bitmap as always (large in tile, small in
...
cell.) In cases where bitmap and text provided, prefer bitmap.
2009-01-13 13:02:17 +00:00
ehouse
bf0d27388a
change draw api so all available bitmaps (only 2 in current format)
...
can be passed for tile and cell drawing
2009-01-13 12:57:56 +00:00
ehouse
a719d6fc50
Add type Letter to represent what are Tiles in Crosswords:
...
lang-independent indices into the set of letters in use. Should be no
change in functionality or code generated.
2009-01-07 05:13:45 +00:00
ehouse
0ba80fa89f
Fix compiler warnings. Should be no change in generated code.
2009-01-07 05:03:13 +00:00
ehouse
ddfcfefb7b
Turn on relay by default.
2009-01-07 04:54:23 +00:00
ehouse
4939cf1785
Turn on and enable UI for relay and sms transport. relay doensn't
...
work, at least on win32 where threading code is broken, and former is
completely stubbed out.
2009-01-05 14:13:40 +00:00
ehouse
8a47aa177d
Always use GetForegroundWindow to find parent
2009-01-05 14:06:52 +00:00
ehouse
4fbb1c9662
add controls for sms connecting
2009-01-05 14:05:56 +00:00
ehouse
eddd7fe55b
Cleanup; add sms example to usage()
2009-01-05 02:11:13 +00:00
ehouse
ab8741f8a9
Use the new common/strutils binToSms routines. For now, use glib's
...
too and assert output is the same.
2009-01-05 02:10:27 +00:00
ehouse
47f6ab7da3
Implement, with help from glib base64 source, routines to turn binary
...
into SMS-compatible strings and back. This should ensure that the
format is cross-platform.
2009-01-05 02:08:55 +00:00
ehouse
bf77466ea0
cleanup. SMS, not BT, is the default conType for other than Palm.
2009-01-05 02:07:30 +00:00
ehouse
ad9d0b7ee1
Remove newlines from debug statements.
2009-01-05 01:59:04 +00:00