Commit Graph

511 Commits

Author SHA1 Message Date
vince 8ceaa152c3 Attempt to see why netlify is failing better 2022-02-21 09:31:27 -05:00
vince 76b0cf4100 Attept to fix the Netlify site error with Python. 2022-02-21 09:26:50 -05:00
Kogia-sima 7ff3979888 Update repository URL 2022-02-19 14:47:00 +09:00
Kogia-sima 63b4a27d6a
Merge pull request #73 from Kogia-sima/dependabot/pip/mkdocs-1.2.3
build(deps): bump mkdocs from 1.1.2 to 1.2.3
2022-02-13 10:28:25 +09:00
dependabot[bot] 31ef56d4de
build(deps): bump mkdocs from 1.1.2 to 1.2.3
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.1.2 to 1.2.3.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.1.2...1.2.3)

---
updated-dependencies:
- dependency-name: mkdocs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 01:16:58 +00:00
Kogia-sima 5171550713 Merge branch 'master' into stable 2022-02-13 10:16:01 +09:00
Kogia-sima 81f7ff370c Update changelog 2022-02-13 10:15:34 +09:00
Kogia-sima bffe6d1aa1 Bump version (0.3.3 => 0.3.4) 2022-02-13 10:15:34 +09:00
Kogia-sima 43ebe1865e Add bump-version.sh 2022-02-13 10:15:34 +09:00
Kogia-sima 02793d7b78 Add license to vim script 2022-02-13 10:15:34 +09:00
Kogia-sima 59fe11b801 Remove dependency counts badge from README 2022-02-13 10:15:34 +09:00
Kogia-sima e8dc2b5773 Bump dependency versions 2022-02-13 10:15:18 +09:00
Tom 6172cd0dcc Change config file format from YAML to TOML and add support for embedding environment variables in the config file 2021-05-01 06:39:38 +02:00
Kogia-sima 5618884ae8 Merge branch 'master' into stable 2021-04-06 21:54:37 +09:00
Kogia-sima 6ea0ae2fad Update changelog 2021-04-06 21:53:58 +09:00
Kogia-sima 8fc70c39fa Bump version (0.3.2 => 0.3.3) 2021-04-06 21:52:20 +09:00
Kogia-sima 8832b7e2c6 test: Tests for missing semicolon in code block (9bf4090) 2021-04-06 21:50:40 +09:00
Kogia-sima 9bf4090468 Better error reporting for missing semicolon in code clock
cc #33 #53
2021-04-06 21:50:20 +09:00
Kogia-sima f0ef8e409a Update compile error test 2021-04-06 21:48:46 +09:00
Kogia-sima 62b13b1b8d Fix package description 2021-04-06 20:46:46 +09:00
Kogia-sima 7c555d6905 Bump proc-macro2 (1.0.24 => 1.0.26) 2021-04-06 20:42:35 +09:00
Kogia-sima 6b75787169 Merge branch 'release/v0.3.2' 2021-03-29 08:51:00 +09:00
Kogia-sima b61ca07056 Merge branch 'release/v0.3.2' into stable2 2021-03-29 08:49:41 +09:00
Kogia-sima b3f71d8a27 Update Changelog 2021-03-29 08:47:01 +09:00
Kogia-sima 2df4bd1d2d Bump version (0.3.1 => 0.3.2) 2021-03-29 08:47:01 +09:00
Kogia-sima 2aa09d127d Update pretty_assertions 2021-03-29 08:46:49 +09:00
Kogia-sima a88aacbc9e perf: improve buffer performance
* Use reserve_small in push_str method
* revert 47818c1 to avoid unnecessary reloading of length
2021-03-29 08:19:13 +09:00
Kogia-sima 77b37aac63 Update itoa (v0.1.0 => v1.0.0) 2021-02-19 01:53:09 +09:00
Kogia-sima 1857aeae20 Fix incorrect htmlError highlighting for vim
cc #56
2021-02-14 00:44:38 +09:00
Kogia-sima c9e6449292 Add analyzer.rs
cc #53
2021-02-04 03:11:17 +09:00
Kogia-sima 2cc9556dbe test: Improve `template_not_found` test to detect stable/nightly mismatch error
cc #50
2021-02-03 15:58:51 +09:00
Kogia-sima 10ab29be85 Prefer using scope guard for `fallback::unforce()`
This scope guard ensure that `fallback::unforce()` will be called even
if the program panics during compilation.
2021-02-03 15:52:14 +09:00
Kogia-sima 5e12280df1 Fix stable/nightly mismatch error cause by proc-macro2
fix #50
2021-02-03 02:56:15 +09:00
Kogia-sima 5c5c57f437 test: Add tests for missing tempaltes
cc #50
2021-02-03 00:52:21 +09:00
Kogia-sima 47818c11b7 perf: Use same reallocation strategy as Vec
This change seems to improve performance on some benchmarks (e.g.
techempower), but causes performance regression on another benchmark. We
need to measure performance using more test cases.
2021-02-03 00:50:24 +09:00
Kogia-sima 67f49bdd18 Avoid calling custom memcpy implementation on some platforms
Custom memcpy implementation performs well on the platforms on which
unaligned read/write operation is fast. Otherwise we should use libc
implementation.
2021-01-25 19:54:58 +09:00
Kogia-sima c226f4bb7f Merge branch 'master' into stable 2021-01-23 19:29:03 +09:00
Kogia-sima 5209876df4 Bump version (0.3.0 => 0.3.1) 2021-01-23 19:27:25 +09:00
Kogia-sima de27f64d36
Merge pull request #47 from Kogia-sima/fix/incorrect-fingerprints/46
Workaround for incorrect cargo fingerprints
2021-01-23 19:24:26 +09:00
Kogia-sima 7bab7ac0a5 fix: Workaround for incorrect cargo fingerprints
Note: This is a silly hack to prevent temporary artifacts to be tracked
by cargo. This behaviour depends on cargo's internal implementation, and
thus this workaround may suddenly stop working in the future. Another
better option should be considered.
2021-01-23 19:09:54 +09:00
Kogia-sima 000e971fa3 refactor: Use `inline` instead of `inline(always)` 2021-01-11 17:23:23 +09:00
Kogia-sima 30f42f1b46 refactor: Implement faster `render_escaped` method for upper filter 2021-01-11 17:23:23 +09:00
Kogia-sima 7705d7945c doc: Update descriptions in `features` section 2021-01-05 20:30:41 +09:00
Kogia-sima df5b0a935a
Add deps.rs badge 2021-01-05 05:28:53 +09:00
Kogia-sima 45d8b6651d doc: improve the overall look of the document 2021-01-03 18:00:29 +09:00
Kogia-sima 8584fa5ca7 ci: Limit Badges job execution 2021-01-02 03:27:46 +09:00
Kogia-sima 816a7e5e43 Add stale.yml 2021-01-02 03:20:24 +09:00
Kogia-sima 7b49d01c94 doc: Add MSRV badge 2021-01-02 02:26:41 +09:00
Kogia-sima c35912fd4a Merge branch 'ci/dynamic-badge' 2021-01-02 02:16:48 +09:00
Kogia-sima 6f3a9b1286 ci: Finalize Badges action 2021-01-02 02:15:49 +09:00
Kogia-sima 1f33339538 ci: Fix workflow 2021-01-02 02:11:01 +09:00
Kogia-sima 93298c704f Add Dependency-Counts badge in README 2021-01-02 02:05:01 +09:00
Kogia-sima 716951469d ci: Add GitHub Job to create badge for dependency counts 2021-01-02 02:02:29 +09:00
Kogia-sima e68f7511b5 Add script for count dependencies 2021-01-02 02:02:09 +09:00
Kogia-sima 5d2f76f40b doc: Fix CSS configuration 2021-01-01 20:19:01 +09:00
Kogia-sima 98e3a882d5 doc: Add custom CSS 2021-01-01 19:31:07 +09:00
Kogia-sima 5f49f7f938 doc: Update installation section in documents 2021-01-01 19:08:24 +09:00
Kogia-sima f113734981 doc: Fix typo 2021-01-01 18:21:39 +09:00
Kogia-sima ace4d1710c Add codecov.yml 2020-12-30 03:26:24 +09:00
Kogia-sima e72314885b Update rust-covfix 2020-12-30 01:55:51 +09:00
Kogia-sima 8f79cbc61c ci: Fix coverage job in GitHub Actions 2020-12-30 00:02:29 +09:00
Kogia-sima e69d36b168 refactor: clippy fix 2020-12-29 16:53:46 +09:00
Kogia-sima 25fed05519 test: improve test coverage for runtime 2020-12-29 04:51:08 +09:00
Kogia-sima 3fc5c8bc77 Merge branch 'ci/codecov' 2020-12-29 03:47:20 +09:00
Kogia-sima adf6c68aea ci: Split tasks into multiple files
* test.yml => test.yml + coverage.yml
2020-12-29 03:40:41 +09:00
Kogia-sima 62ebfa21ba ci: Remove linux x86-64 nightly test from CI
This platform is tested in coverage task
2020-12-29 03:30:00 +09:00
Kogia-sima bcc06ce8d7 ci: Add coverage task for GitHub Actions 2020-12-29 03:27:58 +09:00
Kogia-sima d07afad79b test: temporarily disable translator test
Currently the translator test cause unexpected error with "-Zprofile"
flag for unknown reason.
2020-12-29 03:24:59 +09:00
Kogia-sima 2d6b29da6f test: Add more tests 2020-12-29 01:32:56 +09:00
Kogia-sima 6c2ef0deae test: simplify filter tests 2020-12-28 22:44:36 +09:00
Kogia-sima 46fa250c49 feat: allow unsized types for filters 2020-12-28 22:33:49 +09:00
Kogia-sima 28ca4e2959 doc: fix examples in doc comments 2020-12-28 21:28:53 +09:00
Kogia-sima dece98d957 doc: update documents 2020-12-25 13:21:56 +09:00
Kogia-sima 92c8f8a852 refactor: remove unused code 2020-12-24 17:41:51 +09:00
Kogia-sima 348a3825f2 perf: join after loop-optimization 2020-12-24 17:22:11 +09:00
Kogia-sima 1128fda3d3 doc: fix example in README 2020-12-24 15:53:35 +09:00
Kogia-sima 3ee7d06024 refactor: fmt 2020-12-24 15:50:26 +09:00
Kogia-sima 5ae43eee4e Update changelog 2020-12-24 15:50:12 +09:00
Kogia-sima dca8048bd0 perf: Do not compile runtime feature detection on avx2
This feature detection may avoid inlining avx2::escape function
2020-12-24 15:06:01 +09:00
Kogia-sima 54f77cc25a Add debug_assert for Buffer::_set_len 2020-12-24 15:00:19 +09:00
Kogia-sima 2a42841f3e Remove tests for Big Table/Teams benchmark
These benchmarks is distributed under "NO LICENSE", so including this
these benchmarks are not permitted
2020-12-23 22:40:55 +09:00
Kogia-sima 6b0d67cd49 Add THIRD_PARTY 2020-12-23 22:39:31 +09:00
Kogia-sima d127eba2ee fix: Fix compilation issue with Cow<'a, str> 2020-12-21 17:02:32 +09:00
Kogia-sima 0b8a19f5cc doc: no longer requires `extern crate sailfish_macros` 2020-12-20 22:24:31 +09:00
Kogia-sima aae9caf215 Merge branch 'master' into stable 2020-12-20 22:16:55 +09:00
Kogia-sima 1df0657350 Bump version (0.2.3 => 0.3.0) 2020-12-20 22:16:25 +09:00
Kogia-sima 034e7dad45 fix: Fix compilation error due to missing docs 2020-12-20 22:11:13 +09:00
Kogia-sima 8deecff5fe break: change RenderError into enum 2020-12-20 21:55:55 +09:00
Kogia-sima b58a51a1ae doc: deny missing docs 2020-12-20 21:23:47 +09:00
Kogia-sima b6e0f145fa doc: Examples for filters 2020-12-20 21:23:47 +09:00
Kogia-sima bbb16e0e14 perf: New size hint strategy 2020-12-20 20:21:18 +09:00
Kogia-sima f236a98fed perf: reduce memcpy call in HTML escaping 2020-12-20 19:33:13 +09:00
Kogia-sima 36281a7da6 doc: doc comments for buffer methods 2020-12-20 18:23:32 +09:00
Kogia-sima 08ac211645 doc: Update README
- update features
- update roadmap
2020-12-20 16:31:17 +09:00
Kogia-sima 8cc19b72b8 doc: Document unsafety of Render trait 2020-12-20 16:31:04 +09:00
Kogia-sima 5ceb904f19 fix: Fix unsoundness issue on truncate filter
old implementation of truncate filter is unsound because it may calls
Buffer::set_len() for the index which does not on the char boundary when
buffer sized decreased.
2020-12-20 16:07:06 +09:00
Kogia-sima 7a6b164e9e fix: Remove unsafe usage of ptr::add()
offset passed to add() method must not overflow isize::MAX
2020-12-20 12:16:45 +09:00
Kogia-sima c4b4820213 Fix installation of multilib 2020-12-19 23:49:33 +09:00
Kogia-sima 8de885a4cf fix: Remove incorrect debug_assert 2020-12-19 21:45:26 +09:00
Kogia-sima e1d7c388f5 perf: branch hint in Buffer::reserve 2020-12-19 21:07:09 +09:00