20087 Commits

Author SHA1 Message Date
Adam Barth
2e40b82606 Remove more unused HTMLTokenizer features
R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/678903002
2014-10-27 13:04:17 -07:00
Hixie
ff813964ad Specs: Tokeniser should return to return state, not data state; &#x; should not emit U+FFFD.
BUG=8

Review URL: https://codereview.chromium.org/650323005
2014-10-27 13:03:55 -07:00
Eric Seidel
049a036e83 Begin to remove heap/*
This makes Sky never call into the
Heap::init/shutdown methods and removes
most Heap:: and ThreadState:: calls throughout
the rest of Sky.

There is a *ton* more to remove after this.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/678003003
2014-10-27 12:41:12 -07:00
Hixie
9bffda0fa5 Specs: Actually maintain the stack of open nodes.
BUG=5

Review URL: https://codereview.chromium.org/685483002
2014-10-27 11:23:00 -07:00
Hixie
b07892e535 Specs: Somehow I forgot to make CustomEventTarget inherit from EventTarget.
BUG=6

Review URL: https://codereview.chromium.org/678053002
2014-10-27 11:19:01 -07:00
Hixie
db048f01f6 Specs: typo in 'named character reference' state name
Review URL: https://codereview.chromium.org/680103003
2014-10-27 11:17:42 -07:00
Hixie
bdbd3b12cd Specs: Tokeniser fixes: simplify the entity parser to just do string compares, fix copy-pasta
BUG=7

Review URL: https://codereview.chromium.org/683493003
2014-10-27 11:15:23 -07:00
James Robinson
ca1c075179 Update DEPS for chromium roll, fix few sky issues
This updates DEPS to match the recent chromium roll and applies the
following changes to sky to accomodate the skia roll:

https://src.chromium.org/viewvc/blink?revision=184191&view=revision
https://src.chromium.org/viewvc/blink?revision=184289&view=revision

as well as adding #include <string> to WTFString.h so it compiles for
translation units that include this without #including <string>
themselves, which currently happens in a number of files in the android
build.

TBR=abarth@chromium.org

Review URL: https://codereview.chromium.org/682573003
2014-10-26 23:50:52 -07:00
Ojan Vafai
cb0bfcd527 Get test_webkitpy to actually run again.
-Fix all the Tools/Scripts paths to use tools.
-Fix imports of deleted modules.
-Delete SVN module

TBR=abarth@chromium.org

Review URL: https://codereview.chromium.org/639883003
2014-10-26 11:17:48 -07:00
Ojan Vafai
7d0b4fb726 Prune a bunch of webkitpy.
Remove a bunch of unused bits. Some of these bits we might
want to add back (e.g. the python style checker), but we'd
want it as part of the mojo style checker.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/675343003
2014-10-26 10:36:25 -07:00
Ojan Vafai
f9e0a463af Remove meta viewport and @viewport CSS rules.
We won't need configurations like this since we don't have things
like page zoom and a default width.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/654693004
2014-10-25 23:08:58 -07:00
Ojan Vafai
ac7ea65ede Remove a bunch of unused or never-set settings.
Just mechanical changes. No change in behavior.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/681553003
2014-10-25 22:51:40 -07:00
Ojan Vafai
57a45f79ff Remove pinch viewports.
Sky doesn't have concept of pinch zoom.

Remove more frame-level scrolling machinery.

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/681583002
2014-10-25 10:11:22 -07:00
Adam Barth
7c001a4ffa Fix a typo in apis.md
TBR=ianh@google.com

Review URL: https://codereview.chromium.org/680693003
2014-10-25 00:05:51 -07:00
Ojan Vafai
be4206ab28 Remove more frame-level scrolling machinery.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/680703002
2014-10-24 23:31:45 -07:00
Elliott Sprehn
8106700a04 Remove most of visited link support.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/667003003
2014-10-24 23:22:02 -07:00
Adam Barth
969ccf4282 Remove compiler feature detection for = delete
All supported compilers have this feature. Also remove unused macros for
OVERRIDE now that override are broadly supported.

R=esprehn@chromium.org, eseidel@chromium.org

Review URL: https://codereview.chromium.org/673403002
2014-10-24 23:19:08 -07:00
Ojan Vafai
1728572222 Remove some more frame-level scrolling machinery.
This includes removing a bunch of scrolling methods and
accessors on Window.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/677223002
2014-10-24 23:16:28 -07:00
Adam Barth
51b354f23a Fix bad merge 2014-10-24 22:57:53 -07:00
Adam Barth
22b946ab61 Remove HTMLParserOptions
We always use threading now and there aren't any other options.

R=eseidel@chromium.org, esprehn@chromium.org

Review URL: https://codereview.chromium.org/676133002
2014-10-24 22:49:38 -07:00
Adam Barth
8f729a9b64 Delete DecodedDataDocumentParser
It doesn't do anything.

R=eseidel@chromium.org, esprehn@chromium.org

Review URL: https://codereview.chromium.org/675313003
2014-10-24 22:47:58 -07:00
Adam Barth
61a2a00c78 Live the dream
This CL plumbs the data pipe from the network stack all the way to the parser
thread. We now drain the data pipe on the parser thread, which means network
bytes don't need to transit the main thread to reach the parser.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/664573004
2014-10-24 16:51:56 -07:00
Adam Barth
b07dff7033 Remove the ability to parse HTML fragments
Also, removed a bunch of show() function from the custom element microtask
queue that bottom out in innerHTML.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/665613003
2014-10-24 16:51:11 -07:00
Hixie
34bed5e6a7 Enter a description of the change.
Docs: Fix the script in the example to actually clone the template contents, not the template element itself.

Review URL: https://codereview.chromium.org/680673002
2014-10-24 16:23:03 -07:00
Eric Seidel
988d5e7c14 Use process_in_files helper for make_core_generated_html_element_lookup_trie
This lets us get rid of the manual source listing in core_generated

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/657303006
2014-10-24 15:46:20 -07:00
Adam Barth
e8c9ecc556 Use override and final instead of OVERRIDE and FINAL 2014-10-24 15:15:13 -07:00
James Robinson
3f1969fe24 Fix compile issues in sky on android
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/664573003
2014-10-24 15:07:09 -07:00
Adam Barth
d71037bb51 HTMLImportLoader should talk directly to mojo::NetworkService
This CL re-routes the loading pipeline for HTMLImportLoader directly to
mojo::NetworkService rather than through core/fetch, platform/network, and
WebURLLoader.

R=eseidel@chromium.org, esprehn@chromium.org

Review URL: https://codereview.chromium.org/678683004
2014-10-24 15:05:42 -07:00
Adam Barth
70363c9f78 Add missing dependency
TBR=jamesr@chromium.org

Review URL: https://codereview.chromium.org/655993004
2014-10-24 15:01:17 -07:00
Eric Seidel
8663c840aa Fix sky to pass 'gn check'
I also deleted the sky_common and sky_minimal targets
as those were only for the windows build
(which sky does not support).

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/663483006
2014-10-24 15:00:55 -07:00
Hixie
5a7b5879c7 Docs: fix markdown some more
Review URL: https://codereview.chromium.org/677793003
2014-10-24 14:17:44 -07:00
Hixie
17cc096738 Docs: fix markdown in various files, update the README mildly
Review URL: https://codereview.chromium.org/678693003
2014-10-24 14:14:34 -07:00
Hixie
1f9a5e290b Specs: fix markdown in the markup spec (second attempt)
Review URL: https://codereview.chromium.org/675303002
2014-10-24 14:01:57 -07:00
Hixie
af331257f6 Specs: fix markdown in the markup spec
Review URL: https://codereview.chromium.org/675853004
2014-10-24 13:59:32 -07:00
Hixie
420d715e54 Specs: Module overview
Review URL: https://codereview.chromium.org/678803002
2014-10-24 13:53:15 -07:00
Eric Seidel
2a4915147e Remove a bunch of dead files found by missing_from_gn
I also fixed several errors in our BUILD.gn files
including bad script dependencies found by
missing_from_gn and gn check.

Still need to figure out how best to handle
:libraries deps being private to :core, etc.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/678703004
2014-10-24 13:50:21 -07:00
Eric Seidel
f8c270e1d6 Teach missing_from_gn about gn 'inputs'
Turns out gn has 3 types of sources:
inputs (non-source files)
sources (source files)
public (source files for APIs)

I've now taught missing_from_gn about inputs
brettw says I can ignore public for now as it's unlikely
anyone is using that.

R=brettw@chromium.org

Review URL: https://codereview.chromium.org/675283002
2014-10-24 13:44:44 -07:00
Hixie
81adb15ad6 Docs: Strawman design principles
Review URL: https://codereview.chromium.org/676093002
2014-10-24 13:34:40 -07:00
Hixie
9832c02d04 Specs: Update parser to support <t>, <template>, "/>" syntax
Specs: Fix scripts to run at </script> not <script>
Specs: Update parsing to delay on pending imports before running
scripts or firing 'load'
Specs: Fire 'load' at Application or Module rather than Document
Specs: Imply there's going to be a start tag token observer callback
so that you can implement prefetching for custom elements

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/677533004
2014-10-24 13:28:00 -07:00
Adam Barth
1ff9eb48b7 Factor DrainDataPipeJob out of MojoLoader
We want to re-use the code for draining Mojo data pipes in more places that
just the MojoLoader.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/650903006
2014-10-24 12:05:50 -07:00
Eric Seidel
3d9800c15f Add a script for finding files missing from gn
Most of the files listed here can just be removed
from the repository.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/679783002
2014-10-24 11:36:40 -07:00
Adam Barth
08164a0e81 Delete ScriptableDocumentParser
There's only one parser: the HTMLDocumentParser. No need for the complex class
hierarchy.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/680583003
2014-10-24 11:04:40 -07:00
Eric Seidel
001d630297 Test for border parsing I failed to include in my last change.
https://codereview.chromium.org/673073002/

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/654393004
2014-10-24 10:16:36 -07:00
Adam Barth
8206a34977 Remove redundant LICENSE
This LICENSE file is redundant with the one in the top-level directory.

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/674013003
2014-10-24 10:15:36 -07:00
Raph Levien
168d3ef0e0 am 5f11abd3: Silently ignore invalid rangeOffset values
* commit '5f11abd31fa8cfa723f54bd1c98ce4e27e7d3c77':
  Silently ignore invalid rangeOffset values
2014-10-24 06:31:13 +00:00
Adam Barth
75c8c1e17d Fill in some missing sections in the Sky README.md
R=ojan@chromium.org

Review URL: https://codereview.chromium.org/679583002
2014-10-23 20:32:07 -07:00
Ojan Vafai
f45642cf8c Get rid of ScrollView.
We only allow overflow scrolling. The frame isn't special.
This is a first step in making that happen. There's a lot of
code to remove after this patch, but this gets rid of
ScrollView and a bunch of frame-level scrolling code.

Had to add in a FrameWidget class so that Scrollbar.cpp had
a way of getting to FrameView::removeChild without pulling
a core class into platform. This might go away when we rip
out the Widget tree if we made it so that FrameView didn't
keep a list of Scrollbar instances.

Modified scrollbar.html to use overflow scrolling instead of
frame level scrolling. Once we get rid of the split between
Document and documentElement, we'll be able to make the root
element in the page scrollable as well (i.e. any child of the
Document).

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/646273006
2014-10-23 20:20:25 -07:00
Elliott Sprehn
80f8a171fa Remove MediaController.
R=ojan@chromium.org

Review URL: https://codereview.chromium.org/677573002
2014-10-23 17:23:53 -07:00
Hixie
83c22f124e script/style tokeniser states
Review URL: https://codereview.chromium.org/642903004
2014-10-23 17:11:21 -07:00
Elliott Sprehn
725950ed7f Remove context menus.
R=ojan@chromium.org

Review URL: https://codereview.chromium.org/640143004
2014-10-23 17:10:06 -07:00