aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Make ExtFmt call its own functions instead of others defined in stdBrian Anderson2011-04-112-6/+15
|
* Move extfmt parsing into standard libraryBrian Anderson2011-04-112-210/+214
|
* Move the extfmt data model into the standard library.Brian Anderson2011-04-113-48/+78
|
* rustc: Add a uint hash functionPatrick Walton2011-04-111-0/+8
|
* rustc: Factor out expr_ty() into expr_ann() and expr_ty()Patrick Walton2011-04-111-38/+45
|
* Add new minimal testcase showing generic tag memory corruption.Graydon Hoare2011-04-111-0/+6
|
* Add a hack to force the linker to fetch Object.oRafael Ávila de Espíndola2011-04-111-0/+2
|
* Implement the "attempted dynamic environment-capture" error in rustc.Rafael Ávila de Espíndola2011-04-115-0/+151
|
* Un-XFAIL expr-block-fn.rsBrian Anderson2011-04-101-1/+0
| | | | It mysteriously works now.
* rustc: Push down types for all expressions; add logic for recv and sendPatrick Walton2011-04-082-2/+26
|
* Remove silly legacy glue-offset encoding, predicate runtime adjustments by ↵Graydon Hoare2011-04-093-54/+38
| | | | ABI. LLVM should inline most glue now.
* Fix codemap.lookup_posMarijn Haverbeke2011-04-091-15/+12
| | | | | Previously, it would place every single location in the first file of the crate that was parsed.
* rustc: Rename "demand" to "pushdown" in the typechecker and explain more ↵Patrick Walton2011-04-081-376/+409
| | | | clearly what it's for
* Move to single-uint file-position representation.Marijn Haverbeke2011-04-0911-351/+413
| | | | | | | | This makes passing them around cheaper. There is now a table (see front/codemap.rs) that is needed to transform such an uint into an actual filename/line/col location. Also cleans up the span building in the parser a bit.
* Make lexer buffer the whole fileMarijn Haverbeke2011-04-092-59/+74
| | | | | This way, it won't have to go through a bunch of calls for each byte fetched.
* rustc: Resolve ty_localsPatrick Walton2011-04-081-3/+32
|
* rustc: Add the ability to fold over annotationsPatrick Walton2011-04-081-36/+83
|
* Remove unused function.Rafael Ávila de Espíndola2011-04-081-17/+0
|
* Remove unused function.Rafael Ávila de Espíndola2011-04-081-12/+0
|
* fix long linesTim Chevalier2011-04-081-36/+30
|
* Implemented computing prestates and poststates for a few expression forms.Tim Chevalier2011-04-085-64/+268
| | | | | The typestate checker (if it's uncommented) now correctly rejects a trivial example program that has an uninitialized variable.
* Disable effect checking in rustbootMarijn Haverbeke2011-04-087-55/+5
|
* Avoid some gotchas with logging macrosBrian Anderson2011-04-072-15/+25
| | | | | I think this is sufficient to eliminate multiple evaluation and the possibility of accidental miscompilation from the logging macros.
* Add a test case for calling generic functions taking alias args with box typesBrian Anderson2011-04-071-0/+13
|
* Add an XFAILed test for blocks that result in functionsBrian Anderson2011-04-071-0/+15
|
* Make block results work for generic typesBrian Anderson2011-04-0710-54/+191
| | | | | | | I think just about every type can be used as a block result now. There's quite a proliferation of tests here, but they all test slightly different things and some are split out to remain XFAILed. The tests of generic vectors are still XFAILed because generic aliased boxes still don't work in general.
* stdlib: Add a simple union-find data structurePatrick Walton2011-04-072-0/+43
|
* rustc: Pointer cast when crossing a box boundary for statically-sized ↵Patrick Walton2011-04-071-0/+4
| | | | elements in trans_index()
* add FIXME related to the -fno-strict-aliasing workaroundMarijn Haverbeke2011-04-081-0/+2
|
* Re-add a read_byte() method to buf_reader objsMarijn Haverbeke2011-04-081-20/+18
| | | | | | | | | This was removed because of the repetition, but doing single-byte reads in terms of read_bytes (which allocates a vec) is needlessly slow. This change speeds up parsing by 22%. (Eventually, we won't be able to escape handling the buffering in the stdlib itself.)
* Initialize two more variables to keep darwin tinderbox happyMarijn Haverbeke2011-04-081-2/+2
|
* add a -parse-only option to rustcMarijn Haverbeke2011-04-081-2/+9
| | | | (undocumented, only used for profiling the parser)
* add -O2 when compiling rt, fix warnings triggered by optimizerMarijn Haverbeke2011-04-084-6/+6
|
* Updated test to use 'check' rather than just logging results.Lindsey Kuper2011-04-071-5/+3
|
* Move to macro-based logging checks in the C++ codeMarijn Haverbeke2011-04-0718-237/+254
| | | | | No functions should be called for log statements that turn out to be inactive.
* rustc: Pointer cast when autodereferencing boxed tag typesPatrick Walton2011-04-071-1/+13
|
* rustc: Use the name "opaque_tag", not "tag", for opaque tagsPatrick Walton2011-04-071-1/+1
|
* Support for self-calls that take arguments.Lindsey Kuper2011-04-079-41/+120
| | | | | | | Nicer parsing of self-calls (expr_self_method nodes inside expr_call nodes, rather than a separate expr_call_self) makes typechecking tractable. We can now write self-calls that take arguments and return values (see: test/run-pass/obj-self-*.rs).
* Add a very basic crate-dump utilityMarijn Haverbeke2011-04-072-2/+73
| | | | | 'rustc -ls [cratelib]' will now dump out a list of symbols defined by the crate, as well as a short description of what they are.
* Fix problem in metadata writerMarijn Haverbeke2011-04-071-0/+4
| | | | | | It was creating non-multiple-of-four section sizes, which, for some reason, presumably by LLVM, were clipped, rather than padded, to be a multiple of four.
* Revise EBML reader APIMarijn Haverbeke2011-04-073-280/+201
| | | | New one is less stateful, easier to work with.
* rustc: Remove useless call to type_of() in trans_rec()Patrick Walton2011-04-071-1/+0
|
* "xfail-stage0", not "XFAIL-stage0"Patrick Walton2011-04-071-1/+1
|
* XFAIL lib-option.rs in stage0 due to crash on Darwin on tinderboxPatrick Walton2011-04-071-0/+1
|
* Fix effect on deref-lvalPatrick Walton2011-04-071-1/+1
|
* rustc: Allow dereference expressions to be used as lvalues. Add a test case.Patrick Walton2011-04-072-20/+32
|
* Add a -O option and change the Makefile to use it.Rafael Ávila de Espíndola2011-04-072-10/+16
|
* rustc: Reindent line. Puts out burning tinderbox.Patrick Walton2011-04-071-2/+2
|
* rustc: Link to external tag discriminants. Un-XFAIL test/run-pass/lib-option.rs.Patrick Walton2011-04-072-46/+53
|
* Merge branch 'master' of github.com:graydon/rustPatrick Walton2011-04-0716-137/+442
|\