Commit Graph

1233 Commits

Author SHA1 Message Date
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
rnystrom@google.com ab8d8d99e3 Explicitly create a git config in the test repos.
Review URL: https://codereview.chromium.org//11266027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14052 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 00:24:38 +00:00
rnystrom@google.com f573519f13 Include an explicit author when committing.
Review URL: https://codereview.chromium.org//11275019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14049 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 23:41:08 +00:00
amouravski@google.com 3b5d04dc95 Fixes documentation generation for dart:html.
Specifically, this looks at the canonical URI for a library, and if it begins
with dart:, then use the canonical path as the printed name, otherwise use the
simpleName, which is generally the library name.

This was necessary because the new import syntax changed the simpleName from
say "dart:html" to "html". This should work for all other libraries, too, which
will be updated to the new import syntax in following CLs.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14040 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 21:25:17 +00:00
rnystrom@google.com 9049103355 Add script for pub buildbots.
Also modify annotated_steps to invoke it on the right bots.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14032 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 17:53:06 +00:00
sethladd@google.com 86d871258a remove api doc server, it's now in github
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14027 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 16:52:24 +00:00
floitsch@google.com 09f6d09d88 Make isEmpty a getter.
Review URL: https://codereview.chromium.org//11238035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14022 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 15:04:32 +00:00
floitsch@google.com 0e47b363ae Make hasNext a getter instead of a method.
Review URL: https://codereview.chromium.org//11230011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14015 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 13:05:11 +00:00
lrn@google.com a083c1a108 Removed IllegalAccessException and UnsupportedOperationException.
Both were converted to StateError.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14012 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 12:36:10 +00:00
amouravski@google.com fa916d3169 Fixed the HTML doc breakage.
Temporary fix until we can make all of apidoc work with new import syntax.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13991 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 01:56:42 +00:00
rnystrom@google.com 4c04a099d5 Apply patch from other client.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13984 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 20:25:58 +00:00
efortuna@google.com ce3543f212 Reapply ie to ie9 rename.
Review URL: https://codereview.chromium.org//11231081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13978 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 17:17:30 +00:00
efortuna@google.com 920589055f Revert rename ie to ie9.
Review URL: https://codereview.chromium.org//11249003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13976 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:28:33 +00:00
floitsch@google.com 27cadf2b66 isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue.
Review URL: https://codereview.chromium.org//11227042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13974 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:15:36 +00:00
ager@google.com 0f11f4baa0 Skip git pub tests as they do not work on Windows buildbots.
They work locally on my machine.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13966 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 14:04:25 +00:00
ager@google.com 57d5cd2278 Remove second sleep in pub and enable pub tests on Windows.
After the inherit fix I cannot reproduce the other 7zip
problem either so I'm removing the sleep call. All tests
pass on my machine.

Bob, could you test this with all of your migthty pub
power and see if you can make it break?

R=sgjesse@google.com,rnystrom@google.com
BUG=dartbug.com/5910

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13964 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:56:54 +00:00
ager@google.com e18e79217d Do *not* make file handles inheritable on Windows.
This is the cause of the pub failures to unpack a file that has
just been created. The problem is that another 7-zip process has
inherited the file handle for a file that we are still writing.
When we are done writing the file, we cannot use it because the
other process still keeps the handle.

R=sgjesse@google.com,rnystrom@google.com
BUG=dartbug.com/5910

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13960 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:04:02 +00:00
kasperl@google.com 5fb2069f5c Get rid of more () in getter definitions.
R=antonm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13952 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 11:59:22 +00:00
efortuna@google.com 31fb4a0c74 Complete renaming of ie bots to ie9, to add ie10.
Review URL: https://codereview.chromium.org//11189101

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13908 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 20:59:01 +00:00
floitsch@google.com 9074fd0178 Make hashCode a getter and not a method.
Review URL: https://codereview.chromium.org//11191078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13866 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 12:41:04 +00:00
ricow@google.com bb04388ecc Temporary fix to make IE bots green.
There is a bigger cl doing all of the renaming here:
https://codereview.chromium.org/11189101/
Review URL: https://codereview.chromium.org//11234026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13860 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 10:58:52 +00:00
ahe@google.com 755abed9dc Generate snapshot for dartj2s; use it in the SDK.
Review URL: https://codereview.chromium.org//11187028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13773 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 11:25:11 +00:00
regis@google.com 8c3cfbb381 Second round of cleanups for new optional parameter semantics.
Review URL: https://codereview.chromium.org//11194025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13759 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 20:58:19 +00:00
efortuna@google.com 4839206863 Rename ie to ie9.
Review URL: https://codereview.chromium.org//11184015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13748 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 17:44:38 +00:00
ager@google.com ff9e0f75fb Change Process.start to return a future that completes with a
Process object only when the process has been successfully started.

This is less error prone since you can use all the methods on a
Process object as soon as you can get your hands on it. Unfortunately,
this change leads to quite a few changes in test.dart. Some of those
changes will fix bugs as well. We used to have a problem with a
timeout that could fire just in between two steps in a chain of
commands that constitute one test run. This change should address
that issue as well.

BUG=dartbug.com/5305

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13729 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 10:57:45 +00:00
efortuna@google.com f8948ae8b9 Delete temporary files on Opera bot.
Review URL: https://codereview.chromium.org//11186012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13714 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 00:54:35 +00:00
nweiz@google.com 11a3d6b769 Reverting 13708
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13710 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 22:39:50 +00:00
nweiz@google.com ac3242b205 Add a Pub test that runs against the real Dart SDK.
BUG=5906

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13708 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 22:31:44 +00:00
regis@google.com adb534674c Change core lib, dart2js, and more for new optional parameters syntax and semantics (new semantics is not enforced yet).
Review URL: https://codereview.chromium.org//11090016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13684 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 16:03:47 +00:00
ajohnsen@google.com 1cbee26da4 Use correct newline-token on windows, in pub.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13678 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 09:09:49 +00:00
ajohnsen@google.com 5a104d7f2b Extract a list of lines from a process' stdout and stderr, in pub.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13677 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 08:34:20 +00:00