Commit Graph

563 Commits

Author SHA1 Message Date
rnystrom@google.com 10c9d938ab Place "packages" directories inside "tool".
Review URL: https://codereview.chromium.org//11362233

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14868 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 22:06:35 +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 0dbc2e6eaa Two more files with const RegExp.
BUG=

Review URL: https://codereview.chromium.org//11377126

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14832 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 07:11:19 +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
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
rnystrom@google.com 46adf67738 Allow an empty "dependencies" key in a pubspec.
Review URL: https://codereview.chromium.org//11361201

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14773 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-10 01:00:58 +00:00
rnystrom@google.com 982aac12e6 Handle URLs in 'git clone' argument.
Review URL: https://codereview.chromium.org//11410016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14763 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 22:54:19 +00:00
amouravski@google.com 88c2ed92da Re-included matchers documentation.
Review URL: https://codereview.chromium.org//11377065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14710 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 22:07:42 +00:00
gram@google.com 58a016634c Update utils to new library syntax.
This doesn't include adding partofs; that will have to be done later.
Review URL: https://codereview.chromium.org//11358145

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14693 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 17:42:40 +00:00
rnystrom@google.com c8d4f7dd50 Mark pub windows git tests as potentially timing out.
Review URL: https://codereview.chromium.org//11361163

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14672 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 01:44:08 +00:00
rnystrom@google.com bf31c85b6f Pass absolute path to git.
BUG=

Review URL: https://codereview.chromium.org//11364141

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14670 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 01:01:13 +00:00
rnystrom@google.com 9c0ace0797 Revert "Pass absolute path to git (redux)."
This reverts commit 9d638b8a9a48c7bae854685f9413d2c40a4911a1.

BUG=

Review URL: https://codereview.chromium.org//11361158

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14661 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:25:31 +00:00
rnystrom@google.com 930a3f1d7e Pass absolute path to git (redux).
Review URL: https://codereview.chromium.org//11312133

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14659 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:20:18 +00:00
rnystrom@google.com 0caf122ecd Revert "Pass absolute path to 'git clone'."
This reverts commit db4155692da9cda80ef558886eeea35e963fe1c6.

BUG=

Review URL: https://codereview.chromium.org//11360133

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14655 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 22:12:20 +00:00
rnystrom@google.com 8bea0cc487 Pass absolute path to 'git clone'.
Review URL: https://codereview.chromium.org//11390003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14654 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 22:03:53 +00:00
rnystrom@google.com f50263acb9 Revert "Try setting the working directory explicitly."
This reverts commit 71ae3f9bcae7ff111a3f360384ec148f1c2079b2.

BUG=

Review URL: https://codereview.chromium.org//11383003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14652 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 21:00:43 +00:00
rnystrom@google.com c5fb8014cb Try setting the working directory explicitly.
This shouldn't be necessary but I want to see if this makes the
Windows buildbots happy.

BUG=

Review URL: https://codereview.chromium.org//11377036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14650 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 20:49:40 +00:00
ager@google.com b61bebe636 Allow Directory.create to create all missing path components.
Unified Directory.create/list/delete to take a named 'recursive'
argument.

Fixed bug in Path implementation on Windows.

R=sgjesse@google.com
BUG=dartbug.com/6024

Review URL: https://codereview.chromium.org//11364097

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14572 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 15:00:54 +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 1e96528cc1 Fix move errors.
Review URL: https://codereview.chromium.org//11359059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14557 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 10:19:56 +00:00
rnystrom@google.com 5704507534 Show better error messages in network failures.
We had decent messages for a couple of failure modes. This tries
to catch some more.

Review URL: https://codereview.chromium.org//11369066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14543 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 20:42:39 +00:00
rnystrom@google.com bfab2791fe Don't show http package docs on api.dartlang.org.
Review URL: https://codereview.chromium.org//11361102

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14542 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 20:11:52 +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
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
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
johnniwinther@google.com ec9e32f669 ObjectMirror => ContainerMirror
declaredMembers => members

Review URL: https://codereview.chromium.org//11363005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14325 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:51:10 +00:00
rnystrom@google.com c561c7f4c8 Configure git explicitly when committing.
Review URL: https://codereview.chromium.org//11343059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14314 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 23:31:16 +00:00
rnystrom@google.com 30f4763934 Revert "Explicitly configure git committer."
This reverts commit de38db47e7f5eca54ad1e338fec317cf67701448.

Review URL: https://codereview.chromium.org//11339058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14313 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 22:19:21 +00:00
rnystrom@google.com 36ced3963a Explicitly configure git committer.
Review URL: https://codereview.chromium.org//11276042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14312 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 22:09:41 +00:00
johnniwinther@google.com f3cd95e744 LibraryMirror interface updated to match dart:mirrors.
BUG=

Review URL: https://codereview.chromium.org//11342039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14276 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 13:34:52 +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
johnniwinther@google.com bad0f22863 Change surroundingDeclaration to DeclarationMirror.owner
Review URL: https://codereview.chromium.org//11337021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14264 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:36:44 +00:00
johnniwinther@google.com a9ec3ff87b Rename InterfaceMirror to ClassMirror
Review URL: https://codereview.chromium.org//11341037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14256 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:21:18 +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
aprelev@gmail.com 4c67d2a994 Enabled use of snapshot for dart2js on Windows.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//11339005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14185 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 11:49:03 +00:00
gram@google.com f7d27f2c64 Modified unittest to use new argument syntax.
Fix affected unit tests.
Clean up unit tests that are using Expect instead of expect.
Get rid of warnings about duplicated library names.
Review URL: https://codereview.chromium.org//11275054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14158 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 22:52:03 +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
erikcorry@google.com 38be5a3dea Revert "Minifying renamer for classes, methods and instance variables."
This reverts r14132.
TBR=floitsch
BUG=

Review URL: https://codereview.chromium.org//11307009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14138 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 13:51:08 +00:00
erikcorry@google.com a33aa90ee0 Minifying renamer for classes, methods and instance variables.
R=floitsch@google.com
BUG=

Review URL: https://codereview.chromium.org//11265020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14132 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 12:49:04 +00:00
amouravski@google.com b24c823d54 Add logic to exclude certain libraries from API doc.
Review URL: https://codereview.chromium.org//11260045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14108 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 22:28:26 +00:00
floitsch@google.com 9cc9214b58 Rename regexp methods to getters.
Review URL: https://codereview.chromium.org//11266050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14094 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:31:56 +00:00
floitsch@google.com 2e778387b3 Make getKeys, getValues getters (keys, values).
Review URL: https://codereview.chromium.org//11267018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14093 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:22:11 +00:00
ahe@google.com 93021fe221 Decrease swarm compile-time by 20%...
...by turning off inlining :-(

Review URL: https://codereview.chromium.org//11275044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14083 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 15:41:47 +00:00
floitsch@google.com 3300f91153 Make first and last getters.
Review URL: https://codereview.chromium.org//11273041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14082 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 15:19:31 +00:00
floitsch@google.com e7c5e69beb Make String.charCodes a getter.
Review URL: https://codereview.chromium.org//11263040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14078 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 14:25:43 +00:00
rnystrom@google.com 8d84a68bac Remove wrong type annotation.
Review URL: https://codereview.chromium.org//11276019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14054 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 00:39:16 +00:00