Skip to content

Commit d3a2241

Browse files
committed
Rename the project to html5ever
1 parent df660d4 commit d3a2241

36 files changed

+83
-83
lines changed

COPYRIGHT

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This project is copyright 2014, The HTML5 for Rust Project Developers (given in
1+
This project is copyright 2014, The html5ever Project Developers (given in
22
the file AUTHORS).
33

44
Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

LICENSE-MIT

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014 The HTML5 for Rust Project Developers
1+
Copyright (c) 2014 The html5ever Project Developers
22

33
Permission is hereby granted, free of charge, to any
44
person obtaining a copy of this software and associated

Makefile.in

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
# Copyright 2014 The html5ever Project Developers. See the
22
# COPYRIGHT file at the top-level directory of this distribution.
33
#
44
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
@@ -69,50 +69,50 @@ $(foreach example,$(EXAMPLES),\
6969
$(eval $(call DEF_EXAMPLE,$(example))))
7070

7171
# Run #[test] functions
72-
html5-test: $(LIB_DEPS)
72+
html5ever-test: $(LIB_DEPS)
7373
$(RUSTC_CMD) -o $@ --test $(LIB_TOP_SRC)
7474

7575
# Run external tests loaded from JSON
76-
html5-external-test: $(EXT_TEST_ALL_SRC) $(LIB)
76+
html5ever-external-test: $(EXT_TEST_ALL_SRC) $(LIB)
7777
$(RUSTC_CMD) $(EXT_TEST_TOP_SRC)
7878

7979
# Run benchmarks
80-
html5-external-bench: $(EXT_BENCH_ALL_SRC) $(LIB)
80+
html5ever-external-bench: $(EXT_BENCH_ALL_SRC) $(LIB)
8181
$(RUSTC_CMD) $(EXT_BENCH_TOP_SRC)
8282

8383
.PHONY: check
8484
check: check-build check-internal check-external
8585

8686
.PHONY: check-build
87-
check-build: all html5-test html5-external-test html5-external-bench
87+
check-build: all html5ever-test html5ever-external-test html5ever-external-bench
8888

8989
.PHONY: check-internal
90-
check-internal: html5-test
91-
./html5-test
90+
check-internal: html5ever-test
91+
./html5ever-test
9292

9393
.PHONY: check-external
94-
check-external: html5-external-test
95-
HTML5_SRC_DIR=$(VPATH) ./html5-external-test
94+
check-external: html5ever-external-test
95+
HTML5EVER_SRC_DIR=$(VPATH) ./html5ever-external-test
9696

9797
METRICS ?= metrics.json
9898

9999
.PHONY: bench
100-
bench: html5-external-bench
101-
./html5-external-bench --bench --save-metrics $(METRICS)
100+
bench: html5ever-external-bench
101+
./html5ever-external-bench --bench --save-metrics $(METRICS)
102102

103103
.PHONY: clean
104104
clean:
105105
rm -f *.o *.a *.so *.dylib *.dll *.dummy *-test *-bench $(EXAMPLES)
106106
(cd $(VPATH)/rust-phf && make clean)
107107

108108
.PHONY: docs
109-
docs: doc doc/html5-macros/index.html doc/html5/index.html
109+
docs: doc doc/html5ever-macros/index.html doc/html5ever/index.html
110110

111111
doc:
112112
mkdir doc
113113

114-
doc/html5-macros/index.html: $(MACROS_TOP_SRC)
114+
doc/html5ever-macros/index.html: $(MACROS_TOP_SRC)
115115
rustdoc $(RUST_DIRS) $(VPATH)/macros/lib.rs
116116

117-
doc/html5/index.html: $(LIB_DEPS)
117+
doc/html5ever/index.html: $(LIB_DEPS)
118118
rustdoc $(RUST_DIRS) $(VPATH)/src/lib.rs

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# HTML5 parser for Rust
1+
# html5ever
22

33
[![Build Status](https://travis-ci.org/kmcallister/html5.svg?branch=master)](https://travis-ci.org/kmcallister/html5)
44

bench/bin.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
@@ -7,12 +7,12 @@
77
// option. This file may not be copied, modified, or distributed
88
// except according to those terms.
99

10-
#![crate_name="html5-external-bench"]
10+
#![crate_name="html5ever-external-bench"]
1111
#![crate_type="bin"]
1212

1313
extern crate test;
1414

15-
extern crate html5;
15+
extern crate html5ever;
1616

1717
use std::os;
1818
use test::test_main;

bench/tokenizer.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
@@ -13,7 +13,7 @@ use std::default::Default;
1313
use test::{black_box, Bencher, TestDesc, TestDescAndFn};
1414
use test::{DynTestName, DynBenchFn, TDynBenchFn};
1515

16-
use html5::tokenizer::{TokenSink, Token, Tokenizer, TokenizerOpts};
16+
use html5ever::tokenizer::{TokenSink, Token, Tokenizer, TokenizerOpts};
1717

1818
struct Sink;
1919

examples/print-rcdom.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
@@ -7,14 +7,14 @@
77
// option. This file may not be copied, modified, or distributed
88
// except according to those terms.
99

10-
extern crate html5;
10+
extern crate html5ever;
1111

1212
use std::io;
1313
use std::default::Default;
1414
use std::string::String;
1515

16-
use html5::sink::rcdom::{RcDom, Handle, Document, Doctype, Text, Comment, Element};
17-
use html5::{parse, one_input};
16+
use html5ever::sink::rcdom::{RcDom, Handle, Document, Doctype, Text, Comment, Element};
17+
use html5ever::{parse, one_input};
1818

1919
// This is not proper HTML serialization, of course.
2020

examples/print-tree-actions.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
@@ -9,16 +9,16 @@
99

1010
extern crate debug;
1111

12-
extern crate html5;
12+
extern crate html5ever;
1313

1414
use std::io;
1515
use std::default::Default;
1616
use std::string::String;
1717
use std::collections::hashmap::HashMap;
1818

19-
use html5::{Namespace, Atom, parse_to, one_input};
20-
use html5::tokenizer::Attribute;
21-
use html5::tree_builder::{TreeSink, QuirksMode};
19+
use html5ever::{Namespace, Atom, parse_to, one_input};
20+
use html5ever::tokenizer::Attribute;
21+
use html5ever::tree_builder::{TreeSink, QuirksMode};
2222

2323
struct Sink {
2424
next_id: uint,

examples/tokenize-bench.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
@@ -10,15 +10,15 @@
1010
// Run a single benchmark once. For use with profiling tools.
1111

1212
extern crate test;
13-
extern crate html5;
13+
extern crate html5ever;
1414

1515
use std::{io, os};
1616
use std::default::Default;
1717

1818
use test::black_box;
1919

20-
use html5::tokenizer::{TokenSink, Token};
21-
use html5::driver::{tokenize_to, one_input};
20+
use html5ever::tokenizer::{TokenSink, Token};
21+
use html5ever::driver::{tokenize_to, one_input};
2222

2323
struct Sink;
2424

examples/tokenize.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
@@ -9,15 +9,15 @@
99

1010
extern crate debug;
1111

12-
extern crate html5;
12+
extern crate html5ever;
1313

1414
use std::io;
1515
use std::char;
1616
use std::default::Default;
1717

18-
use html5::tokenizer::{TokenSink, Token, TokenizerOpts, ParseError};
19-
use html5::tokenizer::{CharacterTokens, NullCharacterToken, TagToken, StartTag, EndTag};
20-
use html5::driver::{tokenize_to, one_input};
18+
use html5ever::tokenizer::{TokenSink, Token, TokenizerOpts, ParseError};
19+
use html5ever::tokenizer::{CharacterTokens, NullCharacterToken, TagToken, StartTag, EndTag};
20+
use html5ever::driver::{tokenize_to, one_input};
2121

2222
struct TokenPrinter {
2323
in_char_run: bool,

macros/atom/data.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

macros/atom/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

macros/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
@@ -7,7 +7,7 @@
77
// option. This file may not be copied, modified, or distributed
88
// except according to those terms.
99

10-
#![crate_name="html5-macros"]
10+
#![crate_name="html5ever-macros"]
1111
#![crate_type="dylib"]
1212

1313
#![feature(macro_rules, plugin_registrar, quote, managed_boxes)]

macros/match_token.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

macros/named_entities.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

scripts/bench-branches.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright 2014 The HTML5 for Rust Project Developers. See the
2+
# Copyright 2014 The html5ever Project Developers. See the
33
# COPYRIGHT file at the top-level directory of this distribution.
44
#
55
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

scripts/extract-from-spec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright 2014 The HTML5 for Rust Project Developers. See the
2+
# Copyright 2014 The html5ever Project Developers. See the
33
# COPYRIGHT file at the top-level directory of this distribution.
44
#
55
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/driver.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
@@ -7,7 +7,7 @@
77
// option. This file may not be copied, modified, or distributed
88
// except according to those terms.
99

10-
#![crate_name="html5"]
10+
#![crate_name="html5ever"]
1111
#![crate_type="dylib"]
1212

1313
#![feature(macro_rules, phase, globs)]
@@ -22,7 +22,7 @@ extern crate debug;
2222
extern crate phf_mac;
2323

2424
#[phase(plugin)]
25-
extern crate macros = "html5-macros";
25+
extern crate macros = "html5ever-macros";
2626

2727
extern crate phf;
2828
extern crate time;

src/sink/rcdom.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/tokenizer/buffer_queue.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/tokenizer/char_ref/data.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/tokenizer/char_ref/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/tokenizer/interface.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/tokenizer/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/tokenizer/states.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/tree_builder/data.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/tree_builder/interface.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/tree_builder/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/util/atom.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/util/namespace.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

src/util/str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The HTML5 for Rust Project Developers. See the
1+
// Copyright 2014 The html5ever Project Developers. See the
22
// COPYRIGHT file at the top-level directory of this distribution.
33
//
44
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or

0 commit comments

Comments
 (0)