An Objective-C wrapper for Mac OS X’s FSEvents C API.
リビジョン | 791231dd1d549a45bc79d5964ff045f7d354da4e (tree) |
---|---|
日時 | 2011-11-04 07:40:44 |
作者 | Aron Cedercrantz <aron@cede...> |
コミッター | Aron Cedercrantz |
Change style to a black and blue.
The red (previous) was annoying in the long run.
Also change some other stuff to make site look better, at least I think so.
@@ -14,6 +14,7 @@ | ||
14 | 14 | <div id="container"> |
15 | 15 | |
16 | 16 | <div class="download"> |
17 | + <p>Download the project</p> | |
17 | 18 | <a href="https://github.com/rastersize/CDEvents/zipball/master"> |
18 | 19 | <img border="0" width="90" src="https://github.com/images/modules/download/zip.png"></a> |
19 | 20 | <a href="https://github.com/rastersize/CDEvents/tarball/master"> |
@@ -24,7 +25,7 @@ | ||
24 | 25 | <span class="small">by <a href="https://github.com/rastersize">rastersize</a></span></h1> |
25 | 26 | |
26 | 27 | <div class="description"> |
27 | - <p>CDEvents is an Objective-C wrapper for Mac OS X's <a href="http://developer.apple.com/mac/library/documentation/Darwin/Reference/FSEvents_Ref/FSEvents_h/index.html" title="The FSEvents C API documentation on Apples developer site">FSEvents C API</a> with support for blocks. Furthermore, all the classes are immutable and it should be thread-safe.</p> | |
28 | + <p>CDEvents is an Objective-C wrapper for Mac OS X's <a href="http://developer.apple.com/mac/library/documentation/Darwin/Reference/FSEvents_Ref/FSEvents_h/index.html" title="The FSEvents C API documentation on Apples developer site">FSEvents C API</a> with support for blocks. Furthermore, all the classes are immutable.</p> | |
28 | 29 | </div> |
29 | 30 | |
30 | 31 | <h2 id="usage">Usage</h2> |
@@ -60,7 +61,7 @@ | ||
60 | 61 | <h2 id="documentation">Documentation</h2> |
61 | 62 | <p>View the <a href="docs/api">index of API documentation</a> for all version of CDEvents or go directly to <a href="docs/api/latest"> API documentation for the latest version</a> of CDEvents. Now and then the <a href="docs/api/head">API documentation for HEAD</a> is also updated. The API documentation for all versions of CDEvents can be</p> |
62 | 63 | |
63 | - <h2>Depdendencies</h2> | |
64 | + <h2>Requirements</h2> | |
64 | 65 | <p>Requires <a href="http://www.apple.com/macosx/">Mac OS X</a> 10.6 (Snow Leopard) and an Intel 64-bit CPU. The requirements stems from that <a href="http://clang.llvm.org/docs/AutomaticReferenceCounting.html">automatic reference counting</a> (ARC) is supported from 10.6 and up as long as the modern (i.e. 64-bit) Objective-C runtime is used since ARC requires the non-fragile ABI. Although the built product works on 10.6 and up it must be built on a machine running 10.7 (Lion) using Xcode 4.2 and the 10.7 SDK as the 10.6 SDK does not include ARC. The built product support both manual memory management and automatic reference counting.</p> |
65 | 66 | |
66 | 67 | <p>If you need to support older versions of OS X or garbage collection please see the branch <a href="https://github.com/rastersize/CDEvents/tree/support%2F1.1" title="CDEvents support branch 1.1 with support for GC and OS X 10.5">support/1.1</a> All 1.1.x version will support garbage collection and OS X 10.5.</p> |
@@ -82,19 +83,10 @@ | ||
82 | 83 | </p> |
83 | 84 | |
84 | 85 | <h2>License</h2> |
85 | - <p>CDEvents is licensed under the <a href="http://en.wikipedia.org/wiki/MIT_License">MIT license</a> (the Expat version).</p> | |
86 | - <blockquote> | |
87 | - <p>Copyright (c) 2010, 2011 Aron Cedercrantz</p> | |
88 | - | |
89 | - <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p> | |
90 | - | |
91 | - <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p> | |
92 | - | |
93 | - <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p> | |
94 | - </blockquote> | |
86 | + <p>CDEvents is licensed under the <a href="http://en.wikipedia.org/wiki/MIT_License">MIT license</a> (the Expat version). See the <a href="https://github.com/rastersize/CDEvents/blob/develop/LICENSE" title="CDEvents license file">LICENSE file</a> in the project root for the full text.</p> | |
95 | 87 | |
96 | 88 | <div class="footer"> |
97 | - © 2011 Aron Cedercrantz. View source on <a href="https://github.com/rastersize/CDEvents" title="View source on GitHub (repository: rastersize/CDEvents)">GitHub</a>. | |
89 | + © 2011 <a href="http://aron.cedercrantz.com/">Aron Cedercrantz</a>. View source on <a href="https://github.com/rastersize/CDEvents" title="View source on GitHub (repository: rastersize/CDEvents)">GitHub</a>. | |
98 | 90 | </div> |
99 | 91 | |
100 | 92 | </div> |
@@ -2,46 +2,39 @@ body { | ||
2 | 2 | font-family: 'Helvetica Nueu',Helvetica,Arial,FreeSans,sans-serif; |
3 | 3 | font-size: 18px; |
4 | 4 | margin-top: 1em; |
5 | -} | |
6 | - | |
7 | -ul { | |
8 | - list-style-type: square; | |
5 | + color: #333; | |
9 | 6 | } |
10 | 7 | |
11 | 8 | li { |
12 | - margin-bottom: 10px; | |
9 | + margin-bottom: .5em; | |
13 | 10 | } |
14 | 11 | |
15 | 12 | a { |
16 | 13 | text-decoration: none; |
17 | - /*color: #36C;*/ | |
18 | - color: #db413d; | |
14 | + color: #36C; | |
19 | 15 | } |
20 | 16 | |
21 | 17 | a:hover { |
22 | 18 | text-decoration: underline; |
23 | - /*color: #36C;*/ | |
24 | - color: #db413d; | |
19 | + color: #36C; | |
25 | 20 | } |
26 | 21 | |
27 | 22 | h1 { |
28 | - color: #db413d; | |
23 | + color: #000; | |
29 | 24 | font-size: 275%; |
30 | 25 | margin-bottom: -.125em; |
31 | 26 | } |
32 | 27 | |
33 | 28 | h1 a, h1 a:hover, h1 a:active, h1 a:focus { |
34 | - color: #db413d; | |
29 | + color: #000; | |
35 | 30 | } |
36 | 31 | |
37 | 32 | h2 { |
38 | - /*border-bottom: 1px solid #8391A8; | |
39 | - color: #3C4C6C;*/ | |
40 | - border-bottom: 4px solid #db413d; | |
41 | - color: #D52823; | |
33 | + color: #000; | |
42 | 34 | font-size: 160%; |
43 | 35 | font-weight: normal; |
44 | 36 | margin-top: 1.75em; |
37 | + margin-bottom: -.125em; | |
45 | 38 | padding-bottom: 2px; |
46 | 39 | } |
47 | 40 |
@@ -49,14 +42,25 @@ p { | ||
49 | 42 | line-height: 1.5em; |
50 | 43 | } |
51 | 44 | |
52 | -.download { float: right; } | |
45 | +.download { | |
46 | + color: #666; | |
47 | + float: right; | |
48 | + margin-top: 1em; | |
49 | +} | |
50 | + | |
51 | +.download p { | |
52 | + margin-bottom: -.25em; | |
53 | + margin-left: 15px; | |
54 | + font-size: 80%; | |
55 | + font-weight: bold; | |
56 | +} | |
53 | 57 | |
54 | 58 | .footer { |
55 | 59 | font-size: 80%; |
56 | 60 | color: #666; |
57 | 61 | text-align: center; |
58 | - padding-top: 1em; | |
59 | - padding-bottom: 2em; | |
62 | + padding-top: 2.5em; | |
63 | + padding-bottom: 10em; | |
60 | 64 | } |
61 | 65 | |
62 | 66 | .small { |
@@ -73,7 +77,8 @@ h1 .small { | ||
73 | 77 | } |
74 | 78 | |
75 | 79 | .description { |
76 | - margin-bottom: -2em; | |
80 | + margin-bottom: -1em; | |
81 | + font-size: 110%; | |
77 | 82 | } |
78 | 83 | |
79 | 84 | code { |
@@ -119,4 +124,12 @@ code .string, pre .argument { | ||
119 | 124 | |
120 | 125 | code .pre-processor { |
121 | 126 | color: #c7afff; |
127 | +} | |
128 | + | |
129 | +blockquote { | |
130 | + color: #666; | |
131 | + font-family: Courier, Consolas, monospace; | |
132 | + font-size: 80%; | |
133 | + margin-left: 2em; | |
134 | + margin-right: 2em; | |
122 | 135 | } |
\ No newline at end of file |