Commit Graph

143 Commits

Author SHA1 Message Date
Kaiyi
e0dc7a09a5 chore: bump version 2023-11-02 22:55:27 +08:00
Kai
d037c05e3b
Merge pull request #70 from hotjuicew/add_dicts
feat: 增加了何琼雅思听力必考词汇
2023-11-02 22:54:18 +08:00
hotjuicew
03796165ef feat: 增加了何琼雅思听力必考词汇 2023-10-29 18:37:03 +08:00
Kaiyi
3a7c7a2903 chore: bump version 2023-10-24 17:21:40 +08:00
Kai
db2831af46
Merge pull request #69 from code2933/master
fix: Remove unexpected character
2023-10-24 17:19:36 +08:00
code2933
47aaa01058 fix: Remove unexpected character 2023-10-24 15:10:27 +08:00
Kaiyi
cfca89cd0d chore: bump version 2023-10-07 15:32:00 +08:00
Kai
94f5b717a5
Merge pull request #67 from code2933/master 2023-10-07 02:30:28 -05:00
code2933
0533b8bcaa update: Allow inputing in editor when readonly mode is enabled 2023-10-07 14:46:50 +08:00
Kai
254982a3ce
Merge pull request #65 from hotjuicew/hideChineseTranslation 2023-10-02 09:34:28 -05:00
Kaiyi
28282b5ed7 chore: bump version 2023-10-02 22:31:33 +08:00
Kaiyi
85361e35eb chore: merge from master 2023-10-02 22:30:48 +08:00
Kai
a0dd52a31c
Merge pull request #64 from hotjuicew/hideDicName 2023-09-28 06:32:55 -05:00
hotjuicew
f06a786ffc refactor:修改原先的transBar为playVoiceBar,更符合当前情况 2023-09-28 11:06:45 +08:00
hotjuicew
17d98d820c feat:支持显示/隐藏中文翻译 2023-09-28 11:01:23 +08:00
hotjuicew
dc0dee49f2 feat:支持点击以隐藏词典名称 2023-09-27 14:18:32 +08:00
Kaiyi
2b493ea740 chore: update version 2023-09-18 22:35:53 +08:00
Kaiyi
75ea57bd24
Merge pull request #62 from YqxLzx/master 2023-09-18 22:27:55 +08:00
Kaiyi
f8ad15b6e0 chore: fix code style 2023-09-18 22:26:57 +08:00
YqxLzx
83f323df88 修改:修改文档,增加章节循环交互说明 2023-09-18 12:37:12 +08:00
YqxLzx
51367597df 章节循环模式改为命令交互 2023-09-18 12:30:04 +08:00
YqxLzx
53fa806ded 新增:章节循环模式 2023-09-14 17:45:42 +08:00
Oscar Lee
a3ceabdaab
Update .gitignore
在MAC系统下,会额外提交不必要文件.DS_Store
2023-09-14 17:21:35 +08:00
Kaiyi
0c20277c2d docs: update readme 2023-09-10 18:11:51 +08:00
Kaiyi
5aa035e4b7 chore: update version 2023-09-10 17:03:16 +08:00
Kaiyi
5c68bcfe3c feat: add dicts 2023-09-10 17:02:11 +08:00
Kaiyi
47bfb7e8b7 fix: fix bug, upgrade version 2023-09-10 16:45:25 +08:00
Kaiyi
9e4a8189ca
Merge pull request #57 from XkSuperCool/master 2023-09-10 16:10:29 +08:00
Kaiyi
128be0218a feat: add tooltip 2023-09-10 16:08:56 +08:00
K
0a91019c63 feat: 上/下个单词切换 2023-08-23 17:05:15 +08:00
K
5ae943b38f feat: 音标使用 // 包裹 2023-08-23 16:47:57 +08:00
K
d5e53995a7 feat: 点击音标复读 2023-08-23 16:47:36 +08:00
Kaiyi
567a960411 feat: polish detail 2023-08-04 23:31:32 +08:00
Kaiyi
73cdec05b4 chore: update version 2023-06-17 13:28:25 +08:00
Kaiyi
99c3e23ec5 chore: update version 2023-06-17 13:28:25 +08:00
Kaiyi
9d497b8c04
Merge pull request #48 from faintout/fix-dict 2023-06-17 13:27:06 +08:00
杨浩楠
79196a8584 🐞 fix: 修改单词及翻译中的转义字符 2023-06-16 16:50:24 +08:00
Kaiyi
2862ac244a
Merge pull request #45 from zhengtianbao/linux-sound 2023-06-14 12:03:57 +08:00
zhengtianbao
b7b1961107 feat: add pronounce at linux platform
This commit add support for words pronounce at linux platform.

The binary file *linux-x64.node* is compiled from code:

```rust
use neon::prelude::*;
use std::io::{BufReader, Cursor};

fn player_play(mut cx: FunctionContext) -> JsResult<JsBoolean> {
    let url = cx.argument::<JsString>(0)?.value(&mut cx);

    let (_stream, handle) = rodio::OutputStream::try_default().unwrap();
    let sink = rodio::Sink::try_new(&handle).unwrap();

    let resp = reqwest::blocking::get(url).unwrap();
    let cursor = Cursor::new(resp.bytes().unwrap());
    let source = rodio::Decoder::new(BufReader::new(cursor)).unwrap();
    sink.append(source);

    sink.sleep_until_end();
    Ok(cx.boolean(true))
}

fn main(mut cx: ModuleContext) -> NeonResult<()> {
    cx.export_function("playerPlay", player_play)?;
    Ok(())
}
```

test passed at Ubuntu 20.04.4 LTS desktop
2023-06-14 09:10:59 +08:00
Kaiyi
673f7f0029
Merge pull request #44 from dianjie/fix_gaokao3500
fix: dict GaoKao_3500
2023-06-13 17:47:27 +08:00
xiaoyu
22ef4bb8d3 fix: dict GaoKao_3500 2023-06-13 15:16:49 +08:00
Kaiyi
95dd8701b3 chore: update version 2023-06-13 01:23:56 +08:00
Kaiyi
405a65c4f6 docs: update pic 2023-06-13 01:21:39 +08:00
Kaiyi
37a3ef8cb6 feat: add random chapter config 2023-05-26 11:57:06 +08:00
Kaiyi
06c09570be fix: reset currentExerciseCount 2023-05-26 11:42:46 +08:00
Kaiyi
1f4d2f8415
Merge pull request #43 from TaksonyL/fix-NCE-dict 2023-05-22 16:08:32 +08:00
TaksonyL
9b2844389a fix: NCE_1 Dictionary 2023-05-22 15:12:22 +08:00
Kaiyi
bae6bb5be3 chore: update version 2023-05-21 02:03:39 +08:00
Kaiyi
c3e3b55582 chore: add activationEvents 2023-05-21 02:02:14 +08:00
Kaiyi
bf4c896aed
Merge pull request #42 from Kaiyiwing/refactor 2023-05-21 01:52:16 +08:00