Skip to content

Commit

Permalink
Merge CorvusSKK 2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
deton committed May 9, 2016
2 parents 247906b + c4bd393 commit 2812175
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ CorvusSKK に手を入れて以下の機能を追加しています。

+ Service Pack 2
+ プラットフォーム更新プログラム ( [KB971644](https://support.microsoft.com/en-us/kb/971644) または [KB971512](https://support.microsoft.com/en-us/kb/971512) )
+ 更新プログラム ( [KB2763674](https://support.microsoft.com/en-us/kb/2763674) )

* Windows 7 (32-bit / 64-bit)

Expand Down
12 changes: 12 additions & 0 deletions imcrvtip/DllMain.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@

#include "imcrvtip.h"
#include "CandidateWindow.h"
#include "InputModeWindow.h"

BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch(fdwReason)
{
case DLL_PROCESS_ATTACH:
g_hInst = hinstDLL;
if(!CCandidateWindow::_InitClass())
{
return FALSE;
}
if(!CInputModeWindow::_InitClass())
{
return FALSE;
}
break;

case DLL_PROCESS_DETACH:
CCandidateWindow::_UninitClass();
CInputModeWindow::_UninitClass();
break;

default:
Expand Down
8 changes: 0 additions & 8 deletions imcrvtip/TextService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#include "imcrvtip.h"
#include "TextService.h"
#include "CandidateList.h"
#include "CandidateWindow.h"
#include "InputModeWindow.h"

CTextService::CTextService()
{
Expand Down Expand Up @@ -153,9 +151,6 @@ STDAPI CTextService::ActivateEx(ITfThreadMgr *ptim, TfClientId tid, DWORD dwFlag
_pThreadMgr->AddRef();
_ClientId = tid;

CCandidateWindow::_InitClass();
CInputModeWindow::_InitClass();

if (!_IsKeyboardOpen())
{
_KeyboardSetDefaultMode();
Expand Down Expand Up @@ -244,9 +239,6 @@ STDAPI CTextService::Deactivate()

_UninitFont();

CCandidateWindow::_UninitClass();
CInputModeWindow::_UninitClass();

SafeRelease(&_pThreadMgr);

_ClientId = TF_CLIENTID_NULL;
Expand Down
2 changes: 1 addition & 1 deletion installer/config-lua/init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
CorvusSKK ver.2.3.3 Lua拡張スクリプト
CorvusSKK ver.2.3.4 Lua拡張スクリプト
Cから呼ばれるLuaの関数
Expand Down
8 changes: 4 additions & 4 deletions installer/installer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -133,31 +133,31 @@
<NMakeReBuildCommandLine>copy /y "config-lua\init.lua" "$(SolutionDir)$(Platform)\$(Configuration)\"</NMakeReBuildCommandLine>
<NMakePreprocessorDefinitions>WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
<OutDir>build\</OutDir>
<IntDir>$(IntermediateOutputPath)\</IntDir>
<IntDir>obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<NMakeBuildCommandLine>copy /y "config-lua\init.lua" "$(SolutionDir)$(Platform)\$(Configuration)\"</NMakeBuildCommandLine>
<NMakeCleanCommandLine>del /f "$(SolutionDir)$(Platform)\$(Configuration)\init.lua"</NMakeCleanCommandLine>
<NMakeReBuildCommandLine>copy /y "config-lua\init.lua" "$(SolutionDir)$(Platform)\$(Configuration)\"</NMakeReBuildCommandLine>
<NMakePreprocessorDefinitions>WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
<OutDir>build\</OutDir>
<IntDir>$(IntermediateOutputPath)\</IntDir>
<IntDir>obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<NMakePreprocessorDefinitions>WIN32;NDEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
<NMakeBuildCommandLine>echo build</NMakeBuildCommandLine>
<NMakeReBuildCommandLine>echo rebuild</NMakeReBuildCommandLine>
<NMakeCleanCommandLine>echo clean</NMakeCleanCommandLine>
<OutDir>build\</OutDir>
<IntDir>$(IntermediateOutputPath)\</IntDir>
<IntDir>obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<NMakePreprocessorDefinitions>WIN32;NDEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
<NMakeBuildCommandLine>echo build</NMakeBuildCommandLine>
<NMakeReBuildCommandLine>echo rebuild</NMakeReBuildCommandLine>
<NMakeCleanCommandLine>echo clean</NMakeCleanCommandLine>
<OutDir>build\</OutDir>
<IntDir>$(IntermediateOutputPath)\</IntDir>
<IntDir>obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup>
</ItemDefinitionGroup>
Expand Down

0 comments on commit 2812175

Please sign in to comment.