Guido van Rossum
0903f2a36d
Typo
1998-11-27 03:19:20 +00:00
Guido van Rossum
b5eed0328f
Support underlining of menu labels
1998-11-27 03:19:07 +00:00
Guido van Rossum
6e0a413693
New approach, separate tables for menus (platform-independent) and key
...
definitions (platform-specific), and generating accelerator strings
automatically from the key definitions.
1998-11-27 03:17:49 +00:00
Barry Warsaw
3fe1b14c96
A little more tweakage
1998-11-18 03:45:09 +00:00
Barry Warsaw
2858b43613
A little more tweakage
1998-11-18 03:32:43 +00:00
Barry Warsaw
d81d534aef
A bit of tweakage of the --help and --version options
1998-11-18 03:28:45 +00:00
Barry Warsaw
615a66a5ef
(ChipViewer): Make frame sticky NSEW to fix geometry problem.
1998-11-18 03:15:19 +00:00
Barry Warsaw
93990de252
tweak version number
1998-11-18 03:09:18 +00:00
Barry Warsaw
f79b7e274c
Update
1998-11-18 00:27:14 +00:00
Barry Warsaw
e882b8a92e
Updating
1998-11-18 00:21:09 +00:00
Guido van Rossum
72fe0859d0
Clarify portability and main program.
1998-11-16 18:37:42 +00:00
Guido van Rossum
a017777bd4
Added intro for 0.1 release and append Grail notes.
1998-11-16 18:34:26 +00:00
Barry Warsaw
441abb4c8f
Added a None button to turn off all input sources.
1998-11-02 22:48:56 +00:00
Barry Warsaw
d55049aede
If the module SUNAUDIODEV was generated on an older version of
...
Solaris, the `CD' macro won't exist in the header file, so this will
raise a NameError.
1998-11-01 07:17:24 +00:00
Barry Warsaw
9ade9ddb14
MainWindow.__init__(): Move the import of Tkinter to here so that
...
command line operation is (much) faster.
1998-11-01 07:13:14 +00:00
Barry Warsaw
3febc2443c
Added a version number, --version, and updated the docstring.
1998-11-01 07:10:51 +00:00
Barry Warsaw
e77ec175d2
Rewrite, simplification of command line option parsing. Many GUI
...
fixes. Input sources are mutually exclusive.
1998-11-01 07:03:55 +00:00
Barry Warsaw
2c8b35bdd2
some rewriting, must do command line args
1998-10-31 00:25:14 +00:00
Barry Warsaw
b7d1d63f00
Input stuff
1998-10-30 23:45:41 +00:00
Barry Warsaw
2a06084ed5
Added command line options
1998-10-30 18:21:52 +00:00
Barry Warsaw
11b7ae5121
Initial revision
1998-10-30 16:22:18 +00:00
Guido van Rossum
4089c110a1
root is now a global called _root
1998-10-26 18:49:00 +00:00
Guido van Rossum
d4103883f3
Raise the root window on reset().
...
Different action on WM_DELETE_WINDOW is more likely to do the right thing,
allowing us to destroy old windows.
1998-10-24 16:38:38 +00:00
Guido van Rossum
5ac15bc9c8
Split the goto() function in two: _goto() is the internal one,
...
using Canvas coordinates, and goto() uses turtle coordinates
and accepts variable argument lists.
1998-10-24 16:29:21 +00:00
Guido van Rossum
a96c2d407b
Cope with destruction of the window
1998-10-24 14:03:48 +00:00
Guido van Rossum
3fbe67abd1
Turtle graphics
1998-10-24 05:46:37 +00:00
Guido van Rossum
39926e4bba
Use of Breakpoint class should be bdb.Breakpoint.
1998-10-24 01:28:22 +00:00
Barry Warsaw
cf1daad891
Brief update on the slightly changed API of pyColorChooser.askcolor().
...
Added a To Do list.
1998-10-22 19:00:38 +00:00
Barry Warsaw
2be858230a
__init__(): Removed initialcolor keyword.
...
show(): added color keyword here so that the selected color can be
chosen on each invocation of askcolor().
Also fixed this class, and askcolor() so that the same Chooser
instance can be re-used instead of creating a new one on each
invocation of askcolor().
Added a module function save() which can be used to explicitly save
the option database in ~/.pynche. This does not happen automatically
when used as a modal.
1998-10-22 18:51:22 +00:00
Barry Warsaw
f72d580d5e
sticky should be NSEW to fix pixel weirdness at right edge
1998-10-22 18:48:45 +00:00
Barry Warsaw
4ab5ae2ad0
Error message goes to stderr
...
canceled() takes an optional flag so that the canceled flag can be
cleared.
1998-10-22 18:48:01 +00:00
Barry Warsaw
d9e5214c26
beep => bell
...
deiconify(): New method
1998-10-22 18:46:28 +00:00
Barry Warsaw
877d299292
Fixed running of standalone via command line. Also, only do save from
...
main() so that run-as-modal doesn't automatically save database.
1998-10-22 18:45:52 +00:00
Barry Warsaw
3dd1c39c80
Describe all the new features
1998-10-22 04:14:24 +00:00
Barry Warsaw
a20f6af862
Chooser.__init__(): Added `wantspec' keyword to conform exactly to
...
tkColorChooser.askcolor() interface (i.e. don't return a color name
even if there is an exact match).
1998-10-22 03:44:52 +00:00
Barry Warsaw
ca07ba00ac
Many changes to support a second mode of operation. Pynche can now be
...
run either as a standalone application (by running pynche or
pynche.pyw), or as a modal dialog inside another application. This
can be done by importing pyColorChooser and running askcolor(). The
API for this is the same as the tkColorChooser.askcolor() API, namely:
When `Okay' is hit, askcolor() returns ((r, g, b), "name"). When
`Cancel' is hit, askcolor() returns (None, None).
Note the following differences:
1. pyColorChooser.askcolor() takes an optional keyword `master'
which if set tells Pynche to run as a modal dialog. `master'
is a Tkinter parent window. Without the `master' keyword
Pynche runs standalone.
2. in pyColorChooser.askcolor() will return a Tk/X11 color name as
"name" if there is an exact match, otherwise it will return a
color spec, e.g. "#rrggbb". tkColorChooser can't return a
color name.
There are also some UI differences when running standalone vs. modal.
When modal, there is no "File" menu, but instead there are "Okay" and
"Cancel" buttons.
The implementation of all this is a bit of a hack, but it seems to
work moderately well. I'm not guaranteeing the pyColorChooser.Chooser
class has the same semantics as the tkColorChooser.Chooser class.
1998-10-22 03:25:59 +00:00
Barry Warsaw
8a09e1ccda
Saving/Restoring state into ~/.pynche file
1998-10-20 20:45:46 +00:00
Guido van Rossum
8fd0f147e7
Detlef Lannert lannert@lannert.rz.uni-duesseldorf.de notices:
...
"""
the NEWS file of Python 1.5.2a2 inspired me to look at
Tools/scripts/untabify.py. I wonder why it accepts a -t argument
but ignores it. The following patch tries to make it somewhat useful
(i.e., to override the tabsize=8 setting). Is that agreeable?
"""
1998-10-20 15:33:33 +00:00
Guido van Rossum
7b9bb05df9
Speed up the search a bit -- don't drag a mark around...
1998-10-19 03:33:40 +00:00
Guido van Rossum
cc0ade8cd5
Change our special entries from <console#N> to <pyshell#N>.
...
Patch linecache.checkcache() to keep our special entries alive.
Add popup menu to all editor windows to set a breakpoint.
1998-10-19 02:26:16 +00:00
Guido van Rossum
b52cfa1d97
Use and pass through the 'force' flag to set_dict() where appropriate.
...
Default source and globals checkboxes to false.
Don't interact in user_return().
Add primitive set_breakpoint() method.
1998-10-19 02:24:40 +00:00
Guido van Rossum
6c5baeb6df
Raise priority of 'sel' tag so its foreground (on Windows) will take
...
priority over text colorization (which on Windows is almost the
same color as the selection background).
Define a tag and color for breakpoints ("BREAK").
1998-10-19 02:22:41 +00:00
Guido van Rossum
0737430bf8
Disable "Open stack viewer" and "help" commands.
1998-10-19 02:20:30 +00:00
Guido van Rossum
105b9c7de4
Add optional 'force' argument (default 0) to load_dict().
...
If set, redo the display even if it's the same dict.
1998-10-19 02:19:30 +00:00
Barry Warsaw
f3dcafecd3
The driver script on Unix is `pynche'; for Windows `pynche.pyw'
1998-10-16 22:29:18 +00:00
Guido van Rossum
179c36e411
Do nothing when loading the same dict as before.
1998-10-16 21:10:12 +00:00
Guido van Rossum
adfe773d2c
Details for debugger interface.
1998-10-16 21:09:35 +00:00
Guido van Rossum
3fb3515303
Restructured and more consistent. Save checkboxes across instantiations.
1998-10-16 21:09:05 +00:00
Guido van Rossum
baf53b4ea8
Get rid of conflicting ^X binding. Use ^W.
1998-10-16 20:08:34 +00:00
Guido van Rossum
5188a25efe
Debugger can now show local and global variables.
1998-10-16 18:59:39 +00:00
Guido van Rossum
6b384833f3
Oops
1998-10-16 17:16:59 +00:00
Guido van Rossum
80d132deda
Better debugger support (show stack etc).
1998-10-16 16:12:11 +00:00
Guido van Rossum
92a67d7847
Follow renames in StackViewer module
1998-10-16 16:11:08 +00:00
Guido van Rossum
88d9007038
Rename classes to StackViewer (the widget) and StackBrowser (the toplevel).
1998-10-16 16:10:45 +00:00
Guido van Rossum
95ef4982ed
Add close() method
1998-10-16 16:10:09 +00:00
Guido van Rossum
e1dedc096e
Clarify 'Open Module' dialog text
1998-10-16 16:09:57 +00:00
Guido van Rossum
04430793ed
Restructured into a browser and a widget.
1998-10-16 04:02:28 +00:00
Guido van Rossum
e6fae1cbca
Generalized the scrolled list which is the base for the class and
...
method browser into a separate class in its own module.
1998-10-15 23:27:08 +00:00
Guido van Rossum
99d3c48772
Cosmetic change
1998-10-15 14:08:20 +00:00
Guido van Rossum
b7ffca393f
Don't show function name if there is none
1998-10-15 12:18:49 +00:00
Barry Warsaw
840a84d37a
Updated __main__ unit test
1998-10-15 02:18:08 +00:00
Guido van Rossum
35e55da7dc
Polish the Debugger GUI a bit.
...
Closing it now also does the right thing.
1998-10-14 03:43:05 +00:00
Guido van Rossum
35f7542e83
Ad primitive debugger interface (so far it will step and show you the
...
source, but it doesn't yet show the stack).
1998-10-13 23:51:13 +00:00
Guido van Rossum
f035d3bfe1
Misc
1998-10-13 23:49:55 +00:00
Guido van Rossum
ad24ae10df
Whoops -- referenced self.top before it was set.
1998-10-13 20:00:02 +00:00
Guido van Rossum
423938a852
Added history and completion commands.
1998-10-13 17:38:03 +00:00
Guido van Rossum
ca5619cc5b
Updated
1998-10-13 17:32:27 +00:00
Guido van Rossum
7895562f88
Add class browser functionality.
1998-10-13 16:32:44 +00:00
Guido van Rossum
ae08d3897a
Add a close() method and bind to WM_DELETE_WINDOW protocol
1998-10-13 16:32:29 +00:00
Guido van Rossum
1956352b08
Clear the linecache before printing a traceback
1998-10-13 16:32:05 +00:00
Guido van Rossum
49c1a7ebc2
Added class browser binding.
1998-10-13 16:31:46 +00:00
Guido van Rossum
7f5c9ef5fd
Much improved, much left to do.
1998-10-13 16:31:03 +00:00
Guido van Rossum
3f08d40bd8
Make the return key do what I mean more often.
1998-10-13 15:21:41 +00:00
Guido van Rossum
4650df96bf
Make the return key do what I mean more often.
1998-10-13 14:41:27 +00:00
Guido van Rossum
439c467a0c
Adding the beginnings of a Class browser. Incomplete, yet.
1998-10-13 03:59:57 +00:00
Guido van Rossum
b341888971
Add new command, "Open module". You select or type a module name,
...
and it opens the source.
1998-10-13 03:45:15 +00:00
Guido van Rossum
5af7a72d8b
Subsume functionality from Popup menu in Debug menu.
...
Other stuff so the PyShell window can be resurrected from the Windows menu.
1998-10-12 23:59:27 +00:00
Guido van Rossum
82e44b10b8
Get rid of PopUp menu.
...
Create a simple Windows menu. (Imperfect when Untitled windows exist.)
Add wakeup() method: deiconify, raise, focus.
1998-10-12 23:57:48 +00:00
Guido van Rossum
e7b2e651df
Generalize menu creation.
1998-10-12 23:56:08 +00:00
Guido van Rossum
219ffde846
Add Debug and Help menu items.
1998-10-12 23:55:10 +00:00
Guido van Rossum
2aeeb55949
Added a menu bar to every window.
1998-10-12 21:01:37 +00:00
Guido van Rossum
d8d676c289
Add menu configuration to the event configuration.
1998-10-12 20:57:09 +00:00
Guido van Rossum
d020cf3d7d
Pass a root to the help window.
1998-10-12 20:55:43 +00:00
Guido van Rossum
69ef7d6220
Add parent argument to 'to to line number' dialog box.
1998-10-12 16:07:27 +00:00
Guido van Rossum
8571ed8647
Add a label at the top showing (very basic) help for the stack viewer.
...
Add a label at the bottom showing the exception info.
1998-10-10 19:15:32 +00:00
Guido van Rossum
3d0669d8a1
Add Unix main script and test program.
1998-10-10 18:58:15 +00:00
Guido van Rossum
3b4ca0ddad
Initial checking of Tk-based Python IDE.
...
Features: text editor with syntax coloring and undo;
subclassed into interactive Python shell which adds history.
1998-10-10 18:48:31 +00:00
Guido van Rossum
e33bba8d3d
New version that is much more compact and easier to maintain. (Sjoerd)
1998-10-09 13:27:49 +00:00
Guido van Rossum
9c2c1e88a3
Fix multi-arg list.append() calls.
1998-10-08 15:24:48 +00:00
Guido van Rossum
a57c9b928d
Added a whole bunch of descriptions.
1998-10-07 19:52:35 +00:00
Guido van Rossum
19b23e538e
Use the imp module to get the magic word.
1998-10-07 19:45:33 +00:00
Guido van Rossum
41f13f288f
Added #! line
1998-10-07 14:46:09 +00:00
Barry Warsaw
bac609a69e
Updated about text
1998-10-07 03:40:29 +00:00
Barry Warsaw
0926deacd5
Moved the main pynche.py file to Main.py. Added minimal driver
...
scripts pynche.py and pynche.pyw for Unix and Windows startup
respectively. Document the .pyw file in the README.
1998-10-07 03:36:58 +00:00
Barry Warsaw
c958043233
Better layout of options menu and inc/dec buttons
1998-10-07 03:19:33 +00:00
Barry Warsaw
8934af00d8
Fixes for some type-in strangeness
1998-10-07 02:44:17 +00:00
Barry Warsaw
cd63dc9f3d
Add a note about the console window
1998-10-06 23:09:49 +00:00
Barry Warsaw
9cdd44f714
Never mind
1998-10-06 23:08:02 +00:00
Barry Warsaw
1c792d5e10
Add link for Windows
1998-10-06 23:06:24 +00:00
Barry Warsaw
84f52e0a16
RightARrow._create(): justify=RIGHT on the text object
1998-10-06 23:04:55 +00:00
Barry Warsaw
e55055d0d4
A readme
1998-10-06 23:03:22 +00:00
Barry Warsaw
da7502e8ad
Add a SELECTION to the pre-inserted text
1998-10-06 21:40:22 +00:00
Barry Warsaw
3886e3aebb
Copyright CNRI
1998-10-06 20:49:20 +00:00
Barry Warsaw
6bfd655c2a
Added the rgb.txt file from X11R6.4, including the license
1998-10-06 20:44:14 +00:00
Barry Warsaw
4f632357d4
Initial revision
1998-10-06 20:42:05 +00:00
Barry Warsaw
e7f4a47bbf
Better initial color choosing
1998-10-06 19:50:33 +00:00
Barry Warsaw
45c8d34216
Better quitting
1998-10-06 19:48:35 +00:00
Barry Warsaw
3836503acd
Converted to newstyle menubars
1998-10-06 19:39:34 +00:00
Barry Warsaw
56af4448e1
Update main window when Update on Click is turned on
1998-10-06 18:56:31 +00:00
Barry Warsaw
ad3a67cc84
Added version number in the About window
1998-10-06 18:52:59 +00:00
Barry Warsaw
3a476e9b35
Track color changes: disable buttons and their labels when turned off
1998-10-06 18:46:57 +00:00
Barry Warsaw
332aa4cf0a
Color Variation Ties => Move Sliders
...
Moved buttons to the top
1998-10-06 18:29:22 +00:00
Barry Warsaw
c4a9b3d923
main(): Better recovery when bogus color given on command line
1998-10-06 18:13:20 +00:00
Barry Warsaw
b7b1cf0088
rrggbb_to_triplet(): When color doesn't start with `#' raise a
...
BadColor exception.
1998-10-06 18:10:59 +00:00
Barry Warsaw
5b67839ca3
Added a hex button so arrow numbers can display in decimal or hex.
1998-10-06 16:13:35 +00:00
Barry Warsaw
c2d8f573eb
__togglehex(): Simplify
1998-10-06 16:08:39 +00:00
Barry Warsaw
73290dff30
hexp() => hexp_var()
1998-10-06 15:50:36 +00:00
Barry Warsaw
6831c30143
hexp(): New function
1998-10-06 15:49:19 +00:00
Barry Warsaw
a398924c6a
__normalize(): Preserve the location of the icursor and restore it so
...
that Left/Right arrow keys and C-a C-e all work.
1998-10-06 15:47:45 +00:00
Barry Warsaw
ae4ad6e454
Changed the grey/magenta/cyan/yellow label text slightly.
...
Changed Color Ties label to Color Variation Ties
1998-10-06 15:41:31 +00:00
Barry Warsaw
14e2cafe21
usage(): Print msg at end of docstring
...
main(): Fixed logic error and reporting when no colordb was found.
Given by GvR.
1998-10-06 15:21:04 +00:00
Barry Warsaw
7c51a9a80b
Title
1998-10-05 21:31:37 +00:00
Barry Warsaw
c078b03d7f
Finished implementation + docstring
1998-10-05 21:29:04 +00:00
Barry Warsaw
964fbbbc61
Added Alt-w bindings
1998-10-05 21:15:08 +00:00
Barry Warsaw
9044b8e5e3
Added details window
1998-10-05 21:14:46 +00:00
Barry Warsaw
cd09867c57
current_rgb(): New method
1998-10-05 21:14:12 +00:00
Barry Warsaw
3d314390ab
*** empty log message ***
1998-10-05 19:12:32 +00:00
Barry Warsaw
69a4ab5a04
Docstring
1998-10-02 16:27:40 +00:00
Barry Warsaw
4638c5b7f3
Docstring
1998-10-02 16:20:14 +00:00
Barry Warsaw
eb61fbdba8
Docstring
1998-10-02 16:06:27 +00:00
Barry Warsaw
bd36d6eccd
Added the ListViewer
1998-10-02 16:05:48 +00:00
Barry Warsaw
a9053f65de
Updated docstring.
1998-10-02 16:01:42 +00:00
Barry Warsaw
9f3ea211dd
all_names(): => unique_names()
...
aliases_of(): New method
1998-10-02 15:59:20 +00:00
Barry Warsaw
ddb9fc1ebd
Added docstring
1998-10-02 15:58:50 +00:00
Barry Warsaw
b44056ec94
Functionality complete
1998-10-02 15:52:10 +00:00
Barry Warsaw
8be2594a24
all_names(): Return just the unique names of rgb colors
1998-10-02 14:43:30 +00:00
Barry Warsaw
b55c4ad58d
Got click on working. Dragging is disabled for now
1998-10-02 14:34:03 +00:00
Barry Warsaw
ff45d54f31
resolve(): Improved use of a/an, suggested by Tino Wildenhain
...
<cdtv@amigager.de>.
1998-10-02 14:14:39 +00:00
Barry Warsaw
399f10cd66
Lots of good UI working, but not yet update-while-dragging
1998-10-01 22:03:25 +00:00
Barry Warsaw
46670a2d42
*** empty log message ***
1998-10-01 21:40:48 +00:00
Barry Warsaw
4ab5d85efa
Change some init order
1998-10-01 16:47:06 +00:00
Barry Warsaw
a7ba45b7b6
update_views_current(): New method
1998-10-01 16:46:43 +00:00
Barry Warsaw
86daeb7909
Added View button and popup of text widget
1998-10-01 16:46:16 +00:00
Barry Warsaw
f9c6ddc40a
*** empty log message ***
1998-10-01 16:45:32 +00:00
Barry Warsaw
231c8c0895
Gridify this widget
1998-10-01 14:26:57 +00:00
Barry Warsaw
b26743ac48
Make sure the menubar is stretched
1998-10-01 14:26:26 +00:00
Barry Warsaw
65f0b6be47
Add a nice divider
1998-10-01 14:26:04 +00:00
Barry Warsaw
85e6965071
Fixed toggle b/w hex and decimal
1998-10-01 13:41:05 +00:00
Barry Warsaw
d344165f48
Added options to visible window
1998-10-01 03:08:07 +00:00
Barry Warsaw
aa40b556fd
Groove for debugging
1998-10-01 03:07:20 +00:00
Barry Warsaw
03e8a31eb3
Get rid of Edit menu
1998-10-01 03:06:04 +00:00
Barry Warsaw
0fa6e4b421
Added options to visible window
1998-10-01 02:57:05 +00:00
Barry Warsaw
fda3aceb71
Added interface to get/set colordb
1998-09-29 20:04:19 +00:00
Barry Warsaw
a9b45580a3
Removed old cruft, added raw about dialog
1998-09-29 20:03:53 +00:00
Barry Warsaw
7a13418e12
Changed interface for nearest() method to take individual red, green,
...
blue values instead of tuple
1998-09-29 20:03:15 +00:00
Barry Warsaw
420201972e
Got updating with Return/Tab working
1998-09-29 20:02:27 +00:00
Barry Warsaw
885b371e33
Un PMW-ified
1998-09-29 19:51:18 +00:00
Barry Warsaw
d7d4725dba
Added an extra frame in widget heirarchy in case I want to add
...
separators later
1998-09-29 17:36:43 +00:00
Barry Warsaw
dc492e6738
Un PMW-ified
1998-09-29 15:44:20 +00:00
Barry Warsaw
63c9e9851e
Rework startup
1998-09-28 23:41:53 +00:00
Barry Warsaw
1ac18cd326
simplify
1998-09-28 23:41:12 +00:00
Barry Warsaw
0e3e699178
triplet_to_brightness(): New function
1998-09-28 23:39:18 +00:00
Barry Warsaw
a69c1ba0aa
De PMW-ify
1998-09-28 23:38:44 +00:00
Barry Warsaw
26f4b5dfe4
Fixed the brightness calculation
1998-09-28 22:52:02 +00:00
Barry Warsaw
0dc9c92b10
Updated to new post-PMW framework. Moved generators to here and added
...
the StripViewer class.
1998-09-28 22:42:44 +00:00
Barry Warsaw
5177c48411
formatting
1998-09-28 21:01:55 +00:00
Barry Warsaw
6a3ea7468e
Un PMW-ified
1998-09-28 20:58:06 +00:00
Barry Warsaw
04c7886764
Un PMW-ified
1998-09-28 16:28:04 +00:00
Barry Warsaw
987fb9225f
Initial revision
1998-09-28 15:59:21 +00:00
Barry Warsaw
a5a018fbd4
Fixed unit test
1998-09-25 22:51:36 +00:00
Guido van Rossum
f9a6d7d494
Print serious errors to stderr instead of stdout.
1998-09-14 16:22:21 +00:00
Guido van Rossum
caf9fca35a
nannified
1998-09-14 16:03:02 +00:00
Guido van Rossum
e7e632ab6b
Nannified.
1998-09-14 16:02:28 +00:00
Guido van Rossum
a53f30babc
nannified
1998-09-14 15:57:09 +00:00
Guido van Rossum
4e96ec6a4e
nannified.
1998-09-14 15:56:40 +00:00
Guido van Rossum
09eea82005
Utility to replace CRLF with LF in argument files.
1998-09-14 15:46:41 +00:00
Guido van Rossum
499a6e5fd4
Utility to replace LF with CRLF in argument files.
1998-09-14 15:46:15 +00:00
Guido van Rossum
ce85827ac1
Utility to untabify stubber results.
1998-09-14 15:43:38 +00:00
Guido van Rossum
9819983994
Beh, new version must be edited in a separate file.
1998-09-04 21:20:29 +00:00
Guido van Rossum
2053aa6cc0
Use SCRIPT_NAME (if defined) instead of hardcoding /cgi-bin/ when
...
sending the cookie. (Suggestion by AMK.)
1998-09-04 21:19:55 +00:00
Guido van Rossum
859b407cf1
Ignore cruft generating by the test run for hello.py.
1998-08-25 15:27:36 +00:00
Guido van Rossum
baf0603493
New version, with contributions from Sjoerd Mullender and Mark Hammond.
...
Sjoerd writes:
This version of freeze creates one file per Python module, instead of
one humongous file for all Python modules.
bkfile: new module to used to write files with backups. No new file
is produced if the new contents is identical to the old.
New option "-x excluded-module" for modulefinder test program.
New option "-i filename" for freeze main program to include a list of
options in place of the -i option.
1998-08-25 14:06:55 +00:00
Guido van Rossum
ee60eb127b
New tool: reverse grep (greps from the end). Uses a fairly efficient
...
strategy to read from the end of the file.
1998-08-12 17:47:52 +00:00
Guido van Rossum
e7f3953142
A script by Mark-Andre Lemburg to produce the PC/python_nt.def file
...
automatically.
1998-08-10 13:12:22 +00:00
Guido van Rossum
a42c1ee21d
Added note() message to Page class -- this was used but didn't exist.
...
(The alternative would be to call self.checker.note() but since
self.checker might be None that's not quite right.
1998-08-06 21:31:13 +00:00
Guido van Rossum
b77a68e6b1
Rewrite to support multiple suckers, each with their own thread.
1998-07-08 03:05:22 +00:00
Guido van Rossum
125700addb
Instead of printint, use self.message() or self.note().
1998-07-08 03:04:39 +00:00
Guido van Rossum
5e32a77fcd
Minor change for windows; set extensions_c later and set
...
frozendllmain_c at the right place.
1998-07-07 22:47:38 +00:00
Guido van Rossum
d94c2dc5e8
# Bump version because of checkin to faqwiz.py. :-(
1998-07-07 22:39:47 +00:00
Guido van Rossum
0922a56965
Don't add <...> around mail addresses; they may already be there.
1998-07-07 22:39:21 +00:00
Guido van Rossum
b3bf2cd64b
# The variable total is never used somehow. I think I had plans for
...
# it but can't remember what. Get rid of a comparison that breaks.
1998-07-02 22:17:28 +00:00
Guido van Rossum
a25969620a
Fix by Sjoerd Mullender to support symbolic links and make a backup of
...
.mirrorinfo. Fix by me to call string.lstrip(filename) to cope with a
bug in strop.strip() in Python 1.4. Additionally, I changed all print
statements that print filenames etc. to put them in backquotes so that
it will be more obvious when there's a funny character on one of them
(such as a space...).
1998-06-29 23:17:16 +00:00
Guido van Rossum
f57736e77a
Translated to use re instead of regex. Also replaced one use of
...
L.append(a,b,c,d) with the correct L.append((a,b,c,d)).
1998-06-19 21:39:27 +00:00
Guido van Rossum
0a13f7f23a
# This is a new module I wrote over the weekend. Again, you missed the
...
# checkin email because my PC doesn't have the "Mail" command.
Add threading (now that it works). Also some small adaptations to
Unix again.
1998-06-15 14:49:16 +00:00
Guido van Rossum
e3bd82117f
Primitive GUI for websucker.
1998-06-15 12:35:19 +00:00
Guido van Rossum
d328a9b5f4
Fix the way a trailing / is changed to /index.html so that it
...
doesn't depend on the value of os.sep. (I.e. ported to Windows :-)
1998-06-15 12:34:41 +00:00
Guido van Rossum
6eb9d32c43
sort the urls in the todo list
1998-06-15 12:33:02 +00:00
Guido van Rossum
c8f859a487
Jonathan Giddy:
...
This second problem only shows up if LDLAST is not an empty string (such
as with threads enabled on DEC Alphas).
1998-06-12 14:09:34 +00:00
Guido van Rossum
590fc2c4fa
Jonathan Giddy:
...
The first one only shows up if $prefix != $exec_prefix, and the problem
is caused by the recent change in location for config.h.
1998-06-12 14:09:03 +00:00
Guido van Rossum
aa2a7a4ae6
From: "Tim Peters" <tim_one@msn.com>
...
The 1.5.1 tabnanny.py suffers an assert error if fed a script whose last
line is both indented and lacks a newline:
if 1:
print 'oh fudge' # no newline here:
The attached version repairs that.
1998-06-09 19:02:21 +00:00
Guido van Rossum
0f1e1fc3fa
Don't die if win32api doesn't exist.
1998-05-26 02:51:40 +00:00
Guido van Rossum
55b40b06d2
Fix a dumb typo in the revparse() regular exception: {1-4} should be {1,4}.
...
Now you can click on revisions and diffs again!
1998-05-22 19:43:21 +00:00
Guido van Rossum
6c3a2cbc52
whrandom -> random
1998-05-20 17:13:01 +00:00
Guido van Rossum
110f3652d6
Additions for Mark Hammond's Win32 specific hacks.
1998-05-19 20:18:37 +00:00
Guido van Rossum
e35c60156b
Add a feature to support specifying an additional search directory for
...
packages. (Mark Hammond)
Folded some long lines.
1998-05-18 20:25:54 +00:00
Guido van Rossum
ce5988b3d9
Remove Emacs cruft.
1998-05-18 20:22:31 +00:00
Guido van Rossum
f1b5a0e3aa
Add a feature to support specifying an additional search directory for
...
packages. (Mark Hammond)
Remove Emacs cruft.
1998-05-18 20:21:56 +00:00
Guido van Rossum
1f05cb007a
OK, here's a different way to implement the same thing -- this version
...
also supports filenames with multiple spaces in their name :-)
1998-05-12 22:45:43 +00:00
Guido van Rossum
aeeda5b276
Support filenames with spaces in their names (for non-Mac ftp servers).
...
This patch must hold the world record for living in my inbox:
From: John Ehresman <jehresma@dsg.harvard.edu>
Date: Wed, 23 Aug 1995 16:07:11 -0400
He provided a fix for the version that comes with Python 1.3:
ftpmirror.py revision 1.1... And it was still relevant!
1998-05-12 22:36:11 +00:00
Guido van Rossum
27c225e826
Add the specific sed statement to recover the second output file to
...
the comments.
1998-05-08 21:04:06 +00:00
Guido van Rossum
83b851885d
Adding Tim Peters' ndiff utility.
...
This is handy for comparing plain-text documentation files,
since it displays intra-line differences.
1998-05-06 17:43:30 +00:00
Guido van Rossum
4a114313a8
After variable expansion, what was formerly a single word can now
...
contain multiple words, all of which may have to be joined with the
path of the extension directory.
(Sjoerd)
1998-05-06 14:38:30 +00:00
Guido van Rossum
e10053b881
Remove Emacs cruft at end.
1998-05-06 14:37:41 +00:00
Guido van Rossum
92f01c54d4
accept * in return value type and convert it to _ptr after the
...
typename, as in argument types.
(Jack)
1998-04-28 16:04:50 +00:00
Guido van Rossum
db9a7b9ef6
Style and StyleParameter are two different types.
...
(Jack)
1998-04-28 16:04:26 +00:00
Guido van Rossum
8b3c30c0eb
class ByAddressType, a simple Type but passed by address even on
...
input.
(Jack)
1998-04-28 16:04:12 +00:00
Guido van Rossum
53117ae82a
typo in error message (fname vs. file).
...
(Jack)
1998-04-28 16:01:13 +00:00
Guido van Rossum
bee64533d6
Use a try-except so that the pickle file is written even when we die
...
because of an unexpected exception.
1998-04-27 19:35:15 +00:00
Barry Warsaw
6a508aef7d
Use the (new) standard script #! line
...
Convert to re module; remove all references to regexp and regsub
Added support for the new texinfo @url{} and @email{} commands
1998-04-23 22:59:33 +00:00
Guido van Rossum
a937afd363
Freeze assumes that all built-in modules are part of the Python core.
...
This is not necessarily the case. It is possible to create a Python
binary which contains built-in extension modules. Therefore
checkextensions should be used for all unknown and builtin modules.
(Sjoerd Mullender)
1998-04-23 14:39:24 +00:00
Guido van Rossum
1abfb9c0f5
If freezing with the -O option, the optimized bytecode files are
...
used. It is useful to implicitly set the -O flag in the frozen
application.
(Sjoerd Mullender)
1998-04-23 14:39:05 +00:00
Guido van Rossum
df1940717d
When using extention modules, relative path names that occur in the
...
Setup file are fixed so that they will work from the freeze build
directory. However, relative path names in liner -L and -R options
are not fixed in this way.
(Sjoerd Mullender)
1998-04-23 14:38:46 +00:00
Guido van Rossum
23cff3170e
Shouldn't import addpack!
1998-04-20 17:53:19 +00:00
Guido van Rossum
9cd9fbb72a
Change the example of what's in scripts/.
1998-04-10 20:58:53 +00:00
Guido van Rossum
a16a509dfc
tabnanny stuff
1998-04-10 19:15:27 +00:00
Guido van Rossum
ce73acf5e6
Tim's version 4, with my mods
1998-04-10 19:14:59 +00:00
Guido van Rossum
685fe839a9
This really needs python 1.5 now...
1998-04-08 21:37:13 +00:00
Guido van Rossum
8053d89f7b
Add usage message when no arguments.
1998-04-06 14:45:26 +00:00
Guido van Rossum
f4b44fa6ef
Tim's latest version (supports old and new tokenize modules)
1998-04-06 14:41:20 +00:00
Guido van Rossum
986abac1ba
Give in to tabnanny
1998-04-06 14:29:28 +00:00
Guido van Rossum
36dfbcf323
Version 1.0 is official!
1998-04-06 14:25:36 +00:00
Guido van Rossum
72dc60ca92
Untabified, for tabnanny.
1998-04-06 14:24:36 +00:00
Guido van Rossum
e4e41062f5
Reindented without tabs and with uniform 4 space indent.
1998-04-06 14:20:27 +00:00
Guido van Rossum
88c6bdf042
posix->os.
1998-04-03 22:27:04 +00:00
Guido van Rossum
9ab75cbaab
Tim Peters' program for checking whether a program's indentation is
...
sensitive to tab size. Uses a different strategy than tabpolice.py,
but has compatible usage.
1998-03-31 14:31:39 +00:00
Guido van Rossum
97df7f8679
Add -q option that *just* prints the filename.
1998-03-26 19:23:43 +00:00
Guido van Rossum
ed5b3d8b3c
give in to tab police
1998-03-24 05:30:29 +00:00
Guido van Rossum
3db0e3713c
Report first line with inconsistent tab usage.
1998-03-24 04:58:04 +00:00
Guido van Rossum
6f73c1a2ac
The Tab Police watches for possibly inconsistent indentation.
1998-03-20 19:23:04 +00:00
Guido van Rossum
78fc3634cb
Big changes by Mark Hammond to support freezing with DLLs on Windows.
1998-03-20 17:37:24 +00:00
Barry Warsaw
a341fc3bf7
update while dragging defaults to 0
1998-03-17 16:19:05 +00:00
Barry Warsaw
ee6d8a5b45
No update while dragging still tracks the arrows
1998-03-17 15:59:26 +00:00
Barry Warsaw
abae22fa5e
Get rid of Entrywidget
1998-03-16 23:35:11 +00:00
Barry Warsaw
627857e957
Add option for no updates on typing
1998-03-16 23:09:04 +00:00
Barry Warsaw
70787ed8ae
Add option for no updates on dragging
1998-03-16 23:08:53 +00:00
Barry Warsaw
a114eb5bd3
Use the new PyncheOptions widget
1998-03-16 23:08:35 +00:00
Barry Warsaw
55f0aabe88
example output is different
1998-03-13 18:33:34 +00:00
Barry Warsaw
0eae830dec
Typos in the docstring fixed by Detlef Lannert
...
<lannert@uni-duesseldorf.de>
1998-03-13 18:27:12 +00:00
Barry Warsaw
fb34c92628
Added URL for UK
1998-03-12 14:05:37 +00:00
Barry Warsaw
844e664e9d
Added a hack to deal with common practice 'uk' for United Kingdom
1998-03-12 13:15:28 +00:00
Barry Warsaw
521b8e1cd8
Use RCS revisions
1998-03-11 16:53:21 +00:00
Barry Warsaw
c0b965b81b
Updated the docstring
1998-03-11 16:50:31 +00:00
Barry Warsaw
d2c210df62
Added reverse lookup
1998-03-11 16:46:04 +00:00
Barry Warsaw
5bfac8d7fd
Integrate with OptionsWindow... need to hook into Tab key
1998-03-10 00:17:30 +00:00
Barry Warsaw
f67575d69d
Integrate with OptionsWindow... not sure it should be modal
1998-03-10 00:17:01 +00:00
Barry Warsaw
31ac518dd7
Cosmetic
1998-03-10 00:16:09 +00:00
Guido van Rossum
2addd2a6da
Add quotes around some variable definitions; add a "clean" target.
1998-03-07 05:10:00 +00:00
Guido van Rossum
cef85a29f7
Adapted to the new situation.
1998-03-07 04:51:54 +00:00
Guido van Rossum
a0e18357e7
Rearrange some stuff so that the warning for unknown modules is also
...
issued on Windows.
1998-03-07 04:51:03 +00:00
Guido van Rossum
31d53ed93c
When writing the Windows Makefile, don't forget to strip some filenames
...
of their output directory prefix.
1998-03-07 04:08:04 +00:00
Guido van Rossum
0b0e7b5686
Got rid of the last tab character in this file.
1998-03-06 19:55:36 +00:00
Guido van Rossum
ab045f952c
Always set the __file__ attribute, so dynamic link modules are indicated.
1998-03-06 19:55:10 +00:00
Guido van Rossum
b7da642e2e
Fix typo -- -e takes a flag, -h doesn't. Somehow the colon and the h
...
got transposed.
1998-03-06 17:44:57 +00:00
Guido van Rossum
88b02cf346
Use a better way to bind the checkext instance variable to a check
...
button widget, not involving a __getattr__() method but a callback on
the widget.
1998-03-05 20:12:18 +00:00
Guido van Rossum
e0394259b0
Unfold some lines that were previously folded but don't need to be
...
now we're reindented.
Remove files before renaming something to them -- for Windows.
Change check for Python home directory so it works correct on Windows.
1998-03-05 05:39:50 +00:00
Guido van Rossum
541e783664
Reindented, removed tabs.
...
Also added simple "clean" target (removes *.o and executable).
1998-03-05 05:22:36 +00:00
Guido van Rossum
3c51cf2b69
Oops, bug omission: also scan internal code objects for imports!
1998-03-05 05:15:07 +00:00
Guido van Rossum
912a14c028
Reindented, removed tabs.
1998-03-05 04:56:37 +00:00
Guido van Rossum
1e07403bbf
Some nits...
...
Add the script directory to the path.
Fix the sanity checks on the arguments so they don't mess up the -m
option; remove the requirement that the script must have a .py
extension.
1998-03-05 04:05:38 +00:00
Guido van Rossum
75dc4969ab
Added support for packages.
...
We have a whole new module finder that uses the actual Python
parser and scans the bytecode for IMPORT_NAME and IMPORT_FROM.
This requires some support in import.c (that hasn't been checked in).
New command line options for this: -d, -q, -m.
1998-03-05 03:42:00 +00:00
Guido van Rossum
f888350dec
Untested changes to make the '-s windows' option
...
work on Windows.
1998-03-04 18:12:39 +00:00
Guido van Rossum
557f446618
Patches from Jack for new Apple headers
1998-02-23 15:30:44 +00:00
Guido van Rossum
1a7eae919a
Adapt to new webchecker structure. Due to better structure of
...
getpage(), much less duplicate code is needed -- we only need to
override readhtml().
1998-02-21 20:08:39 +00:00
Guido van Rossum
00756bd4a6
Major overhaul. Don't use global variable (e.g. verbose); use
...
instance variables. Make all global functions methods, for easy
overriding. Restructure getpage() for easy overriding. Add
save_pickle() method and load_pickle() global function to make it
easier for other programs to emulate the toplevel interface.
1998-02-21 20:02:09 +00:00
Guido van Rossum
64a1090d1b
Change default RCS bin directory to /usr/local/bin/.
1998-02-19 21:29:38 +00:00
Barry Warsaw
2e7a32046b
rrggbb_to_triplet(), triplet_to_rrggbb(): Improvements given by GvR
1998-02-18 17:01:12 +00:00
Barry Warsaw
4435d5a8d8
Very modest improvements
1998-02-18 17:00:24 +00:00
Barry Warsaw
49c5b0d1be
Get rid of commented out, slower versions
1998-02-18 16:22:52 +00:00
Barry Warsaw
4c2fab51ed
Implementation using TCLPROC loaded into the Tcl interpreter
1998-02-18 16:22:22 +00:00
Barry Warsaw
d7300f8f56
__modified(): Make sure `rgbs' is a tuple
1998-02-18 00:06:20 +00:00
Barry Warsaw
f67a50c2e1
Several optimizations:
...
self.__chips now contains the list of rgbtuple values for the
chips named i - 1 (Tkinter counts from 1, we count from zero).
The chip number was just the index + 1. This means color lookup
need not do an itemcget(), it can just index into __chips.
instead of calling __canvas.itemconfigure(), we glom up a huge Tcl
script and call tk.eval() directly. Actually we do many appends
to a Python list, then string.join() them together into one huge
string. This reduces the overhead of Tkinter but making one fast
call to Tcl.
1998-02-18 00:05:59 +00:00
Barry Warsaw
8d3e5ee552
Cache conversions from triplets to rrggbb's and vice versa. Wasteful
...
on space, but improves performance. Also use map to calculate
triplet_to_pmwrgb().
1998-02-18 00:02:26 +00:00
Barry Warsaw
552ac1795a
Added about dialog
1998-02-17 22:25:23 +00:00
Barry Warsaw
bc6893062a
Added chip selection stuff, strip label
1998-02-17 03:09:40 +00:00
Barry Warsaw
93737b2da8
Added method to set selected color to nearest.
...
Collapsed `Options' group into `Current Color' group
Set delegate of reds, greens, blues
1998-02-17 03:09:19 +00:00
Barry Warsaw
2e965add30
__validate(): test for None-age, not not-ness
1998-02-13 21:29:13 +00:00
Barry Warsaw
35ae864ab7
get arrow movement, and text updating. also outlining of highlight
1998-02-13 21:28:47 +00:00
Barry Warsaw
79a7879318
fixed the generators
1998-02-13 21:28:14 +00:00
Barry Warsaw
2662e15f58
triplet_to_pmwrgb(): New function
1998-02-13 21:27:56 +00:00
Barry Warsaw
f7e4793660
fixed initial color
1998-02-12 19:53:01 +00:00
Barry Warsaw
4b0d67d592
typo
1998-02-12 19:52:46 +00:00
Barry Warsaw
29fe4ddd20
Added color strip widgets
1998-02-12 19:52:31 +00:00
Barry Warsaw
9d882bc4de
Initial revision
1998-02-12 19:51:57 +00:00
Barry Warsaw
eab81a9247
Better conversion of command line given initial color
1998-02-11 18:56:13 +00:00
Barry Warsaw
55d3ffa3c2
new interface to find_byname()
1998-02-11 18:55:50 +00:00
Barry Warsaw
eb9b8af8fc
__init__(): simplify, use tuple as key to __byrgb, lowercase __byname key.
...
find_byrgb(): Changed name, interface (takes a tuple), and return
value
find_byname(): lowercase color name
1998-02-11 18:55:37 +00:00
Barry Warsaw
37400e8943
Better dimensions
1998-02-11 18:54:23 +00:00
Barry Warsaw
a6f591ac6b
Interface changes, delegate chaining, type in widget addition
1998-02-11 17:19:54 +00:00
Barry Warsaw
f4562a7a0a
Simplification of conversion routines
1998-02-11 17:19:23 +00:00
Barry Warsaw
4a445c689c
#Layout looks good, as does validation, and delegate chaining
1998-02-11 17:11:34 +00:00
Barry Warsaw
2e6c13f150
Initial revision
1998-02-10 00:13:06 +00:00
Guido van Rossum
48b1cdea45
Fix typo in format for strftime() used by cookie code.
1998-02-02 03:19:06 +00:00
Barry Warsaw
f7c1e5a6a3
Moved toplevel widget to PyncheWidget.py
1998-01-31 23:39:28 +00:00
Barry Warsaw
fefbf79ea4
Initial revision
1998-01-31 23:39:01 +00:00
Barry Warsaw
9f4d73a9cf
BadColor: new exception class
...
rrggbb_to_triplet(): New utility function
1998-01-31 23:38:48 +00:00
Barry Warsaw
bfbe67f47f
Better implementation of nearest(). Not faster, but better
1998-01-31 00:32:07 +00:00
Barry Warsaw
2406b1d40a
Initial revision
1998-01-31 00:29:41 +00:00
Barry Warsaw
b6db1b94c5
mered Greg's suggestions, added docstring
1998-01-30 21:11:52 +00:00
Barry Warsaw
7080a7f69e
Initial revision
1998-01-29 23:48:55 +00:00
Barry Warsaw
516f18993f
Initial revision
1998-01-27 03:19:00 +00:00
Guido van Rossum
fdc5adc594
Dangerous feature added: when removing local files (i.e., only when -r
...
is used), do a recursive delete. Use -r with even more caution!
Also changed usage message into a doc string, added a comment or two,
and rearranged a long line.
1998-01-04 02:03:12 +00:00
Guido van Rossum
9d98c91b99
Fix bug detected by AMK: need to import string.
1997-12-31 15:46:56 +00:00
Guido van Rossum
982209dc69
Fix bug detected by AMK: Types should be types.
1997-12-31 15:46:20 +00:00
Guido van Rossum
c4b9af756d
Added Jack Jansen's versioncheck to the README file.
1997-12-23 19:03:42 +00:00
Guido van Rossum
5291037c70
Adding Jack Jansen's version checking utility.
1997-12-23 18:43:55 +00:00
Guido van Rossum
80e57fb21b
Converted to use re instead of regex; version 0.9.0.
1997-12-21 07:05:32 +00:00
Guido van Rossum
71c0dece54
Up the version.
1997-12-16 21:14:55 +00:00
Guido van Rossum
0721358969
Fix a bug in translate(): the pointer was incremented by the length of
...
the *escaped* url. Also added new special characters that are not
part of the url when found at the end: ( < > .
1997-12-16 21:12:47 +00:00
Guido van Rossum
b1823ad83f
v 0.8.3 -- add an option to suppress URL processing inside <PRE>,
...
by Scott <scott@chronis.icgroup.com>
1997-12-09 16:04:46 +00:00
Guido van Rossum
94ce0d1963
Add special handling for Python modules that are imported implicitly
...
by the Python runtime: 'site' and 'exceptions'.
1997-12-08 05:01:06 +00:00
Barry Warsaw
90136b08b6
Only parsing requires Python 1.5
1997-12-04 19:44:30 +00:00
Barry Warsaw
00727b0022
Updated world codes with latest iso3166 codes
1997-12-04 19:42:36 +00:00
Barry Warsaw
9efdef1d39
Added parsing of ISO 3166 files
1997-12-04 19:35:25 +00:00
Guido van Rossum
ca83f018e7
Added "-n file" option to only print files newer than the given file.
1997-11-24 23:49:35 +00:00
Guido van Rossum
345df170e6
os2 patch by Jeff Rush
1997-11-22 22:10:01 +00:00
Guido van Rossum
2aa78efab1
Add a pointer back to the wizard in the "compat" output.
1997-11-21 16:37:54 +00:00
Guido van Rossum
6592b3c01e
Use a %s format for the exit status -- through the magical workings of
...
the aptly named MagicDict class, the value is a string, not a number,
by the time it is printed...
1997-11-11 17:18:48 +00:00
Guido van Rossum
ca2f69cb96
As Mark Hammond found out, it was a bad idea to add "set -e" to the
...
check in command -- this fails for new files!
1997-11-11 17:17:55 +00:00
Guido van Rossum
79b2038aa4
When checking for equality, open the slave file in text mode so it
...
will compare equal even if the master file uses only \n to terminate
lines (this is by far the most common situation). Also, check for the
case where the master file is missing, and print the time difference
in seconds when the slave file appears newer than the master (for
debugging).
1997-11-04 17:35:43 +00:00
Guido van Rossum
9476a78c1e
Remove "." or "" from front of sys.path (this bit me once).
1997-10-20 23:48:01 +00:00
Guido van Rossum
845037018d
Generate new style exception initializer (Jack).
1997-10-08 15:21:57 +00:00
Guido van Rossum
f326134e5c
Map .shtml to text/html.
1997-10-07 14:56:42 +00:00
Guido van Rossum
57d4c5510d
Version 0.8.1.
1997-10-07 14:56:09 +00:00
Guido van Rossum
b6fd5a50b0
Add "set -e" to lock command.
1997-10-07 14:55:39 +00:00
Guido van Rossum
9971f689cb
Fix comment to add the all-important trailing colon to the example.
...
Print the author with the revision date and filename.
1997-10-06 21:09:32 +00:00
Guido van Rossum
d57548023f
A variant on webchecker that creates a mirror copy of a remote site.
1997-10-06 18:54:25 +00:00
Guido van Rossum
2237b73baf
Several changes:
...
- Change the code that looks for robots.txt to always look in /, even
if the "root" path is somewhere deep down below.
- Add link processing in <AREA> tags.
- Change safeclose() to avoid crashing when the file has no geturl()
method.
1997-10-06 18:54:01 +00:00
Guido van Rossum
03be7f525e
Changes by jack so the generated modules export their types
...
to Python.
1997-09-22 16:13:19 +00:00
Guido van Rossum
b81b5c72db
Moved pystone to Lib/test. Use import test.pystone to run it.
1997-09-16 18:57:42 +00:00
Guido van Rossum
d2ba3690ce
Skip symlinks; don't bother keeping a list of files that is never used.
1997-09-16 18:57:14 +00:00
Guido van Rossum
a11b041537
Added faqwiz and webchecker.
1997-08-28 02:41:33 +00:00
Guido van Rossum
8c5fa91253
Added section about multiple FAQs.
1997-08-28 02:38:54 +00:00
Guido van Rossum
f1ead1a63c
New installation instructions show how to maintain multiple FAQs.
...
Removed bootstrap script from end of faqwiz.py module.
Added instructions to bootstrap script, too.
Version bumped to 0.8.
Added <html>...</html> feature suggested by Skip Montanaro.
Added leading text for Roulette, default to 'Hit Reload ...'.
Fix typo in default SRCDIR.
1997-08-28 02:38:01 +00:00
Guido van Rossum
8a2d216047
Removed faqmain.py -- it was an earlier implementation and no
...
longer relevant.
1997-08-27 22:31:18 +00:00
Guido van Rossum
92dfa4ffe1
Use correct keyword parameter when calling copy with answer option!
1997-08-18 20:56:10 +00:00
Guido van Rossum
92c90329d1
Recognize https:// as URL as well.
1997-08-18 13:59:41 +00:00
Guido van Rossum
939e4c1efb
Oops, there was a bug in the output formatting - the last printed
...
values would overwrite the next value.
1997-08-14 23:25:20 +00:00
Guido van Rossum
3485bb6f44
Added logmerge.py
1997-08-14 22:04:26 +00:00
Guido van Rossum
6f0cf7ee20
Consolidate a bunch of CVS or RCS logs read from stdin.
1997-08-14 22:04:00 +00:00
Guido van Rossum
91c7c933cc
New version (changes are so minor that I don't bother to explain them).
1997-08-14 20:20:42 +00:00
Guido van Rossum
fee9faa044
Of course, this file should be empty except for an informative comment.
1997-08-14 20:19:27 +00:00
Guido van Rossum
193a11e389
Add a separate SRC directory and insert it in front of the path.
1997-08-14 20:18:18 +00:00
Guido van Rossum
1dccdc221c
Add missing semicolon to '>'.
1997-08-14 20:17:20 +00:00
Guido van Rossum
4d3376a80f
Added cvsfiles.py and treesync.py
1997-08-14 20:16:32 +00:00
Guido van Rossum
a554107802
Source tree synchronization tool (for Windowes, mostly)
1997-08-14 20:15:20 +00:00
Guido van Rossum
30e53c0c39
Print a list of files under CVS.
1997-08-14 20:14:54 +00:00
Guido van Rossum
9189bdabd5
support C++ comments
1997-08-14 20:14:29 +00:00
Guido van Rossum
5526e394a2
set LOOPS to 10000
1997-08-14 20:14:12 +00:00
Guido van Rossum
77b300895c
Add XXX warning about fishy line
1997-08-14 20:13:46 +00:00
Guido van Rossum
7ba3de44a2
Added Windows NT instructions.
1997-08-14 02:12:04 +00:00
Guido van Rossum
58a594829c
Changes for building under windows.
1997-08-14 01:45:33 +00:00
Guido van Rossum
0b4b8a21ce
Changed indents to 4 *spaces*; added Emacs variables to avoid
...
inserting tabs. All this (and the previous patch) in preparation for
porting to NT.
1997-08-10 16:56:48 +00:00
Guido van Rossum
9a6e855a27
Support using -p/-P to point to the source/build directory instead of
...
the install directory. Added -h option to print the full usage
message; by default, only two lines are now printed for errors.
1997-08-10 16:47:17 +00:00
Guido van Rossum
b3afce5763
Updated for new style build/install; much simpler!
1997-07-19 21:58:30 +00:00
Guido van Rossum
4dddff8ddf
Upped version to 0.6.
1997-07-13 03:36:53 +00:00
Guido van Rossum
9b1718c0e7
New PythonPowered logo image.
1997-07-13 03:32:28 +00:00
Guido van Rossum
9115eb522e
Added a variant of the epilogue that has the PythonPowered logo.
1997-06-03 22:04:10 +00:00
Guido van Rossum
5bf4d00887
Move the second import of faqcust to the very end.
1997-06-03 22:03:22 +00:00
Guido van Rossum
dafce6db7b
Expanded the setup instructions.
1997-06-02 23:10:06 +00:00
Guido van Rossum
525d52f8a4
Move the roulette() functionality out of the FaqDir class into the
...
FaqWizard class.
1997-06-02 22:52:37 +00:00
Guido van Rossum
4f074044be
Version upped.
1997-06-02 21:40:18 +00:00
Guido van Rossum
178f58a17e
Stupid typos -- ImporError.
1997-06-02 21:39:15 +00:00
Guido van Rossum
c22eb01bfe
Bugfix: last_changed would always print current time.
1997-06-02 15:51:51 +00:00
Guido van Rossum
d7918fb758
Added hint about permissions.
1997-05-30 12:01:24 +00:00
Guido van Rossum
72a342fd4f
Protect roulette against empty FAQ.
1997-05-30 11:58:21 +00:00
Guido van Rossum
00494bfa15
Inclide the imports and chdir in the try/except.
1997-05-30 11:50:36 +00:00
Guido van Rossum
68bdad1015
Tiny script to play with it on a Mac.
1997-05-28 16:09:02 +00:00
Guido van Rossum
d812c07e0e
Set version to 0.4; get rid of '(' in column 1 in triple-queted string.
1997-05-26 20:15:44 +00:00
Guido van Rossum
132e1892e1
Initial revision
1997-05-26 20:15:09 +00:00
Guido van Rossum
7a241071d4
Added marks for very recently (24 hours) and recently (7 days)
...
modified files. Added and used global now, entry.getmtime(), and
entry.emit_marks().
1997-05-26 19:46:56 +00:00
Guido van Rossum
fd67f738dd
Added marks for very recently (24 hours) and recently (7 days)
...
modified files. Throw things around a bit.
1997-05-26 19:46:18 +00:00
Guido van Rossum
8bc49c8ad1
Support for more general diffing and retrieving any old revision.
...
Support for index formatting with local refs.
1997-05-26 19:10:37 +00:00
Guido van Rossum
8cde0b47b8
Added keyword searching.
1997-05-26 16:35:46 +00:00
Guido van Rossum
d993695b0f
Added keyword searching radio buttons.
1997-05-26 16:35:27 +00:00
Guido van Rossum
030144d9f6
Don't need <BR> at end of <LI>.
1997-05-26 16:02:56 +00:00
Guido van Rossum
1f04772347
Bugfix -- should pass headers=0 when formatting query results.
1997-05-26 16:02:00 +00:00
Guido van Rossum
21c4b5f66a
Add optional section titles to format_all.
...
Allow for missing section titles in format_all and format_index.
1997-05-26 06:28:40 +00:00
Guido van Rossum
b1d8a259e3
Oops, checked in the wrong SHORTNAME value.
1997-05-26 06:14:02 +00:00
Guido van Rossum
2305231acd
Added a local customization feature: load some parameters from faqcust.
1997-05-26 06:12:50 +00:00
Guido van Rossum
46a160f6de
Initial revision
1997-05-26 06:11:35 +00:00
Guido van Rossum
72fdef07d3
Initial revision
1997-05-26 05:43:37 +00:00
Guido van Rossum
ea31ea2859
I'm happy with this.
1997-05-26 05:43:29 +00:00
Guido van Rossum
1677e5b5dd
Initial revision
1997-05-26 00:07:18 +00:00
Guido van Rossum
efe640c00f
Final touch -- bottom link points to FAQ Wizard home.
1997-05-23 23:07:44 +00:00
Guido van Rossum
eae7d0ecf3
Forgot to remove debug stmt.
1997-05-23 22:46:16 +00:00
Guido van Rossum
9c6cedaa08
The official name of the whole thing is now "Python FAQ Wizard";
...
and it's in beta testing now.
Renamed the cookie id to Python-FAQ-Wizard and fixed some bugs
related to cookie processing.
1997-05-23 22:44:01 +00:00
Guido van Rossum
a78a3c30dd
Implemented a simple Password scheme.
...
Added a Help link to the FAQ Edit Wizard.
1997-05-23 22:29:24 +00:00
Guido van Rossum
f8f0fb7069
Added last mtime on whole faq.
...
Added more elaborate explanation of version conflict.
Set fake header on commit so show() shows the new mtime.
Reorder name/email fields to be after the log message.
1997-05-23 21:21:43 +00:00
Guido van Rossum
1d57981015
Nits.
...
Use TARGET=rlog instead of _blank for rlog output.
Add missing mailto: to author's email address in Last changed link.
Forget about the domainname in the cookie; the default is just fine.
1997-05-23 19:18:35 +00:00
Guido van Rossum
1dcc24404b
Reorg TO DO list.
...
Run rlog commands as pipe so we can cgi.escape(output).
Added self.escape(), like cgi.escape() but also escapes " -- for use
as double-quoted attribute values inside HTML tags.
Fix complains from Mark Lutz: HTTP_HOST is not always set.
1997-05-23 18:53:06 +00:00
Guido van Rossum
a0e9a6d332
Small nits for Grail; don't forget to cgi.translate & and <.
1997-05-23 18:13:58 +00:00
Guido van Rossum
d1c1ec8a77
- Suppress the visible text in the epilogue when "edit=no" is specified.
...
- Add translation of *foobar* into <I>foobar</I> (but not inside <PRE>).
- Optimization for the translation: only translate when @ or / or * seen.
- Add some layout to front page lay-out.
1997-05-23 17:45:04 +00:00
Guido van Rossum
4888c7ece5
Added section titles (for now, hardcoded in the file).
1997-05-23 15:55:19 +00:00
Guido van Rossum
5527db5b76
Added code to recognize http/ftp URLs and email addresses, and add <A>
...
tags for them.
1997-05-23 04:44:30 +00:00
Guido van Rossum
c6447527aa
Minor change: add prologue() calls to do_info and do_rlog; in
...
do_recent, don't display entries without a last-changed-date.
1997-05-23 00:50:01 +00:00
Guido van Rossum
af5be958e3
Added menu entry on deleting FAQ entries.
...
Added a generic error handler function.
Added cookie support to preserve author's name and email.
1997-05-22 16:57:50 +00:00
Guido van Rossum
64099e955d
HTML formatting nits.
...
Added "Reload this entry" link to edit complete screen.
1997-05-22 15:49:23 +00:00
Guido van Rossum
ed531fd9df
Mostly small changes.
...
- Fixed broken HTML in edit form that swallowed <BR> tags
- Removed "another one" link in roulette, replaced with "use Reload" message
- show() now has edit=1 by default; changed all calls
- Display last-changed date, author, email when present and edit=1
- Added back pointers at bottom
- Added a copy of the bootstrap script at the end of the file
1997-05-22 15:21:57 +00:00
Guido van Rossum
74427e51d7
Separate prologue/epilogue functions.
...
Get the current version on edit and reject commits based on an old
version.
1997-05-21 23:43:39 +00:00
Guido van Rossum
4c45422b13
Oops, left an 'n = n+1' in but n was undefined.
1997-05-21 22:42:23 +00:00
Guido van Rossum
f701bf1098
Add "Log info" to view rcs log.
...
Speed up __getattr__ by storing the value as self.<key>.
1997-05-21 22:25:56 +00:00
Guido van Rossum
d7bfa80c63
Lots of new features:
...
- got rid of the separate search page
- added an index (lists the questions with links to the answers)
- add a mechanism to add new entries
- add a way to list most recently edited entries first
1997-05-21 21:31:39 +00:00
Guido van Rossum
3c3354c0e7
Crude but functional, except for adding new entries.
1997-05-21 16:52:18 +00:00
Guido van Rossum
adb3a9db57
Initial revision
1997-05-21 07:24:50 +00:00
Guido van Rossum
650b3aad55
Unlink before rename (for NT).
1997-05-19 15:20:49 +00:00
Guido van Rossum
e6fcd33179
Correct comment; -c is off by default.
1997-05-15 21:51:16 +00:00
Guido van Rossum
1ade44cb0c
Open the output files with 'wb', not 'w'.
1997-05-15 18:25:29 +00:00
Guido van Rossum
29f6533c7f
Scroll to top of info window when done.
1997-05-09 03:19:29 +00:00
Guido van Rossum
89efda363f
Avoid the fancy handler for error 401 (request authentication).
1997-05-07 15:00:56 +00:00
Guido van Rossum
af310c1d00
Restructured Checker class to get rid of 'ext' table.
...
Links are now either in 'todo' or 'done', and ext links
are hadled more like local links except that no further
links are gathered (and sometimes they aren't checked,
e.g. for mailto and news URLs). The -x option reverses
its meaning: it disables checking of ext links (they are
moved to 'done' without checking). A new 'errors' table
collects pages with bad links as we go -- redundant,
but useful for the GUI version which needs to report
this as we go. Some new methods, including reset().
New checkpoint format.
Adapted the GUI to the changes in the Checker class.
Added Quit and "Start over" buttons, and a checkbox
to disable checking external links. The details
window now also shows bad links emanating from the
selected page. Miscellaneous small chages.
1997-02-02 23:30:32 +00:00
Guido van Rossum
4f6ecdaacf
Add root URL entry box, separate start/stop/step buttons.
...
If the users selects an item in 'To check', start checking there.
1997-02-01 05:17:29 +00:00
Guido van Rossum
6133ec656e
Process <img> and <frame> tags. Don't bother skipping second href.
1997-02-01 05:16:08 +00:00
Guido van Rossum
de99d310cc
Check in another copy of tktools.py...
1997-01-31 18:58:53 +00:00
Guido van Rossum
06981c328d
Tk interface to webchecker. Not fully featured yet, but usable.
1997-01-31 18:58:12 +00:00
Guido van Rossum
0b0b5f0279
Spin off checking of external page in a subroutine.
...
Increase MAXPAGE to 150K.
Add back printing of __doc__ for usage message.
1997-01-31 18:57:23 +00:00
Guido van Rossum
e5605ba3c2
Many misc changes.
...
- Faster HTML parser derivede from SGMLparser (Fred Gansevles).
- All manipulations of todo, done, ext, bad are done via methods, so a
derived class can override. Also moved the 'done' marking to
dopage(), so run() is much simpler.
- Added a method status() which returns a string containing the
summary counts; added a "total" count.
- Drop the guessing of the file type before opening the document -- we
still need to check those links for validity!
- Added a subroutine to close a connection which first slurps up the
remaining data when it's an ftp URL -- apparently closing an ftp
connection without reading till the end makes it hang.
- Added -n option to skip running (only useful with -R).
- The Checker object now has an instance variable which is set to 1
when it is changed. This is not pickled.
1997-01-31 14:43:15 +00:00
Guido van Rossum
c59a5d449f
Set proper User-agent header (Python-webchecker/<version>).
...
When -x is combined with -q, still do the checking, but don't print
the error in this phase -- they are reported by report_errors().
1997-01-30 06:04:00 +00:00
Guido van Rossum
2739cd74b3
Some refinements of the external-link checking code: insert the errors
...
in the 'bad' dictionary (sanitize them so they are picklable; the
sanitation code is now a subroutine); don't check mailto: URLs; omit
colon in Error message.
1997-01-30 04:26:57 +00:00
Guido van Rossum
de66268588
Added -x option to check external links. Slooooow!
1997-01-30 03:58:21 +00:00
Guido van Rossum
325a64f207
Catch I/O errors when parsing robots.txt file.
...
Add version number, printed at startup in non-quited mode.
1997-01-30 03:30:20 +00:00
Guido van Rossum
df47bafa1c
Basic README file
1997-01-30 03:24:00 +00:00
Guido van Rossum
3edbb35023
Added robots.txt support, using Skip Montanaro's parser.
...
Fixed occasional inclusion of unpicklable objects (Message in errors).
Changed indent of a few messages.
1997-01-30 03:19:41 +00:00
Guido van Rossum
bbf8c2fafd
Skip Montanaro's robots.txt parser.
1997-01-30 03:18:23 +00:00
Guido van Rossum
272b37d686
web tree checker
1997-01-30 02:44:48 +00:00
Guido van Rossum
d7e4705d8f
mime types guesser
1997-01-30 02:44:20 +00:00
Guido van Rossum
04f2b453bb
Version 1.1. Fix memory leak and expensive comparison with None.
1997-01-18 02:20:37 +00:00
Guido van Rossum
f06ee5fa07
/usr/local/bin/python -> /usr/bin/env python
1996-11-27 19:52:01 +00:00
Guido van Rossum
499181a833
Changed so that it replaces /usr/local/bin/python with /usr/bin/env python.
1996-11-27 19:43:49 +00:00
Guido van Rossum
d5c58c34db
Changed logic so it now replaces anything that has #! and python in
...
the first line, replacing the entire line.
1996-11-27 19:43:01 +00:00
Guido van Rossum
fc0588241c
Script to fix cprt notice
1996-11-27 19:41:55 +00:00
Barry Warsaw
3ffc503682
Removed the USA'isms that aren't really true
1996-11-20 18:43:05 +00:00
Barry Warsaw
7081a69b24
/usr/bin/env is slightly more portable
1996-11-20 15:19:10 +00:00
Barry Warsaw
00bf8efe0b
Added a few meta info
1996-11-20 15:17:50 +00:00
Barry Warsaw
2a6e68f693
Output original address
1996-11-19 17:59:07 +00:00
Barry Warsaw
de0e8f763b
Updated country codes as per ISO3166 10-Feb-1994
1996-11-18 23:22:34 +00:00
Barry Warsaw
cb2b672015
implementation complete. need to update country codes
1996-11-18 22:57:43 +00:00
Barry Warsaw
3a7212c86a
Added `ru' --> Russia
1996-11-18 22:03:36 +00:00
Barry Warsaw
f6d53448e5
A rewrite for better Python-ish style
1996-11-18 21:26:56 +00:00
Guido van Rossum
e41d00bb6a
Fixed a bug: files that no longer exist remotely would never be
...
removed from .mirrorinfo. Now they are (even if -r is not specified
-- the files are not removed, just their .mirrorinfo entry).
Added a feature: the -s pattern option is also used to skip local
files when removing (i.e. -r won't remove local files matching the -s
patterns).
1996-11-14 18:24:47 +00:00
Fred Drake
abcb38250b
(texi2html.py): Minor improvement to HTML 3.0 output for code examples.
1996-10-25 22:13:59 +00:00