whesse@google.com
92045c8c64
Change gyp flag from in_dartium to dart_io_support.
...
BUG=
Review URL: https://codereview.chromium.org//11377098
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14842 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 11:47:31 +00:00
ajohnsen@google.com
970cc5ba68
Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl.
...
After this cleanup, RegExp no longer have a const constructor. Use 'new
RegExp(...)' from now on.
BUG=
Review URL: https://codereview.chromium.org//11365196
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14838 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:41:37 +00:00
ajohnsen@google.com
ab69873a42
Make RegExp constructor non-const.
...
Another take of https://codereview.chromium.org/11410033/ with status changes applied for co19 tests.
BUG=
Review URL: https://codereview.chromium.org//11369210
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14837 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:18:06 +00:00
ajohnsen@google.com
ec9fee9858
"Reverting 14829-14832"
...
BUG=
Review URL: https://codereview.chromium.org//11312203
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14833 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 07:28:13 +00:00
ajohnsen@google.com
8dc3edd7ce
Make RegExp's constructor non-const.
...
BUG=
Review URL: https://codereview.chromium.org//11410033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14829 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 06:48:43 +00:00
blois@google.com
ed44b9285d
Splitting SVG types out of dart:html.
...
Beyond this CL I need to remove the SVG prefix for most of the classes, but this is an additional chunk of work.
Review URL: https://codereview.chromium.org//11398002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14808 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 21:15:06 +00:00
dgrove@google.com
4ef5bdd985
Continued cleanup of create_sdk.py now that we have sdk/bin in the
...
source repo.
Review URL: https://codereview.chromium.org//11377106
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14807 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 20:50:47 +00:00
floitsch@google.com
8e6f238f86
a === b -> identical(a, b)
...
Replace === null with == null.
BUG=http://dartbug.com/6380
Review URL: https://codereview.chromium.org//11361190
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14794 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 17:19:58 +00:00
antonm@google.com
1ba6e54811
Do not generate multiple tests for vm options.
...
R=ahe@google.com ,ager@google.com
BUG=6436
Review URL: https://codereview.chromium.org//11358175
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14786 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 13:26:30 +00:00
sgjesse@google.com
e905ac6fc4
Add -a option to tools/build.py
...
Short for --arch=
R=ager@google.com
BUG=
Review URL: https://codereview.chromium.org//11275255
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14784 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 12:55:02 +00:00
rnystrom@google.com
f30fb024ce
The goal here is to rearrange StandardTestSuite so that it's possible override some of its behavior for running package tests while still keeping the rest of the behavior.
...
This patch is just the refactoring. I'll do the actual pub stuff in a separate patch.
Review URL: https://codereview.chromium.org//11275217
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14757 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 20:56:59 +00:00
whesse@google.com
d131fa7e72
Disable NSS build targets in a Dartium build.
...
BUG=
Review URL: https://codereview.chromium.org//11369152
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14740 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 13:56:08 +00:00
kustermann@google.com
e78ad924f6
Added support for logging the output of failed flaky tests.
...
Failed flaky tests will be logged to 'failed_flaky_tests.log'.
The default behavior is that the old log file gets deleted before
any tests are run. To prevent this, the '--append_flaky_log' option
can be set.
Review URL: https://codereview.chromium.org//11364129
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14735 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 12:08:00 +00:00
efortuna@google.com
4a23980c8a
Take 2 of splitting html tests into subtests. Had to make two changes to drt to
...
fully work.
Review URL: https://codereview.chromium.org//11368128
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14703 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 18:54:14 +00:00
efortuna@google.com
868b439bc4
Revert run large html tests individually.
...
Review URL: https://codereview.chromium.org//11406002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14667 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 00:11:09 +00:00
efortuna@google.com
bf9cd05e79
Move html_individual_config to correct location after tree rearranging.
...
Review URL: https://codereview.chromium.org//11362147
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14664 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:53:11 +00:00
efortuna@google.com
3476d1c528
Run large html tests individually.
...
Review URL: https://codereview.chromium.org//11293019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14663 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:42:50 +00:00
kustermann@google.com
3462f1ecaa
Don't run compile-time error tests on browsers.
...
Also added a new category to the report stating the number of tests
we skipped because of this.
Review URL: https://codereview.chromium.org//11368101
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14571 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 14:46:10 +00:00
johnniwinther@google.com
07e6f0d876
Handle (missing) trailing slash in dartdoc
...
Review URL: https://codereview.chromium.org//11369092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14561 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 11:54:40 +00:00
johnniwinther@google.com
b3f4c99af6
Revert "Handle (missing) trailing slash in dartdoc"
...
This reverts commit r14536.
Review URL: https://codereview.chromium.org//11369076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14537 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:37:53 +00:00
johnniwinther@google.com
b861fa6566
Handle (missing) trailing slash in dartdoc
...
BUG=2311
Review URL: https://codereview.chromium.org//11369074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14536 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:29:36 +00:00
ahe@google.com
9b49d61cfb
Fix syntax errors.
...
Review URL: https://codereview.chromium.org//11362079
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14512 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 06:22:15 +00:00
ahe@google.com
a57b4fbf71
Prevent hanging if selenium cannot close browser.
...
Review URL: https://codereview.chromium.org//11275125
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14511 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 06:17:33 +00:00
ahe@google.com
11d89eac86
Escape backslashes in Windows file names to avoid conflicts with regular expressions.
...
This should fix dart2js Windows builds.
Review URL: https://codereview.chromium.org//11363055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14490 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 17:02:07 +00:00
devoncarew@google.com
c188e03eda
Fixup a path to dartdoc in the sdk. The pkg directory is in a slightly different location in the repo vs the sdk.
...
Review URL: https://codereview.chromium.org//11366063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14489 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 16:52:55 +00:00
dgrove@google.com
7897a78551
Changes outside pkg/ and lib/ for directory refactoring
...
Review URL: https://codereview.chromium.org//11358024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14475 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 15:18:11 +00:00
lrn@google.com
2208fcd208
Change NotImplementedException to UnimplementedError.
...
Retain a NotImplementedException type for backwards compatibility.
This class will be removed soon.
The constructor of UnimplementedError is currently const in order to
support the NotImplementedException. That will be fixed too.
Review URL: https://codereview.chromium.org//11358060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14467 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 13:18:37 +00:00
ahe@google.com
dd897e755e
Disable wrapping of Firefox/Windows dart2js tests.
...
Review URL: https://codereview.chromium.org//11312059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14451 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 07:13:26 +00:00
gram@google.com
981c4b11df
Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
...
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +00:00
rnystrom@google.com
95eca960c7
Run 'pkg' tests on pub bots.
...
Review URL: https://codereview.chromium.org//11358049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14442 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 22:52:06 +00:00
gram@google.com
353f4c4c8a
Update test utils to generate wrappers with new library syntax and handle
...
tests with new library syntax.
Review URL: https://codereview.chromium.org//11358045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14437 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 21:31:27 +00:00
iposva@google.com
970fe841d3
- Emit frame pointers in C++ code: Enables better support for tools.
...
Review URL: https://codereview.chromium.org//11364026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14425 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 18:41:34 +00:00
ahe@google.com
fbe2e51663
Disable Firefox console logging as it appears to hang the browser.
...
See this selenium bug: http://code.google.com/p/selenium/issues/detail?id=4375
Review URL: https://codereview.chromium.org//11362036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14419 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 17:46:30 +00:00
kasperl@google.com
87c3813fc9
Use statically linked runtime library to avoid dependency on msvcr100.dll on windows.
...
R=ricow@google.com ,iposva@google.com
BUG=
Review URL: https://codereview.chromium.org//11367034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14406 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 13:49:05 +00:00
ager@google.com
0fed52bd2d
Only start http server for browser tests.
...
This reduces the annoyance of the fixed port number used and allows
non-browser test configurations to be run in parallel (or one browser
configuration in parallel with a bunch of non-browser configurations).
R=ahe@google.com ,ricow@google.com
BUG=
Review URL: https://codereview.chromium.org//11360028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14403 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 12:58:44 +00:00
amouravski@google.com
07b92a1f2f
"Reverting 14361" to fix a break.
...
Review URL: https://codereview.chromium.org//11360015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14370 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 20:20:05 +00:00
ahe@google.com
884734f677
Revert "remove text editor plugins, they are now on github"
...
This reverts revision 14231.
Review URL: https://codereview.chromium.org//11364007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14348 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 15:50:22 +00:00
ahe@google.com
d7d7a89b07
Add bot. prefix to unbreak build bots.
...
Review URL: https://codereview.chromium.org//11345028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14267 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:49:13 +00:00
ahe@google.com
9ed60805f4
Don't depend on V8 when creating the SDK.
...
Review URL: https://codereview.chromium.org//11301019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14266 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:42:42 +00:00
ager@google.com
aac030e777
Use patching for dart:io.
...
This allows the tools such as dartdoc to operate on dart:io
in the same way as it does with other code and allows the
implemenation of parts of dart:io for dart2js if we ever
want to do that.
The current patching is very VM specific. I have only moved
stuff to patch files when they actually need to be. For
Process and Socket everything has to be moved because they
use native fields. For the rest, only the individual native
calls have been put in patch files.
R=sgjesse@google.com ,ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//11337019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14259 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:32:30 +00:00
rnystrom@google.com
c606bbda99
Fix copyright for bot scripts.
...
Review URL: https://codereview.chromium.org//11260052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14238 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 01:17:38 +00:00
sethladd@google.com
09ac607b20
remove text editor plugins, they are now on github
...
BUG=
Review URL: https://codereview.chromium.org//11312007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14231 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 23:15:26 +00:00
sgjesse@google.com
db3d6358f2
Remove public SocketInputStream and SocketOutputStream clases
...
The socket streams only implement the streams interfaces so no
explicit classes are needed for these.
R=ager@google.com
BUG=
Review URL: https://codereview.chromium.org//11336012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14204 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 15:04:54 +00:00
ager@google.com
83f2cfa4c1
Get rid of 'close' on process. It is very easy to use incorrectly and cut off data from your streams.
...
When using an interactive process started with Process.start you have
to drain the stdout and stderr streams to make sure that all resources
are freed. If you do that the dart:io library will make sure to free
all system resources for you.
R=sgjesse@google.com
BUG=
Review URL: https://codereview.chromium.org//11343009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14187 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 11:59:09 +00:00
ager@google.com
7f04c40b2d
Land update to tools directory with new binaries.
...
BUG=
Review URL: https://codereview.chromium.org//11343008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14176 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 09:21:14 +00:00
ajohnsen@google.com
e925b5591e
Move Arrays, Collections and Maps into a new library, dart:collections.
...
BUG=
Review URL: https://codereview.chromium.org//11274043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14173 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 08:38:15 +00:00
devoncarew@google.com
6507587eb0
Fix the version.dart script on windows - the script path was being calculated as "", not "tools".
...
Review URL: https://codereview.chromium.org//11320008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14153 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 19:33:20 +00:00
floitsch@google.com
7041a6bbf1
Make methods in Stopwatch getters and rename to be more consistent.
...
Includes:
- Stopwatch.frequency.
- Stopwatch.elapsedInMs() -> Stopwatch.elapsedMilliseconds
- Stopwatch.elapsedInUs() -> Stopwatch.elapsedMicroseconds
- Stopwatch.elapsed() -> Stopwatch.elapsedTicks
Review URL: https://codereview.chromium.org//11265024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14140 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 14:25:23 +00:00
lrn@google.com
b8b5632148
Convert NoMoreElementsException and EmptyQueueException to StateError.
...
Review URL: https://codereview.chromium.org//11269045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14122 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 08:28:33 +00:00
efortuna@google.com
7df114a8f1
Revert 14110 "Fix usesWebDriver check"
...
Review URL: https://codereview.chromium.org//11275052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14111 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 23:26:23 +00:00