wrw.git
10 years agoDecode binary form input.
Fredrik Tolf [Thu, 3 Apr 2014 03:35:05 +0000 (05:35 +0200)]
Decode binary form input.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Thu, 3 Apr 2014 03:33:34 +0000 (05:33 +0200)]
Merge branch 'master' into python3

Conflicts:
wrw/form.py

10 years agoReplace cgi.parse.
Fredrik Tolf [Thu, 3 Apr 2014 03:32:04 +0000 (05:32 +0200)]
Replace cgi.parse.

10 years agoFixed stringwrap iteration bug.
Fredrik Tolf [Sun, 2 Mar 2014 04:12:14 +0000 (05:12 +0100)]
Fixed stringwrap iteration bug.

10 years agoFixed wrapping of util.stringwrap
Fredrik Tolf [Sun, 2 Mar 2014 03:54:37 +0000 (04:54 +0100)]
Fixed wrapping of util.stringwrap

10 years agoMade Python3 changes.
Fredrik Tolf [Sat, 11 Jan 2014 05:13:09 +0000 (06:13 +0100)]
Made Python3 changes.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Sat, 11 Jan 2014 04:46:51 +0000 (05:46 +0100)]
Merge branch 'master' into python3

10 years agoAdded a function for handling errors coming externally.
Fredrik Tolf [Sat, 11 Jan 2014 04:46:06 +0000 (05:46 +0100)]
Added a function for handling errors coming externally.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Sun, 5 Jan 2014 08:10:36 +0000 (09:10 +0100)]
Merge branch 'master' into python3

10 years agoFlush stderr after printing exception in the default error handler.
Fredrik Tolf [Sun, 5 Jan 2014 07:02:41 +0000 (08:02 +0100)]
Flush stderr after printing exception in the default error handler.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Sat, 28 Dec 2013 05:48:03 +0000 (06:48 +0100)]
Merge branch 'master' into python3

Conflicts:
wrw/sp/util.py

10 years agoImproved indentation a bit further.
Fredrik Tolf [Sat, 28 Dec 2013 05:47:37 +0000 (06:47 +0100)]
Improved indentation a bit further.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Sat, 28 Dec 2013 05:37:03 +0000 (06:37 +0100)]
Merge branch 'master' into python3

Conflicts:
wrw/sp/util.py

10 years agoImproved indentation a bit.
Fredrik Tolf [Sat, 28 Dec 2013 05:34:32 +0000 (06:34 +0100)]
Improved indentation a bit.

10 years agoMerge branch 'python3' of git.dolda2000.com:/srv/git/r/wrw into python3
Fredrik Tolf [Fri, 27 Dec 2013 09:53:03 +0000 (10:53 +0100)]
Merge branch 'python3' of git.dolda2000.com:/srv/git/r/wrw into python3

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Fri, 27 Dec 2013 09:51:48 +0000 (10:51 +0100)]
Merge branch 'master' into python3

Conflicts:
wrw/sp/util.py
wrw/sp/xhtml.py

10 years agoReimplemented the SP output formatters to hopefully work better and faster.
Fredrik Tolf [Fri, 27 Dec 2013 09:40:35 +0000 (10:40 +0100)]
Reimplemented the SP output formatters to hopefully work better and faster.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Thu, 26 Dec 2013 08:56:18 +0000 (09:56 +0100)]
Merge branch 'master' into python3

10 years agoAllow noop-adding of None objects.
Fredrik Tolf [Thu, 26 Dec 2013 07:43:08 +0000 (08:43 +0100)]
Allow noop-adding of None objects.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Sat, 7 Dec 2013 21:51:13 +0000 (22:51 +0100)]
Merge branch 'master' into python3

10 years agoFixed phttpdate bug.
Fredrik Tolf [Sat, 7 Dec 2013 21:50:48 +0000 (22:50 +0100)]
Fixed phttpdate bug.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Sun, 3 Nov 2013 14:10:10 +0000 (15:10 +0100)]
Merge branch 'master' into python3

10 years agoAdded a new module to ease WWW-authentication a bit.
Fredrik Tolf [Sun, 3 Nov 2013 14:09:40 +0000 (15:09 +0100)]
Added a new module to ease WWW-authentication a bit.

10 years agoTolerate getfilesystemencoding returning None.
Fredrik Tolf [Sat, 21 Sep 2013 20:47:56 +0000 (22:47 +0200)]
Tolerate getfilesystemencoding returning None.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Thu, 19 Sep 2013 01:21:32 +0000 (03:21 +0200)]
Merge branch 'master' into python3

Conflicts:
wrw/sp/cons.py

10 years agoDo Unicode conversion from bytestring more properly.
Fredrik Tolf [Thu, 19 Sep 2013 01:15:26 +0000 (03:15 +0200)]
Do Unicode conversion from bytestring more properly.

