Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 1d097c4c108cbd9154c2c2c34a39291b6d73184b raycutler committed Jul 16, 2009
Showing with 20,392 additions and 0 deletions.
  1. +20 −0 VVBasics-Info.plist
  2. +26 −0 VVBasics/Info.plist
  3. +10 −0 VVBasics/VVBasics.h
  4. +49 −0 VVBasics/iphoneosSDKSettings.plist
  5. +35 −0 VVBasics/iphonesimulatorSDKSettings.plist
  6. +36 −0 VVBasics/macosxSDKSettings.plist
  7. +91 −0 VVBasics/src/MutLockArray.h
  8. +623 −0 VVBasics/src/MutLockArray.m
  9. +37 −0 VVBasics/src/MutLockDict.h
  10. +168 −0 VVBasics/src/MutLockDict.m
  11. +43 −0 VVBasics/src/MutNRLockArray.h
  12. +167 −0 VVBasics/src/MutNRLockArray.m
  13. +19 −0 VVBasics/src/NamedMutLockArray.h
  14. +38 −0 VVBasics/src/NamedMutLockArray.m
  15. +32 −0 VVBasics/src/ObjectHolder.h
  16. +83 −0 VVBasics/src/ObjectHolder.m
  17. +19 −0 VVBasics/src/VVBasicMacros.h
  18. +21 −0 VVBasics/src/VVStopwatch.h
  19. +47 −0 VVBasics/src/VVStopwatch.m
  20. +32 −0 VVBasics/src/VVThreadLoop.h
  21. +137 −0 VVBasics/src/VVThreadLoop.m
  22. +37 −0 VVMIDI/AppSrc/AppController.h
  23. +151 −0 VVMIDI/AppSrc/AppController.m
  24. +24 −0 VVMIDI/AppSrc/MIDITestApp-Info.plist
  25. +4,467 −0 VVMIDI/AppSrc/MainMenu.xib
  26. +6 −0 VVMIDI/AppSrc/main.m
  27. +22 −0 VVMIDI/FrameworkSrc/VVMIDI-Info.plist
  28. +57 −0 VVMIDI/FrameworkSrc/VVMIDIManager.h
  29. +292 −0 VVMIDI/FrameworkSrc/VVMIDIManager.m
  30. +43 −0 VVMIDI/FrameworkSrc/VVMIDIMessage.h
  31. +209 −0 VVMIDI/FrameworkSrc/VVMIDIMessage.m
  32. +73 −0 VVMIDI/FrameworkSrc/VVMIDINode.h
  33. +636 −0 VVMIDI/FrameworkSrc/VVMIDINode.m
  34. +91 −0 VVMIDI/VVMIDI.h
  35. +64 −0 VVOSC/AppSrc/AppController.h
  36. +475 −0 VVOSC/AppSrc/AppController.m
  37. +5,533 −0 VVOSC/AppSrc/MainMenu.xib
  38. +30 −0 VVOSC/AppSrc/MyOSCManager.h
  39. +37 −0 VVOSC/AppSrc/MyOSCManager.m
  40. +29 −0 VVOSC/AppSrc/OSCInPortRetainsRaw.h
  41. +146 −0 VVOSC/AppSrc/OSCInPortRetainsRaw.m
  42. +24 −0 VVOSC/AppSrc/OSCTestApp-Info.plist
  43. +1 −0 VVOSC/AppSrc/main.m
  44. +65 −0 VVOSC/FrameworkSrc/OSCAddressSpace.h
  45. +279 −0 VVOSC/FrameworkSrc/OSCAddressSpace.m
  46. +43 −0 VVOSC/FrameworkSrc/OSCBundle.h
  47. +165 −0 VVOSC/FrameworkSrc/OSCBundle.m
  48. +96 −0 VVOSC/FrameworkSrc/OSCInPort.h
  49. +358 −0 VVOSC/FrameworkSrc/OSCInPort.m
  50. +129 −0 VVOSC/FrameworkSrc/OSCManager.h
  51. +479 −0 VVOSC/FrameworkSrc/OSCManager.m
  52. +66 −0 VVOSC/FrameworkSrc/OSCMessage.h
  53. +411 −0 VVOSC/FrameworkSrc/OSCMessage.m
  54. +97 −0 VVOSC/FrameworkSrc/OSCNode.h
  55. +451 −0 VVOSC/FrameworkSrc/OSCNode.m
  56. +75 −0 VVOSC/FrameworkSrc/OSCOutPort.h
  57. +205 −0 VVOSC/FrameworkSrc/OSCOutPort.m
  58. +39 −0 VVOSC/FrameworkSrc/OSCPacket.h
  59. +98 −0 VVOSC/FrameworkSrc/OSCPacket.m
  60. +23 −0 VVOSC/FrameworkSrc/OSCStringAdditions.h
  61. +99 −0 VVOSC/FrameworkSrc/OSCStringAdditions.m
  62. +102 −0 VVOSC/FrameworkSrc/OSCValue.h
  63. +392 −0 VVOSC/FrameworkSrc/OSCValue.m
  64. +45 −0 VVOSC/FrameworkSrc/OSCZeroConfDomain.h
  65. +131 −0 VVOSC/FrameworkSrc/OSCZeroConfDomain.m
  66. +39 −0 VVOSC/FrameworkSrc/OSCZeroConfManager.h
  67. +186 −0 VVOSC/FrameworkSrc/OSCZeroConfManager.m
  68. +20 −0 VVOSC/FrameworkSrc/VVOSC-Info.plist
  69. +145 −0 VVOSC/VVOSC.h
  70. +49 −0 VVOSC/iphoneosSDKSettings.plist
  71. +35 −0 VVOSC/iphonesimulatorSDKSettings.plist
  72. +36 −0 VVOSC/macosxSDKSettings.plist
  73. BIN VVOpenSource.xcodeproj/TemplateIcon.icns
  74. +1,779 −0 VVOpenSource.xcodeproj/project.pbxproj
  75. +7 −0 VVOpenSource_Prefix.pch
  76. +23 −0 scripts/assembleIPhoneDevSDK.sh
  77. +23 −0 scripts/assembleIPhoneSimSDK.sh
  78. +15 −0 scripts/assembleMacSDK.sh
  79. +7 −0 scripts/installSDK.sh
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.vidvox.${PRODUCT_NAME:identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>FMWK</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+</dict>
+</plist>
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>com.vidvox.${PRODUCT_NAME:identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>FMWK</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>0.0.1</string>
+ <key>NSPrincipalClass</key>
+ <string></string>
+</dict>
+</plist>
@@ -0,0 +1,10 @@
+
+#import "VVBasicMacros.h"
+
+#import "VVThreadLoop.h"
+#import "VVStopwatch.h"
+#import "ObjectHolder.h"
+#import "MutLockArray.h"
+#import "MutLockDict.h"
+#import "MutNRLockArray.h"
+#import "NamedMutLockArray.h"
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>AlternateSDK</key>
+ <string>vvbasicsiphonesimulator2.0</string>
+ <key>CanonicalName</key>
+ <string>vvbasicsiphoneos2.0</string>
+ <key>CustomProperties</key>
+ <dict/>
+ <key>DefaultProperties</key>
+ <dict>
+ <key>AD_HOC_CODE_SIGNING_ALLOWED</key>
+ <string>NO</string>
+ <key>CODE_SIGN_ENTITLEMENTS</key>
+ <string></string>
+ <key>CODE_SIGN_RESOURCE_RULES_PATH</key>
+ <string>$(SDKROOT)/ResourceRules.plist</string>
+ <key>DEAD_CODE_STRIPPING</key>
+ <string>YES</string>
+ <key>ENTITLEMENTS_REQUIRED</key>
+ <string>YES</string>
+ <key>GCC_THUMB_SUPPORT</key>
+ <string>YES</string>
+ <key>IPHONEOS_DEPLOYMENT_TARGET</key>
+ <string>2.0</string>
+ <key>MACOSX_DEPLOYMENT_TARGET</key>
+ <string>10.5</string>
+ <key>PLATFORM_NAME</key>
+ <string>iphoneos</string>
+ </dict>
+ <key>DisplayName</key>
+ <string>Device - iPhone OS 2.0</string>
+ <key>FamilyIdentifier</key>
+ <string>iphoneos</string>
+ <key>FamilyName</key>
+ <string>iPhone OS</string>
+ <key>IsBaseSDK</key>
+ <string>NO</string>
+ <key>MaximumOSDeploymentTarget</key>
+ <string>10.5</string>
+ <key>MinimalDisplayName</key>
+ <string>Device</string>
+ <key>MinimumSupportedToolsVersion</key>
+ <string>3.1</string>
+ <key>Version</key>
+ <string>2.0</string>
+</dict>
+</plist>
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CanonicalName</key>
+ <string>vvbasicsiphonesimulator2.0</string>
+ <key>CustomProperties</key>
+ <dict/>
+ <key>DefaultProperties</key>
+ <dict>
+ <key>GCC_PRODUCT_TYPE_PREPROCESSOR_DEFINITIONS</key>
+ <string> __IPHONE_OS_VERSION_MIN_REQUIRED=20000</string>
+ <key>MACOSX_DEPLOYMENT_TARGET</key>
+ <string>10.5</string>
+ <key>PLATFORM_NAME</key>
+ <string>iphonesimulator</string>
+ </dict>
+ <key>DisplayName</key>
+ <string>Simulator - iPhone OS 2.0</string>
+ <key>FamilyIdentifier</key>
+ <string>iphoneos</string>
+ <key>FamilyName</key>
+ <string>iPhone OS</string>
+ <key>MaximumDeploymentTarget</key>
+ <string>10.5</string>
+ <key>MinimalDisplayName</key>
+ <string>Simulator</string>
+ <key>MinimumSupportedToolsVersion</key>
+ <string>3.1</string>
+ <key>Version</key>
+ <string>2.0</string>
+ <key>isBaseSDK</key>
+ <string>NO</string>
+</dict>
+</plist>
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CanonicalName</key>
+ <string>vvbasicsmacosx10.5</string>
+ <key>CustomProperties</key>
+ <dict>
+ <key>KERNEL_EXTENSION_HEADER_SEARCH_PATHS</key>
+ <string>$(KERNEL_FRAMEWORK)/PrivateHeaders $(KERNEL_FRAMEWORK_HEADERS)</string>
+ </dict>
+ <key>DefaultProperties</key>
+ <dict>
+ <key>MACOSX_DEPLOYMENT_TARGET</key>
+ <string>10.5</string>
+ <key>PLATFORM_NAME</key>
+ <string>macosx</string>
+ </dict>
+ <key>DisplayName</key>
+ <string>Mac OS X 10.5</string>
+ <key>FamilyIdentifier</key>
+ <string>macosx</string>
+ <key>FamilyName</key>
+ <string>Mac OS X</string>
+ <key>MaximumDeploymentTarget</key>
+ <string>10.5</string>
+ <key>MinimalDisplayName</key>
+ <string>10.5</string>
+ <key>MinimumSupportedToolsVersion</key>
+ <string>3.1</string>
+ <key>Version</key>
+ <string>10.5</string>
+ <key>isBaseSDK</key>
+ <string>NO</string>
+</dict>
+</plist>
@@ -0,0 +1,91 @@
+
+#if IPHONE
+#import <UIKit/UIKit.h>
+#else
+#import <Cocoa/Cocoa.h>
+#endif
+#import <pthread.h>
+
+
+
+
+@interface MutLockArray : NSObject {
+ NSMutableArray *array;
+ pthread_rwlock_t arrayLock;
+}
+
++ (id) arrayWithCapacity:(NSUInteger)c;
+- (id) initWithCapacity:(NSUInteger)c;
+- (id) init;
+
+- (void) rdlock;
+- (void) wrlock;
+- (void) unlock;
+
+- (NSMutableArray *) array;
+- (NSMutableArray *) createArrayCopy;
+- (NSMutableArray *) lockCreateArrayCopy;
+
+- (void) addObject:(id)o;
+- (void) lockAddObject:(id)o;
+- (void) addObjectsFromArray:(id)a;
+- (void) lockAddObjectsFromArray:(id)a;
+- (void) replaceWithObjectsFromArray:(id)a;
+- (void) lockReplaceWithObjectsFromArray:(id)a;
+- (void) insertObject:(id)o atIndex:(NSUInteger)i;
+- (void) lockInsertObject:(id)o atIndex:(NSUInteger)i;
+- (void) removeAllObjects;
+- (void) lockRemoveAllObjects;
+- (id) lastObject;
+- (id) lockLastObject;
+- (void) removeLastObject;
+- (void) lockRemoveLastObject;
+- (void) removeObject:(id)o;
+- (void) lockRemoveObject:(id)o;
+- (void) removeObjectAtIndex:(NSUInteger)i;
+- (void) lockRemoveObjectAtIndex:(NSUInteger)i;
+- (void) removeObjectsAtIndexes:(NSIndexSet *)i;
+- (void) lockRemoveObjectsAtIndexes:(NSIndexSet *)i;
+- (void) removeObjectsInArray:(NSArray *)otherArray;
+- (void) lockRemoveObjectsInArray:(NSArray *)otherArray;
+- (id) valueForKey:(NSString *)key;
+- (id) lockValueForKey:(NSString *)key;
+
+- (BOOL) containsObject:(id)o;
+- (BOOL) lockContainsObject:(id)o;
+
+- (id) objectAtIndex:(NSUInteger)i;
+- (id) lockObjectAtIndex:(NSUInteger)i;
+
+- (NSArray *) objectsAtIndexes:(NSIndexSet *)indexes;
+- (NSArray *) lockObjectsAtIndexes:(NSIndexSet *)indexes;
+
+- (NSUInteger) indexOfObject:(id)o;
+- (NSUInteger) lockIndexOfObject:(id)o;
+
+- (BOOL) containsIdenticalPtr:(id)o;
+- (BOOL) lockContainsIdenticalPtr:(id)o;
+- (int) indexOfIdenticalPtr:(id)o;
+- (int) lockIndexOfIdenticalPtr:(id)o;
+- (void) removeIdenticalPtr:(id)o;
+- (void) lockRemoveIdenticalPtr:(id)o;
+
+- (void) makeObjectsPerformSelector:(SEL)s;
+- (void) lockMakeObjectsPerformSelector:(SEL)s;
+- (void) makeObjectsPerformSelector:(SEL)s withObject:(id)o;
+- (void) lockMakeObjectsPerformSelector:(SEL)s withObject:(id)o;
+
+- (void) makeCopyPerformSelector:(SEL)s;
+- (void) lockMakeCopyPerformSelector:(SEL)s;
+- (void) makeCopyPerformSelector:(SEL)s withObject:(id)o;
+- (void) lockMakeCopyPerformSelector:(SEL)s withObject:(id)o;
+
+- (void) sortUsingSelector:(SEL)s;
+- (void) lockSortUsingSelector:(SEL)s;
+
+- (NSEnumerator *) objectEnumerator;
+- (NSEnumerator *) reverseObjectEnumerator;
+- (NSUInteger) count;
+- (NSUInteger) lockCount;
+
+@end
Oops, something went wrong.

0 comments on commit 1d097c4

Please sign in to comment.