Fredrik Tolf [Tue, 4 Jun 2013 14:12:15 +0000 (16:12 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Tue, 4 Jun 2013 14:11:37 +0000 (16:11 +0200)]
Replaced funplex with a more flexible class implementation.
Fredrik Tolf [Tue, 4 Jun 2013 13:31:09 +0000 (15:31 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Tue, 4 Jun 2013 13:30:59 +0000 (15:30 +0200)]
Set __wrapped__ in xhtmlresp as well.
Fredrik Tolf [Tue, 4 Jun 2013 13:24:01 +0000 (15:24 +0200)]
Merge branch 'master' into python3
Conflicts:
wrw/util.py
Fredrik Tolf [Tue, 4 Jun 2013 13:21:56 +0000 (15:21 +0200)]
Try to unwrap functions passed to funplex.
Fredrik Tolf [Tue, 4 Jun 2013 13:18:52 +0000 (15:18 +0200)]
Save references to wrapped functions.
Fredrik Tolf [Wed, 29 May 2013 00:47:22 +0000 (02:47 +0200)]
Added a simple cache-helper function.
Fredrik Tolf [Tue, 23 Apr 2013 03:56:52 +0000 (05:56 +0200)]
Merge branch 'master' into python3
Conflicts:
wrw/__init__.py
Fredrik Tolf [Tue, 23 Apr 2013 03:52:54 +0000 (05:52 +0200)]
Added a mod_python-style (but better ^^) function multiplexer.
Fredrik Tolf [Sun, 7 Apr 2013 17:06:40 +0000 (19:06 +0200)]
Merge branch 'master' into python3
Conflicts:
wrw/sp/util.py
Fredrik Tolf [Sun, 7 Apr 2013 17:03:24 +0000 (19:03 +0200)]
Added more convenient ways to use non-XHTML sp output.
Fredrik Tolf [Sat, 6 Apr 2013 16:07:15 +0000 (18:07 +0200)]
Merge branch 'master' into python3
Conflicts:
wrw/util.py
Fredrik Tolf [Sat, 6 Apr 2013 16:06:41 +0000 (18:06 +0200)]
Error out more usefully from formparams when required parameters are missing.
Fredrik Tolf [Sat, 2 Feb 2013 05:29:04 +0000 (06:29 +0100)]
Merge branch 'master' into python3
Conflicts:
wrw/dispatch.py
Fredrik Tolf [Sat, 2 Feb 2013 05:25:37 +0000 (06:25 +0100)]
Moved the iterproxy to an optionally usable preiter in wrw.util.
Fredrik Tolf [Wed, 16 Jan 2013 00:23:01 +0000 (01:23 +0100)]
Made appropriate Python3 changes.
Fredrik Tolf [Wed, 16 Jan 2013 00:17:51 +0000 (01:17 +0100)]
Merge branch 'master' into python3
Conflicts:
wrw/dispatch.py
Fredrik Tolf [Wed, 16 Jan 2013 00:16:34 +0000 (01:16 +0100)]
Handle missing-Host-header condition.
Fredrik Tolf [Wed, 16 Jan 2013 00:16:25 +0000 (01:16 +0100)]
Added a simpleerror function.
Fredrik Tolf [Sun, 23 Dec 2012 05:46:16 +0000 (06:46 +0100)]
Merge branch 'master' into python3
Conflicts:
wrw/wmako.py
Fredrik Tolf [Sun, 23 Dec 2012 05:45:53 +0000 (06:45 +0100)]
Merge branch 'master' of git.dolda2000.com:/srv/git/r/wrw
Fredrik Tolf [Sun, 23 Dec 2012 05:45:45 +0000 (06:45 +0100)]
Disallow non-GET requests in wmako.
Fredrik Tolf [Sun, 23 Dec 2012 05:10:13 +0000 (06:10 +0100)]
Merge branch 'master' into python3
Fredrik Tolf [Sun, 23 Dec 2012 05:10:06 +0000 (06:10 +0100)]
Fixed node __str__ conversion bug.
Fredrik Tolf [Sun, 23 Dec 2012 05:00:01 +0000 (06:00 +0100)]
Merge branch 'master' into python3
Conflicts:
wrw/sp/cons.py
Fredrik Tolf [Sun, 23 Dec 2012 04:57:01 +0000 (05:57 +0100)]
Added support for mapping around reserved keywords in SP attribute assignment.
Fredrik Tolf [Wed, 19 Dec 2012 05:23:29 +0000 (06:23 +0100)]
Merge branch 'master' into python3
Conflicts:
wrw/req.py
Fredrik Tolf [Wed, 19 Dec 2012 05:22:22 +0000 (06:22 +0100)]
Support chunked request-bodies.
Fredrik Tolf [Wed, 28 Nov 2012 04:51:07 +0000 (05:51 +0100)]
Merge branch 'master' into python3
Fredrik Tolf [Wed, 28 Nov 2012 04:50:55 +0000 (05:50 +0100)]
Added some more URI reconstruction tools.
Fredrik Tolf [Fri, 16 Nov 2012 00:45:40 +0000 (01:45 +0100)]
Merge branch 'master' into python3
Fredrik Tolf [Fri, 16 Nov 2012 00:45:28 +0000 (01:45 +0100)]
Fixed sp formatter bug.
Fredrik Tolf [Thu, 30 Aug 2012 14:14:19 +0000 (16:14 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Thu, 30 Aug 2012 14:10:53 +0000 (16:10 +0200)]
Use the limited reader for reading form data.
Fredrik Tolf [Thu, 30 Aug 2012 08:20:25 +0000 (10:20 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Thu, 30 Aug 2012 08:20:16 +0000 (10:20 +0200)]
Added a byte-limited reader for the WSGI input stream.
Fredrik Tolf [Tue, 28 Aug 2012 00:58:16 +0000 (02:58 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Tue, 28 Aug 2012 00:57:59 +0000 (02:57 +0200)]
Decode CGI CONTENT_{TYPE,LENGTH} properly into ihead.
Fredrik Tolf [Mon, 27 Aug 2012 05:49:38 +0000 (07:49 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Mon, 27 Aug 2012 05:49:25 +0000 (07:49 +0200)]
Make sure to properly close form multiparts on __exit__.
Fredrik Tolf [Mon, 27 Aug 2012 04:17:30 +0000 (06:17 +0200)]
Merge branch 'master' into python3
Conflicts:
wrw/sp/xhtml.py
Fredrik Tolf [Mon, 27 Aug 2012 04:16:50 +0000 (06:16 +0200)]
Allow shorting of meta and link tags.
Fredrik Tolf [Sun, 5 Aug 2012 16:18:42 +0000 (18:18 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Sun, 5 Aug 2012 16:18:22 +0000 (18:18 +0200)]
Merge branch 'master' of git.dolda2000.com:/srv/git/r/wrw
Fredrik Tolf [Sun, 5 Aug 2012 16:08:59 +0000 (18:08 +0200)]
Changed some whitespace usage.
Fredrik Tolf [Sun, 5 Aug 2012 16:08:15 +0000 (18:08 +0200)]
Added a simple function for producing an optionally parametrized URL.
Fredrik Tolf [Sun, 5 Aug 2012 05:44:44 +0000 (07:44 +0200)]
Merge branch 'master' into python3
Conflicts:
wrw/cookie.py
Fredrik Tolf [Sun, 5 Aug 2012 05:41:07 +0000 (07:41 +0200)]
Set expiration properly on session cookies.
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.
Fredrik Tolf [Sun, 5 Aug 2012 05:11:45 +0000 (07:11 +0200)]
Fixed missing import in proto.py.
Fredrik Tolf [Wed, 18 Jul 2012 00:25:08 +0000 (02:25 +0200)]
Added SERVER_NAME as an immediate request variable.
Fredrik Tolf [Wed, 18 Jul 2012 00:16:28 +0000 (02:16 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Wed, 18 Jul 2012 00:16:06 +0000 (02:16 +0200)]
Made session creation more customizable.
Fredrik Tolf [Sun, 8 Jul 2012 06:26:00 +0000 (08:26 +0200)]
Handle cookie attributes more flexibly.
Fredrik Tolf [Thu, 5 Jul 2012 06:39:34 +0000 (08:39 +0200)]
Call formatter.node as should be proper from formatter.fragement.
Fredrik Tolf [Thu, 5 Jul 2012 04:24:25 +0000 (06:24 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Thu, 5 Jul 2012 04:23:45 +0000 (06:23 +0200)]
Added a SP formatter function to output mere fragments of documents.
Fredrik Tolf [Thu, 5 Jul 2012 03:19:40 +0000 (05:19 +0200)]
Merge branch 'master' into python3
Conflicts:
wrw/wmako.py
Fredrik Tolf [Thu, 5 Jul 2012 03:19:06 +0000 (05:19 +0200)]
Made the wmako library an environment variable.
Fredrik Tolf [Thu, 5 Jul 2012 00:24:58 +0000 (02:24 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Thu, 5 Jul 2012 00:20:17 +0000 (02:20 +0200)]
Handle skeleton transformation more flexibly.
Fredrik Tolf [Fri, 29 Jun 2012 02:35:17 +0000 (04:35 +0200)]
Merge branch 'master' into python3
Conflicts:
wrw/__init__.py
Fredrik Tolf [Fri, 29 Jun 2012 02:34:43 +0000 (04:34 +0200)]
Import specdirty into __init__.
Fredrik Tolf [Fri, 29 Jun 2012 01:47:06 +0000 (03:47 +0200)]
Merge branch 'master' into python3
Conflicts:
wrw/session.py
Fredrik Tolf [Fri, 29 Jun 2012 01:33:47 +0000 (03:33 +0200)]
Fixed up session-db cleaner-running checks.
Fredrik Tolf [Fri, 29 Jun 2012 01:31:25 +0000 (03:31 +0200)]
Added more useful repr for sessions.
Fredrik Tolf [Fri, 29 Jun 2012 01:01:57 +0000 (03:01 +0200)]
Attempt to make the session database properly parallel.
Fredrik Tolf [Wed, 27 Jun 2012 04:48:08 +0000 (06:48 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Wed, 27 Jun 2012 04:47:45 +0000 (06:47 +0200)]
Removed debug message.
Fredrik Tolf [Tue, 26 Jun 2012 18:00:45 +0000 (20:00 +0200)]
Tried to create a more advanced sessiondata class for more precise control.
Fredrik Tolf [Tue, 26 Jun 2012 18:00:16 +0000 (20:00 +0200)]
Fixed up HTTP response status info a bit.
Fredrik Tolf [Thu, 24 May 2012 03:33:43 +0000 (05:33 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Thu, 24 May 2012 03:32:24 +0000 (05:32 +0200)]
Pass the current session to sessiondata constructor.
Fredrik Tolf [Thu, 24 May 2012 03:31:24 +0000 (05:31 +0200)]
Use an RLock for session locking.
Fredrik Tolf [Sun, 20 May 2012 23:04:10 +0000 (01:04 +0200)]
Added a SP element for outputting unprocessed code.
Fredrik Tolf [Sun, 13 May 2012 03:43:33 +0000 (05:43 +0200)]
Merge branch 'master' into python3
Conflicts:
wrw/resp.py
Fredrik Tolf [Sun, 13 May 2012 02:42:23 +0000 (04:42 +0200)]
Use SP for all wrw.resp.
Fredrik Tolf [Sun, 13 May 2012 02:15:44 +0000 (04:15 +0200)]
Properly use a BytesIO in XHTML outputter.
Fredrik Tolf [Sun, 13 May 2012 02:12:39 +0000 (04:12 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Sun, 13 May 2012 02:12:25 +0000 (04:12 +0200)]
Backported indent-encoding fix.
Fredrik Tolf [Sun, 13 May 2012 02:10:40 +0000 (04:10 +0200)]
Converted the HTML-generator to Python3.
Fredrik Tolf [Sun, 13 May 2012 01:54:14 +0000 (03:54 +0200)]
Merge branch 'master' into python3
Fredrik Tolf [Sun, 13 May 2012 01:51:22 +0000 (03:51 +0200)]
Added a HTML-generation engine that might hopefully be useful.
Fredrik Tolf [Wed, 14 Mar 2012 20:47:31 +0000 (21:47 +0100)]
Added a decorator for autoencoding string responses to bytes.
Fredrik Tolf [Wed, 14 Mar 2012 20:46:51 +0000 (21:46 +0100)]
Converted the multipart form reader to Python3.
Fredrik Tolf [Wed, 14 Mar 2012 20:34:22 +0000 (21:34 +0100)]
Merge branch 'master' into python3
Conflicts:
wrw/__init__.py
Fredrik Tolf [Wed, 14 Mar 2012 20:27:10 +0000 (21:27 +0100)]
Always import the proto module.
Fredrik Tolf [Wed, 14 Mar 2012 20:26:42 +0000 (21:26 +0100)]
Added a, perhaps overly simplistic, multipart form handler.
Fredrik Tolf [Wed, 14 Mar 2012 19:22:09 +0000 (20:22 +0100)]
Remember to copy method to request copies.
Fredrik Tolf [Wed, 14 Mar 2012 19:07:45 +0000 (20:07 +0100)]
Always downcase MIME header parameter names.
Fredrik Tolf [Wed, 14 Mar 2012 08:21:39 +0000 (09:21 +0100)]
Always upper-case the request method.
Fredrik Tolf [Wed, 14 Mar 2012 07:54:51 +0000 (08:54 +0100)]
Added a function for parsing MIME-style parameterized headers.
Fredrik Tolf [Wed, 14 Mar 2012 07:26:00 +0000 (08:26 +0100)]
Added a request variable for the HTTP method.
Fredrik Tolf [Mon, 6 Feb 2012 06:43:41 +0000 (07:43 +0100)]
Merge branch 'python3' of git.dolda2000.com:/srv/git/r/wrw into python3
Fredrik Tolf [Mon, 6 Feb 2012 06:43:25 +0000 (07:43 +0100)]
Merge branch 'master' of git.dolda2000.com:/srv/git/r/wrw into python3
Fredrik Tolf [Sun, 5 Feb 2012 17:36:55 +0000 (18:36 +0100)]
Merge branch 'master' into python3
Fredrik Tolf [Sun, 5 Feb 2012 17:36:45 +0000 (18:36 +0100)]
Fixed env bug.
Fredrik Tolf [Sun, 5 Feb 2012 16:00:43 +0000 (17:00 +0100)]
Fixed Python3 bug.
Fredrik Tolf [Sun, 5 Feb 2012 16:00:30 +0000 (17:00 +0100)]
Merge branch 'master' into python3
Conflicts:
wrw/resp.py
wrw/session.py