Commit graph

643 commits

Author SHA1 Message Date
Guido van Rossum
3672aa2dcd change DumbWriter to derive from NullWriter 1996-05-29 00:02:30 +00:00
Guido van Rossum
3fd32ecd92 optimizations due to Fred Drake; added urldefrag() function 1996-05-28 23:54:24 +00:00
Guido van Rossum
1acbffe2e0 Conversions between mac paths and URLs 1996-05-28 23:52:06 +00:00
Guido van Rossum
9787bdafe0 Many improvements dure to Fred Drake 1996-05-28 23:50:49 +00:00
Guido van Rossum
d2560b0f2e Docstringified and PASV support by Siebren (including new ftpcp() function). 1996-05-28 23:41:25 +00:00
Guido van Rossum
3ada87a508 fix typo in load_dynamic 1996-05-28 23:34:10 +00:00
Guido van Rossum
f4aaf862fd Be more careful about default temp dir 1996-05-28 23:31:34 +00:00
Guido van Rossum
7a623d7e7c added &quot def 1996-05-28 23:18:55 +00:00
Guido van Rossum
1b5a1d0770 Total rewrite 1996-05-28 23:17:13 +00:00
Guido van Rossum
72e316428f made it work again with changed Tkinter 1996-05-28 23:15:20 +00:00
Guido van Rossum
0978f993e3 Major overhaul:
- Support ~[user] expansion.

- Remember last directory and pattern; optional 'key' argument
specifies different memory locations.

- Absolutify pathnames if possible.

- WM close event cancels the dialog.

- First arg to go() can be either a directory or a file (renamed to
dir_of_file); defaults to current directory.
1996-05-28 23:14:36 +00:00
Guido van Rossum
51b708ab61 don't export selection 1996-05-28 23:10:30 +00:00
Guido van Rossum
5feb54c461 added hdl protocol properties 1996-05-28 23:10:02 +00:00
Guido van Rossum
3c998825bd removed history comment 1996-05-28 23:09:09 +00:00
Guido van Rossum
2539528810 add translate() -- which was in strop per release 1.3 1996-05-28 23:08:45 +00:00
Guido van Rossum
a13edb489b optimization of getheader() using a dictionary 1996-05-28 23:08:25 +00:00
Guido van Rossum
fdd45cb858 Fix some obsolete names comments.
Change RHooks() interface to not require a 'rexec' instance argument;
added set_rexec() method instead (which must be called by the RExec
instance using this RHooks instance).

Support dynamic loading of modules, at least for those modules that
are ok built-in modules.  Added new interfaces set_trusted_path() and
load_dynamic() to RExec class (the default trusted path consists of
all absolute pathnames in sys.path).

