Bug 1000675.  Don't always include nsContentUtils in example codegen, fix example header guards to not end with __, don't use fully-qualified names in argument types when those argument types are in the mozilla::dom namespace already, and include headers from mozilla/dom.  r=jst
Bug 1000944.  Allow unions and dictionaries that contain non-SpiderMonkey WebIDL interface types to be copy-constructed.  r=dzbarsky
Bug 942121.  Fix WebIDL dictionary member tracing to null-check nullable object types before trying to trace them, since passing pointer-to-null to JS_CallObjectTracer is not OK.  r=smaug
Bug 1001708: Don't use ternary operator with class const statics r=jesup
Bug 940329: avoid warnings from using size_t in ImplCycleCollectionTraverse() r=ehsan
Bug 940329: fix spammy implicit type-conversion warnings in nsTSubstring.h r=ehsan
Backed out changeset 18034a2d0732 (bug 940329) for build bustage
Bug 959209 - Thunderbird should use toolkit autocomplete widget, not the XPFE one. r=neil
Bug 1001936 - Clear the value cache when the editor is being destroyed because it won't get updated when we don't have a bound frame; r=bzbarsky
Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky

Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way.  This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.

But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation.  Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug.  And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo.  r=bsmedberg
Bug 1001842, part 2: make umask available via OS.Constants. r=khuey sr=bz
Bug 940329: avoid warnings from using size_t in ImplCycleCollectionTraverse() r=ehsan
Merge m-c to inbound.