about summary refs log tree commit diff
path: root/src/etc
AgeCommit message (Collapse)AuthorLines
2012-04-17etc: Modernize the indenterPatrick Walton-7/+5
2012-04-16rewrite region resolution so it takes place in typeckNiko Matsakis-1/+1
2012-04-10add the option --enable-local-rust to pull rust from your environmentEvan McClanahan-0/+48
rather than the snapshots. make sure to get all of the files. update to add nmatsakis' requested feature of pointing to a different rustc install root. usage: --enable-local-rust to enable --local-rust-root="/path/to/rustc/" to change the path, which defaults to "/usr/local/" Tested on OS X and Linux, likely broken on windows.
2012-04-05utilities for indented logsNiko Matsakis-0/+17
2012-04-04build: Cleanup of test summary printingBrian Anderson-1/+2
2012-04-04Logfile output from tests; summarise in make checkGrahame Bowland-0/+32
Add an optional --logfile argument to std::test::test_main and to compiletest. Use this features and the new 'check-summary.py' script to summarise all the tests performed by the 'check' target. This is a short term fix for #2075.
2012-04-03rt: Fix the 0 bytes lost issueBrian Anderson-9/+1
This is a workaround for #1815. libev uses realloc(0) to free the loop, which valgrind doesn't like. We have suppressions to make valgrind ignore them. Valgrind also has a sanity check when collecting allocation backtraces that the stack pointer must be at least 512 bytes into the stack (at least 512 bytes of frames must have come before). When this is not the case it doesn't collect the backtrace. Unfortunately, with our spaghetti stacks that valgrind check triggers sometimes and we don't get the backtrace for the realloc(0), it fails to be suppressed, and it gets reported as 0 bytes lost from a malloc with no backtrace. This fixes the issue by alloca'ing 512 bytes before calling uv_loop_delete
2012-04-03update make glob from .so to .dylibNiko Matsakis-1/+1
2012-03-31Revert "rt: Remove lock_held_by_current_thread"Brian Anderson-0/+28
Adds back the ability to make assertions about locks, but only under the --enable-debug configuration This reverts commit b247de64583e2ab527088813ba9192824554e801. Conflicts: src/rt/rust_sched_loop.cpp
2012-03-29build: Add librustsyntax to snapshotsBrian Anderson-0/+4
2012-03-28python scripts run with Python 2.4 (for RHEL5)Grahame Bowland-6/+12
2012-03-27emacs: Make 'mut' a keywordBrian Anderson-1/+1
2012-03-25Fixed vim highlighting for \' (and other) escapes in char literalsJacob Parker-2/+3
2012-03-23Remove last vestiges of old-style intrinsicsMarijn Haverbeke-27/+0
Closes #2048
2012-03-23Revert removal of intrinsicsMarijn Haverbeke-0/+27
Oops. We can't do this yet until the next snapshot.
2012-03-23Remove support for the old-style intrinsicsMarijn Haverbeke-27/+0
Closes #2042 Closes #1981
2012-03-20test: Begin running the language ref examples. Mostly xfailedBrian Anderson-0/+6
2012-03-20doc: Switch the tutorial to pandoc's method of tagging code blocksBrian Anderson-8/+6
Instead of '## tag', it's '~~~ {.tag}'
2012-03-18rt: Remove lock_held_by_current_threadBrian Anderson-28/+0
2012-03-16Add loop to the vim keyword list.Erick Tryzelaar-1/+1
2012-03-15kill old serialization codeNiko Matsakis-74/+0
2012-03-15Suppress valgrind error in dynamic linkerMarijn Haverbeke-0/+8
This was happening when running the rustdoc tests. The test proceeded fine after that, and the code looks like it is running before anything we generate, so I assume it is spurious.
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-5/+5
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-03-09Add a couple more missing pieces to libc and os.Graydon Hoare-0/+6
2012-03-08Properly serialize is_last_use valuesMarijn Haverbeke-1/+1
They were all normalized to the same thing by the serializer.
2012-03-08etc: Allow a build dir to be specified in gen-astencode, for out of tree buildsPatrick Walton-1/+6
2012-03-05etc: Add more helgrind suppressions for i686Brian Anderson-0/+19
2012-03-05etc: Add helgrind suppressions for libunwindBrian Anderson-1/+26
2012-03-03Update paths in gen-astencodeTim Chevalier-4/+4
2012-03-02First cut at consolidated core::os module built on core::libc.Graydon Hoare-0/+3
2012-03-02etc: Add helgrind suppressions for random locking order in rust_port_selectorBrian Anderson-0/+9
2012-03-02etc: Add some helgrind suppressions for uvBrian Anderson-0/+19
2012-03-02etc: Add more lock_and_signal helgrind suppressionsBrian Anderson-1/+22
2012-03-02etc: Add helgrind suppression for lock_held_by_current_threadBrian Anderson-0/+7
2012-03-02restructure to better support method inliningNiko Matsakis-1/+1
2012-03-02retool inline encoding to handle methods, fix testsNiko Matsakis-1/+2
2012-02-29etc: Remove rustdoc scriptBrian Anderson-34/+0
2012-02-29optionally enforce local variable mutabilityNiko Matsakis-24/+30
2012-02-28vim: add "to" as a keyword.Erick Tryzelaar-2/+2
2012-02-27Add libc module to libcore and utility file to help generate it.Graydon Hoare-0/+237
2012-02-24retool serializer to be built by stage0 rustcNiko Matsakis-2/+7
2012-02-24Encode/decode AST into metadata, re-instantiate inlined itemsNiko Matsakis-1/+61
2012-02-24allow snapshot to be specified in make command lineNiko Matsakis-13/+21
2012-02-23Revert "etc: Add helgrind suppression for lock_held_by_current_thread"Brian Anderson-7/+0
This reverts commit d44ca0923a5545113c96a8953f880090f334872c.
2012-02-23etc: Add helgrind suppression for lock_held_by_current_threadBrian Anderson-0/+7
I have some confidence that this function is correct now, but helgrind still doesn't like it because it's not lock-protected.
2012-02-19vim: fix indenting enums and macrosErick Tryzelaar-1/+2
Now vim indenting goes from: fn main() { enum t { a: int, b: int } #error("hello world"); } to: fn main() { enum t { a: int, b: int } #error("hello world"); }
2012-02-13build: Start downloading FreeBSD snaps from the official serverBrian Anderson-3/+0
2012-02-13build: Temporarily retrieve FreeBSD snapshots from jyyou's serverBrian Anderson-0/+3
2012-02-10use absolute names when pretty-printing typesNiko Matsakis-0/+3
2012-02-10update ebml interfaceNiko Matsakis-0/+1