groonga 0.9.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. metadata +38 -227
  2. data/AUTHORS +0 -5
  3. data/NEWS.ja.rdoc +0 -114
  4. data/NEWS.rdoc +0 -116
  5. data/README.ja.rdoc +0 -63
  6. data/README.rdoc +0 -64
  7. data/Rakefile +0 -216
  8. data/benchmark/common.rb +0 -49
  9. data/benchmark/read-write-many-small-items.rb +0 -144
  10. data/benchmark/write-many-small-items.rb +0 -135
  11. data/example/bookmark.rb +0 -161
  12. data/example/index-html.rb +0 -89
  13. data/example/search/config.ru +0 -211
  14. data/example/search/public/css/groonga.css +0 -122
  15. data/ext/.gitignore +0 -2
  16. data/ext/rb-grn-accessor.c +0 -52
  17. data/ext/rb-grn-array-cursor.c +0 -36
  18. data/ext/rb-grn-array.c +0 -210
  19. data/ext/rb-grn-column.c +0 -570
  20. data/ext/rb-grn-context.c +0 -655
  21. data/ext/rb-grn-database.c +0 -415
  22. data/ext/rb-grn-encoding-support.c +0 -64
  23. data/ext/rb-grn-encoding.c +0 -257
  24. data/ext/rb-grn-exception.c +0 -1110
  25. data/ext/rb-grn-expression-builder.c +0 -75
  26. data/ext/rb-grn-expression.c +0 -732
  27. data/ext/rb-grn-fix-size-column.c +0 -166
  28. data/ext/rb-grn-hash-cursor.c +0 -38
  29. data/ext/rb-grn-hash.c +0 -294
  30. data/ext/rb-grn-index-column.c +0 -488
  31. data/ext/rb-grn-logger.c +0 -325
  32. data/ext/rb-grn-object.c +0 -1335
  33. data/ext/rb-grn-operation.c +0 -198
  34. data/ext/rb-grn-patricia-trie-cursor.c +0 -39
  35. data/ext/rb-grn-patricia-trie.c +0 -488
  36. data/ext/rb-grn-procedure.c +0 -52
  37. data/ext/rb-grn-query.c +0 -260
  38. data/ext/rb-grn-record.c +0 -40
  39. data/ext/rb-grn-snippet.c +0 -328
  40. data/ext/rb-grn-table-cursor-key-support.c +0 -69
  41. data/ext/rb-grn-table-cursor.c +0 -246
  42. data/ext/rb-grn-table-key-support.c +0 -731
  43. data/ext/rb-grn-table.c +0 -2038
  44. data/ext/rb-grn-type.c +0 -181
  45. data/ext/rb-grn-utils.c +0 -769
  46. data/ext/rb-grn-variable-size-column.c +0 -36
  47. data/ext/rb-grn-variable.c +0 -108
  48. data/ext/rb-grn.h +0 -684
  49. data/ext/rb-groonga.c +0 -113
  50. data/extconf.rb +0 -216
  51. data/html/bar.svg +0 -153
  52. data/html/developer.html +0 -121
  53. data/html/developer.svg +0 -469
  54. data/html/download.svg +0 -253
  55. data/html/favicon.ico +0 -0
  56. data/html/favicon.xcf +0 -0
  57. data/html/footer.html.erb +0 -28
  58. data/html/head.html.erb +0 -4
  59. data/html/header.html.erb +0 -17
  60. data/html/index.html +0 -147
  61. data/html/install.svg +0 -636
  62. data/html/logo.xcf +0 -0
  63. data/html/ranguba.css +0 -248
  64. data/html/tutorial.svg +0 -559
  65. data/lib/groonga.rb +0 -83
  66. data/lib/groonga/expression-builder.rb +0 -285
  67. data/lib/groonga/patricia-trie.rb +0 -53
  68. data/lib/groonga/record.rb +0 -276
  69. data/lib/groonga/schema.rb +0 -916
  70. data/license/GPL +0 -340
  71. data/license/LGPL +0 -504
  72. data/license/RUBY +0 -59
  73. data/misc/grnop2ruby.rb +0 -49
  74. data/pkg-config.rb +0 -333
  75. data/src/rb-grn-table-cursor.c +0 -296
  76. data/test-unit/Rakefile +0 -40
  77. data/test-unit/TODO +0 -5
  78. data/test-unit/bin/testrb +0 -5
  79. data/test-unit/html/classic.html +0 -15
  80. data/test-unit/html/index.html +0 -25
  81. data/test-unit/html/index.html.ja +0 -27
  82. data/test-unit/lib/test/unit.rb +0 -323
  83. data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
  84. data/test-unit/lib/test/unit/assertions.rb +0 -1230
  85. data/test-unit/lib/test/unit/attribute.rb +0 -125
  86. data/test-unit/lib/test/unit/autorunner.rb +0 -353
  87. data/test-unit/lib/test/unit/collector.rb +0 -36
  88. data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
  89. data/test-unit/lib/test/unit/collector/dir.rb +0 -108
  90. data/test-unit/lib/test/unit/collector/load.rb +0 -136
  91. data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
  92. data/test-unit/lib/test/unit/color-scheme.rb +0 -102
  93. data/test-unit/lib/test/unit/color.rb +0 -96
  94. data/test-unit/lib/test/unit/diff.rb +0 -724
  95. data/test-unit/lib/test/unit/error.rb +0 -130
  96. data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
  97. data/test-unit/lib/test/unit/failure.rb +0 -136
  98. data/test-unit/lib/test/unit/fixture.rb +0 -176
  99. data/test-unit/lib/test/unit/notification.rb +0 -129
  100. data/test-unit/lib/test/unit/omission.rb +0 -191
  101. data/test-unit/lib/test/unit/pending.rb +0 -150
  102. data/test-unit/lib/test/unit/priority.rb +0 -181
  103. data/test-unit/lib/test/unit/runner/console.rb +0 -52
  104. data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
  105. data/test-unit/lib/test/unit/runner/tap.rb +0 -8
  106. data/test-unit/lib/test/unit/testcase.rb +0 -476
  107. data/test-unit/lib/test/unit/testresult.rb +0 -89
  108. data/test-unit/lib/test/unit/testsuite.rb +0 -110
  109. data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
  110. data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -464
  111. data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
  112. data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -92
  113. data/test-unit/lib/test/unit/ui/testrunner.rb +0 -28
  114. data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -77
  115. data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
  116. data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -41
  117. data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
  118. data/test-unit/lib/test/unit/util/observable.rb +0 -90
  119. data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
  120. data/test-unit/lib/test/unit/version.rb +0 -7
  121. data/test-unit/sample/adder.rb +0 -13
  122. data/test-unit/sample/subtracter.rb +0 -12
  123. data/test-unit/sample/test_adder.rb +0 -20
  124. data/test-unit/sample/test_subtracter.rb +0 -20
  125. data/test-unit/sample/test_user.rb +0 -23
  126. data/test-unit/test/collector/test-descendant.rb +0 -133
  127. data/test-unit/test/collector/test-load.rb +0 -329
  128. data/test-unit/test/collector/test_dir.rb +0 -406
  129. data/test-unit/test/collector/test_objectspace.rb +0 -100
  130. data/test-unit/test/run-test.rb +0 -15
  131. data/test-unit/test/test-attribute.rb +0 -86
  132. data/test-unit/test/test-color-scheme.rb +0 -67
  133. data/test-unit/test/test-color.rb +0 -47
  134. data/test-unit/test/test-diff.rb +0 -518
  135. data/test-unit/test/test-emacs-runner.rb +0 -60
  136. data/test-unit/test/test-fixture.rb +0 -287
  137. data/test-unit/test/test-notification.rb +0 -33
  138. data/test-unit/test/test-omission.rb +0 -81
  139. data/test-unit/test/test-pending.rb +0 -70
  140. data/test-unit/test/test-priority.rb +0 -119
  141. data/test-unit/test/test-testcase.rb +0 -554
  142. data/test-unit/test/test_assertions.rb +0 -1151
  143. data/test-unit/test/test_error.rb +0 -26
  144. data/test-unit/test/test_failure.rb +0 -33
  145. data/test-unit/test/test_testresult.rb +0 -113
  146. data/test-unit/test/test_testsuite.rb +0 -129
  147. data/test-unit/test/testunit-test-util.rb +0 -14
  148. data/test-unit/test/ui/test_testrunmediator.rb +0 -20
  149. data/test-unit/test/util/test-method-owner-finder.rb +0 -38
  150. data/test-unit/test/util/test_backtracefilter.rb +0 -41
  151. data/test-unit/test/util/test_observable.rb +0 -102
  152. data/test-unit/test/util/test_procwrapper.rb +0 -36
  153. data/test/.gitignore +0 -1
  154. data/test/groonga-test-utils.rb +0 -106
  155. data/test/run-test.rb +0 -58
  156. data/test/test-array.rb +0 -97
  157. data/test/test-column.rb +0 -298
  158. data/test/test-context.rb +0 -73
  159. data/test/test-database.rb +0 -113
  160. data/test/test-encoding.rb +0 -33
  161. data/test/test-exception.rb +0 -93
  162. data/test/test-expression-builder.rb +0 -156
  163. data/test/test-expression.rb +0 -133
  164. data/test/test-fix-size-column.rb +0 -65
  165. data/test/test-gqtp.rb +0 -70
  166. data/test/test-hash.rb +0 -312
  167. data/test/test-index-column.rb +0 -81
  168. data/test/test-patricia-trie.rb +0 -189
  169. data/test/test-procedure.rb +0 -37
  170. data/test/test-query.rb +0 -22
  171. data/test/test-record.rb +0 -268
  172. data/test/test-remote.rb +0 -53
  173. data/test/test-schema.rb +0 -416
  174. data/test/test-snippet.rb +0 -121
  175. data/test/test-table-cursor.rb +0 -153
  176. data/test/test-table-offset-and-limit.rb +0 -102
  177. data/test/test-table-select-normalize.rb +0 -48
  178. data/test/test-table-select.rb +0 -145
  179. data/test/test-table.rb +0 -642
  180. data/test/test-type.rb +0 -61
  181. data/test/test-variable-size-column.rb +0 -98
  182. data/test/test-variable.rb +0 -28
  183. data/test/test-vector-column.rb +0 -76
  184. data/test/test-version.rb +0 -31
  185. data/text/TUTORIAL.ja.rdoc +0 -392
  186. data/text/expression.rdoc +0 -284
