summary refs log tree commit diff
path: root/src/comp/util
AgeCommit message (Collapse)AuthorLines
2012-01-19Remove support for the '.' after a nullary tag in a patternTim Chevalier-1/+1
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-26/+26
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-16When pretty-printing fn types, leave off arg modes when they are the defaultMarijn Haverbeke-2/+10
This reduces ++/&& spam in the output to a bare minimum. Issue #1507
2012-01-14build: Build libraries in the bin directory on win32Brian Anderson-3/+14
2012-01-13Obj system? What obj system?Marijn Haverbeke-5/+0
Removes the obj system from the compiler. Closes #1484
2012-01-13Remove all remaining uses of objs from the compilerMarijn Haverbeke-12/+13
2012-01-12Revert "build: Build libraries in the bin directory on win32"Brian Anderson-14/+3
This reverts commit 23e0d16b5fd259dc252b220777f164f1e2eb9c30.
2012-01-12build: Build libraries in the bin directory on win32Brian Anderson-3/+14
2012-01-11Revert "build: Build libraries in the bin directory on win32"Brian Anderson-14/+3
This reverts commit c00ec5f9c936639ec2fd9291cd484afa56aa24c8.
2012-01-11build: Build libraries in the bin directory on win32Brian Anderson-3/+14
2012-01-06rustc: Use std::homedir to locate /home/bandersonBrian Anderson-4/+4
Issue #1359
2012-01-05rustc: Add cargo's lib directory to search pathsBrian Anderson-0/+25
2012-01-05Merge branch 'master' into kmathStefan Plantikow-2/+2
Conflicts: src/libcore/float.rs
2012-01-05Moved generic float::min, max to core::math and cleaned up some importsStefan Plantikow-2/+1
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-2/+2
And remove support for the old syntax
2012-01-04Properly typecheck and compile invocations of generic methods.Marijn Haverbeke-4/+0
Aligning the type parameters of the ifaces, impls, and methods correctly in typeck is almost brain surgery. Seems to work now for everything I threw at it, but might still break in other corner cases. Issue #1227
2012-01-02Add a clause ty_ptr to ppaux::ty_to_strMarijn Haverbeke-0/+1
Closes #1383
2011-12-29split proto from fn_decl, as not all fn_decls know the proto.Niko Matsakis-4/+0
this will address the (crashing) new test added.
2011-12-23Use the same type of record in ty::ty_fn and ty::methodMarijn Haverbeke-4/+5
Removes some more code duplication.
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-9/+9
2011-12-22Merge branch 'master' of github.com:graydon/rustGraydon Hoare-9/+0
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-16/+34
#debug.
2011-12-22Unify some data structures in syntax::ast that were doing the same thingMarijn Haverbeke-8/+0
As a preparation to removing some duplication in typeck.
2011-12-20removed math leftovers from stdStefan Plantikow-1/+1
2011-12-19Associate names with types introduced by itemsMarijn Haverbeke-25/+15
Issue #828 This is not a full solution yet. To really get sane error messages, we'll also have to guess the name to apply to literals, which seems non-trivial.
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-7/+7
2011-12-07Change literal representation to not truncateMarijn Haverbeke-52/+53
Also shuffles around the organization of numeric literals and types, separating by int/uint/float instead of machine-vs-non-machine types. This simplifies some code. Closes #974 Closes #1252
2011-11-30Box ast::path valuesMarijn Haverbeke-2/+2
It seems inefficient to copy them around. Let's measure whether that's actually > the case
2011-11-23Rollback return-by-referenceMarijn Haverbeke-5/+0
It's proving too inflexible, so I'm ripping out the extra complexity in the hope that regions will, at some point, provide something similar. Closes #918
2011-11-22Only warn about unreachable range patterns when appropriateMarijn Haverbeke-186/+0
Also simplifies the literal-munging, and moves it into ast_util Closes #1170
2011-11-21rustc: Remove abi from ast::native_modHaitao Li-1/+1
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-3/+3
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-11-18Add a pass-by-copy parameter passing conventionMarijn Haverbeke-1/+2
This is intended to solve the problem of how to pass arguments to constructor functions -- you want to move in rvalues, but not have to explicitly copy stuff that is not an rvalue. The by-copy passing convention will ensure the callee gets its own copy of the value. For rvalues, it'll just pass off the value. For lvalues, it'll make a copy. Issue #1177
2011-11-17remove compile-command from local variable blocksNiko Matsakis-2/+0
2011-11-16Replace 'mutable?' with 'const'Brian Anderson-1/+1
2011-11-10Cleanup unused importsHaitao Li-14/+6
2011-11-02Fix printing of parameterized tag types in ppauxMarijn Haverbeke-1/+1
It was printing option::t[int] instead of option::t<int>
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-4/+4
Closes #1067
2011-10-21Drop support for iter, put, and for-eachMarijn Haverbeke-11/+0
Closes #1056
2011-10-20Merge ast::proto_shared and ast::proto_closureBrian Anderson-1/+1
Now they are both just proto_shared and proto_shared takes an argument indicating that it is sugared as 'lambda'
2011-10-20Rename ast::proto_fn to ast::proto_sharedBrian Anderson-1/+1
2011-10-18Add a math module to the standard libMarijn Haverbeke-18/+11
I need some rudimentary stdlib stuff for the tutorial. Closes #1042
2011-10-12[Renaming] str_to_float is now float::from_str, float_to_str is now ↵David Rajchenbach-Teller-3/+3
float::to_str
2011-10-11[Move] Moved str_to_float, float_to_str from compiler to libDavid Rajchenbach-Teller-37/+3
2011-10-07Parse and typecheck by-value and by-ref arg specsMarijn Haverbeke-1/+3
Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008
2011-10-05Fix some remaining rpath bugsBrian Anderson-1/+1
2011-10-05Begin work on rpathBrian Anderson-2/+9
2011-10-04Use std::os::get_exe_path to determine sysrootBrian Anderson-10/+12
2011-10-04Use util::filesearch to locate intrinsics.bc and main.oBrian Anderson-0/+6
2011-10-04Move the library search into util::filesearchBrian Anderson-0/+25