johnmccutchan@google.com
727d29d6b6
Refactor VM service IDs:
...
- IDs are strings which can be concatenated together like paths.
- Isolate ID is now "/isolates/XXX"
- Function, field, class, library, and script IDs are now stable.
- Introduce <type-ref> tags.
R=turnidge@google.com
Review URL: https://codereview.chromium.org//98253009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31358 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 22:35:55 +00:00
ajohnsen@google.com
38d0fad2c7
Signal handling, take 2.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//119093007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31276 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 15:07:48 +00:00
ajohnsen@google.com
f24f568571
Revert "Signal handling."
...
This reverts commit r31270.
BUG=
Review URL: https://codereview.chromium.org//105083009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31275 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 14:03:15 +00:00
ajohnsen@google.com
e8d9794c70
Signal handling.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//108003009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31270 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 13:08:26 +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
ajohnsen@google.com
5e564f370d
Add getter for hasTerminal, terminalColumns and terminalLines on stdin.
...
BUG=https://code.google.com/p/dart/issues/detail?id=15557
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//102123010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31255 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 10:59:58 +00:00
turnidge@google.com
b640712e6b
Handle vmservice messages while at breakpoint.
...
Allow rudimentary inspection of breakpoints from vmservice.
R=hausner@google.com , johnmccutchan@google.com
Review URL: https://codereview.chromium.org//113513004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31233 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 17:45:17 +00:00
ajohnsen@google.com
5558bb0d1f
Fix most UDP issues on Mac OS
...
We still do not test getting SO_BROADCAST, as it (at least on my laptop)
returns false even if it has just been turned on.
Setting SO_REUSEADDR for datagram sockets also behaves differently
compared to Linux and Windows.
IPv6 multicast as I could not test it on my laptop.
R=ajohnsen@google.com
BUG=http://dartbug.com/1975
Review URL: https://codereview.chromium.org//117723003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31223 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 12:23:40 +00:00
sgjesse@google.com
6fe58b0f3e
Fix checked mode errors in InternetAddress test
...
R=ajohnsen@google.com
BUG=http://dartbug.com/15687
Review URL: https://codereview.chromium.org//107113007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31222 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 12:20:09 +00:00
sgjesse@google.com
85fdbfb773
Add argument checking to InternetAddress constructor
...
R=ajohnsen@google.com
BUG=http://dartbug.com/15687
Review URL: https://codereview.chromium.org//101913008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31220 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 11:26:02 +00:00
ajohnsen@google.com
fe6b63d5e4
Add File.copy(Sync) to dart:io.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//105133004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31125 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-13 12:04:24 +00:00
johnmccutchan@google.com
1b2f609191
WebSocket client for VM service
...
* Renames ServiceRequest to Message
* Renames ServiceRequestRouter to MessageRouter
* Service now tracks connected clients.
* Service responds to "clients" message with list of currently connected clients.
* Add WebSocketClient to dart:io service.
* WebSocketClient supports sequence 'seq' values.
* web socket client test.
* Update dartium service for ServiceRequest -> Message rename.
R=turnidge@google.com
Review URL: https://codereview.chromium.org//112223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31116 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 22:51:51 +00:00
ajohnsen@google.com
c88afd2ca4
Add getter for lineMode and echoMode for Stdin.
...
BUG=https://code.google.com/p/dart/issues/detail?id=15424
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//102953008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31103 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 16:42:26 +00:00
sgjesse@google.com
443cd863f6
Fix analyzer errors in UDP test and update comment in status file
...
TBR=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//105633005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31100 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 16:09:56 +00:00
sgjesse@google.com
7b70c2c267
Add UDP support to dart:io
...
Initial implementation of UDP support in dart:io
Added a RawDatagramSocket which gets the same events as a RawSocket
except that READ_CLOSED is never received.
The receive from a RawDatagramSocket returns a Datagram object where
the senders address and port is presten together with the data.
The send on a RawDatagramSocket takes data and the address and port of
the destination.
Extended the number of socket options to support UDP.
Added getting the socket options.
R=ajohnsen@google.com
BUG=http://dartbug.com/1975
Review URL: https://codereview.chromium.org//85993002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31098 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 15:45:25 +00:00
ajohnsen@google.com
857f9eab78
Fix https_server_test on Windows.
...
BUG=
Review URL: https://codereview.chromium.org//114113002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31097 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 15:40:11 +00:00
ajohnsen@google.com
3308fc7600
Ignore HandshakeExceptions in HttpServer, as they are request(socket)-bound and not fatal for the server.
...
BUG=https://code.google.com/p/dart/issues/detail?id=15419
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//108323003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31095 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 14:21:40 +00:00
kustermann@google.com
e898028b18
Attempt to deflake our status files
...
R=whesse@google.com
Review URL: https://codereview.chromium.org//109893004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31022 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 15:37:34 +00:00
johnmccutchan@google.com
6076a24676
Cleanup VM service
...
R=jacobr@google.com
Review URL: https://codereview.chromium.org//106193003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30926 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 02:20:21 +00:00
hausner@google.com
70aa249370
VM debugger: fix closures in mixed-in functions
...
Avoid assertion in debugger when compiling closures in mixin
functions.
R=asiva@google.com
Review URL: https://codereview.chromium.org//102453002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30823 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-03 19:19:54 +00:00
ajohnsen@google.com
458ccec72f
Fix socket to report write errors async.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//96203006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30777 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 11:19:57 +00:00
sgjesse@google.com
5ec3f666c0
Add the index information to network interface
...
R=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//95183002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30776 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 11:18:30 +00:00
ajohnsen@google.com
5591751c3c
Add test of Zones for HttpServer and RawSocketServer.
...
BUG=https://code.google.com/p/dart/issues/detail?id=15367
R=floitsch@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//93973002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30775 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 10:26:00 +00:00
kustermann@google.com
6a805ef4bc
Increase default timeout in tests/standalone/io/test_runner_test.dart
...
It seems like simarm/simmips and even arm HW are too slow.
Review URL: https://codereview.chromium.org//92053002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30724 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 17:08:20 +00:00
kustermann@google.com
bb54b776ba
Checked-in binary update to v1.0.0.3
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//91473002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30717 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 14:17:44 +00:00
ajohnsen@google.com
e60f22cb9e
Add support for Websocket protocols.
...
This also fixes an issue where idle sockets could keep the program
alive.
BUG=https://code.google.com/p/dart/issues/detail?id=14503
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//91223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30712 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 12:10:23 +00:00
ajohnsen@google.com
79cf8dc61f
Don't report file-system move events on Mac OS, and use no-defer to avoid past events.
...
Mac OS does not have a proper way to report 'from' and 'to', thus making it impossible to reason the move direction, as other events may shuffle the order, events are received in.
BUG=https://code.google.com/p/dart/issues/detail?id=14806,https://code.google.com/p/dart/issues/detail?id=14793,https://code.google.com/p/dart/issues/detail?id=14849
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//88063002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30710 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 11:48:14 +00:00
ajohnsen@google.com
b97593a8df
Make dart:io unit-tests pass the analyzer.
...
BUG=http://code.google.com/p/dart/issues/detail?id=7066
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//87743002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30662 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-26 08:38:29 +00:00
ajohnsen@google.com
d1e35ceb30
Don't run test against '.' while running test that changes current working directory.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//86073002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30659 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-26 07:48:57 +00:00
turnidge@google.com
b354d77a3b
Add field and function view for libraries. Rough cut.
...
R=iposva@google.com
Review URL: https://codereview.chromium.org//82793004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30596 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-22 23:02:11 +00:00
sgjesse@google.com
13a2617005
Better handling of IPv6 with HTTP proxy
...
Handle IPv6 numeric hosts in the proxy configuration.
Update the environment variable based proxy server cofiguration
to also handle that the host is an IPv6 numeric address enclosed in
[]'s. Also support IPv6 numeric addresses in []'s in the no_proxy
environment variable.
Also fixed the issue where an empty string value for the
environment variables http_proxy and friends caused the proxy
configuration to become ':1080'.
R=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//80673002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30512 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 12:05:20 +00:00
sgjesse@google.com
32e6279482
Update InternetAddress
...
Add InternetAddress constructor for numeric addresses. An
InternetAddress can now be constructed without using DNS resolving.
Add hash code calculated from the bytes of the address.
Add equality operator comparing the bytes of the address.
Added check for multicast addresses.
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//76383002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30449 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 10:01:22 +00:00
ajohnsen@google.com
e03a7418ae
Clean up HttpHeaders to always have them in a consistent state.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//72663005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30445 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 09:38:14 +00:00
sgjesse@google.com
09ef9104e0
Don't supply host names for the fixed internet addresses
...
The hard-coded host names "localhost" and "localhost-ip6" where taken
from the default Ubuntu hosts file. But other machines (e.g the
default on Mac OS) might be configured different. To avoid actual
lookup of "localhost" and "localhost-ip6" returning a different
address than the provided fixed loopback addresses don't add an actual
host name.
R=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//76243002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30403 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 12:17:41 +00:00
ngeoffray@google.com
709c4a265f
Test now passes with the fix http://code.google.com/p/dart/issues/detail?id=15133 .
...
Review URL: https://codereview.chromium.org//60273010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30400 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 11:46:26 +00:00
ajohnsen@google.com
c2e9418dd6
Mark status file and fix warnings found by dart2js in test.
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//64553015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30346 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 14:36:55 +00:00
ajohnsen@google.com
f6a50d8894
Use typed-data views for incoming http data.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//59673006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30340 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 12:40:38 +00:00
ajohnsen@google.com
491442573f
Use a re-usable buffer for writing HTTP headers. This includes a new header limit of 8192 bytes.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//65043019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30335 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 10:27:50 +00:00
rmacnak@google.com
45c7c58273
Filter frames from debugger stack based on visibility rather than "debuggability" (steppability).
...
R=asiva@google.com , hausner@google.com
Review URL: https://codereview.chromium.org//68113019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30280 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 18:37:50 +00:00
sgjesse@google.com
4d148bb1fd
Improve the HTTP client error when the provided URI is not suitable
...
This will provide a better error message for e.g. unquoted IPv6
literal addresses (http://::1:8888/ )
R=whesse@google.com
BUG=
Review URL: https://codereview.chromium.org//66603002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30151 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 11:27:50 +00:00
whesse@google.com
ec534ea516
Restore missing debug flag supression from NSS update.
...
BUG=dartbug.com/14896
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//59773011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30045 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 12:25:38 +00:00
whesse@google.com
25785c7316
Update NSS to Chromium revision 232552
...
BUG=
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//64113002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30044 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 12:01:23 +00:00
johnmccutchan@google.com
97166a2482
Add notes to issue14236_source.dart on regenerating
...
BUG=
R=asiva@google.com
Review URL: https://codereview.chromium.org//53393004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29989 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 19:22:15 +00:00
whesse@google.com
58029b34eb
Make all temp directories start with dart_ in standalone tests.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//59043011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29983 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 16:32:23 +00:00
regis@google.com
528a7ce3d9
Complete latest spec changes regarding malformed types (see issue 14006).
...
Update language tests and mark them as failing in dart2js as appropriate.
Mark a few co19 tests as failing.
Mark a dart2js test as failing due to unresolved types.
Unfortunately, https://codereview.chromium.org/53583003/ was uncomplete and
missed a few mappings of malformed types to dynamic.
R=hausner@google.com
Review URL: https://codereview.chromium.org//57133004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29924 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 18:46:13 +00:00
ajohnsen@google.com
57d8b90fe1
Rename remoteHost to remoteAddress on *Socket.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//59213003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29904 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 13:24:49 +00:00
sgjesse@google.com
3efbd706b3
Fix test failures on Windows
...
Don't try to delete the current working directory.
R=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//59593002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29884 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 10:35:19 +00:00
sgjesse@google.com
a28b9e930b
Use correct class name (UnsupportedError instead of UnsupportedOperation) in test
...
TBR=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//59513002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29882 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 09:48:04 +00:00
sgjesse@google.com
606aaaf82f
Add fromUri constructor to File, Directory and Link
...
R=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//57943002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29881 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 09:28:08 +00:00
sgjesse@google.com
0aa1345b12
Add optional flush argument to some file methods
...
BUG=http://dartbug.com/8794
R=whesse@google.com , ajohnsen@google.com
Review URL: https://codereview.chromium.org//20745006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29880 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 08:46:50 +00:00