Skip to content

Commit e5abf43

Browse files
author
Andrei Taranchenko
committed
Initial commit (SVN export)
0 parents  commit e5abf43

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+5868
-0
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Brad Hubbard fixed a line endings issue under mingw.

Doxyfile

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
PROJECT_NAME = HTML Template
2+
EXCLUDE_PATTERNS =
3+
INPUT = ./
4+
EXAMPLE_PATH =
5+
EXAMPLE_PATTERNS =
6+
EXTRACT_ALL = NO
7+
EXTRACT_PRIVATE = YES
8+
EXTRACT_STATIC = YES
9+
GENERATE_TODOLIST = YES
10+
GENERATE_TESTLIST = YES
11+
GENERATE_BUGLIST = YES
12+
HTML_HEADER =
13+
HTML_FOOTER =
14+
15+
TAB_SIZE = 2
16+
PROJECT_NUMBER =
17+
OUTPUT_DIRECTORY =
18+
OUTPUT_LANGUAGE = English
19+
USE_WINDOWS_ENCODING = NO
20+
BRIEF_MEMBER_DESC = YES
21+
REPEAT_BRIEF = NO
22+
ABBREVIATE_BRIEF =
23+
ALWAYS_DETAILED_SEC = NO
24+
INLINE_INHERITED_MEMB = NO
25+
FULL_PATH_NAMES = NO
26+
STRIP_FROM_PATH =
27+
SHORT_NAMES = NO
28+
JAVADOC_AUTOBRIEF = NO
29+
MULTILINE_CPP_IS_BRIEF = NO
30+
DETAILS_AT_TOP = NO
31+
INHERIT_DOCS = YES
32+
DISTRIBUTE_GROUP_DOC = NO
33+
ALIASES =
34+
OPTIMIZE_OUTPUT_FOR_C = NO
35+
OPTIMIZE_OUTPUT_JAVA = NO
36+
SUBGROUPING = YES
37+
EXTRACT_LOCAL_CLASSES = YES
38+
HIDE_UNDOC_MEMBERS = NO
39+
HIDE_UNDOC_CLASSES = NO
40+
HIDE_FRIEND_COMPOUNDS = NO
41+
HIDE_IN_BODY_DOCS = NO
42+
INTERNAL_DOCS = NO
43+
CASE_SENSE_NAMES = YES
44+
HIDE_SCOPE_NAMES = NO
45+
SHOW_INCLUDE_FILES = YES
46+
INLINE_INFO = YES
47+
SORT_MEMBER_DOCS = NO
48+
GENERATE_DEPRECATEDLIST= YES
49+
ENABLED_SECTIONS =
50+
MAX_INITIALIZER_LINES = 30
51+
SHOW_USED_FILES = YES
52+
53+
QUIET = NO
54+
WARNINGS = YES
55+
WARN_IF_UNDOCUMENTED = YES
56+
WARN_IF_DOC_ERROR = YES
57+
WARN_FORMAT = "$file:$line: $text"
58+
WARN_LOGFILE =
59+
RECURSIVE = NO
60+
EXCLUDE =
61+
EXAMPLE_RECURSIVE = NO
62+
IMAGE_PATH =
63+
INPUT_FILTER =
64+
FILTER_SOURCE_FILES = NO
65+
66+
SOURCE_BROWSER = YES
67+
INLINE_SOURCES = YES
68+
STRIP_CODE_COMMENTS = NO
69+
REFERENCED_BY_RELATION = YES
70+
REFERENCES_RELATION = NO
71+
VERBATIM_HEADERS = YES
72+
73+
ALPHABETICAL_INDEX = NO
74+
COLS_IN_ALPHA_INDEX = 5
75+
IGNORE_PREFIX =
76+
GENERATE_HTML = YES
77+
# never change this name
78+
HTML_OUTPUT = html
79+
# never change this extension
80+
HTML_FILE_EXTENSION = .shtml
81+
HTML_STYLESHEET =
82+
HTML_ALIGN_MEMBERS = YES
83+
GENERATE_HTMLHELP = NO
84+
CHM_FILE =
85+
HHC_LOCATION =
86+
GENERATE_CHI = NO
87+
BINARY_TOC = NO
88+
TOC_EXPAND = NO
89+
DISABLE_INDEX = NO
90+
ENUM_VALUES_PER_LINE = 4
91+
GENERATE_TREEVIEW = NO
92+
TREEVIEW_WIDTH = 250
93+
94+
GENERATE_LATEX = NO
95+
LATEX_OUTPUT = latex
96+
LATEX_CMD_NAME = latex
97+
MAKEINDEX_CMD_NAME = makeindex
98+
COMPACT_LATEX = NO
99+
PAPER_TYPE = a4wide
100+
EXTRA_PACKAGES =
101+
LATEX_HEADER =
102+
PDF_HYPERLINKS = NO
103+
USE_PDFLATEX = NO
104+
LATEX_BATCHMODE = NO
105+
LATEX_HIDE_INDICES = NO
106+
107+
GENERATE_RTF = NO
108+
RTF_OUTPUT = rtf
109+
COMPACT_RTF = NO
110+
RTF_HYPERLINKS = NO
111+
RTF_STYLESHEET_FILE =
112+
RTF_EXTENSIONS_FILE =
113+
114+
GENERATE_MAN = NO
115+
MAN_OUTPUT = man
116+
MAN_EXTENSION = .3
117+
MAN_LINKS = NO
118+
119+
GENERATE_XML = NO
120+
XML_OUTPUT = xml
121+
XML_SCHEMA =
122+
XML_DTD =
123+
XML_PROGRAMLISTING = YES
124+
125+
GENERATE_AUTOGEN_DEF = NO
126+
GENERATE_PERLMOD = NO
127+
PERLMOD_LATEX = NO
128+
PERLMOD_PRETTY = YES
129+
PERLMOD_MAKEVAR_PREFIX =
130+
131+
ENABLE_PREPROCESSING = YES
132+
MACRO_EXPANSION = NO
133+
EXPAND_ONLY_PREDEF = NO
134+
SEARCH_INCLUDES = YES
135+
INCLUDE_PATH =
136+
INCLUDE_FILE_PATTERNS =
137+
PREDEFINED =
138+
EXPAND_AS_DEFINED =
139+
SKIP_FUNCTION_MACROS = YES
140+
TAGFILES =
141+
GENERATE_TAGFILE =
142+
ALLEXTERNALS = NO
143+
EXTERNAL_GROUPS = YES
144+
PERL_PATH = /usr/bin/perl
145+
146+
CLASS_DIAGRAMS = YES
147+
HIDE_UNDOC_RELATIONS = NO
148+
HAVE_DOT = YES
149+
CLASS_GRAPH = YES
150+
COLLABORATION_GRAPH = YES
151+
UML_LOOK = NO
152+
TEMPLATE_RELATIONS = NO
153+
INCLUDE_GRAPH = YES
154+
INCLUDED_BY_GRAPH = YES
155+
CALL_GRAPH = YES
156+
GRAPHICAL_HIERARCHY = YES
157+
DOT_IMAGE_FORMAT = gif
158+
DOT_PATH =
159+
DOTFILE_DIRS =
160+
MAX_DOT_GRAPH_WIDTH = 1024
161+
MAX_DOT_GRAPH_HEIGHT = 1024
162+
MAX_DOT_GRAPH_DEPTH = 0
163+
GENERATE_LEGEND = YES
164+
DOT_CLEANUP = YES
165+
166+
SEARCHENGINE = NO

