aboutsummaryrefslogtreecommitdiffstats
path: root/components/devtools_traits/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move `*_traits` and other shared types to `shared`Martin Robinson2023-11-031-372/+0
| | | | | | | | | | | | This is the start of the organization of types that are in their own crates in order to break dependency cycles between other crates. The idea here is that putting these packages into their own directory is the first step toward cleaning them up. They have grown organically and it is difficult to explain to new folks where to put new shared types. Many of these crates contain more than traits or don't contain traits at all. Notably, `script_traits` isn't touched because it is vendored from Gecko. Eventually this will move to `third_party`.
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-5/+4
| | | | | * strict imports formatting * Reformat all imports
* remove `extern crate` (#30311)Samson2023-09-081-7/+4
| | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Fix some Clippy lints.Teymour Aldridge2022-08-041-1/+1
|
* Upgrade HyperNaveen Gattu2022-01-161-1/+1
|
* Console.Clear implementedmustafapc192020-07-291-0/+1
|
* Update devtools page titles.Josh Matthews2020-04-281-0/+3
|
* Support connecting to worker globals from remote devtools.Josh Matthews2020-04-281-1/+1
|
* Support navigating browsing contexts in the devtools.Josh Matthews2020-04-261-3/+14
| | | | | | | | | | | | | Break the association between pipelines and browsing context actors. Now there is one browsing context actor per actual browsing context, and individual actors keep track of known pipelines as necessary. There is also one console/performance/timeline/inspector/etc. actor per browsing context. This also centralizes more information in the browsing context actor. Rather than duplicating state for the active pipeline in actors that need to use it, each actor now remembers the name of its associated browsing context actor and obtains that state whenever it's necessary.
* `WorkerId` changed to type UUID.Kunal Mohan2019-12-101-3/+3
|
* `worker_id` type changed to uuidKunal Mohan2019-12-101-2/+3
| | | | | Fixes #6631 `worker_id` is now generate as uuid and saved as string.
* devtools: save and send cached messagesPaul Rouget2019-12-061-7/+4
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-8/+1
|
* Reorder importsPyfisch2018-11-061-1/+1
|
* Update hyper to 0.12Bastien Orivel2018-11-011-5/+5
|
* Format components devtools and devtools_traits #21373kingdido9992018-09-021-9/+20
|
* Bump bitflags to 1.0 in every servo crateBastien Orivel2017-10-301-3/+3
|
* Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest ↵Gecko Backout2017-10-191-3/+3
| | | | | | failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE Backs out https://github.com/servo/servo/pull/18809
* Update bitflags to 1.0 in every servo crateBastien Orivel2017-10-191-3/+3
| | | | | It still needs dependencies update to remove all the other bitflags versions.
* Replace all uses of the `heapsize` crate with `malloc_size_of`.Nicholas Nethercote2017-10-181-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`.
* order derivable traits listsClément DAVID2017-08-231-6/+6
| | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
* Remove explicit dependencies on serde_deriveSimon Sapin2017-06-161-1/+1
|
* Bump serde to 1.0Bastien Orivel2017-06-161-2/+2
|
* Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23).Ms2ger2017-01-241-2/+0
|
* Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06)Simon Sapin2017-01-061-2/+0
|
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-4/+4
|
* Derive Debug on devtools_traits types.Ms2ger2016-11-091-18/+21
|
* Remove #![feature(rustc_attrs)]Anthony Ramine2016-11-031-1/+1
|
* Remove #![feature(structural_match)]Anthony Ramine2016-11-031-1/+1
|
* Use heapsize_derive instead of heapsize_pluginSimon Sapin2016-11-031-4/+3
|
* Setting a devtools timeline marker may fail, due to pipeline lookup failure.Alan Jeffrey2016-10-121-1/+2
|
* Update to Rust 1.14.0-nightly (19ac57926 2016-10-08)Anthony Ramine2016-10-091-2/+4
| | | | A cargo bump and a switch to serde_derive is needed to do this rustup.
* Derive the HeapSizeOf on TimelineMarkerTypeWellington Cordeiro2016-09-301-1/+1
|
* dom::Response implementationMalisa Smith2016-09-061-2/+1
|
* Console message packets should have a '_type' attributeJarda Snajdr2016-08-311-2/+2
|
* Added devtools support to fetch for XHR + Manish's XHR ident fixddh2016-07-291-0/+1
| | | | | | added unit test for request fetch with devtools added devtools/fetch test
* Removed some sources of panic from script thread and devtools, using Option ↵David Raifaizen2016-07-251-4/+4
| | | | values instead to indicate when a pipeline context is missing where appropriate. Additionally, removed erroneous method get_browsing_context.
* Make the net monitor panel in FF's devtools show meaningful output.Josh Matthews2016-06-061-1/+6
| | | | | | | | | | | | | 0) Advertise support for the network monitor in the initial protocol communication. 1) Only notify the developer tools server about the final request in an HTTP transaction. 2) Add timing information for connecting to the HTTP server and sending the HTTP request. 3) Reduce duplication between various networkEventUpdate structures by creating a helper function that merges two JSON structures together. This also corrects the JSON structure so the devtools client interprets the output correctly. 4) Calculate various header size fields correctly. 5) Remove unnecessary usize->u32 casts by making the appropriate fields usize. 6) Add header values to request and response header messages. 7) Support triggering page reloads via the devtools client.
* Upgrade to bitflags 0.6.0 and selectors 0.5.6Matt Brubeck2016-04-301-1/+1
| | | | | Types generated by `bitflags!` are now private by default. This PR marks them `pub` where necessary.
* Remove references to unused crates.Zbynek Winkler2016-04-221-1/+0
| | | | The cleanup is based on info from using "-W unused-extern-crates".
* Silence unused-extern-crates false positives.Zbynek Winkler2016-04-221-0/+1
| | | | | | | | | Added #[allow(unused_extern_crates)] to silence false positives * bitflags, lazy_static and matches because macro_use * alloc_jemalloc because builtin crate See https://github.com/rust-lang/rust/issues/30849
* Use serde in devtoolsAnthony Ramine2016-03-311-21/+7
|
* Completed implementation of devtools' `getLayout`.benshu2016-02-241-0/+29
|
* Report CSS errors to script task for further processing.Josh Matthews2016-02-111-4/+4
|
* Say farewell to in-tree HeapSizeOfAnthony Ramine2016-02-041-2/+2
|
* Final stepsGauriGNaik2016-01-111-0/+12
|
* task -> threadrohan.prinja2016-01-101-4/+4
|
* Support responseCookies, responseContent, responseHeaders, requestCookies, ↵Abhishek Kumar2015-12-211-0/+2
| | | | | | | | | getResponseHeaders, getResponseContent, getRequestPostData, getRequestCookies, getResponseCookies, getEventTimings and getSecurityInfo message for network devtools Fixing Indentation
* Moved WorkerId type to devtools_traitsFlorian Strübe2015-12-071-1/+4
|