Sjoerd Mullender
e0371b8415
Fixed basejoin. There were two main problems:
...
- basejoin('some/url', '#name') would strip the last component of
some/url and resturn some/#name.
- basejoin('file.html', 'relative/path') would return something like
file:/relative/path, making a relative path into an absolute one.
These bugs are fixed by some drastic changes. No scheme is added when
none is present (i.e. it works as replacement for posix.joinpath).
If a scheme is present in the second argument, it is returned
unprocessed. No hostname are added in this case. If no scheme is
present, the scheme of the first argument, if present, is used.
The algorithm is commented profusely.
Also fixed a typo in a comment.
1995-11-10 10:36:07 +00:00
Sjoerd Mullender
825bae7c35
Also remember the module a class is defined in.
1995-11-02 17:21:33 +00:00
Jack Jansen
10d0f8fc40
Renamed module tkinter to _tkinter
1995-10-23 14:36:05 +00:00
Jack Jansen
9715779810
Added class MHMailbox
...
Added optional third parameter to seek.
1995-10-23 13:59:53 +00:00
Guido van Rossum
46f92d2eba
add Listbox.activate()
1995-10-11 17:41:00 +00:00
Guido van Rossum
b61b28b07d
added listbox selection modes
1995-10-11 17:40:37 +00:00
Guido van Rossum
a61bdeb8a9
add delete() method to ftp object
1995-10-11 17:36:31 +00:00
Guido van Rossum
a1db48b75b
fix Menu.add_command etc.
1995-10-09 22:37:28 +00:00
Guido van Rossum
f7f79ac0c8
better version sanity checks; get rid of Widget.unbind_class()
1995-10-07 19:08:37 +00:00
Guido van Rossum
909507dd0b
added NullFormatter
1995-10-06 15:31:30 +00:00
Guido van Rossum
84175bacd1
strip <A> attribute values
1995-10-06 15:30:57 +00:00
Guido van Rossum
650ba37e1d
typos in attrfind regex
1995-10-06 15:30:28 +00:00
Guido van Rossum
d58364e709
added lt, gt, amp back to entity definitions
1995-10-06 15:26:52 +00:00
Jack Jansen
951213e8ca
Use binascii module (resulting in a 60-fold speedup:-)
1995-10-04 16:39:20 +00:00
Jack Jansen
5a49ffca5e
Fixed two minor errors.
1995-10-04 16:36:53 +00:00
Jack Jansen
685e16d7d6
Fixed hexbin handling
1995-10-03 14:41:15 +00:00
Guido van Rossum
96ebbd3082
new after options; text.search; new image methods
1995-09-30 17:05:26 +00:00
Guido van Rossum
8988fb239b
Initial revision
1995-09-30 16:52:24 +00:00
Guido van Rossum
c0e68d1e41
actualized example, catch EOFError, print retrieved lines if debugging>2
1995-09-30 16:51:50 +00:00
Guido van Rossum
928fcede65
actualized example/reference, fix bug w/ nonnumeric port
1995-09-30 16:50:46 +00:00
Guido van Rossum
c7ae92069d
add flush_softspace() interface
1995-09-30 16:49:58 +00:00
Guido van Rossum
e3d9320fc5
allow _ in attr names (Netscape!)
1995-09-30 16:49:36 +00:00
Guido van Rossum
4f399fb642
more robust coding, adapted for mac
1995-09-30 16:48:54 +00:00
Guido van Rossum
65126d5a3d
entity definitions from HTML 2.0 std
1995-09-27 16:22:17 +00:00
Guido van Rossum
c52c1e9b82
Initial revision
1995-09-27 16:22:08 +00:00
Guido van Rossum
453534a84d
added verbose option; added ismap/align/width/height to handle_image args
1995-09-22 00:55:50 +00:00
Guido van Rossum
3c0bfd0dee
fix <!...!> parsing; added verbose option; don't lowercase entityrefs
1995-09-22 00:54:32 +00:00
Guido van Rossum
8421c4e833
actualized example; added xover, xgtitle, xpath, date methods by Kevan Heydon
1995-09-22 00:52:38 +00:00
Guido van Rossum
194e20a9db
add file parameter to all printing fns, default stderr
1995-09-20 20:31:51 +00:00
Guido van Rossum
dc3372e943
new exec syntax
1995-09-18 22:00:37 +00:00
Guido van Rossum
aada0d51a5
Initial revision
1995-09-18 22:00:15 +00:00
Guido van Rossum
71b1a90bad
added getitem/setitem to Image class; changed call wrapping (again)
1995-09-18 21:54:35 +00:00
Guido van Rossum
1c9daa8ba6
handle missing QUERY_STRING
1995-09-18 21:52:37 +00:00
Guido van Rossum
3b7b8131a6
recognize a few more file types
1995-09-18 21:50:43 +00:00
Guido van Rossum
54c1510cb7
improved test/main program
1995-09-18 21:49:24 +00:00
Guido van Rossum
a0dfc7ad65
fixed the test program
1995-09-07 19:28:19 +00:00
Guido van Rossum
aad8692328
Initial revision
1995-09-07 19:22:38 +00:00
Guido van Rossum
a5773ddb23
move constants to Tkconstants; added some; overridable error reporting; fix typo in propagate
1995-09-07 19:22:00 +00:00
Guido van Rossum
b9e39c8861
Filter button should set selection's directory, too
1995-09-01 20:36:47 +00:00
Guido van Rossum
bf4d8f9d87
added OptionMenu class (tk_optionMenu interface)
1995-09-01 20:35:37 +00:00
Guido van Rossum
cf9e27c72e
support value-less attributes, using regex.group()
1995-09-01 20:34:29 +00:00
Guido van Rossum
fd504d9f09
took out forms support (in favor a Grail extension)
1995-09-01 20:33:32 +00:00
Guido van Rossum
a89b1bade5
rationalized os.path.split() so split "/a/" yields "/a", ""
1995-09-01 20:32:21 +00:00
Jack Jansen
8b745126d5
Changed arguments and added a lot of functionality besides
1995-08-30 12:19:30 +00:00
Guido van Rossum
ac4f8d3198
Initial revision
1995-08-29 23:46:35 +00:00
Guido van Rossum
4324536644
forget previous change (content-encoding)
1995-08-29 19:25:11 +00:00
Guido van Rossum
a5cf179f02
encoding can be content-transfer-encoding or content-encoding
1995-08-29 19:19:51 +00:00
Guido van Rossum
ca44540bc8
support overriding how to open unknown url types
1995-08-29 19:19:12 +00:00
Guido van Rossum
92d0932025
changed some commas into percent signs
1995-08-29 19:18:24 +00:00
Guido van Rossum
97162b5b95
exec() -> exec
1995-08-28 02:54:01 +00:00
Guido van Rossum
9d8c5a4cf3
add errno.h
1995-08-28 02:53:41 +00:00
Jack Jansen
ac7c0dfa93
Indent bug
1995-08-17 14:17:39 +00:00
Sjoerd Mullender
9c4585acfa
Removed addbase.__del__ because it can't work.
...
If code keeps a reference to self.fp or any of its methods, you don't
want to close self.fp just because no explicit reference is kept to self.
1995-08-15 11:33:39 +00:00
Jack Jansen
479c1b3008
Put debug output inside 'if DEBUG'.
1995-08-14 12:41:20 +00:00
Sjoerd Mullender
f33a69f273
Temporary fix for access statement.
...
Definition of Error was missing.
1995-08-14 07:49:51 +00:00
Guido van Rossum
e2cb7274ea
exec() -> exec
1995-08-11 14:24:47 +00:00
Guido van Rossum
a49d94af08
test for specific bug in vars()
1995-08-11 14:24:35 +00:00
Guido van Rossum
1d59df28ac
added select_present and select_range to Entry widget
1995-08-11 14:21:06 +00:00
Guido van Rossum
abad1cc647
renamed DbShelf->DbfilenameShelf;added BsdDbShelf (David Ely)
1995-08-11 14:19:16 +00:00
Guido van Rossum
e03a86c3d9
change default flag to match dbm/gdbm
1995-08-11 14:18:27 +00:00
Guido van Rossum
1035a892a1
make sure the path ends in a slash in reload()
1995-08-11 13:56:04 +00:00
Guido van Rossum
9c3241d6d0
exec() -> exec
1995-08-10 19:46:50 +00:00
Guido van Rossum
1a16c868d4
remove file: from list of protocols taking host
1995-08-10 19:45:41 +00:00
Guido van Rossum
30642ab29f
changed version :-)
1995-08-10 19:44:54 +00:00
Guido van Rossum
eae892d232
added note about missing features
1995-08-10 19:43:53 +00:00
Guido van Rossum
a62b1003a6
noted obsolescence; exec() -> exec
1995-08-10 19:43:04 +00:00
Guido van Rossum
894a7bb995
default tabsize to 8
1995-08-10 19:42:05 +00:00
Guido van Rossum
1859600357
fix reload use of __filename__
1995-08-10 19:40:39 +00:00
Guido van Rossum
ba3e46b9ce
fix stupid typo: r->RDLK
1995-08-10 19:38:36 +00:00
Guido van Rossum
99bf06b2fc
same thing as for dospath, plus HOMEDRIVE/HOMEPATH support
1995-08-10 19:34:50 +00:00
Guido van Rossum
92794e30cb
don't print Cannot open/stat messages
1995-08-10 19:32:22 +00:00
Guido van Rossum
baf642ed16
exec() -> exec
1995-08-10 19:31:20 +00:00
Guido van Rossum
9f824a7984
Initial revision
1995-08-10 19:29:28 +00:00
Guido van Rossum
fda5c1a807
redefined normcase()
1995-08-10 19:27:42 +00:00
Guido van Rossum
3b8e1604e8
upgdaded the test program
1995-08-10 19:26:37 +00:00
Guido van Rossum
4ac0050304
revamped somewhat
1995-08-10 19:24:30 +00:00
Guido van Rossum
3e7a697c55
temporarily disabled the access statements
1995-08-10 19:23:37 +00:00
Guido van Rossum
0ec3126222
added normpath() and splitdrive()
1995-08-10 18:09:16 +00:00
Guido van Rossum
f68ec3924e
added note about obsolescence
1995-08-10 18:00:03 +00:00
Guido van Rossum
9d8fe6483d
rather ugly temporary hacks to make it work in grail & restricted mode
1995-08-09 02:33:38 +00:00
Guido van Rossum
6a0691aee4
fix bug in reload
1995-08-09 02:32:49 +00:00
Guido van Rossum
bebe5157a5
add module binascii; add r_unload/s_unload; don't change 'rb' to 'r' in open
1995-08-09 02:32:08 +00:00
Guido van Rossum
aa7634476f
change blank line insertion at a few places and fix recursion bug for </var>
1995-08-09 02:31:00 +00:00
Guido van Rossum
1383356039
added sys.std files, read-only open, reload
1995-08-07 20:19:27 +00:00
Guido van Rossum
221df24940
add splitdrive()
1995-08-07 20:17:55 +00:00
Guido van Rossum
971ee13835
pass the command to sh -c
1995-08-07 20:17:23 +00:00
Guido van Rossum
e0bfd50d76
correct typo (persis*ent)
1995-08-07 20:16:58 +00:00
Guido van Rossum
ec8fd94aab
use new "single" compile option
1995-08-07 20:16:05 +00:00
Guido van Rossum
b7677095d4
make sure os.environ exists (maybe empty)
1995-08-07 20:15:23 +00:00
Guido van Rossum
8755582ef1
add seekable option to __init__
1995-08-07 20:13:56 +00:00
Guido van Rossum
65ab98c427
use mimetools; add close()
1995-08-07 20:13:02 +00:00
Guido van Rossum
e7808778d6
added parse_qs(query_string)
1995-08-07 20:12:09 +00:00
Guido van Rossum
f54d967fec
new formatter module; redid htmllib module to use it
1995-08-07 20:07:44 +00:00
Guido van Rossum
a0eab1d367
Initial revision
1995-08-07 20:07:36 +00:00
Jack Jansen
0a2eaac867
Use binascii module for inner loop
1995-08-07 14:37:38 +00:00
Jack Jansen
fcdffeaaa1
Implement binhex protocol.
...
Note: binhex works, hexbin does not work yet.
1995-08-07 14:36:51 +00:00
Jack Jansen
a68bfe29ec
Added missing walk() function
1995-08-07 14:09:27 +00:00
Guido van Rossum
221ec0b97a
new sendport() interface; add test() program call
1995-08-04 04:39:30 +00:00
Guido van Rossum
28e99fe96f
added format_* functions (suggestion by Ken M)
1995-08-04 04:30:30 +00:00
Guido van Rossum
fb1a0cd74f
subtle changes to relative rurl joins
1995-08-04 04:29:32 +00:00