Ms2ger
f37fdbc778
Handle setting a readonly attribute on proxy reflectors correctly.
2014-06-24 16:22:15 +02:00
Lars Bergstrom
bd657528e3
Merge pull request #2651 from saneyuki/design_doc
...
Add the design document about JS-managed DOM.
r=ms2ger
2014-06-24 08:47:47 -05:00
Josh Matthews
c45a5dc511
Merge pull request #2701 from Ms2ger/mut-codegen
...
Store this-values and arguments in immutable locals in codegen.
2014-06-24 07:10:44 -04:00
Tetsuharu OHZEKI
b4bde5ea83
fixup! Add the design document about JS-managed DOM.
2014-06-24 04:24:06 +09:00
Tetsuharu OHZEKI
a14079635f
Add the design document about JS-managed DOM.
2014-06-24 04:24:05 +09:00
Lars Bergstrom
a51c9ec2f6
Cleanup the Travis IRC notifications on builds to only show changes in status and use notify
2014-06-23 12:38:37 -05:00
Lars Bergstrom
71adafefe4
Merge pull request #2708 from glennw/font-cleanup
...
Remove unused source file while cleaning up font code.
2014-06-23 08:33:06 -05:00
Lars Bergstrom
1d0df6e65f
Merge pull request #2707 from glennw/image-cache-handle
...
Remove LocalImageCacheHandle hack and associated unsafe code.
2014-06-23 08:32:39 -05:00
Glenn Watson
6f6b149d50
Remove box from image cache task.
2014-06-23 16:46:33 +10:00
Glenn Watson
793c4c3ca2
Remove unused source file while cleaning up font code.
2014-06-23 14:49:10 +10:00
Glenn Watson
b224c414c2
Remove LocalImageCacheHandle hack and associated unsafe code.
2014-06-23 09:12:53 +10:00
Nicolas Silva
0edc17a361
Add Fira Sans and DejaVu Sans to the last-resort font families.
2014-06-22 20:25:28 +02:00
Josh Matthews
71b3135739
Merge pull request #2700 from Ms2ger/mut-block
...
Remove a dead assignment from set_width_constraint_solutions.
2014-06-22 17:38:11 +02:00
Ms2ger
696c57006b
Store this-values and arguments in immutable locals in codegen.
2014-06-22 17:17:27 +02:00
Ms2ger
d317c58112
Remove a dead assignment from set_width_constraint_solutions.
2014-06-22 16:45:22 +02:00
Ms2ger
edba815cf5
Merge pull request #2699 from Ms2ger/static-methods
...
Implement static IDL members; r=jdm
2014-06-22 15:55:10 +02:00
Ms2ger
4f0d6979e7
Implement static attributes ( fixes #1989 ).
2014-06-22 15:15:18 +02:00
Ms2ger
6d2784aece
Implement static methods ( fixes #1989 ).
2014-06-22 15:15:12 +02:00
Ms2ger
92f9fe59e5
Introduce static makeNativeName methods to share code with the upcoming static members.
2014-06-22 15:10:56 +02:00
Ms2ger
927ae39817
Merge pull request #2697 from saneyuki/js
...
Remove "DerefMut" implementation from Root/JSRef; r=jdm
2014-06-22 15:10:17 +02:00
Simon Sapin
3f9d0a15d0
Merge pull request #2691 from schaars/testname
...
taking into account TESTNAME variable in reftest (see #41 )
2014-06-22 14:27:01 +02:00
Tetsuharu OHZEKI
975fee82da
Remove needless mutabilities from script crate.
2014-06-22 21:22:58 +09:00
Tetsuharu OHZEKI
7fcade294c
Remove "DerefMut" implementation from Root/JSRef.
2014-06-22 21:22:58 +09:00
Ms2ger
8ec2017126
Merge pull request #2681 from saneyuki/attr
...
Use internal mutability for Attr::value; r=jdm
2014-06-22 14:22:00 +02:00
Ms2ger
5975c53da5
Merge pull request #2696 from saneyuki/fix_warn
...
Fix warning in gfx: "variable does not need to be mutable"; r=Ms2ger
2014-06-22 14:20:04 +02:00
Ms2ger
5e21e981ae
Merge pull request #2695 from Ms2ger/NativeProperties
...
Introduce a NativeProperties struct; r=jdm
2014-06-22 14:19:17 +02:00
Tetsuharu OHZEKI
c78216f688
Fix warning in gfx: "variable does not need to be mutable"
2014-06-22 20:40:51 +09:00
Ms2ger
c90a8529c5
Use internal mutability for Attr::value.
2014-06-22 20:39:21 +09:00
Ms2ger
4964d2792e
Pass the NativeProperties struct to CreateInterfaceObjects2.
...
This will simplify adding more kinds of properties, such as static attributes.
2014-06-22 13:25:18 +02:00
Ms2ger
886d401ff0
Introduce a NativeProperties struct to store the properties.
...
This will simplify adding more kinds of properties, such as static attributes.
2014-06-22 13:25:18 +02:00
Ms2ger
da28a791e5
Store the arrays of properties as &'static [T] rather than [T, ..N].
...
This means the .as_slice() call (which is problematic when storing the array
in a static struct) is no longer necessary.
2014-06-22 13:25:18 +02:00
Josh Matthews
f6294a67c5
Merge pull request #2693 from Ms2ger/fix-indentation
...
Clean up the indentation of generated code.
2014-06-22 13:04:32 +02:00
Ms2ger
0731045249
Remove some spurious newlines from the generated code.
2014-06-21 20:07:09 +02:00
Ms2ger
1a349369f1
Merge pull request #2692 from Martiusweb/style_is_in_doc
...
HTMLStyleElement only applies CSS in the document; r=Ms2ger
2014-06-21 19:38:31 +02:00
Josh Matthews
5067ebac2a
Merge pull request #2683 from Ms2ger/nointerfaceobject
...
Fix the implementation of NoInterfaceObject.
2014-06-21 18:47:39 +02:00
Martin Richard
c2345e930d
HTMLStyleElement only applies CSS in the document
...
HTMLStyleElement will not parse a style element created in Javascript until it
is attached to the DOM.
I added a reftest for the given cases:
* a style element is defined in the HTML code,
* a style element is created in Javascript, CSS content is added to the
element and the element is later attached to the document,
* a style element is created in Javascript, attached to the document and
later CSS content is added to the element,
* a style element is created in Javascript, CSS content is added to the
* element but the element is never attached to the document.
2014-06-21 18:17:19 +02:00
Pierre Louis Aublin
e9343e4bbc
taking into account TESTNAME variable in reftest (see #41 )
2014-06-21 17:26:27 +02:00
Simon Sapin
1e263f9dec
Merge pull request #2688 from schaars/noscript
...
Do not display noscript element
2014-06-21 15:08:49 +02:00
Lars Bergstrom
7df50ae089
Merge pull request #2682 from bjz/assorted-cleanups
...
Assorted cleanups in gfx and layout
2014-06-21 08:07:14 -05:00
Lars Bergstrom
6c150724f4
Merge pull request #2666 from mbrubeck/pinch
...
Separate "desktop" and "mobile" zoom calculations.
2014-06-21 08:06:26 -05:00
Lars Bergstrom
dffc396cae
Merge pull request #2687 from pcwalton/parallel-render
...
Parallel render
2014-06-21 07:56:23 -05:00
Ms2ger
5fb475617b
Move the responsibility for indenting code from CGAbstractMethod.definition_body to its caller.
2014-06-21 14:48:23 +02:00
Ms2ger
46b9343459
Use CGIndenter for CGRegisterProtos.definition_body.
2014-06-21 14:44:08 +02:00
Ms2ger
f3a8f74d3c
Use CGIndenter for CGClassConstructHook.definition_body.
2014-06-21 14:38:58 +02:00
Ms2ger
31ab6415c9
Use CGIndenter for CGAbstractClassHook.definition_body.
2014-06-21 14:36:35 +02:00
Ms2ger
504efb66fb
Indent the contents of obj_toString correctly.
2014-06-21 14:25:08 +02:00
Ms2ger
eb4213f613
Indent the contents of get.
2014-06-21 14:22:14 +02:00
Ms2ger
b5ca6d9a37
Indent the contents of hasOwn.
2014-06-21 14:19:31 +02:00
Ms2ger
cf556cbbd6
Indent the contents of defineProperty.
2014-06-21 14:14:49 +02:00
Ms2ger
8ef51158ff
Indent the contents of getOwnPropertyDescriptor.
2014-06-21 14:10:14 +02:00