| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-05-03 | Remove unused variable. | Rafael Ávila de Espíndola | -7/+1 | |
| 2011-05-03 | Split start into rustc and rustboot versions. This introduces a bit of | Rafael Ávila de Espíndola | -27/+122 | |
| duplication, but we will hopefully drop the rustboot one soon. This is also a preparation for changing the rustc one to have the activate glue return to the exit glue which will then call the main function. This (returning to the function that calls main) matches what happens when loader stats a program or a new thread. It lets gdb produce good backtraces and should help with EH too. | ||||
| 2011-04-29 | stdlib: Add a Time module to the standard library | Patrick Walton | -0/+30 | |
| 2011-04-28 | Log refcounts in upcall_vec_grow. | Graydon Hoare | -4/+4 | |
| 2011-04-28 | Slightly more helpful error message for "null lib handle" | Tim Chevalier | -1/+2 | |
| I changed the error message to also suggest checking the -L flag when this happens. | ||||
| 2011-04-27 | stdlib/rt: Add an unsafe function to cast immutable vectors to mutable ones | Patrick Walton | -0/+10 | |
| 2011-04-27 | rt: Add str_vec to the def file. Puts out burning tinderbox. | Patrick Walton | -0/+1 | |
| 2011-04-27 | Fix _str.bytes to trivial version. | Graydon Hoare | -0/+26 | |
| 2011-04-21 | stdlib: Add a pointer equality function to the standard library and a test case | Patrick Walton | -0/+6 | |
| 2011-04-19 | add rustboot-specific log upcalls to .def file | Marijn Haverbeke | -0/+2 | |
| 2011-04-19 | Overhaul logging system in runtime | Marijn Haverbeke | -633/+459 | |
| See https://github.com/graydon/rust/wiki/Logging-vision The runtime logging categories are now treated in the same way as modules in compiled code. Each domain now has a log_lvl that can be used to restrict the logging from that domain (will be used to allow logging to be restricted to a single domain). Features dropped (can be brought back to life if there is interest): - Logger indentation - Multiple categories per log statement - I possibly broke some of the color code -- it confuses me | ||||
| 2011-04-19 | Add log_err to rustboot | Marijn Haverbeke | -4/+4 | |
| 2011-04-18 | Add a proper check for rustboot | Marijn Haverbeke | -4/+2 | |
| Uncomment log initialization. | ||||
| 2011-04-18 | Temporarily turn off logging initialization | Marijn Haverbeke | -3/+4 | |
| Will be restored as soon as I find a way for the runtime to figure out whether it is on rustboot or rustc. | ||||
| 2011-04-18 | Update foregoing patches to leave rust_crate alone. | Marijn Haverbeke | -93/+89 | |
| Apparently it can't live in the main binary, since on non-Linux platforms, dynamics libs won't find symbols in the binary. This removes the crate_map pointer from rust_crate again, and instead passes it as an extra argument to rust_start. Rustboot doesn't pass this argument, but supposedly that's okay as long as we don't actually use it on that platform. | ||||
| 2011-04-18 | Make log the log level configurable per module | Marijn Haverbeke | -2/+95 | |
| This overloads the meaning of RUST_LOG to also allow 'module.submodule' or 'module.somethingelse=2' forms. The first turn on all logging for a module (loglevel 3), the second sets its loglevel to 2. Log levels are: 0: Show only errors 1: Errors and warnings 2: Errors, warnings, and notes 3: Everything, including debug logging Right now, since we only have one 'log' operation, everything happens at level 1 (warning), so the only meaningful thing that can be done with the new RUST_LOG support is disable logging (=0) for some modules. TODOS: * Language support for logging at a specific level * Also add a log level field to tasks, query the current task as well as the current module before logging (log if one of them allows it) * Revise the C logging API to conform to this set-up (globals for per-module log level, query the task level before logging, stop using a global mask) Implementation notes: Crates now contain two extra data structures. A 'module map' that contains names and pointers to the module-log-level globals for each module in the crate that logs, and a 'crate map' that points at the crate's module map, as well as at the crate maps of all external crates it depends on. These are walked by the runtime (in rust_crate.cpp) to set the currect log levels based on RUST_LOG. These module log globals are allocated as-needed whenever a log expression is encountered, and their location is hard-coded into the logging code, which compares the current level to the log statement's level, and skips over all logging code when it is lower. | ||||
| 2011-04-14 | rt: Remove half-baked, incomplete, commented-out print_stack_trace() stub | Patrick Walton | -17/+0 | |
| 2011-04-14 | rustc: Remove generalize_ty. Instead, maintain an explicit type parameter ↵ | Patrick Walton | -0/+17 | |
| substitution list. | ||||
| 2011-04-09 | Remove silly legacy glue-offset encoding, predicate runtime adjustments by ↵ | Graydon Hoare | -6/+8 | |
| ABI. LLVM should inline most glue now. | ||||
| 2011-04-07 | Avoid some gotchas with logging macros | Brian Anderson | -15/+25 | |
| I think this is sufficient to eliminate multiple evaluation and the possibility of accidental miscompilation from the logging macros. | ||||
| 2011-04-08 | add FIXME related to the -fno-strict-aliasing workaround | Marijn Haverbeke | -0/+2 | |
| 2011-04-08 | Initialize two more variables to keep darwin tinderbox happy | Marijn Haverbeke | -2/+2 | |
| 2011-04-08 | add -O2 when compiling rt, fix warnings triggered by optimizer | Marijn Haverbeke | -6/+6 | |
| 2011-04-07 | Move to macro-based logging checks in the C++ code | Marijn Haverbeke | -237/+254 | |
| No functions should be called for log statements that turn out to be inactive. | ||||
| 2011-04-02 | Change rust_vec to have a 16-byte header, to 16-byte-align vec-body data. ↵ | Graydon Hoare | -0/+1 | |
| Major perf win. | ||||
| 2011-03-30 | Um, that'd be, align the word *before* retpc. Addresses point to the low ↵ | Graydon Hoare | -7/+7 | |
| part of a word. Un-XFAIL nbody on Darwin. | ||||
| 2011-03-30 | Ensure task stacks start out with a 16-byte aligned entry frame. Should make ↵ | Graydon Hoare | -22/+48 | |
| OSX behave a bit better. | ||||
| 2011-03-25 | Another go at changing compile-command, this time using RBUILD env var. | Graydon Hoare | -1/+1 | |
| 2011-03-25 | Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵ | Graydon Hoare | -1/+1 | |
| build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c. | ||||
| 2011-03-25 | Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵ | Graydon Hoare | -1/+1 | |
| off src root. | ||||
| 2011-03-25 | Parse FP literals without coercing to int. This allows parsing 64-bit | Tim Chevalier | -0/+1 | |
| floats. However, if someone writes a literal that can't be represented precisely in 64 bits, the front-end will accept it while the back-end will (presumably) complain. | ||||
| 2011-03-25 | Start making the standard-lib utf-8 aware | Marijn Haverbeke | -0/+22 | |
| Finally implements _str.is_utf8, adds from_chars, from_char, to_chars, char_at, char_len, (push|pop|shift|unshift)_char. Also, proper character I/O for streams. | ||||
| 2011-03-25 | Placate win32 build; no idea how it can be working currently on tinderbox. | Graydon Hoare | -1/+18 | |
| 2011-03-25 | A first stab at the 'nbody' demo, with support for calling C sqrt(). | Lindsey Kuper | -0/+8 | |
| 2011-03-24 | build: Generate an object file for stage0/libstd.dylib | Patrick Walton | -0/+1 | |
| 2011-03-24 | rustc: Open "use"d crates; add a _vec.vec_from_buf() method along the way; ↵ | Patrick Walton | -0/+8 | |
| XFAIL use-import-export.rs in rustc | ||||
| 2011-03-24 | Add .def.in files that I forgot to stage. Should put out burning tinderboxes ↵ | Patrick Walton | -0/+68 | |
| on Windows and Darwin. | ||||
| 2011-03-24 | Generate the platform-specific .def files at build time | Patrick Walton | -208/+0 | |
| 2011-03-24 | Make symbol resolution failures log under rust_log::ERR flag as well. | Graydon Hoare | -3/+4 | |
| 2011-03-24 | Add trailing semicolons to Linux .def files | Patrick Walton | -1/+1 | |
| 2011-03-24 | Add a Linux .def file. Might put out burning tinderbox. | Patrick Walton | -0/+70 | |
| 2011-03-24 | rustc: Use a .def file for Darwin. Puts out burning Darwin tinderbox. | Patrick Walton | -0/+68 | |
| 2011-03-22 | Further support for floating-point. Literals with exponents work | Tim Chevalier | -1/+8 | |
| and literals with the 'f32' or 'f64' suffixes work as well. In addition, logging things with the f32 or f64 type works. (float is still assumed to be a synonym for f64). | ||||
| 2011-03-21 | Started adding support for floating-point type, floating-point literals, and ↵ | Tim Chevalier | -0/+7 | |
| logging of floats. Other operations on float probably don't work yet. | ||||
| 2011-03-21 | Add a suitable .def file for rustrt.dll on Windows | Patrick Walton | -0/+70 | |
| 2011-03-21 | Add some C99 and C++ compatibility headers for MSVC | Patrick Walton | -0/+649 | |
| 2011-03-18 | Add some mutable variants of vector functions to the standard library | Patrick Walton | -0/+6 | |
| 2011-03-16 | rustc: Add str_from_cstr() and str_from_buf() functions to the standard ↵ | Patrick Walton | -0/+23 | |
| library, as well as a test case | ||||
| 2011-03-14 | Add functionality for running external programs to the std lib | Marijn Haverbeke | -7/+97 | |
| See lib/run_program.rs. | ||||
| 2011-03-14 | Extend stream functionality | Marijn Haverbeke | -0/+3 | |
| Writer and reader streams now come with methods to write and read little-endian numbers. Whether that is the right place for such methods is debatable, but for now, that's where they live. | ||||
