3c4671f4e5
add 'clean' target
2021-11-29 07:34:04 -06:00
99c682a02e
Assume modern compiler with c++11 support
2021-11-29 07:33:54 -06:00
c92eef0e3e
use modern C++ way of not having a standard method
2021-11-28 21:50:45 -06:00
3efa842d39
use python3
2021-11-28 21:50:22 -06:00
8c97ca616f
update .gitignore
2021-06-10 18:07:50 -05:00
34f3badb08
update README
2021-06-10 18:07:34 -05:00
e6ee6b0c92
finish conversion to python3
2021-06-10 18:03:53 -05:00
a949273847
start python3 porting
2021-06-10 17:47:24 -05:00
Jeff Epler
fe6874f681
this is not ajax mode
2016-05-15 15:17:13 -05:00
Jeff Epler
100c158c57
preload is better than embed, I guess
2016-05-15 15:12:06 -05:00
Jeff Epler
b5321c7ed3
add emscripten target
2016-05-15 14:59:31 -05:00
Jeff Epler
eea9fcd427
#ifdef -> #if defined
2016-05-15 14:33:13 -05:00
Jeff Epler
d1b6714bb3
manpage: document -L
2016-05-15 12:24:13 -05:00
Jeff Epler
026662501a
manpage: fix typo
2016-05-15 12:24:09 -05:00
Jeff Epler
635220aa51
run.cc: Fix handling of single argument
2016-05-15 11:58:56 -05:00
Jeff Epler
85d857a0b0
dictfilt: add coding declaration
...
.. I obviously never tested this after adding the license notice.
2016-05-15 11:58:15 -05:00
Jeff Epler
e558ddb052
move the server
2013-09-23 10:45:45 -05:00
Jeff Epler
dd9189146d
note that jquery is coming from cdn by default
2013-09-21 10:25:30 -05:00
Jeff Epler
2700a6e9f5
a filter to get rid of duplicated words by keeping only the lowercase version
2013-09-21 10:23:53 -05:00
Jeff Epler
f9aabad9ca
add copyright notice
2013-09-21 10:22:50 -05:00
Jeff Epler
471511c478
Improve the web app, particularly for mobile
...
the cheatsheet can now be hidden and will appear above
(instead of to the right) on narrow screens. (no cookies, setting not
remembered)
The viewport is now set to the device's native width instead of the
(possibly unreasonably wide) default
2013-09-21 10:20:39 -05:00
Jeff Epler
b3f161189c
Wanting a word of length-n implies an appropriate < or >
2013-09-21 08:53:05 -05:00
Jeff Epler
e1e7290b59
implement 'just candidates' mode
2013-02-28 21:06:50 -06:00
Jeff Epler
a46a063c88
strip bogus trailing chars from query
2013-02-28 21:06:49 -06:00
Jeff Epler
df35b4acaf
make it work on ie8
2013-02-28 21:06:49 -06:00
Jeff Epler
dc00ce1f5b
make document use standards compliance mode
2013-02-28 21:06:49 -06:00
Jeff Epler
d29a1e61cc
fix android 2.2
2013-02-28 21:06:49 -06:00
Jeff Epler
503f3c7477
improvements to web app
2013-02-28 21:06:49 -06:00
Jeff Epler
565258955e
avoid automatic gzip of text/plain documents
...
.. which prevents streaming the results
2013-02-28 21:06:48 -06:00
Jeff Epler
cd1985d449
let python stream the output
2013-02-28 21:06:48 -06:00
Jeff Epler
7850016ec9
refactor the parser out of the server
2013-02-28 21:06:48 -06:00
Jeff Epler
a620ef02e8
run interatively instead of recursively
...
this has a modest speed penalty (25%) but it will make incremental
rendering possible in the web app
2013-02-28 21:06:20 -06:00
Jeff Epler
b48dcb45da
drop unneeded std:: qualifications
2013-02-25 19:16:16 -06:00
Jeff Epler
5d2d2f6d67
prefer to const qualify when possible
2013-02-25 19:15:52 -06:00
Jeff Epler
b44ed6c86f
Assigning a wordholder is a mistake
...
.. make it a compiler error
2013-02-25 19:15:34 -06:00
Jeff Epler
f463059a0b
Use the new anagram module from python
2013-02-25 14:23:19 -06:00
Jeff Epler
888864e50c
Make a Python module
...
one problem with the current design of the webapp is that each thread
gets its own ana process, each of which uses a few megs of RAM. It may
be that using an ana module is preferable.
One shortcoming, at least initially, is that this design will not
incrementally send the solutions to the user, as it's not implemented
as a generator.
2013-02-25 14:21:46 -06:00
Jeff Epler
b01d11e566
provide a manpage
2013-02-23 11:00:31 -06:00
Jeff Epler
1477eb083f
improve web interface resiliency
...
if the ana process died the fcgi thread never recovered.
try to do better. this all feels a bit ad-hoc, though.
2013-02-23 10:42:58 -06:00
Jeff Epler
2aa320804c
tweak web interface looks
2013-02-23 10:41:56 -06:00
Jeff Epler
7bc9d96a29
limit total searches per query in server mode
...
otherwise some searches can take a lot of time (like searching for
the whole alphabet)
for now this is hardcoded, but maybe it can be configurable in the
future
2013-02-23 10:41:19 -06:00
Jeff Epler
122d3261d6
remove debugging messages
2013-02-19 16:11:49 -06:00
Jeff Epler
3668919f97
ajax instructions
2013-02-19 16:07:06 -06:00
Jeff Epler
1e35311b51
further ajax improvements
2013-02-19 16:05:16 -06:00
Jeff Epler
911c938129
now with ajax
2013-02-19 15:53:41 -06:00
Jeff Epler
fea400528b
Get rid of unneeded std:: qualifications
2013-02-19 14:59:41 -06:00
Jeff Epler
8f30522e23
Dump header into main source file
...
At one point there was a plan for the dictionary builder to be a distinct
program from the anagrammer program, but it didn't happen that way. Get
rid of the unneeded header.
2013-02-19 14:59:34 -06:00
Jeff Epler
51d6e0900d
fix result limiting in server
2013-02-19 14:32:27 -06:00
Jeff Epler
7c4e0d1d6e
it's live
2013-02-19 14:23:33 -06:00
Jeff Epler
0eab5c93a9
markdown fixes
2013-02-19 14:22:39 -06:00