fxliang

Results 22 issues of fxliang

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the bug: 1. build with vs2019 2. run `rime_api_console` with `double_pinyin` enable...

bug

近期小狼毫加上了Windows Error Reporting,发现不少用户在`rime.dll`内有异常内存操作引发`WeaselServer.exe`崩溃,据有部分用户反馈,禁用部分lua脚本 后,或改用其他方案集(不一样的lua脚本使用)后明显减少崩溃的问题。 麻烦检查一下是否librime-lua中有部分内存操作未完整处理异常,谢谢 ~ @shewer @hchunhui

从 957a8e30542af8211ee305e26145351e7e3c07b0 起,小狼毫提供WER能力,在算法服务`WeaselServer.exe`崩溃后会在日志目录`%TEMP%\rime.weasel\`下生成dmp文件 ![image](https://github.com/rime/weasel/assets/4023160/6c5dff41-5615-48db-806e-43411632bd29) 可通过语言栏右击,选择`日志文件夹`快速打开该文件夹 通过分析dmp文件,可以定位崩溃问题所在,WeaselServer.exe/rime.dll/etc. 分析dmp工具,可用微软出品的[DebugDiag](https://www.microsoft.com/en-sg/download/details.aspx?id=103453),可下载安装备用。 分析步骤: 1. 安装DebugDiag(安装一次即可) 2. 装备出现崩溃的版本对应的symbols文件,如果是Nightly Release,则其对应的symbols文件在release page中随附,将debug_symbols.7z文件解压到一个您方便管理的位置(通常只需要WeaselServer.pdb,放到程序目录中有时候debugdiag会有更正确的响应),得到一个output文件夹以及内部若干pdb文件。如您使用的是commit ci的artifact文件,symbols文件也有在artifacts中有附上。 ![image](https://github.com/rime/weasel/assets/4023160/3c6bf3a6-8ba9-4af2-bb68-d71e207dcd91) ![image](https://github.com/rime/weasel/assets/4023160/89bad670-f29a-44e5-aa0a-41f78056a202) ![image](https://github.com/rime/weasel/assets/4023160/c85f3204-68a8-404e-bbb2-d3dd9046e644) 3. 开始菜单中打开`DebugDiag 2 Analysis`快捷图标运行DebugDiag ![image](https://github.com/rime/weasel/assets/4023160/07f5f226-a5fb-4819-88ca-fc4966c203a2) 4. 点击左上角设置图标(该步骤通常只要设置一次后续会自动沿用上一次设定) ![image](https://github.com/rime/weasel/assets/4023160/0fff4a7d-6b00-450e-843b-6243a7009a8e) 5. 设置symbols路径和分析options后返回,加上pdb文件路径和WeaselServer.exe和rime.dll的路径(该步骤通常只要设置一次后续会自动沿用上一次设定) ![@@$JNTLDKBP@5IL{JM0KHQV](https://github.com/rime/weasel/assets/4023160/a2f3dda7-1083-48c3-8058-ae85ea2e0386) 6....

## Pull request #### Issue tracker Fixes will automatically close the related issue Fixes # #### Feature Describe feature of pull request add whences: `first_page`, `not_first_page`, `last_page`, `not_last_page` it would...

close #1411 maybe fix some issues cause by preinserted space, #1144, #1106, #1407 #1416, #1326, #1231, iDvel/rime-ice#1043 and so on

## Pull request #### Issue tracker Fixes will automatically close the related issue Fixes # #### Feature Describe feature of pull request feat(navigator): add binding actions for no looping navigation...

## Pull request #### Issue tracker Fixes will automatically close the related issue Fixes # #### Feature Describe feature of pull request store input histories in rime_api_console when running, navigate...