data/ext/rb-groonga.c DELETED
@@ -1,113 +0,0 @@
1
- /* -*- c-file-style: "ruby" -*- */
2
- /*
3
- Copyright (C) 2009 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
- extern grn_ctx grn_gctx;
23
-
24
- static VALUE
25
- finish_groonga (VALUE self, VALUE object_id)
26
- {
27
- grn_ctx *context = grn_gctx.next;
28
-
29
- debug("finish\n");
30
- while (context && context != &grn_gctx) {
31
- rb_grn_context_fin(context);
32
- context = context->next;
33
- }
34
- grn_fin();
35
- debug("finish: done\n");
36
- rb_grn_exited = RB_GRN_TRUE;
37
-
38
- return Qnil;
39
- }
40
-
41
- void
42
- Init_groonga (void)
43
- {
44
- VALUE mGrn;
45
- VALUE cGrnBuildVersion, cGrnBindingsVersion;
46
- VALUE groonga_finalizer, groonga_finalizer_keeper;
47
-
48
- mGrn = rb_define_module("Groonga");
49
-
50
- groonga_finalizer = rb_funcall(rb_cObject, rb_intern("new"), 0);
51
- rb_define_singleton_method(groonga_finalizer, "call", finish_groonga, 1);
52
- groonga_finalizer_keeper = rb_funcall(rb_cObject, rb_intern("new"), 0);
53
- rb_funcall(rb_const_get(rb_cObject, rb_intern("ObjectSpace")),
54
- rb_intern("define_finalizer"),
55
- 2, groonga_finalizer_keeper, groonga_finalizer);
56
- rb_iv_set(mGrn, "finalizer", groonga_finalizer_keeper);
57
-
58
- cGrnBuildVersion = rb_ary_new3(3,
59
- INT2NUM(GRN_MAJOR_VERSION),
60
- INT2NUM(GRN_MINOR_VERSION),
61
- INT2NUM(GRN_MICRO_VERSION));
62
- rb_obj_freeze(cGrnBuildVersion);
63
- /*
64
- * ビルドしたgroongaのバージョン。<tt>[メジャーバージョン,
65
- * マイナーバージョン, マイクロバージョン]</tt>の配列。
66
- */
67
- rb_define_const(mGrn, "BUILD_VERSION", cGrnBuildVersion);
68
-
69
- /* FIXME: API to get runtime groonga version doesn't exist */
70
-
71
- /*
72
- * 利用しているgroongaのバージョン(にしたい。現在は
73
- * BUILD_VERSIONと同じ)。<tt>[メジャーバージョ
74
- * ン, マイナーバージョン, マイクロバージョン]</tt>の配列。
75
- */
76
- rb_define_const(mGrn, "VERSION", cGrnBuildVersion);
77
-
78
- cGrnBindingsVersion = rb_ary_new3(3,
79
- INT2NUM(RB_GRN_MAJOR_VERSION),
80
- INT2NUM(RB_GRN_MINOR_VERSION),
81
- INT2NUM(RB_GRN_MICRO_VERSION));
82
- rb_obj_freeze(cGrnBindingsVersion);
83
- /*
84
- * Ruby/groongaのバージョン。<tt>[メジャーバージョン, マ
85
- * イナーバージョン, マイクロバージョン]</tt>の配列。
86
- */
87
- rb_define_const(mGrn, "BINDINGS_VERSION", cGrnBindingsVersion);
88
-
89
- rb_grn_init_exception(mGrn);
90
-
91
- rb_grn_rc_check(grn_init(), Qnil);
92
-
93
- rb_grn_init_utils(mGrn);
94
- rb_grn_init_encoding(mGrn);
95
- rb_grn_init_encoding_support(mGrn);
96
- rb_grn_init_context(mGrn);
97
- rb_grn_init_object(mGrn);
98
- rb_grn_init_database(mGrn);
99
- rb_grn_init_table(mGrn);
100
- rb_grn_init_table_cursor(mGrn);
101
- rb_grn_init_type(mGrn);
102
- rb_grn_init_procedure(mGrn);
103
- rb_grn_init_column(mGrn);
104
- rb_grn_init_accessor(mGrn);
105
- rb_grn_init_record(mGrn);
106
- rb_grn_init_query(mGrn);
107
- rb_grn_init_variable(mGrn);
108
- rb_grn_init_operation(mGrn);
109
- rb_grn_init_expression(mGrn);
110
- rb_grn_init_expression_builder(mGrn);
111
- rb_grn_init_logger(mGrn);
112
- rb_grn_init_snippet(mGrn);
113
- }
data/extconf.rb DELETED
@@ -1,216 +0,0 @@
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
- $LOAD_PATH.unshift(File.dirname(__FILE__))
19
-
20
- require 'English'
21
- require 'mkmf'
22
- require 'pkg-config'
23
- require 'fileutils'
24
- require 'shellwords'
25
-
26
- checking_for(checking_message("GCC")) do
27
- if macro_defined?("__GNUC__", "")
28
- $CFLAGS += ' -Wall'
29
- true
30
- else
31
- false
32
- end
33
- end
34
-
35
- package_name = "groonga"
36
- module_name = "groonga"
37
- ext_dir_name = "ext"
38
- src_dir = File.join(File.expand_path(File.dirname(__FILE__)), ext_dir_name)
39
- major, minor, micro = 0, 1, 6
40
-
41
- def local_groonga_base_dir
42
- File.join(File.dirname(__FILE__), "vendor")
43
- end
44
-
45
- def local_groonga_install_dir
46
- File.expand_path(File.join(local_groonga_base_dir, "local"))
47
- end
48
-
49
- def have_local_groonga?(package_name, major, minor, micro)
50
- return false unless File.exist?(File.join(local_groonga_install_dir, "lib"))
51
-
52
- prepend_pkg_config_path_for_local_groonga
53
- PKGConfig.have_package(package_name, major, minor, micro)
54
- end
55
-
56
- def prepend_pkg_config_path_for_local_groonga
57
- pkg_config_dir = File.join(local_groonga_install_dir, "lib", "pkgconfig")
58
- PackageConfig.prepend_default_path(pkg_config_dir)
59
-
60
- lib_dir = File.join(local_groonga_install_dir, "lib")
61
- original_LDFLAGS = $LDFLAGS
62
- checking_for(checking_message("-Wl,-rpath is available")) do
63
- $LDFLAGS += " -Wl,-rpath,#{Shellwords.escape(lib_dir)}"
64
- available = try_compile("int main() {return 0;}")
65
- $LDFLAGS = original_LDFLAGS unless available
66
- available
67
- end
68
- end
69
-
70
- def install_groonga_locally(major, minor, micro)
71
- require 'open-uri'
72
- require 'shellwords'
73
-
74
- tar_gz = "groonga-#{major}.#{minor}.#{micro}.tar.gz"
75
- FileUtils.mkdir_p(local_groonga_base_dir)
76
-
77
- install_dir = local_groonga_install_dir
78
- Dir.chdir(local_groonga_base_dir) do
79
- url = "http://groonga.org/files/groonga/#{tar_gz}"
80
- message("downloading %s...", url)
81
- open(url, "rb") do |input|
82
- File.open(tar_gz, "wb") do |output|
83
- while (buffer = input.read(1024))
84
- output.print(buffer)
85
- end
86
- end
87
- end
88
- message(" done\n")
89
-
90
- message("extracting...")
91
- if xsystem("tar xfz #{tar_gz}")
92
- message(" done\n")
93
- else
94
- message(" failed\n")
95
- exit 1
96
- end
97
-
98
- groonga_source_dir = "groonga-#{major}.#{minor}.#{micro}"
99
- Dir.chdir(groonga_source_dir) do
100
- message("configuring...")
101
- prefix = Shellwords.escape(install_dir)
102
- if xsystem("./configure CFLAGS='-g -O0' --prefix=#{prefix}")
103
- message(" done\n")
104
- else
105
- message(" failed\n")
106
- exit 1
107
- end
108
-
109
- message("building (maybe long time)...")
110
- if xsystem("make")
111
- message(" done\n")
112
- else
113
- message(" failed\n")
114
- exit 1
115
- end
116
-
117
- message("installing...")
118
- if [major, minor, micro] == [0, 1, 6]
119
- make_install_args = " MKDIR_P='mkdir -p --'"
120
- else
121
- make_install_args = ""
122
- end
123
- if xsystem("make install#{make_install_args}")
124
- message(" done\n")
125
- else
126
- message(" failed\n")
127
- exit 1
128
- end
129
- end
130
- end
131
-
132
- prepend_pkg_config_path_for_local_groonga
133
- end
134
-
135
- unless PKGConfig.have_package(package_name, major, minor, micro)
136
- unless have_local_groonga?(package_name, major, minor, micro)
137
- install_groonga_locally(major, minor, micro)
138
- PKGConfig.have_package(package_name, major, minor, micro) or exit 1
139
- end
140
- end
141
-
142
- real_version = PKGConfig.modversion(package_name)
143
- real_major, real_minor, real_micro = real_version.split(/\./)
144
- $defs << "-DGRN_MAJOR_VERSION=#{real_major}"
145
- $defs << "-DGRN_MINOR_VERSION=#{real_minor}"
146
- $defs << "-DGRN_MICRO_VERSION=#{real_micro}"
147
-
148
- checking_for(checking_message("debug flag")) do
149
- debug = with_config("debug")
150
- if debug
151
- debug_flag = "-DRB_GRN_DEBUG"
152
- $defs << debug_flag unless $defs.include?(debug_flag)
153
- end
154
- debug
155
- end
156
-
157
- have_header("ruby/st.h") unless have_macro("HAVE_RUBY_ST_H", "ruby.h")
158
- have_func("rb_errinfo", "ruby.h")
159
- have_type("enum ruby_value_type", "ruby.h")
160
-
161
- $INSTALLFILES ||= []
162
- $INSTALLFILES << ["../lib/**/*.rb", "$(RUBYLIBDIR)", "../lib"]
163
-
164
- create_makefile(module_name, src_dir)
165
-
166
- makefile = File.read("Makefile")
167
- File.open("Makefile", "w") do |f|
168
- objs = []
169
- co = nil
170
- makefile.each_line do |line|
171
- case line
172
- when /^DLLIB\s*=\s*/
173
- dllib = $POSTMATCH
174
- f.puts("DLLIB = #{ext_dir_name}/#{dllib}")
175
- f.puts("IMPLIB = #{ext_dir_name}/libruby-#{dllib.gsub(/\..+?$/, '.lib')}")
176
- when /^(SRCS)\s*=\s*/
177
- name = $1
178
- vars = $POSTMATCH.split.collect {|var| "$(srcdir)/#{var}"}.join(" ")
179
- f.puts("#{name} = #{vars}")
180
- when /^(OBJS|CLEANLIBS|CLEANOBJS)\s*=\s*/
181
- name = $1
182
- vars = $POSTMATCH.split.collect {|var| "#{ext_dir_name}/#{var}"}
183
- objs = vars if name == "OBJS"
184
- vars = vars.join(" ")
185
- f.puts("#{name} = #{vars}")
186
- when /^\t\$\(CC\)/
187
- if PKGConfig.msvc?
188
- output_option = "-Fo"
189
- else
190
- output_option = "-o"
191
- end
192
- unless /#{Regexp.escape(output_option)}/ =~ line
193
- line = "#{line.chomp} #{output_option}$@"
194
- end
195
- co = line
196
- f.puts(line)
197
- else
198
- f.puts(line)
199
- end
200
- end
201
-
202
- if co and !objs.empty?
203
- f.puts
204
- if PKGConfig.msvc?
205
- f.puts "{$(srcdir)}.c{#{ext_dir_name}}.obj:"
206
- f.puts co
207
- else
208
- objs.each do |obj|
209
- f.puts "#{obj}: $(srcdir)/#{File.basename(obj).sub(/\..+?$/, '.c')}"
210
- f.puts co
211
- end
212
- end
213
- end
214
- end
215
-
216
- FileUtils.mkdir_p(ext_dir_name)
data/html/bar.svg DELETED
@@ -1,153 +0,0 @@
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>