rabbit 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. data/Gemfile +1 -1
  2. data/bin/rabbit +4 -8
  3. data/doc/_layouts/en.html +1 -1
  4. data/doc/_layouts/ja.html +1 -1
  5. data/doc/en/index.rd +6 -0
  6. data/doc/en/news.rd +31 -0
  7. data/doc/index.html.en +1 -1
  8. data/doc/index.html.ja +1 -1
  9. data/doc/ja/index.rd +5 -0
  10. data/doc/ja/news.rd +31 -0
  11. data/lib/rabbit/default-config.rb +11 -3
  12. data/lib/rabbit/middleware/controller.rb +1 -0
  13. data/lib/rabbit/parser/wiki.rb +10 -8
  14. data/lib/rabbit/rabbit.rb +1 -1
  15. data/lib/rabbit/theme/footer-comment/footer-comment.rb +3 -2
  16. data/po/rabbit.pot +116 -124
  17. metadata +5 -55
  18. data/doc/images/screenshots/en/blue-circle-raw.png +0 -0
  19. data/doc/images/screenshots/en/blue-circle.png +0 -0
  20. data/doc/images/screenshots/en/clear-blue-raw.png +0 -0
  21. data/doc/images/screenshots/en/clear-blue.png +0 -0
  22. data/doc/images/screenshots/en/cozmixng-raw.png +0 -0
  23. data/doc/images/screenshots/en/cozmixng.png +0 -0
  24. data/doc/images/screenshots/en/dark-gradation-raw.png +0 -0
  25. data/doc/images/screenshots/en/dark-gradation.png +0 -0
  26. data/doc/images/screenshots/en/day-white-raw.png +0 -0
  27. data/doc/images/screenshots/en/day-white.png +0 -0
  28. data/doc/images/screenshots/en/debian-raw.png +0 -0
  29. data/doc/images/screenshots/en/debian.png +0 -0
  30. data/doc/images/screenshots/en/green-circle-raw.png +0 -0
  31. data/doc/images/screenshots/en/green-circle.png +0 -0
  32. data/doc/images/screenshots/en/night-black-raw.png +0 -0
  33. data/doc/images/screenshots/en/night-black.png +0 -0
  34. data/doc/images/screenshots/en/rabbit-raw.png +0 -0
  35. data/doc/images/screenshots/en/rabbit.png +0 -0
  36. data/doc/images/screenshots/en/ranguba-raw.png +0 -0
  37. data/doc/images/screenshots/en/ranguba.png +0 -0
  38. data/doc/images/screenshots/en/red-frame-raw.png +0 -0
  39. data/doc/images/screenshots/en/red-frame.png +0 -0
  40. data/doc/images/screenshots/en/ruby-gnome2-raw.png +0 -0
  41. data/doc/images/screenshots/en/ruby-gnome2.png +0 -0
  42. data/doc/images/screenshots/ja/blue-circle-raw.png +0 -0
  43. data/doc/images/screenshots/ja/blue-circle.png +0 -0
  44. data/doc/images/screenshots/ja/clear-blue-raw.png +0 -0
  45. data/doc/images/screenshots/ja/clear-blue.png +0 -0
  46. data/doc/images/screenshots/ja/cozmixng-raw.png +0 -0
  47. data/doc/images/screenshots/ja/cozmixng.png +0 -0
  48. data/doc/images/screenshots/ja/dark-gradation-raw.png +0 -0
  49. data/doc/images/screenshots/ja/dark-gradation.png +0 -0
  50. data/doc/images/screenshots/ja/day-white-raw.png +0 -0
  51. data/doc/images/screenshots/ja/day-white.png +0 -0
  52. data/doc/images/screenshots/ja/debian-raw.png +0 -0
  53. data/doc/images/screenshots/ja/debian.png +0 -0
  54. data/doc/images/screenshots/ja/green-circle-raw.png +0 -0
  55. data/doc/images/screenshots/ja/green-circle.png +0 -0
  56. data/doc/images/screenshots/ja/night-black-raw.png +0 -0
  57. data/doc/images/screenshots/ja/night-black.png +0 -0
  58. data/doc/images/screenshots/ja/rabbit-raw.png +0 -0
  59. data/doc/images/screenshots/ja/rabbit.png +0 -0
  60. data/doc/images/screenshots/ja/ranguba-raw.png +0 -0
  61. data/doc/images/screenshots/ja/ranguba.png +0 -0
  62. data/doc/images/screenshots/ja/red-frame-raw.png +0 -0
  63. data/doc/images/screenshots/ja/red-frame.png +0 -0
  64. data/doc/images/screenshots/ja/ruby-gnome2-raw.png +0 -0
  65. data/doc/images/screenshots/ja/ruby-gnome2.png +0 -0
  66. data/sample/test.hiki +0 -31
  67. data/sample/test.rab +0 -30
data/Gemfile CHANGED
@@ -7,7 +7,7 @@ gem 'rsvg2'
7
7
  gem 'poppler'
8
8
  gem 'hikidoc'
9
9
  gem 'nokogiri'
10
- gem "rack"
10
+ gem "sinatra"
11
11
  gem "haml"
12
12
  gem "rdtool"
13
13
  gem "coderay"
data/bin/rabbit CHANGED
@@ -578,14 +578,10 @@ end
578
578
  def make_source(options, argv, logger)
579
579
  if options.source_type == :auto
580
580
  if argv.empty?
581
- if Rabbit::Utils.support_console_input?
582
- options.source_type = Rabbit::Source::ARGF
583
- else
584
- file_name = choose_source_file_by_dialog(options)
585
- exit if file_name.nil?
586
- argv = [file_name]
587
- options.source_type = Rabbit::Source::File
588
- end
581
+ file_name = choose_source_file_by_dialog(options)
582
+ exit if file_name.nil?
583
+ argv = [file_name]
584
+ options.source_type = Rabbit::Source::File
589
585
  elsif argv.size == 1 and /\Ahttps?:\/\// =~ argv[0]
590
586
  options.source_type = Rabbit::Source::URI
591
587
  else
data/doc/_layouts/en.html CHANGED
@@ -22,7 +22,7 @@ country: US
22
22
  {{ content }}
