19 Commits

Author SHA1 Message Date
Simon Hauser
2a5ceff981 chore: remove -Werror from default build command (#145)
close #144
2025-02-11 22:09:31 +01:00
cgwkymt
dae2eac9d9 fix: makefile windows regression, detect MSYS2 (#136) 2024-12-12 17:55:36 +01:00
adrian5
580b6c4865 feat: include environment CFLAGS for make (#97) 2023-02-05 11:11:04 +01:00
Luke Bakken
fab3e2212e fix: makefile windows regression, detect MSYS (#89)
Fixes #88
2022-12-18 09:41:01 +01:00
Tom
ae9d95da9f fix: Makefile is having problems with creating *.dll (#87) 2022-12-02 11:54:30 +01:00
Guoan Tang
6791f74e9f fix: replace MKD command in windows (#81)
Co-authored-by: Guoan Tang <guoantang@microsoft.com>
2022-08-10 21:56:45 +02:00
Simon Hauser
f29725979b chore: refactor code for better readability and some cleanup (#61)
This stuff has breaking changes in the c interface. And i most likely will change more things in the future. But in the end it should lead to a better result.

Take a look at the header for a detailed overview of the changes. Should be straight forward to adapt
2022-02-18 23:27:54 +01:00
Simon Hauser
f917416050 fix: memory leak in get_positions when using or (#59) 2022-02-18 21:36:29 +01:00
Tynan McAuley
90bb28dea2 Set language standard to GNU99 (#35)
This fixes building with older C compilers.

Using GNU99 rather than C99 so that calls to 'typeof()' in the
'examiner' library can work.
2021-08-26 17:45:11 +02:00
Simon Hauser
fe8c8d8cf7 chore: switch to examiner testing framework (#27) 2021-07-06 13:21:31 +02:00
Simon Hauser
f0379f50aa chore: build system windows support + stylua style checker (#25)
Windows users should do a `make clean && make` to cleanup previous things.
A dll file will be build and loaded on windows now (no longer a so file).

I hope that fixes most platform / build system related issues
2021-06-16 10:28:45 +02:00
Ryan Reno
43e391499e fix: changed Makefile to be portable to OpenBSD. (#22) 2021-06-09 09:34:54 +02:00
Simon Hauser
6eadb53003 refactor: unique names for public interface + move more things from header in source file (#15)
Also use `-O3` over `-Ofast` because `-ffast-math` causes issues in combination with gitsigns.nvim
This needs to be investigated in more detail.
2021-05-15 12:47:06 +02:00
Simon Hauser
b6765b49bc refactoring + fixes + more tests (#8)
This includes a lot of things:
- Making types more consistent
- Fixes for get_positions
- Small performance improvement for telescope lua

This will help with further development:
- More c integration tests
- lua tests to validate the bindings
- Small benchmark for c library

Also it turns out that the c library is around 25% faster, tested with the benchmark. (no idea why)
2021-05-02 08:05:40 +02:00
Simon Hauser
44ec78bb43 discard, fixes, cleanup, tests and documentation 2021-04-15 18:46:02 +02:00
Simon Hauser
421eda1da3 smart case and a lot of refactoring 2021-04-14 20:43:26 +02:00
Simon Hauser
a5bab48acf port v2 + ci 2021-04-10 23:45:27 +02:00
Simon Hauser
47a2f79e97 Move stuff to util 2021-04-10 10:05:19 +02:00
Simon Hauser
d5a9c45721 doesn't build, gotta sleep returning soon 2021-04-09 23:29:58 +02:00