Skip to content

Commit e5a4747

Browse files
committed
Initial commit
1 parent b8b1430 commit e5a4747

File tree

94 files changed

+45915
-1
lines changed

Some content is hidden

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

94 files changed

+45915
-1
lines changed

.gitattributes

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
* text=auto
2+
3+
# Pascal source files should use CRLF line endings to keep the Delphi IDE happy
4+
*.pas eol=crlf
5+
*.dpr eol=crlf
6+
*.dpk eol=crlf
7+
8+
# iOS Entitlement Files MUST use LF endings or app won't run on device
9+
Entitlement.TemplateiOS.xml eol=lf
10+
11+
# macOS shell scripts MUST use LF too
12+
*.sh eol=lf
13+
14+
# customize language stats
15+
*.inc linguist-language=Pascal

.gitignore

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#OS X meta data
2+
._*
3+
#ignore thumbnails created by windows
4+
Thumbs.db
5+
#ignore Delphi build directories
6+
Android/
7+
iOSDevice/
8+
iOSDevice32/
9+
iOSDevice64/
10+
iOSSimulator/
11+
OSX32/
12+
Win32/
13+
Win64/
14+
#ignore Delphi build files
15+
*.obj
16+
*.exe
17+
*.dcu
18+
*.map
19+
*.deployproj
20+
#ignore Delphi temp and backup files
21+
*.~*
22+
#ignore Delphi local files
23+
*.dsk
24+
*.dproj.local
25+
*.identcache
26+
*.groupproj.local
27+
#ignore temporary help files
28+
HtmlHelp/
29+
Html/

Doc/Benchmarks.xlsx

222 KB
Binary file not shown.

Doc/FastMath.chm

169 KB
Binary file not shown.

DocSource/Build.bat

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
set PASCOC=..\..\PasDocEx\bin\pasdoc
2+
set SOURCE=sources.txt
3+
set OPTIONS=--name "FastMath" --title "FastMath" --auto-abstract --auto-link --visible-members public,published,automated --include "..\FastMath\"
4+
del ..\Doc\%FORMAT%\*.* /q
5+
del ..\Doc\%FORMAT%\tipuesearch\*.* /q
6+
%PASCOC% --format %FORMAT% --output ..\Doc\%FORMAT% --css %FORMAT%.css --introduction=introduction.txt --conclusion=conclusion.txt --source %SOURCE% %OPTIONS% %SEARCH%

DocSource/BuildHtml.bat

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@echo off
2+
set FORMAT=Html
3+
set SEARCH=
4+
call Build.bat
5+
rem ..\Doc\Html\index.html
6+
rem pause

DocSource/BuildHtmlHelp.bat

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@echo off
2+
set FORMAT=HtmlHelp
3+
set HHC="%ProgramFiles(x86)%\HTML Help Workshop\hhc"
4+
set SEARCH=
5+
call Build.bat
6+
%HHC% ..\Doc\HtmlHelp\FastMath.hhp
7+
copy ..\Doc\HtmlHelp\FastMath.chm ..\Doc\ /y
8+
..\Doc\FastMath.chm
9+
pause

DocSource/Html.css

