<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libextra/priority_queue.rs, branch release-0.7</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=release-0.7</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=release-0.7'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2013-06-30T11:15:25+00:00</updated>
<entry>
<title>Convert vec::{reverse, swap} to methods.</title>
<updated>2013-06-30T11:15:25+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2013-06-28T16:54:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e83b2fe556aaf779261503c0910bf378e45dce4'/>
<id>urn:sha1:9e83b2fe556aaf779261503c0910bf378e45dce4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Great renaming: propagate throughout the rest of the codebase</title>
<updated>2013-06-29T15:20:02+00:00</updated>
<author>
<name>Corey Richardson</name>
<email>corey@octayn.net</email>
</author>
<published>2013-06-28T22:32:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1662bd371c22ba5d476c0c9024fdd99534fc7867'/>
<id>urn:sha1:1662bd371c22ba5d476c0c9024fdd99534fc7867</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert vec::{reserve, reserve_at_least, capacity} to methods.</title>
<updated>2013-06-27T14:40:47+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2013-06-27T14:40:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=32d655916f1c3365a521616b57d9d0efc2bae643'/>
<id>urn:sha1:32d655916f1c3365a521616b57d9d0efc2bae643</id>
<content type='text'>
</content>
</entry>
<entry>
<title>priority_queue: implement simple iterator</title>
<updated>2013-06-26T22:08:43+00:00</updated>
<author>
<name>Ramkumar Ramachandra</name>
<email>artagnon@gmail.com</email>
</author>
<published>2013-06-26T10:19:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f4621cab6859ee0f8ddacea0ece98e4a4c00d5a6'/>
<id>urn:sha1:f4621cab6859ee0f8ddacea0ece98e4a4c00d5a6</id>
<content type='text'>
Remove PriorityQueue::each and replace it with PriorityQueue::iter,
which ultimately calls into vec::VecIterator via PriorityQueueIterator.
Implement iterator::Iterator for PriorityQueueIterator.  Now you should
be able to do:

  extern mod extra;
  let mut pq = extra::priority_queue::PriorityQueue::new();
  pq.push(5);
  pq.push(6);
  pq.push(3);
  for pq.iter().advance |el| {
      println(fmt!("%d", *el));
  }

just like you iterate over vectors, hashmaps, hashsets etc.  Note that
the iteration order is arbitrary (as before with PriorityQueue::each),
and _not_ the order you get when you pop() repeatedly.

Add an in-file test to guard this.

Reported-by: Daniel Micay &lt;danielmicay@gmail.com&gt;
Signed-off-by: Ramkumar Ramachandra &lt;artagnon@gmail.com&gt;
</content>
</entry>
<entry>
<title>remove old_iter</title>
<updated>2013-06-24T05:35:11+00:00</updated>
<author>
<name>Daniel Micay</name>
<email>danielmicay@gmail.com</email>
</author>
<published>2013-06-23T21:57:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e2e39234cc5509fb461b8805eeb32c5ce538ee6e'/>
<id>urn:sha1:e2e39234cc5509fb461b8805eeb32c5ce538ee6e</id>
<content type='text'>
the `test/run-pass/class-trait-bounded-param.rs` test was xfailed and
written in an ancient dialect of Rust so I've just removed it

this also removes `to_vec` from DList because it's provided by
`std::iter::to_vec`

an Iterator implementation is added for OptVec but some transitional
internal iterator methods are still left
</content>
</entry>
<entry>
<title>vec: remove BaseIter implementation</title>
<updated>2013-06-23T06:05:20+00:00</updated>
<author>
<name>Daniel Micay</name>
<email>danielmicay@gmail.com</email>
</author>
<published>2013-06-21T12:29:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d2e9912aea87f9b1812a0f44e093c0405848f7ce'/>
<id>urn:sha1:d2e9912aea87f9b1812a0f44e093c0405848f7ce</id>
<content type='text'>
I removed the `static-method-test.rs` test because it was heavily based
on `BaseIter` and there are plenty of other more complex uses of static
methods anyway.
</content>
</entry>
<entry>
<title>rm vec::uniq_len</title>
<updated>2013-06-16T02:16:21+00:00</updated>
<author>
<name>Daniel Micay</name>
<email>danielmicay@gmail.com</email>
</author>
<published>2013-06-15T06:20:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6c547e42c859b1b0051293c48c691d8388bad332'/>
<id>urn:sha1:6c547e42c859b1b0051293c48c691d8388bad332</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmp: remove duplicate free functions</title>
<updated>2013-06-10T00:47:40+00:00</updated>
<author>
<name>Daniel Micay</name>
<email>danielmicay@gmail.com</email>
</author>
<published>2013-06-09T07:23:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=86833ea28616fd7bb6d16582aea7996549b4b873'/>
<id>urn:sha1:86833ea28616fd7bb6d16582aea7996549b4b873</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove all uses of `pub impl`. rs=style</title>
<updated>2013-06-01T16:18:27+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2013-05-31T22:17:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5fb254695b4db9af3d8e33577fae28ae9f7006c5'/>
<id>urn:sha1:5fb254695b4db9af3d8e33577fae28ae9f7006c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libextra: Require documentation by default</title>
<updated>2013-05-30T06:03:15+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2013-05-29T03:11:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=395685079a2ef21c93a90ff6ccac2873b3013c7f'/>
<id>urn:sha1:395685079a2ef21c93a90ff6ccac2873b3013c7f</id>
<content type='text'>
</content>
</entry>
</feed>