23
23
  <nav id="sidebar">
24
24
  <h3>The Latest Release</h3>
25
- <p><a href="en/news.html">1.0.2</a> is the latest release. It had been released at 2011-07-15.</p>
25
+ <p><a href="en/news.html">1.0.3</a> is the latest release. It had been released at 2011-07-17.</p>
26
26
  <h3>Links</h3>
27
27
  <ul>
28
28
  <li><a href="/en/">README</a></li>
data/doc/_layouts/ja.html CHANGED
@@ -22,7 +22,7 @@ country: JP
22
22
  {{ content }}
23
23
  <nav id="sidebar">
24
24
  <h3>最新リリース</h3>
25
- <p>2011-07-15にリリースされた<a href="/ja/news.html">1.0.2</a>が最新リリースです。</p>
25
+ <p>2011-07-17にリリースされた<a href="/ja/news.html">1.0.3</a>が最新リリースです。</p>
26
26
  <h3>リンク</h3>
27
27
  <ul>
28
28
  <li><a href="/ja/">はじめに</a></li>
data/doc/en/index.rd CHANGED
@@ -178,6 +178,12 @@ lib/rabbit/div/prototype.js released under an MIT-style
178
178
  licence. For more information see ((<Prototype JavaScript
179
179
  Framework|URL:http://prototype.conio.net/>)).
180
180
 
181
+ The author of
182
+ data/rabbit/image/rubykaigi2011-images/rubykaigi2011-background-white.jpg
183
+ and
184
+ data/rabbit/image/rubykaigi2011-images/rubykaigi2011-background-black.jpg
185
+ is norio. And it's licensed by CC-by-3.0.
186
+
181
187
  If you want to get a copy of the mascot character PSD files
182
188
  ask the program author. He'll forward the request to the
183
189
  author of the image.
data/doc/en/news.rd CHANGED
@@ -3,6 +3,37 @@ layout: en
3
3
  title: News
4
4
  apply_data: false
5
5
  ---
6
+ == 1.0.3: 2011-07-17
7
+
8
+ A bug fix release of 1.0.2.
9
+
10
+ === Improvements
11
+
12
+ ==== Core
13
+
14
+ * Supported RubyGems 1.8.5.
15
+ [Reported by okkez]
16
+ * rabbit command doesn't use standard input as the default
17
+ source type.
18
+
19
+ === Fixes
20
+
21
+ ==== Core
22
+
23
+ * Fixed a problem that Wiki notation support doesn't show error.
24
+ [Reported by kimura wataru]
25
+ * Added missing Sinatra dependency.
26
+
27
+ ==== Theme
28
+
29
+ * footer-comment: Fixed a problem that a comment is hidden
30
+ shortly.
31
+
32
+ === Thanks
33
+
34
+ * okkez
35
+ * kimura wataru
36
+
6
37
  == 1.0.2: 2011-07-15
7
38
 
8
39
  RubyKaigi2011 release.
data/doc/index.html.en CHANGED
@@ -5,7 +5,7 @@ lang_suffix: true
5
5
  no_sidebar: true
6
6
  ---
7
7
  <div class="latest-release">
8
- <p><a href="/en/news.html">1.0.2</a> is the latest release. It had been released at 2011-07-15.</p>
8
+ <p><a href="/en/news.html">1.0.3</a> is the latest release. It had been released at 2011-07-17.</p>
9
9
  </div>
10
10
 
11
11
  <section class="screenshots">
data/doc/index.html.ja CHANGED
@@ -5,7 +5,7 @@ lang_suffix: true
5
5
  no_sidebar: true
6
6
  ---
7
7
  <div class="latest-release">
8
- <p>2011-07-15にリリースされた<a href="/ja/news.html">1.0.2</a>が最新リリースです。</p>
8
+ <p>2011-07-17にリリースされた<a href="/ja/news.html">1.0.3</a>が最新リリースです。</p>
9
9
  </div>
10
10
 
11
11
  <section class="screenshots">
data/doc/ja/index.rd CHANGED
@@ -178,6 +178,11 @@ lib/rabbit/div/prototype.jsはMITスタイルのライセンスになりま
178
178
  詳しくは((<Prototype JavaScript
179
179
  Framework|URL:http://prototype.conio.net/>))を見てください。
180
180
 
181
+ data/rabbit/image/rubykaigi2011-images/rubykaigi2011-background-white.jpg
182
+
183
+ data/rabbit/image/rubykaigi2011-images/rubykaigi2011-background-black.jpg
184
+ の作者はnorioさんでラインセンスはCC-by-3.0です。
185
+
181
186
  == メーリングリスト
182
187
 
183
188
  ((<users.html/ユーザー>))ページにメーリングリストへの参
data/doc/ja/news.rd CHANGED
@@ -3,6 +3,37 @@ layout: ja
3
3
  title: お知らせ
4
4
  apply_data: false
5
5
  ---
6
+ == 1.0.3: 2011-07-17
7
+
8
+ 1.0.2のバグフィックスバージョン。
9
+
10
+ === 改良
11
+
12
+ ==== 本体
13
+
14
+ * RubyGems 1.8.5対応。
15
+ [okkezさんが報告]
16
+ * rabbitコマンドにファイル名を指定しなかった場合は標準入力
17
+ を使うのではなく、常にファイル選択ダイアログを開くように
18
+ した。
19
+
20
+ === 修正
21
+
22
+ ==== 本体
23
+
24
+ * Wiki記法を使えないのに使えるようにみえてしまう問題を修正。
25
+ [木村さんが報告]
26
+ * Sinatraへの依存関係が抜けていた問題を修正。
27
+
28
+ ==== テーマ
29
+
30
+ * footer-comment: コメントがすぐに消えてしまう問題を修正。
31
+
32
+ === 感謝
33
+
34
+ * okkezさん
35
+ * 木村さん
36
+
6
37
  == 1.0.2: 2011-07-15
7
38
 
8
39
  日本Ruby会議2011リリース。
@@ -3,14 +3,22 @@ require 'rbconfig'
3
3
  module Rabbit
4
4
  module Config
5
5
  IMAGE_PATH = [
6
- ::Config::CONFIG["datadir"],
6
+ RbConfig::CONFIG["datadir"],
7
7
  File.join(".", "data"),
8
8
  ]
9
- if Object.const_defined?(:Gem)
9
+ append_path_from_gem = lambda do
10
+ return unless Object.const_defined?(:Gem)
10
11
  rabbit_gem_spec = Gem.loaded_specs["rabbit"]
11
- if rabbit_gem_spec and rabbit_gem_spec.loaded?
12
+ return if rabbit_gem_spec.nil?
13
+ unless rabbit_gem_spec.respond_to?(:activated?)
14
+ def rabbit_gem_spec.activated?
15
+ loaded?
16
+ end
17
+ end
18
+ if rabbit_gem_spec.activated?
12
19
  IMAGE_PATH.unshift(File.join(rabbit_gem_spec.full_gem_path, "data"))
13
20
  end
14
21
  end
22
+ append_path_from_gem.call
15
23
  end
16
24
  end
@@ -17,6 +17,7 @@
17
17
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
18
 
19
19
  require "sinatra/base"
20
+ require "haml"
20
21
 
21
22
  module Rabbit
22
23
  module Middleware
@@ -1,15 +1,19 @@
1
- begin
2
- require "hikidoc"
3
- rescue LoadError
4
- require "rubygems"
5
- require "hikidoc"
6
- end
1
+ require "hikidoc"
7
2
 
8
3
  require "rabbit/parser/base"
9
4
 
10
5
  module Rabbit
11
6
  module Parser
12
7
  class Wiki < Base
8
+ end
9
+ end
10
+ end
11
+
12
+ require "rabbit/parser/wiki/output"
13
+
14
+ module Rabbit
15
+ module Parser
16
+ class Wiki
13
17
  unshift_loader(self)
14
18
  class << self
15
19
  def match?(source)
@@ -28,5 +32,3 @@ module Rabbit
28
32
  end
29
33
  end
30
34
  end
31
-
32
- require "rabbit/parser/wiki/output"
data/lib/rabbit/rabbit.rb CHANGED
@@ -8,7 +8,7 @@ require "rabbit/gettext"
8
8
 
9
9
  module Rabbit
10
10
 
11
- VERSION = "1.0.2"
11
+ VERSION = "1.0.3"
12
12
 
13
13
  TMP_DIR_NAME = ".tmp"
14
14
 
@@ -35,14 +35,15 @@ match(SlideElement) do |slides|
35
35
  comments << comment
36
36
  end
37
37
 
38
- redraw_time = Time.now
38
+ redraw_time = nil
39
39
  slides.add_post_draw_proc(proc_name) do |slide, canvas, x, y, w, h, simulation|
40
40
  unless simulation
41
41
  unless comments.empty?
42
+ redraw_time ||= Time.now
42
43
  content = comments.first
43
44
  text = Text.new(ERB::Util.h(content.strip.gsub("\n", " ")))
44
45
  if Time.now - redraw_time > @footer_comment_min_display_time
45
- redraw_time = Time.now
46
+ redraw_time = nil
46
47
  if @footer_comment_keep_last_comment
47
48
  comments.shift if comments.size > 1
48
49
  else
data/po/rabbit.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2011-07-15 16:08+0900\n"
11
+ "POT-Creation-Date: 2011-07-13 20:40+0900\n"
12
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -83,7 +83,7 @@ msgstr ""
83
83
  msgid "PDF"
84
84
  msgstr ""
85
85
 
86
- #: ../../lib/rabbit/html/generator.rb:403 ../../bin/rabbit:99
86
+ #: ../../lib/rabbit/html/generator.rb:403 ../../bin/rabbit:85
87
87
  msgid "Source"
88
88
  msgstr ""
89
89
 
@@ -123,7 +123,7 @@ msgstr ""
123
123
  msgid "Save as image"
124
124
  msgstr ""
125
125
 
126
- #: ../../lib/rabbit/action/basic.rb:83 ../../bin/rabbit:236
126
+ #: ../../lib/rabbit/action/basic.rb:83 ../../bin/rabbit:222
127
127
  msgid "Print"
128
128
  msgstr ""
129
129
 
@@ -316,6 +316,7 @@ msgstr ""
316
316
  #: ../../lib/rabbit/theme/default/property.rb:1
317
317
  #: ../../lib/rabbit/theme/rabbit/property.rb:1
318
318
  #: ../../lib/rabbit/theme/blue-circle/property.rb:1
319
+ #: ../../lib/rabbit/theme/pdf-tortoise-and-hare/property.rb:1
319
320
  #: ../../lib/rabbit/theme/lightning-rabbit/property.rb:1
320
321
  #: ../../lib/rabbit/theme/lightning-talk/property.rb:1
321
322
  #: ../../lib/rabbit/theme/debian/property.rb:1
@@ -326,7 +327,7 @@ msgstr ""
326
327
  #: ../../lib/rabbit/theme/green-circle/property.rb:1
327
328
  #: ../../lib/rabbit/theme/ruby-gnome2/property.rb:1
328
329
  #: ../../lib/rabbit/theme/lightning-monochrome/property.rb:1
329
- #: ../../lib/rabbit/theme/pdf/property.rb:1 ../../bin/rabbit:72
330
+ #: ../../lib/rabbit/theme/pdf/property.rb:1 ../../bin/rabbit:70
330
331
  msgid "Theme"
331
332
  msgstr ""
332
333
 
@@ -360,10 +361,10 @@ msgstr ""
360
361
  msgid "Specify locale dir as [DIR]."
361
362
  msgstr ""
362
363
 
363
- #: ../../lib/rabbit/console.rb:69 ../../bin/rabbit:130 ../../bin/rabbit:136
364
- #: ../../bin/rabbit:296 ../../bin/rabbit:303 ../../bin/rabbit:310
365
- #: ../../bin/rabbit:317 ../../bin/rabbit:342 ../../bin/rabbit:349
366
- #: ../../bin/rabbit:356 ../../bin/rabbit:363 ../../bin/rabbit:494
364
+ #: ../../lib/rabbit/console.rb:69 ../../bin/rabbit:116 ../../bin/rabbit:122
365
+ #: ../../bin/rabbit:282 ../../bin/rabbit:289 ../../bin/rabbit:296
366
+ #: ../../bin/rabbit:303 ../../bin/rabbit:328 ../../bin/rabbit:335
367
+ #: ../../bin/rabbit:342 ../../bin/rabbit:349 ../../bin/rabbit:480
367
368
  msgid "(auto)"
368
369
  msgstr ""
369
370
 
@@ -372,7 +373,7 @@ msgid "Specify logger type as [TYPE]."
372
373
  msgstr ""
373
374
 
374
375
  #: ../../lib/rabbit/console.rb:84 ../../lib/rabbit/console.rb:101
375
- #: ../../bin/rabbit:114
376
+ #: ../../bin/rabbit:100
376
377
  msgid "Select from [%s]."
377
378
  msgstr ""
378
379
 
@@ -478,7 +479,6 @@ msgstr ""
478
479
  #: ../../lib/rabbit/theme/color-circle-method-list/property.rb:1
479
480
  #: ../../lib/rabbit/theme/ruby-gnome2-slide/property.rb:1
480
481
  #: ../../lib/rabbit/theme/slide-background-image/property.rb:1
481
- #: ../../lib/rabbit/theme/default-comment/property.rb:1
482
482
  #: ../../lib/rabbit/theme/slide-number/property.rb:1
483
483
  #: ../../lib/rabbit/theme/icon/property.rb:1
484
484
  #: ../../lib/rabbit/theme/color-circle-block-quote/property.rb:1
@@ -778,7 +778,7 @@ msgstr ""
778
778
  #: ../../lib/rabbit/theme/stream-comment/property.rb:1
779
779
  #: ../../lib/rabbit/theme/twitter-comment/property.rb:1
780
780
  #: ../../lib/rabbit/theme/clutter-comment/property.rb:1
781
- #: ../../lib/rabbit/theme/footer-comment/property.rb:1 ../../bin/rabbit:483
781
+ #: ../../lib/rabbit/theme/footer-comment/property.rb:1 ../../bin/rabbit:469
782
782
  msgid "Comment"
783
783
  msgstr ""
784
784
 
@@ -984,6 +984,14 @@ msgid ""
984
984
  "Project; i.e. displays their text colored blue."
985
985
  msgstr ""
986
986
 
987
+ #: ../../lib/rabbit/theme/pdf-tortoise-and-hare/property.rb:2
988
+ msgid "PDF with The Tortoise and The Hare"
989
+ msgstr ""
990
+
991
+ #: ../../lib/rabbit/theme/pdf-tortoise-and-hare/property.rb:3
992
+ msgid "Theme for PDF with The Tortoise and The Hare"
993
+ msgstr ""
994
+
987
995
  #: ../../lib/rabbit/theme/cozmixng-powered-by/property.rb:2
988
996
  msgid "COZMIXNGPoweredBy"
989
997
  msgstr ""
@@ -1282,18 +1290,6 @@ msgstr ""
1282
1290
  msgid "Etc"
1283
1291
  msgstr ""
1284
1292
 
1285
- #: ../../lib/rabbit/theme/default-comment/property.rb:2
1286
- msgid "DefaultComment"
1287
- msgstr ""
1288
-
1289
- #: ../../lib/rabbit/theme/default-comment/property.rb:3
1290
- msgid "Toolkit to set up default comment theme."
1291
- msgstr ""
1292
-
1293
- #: ../../lib/rabbit/theme/default-comment/property.rb:4
1294
- msgid "Sets up default comment theme."
1295
- msgstr ""
1296
-
1297
1293
  #: ../../lib/rabbit/theme/debian/property.rb:2
1298
1294
  msgid "Debian Theme"
1299
1295
  msgstr ""
@@ -1904,6 +1900,10 @@ msgstr ""
1904
1900
  msgid "[FILENAME]"
1905
1901
  msgstr ""
1906
1902
 
1903
+ #: ../../lib/rabbit/source/rwiki.rb:12
1904
+ msgid "[RWIKI_SOAP_IF_URI] and [PAGE_NAME]"
1905
+ msgstr ""
1906
+
1907
1907
  #: ../../lib/rabbit/source/uri.rb:25
1908
1908
  msgid "URI"
1909
1909
  msgstr ""
@@ -1916,11 +1916,11 @@ msgstr ""
1916
1916
  msgid "[USER] and [TITLE]"
1917
1917
  msgstr ""
1918
1918
 
1919
- #: ../../lib/rabbit/canvas.rb:610
1919
+ #: ../../lib/rabbit/canvas.rb:608
1920
1920
  msgid "Unknown action: %s"
1921
1921
  msgstr ""
1922
1922
 
1923
- #: ../../lib/rabbit/canvas.rb:682
1923
+ #: ../../lib/rabbit/canvas.rb:679
1924
1924
  msgid "Processing..."
1925
1925
  msgstr ""
1926
1926
 
@@ -1976,382 +1976,374 @@ msgstr ""
1976
1976
  msgid "Line width:"
1977
1977
  msgstr ""
1978
1978
 
1979
- #: ../../bin/rabbit:75 ../../bin/rabbit-theme-manager:27
1979
+ #: ../../bin/rabbit:73 ../../bin/rabbit-theme-manager:27
1980
1980
  msgid "Add [PATH] to load path."
1981
1981
  msgstr ""
1982
1982
 
1983
- #: ../../bin/rabbit:80
1983
+ #: ../../bin/rabbit:78
1984
1984
  msgid "Use [THEME] as theme."
1985
1985
  msgstr ""
1986
1986
 
1987
- #: ../../bin/rabbit:87
1988
- msgid "Use [THEME] for comment."
1989
- msgstr ""
1990
-
1991
- #: ../../bin/rabbit:93
1992
- msgid "Use [TIME] as allotted time."
1993
- msgstr ""
1994
-
1995
- #: ../../bin/rabbit:106
1987
+ #: ../../bin/rabbit:92
1996
1988
  msgid ""
1997
1989
  "When select %s\n"
1998
1990
  "specify %s\n"
1999
1991
  "as [SOURCE_INFOS]."
2000
1992
  msgstr ""
2001
1993
 
2002
- #: ../../bin/rabbit:113
1994
+ #: ../../bin/rabbit:99
2003
1995
  msgid "Specify source type as [TYPE]."
2004
1996
  msgstr ""
2005
1997
 
2006
- #: ../../bin/rabbit:115
1998
+ #: ../../bin/rabbit:101
2007
1999
  msgid "Note: case insensitive."
2008
2000
  msgstr ""
2009
2001
 
2010
- #: ../../bin/rabbit:129
2002
+ #: ../../bin/rabbit:115
2011
2003
  msgid "Specify source encoding as [ENCODING]."
2012
2004
  msgstr ""
2013
2005
 
2014
- #: ../../bin/rabbit:135
2006
+ #: ../../bin/rabbit:121
2015
2007
  msgid "Specify base URI or path of source as [BASE]."
2016
2008
  msgstr ""
2017
2009
 
2018
- #: ../../bin/rabbit:141
2010
+ #: ../../bin/rabbit:127
2019
2011
  msgid "Initial state"
2020
2012
  msgstr ""
2021
2013
 
2022
- #: ../../bin/rabbit:144
2014
+ #: ../../bin/rabbit:130
2023
2015
  msgid "Toggle full screen mode."
2024
2016
  msgstr ""
2025
2017
 
2026
- #: ../../bin/rabbit:150
2018
+ #: ../../bin/rabbit:136
2027
2019
  msgid "Toggle index mode."
2028
2020
  msgstr ""
2029
2021
 
2030
- #: ../../bin/rabbit:156
2022
+ #: ../../bin/rabbit:142
2031
2023
  msgid "Size"
2032
2024
  msgstr ""
2033
2025
 
2034
- #: ../../bin/rabbit:159
2026
+ #: ../../bin/rabbit:145
2035
2027
  msgid "Set window geometry [GEOMETRY]."
2036
2028
  msgstr ""
2037
2029
 
2038
- #: ../../bin/rabbit:160
2030
+ #: ../../bin/rabbit:146
2039
2031
  msgid "Format: WIDTHxHEIGHT+X+Y"
2040
2032
  msgstr ""
2041
2033
 
2042
- #: ../../bin/rabbit:167 ../../bin/rabbit-theme-manager:43
2034
+ #: ../../bin/rabbit:153 ../../bin/rabbit-theme-manager:43
2043
2035
  msgid "Set window width to [WIDTH]."
2044
2036
  msgstr ""
2045
2037
 
2046
- #: ../../bin/rabbit:174 ../../bin/rabbit-theme-manager:50
2038
+ #: ../../bin/rabbit:160 ../../bin/rabbit-theme-manager:50
2047
2039
  msgid "Set window height to [HEIGHT]."
2048
2040
  msgstr ""
2049
2041
 
2050
- #: ../../bin/rabbit:179 ../../bin/rabbit-theme-manager:55
2042
+ #: ../../bin/rabbit:165 ../../bin/rabbit-theme-manager:55
2051
2043
  msgid ""
2052
2044
  "Set window width and height to\n"
2053
2045
  "[WIDTH] and [HEIGHT]."
2054
2046
  msgstr ""
2055
2047
 
2056
- #: ../../bin/rabbit:191
2048
+ #: ../../bin/rabbit:177
2057
2049
  msgid "Save"
2058
2050
  msgstr ""
2059
2051
 
2060
- #: ../../bin/rabbit:194
2052
+ #: ../../bin/rabbit:180
2061
2053
  msgid "Save as image and exit."
2062
2054
  msgstr ""
2063
2055
 
2064
- #: ../../bin/rabbit:199
2056
+ #: ../../bin/rabbit:185
2065
2057
  msgid "Specify saved image type as [TYPE]."
2066
2058
  msgstr ""
2067
2059
 
2068
- #: ../../bin/rabbit:206
2060
+ #: ../../bin/rabbit:192
2069
2061
  msgid "Specify saved image base name as [BASE_NAME]."
2070
2062
  msgstr ""
2071
2063
 
2072
- #: ../../bin/rabbit:207 ../../bin/rabbit:245
2064
+ #: ../../bin/rabbit:193 ../../bin/rabbit:231
2073
2065
  msgid "Title of slide"
2074
2066
  msgstr ""
2075
2067
 
2076
- #: ../../bin/rabbit:212
2068
+ #: ../../bin/rabbit:198
2077
2069
  msgid "Output HTML for viewing saved images."
2078
2070
  msgstr ""
2079
2071
 
2080
- #: ../../bin/rabbit:218
2072
+ #: ../../bin/rabbit:204
2081
2073
  msgid "Output index HTML for navigating slides."
2082
2074
  msgstr ""
2083
2075
 
2084
- #: ../../bin/rabbit:224
2076
+ #: ../../bin/rabbit:210
2085
2077
  msgid "Specify base URI of RSS as [URI]."
2086
2078
  msgstr ""
2087
2079
 
2088
- #: ../../bin/rabbit:225
2080
+ #: ../../bin/rabbit:211
2089
2081
  msgid "RSS is generated only when HTML is output."
2090
2082
  msgstr ""
2091
2083
 
2092
- #: ../../bin/rabbit:231
2084
+ #: ../../bin/rabbit:217
2093
2085
  msgid "Specify source filenam as [FILENAME]."
2094
2086
  msgstr ""
2095
2087
 
2096
- #: ../../bin/rabbit:239
2088
+ #: ../../bin/rabbit:225
2097
2089
  msgid "Print and exit."
2098
2090
  msgstr ""
2099
2091
 
2100
- #: ../../bin/rabbit:244
2092
+ #: ../../bin/rabbit:230
2101
2093
  msgid "Specify printed out filename as [FILENAME]."
2102
2094
  msgstr ""
2103
2095
 
2104
- #: ../../bin/rabbit:251
2096
+ #: ../../bin/rabbit:237
2105
2097
  msgid "Set slides per page."
2106
2098
  msgstr ""
2107
2099
 
2108
- #: ../../bin/rabbit:257
2100
+ #: ../../bin/rabbit:243
2109
2101
  msgid "Draw scaled image."
2110
2102
  msgstr ""
2111
2103
 
2112
- #: ../../bin/rabbit:258
2104
+ #: ../../bin/rabbit:244
2113
2105
  msgid "Better look for displaying but lesser look for printing."
2114
2106
  msgstr ""
2115
2107
 
2116
- #: ../../bin/rabbit:263
2108
+ #: ../../bin/rabbit:249
2117
2109
  msgid "Paper"
2118
2110
  msgstr ""
2119
2111
 
2120
- #: ../../bin/rabbit:267
2112
+ #: ../../bin/rabbit:253
2121
2113
  msgid "Set paper width to [WIDTH] Pt."
2122
2114
  msgstr ""
2123
2115
 
2124
- #: ../../bin/rabbit:268
2116
+ #: ../../bin/rabbit:254
2125
2117
  msgid "(landscape A4 width)"
2126
2118
  msgstr ""
2127
2119
 
2128
- #: ../../bin/rabbit:274
2120
+ #: ../../bin/rabbit:260
2129
2121
  msgid "Set paper height to [HEIGHT] Pt."
2130
2122
  msgstr ""
2131
2123
 
2132
- #: ../../bin/rabbit:275
2124
+ #: ../../bin/rabbit:261
2133
2125
  msgid "(landscape A4 height)"
2134
2126
  msgstr ""
2135
2127
 
2136
- #: ../../bin/rabbit:279
2128
+ #: ../../bin/rabbit:265
2137
2129
  msgid ""
2138
2130
  "Set paper width and height to\n"
2139
2131
  "[WIDTH] Pt and [HEIGHT] Pt."
2140
2132
  msgstr ""
2141
2133
 
2142
- #: ../../bin/rabbit:281
2134
+ #: ../../bin/rabbit:267
2143
2135
  msgid "(landscape A4 size)"
2144
2136
  msgstr ""
2145
2137
 
2146
- #: ../../bin/rabbit:291
2138
+ #: ../../bin/rabbit:277
2147
2139
  msgid "Margin"
2148
2140
  msgstr ""
2149
2141
 
2150
- #: ../../bin/rabbit:295
2142
+ #: ../../bin/rabbit:281
2151
2143
  msgid "Set left margin for slides per page mode print."
2152
2144
  msgstr ""
2153
2145
 
2154
- #: ../../bin/rabbit:302
2146
+ #: ../../bin/rabbit:288
2155
2147
  msgid "Set right margin for slides per page mode print."
2156
2148
  msgstr ""
2157
2149
 
2158
- #: ../../bin/rabbit:309
2150
+ #: ../../bin/rabbit:295
2159
2151
  msgid "Set top margin for slides per page mode print."
2160
2152
  msgstr ""
2161
2153
 
2162
- #: ../../bin/rabbit:316
2154
+ #: ../../bin/rabbit:302
2163
2155
  msgid "Set bottom margin for slides per page mode print."
2164
2156
  msgstr ""
2165
2157
 
2166
- #: ../../bin/rabbit:321
2158
+ #: ../../bin/rabbit:307
2167
2159
  msgid "[ALL]"
2168
2160
  msgstr ""
2169
2161
 
2170
- #: ../../bin/rabbit:322
2162
+ #: ../../bin/rabbit:308
2171
2163
  msgid "[TOP_BOTTOM],[LEFT_RIGHT]"
2172
2164
  msgstr ""
2173
2165
 
2174
- #: ../../bin/rabbit:323
2166
+ #: ../../bin/rabbit:309
2175
2167
  msgid "[TOP],[LEFT_RIGHT],[BOTTOM]"
2176
2168
  msgstr ""
2177
2169
 
2178
- #: ../../bin/rabbit:324
2170
+ #: ../../bin/rabbit:310
2179
2171
  msgid "[TOP],[RIGHT],[BOTTOM],[LEFT]"
2180
2172
  msgstr ""
2181
2173
 
2182
- #: ../../bin/rabbit:327
2174
+ #: ../../bin/rabbit:313
2183
2175
  msgid "Set margin for slides per page mode print."
2184
2176
  msgstr ""
2185
2177
 
2186
- #: ../../bin/rabbit:341
2178
+ #: ../../bin/rabbit:327
2187
2179
  msgid "Set left page margin."
2188
2180
  msgstr ""
2189
2181
 
2190
- #: ../../bin/rabbit:348
2182
+ #: ../../bin/rabbit:334
2191
2183
  msgid "Set right page margin."
2192
2184
  msgstr ""
2193
2185
 
2194
- #: ../../bin/rabbit:355
2186
+ #: ../../bin/rabbit:341
2195
2187
  msgid "Set top page margin."
2196
2188
  msgstr ""
2197
2189
 
2198
- #: ../../bin/rabbit:362
2190
+ #: ../../bin/rabbit:348
2199
2191
  msgid "Set bottom page margin."
2200
2192
  msgstr ""
2201
2193
 
2202
- #: ../../bin/rabbit:369
2194
+ #: ../../bin/rabbit:355
2203
2195
  msgid "Set page margin."
2204
2196
  msgstr ""
2205
2197
 
2206
- #: ../../bin/rabbit:381
2198
+ #: ../../bin/rabbit:367
2207
2199
  msgid "dRuby"
2208
2200
  msgstr ""
2209
2201
 
2210
- #: ../../bin/rabbit:384
2202
+ #: ../../bin/rabbit:370
2211
2203
  msgid "Specify whether to use dRuby."
2212
2204
  msgstr ""
2213
2205
 
2214
- #: ../../bin/rabbit:390
2206
+ #: ../../bin/rabbit:376
2215
2207
  msgid "Specify dRuby URI."
2216
2208
  msgstr ""
2217
2209
 
2218
- #: ../../bin/rabbit:396
2210
+ #: ../../bin/rabbit:382
2219
2211
  msgid "Specify whether to output dRuby URI."
2220
2212
  msgstr ""
2221
2213
 
2222
- #: ../../bin/rabbit:401
2214
+ #: ../../bin/rabbit:387
2223
2215
  msgid "SOAP"
2224
2216
  msgstr ""
2225
2217
 
2226
- #: ../../bin/rabbit:404
2218
+ #: ../../bin/rabbit:390
2227
2219
  msgid "Specify whether to use SOAP."
2228
2220
  msgstr ""
2229
2221
 
2230
- #: ../../bin/rabbit:410
2222
+ #: ../../bin/rabbit:396
2231
2223
  msgid "Specify SOAP host as [HOST]."
2232
2224
  msgstr ""
2233
2225
 
2234
- #: ../../bin/rabbit:418
2226
+ #: ../../bin/rabbit:404
2235
2227
  msgid "Specify SOAP port as [PORT]."
2236
2228
  msgstr ""
2237
2229
 
2238
- #: ../../bin/rabbit:427
2230
+ #: ../../bin/rabbit:413
2239
2231
  msgid "XML-RPC"
2240
2232
  msgstr ""
2241
2233
 
2242
- #: ../../bin/rabbit:430
2234
+ #: ../../bin/rabbit:416
2243
2235
  msgid "Specify whether to use XML-RPC."
2244
2236
  msgstr ""
2245
2237
 
2246
- #: ../../bin/rabbit:436
2238
+ #: ../../bin/rabbit:422
2247
2239
  msgid "Specify XML-RPC host as [HOST]."
2248
2240
  msgstr ""
2249
2241
 
2250
- #: ../../bin/rabbit:444
2242
+ #: ../../bin/rabbit:430
2251
2243
  msgid "Specify XML-RPC port as [PORT]."
2252
2244
  msgstr ""
2253
2245
 
2254
- #: ../../bin/rabbit:453
2246
+ #: ../../bin/rabbit:439
2255
2247
  msgid "Server"
2256
2248
  msgstr ""
2257
2249
 
2258
- #: ../../bin/rabbit:456
2250
+ #: ../../bin/rabbit:442
2259
2251
  msgid "Specify whether to run as server."
2260
2252
  msgstr ""
2261
2253
 
2262
- #: ../../bin/rabbit:461
2254
+ #: ../../bin/rabbit:447
2263
2255
  msgid "Public level"
2264
2256
  msgstr ""
2265
2257
 
2266
- #: ../../bin/rabbit:468
2258
+ #: ../../bin/rabbit:454
2267
2259
  msgid "Specify public level."
2268
2260
  msgstr ""
2269
2261
 
2270
- #: ../../bin/rabbit:469
2262
+ #: ../../bin/rabbit:455
2271
2263
  msgid "Select from the following:"
2272
2264
  msgstr ""
2273
2265
 
2274
- #: ../../bin/rabbit:486 ../../bin/rabbit:492
2266
+ #: ../../bin/rabbit:472 ../../bin/rabbit:478
2275
2267
  msgid "Deprecated. Just ignored."
2276
2268
  msgstr ""
2277
2269
 
2278
- #: ../../bin/rabbit:487
2270
+ #: ../../bin/rabbit:473
2279
2271
  msgid "Specify initial comment source."
2280
2272
  msgstr ""
2281
2273
 
2282
- #: ../../bin/rabbit:488
2274
+ #: ../../bin/rabbit:474
2283
2275
  msgid "(default source)"
2284
2276
  msgstr ""
2285
2277
 
2286
- #: ../../bin/rabbit:493
2278
+ #: ../../bin/rabbit:479
2287
2279
  msgid "Specify comment source encoding."
2288
2280
  msgstr ""
2289
2281
 
2290
- #: ../../bin/rabbit:497
2282
+ #: ../../bin/rabbit:483
2291
2283
  msgid "Migemo"
2292
2284
  msgstr ""
2293
2285
 
2294
- #: ../../bin/rabbit:502
2286
+ #: ../../bin/rabbit:488
2295
2287
  msgid "Specify search paths for Migemo static dictionary."
2296
2288
  msgstr ""
2297
2289
 
2298
- #: ../../bin/rabbit:509
2290
+ #: ../../bin/rabbit:495
2299
2291
  msgid "Specify static dictionary name for Migemo."
2300
2292
  msgstr ""
2301
2293
 
2302
- #: ../../bin/rabbit:514
2294
+ #: ../../bin/rabbit:500
2303
2295
  msgid "3D"
2304
2296
  msgstr ""
2305
2297
 
2306
- #: ../../bin/rabbit:517
2298
+ #: ../../bin/rabbit:503
2307
2299
  msgid "Specify whether to use OpenGL if available."
2308
2300
  msgstr ""
2309
2301
 
2310
- #: ../../bin/rabbit:522
2302
+ #: ../../bin/rabbit:508
2311
2303
  msgid "Display"
2312
2304
  msgstr ""
2313
2305
 
2314
- #: ../../bin/rabbit:525
2306
+ #: ../../bin/rabbit:511
2315
2307
  msgid "Specify whether to keep above window."
2316
2308
  msgstr ""
2317
2309
 
2318
- #: ../../bin/rabbit:530
2310
+ #: ../../bin/rabbit:516
2319
2311
  msgid "Others"
2320
2312
  msgstr ""
2321
2313
 
2322
- #: ../../bin/rabbit:533
2314
+ #: ../../bin/rabbit:519
2323
2315
  msgid "Show a native window ID of the Rabbit window if available."
2324
2316
  msgstr ""
2325
2317
 
2326
- #: ../../bin/rabbit:534
2318
+ #: ../../bin/rabbit:520
2327
2319
  msgid "e.g. The ID is the ID of X resource on X window system."
2328
2320
  msgstr ""
2329
2321
 
2330
- #: ../../bin/rabbit:556
2322
+ #: ../../bin/rabbit:539
2331
2323
  msgid "Choose a Rabbit source file"
2332
2324
  msgstr ""
2333
2325
 
2334
- #: ../../bin/rabbit:675
2326
+ #: ../../bin/rabbit:658
2335
2327
  msgid "dRuby URI <%s> is in use."
2336
2328
  msgstr ""
2337
2329
 
2338
- #: ../../bin/rabbit:694
2330
+ #: ../../bin/rabbit:677
2339
2331
  msgid "port <%s> for SOAP is in use."
2340
2332
  msgstr ""
2341
2333
 
2342
- #: ../../bin/rabbit:715
2334
+ #: ../../bin/rabbit:698
2343
2335
  msgid "port <%s> for XML-RPC is in use."
2344
2336
  msgstr ""
2345
2337
 
2346
- #: ../../bin/rabbit:776
2338
+ #: ../../bin/rabbit:759
2347
2339
  msgid "Window ID: %d"
2348
2340
  msgstr ""
2349
2341
 
2350
- #: ../../bin/rabbit:822
2342
+ #: ../../bin/rabbit:805
2351
2343
  msgid "going to shutdown..."
2352
2344
  msgstr ""
2353
2345
 
2354
- #: ../../bin/rabbit:824
2346
+ #: ../../bin/rabbit:807
2355
2347
  msgid "DRb.thread done."
2356
2348
  msgstr ""
2357
2349
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kouhei Sutou
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-15 00:00:00 Z
18
+ date: 2011-07-16 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
@@ -97,7 +97,7 @@ dependencies:
97
97
  segments:
98
98
  - 0
99
99
  version: "0"
100
- name: rack
100
+ name: sinatra
101
101
  prerelease: false
102
102
  type: :runtime
103
103
  requirement: *id006
@@ -380,54 +380,6 @@ files:
380
380
  - doc/images/jp.png
381
381
  - doc/images/lavie-icon.png
382
382
  - doc/images/lavie.png
383
- - doc/images/screenshots/en/blue-circle-raw.png
384
- - doc/images/screenshots/en/blue-circle.png
385
- - doc/images/screenshots/en/clear-blue-raw.png
386
- - doc/images/screenshots/en/clear-blue.png
387
- - doc/images/screenshots/en/cozmixng-raw.png
388
- - doc/images/screenshots/en/cozmixng.png
389
- - doc/images/screenshots/en/dark-gradation-raw.png
390
- - doc/images/screenshots/en/dark-gradation.png
391
- - doc/images/screenshots/en/day-white-raw.png
392
- - doc/images/screenshots/en/day-white.png
393
- - doc/images/screenshots/en/debian-raw.png
394
- - doc/images/screenshots/en/debian.png
395
- - doc/images/screenshots/en/green-circle-raw.png
396
- - doc/images/screenshots/en/green-circle.png
397
- - doc/images/screenshots/en/night-black-raw.png
398
- - doc/images/screenshots/en/night-black.png
399
- - doc/images/screenshots/en/rabbit-raw.png
400
- - doc/images/screenshots/en/rabbit.png
401
- - doc/images/screenshots/en/ranguba-raw.png
402
- - doc/images/screenshots/en/ranguba.png
403
- - doc/images/screenshots/en/red-frame-raw.png
404
- - doc/images/screenshots/en/red-frame.png
405
- - doc/images/screenshots/en/ruby-gnome2-raw.png
406
- - doc/images/screenshots/en/ruby-gnome2.png
407
- - doc/images/screenshots/ja/blue-circle-raw.png
408
- - doc/images/screenshots/ja/blue-circle.png
409
- - doc/images/screenshots/ja/clear-blue-raw.png
410
- - doc/images/screenshots/ja/clear-blue.png
411
- - doc/images/screenshots/ja/cozmixng-raw.png
412
- - doc/images/screenshots/ja/cozmixng.png
413
- - doc/images/screenshots/ja/dark-gradation-raw.png
414
- - doc/images/screenshots/ja/dark-gradation.png
415
- - doc/images/screenshots/ja/day-white-raw.png
416
- - doc/images/screenshots/ja/day-white.png
417
- - doc/images/screenshots/ja/debian-raw.png
418
- - doc/images/screenshots/ja/debian.png
419
- - doc/images/screenshots/ja/green-circle-raw.png
420
- - doc/images/screenshots/ja/green-circle.png
421
- - doc/images/screenshots/ja/night-black-raw.png
422
- - doc/images/screenshots/ja/night-black.png
423
- - doc/images/screenshots/ja/rabbit-raw.png
424
- - doc/images/screenshots/ja/rabbit.png
425
- - doc/images/screenshots/ja/ranguba-raw.png
426
- - doc/images/screenshots/ja/ranguba.png
427
- - doc/images/screenshots/ja/red-frame-raw.png
428
- - doc/images/screenshots/ja/red-frame.png
429
- - doc/images/screenshots/ja/ruby-gnome2-raw.png
430
- - doc/images/screenshots/ja/ruby-gnome2.png
431
383
  - doc/images/us.png
432
384
  - doc/index.html.en
433
385
  - doc/index.html.ja
@@ -975,8 +927,6 @@ files:
975
927
  - sample/table-en.rd
976
928
  - sample/table.hiki
977
929
  - sample/table.rd
978
- - sample/test.hiki
979
- - sample/test.rab
980
930
  - sample/theme-bench-en.hiki
981
931
  - sample/theme-bench-en.rab
982
932
  - sample/theme-bench.hiki
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/sample/test.hiki DELETED
@@ -1,31 +0,0 @@
1
- ! テスト
2
-
3
- :theme:default
4
-
5
- ! blockdiag
6
-
7
- {{emacs(<<-EOS, "# -*- ruby -*-")
8
- # comment
9
- def method_name(a, b=nil, *rest)
10
- @var = $hoge
11
- 1
12
- if "sss" then
13
- body
14
- end
15
- end
16
- EOS
17
- }}
18
-
19
- ! blockdiag
20
-
21
- {{coderay("ruby", <<-EOS)
22
- # comment
23
- def method_name(a, b=nil, *rest)
24
- @var = $hoge
25
- 1
26
- if "sss" then
27
- body
28
- end
29
- end
30
- EOS
31
- }}
data/sample/test.rab DELETED
@@ -1,30 +0,0 @@
1
- = テスト
2
-
3
- : theme
4
- default
5
-
6
- = blockdiag
7
-
8
- # # enscript ruby
9
- # emacs # -*- ruby -*-
10
- # comment
11
- def method_name(a, b=nil, *rest)
12
- @var = $hoge
13
- 1
14
- if "sss" then
15
- body
16
- end
17
- end
18
-
19
- = blockdiag
20
-
21
- # # enscript ruby
22
- # coderay ruby
23
- # comment
24
- def method_name(a, b=nil, *rest)
25
- @var = $hoge
26
- 1
27
- if "sss" then
28
- body
29
- end
30
- end