User contributions
Jump to navigation
Jump to search
- 03:32, 19 April 2023 diff hist -2 Develop an simple input method/zh-cn Created page with "切换到区位码输入法后,应用程序中的按键将使 Fcitx 5 打印出如下内容:"
- 03:32, 19 April 2023 diff hist +96 N Translations:Develop an simple input method/51/zh-cn Created page with "切换到区位码输入法后,应用程序中的按键将使 Fcitx 5 打印出如下内容:" current
- 03:32, 19 April 2023 diff hist +19 Develop an simple input method/zh-cn Created page with "现在您可以使用 <code>fcitx5 -rd</code> 重新启动 fcitx5,并使用 配置工具(Fcitx 5) 将 Quwei 添加到您的..."
- 03:32, 19 April 2023 diff hist +185 N Translations:Develop an simple input method/50/zh-cn Created page with "现在您可以使用 <code>fcitx5 -rd</code> 重新启动 fcitx5,并使用 配置工具(Fcitx 5) 将 Quwei 添加到您的..." current
- 03:31, 19 April 2023 diff hist +196 N Translations:Develop an simple input method/49/zh-cn Created page with "<nowiki>-- Install configuration: "Debug" -- Installing: /usr/lib/fcitx5/quwei.so -- Installing: /usr/share/fcitx5/addon/quwei.conf -- Installing: /usr/share/fcitx5/inputmetho..." current
- 03:31, 19 April 2023 diff hist -15 Develop an simple input method/zh-cn Created page with "如果一切正常,安装命令应该打印出如下内容:"
- 03:31, 19 April 2023 diff hist +63 N Translations:Develop an simple input method/48/zh-cn Created page with "如果一切正常,安装命令应该打印出如下内容:" current
- 03:31, 19 April 2023 diff hist +227 N Translations:Develop an simple input method/47/zh-cn Created page with "<nowiki> mkdir -p build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug # use Debug for easy debugging with gdb make # or ninja, depending on your syste..." current
- 03:31, 19 April 2023 diff hist -13 Develop an simple input method/zh-cn Created page with "这里假设您的 fcitx 安装前缀是 /usr。构建这个项目的命令是:"
- 03:31, 19 April 2023 diff hist +81 N Translations:Develop an simple input method/46/zh-cn Created page with "这里假设您的 fcitx 安装前缀是 /usr。构建这个项目的命令是:" current
- 03:31, 19 April 2023 diff hist +16 Develop an simple input method/zh-cn Created page with "在这里,我们使用类似于宏 <code>FCITX_INFO()</code> 的 iostream 将我们按下的每个键写入日志。"
- 03:31, 19 April 2023 diff hist +118 N Translations:Develop an simple input method/45/zh-cn Created page with "在这里,我们使用类似于宏 <code>FCITX_INFO()</code> 的 iostream 将我们按下的每个键写入日志。" current
- 03:31, 19 April 2023 diff hist -39 Develop an simple input method/zh-cn Created page with "一个输入法引擎的最小植入只需要包含keyEvent函数的实现。"
- 03:31, 19 April 2023 diff hist +77 N Translations:Develop an simple input method/44/zh-cn Created page with "一个输入法引擎的最小植入只需要包含keyEvent函数的实现。" current
- 03:30, 19 April 2023 diff hist -26 Develop an simple input method/zh-cn Created page with "当实现 Fcitx 插件时,它应该是 [https://codedocs.xyz/fcitx/fcitx5/classfcitx_1_1AddonInstance.html AddonInstance] 的子类。AddonInstance 的实例化是通过 [ht..."
- 03:30, 19 April 2023 diff hist +443 N Translations:Develop an simple input method/43/zh-cn Created page with "当实现 Fcitx 插件时,它应该是 [https://codedocs.xyz/fcitx/fcitx5/classfcitx_1_1AddonInstance.html AddonInstance] 的子类。AddonInstance 的实例化是通过 [ht..." current
- 03:30, 19 April 2023 diff hist +49 N Translations:Develop an simple input method/42/zh-cn Created page with "FCITX_ADDON_FACTORY(QuweiEngineFactory);</nowiki>" current
- 03:30, 19 April 2023 diff hist +197 N Translations:Develop an simple input method/41/zh-cn Created page with "void QuweiEngine::keyEvent(const fcitx::InputMethodEntry& entry, fcitx::KeyEvent& keyEvent) { FCITX_UNUSED(entry); FCITX_INFO() << keyEvent.key() << " isRelease=" << k..." current
- 03:30, 19 April 2023 diff hist +145 N Translations:Develop an simple input method/40/zh-cn Created page with "<nowiki>→* SPDX-FileCopyrightText: 2021~2021 CSSlayer <wengxt@gmail.com> * * SPDX-License-Identifier: BSD-3-Clause *: #include "quwei.h"" current
- 03:30, 19 April 2023 diff hist 0 Develop an simple input method/zh-cn Created page with "版本 1 的 quwei.cpp"
- 03:30, 19 April 2023 diff hist +22 N Translations:Develop an simple input method/39/zh-cn Created page with "版本 1 的 quwei.cpp" current
- 03:30, 19 April 2023 diff hist +41 N Translations:Develop an simple input method/38/zh-cn Created page with "#endif // _FCITX5_QUWEI_QUWEI_H_</nowiki>" current
- 03:30, 19 April 2023 diff hist +203 N Translations:Develop an simple input method/37/zh-cn Created page with "class QuweiEngineFactory : public fcitx::AddonFactory { fcitx::AddonInstance * create(fcitx::AddonManager * manager) override { FCITX_UNUSED(manager); retu..." current
- 03:30, 19 April 2023 diff hist +153 N Translations:Develop an simple input method/36/zh-cn Created page with "class QuweiEngine : public fcitx::InputMethodEngineV2 { void keyEvent(const fcitx::InputMethodEntry & entry, fcitx::KeyEvent & keyEvent) override; };" current
- 03:30, 19 April 2023 diff hist +68 N Translations:Develop an simple input method/35/zh-cn Created page with "#include <fcitx/inputmethodengine.h> #include <fcitx/addonfactory.h>" current
- 03:29, 19 April 2023 diff hist 0 Develop an simple input method/zh-cn Created page with "版本 1 的 quwei.h <nowiki>→* SPDX-FileCopyrightText: 2021~2021 CSSlayer <wengxt@gmail.com> * * SPDX-License-Identifier: BSD-3-Clause *: #ifndef _FCITX5_QUWEI_QUWE..."
- 03:29, 19 April 2023 diff hist +210 N Translations:Develop an simple input method/34/zh-cn Created page with "版本 1 的 quwei.h <nowiki>→* SPDX-FileCopyrightText: 2021~2021 CSSlayer <wengxt@gmail.com> * * SPDX-License-Identifier: BSD-3-Clause *: #ifndef _FCITX5_QUWEI_QUWE..." current
- 03:29, 19 April 2023 diff hist +1 Develop an simple input method/zh-cn
- 03:29, 19 April 2023 diff hist +1 Translations:Develop an simple input method/27/zh-cn current
- 03:29, 19 April 2023 diff hist -3 Develop an simple input method/zh-cn
- 03:29, 19 April 2023 diff hist -3 Translations:Develop an simple input method/32/zh-cn current
- 03:29, 19 April 2023 diff hist -21 Develop an simple input method/zh-cn Created page with "== InputMethodEngine 的基本实现 == 您可以参考github中[https://github.com/fcitx/fcitx5-quwei/commit/02c32b07e47e0e75db4f248dbb33c31137d8df74 first commit]的代码。"
- 03:29, 19 April 2023 diff hist +176 N Translations:Develop an simple input method/33/zh-cn Created page with "== InputMethodEngine 的基本实现 == 您可以参考github中[https://github.com/fcitx/fcitx5-quwei/commit/02c32b07e47e0e75db4f248dbb33c31137d8df74 first commit]的代码。"
- 03:29, 19 April 2023 diff hist -1 Develop an simple input method/zh-cn Created page with "此文件将作为 [https://codedocs.xyz/fcitx/fcitx5/classfcitx_1_1AddonInfo.html 插件信息] 对象加载。"
- 03:29, 19 April 2023 diff hist +112 N Translations:Develop an simple input method/32/zh-cn Created page with "此文件将作为 [https://codedocs.xyz/fcitx/fcitx5/classfcitx_1_1AddonInfo.html 插件信息] 对象加载。"
- 03:28, 19 April 2023 diff hist +74 N Translations:Develop an simple input method/31/zh-cn Created page with "[Addon/OptionalDependencies] 0=fullwidth 1=quickphrase 2=chttrans</nowiki>" current
- 03:28, 19 April 2023 diff hist +34 N Translations:Develop an simple input method/30/zh-cn Created page with "[Addon/Dependencies] 0=punctuation" current
- 03:28, 19 April 2023 diff hist +138 N Translations:Develop an simple input method/29/zh-cn Created page with "<nowiki>[Addon] Name=Quwei Category=InputMethod Version=@PROJECT_VERSION@ Library=quwei Type=SharedLibrary OnDemand=True Configurable=True" current
- 03:28, 19 April 2023 diff hist -1 Develop an simple input method/zh-cn Created page with "quwei-addon.conf.in 示例:"
- 03:28, 19 April 2023 diff hist +29 N Translations:Develop an simple input method/28/zh-cn Created page with "quwei-addon.conf.in 示例:" current
- 03:28, 19 April 2023 diff hist +1 Develop an simple input method/zh-cn Created page with "此文件将作为 [https://codedocs.xyz/fcitx/fcitx5/classfcitx_1_1InputMethodEntry.html 输入法条目] 对象进行加载。"
- 03:28, 19 April 2023 diff hist +128 N Translations:Develop an simple input method/27/zh-cn Created page with "此文件将作为 [https://codedocs.xyz/fcitx/fcitx5/classfcitx_1_1InputMethodEntry.html 输入法条目] 对象进行加载。"
- 03:28, 19 April 2023 diff hist +314 N Translations:Develop an simple input method/26/zh-cn Created page with "<nowiki>[InputMethod] # Translatable name of the input method Name=Quwei # Icon name Icon=fcitx-quwei # A short label that present the name of input method Label=区 # ISO 639..." current
- 03:28, 19 April 2023 diff hist -6 Develop an simple input method/zh-cn Created page with "quwei.conf.in 示例:"
- 03:28, 19 April 2023 diff hist +23 N Translations:Develop an simple input method/25/zh-cn Created page with "quwei.conf.in 示例:" current
- 03:27, 19 April 2023 diff hist +123 N Translations:Develop an simple input method/24/zh-cn Created page with "# Input Method registration file install(FILES "quwei.conf" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/inputmethod")</nowiki>" current
- 03:27, 19 April 2023 diff hist +280 N Translations:Develop an simple input method/23/zh-cn Created page with "# Addon config file # We need additional layer of conversion because we want PROJECT_VERSION in it. configure_file(quwei-addon.conf.in quwei-addon.conf) install(FILES "${CMAKE..." current
- 03:27, 19 April 2023 diff hist +266 N Translations:Develop an simple input method/22/zh-cn Created page with "<nowiki># Make sure it produce quwei.so instead of libquwei.so add_library(quwei SHARED quwei.cpp) target_link_libraries(quwei PRIVATE Fcitx5::Core) set_target_properties(quwe..." current
- 03:27, 19 April 2023 diff hist -5 Develop an simple input method/zh-cn Created page with "src/CMakeLists.txt 示例如下:"
- 03:27, 19 April 2023 diff hist +34 N Translations:Develop an simple input method/21/zh-cn Created page with "src/CMakeLists.txt 示例如下:" current
- 03:27, 19 April 2023 diff hist +30 N Translations:Develop an simple input method/20/zh-cn Created page with "add_subdirectory(src)</nowiki>" current
- 03:26, 19 April 2023 diff hist +208 N Translations:Develop an simple input method/19/zh-cn Created page with "find_package(Fcitx5Core REQUIRED) # Setup some compiler option that is generally useful and compatible with Fcitx 5 (C++17) include("${FCITX_INSTALL_CMAKECONFIG_DIR}/Fcitx5Uti..." current
- 03:26, 19 April 2023 diff hist +67 N Translations:Develop an simple input method/18/zh-cn Created page with "<nowiki> cmake_minimum_required(VERSION 3.21) project(fcitx5-quwei)" current
- 03:26, 19 April 2023 diff hist -22 Develop an simple input method/zh-cn Created page with "CMakeLists.txt 在根目录查找依赖项。"
- 03:26, 19 April 2023 diff hist +45 N Translations:Develop an simple input method/17/zh-cn Created page with "CMakeLists.txt 在根目录查找依赖项。" current
- 03:26, 19 April 2023 diff hist +1 Develop an simple input method/zh-cn Created page with "您也许需要查看一些 CMake 教程以了解一些基本的 CMake 用法。"
- 03:26, 19 April 2023 diff hist +80 N Translations:Develop an simple input method/16/zh-cn Created page with "您也许需要查看一些 CMake 教程以了解一些基本的 CMake 用法。" current
- 03:26, 19 April 2023 diff hist -10 Develop an simple input method/zh-cn Created page with "<nowiki>├── CMakeLists.txt ├── LICENSES │ └── BSD-3-Clause.txt # License for this project ├── po # Optional I18n..."
- 03:26, 19 April 2023 diff hist +597 N Translations:Develop an simple input method/15/zh-cn Created page with "<nowiki>├── CMakeLists.txt ├── LICENSES │ └── BSD-3-Clause.txt # License for this project ├── po # Optional I18n..." current
- 03:26, 19 April 2023 diff hist -1 Develop an simple input method/zh-cn Created page with "== 项目框架 == 因此,让我们从这个项目的框架开始。"
- 03:26, 19 April 2023 diff hist +70 N Translations:Develop an simple input method/14/zh-cn Created page with "== 项目框架 == 因此,让我们从这个项目的框架开始。" current
- 03:25, 19 April 2023 diff hist -25 Develop an simple input method/zh-cn Created page with "= 快速入门:区位码 = 区位码 输入法是一种输入法,基本上允许您输入GB2312的数字并产生与该代码匹配的汉..."
- 03:25, 19 April 2023 diff hist +363 N Translations:Develop an simple input method/13/zh-cn Created page with "= 快速入门:区位码 = 区位码 输入法是一种输入法,基本上允许您输入GB2312的数字并产生与该代码匹配的汉..."
- 03:25, 19 April 2023 diff hist -28 Develop an simple input method/zh-cn Created page with "= 使用 CMake 构建系统 = 理论上只要能生成正确的文件,就可以自由选择要使用的构建系统。但是Fcitx 5 对 CMake 提供了大量支持,因此..."
- 03:25, 19 April 2023 diff hist +303 N Translations:Develop an simple input method/12/zh-cn Created page with "= 使用 CMake 构建系统 = 理论上只要能生成正确的文件,就可以自由选择要使用的构建系统。但是Fcitx 5 对 CMake 提供了大量支持,因此..." current
- 03:24, 19 April 2023 diff hist -2 Develop an simple input method/zh-cn Created page with "该文件采用类似 ini 的格式,具有某些 fcitx 特定的扩展名和规则。它还支持 XDG 桌面文件样式 i18n 进行翻译。"
- 03:24, 19 April 2023 diff hist +143 N Translations:Develop an simple input method/11/zh-cn Created page with "该文件采用类似 ini 的格式,具有某些 fcitx 特定的扩展名和规则。它还支持 XDG 桌面文件样式 i18n 进行翻译。" current
- 03:23, 19 April 2023 diff hist +247 N Translations:Develop an simple input method/10/zh-cn Created page with "<nowiki>[InputMethod] Name[ca]=Pinyin Name[da]=Pinyin Name[de]=Pinyin Name[he]=פיניין: Name[ko]=병음 Name[ru]=Пиньинь Name[zh_CN]=拼音 Name=Pinyin Icon=fcitx-..." current
- 03:23, 19 April 2023 diff hist -7 Develop an simple input method/zh-cn Created page with "<code>[输入法名称].conf</code>示例"
- 03:23, 19 April 2023 diff hist +41 N Translations:Develop an simple input method/9/zh-cn Created page with "<code>[输入法名称].conf</code>示例" current
- 03:23, 19 April 2023 diff hist +137 N Translations:Develop an simple input method/8/zh-cn Created page with "[Addon/OptionalDependencies] 0=fullwidth 1=quickphrase 2=cloudpinyin 3=notifications 4=spell 5=pinyinhelper 6=chttrans 7=imeapi </nowiki>" current
- 03:23, 19 April 2023 diff hist +34 N Translations:Develop an simple input method/7/zh-cn Created page with "[Addon/Dependencies] 0=punctuation" current
- 03:23, 19 April 2023 diff hist +258 N Translations:Develop an simple input method/6/zh-cn Created page with "<nowiki>[Addon] Name[ca]=Pinyin Name[da]=Pinyin Name[de]=Pinyin Name[he]=פיניין: Name[ko]=병음 Name[ru]=Пиньинь Name[zh_CN]=拼音 Name=Pinyin Category=InputMet..." current
- 03:23, 19 April 2023 diff hist -4 Develop an simple input method/zh-cn Created page with "<code>[addon name].conf</code> 示例"
- 03:23, 19 April 2023 diff hist +37 N Translations:Develop an simple input method/5/zh-cn Created page with "<code>[addon name].conf</code> 示例" current
- 03:23, 19 April 2023 diff hist -70 Develop an simple input method/zh-cn Created page with "以上是输入法插件的文件结构。对于其他类型的插件,不需要 <code>inputmethod/</code> 下的文件。<code>[addon name].conf</code> 的文件名很重要..."
- 03:23, 19 April 2023 diff hist +427 N Translations:Develop an simple input method/4/zh-cn Created page with "以上是输入法插件的文件结构。对于其他类型的插件,不需要 <code>inputmethod/</code> 下的文件。<code>[addon name].conf</code> 的文件名很重要..." current
- 03:22, 19 April 2023 diff hist +240 N Translations:Develop an simple input method/3/zh-cn Created page with "<nowiki> [fcitx install prefix] | |- share/fcitx5 | | | |- addons/[addon name].conf | |- inputmethod/[input method name 1].conf | | ... | |- inputmethod/[input method na..." current
- 03:22, 19 April 2023 diff hist -22 Develop an simple input method/zh-cn Created page with "= 了解 Fcitx 共享库插件的文件结构 = Fcitx 5 提供了一个用于添加新插件类型的可扩展框架,但共享库支持是内置的,并且是所有其他..."
- 03:22, 19 April 2023 diff hist +254 N Translations:Develop an simple input method/2/zh-cn Created page with "= 了解 Fcitx 共享库插件的文件结构 = Fcitx 5 提供了一个用于添加新插件类型的可扩展框架,但共享库支持是内置的,并且是所有其他..." current
- 03:22, 19 April 2023 diff hist -48 Develop an simple input method/zh-cn Created page with "这是编写 Fcitx 5 输入法的分步说明。同样的指令可以用于开发其他类型的插件,只是输入法引擎是最复杂的。"
- 03:22, 19 April 2023 diff hist +144 N Translations:Develop an simple input method/1/zh-cn Created page with "这是编写 Fcitx 5 输入法的分步说明。同样的指令可以用于开发其他类型的插件,只是输入法引擎是最复杂的。" current
- 03:21, 19 April 2023 diff hist +20,571 N Develop an simple input method/zh-cn Created page with "开发一个简单的输入法"
- 03:21, 19 April 2023 diff hist +30 N Translations:Develop an simple input method/Page display title/zh-cn Created page with "开发一个简单的输入法" current
- 03:21, 19 April 2023 diff hist -5 Basic concept/zh-cn Created page with "然后它会经历多个阶段,并且可能会在管道中间进行过滤,以阻止所有尚未发生的过程。" current
- 03:21, 19 April 2023 diff hist +117 N Translations:Basic concept/17/zh-cn Created page with "然后它会经历多个阶段,并且可能会在管道中间进行过滤,以阻止所有尚未发生的过程。" current
- 03:20, 19 April 2023 diff hist -59 Basic concept/zh-cn Created page with "== 从 Frontend 到 Fcitx 事件管道和输入法引擎 == 在 Fcitx 内部,Key 事件将被包装为 [https://codedocs.xyz/fcitx/fcitx5/classfcitx_1_1KeyEvent.html KeyEven..."
- 03:20, 19 April 2023 diff hist +455 N Translations:Basic concept/16/zh-cn Created page with "== 从 Frontend 到 Fcitx 事件管道和输入法引擎 == 在 Fcitx 内部,Key 事件将被包装为 [https://codedocs.xyz/fcitx/fcitx5/classfcitx_1_1KeyEvent.html KeyEven..." current
- 03:19, 19 April 2023 diff hist +26 Basic concept/zh-cn Created page with "=== Wayland IM === 有 zwp_input_method_v1 和 zwp_input_method_v2。在 V1 中,关键事件来自应用程序,并经过与 DBus 相似的代码路径。在 V2 中,Input..."
- 03:19, 19 April 2023 diff hist +396 N Translations:Basic concept/15/zh-cn Created page with "=== Wayland IM === 有 zwp_input_method_v1 和 zwp_input_method_v2。在 V1 中,关键事件来自应用程序,并经过与 DBus 相似的代码路径。在 V2 中,Input..." current
- 03:17, 19 April 2023 diff hist -26 Basic concept/zh-cn Created page with "=== DBus前端/IBus前端/Fcitx4前端 === 这些前端很相似,只是使用了不同的 dbus 接口。当应用程序从工具包(例如Gtk/Qt/SDL)接收到按键事..."
- 03:17, 19 April 2023 diff hist +338 N Translations:Basic concept/14/zh-cn Created page with "=== DBus前端/IBus前端/Fcitx4前端 === 这些前端很相似,只是使用了不同的 dbus 接口。当应用程序从工具包(例如Gtk/Qt/SDL)接收到按键事..." current
- 03:17, 19 April 2023 diff hist -16 Basic concept/zh-cn Created page with "=== XIM === 应用程序从 X Server 收到 KeyEvent 后,需要使用 XIM 协议将其转发到 XIM 服务器。按键事件仅包含修饰符状态和按键代码。实际..."
- 03:17, 19 April 2023 diff hist +222 N Translations:Basic concept/13/zh-cn Created page with "=== XIM === 应用程序从 X Server 收到 KeyEvent 后,需要使用 XIM 协议将其转发到 XIM 服务器。按键事件仅包含修饰符状态和按键代码。实际..." current
- 03:17, 19 April 2023 diff hist -4 Basic concept/zh-cn Created page with "Fcitx 前端是 Fcitx 从应用程序和显示服务器接收按键事件的地方。"
- 03:17, 19 April 2023 diff hist +85 N Translations:Basic concept/12/zh-cn Created page with "Fcitx 前端是 Fcitx 从应用程序和显示服务器接收按键事件的地方。" current
- 03:16, 19 April 2023 diff hist -36 Basic concept/zh-cn Created page with "== 到达 Fcitx 前端 == 根据 Fcitx 和应用程序之间的协议,可以使用几种不同的路径。"
- 03:16, 19 April 2023 diff hist +108 N Translations:Basic concept/11/zh-cn Created page with "== 到达 Fcitx 前端 == 根据 Fcitx 和应用程序之间的协议,可以使用几种不同的路径。" current
- 03:16, 19 April 2023 diff hist -11 Basic concept/zh-cn Created page with "= 关键事件的生命周期 = 从实际的物理键盘按下到 Fcitx 接收到按键事件可能会经过以下步骤。"
- 03:16, 19 April 2023 diff hist +123 N Translations:Basic concept/10/zh-cn Created page with "= 关键事件的生命周期 = 从实际的物理键盘按下到 Fcitx 接收到按键事件可能会经过以下步骤。" current