servo/components/util
bors-servo ea24389b85 Auto merge of #10114 - matthewbentley:master, r=Manishearth
Load prefs.json from profile-dir if --profile-dir is specified at launch

In response to #10098
Tries to load `prefs.json` from the profile-dir and merge them into the preferences if `--profile-dir` is specified at launch.  The profile-dir preferences take precedence over the default preferences, but command line preferences still take precedence over everything.

Also adds some tests for `prefs.rs`.  These rely on the contents of `resources/prefs.json` (at least `test_get_set_reset_extend()` does), so they may need to be re-worked a bit.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10114)
<!-- Reviewable:end -->
2016-04-02 08:33:42 +05:30
..
cache.rs Upgrade to new Hasher API 2016-02-03 20:06:39 +01:00
Cargo.toml Bump serde to 0.7 2016-03-17 13:52:39 +01:00
debug_utils.rs Issue #9042: Report incorrect number of spaces around => in the style checker. 2015-12-23 20:54:26 +01:00
geometry.rs Say farewell to in-tree HeapSizeOf 2016-02-04 22:03:32 +01:00
ipc.rs Update ipc-channel to pick up the improved error reporting. 2015-11-23 16:38:39 -08:00
lib.rs Auto merge of #10075 - Ms2ger:deny-unsafe, r=jdm 2016-03-20 08:00:53 +05:30
linked_list.rs util: Remove the old broken SerializableLinkedList code in favor of 2015-07-31 08:42:29 -07:00
non_geckolib.rs Say farewell to in-tree HeapSizeOf 2016-02-04 22:03:32 +01:00
opts.rs Auto merge of #10114 - matthewbentley:master, r=Manishearth 2016-04-02 08:33:42 +05:30
prefs.rs Print errors to stderr 2016-04-01 21:40:03 -04:00
print_tree.rs Flatten display list structure 2016-03-01 14:50:07 -08:00
resource_files.rs Follow executable symlink to resolve resources directory 2016-02-16 19:12:55 +08:00
str.rs Move util::str::parse_length into 'style' component. 2016-03-24 10:45:33 -04:00
thread.rs task -> thread 2016-01-10 17:58:13 +09:00
thread_state.rs task -> thread 2016-01-10 17:58:13 +09:00
tid.rs task -> thread 2016-01-10 17:58:13 +09:00
time.rs Use thread::sleep instead of deprecated sleep_ms 2015-11-29 13:41:04 -07:00
vec.rs Remove util::vec::Comparator 2016-03-01 14:28:16 +01:00
workqueue.rs Switch to external deque crate 2016-02-17 11:05:37 -05:00