24362 Commits

Author SHA1 Message Date
Peter Bacon Darwin
8229d7edc2 chore(gulpfile): duplicate tasks to generate "public" docs 2015-03-17 14:44:45 -07:00
Peter Bacon Darwin
f503c1e9e6 chore(doc-gen): add new "public" docs configuration 2015-03-17 14:44:45 -07:00
Peter Bacon Darwin
ede7690be3 chore(doc-gen): track modules in a dgeni service 2015-03-17 14:44:44 -07:00
vsavkin
a16954d3a5 refactor(view): separate context and locals 2015-03-17 14:25:57 -07:00
Yegor Jbanov
70c875ee14 refactor(shadow dom): do not use injectors nor directives
This prepares us for the app/render split in the compiler.
2015-03-16 16:58:38 -07:00
Alex Wolfe
23fab29a7c alert styles 2015-03-15 21:51:11 -07:00
Alex Wolfe
1ed64421ed styleguide 2015-03-15 21:46:03 -07:00
Alex Wolfe
ca37eb5732 spacing top bar 2015-03-15 21:42:53 -07:00
Alex Wolfe
4d8741b673 fixed dart formatting 2015-03-15 21:39:16 -07:00
Alex Wolfe
d914789abf code highlighting style guide 2015-03-15 21:34:38 -07:00
Misko Hevery
115ac5f290 docs: directive docs 2015-03-16 02:53:22 +00:00
Tobias Bosch
da4862a0c8 release 2.0.0-alpha.13 on npm/pub 2015-03-13 20:49:51 -07:00
Jacob MacDonald
a963ae48e5 feat(benchmarks): add polymer js 0.8-preview benchmark
Limitations because of preview status (see #960):

- does not yet use ShadowDOM
- does not use a builtin conditional like `if`
- uses a temporary bower repository

Closes #943
2015-03-13 20:48:03 -07:00
Tobias Bosch
21a293b017 refactor(bench press): rename metrics and adapt them to the features of the browser
* Rename metrics, add `Time` suffix to all so that they are
  more consistent
* iOS does not give us `gc` metrics, so they should not be reported
* Rename `scriptMicroAvg` into `microScriptTimeAvg`
* Rename previous `script` metric into `pureScriptTime` metric,
  and keep `scriptTime` metric as the overall time, so that we still
  have a shared metric across devices independent of the supported
  browser features
* `microScriptTimeAvg` is now based on overall `scriptTime`, including
  gc and render time.
* Move more shared DI tokens into `common_options` (previously
  `sample_options`).

Closes #930
2015-03-13 20:46:37 -07:00
vsavkin
75ecaf02b9 chore: upgrade guinness to remove a workaround in testlib 2015-03-13 18:19:10 -07:00
vsavkin
33bff17f33 refactor(tests): refactor tests to clarify the behavior of onChange 2015-03-13 18:09:31 -07:00
Misko Hevery
956b8c8792 docs: bootstrap method 2015-03-13 21:55:02 +00:00
vsavkin
3273adade5 refactor(view): change view to pass all bindings to proto change detector at once 2015-03-13 14:03:57 -07:00
Peter Bacon Darwin
1adb23d222 docs(TestInjector): reenable jsdoc comment for exported inject function
This was disabled due to a bug in dgeni. See #949
2015-03-13 20:53:25 +00:00
Peter Bacon Darwin
8407aa68fe chore(package.json): upgrade to dgeni-packages 0.10.11
Closes #949
2015-03-13 20:53:25 +00:00
gil
3974e382f9 chore(gulp): fix typo HTLM to HTML in a variable name
Closes #920
2015-03-13 21:52:14 +01:00
Pawel Kozlowski
b39d2c0101 fix: properly bind to camelCased properties
Fixes #866
Closes #941
2015-03-13 19:50:47 +01:00
David East
afda43dc02 feat(examples): Add TodoMVC sample application. 2015-03-13 19:28:59 +01:00
Marc Laval
e8965656a4 feat(directives/forms): run tests in NodeJS
Closes #921
2015-03-13 19:18:15 +01:00
Victor Berchet
7322ed721e refactor: remove reference to the FIELD class 2015-03-13 18:59:51 +01:00
Victor Berchet
fde7e9e898 doc(TestInjector): fix a build error with dgeni 2015-03-13 18:48:29 +01:00
Marc Laval
8d2ee6bbda feat(selector): add support for :not
Fixes #609
Closes #948
2015-03-13 18:26:10 +01:00
Tim Blasi
5c1c534894 test(dart/transform): Move BindGenerator tests to their own dir.
Move existing BindGenerator test to its own directory and to test that
phase specificially, rather than the whole pipeline.
Add another BindGenerator test.
2015-03-13 10:25:11 -07:00
Tim Blasi
4b12c19560 feat(dart/transform): Add a parser for .ng_deps.dart files and use.
Use the parser in `BindGenerator`
This checkin also removes types from `registerSetters` calls since they
can cause runtime failures (see #886). We will resolve this by
generating change detector classes in the future.
2015-03-13 10:24:15 -07:00
Tim Blasi
92b22d24d0 feat(dart/transform): Add a .ng_deps.dart file parser.
Create a common, reusable `.ng_deps.dart` file parser. All future transformer
phases build on the information in `.ng_deps.dart` files.
2015-03-13 10:24:15 -07:00
Tim Blasi
95c9eca64c style(dart/transform): Change quote character for consistency.
Use ' as a quote character in generated output instead of ".
2015-03-13 10:24:15 -07:00
Victor Berchet
30253592ff refactor(tests): refactor some tests to use the test injector 2015-03-13 18:20:02 +01:00
Victor Berchet
33b5ba863e feat(tests): add a test injector
fixes #614

Asynchronous test should inject an AsyncTestCompleter:

Before:

  it("async test", (done) => {
    // ...
    done();
  });

After:

  it("async test", inject([AsyncTestCompleter], (async) => {
    // ...
    async.done();
  }));

Note: inject() is currently a function and the first parameter is the
array of DI tokens to inject as the test function parameters. This
construct is linked to Traceur limitations. The planned syntax is:

  it("async test", @Inject (async: AsyncTestCompleter) => {
    // ...
    async.done();
  });
2015-03-13 18:20:02 +01:00
Pawel Kozlowski
5926d2e2f7 refactor: use attributes for directives matching
Closes #940
2015-03-13 17:24:14 +01:00
Pawel Kozlowski
d35fdfcd40 refactor: return copy of DOM attributes in Dart
This alligns with JS-version behaviour
2015-03-13 17:24:13 +01:00
Rado Kirov
ce29862e2f fix(dart_libs): add _dart suffix only for reserved lib names.
Closes #871
2015-03-12 15:14:39 -07:00
Misko Hevery
74795eec29 chore: travis-slack integration 2015-03-12 15:08:40 -07:00
Rado Kirov
f7963e1ea6 fix(shadowdom): allow conditional content tags.
Distribution is triggered on the host element injector after each new
view creation.
2015-03-12 12:06:47 -07:00
Victor Berchet
a82e20889d feat(Injector): Support binding to null 2015-03-12 19:52:08 +01:00
Victor Berchet
951a808e0e refactor(PropertySetter): use the global reflector 2015-03-12 19:49:34 +01:00
Alex Wolfe
e334c4469e typo 2015-03-12 10:50:48 -07:00
Marc Laval
c67194a3ef fix(test_lib): remove getDistributedNodes emulation in NodeJS 2015-03-12 11:16:47 +01:00
Alex Wolfe
5e0ccd67eb resources 2015-03-11 20:38:58 -07:00
Alex Wolfe
59806948c3 Design Docs & Notes 2015-03-11 20:37:08 -07:00
Alex Wolfe
4fcb755f24 Fixed live search display issue 2015-03-11 20:21:59 -07:00
Rado Kirov
dd3e6271c2 chore(services): rename services.
Closes #711
2015-03-11 18:30:37 -07:00
Alex Wolfe
490d374d9b font weight improvement for standard displays 2015-03-11 18:04:01 -07:00
Alex Wolfe
5c89fca5b9 Merge pull request #8 from angular/site-updates
Site updates
2015-03-11 18:00:26 -07:00
Alex Wolfe
f1b6226140 ng-conf link 2015-03-11 17:57:13 -07:00
Alex Wolfe
7e5ad57ce5 previous changes from other branch 2015-03-11 17:56:08 -07:00