Commit Graph

37 Commits

Author SHA1 Message Date
CismonX 0956b2cd92
feat: add rl-loop utility program
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-10 22:52:14 +08:00
CismonX ade349d1e8
chore: allow arify to be built without readline
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-07 05:06:04 +08:00
CismonX 709bc78b5f
chore: switch to woodpecker ci
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-03-31 21:22:18 +08:00
CismonX 93a6850de7
chore: clean up build scripts
* remove checks that we do not use
* autoconf-archive is now mandatory
2024-03-31 20:12:34 +08:00
CismonX 5526a0bc77
refactor: cleaner way to hard-code libdir 2023-12-25 17:36:25 +08:00
CismonX 6bdc2578ef
fix: doc: remove wrong statements about engines 2023-12-02 01:35:39 +08:00
CismonX 7dc5ad1c5c
chore: rename candidate length vars 2023-12-02 01:33:19 +08:00
CismonX da1b6e3c69
feat: support candidate comments 2023-12-02 01:32:24 +08:00
CismonX 460e563d85
feat: arif_rime: handle candidate selection
Tell Rime which candidate was selected, so that the engine can
make use of this information to improve user experience.
2023-11-28 18:20:48 +08:00
CismonX c115ce8b0f
fix: candidate page memory leak 2023-10-04 00:35:45 +08:00
CismonX de27608978
fix: arif_rime: properly handle commit text 2023-09-10 22:26:18 +08:00
CismonX 4a5eb94ca1
fix: query engine without trailing digits 2023-09-10 21:23:36 +08:00
CismonX 4e346fc097
feat: ranged candidate replace
Adds candidate attribute `replace_start`, which allows a candidate
to replace a middle part of the original text.
2023-09-08 07:06:23 +08:00
CismonX a82e6ba002
chore: line length < 80 2023-08-24 01:17:26 +08:00
CismonX a9cbddf0da
chore: remove unused includes 2023-08-24 01:12:12 +08:00
CismonX 5b3a3d7cba
chore: refactor autoconf helper script 2023-08-24 01:11:12 +08:00
CismonX 7504215866
refactor: change header installation path 2023-08-13 21:53:00 +08:00
CismonX 98ce348274
refactor: change engine installation path
Use `pkglibdir` instead of `libdir` as engine library installation
path, since they are considered modules for `arify`.
2023-08-13 21:52:30 +08:00
CismonX c6cd759a8c
chore: update ci script
continuous-integration/drone Build is passing Details
* Install individual packages instead of build-essential
* Add `make dist`
2023-08-06 03:01:09 +08:00
CismonX 430e4e981a
chore: tweak compiler builtins and attibutes
continuous-integration/drone Build is failing Details
* No need to use __attribute__((noreturn))
* Use __builtin_unreachable for debug asserts in non-debug builds
2023-08-06 02:44:15 +08:00
CismonX b3e0bf9566
fix: arif_rime: prevent rime from logging to stderr
continuous-integration/drone Build is passing Details
2023-07-31 08:19:17 +08:00
CismonX ca9098b4df
chore: remove trailing whitespaces 2023-07-28 08:30:25 +08:00
CismonX 8673c8d8e2
chore: update ci script
continuous-integration/drone Build is passing Details
2023-07-26 00:07:55 +08:00
CismonX ac73253a5e
fix: arif_rime: candidate page may be empty 2023-07-26 00:07:01 +08:00
CismonX cbe40a99fe
fix: correct several typos
continuous-integration/drone Build is passing Details
2023-06-30 17:33:30 +08:00
CismonX e1973ef589
fix: arify-cli does not need to link to libarify 2023-06-11 16:46:16 +08:00
CismonX 4c047cc856
fix: correct a typo in man page 2023-06-11 16:45:23 +08:00
CismonX c0cb8c9fde
chore: update ci script 2023-05-09 12:06:14 +08:00
CismonX 8e51ed75c5
chore: add libtool `-module` flag
continuous-integration/drone Build is passing Details
2023-05-02 13:47:54 +08:00
CismonX ed4631b913
fix: allow custom pkgconfigdir
should not assume that ${libdir}/pkgconfig is pkgconfigdir.
2023-04-28 10:05:41 +08:00
CismonX c160c9f47a
fix: add readline flags when building libarify 2023-04-28 10:03:16 +08:00
CismonX 6d0c97895a
feat: hack completion display
always show all candidates as if show-all-if-ambiguous is on
2023-03-13 16:47:50 +08:00
CismonX e3adac852c
chore: change minimum librime version to 1.6
continuous-integration/drone Build is passing Details
2023-02-20 13:51:42 +08:00
CismonX 0b316efb60
chore: update ci script
continuous-integration/drone Build is failing Details
* change runner container image to debian
* build with librime
2023-02-20 13:45:46 +08:00
CismonX 70843c6670
chore: change arif_rime default log level to ERROR 2023-02-20 13:45:32 +08:00
CismonX 787f487b19
chore: minor refactor 2023-02-20 13:44:27 +08:00
CismonX d748d8972e
chore: prepare for Savannah
continuous-integration/drone Build is passing Details
2023-02-12 20:26:45 +08:00