servo/components/script/dom/bindings/codegen
bors-servo 62acdd303b Auto merge of #8477 - asajeffrey:opaque-domstring, r=asajeffrey
Opaque DOMString

This patch makes DOMString an opaque wrapper round String (currently it's a transparent wrapper).

The changes are:

* Replacing DOMString(foo) by DOMString::from(foo).
* Replacing foo.0 by String::from(foo).
* Adding functions clear, push_str and extend for in-place mutation of DOMStrings.
* Replacing DOMString by String in other threads (devtools, storage and filereader).
* Making DOMString implement !Send.
* Removing the pub attribute from the contents of DOMString.

This enables experimenting with other string representations in the DOM.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8477)
<!-- Reviewable:end -->
2015-11-13 07:17:30 +05:30
..
parser Introduce [Abstract] to mark non-leaf interfaces 2015-09-13 19:46:28 +02:00
ply Cargoify servo 2014-09-08 20:21:42 -06:00
BindingGen.py Use OS-agnostic filesystem paths in Python 2015-09-08 21:16:02 +02:00
Bindings.conf Introduce trait WeakReferenceable 2015-11-12 12:51:50 +01:00
CodegenRust.py Auto merge of #8477 - asajeffrey:opaque-domstring, r=asajeffrey 2015-11-13 07:17:30 +05:30
Configuration.py Introduce trait WeakReferenceable 2015-11-12 12:51:50 +01:00
GenerateCSS2PropertiesWebIDL.py Don't use is operatory to compare Python strings 2015-08-22 10:22:47 -04:00
GlobalGen.py Use OS-agnostic filesystem paths in Python 2015-09-08 21:16:02 +02:00