rnystrom@google.com
9f1bc6d2a6
Remove unused #import from postProcess and check in regenerated MDN docs.
...
Review URL: https://chromiumcodereview.appspot.com//9310036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3818 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:40:57 +00:00
turnidge@google.com
4a3d434dee
Remove some unused variables to fix the linux build.
...
Review URL: https://chromiumcodereview.appspot.com//9310039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3817 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:40:13 +00:00
dcarlson@google.com
9da015d58b
Fix mac/git renaming case failure. Aaarrrrgggghhhh.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9310038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3816 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:38:38 +00:00
turnidge@google.com
9da62c5fea
Add Dart_PropagateError.
...
This function can be used in native functions to properly pass all
errors up the stack.
Set the long jump base in the Compiler instead of outside of the
compiler. A bunch of errors that used to be propagated through the
sticky_error are now propagated through return values. This includes
all of the DartEntry and DartLibraryCall functions.
In particular, we no longer use the long jump to cross dart frames.
Instead errors are propagated across dart frames using the same
mechanism that we use for unhandled exceptions. I've added assertions
to make sure that we only use the long jump when it is "safe".
Review URL: https://chromiumcodereview.appspot.com//9169102
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3815 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:34:16 +00:00
dcarlson@google.com
db17ef4ea3
String encoding utility methods and tests for Unicode, UTF-8, -16 and -32.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9233041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3814 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:25:46 +00:00
rnystrom@google.com
47f98dc1b3
Don't check for Member.
...
Fixes broken correspondences between html and htmlimpl. That in turn fixes
a bunch of missing MDN docs.
Review URL: https://chromiumcodereview.appspot.com//9317040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3813 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:17:11 +00:00
ajohnsen@google.com
143de9eb80
Use ByteArray's native for Socket and File.
...
Review URL: https://chromiumcodereview.appspot.com//9235067
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3812 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 21:48:27 +00:00
efortuna@google.com
1e734076dc
Get Firefox on Windows running.
...
Review URL: https://chromiumcodereview.appspot.com//9314047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3811 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 21:24:52 +00:00
scheglov@google.com
ec1c9714df
Use appropriate heap limit
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3806 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 20:33:27 +00:00
vsm@google.com
1bd85182c9
Native GC test breaking on Dartium
...
TEST=NativeGCTest
Review URL: https://chromiumcodereview.appspot.com//9313003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3805 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 19:30:05 +00:00
turnidge@google.com
1f5364cd3b
Add support for native ports in the vm.
...
Dart_NewNativePort creates a port associated with a C handler
function. When messages come in on this port, they are forwarded to
the C function for processing.
To support this, refactored PortMap so that it operates on a new
MessageHandler type instead of directly on Isolates.
For now, native ports have a dedicated single thread. Eventually we
will back native ports (and possibly Isolates as well) by a shared
thread pool.
Review URL: https://chromiumcodereview.appspot.com//9169063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3804 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 18:53:40 +00:00
scheglov@google.com
b2725b7068
Raise heap limit
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3802 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 18:35:26 +00:00
ager@google.com
ed3338dbae
Wait for exit-code thread to terminate before terminating main.
...
The code is identical on Linux and Mac. Currently unimplemented on
Windows because I had to revert my change to the exit code handling
on Windows. I will revive that change tomorrow and implement this
as part of that change.
R=iposva@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9315037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3801 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 18:16:45 +00:00
efortuna@google.com
3d066e467a
Fix client.status.
...
Review URL: https://chromiumcodereview.appspot.com//9264017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3800 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 17:54:30 +00:00
scheglov@google.com
ecbd1874bf
Recompile unit with potential conflict/dependency on some top-level symbol.
...
1. Change dependency tracking from API version on unit to just unit last modified time.
2. Track sets of top-level and all declared symbols in units, recompile in case of possible conflict.
3. Track units with TypeErrorCode.CANNOT_BE_RESOLVED, recompile if any unit changes top-level symbols.
4. Better tests with source code directly in test method.
R=zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9148026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3799 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 17:47:04 +00:00
antonm@google.com
16d87a7fd8
Transition to new API to start Dart.
...
Review URL: https://chromiumcodereview.appspot.com//9315030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3797 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 17:08:07 +00:00
zundel@google.com
6af6186796
Sort and format the language.status dartc section
...
I also annotated a couple of the lines with public issue numbers.
Review URL: https://chromiumcodereview.appspot.com//9314035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3794 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 16:05:45 +00:00
ngeoffray@google.com
8acbf5ab35
Support getters and setters.
...
Review URL: https://chromiumcodereview.appspot.com//9245002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3792 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 15:59:15 +00:00
ngeoffray@google.com
d5d29f2e03
Support default values for optional parameters.
...
Review URL: https://chromiumcodereview.appspot.com//9315028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3791 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 15:55:12 +00:00
ager@google.com
7031be2291
Revert "Changes to the process implementation."
...
There is a race-condition on Windows and exit handling when a process
has been closed is incorrect.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9307033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3790 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 14:19:25 +00:00
ager@google.com
9a6f6b8210
Fix VM test suite after path changes.
...
R=whesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9314032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3787 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 13:18:08 +00:00
ngeoffray@google.com
5401f87f78
Support named arguments for dynamic calls.
...
Review URL: https://chromiumcodereview.appspot.com//9316026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3786 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 13:04:24 +00:00
ager@google.com
3c8c228fd1
Fix status file parser test.
...
We should look into why this failure did not turn the buildbot
red. I'll file a bug report on that.
R=whesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9309031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3785 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 12:54:46 +00:00
whesse@google.com
2f3266f20a
Fix test.dart on dartc client compilation tests.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9317030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3784 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 12:37:32 +00:00
whesse@google.com
03700e60e5
Make test.dart use the path of the running script to find the Dart checkout.
...
This could be tools/test.dart, tools/test-runtime.dart, or tools/test-compiler.dart.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9302034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3782 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 12:10:24 +00:00
ager@google.com
6b5815328c
Changes to the process implementation.
...
- Make the list of active processes thread safe on Windows.
- Use only one thread on Windows to detect process termination.
- Stop the process termination thread when the standalone VM terminates.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9307003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3780 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 09:09:23 +00:00
lrn@google.com
389eb6829a
Made multiline string literals ignore an initial newline.
...
Review URL: https://chromiumcodereview.appspot.com//9301037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3779 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 09:03:33 +00:00
sra@google.com
38823e7d02
Make XMLHttpRequest.response available.
...
Not all types are available through responseText, responseXML etc.
In particular, arraybuffers need the .response getter.
The getter was missing from the Dart interfaces because it is declared
in the IDL as returning type 'Object' which is not declared anywhere.
Solved by parsing 'object' and 'Object' identically.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9316023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3778 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 07:28:27 +00:00
vsm@google.com
ea9ac2e6c7
Add forgotten layout tests
...
Forgot these in the last migration.
TBR=sra
Review URL: https://chromiumcodereview.appspot.com//9315025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3775 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 05:52:15 +00:00
dgrove@google.com
116036eea7
Final CL to kill off client/samples .
...
Review URL: http://codereview.chromium.org//9314024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3774 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 01:51:26 +00:00
hausner@google.com
bab2015be3
Frog fails the new conditional expression test.
...
Review URL: https://chromiumcodereview.appspot.com//9316018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3773 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 01:20:17 +00:00
sra@google.com
3fa306b58d
Fix all_tests script.
...
We can no longer get the file name from the generator, so just
generate the name locally to the test.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9317024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3771 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 01:10:26 +00:00
hausner@google.com
7f54ad8b0f
Fix brakage.
...
Was asleep.
Review URL: https://chromiumcodereview.appspot.com//9314019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3770 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:56:31 +00:00
vsm@google.com
451b580923
Suppress dartc type checking on new dom tests to get bot green.
...
TBR=sra
Review URL: https://chromiumcodereview.appspot.com//9316016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3769 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:54:11 +00:00
hausner@google.com
0c61be512e
Allow assignment expressions in conditional expressions
...
Fix issue 1243 (http://code.google.com/p/dart/issues/detail?id=1243 )
Also fix issue 1370 (name of internal temporary variables, order of expression evaluation.)
Review URL: https://chromiumcodereview.appspot.com//9310007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3768 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:49:47 +00:00
vsm@google.com
84077eabda
Update webdriver status for DOM tests.
...
Review URL: https://chromiumcodereview.appspot.com//9309021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3767 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:38:06 +00:00
rnystrom@google.com
cfe03739c2
Integrate VM IO libraries and search box into apidoc.
...
Review URL: https://chromiumcodereview.appspot.com//9319001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3766 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:35:45 +00:00
srdjan@google.com
ac93efe4c1
Fix leg build, removed positive check as they fail in leg. The positive test must be somewhere else.
...
Review URL: https://chromiumcodereview.appspot.com//9317021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3765 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:24:58 +00:00
efortuna@google.com
ef96a2548d
Fix linux frogium build. We had incorrectly marked a view test as passing. See
...
https://chromiumcodereview.appspot.com//9302012
TBR=jmesserly,
Review URL: https://chromiumcodereview.appspot.com//9318016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3764 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:11:31 +00:00
rnystrom@google.com
a60cd8608d
Fix build break in dartdoc.
...
Review URL: https://chromiumcodereview.appspot.com//9318013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3763 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 23:33:46 +00:00
vsm@google.com
e7917dd2e5
Migrate all LayoutTests/dart/dom to main repo.
...
Once these are in, I will delete the ones under LayoutTests.
TBR=sra,antonm
Review URL: https://chromiumcodereview.appspot.com//9314008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3760 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 23:01:00 +00:00
dgrove@google.com
f45724122a
Fix a few remaining issues from moving swarm.
...
Review URL: http://codereview.chromium.org//9310010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3759 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 22:56:47 +00:00
zundel@google.com
ffd2a08a22
Type Variables cannot be used in identifier expressions
...
dartc was allowing this code to get through to code generation.
http://code.google.com/p/dart/issues/detail?id=1387
Review URL: https://chromiumcodereview.appspot.com//9307010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3757 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 22:17:00 +00:00
srdjan@google.com
b4dbc21544
Fix frogsh builds.
...
Review URL: https://chromiumcodereview.appspot.com//9309015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3752 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 21:51:03 +00:00
zundel@google.com
6d9ee83915
Fix crash in dartc when given cyclic type variable bounds.
...
http://code.google.com/p/dart/issues/detail?id=211
Review URL: https://chromiumcodereview.appspot.com//9186017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3751 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 21:46:24 +00:00
rnystrom@google.com
7abda05053
Integrate MDN content into API documentation.
...
Most of the code under mdn/ is Jacob's magic with a little extra hackery
on my part.
Review URL: https://chromiumcodereview.appspot.com//9225039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3750 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 21:33:41 +00:00
srdjan@google.com
9e77768c91
Fix for bug 1229: Unary operator plus is not allowed ... except for literals.
...
Add tests for incorrect literals, e.g. "+ 5".
Added a temporary token kTIGHTADD that represents an ADD not terminated by a whitespace. It is temporary and eliminated in the parser (code generator ot AST do not see it). It is used to recognize correct literals.
Review URL: https://chromiumcodereview.appspot.com//9264051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3745 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 20:05:24 +00:00
regis@google.com
8c7bf5bb20
Second try at disabling failing test, which is actually not failing in frog, but
...
only in leg.
Review URL: https://chromiumcodereview.appspot.com//9316003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3741 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 18:54:51 +00:00
regis@google.com
f2477b1a48
Disable new test failing in frogsh and leg.
...
Review URL: https://chromiumcodereview.appspot.com//9315003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3740 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 18:41:46 +00:00
regis@google.com
67adc6e1a1
Add test for issue fixed in r3707.
...
Review URL: https://chromiumcodereview.appspot.com//9104044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3739 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 18:16:22 +00:00