10 years agoConverted URL quoting to Python3.
Fredrik Tolf [Wed, 18 Sep 2013 04:41:38 +0000 (06:41 +0200)]
Converted URL quoting to Python3.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Wed, 18 Sep 2013 04:38:31 +0000 (06:38 +0200)]
Merge branch 'master' into python3

10 years agoFixed up URL quoting a bit.
Fredrik Tolf [Wed, 18 Sep 2013 04:38:14 +0000 (06:38 +0200)]
Fixed up URL quoting a bit.

10 years agoAdd Content-Length to SP responses.
Fredrik Tolf [Sun, 15 Sep 2013 23:10:23 +0000 (01:10 +0200)]
Add Content-Length to SP responses.

10 years agoRemoved superfluous super() arguments.
Fredrik Tolf [Sun, 15 Sep 2013 22:42:19 +0000 (00:42 +0200)]
Removed superfluous super() arguments.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Sun, 15 Sep 2013 22:41:53 +0000 (00:41 +0200)]
Merge branch 'master' into python3

Conflicts:
wrw/sp/cons.py
wrw/sp/xhtml.py

10 years agoAllow setting attributes to None as a noop, for convenience.
Fredrik Tolf [Sun, 15 Sep 2013 22:40:02 +0000 (00:40 +0200)]
Allow setting attributes to None as a noop, for convenience.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Mon, 2 Sep 2013 01:26:39 +0000 (03:26 +0200)]
Merge branch 'master' into python3

Conflicts:
wrw/resp.py
wrw/util.py

10 years agoMade default argument specifications PEP 8-compliant.
Fredrik Tolf [Mon, 2 Sep 2013 01:24:06 +0000 (03:24 +0200)]
Made default argument specifications PEP 8-compliant.

10 years agoMade redirections a bit more flexible.
Fredrik Tolf [Mon, 2 Sep 2013 01:19:03 +0000 (03:19 +0200)]
Made redirections a bit more flexible.

10 years agoQuote some more URL characters
Fredrik Tolf [Thu, 29 Aug 2013 08:53:21 +0000 (10:53 +0200)]
Quote some more URL characters

10 years agoCache the target argspec in formparams.
Fredrik Tolf [Thu, 27 Jun 2013 05:48:34 +0000 (07:48 +0200)]
Cache the target argspec in formparams.

10 years agoFixed formparams bug when defaults are missing.
Fredrik Tolf [Wed, 26 Jun 2013 03:38:40 +0000 (05:38 +0200)]
Fixed formparams bug when defaults are missing.

10 years agoMerge branch 'master' of git.dolda2000.com:/srv/git/r/wrw
Fredrik Tolf [Wed, 5 Jun 2013 10:59:12 +0000 (12:59 +0200)]
Merge branch 'master' of git.dolda2000.com:/srv/git/r/wrw

10 years agoMerge branch 'python3' of git.dolda2000.com:/srv/git/r/wrw into python3
Fredrik Tolf [Wed, 5 Jun 2013 10:58:54 +0000 (12:58 +0200)]
Merge branch 'python3' of git.dolda2000.com:/srv/git/r/wrw into python3

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Wed, 5 Jun 2013 10:58:21 +0000 (12:58 +0200)]
Merge branch 'master' into python3

10 years agoSet Content-Length in a couple of places.
Fredrik Tolf [Wed, 5 Jun 2013 10:58:02 +0000 (12:58 +0200)]
Set Content-Length in a couple of places.

10 years agoFixed message bug.
Fredrik Tolf [Wed, 5 Jun 2013 02:42:07 +0000 (04:42 +0200)]
Fixed message bug.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Tue, 4 Jun 2013 14:12:15 +0000 (16:12 +0200)]
Merge branch 'master' into python3

10 years agoReplaced funplex with a more flexible class implementation.
Fredrik Tolf [Tue, 4 Jun 2013 14:11:37 +0000 (16:11 +0200)]
Replaced funplex with a more flexible class implementation.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Tue, 4 Jun 2013 13:31:09 +0000 (15:31 +0200)]
Merge branch 'master' into python3

10 years agoSet __wrapped__ in xhtmlresp as well.
Fredrik Tolf [Tue, 4 Jun 2013 13:30:59 +0000 (15:30 +0200)]
Set __wrapped__ in xhtmlresp as well.

10 years agoMerge branch 'master' into python3
Fredrik Tolf [Tue, 4 Jun 2013 13:24:01 +0000 (15:24 +0200)]
Merge branch 'master' into python3

Conflicts:
wrw/util.py

10 years agoTry to unwrap functions passed to funplex.
Fredrik Tolf [Tue, 4 Jun 2013 13:21:56 +0000 (15:21 +0200)]
Try to unwrap functions passed to funplex.

