Skip to content
Commits on May 19, 2014
  1. @dcporter
  2. @dcporter

    Improves nested store handling of certain circumstances.

    dcporter committed
    SC.NestedStore#lockOnRead, which defaults to YES, is much too aggressive, locking even on attempts to read non-loaded records. This causes problems if, for example, a nested-store record's not-yet-loaded toOne relationship is read (e.g. by being bound to a view), locking it and triggering a load in the parent store. When the load returns, the locked record triggers a full nested-store reset (failing meanwhile to notify the nested-store record instance that it has loaded), or errors out if anything, anywhere in the nested store has changed.
    
    This commit avoids locking nested-store records when read in EMPTY or BUSY_LOADING states. It also modifies the behavior of SC.Store#_notifyRecordPropertyChange, which is where chained store errors are thrown, to switch solely based on the chained record's editable state, and to avoid costly and blunt full-store resets in any case. This allows the parent store to correctly update nested stores when untouched and unlocked records are updated.
Commits on May 17, 2014
  1. @publickeating

    • Tidies SC.Drag.

    publickeating committed
    • Fixes an issue where SC.Drag would call `dragStarted` on all drop targets regardless of whether they were visible or not, such that a drop target that implemented `dragStarted` may throw an exception because it expects to only be called when visible.
  2. @publickeating

    Fixes typo.

    publickeating committed
Commits on May 16, 2014
  1. @dcporter
  2. @dcporter

    Adds steps and stepPositions properties to SC.SliderView to make it e…

    dcporter committed
    …asier to position things at each step. Refactors renderer to use stepPositions and improve performance.
  3. @dcporter
Commits on May 15, 2014
  1. @publickeating

    Fixes issue in SC.SliderView delegate. If 'markSteps' is not true and…

    publickeating committed
    … did not change, it would render the steps on the first update.
  2. @dcporter
  3. @dcporter

    Adds index class-name to slider step marks, allowing the developer to…

    dcporter committed
    … easily target the nth choink.
  4. @mauritslamers @dcporter
  5. @nicolasbadia @dcporter

    Adds a new isValueEqualTo method to SC.SelectView

    nicolasbadia committed with dcporter
    This method is used by the select view and the menu to check if the
    current value and a passed item are equal.
    This commit also fixe an issue with array of string items.
  6. @dcporter

    Adds scale properties to borderFrame. Updates PickerPane's pointer po…

    dcporter committed
    …sitioning to correct for visual glitches caused with scaling transforms. Fixes the important half of #1213.
Commits on May 14, 2014
  1. @dcporter

    Adds updateOnScroll property to SliderView to allow the developer to …

    dcporter committed
    …turn off scroll event hijacking.
Commits on May 12, 2014
  1. @publickeating

    Merge pull request #1217 from sproutcore/team/publickeating/link_view

    publickeating committed
    Adds a new SC.LinkView for creating simple programmable HTML anchors.
Commits on May 8, 2014
  1. @dcporter

    Updates changelog.

    dcporter committed
  2. @dcporter

    Disables ScrollView alignment properties in the case of flexible layo…

    dcporter committed
    …uts, with which they presently conflict.
  3. @jameschao @dcporter

    Added new test for when content view's layout is fixed to the parent …

    jameschao committed with dcporter
    …view. Refactored the tests to use SC.ControlTestPane/
  4. @jameschao @dcporter
  5. @jameschao @dcporter
  6. @jameschao @dcporter
  7. @jameschao @dcporter
  8. @dcporter
  9. @dcporter
  10. @dcporter

    Splits isFixedSize up into isFixedWidth and isFixedHeight for further…

    dcporter committed
    … child view notification optimization. Includes tests.
  11. @dcporter
  12. @dcporter

    Fixes bug where slider view values of 0 would render at the left-hand…

    dcporter committed
    … edge regardless of the minimum. Includes unit test. Fixes #1129.
Commits on May 7, 2014
  1. @publickeating

    Fixes typo.

    publickeating committed
  2. @publickeating
  3. @publickeating

    Adds the SC.ChildViewLayoutProtocol referenced in the code that didn'…

    publickeating committed
    …t exist.
    
    Adds a new optional method `layoutDependsOnSize` to SC.ChildViewLayoutProtocol that determines whether the child view layout plugin needs to re-run when the view's frame changes. This is required for flexible views that lay out their child views dynamically based on their size. Because the view's layout doesn't change even when its frame does, it otherwise would not re-layout the child views.
  4. @publickeating
  5. @publickeating

    Extensions to @mirions stacked layout changes:

    publickeating committed
    - Tidies up a la jshint.
    - Ensures that 100% of the available space is used up even with rounded layout values.
    - Fixes a bug where a right/bottom position could be a decimal (ex. 0.25) which becomes 25% not 0.
    - Adds support for maxWidth/maxHeight to constrain how much available space is used for the child view (allows following child views to use more).
  6. @mirion @publickeating
  7. @mirion @publickeating

    HORIZONTAL_STACK and VERTICAL_STACK: when not configured with resizeT…

    mirion committed with publickeating
    …oFit, let any child not specifying a fixed dimension to fill the available space. To calculate the final dimension/layout, a new property "fillAvailableSpaceRatio" is used
  8. @dcporter

    Updates CHANGELOG.

    dcporter committed
Something went wrong with that request. Please try again.