Brian Anderson
b968c8e6cd
Name types after their modules instead of 't'
2012-03-13 15:14:17 -07:00
Brian Anderson
cd72b1f848
Overhaul constructor naming in libs
2012-03-13 11:07:22 -07:00
Graydon Hoare
6f5853f5a1
Libc/os/run/rand/io reorganization. Close #1373 . Close #1638 .
...
- 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-12 20:08:29 -07:00
Brian Anderson
8f071bb841
rustdoc: Add indexes to native mods. Closes #1963
2012-03-11 16:36:20 -07:00
Tim Chevalier
eb9d0e89d1
wibble
2012-03-10 20:36:48 -08:00
Brian Anderson
91e5a1c8b3
core: Remove the nearly empty math module
...
This mod only had two functions, all of whose users have been changed
to use the uint module.
2012-03-10 17:43:19 -08:00
Brian Anderson
a5368fb6d8
rustdoc: Put native mods on their own pages. Closes #1959
2012-03-10 16:44:48 -08:00
Brian Anderson
474ad2e4de
rustdoc: Fix native mod breakage
2012-03-10 16:43:38 -08:00
Brian Anderson
4bbe33c8eb
rustdoc: Write page titles
2012-03-10 16:21:23 -08:00
Brian Anderson
78d539927a
rustdoc: Remove unused fn
2012-03-10 15:42:08 -08:00
Brian Anderson
d54d9b1cab
rustdoc: Fix generation of impl links. Closes #1953
2012-03-10 15:38:52 -08:00
Tim Chevalier
a0521971b1
Merge branch 'master' into floop-for-snapshot
2012-03-09 22:16:52 -08:00
Brian Anderson
e2dad03f44
rustdoc: Change the formatting for enum variants
2012-03-09 21:20:51 -08:00
Brian Anderson
f9755c666d
rustdoc: Simplify attribute parsing
2012-03-09 18:13:14 -08:00
Brian Anderson
effe4559d2
rustdoc: Accept the first sentence as the brief description
2012-03-09 18:13:14 -08:00
Brian Anderson
4fc5b822e2
rustdoc: Simplify the relation between the brief and long description
...
Brief is just used for indexes now
2012-03-09 18:13:14 -08:00
Brian Anderson
0905ad2bbe
rustdoc: Vastly simplify the document model
...
Don't attempt to impose any structure for documenting arguments, return
values, etc.
2012-03-09 17:24:56 -08:00
Brian Anderson
9f4c0d71e5
rustdoc: Update the demo module
2012-03-09 17:24:56 -08:00
Brian Anderson
e399263b5e
rustdoc: Write sections in markdown
2012-03-09 17:24:56 -08:00
Brian Anderson
0ad8265fee
rustdoc: Add the concept of 'sections'
2012-03-09 17:24:55 -08:00
Tim Chevalier
321fd80219
Add an infinite loop construct
...
Add a loop {} construct for infinite loops, and use it in test
cases. See #1906 for details.
2012-03-09 16:40:58 -08:00
Brian Anderson
256146bba4
rustdoc: Rename desc_pass to text_pass
2012-03-08 17:00:03 -08:00
Tim Chevalier
0c5fdc8745
Rename last to last_opt, last_unsafe to last
...
As per discussion on IRC. I am about to file an RFC for further
discussion about the more general issue of whether to enforce
invariants through types, typestate, or dynamic checks, but for now,
removing the misleading name "last_unsafe".
2012-03-08 15:25:56 -08:00
Brian Anderson
57596cbe53
rustdoc: Improve formatting of subsection headers
2012-03-08 15:05:13 -08:00
Brian Anderson
7d686d6372
rustdoc: Format return values consistently
2012-03-08 15:05:13 -08:00
Brian Anderson
6ad653bb31
rustdoc: Add some more demo docs
2012-03-08 15:05:13 -08:00
Brian Anderson
ac8b2c8354
rustdoc: Don't bother reporting the type of return values
2012-03-08 15:05:13 -08:00
Brian Anderson
5c28b2c1d1
rustdoc: Don't bother reporting the type of arguments
...
This is already displayed in the function signature. Simpler this way.
2012-03-08 15:05:13 -08:00
Tim Chevalier
ebc1d3e704
Rename last_total to last_unsafe
...
See Issue 1943 for any discussion (reopen it if necessary).
Closes #1943
2012-03-08 13:07:31 -08:00
Marijn Haverbeke
fd465f91a8
Drop collect_items pass, create decls on demand
...
This solves a problem with inlined functions that have inner functions.
2012-03-08 21:17:32 +01:00
Brian Anderson
bdec806848
rustdoc: Look for pandoc in ~/.cabal
2012-03-07 19:22:02 -08:00
Patrick Walton
c9375fed8d
stdlib: Stop incurring vtable dispatch costs when hashmaps are used
...
This required changing almost all users of hashmaps to import the hashmap interface first.
The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-07 17:35:13 -08:00
Patrick Walton
c245d9e980
Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used"
...
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07 16:56:45 -08:00
Patrick Walton
f0250a23d3
stdlib: Stop incurring vtable dispatch costs when hashmaps are used
...
This required changing almost all users of hashmaps to import the hashmap interface first.
The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-07 16:51:31 -08:00
Brian Anderson
a9bd76b3c1
rustdoc: Implement more rules for generating internal pandoc links
2012-03-07 15:45:16 -08:00
Brian Anderson
7f66df714a
rustdoc: Support #[doc(hidden)]
2012-03-07 14:50:39 -08:00
Brian Anderson
e55d7d6add
rustdoc: Remove escaping pass
2012-03-06 20:31:05 -08:00
Brian Anderson
e536e8a933
rustdoc: Don't escape characters between backticks
2012-03-06 20:16:53 -08:00
Brian Anderson
cf8f5b7606
rustdoc: Escape HTML special characters
2012-03-06 17:46:52 -08:00
Brian Anderson
29ac3c811d
rustdoc: Put brief descriptions in the indexes
2012-03-06 17:16:25 -08:00
Brian Anderson
a4ff220133
rustdoc: Write links correctly for multi-page docs
2012-03-06 17:16:25 -08:00
Brian Anderson
801b02b25d
rustdoc: Parallelize markdown_pass
2012-03-06 17:16:25 -08:00
Brian Anderson
513d956dce
rustdoc: Run pandoc in a way that won't deadlock waiting for IO
2012-03-06 17:16:25 -08:00
Brian Anderson
dea19b25c9
rustdoc: Detect when pandoc isn't available
2012-03-06 14:48:47 -08:00
Brian Anderson
b8c8e43381
rustdoc: Add some more error reporting for pandoc
2012-03-06 14:48:47 -08:00
Brian Anderson
fc9b55d65f
rustdoc: Write a new file for each page
2012-03-06 14:48:47 -08:00
Brian Anderson
fbd8a76e8a
rustdoc: Add a pass to split the document into pages
2012-03-06 14:48:47 -08:00
Brian Anderson
3c0e984449
rustdoc: Remove Google's copyright notice
...
There is no Google code left.
2012-03-06 11:25:27 -08:00
Niko Matsakis
712dd23541
make inline enabled by default
2012-03-06 09:01:40 -08:00
Marijn Haverbeke
4e4bd585cd
Track all exports in exp_map
...
This is needed because the reachability checker needs to be able to
follow exports.
Issue #1934
2012-03-06 17:11:30 +01:00