Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(758)

Issue 10829102: Create 'unified' version of Date, with a dart2js implementation. (Closed)

Created:
8 years, 4 months ago by Anders Johnsen
Modified:
8 years, 4 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Create 'unified' version of Date, with a dart2js implementation. VM implementation is pending. This also fixes dart2js, so it correctly handles getters and setters in patches. BUG= Committed: https://code.google.com/p/dart/source/detail?r=10116

Patch Set 1 #

Patch Set 2 : Add dart2js patch file for coreimpl. #

Total comments: 4

Patch Set 3 : Update comment and group external methods. #

Total comments: 6

Patch Set 4 : Gramma fix and moved JS logic from DateImplementation to js_helpers. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -220 lines) Patch
A + corelib/unified/core/date.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A corelib/unified/core/implementation/date.dart View 1 2 1 chunk +181 lines, -0 lines 0 comments Download
M lib/compiler/implementation/compiler.dart View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M lib/compiler/implementation/lib/core.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/lib/coreimpl.dart View 1 chunk +1 line, -0 lines 0 comments Download
A lib/compiler/implementation/lib/coreimpl.dartp View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
M lib/compiler/implementation/lib/js_helper.dart View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M lib/compiler/implementation/lib/mockimpl.dart View 1 chunk +0 lines, -216 lines 0 comments Download
M lib/compiler/implementation/library_map.dart View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Anders Johnsen
8 years, 4 months ago (2012-07-31 15:53:00 UTC) #1
Mads Ager (google)
LGTM! Florian, could you have a look at the dart2js compiler change. I'm a bit ...
8 years, 4 months ago (2012-08-01 08:08:31 UTC) #2
Anders Johnsen
https://chromiumcodereview.appspot.com/10829102/diff/2001/corelib/unified/core/implementation/date.dart File corelib/unified/core/implementation/date.dart (right): https://chromiumcodereview.appspot.com/10829102/diff/2001/corelib/unified/core/implementation/date.dart#newcode117 corelib/unified/core/implementation/date.dart:117: external String get timeZoneName(); On 2012/08/01 08:08:31, Mads Ager ...
8 years, 4 months ago (2012-08-01 08:35:50 UTC) #3
floitsch
LGTM, but I'm not really the right person for the abstract fields and getters/setters. Looping ...
8 years, 4 months ago (2012-08-01 09:05:01 UTC) #4
Anders Johnsen
https://chromiumcodereview.appspot.com/10829102/diff/7001/lib/compiler/implementation/compiler.dart File lib/compiler/implementation/compiler.dart (right): https://chromiumcodereview.appspot.com/10829102/diff/7001/lib/compiler/implementation/compiler.dart#newcode560 lib/compiler/implementation/compiler.dart:560: // Skip accessors. An accessor always have an abstract ...
8 years, 4 months ago (2012-08-01 09:15:38 UTC) #5
ahe
8 years, 4 months ago (2012-08-02 13:47:54 UTC) #6
The changes to compiler.dart looks fine, but in the future, it would be great if
you can split library unification work and compiler work in separate CLs. Also,
please don't forget to add unit tests.

Powered by Google App Engine
This is Rietveld 408576698