aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Assign into the argument binding directly in ↵Ms2ger2014-05-051-9/+11
| | | | instantiateJSToNativeConversionTemplate.
* Move the assignment outside the if when dealing with optional arguments.Ms2ger2014-05-051-6/+6
|
* Move the assignment of 'None' in the no-argument-passed case into an else ↵Ms2ger2014-05-051-3/+3
| | | | | | | branch. This is the only case where we assign into an argument local twice, so removing it will allow us to make that binding immutable.
* Remove getJSToNativeConversionTemplate's initialValue return value.Ms2ger2014-05-051-13/+8
| | | | This commit does not change the generated code.
* Move the handling of default values in getJSToNativeConversionTemplate into ↵Ms2ger2014-05-051-75/+51
| | | | | | | | | | | | | | handleOptional. This is a first step towards moving responsibility for default values into the caller, which should improve their code (in particular for the dictionary codegen. This also introduces a Dictionary::empty function, whose implementation is a hack. The implementation will be improved once its codegen has access to the raw default values. Besides dictionaries, this commit does not change the generated code.
* Use CGIfWrapper in instantiateJSToNativeConversionTemplate.Ms2ger2014-05-051-13/+2
|
* Remove references to unused substitution variables in ↵Ms2ger2014-05-051-26/+1
| | | | getJSToNativeConversionTemplate.
* auto merge of #2320 : glennw/servo/codegen-warnings, r=jdmbors-servo2014-05-051-1/+1
|\ | | | | | | | | | | Is it reasonable to always expect success here for now? Fixes #2246.
| * Prevent unused result warning in codegen. Always expect success for now.Glenn Watson2014-05-051-1/+1
| |
* | auto merge of #2316 : Ms2ger/servo/owned-str-tests, r=jdmbors-servo2014-05-052-3/+3
|\ \
| * | Use str.to_owned() in tests.Ms2ger2014-05-042-3/+3
| |/
* | Changes based on reviewMatt Murphy2014-05-049-17/+17
| |
* | Convert Vec::new() to vec!()Matt Murphy2014-05-0439-134/+133
| |
* | ~[] to Vec in harness/contenttest/contenttest.rsMatt Murphy2014-05-041-2/+2
| |
* | ~[] to Vec in net/resource_task.rsMatt Murphy2014-05-042-3/+3
| |
* | ~[] to Vec in util/cache.rsMatt Murphy2014-05-041-3/+3
| |
* | ~[] to Vec in style/selectors.rsMatt Murphy2014-05-041-30/+30
| |
* | ~[] to Vec in util/time.rsMatt Murphy2014-05-041-17/+17
| |
* | ~[] to Vec in script/script_task.rsMatt Murphy2014-05-041-1/+1
| |
* | ~[] to Vec in script/script_task.rsMatt Murphy2014-05-041-2/+2
| |
* | ~[] to Vec in script/html/hubbub_html_parser.rsMatt Murphy2014-05-041-2/+2
| |
* | ~[] to Vec in style/properties.rs.mako and selector_matching.rsMatt Murphy2014-05-042-10/+10
| |
* | ~[] to Vec in script/dom/node.rsMatt Murphy2014-05-041-1/+1
| |
* | ~[] to Vec in gfx/text/text_run.rsMatt Murphy2014-05-041-4/+4
| |
* | ~[] to Vec in gfx/text/shaping/harfbuzz.rsMatt Murphy2014-05-042-7/+7
| |
* | ~[] to std::vec::Vec in gfx/text/glyph.rsMatt Murphy2014-05-041-9/+9
| |
* | ~[] to Vec in gfx/font_list.rsMatt Murphy2014-05-041-2/+2
| |
* | ~[] to Vec in glut_windowingMatt Murphy2014-05-041-2/+2
| |
* | ~[] to Vec in glfw_windowing and servoMatt Murphy2014-05-042-3/+3
| |
* | ~[] to Vec in table, table_colgroup, and textMatt Murphy2014-05-043-14/+13
| |
* | ~[] to Vec in layout flow, block, table, row, rowgroup, wrapperMatt Murphy2014-05-046-70/+70
| |
* | ~[] to Vec in mainMatt Murphy2014-05-042-3/+2
| |
* | ~[] to Vec in main/constellation.rsMatt Murphy2014-05-041-16/+16
| |
* | ~[] to Vec in main/compositing/compositor_layer.rsMatt Murphy2014-05-041-5/+5
| |
* | ~[] to Vec in main/layout/wrapper.rsMatt Murphy2014-05-041-5/+5
| |
* | ~[] to Vec in main/layout/layout_task.rs, script/dom/clientrectlist.rs,Matt Murphy2014-05-041-1/+1
| | | | | | | | script/layout_interface.rs
* | ~[] to Vec in main/layout/box_.rs, gfx/text/util.rs, main/layout/text.rsMatt Murphy2014-05-043-13/+14
| |
* | ~[] to Vec in main/layout/construct.rs and associated filesMatt Murphy2014-05-042-3/+54
| |
* | ~[] to std::vec::Vec in layoutMatt Murphy2014-05-042-11/+11
| |
* | ~[] to Vec in main/compositing and associated filesMatt Murphy2014-05-046-57/+57
| |
* | ~[] to Vec in style/media_quieres.rs, selectors.rs, stylesheets.rsMatt Murphy2014-05-043-16/+17
| |
* | ~[] to Vec in FontStyle and FontGroupMatt Murphy2014-05-045-16/+16
|/
* Call find_equiv to avoid allocation strings.Ms2ger2014-05-041-3/+3
|
* Reorder some comparisons to avoid allocating strings for them.Ms2ger2014-05-044-39/+39
|
* Replace most ~"string"s with "string".to_owned().Ms2ger2014-05-0435-210/+210
|
* Replace all ~"" with "".to_owned().Ms2ger2014-05-0378-290/+290
|
* Address review comments.Josh Matthews2014-05-0383-374/+316
|
* Fix up the virtual method unsoundness.Josh Matthews2014-05-034-24/+26
|
* Make dictionaries contain Root<T> values instead of JS<T>, ensuring that ↵Josh Matthews2014-05-035-11/+20
| | | | they will not be collected while the dictionary is alive.
* Address review comments.Josh Matthews2014-05-0399-380/+388
|