Checkout Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
property cleanup

  1. … 75 more files in changeset.
New license

  1. … 42 more files in changeset.
This gigantic patch gets rid of all tabs in C code. I know this is ugly, but

better late than never!

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 20 more files in changeset.
Added an <%@include file="blah"%> directive to PSP

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 6 more files in changeset.
mod_python.psp now has a parsestring(str) function. Also a few tweaks to

the lexer were added.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 6 more files in changeset.
Mod_python package now includes _psp.so which is also built and

installed using distutils and does not #include <mod_python.h>. This

means it can be used from command line opening the door for us to

write command-line tools to compile psp pages.

psp.py has been greatly simplified. psp_interface.c renamed to

_pspmodule.c to be consistent with everything else.

The flex-generated psp_parser.c now supports the syntax whereby the

last indent in Python code sticks (this has been better described on

the dev list). I have not received any (constructive) negative (or any

positive) feedback, so for now this is where we are.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 16 more files in changeset.
This patch addresses the threading issues with the lexer. This requires flex 2.3.51

which can generate reentrant scanners. Now, instead of using a global variable,

a yyscan_t structure is allocated and passed along to every call into flex.

Sterling Hughes will have a hard time recognizing his code after so much

of my tweaking it :-)

The scanner definition was changed to send as much as possible of HTML in

one triple-quoted string, rather than line-by-line.

The copyright in psp_parser.l is fixed, also added a little blurb explaining

what's going on there.

I had to once again revert from "print" to "req.write" because we can't touch

sys.stdout because it is shared among threads.

The caching function is disabled for now until we make it thread-safe.

A new flex-generated header file psp_flex.h was added.

Finally - just a warning - PSP still needs a lot of work, this is only the

first step of many more coming.

  1. … 7 more files in changeset.
Initial Python Server Pages

Submitted by: Sterling Hughes

  1. … 11 more files in changeset.