rroonga 1.0.1-x86-mingw32 → 1.1.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS.ja.rdoc +146 -0
- data/NEWS.rdoc +146 -0
- data/README.ja.rdoc +7 -5
- data/README.rdoc +6 -5
- data/Rakefile +170 -18
- data/benchmark/create-wikipedia-database.rb +212 -0
- data/benchmark/read-write-many-small-items.rb +0 -0
- data/benchmark/repeat-load.rb +213 -0
- data/benchmark/select.rb +1052 -0
- data/benchmark/write-many-small-items.rb +0 -0
- data/example/bookmark.rb +94 -91
- data/example/index-html.rb +0 -0
- data/ext/groonga/extconf.rb +6 -6
- data/ext/groonga/rb-grn-accessor.c +1 -1
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-column.c +201 -10
- data/ext/groonga/rb-grn-context.c +119 -20
- data/ext/groonga/rb-grn-database.c +27 -4
- data/ext/groonga/rb-grn-exception.c +15 -0
- data/ext/groonga/rb-grn-expression.c +14 -10
- data/ext/groonga/rb-grn-hash.c +4 -4
- data/ext/groonga/rb-grn-index-column.c +10 -6
- data/ext/groonga/rb-grn-logger.c +2 -2
- data/ext/groonga/rb-grn-object.c +33 -29
- data/ext/groonga/{rb-grn-operation.c → rb-grn-operator.c} +89 -87
- data/ext/groonga/rb-grn-patricia-trie.c +12 -12
- data/ext/groonga/rb-grn-plugin.c +134 -0
- data/ext/groonga/rb-grn-procedure.c +1 -1
- data/ext/groonga/rb-grn-query.c +7 -7
- data/ext/groonga/rb-grn-snippet.c +4 -3
- data/ext/groonga/rb-grn-table-cursor.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +27 -24
- data/ext/groonga/rb-grn-table.c +119 -58
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +20 -19
- data/ext/groonga/rb-grn-variable.c +1 -1
- data/ext/groonga/rb-grn-view-accessor.c +1 -1
- data/ext/groonga/rb-grn-view.c +1 -1
- data/ext/groonga/rb-grn.h +26 -20
- data/ext/groonga/rb-groonga.c +6 -4
- data/extconf.rb +10 -4
- data/html/developer.html +8 -2
- data/html/favicon.ico +0 -0
- data/html/favicon.svg +591 -0
- data/html/index.html +78 -12
- data/html/logo.svg +612 -0
- data/html/ranguba.css +92 -7
- data/html/readme.svg +256 -0
- data/lib/groonga.so +0 -0
- data/lib/groonga/context.rb +52 -1
- data/lib/groonga/expression-builder.rb +42 -6
- data/lib/groonga/record.rb +84 -15
- data/lib/groonga/schema.rb +524 -122
- data/pkg/rroonga-1.1.0-x86-mingw32/NEWS.ja.rdoc +326 -0
- data/pkg/rroonga-1.1.0-x86-mingw32/NEWS.rdoc +328 -0
- data/pkg/rroonga-1.1.0-x86-mingw32/README.ja.rdoc +68 -0
- data/pkg/rroonga-1.1.0-x86-mingw32/README.rdoc +68 -0
- data/pkg/rroonga-1.1.0-x86-mingw32/text/expression.rdoc +285 -0
- data/{text/TUTORIAL.ja.rdoc → pkg/rroonga-1.1.0-x86-mingw32/text/tutorial.ja.rdoc} +165 -126
- data/pkg/rroonga-1.1.0/NEWS.ja.rdoc +326 -0
- data/pkg/rroonga-1.1.0/NEWS.rdoc +328 -0
- data/pkg/rroonga-1.1.0/README.ja.rdoc +68 -0
- data/pkg/rroonga-1.1.0/README.rdoc +68 -0
- data/pkg/rroonga-1.1.0/text/expression.rdoc +285 -0
- data/pkg/rroonga-1.1.0/text/tutorial.ja.rdoc +433 -0
- data/rroonga-build.rb +3 -3
- data/test/run-test.rb +1 -1
- data/test/test-array.rb +4 -0
- data/test/test-column.rb +31 -1
- data/test/test-context-select.rb +45 -14
- data/test/test-context.rb +44 -0
- data/test/test-database.rb +21 -1
- data/test/test-expression-builder.rb +46 -5
- data/test/test-fix-size-column.rb +12 -0
- data/test/test-hash.rb +10 -4
- data/test/test-index-column.rb +33 -0
- data/test/test-patricia-trie.rb +6 -0
- data/test/test-plugin.rb +29 -0
- data/test/test-record.rb +84 -1
- data/test/test-remote.rb +3 -2
- data/test/test-schema-create-table.rb +32 -2
- data/test/test-schema-type.rb +167 -0
- data/test/test-schema.rb +159 -12
- data/test/test-table-select-weight.rb +20 -1
- data/test/test-table-select.rb +12 -0
- data/test/test-table.rb +65 -0
- data/test/test-variable-size-column.rb +12 -0
- data/text/tutorial.ja.rdoc +433 -0
- data/vendor/local/bin/grntest.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/etc/groonga/init.d/redhat/groonga +1 -9
- data/vendor/local/include/groonga/groonga.h +156 -6
- data/vendor/local/include/groonga/groonga/plugin.h +44 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/{modules → plugins}/suggest/suggest.la +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -2
- data/vendor/local/share/groonga/examples/dictionary/edict/edict_import.sh +14 -3
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro_import.sh +3 -1
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene_import.sh +19 -3
- data/vendor/local/share/groonga/munin/plugins/groonga_cpu_load +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_cpu_time +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_disk +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_memory +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_n_records +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_query_performance +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_status +0 -0
- metadata +91 -341
- data/html/favicon.xcf +0 -0
- data/html/logo.xcf +0 -0
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/license/GPL +0 -340
- data/license/RUBY +0 -59
- data/vendor/local/lib/groonga/modules/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/modules/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/modules/suggest/suggest.dll.a +0 -0
- data/vendor/local/share/groonga/doc/ja/html/.buildinfo +0 -4
- data/vendor/local/share/groonga/doc/ja/html/_sources/characteristic.txt +0 -56
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/cache_limit.txt +0 -52
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/check.txt +0 -164
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/clearlock.txt +0 -61
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/column_create.txt +0 -93
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/column_list.txt +0 -97
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/column_remove.txt +0 -58
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/define_selector.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/defrag.txt +0 -57
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/delete.txt +0 -68
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/dump.txt +0 -62
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/load.txt +0 -98
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/log_level.txt +0 -65
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/log_put.txt +0 -69
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/log_reopen.txt +0 -66
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/quit.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/select.txt +0 -247
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/shutdown.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/status.txt +0 -59
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/suggest.txt +0 -79
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/table_create.txt +0 -111
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/table_list.txt +0 -87
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/table_remove.txt +0 -50
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/view_add.txt +0 -53
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands_not_implemented/add.txt +0 -102
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands_not_implemented/get.txt +0 -78
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands_not_implemented/set.txt +0 -103
- data/vendor/local/share/groonga/doc/ja/html/_sources/developer.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/html/_sources/developer/com.txt +0 -18
- data/vendor/local/share/groonga/doc/ja/html/_sources/developer/document.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/html/_sources/developer/query.txt +0 -212
- data/vendor/local/share/groonga/doc/ja/html/_sources/developer/test.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/html/_sources/execfile.txt +0 -226
- data/vendor/local/share/groonga/doc/ja/html/_sources/expr.txt +0 -43
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/edit_distance.txt +0 -48
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/geo_distance.txt +0 -51
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/geo_in_circle.txt +0 -54
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/geo_in_rectangle.txt +0 -55
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/now.txt +0 -34
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/rand.txt +0 -41
- data/vendor/local/share/groonga/doc/ja/html/_sources/grnslap.txt +0 -64
- data/vendor/local/share/groonga/doc/ja/html/_sources/grntest.txt +0 -259
- data/vendor/local/share/groonga/doc/ja/html/_sources/http.txt +0 -52
- data/vendor/local/share/groonga/doc/ja/html/_sources/index.txt +0 -21
- data/vendor/local/share/groonga/doc/ja/html/_sources/install.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/html/_sources/news.txt +0 -199
- data/vendor/local/share/groonga/doc/ja/html/_sources/process.txt +0 -12
- data/vendor/local/share/groonga/doc/ja/html/_sources/pseudo_column.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/html/_sources/reference.txt +0 -14
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial01.txt +0 -293
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial02.txt +0 -100
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial03.txt +0 -72
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial04.txt +0 -111
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial05.txt +0 -65
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial06.txt +0 -91
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial07.txt +0 -92
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial08.txt +0 -53
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial09.txt +0 -9
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial10.txt +0 -486
- data/vendor/local/share/groonga/doc/ja/html/_sources/type.txt +0 -118
- data/vendor/local/share/groonga/doc/ja/html/_static/basic.css +0 -509
- data/vendor/local/share/groonga/doc/ja/html/_static/default.css +0 -277
- data/vendor/local/share/groonga/doc/ja/html/_static/doctools.js +0 -247
- data/vendor/local/share/groonga/doc/ja/html/_static/file.png +0 -0
- data/vendor/local/share/groonga/doc/ja/html/_static/jquery.js +0 -6240
- data/vendor/local/share/groonga/doc/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/groonga/doc/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/groonga/doc/ja/html/_static/pygments.css +0 -61
- data/vendor/local/share/groonga/doc/ja/html/_static/searchtools.js +0 -518
- data/vendor/local/share/groonga/doc/ja/html/_static/sidebar.js +0 -147
- data/vendor/local/share/groonga/doc/ja/html/_static/underscore.js +0 -16
- data/vendor/local/share/groonga/doc/ja/html/characteristic.html +0 -162
- data/vendor/local/share/groonga/doc/ja/html/commands.html +0 -139
- data/vendor/local/share/groonga/doc/ja/html/commands/cache_limit.html +0 -173
- data/vendor/local/share/groonga/doc/ja/html/commands/check.html +0 -285
- data/vendor/local/share/groonga/doc/ja/html/commands/clearlock.html +0 -180
- data/vendor/local/share/groonga/doc/ja/html/commands/column_create.html +0 -210
- data/vendor/local/share/groonga/doc/ja/html/commands/column_list.html +0 -220
- data/vendor/local/share/groonga/doc/ja/html/commands/column_remove.html +0 -183
- data/vendor/local/share/groonga/doc/ja/html/commands/define_selector.html +0 -221
- data/vendor/local/share/groonga/doc/ja/html/commands/defrag.html +0 -177
- data/vendor/local/share/groonga/doc/ja/html/commands/delete.html +0 -182
- data/vendor/local/share/groonga/doc/ja/html/commands/dump.html +0 -177
- data/vendor/local/share/groonga/doc/ja/html/commands/load.html +0 -208
- data/vendor/local/share/groonga/doc/ja/html/commands/log_level.html +0 -187
- data/vendor/local/share/groonga/doc/ja/html/commands/log_put.html +0 -190
- data/vendor/local/share/groonga/doc/ja/html/commands/log_reopen.html +0 -188
- data/vendor/local/share/groonga/doc/ja/html/commands/quit.html +0 -156
- data/vendor/local/share/groonga/doc/ja/html/commands/select.html +0 -331
- data/vendor/local/share/groonga/doc/ja/html/commands/shutdown.html +0 -156
- data/vendor/local/share/groonga/doc/ja/html/commands/status.html +0 -179
- data/vendor/local/share/groonga/doc/ja/html/commands/suggest.html +0 -191
- data/vendor/local/share/groonga/doc/ja/html/commands/table_create.html +0 -222
- data/vendor/local/share/groonga/doc/ja/html/commands/table_list.html +0 -202
- data/vendor/local/share/groonga/doc/ja/html/commands/table_remove.html +0 -173
- data/vendor/local/share/groonga/doc/ja/html/commands/view_add.html +0 -175
- data/vendor/local/share/groonga/doc/ja/html/commands_not_implemented/add.html +0 -180
- data/vendor/local/share/groonga/doc/ja/html/commands_not_implemented/get.html +0 -161
- data/vendor/local/share/groonga/doc/ja/html/commands_not_implemented/set.html +0 -182
- data/vendor/local/share/groonga/doc/ja/html/developer.html +0 -118
- data/vendor/local/share/groonga/doc/ja/html/developer/com.html +0 -136
- data/vendor/local/share/groonga/doc/ja/html/developer/document.html +0 -159
- data/vendor/local/share/groonga/doc/ja/html/developer/query.html +0 -336
- data/vendor/local/share/groonga/doc/ja/html/developer/test.html +0 -220
- data/vendor/local/share/groonga/doc/ja/html/execfile.html +0 -370
- data/vendor/local/share/groonga/doc/ja/html/expr.html +0 -157
- data/vendor/local/share/groonga/doc/ja/html/functions.html +0 -122
- data/vendor/local/share/groonga/doc/ja/html/functions/edit_distance.html +0 -162
- data/vendor/local/share/groonga/doc/ja/html/functions/geo_distance.html +0 -170
- data/vendor/local/share/groonga/doc/ja/html/functions/geo_in_circle.html +0 -173
- data/vendor/local/share/groonga/doc/ja/html/functions/geo_in_rectangle.html +0 -172
- data/vendor/local/share/groonga/doc/ja/html/functions/now.html +0 -152
- data/vendor/local/share/groonga/doc/ja/html/functions/rand.html +0 -159
- data/vendor/local/share/groonga/doc/ja/html/genindex.html +0 -227
- data/vendor/local/share/groonga/doc/ja/html/grnslap.html +0 -183
- data/vendor/local/share/groonga/doc/ja/html/grntest.html +0 -368
- data/vendor/local/share/groonga/doc/ja/html/http.html +0 -163
- data/vendor/local/share/groonga/doc/ja/html/index.html +0 -291
- data/vendor/local/share/groonga/doc/ja/html/install.html +0 -228
- data/vendor/local/share/groonga/doc/ja/html/news.html +0 -310
- data/vendor/local/share/groonga/doc/ja/html/objects.inv +0 -0
- data/vendor/local/share/groonga/doc/ja/html/process.html +0 -120
- data/vendor/local/share/groonga/doc/ja/html/pseudo_column.html +0 -147
- data/vendor/local/share/groonga/doc/ja/html/reference.html +0 -174
- data/vendor/local/share/groonga/doc/ja/html/search.html +0 -96
- data/vendor/local/share/groonga/doc/ja/html/searchindex.js +0 -1
- data/vendor/local/share/groonga/doc/ja/html/tutorial.html +0 -172
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial01.html +0 -388
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial02.html +0 -214
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial03.html +0 -183
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial04.html +0 -212
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial05.html +0 -169
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial06.html +0 -209
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial07.html +0 -212
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial08.html +0 -139
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial09.html +0 -114
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial10.html +0 -458
- data/vendor/local/share/groonga/doc/ja/html/type.html +0 -217
- data/vendor/local/share/groonga/doc/ja/source/__init__.py +0 -0
- data/vendor/local/share/groonga/doc/ja/source/characteristic.txt +0 -56
- data/vendor/local/share/groonga/doc/ja/source/commands.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/source/commands/cache_limit.txt +0 -52
- data/vendor/local/share/groonga/doc/ja/source/commands/check.txt +0 -164
- data/vendor/local/share/groonga/doc/ja/source/commands/clearlock.txt +0 -61
- data/vendor/local/share/groonga/doc/ja/source/commands/column_create.txt +0 -93
- data/vendor/local/share/groonga/doc/ja/source/commands/column_list.txt +0 -97
- data/vendor/local/share/groonga/doc/ja/source/commands/column_remove.txt +0 -58
- data/vendor/local/share/groonga/doc/ja/source/commands/define_selector.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/source/commands/defrag.txt +0 -57
- data/vendor/local/share/groonga/doc/ja/source/commands/delete.txt +0 -68
- data/vendor/local/share/groonga/doc/ja/source/commands/dump.txt +0 -62
- data/vendor/local/share/groonga/doc/ja/source/commands/load.txt +0 -98
- data/vendor/local/share/groonga/doc/ja/source/commands/log_level.txt +0 -65
- data/vendor/local/share/groonga/doc/ja/source/commands/log_put.txt +0 -69
- data/vendor/local/share/groonga/doc/ja/source/commands/log_reopen.txt +0 -66
- data/vendor/local/share/groonga/doc/ja/source/commands/quit.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/source/commands/select.txt +0 -247
- data/vendor/local/share/groonga/doc/ja/source/commands/shutdown.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/source/commands/status.txt +0 -59
- data/vendor/local/share/groonga/doc/ja/source/commands/table_create.txt +0 -111
- data/vendor/local/share/groonga/doc/ja/source/commands/table_list.txt +0 -87
- data/vendor/local/share/groonga/doc/ja/source/commands/table_remove.txt +0 -50
- data/vendor/local/share/groonga/doc/ja/source/commands/view_add.txt +0 -53
- data/vendor/local/share/groonga/doc/ja/source/commands_not_implemented/add.txt +0 -102
- data/vendor/local/share/groonga/doc/ja/source/commands_not_implemented/get.txt +0 -78
- data/vendor/local/share/groonga/doc/ja/source/commands_not_implemented/set.txt +0 -103
- data/vendor/local/share/groonga/doc/ja/source/conf.py +0 -265
- data/vendor/local/share/groonga/doc/ja/source/developer.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/source/developer/com.txt +0 -18
- data/vendor/local/share/groonga/doc/ja/source/developer/document.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/source/developer/query.txt +0 -212
- data/vendor/local/share/groonga/doc/ja/source/developer/test.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-1.log +0 -6
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-10.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-11.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-12.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-13.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-14.log +0 -9
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-15.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-16.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-17.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-2.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-3.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-4.log +0 -7
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-5.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-6.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-7.log +0 -16
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-8.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-9.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial02-1.log +0 -8
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial02-2.log +0 -6
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial02-3.log +0 -12
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial03-1.log +0 -18
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial03-2.log +0 -10
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial03-3.log +0 -10
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-1.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-2.log +0 -7
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-3.log +0 -7
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-4.log +0 -13
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-5.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-6.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-7.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-1.log +0 -24
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-2.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-3.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-4.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-5.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-6.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-1.log +0 -25
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-2.log +0 -9
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-3.log +0 -21
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-4.log +0 -7
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-5.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-1.log +0 -22
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-2.log +0 -9
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-3.log +0 -20
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-4.log +0 -9
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial08-1.log +0 -14
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-1.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-10.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-2.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-3.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-4.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-5.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-6.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-7.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-8.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-9.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/execfile.txt +0 -226
- data/vendor/local/share/groonga/doc/ja/source/expr.txt +0 -43
- data/vendor/local/share/groonga/doc/ja/source/functions.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/source/functions/edit_distance.txt +0 -48
- data/vendor/local/share/groonga/doc/ja/source/functions/geo_distance.txt +0 -51
- data/vendor/local/share/groonga/doc/ja/source/functions/geo_in_circle.txt +0 -54
- data/vendor/local/share/groonga/doc/ja/source/functions/geo_in_rectangle.txt +0 -55
- data/vendor/local/share/groonga/doc/ja/source/functions/now.txt +0 -34
- data/vendor/local/share/groonga/doc/ja/source/functions/rand.txt +0 -41
- data/vendor/local/share/groonga/doc/ja/source/grnslap.txt +0 -64
- data/vendor/local/share/groonga/doc/ja/source/grntest.txt +0 -259
- data/vendor/local/share/groonga/doc/ja/source/http.txt +0 -52
- data/vendor/local/share/groonga/doc/ja/source/index.txt +0 -21
- data/vendor/local/share/groonga/doc/ja/source/install.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/source/news.txt +0 -199
- data/vendor/local/share/groonga/doc/ja/source/process.txt +0 -12
- data/vendor/local/share/groonga/doc/ja/source/pseudo_column.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/source/rdoc.py +0 -762
- data/vendor/local/share/groonga/doc/ja/source/reference.txt +0 -14
- data/vendor/local/share/groonga/doc/ja/source/tutorial.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial01.txt +0 -293
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial02.txt +0 -100
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial03.txt +0 -72
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial04.txt +0 -111
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial05.txt +0 -65
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial06.txt +0 -91
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial07.txt +0 -92
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial08.txt +0 -53
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial09.txt +0 -9
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial10.txt +0 -486
- data/vendor/local/share/groonga/doc/ja/source/type.txt +0 -118
- data/vendor/local/share/groonga/doc/ja/source/update_execution_example.py +0 -113
- data/vendor/local/share/man/man1/groonga.1 +0 -5498
@@ -1,277 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* default.css_t
|
3
|
-
* ~~~~~~~~~~~~~
|
4
|
-
*
|
5
|
-
* Sphinx stylesheet -- default theme.
|
6
|
-
*
|
7
|
-
* :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
|
8
|
-
* :license: BSD, see LICENSE for details.
|
9
|
-
*
|
10
|
-
*/
|
11
|
-
|
12
|
-
@import url("basic.css");
|
13
|
-
|
14
|
-
/* -- page layout ----------------------------------------------------------- */
|
15
|
-
|
16
|
-
body {
|
17
|
-
font-family: #666666;
|
18
|
-
font-size: 100%;
|
19
|
-
background-color: #11303d;
|
20
|
-
color: #000;
|
21
|
-
margin: 0;
|
22
|
-
padding: 0;
|
23
|
-
}
|
24
|
-
|
25
|
-
div.document {
|
26
|
-
background-color: #1c4e63;
|
27
|
-
}
|
28
|
-
|
29
|
-
div.documentwrapper {
|
30
|
-
float: left;
|
31
|
-
width: 100%;
|
32
|
-
}
|
33
|
-
|
34
|
-
div.bodywrapper {
|
35
|
-
margin: 0 0 0 230px;
|
36
|
-
}
|
37
|
-
|
38
|
-
div.body {
|
39
|
-
background-color: #ffffff;
|
40
|
-
color: #000000;
|
41
|
-
padding: 0 20px 30px 20px;
|
42
|
-
}
|
43
|
-
div.bodywrapper {
|
44
|
-
margin: 0 230px 0 0;
|
45
|
-
}
|
46
|
-
|
47
|
-
div.footer {
|
48
|
-
color: #ffffff;
|
49
|
-
width: 100%;
|
50
|
-
padding: 9px 0 9px 0;
|
51
|
-
text-align: center;
|
52
|
-
font-size: 75%;
|
53
|
-
}
|
54
|
-
|
55
|
-
div.footer a {
|
56
|
-
color: #ffffff;
|
57
|
-
text-decoration: underline;
|
58
|
-
}
|
59
|
-
|
60
|
-
div.related {
|
61
|
-
background-color: #133f52;
|
62
|
-
line-height: 30px;
|
63
|
-
color: #ffffff;
|
64
|
-
}
|
65
|
-
|
66
|
-
div.related a {
|
67
|
-
color: #ffffff;
|
68
|
-
}
|
69
|
-
|
70
|
-
div.sphinxsidebar {
|
71
|
-
top: 30px;
|
72
|
-
bottom: 0;
|
73
|
-
margin: 0;
|
74
|
-
position: fixed;
|
75
|
-
overflow: auto;
|
76
|
-
height: auto;
|
77
|
-
float: right;
|
78
|
-
right: 0;
|
79
|
-
}
|
80
|
-
/* this is nice, but it it leads to hidden headings when jumping
|
81
|
-
to an anchor */
|
82
|
-
/*
|
83
|
-
div.related {
|
84
|
-
position: fixed;
|
85
|
-
}
|
86
|
-
|
87
|
-
div.documentwrapper {
|
88
|
-
margin-top: 30px;
|
89
|
-
}
|
90
|
-
*/
|
91
|
-
|
92
|
-
div.sphinxsidebar h3 {
|
93
|
-
font-family: 'Trebuchet MS', sans-serif;
|
94
|
-
color: #ffffff;
|
95
|
-
font-size: 1.4em;
|
96
|
-
font-weight: normal;
|
97
|
-
margin: 0;
|
98
|
-
padding: 0;
|
99
|
-
}
|
100
|
-
|
101
|
-
div.sphinxsidebar h3 a {
|
102
|
-
color: #ffffff;
|
103
|
-
}
|
104
|
-
|
105
|
-
div.sphinxsidebar h4 {
|
106
|
-
font-family: 'Trebuchet MS', sans-serif;
|
107
|
-
color: #ffffff;
|
108
|
-
font-size: 1.3em;
|
109
|
-
font-weight: normal;
|
110
|
-
margin: 5px 0 0 0;
|
111
|
-
padding: 0;
|
112
|
-
}
|
113
|
-
|
114
|
-
div.sphinxsidebar p {
|
115
|
-
color: #ffffff;
|
116
|
-
}
|
117
|
-
|
118
|
-
div.sphinxsidebar p.topless {
|
119
|
-
margin: 5px 10px 10px 10px;
|
120
|
-
}
|
121
|
-
|
122
|
-
div.sphinxsidebar ul {
|
123
|
-
margin: 10px;
|
124
|
-
padding: 0;
|
125
|
-
color: #ffffff;
|
126
|
-
}
|
127
|
-
|
128
|
-
div.sphinxsidebar a {
|
129
|
-
color: #98dbcc;
|
130
|
-
}
|
131
|
-
|
132
|
-
div.sphinxsidebar input {
|
133
|
-
border: 1px solid #98dbcc;
|
134
|
-
font-family: sans-serif;
|
135
|
-
font-size: 1em;
|
136
|
-
}
|
137
|
-
|
138
|
-
|
139
|
-
/* -- hyperlink styles ------------------------------------------------------ */
|
140
|
-
|
141
|
-
a {
|
142
|
-
color: #355f7c;
|
143
|
-
text-decoration: none;
|
144
|
-
}
|
145
|
-
|
146
|
-
a:visited {
|
147
|
-
color: #355f7c;
|
148
|
-
text-decoration: none;
|
149
|
-
}
|
150
|
-
|
151
|
-
a:hover {
|
152
|
-
text-decoration: underline;
|
153
|
-
}
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
/* -- body styles ----------------------------------------------------------- */
|
158
|
-
|
159
|
-
div.body h1,
|
160
|
-
div.body h2,
|
161
|
-
div.body h3,
|
162
|
-
div.body h4,
|
163
|
-
div.body h5,
|
164
|
-
div.body h6 {
|
165
|
-
font-family: 'Trebuchet MS', sans-serif;
|
166
|
-
background-color: #f2f2f2;
|
167
|
-
font-weight: normal;
|
168
|
-
color: #20435c;
|
169
|
-
border-bottom: 1px solid #ccc;
|
170
|
-
margin: 20px -20px 10px -20px;
|
171
|
-
padding: 3px 0 3px 10px;
|
172
|
-
}
|
173
|
-
|
174
|
-
div.body h1 { margin-top: 0; font-size: 200%; }
|
175
|
-
div.body h2 { font-size: 160%; }
|
176
|
-
div.body h3 { font-size: 140%; }
|
177
|
-
div.body h4 { font-size: 120%; }
|
178
|
-
div.body h5 { font-size: 110%; }
|
179
|
-
div.body h6 { font-size: 100%; }
|
180
|
-
|
181
|
-
a.headerlink {
|
182
|
-
color: #c60f0f;
|
183
|
-
font-size: 0.8em;
|
184
|
-
padding: 0 4px 0 4px;
|
185
|
-
text-decoration: none;
|
186
|
-
}
|
187
|
-
|
188
|
-
a.headerlink:hover {
|
189
|
-
background-color: #c60f0f;
|
190
|
-
color: white;
|
191
|
-
}
|
192
|
-
|
193
|
-
div.body p, div.body dd, div.body li {
|
194
|
-
text-align: justify;
|
195
|
-
line-height: 130%;
|
196
|
-
}
|
197
|
-
|
198
|
-
div.admonition p.admonition-title + p {
|
199
|
-
display: inline;
|
200
|
-
}
|
201
|
-
|
202
|
-
div.admonition p {
|
203
|
-
margin-bottom: 5px;
|
204
|
-
}
|
205
|
-
|
206
|
-
div.admonition pre {
|
207
|
-
margin-bottom: 5px;
|
208
|
-
}
|
209
|
-
|
210
|
-
div.admonition ul, div.admonition ol {
|
211
|
-
margin-bottom: 5px;
|
212
|
-
}
|
213
|
-
|
214
|
-
div.note {
|
215
|
-
background-color: #eee;
|
216
|
-
border: 1px solid #ccc;
|
217
|
-
}
|
218
|
-
|
219
|
-
div.seealso {
|
220
|
-
background-color: #ffc;
|
221
|
-
border: 1px solid #ff6;
|
222
|
-
}
|
223
|
-
|
224
|
-
div.topic {
|
225
|
-
background-color: #eee;
|
226
|
-
}
|
227
|
-
|
228
|
-
div.warning {
|
229
|
-
background-color: #ffe4e4;
|
230
|
-
border: 1px solid #f66;
|
231
|
-
}
|
232
|
-
|
233
|
-
p.admonition-title {
|
234
|
-
display: inline;
|
235
|
-
}
|
236
|
-
|
237
|
-
p.admonition-title:after {
|
238
|
-
content: ":";
|
239
|
-
}
|
240
|
-
|
241
|
-
pre {
|
242
|
-
padding: 5px;
|
243
|
-
background-color: #eeffcc;
|
244
|
-
color: #333333;
|
245
|
-
line-height: 120%;
|
246
|
-
border: 1px solid #ac9;
|
247
|
-
border-left: none;
|
248
|
-
border-right: none;
|
249
|
-
}
|
250
|
-
|
251
|
-
tt {
|
252
|
-
background-color: #ecf0f3;
|
253
|
-
padding: 0 1px 0 1px;
|
254
|
-
font-size: 0.95em;
|
255
|
-
}
|
256
|
-
|
257
|
-
th {
|
258
|
-
background-color: #ede;
|
259
|
-
}
|
260
|
-
|
261
|
-
.warning tt {
|
262
|
-
background: #efc2c2;
|
263
|
-
}
|
264
|
-
|
265
|
-
.note tt {
|
266
|
-
background: #d6d6d6;
|
267
|
-
}
|
268
|
-
|
269
|
-
.viewcode-back {
|
270
|
-
font-family: #666666;
|
271
|
-
}
|
272
|
-
|
273
|
-
div.viewcode-block:target {
|
274
|
-
background-color: #f4debf;
|
275
|
-
border-top: 1px solid #ac9;
|
276
|
-
border-bottom: 1px solid #ac9;
|
277
|
-
}
|
@@ -1,247 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* doctools.js
|
3
|
-
* ~~~~~~~~~~~
|
4
|
-
*
|
5
|
-
* Sphinx JavaScript utilties for all documentation.
|
6
|
-
*
|
7
|
-
* :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
|
8
|
-
* :license: BSD, see LICENSE for details.
|
9
|
-
*
|
10
|
-
*/
|
11
|
-
|
12
|
-
/**
|
13
|
-
* select a different prefix for underscore
|
14
|
-
*/
|
15
|
-
$u = _.noConflict();
|
16
|
-
|
17
|
-
/**
|
18
|
-
* make the code below compatible with browsers without
|
19
|
-
* an installed firebug like debugger
|
20
|
-
if (!window.console || !console.firebug) {
|
21
|
-
var names = ["log", "debug", "info", "warn", "error", "assert", "dir",
|
22
|
-
"dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace",
|
23
|
-
"profile", "profileEnd"];
|
24
|
-
window.console = {};
|
25
|
-
for (var i = 0; i < names.length; ++i)
|
26
|
-
window.console[names[i]] = function() {};
|
27
|
-
}
|
28
|
-
*/
|
29
|
-
|
30
|
-
/**
|
31
|
-
* small helper function to urldecode strings
|
32
|
-
*/
|
33
|
-
jQuery.urldecode = function(x) {
|
34
|
-
return decodeURIComponent(x).replace(/\+/g, ' ');
|
35
|
-
}
|
36
|
-
|
37
|
-
/**
|
38
|
-
* small helper function to urlencode strings
|
39
|
-
*/
|
40
|
-
jQuery.urlencode = encodeURIComponent;
|
41
|
-
|
42
|
-
/**
|
43
|
-
* This function returns the parsed url parameters of the
|
44
|
-
* current request. Multiple values per key are supported,
|
45
|
-
* it will always return arrays of strings for the value parts.
|
46
|
-
*/
|
47
|
-
jQuery.getQueryParameters = function(s) {
|
48
|
-
if (typeof s == 'undefined')
|
49
|
-
s = document.location.search;
|
50
|
-
var parts = s.substr(s.indexOf('?') + 1).split('&');
|
51
|
-
var result = {};
|
52
|
-
for (var i = 0; i < parts.length; i++) {
|
53
|
-
var tmp = parts[i].split('=', 2);
|
54
|
-
var key = jQuery.urldecode(tmp[0]);
|
55
|
-
var value = jQuery.urldecode(tmp[1]);
|
56
|
-
if (key in result)
|
57
|
-
result[key].push(value);
|
58
|
-
else
|
59
|
-
result[key] = [value];
|
60
|
-
}
|
61
|
-
return result;
|
62
|
-
};
|
63
|
-
|
64
|
-
/**
|
65
|
-
* small function to check if an array contains
|
66
|
-
* a given item.
|
67
|
-
*/
|
68
|
-
jQuery.contains = function(arr, item) {
|
69
|
-
for (var i = 0; i < arr.length; i++) {
|
70
|
-
if (arr[i] == item)
|
71
|
-
return true;
|
72
|
-
}
|
73
|
-
return false;
|
74
|
-
};
|
75
|
-
|
76
|
-
/**
|
77
|
-
* highlight a given string on a jquery object by wrapping it in
|
78
|
-
* span elements with the given class name.
|
79
|
-
*/
|
80
|
-
jQuery.fn.highlightText = function(text, className) {
|
81
|
-
function highlight(node) {
|
82
|
-
if (node.nodeType == 3) {
|
83
|
-
var val = node.nodeValue;
|
84
|
-
var pos = val.toLowerCase().indexOf(text);
|
85
|
-
if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) {
|
86
|
-
var span = document.createElement("span");
|
87
|
-
span.className = className;
|
88
|
-
span.appendChild(document.createTextNode(val.substr(pos, text.length)));
|
89
|
-
node.parentNode.insertBefore(span, node.parentNode.insertBefore(
|
90
|
-
document.createTextNode(val.substr(pos + text.length)),
|
91
|
-
node.nextSibling));
|
92
|
-
node.nodeValue = val.substr(0, pos);
|
93
|
-
}
|
94
|
-
}
|
95
|
-
else if (!jQuery(node).is("button, select, textarea")) {
|
96
|
-
jQuery.each(node.childNodes, function() {
|
97
|
-
highlight(this);
|
98
|
-
});
|
99
|
-
}
|
100
|
-
}
|
101
|
-
return this.each(function() {
|
102
|
-
highlight(this);
|
103
|
-
});
|
104
|
-
};
|
105
|
-
|
106
|
-
/**
|
107
|
-
* Small JavaScript module for the documentation.
|
108
|
-
*/
|
109
|
-
var Documentation = {
|
110
|
-
|
111
|
-
init : function() {
|
112
|
-
this.fixFirefoxAnchorBug();
|
113
|
-
this.highlightSearchWords();
|
114
|
-
this.initIndexTable();
|
115
|
-
},
|
116
|
-
|
117
|
-
/**
|
118
|
-
* i18n support
|
119
|
-
*/
|
120
|
-
TRANSLATIONS : {},
|
121
|
-
PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; },
|
122
|
-
LOCALE : 'unknown',
|
123
|
-
|
124
|
-
// gettext and ngettext don't access this so that the functions
|
125
|
-
// can safely bound to a different name (_ = Documentation.gettext)
|
126
|
-
gettext : function(string) {
|
127
|
-
var translated = Documentation.TRANSLATIONS[string];
|
128
|
-
if (typeof translated == 'undefined')
|
129
|
-
return string;
|
130
|
-
return (typeof translated == 'string') ? translated : translated[0];
|
131
|
-
},
|
132
|
-
|
133
|
-
ngettext : function(singular, plural, n) {
|
134
|
-
var translated = Documentation.TRANSLATIONS[singular];
|
135
|
-
if (typeof translated == 'undefined')
|
136
|
-
return (n == 1) ? singular : plural;
|
137
|
-
return translated[Documentation.PLURALEXPR(n)];
|
138
|
-
},
|
139
|
-
|
140
|
-
addTranslations : function(catalog) {
|
141
|
-
for (var key in catalog.messages)
|
142
|
-
this.TRANSLATIONS[key] = catalog.messages[key];
|
143
|
-
this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')');
|
144
|
-
this.LOCALE = catalog.locale;
|
145
|
-
},
|
146
|
-
|
147
|
-
/**
|
148
|
-
* add context elements like header anchor links
|
149
|
-
*/
|
150
|
-
addContextElements : function() {
|
151
|
-
$('div[id] > :header:first').each(function() {
|
152
|
-
$('<a class="headerlink">\u00B6</a>').
|
153
|
-
attr('href', '#' + this.id).
|
154
|
-
attr('title', _('Permalink to this headline')).
|
155
|
-
appendTo(this);
|
156
|
-
});
|
157
|
-
$('dt[id]').each(function() {
|
158
|
-
$('<a class="headerlink">\u00B6</a>').
|
159
|
-
attr('href', '#' + this.id).
|
160
|
-
attr('title', _('Permalink to this definition')).
|
161
|
-
appendTo(this);
|
162
|
-
});
|
163
|
-
},
|
164
|
-
|
165
|
-
/**
|
166
|
-
* workaround a firefox stupidity
|
167
|
-
*/
|
168
|
-
fixFirefoxAnchorBug : function() {
|
169
|
-
if (document.location.hash && $.browser.mozilla)
|
170
|
-
window.setTimeout(function() {
|
171
|
-
document.location.href += '';
|
172
|
-
}, 10);
|
173
|
-
},
|
174
|
-
|
175
|
-
/**
|
176
|
-
* highlight the search words provided in the url in the text
|
177
|
-
*/
|
178
|
-
highlightSearchWords : function() {
|
179
|
-
var params = $.getQueryParameters();
|
180
|
-
var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : [];
|
181
|
-
if (terms.length) {
|
182
|
-
var body = $('div.body');
|
183
|
-
window.setTimeout(function() {
|
184
|
-
$.each(terms, function() {
|
185
|
-
body.highlightText(this.toLowerCase(), 'highlighted');
|
186
|
-
});
|
187
|
-
}, 10);
|
188
|
-
$('<li class="highlight-link"><a href="javascript:Documentation.' +
|
189
|
-
'hideSearchWords()">' + _('Hide Search Matches') + '</a></li>')
|
190
|
-
.appendTo($('.sidebar .this-page-menu'));
|
191
|
-
}
|
192
|
-
},
|
193
|
-
|
194
|
-
/**
|
195
|
-
* init the domain index toggle buttons
|
196
|
-
*/
|
197
|
-
initIndexTable : function() {
|
198
|
-
var togglers = $('img.toggler').click(function() {
|
199
|
-
var src = $(this).attr('src');
|
200
|
-
var idnum = $(this).attr('id').substr(7);
|
201
|
-
$('tr.cg-' + idnum).toggle();
|
202
|
-
if (src.substr(-9) == 'minus.png')
|
203
|
-
$(this).attr('src', src.substr(0, src.length-9) + 'plus.png');
|
204
|
-
else
|
205
|
-
$(this).attr('src', src.substr(0, src.length-8) + 'minus.png');
|
206
|
-
}).css('display', '');
|
207
|
-
if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) {
|
208
|
-
togglers.click();
|
209
|
-
}
|
210
|
-
},
|
211
|
-
|
212
|
-
/**
|
213
|
-
* helper function to hide the search marks again
|
214
|
-
*/
|
215
|
-
hideSearchWords : function() {
|
216
|
-
$('.sidebar .this-page-menu li.highlight-link').fadeOut(300);
|
217
|
-
$('span.highlighted').removeClass('highlighted');
|
218
|
-
},
|
219
|
-
|
220
|
-
/**
|
221
|
-
* make the url absolute
|
222
|
-
*/
|
223
|
-
makeURL : function(relativeURL) {
|
224
|
-
return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL;
|
225
|
-
},
|
226
|
-
|
227
|
-
/**
|
228
|
-
* get the current relative url
|
229
|
-
*/
|
230
|
-
getCurrentURL : function() {
|
231
|
-
var path = document.location.pathname;
|
232
|
-
var parts = path.split(/\//);
|
233
|
-
$.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() {
|
234
|
-
if (this == '..')
|
235
|
-
parts.pop();
|
236
|
-
});
|
237
|
-
var url = parts.join('/');
|
238
|
-
return path.substring(url.lastIndexOf('/') + 1, path.length - 1);
|
239
|
-
}
|
240
|
-
};
|
241
|
-
|
242
|
-
// quick alias for translations
|
243
|
-
_ = Documentation.gettext;
|
244
|
-
|
245
|
-
$(document).ready(function() {
|
246
|
-
Documentation.init();
|
247
|
-
});
|