Commit Graph

3493 Commits

Author SHA1 Message Date
sigmund@google.com 74bcffc716 fix comments in .status files
Review URL: https://chromiumcodereview.appspot.com//10024083

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6392 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 23:50:17 +00:00
asiva@google.com 2393f17f1a Fix win32 Socket test errors
SocketInfoTest and SocketPortTest are failing on windows.
Review URL: https://chromiumcodereview.appspot.com//10014037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6390 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 23:29:02 +00:00
srdjan@google.com d154a7ffce Try/catch in new compiler. Added try index to appropriate instructions. If any instruction throws an exception, the try index tells us which catch entry the exception belongs to.
Review URL: https://chromiumcodereview.appspot.com//10014006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6389 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 23:22:40 +00:00
sigmund@google.com 1767ae0b4e fix ff bot
Review URL: https://chromiumcodereview.appspot.com//10033039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6388 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 22:31:11 +00:00
vsm@google.com 78ea52b486 Selenium / Dartium cleanup
- Set client.status
- Enable executable path to be passed into test.dart (needed for dartium bots to invoke)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6387 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 22:25:38 +00:00
sigmund@google.com 9442cddcb8 step 1 in making unittest platform independent.
Review URL: https://chromiumcodereview.appspot.com//10031022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6386 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 22:15:43 +00:00
sigmund@google.com cca364ce76 change status files to make it possible to run test.py -c frog,dart2js -r none.
Except for standalone, this mostly skips all other tests. The configurations
frog_none and dart2js_none these have been ignored for now by the bots, enabling
those tests should be done as needed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6382 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 20:56:37 +00:00
vsm@google.com 2f2b098362 Add runtime=dartium webdriver support to test.dart
Review URL: https://chromiumcodereview.appspot.com//9960050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6381 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 20:53:00 +00:00
asiva@google.com a45c0b86be Fix OS::VSNPrint to make it behave similar to linux and macos versions.
Mathias found this bug will using it in the JSON parser.
Review URL: https://chromiumcodereview.appspot.com//10037018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6380 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 20:42:35 +00:00
vsm@google.com 84ae71ef30 Roll IDL to multivm@375
TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6376 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 18:45:21 +00:00
sigmund@google.com 1087154630 fix bug in isolate code, reenable isolate tests
Review URL: https://chromiumcodereview.appspot.com//9967024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6375 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 18:43:27 +00:00
podivilov@google.com e114d7d9cc Anther attempt to fix the build after recent WebKit roll.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6372 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 18:04:19 +00:00
zundel@google.com 97925a7d68 Adds parser recovery to the class right brace and handles stray semicolons in a class
I modified 'expectCloseBrace()' to not be so greedy of no opening brace
was ever seen.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6370 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 17:03:50 +00:00
podivilov@google.com 190022dcd0 Fix the build after recent WebKit roll.
Update client-leg.status.

R=antonm@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6369 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 16:59:46 +00:00
podivilov@google.com 84c80d6994 Fix the build after recent WebKit roll.
R=antonm@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6368 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 16:47:29 +00:00
floitsch@google.com be5ff89c9f Fix instance compound assignment.
We compiled a.y.x += 1 into a.y.x = a.y.x + 1.
Similarly foo().x++ was compiled into foo().x = foo().x + 1.
Now we store the receiver and reuse it on both sides.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6365 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 15:52:13 +00:00
zundel@google.com a16e4b0eeb Adds parser recovery for type parameters and type arguments
Note that this un-does part of a previous change for parser recovery.
   http://codereview.chromium.org/8576007/

The resulting AST seems more complete in the test cases I came up
with.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6364 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 15:49:28 +00:00
ricow@google.com 4a4b4da476 Speculative fix for the windows compilation failure.
Review URL: https://chromiumcodereview.appspot.com//10032030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6363 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 15:47:59 +00:00
hausner@google.com 84d10e0561 Basic support for reading and writing JSON objects.
This is a minimal implementation that we can grow as needed
for debugger protocols and isolate communication.
Review URL: https://chromiumcodereview.appspot.com//9949054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6362 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 15:28:07 +00:00
floitsch@google.com 593b3835fa Verify that there are enough positional arguments.
Review URL: https://chromiumcodereview.appspot.com//9961005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6361 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 15:22:22 +00:00
floitsch@google.com 3695be92d7 Make constant lists immutable.
Review URL: https://chromiumcodereview.appspot.com//9965047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6360 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 15:19:46 +00:00
floitsch@google.com df78d6220b Some cleanups.
Review URL: https://chromiumcodereview.appspot.com//9969039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6359 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 14:52:55 +00:00
floitsch@google.com 51c03baebe Update status file.
Review URL: https://chromiumcodereview.appspot.com//9961003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6358 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 14:42:23 +00:00
sgjesse@google.com e727d8c8b3 Refactor the close and error handling of HTTP connections
* Unify the handling of connection close and connection error.
* The HttpConnection and HttpClientConnection now have separate
  close/error handling
* The HTTP parser gets the connection close indication as it might
  signal end of body for responses with no other length indication

