Commit Graph

3172 Commits

Author SHA1 Message Date
iposva@google.com 8b624711d7 - Check for error when creating the source string.
Review URL: https://codereview.chromium.org//13842019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21813 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 13:12:57 +00:00
iposva@google.com 539588333e - Reduce warnings about project settings in Xcode 4.
- Address compilation warnings found by clang.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21786 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 05:31:03 +00:00
zra@google.com 069456803e Implements features to run "Hello, world!" on simulated MIPS.
Review URL: https://codereview.chromium.org//14246039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21759 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 18:31:47 +00:00
zra@google.com dae5068650 Enables cross-compilation of the VM for ARM.
Uses the "toolset" feature of gyp to build the dart VM
for ARM, but restricts building of snapshot generation
to the host machine.

For generated source files, it also changes to using
LIB_DIR instead of SHARED_INTERMEDIATE_DIR to avoid
generation of duplicate Makefile rules (gyp doesn't
know that generated source files from toolchains it
thinks are different will be the same.)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21757 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 18:05:44 +00:00
hausner@google.com e340b4d174 Debugger wire protocol changes
- Add 'number' value type for transmitting values of type num
- Eliminate 'integer' value types (subsumed in number values)
- Eliminate url and line number fields in breakpointResolved
  events

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21745 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 15:20:43 +00:00
ajohnsen@google.com 5d75150718 Fix Zlib filters to correctly emit the last chunks of data.
BUG=https://code.google.com/p/dart/issues/detail?id=10026

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21735 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 11:40:04 +00:00
sgjesse@google.com e1aa202b58 Add the ability to secure an already established raw socket connection
The static methods secure and secureServer can be used to start
TLS handshake as eihter client or server.

This CL only implement the securing of RawSocket.

This also changes the semantics of cancelling a subscription on a
RawSocket from closing the socket to just pausing.

R=ager@google.com

BUG=https://code.google.com/p/dart/issues/detail?id=8789

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21719 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 07:37:37 +00:00
srdjan@google.com 9b53a42536 Add flag --check-function-fingerprints, it checks all function fingerprints of the intrinsifier and method recognizer. Added flag to a test so that the fingerprints will be tested during a regular test.
Review URL: https://codereview.chromium.org//14247005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21711 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 23:18:13 +00:00
tball@google.com 392afbd807 Added generated JavaScript vmstats app to build.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21634 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 16:35:33 +00:00
tball@google.com 969cfa4e03 Added dart2js-generated vmstats.dart, to support non-Dartium browsers.
Review URL: https://codereview.chromium.org//14191002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21631 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 16:30:26 +00:00
sgjesse@google.com 732556a48d Fix patch file return types
TBR=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21615 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 11:10:21 +00:00
sgjesse@google.com cf64f0ad79 Add access to process id for both current process and processes started
BUG=https://code.google.com/p/dart/issues/detail?id=9129

R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21611 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 10:15:29 +00:00
tball@google.com 182a815a85 Fixed Windows syntax error.
Review URL: https://codereview.chromium.org//13977010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21600 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 05:30:24 +00:00
tball@google.com da16078500 Added ctrl-\ support in dart binary to dump isolate stacks.
Review URL: https://codereview.chromium.org//14313002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21599 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 05:24:07 +00:00
hausner@google.com df5c543b6f Add library id, location info to breakpointResolved event
Review URL: https://codereview.chromium.org//13940008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21592 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 23:24:21 +00:00
tball@google.com 40337a5ae6 Rolled back due to missing Windows signal definition.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21590 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 23:15:19 +00:00
tball@google.com e47bfb54b2 Added ctrl-\ command that dumps isolate stacks to dart binary.
Review URL: https://codereview.chromium.org//13603002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21589 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 23:11:36 +00:00
regis@google.com a75f98dbe3 Implement missing features to run Hello world! on simulated ARM.
Review URL: https://codereview.chromium.org//14153004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21582 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 21:53:09 +00:00
tball@google.com ee8ce4a2d3 Resubmission of 21573, with corrected strndup call.
Review URL: https://codereview.chromium.org//14308006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21579 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 21:05:37 +00:00
tball@google.com bffac5979d Rolled back due to missing Windows strndup.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21575 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 20:47:32 +00:00
tball@google.com 56b980f2aa Fixed stack trace for isolates without any Dart frames. Updated
stats display to display empty stack dumps, and reduced screen
update time.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21573 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 20:40:56 +00:00
hausner@google.com 89949d455b Deprecate old debugger breakpoint handler
- Add new breakpoint handler callback that does not take a
  stack trace
- Remove deprecated handler from debugger core
- Adjust tests
- Old breakpoint handler support remain in code until Dartium
  switches to new handler.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21569 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 19:42:39 +00:00
