Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
The "a:hover" styling on https://www.wireshark.org/faq.html is ugly as
it is not a real link. This patch turns questions into clickable links
(focusing at the anchor) and converts from XHTML syntax to HTML5.
Dead links have been updated and other links have been converted to
https if available.
The result passes the HTML5 validation at https://validator.nu.
Change-Id: I32b7c18baeabe7ab7fce2dadd4c1d4e6de5c593f
Reviewed-on: https://code.wireshark.org/review/7778
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
Most of our sites are now HTTPS-only. Update URLs accordingly. Update
other URLs while we're at it. Remove or comment out dead links.
Change-Id: I7c4f323e6585d22760bb90bf28fc0faa6b893a33
Reviewed-on: https://code.wireshark.org/review/7621
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
|
|
chooses Korn shell instead of Bourne shell. It still works with the
Bourne shell in my testing.
Change-Id: I00bfed22fb0d9bb183637ea5fb111904b8536949
Reviewed-on: https://code.wireshark.org/review/5880
Reviewed-by: Stephen Fisher <sfisher@sdf.org>
|
|
(Using sed : sed -i '/^\# \$Id\$/,+1 d') (start with dash)
Change-Id: Ia4b5a6c2302f6a531f6a86c1ec3a2f8205c8c2dd
Reviewed-on: https://code.wireshark.org/review/881
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
svn path=/trunk/; revision=54710
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9591
svn path=/trunk/; revision=54387
|
|
svn path=/trunk/; revision=52471
|
|
As per http://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script
the portable way to find out if a particular command is available is with "command -v" not
"which".
svn path=/trunk/; revision=50610
|
|
svn path=/trunk/; revision=48912
|
|
svn path=/trunk/; revision=48906
|
|
svn path=/trunk/; revision=48905
|
|
Correctly escape slashes in faq.py so that it will run under python 3.x
It still runs fine under 2.x, at least on my machine.
svn path=/trunk/; revision=48394
|
|
svn path=/trunk/; revision=47469
|
|
pcapng is implied so the file format is not included as part of the temp file name.
svn path=/trunk/; revision=47269
|
|
svn path=/trunk/; revision=47268
|
|
svn path=/trunk/; revision=44140
|
|
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
|
|
the name used when capturing on multiple interfaces.
svn path=/trunk/; revision=41871
|
|
http://ask.wireshark.org/questions/9194/can-i-recover-a-discarded-capture :
Add the location of the temporary file on Windows 7.
svn path=/trunk/; revision=41183
|
|
svn path=/trunk/; revision=38946
|
|
svn path=/trunk/; revision=38928
|
|
svn path=/trunk/; revision=36221
|
|
svn path=/trunk/; revision=35110
|
|
svn path=/trunk/; revision=34903
|
|
This patch fixes several misspellings/typos in Wireshark documentation.
svn path=/trunk/; revision=28249
|
|
svn path=/trunk/; revision=27997
|
|
svn path=/trunk/; revision=27359
|
|
html2text.py. You can override this by adjusting config.nmake or by setting
HTML2TXT.
svn path=/trunk/; revision=27041
|
|
so to fix a problem with OS X 10.4. Add html2text.py to the end of the
faq.txt target.
svn path=/trunk/; revision=27040
|
|
svn path=/trunk/; revision=27003
|
|
svn path=/trunk/; revision=27001
|
|
svn path=/trunk/; revision=26999
|
|
Tested with Links 2.1pre37.
svn path=/trunk/; revision=26997
|
|
User srcdir in Makefiles for faq.py.
svn path=/trunk/; revision=26996
|
|
svn path=/trunk/; revision=26986
|
|
svn path=/trunk/; revision=26983
|
|
required tools.
svn path=/trunk/; revision=26982
|
|
svn path=/trunk/; revision=26981
|
|
fix from FAQ. Update the makefiles to build help/faq.txt and FAQ. Remove
help/faq.txt and FAQ from the repository, since they're automatically
generated now. Remove the make-faq script.
svn path=/trunk/; revision=26980
|
|
in its current state.
svn path=/trunk/; revision=26978
|
|
Minor errors in the documentation, and an Ethereal reference
svn path=/trunk/; revision=24673
|
|
svn path=/trunk/; revision=24400
|
|
Wireshark is
quit. Temporary coloring filters can be set by:
- pressing <ctrl>-<digit> will create a conversation coloring filter based on the
addresses of the currently selected packet (order TCP/UDP/IP/Ethernet)
This can also be achieved from the "View|Colorize Conversation" menu.
- Rightclicking on a packet in the packet-list will give the option to
"Colorize Conversation" just as "Conversation Filter" does.
- Rightclicking on an item in the packet-detail-list will give the option to
"Colorize with filter" which works similar to "Apply as filter"
Temporary filters can be cleared from the same menus or by pressing <ctrl>-<space>.
This patch also adds an item to the above mentioned menu's to add a permanent color filter
in the same way.
The colors for the temporary coloring rules are now hardcoded as I do not know
how to change the color of menu-items and therefore I chose to use icons to
show the actual color of each of the ten temporary coloring rules. Is it at all
possible to have different menu items in different colors?
One other way of solving this is to recreate the icons on the fly after changing
the colors. I will have a look into that once it is clear whether I can use
different colors within the menu structure.
svn path=/trunk/; revision=23560
|
|
Update FAQ and help/faq.txt to current version.
svn path=/trunk/; revision=23515
|
|
svn path=/trunk/; revision=21979
|
|
svn path=/trunk/; revision=20991
|
|
svn path=/trunk/; revision=20345
|
|
svn path=/trunk/; revision=19053
|
|
svn path=/trunk/; revision=18979
|