aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/reporter.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move CSSReporter from script_layout_interface to scriptAnthony Ramine2019-01-141-48/+0
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Remove useless `use crate_name;` imports.Simon Sapin2018-11-081-1/+0
| | | | A `crate_name::foo` path always works in 2018
* Reorder importsPyfisch2018-11-061-2/+2
|
* format script_layout_interfaceAnshul Malik2018-09-121-15/+19
|
* Bump env_logger to 0.5 and log to 0.4 in every servo crateBastien Orivel2018-03-281-1/+1
|
* Replace all uses of the `heapsize` crate with `malloc_size_of`.Nicholas Nethercote2017-10-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* Remove uses of `format!` in components/style/error_reporting.rsSimon Sapin2017-09-021-1/+1
|
* order derivable traits listsClément DAVID2017-08-231-1/+1
| | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
* Update to cssparser 0.19, count line numbers during tokenizationSimon Sapin2017-08-091-10/+6
|
* Bump serde to 1.0Bastien Orivel2017-06-161-1/+1
|
* Thread ParseError return values through CSS parsing.Josh Matthews2017-06-091-2/+2
|
* Report CSS parse errors via enum instead of strings.Josh Matthews2017-06-091-9/+9
|
* Fix indentation errors in servo rust code that tidy now finds.coalman2017-04-181-19/+19
|
* Support line number offsets for inline stylesheetsmckaymatt2017-04-131-2/+4
|
* style: Avoid cloning all over the error reporter.Emilio Cobos Álvarez2017-03-141-11/+11
|
* Add ServoUrl as a parameter to report_error(...) of ParseErrorReporteravinash2017-03-061-5/+8
| | | | | | | | | | | | | | | | | passes test-tidy removed match and used map added new test test_report_error_passing_correct_url(...) and modified old unit tests removed the option for servourl and tidied up removed the duplicate test. made a few more changes after @cbrewster suggestions. changed _url to url in few places fixed the indenting
* Move CSSErrorReporter to script_layout_interface.Ms2ger2016-06-201-0/+44