+206
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
/*
2+
Copyright 1998-2014 PasDoc developers.
3+
4+
This file is part of "PasDoc".
5+
6+
"PasDoc" is free software; you can redistribute it and/or modify
7+
it under the terms of the GNU General Public License as published by
8+
the Free Software Foundation; either version 2 of the License, or
9+
(at your option) any later version.
10+
11+
"PasDoc" is distributed in the hope that it will be useful,
12+
but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
GNU General Public License for more details.
15+
16+
You should have received a copy of the GNU General Public License
17+
along with "PasDoc"; if not, write to the Free Software
18+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19+
20+
----------------------------------------------------------------------------
21+
*/
22+
23+
body, html, table.container {
24+
margin: 0;
25+
padding: 0;
26+
}
27+
28+
body {
29+
font-family: 'Lato', 'proxima-nova', 'Helvetica Neue', 'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;
30+
color: #404040;
31+
background-color: white;
32+
font-size: 16px;
33+
}
34+
35+
h1, h2, h3, h4, h5, h6 {
36+
font-family: 'Roboto Slab', 'ff-tisa-web-pro', 'Cambria', Verdana,Arial,Helvetica,sans-serif;
37+
}
38+
39+
tr {
40+
background-color: white;
41+
}
42+
43+
code, pre {
44+
font-family: 'Consolas','Courier New',Courier,monospace;
45+
}
46+
47+
table.container {
48+
width: 100%;
49+
border-spacing: 0;
50+
}
51+
table.container td {
52+
vertical-align: top;
53+
}
54+
55+
td.navigation {
56+
width: 200px;
57+
color: White;
58+
background-color: #343131;
59+
margin: 0;
60+
/* padding-bottom is a little larger, to make navigation column have some
61+
nice height even when td.content column is very small. */
62+
padding: 0em 0em 100px 0em;
63+
}
64+
td.navigation p { font-size: 14px; padding: 6px 15px 6px 15px; margin: 0;}
65+
td.navigation p:hover { background-color: #4e4a4a; }
66+
td.navigation p:active { background-color: #5193fb; }
67+
td.navigation h2 { padding: 15px; margin-top: 0; background-color: #4589fb; }
68+
69+
td.content { padding: 1em; background-color: #fcfcfc6; }
70+
td.content h1 { margin-top: 0; }
71+
72+
img { border:0px; }
73+
74+
a:link {color:#2980B9; text-decoration: none; }
75+
a:visited {color:#9B59B6; text-decoration: none; }
76+
a:hover {color:#3091d1; text-decoration: none; }
77+
a:active {text-decoration: none; }
78+
79+
a.navigation:link { color: #b3b3b3; text-decoration: none; display: block; }
80+
a.navigation:visited { color: #b3b3b3; text-decoration: none; }
81+
a.navigation:hover { color: #e0e0e0; text-decoration: none; }
82+
a.navigation:active { color: White; text-decoration: none; }
83+
84+
a.bold:link {color:#1364c4; text-decoration: none; font-weight:bold; }
85+
a.bold:visited {color:#1364c4; text-decoration: none; font-weight:bold; }
86+
a.bold:hover {color:#00709f; text-decoration: none; font-weight:bold; }
87+
a.bold:active {text-decoration: none; }
88+
89+
a.section {color: #1364c4; text-decoration: none; }
90+
a.section:hover {color: #00709f; text-decoration: none; }
91+
92+
ul.useslist a:link {color:#C91E0C; text-decoration: none; font-weight:bold; }
93+
ul.useslist a:visited {color:#7E5C31; text-decoration: none; font-weight:bold; }
94+
ul.useslist a:hover {text-decoration: underline; font-weight:bold; }
95+
ul.useslist a:active {text-decoration: underline; font-weight:bold; }
96+
97+
ul.hierarchy { list-style-type:none; }
98+
ul.hierarchylevel { list-style-type:none; }
99+
100+
p.unitlink a:link {color:#1364c4; text-decoration: none; font-weight:bold; }
101+
p.unitlink a:visited {color:#1364c4; text-decoration: none; font-weight:bold; }
102+
p.unitlink a:hover {color:#00709f; text-decoration: none; font-weight:bold; }
103+
p.unitlink a:active {text-decoration: none; font-weight:bold; }
104+
105+
tr.list { background: #ebf1fb; }
106+
tr.list2 { background: #eff5ff; }
107+
tr.listheader { background: #e0e0e0; color: #636363; text-align: left; }
108+
109+
th { padding: 10px 8px; border: 1px solid #bbb; }
110+
table.wide_list { border-spacing:2px; width:100%; border: 1px solid #bbb; border-collapse: collapse; }
111+
table.wide_list td { vertical-align:top; padding: 10px 8px; border: 1px solid #bbb; }
112+
113+
table.markerlegend { width:auto; }
114+
table.markerlegend td.legendmarker { text-align:center; }
115+
116+
table.sections { background:white; width: auto; }
117+
table.sections td {background:#eff5ff; padding: 2px 8px; }
118+
119+
table.summary td.itemcode { width:100%; }
120+
table.detail td.itemcode { width:100%; }
121+
122+
td.itemname { white-space:nowrap; }
123+
td.itemunit { white-space:nowrap; }
124+
td.itemdesc { width:100%; }
125+
126+
div.nodescription { color:red; }
127+
dl.parameters dt { font-style:italic; }
128+
129+
/* Various browsers have various default styles for <h6>,
130+
sometimes ugly for our purposes, so it's best to set things
131+
like font-size and font-weight in out pasdoc.css explicitly. */
132+
h6.description_section {
133+
font-size: 18px;
134+
font-weight: bold;
135+
/* By default browsers usually have some large margin-bottom and
136+
margin-top for <h1-6> tags. In our case, margin-bottom is
137+
unnecessary, we want to visually show that description_section
138+
is closely related to content below. In this situation
139+
(where the font size is just as a normal text), smaller bottom
140+
margin seems to look good. */
141+
margin-bottom: 0em;
142+
}
143+
144+
/* Style applied to Pascal code in documentation
145+
(e.g. produced by @longcode tag) } */
146+
span.pascal_string { color: #0000FF; }
147+
span.pascal_keyword { color: #000080; font-weight: bold; }
148+
span.pascal_comment { color: #008000; font-style: italic; }
149+
span.pascal_compiler_comment { color: #008080; }
150+
span.pascal_numeric { color: #0000FF; }
151+
span.pascal_hex { color: #0000FF; }
152+
153+
p.hint_directive { color: red; }
154+
155+
input#search_text { }
156+
input#search_submit_button { }
157+
158+
acronym.mispelling { background-color: #ffa; }
159+
160+
/* Actually this reduces vertical space between *every* paragraph
161+
inside list with @itemSpacing(compact).
162+
While we would like to reduce this space only for the
163+
top of 1st and bottom of last paragraph within each list item.
164+
But, well, user probably will not do any paragraph breaks
165+
within a list with @itemSpacing(compact) anyway, so it's
166+
acceptable solution. */
167+
ul.compact_spacing p { margin-top: 0em; margin-bottom: 0em; }
168+
ol.compact_spacing p { margin-top: 0em; margin-bottom: 0em; }
169+
dl.compact_spacing p { margin-top: 0em; margin-bottom: 0em; }
170+
171+
/* Style for table created by @table tags:
172+
just some thin border.
173+
174+
This way we have some borders around the cells
175+
(so cells are visibly separated), but the border
176+
"blends with the background" so it doesn't look too ugly.
177+
Hopefully it looks satisfactory in most cases and for most
178+
people.
179+
180+
We add padding for cells, otherwise they look too close.
181+
This is normal thing to do when border-collapse is set to
182+
collapse (because this eliminates spacing between cells).
183+
*/
184+
table.table_tag { border-collapse: collapse; }
185+
table.table_tag td { border: 1pt solid gray; padding: 0.3em; }
186+
table.table_tag th { border: 1pt solid gray; padding: 0.3em; }
187+
188+
table.detail {
189+
border: 1pt solid gray;
190+
margin-top: 0.3em;
191+
margin-bottom: 1.0em;
192+
}
193+
194+
.search-form { white-space: nowrap; padding: 15px; }
195+
.search-input, .search-button { display: inline-block; vertical-align: middle; }
196+
197+
/* Do not make extra vertical space at the beginning/end of table cells.
198+
We need ">" selector, to not change paragraphs inside lists inside
199+
table cells. */
200+
table.table_tag td > p:first-child,
201+
table.table_tag th > p:first-child,
202+
td.itemdesc > p:first-child { margin-top: 0em; }
203+
204+
table.table_tag td > p:last-child,
205+
table.table_tag th > p:last-child,
206+
td.itemdesc > p:last-child { margin-bottom: 0em; }

0 commit comments

Comments
 (0)