HISTORY

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
0.7.4
2+
- Including cstring explicitly for tests to compile, after GCC changes as of 4.4.5
3+
4+
0.7.1
5+
- Small changes to docs. NO funcitionality updates.
6+
7+
0.7.0
8+
- First swipe at documentation
9+
10+
- Went all original and stuff and added the __TOTAL__ conext variable,
11+
so it is possible to print out "X of Y" in a loop, as in
12+
__COUNT__ of __TOTAL__.
13+
14+
0.6.8
15+
- Reworked parsing logic, to accomodate future, more complex syntax (ESCAPE,
16+
for example)
17+
18+
- Includes will now be included either as an absolute path, or relative to the
19+
parent include. In the past, the inlude paths had to be relative to the
20+
binary using the library.

README

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
README file for HTML Template C++
2+
=================================
3+
4+
* SUPPORTED PLATFORMS
5+
* DOCUMENTATION
6+
* CREATING TESTS
7+
* RUNNING TESTS
8+
* EXAMPLES
9+
10+
================================================================================
11+
SUPPORTED PLATFORMS
12+
13+
The code is tested against LINUX and WINDOWS. The Visual Studio project file is
14+
in the folder named vs/
15+
16+
================================================================================
17+
DOCUMENTATION
18+
Under docs/ as well as on the World Wide Webbb:
19+
http://nulidex.com/code/docs/html_template/
20+
21+
MAJOR DIFFERENCES with HTML::Template
22+
* There are no switches to enable/disable features, such as loop context
23+
variables or globals. Everything is enabled by default.
24+
25+
================================================================================
26+
CREATING TESTS
27+
28+
1. Create a template file in t/
29+
30+
2. Add the test to run(), creating a separate container if this is a test for
31+
a new type of features.
32+
33+
3. Create the reference output file:
34+
$ ./test create t/my_new_test.tmpl
35+
36+
4. Inspect t/my_new_test.txt to make sure the output is correct.
37+
This will be used now as a regression test.
38+
39+
5. Recompile and run the test binary.
40+
41+
================================================================================
42+
RUNNING TESTS
43+
44+
$ ./test
45+
46+
OR for one test
47+
48+
$ ./test run t/my_test.tmpl
49+
50+
================================================================================
51+
EXAMPLES
52+
53+
An example is in the examples/ directory. The makefile is for Linux only.

0 commit comments

Comments
 (0)