bors[bot]
d552f59c8b
Merge #266
...
266: Publish 0.17.0-pre.1 r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-05-29 18:19:39 +00:00
Aleksey Kladov
a84ee62bd1
Publish 0.17.0-pre.1
...
- new cancellation API #265
2021-05-29 20:57:48 +03:00
bors[bot]
b54dc63f87
Merge #262
...
262: RFC: Opinionated cancelation r=nikomatsakis a=nikomatsakis
@matklad and @jonas-schievink have been discussing a fresh take on salsa that builds on the experience we've gained with it, and one of the first simple steps we wanted to take was to make a more opinionated cancelation model. This is a write-up.
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2021-05-28 00:25:50 +00:00
Niko Matsakis
67207d8d0d
update with links to implementation
2021-05-27 20:24:38 -04:00
bors[bot]
e17e77c4e9
Merge #265
...
265: Implement "opinionated cancellation" r=nikomatsakis a=jonas-schievink
This implements the design described in RFC https://github.com/salsa-rs/salsa/pull/262 .
Currently, the `in_par_get_set_cancellation` test is failing. I'm not completely sure what it is trying to test (the comment on the test does not match its behavior), so I couldn't fix it.
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2021-05-27 12:30:18 +00:00
Jonas Schievink
b9fc82969f
Mention that salsa_event
should be used instead
2021-05-27 14:23:30 +02:00
Jonas Schievink
458266e1cd
Move unwind_if_cancelled
to Database
2021-05-25 15:34:57 +02:00
Jonas Schievink
1fb660c33e
Use the more common spelling of cancell{ed,ation}
2021-05-25 15:08:23 +02:00
Jonas Schievink
f9cb032568
Fix "frozen" test
2021-05-25 14:55:38 +02:00
Jonas Schievink
018658b450
Explain why we don't duplicate panics from other threads
2021-05-19 18:32:16 +02:00
Jonas Schievink
bb4b42acf1
Retain original import style
2021-05-18 16:08:43 +02:00
Jonas Schievink
223f87bb18
Canonicalize to US spelling of "cancelation"
2021-05-18 15:36:43 +02:00
Jonas Schievink
877d3f20d1
Remove on_propagated_panic
2021-05-18 15:20:13 +02:00
Jonas Schievink
5ac74aba04
Add a cancelation check callback to the runtime
2021-05-18 15:20:13 +02:00
Jonas Schievink
49a1184bcf
Improve Canceled
API
2021-05-18 14:41:45 +02:00
bors[bot]
b3cb3c42f2
Merge #264
...
264: Fix book workflow r=matklad a=mbrobbel
Removes the [deprecated](https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ ) `add-path` command and bumps the versions.
Co-authored-by: Matthijs Brobbel <m1brobbel@gmail.com>
2021-05-17 17:40:16 +00:00
Jonas Schievink
197b01fa4b
Implement "opinionated cancellation"
2021-05-17 18:59:28 +02:00
Matthijs Brobbel
2e590fd3e4
Fix book workflow
2021-05-16 21:58:24 +02:00
bors[bot]
4c57706765
Merge #263
...
263: remove some unneeded lifetime parameters r=nikomatsakis a=nikomatsakis
Makes the compiler example read better.
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2021-05-15 14:58:20 +00:00
Niko Matsakis
08cc09f7e3
nits, sp
2021-05-15 09:35:09 -04:00
Niko Matsakis
a557013514
remove some unneeded lifetime parameters
...
Makes the compiler example read better.
2021-05-15 09:28:24 -04:00
Niko Matsakis
be39f5d870
Apply suggestions from code review
...
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-05-15 09:26:28 -04:00
Niko Matsakis
54e092b984
fix title
2021-05-15 06:07:02 -04:00
Niko Matsakis
2b8ee2043d
add RFC: Opinionated cancelation
2021-05-15 05:46:34 -04:00
bors[bot]
9a17f01d1b
Merge #261
...
261: modify RFC template to use FAQ format r=nikomatsakis a=nikomatsakis
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2021-05-15 09:28:54 +00:00
Niko Matsakis
ecf693e481
modify RFC template to use FAQ format
2021-05-15 05:28:02 -04:00
bors[bot]
47d409937f
Merge #260
...
260: Include user-readable query keys in cycle errors r=nikomatsakis a=jonas-schievink
Previous output:
```
---- nameres::tests::macros::unexpanded_macro_should_expand_by_fixedpoint_loop stdout ----
thread 'nameres::tests::macros::unexpanded_macro_should_expand_by_fixedpoint_loop' panicked at 'Internal error, cycle detected:
DatabaseKeyIndex { group_index: 2, query_index: 11, key_index: 1 }
', /home/jonas/.cargo/registry/src/github.com-1ecc6299db9ec823/salsa-0.16.1/src/lib.rs:490:48
```
Output after this PR:
```
---- nameres::tests::macros::unexpanded_macro_should_expand_by_fixedpoint_loop stdout ----
thread 'nameres::tests::macros::unexpanded_macro_should_expand_by_fixedpoint_loop' panicked at 'Internal error, cycle detected:
hygiene_frame(HirFileId(MacroFile(MacroFile { macro_call_id: LazyMacro(LazyMacroId(0)) })))
', /home/jonas/dev/salsa/src/lib.rs:492:35
```
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2021-05-15 09:03:36 +00:00
Niko Matsakis
6eca1641eb
Merge pull request #247 from ChristopherBiscardi/on-demand-example
...
update on_demand_inputs invalidation
2021-05-15 04:55:37 -04:00
Aleksey Kladov
a7d59dc610
fix the name of the job for bors
2021-05-09 16:44:27 +03:00
Aleksey Kladov
10ecabf5d8
run CI on bors branches
2021-05-08 00:40:09 +03:00
Aleksey Kladov
6b728a4a50
use bors for not rocket science rule
2021-05-08 00:12:18 +03:00
Jonas Schievink
08c7a6bd63
Include user-readable query keys in cycle errors
2021-05-06 19:56:05 +02:00
Aleksey Kladov
e3313ff995
Publish v0.16.1
...
- #259 salsa's `debug!` logs now include query dependencies in
human-readable format, which helps with debugging unwanted
dependencies.
2021-05-05 18:32:23 +03:00
Aleksey Kladov
b5683fec5e
Merge pull request #259 from jonas-schievink/debug-query-deps
...
Log `MemoInputs` in human-readable form
2021-05-05 18:31:52 +03:00
Jonas Schievink
dae31a9bb7
Log MemoInputs
in human-readable form
2021-05-05 15:34:58 +02:00
Christopher Biscardi
c17778e358
add links
2020-11-01 12:23:17 -08:00
Aleksey Kladov
789cf5e99b
Merge pull request #251 from matklad/16
...
Publish v0.16.0
2020-10-14 12:36:19 +02:00
Aleksey Kladov
9e6adc9900
Publish v0.16.0
...
- #242 allow `dyn Database` to be non-'static
- #248 allow using borrowed keys for invalidation
- #250 upgrade crossbeam_utils
2020-10-14 12:33:39 +02:00
Aleksey Kladov
6b96a1e22f
Leverage Cargo defaults
2020-10-14 12:29:29 +02:00
Aleksey Kladov
1917a2a37b
Pubish 0.15.3
2020-10-13 17:24:58 +02:00
Aleksey Kladov
15e5fa0112
⬆️ crossbeam-utils
2020-10-13 17:24:58 +02:00
Andrew Hickman
b275d36adf
Allow using a borrowed key in DerivedQueryStorageOps::invalidate
2020-09-24 14:35:52 +03:00
Christopher Biscardi
5c1ebc22af
update on_demand_inputs invalidation
2020-09-13 00:17:39 -07:00
Niko Matsakis
2e2239a307
Merge pull request #242 from Marwes/lift_static_restriction
...
feat: Allow the dynamic db to be non-static
2020-09-09 10:52:50 -04:00
Aleksey Kladov
590c037323
Release v0.15.2
...
* #243 , better error message from proc macro
* #240 , purge method for cleaning the database completely
2020-08-05 13:55:12 +02:00
Niko Matsakis
2084b99ba4
Merge pull request #240 from matklad/purge
...
Add purge method
2020-07-31 14:17:00 -04:00
Niko Matsakis
543beebb8f
Merge pull request #243 from Kixiron/less-panics
...
Made proc-macros panic less
2020-07-31 14:16:40 -04:00
Aleksey Kladov
a760f9e3c9
Release v0.15.1
...
- replace `rand` with `oorandom` (#241 )
2020-07-29 19:25:13 +02:00
Niko Matsakis
2e5b841405
Merge pull request #241 from matklad/oorandom
...
Switch from rand to oorandom
2020-07-29 12:11:46 -04:00
Chase Wilson
78b32d69da
Made proc-macros panic less
...
Replaced the panics in query_group with syn errors for better user feedback and experience
2020-07-25 14:38:13 -05:00