Simon Sapin

Results 118 issues of Simon Sapin

Although I can infer from context, I don’t know what "trap" is supposed to mean in this API. If you’re ok with this, I can provide a PR to rename...

Hi, As you may have heard, there was some discussion last week about importing some of rust-encoding into Rust’s libstd or libextra. I think it is important to get the...

Currently the API provides "high-level" and "low-level" methods. The former takes a single string/vector in memory with an error handling mechanism, and returns another string/vector: ``` fn decode(&'static Encoding, input:...

This was discussed recently in the CSS WG, the spec is still in flux. What Gecko does: http://lists.w3.org/Archives/Public/www-style/2014Nov/0085.html CC @pcwalton

A-layout/floats

Test case (reduced for macro-generated unit tests): ```rust use im::*; fn main() { let _ = { Some((1, (None::, None::.into_iter().collect()))) .into_iter() .collect::() } == { let mut map = OrdMap::new();...

Consider two implementations of the same algorithm: ```rust match map.get(&key) { Some(old_value) => map.insert(key, merge(old_value, new_value)), None => map.insert(key, new_value), } ``` ```rust match map.entry(key) { Entry::Occupied(occupied) => occupied.insert(merge(occupied.get(), new_value)),...

This is a breaking change but only for code that uses turbofish syntax on the `diff` method, the `DiffIter` type, or the `DiffItem` type. ---- Motivation: We use `diff` in...

Maps have a `union_with_key` method, like `union` but with a callback to decide what to do when a key exists on both sides: ```rust pub fn union_with_key(self, other: Self, mut...

https://community-tc.services.mozilla.com/provisioners/proj-servo/worker-types/macos uses generic-worker in "simple" mode (not "multiuser") on long-lived macOS workers. Semi-regularly, some tasks start taking much longer than usual because there’s a `servo` process consuming CPU time, remaining...

For Servo CI, we install generic-worker in a Windows AMI for EC2. This works by having a PowerShell script that runs at first boot. However this script runs non-interactively, and...