Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
aeccae0
feat: use deleteSurroundingText for app support
Zebra2711 Mar 27, 2026
0097828
Workaround for Chromium suggestions
Zebra2711 Mar 28, 2026
a53bd91
personal config
Zebra2711 Mar 28, 2026
6be0dd0
typo
Zebra2711 Mar 28, 2026
3bc5943
fix typo false :v, and reomve some func
Zebra2711 Mar 28, 2026
6d2a0a3
only need retry for chromium,electron ack
Zebra2711 Mar 29, 2026
3ecdc6d
demorgan
Zebra2711 Mar 30, 2026
adb26a0
e
Zebra2711 Mar 30, 2026
eecf795
O(1)
Zebra2711 Mar 30, 2026
6f85446
e
Zebra2711 May 2, 2026
855c5b0
test
Zebra2711 May 7, 2026
f4e852d
eee
Zebra2711 May 7, 2026
c7d65d8
nice
Zebra2711 May 7, 2026
c086e54
bye bye bamboo
Zebra2711 May 7, 2026
398be90
clang fmt
Zebra2711 May 7, 2026
d9e7c66
rm stuff
Zebra2711 May 7, 2026
ce9d874
ack
Zebra2711 May 7, 2026
778948e
small fix
Zebra2711 May 9, 2026
acd92a8
fix use correct mode
Zebra2711 May 9, 2026
de20456
small fix
Zebra2711 May 11, 2026
e84e192
more fix
Zebra2711 May 12, 2026
029d493
eeee
Zebra2711 May 13, 2026
a0f03c0
asm
Zebra2711 May 13, 2026
d5b4113
rm log
Zebra2711 May 14, 2026
af0311f
rm stuff
Zebra2711 May 14, 2026
c90b4aa
rm stuff
Zebra2711 May 14, 2026
6f3d3b2
rm stuff ui
Zebra2711 May 14, 2026
2000c3e
fix SIGSEGV
Zebra2711 May 14, 2026
54278e1
rm stuff
Zebra2711 May 14, 2026
7d89d99
ee
Zebra2711 May 14, 2026
595e2ae
compact
Zebra2711 May 14, 2026
c67e9d1
compact ...
Zebra2711 May 14, 2026
0717ed1
fix firefox and reduce work on loop active-deactive spam
Zebra2711 May 14, 2026
78b7e3c
eee
Zebra2711 May 15, 2026
816492e
icon upstream
Zebra2711 May 15, 2026
eef65a1
uh
Zebra2711 May 16, 2026
189c8d1
disable avx512 buid by default
Zebra2711 May 16, 2026
b2f559a
kjaksj
Zebra2711 May 16, 2026
1917542
rm stuff
Zebra2711 May 16, 2026
4562253
rf
Zebra2711 May 16, 2026
6d5dbeb
cau truc lai
Zebra2711 May 16, 2026
53ae96e
add macro,.. fcitx5-unikey feat
Zebra2711 May 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ cmake_install.cmake
ecm_uninstall.cmake
install_manifest.txt
org.fcitx.Fcitx5.Addon.Lotus.metainfo.xml
org.fcitx.Fcitx5.Addon.Lotus.metainfo.xml.in
Makefile
.vscode/
compile_commands.json
!.all-contributorsrc
refresh-contributor

unikey-im/

# Qt AUTOMOC generated files
*_autogen/

Expand All @@ -38,4 +39,4 @@ refresh-contributor
lotus-version.h
# Logs
*.log
__pycache__/
__pycache__/
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

33 changes: 17 additions & 16 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ find_package(X11 REQUIRED)

include("${FCITX_INSTALL_CMAKECONFIG_DIR}/Fcitx5Utils/Fcitx5CompilerSettings.cmake")
add_definitions(-DFCITX_GETTEXT_DOMAIN=\"fcitx5-lotus\")
add_definitions(-DQT_NO_KEYWORDS)

find_package(Fcitx5Utils REQUIRED)
if (Fcitx5Utils_VERSION VERSION_GREATER_EQUAL "5.1.13")
Expand All @@ -38,36 +39,36 @@ else()
endif()
fcitx5_add_i18n_definition()

add_subdirectory(unikey)
if (ENABLE_QT)
set(QT_MAJOR_VERSION 6)
find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS Core Gui Widgets)
find_package(Fcitx5Qt${QT_MAJOR_VERSION}WidgetsAddons 5.0.12 REQUIRED)
add_subdirectory(macro-editor)
add_subdirectory(keymap-editor)
endif()
add_subdirectory(po)
add_subdirectory(bamboo)
add_subdirectory(src)
add_subdirectory(data)
add_subdirectory(server)
add_subdirectory(misc)

if(ENABLE_QT)
target_compile_definitions(lotus PRIVATE DISABLE_VERSION_ACTION)
add_subdirectory(settings-gui)
endif(ENABLE_QT)

configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/org.fcitx.Fcitx5.Addon.Lotus.metainfo.xml.in.in"
"${CMAKE_CURRENT_BINARY_DIR}/org.fcitx.Fcitx5.Addon.Lotus.metainfo.xml.in"
@ONLY
)
set(LOTUS_METAINFO_ID org.fcitx.Fcitx5.Addon.Lotus.metainfo)
set(LOTUS_METAINFO_TRANSLATION_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/${LOTUS_METAINFO_ID}.xml.in")
set(LOTUS_METAINFO_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${LOTUS_METAINFO_ID}.xml")

fcitx5_translate_desktop_file(
"${CMAKE_CURRENT_BINARY_DIR}/org.fcitx.Fcitx5.Addon.Lotus.metainfo.xml.in"
org.fcitx.Fcitx5.Addon.Lotus.metainfo.xml
"${LOTUS_METAINFO_TRANSLATION_INPUT}"
"${LOTUS_METAINFO_ID}.xml"
XML
)

install(FILES "${CMAKE_CURRENT_BINARY_DIR}/org.fcitx.Fcitx5.Addon.Lotus.metainfo.xml" DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo)
install(FILES "${LOTUS_METAINFO_OUTPUT}" DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo)

install(FILES
install(FILES
LICENSES/GPL-3.0-or-later.txt
LICENSES/LGPL-2.1-or-later.txt
DESTINATION ${CMAKE_INSTALL_DATADIR}/licenses/${PROJECT_NAME}
)

feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
4 changes: 2 additions & 2 deletions Messages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ xgettext \
--language=appdata \
--from-code=UTF-8 \
-o /tmp/lotus-xml.pot \
org.fcitx.Fcitx5.Addon.Lotus.metainfo.xml.in.in
org.fcitx.Fcitx5.Addon.Lotus.metainfo.xml.in

xgettext \
--language=Python \
Expand Down Expand Up @@ -47,4 +47,4 @@ msgcat \
/tmp/lotus-conf.pot \
/tmp/lotus-python.pot \
/tmp/lotus-desktop.pot \
-o po/fcitx5-lotus.pot
-o po/fcitx5-lotus.pot
7 changes: 0 additions & 7 deletions bamboo/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions bamboo/CMakeLists.txt

This file was deleted.

Loading