aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use better JS engine defaultsJack Moffitt2016-04-081-1/+2
| | | | | | | | | | | This adds in preferences for all the SM 39 available options (as retrieved from Gecko), and uses the same defaults as Gecko. A few properties are not supported yet, and incremental GC is still always disabled regardless of the preference setting. This also adds back in the options that were accidentally deleted when \#10342 was rebased, which moved things from script_thread.rs to script_runtime.rs.
* Fix rebasing errorStjepan Glavina2016-04-071-1/+0
| | | | | | | | | This PR mistakenly removed JIT enabling/disabling by preference: https://github.com/servo/servo/pull/10342/files Look for `get_pref`. I'm putting the missing piece of code into the appropriate place in script_runtime.rs
* refactors entities from script_thread into script_runtimeRahul Sharma2016-04-061-228/+11
|
* forcetouch events supportPaul Rouget2016-04-051-1/+7
| | | | | | | | | | This enables Apple forcetouch DOM events. It requires the preference dom.forcetouch.enabled. The DOM events are described here: - https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html The Cocoa mechanism is documented here: - https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/#//apple_ref/doc/uid/20000016-SW274
* Auto merge of #10325 - stjepang:pref-disable-jit, r=mbrubeckbors-servo2016-04-051-1/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Add preferences to enable/disable the JITs When creating a runtime (script.rs), we check prefs and then enable or disable the JITs (Baseline and Ion) accordingly. Closes #10278. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10325) <!-- Reviewable:end -->
| * Add preferences to enable/disable the JITsStjepan Glavina2016-04-041-1/+11
| | | | | | | | | | When creating a runtime (script.rs), we check prefs and then enable or disable the JITs (Baseline and Ion).
* | Inlined content_changedAdrian Utrilla2016-04-041-2/+1
| |
* | Auto merge of #10327 - frewsxcv:get-prefix, r=ms2gerbors-servo2016-04-021-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | Remove `get_*` on getters as per RFC 0344. https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis https://github.com/servo/servo/issues/6224 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10327) <!-- Reviewable:end -->
| * Remove `get_*` on getters as per RFC 0344.Corey Farwell2016-03-311-1/+1
| | | | | | | | | | | | https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis https://github.com/servo/servo/issues/6224
* | Report errors from ScriptPort trait methods.Josh Matthews2016-03-311-13/+15
|/
* Auto merge of #8641 - notriddle:no_headless, r=glennwbors-servo2016-03-291-0/+1
|\ | | | | | | | | | | | | | | | | | | No more headless compositor. Just the normal one. Fixes #8573 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641) <!-- Reviewable:end -->
| * No more headless compositor. Just the normal one.Michael Howell2016-03-241-0/+1
| | | | | | | | | | | | | | | | | | This changes headless operation to strictly be a runtime option, rather than a compile-time one. Note that the old headless version still relied on a display server to support WebGL, while it now requires one all the time. Fixes #8573
* | change changes effecting verbosityfaineance2016-03-271-4/+2
| |
* | use self.0 instead of destructing single item tuple structsfaineance2016-03-271-6/+4
|/
* Add task_source directoryKeith Yeung2016-03-101-101/+12
| | | | Use DOMManipulationTaskSource whenever possible
* Refactor mouseover code to be more performantEmilio Cobos Álvarez2016-03-021-33/+42
| | | | This increases mouseover/out performance drastically on my machine.
* Implement GetElementRect webdriver commandDaniel Robertson2016-02-241-0/+2
| | | | Implement the webdriver Get Element Rect command
* Auto merge of #9603 - Ms2ger:document-bc, r=jdmbors-servo2016-02-191-4/+7
|\ | | | | | | | | | | | | | | Store a pointer to the browsing context in the Document. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9603) <!-- Reviewable:end -->
| * Store a pointer to the browsing context in the Document.Ms2ger2016-02-111-4/+7
| |
* | Implement planned navigationKeith Yeung2016-02-181-1/+3
| |
* | Issue #9561 Renamed *_thread_source to *_task_source and ThreadSource to ↵Kamil Muszyński2016-02-141-51/+51
| | | | | | | | TaskSource
* | Notify devtools about new script globals sooner.Josh Matthews2016-02-111-5/+3
| |
* | Report CSS errors to script task for further processing.Josh Matthews2016-02-111-1/+2
|/
* Make iframes block the enclosing document's load event. Fixes #6663.Josh Matthews2016-02-101-1/+1
|
* mozbrowsersercuritychange eventPaul Rouget2016-02-091-0/+2
|
* Make iframe's load event trigger a reflow of the enclosing window. Add a ↵Josh Matthews2016-01-261-0/+8
| | | | catch-all reflow for all same-origin pages sharing an event loop.a
* compositing: Fix a couple of bugs that prevented iframes from paintingPatrick Walton2016-01-261-0/+18
| | | | | | | | | | | | | | | after navigation. The first bug was that iframes were not reflowed in their parent DOM when the child page navigated. This is fixed by simply having the constellation notify the appropriate script thread when navigation occurs. The second bug was that the compositor was unable to adjust the pipeline for existing iframe layers, only new ones. This patch adds logic to do that. Closes #8081.
* Check if root page exist before handling DOM eventsPaul Rouget2016-01-251-6/+11
|
* Auto merge of #9263 - DarinM223:move_mousebutton, r=KiChjangbors-servo2016-01-161-3/+2
|\ | | | | | | | | | | | | | | | | | | Moved MouseButton from msg to script_traits Fixes #9250 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9263) <!-- Reviewable:end -->
| * Moving MouseButton from msg to script_traitsDarin Minamoto2016-01-131-3/+2
| |
* | Rename SCRIPT_TASK_ROOT to SCRIPT_THREAD_ROOTJoshua Holmer2016-01-141-7/+7
|/ | | | Resolves #9316
* move MozBrowserEvent to script_traits (+ documentation)apopiak2016-01-131-2/+2
|
* Moving MouseEventType from msg to script_traitsMatt McCoy2016-01-111-2/+3
|
* Auto merge of #8972 - GauriGNaik:expose-css-errors-1, r=jdmbors-servo2016-01-121-10/+13
|\ | | | | | | | | | | | | | | M1501: CSS Error Reporting: Final Steps Last Part <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8972) <!-- Reviewable:end -->
| * Final stepsGauriGNaik2016-01-111-10/+13
| |
* | Stop reexporting ReflowGoal from layout_interface.Ms2ger2016-01-111-1/+2
|/
* task -> threadrohan.prinja2016-01-101-0/+2247