| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-05-21 | Satisfy tidy | Oliver Schneider | -2/+2 | |
| 2018-05-21 | Improve the diagnostic around impl Trait <-> generic param mismatch | Oliver Schneider | -0/+72 | |
| 2018-03-18 | CodeMap functions refactored. | Yukio Siraichi | -50/+38 | |
| - Using `span_take_while` to implement others. | ||||
| 2018-03-18 | Review fixes. | Yukio Siraichi | -0/+16 | |
| - `span_suggestion` changed to `span_suggestion_short`; - `Span` used changed to contain only `&` refs; - Tests passing. | ||||
| 2018-03-17 | Auto merge of #48904 - Zoxc:code-and-file-maps, r=michaelwoerister | bors | -38/+40 | |
| Make CodeMap and FileMap thread-safe r? @michaelwoerister | ||||
| 2018-03-15 | Use a single Lock for CodeMap.stable_id_to_filemap and CodeMap.files | John Kåre Alsaker | -24/+31 | |
| 2018-03-15 | Make CodeMap thread-safe | John Kåre Alsaker | -22/+17 | |
| 2018-03-15 | Require a thread-safe file loader | John Kåre Alsaker | -2/+2 | |
| 2018-03-14 | Some tweaks to "type parameters from outer function" diagnostic | Esteban Küber | -7/+15 | |
| Follow up to #47574. | ||||
| 2018-03-08 | Add codemap functions to retrieve the source before a given span | Basile Desloges | -3/+63 | |
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -17/+17 | |
| 2018-03-01 | Rollup merge of #48522 - ↵ | Manish Goregaokar | -8/+11 | |
| etaoins:fix-find-width-of-character-at-span-bounds-check, r=estebank Fix find_width_of_character_at_span bounds check Commit 0bd96671f0 added bounds checking of our current target byte position to prevent infinite loops. Unfortunately it was comparing the file-relative `target` versus the global `file_start_pos` and `file_end_pos`. The result is failing to detect multibyte characters unless their file-relative offset fit within their global offset. This causes other parts of the compiler to generate spans pointing to the middle of a multibyte character which will ultimately panic in `bytepos_to_file_charpos`. Fix by comparing the `target` to the total file size when moving forward and doing checked subtraction when moving backwards. This should preserve the intent of the bounds check while removing the offset confusion. cc @davidtwco Fixes #48508 | ||||
| 2018-02-25 | Fix find_width_of_character_at_span bounds check | Ryan Cumming | -8/+11 | |
| Commit 0bd96671f0 added bounds checking of our current target byte position to prevent infinite loops. Unfortunately it was comparing the file-relative `target` versus the global relative `file_start_pos` and `file_end_pos`. The result is failing to detect multibyte characters unless their file-relative offset fit within their global offset. This causes other parts of the compiler to generate spans pointing to the middle of a multibyte character which will ultimately panic in `bytepos_to_file_charpos`. Fix by comparing the `target` to the total file size when moving forward and doing checked subtraction when moving backwards. This should preserve the intent of the bounds check while removing the offset confusion. Fixes #48508 | ||||
| 2018-02-22 | Implement --remap-path-prefix | Jeremy Fitzhardinge | -1/+1 | |
| Remove experimental -Zremap-path-prefix-from/to, and replace it with the stabilized --remap-path-prefix=from=to variant. This is an implementation for issue of #41555. | ||||
| 2018-02-16 | Remove unneeded string allocations | Alex Crawford | -4/+4 | |
| 2018-02-12 | Remove allocation from width of character function. | Mark Simulacrum | -3/+5 | |
| 2018-02-02 | Auto merge of #47465 - estebank:include-space-after-mut, r=nikomatsakis | bors | -2/+24 | |
| Include space in suggestion `mut` in bindings Fix #46614. | ||||
| 2018-02-01 | Change offset to `0` | Esteban Küber | -1/+1 | |
| 2018-01-27 | Fixed infinite loop issues and added some improved logging. | David Wood | -6/+20 | |
| 2018-01-27 | Now handling case where span has same lo and hi. | David Wood | -1/+6 | |
| 2018-01-27 | next_point now handles creating spans over multibyte characters. | David Wood | -5/+9 | |
| 2018-01-27 | Replaced multi-byte character handling in end_point with potentially more ↵ | David Wood | -23/+59 | |
| performant variant. | ||||
| 2018-01-27 | end_point handling multibyte characters correctly. | David Wood | -0/+37 | |
| 2018-01-26 | review comment | Esteban Küber | -6/+4 | |
| 2018-01-26 | Consider all whitespace when preparing span | Esteban Küber | -2/+26 | |
| 2018-01-10 | Use correct line offsets for doctests (fixes #45868) | Manish Goregaokar | -1/+35 | |
| 2018-01-01 | Fix docs for future pulldown migration | Malo Jaffré | -0/+1 | |
| 2017-12-25 | "incompatible arm" diagnostic span tweak | Esteban Küber | -0/+6 | |
| Use span label instead of span note for single line spans in "incompatible arm" diagnostic. | ||||
| 2017-12-19 | incr.comp.: Precompute small hash for filenames to save some work. | Michael Woerister | -0/+2 | |
| 2017-12-15 | incr.comp.: Revert hashing optimization that caused regression. | Michael Woerister | -4/+22 | |
| 2017-12-14 | incr.comp.: Do less hashing per Span. | Michael Woerister | -22/+4 | |
| 2017-12-14 | Use PathBuf instead of String where applicable | Oliver Schneider | -33/+41 | |
| 2017-12-02 | Auto merge of #46381 - estebank:expected-span, r=nikomatsakis | bors | -1/+1 | |
| Point to next token when it is in the expected line r? @nikomatsakis | ||||
| 2017-12-01 | incr.comp.: Store Spans as (file,line,col,length) in incr.comp. cache. | Michael Woerister | -1/+1 | |
| The previous method ran into problems because ICH would treat Spans as (file,line,col) but the cache contained byte offsets and its possible for the latter to change while the former stayed stable. | ||||
| 2017-11-29 | Point to next token when it is in the expected line | Esteban Küber | -1/+1 | |
| 2017-11-03 | Display spans correctly when there are non-half-width characters | Wonwoo Choi | -2/+40 | |
| 2017-10-25 | incr.comp.: Implement query diagnostic persistence. | Michael Woerister | -0/+37 | |
| 2017-10-16 | code suggestion for non-shorthand field patterns lint | Zack M. Davis | -0/+11 | |
| We also edit the lint description to clarify that this is different from the struct field init shorthand. | ||||
| 2017-10-03 | Rename FileMap::path and change to an Option | Philip Craig | -6/+12 | |
| 2017-09-30 | Don't use remapped path when loading modules and include files | Philip Craig | -2/+14 | |
| 2017-08-30 | Make fields of `Span` private | Vadim Petrochenkov | -33/+27 | |
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -14/+14 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-08-12 | Fix some typos | Bastien Orivel | -2/+2 | |
| 2017-08-01 | syntax: avoid loading the same source-file multiple times | Ariel Ben-Yehuda | -2/+3 | |
| We already had a cache for file contents, but we read the source-file before testing the cache, causing obvious slowness, so this just avoids loading the source-file when the cache already has the contents. | ||||
| 2017-06-12 | External spans: added lazy source loading elsewhere | Inokentiy Babushkin | -24/+25 | |
| * In other places where the `src` member of a file map is accessed, we now load and possibly work with external source as well. | ||||
| 2017-06-12 | External spans: address review. | Inokentiy Babushkin | -13/+3 | |
| * The lazy loading mechanism has been moved to a more appropriate place. * Return values from the functions invoked there are properly used. * Documentation has gotten some minor improvements. * Possibly some larger restructuring will need to take place still. | ||||
| 2017-06-11 | External spans: fixed unit tests and addressed review. | Inokentiy Babushkin | -3/+4 | |
| 2017-06-11 | Added hash verification to external source loading. | Inokentiy Babushkin | -7/+2 | |
| 2017-06-11 | Improved lazy external source loading and inserted calls. | Inokentiy Babushkin | -1/+1 | |
| 2017-06-10 | Added external crates' sources to FileMap. | Inokentiy Babushkin | -0/+20 | |
| They are now handled in their own member to prevent mutating access to the `src` member. This way, we can safely load external sources, while keeping the mutation of local source strings off-limits. | ||||
