Logo
wxTidy is a wxWindows port of the W3C's Tidy, an HTML formatter and pretty printer. wxTidy is based on TidyGUI by André Blavier, which is in turn based on HTML Tidy by Dave Raggett. The file release notes are reproduced below for reference.


Author:Gary Harris
Platform:Windows (All?)
Version:0.1 Beta
Licence:GNU GPL
SourceForge: https://sourceforge.net/projects/wxtidy/
Download: https://sourceforge.net/project/showfiles.php?group_id=69198


wxTidy was written to allow users on a range of platforms access to a GUI implementation of HTML Tidy, a natty little utility, to enhance my skills with wxWindows and for my own entertainment. Feedback is sought regarding the functionality and utility of this beta version via the SourceForge facilities. Volunteers to compile the code under different versions of wxWindows, provide binaries and additional feedback would also be greaty appreciated.
The next step is conversion to use the SourceForge TidyLib project's code. This is underway. Of the other items mentioned in the release notes "To Do" list, the second is valid, the third is not required and the fourth and fifth have been implemented in my development code and will be released shortly.



Release Notes:

 wxTidy 0.1 Beta
 ---------------

 wxTidy is a wxWindows port of the W3C's Tidy, an HTML formatter and pretty printer. wxTidy is
 based on TidyGUI by André Blavier, which is in turn based on HTML Tidy by Dave Raggett.

 wxWindows is a cross-platform compilation package allowing the same code to be compiled on:

 - Windows 95/98/ME, Windows NT, Windows 2000, Windows XP
 - Most Unix variants with GTK+
 - Most Unix variants with X11
 - Most Unix variants with Motif/Lesstif
 - MacOS 9.x and 10.x
 - OS/2 (alpha)

 wxWindows is available from http://www.wxwindows.org. It's project web site is here at
 SourceForge.

 This port brings Tidy to some new platforms and provides a GUI interface to Tidy on some
 existing ones. It is intended as a complement to the existing TidyLib project.

 This is a first look at wxTidy, provided as proof of concept and to generate comment and feedback.
 Since a GUI implementation does not exist for some existing ports, and Tidy is not yet
 available on some others, it is hoped that wxTidy will bring HTML Tidy and TidyLib to a new
 audience and increase awareness of this handy utility.

 wxTidy is pure imitation. It reproduces André's TidyGUI interface faithfully, with one or two
 minor changes where deemed advantageous. These include the addition of Cancel buttons to the
 prefs and output dialogues. A Cancel button actually exists in André's Win32 source but it is
 not visible as it is incorrectly positioned.

 Future enhancements, such as making output font preferences persistent, are intended and others
 will be added as TidyLib features and user input demand.

 This version does not use the TidyLib available at http://tidy.sourgeforge.net/ but uses
 André's own TidyLib conversion provided with TidyGUI and operating through his TidyProxy, which
 handles the interface between C++ and C code. These are based on the 4th August, 2000 version
 of Tidy. It is hoped that the new TidyLib will plug in in a fairly straightforward manner and the
 intention is to convert wxTidy to the new library soon.

 Note: André's tidylib must be compiled with the preprocessor directive TIDY_WIN32 to enable the
 GUI code and c++ interface.


 Advantages
 ----------

 The obvious advantage of a cross-platform interface is that it allows a consistent interface
 across platforms. Changes made to the one code base will be available to all. wxWindows is an
 elegant package to work with which provides many enhancements and benefits to the programmer.

 Once the new library is implemented within wxTidy, the range of fixes and improvements made
 since August 2000 will be available to the user, as will future improvements.


 Disadvantages
 -------------

 The only real disadvantage I see with the cross-platform approach is that the resulting
 executable is larger due to the extra code layer required for multi-platform capabilities.
 Response times can also be slower as a result. The Windows version is not noticably slower and
 the size factor has been somewhat addressed by compressing the release executable with UPX, an
 executable packer. This reduces the current size by 30.31%, from 1 638 400 bytes to 495 616 bytes.
 Compression also increases execution speed. Compared with TidyGUI's 319 488 bytes and
 remembering that some additions have been made, we're doing fine.

 Future versions using the DLL version of wxWindows on Windows or other reusable libraries on
 other platforms will further reduce the size of the main executable.


 To Do
 -----

 - Convert wxTidy to use the new TidyLib.
 - DLL version.
 - Intercept appropriate Tidy messages for Bugs, info, etc.
 - OK button for config dlg.
 - Preserve output font settings between sessions.(config)


 Author:  Gary Harris
 WWW:  http://wxtidy.sourceforge.net
          

Valid XHTML 1.1! Valid CSS!

SourceForge Logo