sekka 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +4 -3
- data/VERSION.yml +1 -1
- data/bin/sekka-server +8 -10
- data/data/.gitignore +6 -0
- data/data/SKK-JISYO.hiragana-phrase3 +2 -0
- data/emacs/popup.el +37 -44
- data/emacs/sekka.el +23 -13
- data/gemfiles/.gitignore +1 -0
- data/lib/sekka/sekkaversion.rb +2 -2
- data/public_dict/1.6.0/SEKKA-JISYO-1.6.0.N.md5 +1 -0
- data/public_dict/1.6.0/SEKKA-JISYO-1.6.0.N.url +1 -0
- data/sekka.gemspec +1 -1
- data/test/google-ime.nnd +1 -1
- data/test/sekka-dump-out-1.txt +1 -1
- metadata +25 -48
- data/public_dict/0.9.2/SEKKA-JISYO.SMALL.md5 +0 -1
- data/public_dict/0.9.2/SEKKA-JISYO.SMALL.url +0 -1
- data/public_dict/1.2.0/SEKKA-JISYO.SMALL.md5 +0 -1
- data/public_dict/1.2.0/SEKKA-JISYO.SMALL.url +0 -1
- data/public_dict/1.2.1/SEKKA-JISYO.SMALL.md5 +0 -1
- data/public_dict/1.2.1/SEKKA-JISYO.SMALL.url +0 -1
- data/public_dict/1.2.2/SEKKA-JISYO.SMALL.A.md5 +0 -1
- data/public_dict/1.2.2/SEKKA-JISYO.SMALL.A.url +0 -1
- data/public_dict/1.2.2/SEKKA-JISYO.SMALL.N.md5 +0 -1
- data/public_dict/1.2.2/SEKKA-JISYO.SMALL.N.url +0 -1
- data/public_dict/1.3.0/SEKKA-JISYO.LARGE.A.md5 +0 -1
- data/public_dict/1.3.0/SEKKA-JISYO.LARGE.A.url +0 -1
- data/public_dict/1.3.0/SEKKA-JISYO.LARGE.N.md5 +0 -1
- data/public_dict/1.3.0/SEKKA-JISYO.LARGE.N.url +0 -1
- data/public_dict/1.3.0/SEKKA-JISYO.SMALL.A.md5 +0 -1
- data/public_dict/1.3.0/SEKKA-JISYO.SMALL.A.url +0 -1
- data/public_dict/1.3.0/SEKKA-JISYO.SMALL.N.md5 +0 -1
- data/public_dict/1.3.0/SEKKA-JISYO.SMALL.N.url +0 -1
- data/public_dict/1.3.1/SEKKA-JISYO.LARGE.A.md5 +0 -1
- data/public_dict/1.3.1/SEKKA-JISYO.LARGE.A.url +0 -1
- data/public_dict/1.3.1/SEKKA-JISYO.LARGE.N.md5 +0 -1
- data/public_dict/1.3.1/SEKKA-JISYO.LARGE.N.url +0 -1
- data/public_dict/1.3.1/SEKKA-JISYO.SMALL.A.md5 +0 -1
- data/public_dict/1.3.1/SEKKA-JISYO.SMALL.A.url +0 -1
- data/public_dict/1.3.1/SEKKA-JISYO.SMALL.N.md5 +0 -1
- data/public_dict/1.3.1/SEKKA-JISYO.SMALL.N.url +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a108787776bb4c040bef99de3012afb6d93f9d78
|
|
4
|
+
data.tar.gz: 97bf95254efdc53092f53da5abd9df9cd41a1367
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a322326b0b334e5aed6dc6ff67970b0c27ae86bc8209418f8d1d2b3d240885a9f4cde7f854dab19723c02b0ba0d8e1018f74a221c1de955649d576c25f5af0d5
|
|
7
|
+
data.tar.gz: d280fef49d24019299d72cc11f4e41fc3dc822a9988f5a63e0da288668ae13853a7e8335005fceeb0ca923e2c96c908b13dc6921347c6ec8fef7904f40aae211
|
data/Rakefile
CHANGED
|
@@ -23,13 +23,14 @@ require 'rake'
|
|
|
23
23
|
require "bundler/gem_tasks"
|
|
24
24
|
require 'jeweler2'
|
|
25
25
|
|
|
26
|
+
dictVersion = "1.6.0"
|
|
27
|
+
|
|
26
28
|
|
|
27
29
|
task :default => [:test] do
|
|
28
30
|
end
|
|
29
31
|
|
|
30
32
|
task :compile do
|
|
31
33
|
# generate version.rb
|
|
32
|
-
dictVersion = "1.5.0"
|
|
33
34
|
vh = Jeweler::VersionHelper.new "."
|
|
34
35
|
open( "./lib/sekka/sekkaversion.rb", "w" ) {|f|
|
|
35
36
|
f.puts( "class SekkaVersion" )
|
|
@@ -121,7 +122,7 @@ end
|
|
|
121
122
|
task :alljisyo => [ :jisyo, :load, :dump, :md5 ]
|
|
122
123
|
|
|
123
124
|
task :md5 do
|
|
124
|
-
sh "md5sum ./data/SEKKA-JISYO.N.tsv > ./data/SEKKA-JISYO.N.md5"
|
|
125
|
+
sh sprintf( "md5sum ./data/SEKKA-JISYO-%s.N.tsv > ./data/SEKKA-JISYO-%s.N.md5", dictVersion, dictVersion )
|
|
125
126
|
end
|
|
126
127
|
|
|
127
128
|
task :jisyo do
|
|
@@ -140,7 +141,7 @@ task :load do
|
|
|
140
141
|
end
|
|
141
142
|
|
|
142
143
|
task :dump do
|
|
143
|
-
sh "ruby ./bin/sekka-jisyo dump ./data/SEKKA-JISYO.N.tch#xmsiz=1024m > ./data/SEKKA-JISYO.N.tsv"
|
|
144
|
+
sh sprintf( "ruby ./bin/sekka-jisyo dump ./data/SEKKA-JISYO.N.tch#xmsiz=1024m > ./data/SEKKA-JISYO-%s.N.tsv", dictVersion )
|
|
144
145
|
end
|
|
145
146
|
|
|
146
147
|
# SKK-JISYO.hiragana-phrase はWikipediaから作られる。
|
data/VERSION.yml
CHANGED
data/bin/sekka-server
CHANGED
|
@@ -13,19 +13,17 @@ require 'sekka/sekkaversion'
|
|
|
13
13
|
DICTDIR = File.expand_path( "~/.sekka-server" )
|
|
14
14
|
DICTURL = "https://raw.githubusercontent.com/kiyoka/sekka/master/public_dict/" + SekkaVersion.dictVersion
|
|
15
15
|
|
|
16
|
+
PIDFILE = DICTDIR + "/pid"
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
TC_OPTS = "#xmsiz=256m"
|
|
19
|
+
TC_FILE = sprintf( "%s/SEKKA-JISYO-%s.N.tch%s", DICTDIR, SekkaVersion.dictVersion, TC_OPTS )
|
|
20
|
+
TSVFILE = sprintf( "%s/SEKKA-JISYO-%s.N.tsv", DICTDIR, SekkaVersion.dictVersion )
|
|
21
|
+
SUMFILE = sprintf( "%s/SEKKA-JISYO-%s.N.md5", DICTDIR, SekkaVersion.dictVersion )
|
|
18
22
|
|
|
19
|
-
|
|
20
|
-
TC_FILE = DICTDIR + "/SEKKA-JISYO.N.tch" + TC_OPTS
|
|
21
|
-
TSVFILE = DICTDIR + "/SEKKA-JISYO.N.tsv"
|
|
22
|
-
SUMFILE = DICTDIR + "/SEKKA-JISYO.N.md5"
|
|
23
|
+
GDBM_FILE = sprintf( "%s/SEKKA-JISYO-%s.N.db", DICTDIR, SekkaVersion.dictVersion )
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
URLURL = DICTURL + "/SEKKA-JISYO.N.url"
|
|
28
|
-
SUMURL = DICTURL + "/SEKKA-JISYO.N.md5"
|
|
25
|
+
URLURL = sprintf( "%s/SEKKA-JISYO-%s.N.url", DICTURL, SekkaVersion.dictVersion )
|
|
26
|
+
SUMURL = sprintf( "%s/SEKKA-JISYO-%s.N.md5", DICTURL, SekkaVersion.dictVersion )
|
|
29
27
|
|
|
30
28
|
MEMCACHED = "localhost:11211" # memcahced
|
|
31
29
|
|
data/data/.gitignore
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
/5gm-0000.txt
|
|
7
7
|
/6gm-0000.xz
|
|
8
8
|
/7gm-0000.txt
|
|
9
|
+
/SEKKA-JISYO-1.5.1.N.md5
|
|
10
|
+
/SEKKA-JISYO-1.5.1.N.tsv
|
|
11
|
+
/SEKKA-JISYO-1.6.0.N.md5
|
|
12
|
+
/SEKKA-JISYO-1.6.0.N.tsv
|
|
9
13
|
/SEKKA-JISYO.CUSTOM
|
|
10
14
|
/SEKKA-JISYO.CUSTOM.tch
|
|
11
15
|
/SEKKA-JISYO.CUSTOM~
|
|
@@ -25,8 +29,10 @@
|
|
|
25
29
|
/SEKKA-JISYO.LARGE.N.tsv
|
|
26
30
|
/SEKKA-JISYO.LARGE.dump
|
|
27
31
|
/SEKKA-JISYO.LARGE.tch
|
|
32
|
+
/SEKKA-JISYO.N
|
|
28
33
|
/SEKKA-JISYO.N.SMALL
|
|
29
34
|
/SEKKA-JISYO.N.md5
|
|
35
|
+
/SEKKA-JISYO.N.tch#xmsiz=1024m
|
|
30
36
|
/SEKKA-JISYO.N.tsv
|
|
31
37
|
/SEKKA-JISYO.S.201001.dump
|
|
32
38
|
/SEKKA-JISYO.S.201001.kct
|
data/emacs/popup.el
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
;;; popup.el --- Visual Popup User Interface
|
|
2
2
|
|
|
3
|
-
;; Copyright (C) 2009
|
|
3
|
+
;; Copyright (C) 2009-2015 Tomohiro Matsuyama
|
|
4
4
|
|
|
5
|
-
;; Author: Tomohiro Matsuyama <
|
|
5
|
+
;; Author: Tomohiro Matsuyama <m2ym.pub@gmail.com>
|
|
6
6
|
;; Keywords: lisp
|
|
7
|
-
;; Version:
|
|
7
|
+
;; Package-Version: 20150315.612
|
|
8
|
+
;; Version: 0.5.2
|
|
8
9
|
;; Package-Requires: ((cl-lib "0.3"))
|
|
9
10
|
|
|
10
11
|
;; This program is free software; you can redistribute it and/or modify
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
|
|
32
33
|
(require 'cl-lib)
|
|
33
34
|
|
|
34
|
-
(defconst popup-version "0.5.
|
|
35
|
+
(defconst popup-version "0.5.2")
|
|
35
36
|
|
|
36
37
|
|
|
37
38
|
|
|
@@ -148,34 +149,6 @@ untouched."
|
|
|
148
149
|
(progn ,@body)
|
|
149
150
|
(set-buffer-modified-p modified)))))
|
|
150
151
|
|
|
151
|
-
(defun popup-window-full-width-p (&optional window)
|
|
152
|
-
"A portable version of `window-full-width-p'."
|
|
153
|
-
(if (fboundp 'window-full-width-p)
|
|
154
|
-
(window-full-width-p window)
|
|
155
|
-
(= (window-width window) (frame-width (window-frame (or window (selected-window)))))))
|
|
156
|
-
|
|
157
|
-
(defun popup-truncated-partial-width-window-p (&optional window)
|
|
158
|
-
"A portable version of `truncated-partial-width-window-p'."
|
|
159
|
-
(unless window
|
|
160
|
-
(setq window (selected-window)))
|
|
161
|
-
(unless (popup-window-full-width-p window)
|
|
162
|
-
(let ((t-p-w-w (buffer-local-value 'truncate-partial-width-windows
|
|
163
|
-
(window-buffer window))))
|
|
164
|
-
(if (integerp t-p-w-w)
|
|
165
|
-
(< (window-width window) t-p-w-w)
|
|
166
|
-
t-p-w-w))))
|
|
167
|
-
|
|
168
|
-
(defun popup-current-physical-column ()
|
|
169
|
-
"Return the current physical column."
|
|
170
|
-
(or (when (and popup-use-optimized-column-computation
|
|
171
|
-
(eq (window-hscroll) 0))
|
|
172
|
-
(let ((current-column (current-column)))
|
|
173
|
-
(if (or (popup-truncated-partial-width-window-p)
|
|
174
|
-
truncate-lines
|
|
175
|
-
(< current-column (window-width)))
|
|
176
|
-
current-column)))
|
|
177
|
-
(car (posn-col-row (posn-at-point)))))
|
|
178
|
-
|
|
179
152
|
(defun popup-vertical-motion (column direction)
|
|
180
153
|
"A portable version of `vertical-motion'."
|
|
181
154
|
(if (>= emacs-major-version 23)
|
|
@@ -243,7 +216,7 @@ buffer."
|
|
|
243
216
|
face mouse-face selection-face summary-face
|
|
244
217
|
margin-left margin-right margin-left-cancel scroll-bar symbol
|
|
245
218
|
cursor offset scroll-top current-height list newlines
|
|
246
|
-
pattern original-list)
|
|
219
|
+
pattern original-list invis-overlays)
|
|
247
220
|
|
|
248
221
|
(defun popup-item-propertize (item &rest properties)
|
|
249
222
|
"Same as `propertize' except that this avoids overriding
|
|
@@ -537,8 +510,9 @@ KEYMAP is a keymap that will be put on the popup contents."
|
|
|
537
510
|
(setq width (min width (popup-calculate-max-width max-width))))
|
|
538
511
|
(save-excursion
|
|
539
512
|
(goto-char point)
|
|
540
|
-
(let* ((row (
|
|
541
|
-
(
|
|
513
|
+
(let* ((col-row (posn-col-row (posn-at-point)))
|
|
514
|
+
(row (cdr col-row))
|
|
515
|
+
(column (car col-row))
|
|
542
516
|
(overlays (make-vector height nil))
|
|
543
517
|
(popup-width (+ width
|
|
544
518
|
(if scroll-bar 1 0)
|
|
@@ -563,6 +537,7 @@ KEYMAP is a keymap that will be put on the popup contents."
|
|
|
563
537
|
(popup-calculate-direction height row)))
|
|
564
538
|
(depth (if parent (1+ (popup-depth parent)) 0))
|
|
565
539
|
(newlines (max 0 (+ (- height (count-lines point (point-max))) (if around 1 0))))
|
|
540
|
+
invis-overlays
|
|
566
541
|
current-column)
|
|
567
542
|
;; Case: no newlines at the end of the buffer
|
|
568
543
|
(when (> newlines 0)
|
|
@@ -596,17 +571,27 @@ KEYMAP is a keymap that will be put on the popup contents."
|
|
|
596
571
|
(let (overlay begin w (dangle t) (prefix "") (postfix ""))
|
|
597
572
|
(when around
|
|
598
573
|
(popup-vertical-motion column direction))
|
|
599
|
-
(
|
|
600
|
-
|
|
574
|
+
(cl-loop for ov in (overlays-in (save-excursion
|
|
575
|
+
(beginning-of-visual-line)
|
|
576
|
+
(point))
|
|
577
|
+
(save-excursion
|
|
578
|
+
(end-of-visual-line)
|
|
579
|
+
(point)))
|
|
580
|
+
when (and (not (overlay-get ov 'popup))
|
|
581
|
+
(not (overlay-get ov 'popup-item))
|
|
582
|
+
(or (overlay-get ov 'invisible)
|
|
583
|
+
(overlay-get ov 'display)))
|
|
584
|
+
do (progn
|
|
585
|
+
(push (list ov (overlay-get ov 'display)) invis-overlays)
|
|
586
|
+
(overlay-put ov 'display "")))
|
|
587
|
+
(setq around t)
|
|
588
|
+
(setq current-column (car (posn-col-row (posn-at-point))))
|
|
601
589
|
|
|
602
|
-
(when (> current-column column)
|
|
603
|
-
(backward-char)
|
|
604
|
-
(setq current-column (popup-current-physical-column)))
|
|
605
590
|
(when (< current-column column)
|
|
606
591
|
;; Extend short buffer lines by popup prefix (line of spaces)
|
|
607
592
|
(setq prefix (make-string
|
|
608
593
|
(+ (if (= current-column 0)
|
|
609
|
-
(- window-hscroll
|
|
594
|
+
(- window-hscroll current-column)
|
|
610
595
|
0)
|
|
611
596
|
(- column current-column))
|
|
612
597
|
? )))
|
|
@@ -621,6 +606,7 @@ KEYMAP is a keymap that will be put on the popup contents."
|
|
|
621
606
|
(setq postfix (make-string (- w) ? )))
|
|
622
607
|
|
|
623
608
|
(setq overlay (make-overlay begin (point)))
|
|
609
|
+
(overlay-put overlay 'popup t)
|
|
624
610
|
(overlay-put overlay 'window window)
|
|
625
611
|
(overlay-put overlay 'dangle dangle)
|
|
626
612
|
(overlay-put overlay 'prefix prefix)
|
|
@@ -657,6 +643,7 @@ KEYMAP is a keymap that will be put on the popup contents."
|
|
|
657
643
|
:list nil
|
|
658
644
|
:newlines newlines
|
|
659
645
|
:overlays overlays
|
|
646
|
+
:invis-overlays invis-overlays
|
|
660
647
|
:keymap keymap)))
|
|
661
648
|
(push it popup-instances)
|
|
662
649
|
it))))
|
|
@@ -674,12 +661,16 @@ KEYMAP is a keymap that will be put on the popup contents."
|
|
|
674
661
|
(popup-save-buffer-state
|
|
675
662
|
(goto-char (point-max))
|
|
676
663
|
(dotimes (i newlines)
|
|
677
|
-
(if (
|
|
664
|
+
(if (and (char-before)
|
|
665
|
+
(= (char-before) ?\n))
|
|
678
666
|
(delete-char -1)))))))
|
|
679
667
|
nil)
|
|
680
668
|
|
|
681
669
|
(defun popup-draw (popup)
|
|
682
670
|
"Draw POPUP."
|
|
671
|
+
(cl-loop for (ov olddisplay) in (popup-invis-overlays popup)
|
|
672
|
+
do (overlay-put ov 'display ""))
|
|
673
|
+
|
|
683
674
|
(cl-loop with height = (popup-height popup)
|
|
684
675
|
with min-height = (popup-min-height popup)
|
|
685
676
|
with popup-face = (popup-face popup)
|
|
@@ -778,6 +769,8 @@ KEYMAP is a keymap that will be put on the popup contents."
|
|
|
778
769
|
|
|
779
770
|
(defun popup-hide (popup)
|
|
780
771
|
"Hide POPUP."
|
|
772
|
+
(cl-loop for (ov olddisplay) in (popup-invis-overlays popup)
|
|
773
|
+
do (overlay-put ov 'display olddisplay))
|
|
781
774
|
(dotimes (i (popup-height popup))
|
|
782
775
|
(popup-hide-line popup i)))
|
|
783
776
|
|
|
@@ -1383,8 +1376,8 @@ If `INITIAL-INDEX' is non-nil, this is an initial index value for
|
|
|
1383
1376
|
(popup-jump menu cursor)
|
|
1384
1377
|
(popup-draw menu))
|
|
1385
1378
|
(when initial-index
|
|
1386
|
-
(
|
|
1387
|
-
|
|
1379
|
+
(dotimes (_i (min (- (length list) 1) initial-index))
|
|
1380
|
+
(popup-next menu)))
|
|
1388
1381
|
(if nowait
|
|
1389
1382
|
menu
|
|
1390
1383
|
(popup-menu-event-loop menu keymap fallback
|
data/emacs/sekka.el
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
;; Copyright (C) 2010-2014 Kiyoka Nishiyama
|
|
4
4
|
;;
|
|
5
5
|
;; Author: Kiyoka Nishiyama <kiyoka@sumibi.org>
|
|
6
|
-
;; Version: 1.6.
|
|
6
|
+
;; Version: 1.6.1 ;;SEKKA-VERSION
|
|
7
7
|
;; Keywords: ime, skk, japanese
|
|
8
|
-
;; Package-Requires: ((cl-lib "0.3") (concurrent "0.3.1") (popup "0.5.
|
|
8
|
+
;; Package-Requires: ((cl-lib "0.3") (concurrent "0.3.1") (popup "0.5.2"))
|
|
9
9
|
;; URL: https://github.com/kiyoka/sekka
|
|
10
10
|
;;
|
|
11
11
|
;; This file is part of Sekka
|
|
@@ -157,11 +157,16 @@ non-nil で明示的に呼びだすまでGoogleIMEは起動しない。"
|
|
|
157
157
|
(defvar sekka-mode nil "漢字変換トグル変数")
|
|
158
158
|
(defun sekka-modeline-string ()
|
|
159
159
|
;; 接続先sekka-serverのホスト名を表示する。
|
|
160
|
-
(format " Sekka[%s%s]"
|
|
160
|
+
(format " Sekka[%s%s%s]"
|
|
161
161
|
(if current-sekka-server-url
|
|
162
162
|
(url-host
|
|
163
163
|
(url-generic-parse-url current-sekka-server-url))
|
|
164
164
|
"")
|
|
165
|
+
(if current-sekka-server-url
|
|
166
|
+
(format ":%d"
|
|
167
|
+
(url-port
|
|
168
|
+
(url-generic-parse-url current-sekka-server-url)))
|
|
169
|
+
"")
|
|
165
170
|
(if sekka-uploading-flag
|
|
166
171
|
"(UPLOADING)"
|
|
167
172
|
"")))
|
|
@@ -461,15 +466,20 @@ non-nil で明示的に呼びだすまでGoogleIMEは起動しない。"
|
|
|
461
466
|
(sekka-debug-print (buffer-name buf))
|
|
462
467
|
(sekka-debug-print "\n")
|
|
463
468
|
(if buf
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
469
|
+
(with-current-buffer buf
|
|
470
|
+
(decode-coding-string
|
|
471
|
+
(let ((str (buffer-substring-no-properties (point-min) (point-max))))
|
|
472
|
+
(cond
|
|
473
|
+
(url-http-response-status
|
|
474
|
+
(sekka-debug-print (format "http result code:%s\n" url-http-response-status))
|
|
475
|
+
(sekka-debug-print (format "(%d-%d) eoh=%s\n" (point-min) (point-max) url-http-end-of-headers))
|
|
476
|
+
(sekka-debug-print (format "<<<%s>>>\n" str))
|
|
477
|
+
str)
|
|
478
|
+
(t
|
|
479
|
+
"curl: (28) Time out\n" ;; Emulate curl Operation timed out.
|
|
480
|
+
)))
|
|
481
|
+
'utf-8))
|
|
482
|
+
"curl: (7) Couldn't connect to host 'localhost'\n"))) ;; Emulate curl error.
|
|
473
483
|
(line-list
|
|
474
484
|
(split-string lines "\n")))
|
|
475
485
|
|
|
@@ -1746,7 +1756,7 @@ point から行頭方向に同種の文字列が続く間を漢字変換しま
|
|
|
1746
1756
|
(setq default-input-method "japanese-sekka")
|
|
1747
1757
|
|
|
1748
1758
|
(defconst sekka-version
|
|
1749
|
-
"1.6.
|
|
1759
|
+
"1.6.1" ;;SEKKA-VERSION
|
|
1750
1760
|
)
|
|
1751
1761
|
(defun sekka-version (&optional arg)
|
|
1752
1762
|
"入力モード変更"
|
data/gemfiles/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/Gemfile.lock
|
data/lib/sekka/sekkaversion.rb
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
64aa1cf5d25a3e01a5a4b3b81c5172cd ./data/SEKKA-JISYO-1.6.0.N.tsv
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
https://s3-ap-northeast-1.amazonaws.com/sekkadict/1.6.0/SEKKA-JISYO-1.6.0.N.tsv
|
data/sekka.gemspec
CHANGED
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.require_paths = ["lib"]
|
|
20
20
|
spec.add_dependency "eventmachine", "~> 1.0"
|
|
21
21
|
spec.add_dependency "memcache-client", "~> 1.8"
|
|
22
|
-
spec.add_dependency "nendo", "= 0.7.
|
|
22
|
+
spec.add_dependency "nendo", "= 0.7.3"
|
|
23
23
|
spec.add_dependency "distributed-trie", "= 0.8.0"
|
|
24
24
|
spec.add_dependency "rack", "~> 1.5"
|
|
25
25
|
spec.add_dependency "ruby-progressbar", "~> 1.4"
|
data/test/google-ime.nnd
CHANGED
data/test/sekka-dump-out-1.txt
CHANGED
metadata
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sekka
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kiyoka Nishiyama
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-04-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: eventmachine
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ~>
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ~>
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: memcache-client
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ~>
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '1.8'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ~>
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '1.8'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
@@ -44,14 +44,14 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - '='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 0.7.
|
|
47
|
+
version: 0.7.3
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0.7.
|
|
54
|
+
version: 0.7.3
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: distributed-trie
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -70,56 +70,56 @@ dependencies:
|
|
|
70
70
|
name: rack
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- -
|
|
73
|
+
- - ~>
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '1.5'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- -
|
|
80
|
+
- - ~>
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '1.5'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: ruby-progressbar
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- -
|
|
87
|
+
- - ~>
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: '1.4'
|
|
90
90
|
type: :runtime
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- -
|
|
94
|
+
- - ~>
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '1.4'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: bundler
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- -
|
|
101
|
+
- - ~>
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
103
|
version: '1.7'
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- -
|
|
108
|
+
- - ~>
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '1.7'
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
112
|
name: rake
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
|
115
|
-
- -
|
|
115
|
+
- - ~>
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
117
|
version: '10.0'
|
|
118
118
|
type: :development
|
|
119
119
|
prerelease: false
|
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
|
122
|
-
- -
|
|
122
|
+
- - ~>
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '10.0'
|
|
125
125
|
description: Sekka is a SKK like input method. Sekka server provides REST Based API.
|
|
@@ -134,9 +134,9 @@ executables:
|
|
|
134
134
|
extensions: []
|
|
135
135
|
extra_rdoc_files: []
|
|
136
136
|
files:
|
|
137
|
-
-
|
|
138
|
-
-
|
|
139
|
-
-
|
|
137
|
+
- .gemtest
|
|
138
|
+
- .gitignore
|
|
139
|
+
- .travis.yml
|
|
140
140
|
- COPYING
|
|
141
141
|
- DESIGN
|
|
142
142
|
- README.md
|
|
@@ -172,6 +172,7 @@ files:
|
|
|
172
172
|
- emacs/deferred.el
|
|
173
173
|
- emacs/popup.el
|
|
174
174
|
- emacs/sekka.el
|
|
175
|
+
- gemfiles/.gitignore
|
|
175
176
|
- gemfiles/Gemfile
|
|
176
177
|
- lib/.gitignore
|
|
177
178
|
- lib/sekka.ru
|
|
@@ -189,32 +190,6 @@ files:
|
|
|
189
190
|
- lib/sekka/util.nnd
|
|
190
191
|
- lib/sekkaconfig.rb
|
|
191
192
|
- lib/sekkaserver.rb
|
|
192
|
-
- public_dict/0.9.2/SEKKA-JISYO.SMALL.md5
|
|
193
|
-
- public_dict/0.9.2/SEKKA-JISYO.SMALL.url
|
|
194
|
-
- public_dict/1.2.0/SEKKA-JISYO.SMALL.md5
|
|
195
|
-
- public_dict/1.2.0/SEKKA-JISYO.SMALL.url
|
|
196
|
-
- public_dict/1.2.1/SEKKA-JISYO.SMALL.md5
|
|
197
|
-
- public_dict/1.2.1/SEKKA-JISYO.SMALL.url
|
|
198
|
-
- public_dict/1.2.2/SEKKA-JISYO.SMALL.A.md5
|
|
199
|
-
- public_dict/1.2.2/SEKKA-JISYO.SMALL.A.url
|
|
200
|
-
- public_dict/1.2.2/SEKKA-JISYO.SMALL.N.md5
|
|
201
|
-
- public_dict/1.2.2/SEKKA-JISYO.SMALL.N.url
|
|
202
|
-
- public_dict/1.3.0/SEKKA-JISYO.LARGE.A.md5
|
|
203
|
-
- public_dict/1.3.0/SEKKA-JISYO.LARGE.A.url
|
|
204
|
-
- public_dict/1.3.0/SEKKA-JISYO.LARGE.N.md5
|
|
205
|
-
- public_dict/1.3.0/SEKKA-JISYO.LARGE.N.url
|
|
206
|
-
- public_dict/1.3.0/SEKKA-JISYO.SMALL.A.md5
|
|
207
|
-
- public_dict/1.3.0/SEKKA-JISYO.SMALL.A.url
|
|
208
|
-
- public_dict/1.3.0/SEKKA-JISYO.SMALL.N.md5
|
|
209
|
-
- public_dict/1.3.0/SEKKA-JISYO.SMALL.N.url
|
|
210
|
-
- public_dict/1.3.1/SEKKA-JISYO.LARGE.A.md5
|
|
211
|
-
- public_dict/1.3.1/SEKKA-JISYO.LARGE.A.url
|
|
212
|
-
- public_dict/1.3.1/SEKKA-JISYO.LARGE.N.md5
|
|
213
|
-
- public_dict/1.3.1/SEKKA-JISYO.LARGE.N.url
|
|
214
|
-
- public_dict/1.3.1/SEKKA-JISYO.SMALL.A.md5
|
|
215
|
-
- public_dict/1.3.1/SEKKA-JISYO.SMALL.A.url
|
|
216
|
-
- public_dict/1.3.1/SEKKA-JISYO.SMALL.N.md5
|
|
217
|
-
- public_dict/1.3.1/SEKKA-JISYO.SMALL.N.url
|
|
218
193
|
- public_dict/1.4.0/SEKKA-JISYO.LARGE.A.url
|
|
219
194
|
- public_dict/1.4.0/SEKKA-JISYO.LARGE.N.md5
|
|
220
195
|
- public_dict/1.4.0/SEKKA-JISYO.LARGE.N.url
|
|
@@ -231,6 +206,8 @@ files:
|
|
|
231
206
|
- public_dict/1.4.2/SEKKA-JISYO.SMALL.N.url
|
|
232
207
|
- public_dict/1.5.0/SEKKA-JISYO.N.md5
|
|
233
208
|
- public_dict/1.5.0/SEKKA-JISYO.N.url
|
|
209
|
+
- public_dict/1.6.0/SEKKA-JISYO-1.6.0.N.md5
|
|
210
|
+
- public_dict/1.6.0/SEKKA-JISYO-1.6.0.N.url
|
|
234
211
|
- script/sekkaserver.debian
|
|
235
212
|
- sekka.gemspec
|
|
236
213
|
- test/.gitignore
|
|
@@ -261,17 +238,17 @@ require_paths:
|
|
|
261
238
|
- lib
|
|
262
239
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
263
240
|
requirements:
|
|
264
|
-
- -
|
|
241
|
+
- - '>='
|
|
265
242
|
- !ruby/object:Gem::Version
|
|
266
243
|
version: '0'
|
|
267
244
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
268
245
|
requirements:
|
|
269
|
-
- -
|
|
246
|
+
- - '>='
|
|
270
247
|
- !ruby/object:Gem::Version
|
|
271
248
|
version: '0'
|
|
272
249
|
requirements: []
|
|
273
250
|
rubyforge_project:
|
|
274
|
-
rubygems_version: 2.
|
|
251
|
+
rubygems_version: 2.0.14
|
|
275
252
|
signing_key:
|
|
276
253
|
specification_version: 4
|
|
277
254
|
summary: Sekka is a SKK like input method.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
29f232626c20d22f44b4e4b1f34f17f8 SEKKA-JISYO.SMALL.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
http://dl.dropbox.com/u/3870066/sekka/public_dict/0.9.2/SEKKA-JISYO.SMALL.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
04bad9bbfb4375cd49ba66b937b5854d SEKKA-JISYO.SMALL.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
https://s3-ap-northeast-1.amazonaws.com/sekkadict/1.2.0/SEKKA-JISYO.SMALL.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d0ad38e5c49d3c72a41cb13d08c3e12f SEKKA-JISYO.SMALL.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
https://s3-ap-northeast-1.amazonaws.com/sekkadict/1.2.1/SEKKA-JISYO.SMALL.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d0ad38e5c49d3c72a41cb13d08c3e12f SEKKA-JISYO.SMALL.A.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
http://s3-ap-northeast-1.amazonaws.com/sekkadict/1.2.2/SEKKA-JISYO.SMALL.A.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
31c2f41a26a0b555f8151f703812b4c9 SEKKA-JISYO.SMALL.N.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
http://s3-ap-northeast-1.amazonaws.com/sekkadict/1.2.2/SEKKA-JISYO.SMALL.N.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0406d5f1e12af33889926758dd14982b SEKKA-JISYO.LARGE.A.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
http://s3-ap-northeast-1.amazonaws.com/sekkadict/1.3.0/SEKKA-JISYO.LARGE.A.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f2e035a08e6a130e00353e77cc28648f SEKKA-JISYO.LARGE.N.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
http://s3-ap-northeast-1.amazonaws.com/sekkadict/1.3.0/SEKKA-JISYO.LARGE.N.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3d9e23ab117c1abb8aa9c03ffc731ad1 SEKKA-JISYO.SMALL.A.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
http://s3-ap-northeast-1.amazonaws.com/sekkadict/1.3.0/SEKKA-JISYO.SMALL.A.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c726e61ed14b1e5a5bf3596758f758c3 SEKKA-JISYO.SMALL.N.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
http://s3-ap-northeast-1.amazonaws.com/sekkadict/1.3.0/SEKKA-JISYO.SMALL.N.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2b67917147277477a1e37826e67ce268 SEKKA-JISYO.LARGE.A.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
http://s3-ap-northeast-1.amazonaws.com/sekkadict/1.3.1/SEKKA-JISYO.LARGE.A.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
337feb6f6e511cb99939a5e2487d2383 SEKKA-JISYO.LARGE.N.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
http://s3-ap-northeast-1.amazonaws.com/sekkadict/1.3.1/SEKKA-JISYO.LARGE.N.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f2f29c66d95a5f86a28c38263446df6d SEKKA-JISYO.SMALL.A.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
http://s3-ap-northeast-1.amazonaws.com/sekkadict/1.3.1/SEKKA-JISYO.SMALL.A.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
8b3b91f002a644a3fd443668e7aae0bd SEKKA-JISYO.SMALL.N.tsv
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
http://s3-ap-northeast-1.amazonaws.com/sekkadict/1.3.1/SEKKA-JISYO.SMALL.N.tsv
|