Fred Drake [Fri, 7 May 1999 21:14:28 +0000 (21:14 +0000)]
ExtendedEsisBuilder.push(): Override inherited definition. We don't
want to push nodes into the document, but into a document
fragment, since we're not necesarily working with something
that's well-formed.
Fred Drake [Thu, 6 May 1999 19:37:38 +0000 (19:37 +0000)]
Make it work for "manual" documents as well as "howto" documents.
This still doesn't understand anything about multiple source files or
checking time dependencies.
1. Fixes float divmod so that the quotient it returns is always an integral
value.
2. Fixes float % and float divmod so that the remainder always gets the
right sign (the current code uses a "are the signs different?" test that
doesn't work half the time <wink> when the product of the divisor and the
remainder underflows to 0).
Nathan Paul Simons noticed that the grid_remove() method was missing.
(The difference between grid_remove() and grid_forget() is that the
former remembers the options for the slave.)
I'm still unsure, but couldn't stand the virtual event trickery so tried a
different sin (adding undo_block_start/stop methods to the Text instance in
EditorWindow.py). Like it or not, it's efficient and works <wink>. Better
idea?
Give the attached a whirl. Even if you hate the implementation, I think
you'll like the results. Think I caught all the "block edit" cmds,
including Format Paragraph, plus subtler ones involving smart indents and
backspacing.
[W]hile trying to dope out how redirection works, stumbled into two
possible glitches. In the first, it doesn't appear to make sense to try to
rename a command that's already been destroyed; in the second, the name
"previous" doesn't really bring to mind "ignore the previous value" <wink>.
Fred Drake [Mon, 3 May 1999 14:29:07 +0000 (14:29 +0000)]
Make sure latex2html doesn't produce a hard link between foo/foo.html
and foo/index.html. Make a copy instead. (Appearantly some tar
openers on non-Unixlike systems can't handle hard links.)
Fred Drake [Mon, 3 May 1999 14:27:45 +0000 (14:27 +0000)]
Make sure latex2html doesn't produce a hard link from $part/$part.html
and $part/index.html. Make a copy instead. (Appearantly some tar
openers on non-Unixlike systems can't handle hard links.)
Greg Ward [Sun, 2 May 1999 21:42:05 +0000 (21:42 +0000)]
The 'copy_file()' and 'copy_tree()' functions in util.py now have
meaningful return values: respectively, whether the copy was done, and
the list of files that were copied. This meant some trivial changes in
core.py as well: the Command methods that mirror 'copy_file()' and
'copy_tree()' have to pass on their return values.
Greg Ward [Sun, 2 May 1999 21:39:13 +0000 (21:39 +0000)]
Rearranged things so that compilation of .py files is the responsibility
of the 'install_py' command rather than 'build_py'. Obviously, this
meant that the 'build_py' and 'install_py' modules had to change; less
obviously, so did 'install' and 'build', since these higher-level
commands must make options available to control the lower-level
commands, and some compilation-related options had to migrate with the
code.
Fred Drake [Thu, 29 Apr 1999 19:06:56 +0000 (19:06 +0000)]
make_nav_panel(): Remove the spurious NAME="tex2html\d+" attributes
added to the anchors in the navigation bars. These
are added somewhere deep with l2h, and are stupid.
Fred Drake [Thu, 29 Apr 1999 15:42:19 +0000 (15:42 +0000)]
Generate index.html from index.html.in. This avoids having to modify the
index to update the version number; boilerplate.tex remains the only document
source for this information.
Fred Drake [Thu, 29 Apr 1999 13:41:17 +0000 (13:41 +0000)]
Don't point readers to rand, point to random! And make it a hyperlink
while you're at it.
Also, when discussing order of reading, make it clear that chapter 2
is assumed background material for the remainder of the manual.
That's needed for terminology if nothing else!
Fred Drake [Thu, 29 Apr 1999 13:20:25 +0000 (13:20 +0000)]
Explain comments at the start of chapter 3. This is needed since they
appear in the examples without any further explanation, and the
tutorial doesn't have this information explicit anywhere else.
Omission reported by Jon Black <jblack@Ridgeway-Sys.com>.
Fred Drake [Wed, 28 Apr 1999 17:38:31 +0000 (17:38 +0000)]
Added test case that includes a comma in the full name. This tests
for an old bug that's been gone a while, but was still documented
until a few minutes from now.
Fred Drake [Wed, 28 Apr 1999 17:11:21 +0000 (17:11 +0000)]
setup_column_alignments(): Adding valign=baseline to the <td> tag
makes the alignment work on Navigator as
well as IE. Uglier HTML, but it looks
right.
Fred Drake [Wed, 28 Apr 1999 13:54:30 +0000 (13:54 +0000)]
do_cmd_seetext(): Clean up so we get proper nesting of <div>s. This
fixes a rendering problem on IE5.
General adjustments to the table* environments, including using
<thead> and <tbody>. Attempt to adjust the vertical alignment of the
table cells so that the baseline of the first cell matches the
baseline of the remaining cells: When the first cell is small and the
second cell of the same row is multi-line, the first cell was
vertically centered by default. Specifying valign=baseline fixes the
problem on IE, but Netscape seems to ignore both valign=top and
valign=baseline (even though valign is NS's fault!). Make the
horizontal alignment of 'p' columns left instead of center (for the
headings).
Barry Warsaw [Tue, 27 Apr 1999 15:56:53 +0000 (15:56 +0000)]
When selecting a radio button in the TextViewer (to change a specific
text widget attribute), the color the attribute currently has is set
in the main widget.
Cast f.tell() result to int() in _addval(), so it works even on
platforms where tell() returns a long. (Perhaps tell() should be
fixed too?) Reported by Greg Humphreys.
Barry Warsaw [Mon, 26 Apr 1999 23:17:16 +0000 (23:17 +0000)]
Lots of changes to support loading alternative color name database.
You can switch database by just loading the new one; the list window
and nearest colors adapt to the new database.
Some reorganizing of code. Also, the name of the database file is
stored in the ~/.pynche pickle. If it can't be loaded, fallbacks are
used.