Eric Seidel
3d85f63717
Slight simplification to prompt code
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/678833004
2014-10-29 12:15:34 -07:00
Eric Seidel
535672268c
Don't show sky_server logs to the skydb console
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/692593004
2014-10-29 11:03:54 -07:00
Elliott Sprehn
c7fa9658d6
Mark hixie's tests as Skip so they don't spam the console.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/687893003
2014-10-28 19:36:12 -07:00
Hixie
4305216cf9
This CL provides a bunch of new parser tests, and updates the
...
TestExpectations file to skip the ones that fail or crash. It also
updates the TestExpectations parser to support URLs pointing to the
mojo repo's issue tracker.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/685593006
2014-10-28 18:58:18 -07:00
Adam Barth
c56ab49799
Add inspect command to skydb
...
This CL adds an "inspect" command to skydb that injects the inspector module
into the page and prints some instructions for opening the inspector.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/690433004
2014-10-28 17:08:25 -07:00
Adam Barth
0335886abf
Move framework/inspector/server to services/inspector
...
Moving the inspector WebSocket proxy server out of the framework directory
simplifies the mappings for the HTTP servers.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/687673004
2014-10-28 15:38:23 -07:00
Adam Barth
4c5a9b1775
Don't crash when importing a module that doesn't export
...
Instead of crashing, we should use the value "undefined". There's some question
as to whether we should default to the document, but we can resolve that later.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/690483002
2014-10-28 14:13:31 -07:00
Eric Seidel
28626cf782
Fix the inspector and integrate it with skydb
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/690433002
2014-10-28 13:18:17 -07:00
Adam Barth
561c220b27
Re-enable the inspector tests
...
These work again.
R=eseidel@chromium.org , ojan@chromium.org
Review URL: https://codereview.chromium.org/683083004
2014-10-28 12:54:22 -07:00
Eric Seidel
eb07773150
Add a sky_server for running sky apps
...
This automatically adds /sky and /mojo mappings
to the generated files for each.
Also taught skydb to use this new server.
R=esprehn@chromium.org , abarth@chromium.org
Review URL: https://codereview.chromium.org/682153003
2014-10-28 12:42:53 -07:00
Adam Barth
86650b9310
Add beginnings of an inspector backend for Sky
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/687673003
2014-10-28 10:46:47 -07:00
Adam Barth
e162dd0eef
Fix services/network.sky test
...
mojo_shell can't handle loading the same DLL from two different URLs. The
extra trailing slash was causing us to load the network_service DLL twice.
R=ojan@chromium.org , eseidel@chromium.org
Review URL: https://codereview.chromium.org/687703002
2014-10-28 09:55:58 -07:00
Adam Barth
226c7bd269
Move imports-can-load-404s.html to .sky so that it runs
2014-10-28 09:12:36 -07:00
Adam Barth
f0e6387fb6
Update tokenizer to match spec
...
This CL is a rough pass over the HTMLTokenizer to align it with parsing.md.
We'll need to do another pass more carefully in the future, but this CL gets us
roughly in the right ballpark.
We're not handling EOF properly. The parsing.md spec doesn't push the EOF
though the parser, which breaks our current way of handling EOF. We do ok if we
get EOF in the DataState, and that's enough to pass the tests for now.
Also, update camel-case.sky to reflect the fact that the parser doesn't
lower-case tag names anymore.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/678263002
2014-10-27 20:38:29 -07:00
Hixie
5dd15fe8d3
Move the tests from .html to .sky
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/685623002
2014-10-27 17:35:15 -07:00
Adam Barth
065437b16c
Don't crash when importing a 404
...
Now we have a test for this case.
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/682913002
2014-10-27 17:22:55 -07:00
Adam Barth
c4836daaaf
Parse comments according to parsing.md
...
Now we don't even generate comment tokens. The new tokenizer for comments is
much easier.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/682893002
2014-10-27 17:04:52 -07:00
Adam Barth
735761cfc3
Parse Sky entities according to the spec
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/678073002
2014-10-27 13:05:31 -07:00
Hixie
5981995300
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
93d67ce41c
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
6d1044e8a6
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
Eric Seidel
44d30c6fa6
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
87fb3c9d19
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
Eric Seidel
e7178210c5
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
Eric Seidel
5a3423ff3d
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
1a25166c33
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
Adam Barth
a6d358ef47
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
52e4bc9c93
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
Eric Seidel
b0ea9ac245
Fix border parsing to work again
...
I accidentally broke border parsing when
removing CSS color keyword hacks.
While debugging this I also ran into a
race condition in the debugger, which
is fixed here.
Add --gdb argument to skydb
Makes it trivial to drop into gdb having launched
mojo_shell/sky with the right arguments.
R=ojan@chromium.org
Review URL: https://codereview.chromium.org/673073002
2014-10-23 16:54:21 -07:00
Rafael Weinstein
ccca233ad5
Update HACKING.md
2014-10-23 16:10:08 -07:00
Eric Seidel
0c525575cb
Add --gdb argument to skydb
...
Makes it trivial to drop into gdb having launched
mojo_shell/sky with the right arguments.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/672383002
2014-10-23 16:02:39 -07:00
Rafael Weinstein
b6c1140c8e
Fixing the fix
2014-10-23 16:02:04 -07:00
Eric Seidel
dd992e5f2f
Teach tools/skydb how to handle paths
...
This makes it much easier to hack on test cases.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/654543004
2014-10-23 16:00:10 -07:00
Rafael Weinstein
b061da457e
Added build instructions
2014-10-23 15:54:51 -07:00
Eric Seidel
d79cb9d734
Make skydb load examples/home.sky by default.
...
I had to also register for the text/plain mime-type
which turned out to be harder than expected.
Mostly due to my confusion with mojo_shell
using last-argument-wins argument parsing.
R=ianh@google.com
Review URL: https://codereview.chromium.org/672363002
2014-10-23 14:56:44 -07:00
John Abd-El-Malek
3c84485f2a
Fix build.
...
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/659043004
2014-10-23 14:54:07 -07:00
James Robinson
63a8a02db2
Fix sky build on android
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/678533002
2014-10-23 14:50:37 -07:00
Hixie
e6903a0867
Placeholder Sky start page.
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/677513002
2014-10-23 13:42:24 -07:00
Eric Seidel
9f5a253a9e
Teach tools/skydb how to take a URL as a parameter.
...
Turns out our shut-down code in debugger.cc is never
called. Need to talk to Ben to figure out how
to listen for the CloseWindow.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/658113004
2014-10-23 13:40:48 -07:00
Adam Barth
4a2c99c0ec
Update TestExpectations to match reality
...
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/671633005
2014-10-23 12:19:02 -07:00
Adam Barth
546708872d
Add another missing dependency
2014-10-23 12:02:07 -07:00
Adam Barth
a3ca0e52d6
Add Sky to the build system
...
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/657863003
2014-10-23 11:29:54 -07:00
Adam Barth
b3df23f7c1
Open the Sky
2014-10-23 11:17:19 -07:00
Adam Barth
3c8baa179f
Add a README.md for Sky
...
R=jamesr@chromium.org
Review URL: https://codereview.chromium.org/672963002
2014-10-23 11:05:40 -07:00