[ tktoolkit-Bugs-1934272 ] man2help2.tcl: table macro \w false, invalid continue

View: New views
1 Messages — Rating Filter:   Alert me  

[ tktoolkit-Bugs-1934272 ] man2help2.tcl: table macro \w false, invalid continue

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #1934272, was opened at 2008-04-04 12:00
Message generated for change (Comment added) made by oehhar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1934272&group_id=12997

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: 85. Win Build
>Group: current: 8.5.4
Status: Open
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Harald Oehlmann (oehhar)
Assigned to: Joe Mistachkin (mistachkin)
Summary: man2help2.tcl: table macro \w false, invalid continue

Initial Comment:
The script man2help2.tcl is invoked when the winhelp target is build using makefile.vc. Each file in doc is processed by man2tcl and then py this script.

a) The table macro  (.ta) may contain width of string as table size using \w'Data'. The corresponding regular expression was corrected.

Example from bind.n:
.ta \w'\fBButtonPress, Button\0\0\0\fR'u +\w'\fBKeyPress, Key\0\0\0\fR'u
man2tcl.exe output:
macro ta \\w'\\fBButtonPress,\ Button\ \ \ \\fR'u +\\w'\\fBKeyPress,\ Key\ \ \
This is now detected.

b) An errornous "continue" in getTwips caused the script to fail

c) Table size may have an R behind the unit (Why?).
This is now honored with a warning

The patch for tcl8.5.2/tools/man2help2.tcl is attached.

Please look also to Bug Tcl 1934200 and Tk 1934265.

----------------------------------------------------------------------

>Comment By: Harald Oehlmann (oehhar)
Date: 2008-09-04 13:57

Message:
Logged In: YES
user_id=444601
Originator: YES

Bug still present in release 8.5.4, patch still solves issue

----------------------------------------------------------------------

Comment By: Harald Oehlmann (oehhar)
Date: 2008-06-30 19:27

Message:
Logged In: YES
user_id=444601
Originator: YES

Still present in head and tcl8.5.3.
The provided patch would still solve the issue.

----------------------------------------------------------------------

Comment By: SourceForge Robot (sf-robot)
Date: 2008-06-28 04:20

Message:
Logged In: YES
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Joe Mistachkin (mistachkin)
Date: 2008-06-13 08:11

Message:
Logged In: YES
user_id=113501
Originator: NO


This should now be fixed in HEAD.

Still needs to be backported to 8.5.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1934272&group_id=12997

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tcl-Bugs mailing list
Tcl-Bugs@...
https://lists.sourceforge.net/lists/listinfo/tcl-bugs
LightInTheBox - Buy quality products at wholesale price!