Find a file
Paul Berry 3dcef185d6 Fix newline normalization in _PhysicalFile.readAsStringSync().
Most clients of _PhysicalFile read the file by translating it into a
Source object using createSource() and then reading it using
FileBasedSource.contentsFromFile, which normalizes newlines using
FileBasedSource.fileReadMode.

However, a few clients read the file directly using
_PhysicalFile.readAsStringSync(), which wasn't doing the
normalization.  This CL adds the normalization to that code path.

One such client was the code generation logic for summaries; this
caused code generation to produce different results on Windows, which
led to a test failure.

Fixes #25470.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/1584313010 .
2016-01-15 12:54:22 -08:00
client Switch over testing pub seperately from the the normal packages 2015-06-09 08:12:51 +02:00
docs/language Make ?? a compile-time constant operator. 2016-01-12 12:30:07 +01:00
pkg Fix newline normalization in _PhysicalFile.readAsStringSync(). 2016-01-15 12:54:22 -08:00
runtime Check comparison tag before checking attributes in IfThenElseInstr::AttributesEqual. 2016-01-15 20:37:14 +01:00
samples Remove the Dromaeo and TodoMVC samples. 2016-01-11 13:09:26 -08:00
samples-dev Remove old java-based analyzer from test scripts and status files 2015-12-17 14:44:57 +01:00
sdk Support JS$ prefix for dart and fix bug where _operator_getter and the [] operator were used inconsistently. Would only impact future use cases where js APIs returned types not auto-proxied with dart:html. 2016-01-15 10:40:32 -08:00
site/try Refs #25328 Use a portable shebang 2016-01-05 16:26:28 +01:00
tests dart2js cps: Update status file for html tests 2016-01-15 12:16:36 -08:00
third_party Move third_party/clang to cloud storage 2015-12-22 15:17:46 +01:00
tools DEPS AutoUpdate: webkit to 202751 (2016-01-15 10:41:20 -0800) jacobr@google.com 2016-01-15 10:49:02 -08:00
utils analyzer_cli move to SDK. 2015-11-19 14:52:54 -08:00
.gitattributes - Fix git files. 2015-09-14 16:27:51 -07:00
.gitignore - Fix git files. 2015-09-14 16:27:51 -07:00
.mailmap Add .mailmap file. 2015-05-18 19:33:16 +02:00
AUTHORS Add Cristian Almstrand to AUTHORS 2015-07-16 09:51:56 -07:00
CHANGELOG.md Update changelog with information on WebSocket compression 2016-01-14 15:55:24 +01:00
codereview.settings Remove trailing slash in codereview.settings to fix review url double slash 2015-10-01 07:27:13 -07:00
create_sdk.gyp Introduce "platform configurations" to replace categories and libraries.dart. 2015-11-02 13:02:25 +01:00
dart.gyp VM: Add dart_precompiled build target, a standalone VM without the JIT compiler. 2015-11-19 10:13:16 +01:00
DEPS Bring in the latest pub. 2016-01-11 12:43:51 -08:00
LICENSE Remove the Dromaeo and TodoMVC samples. 2016-01-11 13:09:26 -08:00
PATENTS Move LICENSE, AUTHORS, PATENTS into the dart directory. 2014-02-10 06:48:47 +00:00
PRESUBMIT.py Remove presubmit suppression. 2013-08-21 11:02:39 +00:00
README.dart-sdk remove docgen from the sdk 2015-09-18 13:18:10 -07:00
README.md Links to how to get the source and build it. 2015-08-05 08:05:07 -07:00
WATCHLISTS Fix to WATCHLISTS. 2015-09-24 12:47:20 +02:00

Dart

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

Using Dart

Visit the dartlang.org to learn more about the language, tools, getting started, and more.

Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.

Building Dart

Learn how to get the source and prepare your machine to build the SDK.

There are more documents on our wiki.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

License

See LICENSE.