10 years agoSave references to wrapped functions.
Fredrik Tolf [Tue, 4 Jun 2013 13:18:52 +0000 (15:18 +0200)]
Save references to wrapped functions.

10 years agoAdded a simple cache-helper function.
Fredrik Tolf [Wed, 29 May 2013 00:47:22 +0000 (02:47 +0200)]
Added a simple cache-helper function.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Tue, 23 Apr 2013 03:56:52 +0000 (05:56 +0200)]
Merge branch 'master' into python3

Conflicts:
wrw/__init__.py

11 years agoAdded a mod_python-style (but better ^^) function multiplexer.
Fredrik Tolf [Tue, 23 Apr 2013 03:52:54 +0000 (05:52 +0200)]
Added a mod_python-style (but better ^^) function multiplexer.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Sun, 7 Apr 2013 17:06:40 +0000 (19:06 +0200)]
Merge branch 'master' into python3

Conflicts:
wrw/sp/util.py

11 years agoAdded more convenient ways to use non-XHTML sp output.
Fredrik Tolf [Sun, 7 Apr 2013 17:03:24 +0000 (19:03 +0200)]
Added more convenient ways to use non-XHTML sp output.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Sat, 6 Apr 2013 16:07:15 +0000 (18:07 +0200)]
Merge branch 'master' into python3

Conflicts:
wrw/util.py

11 years agoError out more usefully from formparams when required parameters are missing.
Fredrik Tolf [Sat, 6 Apr 2013 16:06:41 +0000 (18:06 +0200)]
Error out more usefully from formparams when required parameters are missing.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Sat, 2 Feb 2013 05:29:04 +0000 (06:29 +0100)]
Merge branch 'master' into python3

Conflicts:
wrw/dispatch.py

11 years agoMoved the iterproxy to an optionally usable preiter in wrw.util.
Fredrik Tolf [Sat, 2 Feb 2013 05:25:37 +0000 (06:25 +0100)]
Moved the iterproxy to an optionally usable preiter in wrw.util.

11 years agoMade appropriate Python3 changes.
Fredrik Tolf [Wed, 16 Jan 2013 00:23:01 +0000 (01:23 +0100)]
Made appropriate Python3 changes.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Wed, 16 Jan 2013 00:17:51 +0000 (01:17 +0100)]
Merge branch 'master' into python3

Conflicts:
wrw/dispatch.py

11 years agoHandle missing-Host-header condition.
Fredrik Tolf [Wed, 16 Jan 2013 00:16:34 +0000 (01:16 +0100)]
Handle missing-Host-header condition.

11 years agoAdded a simpleerror function.
Fredrik Tolf [Wed, 16 Jan 2013 00:16:25 +0000 (01:16 +0100)]
Added a simpleerror function.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Sun, 23 Dec 2012 05:46:16 +0000 (06:46 +0100)]
Merge branch 'master' into python3

Conflicts:
wrw/wmako.py

11 years agoMerge branch 'master' of git.dolda2000.com:/srv/git/r/wrw
Fredrik Tolf [Sun, 23 Dec 2012 05:45:53 +0000 (06:45 +0100)]
Merge branch 'master' of git.dolda2000.com:/srv/git/r/wrw

11 years agoDisallow non-GET requests in wmako.
Fredrik Tolf [Sun, 23 Dec 2012 05:45:45 +0000 (06:45 +0100)]
Disallow non-GET requests in wmako.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Sun, 23 Dec 2012 05:10:13 +0000 (06:10 +0100)]
Merge branch 'master' into python3

11 years agoFixed node __str__ conversion bug.
Fredrik Tolf [Sun, 23 Dec 2012 05:10:06 +0000 (06:10 +0100)]
Fixed node __str__ conversion bug.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Sun, 23 Dec 2012 05:00:01 +0000 (06:00 +0100)]
Merge branch 'master' into python3

Conflicts:
wrw/sp/cons.py

11 years agoAdded support for mapping around reserved keywords in SP attribute assignment.
Fredrik Tolf [Sun, 23 Dec 2012 04:57:01 +0000 (05:57 +0100)]
Added support for mapping around reserved keywords in SP attribute assignment.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Wed, 19 Dec 2012 05:23:29 +0000 (06:23 +0100)]
Merge branch 'master' into python3

Conflicts:
wrw/req.py

11 years agoSupport chunked request-bodies.
Fredrik Tolf [Wed, 19 Dec 2012 05:22:22 +0000 (06:22 +0100)]
Support chunked request-bodies.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Wed, 28 Nov 2012 04:51:07 +0000 (05:51 +0100)]
Merge branch 'master' into python3

11 years agoAdded some more URI reconstruction tools.
Fredrik Tolf [Wed, 28 Nov 2012 04:50:55 +0000 (05:50 +0100)]
Added some more URI reconstruction tools.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Fri, 16 Nov 2012 00:45:40 +0000 (01:45 +0100)]
Merge branch 'master' into python3

