8c64adf13ec61271e507c510d239c19cb495dd3f
-- Terminology change: invalid handles are now called error handles. Unhandled exceptions used to be a kind of valid handle. Now they are a kind of error handle. For the Dart_Invoke* functions, this means that the standard error-checking blob drops from two tests to one test and is harder to mess up. Many other Dart api functions (Dart_ToString, for example) previously dealt with unhandled exceptions by turning them into terse error messages. Now these functions preserve information about the exceptions and generate better error messages. Changed Dart_HandleMessage to return success/failure. It seemed to fit. -- Details: Dart_IsValid becomes Dart_IsError (negated sense). Dart_GetError now knows how to print a stack trace semi-nicely. Dart_ExceptionOccurred -> Dart_IsUnhandledException. Renamed ApiFailure class to ApiError to fit better. ApiError now has a "data" pointer that points to either an error message string or to an unhandled exception object. Documentation changes aplenty. Review URL: http://codereview.chromium.org//8501034 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1470 260f80e4-7a28-3924-810f-c04153c831b5
This is the repository of the Dart programming language and its associated tools, libraries, and samples. For license information, please see LICENSE. You can find more about Dart online at dartlang.org or code.google.com/p/dart. Here's a brief guide to what's in here: client/ client-side libraries and samples (i.e. in a browser) compiler/ the dartc Dart -> JavaScript compiler corelib/ core libraries (collections, built-ins, math...) editor/ the Eclipse-based standalone Dart IDE language/ language specification runtime/ the Dart VM and code for running it as a standalone app samples/ sample Dart programs (note: more under client/samples) tests/ automated tests third_party/ external dependencies tools/ build scripts, text editor support files, etc.
Description
Languages
Dart
84.6%
C++
13%
Python
0.7%
JavaScript
0.5%
HTML
0.4%
Other
0.5%