mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
CPStackView.j emited warnings during builds and tests which constituted either real errors or indeterminate state. These included four types that did not exist: CPUserInterfaceLayoutOrientation, CPLayoutAttribute, CPEdgeInsets, and CPMapTable. The missing types are now present. - Add local typedefs for CPUserInterfaceLayoutOrientation and CPLayoutAttribute. Numeric values match the equivalent Cocoa constants. - Add CPEdgeInsets as an alias for the existing CGInset struct. Add CPEdgeInsetsMake and CPEdgeInsetsEqualToEdgeInsets. - Import Foundation/CPMapTable.j. CPMapTable already exists in Foundation. This commit also fixes two logic errors found during review. - arrangedSubviews did not match the true view order after insert or remove. Add _rebuildArrangedSubviews and call it from every method that changes view order. - Trailing-gravity layout added one extra spacing gap past the last view. This shifted the returned layout boundary. Spacing is now added before each view, not after. This commit adds one new property. - Add a distribution property with storage and accessors. It has no effect on layout yet. This makes the property honest: before this change, the type existed but no property did. The manual test, ./Tests/Manual/CPStackViewTest, used a Narwhal-era Jakefile and would not build. This has been updated to reflect usage under the Node toolchain. This commit adds CPStackView.j to AppKit.j. The file was never imported. Only the build script's wildcard file list included it. This commit adds a header comment to CPStackView.j. The comment states that the class is a placeholder. It lists known limitations. It states that a constraint-solver based replacement is planned. Why: CPStackView must compile and pass tests before capp-build can use this tree as a build reference, and a class with unstated limits invites misuse.
121 lines
3.2 KiB
Plaintext
121 lines
3.2 KiB
Plaintext
/*
|
|
* AppKit.j
|
|
* AppKit
|
|
*
|
|
* Created by Francisco Tolmasky.
|
|
* Copyright 2008, 280 North, Inc.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
@import "_CPObject+Theme.j"
|
|
@import "_CPToolTip.j"
|
|
@import "CALayer.j"
|
|
@import "CGGeometry.j"
|
|
@import "CPAccordionView.j"
|
|
@import "CPAlert.j"
|
|
@import "CPAnimation.j"
|
|
@import "CPAnimationContext.j"
|
|
@import "CPAppearance.j"
|
|
@import "CPApplication.j"
|
|
@import "CPArrayController.j"
|
|
@import "CPBezierPath.j"
|
|
@import "CPBox.j"
|
|
@import "CPBrowser.j"
|
|
@import "CPButton.j"
|
|
@import "CPButtonBar.j"
|
|
@import "CPCheckBox.j"
|
|
@import "CPCib.j"
|
|
@import "CPCibBindingConnector.j"
|
|
@import "CPCibConnector.j"
|
|
@import "CPCibControlConnector.j"
|
|
@import "CPCibHelpConnector.j"
|
|
@import "CPCibLoading.j"
|
|
@import "CPCibOutletConnector.j"
|
|
@import "CPCibRuntimeAttributesConnector.j"
|
|
@import "CPClipView.j"
|
|
@import "CPCollectionView.j"
|
|
@import "CPCollectionViewItem.j"
|
|
@import "CPColor.j"
|
|
@import "CPColorPanel.j"
|
|
@import "CPColorSpace.j"
|
|
@import "CPColorWell.j"
|
|
@import "CPComboBox.j"
|
|
@import "CPCompatibility.j"
|
|
@import "CPControl.j"
|
|
@import "CPController.j"
|
|
@import "CPCookie.j"
|
|
@import "CPCursor.j"
|
|
@import "CPDatePicker.j"
|
|
@import "CPDocument.j"
|
|
@import "CPDocumentController.j"
|
|
@import "CPEvent.j"
|
|
@import "CPFont.j"
|
|
@import "CPFontManager.j"
|
|
@import "CPGradient.j"
|
|
@import "CPGraphics.j"
|
|
@import "CPImage.j"
|
|
@import "CPImageView.j"
|
|
@import "CPKeyBinding.j"
|
|
@import "CPLevelIndicator.j"
|
|
@import "CPMenu.j"
|
|
@import "CPMenuItem.j"
|
|
@import "CPOpenPanel.j"
|
|
@import "CPOutlineView.j"
|
|
@import "CPPanel.j"
|
|
@import "CPPasteboard.j"
|
|
@import "CPPopover.j"
|
|
@import "CPPopUpButton.j"
|
|
@import "CPPredicateEditor.j"
|
|
@import "CPPredicateEditorRowTemplate.j"
|
|
@import "CPProgressIndicator.j"
|
|
@import "CPRadio.j"
|
|
@import "CPResponder.j"
|
|
@import "CPRuleEditor.j"
|
|
@import "CPScroller.j"
|
|
@import "CPScrollView.j"
|
|
@import "CPSearchField.j"
|
|
@import "CPSecureTextField.j"
|
|
@import "CPSegmentedControl.j"
|
|
@import "CPShadow.j"
|
|
@import "CPSlider.j"
|
|
@import "CPSound.j"
|
|
@import "CPSplitView.j"
|
|
@import "CPStackView.j"
|
|
@import "CPStepper.j"
|
|
@import "CPTableColumn.j"
|
|
@import "CPTableView.j"
|
|
@import "CPTabView.j"
|
|
@import "CPText.j"
|
|
@import "CPTextField.j"
|
|
@import "CPTextView.j"
|
|
@import "CPTokenField.j"
|
|
@import "CPToolbar.j"
|
|
@import "CPToolbarItem.j"
|
|
@import "CPTrackingArea.j"
|
|
@import "CPTreeNode.j"
|
|
@import "CPUserDefaultsController.j"
|
|
@import "CPView.j"
|
|
@import "CPViewAnimator.j"
|
|
@import "CPViewAnimation.j"
|
|
@import "CPViewController.j"
|
|
@import "CPVisualEffectView.j"
|
|
@import "CPWebView.j"
|
|
@import "CPWindow.j"
|
|
@import "CPWindowController.j"
|
|
@import "CPWorkspace.j"
|
|
@import "CPFontPanel.j"
|
|
@import "CPTreeController.j"
|