Oliver Hamlet and GitHub
d74d486b1d
Merge pull request #11 from loot/dependabot/cargo/cbindgen-0.19
...
Update cbindgen requirement from 0.18 to 0.19
2021-04-10 10:28:32 +01:00
dependabot[bot] and GitHub
f0b2292188
Update cbindgen requirement from 0.18 to 0.19
...
Updates the requirements on [cbindgen](https://github.com/eqrion/cbindgen ) to permit the latest version.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.18.0...v0.19.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-09 05:39:12 +00:00
Oliver Hamlet
a8aaf3c9e5
Trim .ghost extension from ghosted plugin before regex matching
...
If an installed plugin has a .ghost extension, remove it before trying
to match the filename against the given regex. This makes functions that
take paths and functions that take regexes behave the same way for
ghosted plugins.
2021-04-08 21:03:27 +01:00
Oliver Hamlet
d2db8ed642
Fix ghosted plugin handling
...
- Don't recursively check .ghost file extensions: plugin.esp.ghost.ghost
is not a valid plugin filename.
- Only add a .ghost file extension if the path that does not exist has
an unghosted plugin file extension.
2021-04-08 20:13:51 +01:00
Oliver Hamlet
384b374d7d
Move version module
...
It's only used inside the function module, so move it there.
2021-04-07 22:14:33 +01:00
Oliver Hamlet
5d541f3807
Remove unnecessary no_mangle attributes
2021-03-11 19:54:29 +00:00
Oliver Hamlet
2c8da78912
Merge branch 'not-expressions'
2021-03-09 21:55:12 +00:00
05cf5f0c25
Update cbindgen requirement from 0.17 to 0.18 ( #9 )
...
Updates the requirements on [cbindgen](https://github.com/eqrion/cbindgen ) to permit the latest version.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.17.0...v0.18.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 17:25:07 +00:00
Oliver Hamlet
1a8fb00e5b
Add support for "not (<expression>)" syntax
...
Following a discussion on Discord where their absence lead to combining
not-function conditions and truth tables. It's just easier to invert a
whole expression.
2021-02-13 12:12:44 +00:00
bd41724735
Update cbindgen requirement from 0.16 to 0.17 ( #8 )
...
Updates the requirements on [cbindgen](https://github.com/eqrion/cbindgen ) to permit the latest version.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.16.0...v0.17.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02 17:50:45 +00:00
96690f0b01
Update cbindgen requirement from 0.15 to 0.16 ( #7 )
...
Updates the requirements on [cbindgen](https://github.com/eqrion/cbindgen ) to permit the latest version.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.15.0...v0.16.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-21 19:27:55 +00:00
Oliver Hamlet
0e606e930b
Fix outdated test assertion
2020-12-20 15:09:47 +00:00
ebae951eae
Update nom requirement from 5.0.0 to 6.0.0 ( #6 )
...
Updates the requirements on [nom](https://github.com/Geal/nom ) to permit the latest version.
- [Release notes](https://github.com/Geal/nom/releases )
- [Changelog](https://github.com/Geal/nom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Geal/nom/compare/5.0.0...6.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 18:51:39 +00:00
Oliver Hamlet
2d05577fab
Update versions and changelog for v2.1.2
2.1.2
2020-10-23 23:05:32 +01:00
d6f5390d5e
Update cbindgen requirement from 0.14 to 0.15 ( #5 )
...
Updates the requirements on [cbindgen](https://github.com/eqrion/cbindgen ) to permit the latest version.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.14.0...v0.15.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 19:18:56 +01:00
ea8824eb1f
Update pelite requirement from 0.8.0 to 0.9.0 ( #4 )
...
* Update pelite requirement from 0.8.0 to 0.9.0
Updates the requirements on [pelite](https://github.com/CasualX/pelite ) to permit the latest version.
- [Release notes](https://github.com/CasualX/pelite/releases )
- [Changelog](https://github.com/CasualX/pelite/blob/master/changelog.md )
- [Commits](https://github.com/CasualX/pelite/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Hamlet <oliver.hamlet@gmail.com >
2020-09-07 12:05:00 +01:00
091a2c8883
Create Dependabot config file ( #3 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-28 20:32:27 +01:00
Oliver Hamlet
1ac23d3afd
Migrate CI to GitHub Actions
...
There's nothing wrong with Travis CI, but AppVeyor has started to fail
builds with a toolchain error when they install rustfmt. This is the
second time some kind of toolchain change has broken my builds, so I'm
migrating away from it.
I could have migrated to Travis CI's relatively new Windows support, but
that's still in the early adoption phase according to its own docs, and
I might as well instead move to GitHub's first-party offering. There's
no point then using Travis CI for Linux builds when that can be done on
GitHub Actions too.
2020-07-12 22:39:32 +01:00
Oliver Hamlet
4eb22c1679
Update to Tarpaulin 0.14.2
2020-07-12 08:59:59 +01:00
Oliver Hamlet
5f9a5fb5f0
Switch Travis to Ubuntu 18.04
...
So that the build can use the prebuilt Tarpaulin binary instead of
building and caching it. 18.04 builds apparently start faster too.
2020-07-12 08:59:44 +01:00
Oliver Hamlet
5c78e770ec
Very minor readme update
2020-07-12 08:54:38 +01:00
Oliver Hamlet
7676b66ae8
Remove deps.rs badge
...
It's been broken for a while.
2020-07-12 08:54:04 +01:00
Oliver Hamlet
9ef3aa23d5
Update versions and changelog for v2.1.1
2.1.1
2020-06-13 23:46:36 +01:00
Oliver Hamlet
76b8f0bd86
Fix a couple of clippy lint warnings
2020-06-13 23:21:37 +01:00
Oliver Hamlet
d0bde327c2
Speed up CRC32 calculation
...
It turns out that passing in one byte at a time is really inefficient
(which really should have been obvious...). For small files the
difference is insignificant, but for Skyrim SE's Update.esm (18 MB)
feeding in the buffered file content slice made the calculation twice
as fast, and this seems to have non-linear effect, as the benchmark
against Dragonborn.esm (63 MB) would have taken ~ 1137 seconds to run
when passing one byte at a time (the benchmark using a buffer took ~ 5
seconds).
On top of that, switching to the crc32fast crate has an insignificant
effect on benchmarking with Blank.esm, but Update.esm's benchmark
was twice as fast again, and when benchmarking with Dragonborn.esm,
using crc32fast was ~ 170x faster than using the crc crate!
2020-06-13 23:17:32 +01:00