If you have all the McClusky Files and the Boring Binder Clip, and you have autoCraft set to false, you may get into a loop where you keep trying to kill the accountant for a file. Show in browser instead.

git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12637 b29ace70-8910-0410-8dcc-aa2fc6433167
The dense liana is a plant.
For all built-in .js and .css files in KoLmafia's "relay" folder, add a
version number to the filename. When the Browser asks KoLmafia to serve
it one of those files, add Last-Modified and Expires headers so that the
Browser will know that it can cache those files and not ask for them again.


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12638 b29ace70-8910-0410-8dcc-aa2fc6433167
Three of our built-in .js files are modified on the fly and therefore cannot
be cached.


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12639 b29ace70-8910-0410-8dcc-aa2fc6433167
Open trace file correctly even if debug file is already open.
When we fetch images from KoL's image server - either for our own use or 
because the user set relayCacheImages to true - KoL gives us a Last-Modified
header. Set the last modified time of the local file to that date and, 
whenever the browser asks us to serve the local file, set Last-Modified to
the actual last modified date of the file. This will induce the browser
to behave exactly the same regarding our local cached file as it would
behave had it fetched the file from KoL's image server.


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12640 b29ace70-8910-0410-8dcc-aa2fc6433167
When the browser sends If-Modified-Since, actually compare the lastModified
date of the image file to the specified date.


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12641 b29ace70-8910-0410-8dcc-aa2fc6433167
When downloading a .gif file, mke sure it has the appropriate signature.


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12642 b29ace70-8910-0410-8dcc-aa2fc6433167
Only set index on Hidden City and KOLHS non-combat choices when index is valid.

git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12643 b29ace70-8910-0410-8dcc-aa2fc6433167
If fight protector spectre is chosen for non-combat in Ziggurat, but you have insufficient triangles, show in browser rather than infinitely loop.

git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12644 b29ace70-8910-0410-8dcc-aa2fc6433167
Fix "wormride" link when you get worm-riding hooks.


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12645 b29ace70-8910-0410-8dcc-aa2fc6433167
Reset "isCheckingModified" before parsing request from browser


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12646 b29ace70-8910-0410-8dcc-aa2fc6433167
set ChoiceManager.canWalkAway in visitChoice, not preChoice


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12647 b29ace70-8910-0410-8dcc-aa2fc6433167
Follow redirections within the no-argument version of visit_url()


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12648 b29ace70-8910-0410-8dcc-aa2fc6433167
Relay scripts can call visit_url with arguments to visit a different location.
Those get executed as RelayRequests, too, and therefore must follow redirects


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12649 b29ace70-8910-0410-8dcc-aa2fc6433167
Fix for autocreate of McClusky File (complete) when you get boring binder clip after McClusky File page 5 (moved to postChoice2)

git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12650 b29ace70-8910-0410-8dcc-aa2fc6433167
Add check that Trash Can option exists before allowing people who've set it as their option to take to take it, avoiding an infinite loop.

git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12651 b29ace70-8910-0410-8dcc-aa2fc6433167
Handling for Boris Day consumption exceptions, thanks to Theraze. More accurate handling of munchies pills.

git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12652 b29ace70-8910-0410-8dcc-aa2fc6433167
Items made in KOLHS classes are now concoctions


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12653 b29ace70-8910-0410-8dcc-aa2fc6433167
Fix typo in claymore concoction.

git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12654 b29ace70-8910-0410-8dcc-aa2fc6433167
Fix downloading of Pictures of Loathing playerpics


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12655 b29ace70-8910-0410-8dcc-aa2fc6433167
Update the Florist Friar in response to a KoL URL change

git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@12656 b29ace70-8910-0410-8dcc-aa2fc6433167