path-log4r 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/INSTALL +11 -0
- data/LICENSE +90 -0
- data/LICENSE.LGPLv3 +165 -0
- data/README +95 -0
- data/Rakefile +74 -0
- data/TODO +2 -0
- data/doc/content/contact.html +22 -0
- data/doc/content/contribute.html +21 -0
- data/doc/content/index.html +90 -0
- data/doc/content/license.html +56 -0
- data/doc/content/manual.html +449 -0
- data/doc/dev/README.developers +55 -0
- data/doc/dev/checklist +23 -0
- data/doc/dev/things-to-do +5 -0
- data/doc/images/log4r-logo.png +0 -0
- data/doc/images/logo2.png +0 -0
- data/doc/log4r.css +111 -0
- data/doc/rdoc-log4r.css +696 -0
- data/doc/templates/main.html +147 -0
- data/examples/README +19 -0
- data/examples/ancestors.rb +53 -0
- data/examples/chainsaw_settings.xml +7 -0
- data/examples/customlevels.rb +34 -0
- data/examples/filelog.rb +25 -0
- data/examples/fileroll.rb +40 -0
- data/examples/gmail.rb +30 -0
- data/examples/gmail.yaml +95 -0
- data/examples/log4r_yaml.yaml +0 -0
- data/examples/logclient.rb +25 -0
- data/examples/logserver.rb +18 -0
- data/examples/moderate.xml +29 -0
- data/examples/moderateconfig.rb +66 -0
- data/examples/myformatter.rb +23 -0
- data/examples/outofthebox.rb +21 -0
- data/examples/rdoc-gen +2 -0
- data/examples/rrconfig.xml +63 -0
- data/examples/rrsetup.rb +42 -0
- data/examples/simpleconfig.rb +39 -0
- data/examples/syslogcustom.rb +52 -0
- data/examples/xmlconfig.rb +25 -0
- data/examples/yaml.rb +30 -0
- data/lib/log4r.rb +20 -0
- data/lib/log4r/GDC.rb +41 -0
- data/lib/log4r/MDC.rb +59 -0
- data/lib/log4r/NDC.rb +86 -0
- data/lib/log4r/base.rb +74 -0
- data/lib/log4r/config.rb +9 -0
- data/lib/log4r/configurator.rb +224 -0
- data/lib/log4r/formatter/formatter.rb +105 -0
- data/lib/log4r/formatter/log4jxmlformatter.rb +61 -0
- data/lib/log4r/formatter/patternformatter.rb +145 -0
- data/lib/log4r/lib/drbloader.rb +52 -0
- data/lib/log4r/lib/xmlloader.rb +24 -0
- data/lib/log4r/logevent.rb +28 -0
- data/lib/log4r/logger.rb +199 -0
- data/lib/log4r/loggerfactory.rb +89 -0
- data/lib/log4r/logserver.rb +28 -0
- data/lib/log4r/outputter/consoleoutputters.rb +18 -0
- data/lib/log4r/outputter/datefileoutputter.rb +117 -0
- data/lib/log4r/outputter/emailoutputter.rb +143 -0
- data/lib/log4r/outputter/fileoutputter.rb +56 -0
- data/lib/log4r/outputter/iooutputter.rb +55 -0
- data/lib/log4r/outputter/outputter.rb +134 -0
- data/lib/log4r/outputter/outputterfactory.rb +61 -0
- data/lib/log4r/outputter/remoteoutputter.rb +40 -0
- data/lib/log4r/outputter/rollingfileoutputter.rb +234 -0
- data/lib/log4r/outputter/scribeoutputter.rb +37 -0
- data/lib/log4r/outputter/staticoutputter.rb +30 -0
- data/lib/log4r/outputter/syslogoutputter.rb +130 -0
- data/lib/log4r/outputter/udpoutputter.rb +53 -0
- data/lib/log4r/rdoc/GDC +14 -0
- data/lib/log4r/rdoc/MDC +16 -0
- data/lib/log4r/rdoc/NDC +41 -0
- data/lib/log4r/rdoc/configurator +243 -0
- data/lib/log4r/rdoc/emailoutputter +103 -0
- data/lib/log4r/rdoc/formatter +39 -0
- data/lib/log4r/rdoc/log4r +89 -0
- data/lib/log4r/rdoc/logger +175 -0
- data/lib/log4r/rdoc/logserver +85 -0
- data/lib/log4r/rdoc/outputter +108 -0
- data/lib/log4r/rdoc/patternformatter +128 -0
- data/lib/log4r/rdoc/scribeoutputter +16 -0
- data/lib/log4r/rdoc/syslogoutputter +29 -0
- data/lib/log4r/rdoc/win32eventoutputter +7 -0
- data/lib/log4r/rdoc/yamlconfigurator +20 -0
- data/lib/log4r/repository.rb +88 -0
- data/lib/log4r/staticlogger.rb +49 -0
- data/lib/log4r/yamlconfigurator.rb +196 -0
- data/tests/README +10 -0
- data/tests/testGDC.rb +26 -0
- data/tests/testMDC.rb +42 -0
- data/tests/testNDC.rb +27 -0
- data/tests/testall.rb +6 -0
- data/tests/testbase.rb +49 -0
- data/tests/testchainsaw.rb +48 -0
- data/tests/testconf.xml +37 -0
- data/tests/testcustom.rb +27 -0
- data/tests/testformatter.rb +27 -0
- data/tests/testlogger.rb +196 -0
- data/tests/testoutputter.rb +132 -0
- data/tests/testpatternformatter.rb +78 -0
- data/tests/testthreads.rb +35 -0
- data/tests/testxmlconf.rb +45 -0
- metadata +184 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
This document introduces interested developers to log4r development. It also
|
|
2
|
+
reminds us how things work here. :-)
|
|
3
|
+
|
|
4
|
+
RubyForge Site
|
|
5
|
+
--------------
|
|
6
|
+
|
|
7
|
+
Log4r is hosted on RubyForge. It was hosted on SourceForge up to 1.0.5.
|
|
8
|
+
|
|
9
|
+
Project Full Name: Log4r
|
|
10
|
+
Project Unix Name: log4r
|
|
11
|
+
CVS Server: cvs.log4r.rubyforge.org
|
|
12
|
+
Shell/Web Server: log4r.rubyforge.org
|
|
13
|
+
Path to web pages: /var/www/gforge-projects/log4r/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
HTML manual and site
|
|
17
|
+
--------------------
|
|
18
|
+
|
|
19
|
+
This is pieced together with a homebrewed content-template system.
|
|
20
|
+
doc/content has the actual contents, which are just three lines of metadata
|
|
21
|
+
and a bunch of <tr>s that are incorporated into a template. The only template
|
|
22
|
+
is doc/templates/main.html which is universal. To test the changes, run
|
|
23
|
+
bin/makedoc.rb directly and check the results in doc/index.html.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
Testing RDoc
|
|
27
|
+
------------
|
|
28
|
+
Either run bin/makerdoc.rb directly or,
|
|
29
|
+
|
|
30
|
+
cd lib/
|
|
31
|
+
rdoc --op /tmp/rdoc --template kilmer --main log4r.rb
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
Automated Builds
|
|
35
|
+
----------------
|
|
36
|
+
|
|
37
|
+
The build system is automated and relies on CVS and ruby. There are three main
|
|
38
|
+
things that go on during build:
|
|
39
|
+
|
|
40
|
+
1) bin/makedist.rb checks out a build to prepare for distribution and calls
|
|
41
|
+
other build scripts, then assembles the distribution into tgz and zip balls
|
|
42
|
+
|
|
43
|
+
2) HTML manual is constructed by bin/makehtml.rb, called from makedist.rb
|
|
44
|
+
|
|
45
|
+
3) RDoc is constructed by bin/makerdoc.rb, called from makedist.rb
|
|
46
|
+
|
|
47
|
+
All system variables and configurable options are in bin/devconfig.rb.
|
|
48
|
+
|
|
49
|
+
Essentially, the only thing that needs to be done to build packages for
|
|
50
|
+
distribution is,
|
|
51
|
+
|
|
52
|
+
ruby makedist.rb <version-number>
|
|
53
|
+
|
|
54
|
+
The results are one tarball, one zip file of the same, and one documentation
|
|
55
|
+
tarball ready to be placed on the log4r home page.
|
data/doc/dev/checklist
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Release checklist:
|
|
2
|
+
|
|
3
|
+
* DON'T FORGET: change install.rb when new lib/ files are added
|
|
4
|
+
* Update the log4r.gemspec
|
|
5
|
+
* Update the changelog
|
|
6
|
+
* Update the README
|
|
7
|
+
* Change any INSTALL instructions
|
|
8
|
+
* Update the manuals and HTML
|
|
9
|
+
* Modify what should not appear in the release (bin/prune.rb)
|
|
10
|
+
* Run makedist.rb and check the integrity of the resulting files
|
|
11
|
+
- Test installs
|
|
12
|
+
- Run the unit tests (cd tests; ruby testall.rb)
|
|
13
|
+
- Run all the examples
|
|
14
|
+
- Browse the docs
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Who to Tell:
|
|
18
|
+
|
|
19
|
+
* RubyGems distribution (to upload gem)
|
|
20
|
+
* ruby-talk mailing list
|
|
21
|
+
* RAA
|
|
22
|
+
* RubyForge news
|
|
23
|
+
* RubyForge email notification of new file releases
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
* Add gem generation to the automated build process
|
|
2
|
+
* Rewrite the RDoc in third person (no "you"s) and be more formal
|
|
3
|
+
* Warn of any remaining parameters from XML and YAML in the Configurators
|
|
4
|
+
* Refactor YamlConfigurator and Configurator a bit: XML shouldn't sound
|
|
5
|
+
like the prefered option
|
|
Binary file
|
|
Binary file
|
data/doc/log4r.css
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
body {
|
|
2
|
+
background-color: #FFFFFF;
|
|
3
|
+
font-family:sans-serif;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
a:link { color:#014DA3 }
|
|
7
|
+
a:active { color:#AA0000 }
|
|
8
|
+
a:visited { color:#014DA3 }
|
|
9
|
+
a:hoover { color:#AA0000 }
|
|
10
|
+
|
|
11
|
+
.example {
|
|
12
|
+
font-family: monospace;
|
|
13
|
+
border:1px solid #007;
|
|
14
|
+
background:#FFFFFF;
|
|
15
|
+
margin:1em;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
pre.box {
|
|
19
|
+
margin:0px 1em 1em 1em;
|
|
20
|
+
color:#AA0000;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.menu {
|
|
24
|
+
font-family:sans-serif;
|
|
25
|
+
font-size:10px;
|
|
26
|
+
border-left: 1px solid #AA0000;
|
|
27
|
+
border-right: 1px solid #AA0000;
|
|
28
|
+
border-bottom: 1px solid #AA0000;
|
|
29
|
+
background:#EEEEEE;
|
|
30
|
+
color:#AA0000;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.menutitle {
|
|
34
|
+
font-family:sans-serif;
|
|
35
|
+
font-size:medium;
|
|
36
|
+
color:#FFFFFF;
|
|
37
|
+
font-weight:bold;
|
|
38
|
+
background:#AA0000;
|
|
39
|
+
border-right: 1px solid #AA0000;
|
|
40
|
+
border-left: 1px solid #AA0000;
|
|
41
|
+
border-top: 1px solid #AA0000;
|
|
42
|
+
border-bottom: 1px solid #AA0000;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.menubuff {
|
|
46
|
+
font-family:sans-serif;
|
|
47
|
+
font-size:1px;
|
|
48
|
+
color:#000000;
|
|
49
|
+
border-left: 1px solid #AA0000;
|
|
50
|
+
border-right: 1px solid #AA0000;
|
|
51
|
+
font-weight:bold;
|
|
52
|
+
background-color: #99CCFF;
|
|
53
|
+
height:5;
|
|
54
|
+
padding-bottom: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.contentbuff {
|
|
58
|
+
font-family:sans-serif;
|
|
59
|
+
font-size:10px;
|
|
60
|
+
border-left: 1px solid #AA0000;
|
|
61
|
+
border-right: 1px solid #AA0000;
|
|
62
|
+
font-weight:bold;
|
|
63
|
+
background-color: #99CCFF;
|
|
64
|
+
height:5;
|
|
65
|
+
padding-bottom: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.header {
|
|
69
|
+
font-family:sans-serif;
|
|
70
|
+
color:#AA0000;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.content {
|
|
74
|
+
font-family:sans-serif;
|
|
75
|
+
font-size:medium;
|
|
76
|
+
color:#000000;
|
|
77
|
+
background:#EEEEEE;
|
|
78
|
+
border-right: 2px solid #AA0000;
|
|
79
|
+
border-left: 2px solid #AA0000;
|
|
80
|
+
border-bottom: 2px solid #AA0000;
|
|
81
|
+
padding-bottom: 5;
|
|
82
|
+
padding-right: 5;
|
|
83
|
+
padding-left: 5;
|
|
84
|
+
padding-top: 0;
|
|
85
|
+
}
|
|
86
|
+
.contenttitle {
|
|
87
|
+
font-family:sans-serif;
|
|
88
|
+
font-size:medium;
|
|
89
|
+
color:#FFFFFF;
|
|
90
|
+
font-weight:bold;
|
|
91
|
+
background-color:#AA0000;
|
|
92
|
+
border-left: 2px solid #AA0000;
|
|
93
|
+
border-top: 1px solid #AA0000;
|
|
94
|
+
border-right: 2px solid #AA0000;
|
|
95
|
+
padding: 2;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.contentbuff {
|
|
99
|
+
font-family:sans-serif;
|
|
100
|
+
font-size:10px;
|
|
101
|
+
color:#014DA3;
|
|
102
|
+
border-left: 2px solid #AA0000;
|
|
103
|
+
border-right: 2px solid #AA0000;
|
|
104
|
+
font-weight:bold;
|
|
105
|
+
background-color:#99CCFF;
|
|
106
|
+
height:13;
|
|
107
|
+
padding-bottom: 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
br { padding-bottom: 200 }
|
|
111
|
+
|
data/doc/rdoc-log4r.css
ADDED
|
@@ -0,0 +1,696 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* "Darkfish" Rdoc CSS
|
|
3
|
+
* $Id$
|
|
4
|
+
*
|
|
5
|
+
* Author: Michael Granger <ged@FaerieMUD.org>
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/* Base Green is: #660000 */
|
|
10
|
+
|
|
11
|
+
*{ padding: 0; margin: 0; }
|
|
12
|
+
|
|
13
|
+
body {
|
|
14
|
+
background: #efefef;
|
|
15
|
+
font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
|
|
16
|
+
}
|
|
17
|
+
body.class, body.module, body.file {
|
|
18
|
+
margin-left: 40px;
|
|
19
|
+
}
|
|
20
|
+
body.file-popup {
|
|
21
|
+
font-size: 90%;
|
|
22
|
+
margin-left: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h1 {
|
|
26
|
+
font-size: 300%;
|
|
27
|
+
text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
|
|
28
|
+
color: #660000;
|
|
29
|
+
}
|
|
30
|
+
h2,h3,h4 { margin-top: 1.5em; }
|
|
31
|
+
|
|
32
|
+
a {
|
|
33
|
+
color: #660000;
|
|
34
|
+
text-decoration: none;
|
|
35
|
+
}
|
|
36
|
+
a:hover {
|
|
37
|
+
border-bottom: 1px dotted #660000;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
pre {
|
|
41
|
+
background: #ddd;
|
|
42
|
+
padding: 0.5em 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/* @group Generic Classes */
|
|
47
|
+
|
|
48
|
+
.initially-hidden {
|
|
49
|
+
display: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.quicksearch-field {
|
|
53
|
+
width: 98%;
|
|
54
|
+
background: #ddd;
|
|
55
|
+
border: 1px solid #aaa;
|
|
56
|
+
height: 1.5em;
|
|
57
|
+
-webkit-border-radius: 4px;
|
|
58
|
+
}
|
|
59
|
+
.quicksearch-field:focus {
|
|
60
|
+
background: #f1edba;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.missing-docs {
|
|
64
|
+
font-size: 120%;
|
|
65
|
+
background: white url(images/wrench_orange.png) no-repeat 4px center;
|
|
66
|
+
color: #FFC200;
|
|
67
|
+
line-height: 2em;
|
|
68
|
+
border: 1px solid #d00;
|
|
69
|
+
opacity: 1;
|
|
70
|
+
padding-left: 20px;
|
|
71
|
+
text-indent: 24px;
|
|
72
|
+
letter-spacing: 3px;
|
|
73
|
+
font-weight: bold;
|
|
74
|
+
-webkit-border-radius: 5px;
|
|
75
|
+
-moz-border-radius: 5px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.target-section {
|
|
79
|
+
border: 2px solid #dcce90;
|
|
80
|
+
border-left-width: 8px;
|
|
81
|
+
padding: 0 1em;
|
|
82
|
+
background: #fff3c2;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* @end */
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
/* @group Index Page, Standalone file pages */
|
|
89
|
+
body.indexpage {
|
|
90
|
+
margin: 1em 3em;
|
|
91
|
+
}
|
|
92
|
+
body.indexpage p,
|
|
93
|
+
body.indexpage div,
|
|
94
|
+
body.file p {
|
|
95
|
+
margin: 1em 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.indexpage ul,
|
|
99
|
+
.file #documentation ul {
|
|
100
|
+
line-height: 160%;
|
|
101
|
+
list-style: none;
|
|
102
|
+
}
|
|
103
|
+
.indexpage ul a,
|
|
104
|
+
.file #documentation ul a {
|
|
105
|
+
font-size: 16px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.indexpage li,
|
|
109
|
+
.file #documentation li {
|
|
110
|
+
padding-left: 20px;
|
|
111
|
+
background: url(images/bullet_black.png) no-repeat left 4px;
|
|
112
|
+
}
|
|
113
|
+
.indexpage li.module {
|
|
114
|
+
background: url(images/package.png) no-repeat left 4px;
|
|
115
|
+
}
|
|
116
|
+
.indexpage li.class {
|
|
117
|
+
background: url(images/ruby.png) no-repeat left 4px;
|
|
118
|
+
}
|
|
119
|
+
.indexpage li.file {
|
|
120
|
+
background: url(images/page_white_text.png) no-repeat left 4px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* @end */
|
|
124
|
+
|
|
125
|
+
/* @group Top-Level Structure */
|
|
126
|
+
|
|
127
|
+
.class #metadata,
|
|
128
|
+
.file #metadata,
|
|
129
|
+
.module #metadata {
|
|
130
|
+
float: left;
|
|
131
|
+
width: 260px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.class #documentation,
|
|
135
|
+
.file #documentation,
|
|
136
|
+
.module #documentation {
|
|
137
|
+
margin: 2em 1em 5em 300px;
|
|
138
|
+
min-width: 340px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.file #metadata {
|
|
142
|
+
margin: 0.8em;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
#validator-badges {
|
|
146
|
+
clear: both;
|
|
147
|
+
margin: 1em 1em 2em;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* @end */
|
|
151
|
+
|
|
152
|
+
/* @group Metadata Section */
|
|
153
|
+
#metadata .section {
|
|
154
|
+
background-color: #F2F5ED;
|
|
155
|
+
-moz-border-radius: 5px;
|
|
156
|
+
-webkit-border-radius: 5px;
|
|
157
|
+
border: 1px solid #aaa;
|
|
158
|
+
margin: 0 8px 16px;
|
|
159
|
+
font-size: 90%;
|
|
160
|
+
overflow: hidden;
|
|
161
|
+
}
|
|
162
|
+
#metadata h3.section-header {
|
|
163
|
+
margin: 0;
|
|
164
|
+
padding: 2px 8px;
|
|
165
|
+
background: #FFC200;
|
|
166
|
+
color: #505050;
|
|
167
|
+
-moz-border-radius-topleft: 4px;
|
|
168
|
+
-moz-border-radius-topright: 4px;
|
|
169
|
+
-webkit-border-top-left-radius: 4px;
|
|
170
|
+
-webkit-border-top-right-radius: 4px;
|
|
171
|
+
border-bottom: 1px solid #aaa;
|
|
172
|
+
}
|
|
173
|
+
#metadata ul,
|
|
174
|
+
#metadata dl,
|
|
175
|
+
#metadata p {
|
|
176
|
+
padding: 8px;
|
|
177
|
+
list-style: none;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
#file-metadata ul {
|
|
181
|
+
padding-left: 28px;
|
|
182
|
+
list-style-image: url(images/page_green.png);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
dl.svninfo {
|
|
186
|
+
color: #505050;
|
|
187
|
+
margin: 0;
|
|
188
|
+
}
|
|
189
|
+
dl.svninfo dt {
|
|
190
|
+
font-weight: bold;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
ul.link-list li {
|
|
194
|
+
white-space: nowrap;
|
|
195
|
+
}
|
|
196
|
+
ul.link-list .type {
|
|
197
|
+
font-size: 8px;
|
|
198
|
+
text-transform: uppercase;
|
|
199
|
+
color: white;
|
|
200
|
+
background: #969696;
|
|
201
|
+
padding: 2px 4px;
|
|
202
|
+
-webkit-border-radius: 5px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/* @end */
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
/* @group Project Metadata Section */
|
|
209
|
+
#project-metadata {
|
|
210
|
+
margin-top: 3em;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.file #project-metadata {
|
|
214
|
+
margin-top: 0em;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
#project-metadata .section {
|
|
218
|
+
border: 1px solid #aaa;
|
|
219
|
+
}
|
|
220
|
+
#project-metadata h3.section-header {
|
|
221
|
+
border-bottom: 1px solid #aaa;
|
|
222
|
+
position: relative;
|
|
223
|
+
}
|
|
224
|
+
#project-metadata h3.section-header .search-toggle {
|
|
225
|
+
position: absolute;
|
|
226
|
+
right: 5px;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
#project-metadata form {
|
|
231
|
+
color: #777;
|
|
232
|
+
background: #FFC200;
|
|
233
|
+
padding: 8px 8px 16px;
|
|
234
|
+
border-bottom: 1px solid #bbb;
|
|
235
|
+
}
|
|
236
|
+
#project-metadata fieldset {
|
|
237
|
+
border: 0;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
#no-class-search-results {
|
|
241
|
+
margin: 0 auto 1em;
|
|
242
|
+
text-align: center;
|
|
243
|
+
font-size: 14px;
|
|
244
|
+
font-weight: bold;
|
|
245
|
+
color: #aaa;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/* @end */
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
/* @group Documentation Section */
|
|
252
|
+
#description {
|
|
253
|
+
font-size: 100%;
|
|
254
|
+
color: #333;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
#description p {
|
|
258
|
+
margin: 1em 0.4em;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
#description ul {
|
|
262
|
+
margin-left: 2em;
|
|
263
|
+
}
|
|
264
|
+
#description ul li {
|
|
265
|
+
line-height: 1.4em;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
#description dl,
|
|
269
|
+
#documentation dl {
|
|
270
|
+
margin: 8px 1.5em;
|
|
271
|
+
border: 1px solid #FFC200;
|
|
272
|
+
}
|
|
273
|
+
#description dl {
|
|
274
|
+
font-size: 14px;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
#description dt,
|
|
278
|
+
#documentation dt {
|
|
279
|
+
padding: 2px 4px;
|
|
280
|
+
font-weight: bold;
|
|
281
|
+
background: #ddd;
|
|
282
|
+
}
|
|
283
|
+
#description dd,
|
|
284
|
+
#documentation dd {
|
|
285
|
+
padding: 2px 12px;
|
|
286
|
+
}
|
|
287
|
+
#description dd + dt,
|
|
288
|
+
#documentation dd + dt {
|
|
289
|
+
margin-top: 0.7em;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
#documentation .section {
|
|
293
|
+
font-size: 90%;
|
|
294
|
+
}
|
|
295
|
+
#documentation h3.section-header {
|
|
296
|
+
margin-top: 2em;
|
|
297
|
+
padding: 0.75em 0.5em;
|
|
298
|
+
background-color: #F2F5ED;
|
|
299
|
+
color: #333;
|
|
300
|
+
font-size: 150%;
|
|
301
|
+
border: 1px solid #bbb;
|
|
302
|
+
-moz-border-radius: 3px;
|
|
303
|
+
-webkit-border-radius: 3px;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
#constants-list > dl,
|
|
307
|
+
#attributes-list > dl {
|
|
308
|
+
margin: 1em 0 2em;
|
|
309
|
+
border: 0;
|
|
310
|
+
}
|
|
311
|
+
#constants-list > dl dt,
|
|
312
|
+
#attributes-list > dl dt {
|
|
313
|
+
padding-left: 0;
|
|
314
|
+
font-weight: bold;
|
|
315
|
+
font-family: Monaco, "Andale Mono";
|
|
316
|
+
background: inherit;
|
|
317
|
+
}
|
|
318
|
+
#constants-list > dl dt a,
|
|
319
|
+
#attributes-list > dl dt a {
|
|
320
|
+
color: inherit;
|
|
321
|
+
}
|
|
322
|
+
#constants-list > dl dd,
|
|
323
|
+
#attributes-list > dl dd {
|
|
324
|
+
margin: 0 0 1em 0;
|
|
325
|
+
padding: 0;
|
|
326
|
+
color: #505050;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/* @group Method Details */
|
|
330
|
+
|
|
331
|
+
#documentation .method-source-code {
|
|
332
|
+
display: none;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
#documentation .method-detail {
|
|
336
|
+
margin: 0.5em 0;
|
|
337
|
+
padding: 0.5em 0;
|
|
338
|
+
cursor: pointer;
|
|
339
|
+
}
|
|
340
|
+
#documentation .method-detail:hover {
|
|
341
|
+
background-color: #f1edba;
|
|
342
|
+
}
|
|
343
|
+
#documentation .method-alias {
|
|
344
|
+
font-style: oblique;
|
|
345
|
+
}
|
|
346
|
+
#documentation .method-heading {
|
|
347
|
+
position: relative;
|
|
348
|
+
padding: 2px 4px 0 20px;
|
|
349
|
+
font-size: 125%;
|
|
350
|
+
font-weight: bold;
|
|
351
|
+
color: #333;
|
|
352
|
+
background: url(images/brick.png) no-repeat left bottom;
|
|
353
|
+
}
|
|
354
|
+
#documentation .method-heading a {
|
|
355
|
+
color: inherit;
|
|
356
|
+
}
|
|
357
|
+
#documentation .method-click-advice {
|
|
358
|
+
position: absolute;
|
|
359
|
+
top: 2px;
|
|
360
|
+
right: 5px;
|
|
361
|
+
font-size: 10px;
|
|
362
|
+
color: #9b9877;
|
|
363
|
+
visibility: hidden;
|
|
364
|
+
padding-right: 20px;
|
|
365
|
+
line-height: 20px;
|
|
366
|
+
background: url(images/zoom.png) no-repeat right top;
|
|
367
|
+
}
|
|
368
|
+
#documentation .method-detail:hover .method-click-advice {
|
|
369
|
+
visibility: visible;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
#documentation .method-alias .method-heading {
|
|
373
|
+
color: #505050;
|
|
374
|
+
background: url(images/brick_link.png) no-repeat left bottom;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
#documentation .method-description,
|
|
378
|
+
#documentation .aliases {
|
|
379
|
+
margin: 0 20px;
|
|
380
|
+
line-height: 1.2em;
|
|
381
|
+
color: #505050;
|
|
382
|
+
}
|
|
383
|
+
#documentation .aliases {
|
|
384
|
+
padding-top: 4px;
|
|
385
|
+
font-style: italic;
|
|
386
|
+
cursor: default;
|
|
387
|
+
}
|
|
388
|
+
#documentation .method-description p {
|
|
389
|
+
padding: 0;
|
|
390
|
+
}
|
|
391
|
+
#documentation .method-description p + p {
|
|
392
|
+
margin-bottom: 0.5em;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
#documentation .attribute-method-heading {
|
|
396
|
+
background: url(images/tag_green.png) no-repeat left bottom;
|
|
397
|
+
}
|
|
398
|
+
#documentation #attribute-method-details .method-detail:hover {
|
|
399
|
+
background-color: transparent;
|
|
400
|
+
cursor: default;
|
|
401
|
+
}
|
|
402
|
+
#documentation .attribute-access-type {
|
|
403
|
+
font-size: 60%;
|
|
404
|
+
text-transform: uppercase;
|
|
405
|
+
vertical-align: super;
|
|
406
|
+
padding: 0 2px;
|
|
407
|
+
}
|
|
408
|
+
/* @end */
|
|
409
|
+
|
|
410
|
+
/* @end */
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
/* @group Source Code */
|
|
415
|
+
|
|
416
|
+
a.source-toggle {
|
|
417
|
+
font-size: 90%;
|
|
418
|
+
}
|
|
419
|
+
a.source-toggle img {
|
|
420
|
+
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
div.method-source-code {
|
|
424
|
+
background: #262626;
|
|
425
|
+
color: #efefef;
|
|
426
|
+
margin: 1em;
|
|
427
|
+
padding: 0.5em;
|
|
428
|
+
border: 1px dashed #999;
|
|
429
|
+
overflow: hidden;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
div.method-source-code pre {
|
|
433
|
+
background: inherit;
|
|
434
|
+
padding: 0;
|
|
435
|
+
color: white;
|
|
436
|
+
overflow: hidden;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/* @group Ruby keyword styles */
|
|
440
|
+
|
|
441
|
+
.standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
|
|
442
|
+
|
|
443
|
+
.ruby-constant { color: #7fffd4; background: transparent; }
|
|
444
|
+
.ruby-keyword { color: #00ffff; background: transparent; }
|
|
445
|
+
.ruby-ivar { color: #eedd82; background: transparent; }
|
|
446
|
+
.ruby-operator { color: #00ffee; background: transparent; }
|
|
447
|
+
.ruby-identifier { color: #ffdead; background: transparent; }
|
|
448
|
+
.ruby-node { color: #ffa07a; background: transparent; }
|
|
449
|
+
.ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
|
|
450
|
+
.ruby-regexp { color: #ffa07a; background: transparent; }
|
|
451
|
+
.ruby-value { color: #7fffd4; background: transparent; }
|
|
452
|
+
|
|
453
|
+
/* @end */
|
|
454
|
+
/* @end */
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
/* @group File Popup Contents */
|
|
458
|
+
|
|
459
|
+
.file #metadata,
|
|
460
|
+
.file-popup #metadata {
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.file-popup dl {
|
|
464
|
+
font-size: 80%;
|
|
465
|
+
padding: 0.75em;
|
|
466
|
+
background-color: #F2F5ED;
|
|
467
|
+
color: #333;
|
|
468
|
+
border: 1px solid #bbb;
|
|
469
|
+
-moz-border-radius: 3px;
|
|
470
|
+
-webkit-border-radius: 3px;
|
|
471
|
+
}
|
|
472
|
+
.file dt {
|
|
473
|
+
font-weight: bold;
|
|
474
|
+
padding-left: 22px;
|
|
475
|
+
line-height: 20px;
|
|
476
|
+
background: url(images/page_white_width.png) no-repeat left top;
|
|
477
|
+
}
|
|
478
|
+
.file dt.modified-date {
|
|
479
|
+
background: url(images/date.png) no-repeat left top;
|
|
480
|
+
}
|
|
481
|
+
.file dt.requires {
|
|
482
|
+
background: url(images/plugin.png) no-repeat left top;
|
|
483
|
+
}
|
|
484
|
+
.file dt.scs-url {
|
|
485
|
+
background: url(images/wrench.png) no-repeat left top;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.file dl dd {
|
|
489
|
+
margin: 0 0 1em 0;
|
|
490
|
+
}
|
|
491
|
+
.file #metadata dl dd ul {
|
|
492
|
+
list-style: circle;
|
|
493
|
+
margin-left: 20px;
|
|
494
|
+
padding-top: 0;
|
|
495
|
+
}
|
|
496
|
+
.file #metadata dl dd ul li {
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
.file h2 {
|
|
501
|
+
margin-top: 2em;
|
|
502
|
+
padding: 0.75em 0.5em;
|
|
503
|
+
background-color: #F2F5ED;
|
|
504
|
+
color: #333;
|
|
505
|
+
font-size: 120%;
|
|
506
|
+
border: 1px solid #bbb;
|
|
507
|
+
-moz-border-radius: 3px;
|
|
508
|
+
-webkit-border-radius: 3px;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/* @end */
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
/* @group ThickBox Styles */
|
|
517
|
+
#TB_window {
|
|
518
|
+
font: 12px Arial, Helvetica, sans-serif;
|
|
519
|
+
color: #333333;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
#TB_secondLine {
|
|
523
|
+
font: 10px Arial, Helvetica, sans-serif;
|
|
524
|
+
color:#505050666;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
#TB_window a:link {color: #505050666;}
|
|
528
|
+
#TB_window a:visited {color: #505050666;}
|
|
529
|
+
#TB_window a:hover {color: #000;}
|
|
530
|
+
#TB_window a:active {color: #505050666;}
|
|
531
|
+
#TB_window a:focus{color: #505050666;}
|
|
532
|
+
|
|
533
|
+
#TB_overlay {
|
|
534
|
+
position: fixed;
|
|
535
|
+
z-index:100;
|
|
536
|
+
top: 0px;
|
|
537
|
+
left: 0px;
|
|
538
|
+
height:100%;
|
|
539
|
+
width:100%;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
|
|
543
|
+
.TB_overlayBG {
|
|
544
|
+
background-color:#000;
|
|
545
|
+
filter:alpha(opacity=75);
|
|
546
|
+
-moz-opacity: 0.75;
|
|
547
|
+
opacity: 0.75;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
* html #TB_overlay { /* ie6 hack */
|
|
551
|
+
position: absolute;
|
|
552
|
+
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
#TB_window {
|
|
556
|
+
position: fixed;
|
|
557
|
+
background: #ffffff;
|
|
558
|
+
z-index: 102;
|
|
559
|
+
color:#000000;
|
|
560
|
+
display:none;
|
|
561
|
+
border: 4px solid #525252;
|
|
562
|
+
text-align:left;
|
|
563
|
+
top:50%;
|
|
564
|
+
left:50%;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
* html #TB_window { /* ie6 hack */
|
|
568
|
+
position: absolute;
|
|
569
|
+
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
#TB_window img#TB_Image {
|
|
573
|
+
display:block;
|
|
574
|
+
margin: 15px 0 0 15px;
|
|
575
|
+
border-right: 1px solid #FFC200;
|
|
576
|
+
border-bottom: 1px solid #FFC200;
|
|
577
|
+
border-top: 1px solid #505050;
|
|
578
|
+
border-left: 1px solid #505050;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
#TB_caption{
|
|
582
|
+
height:25px;
|
|
583
|
+
padding:7px 30px 10px 25px;
|
|
584
|
+
float:left;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
#TB_closeWindow{
|
|
588
|
+
height:25px;
|
|
589
|
+
padding:11px 25px 10px 0;
|
|
590
|
+
float:right;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
#TB_closeAjaxWindow{
|
|
594
|
+
padding:7px 10px 5px 0;
|
|
595
|
+
margin-bottom:1px;
|
|
596
|
+
text-align:right;
|
|
597
|
+
float:right;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
#TB_ajaxWindowTitle{
|
|
601
|
+
float:left;
|
|
602
|
+
padding:7px 0 5px 10px;
|
|
603
|
+
margin-bottom:1px;
|
|
604
|
+
font-size: 22px;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
#TB_title{
|
|
608
|
+
background-color: #660000;
|
|
609
|
+
color: #F2F5ED;
|
|
610
|
+
height:40px;
|
|
611
|
+
}
|
|
612
|
+
#TB_title a {
|
|
613
|
+
color: white !important;
|
|
614
|
+
border-bottom: 1px dotted #F2F5ED;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
#TB_ajaxContent{
|
|
618
|
+
clear:both;
|
|
619
|
+
padding:2px 15px 15px 15px;
|
|
620
|
+
overflow:auto;
|
|
621
|
+
text-align:left;
|
|
622
|
+
line-height:1.4em;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
#TB_ajaxContent.TB_modal{
|
|
626
|
+
padding:15px;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
#TB_ajaxContent p{
|
|
630
|
+
padding:5px 0px 5px 0px;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
#TB_load{
|
|
634
|
+
position: fixed;
|
|
635
|
+
display:none;
|
|
636
|
+
height:13px;
|
|
637
|
+
width:208px;
|
|
638
|
+
z-index:103;
|
|
639
|
+
top: 50%;
|
|
640
|
+
left: 50%;
|
|
641
|
+
margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
* html #TB_load { /* ie6 hack */
|
|
645
|
+
position: absolute;
|
|
646
|
+
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
#TB_HideSelect{
|
|
650
|
+
z-index:99;
|
|
651
|
+
position:fixed;
|
|
652
|
+
top: 0;
|
|
653
|
+
left: 0;
|
|
654
|
+
background-color:#fff;
|
|
655
|
+
border:none;
|
|
656
|
+
filter:alpha(opacity=0);
|
|
657
|
+
-moz-opacity: 0;
|
|
658
|
+
opacity: 0;
|
|
659
|
+
height:100%;
|
|
660
|
+
width:100%;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
* html #TB_HideSelect { /* ie6 hack */
|
|
664
|
+
position: absolute;
|
|
665
|
+
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
#TB_iframeContent{
|
|
669
|
+
clear:both;
|
|
670
|
+
border:none;
|
|
671
|
+
margin-bottom:-1px;
|
|
672
|
+
margin-top:1px;
|
|
673
|
+
_margin-bottom:1px;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
/* @end */
|
|
677
|
+
|
|
678
|
+
/* @group Debugging Section */
|
|
679
|
+
|
|
680
|
+
#debugging-toggle {
|
|
681
|
+
text-align: center;
|
|
682
|
+
}
|
|
683
|
+
#debugging-toggle img {
|
|
684
|
+
cursor: pointer;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
#rdoc-debugging-section-dump {
|
|
688
|
+
display: none;
|
|
689
|
+
margin: 0 2em 2em;
|
|
690
|
+
background: #FFC200;
|
|
691
|
+
border: 1px solid #999;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
/* @end */
|