R=ajohnsen@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6355 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 12:54:54 +00:00
ajohnsen@google.com a4c350c17f Fix signature of GetRemotePeer declaration.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6354 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 12:24:04 +00:00
ajohnsen@google.com 4ecf48b601 Add remoteHost to Socket.
This is merging the native calls into one, GetRemotePeer, thus
eliminating a potentiel extra call to getpeername.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6353 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 12:18:12 +00:00
ajohnsen@google.com 358ba443f3 Actually close socket, on eviction timeout.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6352 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 12:09:47 +00:00
zundel@google.com 6a7d6b6c8a Building from compiler.deps in the dart/compiler dir is gone
Recent changes make it impossible to get a working build
from building in the compiler/ directory.  The buildbot now uses
all.deps and compiler.deps has been removed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6351 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 08:40:19 +00:00
zundel@google.com 50aa4ef307 Double the timeout for JUnit tests in dartc
Review URL: https://chromiumcodereview.appspot.com//10031029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6350 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 06:48:56 +00:00
cshapiro@google.com 54837ce8eb Process weak reference sets when a scavenge invokes the API callbacks.
BUG=2391

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6348 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 02:57:43 +00:00
sra@google.com e24a359ac5 Restore accidentally skipped dartium tests
Review URL: https://chromiumcodereview.appspot.com//9999016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6347 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 02:45:53 +00:00
sigmund@google.com 15cc1bae7a make configurations like frog-none do the right thing: call frog, but don't
execute the code.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6346 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 00:12:30 +00:00
asiva@google.com 861297e2a8 Fix build break.
Review URL: https://chromiumcodereview.appspot.com//9999009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6345 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 23:17:28 +00:00
efortuna@google.com 6d0547caf6 Major refactoring for run_perf_tests.py.
Review URL: https://chromiumcodereview.appspot.com//10027026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6344 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 22:46:59 +00:00
vsm@google.com e17d681cc1 Preliminary selenium support for Dartium
Note, nothing is hooked up to get_drt.py --dartium yet.  Future CLs
will download it on demand in:
- run_perf_tests.py
- test.dart for webdriver tests

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6343 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 22:07:13 +00:00
asiva@google.com 93abcffa1b Update test status file.
Review URL: https://chromiumcodereview.appspot.com//9967012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6342 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 21:51:03 +00:00
asiva@google.com 8f208ad7ca Wire GrowableArray to use the internal VM object.
This also fixes issue (5526318 : Make access to GrowableArray objects through the dart api more efficient)
Review URL: https://chromiumcodereview.appspot.com//10012042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6341 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 21:50:53 +00:00
srdjan@google.com fdc147509e Fix a crash in graoh builder where a throw node is added in an expression tree by the parser: allow throws in expressions by not closing the fragment, instead return null as value.
Review URL: https://chromiumcodereview.appspot.com//10032009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6340 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 21:31:15 +00:00
zundel@google.com 08d912226a Adds more parser recovery to '#' directives
Review URL: https://chromiumcodereview.appspot.com//10019010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6335 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 18:57:16 +00:00
asiva@google.com 2d3775a1b1 Resubmit change 6302 after fixing the compiler warning on older GCC compiler versions:
Change 6302 description:
- Wire the stack frame iterator to use stack maps for traversing objects if
there are stack maps in the code object. If there are no stack maps it still
does the old style stack frame traversal between fp and sp looking for tagged
pointers.
- Added a mechanism to be able to iterate over the code space and look for a
particular object.
Review URL: https://chromiumcodereview.appspot.com//10030001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6331 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 18:20:23 +00:00
zundel@google.com caeaafbaf3 Revert "Adds parser recovery to the class right brace and handles stray semicolons in a class"
Breaks completion tests in the editor.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6325 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 15:19:50 +00:00
zundel@google.com 5845cd3db1 Adds parser recovery to the class right brace and handles stray semicolons in a class
I modified 'expectCloseBrace()' to not be so greedy of no opening brace
was ever seen.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6324 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 14:57:19 +00:00
zundel@google.com 6db104c832 More co19 bug triage.
Every line in the file now has an issue number or other note.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6322 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 14:41:16 +00:00
zundel@google.com 43b2154b54 Fixes warnings and formatting issues in some dartc files
After these changes, I have no more warnings printed in Eclipse.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6321 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 14:05:05 +00:00
antonm@google.com cb2a735688 Remove now fixed suppression.
TBR=podivilov@chromium.org
TEST=HTMLElementTest.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6320 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 13:13:19 +00:00
podivilov@google.com 9af05c07ee Auto-generate TimeoutHandler.dart.
R=antonm@chromium.org,sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6317 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 11:31:08 +00:00
antonm@google.com 81ccfbd823 Generate DOMStringMap implementation.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6314 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 10:10:48 +00:00
zundel@google.com 72488e17be Add more parser error recovery for List and Map literals
Review URL: https://chromiumcodereview.appspot.com//10025009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6310 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-07 21:26:07 +00:00
zundel@google.com 3d5df7a80d Improve error recovery in formal parameter lists
Review URL: https://chromiumcodereview.appspot.com//10021013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6309 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-07 21:19:42 +00:00
zundel@google.com 467c3e9968 Fix build break in one of dartc's JUnit tests
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6306 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-07 17:51:31 +00:00