Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: 1-8-stable
Fetching contributors…

Cannot retrieve contributors at this time

1069 lines (1008 sloc) 66.262 kB




  • Adds useUnixTime attribute to SC.DateTime record attribute handlers.
  • Introduces fixes and enhancements to the media framework (thanks @krotscheck!):
    • enables live scrubbing
    • decouples MediaSlider and Audio/Video view
    • fixes layout rendering by creating a render delegate
    • adds SC.mediaCapabilities for media capability detection
    • updates styling to use Chance



1.8.2 - BUG FIXES

  • Fixed syntax error in Datastore unit test. [c62a0a9]
  • SC.SplitView can now mixin SC.SplitChild. [6f1586c]
  • Thinned picker pane border divs so that they don't overlap the content view. [0b06db2]
  • Prevents target property conflict when configuring button targets with SC.AlertPane. [0364b5c]
  • Changed the aria-orientation of horizontal SC.ScrollView to 'horizontal' from 'vertical'. [c3ee69b]
  • Allows SC.CollectionFastPath to work with sparse content by always returning an item view even when content isn't yet available. [020653b]
  • Prevents SC.GridView from iterating over its content array in order to work with sparse content. [020653b]
  • The 'mobile-safari' body class name is no longer being added in all browsers. [b491224]
  • Enables pasting in SC.TextFieldView to notify that the value changed. [a51318b]
  • Prevents default touch behavior being intercepted on and <select> elements. [8093963]</li> </ul> <h2>1.8.1 - BUG FIXES</h2> <ul> <li>Documentation fixes.</li> <li>Fixes the timeout proxy settings: :inactivity_timeout & :connect_timeout. Setting them in a proxy config allows the developer to extend the timeout for the connection to be setup and for activity to occur.</li> <li>Adds missing CSS for SC.PickerPane left and right pointer.</li> <li>Tidies up index.rhtml template: <ul> <li>removes self-closing HTML</li> <li>renames app.manifest to manifest.appcache</li> </ul></li> <li>Fixes the styling of ModalPane backdrop for SC.PanelPane. [b1d386a]</li> <li>Fixes regression with Firefox specific SC.TextFieldView CSS. [0bc44f1]</li> <li>Improves use and compatibility of SC.TextFieldView: <ul> <li>applies 'autocapitalize' and 'autocorrect' attributes to all browsers</li> <li>automatically centers hint text</li> <li>fixes problem centering input elements in IE8</li> <li>fixes problem positioning hint in textareas</li> <li>improves readability of hints by making them antialiased in Webkit</li> </ul></li> <li>Fixes issue when subsequent attempts to load a failed/aborted image will result in queue processing being stalled. [62ad31f]</li> <li>Fixes nesting SC.ScrollViews not passing mousewheel events from child to parent scroll view when child can no longer scroll. [341e88d]</li> <li>Fixes styling problem with SC.ListItemView right-icon. [6de3c55]</li> <li>Fixes SC.StaticContentView not removing previous content when setting content to null. [81307a8]</li> <li>Fixes Safari focus ring artifacts in panes and Chrome bug with non-HW accelerated animations in render layers, by removing the default .sc-pane --webkit-transform: translate3d(0,0,0) CSS. This also makes it possible to accurately manage which parts of the page should become layers, because making everything a layer is not optimal. [f9d56f3]</li> </ul> <h2>1.8.0</h2> <h3>CHANGES & FEATURES</h3> <ul> <li>Added --statechart switch to sc-gen app to get a base statechart setup.</li> <li><p>Addition of <code>invokeNext</code> to SC.RunLoop (easily accessed from SC.Object). This function invokes the passed target/method pair once at the beginning of the next runloop, before any other methods (including events) are processed. Use this to defer painting to make views more responsive.</p> <p>If you call this with the same target/method pair multiple times it will only invoke the pair only once at the beginning of the next runloop.</p></li> <li>Addition of <code>invokeOnceLater</code> to SC.Object. A convenience method which makes it easy to coalesce invocations to ensure that the method is only called once. This is useful if you need to schedule a call but only want it to trigger once after some defined interval has passed.</li> <li>Desktop framework thoroughly updated to include WAI-ARIA attributes for improved compatibility with assistive technologies.</li> <li>Addition of routing integration with SC.Statechart. States can be made to represent a route (by default SC.routes routes) and if assigned then the state will be notified to handle the route when triggered any time the app's location changes to match the state's assigned route.</li> <li>Added <code>mult</code> extension to String that multiplies a string a given number of times. [5a2aee1]</li> <li>Addition of SC.StatechartDelegate mixin. Apply this to objects that are to represent a delegate for a SC.Statechart object. When assigned to a statechart, the statechart and its associated states will use the delegate in order to make various decisions.</li> <li>TextFieldView has a new property'hintOnFocus' which uses a div to act in place of the regular 'placeholder' so that it remains visible when the text field has focus.</li> <li>SC.TextFieldView long placeholders will show ellipsis if too long. [ab66960]</li> <li>Rewrite of SC.browser. Matches more browsers correctly and replaces the potpourri of various properties with seven standard properties: device, name, version, os, osVersion, engine and engineVersion with matching constants: SC.BROWSER, SC.DEVICE, SC.OS, SC.ENGINE.</li> <li>Added a function SC.RunLoop.wrapFunction, which, when called on a function, returns a version wrapped in code that ensures a run loop. [de83d88]</li> <li>Created a new object SC.bodyOverflowArbitrator, which, given requests for body overflow:hidden; or overflow:visible; will decide which overflow to assign. Objects issue, then change or withdraw their requests. Previously, views may have set the body overflow directly, which would lead to unpredictable behavior when more than one object had an interest in the setting at one time. [c55e32b]</li> <li>APP_IMAGE_ASSETS is a new global array that contains the list of all sprited images, this is ideal to preload images at different points. Even before the app or SC finishes loading. [31c2239]</li> <li>Added support for text selection in SC.TextFieldSupport. [1dcc289]</li> <li>Don't throw an exception if there are SC.Record.EMPTY records in the store and calling commitRecords on the store.</li> <li>Changed getDelegateProperty of SC.DelegateSupport to not accept null as a valid value.</li> <li>Updated Handlebars to version 1.0.0.beta.4. [e80d40d]</li> <li>Added helper method <code>patchUrl</code> to SC.Request. [5e955ce]</li> <li>Throw an error in development mode when passing an incorrect parameter to SC.IndexSet.create.</li> <li>Added default itemTagNames for 'dl' and 'select' collection tagNames in TemplateCollectionView. [73c3f84]</li> <li>Don't allow disabled radio buttons to be checked in SC.RadioView. [99e47b1]</li> <li>Moved all TemplateView code into its own framework. It is still included by default when requiring :sproutcore in your Buildfile, but can easily be excluded by requiring specific frameworks instead.</li> <li>Speed improvement in IE by avoiding excessive focusin/focusout events. [1c817a9]</li> <li>Speed improvements in renderContext, switching from joining arrays of strings to simple string concatenation.</li> <li>SC.TabView places tabs first in the view hierarchy for accessibility. [9e1b4e4]</li> <li>In SC.SelectView, if value object and list objects are both records, compare the store keys to see if they are really the same thing.</li> <li>Added @lang support for multi-lingual text-to-speech voices. [4f9ec80]</li> <li>Faster code escaping using regular expressions instead of DOM.</li> <li>New flag to stop picker repositioning when the window is resized.</li> <li>SegmentedView update to enable/disable overflow.</li> <li>Small performance improvement for splitView.</li> <li>New string measurement functions to optimize for string wrapping.</li> <li>Added support for autoCorrect and autoCapitalize in TextFields.</li> <li>Added back object types previously removed by the refactored SC.Object</li> <li>Refactored observer paths code for a more robust handling.</li> <li>Rewrite SC.LOG_RUNLOOP_INVOCATIONS — now renamed to SC.LOG_DEFERRED_CALLS — to work with the new runloop implementation.</li> <li>Added this SC.RunLoop.kill to terminate cleanly a run loop in case of an error.</li> <li>Added the ability to dynamically add substates to a statechart via a state's addSubstate method.</li> <li>Updated the statechart tracing logic.</li> <li>Updated SC.State. getSubstate now accepts a callback; added getState method; gotoState and gotoHistoryState now use getState</li> <li>Updated state's gotoState and gotoHistoryState to allow for a more expressive state arg that now allows for the use of 'parentState'</li> <li>Updated SC.State's getSubstate method to allow for path expressions. Also refacted the findFirstRelativeCurrentState method.</li> <li>New SC globals to provide information like build mode, build number and locale.</li> </ul> <h3>DEPRECATIONS & REMOVALS</h3> <ul> <li>SC.Animatable has been deprecated. Please use the animate method in SC.View.</li> <li>SC.TableView has been deprecated. Please use one of the alternative community versions.</li> <li>Several properties of SC.browser have been deprecated. Please use the standardized properties and matching constants.</li> <li>Removed <code>minWidth</code> property in SC.ButtonView. [9ae0a43]</li> <li>Removed unused frameworks: mini and documentation.</li> <li>Removed unnecessary Internet Explorer legacy code.</li> <li>Removed unnecessary font-weight SC.LabelView CSS attribute.</li> <li>Removed zIndex inside SC.TextFieldViews.</li> <li>Removed preload images task for “Chance” slicing system.</li> <li>Removed unnecesary strong reset in YUI reset.</li> <li>Removed unnecessary line-heights for SC.LabelView that caused problems with theme stylings and the global 1.2em line-height.</li> <li>Removed acceleration layer on sliders as it was creating GPU glitches on views appended after the slider.</li> <li>Removed legacy handler of buttons to improve speed.</li> <li>Removed deltaAdjust in scrollView and left only the calculations done in SC.Event.</li> <li>Removed the --template switch from sc-init, because it didn't create a project structure that was compatible with SC 1.8+.</li> </ul> <h3>BUG FIXES</h3> <ul> <li>Fixed an issue causing ScrollerView to not render correctly on first time. [2e26048]</li> <li>Fixed an issue with SC.RecordArray's made up of new records without guids, where the order of the array would change in Chrome. [3937a54]</li> <li>Fixed SC.SplitView is not properly resetting the cursor after a drag. [5db962d]</li> <li>SC.CollectionView's height updates when its length changes. [cb03ec4]</li> <li>Fixed the --dry-run switch for sc-init.</li> <li>Several new unit tests, fixes for failing unit tests and clean up of outdated tests.</li> <li>The documentation was extensively searched for typographical and grammatical errors and was fixed.</li> <li>Several fixes to Ace styles and images to remove inconsistencies.</li> <li>If the defaultValue of a child attribute returned an array of childRecords, the resulting constructed instance would be an Array, not a ChildArray.</li> <li>Fixed the determination of <code>hasAcceleratedLayer</code> for accelerated Views.</li> <li>Fix 'x' & 'y' values returned by SC.pointInElement. Note: This method is the most correct way to test the inclusion of a point within a DOM element.</li> <li>Fix <code>rangeStartForIndex</code> in SC.IndexSet when encountering holes where hints should have pointed. [506752b]</li> <li>Fix in Handlebars template integration, so that the triple-stash {{{ doesn't escape values and only {{ does. [7d3703d]</li> <li>Fixed adding <code>.sc-complete</code> class to SC.ProgressView when the maximum is reached. [98b4ce5]</li> <li>Fixed inline text field view attempting to be blurred after it is destroyed. [fe18943]</li> <li>ListItemViews edited inline can work with a validator.</li> <li>Fixed bug in TemplateCollectionView where specifying a tagName in the itemView or itemViewOptions wouldn't properly override default itemTagNames. [73c3f84]</li> <li>Fixes to improve scrolling acceleration and speed in different browsers, including OS X Lion.</li> <li>Fixed the ENDS_WITH conditional in SC.query to return correct results. [63e5492]</li> <li>Fixes to SC.FlowedLayout: remove name collision with maxSpacerLength, removed extra adjust calls, and fixed to work better with border properties in layouts. [15472f8]</li> <li>Fix in SC.RootResponder for double keydown event with wrong charcode when modifier key is held down. [eb7b59e]</li> <li>Fixed case where Views with useStaticLayout == true would return improper measurements for <code>frame</code>. [91eca04]</li> <li>If you clicked on a checkbox but let go of the mouse when not over it, it behaved like you clicked it. [a4ebdcc]</li> <li>Fixed some datastore issues when using key values that were different than the association property names. [80efcdb]</li> <li>Fixed the body overflow decision in SC.Panes by using > and < instead of >= and <=. This keeps overflow properly hidden when size equals min size. [7dfe46d]</li> <li>Fixed the positioning/initial selection of the popup menus in SC.SelectView, which was about 1px off. [51f31ff]</li> <li>Fixed crash in InlineEditor mixin when beginEditing and commitEditing were called in the same runloop. [3c124cc]</li> <li>TextFieldView now correctly hides the text when the field type is password. [7df3c4b]</li> <li>Fixed tooltip for image buttons. [dcbf4ec]</li> <li>Tabbing was not respecting modal panes. Fixed so that textfields get a tabindex=-1 when they are not in the modal pane. [4313d5f]</li> <li>When apps didn't have a first responder at loading time the app would throw an error.</li> <li>Passing the native event when a focus or blur event is called. This makes it consistent with all the other event handlers.</li> <li>Workarounds for mobileSafari touch handling in textfields and links.</li> <li>IE was getting two blur/focus events.</li> <li>Small bug fix for timers when there is no currentRunLoop.</li> <li>Reverted change to receive focus if it the view becomes key responder.</li> <li>Disabling layout style calculations for opacity in IE, as this will always break transparent pngs.</li> <li>Changed code to get a reliable anchor for pickers and menus.</li> <li>Reposition pickers based on the size of the app and not the window viewport.</li> <li>Added tooltips back to button.</li> <li>Fix for popup_buttons as they were not rendering as expected.</li> <li>Bug fix to update list scrollers when adding new items to the list.</li> <li>Changed timeout value for a faster experience in menu scrolling.</li> <li>Updated values in select button to fix rendering regressions.</li> <li>Refactored childViews creation in formView.</li> <li>Updated new selectView to correctly support width resizing.</li> <li>Better string measurements for autoResize mixin. Also included the support to auto fit text (reduce font size if necessary).</li> <li>FlowedLayout fixes when the view changes visibility and code clean up.</li> <li>Added back hints to labels.</li> <li>Several modular loading bug fixes, including support for css.</li> <li>Bug fix for string measurement. It was double escaping.</li> <li>Observers failing in IE as strings don't work as arrays.</li> <li>Don't schedule multiple run loops when we only need one in SC.Binding.</li> <li>Add in support for specifying an optional prefix that will be applied to all messages.</li> <li>Updated SC.State's getSubstate method to allow for path expressions.</li> <li>Updated css to match Abbot css fixes for $skip parameter in chance.</li> <li>Added css style namespace to sc-focus, this was generating problems when focusing the elements the first time in the app.</li> </ul> <h2>1.6.0</h2> <ul> <li>Minor bug fix for SC.Checkbox with no title</li> <li>Fixed test typo</li> <li>Make sure YUI reset styles are in the yuireset framework</li> <li>Add displayTitle for SC.Checkbox which allows the title to be localized.</li> <li>Fix datetime values being null when localization is being used. Causes problems when you try to format dates at execution time</li> <li> I'm not sure the intention of having the right padding gone for text-areas, but this override of the default looks really bad in Safari & Chrome & Firefox.</li> <li>'i' before 'e' except after 'c', plus Sublime Text 2 automatically removes extra whitespace, so lots of whitespace cleanups</li> <li>Fixes failing Text Field unit tests in IE. Listens for focusin/focusout instead of focus/blur.</li> <li>Clearer test message</li> <li>Test for clippingFrame fixes</li> <li>clippingFrame should always return a frame relative to the view itself, not its parent</li> <li>Remove unused init override from SC.Request</li> <li>Controller update to help clean up old record arrays and objects.</li> <li>Added sc_require for sizing render delegate</li> <li>Replaced a failing test with a pending one until fixed</li> <li>Fixed SC.DateFieldView tests</li> <li>Fixed tab responder tests</li> <li>Test fixes for childView insertion</li> <li>Testing CSS fixes</li> <li>Revert "Remove namescape definition from SC.browser"</li> <li>Added documentation for tagName in SC.TemplateCollectionView</li> <li>Added missing semicolon</li> <li>Fix CollectionView touchStart function not properly setting touchSelectedView</li> <li>Statechart documentation improvements</li> <li>Polymorphism requires datastore and added myself as Contributor</li> <li>If a superclass was used to load a record first (ex. toOne: {MyApp.Person}), then if a subclass later appeared with the same ID (ex. store.find(MyApp.Male, id), it would error out because the subclass would generate a new store key and as it passed the storeKey up to its superclass, the superclass would already have a different storeKey and throw an exception. Plus store.recordTypesByStoreKey would forever be stuck on the superclass Record Type.</li> <li>Added a DataSource reset function for fixtures - Fixes #408</li> <li>Minor docs fix</li> <li>Fix tests on nested records</li> <li>Throw arror on attribute types that can't be resolved into an object</li> <li>Fixed typo in docs (thx iammerrick)</li> <li>Fixed didAppendToLayer callbacks from appendChild - Fixes #168</li> <li>More rigorous test on didAppendToDocument</li> <li>Make sure to awake SC.TemplatePane - Fixes #387</li> <li>Deprecated SC.SelectButtonView - Fixes #393</li> <li>Better target/action handling for AlertPanes - Fixes #394</li> <li>Throw error when dataSource object can't be found in data store.</li> <li>Minor documentation improvement</li> <li>SC.RangeObserver method handles string (thx kswenson) - Fixes #482</li> <li>Fix SC.TextField to only update DOM if actually changed - Fixes #436</li> <li>Always re-render SelectField when firstTime is true - Fixes #448</li> <li>refactored record relationship support into it's own mixin, SC.RelationshipSupport</li> <li>modified relationships API to use enhance</li> <li>added the ability for 'createIfEmpty' to follow a relationship chain. objects related via 'isMaster' RecordAttribute relationships will be lazily created with pushRetrieve</li> <li>Added tests for pushDestroy not destroying a destroyed record & beginning of authoritative server push.</li> <li>Cleaned up code, added comments, minimized common code across pushRetrieve and pushDestroy.</li> <li>added support for propagating SingleAttribute and ManyAttribute relationships between store records on asynchronous updates</li> <li>Fixed SC.Record JSON encoding - Closes #473</li> <li>Fix parse error in SC.Math</li> <li>Doc improvements</li> <li>Improved docs on SC.DragDataSource</li> <li>Correct SC.DropTarget documentation</li> <li>Switch @mixin to @namespace for JSDoc to recognize</li> <li>Added support for 'readOnly' attributes in the input and textarea fields. As discussed in issue 453, if isEnabled is set to YES and isEditable is set to NO a 'readOnly' attribute will be added to the input and textarea fields. This allows input fields to remain uneditable, but allows the user to select the text.</li> <li>Documentation Improvements</li> <li>Fix a bug in string measurement.js where the measurement width would be capped to the body width even without a max-width set</li> <li>Remove namescape definition from SC.browser</li> <li>fix TABBING_ONLY_INSIDE_DOCUMENT to work when tabbing backwards</li> <li>fix for nextValidKeyView unit test failing with wrong return value when TABBING_ONLY_INSIDE_DOCUMENT is disabled</li> <li>Form render delegate should use 'className' instead of 'name'</li> <li>Fix formatting of warning for renderdelegate name property.</li> <li>rename renderDelegate's 'name' property to 'className' to be more clear about what it does.</li> <li>Separate logic for menuItemViews property so it can be overriden.</li> <li>Make destroying panel panes destroy their modal pane as well, and test this.</li> <li>Fix for focus issues with textfield and the app in general</li> <li>Removing css rule to 3d accelerate panes, this rule is to aggresive and might be consuming too much memory</li> <li>Allow exception handler to handle it so it is not thrown again</li> <li>Adding isResponse flag to SC.Response</li> <li>fixed isEnabled for new select and popup view</li> <li>prevented invalid value from being changed to null by selectedItemDidChange</li> <li>removed duplicate code and fixed prepare/teardown in situations where no elements could be measured</li> <li>U-UA header needs to be on top before any other headers to actually be respected</li> <li>Fix bug where null button would break pane</li> <li>don't set border-right on collection</li> <li>fixed docs for split_child.js</li> <li>Forgot to revert part of the action button regression</li> <li>Additional FormRowView tests.</li> <li>Do not implicitly set contentValueKey from FormView.</li> <li>Clean up FormRow, and start testing it.</li> <li>Clean up FormView some more, and test it.</li> <li>Fix FormView createChildViews logic.</li> <li>Fix FormRowView whitespace.</li> <li>Clean up forms a bit more. Styles should be in Ace.</li> <li>Clean up and fix typo in FormRowView.</li> <li>Clean up and test SC.CalculatesEmptiness.</li> <li>Add tests for FormsEditMode.</li> <li>Clean up FormsEditMode a little.</li> <li>Checking for hasContentValueSupport in conditions</li> <li>Make FlowedLayout handle empty defaultFlowSpacing gracefully (and test this)</li> <li>Clean up FormView/FormRowView a little.</li> <li>Remove the empty test files for views that are no longer used.</li> <li>Get rid of View#getThemedProperty</li> <li>Remove unused "renderer" code from SC.Theme.</li> <li>Deprecate SelectFieldView.</li> <li>Buttons removed support for legacy handlers (method-based actions and null targets), so, fixing test.</li> <li>Fix CheckboxView</li> <li>Test isSpacer in FlowedLayout.</li> <li>For testing, we need to observe everything. If this causes performance issues we should investigate other solutions.</li> <li>Add some tests for flowedLayout.</li> <li>Add unit test for view.reopen bug.</li> <li>Make SplitView 'guess' autoResizeStyle automatically based on the supplied 'size'.</li> <li>Add 'extends' to list of reserved words (Safari reserves it, apparently)</li> <li>Putting back legacy button support, we have to look into how to make action strings work faster, this seems to be way slower for mobile</li> <li>Adding a check to focus event when the mainPane is still not initialized</li> <li>fix alternating colors</li> <li>updated some styling in runtime</li> <li>Clean up SelectView handling to handle other types of items more easily.</li> <li>Try to make the popup button auto-closing of the menu less tolerant.</li> <li>Get rid of unnecessary sc_requires.</li> <li>Test SelectView more thoroughly in Test Controls.</li> <li>Adding reset styles back as it's affecting basic styling for template views</li> <li>Add string-loaded CSS.</li> <li>Fixed SC.typeOf to work correctly. Was giving incorrect results when determining if an object was an error object.</li> <li>Set identifying headers in send() not init, get rid of attachHeaders parameter from class methods. Call set() attachIdentifyingHeaders to NO either in the hash or later.</li> <li>updated statechart's gotoState method. Now provides a warning if an explicit fromCurrentState value was not supplied.</li> <li>minor fix for Array.prototype.copy. Was missing a semicolon that JSLint was complaining about.</li> <li>Updated SC.Copyable's copy method. Now provides a more informative error if copy has not been overriden.</li> <li>Updated SC.State.plugin to perform addition checks on given value. If invalid then an error is reported</li> <li>Make first responder in view hierarchy when gaining back focus only if not tabbing only inside the document</li> <li>Update SC .ico file</li> <li>Added code to imitate browser tabbing</li> <li>Disabling default focus ring</li> <li>Removing orphan code in render context update function</li> <li>Adding z-index to segmented view since we need to change the order of tab view rendering for ARIA purposes</li> <li>Change order tabs views are created, to fix accesibility tabindex order bug</li> <li>Fix for radio button keyboard support</li> <li>Always focus when it becomes key responder</li> <li>removing debugger statement</li> <li>Removing legacy action handler and improving keyboard handling for buttons</li> <li>Keyboard support for radio views</li> <li>Small code tweak</li> <li>Stop bringing always SC app into focus by default</li> <li>Call focus whenever a view gets responder that way ARIA does the right thing, and it also solves some issues with tabbing focus</li> <li>Removing unneccesary keyresponder code from slider and field views</li> <li>Added keyboard support to checkbox</li> <li>Fixed regression to be able to tab between address bar and views, also added tabindex to view that is firstResponder, this will enable ARIA to handle focus</li> <li>Fix a bug where setting the same value of the iframe would blow it away and cleaning it up a bit</li> <li>Apply nested stores patch by Brian Moore.</li> <li>Reset invalid widths and heights for views inside a FlowedLayout.</li> <li>The previous method of calculating minWidth/Height was correct when canWrap was NO, but incorrect when canWrap was YES.</li> <li>Fix docs for SelectView/PopupButtonView/etc.</li> <li>Fix some broken styles.</li> <li>Add tests for selectview's menu width.</li> <li>Improve docs and get rid of useless minimumMenuWidthDidChange (it was not even observing anything)</li> <li>Bind menu's minimumMenuWidth to the selectview.</li> <li>Add defaults and observe the minimumMenuWidth.</li> <li>Test aspects related to the selected item.</li> <li>Fix bug and make it observe the selected item so it can change value and title appropriately.</li> <li>Update some documentation.</li> <li>Add PopupButtonView tests.</li> <li>Lazy menu instantiation...</li> <li>Add tests for the mixins and extensions for SC.MenuPane/SC.MenuItemView.</li> <li>Fix menu item checkmark styling.</li> <li>Fix list item styling...</li> <li>Setting currentMenuItem doesn't work. This feature, while we should have it, wasn't in the old one, so skipping for now.</li> <li>Update for new AutoResize API.</li> <li>Add menuWidthPadding property for render delegate.</li> <li>Test long menu items.</li> <li>Update menu item for the new AutoResize API.</li> <li>Enhance the createMenuItemViews method instead of menuItemViews, which is not enhanceable.</li> <li>Separate logic for menuItemViews property so it can be overriden.</li> <li>Improve key handling so that up/down goes relative to current selected item.</li> <li>Make menu's minimum width themeable.</li> <li>Make button handle the allowDefault.</li> <li>Keyboard mostly working...</li> <li>For mouse events, SelectView is now fully operational. Keyboard... not so much.</li> <li>Make MenuItem a little more flexible.</li> <li>Make Test Controls use experimental SelectView</li> <li>Clean up select page</li> <li>Add unfinished new SelectView/PopupButton.</li> <li>Add in new support for specifying and accessing localized metrics in the same manner as you can currently specify and access localized strings. For strings, you do:</li> <li>1. Introduces changes to maintain a separate hash of layout values, for the current locale 2. Added a separate method to do localization of layout hash</li> </ul> <h2>1.6.0.rc.2</h2> <ul> <li>Fixed SC.PickerPane#modalPaneDidClick return values - Fixes #339</li> <li>Fixed SC.Enumerable fallback for SC.RecordArray#find - Fixes #363</li> <li>Added SC.requiredObjectForPropertyPath that throws an error when object can't be found</li> <li>Make it possible for the handlebars helpers to generate tags other than <span></li> <li>Improved Observer Tests with better location (thx martoche)</li> <li>Fixed disclosure positioning in Ace, fixes #457</li> <li>Added backslash to prevent SASS comment interpolation warning</li> <li>Allow for passing relative paths to #collection helper.</li> <li>Further cleanup to TextField template multiline</li> <li>Added isMultiline property to SC.TextField.</li> <li>jQuery is now smart enough to take booleans for certain attributes</li> <li>Stop using jQuery expando</li> <li>Added unit tests for SC.ContainerView to verify it cleans up views that it instantiates.</li> <li>SC.ContainerView will instantiate it's contentView if nowShowing is set with a string or class, however it was not cleaning up views when it was finished. Now it keeps track and cleans up when necessary.</li> <li>Unit test for previous commit checking that the themeName got passed through to the buttons.</li> <li>Allow you to set themeName on the AlertPane to also set the themeName on the buttons (which were previously stuck as 'capsule')</li> <li>Unit test for previous commit adding controlSize to TabView + removed useless TabView methods test and left a warning unit test instead.</li> <li>Whitespace + allow setting of controlSize</li> <li>Comment typo forEachIndex is not a function in IndexSet</li> <li>fix jQuery/SC conflict for events handeling add tryToPerform on SC.TextField</li> <li>use prop instead of attr in SC.Checkbox replace with</li> <li>remove more code : passing unit tests but fail in real app</li> <li>upgrade to jquery 1.6 use jQuery.sub()</li> <li>Minor adjustments for docs</li> <li>fixed so that replace on ChildArray only notifies the part of the array that has actually changed</li> <li>remove more code : passing unit tests but fail in real app</li> <li>upgrade to jquery 1.6 use jQuery.sub()</li> <li>Hacky solution to the issue where template collection views render their item views multiple times when they are nested inside another template collection view.</li> <li>Adds support for specifying an inverse template name to template collection view.</li> <li>Adds unit tests for using an inverse template in template collection views.</li> <li>Fixes issue with nested template collection views causing childViews array to get messed up.</li> <li>Adds failing unit test for childView structure of nested collection views.</li> <li>Adds unit tests for checking the number of items rendered in nested collection views with default content.</li> </ul> <h2>1.6.0.rc.1</h2> <ul> <li>Added 'Show Progress' checkbox to Test Runner</li> <li>fixed the double call issue and changed the tests to reflect what really should go on.</li> <li>Adds failing unit test that demonstrates child arrays not playing nicely with array observers.</li> <li>TemplateCollectionView should not try to use a content object if it is not defined yet. Also pulls in Sven's fix to ensure that collections with custom tag names get the proper child tags.</li> <li>Invoke Handlebars observers at the end of the run loop. This ensures that DOM updates happen as close together as possible.</li> <li>Have Handlebars set up one-way bindings. This avoid potential cyclic bindings and is faster.</li> <li>Fix for when a TemplateCollectionView's content changes multiple times before its layer is created.</li> <li>Move around the stylesheets into its own framework.</li> <li>Move resets to their own framework.</li> <li>Adding in new CSS resets.</li> <li>Use new spy framework in button test</li> <li>Add ability to stub a method</li> <li>add spies to test framework</li> <li>On touch platforms, 'mousedown' & 'mouseup' were allowing default, but not tracking it for the later click event. This resulted in 'click' calling preventDefault & stopPropagation</li> <li>Attach prefix for core_tools' urls to allow to run apps on path other than /</li> <li>Move sc-hidden class to be outside of sc-view.</li> <li>Update deprecated SC.Button mixin to throw an error and changed the message.</li> <li>Fixed SC.Button template view class / mixin conflict.</li> <li>Don't call arrayContentDidChange() if storeKeys already exist; this will be handled by the next call to flush().</li> <li>SC.ArrayController should setup and teardown property chains when its underlying content object changes.</li> <li>Property chains should use objectAt in case they are used with array-likes instead of native arrays. Includes unit test of @each with SC.SparseArray.</li> <li>Clarify error thrown when editing a record array without an underlying store keys array.</li> <li>Remove sc-docs app and code as its been moved to the sproutcore/sc-docs repo</li> <li>Fixes #400. SC.CheckboxView now triggers an action on mouseUp/touchEnd + unit tests updates</li> <li>Fixed bug with ImageView. Fixes SC #380.</li> <li>Fixes #410. Scrolling in Opera is fixed.</li> <li>Fixes #414. Allows SC.routes to handle passing only a function.</li> <li>datastore/record_attribute: added tests for SC.DateTime to transform</li> <li>datastore/record_attribute: added Date as a possible transform type for SC.DateTime</li> <li>Fixes #434. Update checkbox & menu item PSDs to remove reduced saturation.</li> <li>Moved touch event handling into the returned pane</li> <li>Clean up some DataSource code and fix a failing test</li> <li>datastore/data_source: fixed SC.DataSource returning incorrect values on commitRecords</li> <li>Added MIXED_STATE to datastore</li> <li>datastore/data_source: added more tests; fixed additional bug with return status of commitRecords</li> <li>datastore/data_source: added tests for SC.DataSource</li> <li>replace() and isEditable computed property had different behavior for editing when a RecordArray was not backed by an SC.Query. This commit updates isEditable to reflect the behavior of replace().</li> <li>Have SC.RecordArray use the isEditable computed property instead of checking the query manually. This allows subclassers to implement consistent isEditable logic.</li> <li>Improve documentation for SC.RecordArray#replace</li> <li>Adds documentation for _scra_records property in record array.</li> <li>Remove trailing spaces from record array.</li> <li>Setting simulateTouchEvents before currentWindowSize has been set, will fail because simulateTouchEvents attempts to determine orientation using currentWindowSize.</li> <li>Potential update to button view</li> <li>SC.metricsForString() now also uses the 'letterSpacing' css property when calculating the size of a string</li> <li>remove weird encoding test which breaks abbot</li> <li>Small tweak</li> <li>improve markdown parsing and @link tags in the docs</li> <li>Updated documentation for sc-docs command</li> <li>Updated documentation for sc-docs command</li> <li>Add dependencies</li> <li>updated statechart docs</li> <li>fixed docs for render_delegate.js</li> <li>fixed handling of mouseDown and mouseUp when isSelectable is NO</li> <li>fixed autoResize to copy classNames properly to the metrics element</li> <li>fix RenderContext.element() to use SC.$ instead of a custom factory</li> <li>Add flag to know when unit tests have finished running.</li> <li>fixed measureString and metricsForString to actually respect when ignoreEscape is YES</li> <li>fixed container to create child using createChildView</li> <li>Removing strings.js file. No loc files should be in the framework unless is a very special case</li> <li>Rename all english.lproj directories inside sproutcore to resources</li> <li>SC.Logger.stringifyRecordedMessages broken</li> <li>Made the list view styling use chance</li> <li>Make sure not to call notifiers twice if the server's response status was 0</li> <li>Fixed all unit tests that were failing in IE. All the failing tests had to do with exiting and entering concurrent states. Issue was addressed using the updated SC.StatechartSequenceMatcher</li> <li>Refactored and updated SC.StatechartSequenceMatcher's functionality. It's now more flexible in how you construct sequences and how those sequences are matched</li> <li>Refactored some logic in the SC.StatechartMonitor class</li> <li>Refactored statechart code so that classes and class extensions are placed into their own respective files</li> <li>Updated SproutCore's Buildfile so that the statechart framework is part of the sproutcore wrapper framework</li> <li>Segment view changes for handling layerId</li> <li>Refactoring code in layerid code for menu</li> <li>support for layerId in Menu pane and Segment view.</li> <li>Added the sc-docs directory to the apps folder which includes the sc-docs command, the jsdoc-toolkit, and the new doc viewer app</li> <li>expanded view-related documentaiton</li> <li>Fixed view-related documentation</li> <li>Fix for loc(). Adding back to String.prototype, Talk to me if you have any problems with this commit</li> <li>Update for incorrect label view documentation</li> <li>fixed a bug with the SC.State.plugin logic. Now checks the klass variable if null</li> <li>updated SC.StatechartManager's tracing output</li> <li>removed code from statechart framework. Code was acting as a temporary stop-gap that is no longer needed. Was also causing unit tests to fail.</li> <li>Respect the new touch_enabled flag (defaults to true)</li> <li>fix to measure views when the become visible</li> <li>fixed bug which caused all non-webkit browsers to be treated like old safari versions</li> <li>fixed rows not having a default height - this fixes the test controls infinite loop</li> <li>Calculate minWidth/Height correctly.</li> <li>Perf tweaks for unit tests runner</li> <li>Make the unit test run faster by dumping results only until the end</li> <li>Temporary fix to select button</li> <li>Fixing the broken loc() function.</li> <li>Refactoring css core code. This change packs all .sc-view css rules into one. Also sets the default font on the body of the page instead of reapplying the rule in every view, this change might break some styling for some apps. Contact me if you have any doubts</li> <li>Disabling image preloading by default</li> <li>Fix the html examples of the routes file</li> <li>Fix documentation for SC.routes</li> <li>Refactor base css styles to use SCSS</li> <li>Update to trimming functions</li> <li>Minor unit test bug fixes for IE</li> <li>Fixing SC.offset support for IE</li> <li>Adding trim functions only for IE</li> <li>Fixing trailing commas, and minor bugs related to IE. Also moved trim functions for strings back into core_foundation as IE doesn't support them, finally changes the icons library to use chance for slicing</li> <li>Fix up SC.PopupButtonView a bit</li> <li>Revert "Revert "fixed gotoState to pick a better default fromCurrentState when a statechart has concurrent states""</li> <li>fixed to respect escapeHTML property</li> <li>Move BindableSpan to core_foundation/views as system shouldn't depend on TemplateView</li> <li>Clean up global leaks</li> <li>improved documentation for previousValidKeyView and nextValidKeyView</li> <li>added tests for previousValidKeyView</li> <li>added test for parentView.lastKeyView priority over nextKeyView</li> <li>fixed next and previous to respect last and first, cleaned up while loops end condition</li> <li>Made changes to _supportsPlaceHolder function to make it work with Firefox4</li> <li>changed conditions for newRowPending code to handle the first child having startsNewRow correctly</li> <li>fixed bug in dealing with batchResizeId changing and stopped views that aren't visible from being measured</li> <li>fixed event passing for blur event</li> <li>fixed window leak</li> <li>removed debug code</li> <li>added tab functionality for selectButton since it has acceptsFirstResponder: YES</li> <li>fixed previousValidKeyView and cleaned up nextValidKeyView</li> <li>added some more warnings about correct usage to docs</li> <li>added tests for nextValidKeyView</li> <li>made pane.makeFirstResponder actually call responderContext.makeFirstResponder; this fixes hasFirstResponder not being set properly</li> <li>added more doc</li> <li>fixed bug in lastKeyView calculation, renamed private methods, and added documentation</li> <li>fixed default tab behavior in certain corner cases and added optional properties to make tab order easier for views that tab in a different order from their childViews order</li> <li>fixed firstResponder being set to null when a view resigns first responder</li> <li>Added support for attachIdentifyingHeaders to SC.Request so we can opt out of having custom headers set on each SC.Request</li> <li>updated styling for list views</li> <li>Get rid of 'uninitialized property' warning since it didn't really make</li> <li>If no listener handled a response, don't try twice if the base status is the same as the status.</li> <li>Fixed a bug with the support for notifying multiple listeners on a single status.</li> <li>Added unit test for multiple notifiers on a single status support in SC.Request</li> <li>Added support in SC.Request and SC.Response for multiple listeners per status</li> </ul> <h2>1.6.0.beta.3</h2> <ul> <li>Removed stray debugger statement that broke sc-build</li> </ul> <h2>1.6.0.beta.2</h2> <ul> <li>Allow native touch scrolling inside an SC.TemplatePane.</li> <li>Add SC.Button template control.</li> <li>Created SC.TextField and SC.Checkbox views to eventually replace the *Support mixins.</li> </ul> <h2>1.6.0.beta.1</h2> <ul> <li>Bugfixes to synchronization between SproutCore RecordArray/ManyArray/ChildArray and TemplateCollectionView</li> <li>Moved forms to experimental framework</li> <li>Moved routing into its own framework</li> <li>Improved ability to use table elements in Handlebars templates</li> <li>CSS and cross-browser fixes for built-in controls</li> <li>Significantly cleaned up in-line documentation</li> </ul> <h1>CHANGE LOG FOR 1.5</h1> <h2>Upcoming</h2> <ul> <li>Added ability to opt out of custom headers when making AJAX requests</li> <li>Allow multiple listeners per single response status</li> <li>Fixes for making panes properly handle first responder</li> <li>General CSS Cleanup throughout</li> <li>Add support for trim and loc back to string.js</li> <li>Bug fixes for IE7/8/9 support</li> <li>Fixed unit tests for IE</li> <li>Added unit tests for keyboard focus functionality</li> <li>Fix keyboard focus issues in the view layer</li> <li>Updated the styling of list views</li> <li>Fixed bugs with flowed_layout and auto_resize</li> <li>Small documentation fixes throughout</li> <li>Bug fixes for statecharts for IE support</li> <li>Improving the performance of the unit test runner</li> <li>Updated index.html for the latest versions of IE</li> </ul> <h2>1.5.0</h2> <ul> <li>Fix problem in SC.TextFieldSupport where binding to its value when its layer hasn't been created could potentially start an infinite loop</li> <li>Fix range observer support in SC.TreeItemObserver.</li> <li>Fixed issue with isVisibleInWindow not getting passed to childViews</li> <li>Fix problem with SC.TextFieldView not properly setting input type to password when SC.platform.input.placeholder is true.</li> <li>Change SC.View default border color to transparent</li> <li>SC.Event.KEY_ENTER updated to SC.Event.KEY_RETURN. SC.Event.KEY_ENTER is no longer defined.</li> <li>Fix bug in SC.ContainerView where it was checking for SC.View instead of SC.CoreView, and add unit test for using SC.TemplateView in SC.ContainerView</li> <li>Move some necessary updateLayerLocation code from SC.View to SC.CoreView</li> <li>Fix SC.Event mouse handling for Safari 5.0.5, and trust that Apple will continue using extremely huge mouse wheel values</li> <li>Fix problem with localizing strings via SC.String.loc, and add unit tests for localizing with multiple parameters.</li> <li>Change Foundation String mixin to work standalone with SC.String and mix in mapping to String.prototype. Framework code updated to use SC.String instead of relying on prototype.</li> <li>Fixed issue in SC.FormRowView that could cause an infinite loop</li> <li>Fixes a bug where bindings would not work when specified in a class definition as an SC.Binding object (as opposed to a property path).</li> <li>Fix SC.SAFARI_FOCUS_BEHAVIOR check.</li> <li>Don't show experimental apps in welcome list</li> <li>Removed mobile references from Buildfile</li> <li>Moved Greenhouse and Designer Framework to Experimental</li> <li>Remove Docs app since it is worthless</li> <li>Remove time.js, update Date validator and tests so that it works with SC.DateTime, and provide warning for backwards compatibility.</li> <li>Updates template collection unit test to fail when we were removing child views twice. Also fixes a bug where SC.TemplateCollectionView would not add array observers if the content property was present at initialization time.</li> <li>fix firefox 4 transitionEnd case - should be transitionend</li> <li>Added back commented out LabelView CSS tests so we know to make them work later</li> <li>Remove unused SC.StaticQueue</li> <li>Remove CSS tests for LabelView while I figure out how to get document.defaultView.getComputedStyle to return the correct results for framework-level tests.</li> <li>Make sure content is defined before trying to access its layer in SC.ScrollView</li> <li>Use local image for testing the image view scaling to avoid epic fails</li> <li>No longer need to teardown child views when content changes on an SC.TemplateCollectionView.</li> <li>Preserve options hash passed to {{#collection}} helper.</li> <li>In SC.ScrollView, apply 3D translations even if view does not implement _viewFrameDidChange.</li> <li>Split up SC.String and extending String.prototype, change more framework code over to using SC.String.</li> <li>Use SC.supplement when mixing into Array.prototype. Create SC.CoreArray which doesn't have SC.Enumerable mixing in to avoid hackiness of old Array handling.</li> <li>Added tests for querying nested records by property path</li> <li>Added support for quering within SC.Objects or hashes. E.g. "foo.baz = 'bar'". Inspired by an old mailing list post by Thomas Lang.</li> <li>Experimental polymorphism: Add ability to pass isPolymorphic in SC.Record.extend hash instead of needing it set it afterwards, with unit test.</li> <li>move SC.Request/Response to new framework</li> <li>Improved isFixedLayout property plus unit tests.</li> <li>jslint cleanup, plus original computeFrameWithParentFrame doesn't use pdim, so don't pass it.</li> <li>Fix for potential bug determining frame for non-fixed layout view within static layout parent View.</li> <li>Add failing test to illustrate potential bug if a non-fixed layout view is embedded within a static layout view. Found the bug by accident, but the fix is straightforward so added it (in next commit)</li> <li>Require Function.prototype extension in runtime files</li> <li>Use Array.isArray in SC.isArray if its available. This is 50% faster when checking arrays and 10% slower when checking objects that aren't arrays, but we're checking arrays 10 times more often than non arrays in SC.isArray, so this is a net win. Unit tests for SC.isArray added.</li> <li>Unit test handling of hints on password fields when placeholder is not supported</li> <li>Fix hint handling for SC.TextFieldView when isPassword is true</li> <li>Fix check for continuouslyUpdatesValue</li> <li>Use feature detection instead of browser detection when handling SC.TextFiledView#maxLength</li> <li>Deprecate SC.TextFieldView#continuouslyUpdatesValue as its completely broken, use applyImmediately instead.</li> <li>Remove SC.TextFieldView#_supportsPlaceHolder and use SC.platform.input.placeholder</li> <li>Move SC string localization support to Core Foundation (where it belongs) and small code shuffle in CF</li> <li>Reorganize String, Function and Date enhancements in Runtime framework</li> <li>Make our String extension handling more sane. SC.CoreString is now SC.String, and Core Foundation additions are now mixed into SC.String. Handlebars loc helper now uses SC.String.loc.</li> <li>Add empty SC.ChildRecord object with warning of deprecated to improve 1.4.x backwards compatibility</li> <li>Initial work at making framework code prototype-safe. We shouldn't be using helpers attached to native object prototypes in framework code as they can fail on some platforms</li> <li>Change instance so "".dasherize to SC.String.dasherize to safeguard against platforms that mix dasherize into String.prototype (I'm looking at you, WebOS)</li> <li>Change SC.String functions so they can run standalone as well as when mixed into String.prototype</li> <li>More work on documenting Foundation framework</li> <li>Add unit tests for Store.loadRecords.</li> <li>Ensure that SelectView works with custom views.</li> <li>SC.SAFARI_FOCUS_BEHAVIOR is deprecated in favour of SC.FOCUS_ALL_CONTROLS, update docs and unit tests.</li> <li>SC.RootResponder now properly checks that responder is defined in makeTouchResponder by accessing properties.</li> <li>ContainerView now properly replaces its children. Still need to write a unit test.</li> <li>CollectionView should enable or disable the ability to select when isEnabled is true or false.</li> <li>Fixed SC.Menu icons in Ace</li> <li>Update ImageView so that CSS classes for values are rendered and updated correctly. Unit tests provided.</li> <li>CollectionView now calls actions when useToggleSelection and actOnSelect are true</li> <li>CollectionView was wiping selections when it was touched but an item wasn't being selected. Behaviour now same as mouse.</li> <li>Added toolTip support for imageButtonRenderDelegate</li> <li>SC.TabView with tabLocation bottom is positioned correctly.</li> <li>Re-render child views if the layer is destroyed then re-created.</li> <li>Fix global variable leakage in SC.View layout style code</li> <li>Fix problem in CollectionView where using a ListItemView on touch would cause epic fails in the touchEnd event.</li> <li>Some styling fixes for Checkbox and Radio icons</li> <li>Fixed SC.Query to handle negative numbers</li> <li>Now that {{#each}} uses bindings, we have to invoke a run loop in the unit test for it to pass.</li> <li>Don't automatically render child views if the view's render method renders them explicitly.</li> <li>Added icon examples to TestControls</li> <li>Proper location for form render_delegates</li> </ul> <h2>1.5.0.rc.2</h2> <ul> <li>Clone itemOptions so that we don't nuke classBindings after the first round trip</li> <li>Update SC.ChildArray to use array observers.</li> <li>Remove unnecessary invalidation when storeKeys changes in SC.ManyArray.</li> <li>When a property observed by a binding is changed outside a run loop, schedule a run loop automatically.</li> <li>Remove trailing white space in child array.</li> <li>Fixes bug where property chains were being activated even when the associated property had not changed.</li> <li>Add support for setting itemViewTemplateName in SC.TemplateCollectionView, plus documentation.</li> <li>{{#each}} helper should bind relative to the current context.</li> <li>Fix array arithmetic used by SC.TemplateCollectionView when calculating changes.</li> <li>Update SC.ManyArray and SC.RecordArray to use array observers.</li> <li>Make the test for a simple implementation of SC.Array reflect the API changes.</li> <li>Revert changes to SC.Enumerable, move new functionality into SC.Array. Update to use array observer API.</li> <li>Update SC.TemplateCollectionView to use new array observer functionality.</li> <li>Make sparse arrays support the new Array observer API</li> <li>Remove enumerable observers</li> <li>Update array controller unit test to use public API when resetting an array.</li> <li>Update SC.ArrayController to use array observers.</li> <li>Implement array observers. Remove enumerable observers.</li> <li>Make our mouse wheel delta detection intelligent about when it sucks. If our browser detection fails and the delta exceeds a specified limit, we readjust so future scrolls aren't Crazy Fast™.</li> <li>Initial work on fixing documentation in Foundation framework</li> <li>Document SC.browser</li> <li>Docs: Markdown-ified Datetime docs</li> <li>Docs: Markdown-ified Datastore docs</li> <li>Docs: Markdown-ified CoreFoundation docs</li> <li>Docs: Markdown-ified Animation docs</li> <li>Support the class attribute in {{bindAttr}}.</li> <li>SC.TextFieldSupport should notify value change when its loses first responder to support autofill</li> <li>Move SproutCore's Handlebars extensions into core_foundation,</li> <li>Update testing framework to use new version of qunit, change testing framework to depend on jQuery instead of having its own version</li> <li>Remove warning for when a binding connects to an undefined property. This bug has been fixed.</li> <li>Ensure that TemplateViews created with an ID by the Handlebars view helper are added to view cache, unit test included</li> <li>Add 'datetime/localized' to the Buildfile configs so it doesn't bust for Some Folks. Apologies to Some Folks.</li> <li>bindAttr should look up properties relative to its current context, not the view.</li> <li>Completed initial audit of Desktop framework documentation</li> <li>First stab at fixing the inline documentation in the Desktop framework.</li> <li>Separate core DateTime code from localization-specific code as core DateTime code depends only on Runtime</li> <li>Unit test and fixes for chained property observers that would cause them to fail if all objects in the chain did not exist at the time the property chain is setup.</li> <li>Use touch events for TextField. Required for certain Android platforms</li> <li>Fix more unit tests in core_foundation that were trying to delete window properties.</li> <li>Internet Explorer does not support deleting properties from the window object.</li> <li>Remove trailing commas for IE7 compatibility</li> </ul> <h2>1.5.0.rc.1</h2> <ul> <li>Removed #bindCollection helper. Instead, use {{#collection PathTo.Collection contentBinding="MyApp.controller.content"}}</li> <li>{{view}} helper looks up views relative to the view, and then the global scope</li> <li>Built-in helpers and mustaches now automatically update. It is no longer necessary to use {{bind}} or {{boundIf}}</li> <li>Adds enumerable observers, which allow you to subscribe to mutations of an enumerable</li> <li>Fixed error reporting when a Handlebars template is unable to find a property</li> <li>Dependent keys that contain paths now invalidate immediately instead of at the end of the run loop, which significantly improves performances, especially when combined with @each</li> <li>SC.offset offers more reliability than the deprecated SC.viewOffset</li> <li>Added SC.getPath(), which is like SC.get() but takes a path instead of just a property</li> <li>Improved compatibility of using SC.CoreViews (such as SC.TemplateView) inside standard SC.Views</li> <li>Tear down SC.TemplateCollectionView child views when no longer needed, which fixes a memory leak issue</li> <li>Integrated new functionality from the Ki framework into the SC.StateChart framework so that they now have feature-parity</li> <li>The SC.PickerPane was updated to add removeTarget and removeTarget properties</li> <li>Fixed documentation in datastore and view layer</li> <li>Refactored and fixed bugs in the way SproutCore handles AutoResizing.</li> <li>Updated the test_controls application to reflect AutoResize changes</li> <li>Fixed bugs with the selection behavior in lists</li> <li>Fixed bugs with the logic that determines when sproutcore applications are ready to begin execution</li> <li>Improved performance of layout updates</li> <li>Fixed bugs in keyboard behavior of menus</li> <li>Made more views utilize render delegates</li> <li>Updated unit tests for menus to reflect new keyboard behavior</li> <li>Add proper autoresize behavior to buttons</li> <li>Fixed frame calculation bugs in lists</li> <li>Removed redundant bounds checking in scroll</li> <li>Fixed bugs with the localization of titles in segmented views</li> <li>Fixes for formView</li> <li>Added ability to scale apps so that we can visualize them on the iPhone</li> <li>If using StaticLayout in the image, don't use Canvas</li> <li>Fixed firstResponder support in text_field</li> <li>Fixed responder behavior in editable</li> <li>Refactoring for flowed_layout</li> <li>Rewrote the existing inline editing code to make it more generic and integrated it with SC.LabelView, SC.InlineTextFieldView and SC.ListItemView</li> <li>Added a new SC.SplitView class to the experimental framework which is a re-write of the existing SC.SplitView class but with cleaner code and multi-pane support.</li> <li>Introduced a new AlertPane API and backwards compatibility for the existing API. The new API allows us to create an AlertPane by defining a hash of parameters instead of single methods which take 15+ parameters.</li> <li>Added the ability to programmatically trigger SC.Ready instead of automatically by jQuery which allows the app developer to decide when his app is ready to run</li> <li>Moved render delegates from Ace to base_theme, and render delegates from base to legacy_theme</li> <li>Renamed standard_theme to legacy_theme</li> <li>Cleaned up old, broken css code in desktop and foundation frameworks</li> <li>Updated ImageView documentation</li> <li>Small bug fixes throughout</li> <li>Added unit tests for new functionality</li> <li>Fix failing unit tests</li> </ul> <h2>1.5.0.pre.5</h2> <ul> <li>Support for high resolution screens.</li> <li>Support for IE7 base64 images using MHTML</li> <li>Initial support for accessibility (WAI-ARIA)</li> <li>Improved SC.Logger, allows log recording and different reporting levels like log4j</li> <li>Modular loading and whitelisting.</li> <li>Improvements and bug fixes in SC.TemplateView and Handlebars helpers</li> <li>Added {{bindAttr}}, {{boundIf}}, and {{collection}} helpers</li> <li>Fixes to Ace CSS</li> <li>IE7 compatibility fixes</li> <li>Numerous bug fixes and minor improvements</li> </ul> <h2>1.5.0.pre.4</h2> <ul> <li>We are beginning to move API that we don't believe will be ready before 1.5 release into the <code>experimental</code> framework. If your apps rely on code that is migrated to experimental, please make sure you include it as a dependency. For more, please see frameworks/experimental/</li> <li>Support for extending classes after they've been created with the reopen()/enhance() combo. For more, see: <a href="">this discussion</a> <ul> <li>This change may break existing code if you call sc_super() in your mixins. If your app throws exceptions after updating, please see <a href="">this post</a>.</li> </ul></li> <li>Added SC.TemplateView and Handlebars. These allow you to specify the content of your views using templates. <ul> <li>{{#view}} helper allows you to define child views</li> <li>{{#bind}} helper allows you to render a property, and automatically update DOM if that property ever changes.</li> <li>{{#collection}} helpers allows you to render a simple collection of items using templates</li> <li>SC.TextFieldSupport and SC.CheckboxSupport mixins for SC.TemplateViews that wrap <input> elements.</li> </ul></li> <li>Split SC.View into units of functionality. SC.View remains functionally the same, but you can now use SC.CoreView, a light-weight subset of SC.View.</li> <li>SC.ImageView will use a <canvas> tag on platforms that support it, which improves performance significantly.</li> <li>SC.SegmentedView now creates an overflow menu if there are too many segments to display. <ul> <li>Class names for SC.SegmentedView have been cleaned up. You may need to update your CSS if you were theming SC.SegmentedView.</li> </ul></li> <li>You can now observe the contents of enumerables using the special <code>@each</code> key.</li> <li>Dependent keys can accept property paths. For example, you can say .property(''), and it will be invalidated if the <code>bar</code> property of <code>foo</code> changes.</li> <li>Deprecated SC.viewportOffset(). Please use SC.offset() instead, which is more explicit about what it returns.</li> <li>SC.browser now detects Android devices.</li> <li>SC.device.orientation now works reliably on desktop, iOS, and Android 2.1 and above.</li> <li>Experimental support for gyroscope information, if provided by the browser.</li> <li>Unit tests for runtime, desktop, foundation, core_foundation, and datastore are all passing.</li> </ul> <h1>CHANGE LOG FOR 1.4</h1> <p>DISCLAIMER: This is a very rough and not comprehensive overview of the 1000+ commits that formed SproutCore 1.4.</p> <h2>MAJOR</h2> <ul> <li>Touch Support Gen 1</li> <li>Bug Fixes and Stabilization</li> <li>Build tools performance improvements</li> <li>Greenhouse (experimental)</li> <li>SC.TableView (experimental)</li> </ul> <h2>NEW</h2> <ul> <li>Implementation of SC.ErrorCatcher.</li> <li>Orientation change recognition</li> <li>Add all sorts of alt-key goodness to scrollers: <ul> <li>alt-click in track scrolls to click</li> <li>alt-click on buttons scrolls by page</li> <li>alt-drag scrolls 1/2 speed.</li> </ul></li> <li>CollectionView fast path (experimental)</li> <li>SC.Animatable</li> <li>Accelerated Layer</li> <li>Adding new SC.device object for states such as orientation, online and offline (and moving orientation out from root responder)</li> <li>Add application manifest check to html tag of default index.rhtml</li> <li>Media framework (experimental)</li> <li>Default iPhone loading screen for webapps</li> <li>Nested Records (experimental? or functional?)</li> <li>SC.DateTime</li> <li>SC.StaticContentView</li> <li>SC.Border</li> <li>Add a task queue to SproutCore, capable of running tasks in the "background"; that is, while idle. (experimental)</li> </ul> <h2>MISCELLANEOUS</h2> <ul> <li>Better IME support</li> <li>MainPane now has a 200x200 min app size. This is where you should set the minimum size of your app.</li> <li>Move feature detection from SC.browser to SC.platform.</li> <li>Desktop framework no longer requires all other frameworks to load</li> <li>Improved context menu handling</li> <li>Add trigger() method to SC.routes to trigger the current route.</li> <li>Improvements to MenuViews</li> <li>Add the ability to observe changes on SC.Set at an add/remove level, allowing for efficient filtering, merging, etc.</li> <li>Allow configuration of the touch icons and status bar, as well as favicon via Buildfile.</li> <li>Add deprecation warning to SC.Scrollable</li> <li>Better mouseWheel support</li> <li>Added some ARIA tags for accessibility.</li> <li>SC.ScrollView / SC.ScrollerView improvements</li> <li>Experimental mousewheel momentum support. Set SC.WHEEL_MOMENTUM to YES.</li> <li>Support descending sort in ArrayControllers.</li> <li>SC.StaticLayout functionality is now built into SC.View</li> <li>Allow panes the chance to handle user events.</li> <li>Fixes/improvements to PopupButton</li> <li>Make inline text editor inherit escapeHTML from the list item view</li> <li>Added domCSSPrefix to SC.platform</li> <li>Make views update their layer's layerId if their layerId changes.</li> <li>Adding maxlength property to textfield view</li> <li>Added inflector functions to SC.String: singularize() and pluralize()</li> <li>Adding mousewheel support to textareas.</li> <li>Adding HTML5 spellCheck support for textfields. It works with the latest versions of Firefox, Sproutcore, Chrome</li> <li>Adding lastObject() method to SC.Enumerable</li> <li>Allow SC.outlet to specify a different root.</li> <li>Improvements to drag/drop</li> <li>Improvements to SC.UserDefaults</li> <li>Switch from XHTML -> HTML5.</li> <li>Update SelectButtonView to use target/action instead of deprecated function calls.</li> <li>Invoke button actions after a delay if triggered by keyboard shortcuts.</li> <li>Make PopupButtonView and SelectButtonView click and hold delay a constant. Also lowered default value.</li> <li>Use SC.Enumerable's sortProperty to sort objects so that this works on any SC.Enumerable not just native arrays.</li> <li>SC.Record: Add in a the new concept of 'readOnlyAttributes' to complement 'attributes'.</li> <li>New type of SC.PickerPane: PICKER_MENU_POINTER - It's a menu but position like picker pointer</li> <li>Add a willRemoveAllChildren to SC.CollectionView.</li> <li>Added max() and min() to SC.Array</li> <li>Added isDescendantOf method to SC.View</li> <li>Added acceptFirstResponder code to radio and checkbox button.</li> <li>Add a constant for the default separator height, too.</li> <li>use SC.WELL_CONTAINER_PADDING for well and change default value to 15</li> <li>Initial support for re-using views in collections</li> <li>Push an extra div into the scrollView so that it's possible to style the corner differently.</li> <li>Moved all of the standard theme scroller metrics into SproutCore as default values.</li> <li>Adding themes to segmented view</li> <li>Changing tabView so you can set the height of the tabs with a global variable</li> <li>Added provision for Enabling/Disabling menu items in SelectButtonView</li> <li>AlertPane: Esc triggers cancel button / enter triggers default button</li> <li>SC.Query: 'orderBy' can now optionally be a comparison function. In this case, the specified function will be passed the two records directly, rather than the typical method of operating on specific properties. This can be useful for complicated comparisons that cannot be expressed by the simpler method.</li> <li>Add option to only allow focus tabbing among webapp controls.(No jumping to address bar</li> <li>pushRetrieve, pushDestroy and pushError now return storeKey on success instead of YES</li> <li>If there is a list item being edited, commit the changes if the list is scrolled.</li> <li>New Validator for positive integers and also accepts a default value</li> <li>Make sure we always have a root responder.</li> <li>Taught toFormattedString to handle characters %h (unpadded 24-hour time, 1-24) and %i (unpadded 12-hour time, 1-12).</li> <li>FocusRings for SC.ButtonView</li> <li>Adding a handy escapeForRegExp method to String</li> <li>Alignment support for SC.SegmentedView</li> <li>allowing text fields to only apply changes on blur via applyImmediately: NO</li> <li>Added a property to enable/disable textfield tabbing.</li> <li>Removed mobile framework as it was unnecessary</li> <li>Update all encodings to be valid UTF-8</li> <li>We now force parentViewDidResize. It is no longer optional.</li> <li>Only add 'px' units to layout values that are numbers. Strings will be unchanged.</li> <li>'layerLocationNeedsUpdate' is not set until updates are completed.</li> <li>If a pane receives a tab key press, try to find the next eligible view in the view hierarchy and assign it first responder.</li> <li>In collection view, check if the item is loaded or not before advancing to it.</li> <li>SelectButtonView should by default highlight whatever item is set to its value property.</li> <li>SC.Request: Added 'proper' async() function</li> <li>Changed disclosure from using a label tag to using span</li> <li>add debug() support to SC.Logger</li> <li>Added the shouldInheritCursor property & documentation to SC.View. Defaults to YES.</li> <li>ResponderContext is now a mixin included by SC.Pane and SC.Application.</li> <li>TextFieldView: add support for escapeHTML</li> <li>Renamed isEnabledObserver to reduce the likelihood of naming collisions.</li> <li>Move into runtime, and only implement if the browser does not.</li> <li>do not append font-weight style with px</li> <li>Disable other mouse events while dealing with inputs.</li> </ul> <h2>BUG FIXES</h2> <ul> <li>XSS security improvements</li> <li>Fixed a bug with listItem views not always being removed properly</li> <li>Miscellaneous code cleanup, optimizations and fixes</li> <li>Fix for memory leak in SC.Response</li> <li>Fixed issue with SC.ManyArray not notifying inverse attributes of correct records that got removed in SC.ManyArray#replace, with tests.</li> <li>TextField hint was not updating for browsers that support placeholder</li> <li>Fix SC.Object so it handles both local and non-local property paths at the same time.</li> <li>Fixed SC.Binding.disconnect()</li> <li>Initialize the value of the select field view to the value of the first element if there is no emptyName and the value hasn't been previously set.</li> <li>Fixed RenderContext to properly handle styles starting with a dash</li> <li>Change the value of the textfield on keyDown to reflect key repetitions.</li> <li>Ignore moveRight and moveLeft events if the user has a control or meta key held down. Otherwise, we may inadvertently block browser keyboard shortcuts.</li> <li>Destroy the layer before removing from parent , otherwise the view will leak</li> <li>Fixes to SC.SegmentedView.</li> <li>Fixed checkbox/righticon/disclosure states in SC.ListItemView</li> <li>RootResponder's performKeyEquivalent should check the menupane before the keypane.</li> <li>Fixed broken useToggleSelection property.</li> <li>Correctly trigger the document's 'ready' event</li> <li>SC.LabelView was lacking a default implementation of inlineEditorShouldBeginEditing(), so by default it would never switch to editable mode when 'isEditable' == true.</li> <li>Fix for bug in SC.Record.normalize(). It would try to normalize a null child record reference.</li> <li>SC.Event.special.mouseover didn't exist, changing it to mouseenter fixes the mouseenter event</li> <li>RecordAttribute: Allow null dates</li> <li>Checking / Unchecking checkboxes or clicking in empty space was not removing focus from in-focus form fields</li> <li>Fixing before ondeactivate in textfield as it is not letting textfields within iframes get focus</li> <li>Invalidate the verticalScrollOffset and horizontalScrollOffset with -1 instead of 0, because those are actually valid values.</li> <li>Reset the click count if clicks occur too far away from one another</li> <li>Make SC.RecordAttribute respect isEditable</li> <li>SC.SelectButton should accept first responder only if it is enabled.</li> <li>Prevent scrollbars from being shown when PickerPane is opened.</li> </ul> <h2>BROWSER</h2> <ul> <li>XHR requests now work with Opera</li> <li>IE7 fixes</li> <li>Fixed problem with poor security management in FF4</li> <li>Fix for window focus events on IE.</li> <li>Fixed issue with underscore characters not appearing in IE text fields.</li> <li>Adding extra validation to avoid incorrect appearance of hint when deleting all text while using firefox</li> <li>Fix the default # added in FF and IE when using routes</li> <li>SC.Pane should not call sendAction from its sendEvent implementation.</li> <li>Fixing IE8 selection woes and removing a lot of legacy cross-browser code</li> <li>Resolve a bug where other panes would disappear if a menu pane was opened (IE7 only).</li> <li>Fix for SC.button on IE7, now it calculates the label with once is appended to the document</li> <li>SC.TextFieldView: Default hint as empty string to avoid IE displaying null in the text fields</li> </ul>
Jump to Line
Something went wrong with that request. Please try again.