Added @accessor support, @import, and fixed spacing bug with @selector.

Reviewed by ross.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2008-10-26 00:48:49 -07:00
1 parent b7bba7dc7f
commit 5144a5a579
124 files changed
+1017 -760

No files matched your search

+41 -41
View File
@@ -20,44 +20,44 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CALayer.j"
import "CPAnimation.j"
import "CPApplication.j"
import "CPButton.j"
import "CPClipView.j"
import "CPCollectionView.j"
import "CPColor.j"
import "CPColorPanel.j"
import "CPColorWell.j"
import "CPCompatibility.j"
import "CPControl.j"
import "CPCookie.j"
import "CPDocument.j"
import "CPDocumentController.j"
import "CPEvent.j"
import "CPFont.j"
import "CPFontManager.j"
import "CPGeometry.j"
import "CPImage.j"
import "CPImageView.j"
import "CPMenu.j"
import "CPMenuItem.j"
import "CPPanel.j"
import "CPPasteboard.j"
import "CPPopUpButton.j"
import "CPProgressIndicator.j"
import "CPResponder.j"
import "CPScroller.j"
import "CPScrollView.j"
import "CPSecureTextField.j"
import "CPSegmentedControl.j"
import "CPShadow.j"
import "CPSlider.j"
import "CPSplitView.j"
import "CPTextField.j"
import "CPToolbar.j"
import "CPToolbarItem.j"
import "CPView.j"
import "CPWebView.j"
import "CPWindow.j"
import "CPWindowController.j"
@import "CALayer.j"
@import "CPAnimation.j"
@import "CPApplication.j"
@import "CPButton.j"
@import "CPClipView.j"
@import "CPCollectionView.j"
@import "CPColor.j"
@import "CPColorPanel.j"
@import "CPColorWell.j"
@import "CPCompatibility.j"
@import "CPControl.j"
@import "CPCookie.j"
@import "CPDocument.j"
@import "CPDocumentController.j"
@import "CPEvent.j"
@import "CPFont.j"
@import "CPFontManager.j"
@import "CPGeometry.j"
@import "CPImage.j"
@import "CPImageView.j"
@import "CPMenu.j"
@import "CPMenuItem.j"
@import "CPPanel.j"
@import "CPPasteboard.j"
@import "CPPopUpButton.j"
@import "CPProgressIndicator.j"
@import "CPResponder.j"
@import "CPScroller.j"
@import "CPScrollView.j"
@import "CPSecureTextField.j"
@import "CPSegmentedControl.j"
@import "CPShadow.j"
@import "CPSlider.j"
@import "CPSplitView.j"
@import "CPTextField.j"
@import "CPToolbar.j"
@import "CPToolbarItem.j"
@import "CPView.j"
@import "CPWebView.j"
@import "CPWindow.j"
@import "CPWindowController.j"
+3 -2
View File
@@ -20,9 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
@import "CAMediaTimingFunction.j"
import "CAMediaTimingFunction.j"
/*
@global
+7 -6
View File
@@ -20,13 +20,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPBundle.j>
@import <Foundation/CPBundle.j>
@import "CPCompatibility.j"
@import "CPEvent.j"
@import "CPMenu.j"
@import "CPResponder.j"
@import "CPDocumentController.j"
import "CPCompatibility.j"
import "CPEvent.j"
import "CPMenu.j"
import "CPResponder.j"
import "CPDocumentController.j"
CPApp = nil;
+4 -3
View File
@@ -20,13 +20,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "_CPImageAndTitleView.j"
import "CGGeometry.j"
@import "_CPImageAndTitleView.j"
@import "CGGeometry.j"
import "CPControl.j"
@import "CPControl.j"
#include "CoreGraphics/CGGeometry.h"
CPScaleProportionally = 0;
CPScaleToFit = 1;
CPScaleNone = 2;
+2 -1
View File
@@ -20,10 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPView.j"
@import "CPView.j"
#include "CoreGraphics/CGGeometry.h"
/*! @class CPClipView
<objj>CPClipView</objj> allows you to define a clip rect and display only that portion of its containing view.
+7 -6
View File
@@ -20,13 +20,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPArray.j>
import <Foundation/CPData.j>
import <Foundation/CPIndexSet.j>
import <Foundation/CPKeyedArchiver.j>
import <Foundation/CPKeyedUnarchiver.j>
@import <Foundation/CPArray.j>
@import <Foundation/CPData.j>
@import <Foundation/CPIndexSet.j>
@import <Foundation/CPKeyedArchiver.j>
@import <Foundation/CPKeyedUnarchiver.j>
@import <AppKit/CPView.j>
import <AppKit/CPView.j>
/*! @class CPCollectionView
+5 -4
View File
@@ -20,12 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
import "CGColor.j"
@import "CGColor.j"
@import "CPCompatibility.j"
@import "CPImage.j"
import "CPCompatibility.j"
import "CPImage.j"
var _redComponent = 0,
_greenComponent = 1,
+6 -6
View File
@@ -20,12 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPButton.j"
import "CPColorPicker.j"
import "CPCookie.j"
import "CPPanel.j"
import "CPSliderColorPicker.j"
import "CPView.j"
@import "CPButton.j"
@import "CPColorPicker.j"
@import "CPCookie.j"
@import "CPPanel.j"
@import "CPSliderColorPicker.j"
@import "CPView.j"
CPColorPanelColorDidChangeNotification = @"CPColorPanelColorDidChangeNotification";
+5 -4
View File
@@ -20,10 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/Foundation.j>
import <AppKit/CPView.j>
import <AppKit/CPImage.j>
import <AppKit/CPImageView.j>
@import <Foundation/Foundation.j>
@import <AppKit/CPView.j>
@import <AppKit/CPImage.j>
@import <AppKit/CPImageView.j>
/*! @class CPColorPicker
+4 -4
View File
@@ -20,11 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPString.j>
@import <Foundation/CPString.j>
import "CPView.j"
import "CPColor.j"
import "CPColorPanel.j"
@import "CPView.j"
@import "CPColor.j"
@import "CPColorPanel.j"
var _CPColorWellDidBecomeExclusiveNotification = @"_CPColorWellDidBecomeExclusiveNotification";
+1 -1
View File
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPEvent.j"
@import "CPEvent.j"
// Browser Engines
CPUnknownBrowserEngine = 0;
+4 -3
View File
@@ -20,12 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPFont.j"
import "CPShadow.j"
import "CPView.j"
@import "CPFont.j"
@import "CPShadow.j"
@import "CPView.j"
#include "Platform/Platform.h"
/*
@global
@group CPTextAlignment
+2 -2
View File
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
import <Foundation/CPString.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPString.j>
/*! @class CPCookie
+5 -4
View File
@@ -20,11 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPString.j>
import <Foundation/CPArray.j>
@import <Foundation/CPString.j>
@import <Foundation/CPArray.j>
@import "CPResponder.j"
@import "CPWindowController.j"
import "CPResponder.j"
import "CPWindowController.j"
/*
@global
+4 -3
View File
@@ -20,10 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
import <Foundation/CPBundle.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPBundle.j>
@import "CPDocument.j"
import "CPDocument.j"
var CPSharedDocumentController = nil;
+5 -4
View File
@@ -20,10 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <AppKit/CPView.j>
import <AppKit/CPEvent.j>
import <AppKit/CPPasteboard.j>
import <AppKit/CPImageView.j>
@import <AppKit/CPView.j>
@import <AppKit/CPEvent.j>
@import <AppKit/CPPasteboard.j>
@import <AppKit/CPImageView.j>
var CPSharedDragServer = nil;
+2 -1
View File
@@ -20,10 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
#include "CoreGraphics/CGGeometry.h"
/*
@global
@group CPEventType
+1 -1
View File
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
@implementation CPFlashMovie : CPObject
+3 -3
View File
@@ -20,9 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPDOMWindowBridge.j"
import "CPFlashMovie.j"
import "CPView.j"
@import "CPDOMWindowBridge.j"
@import "CPFlashMovie.j"
@import "CPView.j"
@implementation CPFlashView : CPView
+2 -2
View File
@@ -20,9 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
import <AppKit/CPFont.j>
@import <AppKit/CPFont.j>
var CPSharedFontManager = nil,
+2 -1
View File
@@ -20,7 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CGGeometry.j"
@import "CGGeometry.j"
CPMinXEdge = 0;
CPMinYEdge = 1;
+6 -6
View File
@@ -20,13 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPBundle.j>
import <Foundation/CPNotificationCenter.j>
import <Foundation/CPObject.j>
import <Foundation/CPRunLoop.j>
import <Foundation/CPString.j>
@import <Foundation/CPBundle.j>
@import <Foundation/CPNotificationCenter.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPRunLoop.j>
@import <Foundation/CPString.j>
import "CPGeometry.j"
@import "CPGeometry.j"
CPImageLoadStatusInitialized = 0;
CPImageLoadStatusLoading = 1;
+4 -4
View File
@@ -20,11 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPNotificationCenter.j>
@import <Foundation/CPNotificationCenter.j>
import "CPControl.j"
import "CPImage.j"
import "CPShadowView.j"
@import "CPControl.j"
@import "CPImage.j"
@import "CPShadowView.j"
#include "Platform/Platform.h"
#include "Platform/DOM/CPDOMDisplayServer.h"
+9 -9
View File
@@ -20,16 +20,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPArray.j>
import <Foundation/CPDictionary.j>
import <Foundation/CPNotificationCenter.j>
import <Foundation/CPString.j>
@import <Foundation/CPArray.j>
@import <Foundation/CPDictionary.j>
@import <Foundation/CPNotificationCenter.j>
@import <Foundation/CPString.j>
import "_CPImageAndTitleView.j"
import "CPApplication.j"
import "CPClipView.j"
import "CPMenuItem.j"
import "CPPanel.j"
@import "_CPImageAndTitleView.j"
@import "CPApplication.j"
@import "CPClipView.j"
@import "CPMenuItem.j"
@import "CPPanel.j"
#include "Platform/Platform.h"
+6 -6
View File
@@ -20,13 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPCoder.j>
import <Foundation/CPObject.j>
import <Foundation/CPString.j>
@import <Foundation/CPCoder.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPString.j>
import <AppKit/CPImage.j>
import <AppKit/CPMenu.j>
import <AppKit/CPView.j>
@import <AppKit/CPImage.j>
@import <AppKit/CPMenu.j>
@import <AppKit/CPView.j>
/*! @class CPMenuItem
+1 -1
View File
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPTableView.j"
@import "CPTableView.j"
/*!
@ignore
+1 -1
View File
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPWindow.j"
@import "CPWindow.j"
CPOKButton = 1;
+4 -4
View File
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
import <Foundation/CPArray.j>
import <Foundation/CPDictionary.j>
import <Foundation/CPPropertyListSerialization.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPArray.j>
@import <Foundation/CPDictionary.j>
@import <Foundation/CPPropertyListSerialization.j>
CPGeneralPboard = @"CPGeneralPboard";
+4 -4
View File
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPButton.j"
import "CPGeometry.j"
import "CPMenu.j"
import "CPMenuItem.j"
@import "CPButton.j"
@import "CPGeometry.j"
@import "CPMenu.j"
@import "CPMenuItem.j"
var VISIBLE_MARGIN = 7.0;
+4 -3
View File
@@ -20,12 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <AppKit/CGGeometry.j>
import <AppKit/CPImageView.j>
import <AppKit/CPView.j>
@import <AppKit/CGGeometry.j>
@import <AppKit/CPImageView.j>
@import <AppKit/CPView.j>
#include "CoreGraphics/CGGeometry.h"
/*
@global
@group CPProgressIndicatorStyle
+2 -1
View File
@@ -20,7 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
CPDeleteKeyCode = 8;
CPUpArrowKeyCode = 63232;
+4 -3
View File
@@ -20,12 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPView.j"
import "CPClipView.j"
import "CPScroller.j"
@import "CPView.j"
@import "CPClipView.j"
@import "CPScroller.j"
#include "CoreGraphics/CGGeometry.h"
/*! @class CPScrollView
Used to display views that are too large for the viewing area. the <objj>CPScrollView</objj>
+1 -1
View File
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPControl.j"
@import "CPControl.j"
#include "CoreGraphics/CGGeometry.h"
+1 -1
View File
@@ -1,4 +1,4 @@
import "CPTextField.j"
@import "CPTextField.j"
#include "Platform/Platform.h"
+2 -2
View File
@@ -20,9 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPArray.j>
@import <Foundation/CPArray.j>
import "CPControl.j"
@import "CPControl.j"
/*
@global
+2 -1
View File
@@ -20,7 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
/*! @class CPShadow
+6 -5
View File
@@ -20,12 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPBundle.j>
@import <Foundation/CPBundle.j>
@import "CGGeometry.j"
@import "CPImage.j"
@import "CPImageView.j"
@import "CPView.j"
import "CGGeometry.j"
import "CPImage.j"
import "CPImageView.j"
import "CPView.j"
#include "CoreGraphics/CGGeometry.h"
+2 -1
View File
@@ -20,7 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPControl.j"
@import "CPControl.j"
var CPSliderHorizontalKnobImage = nil,
CPSliderHorizontalBarLeftImage = nil,
+6 -5
View File
@@ -20,12 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/Foundation.j>
@import <Foundation/Foundation.j>
@import <AppKit/CPView.j>
@import <AppKit/CPSlider.j>
@import <AppKit/CPColorPicker.j>
@import <AppKit/CPColorPanel.j>
import <AppKit/CPView.j>
import <AppKit/CPSlider.j>
import <AppKit/CPColorPicker.j>
import <AppKit/CPColorPanel.j>
/*
@ignore
+2 -2
View File
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPImage.j"
import "CPView.j"
@import "CPImage.j"
@import "CPView.j"
#include "CoreGraphics/CGGeometry.h"
#include "Platform/Platform.h"
+1 -1
View File
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPString.j>
@import <Foundation/CPString.j>
var CPStringReferenceElement = nil;
+4 -3
View File
@@ -20,12 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPImageView.j"
import "CPTabViewItem.j"
import "CPView.j"
@import "CPImageView.j"
@import "CPTabViewItem.j"
@import "CPView.j"
#include "CoreGraphics/CGGeometry.h"
/*
Places tabs on top with a bezeled border.
@global
+3 -2
View File
@@ -20,9 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
@import <AppKit/CPView.j>
import <AppKit/CPView.j>
/*
The tab is currently selected.
+1 -1
View File
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
@import <Foundation/Foundation.j>
import <Foundation/Foundation.j>
/*
@ignore
+3 -2
View File
@@ -20,12 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPControl.j"
import "CPStringDrawing.j"
@import "CPControl.j"
@import "CPStringDrawing.j"
#include "Platform/Platform.h"
#include "Platform/DOM/CPDOMDisplayServer.h"
/*
@global
@group CPLineBreakMode
+4 -3
View File
@@ -20,10 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
@import "CPPopUpButton.j"
@import "CPToolbarItem.j"
import "CPPopUpButton.j"
import "CPToolbarItem.j"
/*
@global
+5 -4
View File
@@ -20,11 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
import <Foundation/CPString.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPString.j>
@import <AppKit/CPImage.j>
@import <AppKit/CPView.j>
import <AppKit/CPImage.j>
import <AppKit/CPView.j>
/*
@global
+10 -9
View File
@@ -20,17 +20,18 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPArray.j>
import <Foundation/CPObjJRuntime.j>
@import <Foundation/CPArray.j>
@import <Foundation/CPObjJRuntime.j>
import "CGAffineTransform.j"
import "CGGeometry.j"
@import "CGAffineTransform.j"
@import "CGGeometry.j"
@import "CPColor.j"
@import "CPDOMDisplayServer.j"
@import "CPGeometry.j"
@import "CPResponder.j"
@import "CPGraphicsContext.j"
import "CPColor.j"
import "CPDOMDisplayServer.j"
import "CPGeometry.j"
import "CPResponder.j"
import "CPGraphicsContext.j"
#include "Platform/Platform.h"
#include "CoreGraphics/CGAffineTransform.h"
+2 -1
View File
@@ -20,7 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPView.j"
@import "CPView.j"
// FIXME: implement these where possible:
/*
+9 -9
View File
@@ -20,12 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPNotificationCenter.j>
import <Foundation/CPUndoManager.j>
@import <Foundation/CPNotificationCenter.j>
@import <Foundation/CPUndoManager.j>
import "CGGeometry.j"
import "CPAnimation.j"
import "CPResponder.j"
@import "CGGeometry.j"
@import "CPAnimation.j"
@import "CPResponder.j"
#include "Platform/Platform.h"
#include "Platform/DOM/CPDOMDisplayServer.h"
@@ -1750,7 +1750,7 @@ var interpolate = function(fromValue, toValue, progress)
@end
import "CPDragServer.j"
import "CPDOMWindowBridge.j"
import "_CPWindowView.j"
import "CPView.j"
@import "CPDragServer.j"
@import "CPDOMWindowBridge.j"
@import "_CPWindowView.j"
@import "CPView.j"
+6 -5
View File
@@ -20,15 +20,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
import <Foundation/CPString.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPString.j>
import "CPResponder.j"
import "CPWindow.j"
import "CPDocument.j"
@import "CPResponder.j"
@import "CPWindow.j"
@import "CPDocument.j"
#include "Platform/Platform.h"
/*! @class CPWindowController
An instance of a <objj>CPWindowController</objj> manages a <objj>CPWindow</objj>. It has methods
+9 -8
View File
@@ -20,15 +20,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
import <Foundation/CPURLConnection.j>
import <Foundation/CPURLRequest.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPURLConnection.j>
@import <Foundation/CPURLRequest.j>
@import "_CPCibCustomObject.j"
@import "_CPCibCustomView.j"
@import "_CPCibKeyedUnarchiver.j"
@import "_CPCibObjectData.j"
@import "_CPCibWindowTemplate.j"
import "_CPCibCustomObject.j"
import "_CPCibCustomView.j"
import "_CPCibKeyedUnarchiver.j"
import "_CPCibObjectData.j"
import "_CPCibWindowTemplate.j"
CPCibOwner = @"CPCibOwner",
CPCibTopLevelObjects = @"CPCibTopLevelObjects";
+2 -2
View File
@@ -1,6 +1,6 @@
import <Foundation/CPObject.j>
import <Foundation/CPKeyValueCoding.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPKeyValueCoding.j>
var _CPCibConnectorSourceKey = @"_CPCibConnectorSourceKey",
+1 -1
View File
@@ -1,5 +1,5 @@
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
var _CPCibCustomObjectClassName = @"_CPCibCustomObjectClassName";
+1 -1
View File
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPView.j"
@import "CPView.j"
/* @ignore */
+1 -1
View File
@@ -1,5 +1,5 @@
import <Foundation/CPKeyedUnarchiver.j>
@import <Foundation/CPKeyedUnarchiver.j>
@implementation _CPCibKeyedUnarchiver : CPKeyedUnarchiver
+3 -3
View File
@@ -20,9 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPBundle.j>
import <Foundation/CPDictionary.j>
import <Foundation/CPString.j>
@import <Foundation/CPBundle.j>
@import <Foundation/CPDictionary.j>
@import <Foundation/CPString.j>
var CPCibOwner = @"CPCibOwner";
+5 -5
View File
@@ -20,12 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPArray.j>
import <Foundation/CPObject.j>
import <Foundation/CPString.j>
@import <Foundation/CPArray.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPString.j>
import "CPCib.j"
import "_CPCibConnector.j"
@import "CPCib.j"
@import "_CPCibConnector.j"
@implementation _CPCibObjectData : CPObject
+1 -1
View File
@@ -1,5 +1,5 @@
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
var _CPCibWindowTemplateMinSizeKey = @"_CPCibWindowTemplateMinSizeKey",
+3 -3
View File
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
import <Foundation/CPString.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPString.j>
import "CAMediaTimingFunction.j"
@import "CAMediaTimingFunction.j"
/*
This is an animation class.
+3 -2
View File
@@ -20,11 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CGGeometry.j"
import "CPCompatibility.j"
@import "CGGeometry.j"
@import "CPCompatibility.j"
#define PIXEL(pixels) pixels + "px";
function CABackingStoreGetContext(aBackingStore)
{
return aBackingStore.context;
+2 -2
View File
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CALayer.j"
import "CPFlashMovie.j"
@import "CALayer.j"
@import "CPFlashMovie.j"
@implementation CAFlashLayer : CALayer
+4 -4
View File
@@ -20,12 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
import <AppKit/CABackingStore.j>
@import <AppKit/CABackingStore.j>
import <AppKit/CGContext.j>
import <AppKit/CGGeometry.j>
@import <AppKit/CGContext.j>
@import <AppKit/CGGeometry.j>
#include "../CoreGraphics/CGGeometry.h"
#include "../CoreGraphics/CGAffineTransform.j"
+3 -3
View File
@@ -20,9 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
import <Foundation/CPDictionary.j>
import <Foundation/CPString.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPDictionary.j>
@import <Foundation/CPString.j>
kCAMediaTimingFunctionLinear = @"kCAMediaTimingFunctionLinear";
+2 -1
View File
@@ -25,7 +25,8 @@
#define _function(inline) function inline { return _##inline; }
import "CGGeometry.j"
@import "CGGeometry.j"
_function(CGAffineTransformMake(a, b, c, d, tx, ty))
_function(CGAffineTransformMakeIdentity())
+2 -1
View File
@@ -21,7 +21,8 @@
*/
//import "CGPattern.j"
import "CGColorSpace.j"
@import "CGColorSpace.j"
// FIXME: Move this to Objective-J.js!!!
var CFTypeGlobalCount = 0;
+3 -3
View File
@@ -23,9 +23,9 @@
#include "CGGeometry.h"
#include "CGAffineTransform.h"
import "CGGeometry.j"
import "CGAffineTransform.j"
import "CGPath.j"
@import "CGGeometry.j"
@import "CGAffineTransform.j"
@import "CGPath.j"
kCGLineCapButt = 0;
kCGLineCapRound = 1;
+3 -2
View File
@@ -20,8 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CGColor.j"
import "CGColorSpace.j"
@import "CGColor.j"
@import "CGColorSpace.j"
kCGGradientDrawsBeforeStartLocation = 1 << 0;
kCGGradientDrawsAfterEndLocation = 1 << 1;
+3 -2
View File
@@ -23,8 +23,9 @@
#include "CGGeometry.h"
#include "CGAffineTransform.h"
import "CGGeometry.j"
import "CGAffineTransform.j"
@import "CGGeometry.j"
@import "CGAffineTransform.j"
kCGPathElementMoveToPoint = 0;
kCGPathElementAddLineToPoint = 1;
+1 -1
View File
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPRunLoop.j>
@import <Foundation/CPRunLoop.j>
#include "../../CoreGraphics/CGAffineTransform.h"
#include "CPDOMDisplayServer.h"
+5 -5
View File
@@ -20,13 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
import <Foundation/CPRunLoop.j>
@import <Foundation/CPObject.j>
@import <Foundation/CPRunLoop.j>
import "CPEvent.j"
import "CPCompatibility.j"
@import "CPEvent.j"
@import "CPCompatibility.j"
import "CPDOMWindowLayer.j"
@import "CPDOMWindowLayer.j"
#import "../../CoreGraphics/CGGeometry.h"
+2 -2
View File
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPArray.j>
import <Foundation/CPObject.j>
@import <Foundation/CPArray.j>
@import <Foundation/CPObject.j>
#include "CPDOMDisplayServer.h"
+6 -6
View File
@@ -20,13 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPString.j>
@import <Foundation/CPString.j>
import "CPColor.j"
import "CPFont.j"
import "CPImage.j"
import "CPTextField.j"
import "CPView.j"
@import "CPColor.j"
@import "CPFont.j"
@import "CPImage.j"
@import "CPTextField.j"
@import "CPView.j"
#include "Platform/Platform.h"
#include "Platform/DOM/CPDOMDisplayServer.h"
+2 -2
View File
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPView.j"
import "CPImageView.j"
@import "CPView.j"
@import "CPImageView.j"
var _CPWindowViewResizeIndicatorImage = nil;
+5 -5
View File
@@ -20,11 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPRange.j"
import "CPEnumerator.j"
import "CPSortDescriptor.j"
import "CPException.j"
@import "CPObject.j"
@import "CPRange.j"
@import "CPEnumerator.j"
@import "CPSortDescriptor.j"
@import "CPException.j"
/* @ignore */
@implementation _CPArrayEnumerator : CPEnumerator
+3 -2
View File
@@ -20,8 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPDictionary.j"
@import "CPObject.j"
@import "CPDictionary.j"
@implementation CPBundle : CPObject
{
+3 -2
View File
@@ -20,8 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPException.j"
@import "CPObject.j"
@import "CPException.j"
/*! @class CPCoder
Top-level class defining methods for use when archiving (encoding) objects to a byte array
+3 -2
View File
@@ -20,8 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPString.j"
@import "CPObject.j"
@import "CPString.j"
@implementation CPData : CPObject
{
+3 -2
View File
@@ -20,8 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPString.j"
@import "CPObject.j"
@import "CPString.j"
var CPDateReferenceDate = new Date(Date.UTC(2001,1,1,0,0,0,0));
+4 -4
View File
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
//import "CPRange.j"
import "CPObject.j"
import "CPEnumerator.j"
import "CPException.j"
//@import "CPRange.j"
@import "CPObject.j"
@import "CPEnumerator.j"
@import "CPException.j"
/* @ignore */
@implementation _CPDictionaryValueEnumerator : CPEnumerator
+2 -1
View File
@@ -20,7 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
@import "CPObject.j"
/*! @class CPEnumerator
CPEnumerator is a superclass (with useless method bodies)
+3 -3
View File
@@ -20,9 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPCoder.j"
import "CPObject.j"
import "CPString.j"
@import "CPCoder.j"
@import "CPObject.j"
@import "CPString.j"
CPInvalidArgumentException = "CPInvalidArgumentException";
+3 -2
View File
@@ -20,8 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPRange.j"
import "CPObject.j"
@import "CPRange.j"
@import "CPObject.j"
/*! @class CPIndexSet
Instances of this class are collections of numbers. Each integer can appear in a collection only once.
+3 -2
View File
@@ -20,8 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPException.j"
@import "CPObject.j"
@import "CPException.j"
/*! @class CPInvocation
A CPInvocation is an object representation of a message sent to an object.
+2 -1
View File
@@ -20,7 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import <Foundation/CPObject.j>
@import <Foundation/CPObject.j>
CPJSONPConnectionCallbacks = {};
+4 -3
View File
@@ -20,9 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPArray.j"
import "CPObject.j"
import "CPDictionary.j"
@import "CPArray.j"
@import "CPObject.j"
@import "CPDictionary.j"
var CPObjectAccessorsForClass = nil,
CPObjectModifiersForClass = nil;
+5 -4
View File
@@ -20,10 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPArray.j"
import "CPDictionary.j"
import "CPException.j"
import "CPObject.j"
@import "CPArray.j"
@import "CPDictionary.j"
@import "CPException.j"
@import "CPObject.j"
@implementation CPObject (KeyValueObserving)
+8 -7
View File
@@ -20,13 +20,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPData.j"
import "CPCoder.j"
import "CPArray.j"
import "CPString.j"
import "CPNumber.j"
import "CPDictionary.j"
import "CPValue.j"
@import "CPData.j"
@import "CPCoder.j"
@import "CPArray.j"
@import "CPString.j"
@import "CPNumber.j"
@import "CPDictionary.j"
@import "CPValue.j"
var CPArchiverReplacementClassNames = nil;
+2 -2
View File
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPNull.j"
import "CPCoder.j"
@import "CPNull.j"
@import "CPCoder.j"
var _CPKeyedUnarchiverCannotDecodeObjectOfClassNameOriginalClassesSelector = 1,
+3 -2
View File
@@ -20,8 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPException.j"
@import "CPObject.j"
@import "CPException.j"
/*! @class CPNotification
Represents a notification for posting to an CPNotificationCenter. Consists of a name, an object, and an optional dictionary. The notification center will check for observers registered to receive either notifications with the name, the object, or both and pass the notification instance on to them.
+4 -4
View File
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPArray.j"
import "CPDictionary.j"
import "CPNotification.j"
import "CPException.j"
@import "CPArray.j"
@import "CPDictionary.j"
@import "CPNotification.j"
@import "CPException.j"
var CPNotificationDefaultCenter = nil;
+2 -1
View File
@@ -20,7 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
@import "CPObject.j"
var CPNullSharedNull = nil;
+3 -2
View File
@@ -20,8 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPObjJRuntime.j"
@import "CPObject.j"
@import "CPObjJRuntime.j"
var __placeholder = new Number(),
_CPNumberHashes = { };
+2 -1
View File
@@ -20,7 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPLog.j"
@import "CPLog.j"
function CPStringFromSelector(aSelector)
{
+3
View File
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
@import "CPObject.j"
CPPropertyListOpenStepFormat = kCFPropertyListOpenStepFormat;
CPPropertyListXMLFormat_v1_0 = kCFPropertyListXMLFormat_v1_0;
CPPropertyListBinaryFormat_v1_0 = kCFPropertyListBinaryFormat_v1_0;
+3 -3
View File
@@ -20,9 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPArray.j"
import "CPString.j"
@import "CPObject.j"
@import "CPArray.j"
@import "CPString.j"
/*!
@global
+3 -2
View File
@@ -20,8 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPObjJRuntime.j"
@import "CPObject.j"
@import "CPObjJRuntime.j"
/*!
The left operand is smaller than the right.
+4 -3
View File
@@ -20,9 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPException.j"
import "CPSortDescriptor.j"
@import "CPObject.j"
@import "CPException.j"
@import "CPSortDescriptor.j"
/*!
A case insensitive search
+4 -4
View File
@@ -20,10 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
import "CPRunLoop.j"
import "CPURLRequest.j"
import "CPURLResponse.j"
@import "CPObject.j"
@import "CPRunLoop.j"
@import "CPURLRequest.j"
@import "CPURLResponse.j"
var XMLHTTPRequestUninitialized = 0,
+2 -1
View File
@@ -20,7 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import "CPObject.j"
@import "CPObject.j"
/*! @class CPURLRequest
A helper object for CPURLConnection, that contains
Loaded 100 of 124 files, more files were not shown because too many files have changed in this diff. Show more