Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Instate a pre-wrap hook that outerizes its argument, to satisfy an ↵ | Ms2ger | 2014-05-14 | 1 | -0/+19 | |
| | | | | | | | | undocumented JSAPI requirement. | |||||
* | | auto merge of #2452 : Ms2ger/servo/getDefaultRetval, r=jdm | bors-servo | 2014-05-16 | 1 | -62/+28 | |
|\ \ | ||||||
| * | | Stop returning a default return value from getRetvalInfo. | Ms2ger | 2014-05-16 | 1 | -36/+18 | |
| | | | | | | | | | | | | This is now unused. | |||||
| * | | Remove getDefaultRetval. | Ms2ger | 2014-05-16 | 1 | -26/+10 | |
| | | | | | | | | | | | | | | | | | | getDefaultRetval was supposed to be used after throwing an exception on the ErrorResult outparam in C++. However, as we throw exceptions through the return value in Servo, we don't need it at all. | |||||
* | | | Remove unused imports for UnionTypes codegen. Fixes #2440. | Glenn Watson | 2014-05-16 | 1 | -23/+3 | |
|/ / | ||||||
* / | Switch to using ContravariantLifetime in JSRef<'a, T>. | Cameron Zwarich | 2014-05-14 | 1 | -3/+4 | |
|/ | | | | | Since ContravariantLifetime doesn't take up any storage space, this means that JSRef will be a single word. This fixes #2333. | |||||
* | auto merge of #2428 : zwarich/servo/remove-add-html-element, r=jdm | bors-servo | 2014-05-14 | 1 | -79/+74 | |
|\ | | | | | | | | | We can just use the defaults for all of the HTML elements for now and deal with the nonstandard behavior later. This fixes #2207. | |||||
| * | Remove addHTMLElement from Bindings.conf. | Cameron Zwarich | 2014-05-13 | 1 | -79/+74 | |
| | | | | | | | | | | We can just use the defaults for all of the HTML elements for now and deal with the nonstandard behavior later. This fixes #2207. | |||||
* | | Remove the isOptional argument and the dealWithOptional return value from ↵ | Ms2ger | 2014-05-10 | 1 | -44/+25 | |
| | | | | | | | | | | | | | | | | | | getJSToNativeConversionTemplate. Note that dictionaries currently don't support members without default values right now. This commit does not change the generated code. | |||||
* | | Remove the argcAndIndex argument from instantiateJSToNativeConversionTemplate. | Ms2ger | 2014-05-10 | 1 | -77/+64 | |
|/ | | | | This commit does not change the generated code. | |||||
* | Convert as many of Page's RefCell fields to Cell as possible (fixes #1990). | Guro Bokum | 2014-05-09 | 1 | -1/+7 | |
| | ||||||
* | Basic synchronous GET with XHR | Manish Goregaokar | 2014-05-09 | 2 | -2/+49 | |
| | ||||||
* | Remove an unused field from CodegenRust.py. | Cameron Zwarich | 2014-05-08 | 1 | -1/+0 | |
| | | | | | | The defaultVisibility field was cloned from the C++ implementation, where it tracks the difference between struct and class visibility. Since no similar concept exists in Rust, it should be removed. | |||||
* | Add ProgressEvent interface | Manish Goregaokar | 2014-05-08 | 1 | -0/+1 | |
| | ||||||
* | auto merge of #2346 : gsingh93/servo/master, r=jdm | bors-servo | 2014-05-07 | 1 | -0/+2 | |
|\ | ||||||
| * | Add Performance object to Window and implement Performance::Now() | Gulshan Singh | 2014-05-07 | 1 | -0/+2 | |
| | | ||||||
| * | Add support for DOMString in unions (fixes #2324). | Ms2ger | 2014-05-07 | 1 | -0/+5 | |
| | | ||||||
* | | Remove unused zip_copies. | Ms2ger | 2014-05-07 | 1 | -1/+0 | |
| | | ||||||
* | | Rename from_unrooted to from_temporary. Fixes #2332. | Glenn Watson | 2014-05-07 | 1 | -1/+1 | |
| | | ||||||
* | | auto merge of #2343 : Ms2ger/servo/String-union, r=jdm | bors-servo | 2014-05-06 | 1 | -0/+5 | |
|\ \ | |/ |/| | ||||||
| * | Add support for DOMString in unions (fixes #2324). | Ms2ger | 2014-05-06 | 1 | -0/+5 | |
| | | ||||||
* | | Enter a compartment when calling callbacks. | Ms2ger | 2014-05-06 | 1 | -4/+11 | |
| | | ||||||
* | | Use a single JSContext per JSRuntime. | Ms2ger | 2014-05-05 | 2 | -13/+22 | |
|/ | | | | | | | | | | The long-term plan for SpiderMonkey is to eliminate JSContexts by merging (most of) it into JSRuntime, so to future-proof our code, we should avoid creating multiple JSContexts for the same JSRuntime. However, this implies we'll have to use the same JSContext for objects in different compartments, so we need to enter compartments. This is done by using the with_compartment function. | |||||
* | auto merge of #2299 : Ms2ger/servo/getJSToNativeConversionTemplate-cleanup, ↵ | bors-servo | 2014-05-05 | 1 | -138/+75 | |
|\ | | | | | | | r=jdm | |||||
| * | Assign into the argument binding directly in ↵ | Ms2ger | 2014-05-05 | 1 | -9/+11 | |
| | | | | | | | | instantiateJSToNativeConversionTemplate. | |||||
| * | Move the assignment outside the if when dealing with optional arguments. | Ms2ger | 2014-05-05 | 1 | -6/+6 | |
| | | ||||||
| * | Move the assignment of 'None' in the no-argument-passed case into an else ↵ | Ms2ger | 2014-05-05 | 1 | -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. | Ms2ger | 2014-05-05 | 1 | -13/+8 | |
| | | | | | | | | This commit does not change the generated code. | |||||
| * | Move the handling of default values in getJSToNativeConversionTemplate into ↵ | Ms2ger | 2014-05-05 | 1 | -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. | Ms2ger | 2014-05-05 | 1 | -13/+2 | |
| | | ||||||
| * | Remove references to unused substitution variables in ↵ | Ms2ger | 2014-05-05 | 1 | -26/+1 | |
| | | | | | | | | getJSToNativeConversionTemplate. | |||||
* | | Fix some unused_mut/unused_result warnings | Manish Goregaokar | 2014-05-05 | 1 | -2/+1 | |
|/ | ||||||
* | Prevent unused result warning in codegen. Always expect success for now. | Glenn Watson | 2014-05-05 | 1 | -1/+1 | |
| | ||||||
* | Replace most ~"string"s with "string".to_owned(). | Ms2ger | 2014-05-04 | 1 | -1/+1 | |
| | ||||||
* | Replace all ~"" with "".to_owned(). | Ms2ger | 2014-05-03 | 1 | -1/+1 | |
| | ||||||
* | Address review comments. | Josh Matthews | 2014-05-03 | 5 | -111/+116 | |
| | ||||||
* | Make dictionaries contain Root<T> values instead of JS<T>, ensuring that ↵ | Josh Matthews | 2014-05-03 | 3 | -5/+17 | |
| | | | | they will not be collected while the dictionary is alive. | |||||
* | Address review comments. | Josh Matthews | 2014-05-03 | 4 | -52/+71 | |
| | ||||||
* | Remove all root collections. | Josh Matthews | 2014-05-03 | 3 | -37/+38 | |
| | ||||||
* | Store per-ScriptTask RootCollection in TLS and use that in favour of ↵ | Josh Matthews | 2014-05-03 | 1 | -2/+9 | |
| | | | | per-frame collections. | |||||
* | Root Temporary values for the duration of their lifetime. | Josh Matthews | 2014-05-03 | 2 | -13/+28 | |
| | ||||||
* | s/Unrooted/Temporary/g | Josh Matthews | 2014-05-03 | 4 | -30/+30 | |
| | ||||||
* | Move stack roots into Root types instead of RootCollection, removing the ↵ | Josh Matthews | 2014-05-03 | 1 | -60/+23 | |
| | | | | aribtrary 10 roots per stack frame restriction. | |||||
* | Remove abstract_self. | Josh Matthews | 2014-05-03 | 3 | -110/+12 | |
| | ||||||
* | Move WebIDL methods to traits implemented by JSRef types. | Josh Matthews | 2014-05-03 | 1 | -23/+48 | |
| | ||||||
* | Remove JS::get/get_mut to enforce sound rooting practices. | Josh Matthews | 2014-05-03 | 4 | -46/+30 | |
| | ||||||
* | Implement safe rooting strategy via Unrooted, Root, JSRef, and JS. | Josh Matthews | 2014-05-03 | 4 | -37/+231 | |
| | ||||||
* | Turn on GC all the time. Fix rooting errors during parsing and storing ↵ | Josh Matthews | 2014-05-03 | 5 | -62/+337 | |
| | | | | timers. Fix borrow errors during tracing. | |||||
* | auto merge of #2301 : Manishearth/servo/xhr-bytestring, r=Ms2ger | bors-servo | 2014-05-03 | 1 | -0/+1 | |
|\ | | | | | | | | | | | I had used DOMString in place of ByteString while implementing the XHR webidl, now that we have ByteString, I'll switch to that. Blocks #2282 | |||||
| * | Use ByteString in XHR | Manish Goregaokar | 2014-05-03 | 1 | -0/+1 | |
| | |