rroonga 0.9.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +5 -0
- data/NEWS.ja.rdoc +114 -0
- data/NEWS.rdoc +116 -0
- data/README.ja.rdoc +65 -0
- data/README.rdoc +66 -0
- data/Rakefile +206 -0
- data/benchmark/common.rb +49 -0
- data/benchmark/read-write-many-small-items.rb +144 -0
- data/benchmark/write-many-small-items.rb +135 -0
- data/example/bookmark.rb +161 -0
- data/example/index-html.rb +89 -0
- data/example/search/config.ru +230 -0
- data/example/search/public/css/groonga.css +122 -0
- data/ext/.gitignore +2 -0
- data/ext/groonga/extconf.rb +93 -0
- data/ext/groonga/rb-grn-accessor.c +52 -0
- data/ext/groonga/rb-grn-array-cursor.c +36 -0
- data/ext/groonga/rb-grn-array.c +210 -0
- data/ext/groonga/rb-grn-column.c +573 -0
- data/ext/groonga/rb-grn-context.c +662 -0
- data/ext/groonga/rb-grn-database.c +472 -0
- data/ext/groonga/rb-grn-encoding-support.c +64 -0
- data/ext/groonga/rb-grn-encoding.c +257 -0
- data/ext/groonga/rb-grn-exception.c +1110 -0
- data/ext/groonga/rb-grn-expression-builder.c +75 -0
- data/ext/groonga/rb-grn-expression.c +731 -0
- data/ext/groonga/rb-grn-fix-size-column.c +166 -0
- data/ext/groonga/rb-grn-hash-cursor.c +38 -0
- data/ext/groonga/rb-grn-hash.c +294 -0
- data/ext/groonga/rb-grn-index-column.c +488 -0
- data/ext/groonga/rb-grn-logger.c +504 -0
- data/ext/groonga/rb-grn-object.c +1369 -0
- data/ext/groonga/rb-grn-operation.c +198 -0
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +39 -0
- data/ext/groonga/rb-grn-patricia-trie.c +488 -0
- data/ext/groonga/rb-grn-procedure.c +52 -0
- data/ext/groonga/rb-grn-query.c +260 -0
- data/ext/groonga/rb-grn-record.c +40 -0
- data/ext/groonga/rb-grn-snippet.c +334 -0
- data/ext/groonga/rb-grn-table-cursor-key-support.c +69 -0
- data/ext/groonga/rb-grn-table-cursor.c +247 -0
- data/ext/groonga/rb-grn-table-key-support.c +714 -0
- data/ext/groonga/rb-grn-table.c +1977 -0
- data/ext/groonga/rb-grn-type.c +181 -0
- data/ext/groonga/rb-grn-utils.c +769 -0
- data/ext/groonga/rb-grn-variable-size-column.c +36 -0
- data/ext/groonga/rb-grn-variable.c +108 -0
- data/ext/groonga/rb-grn-view-accessor.c +53 -0
- data/ext/groonga/rb-grn-view-cursor.c +35 -0
- data/ext/groonga/rb-grn-view-record.c +41 -0
- data/ext/groonga/rb-grn-view.c +421 -0
- data/ext/groonga/rb-grn.h +698 -0
- data/ext/groonga/rb-groonga.c +107 -0
- data/extconf.rb +130 -0
- data/html/bar.svg +153 -0
- data/html/developer.html +117 -0
- data/html/developer.svg +469 -0
- data/html/download.svg +253 -0
- data/html/favicon.ico +0 -0
- data/html/favicon.xcf +0 -0
- data/html/footer.html.erb +28 -0
- data/html/head.html.erb +4 -0
- data/html/header.html.erb +17 -0
- data/html/index.html +147 -0
- data/html/install.svg +636 -0
- data/html/logo.xcf +0 -0
- data/html/ranguba.css +250 -0
- data/html/tutorial.svg +559 -0
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga.rb +90 -0
- data/lib/groonga/context.rb +184 -0
- data/lib/groonga/expression-builder.rb +324 -0
- data/lib/groonga/patricia-trie.rb +85 -0
- data/lib/groonga/record.rb +311 -0
- data/lib/groonga/schema.rb +1191 -0
- data/lib/groonga/view-record.rb +56 -0
- data/license/GPL +340 -0
- data/license/LGPL +504 -0
- data/license/RUBY +59 -0
- data/misc/grnop2ruby.rb +49 -0
- data/pkg-config.rb +333 -0
- data/rroonga-build.rb +57 -0
- data/test-unit/Rakefile +40 -0
- data/test-unit/TODO +5 -0
- data/test-unit/bin/testrb +5 -0
- data/test-unit/html/classic.html +15 -0
- data/test-unit/html/index.html +25 -0
- data/test-unit/html/index.html.ja +27 -0
- data/test-unit/lib/test/unit.rb +323 -0
- data/test-unit/lib/test/unit/assertionfailederror.rb +25 -0
- data/test-unit/lib/test/unit/assertions.rb +1230 -0
- data/test-unit/lib/test/unit/attribute.rb +125 -0
- data/test-unit/lib/test/unit/autorunner.rb +360 -0
- data/test-unit/lib/test/unit/collector.rb +36 -0
- data/test-unit/lib/test/unit/collector/descendant.rb +23 -0
- data/test-unit/lib/test/unit/collector/dir.rb +108 -0
- data/test-unit/lib/test/unit/collector/load.rb +144 -0
- data/test-unit/lib/test/unit/collector/objectspace.rb +34 -0
- data/test-unit/lib/test/unit/color-scheme.rb +102 -0
- data/test-unit/lib/test/unit/color.rb +96 -0
- data/test-unit/lib/test/unit/diff.rb +724 -0
- data/test-unit/lib/test/unit/error.rb +130 -0
- data/test-unit/lib/test/unit/exceptionhandler.rb +39 -0
- data/test-unit/lib/test/unit/failure.rb +136 -0
- data/test-unit/lib/test/unit/fixture.rb +176 -0
- data/test-unit/lib/test/unit/notification.rb +129 -0
- data/test-unit/lib/test/unit/omission.rb +191 -0
- data/test-unit/lib/test/unit/pending.rb +150 -0
- data/test-unit/lib/test/unit/priority.rb +180 -0
- data/test-unit/lib/test/unit/runner/console.rb +52 -0
- data/test-unit/lib/test/unit/runner/emacs.rb +8 -0
- data/test-unit/lib/test/unit/runner/tap.rb +8 -0
- data/test-unit/lib/test/unit/testcase.rb +476 -0
- data/test-unit/lib/test/unit/testresult.rb +89 -0
- data/test-unit/lib/test/unit/testsuite.rb +110 -0
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +14 -0
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +466 -0
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +63 -0
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +92 -0
- data/test-unit/lib/test/unit/ui/testrunner.rb +28 -0
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +77 -0
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/test-unit/lib/test/unit/util/backtracefilter.rb +41 -0
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +28 -0
- data/test-unit/lib/test/unit/util/observable.rb +90 -0
- data/test-unit/lib/test/unit/util/procwrapper.rb +48 -0
- data/test-unit/lib/test/unit/version.rb +7 -0
- data/test-unit/sample/adder.rb +13 -0
- data/test-unit/sample/subtracter.rb +12 -0
- data/test-unit/sample/test_adder.rb +20 -0
- data/test-unit/sample/test_subtracter.rb +20 -0
- data/test-unit/sample/test_user.rb +23 -0
- data/test-unit/test/collector/test-descendant.rb +133 -0
- data/test-unit/test/collector/test-load.rb +442 -0
- data/test-unit/test/collector/test_dir.rb +406 -0
- data/test-unit/test/collector/test_objectspace.rb +100 -0
- data/test-unit/test/run-test.rb +15 -0
- data/test-unit/test/test-attribute.rb +86 -0
- data/test-unit/test/test-color-scheme.rb +67 -0
- data/test-unit/test/test-color.rb +47 -0
- data/test-unit/test/test-diff.rb +518 -0
- data/test-unit/test/test-emacs-runner.rb +60 -0
- data/test-unit/test/test-fixture.rb +287 -0
- data/test-unit/test/test-notification.rb +33 -0
- data/test-unit/test/test-omission.rb +81 -0
- data/test-unit/test/test-pending.rb +70 -0
- data/test-unit/test/test-priority.rb +119 -0
- data/test-unit/test/test-testcase.rb +544 -0
- data/test-unit/test/test_assertions.rb +1151 -0
- data/test-unit/test/test_error.rb +26 -0
- data/test-unit/test/test_failure.rb +33 -0
- data/test-unit/test/test_testresult.rb +113 -0
- data/test-unit/test/test_testsuite.rb +129 -0
- data/test-unit/test/testunit-test-util.rb +14 -0
- data/test-unit/test/ui/test_testrunmediator.rb +20 -0
- data/test-unit/test/util/test-method-owner-finder.rb +38 -0
- data/test-unit/test/util/test_backtracefilter.rb +41 -0
- data/test-unit/test/util/test_observable.rb +102 -0
- data/test-unit/test/util/test_procwrapper.rb +36 -0
- data/test/.gitignore +1 -0
- data/test/groonga-test-utils.rb +134 -0
- data/test/run-test.rb +58 -0
- data/test/test-array.rb +90 -0
- data/test/test-column.rb +316 -0
- data/test/test-context-select.rb +93 -0
- data/test/test-context.rb +73 -0
- data/test/test-database.rb +113 -0
- data/test/test-encoding.rb +33 -0
- data/test/test-exception.rb +93 -0
- data/test/test-expression-builder.rb +217 -0
- data/test/test-expression.rb +134 -0
- data/test/test-fix-size-column.rb +65 -0
- data/test/test-gqtp.rb +72 -0
- data/test/test-hash.rb +305 -0
- data/test/test-index-column.rb +81 -0
- data/test/test-logger.rb +37 -0
- data/test/test-patricia-trie.rb +205 -0
- data/test/test-procedure.rb +37 -0
- data/test/test-query.rb +22 -0
- data/test/test-record.rb +243 -0
- data/test/test-remote.rb +54 -0
- data/test/test-schema-view.rb +90 -0
- data/test/test-schema.rb +459 -0
- data/test/test-snippet.rb +130 -0
- data/test/test-table-cursor.rb +153 -0
- data/test/test-table-offset-and-limit.rb +102 -0
- data/test/test-table-select-normalize.rb +53 -0
- data/test/test-table-select.rb +150 -0
- data/test/test-table.rb +594 -0
- data/test/test-type.rb +71 -0
- data/test/test-variable-size-column.rb +98 -0
- data/test/test-variable.rb +28 -0
- data/test/test-vector-column.rb +76 -0
- data/test/test-version.rb +31 -0
- data/test/test-view.rb +72 -0
- data/text/TUTORIAL.ja.rdoc +392 -0
- data/text/expression.rdoc +284 -0
- metadata +276 -0
@@ -0,0 +1,107 @@
|
|
1
|
+
/* -*- c-file-style: "ruby" -*- */
|
2
|
+
/*
|
3
|
+
Copyright (C) 2009-2010 Kouhei Sutou <kou@clear-code.com>
|
4
|
+
|
5
|
+
This library is free software; you can redistribute it and/or
|
6
|
+
modify it under the terms of the GNU Lesser General Public
|
7
|
+
License version 2.1 as published by the Free Software Foundation.
|
8
|
+
|
9
|
+
This library is distributed in the hope that it will be useful,
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
Lesser General Public License for more details.
|
13
|
+
|
14
|
+
You should have received a copy of the GNU Lesser General Public
|
15
|
+
License along with this library; if not, write to the Free Software
|
16
|
+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
17
|
+
*/
|
18
|
+
|
19
|
+
#include "rb-grn.h"
|
20
|
+
|
21
|
+
rb_grn_boolean rb_grn_exited = RB_GRN_FALSE;
|
22
|
+
|
23
|
+
static VALUE
|
24
|
+
finish_groonga (VALUE self, VALUE object_id)
|
25
|
+
{
|
26
|
+
debug("finish\n");
|
27
|
+
grn_fin();
|
28
|
+
rb_grn_exited = RB_GRN_TRUE;
|
29
|
+
|
30
|
+
return Qnil;
|
31
|
+
}
|
32
|
+
|
33
|
+
void
|
34
|
+
Init_groonga (void)
|
35
|
+
{
|
36
|
+
VALUE mGrn;
|
37
|
+
VALUE cGrnBuildVersion, cGrnBindingsVersion;
|
38
|
+
VALUE groonga_finalizer, groonga_finalizer_keeper;
|
39
|
+
|
40
|
+
mGrn = rb_define_module("Groonga");
|
41
|
+
|
42
|
+
groonga_finalizer = rb_funcall(rb_cObject, rb_intern("new"), 0);
|
43
|
+
rb_define_singleton_method(groonga_finalizer, "call", finish_groonga, 1);
|
44
|
+
groonga_finalizer_keeper = rb_funcall(rb_cObject, rb_intern("new"), 0);
|
45
|
+
rb_funcall(rb_const_get(rb_cObject, rb_intern("ObjectSpace")),
|
46
|
+
rb_intern("define_finalizer"),
|
47
|
+
2, groonga_finalizer_keeper, groonga_finalizer);
|
48
|
+
rb_iv_set(mGrn, "finalizer", groonga_finalizer_keeper);
|
49
|
+
|
50
|
+
cGrnBuildVersion = rb_ary_new3(3,
|
51
|
+
INT2NUM(GRN_MAJOR_VERSION),
|
52
|
+
INT2NUM(GRN_MINOR_VERSION),
|
53
|
+
INT2NUM(GRN_MICRO_VERSION));
|
54
|
+
rb_obj_freeze(cGrnBuildVersion);
|
55
|
+
/*
|
56
|
+
* ビルドしたgroongaのバージョン。<tt>[メジャーバージョン,
|
57
|
+
* マイナーバージョン, マイクロバージョン]</tt>の配列。
|
58
|
+
*/
|
59
|
+
rb_define_const(mGrn, "BUILD_VERSION", cGrnBuildVersion);
|
60
|
+
|
61
|
+
/* FIXME: API to get runtime groonga version doesn't exist */
|
62
|
+
|
63
|
+
/*
|
64
|
+
* 利用しているgroongaのバージョン(にしたい。現在は
|
65
|
+
* BUILD_VERSIONと同じ)。<tt>[メジャーバージョ
|
66
|
+
* ン, マイナーバージョン, マイクロバージョン]</tt>の配列。
|
67
|
+
*/
|
68
|
+
rb_define_const(mGrn, "VERSION", cGrnBuildVersion);
|
69
|
+
|
70
|
+
cGrnBindingsVersion = rb_ary_new3(3,
|
71
|
+
INT2NUM(RB_GRN_MAJOR_VERSION),
|
72
|
+
INT2NUM(RB_GRN_MINOR_VERSION),
|
73
|
+
INT2NUM(RB_GRN_MICRO_VERSION));
|
74
|
+
rb_obj_freeze(cGrnBindingsVersion);
|
75
|
+
/*
|
76
|
+
* Ruby/groongaのバージョン。<tt>[メジャーバージョン, マ
|
77
|
+
* イナーバージョン, マイクロバージョン]</tt>の配列。
|
78
|
+
*/
|
79
|
+
rb_define_const(mGrn, "BINDINGS_VERSION", cGrnBindingsVersion);
|
80
|
+
|
81
|
+
rb_grn_init_exception(mGrn);
|
82
|
+
|
83
|
+
rb_grn_rc_check(grn_init(), Qnil);
|
84
|
+
|
85
|
+
rb_grn_init_utils(mGrn);
|
86
|
+
rb_grn_init_encoding(mGrn);
|
87
|
+
rb_grn_init_encoding_support(mGrn);
|
88
|
+
rb_grn_init_context(mGrn);
|
89
|
+
rb_grn_init_object(mGrn);
|
90
|
+
rb_grn_init_database(mGrn);
|
91
|
+
rb_grn_init_table(mGrn);
|
92
|
+
rb_grn_init_table_cursor(mGrn);
|
93
|
+
rb_grn_init_type(mGrn);
|
94
|
+
rb_grn_init_procedure(mGrn);
|
95
|
+
rb_grn_init_column(mGrn);
|
96
|
+
rb_grn_init_accessor(mGrn);
|
97
|
+
rb_grn_init_view_accessor(mGrn);
|
98
|
+
rb_grn_init_record(mGrn);
|
99
|
+
rb_grn_init_view_record(mGrn);
|
100
|
+
rb_grn_init_query(mGrn);
|
101
|
+
rb_grn_init_variable(mGrn);
|
102
|
+
rb_grn_init_operation(mGrn);
|
103
|
+
rb_grn_init_expression(mGrn);
|
104
|
+
rb_grn_init_expression_builder(mGrn);
|
105
|
+
rb_grn_init_logger(mGrn);
|
106
|
+
rb_grn_init_snippet(mGrn);
|
107
|
+
}
|
data/extconf.rb
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# Copyright (C) 2009-2010 Kouhei Sutou <kou@clear-code.com>
|
4
|
+
#
|
5
|
+
# This library is free software; you can redistribute it and/or
|
6
|
+
# modify it under the terms of the GNU Lesser General Public
|
7
|
+
# License version 2.1 as published by the Free Software Foundation.
|
8
|
+
#
|
9
|
+
# This library is distributed in the hope that it will be useful,
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
# Lesser General Public License for more details.
|
13
|
+
#
|
14
|
+
# You should have received a copy of the GNU Lesser General Public
|
15
|
+
# License along with this library; if not, write to the Free Software
|
16
|
+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
17
|
+
|
18
|
+
require 'pathname'
|
19
|
+
|
20
|
+
base_dir = Pathname(__FILE__).dirname.realpath
|
21
|
+
$LOAD_PATH.unshift(base_dir.to_s)
|
22
|
+
|
23
|
+
require 'English'
|
24
|
+
require 'pkg-config'
|
25
|
+
require 'rroonga-build'
|
26
|
+
require 'fileutils'
|
27
|
+
|
28
|
+
include RroongaBuild
|
29
|
+
|
30
|
+
package_name = "groonga"
|
31
|
+
module_name = "groonga"
|
32
|
+
major, minor, micro = RequiredGroongaVersion::VERSION
|
33
|
+
|
34
|
+
def install_groonga_locally(major, minor, micro)
|
35
|
+
require 'open-uri'
|
36
|
+
require 'shellwords'
|
37
|
+
|
38
|
+
tar_gz = "groonga-#{major}.#{minor}.#{micro}.tar.gz"
|
39
|
+
FileUtils.mkdir_p(local_groonga_base_dir)
|
40
|
+
|
41
|
+
install_dir = local_groonga_install_dir
|
42
|
+
Dir.chdir(local_groonga_base_dir) do
|
43
|
+
url = "http://groonga.org/files/groonga/#{tar_gz}"
|
44
|
+
message("downloading %s...", url)
|
45
|
+
open(url, "rb") do |input|
|
46
|
+
File.open(tar_gz, "wb") do |output|
|
47
|
+
while (buffer = input.read(1024))
|
48
|
+
output.print(buffer)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
message(" done\n")
|
53
|
+
|
54
|
+
message("extracting...")
|
55
|
+
if xsystem("tar xfz #{tar_gz}")
|
56
|
+
message(" done\n")
|
57
|
+
else
|
58
|
+
message(" failed\n")
|
59
|
+
exit 1
|
60
|
+
end
|
61
|
+
|
62
|
+
groonga_source_dir = "groonga-#{major}.#{minor}.#{micro}"
|
63
|
+
Dir.chdir(groonga_source_dir) do
|
64
|
+
message("configuring...")
|
65
|
+
prefix = Shellwords.escape(install_dir)
|
66
|
+
if xsystem("./configure CFLAGS='-g -O0' --prefix=#{prefix}")
|
67
|
+
message(" done\n")
|
68
|
+
else
|
69
|
+
message(" failed\n")
|
70
|
+
exit 1
|
71
|
+
end
|
72
|
+
|
73
|
+
message("building (maybe long time)...")
|
74
|
+
if xsystem("make")
|
75
|
+
message(" done\n")
|
76
|
+
else
|
77
|
+
message(" failed\n")
|
78
|
+
exit 1
|
79
|
+
end
|
80
|
+
|
81
|
+
message("installing...")
|
82
|
+
if [major, minor, micro] == [0, 1, 6]
|
83
|
+
make_install_args = " MKDIR_P='mkdir -p --'"
|
84
|
+
else
|
85
|
+
make_install_args = ""
|
86
|
+
end
|
87
|
+
if xsystem("make install#{make_install_args}")
|
88
|
+
message(" done\n")
|
89
|
+
else
|
90
|
+
message(" failed\n")
|
91
|
+
exit 1
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
prepend_pkg_config_path_for_local_groonga
|
97
|
+
end
|
98
|
+
|
99
|
+
unless PKGConfig.have_package(package_name, major, minor, micro)
|
100
|
+
unless have_local_groonga?(package_name, major, minor, micro)
|
101
|
+
install_groonga_locally(major, minor, micro)
|
102
|
+
PKGConfig.have_package(package_name, major, minor, micro) or exit 1
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
source_ext_dir = Pathname("ext") + "groonga"
|
107
|
+
FileUtils.mkdir_p(source_ext_dir.to_s)
|
108
|
+
|
109
|
+
require 'rbconfig'
|
110
|
+
ext_dir = base_dir + "ext" + "groonga"
|
111
|
+
Dir.chdir(source_ext_dir.to_s) do
|
112
|
+
config = Proc.new do |key|
|
113
|
+
RbConfig::CONFIG[key]
|
114
|
+
end
|
115
|
+
ruby = "#{config['bindir']}/#{config['ruby_install_name']}#{config['EXEEXT']}"
|
116
|
+
message("checking in #{ext_dir}...\n")
|
117
|
+
system("#{ruby} #{ext_dir + 'extconf.rb'}") or exit 1
|
118
|
+
message("checking in #{ext_dir}: done.\n")
|
119
|
+
end
|
120
|
+
|
121
|
+
message("creating top-level Makefile\n")
|
122
|
+
File.open("Makefile", "w") do |makefile|
|
123
|
+
targets = ["all", "clean", "install"]
|
124
|
+
targets.each do |target|
|
125
|
+
makefile.puts <<-EOM
|
126
|
+
#{target}:
|
127
|
+
cd #{source_ext_dir}; $(MAKE) $(MAKE_ARGS) #{target}
|
128
|
+
EOM
|
129
|
+
end
|
130
|
+
end
|
data/html/bar.svg
ADDED
@@ -0,0 +1,153 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
<svg
|
4
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
5
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
6
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
7
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
9
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
10
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
11
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
12
|
+
width="22.25"
|
13
|
+
height="48"
|
14
|
+
id="svg10194"
|
15
|
+
sodipodi:version="0.32"
|
16
|
+
inkscape:version="0.46"
|
17
|
+
version="1.0"
|
18
|
+
sodipodi:docname="bar.svg"
|
19
|
+
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
20
|
+
inkscape:export-filename="/home/kou/work/c/milter-manager/html/bar.png"
|
21
|
+
inkscape:export-xdpi="72"
|
22
|
+
inkscape:export-ydpi="72">
|
23
|
+
<defs
|
24
|
+
id="defs10196">
|
25
|
+
<filter
|
26
|
+
inkscape:collect="always"
|
27
|
+
id="filter10190"
|
28
|
+
x="-0.0042679603"
|
29
|
+
width="1.0085359"
|
30
|
+
y="-0.26376387"
|
31
|
+
height="1.5275277">
|
32
|
+
<feGaussianBlur
|
33
|
+
inkscape:collect="always"
|
34
|
+
stdDeviation="1.331093"
|
35
|
+
id="feGaussianBlur10192" />
|
36
|
+
</filter>
|
37
|
+
<linearGradient
|
38
|
+
id="linearGradient10136"
|
39
|
+
inkscape:collect="always">
|
40
|
+
<stop
|
41
|
+
id="stop10138"
|
42
|
+
offset="0"
|
43
|
+
style="stop-color:#f57900;stop-opacity:1;" />
|
44
|
+
<stop
|
45
|
+
id="stop10140"
|
46
|
+
offset="1"
|
47
|
+
style="stop-color:#fcaf3e;stop-opacity:1" />
|
48
|
+
</linearGradient>
|
49
|
+
<linearGradient
|
50
|
+
inkscape:collect="always"
|
51
|
+
xlink:href="#linearGradient10136"
|
52
|
+
id="linearGradient10134"
|
53
|
+
x1="316.17773"
|
54
|
+
y1="89.416435"
|
55
|
+
x2="316.17773"
|
56
|
+
y2="82.569916"
|
57
|
+
gradientUnits="userSpaceOnUse"
|
58
|
+
gradientTransform="matrix(3e-2,0,0,3,358.91588,-160.60243)" />
|
59
|
+
<linearGradient
|
60
|
+
id="linearGradient10152"
|
61
|
+
inkscape:collect="always">
|
62
|
+
<stop
|
63
|
+
id="stop10154"
|
64
|
+
offset="0"
|
65
|
+
style="stop-color:#ffffff;stop-opacity:1;" />
|
66
|
+
<stop
|
67
|
+
id="stop10156"
|
68
|
+
offset="1"
|
69
|
+
style="stop-color:#ffffff;stop-opacity:0;" />
|
70
|
+
</linearGradient>
|
71
|
+
<inkscape:perspective
|
72
|
+
sodipodi:type="inkscape:persp3d"
|
73
|
+
inkscape:vp_x="0 : 526.18109 : 1"
|
74
|
+
inkscape:vp_y="0 : 1000 : 0"
|
75
|
+
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
76
|
+
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
77
|
+
id="perspective10202" />
|
78
|
+
<linearGradient
|
79
|
+
inkscape:collect="always"
|
80
|
+
xlink:href="#linearGradient10152"
|
81
|
+
id="linearGradient10230"
|
82
|
+
gradientUnits="userSpaceOnUse"
|
83
|
+
gradientTransform="matrix(3.0006411e-2,0,0,2.7421563,358.91357,-137.86823)"
|
84
|
+
x1="306.39508"
|
85
|
+
y1="83.499619"
|
86
|
+
x2="306.39508"
|
87
|
+
y2="97.729294" />
|
88
|
+
</defs>
|
89
|
+
<sodipodi:namedview
|
90
|
+
id="base"
|
91
|
+
pagecolor="#ffffff"
|
92
|
+
bordercolor="#666666"
|
93
|
+
borderopacity="1.0"
|
94
|
+
gridtolerance="10000"
|
95
|
+
guidetolerance="10"
|
96
|
+
objecttolerance="10"
|
97
|
+
inkscape:pageopacity="0.0"
|
98
|
+
inkscape:pageshadow="2"
|
99
|
+
inkscape:zoom="3.959798"
|
100
|
+
inkscape:cx="56.513145"
|
101
|
+
inkscape:cy="10.662903"
|
102
|
+
inkscape:document-units="px"
|
103
|
+
inkscape:current-layer="layer1"
|
104
|
+
showgrid="false"
|
105
|
+
inkscape:window-width="843"
|
106
|
+
inkscape:window-height="650"
|
107
|
+
inkscape:window-x="137"
|
108
|
+
inkscape:window-y="138" />
|
109
|
+
<metadata
|
110
|
+
id="metadata10199">
|
111
|
+
<rdf:RDF>
|
112
|
+
<cc:Work
|
113
|
+
rdf:about="">
|
114
|
+
<dc:format>image/svg+xml</dc:format>
|
115
|
+
<dc:type
|
116
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
117
|
+
</cc:Work>
|
118
|
+
</rdf:RDF>
|
119
|
+
</metadata>
|
120
|
+
<g
|
121
|
+
inkscape:label="Layer 1"
|
122
|
+
inkscape:groupmode="layer"
|
123
|
+
id="layer1"
|
124
|
+
transform="translate(-358.96534,-80.494781)">
|
125
|
+
<rect
|
126
|
+
y="87.256226"
|
127
|
+
x="-2.3278677"
|
128
|
+
height="11.111678"
|
129
|
+
width="747.51288"
|
130
|
+
id="rect10160"
|
131
|
+
style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;filter:url(#filter10190);enable-background:accumulate"
|
132
|
+
transform="matrix(3e-2,0,0,3,358.98571,-173.62413)" />
|
133
|
+
<rect
|
134
|
+
style="opacity:1;fill:url(#linearGradient10134);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
|
135
|
+
id="rect9356"
|
136
|
+
width="22.425388"
|
137
|
+
height="33.335033"
|
138
|
+
x="358.91583"
|
139
|
+
y="87.244781"
|
140
|
+
inkscape:export-xdpi="72"
|
141
|
+
inkscape:export-ydpi="72" />
|
142
|
+
<path
|
143
|
+
style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#ce5c00;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
|
144
|
+
d="M 358.91586,87.244781 L 381.34125,87.244781 M 381.34125,120.57982 L 358.91586,120.57982"
|
145
|
+
id="rect10220"
|
146
|
+
sodipodi:nodetypes="cccc" />
|
147
|
+
<path
|
148
|
+
style="opacity:0.33734945;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient10230);stroke-width:1.49652982;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
|
149
|
+
d="M 381.34378,119.14706 L 358.9136,119.14706 M 358.9136,88.677084 L 381.34378,88.677084"
|
150
|
+
id="rect10224"
|
151
|
+
sodipodi:nodetypes="cccc" />
|
152
|
+
</g>
|
153
|
+
</svg>
|
data/html/developer.html
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
8
|
+
<link rel="stylesheet" href="ranguba.css" type="text/css" />
|
9
|
+
<link rel="shortcut icon" href="/favicon.ico" />
|
10
|
+
<link rel="icon" href="/favicon.png" />
|
11
|
+
<title>開発者向け情報 - ラングバ</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div class="header">
|
15
|
+
<div class="title">
|
16
|
+
<a href="./">
|
17
|
+
<span class="title">開発者向け情報</span>
|
18
|
+
<span class="title-separator">-</span>
|
19
|
+
<span class="title-project">ラングバ</span>
|
20
|
+
</a>
|
21
|
+
</div>
|
22
|
+
<ul class="menu">
|
23
|
+
<li id="menu-reference"><a href="rroonga/">リファレンスマニュアル</a></li>
|
24
|
+
<li id="menu-tutorial"><a href="rroonga/text/TUTORIAL_ja_rdoc.html">チュートリアル</a></li>
|
25
|
+
<li id="menu-install"><a href="./#install-rroonga">インストール</a></li>
|
26
|
+
<li id="menu-developer"><a href="developer.html">開発者向け情報</a></li>
|
27
|
+
</ul>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<div class="content">
|
31
|
+
<div class="main">
|
32
|
+
<h1>開発者向け情報</h1>
|
33
|
+
<p>
|
34
|
+
ラングバプロジェクトはRubyからもっと便利にgroongaを使えるようにするため、開発に参加してくれる人を募集しています。
|
35
|
+
ここでは、開発に必要となる情報を提供します。
|
36
|
+
</p>
|
37
|
+
|
38
|
+
<h2>リポジトリ</h2>
|
39
|
+
<p>
|
40
|
+
rroongaとActiveGroongaのリポジトリはRubyForge上にあります。
|
41
|
+
Subversionを利用しており、それぞれ以下のようにチェックアウトできます。
|
42
|
+
</p>
|
43
|
+
<dl>
|
44
|
+
<dt>rroonga</dt>
|
45
|
+
<dd><pre class="command">% svn co http://groonga.rubyforge.org/svn/rroonga/trunk rroonga</pre></dd>
|
46
|
+
<dt>ActiveGroonga</dt>
|
47
|
+
<dd><pre class="command">% svn co http://groonga.rubyforge.org/svn/activegroonga/trunk activegroonga</pre></dd>
|
48
|
+
</dl>
|
49
|
+
|
50
|
+
<p>
|
51
|
+
rroongaおよびActiveGroongaを利用したサンプルプログラムもリポジトリにあります。
|
52
|
+
サンプルプログラムは以下のようにチェックアウトできます。
|
53
|
+
</p>
|
54
|
+
<pre class="command">% svn co http://groonga.rubyforge.org/svn/examples ranguba-examples</pre>
|
55
|
+
|
56
|
+
<h2>バグ報告・メーリングリスト</h2>
|
57
|
+
<p>
|
58
|
+
バグ報告は<a href="http://lists.sourceforge.jp/mailman/listinfo/groonga-dev">groongaのメーリングリスト</a>または<a href="http://redmine.groonga.org/projects/rroonga/issues/new">Redmine</a>にお願いします。
|
59
|
+
また、疑問点・意見・パッチなどもgroongaのメーリングリストにお願いします。
|
60
|
+
</p>
|
61
|
+
|
62
|
+
<h2>コミットメール</h2>
|
63
|
+
<p>
|
64
|
+
リポジトリにコミットがあるとそのコミットの差分が<a href="http://rubyforge.org/mailman/listinfo/groonga-commit">groonga-commitメーリングリスト</a>に流れます。
|
65
|
+
開発に興味がある場合はgroonga-commitメーリングリストを購読してください。
|
66
|
+
</p>
|
67
|
+
|
68
|
+
<h2>ドキュメント</h2>
|
69
|
+
<p>
|
70
|
+
ドキュメントはソースコード中にRDocで記述しています。
|
71
|
+
生成されたドキュメントはHTMLに変換され、<a href="rroonga/">リファレンスマニュアル</a>で公開されます。
|
72
|
+
</p>
|
73
|
+
<p>
|
74
|
+
いつかは英語と日本語を用意できればよいとは思いますが、とりあえず、現在は日本語のみ用意しています。
|
75
|
+
日本語ドキュメントは直接ソースコード中に記述しています。RDocで多言語に対応したリファレンスマニュアルを作成する仕組みや、英語のドキュメント作成を手伝ってくれる人を募集しています。
|
76
|
+
</p>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div class="sidebar">
|
80
|
+
<ul>
|
81
|
+
<li><a href="http://rubyforge.org/projects/groonga/">プロジェクトページ</a></li>
|
82
|
+
<li>
|
83
|
+
<a href="http://lists.sourceforge.jp/mailman/listinfo/groonga-dev">メーリングリスト</a>
|
84
|
+
(groongaのメーリングリストにお願いします)
|
85
|
+
</li>
|
86
|
+
</ul>
|
87
|
+
</div>
|
88
|
+
</div>
|
89
|
+
|
90
|
+
<div class="sponsors">
|
91
|
+
<p id="sponsor-rubyforge">
|
92
|
+
<a href="http://rubyforge.org/projects/groonga/">
|
93
|
+
<img src="rubyforge.png" width="120" height="24" border="0" alt="ラングバプロジェクトはRubyForge.orgにホスティングしてもらっています。" />
|
94
|
+
</a>
|
95
|
+
</p>
|
96
|
+
<p id="sponsor-tango">
|
97
|
+
<a href="http://tango.freedesktop.org/">
|
98
|
+
<img width="120" height="53" border="0" alt="Tango Desktop Projectのアイコンを利用しています。" src="tango-logo.png" />
|
99
|
+
</a>
|
100
|
+
</p>
|
101
|
+
|
102
|
+
<!-- Piwik -->
|
103
|
+
<a href="http://piwik.org" title="Web analytics" onclick="window.open(this.href);return(false);">
|
104
|
+
<script type="text/javascript">
|
105
|
+
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.clear-code.com/piwik/" : "http://www.clear-code.com/piwik/");
|
106
|
+
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
|
107
|
+
</script><script type="text/javascript">
|
108
|
+
piwik_action_name = '';
|
109
|
+
piwik_idsite = 2;
|
110
|
+
piwik_url = pkBaseURL + "piwik.php";
|
111
|
+
piwik_log(piwik_action_name, piwik_idsite, piwik_url);
|
112
|
+
</script>
|
113
|
+
<object><noscript><p>Web analytics <img src="http://www.clear-code.com/piwik/piwik.php?idsite=2" style="border:0" alt=""/></p></noscript></object></a>
|
114
|
+
<!-- End Piwik Tag -->
|
115
|
+
</div>
|
116
|
+
</body>
|
117
|
+
</html>
|