Skip to content

Commit

Permalink
1.8.6
Browse files Browse the repository at this point in the history
・ローマ字入力で「ん」を送り仮名にするとき送りローマ字がクリアされてしまうバグを修正しました。
 ・「YoNda」「ToNda」のように「N」+通常入力したとき、それぞれ「よn」「とn」をキーとして辞書検索します。
 ・t_akiraさん、情報ありがとうございます。

・ローマ字仮名変換表のローマ字に対するヌル終端チェックのバグを修正しました。

・init.luaの行末の余計なセミコロンを削除しました。
  • Loading branch information
nathancorvussolis committed Apr 17, 2015
1 parent 8b4e688 commit 622d4ba
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 22 deletions.
6 changes: 3 additions & 3 deletions common/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#define VERSION_H

#define TEXTSERVICE_NAME L"CorvusSKK"
#define TEXTSERVICE_VER L"1.8.5"
#define TEXTSERVICE_VER L"1.8.6"

#ifndef _DEBUG
#define TEXTSERVICE_DESC TEXTSERVICE_NAME
Expand All @@ -14,7 +14,7 @@
//for resource
#define RC_AUTHOR "nathancorvussolis"
#define RC_PRODUCT "CorvusSKK"
#define RC_VERSION "1.8.5"
#define RC_VERSION_D 1,8,5,0
#define RC_VERSION "1.8.6"
#define RC_VERSION_D 1,8,6,0

#endif
1 change: 1 addition & 0 deletions imcrvcnf/ConfigCnf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ BOOL SetFileDacl(LPCWSTR path)

if(GetUserSid(&pszUserSid))
{
// SDDL_ALL_APP_PACKAGES / SDDL_RESTRICTED_CODE / SDDL_LOCAL_SYSTEM / SDDL_BUILTIN_ADMINISTRATORS / User SID
_snwprintf_s(sddl, _TRUNCATE, L"D:%s(A;;FR;;;RC)(A;;FA;;;SY)(A;;FA;;;BA)(A;;FA;;;%s)",
(IsVersion62AndOver() ? L"(A;;FR;;;AC)" : L""), pszUserSid);
LocalFree(pszUserSid);
Expand Down
1 change: 1 addition & 0 deletions imcrvmgr/ConfigMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ void CreateConfigPath()

if(GetUserSid(&pszUserSid))
{
// SDDL_ALL_APP_PACKAGES / SDDL_RESTRICTED_CODE / SDDL_LOCAL_SYSTEM / SDDL_BUILTIN_ADMINISTRATORS / User SID
_snwprintf_s(krnlobjsddl, _TRUNCATE, L"D:%s(A;;GA;;;RC)(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;%s)",
(IsVersion62AndOver() ? L"(A;;GA;;;AC)" : L""), pszUserSid);

Expand Down
5 changes: 0 additions & 5 deletions imcrvtip/KeyHandlerChar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,6 @@ HRESULT CTextService::_HandleChar(TfEditCookie ec, ITfContext *pContext, WPARAM

case E_ABORT: //不一致
_HandleCharShift(ec, pContext);
roman.clear();
if(okuriidx != 0 && okuriidx + 1 == cursoridx)
{
kana.replace(okuriidx, 1, 1, CHAR_SKK_OKURI); //送りローマ字
}
_Update(ec, pContext);
break;

Expand Down
4 changes: 2 additions & 2 deletions imcrvtip/KeyHandlerConv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ BOOL CTextService::_ConvShift(WCHAR ch)
{
case S_OK: //一致
case E_PENDING: //途中まで一致
if(rkc.roman != L'\0' && rkc.wait) //待機
if(rkc.roman[0] != L'\0' && rkc.wait) //待機
{
if(okuriidx != 0 && okuriidx + 1 == cursoridx)
{
Expand Down Expand Up @@ -799,7 +799,7 @@ BOOL CTextService::_ConvShift(WCHAR ch)
{
case S_OK: //一致
case E_PENDING: //途中まで一致
if(rkc.roman != L'\0' && rkc.soku)
if(rkc.roman[0] != L'\0' && rkc.soku)
{
std::wstring kana_ins;
switch(inputmode)
Expand Down
6 changes: 3 additions & 3 deletions installer/README.TXT
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

==============================================================================
CorvusSKK version 1.8.5
CorvusSKK version 1.8.6

https://github.com/nathancorvussolis/corvusskk
[email protected]
Expand Down Expand Up @@ -73,9 +73,9 @@
許可の付加が自動的に行われます。


・Adobe Reader X, XI
・Adobe Reader X, XI, Acrobat Reader DC

Adobe Reader X または XI で使用するには、設定ファイル(config.xml)に
Adobe Reader X 以降で使用するには、設定ファイル(config.xml)に
Adobe Reader へのアクセス許可を付加させる必要があります。
設定ダイアログでOKボタンを押して保存を行うとアクセス許可の付加が自動的に
行われます。
Expand Down
14 changes: 7 additions & 7 deletions installer/config-lua/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -696,24 +696,24 @@ local function skk_relative_date(t)
local d = os.date("*t", skk_gadget_time)

if (ymd == ":yy") then
d["year"] = d["year"] + tonumber(diff);
d["year"] = d["year"] + tonumber(diff)
elseif (ymd == ":mm") then
d["month"] = d["month"] + tonumber(diff);
d["month"] = d["month"] + tonumber(diff)
elseif (ymd == ":dd") then
d["day"] = d["day"] + tonumber(diff);
d["day"] = d["day"] + tonumber(diff)
else
end

local skk_gadget_time_bak = skk_gadget_time;
skk_gadget_time = os.time(d);
local skk_gadget_time_bak = skk_gadget_time
skk_gadget_time = os.time(d)

if (pp_function == "nil") then
ret = skk_default_current_date(nil)
else
ret = skk_convert_gadget_interpret(pp_function)
end

skk_gadget_time = skk_gadget_time_bak;
skk_gadget_time = skk_gadget_time_bak

return ret
end
Expand Down Expand Up @@ -1037,7 +1037,7 @@ local function skk_convert_key(key, okuri)
-- 文字コード表記変換のとき見出し語変換しない
local cccplen = string.len(charcode_conv_prefix)
if (cccplen < string.len(key) and string.sub(key, 1, cccplen) == charcode_conv_prefix) then
return "";
return ""
end

-- 数値変換
Expand Down
2 changes: 1 addition & 1 deletion installer/corvusskk-x64.wxs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

<?define version="1.8.5" ?>
<?define version="1.8.6" ?>
<Product Id="*" Name="CorvusSKK" Language="1033" Version="$(var.version)" Manufacturer="nathancorvussolis" UpgradeCode="DBDB315C-1F74-4051-8A67-705D0FD16497">

<Package Id="*" Compressed="yes" Description="CorvusSKK" Comments="version $(var.version)" Platform="x64" InstallerVersion="405" InstallScope="perMachine" InstallPrivileges="elevated" />
Expand Down
2 changes: 1 addition & 1 deletion installer/corvusskk-x86.wxs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

<?define version="1.8.5" ?>
<?define version="1.8.6" ?>
<Product Id="*" Name="CorvusSKK" Language="1033" Version="$(var.version)" Manufacturer="nathancorvussolis" UpgradeCode="3F1244EC-9A5C-4041-9A33-E26B03C63C9B">

<Package Id="*" Compressed="yes" Description="CorvusSKK" Comments="version $(var.version)" Platform="x86" InstallerVersion="405" InstallScope="perMachine" InstallPrivileges="elevated" />
Expand Down

0 comments on commit 622d4ba

Please sign in to comment.