Commit graph

13 commits

Author SHA1 Message Date
Simon Sapin
e6b8eda8f3 Remove some use of FFI in gecko_string_cache
Now that nsIAtom’s mLength and mString can both be accessed
directly on the struct, fewer operations need to call into C++ code.
2016-08-17 15:53:35 +02:00
Emilio Cobos Álvarez
09cc240d4c
stylo: Add debug docs assertion in Atom::from_static() 2016-08-15 23:02:24 -07:00
Emilio Cobos Álvarez
2b3c684b37
stylo: Add sugar over the bitfield accessors in nsIAtom. 2016-08-15 23:00:16 -07:00
Emilio Cobos Álvarez
24168f87eb
stylo: privatize Atom::chars() 2016-08-15 23:00:06 -07:00
Emilio Cobos Álvarez
d612d9f5ef
stylo: Convert pseudo-elements to an Atom wrapper. 2016-08-15 22:58:33 -07:00
Emilio Cobos Álvarez
f9f347e80f
string_cache nits. 2016-08-15 22:58:31 -07:00
Simon Sapin
cf05cd934d Bring back the Namespace newtype. 2016-08-09 18:18:41 +02:00
Simon Sapin
fdb2071b2d Update to selectors 0.8.2 2016-08-09 18:18:38 +02:00
Xidorn Quan
af3833d674 Generate atom bindings for msvc 2016-07-13 11:18:53 +10:00
Emilio Cobos Álvarez
e015e87697
geckolib: fix geckolib build by implementing display on Atoms. 2016-06-28 15:27:58 +00:00
Cameron McCormack
0bf1f2793b Look at nsIAtom.mHash directly rather than call Gecko_HashAtom. 2016-06-18 23:13:44 +10:00
Bobby Holley
b90b4a5e0f Add performant implementations of get_id, has_class, and each_class. 2016-05-25 22:15:13 -07:00
Bobby Holley
b521c293dc Add string_cache override for geckolib based on gecko atoms.
The work in these patches is based on Ms2ger's gecko-atom crate.
2016-05-18 11:33:38 -07:00