Commit graph

729 commits

Author SHA1 Message Date
sigmund@google.com
3c6d685a05 Use new file names for downloading dartium archives.
Review URL: https://chromereviews.googleplex.com/3561012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@175 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:04:57 +00:00
sigmund@google.com
6c03d06c5d htmlconverter: allow imports in inlined code, including imports to dom/html
Review URL: https://chromereviews.googleplex.com/3530016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@174 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:48:20 +00:00
jacobr@google.com
2af03fc05b Enhanced performance by removing unused UI, reducing the # of absolutely positioned elements thus reducing the # of render layers, and increasing the amount of logic performed using string concat instead of DOM manipulation.
Also added back a bugfix  change I'd thought I'd landed to HTMLDocument,

Added some significant polish and missing features to the keyboard shortcuts
by correctly taking into account that some views may be partially visible.

New hotness available at:
http://dart.googleplex.com/jacobr-swarm-js.html

I'm finally not embarrassed by the performance when scrolling between pages of views on the iPad.  Not quite 60fps but close enough to 30fps under the worst conditions scrolling horizontally.

BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3543015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@165 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:15:50 +00:00
sra@google.com
5883649a35 Browser compat fix for setInterval and SetTimeout.
Firefox passes an argument to the TimeoutHander, Chrome doesn't.  Fix
by dropping all arguments before calling the strict Dart function.

BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3544020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@163 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:08:36 +00:00
terry@google.com
acd85abe79 Fixed --optimize not working.
- Output files are different file names.
    - And -optimize requires --disable-type-optimizations for code to work.

BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3550017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@162 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:07:55 +00:00
eub@google.com
0c2c6482b8 Modify the OfflineHTMLConverter's behavior when it fails to download
an image: instead of silently emitting a non-local URL that will fail
offline, rewrite to a blank image.

Add an arg and use it to save images as local files, rather than
embedding them in the HTML as data://.
Review URL: https://chromereviews.googleplex.com/3535014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@159 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 21:45:42 +00:00
sigmund@google.com
06ec980f3f get_drt.py: renamed from get_dartium, tries to get the latest DumpRenderTree
from the most recent archive location that the user has access to.

Review URL: https://chromereviews.googleplex.com/3532018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@157 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 21:43:51 +00:00
sra@google.com
5f7a1541ef Implement List.xxxRange methods for DOM types in wrapping DOM.
All implementations are stubs.  Since the lists are read-only,
only getRange need to be reimplemented.

BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3538017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@148 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 19:17:44 +00:00
arv@google.com
21cc2799ec Dart DOM: Add Element attributes setter
BUG=None
TEST=None

Review URL: https://chromereviews.googleplex.com/3526016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@143 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 18:48:23 +00:00
vsm@google.com
1bcf461c37 One more optional arg fix
Forgot this one.

Review URL: https://chromereviews.googleplex.com/3530017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@135 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 16:11:05 +00:00
floitsch@google.com
382580f9a7 Rename Time to Duration and adapt methods.
Review URL: https://chromereviews.googleplex.com/3536013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@121 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 14:21:57 +00:00
floitsch@google.com
15727ed074 Rename DateTime to Date.
Review URL: https://chromereviews.googleplex.com/3529013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@107 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 10:14:49 +00:00
floitsch@google.com
98d704a3cb Remove Date class and remove .time from DateTime.
Review URL: https://chromereviews.googleplex.com/3508024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@103 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 09:20:30 +00:00
kasperl@google.com
b0772a497d Remove more uses of the old syntax for optional arguments.
@antonm: I still have to filter out all the Dart code in:

  client/html/generated/...

and the file:

  client/generated/src/interface/WebKitCSSMatrix.dart

I hope we can fix this soon.

R=ngeoffray@google.com
BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3537015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@96 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 07:37:15 +00:00
ngeoffray@google.com
a13f376270 Update status file to get bot greens.
Review URL: https://chromereviews.googleplex.com/3544014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@95 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 07:18:59 +00:00
sra@google.com
ea49561596 Mark parameters with [Optional=CallWithDefaultValue] as not optional.
This extended attribute was recently added to many WebKit IDL
operations to mark arguments that were accepted as missing.
Many are stupid legacy behaviour, like NodeList.item(index).
We don't want Dart to have such a broad API.

An example change is  2f24f20493

There will be some parameters marked as [Optional=CallWithDefaultValue] that
really should be optional.  We will discover those and have to whitelist them.

BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3531016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@89 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 04:30:51 +00:00
arv@google.com
f5de883b77 Dart DOM: Implement dataAttributes Map.
BUG=None
TEST=None

Review URL: https://chromereviews.googleplex.com/3536014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@83 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 23:32:35 +00:00
vsm@google.com
12b69ca3ba New named optional arguments syntax
BUG=5218494

Review URL: https://chromereviews.googleplex.com/3516022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@79 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 22:35:00 +00:00
arv@google.com
3501cc95ce Dart DOM: Rename query to queryAll and queryOne to query.
BUG=None
TEST=None

Review URL: https://chromereviews.googleplex.com/3517023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@77 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 22:19:09 +00:00
sigmund@google.com
ebd67ed258 htmlconverter: suggestions from dstockwell
Review URL: https://chromereviews.googleplex.com/3532012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@76 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 22:01:57 +00:00
arv@google.com
57051017bd Revert "Add Element data property"
This reverts commit r71.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@74 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 21:43:54 +00:00
arv@google.com
515c527ecd Dart DOM: Fix syntax error.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@73 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 21:43:42 +00:00
arv@google.com
1e650a0e64 Add Element data property
BUG=None
TEST=None

Review URL: https://chromereviews.googleplex.com/3512017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@71 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:40:39 +00:00
sigmund@google.com
b4be3ca2fe htmlconverter: support DOMContentLoaded and more:
- adds support for running code on DOMContentLoaded, but only for chromium
- fix errors in tests after rename to List
- fix test due to bug in dartium importing dart:json
- add flag to htmlconverter_test to keep temporary files (for debugging)
- adds a test that relies on DOMCOntentLoaded (this will fail in dartium)
- make htmlconverter.py use the dartc build in the top-level directory

Review URL: https://chromereviews.googleplex.com/3512025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@69 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:31:50 +00:00
sra@google.com
9236cc458b Remove unused dartrenderer.py and its tests.
Also fix databasebuilder test.

BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3514030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@68 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:21:12 +00:00
zundel@google.com
78d16cca6c Create a directory for python package, move 'testing' in there
Review URL: https://chromereviews.googleplex.com/3514028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 14:01:12 +00:00
iposva@google.com
f5dab1d2ff Remove the redundant codereview.settings.
Review URL: https://chromereviews.googleplex.com/3525013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 09:33:50 +00:00
iposva@google.com
5c037233e4 Update review settings.
Review URL: https://chromereviews.googleplex.com/3521017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 09:24:19 +00:00
dgrove@google.com
4bc64b8c2b Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 04:52:33 +00:00