Skip to content
Permalink
Branch: master
Commits on Mar 27, 2019
  1. Revert "feat(ivy): add property instruction (#29513)"

    mhevery committed Mar 27, 2019
    This reverts commit e4c1c88.
Commits on Mar 26, 2019
  1. release: cut the v8.0.0-beta.10 release

    mhevery committed Mar 26, 2019
  2. docs: release notes for the v7.2.11 release

    mhevery committed Mar 26, 2019
Commits on Mar 1, 2019
  1. docs(ivy): add link to recursive benchmark (#29060)

    mhevery authored and AndrewKushnir committed Mar 1, 2019
    PR Close #29060
Commits on Feb 26, 2019
  1. refactor(ivy): simplify differentiation of LView, `RNode`, `LView`, `…

    mhevery committed Feb 23, 2019
    …LContainer`, `StylingContext` (#28947)
    
    For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`,
    `StylingContext`) in same location in `LView`. This is because we don't want to pre-allocate
    space
    for it because the storage is sparse. This file contains utilities for dealing with such data
    types.
    How do we know what is stored at a given location in `LView`.
    - `Array.isArray(value) === false` => `RNode` (The normal storage value)
    - `Array.isArray(value) === true` => than the `value[0]` represents the wrapped value.
      - `typeof value[TYPE] === 'object'` => `LView`
         - This happens when we have a component at a given location
      - `typeof value[TYPE] === 'number'` => `StylingContext`
         - This happens when we have style/class binding at a given location.
      - `typeof value[TYPE] === true` => `LContainer`
         - This happens when we have `LContainer` binding at a given location.
    NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient.
    
    PR Close #28947
  2. refactor(ivy): moved wrapped reference to 0 position in array (#28947)

    mhevery committed Feb 23, 2019
    `LView`, `LContainer`, `StylingContext` are all arrays which wrap either
    an `HTMLElement`, `LView`, `LContainer`, `StylingContext`. It is often
    necessary to retrieve the correct type of element from the location
    which means that we often have to wrap the arrays. Logically it makes
    more sense if the thing  which we are wrapping is at `0` location. Also
    it may be more performant since data is more local which may result in
    more L2 cache hits in CPU.
    PR Close #28947
Commits on Feb 25, 2019
  1. feat(ivy): add debug view of internal deta structures (#28945)

    mhevery authored and benlesh committed Feb 23, 2019
    This change contains conditionally attached classes which provide human readable (debug) level
    information for `LView`, `LContainer` and other internal data structures. These data structures
    are stored internally as array which makes it very difficult during debugging to reason about the
    current state of the system.
    
    Patching the array with extra property does change the array's hidden class' but it does not
    change the cost of access, therefore this patching should not have significant if any impact in
    `ngDevMode` mode. (see: https://jsperf.com/array-vs-monkey-patch-array)
    
    So instead of seeing:
    
    ```
    Array(30) [Object, 659, null, …]
    ```
    
    ```
    LViewDebug {
      views: [...],
      flags: {attached: true, ...}
      nodes: [
        {html: '<div id="123">', ..., nodes: [
          {html: '<span>', ..., nodes: null}
        ]}
      ]
    }
    ```
    
    PR Close #28945
Commits on Feb 15, 2019
  1. release: cut the v8.0.0-beta.4 release

    mhevery committed Feb 15, 2019
  2. docs: release notes for the v7.2.5 release

    mhevery committed Feb 15, 2019
Commits on Feb 8, 2019
  1. build: fix master by dissabling broken test (#28608)

    mhevery committed Feb 8, 2019
    PR Close #28608
Commits on Feb 7, 2019
  1. docs: update link for CircleCI badge to point workflow

    mhevery committed Feb 7, 2019
Commits on Feb 6, 2019
  1. refactor(ivy): pass host into createLView explicitly (#28461)

    mhevery authored and matsko committed Jan 30, 2019
    `LView` `HOST` was set in most cases right after creating `LView`.
    This makes the API cleaner by explicitly passing it ont `createLView`.
    
    PR Close #28461
Commits on Jan 25, 2019
  1. refactor(ivy): clean up TNode not depending on LView (#28354)

    mhevery authored and jasonaden committed Jan 24, 2019
    PR Close #28354
  2. build: update vscode settings to support clang-format (#28348)

    mhevery authored and jasonaden committed Jan 24, 2019
    PR Close #28348
Commits on Jan 14, 2019
  1. refactor(ivy): refactor more files in DI to prepare it for bazel pack…

    mhevery authored and AndrewKushnir committed Jan 12, 2019
    …ages (#28098)
    
    PR Close #28098
  2. test: improve symbol-extractor test by ignoring $1 suffix (#28098)

    mhevery authored and AndrewKushnir committed Jan 12, 2019
    PR Close #28098
Commits on Jan 12, 2019
  1. fixup! fix(ivy): add missing @nocollapse annotation to __NG_ELEMENT_I…

    mhevery authored and AndrewKushnir committed Jan 12, 2019
    …D__ fields (#28050) (#28066)
    
    PR Close #28066
  2. refactor(ivy): create Injector interface; remove dependency on Ivy (#…

    mhevery authored and AndrewKushnir committed Jan 11, 2019
    …28066)
    
    This change is a prerequasity for a later change which will turn the
    'di' into its own bazel package. In order to do that we have to:
    - have `Injector` type be importable by Ivy. This means that we need
      to create `Injector` as a pure type in `interface` folder which is
      already a bazel package which Ivy can depend on.
    - Remove the dependency of `class Injector` on Ivy so that it can be
      compiled in isolation. We do that by using `-1` as special value for
      `__NG_ELEMENT_ID__` which tells the Ivy `NodeInjector` than
      `Injector` is being requested.
    
    PR Close #28066
Commits on Jan 11, 2019
  1. build: extract interface and util sub compilation from core (#28028)

    mhevery authored and AndrewKushnir committed Jan 9, 2019
    PR Close #28028
Commits on Jan 8, 2019
  1. fix(ivy): use NgZone.onStable when bootstraped using PlatformRef (#27898

    mhevery authored and kara committed Jan 2, 2019
    )
    
    PR Close #27898
Commits on Jan 5, 2019
  1. fix(ivy): disable test which rely on DebugElement in WebWorker (#27895)

    mhevery authored and kara committed Jan 2, 2019
    PR Close #27895
Commits on Jan 3, 2019
  1. fix(ivy): don’t publish animation bindings as attributes (#27805)

    mhevery authored and benlesh committed Dec 21, 2018
    Some of the animation tests have been failing because animation gets
    triggered multiple times. The reason for this is that the compiler was
    generating static attribute bindings in addition to dynamic bindings.
    This created multiple writes to the animation render which failed the
    tests.
    
    PR Close #27805
Commits on Dec 19, 2018
  1. release: cut the v7.2.0-rc.0 release

    mhevery committed Dec 19, 2018
Commits on Dec 18, 2018
  1. docs: release notes for the v7.1.4 release

    mhevery committed Dec 18, 2018
  2. fix(ivy): add missing AttributeMarker export (#27485)

    mhevery committed Dec 5, 2018
    PR Close #27485
  3. fix(ivy): fix property names of ngOnChanges (#27714)

    mhevery committed Dec 17, 2018
    - #reslove FW-812
    - #reslove FW-844
    
    PR Close #27714
  4. refactor(core): rename spec file to match case of src file

    mhevery committed Dec 18, 2018
Commits on Dec 17, 2018
  1. fix(ivy): check semantics of NgModule for consistency (#27604)

    mhevery committed Dec 11, 2018
    `NgModule` requires that `Component`s/`Directive`s/`Pipe`s are listed in
    declarations, and that each `Component`s/`Directive`s/`Pipe` is declared
    in exactly one `NgModule`. This change adds runtime checks to ensure
    that these sementics are true at runtime.
    
    There will need to be seperate set of checks for the AoT path of the
    codebase to verify that same set of semantics hold. Due to current
    design there does not seem to be an easy way to share the two checks
    because JIT deal with references where as AoT deals with AST nodes.
    
    PR Close #27604
Commits on Dec 14, 2018
  1. Revert "fix(router): ensure URL is updated after second redirect with…

    mhevery committed Dec 14, 2018
    … UrlUpdateStrategy="eager" (#27523)"
    
    This reverts commit ad26cd6.
Commits on Dec 5, 2018
  1. test(ivy): add ability to find already passing tests (#27449)

    mhevery authored and IgorMinar committed Dec 4, 2018
    PR Close #27449
  2. fix(core): More precise return type for `InjectableDecorator` (#27360)

    mhevery authored and IgorMinar committed Nov 29, 2018
    closes #26942
    
    PR Close #27360
  3. test(ivy): remove symbol tests which are too big and not useful (#27446)

    mhevery authored and IgorMinar committed Dec 4, 2018
    PR Close #27446
  4. refactor(ivy): remove old unused test case (#27442)

    mhevery authored and IgorMinar committed Dec 3, 2018
    PR Close #27442
  5. fix(ivy): Implement remaining methods for DebugNode (#27387)

    mhevery authored and IgorMinar committed Nov 28, 2018
    PR Close #27387
Commits on Dec 3, 2018
  1. fix(ivy): Ensure ComponentFactory uses both injectors to retrieve ren…

    mhevery authored and alxhub committed Nov 29, 2018
    …dererFactory (#27341)
    
    PR Close #27341
Older
You can’t perform that action at this time.