aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_runtime.rs
Commit message (Collapse)AuthorAgeFilesLines
* Upgraded to SM 60Alan Jeffrey2018-08-201-50/+75
|
* Pass new method in CollectServoSizes for accurate DOM heap use reportingAnthony Weston2018-03-271-1/+22
|
* Remove js.mem.gc.refresh_frame_slices.enabled prefAdrian Wielgosik2018-01-061-1/+0
| | | | Clean up after gecko bug 1421358
* Bump bitflags to 1.0 in every servo crateBastien Orivel2017-10-301-3/+3
|
* added time to interactive metrics, refactored metrics to use traitsddh2017-10-241-2/+3
| | | | changed task macro to take pipeline info
* Do not trace Rust values when thread is shutting down.Josh Matthews2017-10-201-4/+28
|
* Move script_runtime::StackRootTLS to root::ThreadLocalStackRootsAnthony Ramine2017-09-271-20/+2
|
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Rename Task to TaskBoxAnthony Ramine2017-09-201-2/+2
|
* Make Task require SendAnthony Ramine2017-09-201-1/+1
|
* Move Task to its own moduleAnthony Ramine2017-09-181-1/+2
|
* Rename Runnable to TaskAnthony Ramine2017-09-161-4/+4
| | | | | | | | | | | | The changes are: * `*Runnable` -> `*Task`; * `RunnableMsg` -> `Task`; * `RunnableWrapper` -> `TaskCanceller`; * `MainThreadRunnable` -> `MainThreadTask`; * `wrap_runnable` -> `wrap_task`; * `get_runnable_wrapper` -> `task_canceller`; * `handler` -> `run`; * `main_thread_handler` -> `run_with_script_thread`.
* Put the name of runnables in Debug for CommonScriptMsgAnthony Ramine2017-09-161-1/+3
|
* Make Performance Timeline API work in WorkersFernando Jiménez Moreno2017-09-051-1/+2
|
* Added Debug implementations.Alan Jeffrey2017-06-131-0/+10
|
* Implemented Houdini worklets.Alan Jeffrey2017-05-171-0/+1
|
* Update rust-mozjs to master.Josh Matthews2017-03-311-1/+1
|
* Generalize promise job queue into solitary microtask queue.Josh Matthews2017-02-011-75/+7
|
* Add a permanent root to WebIDL callbacks, ensuring they are always safe to ↵Josh Matthews2017-01-131-2/+2
| | | | store.
* WebVR API Implementation, r=larsbergstromImanol Fernandez2017-01-091-0/+1
|
* Implement the entry global.Ms2ger2017-01-061-0/+2
| | | | Partial fix for #10963.
* Removed util.Alan Jeffrey2016-12-141-2/+2
|
* Add support for fullscreen #10102Jansen Jan2016-12-091-1/+3
|
* Add a JSTraceable bound on ScriptChanAnthony Ramine2016-12-061-2/+2
|
* Update js.Ms2ger2016-11-271-27/+5
|
* Remove GlobalRoot and GlobalRefAnthony Ramine2016-10-061-2/+1
|
* Make the closure in flush_promise_jobs return a Root<GlobalScope>Anthony Ramine2016-10-061-4/+4
|
* Introduce GlobalScope::enqueue_promise_jobAnthony Ramine2016-10-061-4/+4
|
* Make PromiseJobQueue::enqueue take a &GlobalScopeAnthony Ramine2016-10-061-3/+4
|
* Introduce GlobalScope::flush_promise_jobsAnthony Ramine2016-10-061-1/+1
|
* Introduce GlobalScope::pipeline_idAnthony Ramine2016-10-061-1/+1
|
* Support promises in workers.Josh Matthews2016-09-221-2/+103
|
* Most of the code refactoring needed to be done is done with this commit.Arthur Marble2016-09-181-2/+2
|
* Remove mutex from TrustedAlan Jeffrey2016-08-291-3/+1
| | | | | Use weak references rather than message passing to garbage-collect dead references.
* Move thread_state to style.Ms2ger2016-08-221-1/+1
|
* Correct the call to JS_SetGCZeal.Ms2ger2016-07-291-4/+4
|
* Refactor `util::prefs` operations to be methods on static struct.Corey Farwell2016-07-021-31/+31
|
* Wrap executions of Rust code called from JS in catch_unwind. Propagate the ↵Josh Matthews2016-06-221-1/+17
| | | | interrupted panic to the origin of the JS execution via TLS before resuming. Fix #6462.
* implement related sw interface and register methodRahul Sharma2016-06-021-0/+1
|
* script: Keep the DOM-side viewport up to date when scrolling happens inPatrick Walton2016-05-311-0/+1
| | | | | | | | | | | | | | | WebRender. This happens asynchronously, just as it does in non-WebRender mode. This functionality is a prerequisite for doing proper display-list-based hit testing in WebRender, since it moves the scroll offsets into Servo (and, specifically, into the script thread, enabling iframe event forwarding) instead of keeping them private to WebRender. Requires servo/webrender_traits#55 and servo/webrender#277. Partially addresses #11108.
* Bump rust-mozjs for the safe Runtime::new (fixes #11512)Anthony Ramine2016-05-311-2/+2
|
* Pass a parent JS runtime when creating DOM Worker runtimesTill Schneidereit2016-05-241-2/+2
| | | | This enables sharing data with the parent runtime, decreasing memory usage and startup time. Also contains an update to current rust-mozjs, because that's required for this to work.
* Support GC zealAnthony Ramine2016-05-121-0/+22
|
* Make debug logging for tracing JS objects more informative.Josh Matthews2016-05-111-0/+2
|
* Update SpiderMonkeyAnthony Ramine2016-05-031-3/+3
|
* Update js.Ms2ger2016-04-201-82/+37
|
* Use better JS engine defaultsJack Moffitt2016-04-081-0/+177
| | | | | | | | | | | 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/+11
| | | | | | | | | 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-0/+235