chess 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +1 -1
- data/Rakefile +3 -4
- data/chess.gemspec +5 -0
- data/doc/Chess.html +112 -0
- data/doc/Chess/BadNotationError.html +107 -0
- data/doc/Chess/Board.html +703 -0
- data/doc/Chess/CGame.html +1005 -0
- data/doc/Chess/Game.html +684 -0
- data/doc/Chess/Gnuchess.html +215 -0
- data/doc/Chess/IllegalMoveError.html +105 -0
- data/doc/Chess/InvalidFenFormatError.html +105 -0
- data/doc/Chess/InvalidPgnFormatError.html +105 -0
- data/doc/Chess/Pgn.html +309 -0
- data/doc/Chess/UTF8Notation.html +174 -0
- data/doc/README_rdoc.html +143 -0
- data/doc/created.rid +15 -15
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +590 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +159 -12
- data/doc/js/darkfish.js +161 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +1 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +331 -0
- data/ext/chess.c +5 -2
- data/ext/game.c +1 -1
- data/ext/game.h +1 -1
- data/lib/chess/game.rb +1 -1
- data/lib/chess/pgn.rb +5 -1
- data/lib/chess/version.rb +1 -1
- metadata +112 -46
- data/doc/apple-touch-icon.png +0 -0
- data/doc/classes/Chess.html +0 -162
- data/doc/classes/Chess/BadNotationError.html +0 -84
- data/doc/classes/Chess/Board.html +0 -795
- data/doc/classes/Chess/CGame.html +0 -1168
- data/doc/classes/Chess/Game.html +0 -775
- data/doc/classes/Chess/Gnuchess.html +0 -206
- data/doc/classes/Chess/IllegalMoveError.html +0 -82
- data/doc/classes/Chess/InvalidFenFormatError.html +0 -82
- data/doc/classes/Chess/InvalidPgnFormatError.html +0 -82
- data/doc/classes/Chess/Pgn.html +0 -332
- data/doc/classes/Chess/UTF8Notation.html +0 -175
- data/doc/css/github.css +0 -123
- data/doc/css/main.css +0 -323
- data/doc/css/panel.css +0 -384
- data/doc/css/reset.css +0 -48
- data/doc/favicon.ico +0 -0
- data/doc/files/README_rdoc.html +0 -122
- data/doc/files/ext/bitboard_c.html +0 -68
- data/doc/files/ext/board_c.html +0 -68
- data/doc/files/ext/chess_c.html +0 -68
- data/doc/files/ext/common_c.html +0 -68
- data/doc/files/ext/game_c.html +0 -68
- data/doc/files/ext/special_c.html +0 -68
- data/doc/files/lib/chess/exceptions_rb.html +0 -94
- data/doc/files/lib/chess/game_rb.html +0 -84
- data/doc/files/lib/chess/gnuchess_rb.html +0 -84
- data/doc/files/lib/chess/pgn_rb.html +0 -84
- data/doc/files/lib/chess/utf8_notation_rb.html +0 -84
- data/doc/files/lib/chess/version_rb.html +0 -85
- data/doc/files/lib/chess_rb.html +0 -84
- data/doc/i/arrows.png +0 -0
- data/doc/i/results_bg.png +0 -0
- data/doc/i/tree_bg.png +0 -0
- data/doc/js/highlight.pack.js +0 -1
- data/doc/js/jquery-1.3.2.min.js +0 -19
- data/doc/js/jquery-effect.js +0 -593
- data/doc/js/main.js +0 -24
- data/doc/js/searchdoc.js +0 -449
- data/doc/panel/index.html +0 -73
- data/doc/panel/links.html +0 -34
- data/doc/panel/tree.js +0 -1
data/doc/panel/index.html
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
4
|
-
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
6
|
-
<head>
|
7
|
-
<title>search index</title>
|
8
|
-
<link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
<link rel="stylesheet" href="../css/panel.css" type="text/css" media="screen" charset="utf-8" />
|
10
|
-
<script src="../js/search_index.js" type="text/javascript" charset="utf-8"></script>
|
11
|
-
<script src="../js/searcher.js" type="text/javascript" charset="utf-8"></script>
|
12
|
-
<script src="tree.js" type="text/javascript" charset="utf-8"></script>
|
13
|
-
<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
|
14
|
-
<script src="../js/searchdoc.js" type="text/javascript" charset="utf-8"></script>
|
15
|
-
<script type="text/javascript" charset="utf-8">
|
16
|
-
function placeholder() {
|
17
|
-
if ($('<input type="text">')[0].placeholder !== undefined) return;
|
18
|
-
|
19
|
-
$('#search-label').click(function() {
|
20
|
-
$('#search').focus();
|
21
|
-
$('#search-label').hide();
|
22
|
-
});
|
23
|
-
|
24
|
-
$('#search').focus(function() {
|
25
|
-
$('#search-label').hide();
|
26
|
-
});
|
27
|
-
$('#search').blur(function() {
|
28
|
-
this.value == '' && $('#search-label').show()
|
29
|
-
});
|
30
|
-
|
31
|
-
$('#search')[0].value == '' && $('#search-label').show();
|
32
|
-
}
|
33
|
-
$(function() {
|
34
|
-
placeholder();
|
35
|
-
$('#links').hide();
|
36
|
-
var panel = new Searchdoc.Panel($('#panel'), search_data, tree, window.parent.frames[1]);
|
37
|
-
$('#search').focus();
|
38
|
-
|
39
|
-
var s = window.parent.location.search.match(/\?q=([^&]+)/);
|
40
|
-
if (s) {
|
41
|
-
s = decodeURIComponent(s[1]).replace(/\+/g, ' ');
|
42
|
-
if (s.length > 0)
|
43
|
-
{
|
44
|
-
$('#search').val(s);
|
45
|
-
panel.search(s, true);
|
46
|
-
}
|
47
|
-
}
|
48
|
-
})
|
49
|
-
</script>
|
50
|
-
</head>
|
51
|
-
<body>
|
52
|
-
<div class="panel panel_tree" id="panel">
|
53
|
-
<div class="header">
|
54
|
-
<div>
|
55
|
-
<label for="search" id="search-label" style="display: none">Search</label>
|
56
|
-
<table>
|
57
|
-
<tr><td>
|
58
|
-
<input type="Search" placeholder="Search" autosave="searchdoc" results="10" id="search" autocomplete="off"/>
|
59
|
-
</td></tr>
|
60
|
-
</table></div>
|
61
|
-
</div>
|
62
|
-
<div class="tree">
|
63
|
-
<ul>
|
64
|
-
</ul>
|
65
|
-
</div>
|
66
|
-
<div class="result">
|
67
|
-
<ul>
|
68
|
-
</ul>
|
69
|
-
</div>
|
70
|
-
</div>
|
71
|
-
<a href="links.html" id="links">index</a>
|
72
|
-
</body>
|
73
|
-
</html>
|
data/doc/panel/links.html
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>File index</head>
|
3
|
-
<body>
|
4
|
-
|
5
|
-
<a href="../files/README_rdoc.html">README.rdoc</a>
|
6
|
-
|
7
|
-
<a href="../files/ext/bitboard_c.html">ext/bitboard.c</a>
|
8
|
-
|
9
|
-
<a href="../files/ext/board_c.html">ext/board.c</a>
|
10
|
-
|
11
|
-
<a href="../files/ext/chess_c.html">ext/chess.c</a>
|
12
|
-
|
13
|
-
<a href="../files/ext/common_c.html">ext/common.c</a>
|
14
|
-
|
15
|
-
<a href="../files/ext/game_c.html">ext/game.c</a>
|
16
|
-
|
17
|
-
<a href="../files/ext/special_c.html">ext/special.c</a>
|
18
|
-
|
19
|
-
<a href="../files/lib/chess_rb.html">lib/chess.rb</a>
|
20
|
-
|
21
|
-
<a href="../files/lib/chess/exceptions_rb.html">lib/chess/exceptions.rb</a>
|
22
|
-
|
23
|
-
<a href="../files/lib/chess/game_rb.html">lib/chess/game.rb</a>
|
24
|
-
|
25
|
-
<a href="../files/lib/chess/gnuchess_rb.html">lib/chess/gnuchess.rb</a>
|
26
|
-
|
27
|
-
<a href="../files/lib/chess/pgn_rb.html">lib/chess/pgn.rb</a>
|
28
|
-
|
29
|
-
<a href="../files/lib/chess/utf8_notation_rb.html">lib/chess/utf8_notation.rb</a>
|
30
|
-
|
31
|
-
<a href="../files/lib/chess/version_rb.html">lib/chess/version.rb</a>
|
32
|
-
|
33
|
-
</body>
|
34
|
-
</html>
|
data/doc/panel/tree.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
var tree = [["","","files",[["README.rdoc","files/README_rdoc.html","",[]],["","","ext",[["bitboard.c","files/ext/bitboard_c.html","",[]],["board.c","files/ext/board_c.html","",[]],["chess.c","files/ext/chess_c.html","",[]],["common.c","files/ext/common_c.html","",[]],["game.c","files/ext/game_c.html","",[]],["special.c","files/ext/special_c.html","",[]]]],["","","lib",[["","","chess",[["exceptions.rb","files/lib/chess/exceptions_rb.html","",[]],["game.rb","files/lib/chess/game_rb.html","",[]],["gnuchess.rb","files/lib/chess/gnuchess_rb.html","",[]],["pgn.rb","files/lib/chess/pgn_rb.html","",[]],["utf8_notation.rb","files/lib/chess/utf8_notation_rb.html","",[]],["version.rb","files/lib/chess/version_rb.html","",[]]]],["chess.rb","files/lib/chess_rb.html","",[]]]]]],["Chess","classes/Chess.html","",[["BadNotationError","classes/Chess/BadNotationError.html"," < StandardError",[]],["Board","classes/Chess/Board.html"," < Object",[]],["CGame","classes/Chess/CGame.html"," < Object",[]],["Game","classes/Chess/Game.html"," < Chess::CGame",[]],["Gnuchess","classes/Chess/Gnuchess.html","",[]],["IllegalMoveError","classes/Chess/IllegalMoveError.html"," < StandardError",[]],["InvalidFenFormatError","classes/Chess/InvalidFenFormatError.html"," < StandardError",[]],["InvalidPgnFormatError","classes/Chess/InvalidPgnFormatError.html"," < StandardError",[]],["Pgn","classes/Chess/Pgn.html"," < Object",[]],["UTF8Notation","classes/Chess/UTF8Notation.html","",[]]]]]
|