asiva@google.com b2ee18c4f3 Fix the help message printed by standalone dart
- remove use-script-snapshot (not supported anymore)
- changed --print-source to --print-script

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21559 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 17:19:34 +00:00
floitsch@google.com 466d6670c1 Refactor Future constructors.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21517 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 21:24:27 +00:00
floitsch@google.com 5431a5af54 Remove AsyncError with Expando.
Review URL: https://codereview.chromium.org//14251006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:58:32 +00:00
floitsch@google.com f553392322 Change StreamController constructor.
Review URL: https://codereview.chromium.org//14196003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21472 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 16:34:26 +00:00
floitsch@google.com e2ee353940 Rename unsubscribeOnError to cancelOnError.
Review URL: https://codereview.chromium.org//14251013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21469 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 16:07:36 +00:00
ajohnsen@google.com b4eacbf8aa Rename RandomAccessFile.readList and RandomAccessFile.writeList to RandomAccessFile.readInto and RandomAccessFile.writeFrom.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21466 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:44:41 +00:00
sgjesse@google.com 83bd0f1aa9 Add support for even more typed data on native ports
The only types missing now are: Float32x4, Float32x4List and
Uint32x4 (currently no Uint32x4List).

R=ager@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21455 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 14:19:46 +00:00
floitsch@google.com bebe3ac2cd Refactor List.setRange function.
Review URL: https://codereview.chromium.org//13863012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21452 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 13:52:29 +00:00
sgjesse@google.com 640e6a9e63 Fix wrong ASSERT
TBR=ager@google.com

Fix building of extension sample

TBR=ager@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21427 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 09:56:41 +00:00
sgjesse@google.com 6507357ca0 Add support for more typed data types on native ports
Renamed the kUint8Array type for a Dart_CObject structure to
kByteArray to support all typed data types. The specific type is
stored in a separate type field. No matter what the specific type is,
the length of the byte array is always in bytes.

R=ager@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21423 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 09:01:56 +00:00
ajohnsen@google.com 67650cb16e Remove .writeStream, .consume and rewrite IOSink to correctly implement a (sane) well-defined behaviour of the .done future.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21416 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 07:35:45 +00:00
hausner@google.com 84c1529de4 Fix wire json breakage
Review URL: https://codereview.chromium.org//14217006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21395 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 22:04:26 +00:00
hausner@google.com 268bdbc85f More cleanups in debugger API and wire protocol
Review URL: https://codereview.chromium.org//13975018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21392 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 21:49:24 +00:00
whesse@google.com 5d0200609b dart:io | Change the way SecureSocket initializes the NSS library with an empty database.
BUG=dartbug.com/7104

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21363 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 15:22:45 +00:00
floitsch@google.com 285849c801 Change hasSubscribers to hasListener.
Review URL: https://codereview.chromium.org//14103010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21337 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 09:30:05 +00:00
hausner@google.com 8b71446903 Remove legacy debugger API stuff. The removed functions do not appear to be used in Dartium.
Review URL: https://codereview.chromium.org//14029016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21305 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 19:26:25 +00:00
floitsch@google.com 134302aa48 Remove second generic argument of StreamConsumer.
Review URL: https://codereview.chromium.org//14172013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21303 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 18:11:40 +00:00
ajohnsen@google.com dcaf52732e Remove StreamSink(replaced by EventSink) and make IOSink extend EventSink.
With this change 'writeBytes' was renamed to 'add'.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21275 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 12:54:19 +00:00
hausner@google.com cadaedbcde Debugger wire protocol cleanups
- Rename id->isolateId in paused events
- Eliminate stack trace object in paused events
- Adapt ddbg.dart tool
Review URL: https://codereview.chromium.org//14105003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21241 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:37:21 +00:00
whesse@google.com 9618a8d086 dart:io | Remove some unneeded global error save/restore pairs on Windows.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21205 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 14:41:17 +00:00
ajohnsen@google.com 2f5eb60636 Introduce new HttpBodyHandler to easily extract full body of HttpRequest and HttpClientResponse.
BUG=https://code.google.com/p/dart/issues/detail?id=8834

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21202 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 13:50:44 +00:00
whesse@google.com 0693221741 dart:io | Directory.list: Add some missing lines to macos and android versions of implementation.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21201 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 13:47:22 +00:00
whesse@google.com 7c56d46086 dart:io | Ensure that Directory.list terminates even when symbolic links create loops in the file system.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21199 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 13:07:08 +00:00
iposva@google.com 0d0fcbe7e1 Changelist to land https://codereview.chromium.org/13452007/ for Siva.
Review URL: https://codereview.chromium.org//13813018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21160 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 17:51:24 +00:00
ajohnsen@google.com ea312dd9e3 Also wrap stdin/stdout/stderr on Process.
BUG=https://code.google.com/p/dart/issues/detail?id=9439

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21132 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 06:21:17 +00:00
iposva@google.com 15e23c7914 - Make the test_extension (a shared library) build in PIC.
Review URL: https://codereview.chromium.org//13811007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21123 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 23:33:50 +00:00
hausner@google.com 9b3a1bd078 More debugger fixing in json objects
Need a better test. The current basic_debugger_test hangs due to
the bug. Will look at that in a separate cl.
Review URL: https://codereview.chromium.org//13800014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21109 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 20:00:54 +00:00
hausner@google.com 0257112f6b Fix editor build
Fix json syntax from previous change.
Review URL: https://codereview.chromium.org//13801017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21100 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 18:49:28 +00:00