Permalink
Browse files

removing old source

  • Loading branch information...
1 parent f67a67a commit 2edbbdd34da9c2b70fa83d7b1db01c70c545f109 @malkomalko committed May 14, 2010
Showing with 0 additions and 56,868 deletions.
  1. +0 −257 Support/source/CAAnimation.j
  2. +0 −73 Support/source/CABackingStore.j
  3. +0 −50 Support/source/CAFlashLayer.j
  4. +0 −1,203 Support/source/CALayer.j
  5. +0 −102 Support/source/CAMediaTimingFunction.j
  6. +0 −152 Support/source/CGAffineTransform.j
  7. +0 −288 Support/source/CGColor.j
  8. +0 −240 Support/source/CGColorSpace.j
  9. +0 −705 Support/source/CGContext.j
  10. +0 −449 Support/source/CGContextCanvas.j
  11. +0 −320 Support/source/CGContextVML.j
  12. +0 −238 Support/source/CGGeometry.j
  13. +0 −58 Support/source/CGGradient.j
  14. +0 −397 Support/source/CGPath.j
  15. +0 −361 Support/source/CPAccordionView.j
  16. +0 −312 Support/source/CPAlert.j
  17. +0 −347 Support/source/CPAnimation.j
  18. +0 −991 Support/source/CPApplication.j
  19. +0 −464 Support/source/CPArray+KVO.j
  20. +0 −1,236 Support/source/CPArray.j
  21. +0 −844 Support/source/CPAttributedString.j
  22. +0 −291 Support/source/CPBezierPath.j
  23. +0 −244 Support/source/CPBox.j
  24. +0 −197 Support/source/CPBundle.j
  25. +0 −647 Support/source/CPButton.j
  26. +0 −61 Support/source/CPButtonBar.j
  27. +0 −64 Support/source/CPCheckBox.j
  28. +0 −220 Support/source/CPClipView.j
  29. +0 −160 Support/source/CPCoder.j
  30. +0 −733 Support/source/CPCollectionView.j
  31. +0 −85 Support/source/CPCollectionViewItem.j
  32. +0 −791 Support/source/CPColor.j
  33. +0 −662 Support/source/CPColorPanel.j
  34. +0 −375 Support/source/CPColorPicker.j
  35. +0 −308 Support/source/CPColorWell.j
  36. +0 −208 Support/source/CPCompatibility.j
  37. +0 −781 Support/source/CPControl.j
  38. +0 −114 Support/source/CPCookie.j
  39. +0 −109 Support/source/CPCountedSet.j
  40. +0 −120 Support/source/CPData.j
  41. +0 −162 Support/source/CPDate.j
  42. +0 −611 Support/source/CPDictionary.j
  43. +0 −926 Support/source/CPDocument.j
  44. +0 −456 Support/source/CPDocumentController.j
  45. +0 −436 Support/source/CPDragServer.j
  46. +0 −59 Support/source/CPEnumerator.j
  47. +0 −494 Support/source/CPEvent.j
  48. +0 −197 Support/source/CPException.j
  49. +0 −61 Support/source/CPFlashMovie.j
  50. +0 −112 Support/source/CPFlashView.j
  51. +0 −161 Support/source/CPFont.j
  52. +0 −174 Support/source/CPFontManager.j
  53. +0 −509 Support/source/CPGeometry.j
  54. +0 −84 Support/source/CPGraphicsContext.j
  55. +0 −460 Support/source/CPImage.j
  56. +0 −462 Support/source/CPImageView.j
  57. +0 −947 Support/source/CPIndexSet.j
  58. +0 −197 Support/source/CPInvocation.j
  59. +0 −142 Support/source/CPJSONPConnection.j
  60. +0 −281 Support/source/CPKeyValueCoding.j
  61. +0 −589 Support/source/CPKeyValueObserving.j
  62. +0 −602 Support/source/CPKeyedArchiver.j
  63. +0 −514 Support/source/CPKeyedUnarchiver.j
  64. +0 −376 Support/source/CPLog.j
  65. +0 −2,014 Support/source/CPMenu.j
  66. +0 −1,278 Support/source/CPMenuItem.j
  67. +0 −125 Support/source/CPNotification.j
  68. +0 −356 Support/source/CPNotificationCenter.j
  69. +0 −60 Support/source/CPNull.j
  70. +0 −331 Support/source/CPNumber.j
  71. +0 −69 Support/source/CPObjJRuntime.j
  72. +0 −530 Support/source/CPObject.j
  73. +0 −46 Support/source/CPOpenPanel.j
  74. +0 −853 Support/source/CPOutlineView.j
  75. +0 −117 Support/source/CPPanel.j
  76. +0 −375 Support/source/CPPasteboard.j
  77. +0 −750 Support/source/CPPopUpButton.j
  78. +0 −478 Support/source/CPProgressIndicator.j
  79. +0 −46 Support/source/CPPropertyListSerialization.j
  80. +0 −254 Support/source/CPRadio.j
  81. +0 −175 Support/source/CPRange.j
  82. +0 −362 Support/source/CPResponder.j
  83. +0 −389 Support/source/CPRunLoop.j
  84. +0 −67 Support/source/CPSavePanel.j
  85. +0 −16 Support/source/CPScreen.j
  86. +0 −777 Support/source/CPScrollView.j
  87. +0 −619 Support/source/CPScroller.j
  88. +0 −706 Support/source/CPSearchField.j
  89. +0 −16 Support/source/CPSecureTextField.j
  90. +0 −942 Support/source/CPSegmentedControl.j
  91. +0 −511 Support/source/CPSet.j
  92. +0 −102 Support/source/CPShadow.j
  93. +0 −180 Support/source/CPShadowView.j
  94. +0 −456 Support/source/CPSlider.j
  95. +0 −416 Support/source/CPSliderColorPicker.j
  96. +0 −151 Support/source/CPSortDescriptor.j
  97. +0 −602 Support/source/CPSplitView.j
  98. +0 −715 Support/source/CPString.j
  99. +0 −48 Support/source/CPStringDrawing.j
  100. +0 −790 Support/source/CPTabView.j
  101. +0 −206 Support/source/CPTabViewItem.j
  102. +0 −435 Support/source/CPTableColumn.j
  103. +0 −145 Support/source/CPTableHeaderView.j
  104. +0 −1,841 Support/source/CPTableView.j
  105. +0 −1,019 Support/source/CPTextField.j
  106. +0 −588 Support/source/CPTheme.j
  107. +0 −79 Support/source/CPThemeBlend.j
  108. +0 −288 Support/source/CPTimer.j
  109. +0 −1,033 Support/source/CPToolbar.j
  110. +0 −565 Support/source/CPToolbarItem.j
  111. +0 −82 Support/source/CPTreeNode.j
  112. +0 −598 Support/source/CPURL.j
  113. +0 −283 Support/source/CPURLConnection.j
  114. +0 −160 Support/source/CPURLRequest.j
  115. +0 −92 Support/source/CPURLResponse.j
  116. +0 −720 Support/source/CPUndoManager.j
  117. +0 −98 Support/source/CPUserSessionManager.j
  118. +0 −114 Support/source/CPValue.j
  119. +0 −2,549 Support/source/CPView.j
  120. +0 −213 Support/source/CPViewController.j
  121. +0 −214 Support/source/CPWebDAVManager.j
  122. +0 −619 Support/source/CPWebView.j
  123. +0 −2,487 Support/source/CPWindow.j
  124. +0 −464 Support/source/CPWindowController.j
  125. +0 −82 Support/source/_CPBorderlessBridgeWindowView.j
  126. +0 −29 Support/source/_CPBorderlessWindowView.j
  127. +0 −18 Support/source/_CPCornerView.j
  128. +0 −111 Support/source/_CPDisplayServer.j
  129. +0 −50 Support/source/_CPDocModalWindowView.j
  130. +0 −214 Support/source/_CPHUDWindowView.j
  131. +0 −707 Support/source/_CPImageAndTextView.j
  132. +0 −408 Support/source/_CPStandardWindowView.j
  133. +0 −366 Support/source/_CPWindowView.j
