| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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. | ||||
| 2017-06-10 | Moved FileMap construction to it's own constructor. | Inokentiy Babushkin | -27/+3 | |
| The rationale is that BOM stripping is needed for lazy source loading for external crates, and duplication can be avoided by moving the corresponding functionality to libsyntax_pos. | ||||
| 2017-06-10 | Added source hashes to FileMap | Inokentiy Babushkin | -0/+10 | |
| We can use these to perform lazy loading of source files belonging to external crates. That way we will be able to show the source code of external spans that have been translated. | ||||
| 2017-05-31 | Use callsite's span for macro calls on suggestion | Esteban Küber | -0/+9 | |
| When suggesting an appropriate mutability for a macro call, use the call span instead of the expanded macro's span. | ||||
| 2017-05-23 | incr.comp.: Track expanded spans instead of FileMaps. | Michael Woerister | -28/+0 | |
| 2017-05-12 | Fix some clippy warnings in libsyntax | Andre Bogus | -2/+2 | |
| This is mostly removing stray ampersands, needless returns and lifetimes. | ||||
| 2017-05-08 | incr.comp.: Hash more pieces of crate metadata to detect changes there. | Michael Woerister | -4/+39 | |
| 2017-04-26 | Implement a file-path remapping feature in support of debuginfo and ↵ | Michael Woerister | -32/+69 | |
| reproducible builds. | ||||
| 2017-04-12 | Add a way to get shorter spans until `char` for pointing at defs | Esteban Küber | -0/+19 | |
| ```rust error[E0072]: recursive type `X` has infinite size --> file.rs:10:1 | 10 | struct X { | ^^^^^^^^ recursive type has infinite size | = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `X` representable ``` vs ```rust error[E0072]: recursive type `X` has infinite size --> file.rs:10:1 | 10 | struct X { | _^ starting here... 11 | | x: X, 12 | | } | |_^ ...ending here: recursive type has infinite size | = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `X` representable ``` | ||||
| 2017-03-29 | Refactor how spans are combined in the parser. | Jeffrey Seyfried | -4/+0 | |
| 2017-03-29 | Merge `ExpnId` and `SyntaxContext`. | Jeffrey Seyfried | -277/+14 | |
| 2017-03-29 | Remove code in `syntax::codemap`. | Jeffrey Seyfried | -185/+0 | |
| 2017-01-22 | Refactor `TokenStream`. | Jeffrey Seyfried | -17/+0 | |
| 2016-11-28 | rustc: use Span's allow_internal_unstable instead of hir::BlockCheckMode. | Eduard Burtescu | -2/+6 | |
| 2016-11-21 | Fix fallout in `rustdoc` and tests. | Jeffrey Seyfried | -7/+5 | |
| 2016-10-05 | Rename Parser::last_span as prev_span. | Nicholas Nethercote | -3/+3 | |
| This is a [breaking-change] for libsyntax. | ||||
| 2016-09-20 | Check for overlapping and simplify unit test | Jonathan Turner | -8/+3 | |
| 2016-09-19 | Add the ability to merge spans to codemap | Jonathan Turner | -0/+82 | |
| 2016-09-01 | incr.comp.: Add stable hashing of HIR spans to ICH. | Michael Woerister | -20/+4 | |
| 2016-08-01 | Reimplemented tokenstreams as ropes and reduced the exposed TokenStream API. | cgswords | -0/+17 | |
| 2016-07-14 | Remove more unused imports | Jonathan Turner | -1/+0 | |
| 2016-07-14 | Remove unused imports | Jonathan Turner | -19/+0 | |
| 2016-07-14 | Add back in import needed for codemap tests | Jonathan Turner | -0/+1 | |
| 2016-07-14 | Add fix for tabs. Move error unit tests->ui tests | Jonathan Turner | -766/+4 | |
| 2016-07-14 | Fix up some tidy-unfriendly spacing | Jonathan Turner | -18/+18 | |
| 2016-07-14 | DCE and fixing some internal tests | Jonathan Turner | -98/+98 | |
| 2016-07-14 | Remove BasicEmitter | Jonathan Turner | -3/+3 | |
| 2016-06-24 | Fix codemap tests to not double import | Jonathan Turner | -1/+0 | |
| 2016-06-24 | Reexport syntax_pos in codemap and fix some cfail tests | Jonathan Turner | -1/+1 | |
| 2016-06-23 | make old school mode a bit more configurable | Jonathan Turner | -17/+28 | |
| 2016-06-23 | Add missing refernce to RenderedLine | Jonathan Turner | -1/+1 | |
| 2016-06-23 | Move test helper functions to consolidated codemap testing | Jonathan Turner | -0/+64 | |
| 2016-06-23 | Actually consolidate the CodeMap tests | Jonathan Turner | -0/+517 | |
| 2016-06-23 | Consolidate codemap tests and fix more errors for travis | Jonathan Turner | -0/+235 | |
| 2016-06-23 | Address more travis errors | Jonathan Turner | -0/+1 | |
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -655/+37 | |
| 2016-06-16 | Add an abs_path member to FileMap, use it when writing debug info. | Ted Mielczarek | -16/+51 | |
| When items are inlined from extern crates, the filename in the debug info is taken from the FileMap that's serialized in the rlib metadata. Currently this is just FileMap.name, which is whatever path is passed to rustc. Since libcore and libstd are built by invoking rustc with relative paths, they wind up with relative paths in the rlib, and when linked into a binary the debug info uses relative paths for the names, but since the compilation directory for the final binary, tools trying to read source filenames will wind up with bad paths. We noticed this in Firefox with source filenames from libcore/libstd having bad paths. This change stores an absolute path in FileMap.abs_path, and uses that if available for writing debug info. This is not going to magically make debuggers able to find the source, but it will at least provide sensible paths. | ||||
