Marijn Haverbeke
d4c3059e1e
make lexer unicode-aware for strings and char literals
2011-03-25 08:23:00 -07:00
Marijn Haverbeke
a045514477
Start making the standard-lib utf-8 aware
...
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 08:22:52 -07:00
Marijn Haverbeke
d3b49f5aab
fix pretty-printer
...
A change in 54587bdccb
(the vec
appending overhaul) had broken it. (Apparently modifying a vec while
iterating over it can corrupt memory.)
2011-03-25 07:59:13 -07:00
Graydon Hoare
78c077e428
Don't delete rust.texi on 'make clean'
2011-03-25 07:35:59 -07:00
Graydon Hoare
3d56b41478
Untabify Makefile entry.
2011-03-25 00:16:05 -07:00
Graydon Hoare
0f9d460e24
Placate win32 build; no idea how it can be working currently on tinderbox.
2011-03-25 00:16:04 -07:00
Lindsey Kuper
bcc104ce79
A first stab at the 'nbody' demo, with support for calling C sqrt().
2011-03-25 00:15:56 -07:00
Patrick Walton
0b9cf7902c
build: Generate an object file for stage0/libstd.dylib
2011-03-24 18:43:32 -07:00
Patrick Walton
1c8a2598fb
rustc: XFAIL use.rs too. Should put out burning tinderbox.
2011-03-24 17:45:52 -07:00
Graydon Hoare
4e49ca8abd
Start hooking resolve into creater.
2011-03-24 17:37:32 -07:00
Patrick Walton
af3d0d1848
rustc: Open "use"d crates; add a _vec.vec_from_buf() method along the way; XFAIL use-import-export.rs in rustc
2011-03-24 17:22:07 -07:00
Graydon Hoare
29d853dd19
Remove obsolete Makefiles.
2011-03-24 14:56:51 -07:00
Patrick Walton
01485f31ed
build: Add -Wl,-whole-archive to the link flags. Should put out the burning tinderbox on Linux.
2011-03-24 14:22:26 -07:00
Patrick Walton
e2d4fb0fb2
build: Use "true" instead of /bin/true, since it's /usr/bin/true on Darwin
2011-03-24 12:41:00 -07:00
Tim Chevalier
2bd78c176d
Improve error message when the lexer sees a bad character
2011-03-24 12:37:12 -07:00
Patrick Walton
c0f66a5240
Add .def.in files that I forgot to stage. Should put out burning tinderboxes on Windows and Darwin.
2011-03-24 12:36:14 -07:00
Patrick Walton
f284c5c1eb
Generate the platform-specific .def files at build time
2011-03-24 12:24:22 -07:00
Graydon Hoare
99682db53c
Make symbol resolution failures log under rust_log::ERR flag as well.
2011-03-24 12:20:48 -07:00
Graydon Hoare
86f1ace55b
Teach creader about reading ty_float, and trim trailing whitespace.
2011-03-24 11:50:45 -07:00
Patrick Walton
f0706d8932
Add trailing semicolons to Linux .def files
2011-03-24 11:50:02 -07:00
Patrick Walton
8c9f5ffc77
Add a Linux .def file. Might put out burning tinderbox.
2011-03-24 11:43:51 -07:00
Patrick Walton
a2b9a7ce8f
rustc: Use a .def file for Darwin. Puts out burning Darwin tinderbox.
2011-03-24 11:26:46 -07:00
Patrick Walton
4c34ae9d83
XFAIL floating point tests in rustc to put out burning tinderbox
2011-03-24 11:14:24 -07:00
Patrick Walton
2c21195b21
rustc: Emit a better error message when a type is used where a value was expected
2011-03-24 10:29:15 -07:00
Patrick Walton
8d8a48cfc4
rustc: Don't try to export symbols for crazy architectures from rustllvm.dll. Should unburn the tree on Windows.
2011-03-24 10:29:15 -07:00
Patrick Walton
4c5ab05741
rustc: Switch over to using rustllvm.dll exclusively, ending the "Franken-LLVM" problem
2011-03-23 17:48:53 -07:00
Patrick Walton
9aae248649
build: Use the .def files when linking on Windows
2011-03-23 17:48:32 -07:00
Patrick Walton
41be79acf3
rustllvm: Update rustllvm.def. The old one was missing a lot.
2011-03-23 17:48:01 -07:00
Patrick Walton
b7003ae6fa
build: On newer MinGWs it seems that flexlink needs "-cclib -L/usr/lib". Add this.
2011-03-23 16:37:45 -07:00
Graydon Hoare
08bea1d9a2
Revert "Change the type of the second argument of upcalls to be a %task*.", breaks win32 build.
...
This reverts commit dcf122ede0
.
2011-03-23 16:31:30 -07:00
Graydon Hoare
9b617dab3c
More bandaids for win32.
2011-03-23 16:30:26 -07:00
Lindsey Kuper
0b63512f4c
Support for 'float' in type signatures.
2011-03-23 16:01:29 -07:00
Patrick Walton
865a2812b6
build: Fix minor typo in "cp" output
2011-03-23 15:55:58 -07:00
Patrick Walton
c669f20231
rustc: Write out crate metadata
2011-03-23 15:44:17 -07:00
Graydon Hoare
0a42d5ae62
Split too-long 'tidy' command-line up using xargs, for win32.
2011-03-23 15:05:54 -07:00
Graydon Hoare
e6969929db
More miserable win32 configury fixes. Getting closer.
2011-03-23 14:35:28 -07:00
Graydon Hoare
afa6960338
Silly typo.
2011-03-23 13:34:42 -07:00
Graydon Hoare
f740747ea5
Guard texi2pdf on tex probe as well. OSX package systems are real permissive.
2011-03-23 13:33:15 -07:00
Graydon Hoare
9d925436f3
Someday I'll have a talk with the person who thought backslashes were wise in win32.
2011-03-23 13:28:41 -07:00
Graydon Hoare
a978d53425
Add layer of indirection to differentiate LD_LIBRARY_PATH vs. DYLD_LIBRARY_PATH.
2011-03-23 13:10:30 -07:00
Graydon Hoare
f052d9b4c2
Calculate git-derived versions correctly when out-of-tree.
2011-03-23 11:34:10 -07:00
Graydon Hoare
d8d9adfbd6
Fix the float XFAILs in Makefile.in.
2011-03-23 10:40:21 -07:00
Graydon Hoare
ef01ce9cdc
Pick up new XFAIL from Makefile.
2011-03-23 10:39:15 -07:00
Graydon Hoare
28a4e778f3
Add doc rules to Makefile.in
2011-03-23 10:37:35 -07:00
Patrick Walton
c1bc0101ca
stdlib: Provide a function to extract the underlying buf_writer from a writer
2011-03-22 17:53:43 -07:00
Tim Chevalier
23e23bd762
Further support for floating-point. Literals with exponents work
...
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-22 17:31:27 -07:00
Patrick Walton
d56971d5b4
stdlib: Add EBML writing functionality
2011-03-22 17:29:23 -07:00
Patrick Walton
e890383db1
stdlib: Add a convenience method for opening paths as a FILE
2011-03-22 17:29:23 -07:00
Graydon Hoare
a251343fab
Clean a little bit harder.
2011-03-22 17:11:47 -07:00
Graydon Hoare
d96b8cd649
XFAIL float.rs in boot under new Makefile.in
2011-03-22 17:11:47 -07:00