assfish

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2016-02-06
22:51
[e9b2fa1a4d] Leaf: merge cwd_stack old old partial work into trunk. why not. It is almost a year old. (user: tircnf tags: trunk)
22:45
[0105241967] useless comments. (user: tircnf tags: trunk)
22:44
[a32a81309f] clean up tests a tiny bit. the unit tests were not cleaning up their test interps. some random comments. (user: tircnf tags: trunk)
2014-03-28
15:20
[651a92b929] Leaf: comments and minor logs. from work computer (user: mburns tags: cwd_stack)
15:18
[abf920dcb0] add autopath to be based off of this file. (user: mburns tags: cwd_stack)
2014-03-01
04:04
[8c08820f34] got the test running, and tools/run_file runninng. But it is UGLY. This domain stuff needs a major rework. (user: mburns tags: cwd_stack)
2014-02-28
16:43
[8b69238699] found an issue with includes. added a test that is failing because of the include problem (user: mburns tags: cwd_stack)
2013-12-21
17:57
[13b33758e0] First pass at making include commands work with a relative path. Just live everything else, it's confusing. Need to keep a stack of directory paths for call to include. WIP (user: mburns tags: cwd_stack)
17:22
[054426a83e] remove some old commented cruft (user: mburns tags: trunk)
2013-12-19
21:16
[6094cdcd64] an include command so one .assf file can include the contents of another. It always assumes the included file is based from the document root. (user: mburns tags: trunk)
16:53
[a42679ba62] dispatch_file should deny any request that begins with a '.'. Consider changing this to an allowed list of files/file extensions (user: mburns tags: trunk)
15:04
[dda24ccf26] catch any errors caused by evaluating a .assf file. return the error message to the client in a preformatted HTML block. It's hard to determine whether or not any information has been sent to the client yet. Maybe some portion of the heaes.. maybe some portion of the html. just catch and display. Put in some stubs for a dev_mode, so that we can not send the error info to real users (user: mburns tags: trunk)
14:39
[b194ffed61] fix unit tests. now that headers are always being sent, tests were throwing an error that RESPONSE CODE wasn't found in the dict. Call set_response_code to run_file and the test that calls eval directly. Remove some of the fconfigures hanging around from the old way of sending the end_chunk. Protect stdout by fconfiguring lf instead of binary (user: mburns tags: trunk)
2013-12-15
20:38
[db5b9cb5bb] in dispatch_file, if the file is a directory, and doesn't end with /, send a redirect to a page that ends with '/' (user: mburns tags: trunk)
2013-12-13
07:44
[f524ba2853] add a logout button to delete your sid and return to the login page (user: mburns tags: trunk)
07:30
[e3c45843c2] another checkin with too many changes. added in an http_redirect command. for sending 304 messages. hook up the login/index.assf example files. if you are logged in, you get redirected to index. if you aren't logged in and go to index, you get redirected to login. tweaked the header code so you can call set_response_code from a .assf file. send all the headers with one 'send' command. No need to flush the buffer once for each header. (user: mburns tags: trunk)
07:12
[42ec3eae17] allow the debug level to be set for the rund target from command line (user: mburns tags: trunk)
07:12
[8edf2a1d15] add missing image. (user: mburns tags: trunk)
2013-12-12
00:55
[502572c300] don't throw error if cookie doesn't exist. show a different screen if the user is logged in. (user: mburns tags: trunk)
00:27
[5aa9d54b4d] way too many changes. try to handle cookies. In order to an .assf file to send a cookie the headers have to be sent after the call to dispatch_assf. So every command in set_response_commands needs to call send_headers now. (good thing it's only two... fcopy and private_dispatch (which calls send_headers through assf_output)) some tweaks to dict_tohtml, so you can cause the recursion to stop at a certain key. sample login.assf which will write a cookie. RESPONSE HEADERS can't be a real dict anymore. the Header "keys" can duplicate. (set-Cookie for instance). chaned the HEADER to be a list of headers instead of a dict of headers. (user: mburns tags: trunk)
2013-12-10
04:14
[6f48ac0497] add generic timers to the token. built a READ_HEADERS timer and a DISPATCH_TIME timer. (user: mburns tags: trunk)
2013-12-09
20:54
[1c39f14bc2] merge in compile_moved_to_package branch. Compiling should run on its own now. (user: mburns tags: trunk)
20:52
[0d5d45c037] Leaf: rearrange tests. compiled stuff in its own test file now. (user: mburns tags: compile_moved_to_package)
20:50
[abcee0cb84] get_query_dict would throw an error if the query dict didn't exist. Check vfok for existance.. default to empty if doesn't exist (user: mburns tags: compile_moved_to_package)
20:50
[b3f0240d68] remove extra print statement (user: mburns tags: compile_moved_to_package)
19:18
[0af3c18c43] set the compiler logger to be the same as the assfish logger. Also make sure that we don't have an error flushing the socket (user: mburns tags: compile_moved_to_package)
19:17
[1b9e97dbf6] allow the compile package to have the logger set. Otherwise, it logs with default level of tracea (user: mburns tags: compile_moved_to_package)
19:12
[f192141464] return the logger name when it is created (user: mburns tags: compile_moved_to_package)
18:54
[0e23f225da] comments (user: mburns tags: compile_moved_to_package)
2013-12-07
23:16
[79730c732e] minor reformatting. had to relearn the lesson that there are versions of tcl out there that don't like repeated socket openings on windows. tcl86b1 is one of those version. had to update my machine to 8.6.1 (user: mburns tags: compile_moved_to_package)
22:18
[7017130c15] makefile comments explaining how to override tclsh. fix auto_path in armor.test so it can be run from any directory (user: mburns tags: compile_moved_to_package)
2013-12-05
07:35
[55d020e9e8] tweak some comments (user: mburns tags: compile_moved_to_package)
07:24
[fe97994d95] moved the compiling code to a new package. still need to rework logging. had some weird problems with creating the pkgIndex file. namespace import can get a little weird. Probalby becauase the files get loaded out of order. (notice the catch around the namespace import command) (user: mburns tags: compile_moved_to_package)
2013-12-04
17:41
[f30c1fcd09] more namespace command changes from tcl85 to 86. All 21 tests are passing. (user: mburns tags: trunk)
17:27
[70ef047845] merge (user: mburns tags: trunk)
16:53
[83ffd22c51] don't start the ui in the rund target (user: mburns tags: trunk)
2013-12-03
22:27
[fd86d5a0f0] adding some comments. (user: mburns tags: trunk)
21:54
[0d25e70a31] comments around the pretty printing of token dicts. (user: mburns tags: trunk)
21:48
[794f3920b7] make sure write_mime_file doesn't overwrite an existing file. add a form with 3 file uploads for ts for testing. hard to test. file names already use milisecond counter so conflicts shouldn't happen (user: mburns tags: trunk)
20:59
[4554f56543] make tcl86 the default (user: mburns tags: trunk)
20:58
[92e6655e31] tcl86/socket uses ipv6 for, and I guess that localhost shows up as ::1. And another namespace code command that needs {*} when used with interp alias. (user: mburns tags: trunk)
16:14
[9972ee3a33] found problem with tcl85 vs tcl86 and interp alias with namespace code. namespace code comes back as a single arg. interp alias in 8.5 will expand that arg so you can have multiple commands in it. tcl86 appears to not do that. not sure if it's a bug. but tcl85 can handle both cases... so warp the calls to interp alias .. [namespace code ...] to be interp alias .. {*}[namespace code...] (user: mburns tags: trunk)
2013-11-26
22:03
[a56cca52fd] remove bad make target (user: mburns tags: trunk)
22:01
[c2cb06fdd3] really fix the typo (user: mburns tags: trunk)
22:00
[e7d1a74b5a] fix typo (user: mburns tags: trunk)
21:59
[80ad77d4ad] random text changes (user: mburns tags: trunk)
2013-08-03
13:47
[7df0304e69] ignore-glob settings (user: mburns tags: trunk)
13:40
[3b718eceee] if domain isn't found return a 404 (user: mburns tags: trunk)
2013-08-02
00:16
[47932d4f1b] better handling of malformed requests. (user: mburns tags: trunk)
2013-08-01
03:39
[e23dfad0f6] move the mock channel into it's own namespace and package. (user: mburns tags: trunk)