Skip to content

Commit 951a65b

Browse files
committed
Improve doxy comment formating - no code changes
1 parent 4edbc24 commit 951a65b

File tree

6 files changed

+34
-51
lines changed

6 files changed

+34
-51
lines changed

include/buffio.h

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1+
/** @file buffio.h - Deprecated compatibility header. Use tidybuffio.h
2+
**
3+
** @deprecated This compatibility header is deprecated and
4+
** should be replaced by tidybuffio.h. This header will be removed!
5+
**
6+
*/
7+
18
#ifdef __GNUC__
2-
#warning "FIXME: Using compatibility tidy header (buffio.h) that will go away!"
9+
#warning "FIXME: Using compatibility tidy header (buffio.h) that will go away! Use tidybuffio.h"
10+
#endif
11+
#ifdef _MSC_VER
12+
#pragma message("WARNING: ** FIXME ** Using compatibility tidy header (buffio.h) that will go away! Use tidybuffio.h")
313
#endif
414

515
#include "tidybuffio.h"
616

17+

include/platform.h

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1+
/** @file platform.h - Deprecated compatibility header. Use tidyplatform.h
2+
**
3+
** @deprecated This compatibility header is deprecated and
4+
** should be replaced by tidyplatform.h. This header will be removed!
5+
**
6+
*/
17
#ifdef __GNUC__
28
#warning "FIXME: Using compatibility tidy header (platform.h) that will go away!"
39
#endif
10+
#ifdef _MSC_VER
11+
#pragma message("WARNING: ** FIXME ** Using compatibility tidy header (platform.h) that will go away! Use tidyplatform.h")
12+
#endif
413

514
#include "tidyplatform.h"
615

include/tidy.h

100755100644
+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
this-equivalent as 1st arg.
1212
1313
14-
Copyright (c) 1998-2008 World Wide Web Consortium
14+
Copyright (c) 1998-2016 World Wide Web Consortium
1515
(Massachusetts Institute of Technology, European Research
1616
Consortium for Informatics and Mathematics, Keio University).
1717
All Rights Reserved.
@@ -476,7 +476,7 @@ TIDY_EXPORT TidyIterator TIDY_CALL tidyOptGetPickList( TidyOption opt );
476476
/** Get next string value of Option "pick list" */
477477
TIDY_EXPORT ctmbstr TIDY_CALL tidyOptGetNextPick( TidyOption opt, TidyIterator* pos );
478478

479-
/** Get current Option value as a string */
479+
/** Get string Option current value. Note, the optID "must" be a type 'TidyString'! */
480480
TIDY_EXPORT ctmbstr TIDY_CALL tidyOptGetValue( TidyDoc tdoc, TidyOptionId optId );
481481
/** Set Option value as a string */
482482
TIDY_EXPORT Bool TIDY_CALL tidyOptSetValue( TidyDoc tdoc, TidyOptionId optId, ctmbstr val );

include/tidybuffio.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
/** @file tidybuffio.h - Treat buffer as an I/O stream.
55
6-
(c) 1998-2007 (W3C) MIT, ERCIM, Keio University
6+
(c) 1998-2016 (W3C) MIT, ERCIM, Keio University
77
See tidy.h for the copyright notice.
88
99
Requires buffer to automatically grow as bytes are added.

include/tidyenum.h

+3-45
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,13 @@
11
#ifndef __TIDYENUM_H__
22
#define __TIDYENUM_H__
33

4-
/* @file tidyenum.h -- Split public enums into separate header
4+
/** @file tidyenum.h - Separated public enumerations header
55
66
Simplifies enum re-use in various wrappers. e.g. SWIG
77
generated wrappers and COM IDL files.
88
9-
Copyright (c) 1998-2008 World Wide Web Consortium
10-
(Massachusetts Institute of Technology, European Research
11-
Consortium for Informatics and Mathematics, Keio University).
12-
All Rights Reserved.
13-
14-
Contributing Author(s):
15-
16-
Dave Raggett <[email protected]>
17-
18-
The contributing author(s) would like to thank all those who
19-
helped with testing, bug fixes and suggestions for improvements.
20-
This wouldn't have been possible without your help.
21-
22-
COPYRIGHT NOTICE:
23-
24-
This software and documentation is provided "as is," and
25-
the copyright holders and contributing author(s) make no
26-
representations or warranties, express or implied, including
27-
but not limited to, warranties of merchantability or fitness
28-
for any particular purpose or that the use of the software or
29-
documentation will not infringe any third party patents,
30-
copyrights, trademarks or other rights.
31-
32-
The copyright holders and contributing author(s) will not be held
33-
liable for any direct, indirect, special or consequential damages
34-
arising out of any use of the software or documentation, even if
35-
advised of the possibility of such damage.
36-
37-
Permission is hereby granted to use, copy, modify, and distribute
38-
this source code, or portions hereof, documentation and executables,
39-
for any purpose, without fee, subject to the following restrictions:
40-
41-
1. The origin of this source code must not be misrepresented.
42-
2. Altered versions must be plainly marked as such and must
43-
not be misrepresented as being the original source.
44-
3. This Copyright notice may not be removed or altered from any
45-
source or altered source distribution.
46-
47-
The copyright holders and contributing author(s) specifically
48-
permit, without fee, and encourage the use of this source code
49-
as a component for supporting the Hypertext Markup Language in
50-
commercial products. If you use this source code in a product,
51-
acknowledgment is not required but would be appreciated.
52-
9+
(c) 1998-2016 (W3C) MIT, ERCIM, Keio University
10+
See tidy.h for the full copyright notice.
5311
5412
Created 2001-05-20 by Charles Reitzel
5513
Updated 2002-07-01 by Charles Reitzel - 1st Implementation

include/tidyplatform.h

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
#ifndef __TIDY_PLATFORM_H__
22
#define __TIDY_PLATFORM_H__
33

4-
/* tidyplatform.h -- Platform specifics
4+
/** @file tidyplatform.h - Platform specifics
55
6-
(c) 1998-2008 (W3C) MIT, ERCIM, Keio University
6+
(c) 1998-2016 (W3C) MIT, ERCIM, Keio University
77
See tidy.h for the copyright notice.
8+
9+
This file is included by tidy.h, and need not
10+
be included sepearately. It sets a number of
11+
default defines, and a PLATFORM_NAME, and includes
12+
the most common system headers.
813
914
*/
1015

0 commit comments

Comments
 (0)