sekka 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
data/emacs/sekka.el CHANGED
@@ -26,6 +26,7 @@
26
26
  (require 'cl)
27
27
  (require 'http-get)
28
28
  (require 'popup)
29
+ (require 'url-parse)
29
30
 
30
31
  ;;;
31
32
  ;;;
@@ -114,17 +115,11 @@ non-nil で明示的に呼びだすまでGoogleIMEは起動しない。"
114
115
  :type 'boolean
115
116
  :group 'sekka)
116
117
 
117
- (defcustom sekka-kakutei-with-spacekey t
118
+ (defcustom sekka-kakutei-with-spacekey nil
118
119
  "*Non-nil であれば、リアルタイムガイド表示中のSPACEキーでの確定動作を有効にする"
119
120
  :type 'boolean
120
121
  :group 'sekka)
121
122
 
122
- (defcustom sekka-muhenkan-key "q"
123
- "*Non-nil であれば、リアルタイムガイド表示中はqキーで無変換のままスペースを挿入する。q以外のキーも設定可能。
124
- 但し、アルファベットのようにバッファにinsert可能な文字のみ設定可能。"
125
- :type 'string
126
- :group 'sekka)
127
-
128
123
 
129
124
  (defface sekka-guide-face
130
125
  '((((class color) (background light)) (:background "#E0E0E0" :foreground "#F03030")))
@@ -132,6 +127,7 @@ non-nil で明示的に呼びだすまでGoogleIMEは起動しない。"
132
127
  :group 'sekka)
133
128
 
134
129
 
130
+ (defvar sekka-muhenkan-key nil "*Non-nil であれば、リアルタイムガイド表示中は指定したキーで無変換のままスペースを挿入する。アルファベット文字1文字を指定すること")
135
131
  (defvar sekka-sticky-shift nil "*Non-nil であれば、Sticky-Shiftを有効にする")
136
132
  (defvar sekka-mode nil "漢字変換トグル変数")
137
133
  (defun sekka-modeline-string ()
@@ -1624,7 +1620,7 @@ point から行頭方向に同種の文字列が続く間を漢字変換しま
1624
1620
  (setq default-input-method "japanese-sekka")
1625
1621
 
1626
1622
  (defconst sekka-version
1627
- "0.9.4" ;;SEKKA-VERSION
1623
+ "0.9.5" ;;SEKKA-VERSION
1628
1624
  )
1629
1625
  (defun sekka-version (&optional arg)
1630
1626
  "入力モード変更"
@@ -1,5 +1,5 @@
1
1
  class SekkaVersion
2
2
  def self.version
3
- "0.9.4"
3
+ "0.9.5"
4
4
  end
5
5
  end
data/lib/sekkaserver.rb CHANGED
@@ -91,7 +91,7 @@ module SekkaServer
91
91
  else
92
92
  ";; comment"
93
93
  end
94
- STDERR.puts "Info: processing [register(" + dictline + ")] batch command..."
94
+ STDERR.print "Info: processing [register(" + dictline + ") on " + userid + "] batch command... "
95
95
  begin
96
96
  registered = @core.registerUserJisyo(userid, @kvs, dictline)
97
97
  rescue RuntimeError
@@ -99,16 +99,16 @@ module SekkaServer
99
99
  end
100
100
  if registered
101
101
  str = d.strftime( "%D %X" )
102
- STDERR.puts "Info: [" + str + "]added to dict userid[" + userid + "] dictline[" + dictline + "]"
102
+ STDERR.puts "ADDED " + str
103
103
  @core.flushCacheServer( @cachesv )
104
104
  else
105
- STDERR.puts "Info: ignored (already added or comment) userid[" + userid + "] dictline[" + dictline + "]"
105
+ STDERR.puts "ignored"
106
106
  end
107
107
  when 'k' # kakutei
108
108
  arr = word.split( /[ ]+/ )
109
109
  _key = arr[2]
110
110
  _tango = arr[3]
111
- STDERR.puts "Info: processing [kakutei(" + _tango + ")] batch command..."
111
+ STDERR.puts "Info: processing [kakutei(" + _tango + ")] batch command..."
112
112
  begin
113
113
  @core.sekkaKakutei( userid, @kvs, @cachesv, _key, _tango )
114
114
  rescue RuntimeError
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sekka
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
4
+ hash: 49
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 4
10
- version: 0.9.4
9
+ - 5
10
+ version: 0.9.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kiyoka Nishiyama
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-05 00:00:00 Z
18
+ date: 2011-10-14 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rspec