zra@google.com
6c84dd1c0f
Updates build scripts for updated android_tools.
...
R=asiva@google.com
Review URL: https://codereview.chromium.org//120283002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31355 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 22:23:49 +00:00
asiva@google.com
1f9f8ecf7a
- Setup infrastructure to white list some native methods as not requiring
...
auto setup of Dart API scopes
- List some functions in the list to check out the infrastructure. Performance
gains from listing these:
firstChild 222.33 to 309.6903096903097
lastChild 217.56 to 306.0
nextSibling 363.00 to 514.0
previousSibling 357.64 to 506.0
nextSiblingDynamic 348.01 to 511.0
childNodes 309.38 to 444.5554445554446
R=rmacnak@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//119543002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31342 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 19:02:04 +00:00
zra@google.com
3508d336dd
Simplifies standalone VM Android build.
...
This change also avoids the need to
do another 'gclient runhooks' when switching
between Android and Linux builds, and between
IA32 and ARM Android builds.
gyp does not allow 'libraries' sections inside of
configurations. Therefore, since some architecture
specific paths, libraries, etc. must be specified
on the Android NDK's linker command line, to avoid
re-gyping when switching between Android IA32 and ARM,
this change moves the architecture specific linker
flags to a script, android_link.py.
To avoid re-gyping when swtiching between Linux and
Android, this change creates new configurations
that specify the target OS as well as the the target
architecture, e.g. ReleaseLinuxARM or ReleaseAndroidARM
instead of ReleaseARM.
This change also adds a --toolchain flag to build.py,
and removes obsoleted logic for setting up the Android
build.
R=iposva@google.com
Review URL: https://codereview.chromium.org//105223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31340 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 17:51:34 +00:00
asiva@google.com
3b1902e54a
Add auto scope setup parameter to the native resolvers in preparation for
...
https://codereview.chromium.org/117723002/
R=vsm@google.com
Review URL: https://codereview.chromium.org//113913010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31287 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 17:48:14 +00:00
kustermann@google.com
18a8f25608
Command class hieracy refactoring, environmentOverride extraction
...
R=ricow@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//118783003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31269 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 13:01:46 +00:00
johnmccutchan@google.com
397a9a56e5
Add flag to control profiler rate
...
R=asiva@google.com
Review URL: https://codereview.chromium.org//118673002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31244 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 23:11:20 +00:00
kustermann@google.com
667c9ec4bf
Make sure we mark all depending commands (transitively!) UnableToRun if a command fails
...
R=whesse@google.com
Review URL: https://codereview.chromium.org//107153004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31241 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 21:54:45 +00:00
turnidge@google.com
87ccf6ddae
Minor fix to ddbg when current isolate goes away.
...
R=hausner@google.com
Review URL: https://codereview.chromium.org//118323004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31236 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 18:30:02 +00:00
johnmccutchan@google.com
4b38bf605c
- Properly calculate inclusive and exclusive counts on symbols.
...
- Output ticks and percentage of total ticks.
- Allow user to specify symbol count as command line argument.
R=scheglov@google.com
Review URL: https://codereview.chromium.org//103803011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31224 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 14:52:31 +00:00
kustermann@google.com
ca307461d0
test.py: Removed JUnitTestSuite, since it's no longer used
...
R=whesse@google.com
Review URL: https://codereview.chromium.org//113713006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31214 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 08:48:00 +00:00
johnmccutchan@google.com
dc217a8aa0
Fix crash walking call stack on Linux.
...
BUG=
R=asiva@google.com
Review URL: https://codereview.chromium.org//116703003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31192 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-17 16:48:55 +00:00
whesse@google.com
b45d48544d
Remove unused expired certificate, and database, from pub.
...
BUG=dartbug.com/15364
R=kustermann@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//107193006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31189 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-17 13:19:05 +00:00
kustermann@google.com
d5f5935140
Run chrome tests on dart2js-full-windows-* builders as well
...
R=whesse@google.com
Review URL: https://codereview.chromium.org//117213002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31188 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-17 13:07:02 +00:00
johnmccutchan@google.com
919dc2d6eb
* Introduce ThreadInterrupter which calls a TLS set callback when thread is interrupted.
...
* Threads can only register and unregister themselves with ThreadInterrupter.
* Profiler is no longer involved in interrupting threads. It's just a callback and the buffer.
* Profiler operates lock free using an atomic operation to reserve sample in sample buffer.
* Linux, Mac, and Windows done.
R=asiva@google.com
Review URL: https://codereview.chromium.org//109803002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31170 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-16 18:52:15 +00:00
kustermann@google.com
c9f4344cf6
Enable firefox tests on dart2js-full-windows-* builders
...
R=whesse@google.com
Review URL: https://codereview.chromium.org//98073010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31167 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-16 16:15:44 +00:00
turnidge@google.com
408427e80d
Some small changes to isolate handling in ddbg.
...
- Whenever we hit a breakpoint or other interruption, change the
current isolate.
- The first isolate to pause is now the main isolate. (Instead of
first created.)
R=hausner@google.com
Review URL: https://codereview.chromium.org//114923006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31142 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-13 19:13:50 +00:00
kustermann@google.com
19543f0876
Add annotated steps support for dart2js-full-... builders
...
R=whesse@google.com
Review URL: https://codereview.chromium.org//114103002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31099 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 15:56:16 +00:00
rmacnak@google.com
b149db19e3
Changes to generated code for templatized DartDOMWrapper::lookupWrapper.
...
R=asiva@google.com
Review URL: https://codereview.chromium.org//100923004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31050 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 00:21:46 +00:00
asiva@google.com
dd18f8d84f
Change generator to pass in domData in calls to createWrapper.
...
R=rmacnak@google.com
Review URL: https://codereview.chromium.org//110513002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31034 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 18:36:10 +00:00
jacobr@google.com
4dd740e2de
Fix bug 15417
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//103933005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31032 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 18:25:41 +00:00
hausner@google.com
55c283a672
Transmit breakpoint id on paused event
...
Breakpoint callback get an additional parameter to receive the id of the breakpoint that was hit, or 0 if the debugger pauses due to stepping.
R=turnidge@google.com
Review URL: https://codereview.chromium.org//110913002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31029 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 17:41:05 +00:00
lrn@google.com
9923bb4916
Fix static-ness of const fields in timer.
...
Use shift instead of multiply/div. It's only running on the VM.
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//111613002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31019 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 13:06:14 +00:00
lrn@google.com
6836ea2ad8
Revert "Reduce footprint of HTML Timer by not creating a "cancel" closure."
...
This may be causing timeouts.
Committed: https://code.google.com/p/dart/source/detail?r=30986
R=floitsch@google.com
Review URL: https://codereview.chromium.org//110233002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31013 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 10:36:31 +00:00
blois@google.com
0a3b261b7c
Fixing DataTransferItemList List<> behavior
...
BUG=15056
R=efortuna@google.com
Review URL: https://codereview.chromium.org//104503007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31006 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 00:47:23 +00:00
whesse@google.com
539d41deb1
Remove unused parameter from test infrastructure: use_unittest_controller.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//104963003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30988 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-09 15:18:11 +00:00
lrn@google.com
a8fb75af2f
Revert "Reduce footprint of HTML Timer by not creating a "cancel" closure."
...
This may be causing timeouts.
Review URL: https://codereview.chromium.org//110233002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30986 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-09 13:13:09 +00:00
lrn@google.com
4abe4daf0f
Reduce footprint of HTML Timer by not creating a "cancel" closure.
...
R=floitsch@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30982
Review URL: https://codereview.chromium.org//108213003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30984 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-09 11:39:39 +00:00
lrn@google.com
68a28094f5
Change the zone that late-added stream subscription callbacks are registered in.
...
They are always called in the subscription's zone, but they were
registered in the current zone.
R=floitsch@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30896
Review URL: https://codereview.chromium.org//104543002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30983 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-09 11:25:29 +00:00
lrn@google.com
e36b8eb4f4
Reduce footprint of HTML Timer by not creating a "cancel" closure.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//108213003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30982 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-09 10:40:35 +00:00
turnidge@google.com
5aa9776204
Fix checked mode failure in the debugger.
...
Review URL: https://codereview.chromium.org//108763002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30958 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 18:39:38 +00:00
turnidge@google.com
5f69cedd51
Reorder one line to make me sleep better.
...
R=hausner@google.com
Review URL: https://codereview.chromium.org//107243005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30956 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 17:54:48 +00:00
turnidge@google.com
6ddaf3eefa
When we hit a breakpoint in the debugger, show the source of current line.
...
- We keep a cache of source & line info in the TargetScript class.
- We need to use line source more broadly, but ddbg needs to be "futurized"
first.
Added an uncaught exception handler to the root zone to try to
gracefully close the debugger.
R=hausner@google.com
Review URL: https://codereview.chromium.org//106743008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30953 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 17:28:17 +00:00
kustermann@google.com
fe745b78c9
Reapply "Change SDK/DartEditor versioning scheme to semantic versions."
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//103233006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30952 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 17:23:49 +00:00
whesse@google.com
c8bfa98017
Test infrastructure: add retry to browser controller sending "done" message.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//107513004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30950 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 16:38:15 +00:00
rnystrom@google.com
f4fb64f797
Implicitly constrain barback to versions pub supports.
...
BUG=https://code.google.com/p/dart/issues/detail?id=15345
R=nweiz@google.com
Review URL: https://codereview.chromium.org//105473002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30923 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 23:39:02 +00:00
kustermann@google.com
f9bb003862
Revert "Change SDK/DartEditor versioning scheme to semantic versions."
...
+Revert "Remove pub tests for non-semantic SDK versions"
This is causing build failures on dartium. Need to investigate.
Review URL: https://codereview.chromium.org//106993002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30908 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 19:05:52 +00:00
kustermann@google.com
90c9463cc7
Change SDK/DartEditor versioning scheme to semantic versions.
...
This means that all components of the SDK (i.e. DartVM, dart2js, dartanalyzer,
pub) will have the same semantic version string when invoking them with
'--version'. The version string is also present in "dart-sdk/version".
The editor will have an eclipse compatible version which consists of
major.minor.patch.qualifier.
The SDK versions look like this on our three channels:
- bleeding-edge: 1.1.0-edge.30857
- dev: 1.1.0-dev.2.42
- stable: 1.1.0
The SDK versions comply with the semantic versioning standard, see:
http://semver.org/ .
The DartEditor versions look like this on our three channels:
- bleeding-edge: 1.1.0.edge_030857
- dev: 1.1.0.dev_02_42
- stable: 1.1.0.release
The DartEditor versions comply with semantic eclipse versioning scheme.
(The leading zeros are necessary due to lexicographic ordering.)
From both version schemes, it becomes clear on which channel a user is on.
R=danrubel@google.com , kasperl@google.com , rnystrom@google.com
Review URL: https://codereview.chromium.org//104403005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30905 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 18:35:05 +00:00
turnidge@google.com
86fd5069df
Rework how we run/kill scripts and how we quit in ddbg.
...
-------------
Details:
Add a new Command class to ddbg and begin using it to implement
command dispatching, help, and completion. I hope to migrate all the
commands to this pattern.
Since command dispatch now accepts command prefixes (e.g. 'q' for
'quit') I now use slightly longer command names.
The debugged program no longer starts automatically. It can now be
started and stopped with the run/kill commands.
The set/show commands are added which provide a general way to
modify/query debugger settings. For example, this can be used to
change the arguments passed to the debugged script or its vm
(e.g. 'set vmargs --myvmarg').
'q' -> 'quit'
'h' -> 'help'. Also added command help, e.g. 'help run', 'help help'.
This is only implemented for the new commands so far.
Commando now exports a Stream instead of taking a command handler.
This makes it simpler to add error/done handlers for Commando.
Reworking ddbg quitting. When the debugged process quits, the
debugger no longer quits. When the user quits, try to kill the
debugged process, shut down the debugger connection, and shut down
commando. When we get an unexpected error in Commando, try to handle
it better. Whenever we quit, try to restore echomode/linemode.
Add a retry "loop" to handle the case where the debugged process takes
a bit to open its debug port. This tends to happen a lot on the
second 'run' for some reason.
R=hausner@google.com
Review URL: https://codereview.chromium.org//99963004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30871 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 21:21:35 +00:00
turnidge@google.com
ed3e5b12ee
Move an old change into a new client. Old client got messed up.
...
Already reviewed by hausner.
Review URL: https://codereview.chromium.org//105243002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30865 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 19:37:01 +00:00
kustermann@google.com
eb09d1e40b
co19-roll to r672
...
Review URL: https://codereview.chromium.org//100363003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30854 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 13:00:12 +00:00
jmesserly@google.com
d700bba3e4
fix custom elements that extend tags like "section"
...
Some tags don't have their own HTMLElement subclass (because they lack unique DOM properties), but it should still be possible to extend them.
R=blois@google.com
Review URL: https://codereview.chromium.org//90113002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30833 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-03 23:46:43 +00:00
rmacnak@google.com
7ef9a46139
Remove another use of deprecated mirror API from dart:html.
...
R=vsm@google.com
Review URL: https://codereview.chromium.org//100913002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30816 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-03 17:47:07 +00:00
kustermann@google.com
239639de84
Fix missing ] in annotated steps script
...
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//95603006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30774 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 09:34:17 +00:00
kustermann@google.com
20b8ddbfee
Remove the command-specific outcome temporarily when writing out the .test-outcome.log file
...
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//96603002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30773 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 09:28:15 +00:00
kustermann@google.com
e8bc29bb62
Write .test-outcome.log files for test.py
...
This will enable us to monitor these logs on the buildbot, archive them and do
analysis based on them.
R=ricow@google.com
Review URL: https://codereview.chromium.org//96533002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30772 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 09:05:11 +00:00
ricow@google.com
bae4d99ce1
Add debug information to verify that we actually get the onDone event send to the driver page.
...
I am aware that we should not clutter up the message that we show to developers, but I think it is important to validate that we actually send the onDone message to the driver page.
We should also put in functionality for tracking network errors in the browser_controller generated js (+potentially retrying the send of the message)
R=kustermann@google.com
Review URL: https://codereview.chromium.org//96503002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30771 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 08:57:47 +00:00
kustermann@google.com
26f065bdb2
Add .test-outcome.log support to test.dart
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//95603002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30768 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 08:29:20 +00:00
kustermann@google.com
fc15ac395d
Remove left-over print statement in test_runner.dart
...
Review URL: https://codereview.chromium.org//95593002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30766 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-28 17:34:01 +00:00
kustermann@google.com
5ed5e5b17a
Added debug timer to test.dart
...
We are seeing a lot of test.dart timeouts on our browser bots. This is an
attempt to get more information on what is going on.
R=ricow@google.com
Review URL: https://codereview.chromium.org//88803002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30765 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-28 16:20:28 +00:00
kustermann@google.com
e634fb20a4
Make status updates after 10 seconds + fix handling of status updates
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//94213002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30748 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-28 08:50:58 +00:00