@@ -1,257 +0,0 @@
-/*
- * CAAnimation.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 <Foundation/CPObject.j>
-@import <Foundation/CPString.j>
-
-@import "CAMediaTimingFunction.j"
-
-/*
- This is an animation class.
-*/
-@implementation CAAnimation : CPObject
-{
- BOOL _isRemovedOnCompletion;
- id _delegate;
-}
-
-/*!
- Creates a new CAAnimation instance
- @return a new CAAnimation instance
-*/
-+ (id)animation
-{
- return [[self alloc] init];
-}
-
-- (id)init
-{
- self = [super init];
-
- if (self)
- _isRemovedOnCompletion = YES;
-
- return self;
-}
-
-/*!
- Returns \c YES
- @return \c YES
-*/
-- (void)shouldArchiveValueForKey:(CPString)aKey
-{
- return YES;
-}
-
-/*!
- Returns \c nil
- @return \c nil
-*/
-+ (id)defaultValueForKey:(CPString)aKey
-{
- return nil;
-}
-
-/*!
- Specifies whether this animation should be removed after it has completed.
- @param \c YES means the animation should be removed
-*/
-- (void)setRemovedOnCompletion:(BOOL)isRemovedOnCompletion
-{
- _isRemovedOnCompletion = isRemovedOnCompletion;
-}
-
-/*!
- Returns \c YES if the animation is removed after completion
-*/
-- (BOOL)removedOnCompletion
-{
- return _isRemovedOnCompletion;
-}
-
-/*!
- Returns \c YES if the animation is removed after completion
-*/
-- (BOOL)isRemovedOnCompletion
-{
- return _isRemovedOnCompletion;
-}
-
-/*!
- Returns the animation's timing function. If \c nil, then it has a linear pacing.
-*/
-- (CAMediaTimingFunction)timingFunction
-{
- // Linear Pacing
- return nil;
-}
-
-/*!
- Sets the animation delegate
- @param aDelegate the new delegate
-*/
-- (void)setDelegate:(id)aDelegate
-{
- _delegate = aDelegate;
-}
-
-/*!
- Returns the animation's delegate
-*/
-- (id)delegate
-{
- return _delegate;
-}
-
-- (void)runActionForKey:(CPString)aKey object:(id)anObject arguments:(CPDictionary)arguments
-{
- [anObject addAnimation:self forKey:aKey];
-}
-
-@end
-
-/*
-
-*/
-@implementation CAPropertyAnimation : CAAnimation
-{
- CPString _keyPath;
-
- BOOL _isCumulative;
- BOOL _isAdditive;
-}
-
-+ (id)animationWithKeyPath:(CPString)aKeyPath
-{
- var animation = [self animation];
-
- [animation setKeyPath:aKeyPath];
-
- return animation;
-}
-
-- (void)setKeyPath:(CPString)aKeyPath
-{
- _keyPath = aKeyPath;
-}
-
-- (CPString)keyPath
-{
- return _keyPath;
-}
-
-- (void)setCumulative:(BOOL)isCumulative
-{
- _isCumulative = isCumulative;
-}
-
-- (BOOL)cumulative
-{
- return _isCumulative;
-}
-
-- (BOOL)isCumulative
-{
- return _isCumulative;
-}
-
-- (void)setAdditive:(BOOL)isAdditive
-{
- _isAdditive = isAdditive;
-}
-
-- (BOOL)additive
-{
- return _isAdditive;
-}
-
-- (BOOL)isAdditive
-{
- return _isAdditive;
-}
-
-@end
-
-/*!
- A CABasicAnimation is a simple animation that moves a
- CALayer from one point to another over a specified
- period of time.
-*/
-@implementation CABasicAnimation : CAPropertyAnimation
-{
- id _fromValue;
- id _toValue;
- id _byValue;
-}
-
-/*!
- Sets the starting position for the animation.
- @param aValue the animation starting position
-*/
-- (void)setFromValue:(id)aValue
-{
- _fromValue = aValue;
-}
-
-/*!
- Returns the animation's starting position.
-*/
-- (id)fromValue
-{
- return _fromValue;
-}
-
-/*!
- Sets the ending position for the animation.
- @param aValue the animation ending position
-*/
-- (void)setToValue:(id)aValue
-{
- _toValue = aValue;
-}
-
-/*!
- Returns the animation's ending position.
-*/
-- (id)toValue
-{
- return _toValue;
-}
-
-/*!
- Sets the optional byValue for animation interpolation.
- @param aValue the byValue
-*/
-- (void)setByValue:(id)aValue
-{
- _byValue = aValue;
-}
-
-/*!
- Returns the animation's byValue.
-*/
-- (id)byValue
-{
- return _byValue;
-}
-
-@end
@@ -1,73 +0,0 @@
-/*
- * CABackingStore.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 "CGGeometry.j"
-@import "CPCompatibility.j"
-
-#define PIXEL(pixels) pixels + "px";
-
-
-function CABackingStoreGetContext(aBackingStore)
-{
- return aBackingStore.context;
-}
-
-if (CPFeatureIsCompatible(CPHTMLCanvasFeature))
-{
-
-CABackingStoreCreate = function()
-{
- var DOMElement = document.createElement("canvas");
-
- DOMElement.style.position = "absolute";
-
- // FIXME: Consolidate drawImage to support this.
- return { context:DOMElement.getContext("2d"), buffer:DOMElement, _image:DOMElement };
-}
-
-CABackingStoreSetSize = function(aBackingStore, aSize)
-{
- var buffer = aBackingStore.buffer;
-
- buffer.width = aSize.width;
- buffer.height = aSize.height;
- buffer.style.width = PIXEL(aSize.width);
- buffer.style.height = PIXEL(aSize.height);
-}
-}
-else
-{
-
-CABackingStoreCreate = function()
-{
- var context = CGBitmapGraphicsContextCreate();
-
- context.buffer = "";
-
- return { context:context };
-}
-
-CABackingStoreSetSize = function(aBackingStore, aSize)
-{
-}
-
-}
@@ -1,50 +0,0 @@
-/*
- * CAFlashLayer.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 "CALayer.j"
-@import "CPFlashMovie.j"
-
-
-@implementation CAFlashLayer : CALayer
-{
- CPFlashMovie _flashMovie;
-}
-
-- (void)setFlashMovie:(CPFlashMovie)aFlashMovie
-{
- if (_flashMovie == aFlashMovie)
- return;
-
- _flashMovie = aFlashMovie;
-
- _DOMElement.innerHTML = "<object width = \"100%\" height = \"100%\"><param name = \"movie\" value = \"" +
- aFlashMovie._fileName +
- "\"></param><param name = \"wmode\" value = \"transparent\"></param><embed src = \"" +
- aFlashMovie._fileName + "\" type = \"application/x-shockwave-flash\" wmode = \"transparent\" width = \"100%\" height = \"100%\"></embed></object>";
-}
-
-- (CPFlashMovie)flashMovie
-{
- return _flashMovie;
-}
-
-@end
Oops, something went wrong.

0 comments on commit 2edbbdd

Please sign in to comment.