11 years agoFixed sp formatter bug.
Fredrik Tolf [Fri, 16 Nov 2012 00:45:28 +0000 (01:45 +0100)]
Fixed sp formatter bug.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Thu, 30 Aug 2012 14:14:19 +0000 (16:14 +0200)]
Merge branch 'master' into python3

11 years agoUse the limited reader for reading form data.
Fredrik Tolf [Thu, 30 Aug 2012 14:10:53 +0000 (16:10 +0200)]
Use the limited reader for reading form data.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Thu, 30 Aug 2012 08:20:25 +0000 (10:20 +0200)]
Merge branch 'master' into python3

11 years agoAdded a byte-limited reader for the WSGI input stream.
Fredrik Tolf [Thu, 30 Aug 2012 08:20:16 +0000 (10:20 +0200)]
Added a byte-limited reader for the WSGI input stream.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Tue, 28 Aug 2012 00:58:16 +0000 (02:58 +0200)]
Merge branch 'master' into python3

11 years agoDecode CGI CONTENT_{TYPE,LENGTH} properly into ihead.
Fredrik Tolf [Tue, 28 Aug 2012 00:57:59 +0000 (02:57 +0200)]
Decode CGI CONTENT_{TYPE,LENGTH} properly into ihead.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Mon, 27 Aug 2012 05:49:38 +0000 (07:49 +0200)]
Merge branch 'master' into python3

11 years agoMake sure to properly close form multiparts on __exit__.
Fredrik Tolf [Mon, 27 Aug 2012 05:49:25 +0000 (07:49 +0200)]
Make sure to properly close form multiparts on __exit__.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Mon, 27 Aug 2012 04:17:30 +0000 (06:17 +0200)]
Merge branch 'master' into python3

Conflicts:
wrw/sp/xhtml.py

11 years agoAllow shorting of meta and link tags.
Fredrik Tolf [Mon, 27 Aug 2012 04:16:50 +0000 (06:16 +0200)]
Allow shorting of meta and link tags.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Sun, 5 Aug 2012 16:18:42 +0000 (18:18 +0200)]
Merge branch 'master' into python3

11 years agoMerge branch 'master' of git.dolda2000.com:/srv/git/r/wrw
Fredrik Tolf [Sun, 5 Aug 2012 16:18:22 +0000 (18:18 +0200)]
Merge branch 'master' of git.dolda2000.com:/srv/git/r/wrw

11 years agoChanged some whitespace usage.
Fredrik Tolf [Sun, 5 Aug 2012 16:08:59 +0000 (18:08 +0200)]
Changed some whitespace usage.

11 years agoAdded a simple function for producing an optionally parametrized URL.
Fredrik Tolf [Sun, 5 Aug 2012 16:08:15 +0000 (18:08 +0200)]
Added a simple function for producing an optionally parametrized URL.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Sun, 5 Aug 2012 05:44:44 +0000 (07:44 +0200)]
Merge branch 'master' into python3

Conflicts:
wrw/cookie.py

11 years agoSet expiration properly on session cookies.
Fredrik Tolf [Sun, 5 Aug 2012 05:41:07 +0000 (07:41 +0200)]
Set expiration properly on session cookies.

11 years agoAdded a helper function to cookie module to format expire dates properly.
Fredrik Tolf [Sun, 5 Aug 2012 05:40:56 +0000 (07:40 +0200)]
Added a helper function to cookie module to format expire dates properly.

11 years agoFixed missing import in proto.py.
Fredrik Tolf [Sun, 5 Aug 2012 05:11:45 +0000 (07:11 +0200)]
Fixed missing import in proto.py.

11 years agoAdded SERVER_NAME as an immediate request variable.
Fredrik Tolf [Wed, 18 Jul 2012 00:25:08 +0000 (02:25 +0200)]
Added SERVER_NAME as an immediate request variable.

11 years agoMerge branch 'master' into python3
Fredrik Tolf [Wed, 18 Jul 2012 00:16:28 +0000 (02:16 +0200)]
Merge branch 'master' into python3

11 years agoMade session creation more customizable.
Fredrik Tolf [Wed, 18 Jul 2012 00:16:06 +0000 (02:16 +0200)]
Made session creation more customizable.

11 years agoHandle cookie attributes more flexibly.
Fredrik Tolf [Sun, 8 Jul 2012 06:26:00 +0000 (08:26 +0200)]
Handle cookie attributes more flexibly.

11 years agoCall formatter.node as should be proper from formatter.fragement.
Fredrik Tolf [Thu, 5 Jul 2012 06:39:34 +0000 (08:39 +0200)]
Call formatter.node as should be proper from formatter.fragement.