Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [febdf4092e9e18298330013386e3cc8d7e450a1b] by Alexander Ljungberg

Revision febdf4092e9e18298330013386e3cc8d7e450a1b, committed by Alexander Ljungberg · August 23rd, 2010 @ 12:53 PM

New implementation of change notifications from CPArrayController.

It is crucial that we send notification only before and after complete changes. In the middle notifications might cause observers to see or react to inconsistent data (e.g. selection indexes pointing to rows no longer present). Added some unit tests - more might be needed in the future. Fixed: before and after values when observing array controller key paths during content changes or rearranges were wrong. Fixed: the array controller sent out multiple redundant change notifications.
http://github.com/280north/cappuccino/commit/febdf4092e9e1829833001...

3 changed files

  • M AppKit/CPArrayController.j
  • M Foundation/CPKeyValueObserving.j
  • M Tests/AppKit/CPArrayControllerTest.j