Commit Graph

18 Commits

Author SHA1 Message Date
Peter Wu 68698db8cc Always use html2text.py for FAQ, improve output
A recent commit broke compilation with Python 3. The original author of
html2text.py is deceased and the fork has increased the number of files
for this "simple" helper.

The html2text.py script in this patch was rewritten and its output
matches with lynx (except for a few newlines around lists). This means
that indentation has been added for headings, paragraphs and lists.
Also, since it was written from scratch, a new license could be chosen
that matches Wireshark.

Since now the in-tree html2text.py script provides nicer output, remove
detection of the alternative programs (elinks, links). lynx/w3m is
somehow still necessary for asciidoc though.

(I also looked into reusing html2text.py for the release notes to
replace asciidoc, but the --format=html output produces different output
(HTML adds a ToC and section numbers). For now still require lynx for
release notes)

Tested with Python 2.6.6, 2.7.9, 3.2.6 and 3.4.3 under LC_ALL=C and
LC_ALL=en_US.UTF-8 on Linux. Tested reading from stdin and file, writing
to file, pipe and tty. Tested with cmake (Ninja) and autotools on Arch
Linux x86_64. Test:

    # For each $PATH per python version, execute (with varying LC_ALL)
    help/faq.py -b | tools/html2text.py /dev/stdin | md5sum
    help/faq.py -b | tools/html2text.py | md5sum
    help/faq.py -b | tools/html2text.py
    help/faq.py -b | tools/html2text.py >/dev/null

Change-Id: I6409450a3e6c8b010ca082251f9db7358b0cc2fd
Reviewed-on: https://code.wireshark.org/review/7779
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-03-25 07:08:52 +00:00
Evan Huus 99d8439ce0 Add a license-ignore for tools/html2text.py
Update the preamble to COPYING to clarify that pidl isn't the only tool we carry
which isn't GPLv2-compatible.

svn path=/trunk/; revision=53108
2013-11-06 17:43:49 +00:00
Jakub Zawadzki f19346af34 Update GPL-2 license in COPYING
svn path=/trunk/; revision=43537
2012-06-28 23:02:28 +00:00
Guy Harris dcf49bf092 Handle the Set Buffer Address command differently; this gets rid of the
macro with the "give credit" license, so back that out of COPYING.

svn path=/trunk/; revision=32798
2010-05-13 23:56:31 +00:00
Jeff Morriss acc410ae87 From Robert Hogan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4257 :
Correctly decode and display the buffer address in SBA orders.


Note: This includes a macro with a new license which is added to COPYING.

svn path=/trunk/; revision=32785
2010-05-13 15:19:40 +00:00
Stig Bjørlykke e41b1039fb Update the address to FSF from http://www.gnu.org/licenses/gpl-2.0.txt
svn path=/trunk/; revision=28694
2009-06-11 10:28:04 +00:00
Jaap Keuter 0dd2bf36d1 Address licensing questions as listed in roadmap.
svn path=/trunk/; revision=27107
2008-12-24 13:22:21 +00:00
Stephen Fisher 59379adf4d Fix minor typo
svn path=/trunk/; revision=23514
2007-11-20 17:35:11 +00:00
Ulf Lamping a2166282c4 from Jörg Mayer: "a proposed change to the COPYING file"
from ULFL: some minor changes to wording and alike

svn path=/trunk/; revision=23507
2007-11-20 08:33:09 +00:00
Jörg Mayer c59a75bee0 Add two sentences clarifying the license statement on pidl:
As a notable exception the pidl utility at tools/pidl is covered by a
"GPL version 3 or later" LICENSE. Note that only the tool itself
is covered by this license, not the source code generated by it. The
pidl authors do not consider that code a derived work of pidl.


svn path=/trunk/; revision=23387
2007-11-06 22:01:20 +00:00
Jörg Mayer 624b58c099 Add a remark that the code under tools/pidl/ is covered
by GPLv3 (inside the files it only says GPL).

svn path=/trunk/; revision=23381
2007-11-06 20:03:22 +00:00
Stig Bjørlykke 97b11f2200 Removed ^L as they turn up as a strange square in About->License
svn path=/trunk/; revision=22682
2007-08-27 11:27:41 +00:00
Gerald Combs 769376e6f6 Update the summary at the top of the license text.
svn path=/trunk/; revision=21806
2007-05-16 18:46:29 +00:00
Ulf Lamping b66f77e6e2 eth->ws
svn path=/trunk/; revision=18315
2006-06-02 08:44:40 +00:00
Ulf Lamping 806b2b82b1 make the prefix "Just to avoid some misunderstandings..." a little bit more NSIS installer friendly (without making it odd looking)
svn path=/trunk/; revision=14979
2005-07-21 20:32:25 +00:00
Jörg Mayer 3e663fbb85 Prefix COPYING with the following text
Just to avoid some misunderstandings:
While parts of Ethereal can be built and distributed as libraries,
these parts are still covered by the license below, and NOT by the
Lesser General Public License or any other license.

svn path=/trunk/; revision=10355
2004-03-09 11:31:04 +00:00
Gerald Combs 349f96bb49 * Copied in the correct GNU license (I'm such a goober)
* Hacks to the filter interface (Gerald)
* About box (Laurent)
* AppleTalk support (Simon)
* Mods to the match_strval routine (Gerald)

svn path=/trunk/; revision=61
1998-10-16 01:18:35 +00:00
Gerald Combs 86534f46e1 Initial revision
svn path=/trunk/; revision=2
1998-09-16 02:39:15 +00:00