Commit Graph

84 Commits

Author SHA1 Message Date
Pascal Kuthe
c7893db4b4
fix Unicode substring match requiring exact match 2023-12-22 20:04:20 +01:00
Pascal Kuthe
4a04baf6ba
fixup benchmark 2023-12-22 19:47:10 +01:00
Pascal Kuthe
2a0fe11e39
release version 0.3.0 2023-12-22 19:44:50 +01:00
Pascal Kuthe
13853d81be
fixup release date 2023-12-22 19:40:04 +01:00
Pascal Kuthe
34553f009d
fix substring matching Unicode haystacks (#34) 2023-12-22 19:32:42 +01:00
Pascal Kuthe
1edf451192
Correctly handle normalization in pattern API 2023-12-22 19:31:34 +01:00
Riccardo Mazzarini
b41c989daf
fix short circuiting logic when doing exact matches (#32)
* fix short circuiting logic in the `exact` module

* add tests for single char needles

* add bugfix to the CHANGELOG
2023-12-17 17:27:10 +01:00
a-kenji
abf7454f4b
Fix small typo (#31) 2023-11-01 16:02:13 +01:00
blinxen
e86f523e33
Fix file name and excluded no needed files in Cargo.toml (#30)
* Fix typo in file name

* Exclude files that don't need to be published on crates.io
2023-10-20 19:12:32 +02:00
Pascal Kuthe
74d789c8e3
Merge pull request #28 from blinxen/master 2023-10-15 22:22:27 +02:00
Pascal Kuthe
831f502df3
Merge pull request #29 from blinxen/remove-unused-dep 2023-10-15 22:13:08 +02:00
blinxen
9454f25325 Fix linter errors 2023-10-15 20:46:27 +02:00
blinxen
dfb9c997d3 Remove unused dependency 2023-10-15 20:15:20 +02:00
blinxen
b52199cd75 Symlink license file in subcrate
The published crate on crates.io does not contain a license file
This is required for Fedora packaging (and probably other distributions)
2023-10-15 20:05:05 +02:00
a-kenji
89e32f915e
fix typos in documentation (#27) 2023-09-30 18:40:04 +02:00
Knut Aldrin
8992c5c787
fix typo in readme (#25) 2023-09-10 23:33:37 +02:00
Tudyx
2abe133a94
add typos-rs to ci (#24) 2023-09-10 21:54:40 +02:00
Pascal Kuthe
9e413c76b9
release version 0.2.1 2023-09-02 14:57:09 +02:00
Pascal Kuthe
323a6973ba
ensure that the matcher runs on the first tick
In the past the matcher was only started on the first tick but
nulceo did not wait for its result, so it always looked like the matcher
timed out.

Nulceo already correctly handles this case in case the pattern changes
or the item list was cleared, so we just had to set `cleared` to `true`
when the `Nucleo` instance is created.
2023-09-02 14:53:09 +02:00
Pascal Kuthe
68fee4609e
Update README.md 2023-08-31 02:00:46 +02:00
Pascal Kuthe
e2e0f69aa8
allow direct access to column pattern 2023-08-29 15:11:27 +02:00
Pascal Kuthe
8b22bc28cb
feature gate unicode support in nucleo-matcher 2023-08-29 15:01:17 +02:00
Pascal Kuthe
2de732889f
Merge pull request #16 from helix-editor/release_nucleo_matcher
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-08-29 00:21:07 +02:00
Pascal Kuthe
20bf02f0ac
Prepare for 0.2 release
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-08-29 00:17:04 +02:00
Pascal Kuthe
de844d6ace
move pattern API to nucleo-matcher 2023-08-28 02:56:08 +02:00
Pascal Kuthe
3e48c9f1ee
fix clippy lint 2023-08-28 01:51:23 +02:00
Pascal Kuthe
648dec1ceb
move Utf32String to nucleo-matcher 2023-08-28 01:51:23 +02:00
Pascal Kuthe
14014ed883
reformat with rustfmt 1.71 2023-08-28 01:51:22 +02:00
Pascal Kuthe
b38fdfa8d7
add option to prefer prefix matches 2023-08-28 01:51:20 +02:00
Pascal Kuthe
f18c19cd53
fix sort order of literal matcher (#13) 2023-08-21 01:02:53 +02:00
Ivan Enderlin
685e699bc5
doc: Fix misspelling of nucleo (#11) 2023-08-16 15:43:22 +02:00
Pascal Kuthe
272f2bc971
publish temporary release to crates.io 2023-08-11 18:31:14 +02:00
Poliorcetics
7476504978
Move reset to seperate function (#10) 2023-08-11 18:25:00 +02:00
Pascal Kuthe
9c4b71027f
fix scoring of new items 2023-08-08 17:32:29 +02:00
Pascal Kuthe
1756e47f44
Optimize rayon iterator usage to avoid allocation 2023-08-08 00:07:42 +02:00
Pascal Kuthe
3abe7b4c02
fix negative matches 2023-08-08 00:06:49 +02:00
Pascal Kuthe
a2b0491fad
remove unused file 2023-08-06 20:48:51 +02:00
Pascal Kuthe
ca9ffd9cb0
fix high leverl helper method 2023-08-06 20:18:55 +02:00
Pascal Kuthe
1aafe89a16
fix typos 2023-08-06 20:15:56 +02:00
Pascal Kuthe
b9ac6c9a20
correctly handle empty patterns in utility fuction 2023-08-06 20:01:02 +02:00
Pascal Kuthe
4fc0281dd7
correctly handle empty strings and strip leading and trailing whitespace 2023-08-06 19:59:28 +02:00
Pascal Kuthe
6b08991fac
test pattrn parsing and fix edgecases 2023-08-06 14:43:56 +02:00
Pascal Kuthe
bb0b5f8726
fix negative matching 2023-08-06 13:32:32 +02:00
Pascal Kuthe
ccacf9798c
cleanup memory ordering 2023-08-06 03:44:19 +02:00
Pascal Kuthe
d500fb90dd
fix sorting 2023-08-06 03:36:45 +02:00
Pascal Kuthe
6127ab86a3
Encode matcher state as snapshots
The matcher updates its state on every ticker, however thanks to timouts
in the tick function the input and the output state may missmatch. To
make this clearer (and fix some related bugs around restarting/clearing
the items) the current state (like items) is only exposed as a snapshot
now.
2023-08-06 02:02:11 +02:00
Pascal Kuthe
093ecafb01
Merge pull request #4 from helix-editor/typos
Fix typos and removed unused files
2023-08-05 18:31:41 +02:00
Michael Davis
f73a1988f2
Remove unused modules/files 2023-08-05 10:33:17 -05:00
Michael Davis
b4f547b0f4
Fix typos 2023-08-05 10:33:17 -05:00
Pascal Kuthe
e774ca23b8
Merge pull request #2 from helix-editor/ghaci
Add a CI workflow
2023-08-04 19:29:23 +02:00