Josh Matthews
27ae1ef2e7
Thread ParseError return values through CSS parsing.
2017-06-09 16:46:25 -04:00
Josh Matthews
58e39bfffa
The ParseErrorReporter trait no longer needs to be Send.
2017-06-09 13:16:39 -04:00
Josh Matthews
3773a4d499
Encapsulate CSS error reporter creation for stylo.
2017-06-09 13:16:38 -04:00
Josh Matthews
fd6e54d9e3
Report CSS parse errors via enum instead of strings.
2017-06-09 13:16:32 -04:00
Simon Sapin
7fe57ecaea
Rename StdoutErrorReporter to RustLogReporter.
2017-04-24 08:23:41 +02:00
Simon Sapin
de1fe51dc6
Rename MemoryHoleReporter to NullReporter
2017-04-24 07:56:50 +02:00
mckaymatt
5d8cbd8e6a
Support line number offsets for inline stylesheets
2017-04-13 19:36:49 -04:00
Xidorn Quan
37585309e9
Use a UrlExtraData type alias to unify url handling logic.
2017-04-03 21:57:16 +10:00
Emilio Cobos Álvarez
b4de69e3eb
style: Avoid cloning all over the error reporter.
2017-03-14 00:49:18 +01:00
avinash
f48f0567cf
Add ServoUrl as a parameter to report_error(...) of ParseErrorReporter
...
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
2017-03-06 09:06:42 -06:00
Emilio Cobos Álvarez
858ee1f1ec
style: Document the error_reporting module.
2016-12-31 23:24:19 +01:00
Ms2ger
79e0d18a1d
Add some documentation to the style crate.
2016-06-27 17:33:14 +02:00
Simon Sapin
00b6210519
Make the style crate almost build on stable Rust.
...
`discriminant_value` will need to be replaced with something else later.
2016-06-22 15:44:13 +02:00
Bobby Holley
384cdfcfff
Hoist ParseErrorReporter into style and remove the dependency on msg.
...
The pipeline id stuff is currently unused. If someone needs it, they can add
an additional trait bound on their css error reporter to get the pipeline id.
2016-01-11 18:01:48 -08:00