- 18 6月, 2013 8 次提交
-
-
由 Kevin Ballard 提交于
terminfo parameterized strings supports a limited subset of printf-style formatting operations, such as %#5.3d.
-
由 bors 提交于
Was updating some code of mine to use the new `std`/`extra` library names, and noticed a place where docs for `std::libc` hadn't been updated. Then I updated some top-level docs for the new libraries' names, too.
-
由 bors 提交于
The code compiles and runs under windows now, but I couldn't look up any symbol from the current executable (dlopen(NULL)), and calling looked up external function handles doesn't seem to work correctly under windows. This the beginning of a fix for #7095.
-
由 bors 提交于
This commit fixes rustc's debug info generation and turns debug-info tests back on. The old generator used to write out LLVM metadata directly, however it seems that debug metadata format is not stable and keeps changing from release to release. So I wrapped LLVM's official debug info API - the DIBuilder class, and now rustc will use that. One bit of old functionality that still doesn't work, is debug info for function arguments. Someone more familiar with the compiler guts will need to look into that. Also, unfortunately, debug info is still won't work on Windows,- due to a LLVM bug (http://llvm.org/bugs/show_bug.cgi?id=16249). Resolves issues #5836, #5848, #6814
-
由 Brian Anderson 提交于
This reverts commit 708395d6.
-
由 bors 提交于
I'm pretty sure this got adequately reviewed by a combination of @nikomatsakis and @graydon so I'm rubber stamping it because I really want this in (it makes it much less likely for me to swap, allowing me to get more work done).
-
由 Graydon Hoare 提交于
-
- 17 6月, 2013 32 次提交
-
-
由 Vadim Chugunov 提交于
-
由 Vadim Chugunov 提交于
-
由 Vadim Chugunov 提交于
-
由 Vadim Chugunov 提交于
-
由 Vadim Chugunov 提交于
Made debugger scripts source line insensitive.
-
由 Vadim Chugunov 提交于
Fixed whitespace "errors".
-
由 Vadim Chugunov 提交于
Misc refactoring.
-
由 Vadim Chugunov 提交于
-
由 Vadim Chugunov 提交于
-
由 Vadim Chugunov 提交于
Disabled create_arg
-
由 Vadim Chugunov 提交于
-
由 bors 提交于
- Fixed tests - Added methods - Renamed casting methods to be shorter - Added unsafe versions Closes #7150
-
由 bors 提交于
This change prevents the indentation in code blocks inside the /// doc comments from being eaten. The indentation that is the same across the consecutive doc comments is removed by the uindent_pass in librustdoc. The bug can be seen, e.g., here: http://static.rust-lang.org/doc/std/iterator.html#example-12 I also altered how the block comments are treated, for consistency. There isn't much testing done on the documentation output (I added a few tests of my own for the modified function), so I don't know if anything relied on the previous behavior. I checked a number of documentation files and observed either no change in output or changes that consistent of the above bug being fixed.
-
由 bors 提交于
-
由 Marvin Löbel 提交于
- Fixed tests - Added methods - Renamed casting methods to be shorter closes #7150
-
由 bors 提交于
-
由 Ralph Bodenner 提交于
-
由 Huon Wilson 提交于
-
由 Ralph Bodenner 提交于
-
由 bors 提交于
After reading issue #7077, all header elements had a border. In my opinion those borders are a bit too much distraction. I tried a different approach with increasing the padding and font size, and omitting the borders. Comparison: http://smvv.io/rust-doc/std/hashmap.html http://static.rust-lang.org/doc/std/hashmap.html Note: the highlighted code blocks are not caused by this commit. I left the border of the code block / function signature as is. The reason behind that is that code blocks are really block elements, while headers are not. What do you guys think?
-
由 Brian Anderson 提交于
-
由 bors 提交于
I did a little bit of cleanup work in driver.rs. It's not much but hey little steps.
-
由 bors 提交于
-
由 Brian Anderson 提交于
-
由 bors 提交于
Currently, cleanup blocks are only reused when there are nested scopes, the child scope's cleanup block will terminate with a jump to the parent scope's cleanup block. But within a single scope, adding or revoking any cleanup will force a fresh cleanup block. This means quadratic growth with the number of allocations in a scope, because each allocation needs a landing pad. Instead of forcing a fresh cleanup block, we can keep a list chained cleanup blocks that form a prefix of the currently required cleanups. That way, the next cleanup block only has to handle newly added cleanups. And by keeping the whole list instead of just the latest block, we can also handle revocations more efficiently, by only dropping those blocks that are no longer required, instead of all of them. Reduces the size of librustc by about 5% and the time required to build it by about 10%.
-
由 SiegeLord 提交于
This change prevents the indentation in code blocks inside the /// doc comments from being eaten. The indentation that is the same across the consecutive doc comments is removed by the uindent_pass in librustdoc.
-
由 bors 提交于
-
由 bors 提交于
Two changes: 1. Make type parameters move by default, even if they have a Copy bound. After all, they could be bound to `~T` or `~[]`. Also, this is a necessary step towards removing `copy` keyword and replacing with clone. 2. Make it illegal to move from `*T`. This is dangerous in a "moves-by-default" scenario, because it's very easy to move when working with a `*T` pointer. Also, it requires zeroing memory, which we hope to do away with someday.
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
since it creates moves that were not apparent. It also turns out to be not widely used.
-
由 Niko Matsakis 提交于
Consider: T:Copy could be bound to ~T, which is not implicitly copyable.
-