Change copy_except() to actually try to delete the exceptions.
1996-05-28 23:07:17 +00:00
Guido van Rossum
9e6aa9d55b avoid eval() like the plague 1996-05-28 23:01:28 +00:00
Guido van Rossum
dc42b8aa3d change Mac creator/type 1996-05-28 23:01:05 +00:00
Guido van Rossum
6cb84f3cde change return values of simple run* functions 1996-05-28 23:00:42 +00:00
Guido van Rossum
8460b94b50 removed unused globals 1996-05-28 22:59:58 +00:00
Guido van Rossum
508a092e2e added setcontext and parsesequence; several small fixes 1996-05-28 22:59:37 +00:00
Guido van Rossum
22a18904e4 export error == IOError 1996-05-28 22:58:40 +00:00
Guido van Rossum
fa59cd73d4 bump version (sorry) 1996-05-28 22:58:15 +00:00
Guido van Rossum
503e50b0fa capitalize H3 headers; add 'cgi.' prefix to example code 1996-05-28 22:57:20 +00:00
Guido van Rossum
ce84920e0c added * and + operators 1996-05-28 22:56:16 +00:00
Guido van Rossum
68ded217f7 minor fix to mime header regex --Sjoerd 1996-05-28 19:52:40 +00:00
Guido van Rossum
507f15b254 Auto-install on first import.
Added quick reference.
1996-05-28 15:52:00 +00:00
Guido van Rossum
422cc7ffec more changes copied from Grail 1996-05-21 20:30:07 +00:00
Guido van Rossum
63e39ae933 Made Place.info == Pack.info 1996-05-16 17:53:48 +00:00
Guido van Rossum
a5f875f504 Yet another mini fix to pack/grid info. 1996-05-16 17:50:07 +00:00
Guido van Rossum
3626999377 Some more changes from the net... Typos, 4.0/4.1 issues, new tkButtonInvoke(). 1996-05-16 17:11:27 +00:00
Guido van Rossum
37dcab197c Resync with Grail's Tkinter.py. 1996-05-16 16:00:19 +00:00
Guido van Rossum
955c5d156d Set the base for atoi() and atol() to 0, since we're reading Python
numbers here, and so that atol() doesn't barf on the trailing 'L'.
Add a test case involving a long integer.
1996-05-15 22:49:57 +00:00
Guido van Rossum
7853647dd1 Don't atoi() the memo key.
Use atoi(), atol(), atof() instead of load_atomic for seed-up.
1996-04-12 13:36:27 +00:00
Guido van Rossum
bbb4e10e91 Subtlety: ~root/a should expand to /a, not //a. Everything else unchanged. 1996-04-02 22:30:03 +00:00
Guido van Rossum
ededb58c14 Update reference (it's now RFC 1808); added http to list of protocols
that use parameters.
1996-03-29 21:23:25 +00:00
Guido van Rossum
48766512a0 Reformatted with 4-space tab stops.
Allow '=' and '~' in unquoted attribute values.

Added overridable methods handle_starttag(tag, method, attrs) and
handle_endtag(tag, method) so subclasses can decide whether they
really want to call the method (e.g. when suppressing some portion of
the document).

Added support for a number of SGML shortcuts:

        shorthand               full notation
        <tag>...<>...           <tag>...<tag>...
        <tag>...</>             <tag>...</tag>
        <tag/.../               <tag>...</tag>
        <tag1<tag2>             <tag1><tag2>
        </tag1</tag2>           </tag1></tag2>
        </tag1<tag2>            </tag1><tag2>

This required factoring out some common actions and rationalizing the
interface to parse_endtag(), so as to make the code more readable.

Fixed syntax for &entity and &#char references so the trailing
semicolon is optional; removed explicit support for trailing period
(which was a TBL mistake in HTML 0.0).

Generalized the test program.

Tried to speed things up a little.  (More to come after the profile
results are in.)

Fix error recovery: call the end methods popped from the stack instead
of the one that triggers.  (Plus some complications because of the way
HTML extensions are handled in Grail.)
1996-03-28 18:45:04 +00:00
Guido van Rossum
cce074e273 new binhex from Jack (much faster) 1996-03-25 18:54:33 +00:00
Guido van Rossum
a220e67a9e Finally check in Jack's latest version, which fixes all known bugs. 1996-03-23 19:19:04 +00:00
Guido van Rossum
71ac945321 move mac url2path conversion to separate module 1996-03-21 16:31:41 +00:00
Guido van Rossum
442e7202f8 Added proxy handling; upped version.
(Proxy handling uses <proto>_proxy environment variables by default.)
1996-03-20 15:33:11 +00:00
Guido van Rossum
a8738a5642 Added print_arguments() function. 1996-03-14 21:30:28 +00:00
Guido van Rossum
4032c2c1ce Change to use real temporary files instead of StringIO. Correct and
add to documentation.  This will be released as cgi.py 2.0a1.
1996-03-09 04:04:35 +00:00
Guido van Rossum
0147db07ef Considerable documentation changes and a few import rearrangements. 1996-03-09 03:16:04 +00:00
Guido van Rossum
7aee384dbc Reformatted with 4-space indentation. Added some quick docs to the
FieldStorage class.
1996-03-07 18:00:44 +00:00
Guido van Rossum
243ddcd7a9 Added FieldStorage class, which stores parts in files.
(Not documented yet, and the files are currently StringIO instances.)
1996-03-07 06:33:07 +00:00
Guido van Rossum
391b4e60e6 Reformatting only. 1996-03-06 19:11:33 +00:00
Guido van Rossum
7275561d34 File upload and revamped documentation. 1996-03-06 07:20:06 +00:00
Guido van Rossum
405ab2378e *** empty log message *** 1996-02-28 23:58:09 +00:00