summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Guzzo <andrea.guzzo@booking.com>2013-03-01 16:05:53 (GMT)
committer Andrea Guzzo <andrea.guzzo@booking.com>2013-03-01 16:05:53 (GMT)
commitf0e631df8cadcbdb83c11422f1a9b71cda93255b (patch)
tree37d9884bc0a4327b93921f0d155d67a1dddd44a5
parent4167aea761c5803fa742d78c8e502b6bfbed267c (diff)
work in progress on splitting the gui from the core
updated code to work with newer v8 library
-rw-r--r--JMX-Core_Prefix.pch8
-rw-r--r--JMX.xcodeproj/project.pbxproj995
-rw-r--r--JMXGlobals.h8
-rw-r--r--core/JMXAttribute.mm4
-rw-r--r--core/JMXByteArray.mm4
-rw-r--r--core/JMXCDATA.mm16
-rw-r--r--core/JMXCanvasElement.mm2
-rw-r--r--core/JMXCanvasGradient.mm4
-rw-r--r--core/JMXCanvasPattern.mm2
-rw-r--r--core/JMXDrawPath.mm92
-rw-r--r--core/JMXElement.mm4
-rw-r--r--core/JMXEntity.mm16
-rw-r--r--core/JMXEvent.mm2
-rw-r--r--core/JMXEventListener.mm4
-rw-r--r--core/JMXGraph.mm14
-rw-r--r--core/JMXImageData.mm4
-rw-r--r--core/JMXPin.mm24
-rw-r--r--core/JMXPoint.mm4
-rw-r--r--core/JMXRect.mm4
-rw-r--r--core/JMXScript.mm26
-rw-r--r--core/JMXScriptInputPin.mm2
-rw-r--r--core/JMXScriptOutputPin.mm2
-rw-r--r--core/JMXScriptPinWrapper.mm4
-rw-r--r--core/JMXScriptTimer.mm2
-rw-r--r--core/JMXSize.mm4
-rw-r--r--core/JMXThreadedEntity.mm4
-rw-r--r--core/JMXV8.h4
-rw-r--r--core/JMXV8PropertyAccessors.mm30
-rw-r--r--core/NSColor+V8.mm4
-rw-r--r--core/NSDictionary+V8.mm18
-rw-r--r--core/NSFont+V8.mm2
-rw-r--r--core/NSObject+V8.mm2
-rw-r--r--core/NSXMLNode+V8.mm96
-rw-r--r--entities/JMXAudioCapture.mm14
-rw-r--r--entities/JMXAudioSpectrumAnalyzer.mm22
-rw-r--r--entities/JMXDrawEntity.mm28
-rw-r--r--entities/JMXScriptEntity.mm8
-rw-r--r--entities/JMXVideoCapture.mm14
-rw-r--r--entities/JMXVideoFilter.mm6
-rw-r--r--entities/JMXVideoOutput.mm10
-rw-r--r--entities/audio/JMXAudioFileEntity.mm8
-rw-r--r--entities/video/JMXImageEntity.mm8
-rw-r--r--entities/video/JMXQtMovieEntity.mm14
-rw-r--r--entities/video/JMXTextEntity.mm12
-rw-r--r--node.js/fs_event_wrap.cc2
-rw-r--r--node.js/handle_wrap.cc6
-rw-r--r--node.js/node_object_wrap.h4
-rw-r--r--node.js/pipe_wrap.cc6
-rw-r--r--node.js/process_wrap.cc2
-rw-r--r--node.js/stream_wrap.cc6
-rw-r--r--node.js/tcp_wrap.cc4
-rw-r--r--node.js/timer_wrap.cc2
-rw-r--r--node.js/tty_wrap.cc2
-rw-r--r--node.js/udp_wrap.cc2
-rw-r--r--node.js/v8_typed_array.cc8
55 files changed, 871 insertions, 728 deletions
diff --git a/JMX-Core_Prefix.pch b/JMX-Core_Prefix.pch
new file mode 100644
index 0000000..8abd570
--- /dev/null
+++ b/JMX-Core_Prefix.pch
@@ -0,0 +1,8 @@
+//
+// Prefix header for all source files of the 'JMX' target in the 'JMX' project
+//
+
+#ifdef __OBJC__
+#import <Cocoa/Cocoa.h>
+#import "JMXGlobals.h"
+#endif
diff --git a/JMX.xcodeproj/project.pbxproj b/JMX.xcodeproj/project.pbxproj
index 299e65d..8a40ecd 100644
--- a/JMX.xcodeproj/project.pbxproj
+++ b/JMX.xcodeproj/project.pbxproj
@@ -9,8 +9,6 @@
/* Begin PBXBuildFile section */
1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* MainMenu.xib */; };
256AC3DA0F4B6AC300CF3369 /* JMXAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 256AC3D90F4B6AC300CF3369 /* JMXAppDelegate.m */; };
- 82456BC41223DC8300236FE4 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82456BC31223DC8300236FE4 /* OpenGL.framework */; };
- 82456BC81223DC9900236FE4 /* QTKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82456BC71223DC9900236FE4 /* QTKit.framework */; };
82456BCC1223DCA700236FE4 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82456BCB1223DCA700236FE4 /* QuartzCore.framework */; };
824576451227DF5800236FE4 /* JMXPinLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 8245763D1227DF5800236FE4 /* JMXPinLayer.m */; };
825C30DC1275AD32006376B8 /* JMXBoardInputString.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C30C91275AD32006376B8 /* JMXBoardInputString.m */; };
@@ -20,39 +18,6 @@
825C30E21275AD32006376B8 /* JMXEntityInspectorPanel.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C30D51275AD32006376B8 /* JMXEntityInspectorPanel.m */; };
825C30E31275AD32006376B8 /* JMXEntityLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C30D71275AD32006376B8 /* JMXEntityLayer.m */; };
825C30E41275AD32006376B8 /* JMXOutletLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C30D91275AD32006376B8 /* JMXOutletLayer.m */; };
- 825C31101275ADB6006376B8 /* JMXQtExporter.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C30E71275ADB6006376B8 /* JMXQtExporter.m */; };
- 825C31111275ADB6006376B8 /* JMXCoreImageFilter.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30EA1275ADB6006376B8 /* JMXCoreImageFilter.mm */; };
- 825C31121275ADB6006376B8 /* JMXAudioFileEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30ED1275ADB6006376B8 /* JMXAudioFileEntity.mm */; };
- 825C31131275ADB6006376B8 /* JMXImageEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30EF1275ADB6006376B8 /* JMXImageEntity.mm */; };
- 825C31141275ADB6006376B8 /* JMXQtAudioCaptureEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30F11275ADB6006376B8 /* JMXQtAudioCaptureEntity.mm */; };
- 825C31151275ADB6006376B8 /* JMXQtVideoCaptureEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30F31275ADB6006376B8 /* JMXQtVideoCaptureEntity.mm */; };
- 825C31161275ADB6006376B8 /* JMXQtMovieEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30F51275ADB6006376B8 /* JMXQtMovieEntity.mm */; };
- 825C31171275ADB6006376B8 /* JMXCoreAudioOutput.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30F81275ADB6006376B8 /* JMXCoreAudioOutput.mm */; };
- 825C31181275ADB6006376B8 /* JMXQtAudioOutput.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C30FA1275ADB6006376B8 /* JMXQtAudioOutput.m */; };
- 825C31191275ADB6006376B8 /* JMXOpenGLScreen.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30FD1275ADB6006376B8 /* JMXOpenGLScreen.mm */; };
- 825C311A1275ADB6006376B8 /* JMXSoftScreen.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C30FF1275ADB6006376B8 /* JMXSoftScreen.m */; };
- 825C311B1275ADB6006376B8 /* JMXAudioMixer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31011275ADB6006376B8 /* JMXAudioMixer.mm */; };
- 825C311C1275ADB6006376B8 /* JMXAudioOutput.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31031275ADB6006376B8 /* JMXAudioOutput.mm */; };
- 825C311E1275ADB6006376B8 /* JMXAudioSpectrumAnalyzer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31071275ADB6006376B8 /* JMXAudioSpectrumAnalyzer.mm */; };
- 825C311F1275ADB6006376B8 /* JMXExporter.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31091275ADB6006376B8 /* JMXExporter.m */; };
- 825C31201275ADB6006376B8 /* JMXVideoEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C310B1275ADB6006376B8 /* JMXVideoEntity.mm */; };
- 825C31211275ADB6006376B8 /* JMXVideoMixer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C310D1275ADB6006376B8 /* JMXVideoMixer.mm */; };
- 825C31221275ADB6006376B8 /* JMXVideoOutput.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C310F1275ADB6006376B8 /* JMXVideoOutput.mm */; };
- 825C31461275ADD7006376B8 /* JMXAudioBuffer.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31241275ADD6006376B8 /* JMXAudioBuffer.m */; };
- 825C31471275ADD7006376B8 /* JMXAudioDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31261275ADD6006376B8 /* JMXAudioDevice.m */; };
- 825C31481275ADD7006376B8 /* JMXAudioFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31281275ADD6006376B8 /* JMXAudioFile.m */; };
- 825C31491275ADD7006376B8 /* JMXAudioFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C312A1275ADD6006376B8 /* JMXAudioFormat.m */; };
- 825C314B1275ADD7006376B8 /* JMXContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C312E1275ADD6006376B8 /* JMXContext.m */; };
- 825C314C1275ADD7006376B8 /* JMXEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31301275ADD6006376B8 /* JMXEntity.mm */; };
- 825C314D1275ADD7006376B8 /* JMXInputPin.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31331275ADD6006376B8 /* JMXInputPin.m */; };
- 825C314E1275ADD7006376B8 /* JMXOutputPin.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31351275ADD6006376B8 /* JMXOutputPin.m */; };
- 825C314F1275ADD7006376B8 /* JMXPin.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31371275ADD6006376B8 /* JMXPin.mm */; };
- 825C31501275ADD7006376B8 /* JMXPinSignal.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31391275ADD7006376B8 /* JMXPinSignal.m */; };
- 825C31511275ADD7006376B8 /* JMXPoint.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C313B1275ADD7006376B8 /* JMXPoint.mm */; };
- 825C31521275ADD7006376B8 /* JMXRingBuffer.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C313D1275ADD7006376B8 /* JMXRingBuffer.m */; };
- 825C31531275ADD7006376B8 /* JMXSize.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31411275ADD7006376B8 /* JMXSize.mm */; };
- 825C31541275ADD7006376B8 /* JMXSpectrumAnalyzer.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31431275ADD7006376B8 /* JMXSpectrumAnalyzer.m */; };
- 825C31551275ADD7006376B8 /* JMXThreadedEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31451275ADD7006376B8 /* JMXThreadedEntity.mm */; };
825C31841275AF03006376B8 /* JMXEntityLabelLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31831275AF03006376B8 /* JMXEntityLabelLayer.m */; };
825C318A1275AF4B006376B8 /* JMXOutletLabelLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31891275AF4B006376B8 /* JMXOutletLabelLayer.m */; };
825C319D1275AFB6006376B8 /* JMXLibraryTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C319A1275AFB6006376B8 /* JMXLibraryTableView.m */; };
@@ -60,24 +25,226 @@
82A21F5E12902EE50002738B /* JMXDocumentSplitViewDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 82A21F5D12902EE50002738B /* JMXDocumentSplitViewDelegate.m */; };
82A2206D129091910002738B /* JMXBoardViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 82A2206C129091910002738B /* JMXBoardViewController.m */; };
82A220CA129098A60002738B /* JMXWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 82A220C9129098A60002738B /* JMXWindowController.m */; };
- 82AD7F701289F3C300C85EB1 /* JMXOpenGLDraw.mm in Sources */ = {isa = PBXBuildFile; fileRef = 82AD7F6F1289F3C300C85EB1 /* JMXOpenGLDraw.mm */; };
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
- 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
- AA004D8214E7148600009CF9 /* JMXPhidgetEncoderEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA004D8114E7148600009CF9 /* JMXPhidgetEncoderEntity.mm */; };
- AA02230F14D8BB8C00E7908F /* JMXScriptPinWrapper.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA02230E14D8BB8C00E7908F /* JMXScriptPinWrapper.mm */; };
AA08D33B14B5AA4500D19015 /* JMXCodePanel.m in Sources */ = {isa = PBXBuildFile; fileRef = AA08D33A14B5AA4400D19015 /* JMXCodePanel.m */; };
AA0A89BD1675E02800FF784F /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA0A89BC1675E02800FF784F /* AudioUnit.framework */; };
- AA0A89C01675E09C00FF784F /* JMXAudioToneGenerator.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA0A89BF1675E09C00FF784F /* JMXAudioToneGenerator.mm */; };
- AA0BFDFE1587E5B600D3C8E4 /* Phidget21.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA0BFDFD1587E5B600D3C8E4 /* Phidget21.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
- AA1E53AD14AE114D00F80337 /* JMXGraphFragment.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA1E53AC14AE114D00F80337 /* JMXGraphFragment.mm */; };
- AA2BE3F312353BA6006087E7 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA2BE3F212353BA6006087E7 /* CoreAudio.framework */; };
- AA2BE40B12353D5C006087E7 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA2BE40A12353D5C006087E7 /* Accelerate.framework */; };
- AA3557441277468800EAA2E4 /* JMXTextRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = AA3557001277347300EAA2E4 /* JMXTextRenderer.m */; };
- AA3557451277468800EAA2E4 /* JMXTextEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA3556F51277340200EAA2E4 /* JMXTextEntity.mm */; };
- AA3557DA12795C5500EAA2E4 /* JMXDrawEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA3557D912795C5500EAA2E4 /* JMXDrawEntity.mm */; };
+ AA2C746416DFA74000B623C2 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
+ AA2C747216DFA7B400B623C2 /* NSNumber+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9B58D614FE1E4F00F63C33 /* NSNumber+V8.mm */; };
+ AA2C747316DFA7B400B623C2 /* NSString+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9B58D814FE1E4F00F63C33 /* NSString+V8.mm */; };
+ AA2C747416DFA7B400B623C2 /* NSObject+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAEF982514FAE810006B9F8B /* NSObject+V8.mm */; };
+ AA2C747516DFA7B400B623C2 /* NSDictionary+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAEF982214FAE6B7006B9F8B /* NSDictionary+V8.mm */; };
+ AA2C747616DFA7B400B623C2 /* NSXMLNode+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAC6334512D36DA900B69DFE /* NSXMLNode+V8.mm */; };
+ AA2C747716DFA7B400B623C2 /* NSFont+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AACCC73E14A921B500D44D71 /* NSFont+V8.mm */; };
+ AA2C747816DFA7B400B623C2 /* JMXV8PropertyAccessors.mm in Sources */ = {isa = PBXBuildFile; fileRef = AACE7D321293195600FBDC0D /* JMXV8PropertyAccessors.mm */; };
+ AA2C747916DFA7B400B623C2 /* JMXGraph.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAC6323012CFC72B00B69DFE /* JMXGraph.mm */; };
+ AA2C747A16DFA7B400B623C2 /* JMXElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAC6323B12CFCAB900B69DFE /* JMXElement.mm */; };
+ AA2C747B16DFA7B400B623C2 /* JMXGraphFragment.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA1E53AC14AE114D00F80337 /* JMXGraphFragment.mm */; };
+ AA2C747C16DFA7B400B623C2 /* JMXCDATA.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAC6376212D5099400B69DFE /* JMXCDATA.mm */; };
+ AA2C747D16DFA7B400B623C2 /* JMXAttribute.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAC637DF12D5204C00B69DFE /* JMXAttribute.mm */; };
+ AA2C747E16DFA7B400B623C2 /* JMXPoint.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C313B1275ADD7006376B8 /* JMXPoint.mm */; };
+ AA2C747F16DFA7B400B623C2 /* NSColor+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD13C49128EF2AB00ECB03A /* NSColor+V8.mm */; };
+ AA2C748016DFA7B400B623C2 /* JMXSize.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31411275ADD7006376B8 /* JMXSize.mm */; };
+ AA2C748116DFA7B400B623C2 /* JMXRect.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9C19D312E4BDD500329158 /* JMXRect.mm */; };
+ AA2C748216DFA7B400B623C2 /* JMXScript.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAFAAD87129095EB00949028 /* JMXScript.mm */; };
+ AA2C748316DFA7B400B623C2 /* JMXCanvasElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9C17FB12E200C400329158 /* JMXCanvasElement.mm */; };
+ AA2C748416DFA7B400B623C2 /* JMXCanvasGradient.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9C18D912E2FC1000329158 /* JMXCanvasGradient.mm */; };
+ AA2C748516DFA7B400B623C2 /* JMXCanvasPattern.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9C190E12E32B0600329158 /* JMXCanvasPattern.mm */; };
+ AA2C748616DFA7B400B623C2 /* JMXImageElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9C1A4812E5964C00329158 /* JMXImageElement.mm */; };
+ AA2C748716DFA7B400B623C2 /* JMXScriptTimer.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA93701C14CC2FFA001D9BB3 /* JMXScriptTimer.mm */; };
+ AA2C748816DFA7B400B623C2 /* JMXEvent.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAEA251B14D4D5A000533049 /* JMXEvent.mm */; };
+ AA2C748916DFA7B400B623C2 /* JMXImageData.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAB71A0614D6BF0200BE8C35 /* JMXImageData.mm */; };
+ AA2C748A16DFA7B400B623C2 /* JMXUint8ClampedArray.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAB71A0914D6D89D00BE8C35 /* JMXUint8ClampedArray.mm */; };
+ AA2C748B16DFA7B400B623C2 /* JMXByteArray.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAEF981F14FAD2ED006B9F8B /* JMXByteArray.mm */; };
+ AA2C748C16DFA7B400B623C2 /* JMXEventListener.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAB71A0C14D7585400BE8C35 /* JMXEventListener.mm */; };
+ AA2C748D16DFA7B400B623C2 /* JMXMouseEvent.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD751D414E9462F008B1085 /* JMXMouseEvent.mm */; };
+ AA2C748E16DFA7B400B623C2 /* JMXKeyboardEvent.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD751D714E98DD2008B1085 /* JMXKeyboardEvent.mm */; };
+ AA2C748F16DFA7B400B623C2 /* JMXScriptPinWrapper.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA02230E14D8BB8C00E7908F /* JMXScriptPinWrapper.mm */; };
+ AA2C749016DFA7B400B623C2 /* JMXScriptInputPin.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD751DA14E9AFF8008B1085 /* JMXScriptInputPin.mm */; };
+ AA2C749116DFA7B400B623C2 /* JMXScriptOutputPin.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD751DD14E9B017008B1085 /* JMXScriptOutputPin.mm */; };
+ AA2C749216DFA7D400B623C2 /* ImmrHIDUtilAddOn.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF980614FA5BFD006B9F8B /* ImmrHIDUtilAddOn.c */; };
+ AA2C749316DFA7D400B623C2 /* IOHIDDevice_.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF980814FA5BFD006B9F8B /* IOHIDDevice_.c */; };
+ AA2C749416DFA7D400B623C2 /* IOHIDElement_.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF980A14FA5BFD006B9F8B /* IOHIDElement_.c */; };
+ AA2C749516DFA7D400B623C2 /* HID_Utilities.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF97F614FA5BF3006B9F8B /* HID_Utilities.c */; };
+ AA2C749616DFA7D400B623C2 /* HID_Queue_Utilities.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF97F914FA5BF3006B9F8B /* HID_Queue_Utilities.c */; };
+ AA2C749716DFA7D400B623C2 /* HID_Name_Lookup.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF97FB14FA5BF3006B9F8B /* HID_Name_Lookup.c */; };
+ AA2C749816DFA7D400B623C2 /* HID_Error_Handler.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF97FD14FA5BF3006B9F8B /* HID_Error_Handler.c */; };
+ AA2C749916DFA7D400B623C2 /* HID_Config_Utilities.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF97FF14FA5BF3006B9F8B /* HID_Config_Utilities.c */; };
+ AA2C749A16DFA84100B623C2 /* cares_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3753614CCBE8700347F40 /* cares_wrap.cc */; };
+ AA2C749B16DFA84100B623C2 /* fs_event_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3753714CCBE8700347F40 /* fs_event_wrap.cc */; };
+ AA2C749C16DFA84100B623C2 /* handle_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3753814CCBE8700347F40 /* handle_wrap.cc */; };
+ AA2C749D16DFA84100B623C2 /* node.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3753B14CCBE8700347F40 /* node.cc */; };
+ AA2C749E16DFA84100B623C2 /* node_buffer.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3753F14CCBE8700347F40 /* node_buffer.cc */; };
+ AA2C749F16DFA84100B623C2 /* node_constants.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754214CCBE8700347F40 /* node_constants.cc */; };
+ AA2C74A016DFA84100B623C2 /* node_crypto.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754414CCBE8700347F40 /* node_crypto.cc */; };
+ AA2C74A116DFA84100B623C2 /* node_dtrace.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754614CCBE8700347F40 /* node_dtrace.cc */; };
+ AA2C74A216DFA84100B623C2 /* node_extensions.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754814CCBE8700347F40 /* node_extensions.cc */; };
+ AA2C74A316DFA84100B623C2 /* node_file.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754A14CCBE8700347F40 /* node_file.cc */; };
+ AA2C74A416DFA84100B623C2 /* node_http_parser.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754C14CCBE8700347F40 /* node_http_parser.cc */; };
+ AA2C74A516DFA84100B623C2 /* node_io_watcher.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754E14CCBE8700347F40 /* node_io_watcher.cc */; };
+ AA2C74A616DFA84100B623C2 /* node_javascript.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755014CCBE8700347F40 /* node_javascript.cc */; };
+ AA2C74A716DFA84100B623C2 /* node_os.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755414CCBE8700347F40 /* node_os.cc */; };
+ AA2C74A816DFA84100B623C2 /* node_script.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755814CCBE8700347F40 /* node_script.cc */; };
+ AA2C74A916DFA84100B623C2 /* node_signal_watcher.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755A14CCBE8700347F40 /* node_signal_watcher.cc */; };
+ AA2C74AA16DFA84100B623C2 /* node_stat_watcher.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755C14CCBE8700347F40 /* node_stat_watcher.cc */; };
+ AA2C74AB16DFA84100B623C2 /* node_string.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755E14CCBE8700347F40 /* node_string.cc */; };
+ AA2C74AC16DFA84100B623C2 /* node_zlib.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3756114CCBE8700347F40 /* node_zlib.cc */; };
+ AA2C74AD16DFA84100B623C2 /* pipe_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3756214CCBE8700347F40 /* pipe_wrap.cc */; };
+ AA2C74AE16DFA84100B623C2 /* platform_darwin.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3756514CCBE8700347F40 /* platform_darwin.cc */; };
+ AA2C74AF16DFA84100B623C2 /* process_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3756E14CCBE8700347F40 /* process_wrap.cc */; };
+ AA2C74B016DFA84100B623C2 /* stream_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757014CCBE8700347F40 /* stream_wrap.cc */; };
+ AA2C74B116DFA84100B623C2 /* tcp_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757214CCBE8700347F40 /* tcp_wrap.cc */; };
+ AA2C74B216DFA84100B623C2 /* timer_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757414CCBE8700347F40 /* timer_wrap.cc */; };
+ AA2C74B316DFA84100B623C2 /* tty_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757514CCBE8700347F40 /* tty_wrap.cc */; };
+ AA2C74B416DFA84100B623C2 /* udp_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757614CCBE8700347F40 /* udp_wrap.cc */; };
+ AA2C74B516DFA84100B623C2 /* v8_typed_array.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757714CCBE8700347F40 /* v8_typed_array.cc */; };
+ AA2C74B616DFA84D00B623C2 /* http_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF376AA14CCCEF400347F40 /* http_parser.c */; };
+ AA2C74B716DFA85800B623C2 /* fs.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF376A414CCCE9700347F40 /* fs.c */; };
+ AA2C74B816DFA85800B623C2 /* uv-common.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375E514CCC33800347F40 /* uv-common.c */; };
+ AA2C74B916DFA86100B623C2 /* ev_kqueue.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF376BA14CCCF7900347F40 /* ev_kqueue.c */; };
+ AA2C74BA16DFA86100B623C2 /* ev_poll.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF376BB14CCCF7900347F40 /* ev_poll.c */; };
+ AA2C74BB16DFA86100B623C2 /* ev_select.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF376BC14CCCF7900347F40 /* ev_select.c */; };
+ AA2C74BC16DFA86100B623C2 /* ev.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3766D14CCC4E500347F40 /* ev.c */; };
+ AA2C74BD16DFA86100B623C2 /* event.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3767714CCC4E500347F40 /* event.c */; };
+ AA2C74C116DFA86D00B623C2 /* eio.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3764314CCC4A900347F40 /* eio.c */; };
+ AA2C74C216DFA8A800B623C2 /* cares.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761614CCC37F00347F40 /* cares.c */; };
+ AA2C74C316DFA8A800B623C2 /* core.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761714CCC37F00347F40 /* core.c */; };
+ AA2C74C416DFA8A800B623C2 /* darwin.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761814CCC37F00347F40 /* darwin.c */; };
+ AA2C74C516DFA8A800B623C2 /* dl.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761914CCC38000347F40 /* dl.c */; };
+ AA2C74C616DFA8A800B623C2 /* error.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761A14CCC38000347F40 /* error.c */; };
+ AA2C74C716DFA8A800B623C2 /* kqueue.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761C14CCC38000347F40 /* kqueue.c */; };
+ AA2C74C816DFA8A800B623C2 /* pipe.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761D14CCC38000347F40 /* pipe.c */; };
+ AA2C74C916DFA8A800B623C2 /* process.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761E14CCC38000347F40 /* process.c */; };
+ AA2C74CA16DFA8A800B623C2 /* stream.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761F14CCC38000347F40 /* stream.c */; };
+ AA2C74CB16DFA8A800B623C2 /* tcp.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3762014CCC38000347F40 /* tcp.c */; };
+ AA2C74CC16DFA8A800B623C2 /* tty.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3762114CCC38000347F40 /* tty.c */; };
+ AA2C74CD16DFA8A800B623C2 /* udp.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3762214CCC38000347F40 /* udp.c */; };
+ AA2C74CE16DFA8A800B623C2 /* uv-eio.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3762314CCC38000347F40 /* uv-eio.c */; };
+ AA2C74CF16DFA8A800B623C2 /* ares__close_sockets.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A314CCC33800347F40 /* ares__close_sockets.c */; };
+ AA2C74D016DFA8A800B623C2 /* ares__get_hostent.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A414CCC33800347F40 /* ares__get_hostent.c */; };
+ AA2C74D116DFA8A800B623C2 /* ares__read_line.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A514CCC33800347F40 /* ares__read_line.c */; };
+ AA2C74D216DFA8A800B623C2 /* ares__timeval.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A614CCC33800347F40 /* ares__timeval.c */; };
+ AA2C74D316DFA8A800B623C2 /* ares_cancel.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A714CCC33800347F40 /* ares_cancel.c */; };
+ AA2C74D416DFA8A800B623C2 /* ares_data.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A814CCC33800347F40 /* ares_data.c */; };
+ AA2C74D516DFA8A800B623C2 /* ares_destroy.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375AA14CCC33800347F40 /* ares_destroy.c */; };
+ AA2C74D616DFA8A800B623C2 /* ares_expand_name.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375AC14CCC33800347F40 /* ares_expand_name.c */; };
+ AA2C74D716DFA8A800B623C2 /* ares_expand_string.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375AD14CCC33800347F40 /* ares_expand_string.c */; };
+ AA2C74D816DFA8A800B623C2 /* ares_fds.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375AE14CCC33800347F40 /* ares_fds.c */; };
+ AA2C74D916DFA8A800B623C2 /* ares_free_hostent.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375AF14CCC33800347F40 /* ares_free_hostent.c */; };
+ AA2C74DA16DFA8A800B623C2 /* ares_free_string.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B014CCC33800347F40 /* ares_free_string.c */; };
+ AA2C74DB16DFA8A800B623C2 /* ares_getenv.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B114CCC33800347F40 /* ares_getenv.c */; };
+ AA2C74DC16DFA8A800B623C2 /* ares_gethostbyaddr.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B314CCC33800347F40 /* ares_gethostbyaddr.c */; };
+ AA2C74DD16DFA8A800B623C2 /* ares_gethostbyname.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B414CCC33800347F40 /* ares_gethostbyname.c */; };
+ AA2C74DE16DFA8A800B623C2 /* ares_getnameinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B514CCC33800347F40 /* ares_getnameinfo.c */; };
+ AA2C74DF16DFA8A800B623C2 /* ares_getopt.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B614CCC33800347F40 /* ares_getopt.c */; };
+ AA2C74E016DFA8A800B623C2 /* ares_getsock.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B814CCC33800347F40 /* ares_getsock.c */; };
+ AA2C74E116DFA8A800B623C2 /* ares_init.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B914CCC33800347F40 /* ares_init.c */; };
+ AA2C74E216DFA8A800B623C2 /* ares_library_init.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375BC14CCC33800347F40 /* ares_library_init.c */; };
+ AA2C74E316DFA8A800B623C2 /* ares_llist.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375BE14CCC33800347F40 /* ares_llist.c */; };
+ AA2C74E416DFA8A800B623C2 /* ares_mkquery.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C014CCC33800347F40 /* ares_mkquery.c */; };
+ AA2C74E516DFA8A800B623C2 /* ares_nowarn.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C114CCC33800347F40 /* ares_nowarn.c */; };
+ AA2C74E616DFA8A800B623C2 /* ares_options.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C314CCC33800347F40 /* ares_options.c */; };
+ AA2C74E716DFA8C000B623C2 /* ares_parse_a_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C414CCC33800347F40 /* ares_parse_a_reply.c */; };
+ AA2C74E816DFA8C000B623C2 /* ares_parse_aaaa_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C514CCC33800347F40 /* ares_parse_aaaa_reply.c */; };
+ AA2C74E916DFA8C000B623C2 /* ares_parse_mx_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C614CCC33800347F40 /* ares_parse_mx_reply.c */; };
+ AA2C74EA16DFA8C000B623C2 /* ares_parse_ns_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C714CCC33800347F40 /* ares_parse_ns_reply.c */; };
+ AA2C74EB16DFA8C000B623C2 /* ares_parse_ptr_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C814CCC33800347F40 /* ares_parse_ptr_reply.c */; };
+ AA2C74EC16DFA8C000B623C2 /* ares_parse_srv_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C914CCC33800347F40 /* ares_parse_srv_reply.c */; };
+ AA2C74ED16DFA8C000B623C2 /* ares_parse_txt_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375CA14CCC33800347F40 /* ares_parse_txt_reply.c */; };
+ AA2C74EE16DFA8C000B623C2 /* ares_platform.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375CB14CCC33800347F40 /* ares_platform.c */; };
+ AA2C74EF16DFA8C000B623C2 /* ares_process.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375CE14CCC33800347F40 /* ares_process.c */; };
+ AA2C74F016DFA8C000B623C2 /* ares_query.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375CF14CCC33800347F40 /* ares_query.c */; };
+ AA2C74F116DFA8C000B623C2 /* ares_search.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D114CCC33800347F40 /* ares_search.c */; };
+ AA2C74F216DFA8C000B623C2 /* ares_send.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D214CCC33800347F40 /* ares_send.c */; };
+ AA2C74F316DFA8C000B623C2 /* ares_strcasecmp.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D414CCC33800347F40 /* ares_strcasecmp.c */; };
+ AA2C74F416DFA8C000B623C2 /* ares_strdup.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D614CCC33800347F40 /* ares_strdup.c */; };
+ AA2C74F516DFA8C000B623C2 /* ares_strerror.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D814CCC33800347F40 /* ares_strerror.c */; };
+ AA2C74F616DFA8C000B623C2 /* ares_timeout.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D914CCC33800347F40 /* ares_timeout.c */; };
+ AA2C74F716DFA8C000B623C2 /* ares_version.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375DA14CCC33800347F40 /* ares_version.c */; };
+ AA2C74F816DFA8C000B623C2 /* ares_writev.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375DB14CCC33800347F40 /* ares_writev.c */; };
+ AA2C74F916DFA8C000B623C2 /* bitncmp.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375DD14CCC33800347F40 /* bitncmp.c */; };
+ AA2C74FA16DFA8C000B623C2 /* inet_net_pton.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375DF14CCC33800347F40 /* inet_net_pton.c */; };
+ AA2C74FB16DFA8C000B623C2 /* inet_ntop.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375E114CCC33800347F40 /* inet_ntop.c */; };
+ AA2C74FD16DFA8CA00B623C2 /* JMX.js in Sources */ = {isa = PBXBuildFile; fileRef = AA4BFE1312BE0E2000775B88 /* JMX.js */; };
+ AA2C74FE16DFA8CA00B623C2 /* DOM.js in Sources */ = {isa = PBXBuildFile; fileRef = AAC6355612D45C5800B69DFE /* DOM.js */; };
+ AA2C74FF16DFA8CA00B623C2 /* AudioOutput.js in Sources */ = {isa = PBXBuildFile; fileRef = AA4BFE1112BE0D7400775B88 /* AudioOutput.js */; };
+ AA2C750016DFA8CA00B623C2 /* VideoOutput.js in Sources */ = {isa = PBXBuildFile; fileRef = AA4BFE1512BE135000775B88 /* VideoOutput.js */; };
+ AA2C750116DFA8CA00B623C2 /* VideoFilter.js in Sources */ = {isa = PBXBuildFile; fileRef = AA4BFEFD12BE2B4500775B88 /* VideoFilter.js */; };
+ AA2C750216DFA8CA00B623C2 /* AudioCapture.js in Sources */ = {isa = PBXBuildFile; fileRef = AA4B01F312BEC85500775B88 /* AudioCapture.js */; };
+ AA2C750316DFA8CA00B623C2 /* VideoCapture.js in Sources */ = {isa = PBXBuildFile; fileRef = AA4B039812C06C3000775B88 /* VideoCapture.js */; };
+ AA2C750416DFA8CA00B623C2 /* MovieFile.js in Sources */ = {isa = PBXBuildFile; fileRef = AA8F770712C5718600EA8543 /* MovieFile.js */; };
+ AA2C750516DFA8CA00B623C2 /* AudioFile.js in Sources */ = {isa = PBXBuildFile; fileRef = AA8F770812C571A200EA8543 /* AudioFile.js */; };
+ AA2C750616DFA8CA00B623C2 /* jquery.js in Sources */ = {isa = PBXBuildFile; fileRef = AA38D1CB12DCC29D00208826 /* jquery.js */; };
+ AA2C750716DFA8CA00B623C2 /* processing.js in Sources */ = {isa = PBXBuildFile; fileRef = AAEA251714D4D29A00533049 /* processing.js */; };
+ AA2C750816DFA90D00B623C2 /* JMXRingBuffer.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C313D1275ADD7006376B8 /* JMXRingBuffer.m */; };
+ AA2C750916DFA90D00B623C2 /* JMXEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31301275ADD6006376B8 /* JMXEntity.mm */; };
+ AA2C750A16DFA90D00B623C2 /* JMXThreadedEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31451275ADD7006376B8 /* JMXThreadedEntity.mm */; };
+ AA2C750B16DFA90D00B623C2 /* JMXPin.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31371275ADD6006376B8 /* JMXPin.mm */; };
+ AA2C750C16DFA90D00B623C2 /* JMXInputPin.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31331275ADD6006376B8 /* JMXInputPin.m */; };
+ AA2C750D16DFA90D00B623C2 /* JMXOutputPin.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31351275ADD6006376B8 /* JMXOutputPin.m */; };
+ AA2C750E16DFA90D00B623C2 /* JMXProxyPin.m in Sources */ = {isa = PBXBuildFile; fileRef = AA4B00C812BE560100775B88 /* JMXProxyPin.m */; };
+ AA2C750F16DFA90D00B623C2 /* JMXPinSignal.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31391275ADD7006376B8 /* JMXPinSignal.m */; };
+ AA2C751016DFA90D00B623C2 /* JMXContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C312E1275ADD6006376B8 /* JMXContext.m */; };
+ AA2C751116DFA90D00B623C2 /* JMXScreenController.m in Sources */ = {isa = PBXBuildFile; fileRef = AAD751D114E913FA008B1085 /* JMXScreenController.m */; };
+ AA2C751216DFA90D00B623C2 /* JMXHIDDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = AAEF981514FA5CFE006B9F8B /* JMXHIDDevice.m */; };
+ AA2C751316DFA91800B623C2 /* JMXTextRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = AA3557001277347300EAA2E4 /* JMXTextRenderer.m */; };
+ AA2C751416DFA91800B623C2 /* JMXOpenGLDraw.mm in Sources */ = {isa = PBXBuildFile; fileRef = 82AD7F6F1289F3C300C85EB1 /* JMXOpenGLDraw.mm */; };
+ AA2C751516DFA91800B623C2 /* JMXDrawPath.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD139BA128EA0DF00ECB03A /* JMXDrawPath.mm */; };
+ AA2C751616DFA92100B623C2 /* JMXAudioBuffer.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31241275ADD6006376B8 /* JMXAudioBuffer.m */; };
+ AA2C751716DFA92100B623C2 /* JMXAudioDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31261275ADD6006376B8 /* JMXAudioDevice.m */; };
+ AA2C751816DFA92100B623C2 /* JMXAudioFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31281275ADD6006376B8 /* JMXAudioFile.m */; };
+ AA2C751916DFA92100B623C2 /* JMXAudioFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C312A1275ADD6006376B8 /* JMXAudioFormat.m */; };
+ AA2C751A16DFA92100B623C2 /* JMXSpectrumAnalyzer.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31431275ADD7006376B8 /* JMXSpectrumAnalyzer.m */; };
+ AA2C751B16DFA93C00B623C2 /* CIAdditiveBlur.m in Sources */ = {isa = PBXBuildFile; fileRef = AAEBBA1414FD65CF000DA6F9 /* CIAdditiveBlur.m */; };
+ AA2C751C16DFA93F00B623C2 /* CIAlphaBlend.m in Sources */ = {isa = PBXBuildFile; fileRef = AAEBB9CC14FC6872000DA6F9 /* CIAlphaBlend.m */; };
+ AA2C751D16DFA94200B623C2 /* CIAlphaFade.m in Sources */ = {isa = PBXBuildFile; fileRef = AA555FC712AEF39600C882FF /* CIAlphaFade.m */; };
+ AA2C751F16DFA9BC00B623C2 /* JMXAudioCapture.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA4B020812BED1BB00775B88 /* JMXAudioCapture.mm */; };
+ AA2C752016DFA9BC00B623C2 /* JMXAudioOutput.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31031275ADB6006376B8 /* JMXAudioOutput.mm */; };
+ AA2C752116DFA9BC00B623C2 /* JMXAudioSpectrumAnalyzer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31071275ADB6006376B8 /* JMXAudioSpectrumAnalyzer.mm */; };
+ AA2C752216DFA9BC00B623C2 /* JMXVideoEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C310B1275ADB6006376B8 /* JMXVideoEntity.mm */; };
+ AA2C752316DFA9BC00B623C2 /* JMXVideoCapture.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA4B039B12C06C7600775B88 /* JMXVideoCapture.mm */; };
+ AA2C752416DFA9BC00B623C2 /* JMXVideoOutput.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C310F1275ADB6006376B8 /* JMXVideoOutput.mm */; };
+ AA2C752516DFA9BC00B623C2 /* JMXVideoFilter.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA4BFC8312BD324A00775B88 /* JMXVideoFilter.mm */; };
+ AA2C752616DFA9BC00B623C2 /* JMXDrawEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA3557D912795C5500EAA2E4 /* JMXDrawEntity.mm */; };
+ AA2C752716DFA9BC00B623C2 /* JMXScriptEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = AACE7D03129315DE00FBDC0D /* JMXScriptEntity.mm */; };
+ AA2C752816DFA9BC00B623C2 /* JMXExporter.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C31091275ADB6006376B8 /* JMXExporter.m */; };
+ AA2C752916DFA9BC00B623C2 /* JMXPhidgetEncoderEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA004D8114E7148600009CF9 /* JMXPhidgetEncoderEntity.mm */; };
+ AA2C752A16DFA9BC00B623C2 /* JMXHIDInputEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAEF981C14FAB4E2006B9F8B /* JMXHIDInputEntity.mm */; };
+ AA2C752B16DFA9C200B623C2 /* JMXQtExporter.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C30E71275ADB6006376B8 /* JMXQtExporter.m */; };
+ AA2C752C16DFA9C700B623C2 /* JMXCoreImageFilter.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30EA1275ADB6006376B8 /* JMXCoreImageFilter.mm */; };
+ AA2C752D16DFA9D000B623C2 /* JMXVideoMixer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C310D1275ADB6006376B8 /* JMXVideoMixer.mm */; };
+ AA2C752E16DFA9D000B623C2 /* JMXImageEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30EF1275ADB6006376B8 /* JMXImageEntity.mm */; };
+ AA2C752F16DFA9D000B623C2 /* JMXQtVideoCaptureEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30F31275ADB6006376B8 /* JMXQtVideoCaptureEntity.mm */; };
+ AA2C753016DFA9D000B623C2 /* JMXQtMovieEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30F51275ADB6006376B8 /* JMXQtMovieEntity.mm */; };
+ AA2C753116DFA9D000B623C2 /* JMXTextEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA3556F51277340200EAA2E4 /* JMXTextEntity.mm */; };
+ AA2C753216DFA9D700B623C2 /* JMXAudioMixer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C31011275ADB6006376B8 /* JMXAudioMixer.mm */; };
+ AA2C753316DFA9D700B623C2 /* JMXAudioFileEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30ED1275ADB6006376B8 /* JMXAudioFileEntity.mm */; };
+ AA2C753416DFA9D700B623C2 /* JMXQtAudioCaptureEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30F11275ADB6006376B8 /* JMXQtAudioCaptureEntity.mm */; };
+ AA2C753516DFA9D700B623C2 /* JMXAudioToneGenerator.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA0A89BF1675E09C00FF784F /* JMXAudioToneGenerator.mm */; };
+ AA2C753616DFA9DD00B623C2 /* JMXCoreAudioOutput.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30F81275ADB6006376B8 /* JMXCoreAudioOutput.mm */; };
+ AA2C753716DFA9DD00B623C2 /* JMXQtAudioOutput.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C30FA1275ADB6006376B8 /* JMXQtAudioOutput.m */; };
+ AA2C753816DFA9E300B623C2 /* JMXOpenGLScreen.mm in Sources */ = {isa = PBXBuildFile; fileRef = 825C30FD1275ADB6006376B8 /* JMXOpenGLScreen.mm */; };
+ AA2C753916DFA9E300B623C2 /* JMXSoftScreen.m in Sources */ = {isa = PBXBuildFile; fileRef = 825C30FF1275ADB6006376B8 /* JMXSoftScreen.m */; };
+ AA2C753A16DFA9E900B623C2 /* JMXScriptFile.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA8CB78D1282BB9900A17115 /* JMXScriptFile.mm */; };
+ AA2C753B16DFA9E900B623C2 /* JMXScriptLive.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA8F806012C9D3FA00EA8543 /* JMXScriptLive.mm */; };
+ AA2C753C16DFAA3600B623C2 /* libv8_nosnapshot.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AA306164167B7A630005AFD5 /* libv8_nosnapshot.a */; };
+ AA2C753D16DFAA3700B623C2 /* libv8_snapshot.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AA306165167B7A630005AFD5 /* libv8_snapshot.a */; };
+ AA2C753E16DFAA3700B623C2 /* libv8_base.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AA306162167B79740005AFD5 /* libv8_base.a */; };
+ AA2C753F16DFAA4000B623C2 /* Phidget21.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA0BFDFD1587E5B600D3C8E4 /* Phidget21.framework */; };
+ AA2C754016DFAA4000B623C2 /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA678A47150CC47D00B2E8F7 /* CoreMedia.framework */; };
+ AA2C754116DFAA4000B623C2 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA678A45150CBC1000B2E8F7 /* AVFoundation.framework */; };
+ AA2C754216DFAA4000B623C2 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AAEF981214FA5C3C006B9F8B /* Carbon.framework */; };
+ AA2C754316DFAA4800B623C2 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AAEF981014FA5C31006B9F8B /* IOKit.framework */; };
+ AA2C754416DFAA4C00B623C2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 29B97325FDCFA39411CA2CEA /* Foundation.framework */; };
+ AA2C754616DFAA5700B623C2 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82456BC31223DC8300236FE4 /* OpenGL.framework */; };
+ AA2C754716DFAA5700B623C2 /* QTKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82456BC71223DC9900236FE4 /* QTKit.framework */; };
+ AA2C754816DFAA5D00B623C2 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA2BE3F212353BA6006087E7 /* CoreAudio.framework */; };
+ AA2C754916DFAA5D00B623C2 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA2BE40A12353D5C006087E7 /* Accelerate.framework */; };
+ AA2C754A16DFAA5D00B623C2 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AADEBFC712414F7E00A6A06D /* AudioToolbox.framework */; };
+ AA2C754B16DFAA6400B623C2 /* libcrypto.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = AAF376A214CCCE5E00347F40 /* libcrypto.dylib */; };
+ AA2C754C16DFAA6400B623C2 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = AAF376A014CCCE5000347F40 /* libz.dylib */; };
+ AA2C754D16DFAA6400B623C2 /* libssl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = AAF3769E14CCCE2C00347F40 /* libssl.dylib */; };
AA37E05214FA318500CBA0AE /* JMXDOMBrowser.m in Sources */ = {isa = PBXBuildFile; fileRef = AA37E05114FA318500CBA0AE /* JMXDOMBrowser.m */; };
- AA38D1CC12DCC2CA00208826 /* jquery.js in Deploy JS API */ = {isa = PBXBuildFile; fileRef = AA38D1CB12DCC29D00208826 /* jquery.js */; };
AA490DD214CC5F8E00407C0D /* draw_pixels.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AA490DC314CC5F4900407C0D /* draw_pixels.js */; };
AA490DD314CC5F8E00407C0D /* filter_videofile.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AA490DC414CC5F4900407C0D /* filter_videofile.js */; };
AA490DD414CC5F8E00407C0D /* play_mp3dir.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AA490DC514CC5F4900407C0D /* play_mp3dir.js */; };
@@ -85,183 +252,19 @@
AA490DD614CC5F8F00407C0D /* test_canvas.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AA490DC714CC5F4900407C0D /* test_canvas.js */; };
AA490DD714CC5F8F00407C0D /* test_drawing_canvas.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AA490DC814CC5F4900407C0D /* test_drawing_canvas.js */; };
AA490DD814CC5F8F00407C0D /* test_drawing.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AA490DC914CC5F4900407C0D /* test_drawing.js */; };
- AA4B00C912BE560100775B88 /* JMXProxyPin.m in Sources */ = {isa = PBXBuildFile; fileRef = AA4B00C812BE560100775B88 /* JMXProxyPin.m */; };
- AA4B01F412BEC85F00775B88 /* AudioCapture.js in Deploy JS API */ = {isa = PBXBuildFile; fileRef = AA4B01F312BEC85500775B88 /* AudioCapture.js */; };
- AA4B020912BED1BB00775B88 /* JMXAudioCapture.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA4B020812BED1BB00775B88 /* JMXAudioCapture.mm */; };
- AA4B039C12C06C7600775B88 /* JMXVideoCapture.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA4B039B12C06C7600775B88 /* JMXVideoCapture.mm */; };
- AA4BFC8412BD324A00775B88 /* JMXVideoFilter.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA4BFC8312BD324A00775B88 /* JMXVideoFilter.mm */; };
- AA4BFECF12BE25E900775B88 /* JMX.js in Deploy JS API */ = {isa = PBXBuildFile; fileRef = AA4BFE1312BE0E2000775B88 /* JMX.js */; };
- AA4BFED012BE25E900775B88 /* AudioOutput.js in Deploy JS API */ = {isa = PBXBuildFile; fileRef = AA4BFE1112BE0D7400775B88 /* AudioOutput.js */; };
- AA4BFED112BE25E900775B88 /* VideoOutput.js in Deploy JS API */ = {isa = PBXBuildFile; fileRef = AA4BFE1512BE135000775B88 /* VideoOutput.js */; };
- AA4BFF2F12BE2F9500775B88 /* VideoFilter.js in Deploy JS API */ = {isa = PBXBuildFile; fileRef = AA4BFEFD12BE2B4500775B88 /* VideoFilter.js */; };
AA4CD9CD150D598D00152655 /* test_phidget_encoder.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AA4CD9C7150D596900152655 /* test_phidget_encoder.js */; };
AA4CD9CE150D598D00152655 /* scratch_moviefile.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AA4CD9C8150D596900152655 /* scratch_moviefile.js */; };
AA4CD9CF150D598D00152655 /* powermate.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AA4CD9C9150D596900152655 /* powermate.js */; };
AA54B28B12A1215000EC60B2 /* jmx-icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = AA54B28A12A1215000EC60B2 /* jmx-icon.icns */; };
- AA55601412AEF7CC00C882FF /* CIAlphaFade.cikernel in Resources */ = {isa = PBXBuildFile; fileRef = AA555FC912AEF39600C882FF /* CIAlphaFade.cikernel */; };
- AA5563C412B188EB00C882FF /* CIAlphaFade.m in Sources */ = {isa = PBXBuildFile; fileRef = AA555FC712AEF39600C882FF /* CIAlphaFade.m */; };
- AA678A46150CBC1000B2E8F7 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA678A45150CBC1000B2E8F7 /* AVFoundation.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
- AA678A48150CC47D00B2E8F7 /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA678A47150CC47D00B2E8F7 /* CoreMedia.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
AA75F38914F706FA00F1A214 /* drag_movies.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AA75F38814F706E200F1A214 /* drag_movies.js */; };
- AA8CB78E1282BB9900A17115 /* JMXScriptFile.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA8CB78D1282BB9900A17115 /* JMXScriptFile.mm */; };
- AA8F785812C5880100EA8543 /* VideoCapture.js in Deploy JS API */ = {isa = PBXBuildFile; fileRef = AA4B039812C06C3000775B88 /* VideoCapture.js */; };
- AA8F785912C5880100EA8543 /* MovieFile.js in Deploy JS API */ = {isa = PBXBuildFile; fileRef = AA8F770712C5718600EA8543 /* MovieFile.js */; };
- AA8F785A12C5880100EA8543 /* AudioFile.js in Deploy JS API */ = {isa = PBXBuildFile; fileRef = AA8F770812C571A200EA8543 /* AudioFile.js */; };
- AA8F806112C9D3FA00EA8543 /* JMXScriptLive.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA8F806012C9D3FA00EA8543 /* JMXScriptLive.mm */; };
AA8F817612CB236700EA8543 /* JMXTextPanel.m in Sources */ = {isa = PBXBuildFile; fileRef = AA8F817512CB236700EA8543 /* JMXTextPanel.m */; };
- AA93701D14CC2FFB001D9BB3 /* JMXScriptTimer.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA93701C14CC2FFA001D9BB3 /* JMXScriptTimer.mm */; };
- AA9B58D914FE1E4F00F63C33 /* NSNumber+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9B58D614FE1E4F00F63C33 /* NSNumber+V8.mm */; };
- AA9B58DA14FE1E4F00F63C33 /* NSString+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9B58D814FE1E4F00F63C33 /* NSString+V8.mm */; };
- AA9B58FD14FED30700F63C33 /* libv8.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = AA9B58FC14FED30700F63C33 /* libv8.dylib */; };
- AA9C17FC12E200C400329158 /* JMXCanvasElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9C17FB12E200C400329158 /* JMXCanvasElement.mm */; };
- AA9C18DA12E2FC1000329158 /* JMXCanvasGradient.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9C18D912E2FC1000329158 /* JMXCanvasGradient.mm */; };
- AA9C190F12E32B0600329158 /* JMXCanvasPattern.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9C190E12E32B0600329158 /* JMXCanvasPattern.mm */; };
- AA9C19D412E4BDD500329158 /* JMXRect.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9C19D312E4BDD500329158 /* JMXRect.mm */; };
- AA9C1A4912E5964C00329158 /* JMXImageElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA9C1A4812E5964C00329158 /* JMXImageElement.mm */; };
AAB50B5F14DD4956002F385C /* processing_sample1.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AAB50B5914DD493E002F385C /* processing_sample1.js */; };
AAB50B6014DD4956002F385C /* processing_sample2.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AAB50B5A14DD493E002F385C /* processing_sample2.js */; };
AAB50B6114DD4956002F385C /* processing_sample3.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AAB50B5B14DD493E002F385C /* processing_sample3.js */; };
AAB50B6414DD6405002F385C /* JMXEntitiesController.m in Sources */ = {isa = PBXBuildFile; fileRef = AAB50B6314DD6403002F385C /* JMXEntitiesController.m */; };
- AAB71A0714D6BF0200BE8C35 /* JMXImageData.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAB71A0614D6BF0200BE8C35 /* JMXImageData.mm */; };
- AAB71A0A14D6D89E00BE8C35 /* JMXUint8ClampedArray.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAB71A0914D6D89D00BE8C35 /* JMXUint8ClampedArray.mm */; };
- AAB71A0D14D7585500BE8C35 /* JMXEventListener.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAB71A0C14D7585400BE8C35 /* JMXEventListener.mm */; };
- AAC6323112CFC72B00B69DFE /* JMXGraph.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAC6323012CFC72B00B69DFE /* JMXGraph.mm */; };
- AAC6323C12CFCAB900B69DFE /* JMXElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAC6323B12CFCAB900B69DFE /* JMXElement.mm */; };
- AAC6334612D36DA900B69DFE /* NSXMLNode+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAC6334512D36DA900B69DFE /* NSXMLNode+V8.mm */; };
- AAC6359C12D4622400B69DFE /* DOM.js in Deploy JS API */ = {isa = PBXBuildFile; fileRef = AAC6355612D45C5800B69DFE /* DOM.js */; };
- AAC6376312D5099400B69DFE /* JMXCDATA.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAC6376212D5099400B69DFE /* JMXCDATA.mm */; };
- AAC637E012D5204C00B69DFE /* JMXAttribute.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAC637DF12D5204C00B69DFE /* JMXAttribute.mm */; };
- AACCC73F14A921B500D44D71 /* NSFont+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AACCC73E14A921B500D44D71 /* NSFont+V8.mm */; };
AACD67AE14DEEF66007C7B31 /* canvas_sample1.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AACD67AC14DEEF52007C7B31 /* canvas_sample1.js */; };
- AACE7D04129315DE00FBDC0D /* JMXScriptEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = AACE7D03129315DE00FBDC0D /* JMXScriptEntity.mm */; };
- AACE7D331293195600FBDC0D /* JMXV8PropertyAccessors.mm in Sources */ = {isa = PBXBuildFile; fileRef = AACE7D321293195600FBDC0D /* JMXV8PropertyAccessors.mm */; };
- AAD139BB128EA0DF00ECB03A /* JMXDrawPath.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD139BA128EA0DF00ECB03A /* JMXDrawPath.mm */; };
- AAD13C4A128EF2AB00ECB03A /* NSColor+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD13C49128EF2AB00ECB03A /* NSColor+V8.mm */; };
- AAD751D214E913FA008B1085 /* JMXScreenController.m in Sources */ = {isa = PBXBuildFile; fileRef = AAD751D114E913FA008B1085 /* JMXScreenController.m */; };
- AAD751D514E94631008B1085 /* JMXMouseEvent.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD751D414E9462F008B1085 /* JMXMouseEvent.mm */; };
- AAD751D814E98DD4008B1085 /* JMXKeyboardEvent.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD751D714E98DD2008B1085 /* JMXKeyboardEvent.mm */; };
- AAD751DB14E9AFFB008B1085 /* JMXScriptInputPin.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD751DA14E9AFF8008B1085 /* JMXScriptInputPin.mm */; };
- AAD751DE14E9B01A008B1085 /* JMXScriptOutputPin.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAD751DD14E9B017008B1085 /* JMXScriptOutputPin.mm */; };
AAD751E114E9D9DE008B1085 /* counter.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AAD751DF14E9D9C9008B1085 /* counter.js */; };
AAD751E214E9D9DE008B1085 /* random_point.js in Deploy JS examples */ = {isa = PBXBuildFile; fileRef = AAD751E014E9D9C9008B1085 /* random_point.js */; };
- AADEBFC812414F7E00A6A06D /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AADEBFC712414F7E00A6A06D /* AudioToolbox.framework */; };
- AAEA251914D4D2B800533049 /* processing.js in Deploy JS API */ = {isa = PBXBuildFile; fileRef = AAEA251714D4D29A00533049 /* processing.js */; };
- AAEA251C14D4D5A200533049 /* JMXEvent.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAEA251B14D4D5A000533049 /* JMXEvent.mm */; };
- AAEBB8AD14FC1839000DA6F9 /* CIAlphaBlend.cikernel in Resources */ = {isa = PBXBuildFile; fileRef = AAEBB8AC14FC1839000DA6F9 /* CIAlphaBlend.cikernel */; };
- AAEBB9CD14FC6873000DA6F9 /* CIAlphaBlend.m in Sources */ = {isa = PBXBuildFile; fileRef = AAEBB9CC14FC6872000DA6F9 /* CIAlphaBlend.m */; };
- AAEBBA1514FD65CF000DA6F9 /* CIAdditiveBlur.cikernel in Resources */ = {isa = PBXBuildFile; fileRef = AAEBBA1214FD65CE000DA6F9 /* CIAdditiveBlur.cikernel */; };
- AAEBBA1614FD65CF000DA6F9 /* CIAdditiveBlur.m in Sources */ = {isa = PBXBuildFile; fileRef = AAEBBA1414FD65CF000DA6F9 /* CIAdditiveBlur.m */; };
- AAEF980014FA5BF3006B9F8B /* HID_Utilities.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF97F614FA5BF3006B9F8B /* HID_Utilities.c */; };
- AAEF980114FA5BF3006B9F8B /* HID_Queue_Utilities.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF97F914FA5BF3006B9F8B /* HID_Queue_Utilities.c */; };
- AAEF980214FA5BF3006B9F8B /* HID_Name_Lookup.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF97FB14FA5BF3006B9F8B /* HID_Name_Lookup.c */; };
- AAEF980314FA5BF3006B9F8B /* HID_Error_Handler.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF97FD14FA5BF3006B9F8B /* HID_Error_Handler.c */; };
- AAEF980414FA5BF3006B9F8B /* HID_Config_Utilities.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF97FF14FA5BF3006B9F8B /* HID_Config_Utilities.c */; };
- AAEF980D14FA5BFD006B9F8B /* ImmrHIDUtilAddOn.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF980614FA5BFD006B9F8B /* ImmrHIDUtilAddOn.c */; };
- AAEF980E14FA5BFD006B9F8B /* IOHIDDevice_.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF980814FA5BFD006B9F8B /* IOHIDDevice_.c */; };
- AAEF980F14FA5BFD006B9F8B /* IOHIDElement_.c in Sources */ = {isa = PBXBuildFile; fileRef = AAEF980A14FA5BFD006B9F8B /* IOHIDElement_.c */; };
- AAEF981114FA5C31006B9F8B /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AAEF981014FA5C31006B9F8B /* IOKit.framework */; };
- AAEF981314FA5C3C006B9F8B /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AAEF981214FA5C3C006B9F8B /* Carbon.framework */; };
- AAEF981614FA5CFE006B9F8B /* JMXHIDDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = AAEF981514FA5CFE006B9F8B /* JMXHIDDevice.m */; };
- AAEF981D14FAB4E2006B9F8B /* JMXHIDInputEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAEF981C14FAB4E2006B9F8B /* JMXHIDInputEntity.mm */; };
- AAEF982014FAD2EE006B9F8B /* JMXByteArray.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAEF981F14FAD2ED006B9F8B /* JMXByteArray.mm */; };
- AAEF982314FAE6B7006B9F8B /* NSDictionary+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAEF982214FAE6B7006B9F8B /* NSDictionary+V8.mm */; };
- AAEF982614FAE811006B9F8B /* NSObject+V8.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAEF982514FAE810006B9F8B /* NSObject+V8.mm */; };
- AAF3757914CCBE8700347F40 /* cares_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3753614CCBE8700347F40 /* cares_wrap.cc */; };
- AAF3757A14CCBE8700347F40 /* fs_event_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3753714CCBE8700347F40 /* fs_event_wrap.cc */; };
- AAF3757B14CCBE8700347F40 /* handle_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3753814CCBE8700347F40 /* handle_wrap.cc */; };
- AAF3757D14CCBE8700347F40 /* node.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3753B14CCBE8700347F40 /* node.cc */; };
- AAF3758014CCBE8700347F40 /* node_buffer.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3753F14CCBE8700347F40 /* node_buffer.cc */; };
- AAF3758214CCBE8700347F40 /* node_constants.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754214CCBE8700347F40 /* node_constants.cc */; };
- AAF3758314CCBE8700347F40 /* node_crypto.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754414CCBE8700347F40 /* node_crypto.cc */; };
- AAF3758414CCBE8700347F40 /* node_dtrace.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754614CCBE8700347F40 /* node_dtrace.cc */; };
- AAF3758514CCBE8700347F40 /* node_extensions.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754814CCBE8700347F40 /* node_extensions.cc */; };
- AAF3758614CCBE8700347F40 /* node_file.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754A14CCBE8700347F40 /* node_file.cc */; };
- AAF3758714CCBE8700347F40 /* node_http_parser.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754C14CCBE8700347F40 /* node_http_parser.cc */; };
- AAF3758814CCBE8700347F40 /* node_io_watcher.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3754E14CCBE8700347F40 /* node_io_watcher.cc */; };
- AAF3758914CCBE8700347F40 /* node_javascript.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755014CCBE8700347F40 /* node_javascript.cc */; };
- AAF3758B14CCBE8700347F40 /* node_os.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755414CCBE8700347F40 /* node_os.cc */; };
- AAF3758D14CCBE8700347F40 /* node_script.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755814CCBE8700347F40 /* node_script.cc */; };
- AAF3758E14CCBE8700347F40 /* node_signal_watcher.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755A14CCBE8700347F40 /* node_signal_watcher.cc */; };
- AAF3758F14CCBE8700347F40 /* node_stat_watcher.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755C14CCBE8700347F40 /* node_stat_watcher.cc */; };
- AAF3759014CCBE8700347F40 /* node_string.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3755E14CCBE8700347F40 /* node_string.cc */; };
- AAF3759114CCBE8700347F40 /* node_zlib.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3756114CCBE8700347F40 /* node_zlib.cc */; };
- AAF3759214CCBE8700347F40 /* pipe_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3756214CCBE8700347F40 /* pipe_wrap.cc */; };
- AAF3759314CCBE8700347F40 /* platform_darwin.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3756514CCBE8700347F40 /* platform_darwin.cc */; };
- AAF3759B14CCBE8700347F40 /* process_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3756E14CCBE8700347F40 /* process_wrap.cc */; };
- AAF3759C14CCBE8700347F40 /* stream_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757014CCBE8700347F40 /* stream_wrap.cc */; };
- AAF3759D14CCBE8700347F40 /* tcp_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757214CCBE8700347F40 /* tcp_wrap.cc */; };
- AAF3759E14CCBE8700347F40 /* timer_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757414CCBE8700347F40 /* timer_wrap.cc */; };
- AAF3759F14CCBE8700347F40 /* tty_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757514CCBE8700347F40 /* tty_wrap.cc */; };
- AAF375A014CCBE8700347F40 /* udp_wrap.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757614CCBE8700347F40 /* udp_wrap.cc */; };
- AAF375A114CCBE8700347F40 /* v8_typed_array.cc in Sources */ = {isa = PBXBuildFile; fileRef = AAF3757714CCBE8700347F40 /* v8_typed_array.cc */; };
- AAF375E714CCC33800347F40 /* ares__close_sockets.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A314CCC33800347F40 /* ares__close_sockets.c */; };
- AAF375E814CCC33800347F40 /* ares__get_hostent.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A414CCC33800347F40 /* ares__get_hostent.c */; };
- AAF375E914CCC33800347F40 /* ares__read_line.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A514CCC33800347F40 /* ares__read_line.c */; };
- AAF375EA14CCC33800347F40 /* ares__timeval.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A614CCC33800347F40 /* ares__timeval.c */; };
- AAF375EB14CCC33800347F40 /* ares_cancel.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A714CCC33800347F40 /* ares_cancel.c */; };
- AAF375EC14CCC33800347F40 /* ares_data.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375A814CCC33800347F40 /* ares_data.c */; };
- AAF375ED14CCC33800347F40 /* ares_destroy.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375AA14CCC33800347F40 /* ares_destroy.c */; };
- AAF375EE14CCC33800347F40 /* ares_expand_name.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375AC14CCC33800347F40 /* ares_expand_name.c */; };
- AAF375EF14CCC33800347F40 /* ares_expand_string.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375AD14CCC33800347F40 /* ares_expand_string.c */; };
- AAF375F014CCC33800347F40 /* ares_fds.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375AE14CCC33800347F40 /* ares_fds.c */; };
- AAF375F114CCC33800347F40 /* ares_free_hostent.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375AF14CCC33800347F40 /* ares_free_hostent.c */; };
- AAF375F214CCC33800347F40 /* ares_free_string.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B014CCC33800347F40 /* ares_free_string.c */; };
- AAF375F314CCC33800347F40 /* ares_getenv.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B114CCC33800347F40 /* ares_getenv.c */; };
- AAF375F414CCC33800347F40 /* ares_gethostbyaddr.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B314CCC33800347F40 /* ares_gethostbyaddr.c */; };
- AAF375F514CCC33800347F40 /* ares_gethostbyname.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B414CCC33800347F40 /* ares_gethostbyname.c */; };
- AAF375F614CCC33800347F40 /* ares_getnameinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B514CCC33800347F40 /* ares_getnameinfo.c */; };
- AAF375F714CCC33800347F40 /* ares_getopt.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B614CCC33800347F40 /* ares_getopt.c */; };
- AAF375F814CCC33800347F40 /* ares_getsock.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B814CCC33800347F40 /* ares_getsock.c */; };
- AAF375F914CCC33800347F40 /* ares_init.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375B914CCC33800347F40 /* ares_init.c */; };
- AAF375FA14CCC33800347F40 /* ares_library_init.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375BC14CCC33800347F40 /* ares_library_init.c */; };
- AAF375FB14CCC33800347F40 /* ares_llist.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375BE14CCC33800347F40 /* ares_llist.c */; };
- AAF375FC14CCC33800347F40 /* ares_mkquery.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C014CCC33800347F40 /* ares_mkquery.c */; };
- AAF375FD14CCC33800347F40 /* ares_nowarn.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C114CCC33800347F40 /* ares_nowarn.c */; };
- AAF375FE14CCC33800347F40 /* ares_options.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C314CCC33800347F40 /* ares_options.c */; };
- AAF375FF14CCC33800347F40 /* ares_parse_a_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C414CCC33800347F40 /* ares_parse_a_reply.c */; };
- AAF3760014CCC33800347F40 /* ares_parse_aaaa_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C514CCC33800347F40 /* ares_parse_aaaa_reply.c */; };
- AAF3760114CCC33800347F40 /* ares_parse_mx_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C614CCC33800347F40 /* ares_parse_mx_reply.c */; };
- AAF3760214CCC33800347F40 /* ares_parse_ns_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C714CCC33800347F40 /* ares_parse_ns_reply.c */; };
- AAF3760314CCC33800347F40 /* ares_parse_ptr_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C814CCC33800347F40 /* ares_parse_ptr_reply.c */; };
- AAF3760414CCC33800347F40 /* ares_parse_srv_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375C914CCC33800347F40 /* ares_parse_srv_reply.c */; };
- AAF3760514CCC33800347F40 /* ares_parse_txt_reply.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375CA14CCC33800347F40 /* ares_parse_txt_reply.c */; };
- AAF3760614CCC33800347F40 /* ares_platform.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375CB14CCC33800347F40 /* ares_platform.c */; };
- AAF3760714CCC33800347F40 /* ares_process.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375CE14CCC33800347F40 /* ares_process.c */; };
- AAF3760814CCC33800347F40 /* ares_query.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375CF14CCC33800347F40 /* ares_query.c */; };
- AAF3760914CCC33800347F40 /* ares_search.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D114CCC33800347F40 /* ares_search.c */; };
- AAF3760A14CCC33800347F40 /* ares_send.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D214CCC33800347F40 /* ares_send.c */; };
- AAF3760B14CCC33800347F40 /* ares_strcasecmp.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D414CCC33800347F40 /* ares_strcasecmp.c */; };
- AAF3760C14CCC33800347F40 /* ares_strdup.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D614CCC33800347F40 /* ares_strdup.c */; };
- AAF3760D14CCC33800347F40 /* ares_strerror.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D814CCC33800347F40 /* ares_strerror.c */; };
- AAF3760E14CCC33800347F40 /* ares_timeout.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375D914CCC33800347F40 /* ares_timeout.c */; };
- AAF3760F14CCC33800347F40 /* ares_version.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375DA14CCC33800347F40 /* ares_version.c */; };
- AAF3761014CCC33800347F40 /* ares_writev.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375DB14CCC33800347F40 /* ares_writev.c */; };
- AAF3761114CCC33800347F40 /* bitncmp.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375DD14CCC33800347F40 /* bitncmp.c */; };
- AAF3761214CCC33800347F40 /* inet_net_pton.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375DF14CCC33800347F40 /* inet_net_pton.c */; };
- AAF3761314CCC33800347F40 /* inet_ntop.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375E114CCC33800347F40 /* inet_ntop.c */; };
- AAF3761414CCC33800347F40 /* uv-common.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF375E514CCC33800347F40 /* uv-common.c */; };
- AAF3762514CCC38000347F40 /* cares.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761614CCC37F00347F40 /* cares.c */; };
- AAF3762614CCC38000347F40 /* core.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761714CCC37F00347F40 /* core.c */; };
- AAF3762714CCC38000347F40 /* darwin.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761814CCC37F00347F40 /* darwin.c */; };
- AAF3762814CCC38000347F40 /* dl.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761914CCC38000347F40 /* dl.c */; };
- AAF3762914CCC38000347F40 /* error.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761A14CCC38000347F40 /* error.c */; };
- AAF3762A14CCC38000347F40 /* kqueue.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761C14CCC38000347F40 /* kqueue.c */; };
- AAF3762B14CCC38000347F40 /* pipe.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761D14CCC38000347F40 /* pipe.c */; };
- AAF3762C14CCC38000347F40 /* process.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761E14CCC38000347F40 /* process.c */; };
- AAF3762D14CCC38000347F40 /* stream.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3761F14CCC38000347F40 /* stream.c */; };
- AAF3762E14CCC38000347F40 /* tcp.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3762014CCC38000347F40 /* tcp.c */; };
- AAF3762F14CCC38000347F40 /* tty.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3762114CCC38000347F40 /* tty.c */; };
- AAF3763014CCC38000347F40 /* udp.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3762214CCC38000347F40 /* udp.c */; };
- AAF3763114CCC38000347F40 /* uv-eio.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3762314CCC38000347F40 /* uv-eio.c */; };
- AAF3765414CCC4A900347F40 /* eio.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3764314CCC4A900347F40 /* eio.c */; };
- AAF3768C14CCC4E500347F40 /* ev.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3766D14CCC4E500347F40 /* ev.c */; };
- AAF3769414CCC4E500347F40 /* event.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF3767714CCC4E500347F40 /* event.c */; };
- AAF3769F14CCCE2C00347F40 /* libssl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = AAF3769E14CCCE2C00347F40 /* libssl.dylib */; };
- AAF376A114CCCE5100347F40 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = AAF376A014CCCE5000347F40 /* libz.dylib */; };
- AAF376A314CCCE5E00347F40 /* libcrypto.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = AAF376A214CCCE5E00347F40 /* libcrypto.dylib */; };
- AAF376A514CCCE9700347F40 /* fs.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF376A414CCCE9700347F40 /* fs.c */; };
- AAF376B414CCCEF400347F40 /* http_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF376AA14CCCEF400347F40 /* http_parser.c */; };
- AAFAAD88129095EB00949028 /* JMXScript.mm in Sources */ = {isa = PBXBuildFile; fileRef = AAFAAD87129095EB00949028 /* JMXScript.mm */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
@@ -298,17 +301,6 @@
dstPath = js;
dstSubfolderSpec = 13;
files = (
- AAEA251914D4D2B800533049 /* processing.js in Deploy JS API */,
- AA38D1CC12DCC2CA00208826 /* jquery.js in Deploy JS API */,
- AAC6359C12D4622400B69DFE /* DOM.js in Deploy JS API */,
- AA4BFECF12BE25E900775B88 /* JMX.js in Deploy JS API */,
- AA4BFED012BE25E900775B88 /* AudioOutput.js in Deploy JS API */,
- AA4BFED112BE25E900775B88 /* VideoOutput.js in Deploy JS API */,
- AA4BFF2F12BE2F9500775B88 /* VideoFilter.js in Deploy JS API */,
- AA4B01F412BEC85F00775B88 /* AudioCapture.js in Deploy JS API */,
- AA8F785812C5880100EA8543 /* VideoCapture.js in Deploy JS API */,
- AA8F785912C5880100EA8543 /* MovieFile.js in Deploy JS API */,
- AA8F785A12C5880100EA8543 /* AudioFile.js in Deploy JS API */,
);
name = "Deploy JS API";
runOnlyForDeploymentPostprocessing = 0;
@@ -447,6 +439,11 @@
AA1E53B714AF60F200F80337 /* Global.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = Global.js; sourceTree = "<group>"; };
AA2BE3F212353BA6006087E7 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
AA2BE40A12353D5C006087E7 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; };
+ AA2C746316DFA74000B623C2 /* libJMX-Core.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libJMX-Core.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+ AA2C754E16DFAB0A00B623C2 /* JMX-Core_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "JMX-Core_Prefix.pch"; sourceTree = "<group>"; };
+ AA306162167B79740005AFD5 /* libv8_base.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libv8_base.a; path = ../v8/out/x64.release/libv8_base.a; sourceTree = "<group>"; };
+ AA306164167B7A630005AFD5 /* libv8_nosnapshot.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libv8_nosnapshot.a; path = ../v8/out/x64.release/libv8_nosnapshot.a; sourceTree = "<group>"; };
+ AA306165167B7A630005AFD5 /* libv8_snapshot.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libv8_snapshot.a; path = ../v8/out/x64.release/libv8_snapshot.a; sourceTree = "<group>"; };
AA3556F41277340200EAA2E4 /* JMXTextEntity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JMXTextEntity.h; sourceTree = "<group>"; };
AA3556F51277340200EAA2E4 /* JMXTextEntity.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = JMXTextEntity.mm; sourceTree = "<group>"; };
AA3556FF1277347300EAA2E4 /* JMXTextRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JMXTextRenderer.h; sourceTree = "<group>"; };
@@ -564,7 +561,6 @@
AA9B58D614FE1E4F00F63C33 /* NSNumber+V8.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSNumber+V8.mm"; sourceTree = "<group>"; };
AA9B58D714FE1E4F00F63C33 /* NSString+V8.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+V8.h"; sourceTree = "<group>"; };
AA9B58D814FE1E4F00F63C33 /* NSString+V8.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSString+V8.mm"; sourceTree = "<group>"; };
- AA9B58FC14FED30700F63C33 /* libv8.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libv8.dylib; path = "../v8-read-only/libv8.dylib"; sourceTree = "<group>"; };
AA9C17FA12E200C400329158 /* JMXCanvasElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JMXCanvasElement.h; sourceTree = "<group>"; };
AA9C17FB12E200C400329158 /* JMXCanvasElement.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = JMXCanvasElement.mm; sourceTree = "<group>"; };
AA9C18D812E2FC1000329158 /* JMXCanvasGradient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JMXCanvasGradient.h; sourceTree = "<group>"; };
@@ -839,22 +835,32 @@
buildActionMask = 2147483647;
files = (
AA0A89BD1675E02800FF784F /* AudioUnit.framework in Frameworks */,
- AA0BFDFE1587E5B600D3C8E4 /* Phidget21.framework in Frameworks */,
- AA678A48150CC47D00B2E8F7 /* CoreMedia.framework in Frameworks */,
- AA678A46150CBC1000B2E8F7 /* AVFoundation.framework in Frameworks */,
- AAEF981314FA5C3C006B9F8B /* Carbon.framework in Frameworks */,
- AAEF981114FA5C31006B9F8B /* IOKit.framework in Frameworks */,
- AAF376A314CCCE5E00347F40 /* libcrypto.dylib in Frameworks */,
- AAF376A114CCCE5100347F40 /* libz.dylib in Frameworks */,
- AAF3769F14CCCE2C00347F40 /* libssl.dylib in Frameworks */,
- 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
- 82456BC41223DC8300236FE4 /* OpenGL.framework in Frameworks */,
- 82456BC81223DC9900236FE4 /* QTKit.framework in Frameworks */,
82456BCC1223DCA700236FE4 /* QuartzCore.framework in Frameworks */,
- AA2BE3F312353BA6006087E7 /* CoreAudio.framework in Frameworks */,
- AA2BE40B12353D5C006087E7 /* Accelerate.framework in Frameworks */,
- AADEBFC812414F7E00A6A06D /* AudioToolbox.framework in Frameworks */,
- AA9B58FD14FED30700F63C33 /* libv8.dylib in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ AA2C746016DFA74000B623C2 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ AA2C746416DFA74000B623C2 /* Cocoa.framework in Frameworks */,
+ AA2C753C16DFAA3600B623C2 /* libv8_nosnapshot.a in Frameworks */,
+ AA2C753D16DFAA3700B623C2 /* libv8_snapshot.a in Frameworks */,
+ AA2C753E16DFAA3700B623C2 /* libv8_base.a in Frameworks */,
+ AA2C753F16DFAA4000B623C2 /* Phidget21.framework in Frameworks */,
+ AA2C754016DFAA4000B623C2 /* CoreMedia.framework in Frameworks */,
+ AA2C754116DFAA4000B623C2 /* AVFoundation.framework in Frameworks */,
+ AA2C754216DFAA4000B623C2 /* Carbon.framework in Frameworks */,
+ AA2C754316DFAA4800B623C2 /* IOKit.framework in Frameworks */,
+ AA2C754416DFAA4C00B623C2 /* Foundation.framework in Frameworks */,
+ AA2C754616DFAA5700B623C2 /* OpenGL.framework in Frameworks */,
+ AA2C754716DFAA5700B623C2 /* QTKit.framework in Frameworks */,
+ AA2C754816DFAA5D00B623C2 /* CoreAudio.framework in Frameworks */,
+ AA2C754916DFAA5D00B623C2 /* Accelerate.framework in Frameworks */,
+ AA2C754A16DFAA5D00B623C2 /* AudioToolbox.framework in Frameworks */,
+ AA2C754B16DFAA6400B623C2 /* libcrypto.dylib in Frameworks */,
+ AA2C754C16DFAA6400B623C2 /* libz.dylib in Frameworks */,
+ AA2C754D16DFAA6400B623C2 /* libssl.dylib in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -883,6 +889,7 @@
isa = PBXGroup;
children = (
8D1107320486CEB800E47090 /* JMX.app */,
+ AA2C746316DFA74000B623C2 /* libJMX-Core.a */,
);
name = Products;
sourceTree = "<group>";
@@ -909,6 +916,7 @@
256AC3D80F4B6AC300CF3369 /* JMXAppDelegate.h */,
256AC3D90F4B6AC300CF3369 /* JMXAppDelegate.m */,
29B97316FDCFA39411CA2CEA /* main.m */,
+ AA2C754E16DFAB0A00B623C2 /* JMX-Core_Prefix.pch */,
);
name = "Other Sources";
sourceTree = "<group>";
@@ -928,6 +936,9 @@
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
isa = PBXGroup;
children = (
+ AA306164167B7A630005AFD5 /* libv8_nosnapshot.a */,
+ AA306165167B7A630005AFD5 /* libv8_snapshot.a */,
+ AA306162167B79740005AFD5 /* libv8_base.a */,
AA0BFDFD1587E5B600D3C8E4 /* Phidget21.framework */,
AA678A47150CC47D00B2E8F7 /* CoreMedia.framework */,
AA678A45150CBC1000B2E8F7 /* AVFoundation.framework */,
@@ -945,7 +956,6 @@
AADEBFC712414F7E00A6A06D /* AudioToolbox.framework */,
AAF376A214CCCE5E00347F40 /* libcrypto.dylib */,
AAF376A014CCCE5000347F40 /* libz.dylib */,
- AA9B58FC14FED30700F63C33 /* libv8.dylib */,
AAF3769E14CCCE2C00347F40 /* libssl.dylib */,
);
name = Frameworks;
@@ -1692,6 +1702,16 @@
};
/* End PBXGroup section */
+/* Begin PBXHeadersBuildPhase section */
+ AA2C746116DFA74000B623C2 /* Headers */ = {
+ isa = PBXHeadersBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXHeadersBuildPhase section */
+
/* Begin PBXNativeTarget section */
8D1107260486CEB800E47090 /* JMX */ = {
isa = PBXNativeTarget;
@@ -1715,6 +1735,23 @@
productReference = 8D1107320486CEB800E47090 /* JMX.app */;
productType = "com.apple.product-type.application";
};
+ AA2C746216DFA74000B623C2 /* JMX-Core */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = AA2C747116DFA74000B623C2 /* Build configuration list for PBXNativeTarget "JMX-Core" */;
+ buildPhases = (
+ AA2C745F16DFA74000B623C2 /* Sources */,
+ AA2C746016DFA74000B623C2 /* Frameworks */,
+ AA2C746116DFA74000B623C2 /* Headers */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "JMX-Core";
+ productName = "JMX-Core";
+ productReference = AA2C746316DFA74000B623C2 /* libJMX-Core.a */;
+ productType = "com.apple.product-type.library.static";
+ };
/* End PBXNativeTarget section */
/* Begin PBXProject section */
@@ -1739,6 +1776,7 @@
projectRoot = "";
targets = (
8D1107260486CEB800E47090 /* JMX */,
+ AA2C746216DFA74000B623C2 /* JMX-Core */,
);
};
/* End PBXProject section */
@@ -1748,12 +1786,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- AA55601412AEF7CC00C882FF /* CIAlphaFade.cikernel in Resources */,
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */,
1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */,
AA54B28B12A1215000EC60B2 /* jmx-icon.icns in Resources */,
- AAEBB8AD14FC1839000DA6F9 /* CIAlphaBlend.cikernel in Resources */,
- AAEBBA1514FD65CF000DA6F9 /* CIAdditiveBlur.cikernel in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1786,7 +1821,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "V8_LIBNAME=\"\"\nif [ \"$CONFIGURATION\" = \"Debug\" ]; then\n\tV8_LIBNAME=libv8.dylib\nelse\n\tV8_LIBNAME=libv8.dylib\nfi\n\nif [ ! -d $TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks ]; then\n\tmkdir $TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks\nfi\ncp $PROJECT_DIR/../v8-read-only/$V8_LIBNAME $TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/\ninstall_name_tool -id @executable_path/../Frameworks/$V8_LIBNAME \\\n\t\"$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/$V8_LIBNAME\"\ninstall_name_tool \\\n\t-change $V8_LIBNAME \\\n\t@executable_path/../Frameworks/$V8_LIBNAME \\\n\t$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME";
+ shellScript = "# disabled since the v8 library is now statucally linked\nexit 0\n\nV8_LIBNAME=\"\"\nif [ \"$CONFIGURATION\" = \"Debug\" ]; then\n\tV8_LIBNAME=libv8.dylib\nelse\n\tV8_LIBNAME=libv8.dylib\nfi\n\nif [ ! -d $TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks ]; then\n\tmkdir $TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks\nfi\ncp $PROJECT_DIR/../v8-read-only/$V8_LIBNAME $TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/\ninstall_name_tool -id @executable_path/../Frameworks/$V8_LIBNAME \\\n\t\"$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/$V8_LIBNAME\"\ninstall_name_tool \\\n\t-change $V8_LIBNAME \\\n\t@executable_path/../Frameworks/$V8_LIBNAME \\\n\t$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME";
};
/* End PBXShellScriptBuildPhase section */
@@ -1805,200 +1840,221 @@
825C30E21275AD32006376B8 /* JMXEntityInspectorPanel.m in Sources */,
825C30E31275AD32006376B8 /* JMXEntityLayer.m in Sources */,
825C30E41275AD32006376B8 /* JMXOutletLayer.m in Sources */,
- 825C31101275ADB6006376B8 /* JMXQtExporter.m in Sources */,
- 825C31111275ADB6006376B8 /* JMXCoreImageFilter.mm in Sources */,
- 825C31121275ADB6006376B8 /* JMXAudioFileEntity.mm in Sources */,
- 825C31131275ADB6006376B8 /* JMXImageEntity.mm in Sources */,
- 825C31141275ADB6006376B8 /* JMXQtAudioCaptureEntity.mm in Sources */,
- 825C31151275ADB6006376B8 /* JMXQtVideoCaptureEntity.mm in Sources */,
- 825C31161275ADB6006376B8 /* JMXQtMovieEntity.mm in Sources */,
- 825C31171275ADB6006376B8 /* JMXCoreAudioOutput.mm in Sources */,
- 825C31181275ADB6006376B8 /* JMXQtAudioOutput.m in Sources */,
- 825C31191275ADB6006376B8 /* JMXOpenGLScreen.mm in Sources */,
- 825C311A1275ADB6006376B8 /* JMXSoftScreen.m in Sources */,
- 825C311B1275ADB6006376B8 /* JMXAudioMixer.mm in Sources */,
- 825C311C1275ADB6006376B8 /* JMXAudioOutput.mm in Sources */,
- 825C311E1275ADB6006376B8 /* JMXAudioSpectrumAnalyzer.mm in Sources */,
- 825C311F1275ADB6006376B8 /* JMXExporter.m in Sources */,
- 825C31201275ADB6006376B8 /* JMXVideoEntity.mm in Sources */,
- 825C31211275ADB6006376B8 /* JMXVideoMixer.mm in Sources */,
- 825C31221275ADB6006376B8 /* JMXVideoOutput.mm in Sources */,
- 825C31461275ADD7006376B8 /* JMXAudioBuffer.m in Sources */,
- 825C31471275ADD7006376B8 /* JMXAudioDevice.m in Sources */,
- 825C31481275ADD7006376B8 /* JMXAudioFile.m in Sources */,
- 825C31491275ADD7006376B8 /* JMXAudioFormat.m in Sources */,
- 825C314B1275ADD7006376B8 /* JMXContext.m in Sources */,
- 825C314C1275ADD7006376B8 /* JMXEntity.mm in Sources */,
- 825C314D1275ADD7006376B8 /* JMXInputPin.m in Sources */,
- 825C314E1275ADD7006376B8 /* JMXOutputPin.m in Sources */,
- 825C314F1275ADD7006376B8 /* JMXPin.mm in Sources */,
- 825C31501275ADD7006376B8 /* JMXPinSignal.m in Sources */,
- 825C31511275ADD7006376B8 /* JMXPoint.mm in Sources */,
- 825C31521275ADD7006376B8 /* JMXRingBuffer.m in Sources */,
- 825C31531275ADD7006376B8 /* JMXSize.mm in Sources */,
- 825C31541275ADD7006376B8 /* JMXSpectrumAnalyzer.m in Sources */,
- 825C31551275ADD7006376B8 /* JMXThreadedEntity.mm in Sources */,
825C31841275AF03006376B8 /* JMXEntityLabelLayer.m in Sources */,
825C318A1275AF4B006376B8 /* JMXOutletLabelLayer.m in Sources */,
825C319D1275AFB6006376B8 /* JMXLibraryTableView.m in Sources */,
825C319E1275AFB6006376B8 /* JMXLibraryTableViewDelegate.m in Sources */,
- AA3557441277468800EAA2E4 /* JMXTextRenderer.m in Sources */,
- AA3557451277468800EAA2E4 /* JMXTextEntity.mm in Sources */,
- AA3557DA12795C5500EAA2E4 /* JMXDrawEntity.mm in Sources */,
- AA8CB78E1282BB9900A17115 /* JMXScriptFile.mm in Sources */,
- 82AD7F701289F3C300C85EB1 /* JMXOpenGLDraw.mm in Sources */,
- AAD139BB128EA0DF00ECB03A /* JMXDrawPath.mm in Sources */,
- AAD13C4A128EF2AB00ECB03A /* NSColor+V8.mm in Sources */,
82A21F5E12902EE50002738B /* JMXDocumentSplitViewDelegate.m in Sources */,
- AAFAAD88129095EB00949028 /* JMXScript.mm in Sources */,
82A2206D129091910002738B /* JMXBoardViewController.m in Sources */,
82A220CA129098A60002738B /* JMXWindowController.m in Sources */,
- AACE7D04129315DE00FBDC0D /* JMXScriptEntity.mm in Sources */,
- AACE7D331293195600FBDC0D /* JMXV8PropertyAccessors.mm in Sources */,
- AA5563C412B188EB00C882FF /* CIAlphaFade.m in Sources */,
- AA4BFC8412BD324A00775B88 /* JMXVideoFilter.mm in Sources */,
- AA4B00C912BE560100775B88 /* JMXProxyPin.m in Sources */,
- AA4B020912BED1BB00775B88 /* JMXAudioCapture.mm in Sources */,
- AA4B039C12C06C7600775B88 /* JMXVideoCapture.mm in Sources */,
- AA8F806112C9D3FA00EA8543 /* JMXScriptLive.mm in Sources */,
AA8F817612CB236700EA8543 /* JMXTextPanel.m in Sources */,
- AAC6323112CFC72B00B69DFE /* JMXGraph.mm in Sources */,
- AAC6323C12CFCAB900B69DFE /* JMXElement.mm in Sources */,
- AAC6334612D36DA900B69DFE /* NSXMLNode+V8.mm in Sources */,
- AAC6376312D5099400B69DFE /* JMXCDATA.mm in Sources */,
- AAC637E012D5204C00B69DFE /* JMXAttribute.mm in Sources */,
- AA9C17FC12E200C400329158 /* JMXCanvasElement.mm in Sources */,
- AA9C18DA12E2FC1000329158 /* JMXCanvasGradient.mm in Sources */,
- AA9C190F12E32B0600329158 /* JMXCanvasPattern.mm in Sources */,
- AA9C19D412E4BDD500329158 /* JMXRect.mm in Sources */,
- AA9C1A4912E5964C00329158 /* JMXImageElement.mm in Sources */,
- AACCC73F14A921B500D44D71 /* NSFont+V8.mm in Sources */,
- AA1E53AD14AE114D00F80337 /* JMXGraphFragment.mm in Sources */,
AA08D33B14B5AA4500D19015 /* JMXCodePanel.m in Sources */,
- AA93701D14CC2FFB001D9BB3 /* JMXScriptTimer.mm in Sources */,
- AAF3757914CCBE8700347F40 /* cares_wrap.cc in Sources */,
- AAF3757A14CCBE8700347F40 /* fs_event_wrap.cc in Sources */,
- AAF3757B14CCBE8700347F40 /* handle_wrap.cc in Sources */,
- AAF3757D14CCBE8700347F40 /* node.cc in Sources */,
- AAF3758014CCBE8700347F40 /* node_buffer.cc in Sources */,
- AAF3758214CCBE8700347F40 /* node_constants.cc in Sources */,
- AAF3758314CCBE8700347F40 /* node_crypto.cc in Sources */,
- AAF3758414CCBE8700347F40 /* node_dtrace.cc in Sources */,
- AAF3758514CCBE8700347F40 /* node_extensions.cc in Sources */,
- AAF3758614CCBE8700347F40 /* node_file.cc in Sources */,
- AAF3758714CCBE8700347F40 /* node_http_parser.cc in Sources */,
- AAF3758814CCBE8700347F40 /* node_io_watcher.cc in Sources */,
- AAF3758914CCBE8700347F40 /* node_javascript.cc in Sources */,
- AAF3758B14CCBE8700347F40 /* node_os.cc in Sources */,
- AAF3758D14CCBE8700347F40 /* node_script.cc in Sources */,
- AAF3758E14CCBE8700347F40 /* node_signal_watcher.cc in Sources */,
- AAF3758F14CCBE8700347F40 /* node_stat_watcher.cc in Sources */,
- AAF3759014CCBE8700347F40 /* node_string.cc in Sources */,
- AAF3759114CCBE8700347F40 /* node_zlib.cc in Sources */,
- AAF3759214CCBE8700347F40 /* pipe_wrap.cc in Sources */,
- AAF3759314CCBE8700347F40 /* platform_darwin.cc in Sources */,
- AAF3759B14CCBE8700347F40 /* process_wrap.cc in Sources */,
- AAF3759C14CCBE8700347F40 /* stream_wrap.cc in Sources */,
- AAF3759D14CCBE8700347F40 /* tcp_wrap.cc in Sources */,
- AAF3759E14CCBE8700347F40 /* timer_wrap.cc in Sources */,
- AAF3759F14CCBE8700347F40 /* tty_wrap.cc in Sources */,
- AAF375A014CCBE8700347F40 /* udp_wrap.cc in Sources */,
- AAF375A114CCBE8700347F40 /* v8_typed_array.cc in Sources */,
- AAF375E714CCC33800347F40 /* ares__close_sockets.c in Sources */,
- AAF375E814CCC33800347F40 /* ares__get_hostent.c in Sources */,
- AAF375E914CCC33800347F40 /* ares__read_line.c in Sources */,
- AAF375EA14CCC33800347F40 /* ares__timeval.c in Sources */,
- AAF375EB14CCC33800347F40 /* ares_cancel.c in Sources */,
- AAF375EC14CCC33800347F40 /* ares_data.c in Sources */,
- AAF375ED14CCC33800347F40 /* ares_destroy.c in Sources */,
- AAF375EE14CCC33800347F40 /* ares_expand_name.c in Sources */,
- AAF375EF14CCC33800347F40 /* ares_expand_string.c in Sources */,
- AAF375F014CCC33800347F40 /* ares_fds.c in Sources */,
- AAF375F114CCC33800347F40 /* ares_free_hostent.c in Sources */,
- AAF375F214CCC33800347F40 /* ares_free_string.c in Sources */,
- AAF375F314CCC33800347F40 /* ares_getenv.c in Sources */,
- AAF375F414CCC33800347F40 /* ares_gethostbyaddr.c in Sources */,
- AAF375F514CCC33800347F40 /* ares_gethostbyname.c in Sources */,
- AAF375F614CCC33800347F40 /* ares_getnameinfo.c in Sources */,
- AAF375F714CCC33800347F40 /* ares_getopt.c in Sources */,
- AAF375F814CCC33800347F40 /* ares_getsock.c in Sources */,
- AAF375F914CCC33800347F40 /* ares_init.c in Sources */,
- AAF375FA14CCC33800347F40 /* ares_library_init.c in Sources */,
- AAF375FB14CCC33800347F40 /* ares_llist.c in Sources */,
- AAF375FC14CCC33800347F40 /* ares_mkquery.c in Sources */,
- AAF375FD14CCC33800347F40 /* ares_nowarn.c in Sources */,
- AAF375FE14CCC33800347F40 /* ares_options.c in Sources */,
- AAF375FF14CCC33800347F40 /* ares_parse_a_reply.c in Sources */,
- AAF3760014CCC33800347F40 /* ares_parse_aaaa_reply.c in Sources */,
- AAF3760114CCC33800347F40 /* ares_parse_mx_reply.c in Sources */,
- AAF3760214CCC33800347F40 /* ares_parse_ns_reply.c in Sources */,
- AAF3760314CCC33800347F40 /* ares_parse_ptr_reply.c in Sources */,
- AAF3760414CCC33800347F40 /* ares_parse_srv_reply.c in Sources */,
- AAF3760514CCC33800347F40 /* ares_parse_txt_reply.c in Sources */,
- AAF3760614CCC33800347F40 /* ares_platform.c in Sources */,
- AAF3760714CCC33800347F40 /* ares_process.c in Sources */,
- AAF3760814CCC33800347F40 /* ares_query.c in Sources */,
- AAF3760914CCC33800347F40 /* ares_search.c in Sources */,
- AAF3760A14CCC33800347F40 /* ares_send.c in Sources */,
- AAF3760B14CCC33800347F40 /* ares_strcasecmp.c in Sources */,
- AAF3760C14CCC33800347F40 /* ares_strdup.c in Sources */,
- AAF3760D14CCC33800347F40 /* ares_strerror.c in Sources */,
- AAF3760E14CCC33800347F40 /* ares_timeout.c in Sources */,
- AAF3760F14CCC33800347F40 /* ares_version.c in Sources */,
- AAF3761014CCC33800347F40 /* ares_writev.c in Sources */,
- AAF3761114CCC33800347F40 /* bitncmp.c in Sources */,
- AAF3761214CCC33800347F40 /* inet_net_pton.c in Sources */,
- AAF3761314CCC33800347F40 /* inet_ntop.c in Sources */,
- AAF3761414CCC33800347F40 /* uv-common.c in Sources */,
- AAF3762514CCC38000347F40 /* cares.c in Sources */,
- AAF3762614CCC38000347F40 /* core.c in Sources */,
- AAF3762714CCC38000347F40 /* darwin.c in Sources */,
- AAF3762814CCC38000347F40 /* dl.c in Sources */,
- AAF3762914CCC38000347F40 /* error.c in Sources */,
- AAF3762A14CCC38000347F40 /* kqueue.c in Sources */,
- AAF3762B14CCC38000347F40 /* pipe.c in Sources */,
- AAF3762C14CCC38000347F40 /* process.c in Sources */,
- AAF3762D14CCC38000347F40 /* stream.c in Sources */,
- AAF3762E14CCC38000347F40 /* tcp.c in Sources */,
- AAF3762F14CCC38000347F40 /* tty.c in Sources */,
- AAF3763014CCC38000347F40 /* udp.c in Sources */,
- AAF3763114CCC38000347F40 /* uv-eio.c in Sources */,
- AAF3765414CCC4A900347F40 /* eio.c in Sources */,
- AAF3768C14CCC4E500347F40 /* ev.c in Sources */,
- AAF3769414CCC4E500347F40 /* event.c in Sources */,
- AAF376A514CCCE9700347F40 /* fs.c in Sources */,
- AAF376B414CCCEF400347F40 /* http_parser.c in Sources */,
- AAEA251C14D4D5A200533049 /* JMXEvent.mm in Sources */,
- AAB71A0714D6BF0200BE8C35 /* JMXImageData.mm in Sources */,
- AAB71A0A14D6D89E00BE8C35 /* JMXUint8ClampedArray.mm in Sources */,
- AAB71A0D14D7585500BE8C35 /* JMXEventListener.mm in Sources */,
- AA02230F14D8BB8C00E7908F /* JMXScriptPinWrapper.mm in Sources */,
AAB50B6414DD6405002F385C /* JMXEntitiesController.m in Sources */,
- AA004D8214E7148600009CF9 /* JMXPhidgetEncoderEntity.mm in Sources */,
- AAD751D214E913FA008B1085 /* JMXScreenController.m in Sources */,
- AAD751D514E94631008B1085 /* JMXMouseEvent.mm in Sources */,
- AAD751D814E98DD4008B1085 /* JMXKeyboardEvent.mm in Sources */,
- AAD751DB14E9AFFB008B1085 /* JMXScriptInputPin.mm in Sources */,
- AAD751DE14E9B01A008B1085 /* JMXScriptOutputPin.mm in Sources */,
AA37E05214FA318500CBA0AE /* JMXDOMBrowser.m in Sources */,
- AAEF980014FA5BF3006B9F8B /* HID_Utilities.c in Sources */,
- AAEF980114FA5BF3006B9F8B /* HID_Queue_Utilities.c in Sources */,
- AAEF980214FA5BF3006B9F8B /* HID_Name_Lookup.c in Sources */,
- AAEF980314FA5BF3006B9F8B /* HID_Error_Handler.c in Sources */,
- AAEF980414FA5BF3006B9F8B /* HID_Config_Utilities.c in Sources */,
- AAEF980D14FA5BFD006B9F8B /* ImmrHIDUtilAddOn.c in Sources */,
- AAEF980E14FA5BFD006B9F8B /* IOHIDDevice_.c in Sources */,
- AAEF980F14FA5BFD006B9F8B /* IOHIDElement_.c in Sources */,
- AAEF981614FA5CFE006B9F8B /* JMXHIDDevice.m in Sources */,
- AAEF981D14FAB4E2006B9F8B /* JMXHIDInputEntity.mm in Sources */,
- AAEF982014FAD2EE006B9F8B /* JMXByteArray.mm in Sources */,
- AAEF982314FAE6B7006B9F8B /* NSDictionary+V8.mm in Sources */,
- AAEF982614FAE811006B9F8B /* NSObject+V8.mm in Sources */,
- AAEBB9CD14FC6873000DA6F9 /* CIAlphaBlend.m in Sources */,
- AAEBBA1614FD65CF000DA6F9 /* CIAdditiveBlur.m in Sources */,
- AA9B58D914FE1E4F00F63C33 /* NSNumber+V8.mm in Sources */,
- AA9B58DA14FE1E4F00F63C33 /* NSString+V8.mm in Sources */,
- AA0A89C01675E09C00FF784F /* JMXAudioToneGenerator.mm in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ AA2C745F16DFA74000B623C2 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ AA2C747216DFA7B400B623C2 /* NSNumber+V8.mm in Sources */,
+ AA2C747316DFA7B400B623C2 /* NSString+V8.mm in Sources */,
+ AA2C747416DFA7B400B623C2 /* NSObject+V8.mm in Sources */,
+ AA2C747516DFA7B400B623C2 /* NSDictionary+V8.mm in Sources */,
+ AA2C747616DFA7B400B623C2 /* NSXMLNode+V8.mm in Sources */,
+ AA2C747716DFA7B400B623C2 /* NSFont+V8.mm in Sources */,
+ AA2C747816DFA7B400B623C2 /* JMXV8PropertyAccessors.mm in Sources */,
+ AA2C747916DFA7B400B623C2 /* JMXGraph.mm in Sources */,
+ AA2C747A16DFA7B400B623C2 /* JMXElement.mm in Sources */,
+ AA2C747B16DFA7B400B623C2 /* JMXGraphFragment.mm in Sources */,
+ AA2C747C16DFA7B400B623C2 /* JMXCDATA.mm in Sources */,
+ AA2C747D16DFA7B400B623C2 /* JMXAttribute.mm in Sources */,
+ AA2C747E16DFA7B400B623C2 /* JMXPoint.mm in Sources */,
+ AA2C747F16DFA7B400B623C2 /* NSColor+V8.mm in Sources */,
+ AA2C748016DFA7B400B623C2 /* JMXSize.mm in Sources */,
+ AA2C748116DFA7B400B623C2 /* JMXRect.mm in Sources */,
+ AA2C748216DFA7B400B623C2 /* JMXScript.mm in Sources */,
+ AA2C748316DFA7B400B623C2 /* JMXCanvasElement.mm in Sources */,
+ AA2C748416DFA7B400B623C2 /* JMXCanvasGradient.mm in Sources */,
+ AA2C748516DFA7B400B623C2 /* JMXCanvasPattern.mm in Sources */,
+ AA2C748616DFA7B400B623C2 /* JMXImageElement.mm in Sources */,
+ AA2C748716DFA7B400B623C2 /* JMXScriptTimer.mm in Sources */,
+ AA2C748816DFA7B400B623C2 /* JMXEvent.mm in Sources */,
+ AA2C748916DFA7B400B623C2 /* JMXImageData.mm in Sources */,
+ AA2C748A16DFA7B400B623C2 /* JMXUint8ClampedArray.mm in Sources */,
+ AA2C748B16DFA7B400B623C2 /* JMXByteArray.mm in Sources */,
+ AA2C748C16DFA7B400B623C2 /* JMXEventListener.mm in Sources */,
+ AA2C748D16DFA7B400B623C2 /* JMXMouseEvent.mm in Sources */,
+ AA2C748E16DFA7B400B623C2 /* JMXKeyboardEvent.mm in Sources */,
+ AA2C748F16DFA7B400B623C2 /* JMXScriptPinWrapper.mm in Sources */,
+ AA2C749016DFA7B400B623C2 /* JMXScriptInputPin.mm in Sources */,
+ AA2C749116DFA7B400B623C2 /* JMXScriptOutputPin.mm in Sources */,
+ AA2C749216DFA7D400B623C2 /* ImmrHIDUtilAddOn.c in Sources */,
+ AA2C749316DFA7D400B623C2 /* IOHIDDevice_.c in Sources */,
+ AA2C749416DFA7D400B623C2 /* IOHIDElement_.c in Sources */,
+ AA2C749516DFA7D400B623C2 /* HID_Utilities.c in Sources */,
+ AA2C749616DFA7D400B623C2 /* HID_Queue_Utilities.c in Sources */,
+ AA2C749716DFA7D400B623C2 /* HID_Name_Lookup.c in Sources */,
+ AA2C749816DFA7D400B623C2 /* HID_Error_Handler.c in Sources */,
+ AA2C749916DFA7D400B623C2 /* HID_Config_Utilities.c in Sources */,
+ AA2C749A16DFA84100B623C2 /* cares_wrap.cc in Sources */,
+ AA2C749B16DFA84100B623C2 /* fs_event_wrap.cc in Sources */,
+ AA2C749C16DFA84100B623C2 /* handle_wrap.cc in Sources */,
+ AA2C749D16DFA84100B623C2 /* node.cc in Sources */,
+ AA2C749E16DFA84100B623C2 /* node_buffer.cc in Sources */,
+ AA2C749F16DFA84100B623C2 /* node_constants.cc in Sources */,
+ AA2C74A016DFA84100B623C2 /* node_crypto.cc in Sources */,
+ AA2C74A116DFA84100B623C2 /* node_dtrace.cc in Sources */,
+ AA2C74A216DFA84100B623C2 /* node_extensions.cc in Sources */,
+ AA2C74A316DFA84100B623C2 /* node_file.cc in Sources */,
+ AA2C74A416DFA84100B623C2 /* node_http_parser.cc in Sources */,
+ AA2C74A516DFA84100B623C2 /* node_io_watcher.cc in Sources */,
+ AA2C74A616DFA84100B623C2 /* node_javascript.cc in Sources */,
+ AA2C74A716DFA84100B623C2 /* node_os.cc in Sources */,
+ AA2C74A816DFA84100B623C2 /* node_script.cc in Sources */,
+ AA2C74A916DFA84100B623C2 /* node_signal_watcher.cc in Sources */,
+ AA2C74AA16DFA84100B623C2 /* node_stat_watcher.cc in Sources */,
+ AA2C74AB16DFA84100B623C2 /* node_string.cc in Sources */,
+ AA2C74AC16DFA84100B623C2 /* node_zlib.cc in Sources */,
+ AA2C74AD16DFA84100B623C2 /* pipe_wrap.cc in Sources */,
+ AA2C74AE16DFA84100B623C2 /* platform_darwin.cc in Sources */,
+ AA2C74AF16DFA84100B623C2 /* process_wrap.cc in Sources */,
+ AA2C74B016DFA84100B623C2 /* stream_wrap.cc in Sources */,
+ AA2C74B116DFA84100B623C2 /* tcp_wrap.cc in Sources */,
+ AA2C74B216DFA84100B623C2 /* timer_wrap.cc in Sources */,
+ AA2C74B316DFA84100B623C2 /* tty_wrap.cc in Sources */,
+ AA2C74B416DFA84100B623C2 /* udp_wrap.cc in Sources */,
+ AA2C74B516DFA84100B623C2 /* v8_typed_array.cc in Sources */,
+ AA2C74B616DFA84D00B623C2 /* http_parser.c in Sources */,
+ AA2C74B716DFA85800B623C2 /* fs.c in Sources */,
+ AA2C74B816DFA85800B623C2 /* uv-common.c in Sources */,
+ AA2C74B916DFA86100B623C2 /* ev_kqueue.c in Sources */,
+ AA2C74BA16DFA86100B623C2 /* ev_poll.c in Sources */,
+ AA2C74BB16DFA86100B623C2 /* ev_select.c in Sources */,
+ AA2C74BC16DFA86100B623C2 /* ev.c in Sources */,
+ AA2C74BD16DFA86100B623C2 /* event.c in Sources */,
+ AA2C74C116DFA86D00B623C2 /* eio.c in Sources */,
+ AA2C74C216DFA8A800B623C2 /* cares.c in Sources */,
+ AA2C74C316DFA8A800B623C2 /* core.c in Sources */,
+ AA2C74C416DFA8A800B623C2 /* darwin.c in Sources */,
+ AA2C74C516DFA8A800B623C2 /* dl.c in Sources */,
+ AA2C74C616DFA8A800B623C2 /* error.c in Sources */,
+ AA2C74C716DFA8A800B623C2 /* kqueue.c in Sources */,
+ AA2C74C816DFA8A800B623C2 /* pipe.c in Sources */,
+ AA2C74C916DFA8A800B623C2 /* process.c in Sources */,
+ AA2C74CA16DFA8A800B623C2 /* stream.c in Sources */,
+ AA2C74CB16DFA8A800B623C2 /* tcp.c in Sources */,
+ AA2C74CC16DFA8A800B623C2 /* tty.c in Sources */,
+ AA2C74CD16DFA8A800B623C2 /* udp.c in Sources */,
+ AA2C74CE16DFA8A800B623C2 /* uv-eio.c in Sources */,
+ AA2C74CF16DFA8A800B623C2 /* ares__close_sockets.c in Sources */,
+ AA2C74D016DFA8A800B623C2 /* ares__get_hostent.c in Sources */,
+ AA2C74D116DFA8A800B623C2 /* ares__read_line.c in Sources */,
+ AA2C74D216DFA8A800B623C2 /* ares__timeval.c in Sources */,
+ AA2C74D316DFA8A800B623C2 /* ares_cancel.c in Sources */,
+ AA2C74D416DFA8A800B623C2 /* ares_data.c in Sources */,
+ AA2C74D516DFA8A800B623C2 /* ares_destroy.c in Sources */,
+ AA2C74D616DFA8A800B623C2 /* ares_expand_name.c in Sources */,
+ AA2C74D716DFA8A800B623C2 /* ares_expand_string.c in Sources */,
+ AA2C74D816DFA8A800B623C2 /* ares_fds.c in Sources */,
+ AA2C74D916DFA8A800B623C2 /* ares_free_hostent.c in Sources */,
+ AA2C74DA16DFA8A800B623C2 /* ares_free_string.c in Sources */,
+ AA2C74DB16DFA8A800B623C2 /* ares_getenv.c in Sources */,
+ AA2C74DC16DFA8A800B623C2 /* ares_gethostbyaddr.c in Sources */,
+ AA2C74DD16DFA8A800B623C2 /* ares_gethostbyname.c in Sources */,
+ AA2C74DE16DFA8A800B623C2 /* ares_getnameinfo.c in Sources */,
+ AA2C74DF16DFA8A800B623C2 /* ares_getopt.c in Sources */,
+ AA2C74E016DFA8A800B623C2 /* ares_getsock.c in Sources */,
+ AA2C74E116DFA8A800B623C2 /* ares_init.c in Sources */,
+ AA2C74E216DFA8A800B623C2 /* ares_library_init.c in Sources */,
+ AA2C74E316DFA8A800B623C2 /* ares_llist.c in Sources */,
+ AA2C74E416DFA8A800B623C2 /* ares_mkquery.c in Sources */,
+ AA2C74E516DFA8A800B623C2 /* ares_nowarn.c in Sources */,
+ AA2C74E616DFA8A800B623C2 /* ares_options.c in Sources */,
+ AA2C74E716DFA8C000B623C2 /* ares_parse_a_reply.c in Sources */,
+ AA2C74E816DFA8C000B623C2 /* ares_parse_aaaa_reply.c in Sources */,
+ AA2C74E916DFA8C000B623C2 /* ares_parse_mx_reply.c in Sources */,
+ AA2C74EA16DFA8C000B623C2 /* ares_parse_ns_reply.c in Sources */,
+ AA2C74EB16DFA8C000B623C2 /* ares_parse_ptr_reply.c in Sources */,
+ AA2C74EC16DFA8C000B623C2 /* ares_parse_srv_reply.c in Sources */,
+ AA2C74ED16DFA8C000B623C2 /* ares_parse_txt_reply.c in Sources */,
+ AA2C74EE16DFA8C000B623C2 /* ares_platform.c in Sources */,
+ AA2C74EF16DFA8C000B623C2 /* ares_process.c in Sources */,
+ AA2C74F016DFA8C000B623C2 /* ares_query.c in Sources */,
+ AA2C74F116DFA8C000B623C2 /* ares_search.c in Sources */,
+ AA2C74F216DFA8C000B623C2 /* ares_send.c in Sources */,
+ AA2C74F316DFA8C000B623C2 /* ares_strcasecmp.c in Sources */,
+ AA2C74F416DFA8C000B623C2 /* ares_strdup.c in Sources */,
+ AA2C74F516DFA8C000B623C2 /* ares_strerror.c in Sources */,
+ AA2C74F616DFA8C000B623C2 /* ares_timeout.c in Sources */,
+ AA2C74F716DFA8C000B623C2 /* ares_version.c in Sources */,
+ AA2C74F816DFA8C000B623C2 /* ares_writev.c in Sources */,
+ AA2C74F916DFA8C000B623C2 /* bitncmp.c in Sources */,
+ AA2C74FA16DFA8C000B623C2 /* inet_net_pton.c in Sources */,
+ AA2C74FB16DFA8C000B623C2 /* inet_ntop.c in Sources */,
+ AA2C74FD16DFA8CA00B623C2 /* JMX.js in Sources */,
+ AA2C74FE16DFA8CA00B623C2 /* DOM.js in Sources */,
+ AA2C74FF16DFA8CA00B623C2 /* AudioOutput.js in Sources */,
+ AA2C750016DFA8CA00B623C2 /* VideoOutput.js in Sources */,
+ AA2C750116DFA8CA00B623C2 /* VideoFilter.js in Sources */,
+ AA2C750216DFA8CA00B623C2 /* AudioCapture.js in Sources */,
+ AA2C750316DFA8CA00B623C2 /* VideoCapture.js in Sources */,
+ AA2C750416DFA8CA00B623C2 /* MovieFile.js in Sources */,
+ AA2C750516DFA8CA00B623C2 /* AudioFile.js in Sources */,
+ AA2C750616DFA8CA00B623C2 /* jquery.js in Sources */,
+ AA2C750716DFA8CA00B623C2 /* processing.js in Sources */,
+ AA2C750816DFA90D00B623C2 /* JMXRingBuffer.m in Sources */,
+ AA2C750916DFA90D00B623C2 /* JMXEntity.mm in Sources */,
+ AA2C750A16DFA90D00B623C2 /* JMXThreadedEntity.mm in Sources */,
+ AA2C750B16DFA90D00B623C2 /* JMXPin.mm in Sources */,
+ AA2C750C16DFA90D00B623C2 /* JMXInputPin.m in Sources */,
+ AA2C750D16DFA90D00B623C2 /* JMXOutputPin.m in Sources */,
+ AA2C750E16DFA90D00B623C2 /* JMXProxyPin.m in Sources */,
+ AA2C750F16DFA90D00B623C2 /* JMXPinSignal.m in Sources */,
+ AA2C751016DFA90D00B623C2 /* JMXContext.m in Sources */,
+ AA2C751116DFA90D00B623C2 /* JMXScreenController.m in Sources */,
+ AA2C751216DFA90D00B623C2 /* JMXHIDDevice.m in Sources */,
+ AA2C751316DFA91800B623C2 /* JMXTextRenderer.m in Sources */,
+ AA2C751416DFA91800B623C2 /* JMXOpenGLDraw.mm in Sources */,
+ AA2C751516DFA91800B623C2 /* JMXDrawPath.mm in Sources */,
+ AA2C751616DFA92100B623C2 /* JMXAudioBuffer.m in Sources */,
+ AA2C751716DFA92100B623C2 /* JMXAudioDevice.m in Sources */,
+ AA2C751816DFA92100B623C2 /* JMXAudioFile.m in Sources */,
+ AA2C751916DFA92100B623C2 /* JMXAudioFormat.m in Sources */,
+ AA2C751A16DFA92100B623C2 /* JMXSpectrumAnalyzer.m in Sources */,
+ AA2C751B16DFA93C00B623C2 /* CIAdditiveBlur.m in Sources */,
+ AA2C751C16DFA93F00B623C2 /* CIAlphaBlend.m in Sources */,
+ AA2C751D16DFA94200B623C2 /* CIAlphaFade.m in Sources */,
+ AA2C751F16DFA9BC00B623C2 /* JMXAudioCapture.mm in Sources */,
+ AA2C752016DFA9BC00B623C2 /* JMXAudioOutput.mm in Sources */,
+ AA2C752116DFA9BC00B623C2 /* JMXAudioSpectrumAnalyzer.mm in Sources */,
+ AA2C752216DFA9BC00B623C2 /* JMXVideoEntity.mm in Sources */,
+ AA2C752316DFA9BC00B623C2 /* JMXVideoCapture.mm in Sources */,
+ AA2C752416DFA9BC00B623C2 /* JMXVideoOutput.mm in Sources */,
+ AA2C752516DFA9BC00B623C2 /* JMXVideoFilter.mm in Sources */,
+ AA2C752616DFA9BC00B623C2 /* JMXDrawEntity.mm in Sources */,
+ AA2C752716DFA9BC00B623C2 /* JMXScriptEntity.mm in Sources */,
+ AA2C752816DFA9BC00B623C2 /* JMXExporter.m in Sources */,
+ AA2C752916DFA9BC00B623C2 /* JMXPhidgetEncoderEntity.mm in Sources */,
+ AA2C752A16DFA9BC00B623C2 /* JMXHIDInputEntity.mm in Sources */,
+ AA2C752B16DFA9C200B623C2 /* JMXQtExporter.m in Sources */,
+ AA2C752C16DFA9C700B623C2 /* JMXCoreImageFilter.mm in Sources */,
+ AA2C752D16DFA9D000B623C2 /* JMXVideoMixer.mm in Sources */,
+ AA2C752E16DFA9D000B623C2 /* JMXImageEntity.mm in Sources */,
+ AA2C752F16DFA9D000B623C2 /* JMXQtVideoCaptureEntity.mm in Sources */,
+ AA2C753016DFA9D000B623C2 /* JMXQtMovieEntity.mm in Sources */,
+ AA2C753116DFA9D000B623C2 /* JMXTextEntity.mm in Sources */,
+ AA2C753216DFA9D700B623C2 /* JMXAudioMixer.mm in Sources */,
+ AA2C753316DFA9D700B623C2 /* JMXAudioFileEntity.mm in Sources */,
+ AA2C753416DFA9D700B623C2 /* JMXQtAudioCaptureEntity.mm in Sources */,
+ AA2C753516DFA9D700B623C2 /* JMXAudioToneGenerator.mm in Sources */,
+ AA2C753616DFA9DD00B623C2 /* JMXCoreAudioOutput.mm in Sources */,
+ AA2C753716DFA9DD00B623C2 /* JMXQtAudioOutput.m in Sources */,
+ AA2C753816DFA9E300B623C2 /* JMXOpenGLScreen.mm in Sources */,
+ AA2C753916DFA9E300B623C2 /* JMXSoftScreen.m in Sources */,
+ AA2C753A16DFA9E900B623C2 /* JMXScriptFile.mm in Sources */,
+ AA2C753B16DFA9E900B623C2 /* JMXScriptLive.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -2024,6 +2080,65 @@
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
+ AA2C746F16DFA74000B623C2 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "JMX-Core_Prefix.pch";
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)/../v8/out/x64.release\"",
+ );
+ MACOSX_DEPLOYMENT_TARGET = 10.8;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ AA2C747016DFA74000B623C2 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "JMX-Core_Prefix.pch";
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)/../v8/out/x64.release\"",
+ );
+ MACOSX_DEPLOYMENT_TARGET = 10.8;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
C01FCF4B08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@@ -2043,14 +2158,15 @@
GENERATE_PROFILING_CODE = YES;
HEADER_SEARCH_PATHS = (
"$PROJECT_DIR/node.js/**",
- "$PROJECT_DIR/../v8-read-only/include/**",
+ "$PROJECT_DIR/../v8/include/**",
"$PROJECT_DIR/**",
);
INFOPLIST_FILE = "JMX-Info.plist";
INSTALL_PATH = "$(HOME)/Applications";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
- "\"$(SRCROOT)/../v8-read-only\"",
+ "\"$(SRCROOT)/../v8\"",
+ "\"$(SRCROOT)/../v8/out/x64.release\"",
);
OTHER_CFLAGS = (
"-Wno-unused",
@@ -2094,14 +2210,15 @@
GENERATE_PROFILING_CODE = NO;
HEADER_SEARCH_PATHS = (
"$PROJECT_DIR/node.js/**",
- "$PROJECT_DIR/../v8-read-only/include/**",
+ "$PROJECT_DIR/../v8/include/**",
"$PROJECT_DIR/**",
);
INFOPLIST_FILE = "JMX-Info.plist";
INSTALL_PATH = "$(HOME)/Applications";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
- "\"$(SRCROOT)/../v8-read-only\"",
+ "\"$(SRCROOT)/../v8\"",
+ "\"$(SRCROOT)/../v8/out/x64.release\"",
);
OTHER_CFLAGS = (
"-Wno-unused",
@@ -2149,10 +2266,10 @@
GCC_WARN_UNUSED_VALUE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
- "$PROJECT_DIR/../v8-read-only/include/**",
+ "$PROJECT_DIR/../v8/include/**",
"$PROJECT_DIR/**",
);
- LIBRARY_SEARCH_PATHS = "$PROJECT_DIR/../v8-read-only/include/**";
+ LIBRARY_SEARCH_PATHS = "$PROJECT_DIR/../v8/include/**";
MACOSX_DEPLOYMENT_TARGET = 10.6;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "-Wno-unused";
@@ -2186,10 +2303,10 @@
GCC_WARN_UNUSED_VALUE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
- "$PROJECT_DIR/../v8-read-only/include/**",
+ "$PROJECT_DIR/../v8/include/**",
"$PROJECT_DIR/**",
);
- LIBRARY_SEARCH_PATHS = "$PROJECT_DIR/../v8-read-only/include/**";
+ LIBRARY_SEARCH_PATHS = "$PROJECT_DIR/../v8/include/**";
MACOSX_DEPLOYMENT_TARGET = 10.6;
ONLY_ACTIVE_ARCH = NO;
OTHER_CFLAGS = "-Wno-unused";
@@ -2204,6 +2321,14 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
+ AA2C747116DFA74000B623C2 /* Build configuration list for PBXNativeTarget "JMX-Core" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ AA2C746F16DFA74000B623C2 /* Debug */,
+ AA2C747016DFA74000B623C2 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "JMX" */ = {
isa = XCConfigurationList;
buildConfigurations = (
diff --git a/JMXGlobals.h b/JMXGlobals.h
index 14686fa..6885a9b 100644
--- a/JMXGlobals.h
+++ b/JMXGlobals.h
@@ -36,8 +36,12 @@
#define NSDebug(__format, args...) do {\
if (verbose >= LOG_DEBUG) {\
- [(JMXAppDelegate *)[[NSApplication sharedApplication] delegate]\
- logMessage:__format, ## args ];\
+ id appDelegate = [[NSApplication sharedApplication] delegate];\
+ if ([appDelegate respondsToSelector:@selector(logMessage:)]) {\
+ [appDelegate logMessage:__format, ## args ];\
+ } else {\
+ NSLogv(__format, ## args);\
+ }\
}\
} while (0)
diff --git a/core/JMXAttribute.mm b/core/JMXAttribute.mm
index f950fb8..c132ab0 100644
--- a/core/JMXAttribute.mm
+++ b/core/JMXAttribute.mm
@@ -54,7 +54,7 @@ static v8::Handle<Value> GetValue(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXAttribute *attr = (JMXAttribute *)info.Holder()->GetPointerFromInternalField(0);
+ JMXAttribute *attr = (JMXAttribute *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (attr)
return handleScope.Close(v8::String::New([[attr stringValue] UTF8String]));
return handleScope.Close(Undefined());
@@ -64,7 +64,7 @@ void SetValue(Local<String> name, Local<Value> value, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXAttribute *attr = (JMXAttribute *)info.Holder()->GetPointerFromInternalField(0);
+ JMXAttribute *attr = (JMXAttribute *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (!value->IsString()) {
NSLog(@"Bad parameter (not string) passed to JMXCData.SetData()");
return;
diff --git a/core/JMXByteArray.mm b/core/JMXByteArray.mm
index add748c..66a82e5 100644
--- a/core/JMXByteArray.mm
+++ b/core/JMXByteArray.mm
@@ -84,7 +84,7 @@ static v8::Handle<Value> ByteAtIndex(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXByteArray *byteArray = (JMXByteArray *)args.Holder()->GetPointerFromInternalField(0);
+ JMXByteArray *byteArray = (JMXByteArray *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
if (arg->IsInt32()) {
//NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
@@ -139,7 +139,7 @@ static void JMXByteArrayJSDestructor(Persistent<Value> object, void *parameter)
HandleScope handle_scope;
Handle<FunctionTemplate> objectTemplate = [[self class] jsObjectTemplate];
Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
jsInstance.MakeWeak([self retain], JMXByteArrayJSDestructor);
return handle_scope.Close(jsInstance);
}
diff --git a/core/JMXCDATA.mm b/core/JMXCDATA.mm
index e09af10..0951feb 100644
--- a/core/JMXCDATA.mm
+++ b/core/JMXCDATA.mm
@@ -43,7 +43,7 @@ static v8::Handle<Value> GetData(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXCDATA *cdata = (JMXCDATA *)info.Holder()->GetPointerFromInternalField(0);
+ JMXCDATA *cdata = (JMXCDATA *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (cdata) {
NSData *data = cdata.data;
return handleScope.Close(v8::String::New((char *)[data bytes], [data length]));
@@ -55,7 +55,7 @@ void SetData(Local<String> name, Local<Value> value, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXCDATA *cdata = (JMXCDATA *)info.Holder()->GetPointerFromInternalField(0);
+ JMXCDATA *cdata = (JMXCDATA *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (!value->IsString()) {
NSLog(@"Bad parameter (not string) passed to JMXCData.SetData()");
return;
@@ -71,7 +71,7 @@ static v8::Handle<Value> GetLength(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXCDATA *cdata = (JMXCDATA *)info.Holder()->GetPointerFromInternalField(0);
+ JMXCDATA *cdata = (JMXCDATA *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (cdata) {
NSData *data = cdata.data;
return handleScope.Close(v8::Integer::New([data length]));
@@ -83,7 +83,7 @@ static v8::Handle<Value> SubstringData(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXCDATA *cdata = (JMXCDATA *)args.Holder()->GetPointerFromInternalField(0);
+ JMXCDATA *cdata = (JMXCDATA *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Integer> offset = args[0]->ToInteger();
v8::Handle<Integer> count = args[1]->ToInteger();
char *data = (char *)malloc(count->Value());
@@ -97,7 +97,7 @@ static v8::Handle<Value> AppendData(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXCDATA *cdata = (JMXCDATA *)args.Holder()->GetPointerFromInternalField(0);
+ JMXCDATA *cdata = (JMXCDATA *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::String::Utf8Value str(args[0]);
size_t newLen = strlen(*str);
NSUInteger oldLen = [cdata.data length];
@@ -112,7 +112,7 @@ static v8::Handle<Value> InsertData(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXCDATA *cdata = (JMXCDATA *)args.Holder()->GetPointerFromInternalField(0);
+ JMXCDATA *cdata = (JMXCDATA *)args.Holder()->GetAlignedPointerFromInternalField(0);
uint64_t offset = args[0]->ToInteger()->Value();
v8::String::Utf8Value str(args[1]);
size_t newLen = strlen(*str);
@@ -129,7 +129,7 @@ static v8::Handle<Value> DeleteData(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXCDATA *cdata = (JMXCDATA *)args.Holder()->GetPointerFromInternalField(0);
+ JMXCDATA *cdata = (JMXCDATA *)args.Holder()->GetAlignedPointerFromInternalField(0);
uint64_t offset = args[0]->ToInteger()->Value();
uint64_t count = args[1]->ToInteger()->Value();
NSUInteger oldLen = [cdata.data length];
@@ -144,7 +144,7 @@ static v8::Handle<Value> ReplaceData(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXCDATA *cdata = (JMXCDATA *)args.Holder()->GetPointerFromInternalField(0);
+ JMXCDATA *cdata = (JMXCDATA *)args.Holder()->GetAlignedPointerFromInternalField(0);
uint64_t offset = args[0]->ToInteger()->Value();
uint64_t count = args[1]->ToInteger()->Value();
v8::String::Utf8Value str(args[2]);
diff --git a/core/JMXCanvasElement.mm b/core/JMXCanvasElement.mm
index d76bf38..d881760 100644
--- a/core/JMXCanvasElement.mm
+++ b/core/JMXCanvasElement.mm
@@ -98,7 +98,7 @@ static v8::Handle<Value> GetContext(const Arguments& args)
if (strcasecmp(*value, "2d") == 0) {
HandleScope handleScope;
- JMXCanvasElement *element = (JMXCanvasElement *)args.Holder()->GetPointerFromInternalField(0);
+ JMXCanvasElement *element = (JMXCanvasElement *)args.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close([element.drawPath jsObj]);
diff --git a/core/JMXCanvasGradient.mm b/core/JMXCanvasGradient.mm
index 4a9bf6f..ef6b46b 100644
--- a/core/JMXCanvasGradient.mm
+++ b/core/JMXCanvasGradient.mm
@@ -115,7 +115,7 @@ static v8::Handle<Value> AddColorStop(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXCanvasGradient *gradient = (JMXCanvasGradient *)args.Holder()->GetPointerFromInternalField(0);
+ JMXCanvasGradient *gradient = (JMXCanvasGradient *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 1) {
v8::String::Utf8Value colorString(args[0]);
double offset = args[1]->NumberValue();
@@ -155,7 +155,7 @@ static v8::Handle<Value> AddColorStop(const Arguments& args)
v8::Handle<FunctionTemplate> objectTemplate = [JMXCanvasGradient jsObjectTemplate];
v8::Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], JMXCanvasGradientJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
return handle_scope.Close(jsInstance);
}
diff --git a/core/JMXCanvasPattern.mm b/core/JMXCanvasPattern.mm
index f77fa6e..dd4d880 100644
--- a/core/JMXCanvasPattern.mm
+++ b/core/JMXCanvasPattern.mm
@@ -115,7 +115,7 @@ using namespace v8;
v8::Handle<FunctionTemplate> objectTemplate = [JMXCanvasPattern jsObjectTemplate];
v8::Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], JMXCanvasPatternJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
return handle_scope.Close(jsInstance);
}
diff --git a/core/JMXDrawPath.mm b/core/JMXDrawPath.mm
index fbe1ba3..9fec1c8 100644
--- a/core/JMXDrawPath.mm
+++ b/core/JMXDrawPath.mm
@@ -878,7 +878,7 @@ static v8::Persistent<v8::FunctionTemplate> objectTemplate;
} else if (args->Length() >= 1 && (*args)[0]->IsObject()) {
v8::Handle<Object>sizeObj = (*args)[0]->ToObject();
if (!sizeObj.IsEmpty()) {
- JMXSize *jmxSize = (JMXSize *)sizeObj->GetPointerFromInternalField(0);
+ JMXSize *jmxSize = (JMXSize *)sizeObj->GetAlignedPointerFromInternalField(0);
if (jmxSize)
[self setFrameSize:jmxSize];
}
@@ -889,7 +889,7 @@ static v8::Handle<Value> Save(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
v8::String::Utf8Value value(arg);
[drawPath saveCurrentState];
@@ -900,7 +900,7 @@ static v8::Handle<Value> Restore(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
v8::String::Utf8Value value(arg);
[drawPath restorePreviousState];
@@ -911,7 +911,7 @@ static v8::Handle<Value> Scale(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 1) {
CGFloat x = args[0]->NumberValue();
CGFloat y = args[1]->NumberValue();
@@ -924,7 +924,7 @@ static v8::Handle<Value> Rotate(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length()) {
CGFloat angle = args[0]->NumberValue();
[drawPath rotate:angle];
@@ -936,7 +936,7 @@ static v8::Handle<Value> Translate(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 1) {
CGFloat x = args[0]->NumberValue();
CGFloat y = args[1]->NumberValue();
@@ -950,7 +950,7 @@ static v8::Handle<Value> Transform(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 5) {
CGFloat a = args[0]->NumberValue();
CGFloat b = args[1]->NumberValue();
@@ -967,7 +967,7 @@ static v8::Handle<Value> SetTransform(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 5) {
CGFloat a = args[0]->NumberValue();
CGFloat b = args[1]->NumberValue();
@@ -984,7 +984,7 @@ static v8::Handle<Value> CreateLinearGradient(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- //JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ //JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 3) {
return handleScope.Close(JMXCanvasGradientJSConstructor(args));
}
@@ -1018,7 +1018,7 @@ static v8::Handle<Value> ClearRect(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 3) {
[drawPath clearRect:[JMXPoint pointWithNSPoint:NSMakePoint(args[0]->NumberValue(), args[1]->NumberValue())]
size:[JMXSize sizeWithNSSize:NSMakeSize(args[2]->NumberValue(), args[3]->NumberValue())]];
@@ -1030,7 +1030,7 @@ static v8::Handle<Value> FillRect(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 3) {
[drawPath fillRect:[JMXPoint pointWithNSPoint:NSMakePoint(args[0]->NumberValue(), args[1]->NumberValue())]
size:[JMXSize sizeWithNSSize:NSMakeSize(args[2]->NumberValue(), args[3]->NumberValue())]];
@@ -1042,7 +1042,7 @@ static v8::Handle<Value> StrokeRect(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 3) {
[drawPath drawRect:[JMXPoint pointWithNSPoint:NSMakePoint(args[0]->NumberValue(), args[1]->NumberValue())]
size:[JMXSize sizeWithNSSize:NSMakeSize(args[2]->NumberValue(), args[3]->NumberValue())]];
@@ -1054,7 +1054,7 @@ static v8::Handle<Value> BeginPath(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
[drawPath beginPath];
return Undefined();
}
@@ -1063,7 +1063,7 @@ static v8::Handle<Value> ClosePath(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
[drawPath closePath];
return Undefined();
}
@@ -1072,7 +1072,7 @@ static v8::Handle<Value> MoveTo(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 1) {
[drawPath moveTo:[JMXPoint pointWithNSPoint:NSMakePoint(args[0]->NumberValue(),
args[1]->NumberValue())]];
@@ -1084,7 +1084,7 @@ static v8::Handle<Value> LineTo(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 1) {
[drawPath lineTo:[JMXPoint pointWithNSPoint:NSMakePoint(args[0]->NumberValue(),
args[1]->NumberValue())]];
@@ -1096,7 +1096,7 @@ static v8::Handle<Value> QuadraticCurveTo(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 3) {
[drawPath quadraticCurveTo:[JMXPoint pointWithNSPoint:NSMakePoint(args[0]->NumberValue(), args[1]->NumberValue())]
controlPoint:[JMXPoint pointWithNSPoint:NSMakePoint(args[2]->NumberValue(), args[3]->NumberValue())]];
@@ -1109,7 +1109,7 @@ static v8::Handle<Value> BezierCurveTo(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 5) {
[drawPath bezierCurveTo:[JMXPoint pointWithNSPoint:NSMakePoint(args[4]->NumberValue(), args[5]->NumberValue())]
controlPoint1:[JMXPoint pointWithNSPoint:NSMakePoint(args[0]->NumberValue(), args[1]->NumberValue())]
@@ -1122,7 +1122,7 @@ static v8::Handle<Value> ArcTo(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 4) {
[drawPath arcTo:[JMXPoint pointWithNSPoint:NSMakePoint(args[0]->NumberValue(), args[1]->NumberValue())]
endPoint:[JMXPoint pointWithNSPoint:NSMakePoint(args[2]->NumberValue(), args[3]->NumberValue())]
@@ -1135,7 +1135,7 @@ static v8::Handle<Value> Arc(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 5) {
[drawPath drawArc:[JMXPoint pointWithNSPoint:NSMakePoint(args[0]->NumberValue(), args[1]->NumberValue())]
radius:args[2]->NumberValue()
@@ -1151,7 +1151,7 @@ static v8::Handle<Value> AddRect(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 3) {
[drawPath drawRect:[JMXPoint pointWithNSPoint:NSMakePoint(args[0]->NumberValue(), args[1]->NumberValue())]
size:[JMXSize sizeWithNSSize:NSMakeSize(args[2]->NumberValue(), args[3]->NumberValue())]];
@@ -1164,7 +1164,7 @@ static v8::Handle<Value> Fill(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
[drawPath fill];
return Undefined();
}
@@ -1173,7 +1173,7 @@ static v8::Handle<Value> Stroke(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
[drawPath stroke];
return Undefined();
}
@@ -1182,7 +1182,7 @@ static v8::Handle<Value> Clip(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
[drawPath clip];
return Undefined();
}
@@ -1191,7 +1191,7 @@ static v8::Handle<Value> IsPointInPath(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
BOOL test = NO;
if (args.Length() > 1) {
test = [drawPath isPointInPath:[JMXPoint pointWithNSPoint:NSMakePoint(args[0]->NumberValue(), args[1]->NumberValue())]];
@@ -1203,7 +1203,7 @@ static v8::Handle<Value> DrawFocusRing(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- //JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ //JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
BOOL test = NO;
if (args.Length() > 3) {
// TODO - Implement
@@ -1215,7 +1215,7 @@ static v8::Handle<Value> DrawImage(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length()) {
CIImage *image = nil;
String::Utf8Value str(args[0]->ToString());
@@ -1248,7 +1248,7 @@ static v8::Handle<Value> GetImageData(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
CIImage *image = drawPath.currentFrame;
CGRect rect = [image extent];
@@ -1278,7 +1278,7 @@ static v8::Handle<Value> CreateImageData(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
CIImage *image = drawPath.currentFrame;
if (args.Length() >= 1) {
@@ -1286,7 +1286,7 @@ static v8::Handle<Value> CreateImageData(const Arguments& args)
CGSize size = CGSizeZero;
if (args[0]->IsObject() && strcmp(*str, "[object ImageData]") == 0)
{
- JMXImageData *originalImageData = (JMXImageData *)args[0]->ToObject()->GetPointerFromInternalField(0);
+ JMXImageData *originalImageData = (JMXImageData *)args[0]->ToObject()->GetAlignedPointerFromInternalField(0);
size.width = originalImageData.width;
size.height = originalImageData.height;
@@ -1308,7 +1308,7 @@ static v8::Handle<Value> CreateImageData(const Arguments& args)
static v8::Handle<Value> PutImageData(const Arguments& args)
{
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
CIImage *image = drawPath.currentFrame;
if (args.Length() >= 3 && args[0]->IsObject() &&
@@ -1324,7 +1324,7 @@ static v8::Handle<Value> PutImageData(const Arguments& args)
{
double dX = args[1]->ToNumber()->NumberValue();
double dY = args[2]->ToNumber()->NumberValue();
- JMXImageData *originalImageData = (JMXImageData *)args[0]->ToObject()->GetPointerFromInternalField(0);
+ JMXImageData *originalImageData = (JMXImageData *)args[0]->ToObject()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 3) {
if (args.Length() >= 4) {
dirtyX = args[3]->ToNumber()->NumberValue();
@@ -1377,7 +1377,7 @@ static v8::Handle<Value> PutImageData(const Arguments& args)
static v8::Handle<Value> StrokeText(const Arguments& args)
{
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() >= 3) {
int maxWidth = 0;
if (args.Length() > 3) { // maxWidth has been provided
@@ -1400,7 +1400,7 @@ static v8::Handle<Value> StrokeText(const Arguments& args)
static v8::Handle<Value> FillText(const Arguments& args)
{
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() >= 3) {
int maxWidth = 0;
if (args.Length() > 3) { // maxWidth has been provided
@@ -1423,7 +1423,7 @@ static v8::Handle<Value> FillText(const Arguments& args)
static v8::Handle<Value> MeasureText(const Arguments& args)
{
HandleScope handleScope;
- JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() >= 1) {
String::Utf8Value text(args[0]->ToString());
NSString *textString = [NSString stringWithUTF8String:*text];
@@ -1438,7 +1438,7 @@ v8::Handle<Value>GetStyle(Local<String> name, const AccessorInfo& info)
{
HandleScope handleScope;
String::Utf8Value nameStr(name);
- JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (strcmp(*nameStr, "fillStyle") == 0) {
return handleScope.Close([[drawPath fillStyle] jsObj]);
} else if (strcmp(*nameStr, "strokeStyle") == 0) {
@@ -1451,12 +1451,12 @@ static void SetStyle(Local<String> name, Local<Value> value, const AccessorInfo&
{
HandleScope handle_scope;
NSColor *color = nil;
- JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetAlignedPointerFromInternalField(0);
String::Utf8Value str(value->ToString());
if (value->IsObject()) {
if (strcmp(*str, "[object Color]") == 0) {
v8::Handle<Object> object = value->ToObject();
- color = (NSColor *)object->GetPointerFromInternalField(0);
+ color = (NSColor *)object->GetAlignedPointerFromInternalField(0);
}
} else {
color = [NSColor colorFromCSSString:[NSString stringWithUTF8String:*str]];
@@ -1477,12 +1477,12 @@ static void SetShadowColor(Local<String> name, Local<Value> value, const Accesso
{
HandleScope handle_scope;
NSColor *color = nil;
- JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetAlignedPointerFromInternalField(0);
String::Utf8Value str(value->ToString());
if (value->IsObject()) {
if (strcmp(*str, "[object Color]") == 0) {
v8::Handle<Object> object = value->ToObject();
- color = (NSColor *)object->GetPointerFromInternalField(0);
+ color = (NSColor *)object->GetAlignedPointerFromInternalField(0);
}
} else {
color = [NSColor colorFromCSSString:[NSString stringWithUTF8String:*str]];
@@ -1496,7 +1496,7 @@ v8::Handle<Value>GetFont(Local<String> name, const AccessorInfo& info)
{
HandleScope handleScope;
String::Utf8Value nameStr(name);
- JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (drawPath)
return [drawPath.font jsObj];
return handleScope.Close(Undefined());
@@ -1505,12 +1505,12 @@ v8::Handle<Value>GetFont(Local<String> name, const AccessorInfo& info)
static void SetFont(Local<String> name, Local<Value> value, const AccessorInfo& info)
{
HandleScope handle_scope;
- JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetAlignedPointerFromInternalField(0);
String::Utf8Value str(value->ToString());
if (value->IsObject()) {
if (strcmp(*str, "[object Font]") == 0) {
v8::Handle<Object> object = value->ToObject();
- NSFont *font = (NSFont *)object->GetPointerFromInternalField(0);
+ NSFont *font = (NSFont *)object->GetAlignedPointerFromInternalField(0);
String::Utf8Value nameStr(name);
drawPath.font = font;
}
@@ -1538,7 +1538,7 @@ v8::Handle<Value>GetLineWidth(Local<String> name, const AccessorInfo& info)
{
HandleScope handleScope;
String::Utf8Value nameStr(name);
- JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (drawPath)
return handleScope.Close(v8::Number::New(drawPath.lineWidth));
return handleScope.Close(Undefined());
@@ -1547,7 +1547,7 @@ v8::Handle<Value>GetLineWidth(Local<String> name, const AccessorInfo& info)
static void SetLineWidth(Local<String> name, Local<Value> value, const AccessorInfo& info)
{
HandleScope handle_scope;
- JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetPointerFromInternalField(0);
+ JMXDrawPath *drawPath = (JMXDrawPath *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (value->IsNumber()) {
drawPath.lineWidth = value->ToNumber()->NumberValue();
}
@@ -1635,7 +1635,7 @@ static void SetLineWidth(Local<String> name, Local<Value> value, const AccessorI
v8::Handle<FunctionTemplate> objectTemplate = [[self class] jsObjectTemplate];
v8::Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
//jsInstance.MakeWeak([self retain], JMXNodeJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
//[ctx addPersistentInstance:jsInstance obj:self];
return handle_scope.Close(jsInstance);
}
diff --git a/core/JMXElement.mm b/core/JMXElement.mm
index 59505cb..10d2dbd 100644
--- a/core/JMXElement.mm
+++ b/core/JMXElement.mm
@@ -105,7 +105,7 @@ static v8::Handle<Value> GetId(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXElement *element = (JMXElement *)info.Holder()->GetPointerFromInternalField(0);
+ JMXElement *element = (JMXElement *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (element)
return handleScope.Close(v8::String::New([element.jsId UTF8String]));
return handleScope.Close(Undefined());
@@ -115,7 +115,7 @@ void SetId(Local<String> name, Local<Value> value, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXElement *element = (JMXElement *)info.Holder()->GetPointerFromInternalField(0);
+ JMXElement *element = (JMXElement *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (!value->IsString()) {
NSLog(@"Bad parameter (not string) passed to JMXCData.SetData()");
return;
diff --git a/core/JMXEntity.mm b/core/JMXEntity.mm
index 7dc002d..c9cd0ac 100644
--- a/core/JMXEntity.mm
+++ b/core/JMXEntity.mm
@@ -740,7 +740,7 @@ static v8::Handle<Value>InputPins(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXEntity *entity = (JMXEntity *)info.Holder()->GetPointerFromInternalField(0);
+ JMXEntity *entity = (JMXEntity *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSArray *inputPins = [entity inputPins];
Handle<ObjectTemplate> objTemplate = ObjectTemplate::New();
@@ -756,7 +756,7 @@ static v8::Handle<Value>OutputPins(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXEntity *entity = (JMXEntity *)info.Holder()->GetPointerFromInternalField(0);
+ JMXEntity *entity = (JMXEntity *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSArray *outputPins = [entity outputPins];
Handle<ObjectTemplate> objTemplate = ObjectTemplate::New();
@@ -773,7 +773,7 @@ static v8::Handle<Value> InputPin(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXEntity *entity = (JMXEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXEntity *entity = (JMXEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
v8::String::Utf8Value value(arg);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
@@ -793,7 +793,7 @@ static v8::Handle<Value> OutputPin(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXEntity *entity = (JMXEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXEntity *entity = (JMXEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
v8::String::Utf8Value value(arg);
Local<Value> ret;
@@ -865,7 +865,7 @@ static v8::Handle<Value> NativeClassName(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- Class objcClass = (Class)External::Unwrap(args.Holder()->Get(String::NewSymbol("_objcClass")));
+ Class objcClass = (Class)External::Cast(*(args.Holder()->Get(String::NewSymbol("_objcClass"))))->Value();
if (objcClass)
return handleScope.Close(String::New([NSStringFromClass(objcClass) UTF8String]));
return v8::Undefined();
@@ -874,9 +874,9 @@ static v8::Handle<Value> NativeClassName(const Arguments& args)
+ (void)jsRegisterClassMethods:(v8::Handle<v8::FunctionTemplate>)constructor
{
constructor->InstanceTemplate()->SetInternalFieldCount(1);
- //constructor->InstanceTemplate()->SetPointerInInternalField(0, self);
+ //constructor->InstanceTemplate()->SetAlignedPointerInInternalField(0, self);
PropertyAttribute attrs = DontEnum;
- constructor->Set(String::NewSymbol("_objcClass"), External::Wrap(self), attrs);
+ constructor->Set(String::NewSymbol("_objcClass"), External::New(self), attrs);
constructor->Set("nativeClassName", FunctionTemplate::New(NativeClassName));
}
@@ -888,7 +888,7 @@ static v8::Handle<Value> NativeClassName(const Arguments& args)
v8::Handle<FunctionTemplate> objectTemplate = [[self class] jsObjectTemplate];
v8::Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
//jsInstance.MakeWeak([self retain], JMXNodeJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
//[ctx addPersistentInstance:jsInstance obj:self];
return handle_scope.Close(jsInstance);
}
diff --git a/core/JMXEvent.mm b/core/JMXEvent.mm
index c2dc532..384b290 100644
--- a/core/JMXEvent.mm
+++ b/core/JMXEvent.mm
@@ -108,7 +108,7 @@ static void JMXEventJSDestructor(Persistent<Value> object, void *parameter)
HandleScope handle_scope;
Handle<FunctionTemplate> objectTemplate = [[self class] jsObjectTemplate];
Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
jsInstance.MakeWeak([self retain], JMXEventJSDestructor);
return handle_scope.Close(jsInstance);
}
diff --git a/core/JMXEventListener.mm b/core/JMXEventListener.mm
index b8f5240..b8f1f32 100644
--- a/core/JMXEventListener.mm
+++ b/core/JMXEventListener.mm
@@ -40,7 +40,7 @@ static v8::Handle<Value> HandleEvent(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXEventListener *listener = (JMXEventListener *)args.Holder()->GetPointerFromInternalField(0);
+ JMXEventListener *listener = (JMXEventListener *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() && args[0]->IsObject() && [listener isKindOfClass:[JMXEventListener class]]) {
Handle<Object> obj = args[0]->ToObject();
{
@@ -100,7 +100,7 @@ static void JMXEventListenerJSDestructor(Persistent<Value> object, void *paramet
HandleScope handle_scope;
Handle<FunctionTemplate> objectTemplate = [JMXEventListener jsObjectTemplate];
Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
jsInstance.MakeWeak([self retain], JMXEventListenerJSDestructor);
return handle_scope.Close(jsInstance);
}
diff --git a/core/JMXGraph.mm b/core/JMXGraph.mm
index 7c1fe17..1fda793 100644
--- a/core/JMXGraph.mm
+++ b/core/JMXGraph.mm
@@ -57,7 +57,7 @@ static v8::Handle<Value>GetRootNode(Local<String> name, const AccessorInfo& info
{
//v8::Locker lock;
HandleScope handleScope;
- JMXGraph *document = (JMXGraph *)info.Holder()->GetPointerFromInternalField(0);
+ JMXGraph *document = (JMXGraph *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close([[document rootElement] jsObj]);
}
@@ -65,7 +65,7 @@ static v8::Handle<Value>GetHeadNode(Local<String> name, const AccessorInfo& info
{
//v8::Locker lock;
HandleScope handleScope;
- JMXGraph *document = (JMXGraph *)info.Holder()->GetPointerFromInternalField(0);
+ JMXGraph *document = (JMXGraph *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close([[document headNode] jsObj]);
}
@@ -84,10 +84,10 @@ static v8::Handle<Value> CreateElement(const Arguments& args)
JMXElement *element = [name isEqualToString:@"canvas"]
? [[[JMXCanvasElement alloc] init] autorelease]
: [[[JMXElement alloc] initWithName:name] autorelease];
- JMXGraph *document = (JMXGraph *)args.Holder()->GetPointerFromInternalField(0);
+ JMXGraph *document = (JMXGraph *)args.Holder()->GetAlignedPointerFromInternalField(0);
//[[document rootElement] addChild:element];
//ersistent<Object> jsInstance = Persistent<Object>::New([element jsObj]);
- //jsInstance->SetPointerInInternalField(0, element);
+ //jsInstance->SetAlignedPointerInInternalField(0, element);
//[ctx addPersistentInstance:jsInstance obj:element];
//[element release];
return handleScope.Close([element jsObj]);
@@ -110,7 +110,7 @@ static v8::Handle<Value> CreateComment(const Arguments& args)
JMXElement *element = [NSXMLNode commentWithStringValue:name];
/*
Persistent<Object> jsInstance = Persistent<Object>::New([element jsObj]);
- jsInstance->SetPointerInInternalField(0, element);
+ jsInstance->SetAlignedPointerInInternalField(0, element);
[ctx addPersistentInstance:jsInstance obj:element];*/
return handleScope.Close([element jsObj]);
}
@@ -138,7 +138,7 @@ static v8::Handle<Value> GetElementById(const Arguments& args)
// NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
v8::String::Utf8Value jsId(args[0]);
- JMXGraph *document = (JMXGraph *)args.Holder()->GetPointerFromInternalField(0);
+ JMXGraph *document = (JMXGraph *)args.Holder()->GetAlignedPointerFromInternalField(0);
NSXMLNode *element = GatherElementById(document, *jsId);
//NSError *error = nil;
//NSArray *nodes = [[document rootElement] nodesForXPath:[NSString stringWithFormat:@"descendant::*[attribute::id=%@]", jsId] error:&error];
@@ -218,7 +218,7 @@ static void JMXGraphJSDestructor(Persistent<Value> object, void *parameter)
HandleScope handle_scope;
v8::Persistent<FunctionTemplate> objectTemplate = [JMXGraph jsObjectTemplate];
Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
jsInstance.MakeWeak([self retain], JMXGraphJSDestructor);
//jsInstance->SetHiddenValue(String::NewSymbol("map"), Object::New());
return handle_scope.Close(jsInstance);
diff --git a/core/JMXImageData.mm b/core/JMXImageData.mm
index 98b68ca..4bff876 100644
--- a/core/JMXImageData.mm
+++ b/core/JMXImageData.mm
@@ -97,7 +97,7 @@ static v8::Handle<Value>GetData(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXImageData *data = (JMXImageData *)info.Holder()->GetPointerFromInternalField(0);
+ JMXImageData *data = (JMXImageData *)info.Holder()->GetAlignedPointerFromInternalField(0);
JMXUint8ClampedArray *clampedArray = [JMXUint8ClampedArray
uint8ClampedArrayWithBytesNoCopy:(uint8_t *)[data bytes]
length:[data length]
@@ -150,7 +150,7 @@ static void JMXImageDataJSDestructor(Persistent<Value> object, void *parameter)
HandleScope handle_scope;
Handle<FunctionTemplate> objectTemplate = [JMXImageData jsObjectTemplate];
Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
jsInstance.MakeWeak([self retain], JMXImageDataJSDestructor);
return handle_scope.Close(jsInstance);
}
diff --git a/core/JMXPin.mm b/core/JMXPin.mm
index ca5e1a4..a2a8cca 100644
--- a/core/JMXPin.mm
+++ b/core/JMXPin.mm
@@ -690,7 +690,7 @@ static v8::Handle<Value>direction(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handle_scope;
- JMXPin *pin = (JMXPin *)info.Holder()->GetPointerFromInternalField(0);
+ JMXPin *pin = (JMXPin *)info.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<String> ret = String::New((pin.direction == kJMXInputPin) ? "input" : "output");
return handle_scope.Close(ret);
}
@@ -699,7 +699,7 @@ static v8::Handle<Value>type(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handle_scope;
- JMXPin *pin = (JMXPin *)info.Holder()->GetPointerFromInternalField(0);
+ JMXPin *pin = (JMXPin *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSString *typeName = [pin typeName];
v8::Handle<String> ret = String::New([typeName UTF8String], [typeName length]);
@@ -711,7 +711,7 @@ static v8::Handle<Value>mode(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handle_scope;
- JMXPin *pin = (JMXPin *)info.Holder()->GetPointerFromInternalField(0);
+ JMXPin *pin = (JMXPin *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSString *modeName = [pin modeName];
v8::Handle<String> ret = String::New([modeName UTF8String], [modeName length]);
@@ -723,7 +723,7 @@ static v8::Handle<Value>connect(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXPin *pin = (JMXPin *)args.Holder()->GetPointerFromInternalField(0);
+ JMXPin *pin = (JMXPin *)args.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
if (args[0]->IsFunction()) {
v8::Local<Context> globalContext = v8::Context::GetCalling();
@@ -741,7 +741,7 @@ static v8::Handle<Value>connect(const Arguments& args)
String::Utf8Value str(args[0]->ToString());
if (strcmp(*str, "[object Pin]") == 0) {
v8::Handle<Object> object = args[0]->ToObject();
- JMXPin *dest = (JMXPin *)object->GetPointerFromInternalField(0);
+ JMXPin *dest = (JMXPin *)object->GetAlignedPointerFromInternalField(0);
if (dest) {
{
v8::Unlocker unlocker;
@@ -765,7 +765,7 @@ static v8::Handle<Value>disconnectAll(const Arguments& args)
//v8::Locker lock;
BOOL ret = NO;
HandleScope handleScope;
- JMXPin *pin = (JMXPin *)args.Holder()->GetPointerFromInternalField(0);
+ JMXPin *pin = (JMXPin *)args.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
{
Unlocker unlocker;
@@ -780,13 +780,13 @@ static v8::Handle<Value>disconnect(const Arguments& args)
//v8::Locker lock;
BOOL ret = NO;
HandleScope handleScope;
- JMXPin *pin = (JMXPin *)args.Holder()->GetPointerFromInternalField(0);
+ JMXPin *pin = (JMXPin *)args.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
if (args[0]->IsObject()) {
String::Utf8Value str(args[0]->ToString());
if (strcmp(*str, "[object Pin]") == 0) {
v8::Handle<Object> object = args[0]->ToObject();
- id dest = (id)object->GetPointerFromInternalField(0);
+ id dest = (id)object->GetAlignedPointerFromInternalField(0);
if (dest) {
Unlocker unlocker;
ret = YES;
@@ -813,7 +813,7 @@ static v8::Handle<Value>exportToBoard(const Arguments& args)
//v8::Locker lock;
HandleScope scope;
BOOL ret = NO;
- JMXPin *pin = (JMXPin *)args.Holder()->GetPointerFromInternalField(0);
+ JMXPin *pin = (JMXPin *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSString *label = nil;
@@ -840,7 +840,7 @@ static void SetData(Local<String> name, Local<Value> value, const AccessorInfo&
HandleScope handleScope;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
String::Utf8Value nameStr(name);
- JMXPin *obj = (JMXPin *)info.Holder()->GetPointerFromInternalField(0);
+ JMXPin *obj = (JMXPin *)info.Holder()->GetAlignedPointerFromInternalField(0);
id val = nil;
if (obj.type == kJMXVoidPin) {
@@ -851,7 +851,7 @@ static void SetData(Local<String> name, Local<Value> value, const AccessorInfo&
String::Utf8Value str(value->ToString());
val = [NSString stringWithUTF8String:*str];
} else if (value->IsObject()) {
- val = (id)value->ToObject()->GetPointerFromInternalField(0);
+ val = (id)value->ToObject()->GetAlignedPointerFromInternalField(0);
} else {
NSLog(@"Bad parameter (not object) passed to %s", *nameStr);
[pool release];
@@ -924,7 +924,7 @@ static void JMXPinJSDestructor(Persistent<Value> object, void *parameter)
v8::Handle<Object> jsInstance = objectTemplate->InstanceTemplate()->NewInstance();
//v8::Persistent<Object> jsInstance = v8::Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
//jsInstance.MakeWeak([self retain], JMXPinJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
return handleScope.Close(jsInstance);
}
diff --git a/core/JMXPoint.mm b/core/JMXPoint.mm
index 1af5b35..30892c0 100644
--- a/core/JMXPoint.mm
+++ b/core/JMXPoint.mm
@@ -153,7 +153,7 @@ static void JMXPointJSDestructor(Persistent<Value> object, void *parameter)
v8::Handle<FunctionTemplate> objectTemplate = [JMXPoint jsObjectTemplate];
v8::Persistent<Object> jsInstance = v8::Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], JMXPointJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
return handle_scope.Close(jsInstance);
}
@@ -178,7 +178,7 @@ v8::Handle<v8::Value> JMXPointJSConstructor(const v8::Arguments& args)
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
JMXPoint *point = [[JMXPoint pointWithNSPoint:NSMakePoint(x, y)] retain];
jsInstance.MakeWeak(point, JMXPointJSDestructor);
- jsInstance->SetPointerInInternalField(0, point);
+ jsInstance->SetAlignedPointerInInternalField(0, point);
[pool drain];
return handleScope.Close(jsInstance);
}
diff --git a/core/JMXRect.mm b/core/JMXRect.mm
index bc71ffc..f405338 100644
--- a/core/JMXRect.mm
+++ b/core/JMXRect.mm
@@ -161,7 +161,7 @@ static void JMXRectJSDestructor(Persistent<Value> object, void *parameter)
v8::Handle<FunctionTemplate> objectTemplate = [JMXRect jsObjectTemplate];
v8::Persistent<Object> jsInstance = v8::Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], JMXRectJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
return handle_scope.Close(jsInstance);
}
@@ -190,7 +190,7 @@ v8::Handle<v8::Value> JMXRectJSConstructor(const v8::Arguments& args)
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
JMXRect *Rect = [[JMXRect rectWithNSRect:NSMakeRect(x, y, w, h)] retain];
jsInstance.MakeWeak(Rect, JMXRectJSDestructor);
- jsInstance->SetPointerInInternalField(0, Rect);
+ jsInstance->SetAlignedPointerInInternalField(0, Rect);
[pool drain];
return handleScope.Close(jsInstance);
}
diff --git a/core/JMXScript.mm b/core/JMXScript.mm
index b1999de..4c55c3b 100644
--- a/core/JMXScript.mm
+++ b/core/JMXScript.mm
@@ -118,7 +118,7 @@ void JSExit(int code)
v8::Local<v8::Context> context = v8::Context::GetCalling();
v8::Local<v8::Object> globalObject = context->Global();
v8::Local<v8::Object> obj = globalObject->Get(v8::String::New("scriptEntity"))->ToObject();
- JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetAlignedPointerFromInternalField(0);
entity.active = NO;
[entity resetContext];
}
@@ -255,7 +255,7 @@ static v8::Handle<Value> Echo(const Arguments& args) {
id obj = nil;
if (args[0]->IsObject())
- obj = (id)args[0]->ToObject()->GetPointerFromInternalField(0);
+ obj = (id)args[0]->ToObject()->GetAlignedPointerFromInternalField(0);
/*if (obj) {
v8::Unlocker unlocker;
@@ -373,7 +373,7 @@ static v8::Handle<Value> Run(const Arguments& args)
v8::Locker locker;
Local<Context> context = v8::Context::GetCalling();
Local<Object> globalObject = context->Global();
- //JMXEntity *entity = (JMXEntity *)globalObject->GetPointerFromInternalField(0);
+ //JMXEntity *entity = (JMXEntity *)globalObject->GetAlignedPointerFromInternalField(0);
//v8::Locker::StopPreemption();
//globalObject->SetHiddenValue(String::New("quit"), v8::Boolean::New(0));
if (args.Length() >= 1 && args[0]->IsFunction()) {
@@ -388,7 +388,7 @@ static v8::Handle<Value> Run(const Arguments& args)
break;
v8::Local<v8::Object> obj = global->ToObject();
- JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetAlignedPointerFromInternalField(0);
//ctx->Global()->Set(String::New("scriptEntity"), [scriptEntity jsObj]);
if (!entity.active) {
@@ -440,7 +440,7 @@ static v8::Handle<Value> AddToRunLoop(const Arguments& args)
Local<Context> context = v8::Context::GetCalling();
Local<Object> globalObject = context->Global();
v8::Local<v8::Object> obj = globalObject->Get(String::New("scriptEntity"))->ToObject();
- JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetAlignedPointerFromInternalField(0);
JMXScript *scriptContext = entity.jsContext;
if (args.Length() >= 2 && args[0]->IsFunction() && args[1]->IsNumber()) {
JMXScriptTimer *foo = [JMXScriptTimer scriptTimerWithFireDate:[NSDate dateWithTimeIntervalSinceNow:args[1]->NumberValue()]
@@ -465,9 +465,9 @@ static v8::Handle<Value> RemoveFromRunLoop(const Arguments& args)
Local<Context> context = v8::Context::GetCalling();
Local<Object> globalObject = context->Global();
v8::Local<v8::Object> obj = globalObject->Get(String::New("scriptEntity"))->ToObject();
- JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetAlignedPointerFromInternalField(0);
JMXScript *scriptContext = entity.jsContext;
- JMXScriptTimer *foo = (JMXScriptTimer *)Local<Object>::Cast(args[0])->GetPointerFromInternalField(0);
+ JMXScriptTimer *foo = (JMXScriptTimer *)Local<Object>::Cast(args[0])->GetAlignedPointerFromInternalField(0);
if (foo && [scriptContext.runloopTimers containsObject:foo]) {
[foo.timer invalidate];
[scriptContext removeRunloopTimer:foo];
@@ -484,7 +484,7 @@ static v8::Handle<Value> SetInterval(const Arguments& args)
Local<Context> context = v8::Context::GetCalling();
Local<Object> globalObject = context->Global();
v8::Local<v8::Object> obj = globalObject->Get(String::New("scriptEntity"))->ToObject();
- JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetAlignedPointerFromInternalField(0);
JMXScript *scriptContext = entity.jsContext;
if (args.Length() >= 2 && args[1]->IsNumber() &&
(args[0]->IsString() || args[0]->IsFunction()))
@@ -516,7 +516,7 @@ static v8::Handle<Value> SetTimeout(const Arguments& args)
Local<Context> context = v8::Context::GetCalling();
Local<Object> globalObject = context->Global();
v8::Local<v8::Object> obj = globalObject->Get(String::New("scriptEntity"))->ToObject();
- JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetAlignedPointerFromInternalField(0);
JMXScript *scriptContext = entity.jsContext;
if (args.Length() >= 2 && args[1]->IsNumber() &&
(args[0]->IsString() || args[0]->IsFunction()))
@@ -549,9 +549,9 @@ static v8::Handle<Value> ClearTimeout(const Arguments& args)
Local<Context> context = v8::Context::GetCalling();
Local<Object> globalObject = context->Global();
v8::Local<v8::Object> obj = globalObject->Get(String::New("scriptEntity"))->ToObject();
- JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetAlignedPointerFromInternalField(0);
JMXScript *scriptContext = entity.jsContext;
- JMXScriptTimer *foo = (JMXScriptTimer *)Local<Object>::Cast(args[0])->GetPointerFromInternalField(0);
+ JMXScriptTimer *foo = (JMXScriptTimer *)Local<Object>::Cast(args[0])->GetAlignedPointerFromInternalField(0);
if (foo && [scriptContext.runloopTimers containsObject:foo]) {
[foo.timer invalidate];
[scriptContext removeRunloopTimer:foo];
@@ -779,7 +779,7 @@ static char *argv[2] = { (char *)"JMX", NULL };
ctx->Global()->Set(String::New("scriptEntity"), [scriptEntity jsObj]);
ctx->Global()->SetAccessor(String::New("document"), GetDocument);
- //ctx->Global()->SetPointerInInternalField(0, self);
+ //ctx->Global()->SetAlignedPointerInInternalField(0, self);
runloopTimers = [[NSMutableSet alloc] initWithCapacity:100];
eventListeners = [[NSMutableDictionary alloc] initWithCapacity:50];
@@ -910,7 +910,7 @@ static char *argv[2] = { (char *)"JMX", NULL };
Local<Context> c = v8::Context::GetCurrent();
Local<Object> globalObject = c->Global();
v8::Local<v8::Object> obj = globalObject->Get(v8::String::New("scriptEntity"))->ToObject();
- JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)obj->GetAlignedPointerFromInternalField(0);
context = entity.jsContext;
return context;
diff --git a/core/JMXScriptInputPin.mm b/core/JMXScriptInputPin.mm
index ba83f6a..4dc39a3 100644
--- a/core/JMXScriptInputPin.mm
+++ b/core/JMXScriptInputPin.mm
@@ -111,7 +111,7 @@ v8::Handle<v8::Value> JMXInputPinJSConstructor(const v8::Arguments& args)
function:Persistent<Function>::New(Handle<Function>::Cast(args[2]))];
//jsInstance.MakeWeak([pin retain], JMXInputPinJSDestructor);
- jsInstance->SetPointerInInternalField(0, pin);
+ jsInstance->SetAlignedPointerInInternalField(0, pin);
}
[pool drain];
return handleScope.Close(jsInstance);
diff --git a/core/JMXScriptOutputPin.mm b/core/JMXScriptOutputPin.mm
index 66ace75..ba2f84a 100644
--- a/core/JMXScriptOutputPin.mm
+++ b/core/JMXScriptOutputPin.mm
@@ -109,7 +109,7 @@ v8::Handle<v8::Value> JMXOutputPinJSConstructor(const v8::Arguments& args)
function:Persistent<Function>::New(Handle<Function>::Cast(args[2]))];
//jsInstance.MakeWeak([pin retain], JMXOutputPinJSDestructor);
- jsInstance->SetPointerInInternalField(0, pin);
+ jsInstance->SetAlignedPointerInInternalField(0, pin);
}
[pool drain];
diff --git a/core/JMXScriptPinWrapper.mm b/core/JMXScriptPinWrapper.mm
index eb01227..c8bb4a2 100644
--- a/core/JMXScriptPinWrapper.mm
+++ b/core/JMXScriptPinWrapper.mm
@@ -178,7 +178,7 @@ static v8::Handle<Value>disconnect(const Arguments& args)
BOOL ret = NO;
HandleScope handleScope;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- JMXScriptPinWrapper *wrapper = (JMXScriptPinWrapper *)args.Holder()->GetPointerFromInternalField(0);
+ JMXScriptPinWrapper *wrapper = (JMXScriptPinWrapper *)args.Holder()->GetAlignedPointerFromInternalField(0);
[wrapper disconnect];
[pool release];
return Undefined();
@@ -227,7 +227,7 @@ static void JMXScriptPinWrapperJSDestructor(Persistent<Value> object, void *para
v8::Persistent<FunctionTemplate> objectTemplate = [[self class] jsObjectTemplate];
v8::Persistent<Object> jsInstance = v8::Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], JMXScriptPinWrapperJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
return handleScope.Close(jsInstance);
}
diff --git a/core/JMXScriptTimer.mm b/core/JMXScriptTimer.mm
index 65d2251..ed9b217 100644
--- a/core/JMXScriptTimer.mm
+++ b/core/JMXScriptTimer.mm
@@ -102,7 +102,7 @@ static void JMXScriptTimerJSDestructor(Persistent<Value> object, void *parameter
v8::Handle<FunctionTemplate> objectTemplate = [JMXScriptTimer jsObjectTemplate];
v8::Persistent<Object> jsInstance = v8::Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], JMXScriptTimerJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
return handle_scope.Close(jsInstance);
}
diff --git a/core/JMXSize.mm b/core/JMXSize.mm
index ff238f4..38b8775 100644
--- a/core/JMXSize.mm
+++ b/core/JMXSize.mm
@@ -145,7 +145,7 @@ static void JMXSizeJSDestructor(Persistent<Value> object, void *parameter)
v8::Handle<FunctionTemplate> objectTemplate = [JMXSize jsObjectTemplate];
v8::Persistent<Object> jsInstance = v8::Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], JMXSizeJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
return handle_scope.Close(jsInstance);
}
@@ -170,7 +170,7 @@ v8::Handle<v8::Value> JMXSizeJSConstructor(const v8::Arguments& args)
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
JMXSize *size = [[JMXSize sizeWithNSSize:NSMakeSize(width, height)] retain];
jsInstance.MakeWeak(size, JMXSizeJSDestructor);
- jsInstance->SetPointerInInternalField(0, size);
+ jsInstance->SetAlignedPointerInInternalField(0, size);
[pool drain];
return handleScope.Close(jsInstance);
}
diff --git a/core/JMXThreadedEntity.mm b/core/JMXThreadedEntity.mm
index 0a802bf..1ec5178 100644
--- a/core/JMXThreadedEntity.mm
+++ b/core/JMXThreadedEntity.mm
@@ -392,7 +392,7 @@ static v8::Handle<Value>Start(const Arguments& args)
{
HandleScope handleScope;
Local<Object> obj = args.Holder();
- JMXThreadedEntity *entity = (JMXThreadedEntity *)obj->GetPointerFromInternalField(0);
+ JMXThreadedEntity *entity = (JMXThreadedEntity *)obj->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
[entity start];
[pool drain];
@@ -403,7 +403,7 @@ static v8::Handle<Value>Stop(const Arguments& args)
{
HandleScope handleScope;
Local<Object> obj = args.Holder();
- JMXThreadedEntity *entity = (JMXThreadedEntity *)obj->GetPointerFromInternalField(0);
+ JMXThreadedEntity *entity = (JMXThreadedEntity *)obj->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
[entity stop];
[pool drain];
diff --git a/core/JMXV8.h b/core/JMXV8.h
index f5b56bd..d2235fd 100644
--- a/core/JMXV8.h
+++ b/core/JMXV8.h
@@ -144,7 +144,7 @@ v8::Handle<Value> __class##JSConstructor(const Arguments& args)\
/* make the handle weak, with a callback */\
jsInstance.MakeWeak(instance, __class##JSDestructor);\
/*instancesMap[instance] = jsInstance;*/\
- jsInstance->SetPointerInInternalField(0, instance);\
+ jsInstance->SetAlignedPointerInInternalField(0, instance);\
[ctx addPersistentInstance:jsInstance obj:instance];\
[instance release];\
} else {\
@@ -190,7 +190,7 @@ v8::Handle<Value> __class##JSConstructor(const Arguments& args)\
/* make the handle weak, with a callback */\
jsInstance.MakeWeak([instance retain], &__class##JSDestructor);\
/*instancesMap[instance] = jsInstance;*/\
- jsInstance->SetPointerInInternalField(0, instance);\
+ jsInstance->SetAlignedPointerInInternalField(0, instance);\
[instance release];\
[pool drain];\
if (!jsInstance.IsEmpty())\
diff --git a/core/JMXV8PropertyAccessors.mm b/core/JMXV8PropertyAccessors.mm
index edd5184..b6d2bd0 100644
--- a/core/JMXV8PropertyAccessors.mm
+++ b/core/JMXV8PropertyAccessors.mm
@@ -44,7 +44,7 @@ v8::Handle<Value>GetObjectProperty(Local<String> name, const AccessorInfo& info)
{
//Locker lock;
HandleScope handle_scope;
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
String::Utf8Value value(name);
NSString *property = [NSString stringWithUTF8String:*value];
@@ -101,7 +101,7 @@ v8::Handle<Value>GetBoolProperty(Local<String> name, const AccessorInfo& info)
HandleScope handle_scope;
BOOL ret = NO;
String::Utf8Value value(name);
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
if (!_GetProperty(obj, *value, &ret))
return Undefined();
return handle_scope.Close(v8::Boolean::New(ret));
@@ -114,7 +114,7 @@ v8::Handle<Value>GetDoubleProperty(Local<String> name, const AccessorInfo& info)
double ret = 0;
String::Utf8Value value(name);
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
if (!_GetProperty(obj, *value, &ret))
return Undefined();
return handle_scope.Close(Number::New(ret));
@@ -127,7 +127,7 @@ v8::Handle<Value>GetIntProperty(Local<String> name, const AccessorInfo& info)
NSInteger ret = 0;
String::Utf8Value value(name);
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
if (!_GetProperty(obj, *value, &ret))
return Undefined();
return handle_scope.Close(Integer::New(ret));
@@ -165,7 +165,7 @@ void SetStringProperty(Local<String> name, Local<Value> value, const AccessorInf
return;
}
String::Utf8Value str(value->ToString());
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
{
NSString *newValue = [[NSString alloc] initWithUTF8String:*str];
_SetProperty(obj, *nameStr, newValue);
@@ -184,9 +184,9 @@ void SetColorProperty(Local<String> name, Local<Value> value, const AccessorInfo
}
Handle<Object> val = value->ToObject();
if (!val.IsEmpty()) {
- id newVal = (id)val->GetPointerFromInternalField(0);
+ id newVal = (id)val->GetAlignedPointerFromInternalField(0);
if (newVal) {
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
_SetProperty(obj, *nameStr, newVal);
}
}
@@ -202,7 +202,7 @@ void SetNumberProperty(Local<String> name, Local<Value> value, const AccessorInf
return;
}
double number = value->NumberValue();
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
{
NSNumber *newValue = [[NSNumber alloc] initWithDouble:number];
_SetProperty(obj, *nameStr, newValue);
@@ -220,7 +220,7 @@ void SetBoolProperty(Local<String> name, Local<Value> value, const AccessorInfo&
return;
}
BOOL newValue = value->BooleanValue();
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
{
Unlocker unlocker;
@@ -255,7 +255,7 @@ void SetIntProperty(Local<String> name, Local<Value> value, const AccessorInfo&
return;
}
int32_t newValue = value->NumberValue();
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
{
Unlocker unlocker;
@@ -290,7 +290,7 @@ void SetDoubleProperty(Local<String> name, Local<Value> value, const AccessorInf
return;
}
double newValue = value->NumberValue();
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
{
Unlocker unlocker;
@@ -325,9 +325,9 @@ void SetSizeProperty(Local<String> name, Local<Value> value, const AccessorInfo&
NSLog(@"%s: Bad parameter (%s is not a Size object)", *nameStr, *str);
return;
}
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
{
- JMXSize *newSize = (JMXSize *)value->ToObject()->GetPointerFromInternalField(0);
+ JMXSize *newSize = (JMXSize *)value->ToObject()->GetAlignedPointerFromInternalField(0);
_SetProperty(obj, *nameStr, newSize);
}
}
@@ -342,9 +342,9 @@ void SetPointProperty(Local<String> name, Local<Value> value, const AccessorInfo
NSLog(@"%s: Bad parameter (%s is not a Point object)", *nameStr, *str);
return;
}
- id obj = (id)info.Holder()->GetPointerFromInternalField(0);
+ id obj = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
{
- JMXPoint *newPoint = (JMXPoint *)value->ToObject()->GetPointerFromInternalField(0);
+ JMXPoint *newPoint = (JMXPoint *)value->ToObject()->GetAlignedPointerFromInternalField(0);
_SetProperty(obj, *nameStr, newPoint);
}
}
diff --git a/core/NSColor+V8.mm b/core/NSColor+V8.mm
index d3c4724..2388224 100644
--- a/core/NSColor+V8.mm
+++ b/core/NSColor+V8.mm
@@ -377,7 +377,7 @@ static void JMXColorJSDestructor(Persistent<Value> object, void *parameter)
v8::Handle<FunctionTemplate> objectTemplate = [NSColor jsObjectTemplate];
v8::Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], JMXColorJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
return handle_scope.Close(jsInstance);
}
@@ -414,7 +414,7 @@ v8::Handle<v8::Value> JMXColorJSConstructor(const v8::Arguments& args)
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSColor *color = [[NSColor colorWithDeviceRed:r green:g blue:b alpha:a] retain];
jsInstance.MakeWeak(color, JMXColorJSDestructor);
- jsInstance->SetPointerInInternalField(0, color);
+ jsInstance->SetAlignedPointerInInternalField(0, color);
[pool drain];
return handleScope.Close(jsInstance);
}
diff --git a/core/NSDictionary+V8.mm b/core/NSDictionary+V8.mm
index ba77550..60c1a65 100644
--- a/core/NSDictionary+V8.mm
+++ b/core/NSDictionary+V8.mm
@@ -21,11 +21,11 @@ using namespace v8;
//{
// v8::Locker lock;
// HandleScope handleScope;
-// NSMutableDictionary *dict = (NSDictionary *)info.Holder()->GetPointerFromInternalField(0);
+// NSMutableDictionary *dict = (NSDictionary *)info.Holder()->GetAlignedPointerFromInternalField(0);
// if (dict && [dict isKindOfClass:[NSDictionary class]]) {
// String::Utf8Value nameStr(name);
// NSString *key = [NSString stringWithUTF8String:*nameStr];
-// id obj = value->ToObject()->GetPointerFromInternalField(0);
+// id obj = value->ToObject()->GetAlignedPointerFromInternalField(0);
// if (obj) {
// [dict setObject:obj forKey:
// }
@@ -40,7 +40,7 @@ using namespace v8;
static Handle<Integer> MapQuery(Local<String> property,
const AccessorInfo& info) {
String::Utf8Value key(property);
- NSDictionary *dict = (NSDictionary *)info.Holder()->GetPointerFromInternalField(0);
+ NSDictionary *dict = (NSDictionary *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSString *keyString = [NSString stringWithUTF8String:*key];
if ([dict objectForKey:keyString]) {
HandleScope scope;
@@ -53,7 +53,7 @@ static Handle<Integer> MapQuery(Local<String> property,
static Handle<Array> MapEnumerator(const AccessorInfo& info) {
HandleScope scope;
- NSDictionary *dict = (NSDictionary *)info.Holder()->GetPointerFromInternalField(0);
+ NSDictionary *dict = (NSDictionary *)info.Holder()->GetAlignedPointerFromInternalField(0);
int size = dict.count;
@@ -77,7 +77,7 @@ static v8::Handle<Value> MapGet(Local<String> name, const AccessorInfo &info)
v8::Locker lock;
HandleScope handleScope;
String::Utf8Value nameStr(name);
- NSDictionary *dict = (NSDictionary *)info.Holder()->GetPointerFromInternalField(0);
+ NSDictionary *dict = (NSDictionary *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (strcasecmp(*nameStr, "toString") == 0)
return handleScope.Close(String::NewSymbol("[object Dictionary]"));
@@ -96,7 +96,7 @@ static v8::Handle<Value> MapSet(Local<String> name, Local<Value> value, const Ac
{
v8::Locker lock;
HandleScope handleScope;
- NSMutableDictionary *dict = (NSMutableDictionary *)info.Holder()->GetPointerFromInternalField(0);
+ NSMutableDictionary *dict = (NSMutableDictionary *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (![dict isKindOfClass:[NSMutableDictionary class]])
return False();
@@ -104,7 +104,7 @@ static v8::Handle<Value> MapSet(Local<String> name, Local<Value> value, const Ac
if (dict && [dict isKindOfClass:[NSMutableDictionary class]]) {
String::Utf8Value nameStr(name);
NSString *key = [NSString stringWithUTF8String:*nameStr];
- id obj = (id)value->ToObject()->GetPointerFromInternalField(0);
+ id obj = (id)value->ToObject()->GetAlignedPointerFromInternalField(0);
if (obj) {
[dict setObject:obj forKey:key];
}
@@ -118,7 +118,7 @@ static Handle<v8::Boolean> MapDeleter(Local<String> property,
v8::Locker lock;
HandleScope scope;
- NSMutableDictionary *dict = (NSMutableDictionary *)info.Holder()->GetPointerFromInternalField(0);
+ NSMutableDictionary *dict = (NSMutableDictionary *)info.Holder()->GetAlignedPointerFromInternalField(0);
if (![dict isKindOfClass:[NSMutableDictionary class]])
return False();
@@ -184,7 +184,7 @@ static void JMXDictionaryJSDestructor(Persistent<Value> object, void *parameter)
v8::Handle<FunctionTemplate> objectTemplate = [[self class] jsObjectTemplate];
v8::Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], JMXDictionaryJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
//[ctx addPersistentInstance:jsInstance obj:self];
return handle_scope.Close(jsInstance);
}
diff --git a/core/NSFont+V8.mm b/core/NSFont+V8.mm
index 9368b5a..ebb250d 100644
--- a/core/NSFont+V8.mm
+++ b/core/NSFont+V8.mm
@@ -54,7 +54,7 @@ using namespace v8;
v8::Handle<FunctionTemplate> objectTemplate = [[self class] jsObjectTemplate];
v8::Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], NSFontJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
//[ctx addPersistentInstance:jsInstance obj:self];
return handle_scope.Close(jsInstance);
}
diff --git a/core/NSObject+V8.mm b/core/NSObject+V8.mm
index 5e7ce92..bfa11d6 100644
--- a/core/NSObject+V8.mm
+++ b/core/NSObject+V8.mm
@@ -58,7 +58,7 @@ static void JMXObjectJSDestructor(Persistent<Value> object, void *parameter)
v8::Handle<FunctionTemplate> objectTemplate = [[self class] jsObjectTemplate];
v8::Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], JMXObjectJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
//[ctx addPersistentInstance:jsInstance obj:self];
return handle_scope.Close(jsInstance);
}
diff --git a/core/NSXMLNode+V8.mm b/core/NSXMLNode+V8.mm
index d0a93c9..89f2ef7 100644
--- a/core/NSXMLNode+V8.mm
+++ b/core/NSXMLNode+V8.mm
@@ -44,7 +44,7 @@ static v8::Handle<Value>GetParentNode(Local<String> name, const AccessorInfo& in
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
Local<Value> ret;
id parent = [node parent];
if (parent && [parent isKindOfClass:[NSXMLNode class]]) {
@@ -60,7 +60,7 @@ static v8::Handle<Value>GetChildNodes(Local<String> name, const AccessorInfo& in
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSArray *children = [node children];
Local<Context> ctx = v8::Context::GetCurrent();
@@ -87,7 +87,7 @@ static v8::Handle<Value>GetFirstChild(Local<String> name, const AccessorInfo& in
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close([[node childAtIndex:0] jsObj]);
}
@@ -95,7 +95,7 @@ static v8::Handle<Value>GetLastChild(Local<String> name, const AccessorInfo& inf
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close([[node childAtIndex:[node childCount]-1] jsObj]);
}
@@ -103,7 +103,7 @@ static v8::Handle<Value>GetPreviousSibling(Local<String> name, const AccessorInf
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSXMLNode *sibling = [node previousSibling];
if (sibling)
return handleScope.Close([sibling jsObj]);
@@ -115,7 +115,7 @@ static v8::Handle<Value>GetNextSibling(Local<String> name, const AccessorInfo& i
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSXMLNode *sibling = [node nextSibling];
if (sibling)
return handleScope.Close([sibling jsObj]);
@@ -131,9 +131,9 @@ static v8::Handle<Value>GetAttributes(Local<String> name, const AccessorInfo& in
Local<Function> constructor = v8::Local<v8::Function>::Cast(ctx->Global()->Get(String::New("NamedNodeMap")));
if (!constructor.IsEmpty()) {
v8::Handle<Object> list = constructor->NewInstance();
- id holder = (id)info.Holder()->GetPointerFromInternalField(0);
+ id holder = (id)info.Holder()->GetAlignedPointerFromInternalField(0);
if ([holder isKindOfClass:[NSXMLElement class]]) {
- NSXMLElement *node = (NSXMLElement *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLElement *node = (NSXMLElement *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
for (NSXMLNode *attr in [node attributes]) {
Local<Function> setNamedItem = v8::Local<v8::Function>::Cast(list->Get(String::New("setNamedItem")));
@@ -154,7 +154,7 @@ static v8::Handle<Value>GetNameSpaceURI(Local<String> name, const AccessorInfo&
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close(String::New([[node URI] UTF8String]));
}
@@ -162,7 +162,7 @@ static v8::Handle<Value>GetLocalName(Local<String> name, const AccessorInfo& inf
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close(String::New([[node localName] UTF8String]));
}
@@ -170,7 +170,7 @@ static v8::Handle<Value>GetOwnerDocument(Local<String> name, const AccessorInfo&
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close([[node rootDocument] jsObj]);
}
@@ -178,7 +178,7 @@ static v8::Handle<Value>GetPrefix(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close(String::New([[node prefix] UTF8String]));
}
@@ -186,7 +186,7 @@ static v8::Handle<Value>GetBaseURI(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close(String::New([[[node rootDocument] URI] UTF8String]));
}
@@ -194,7 +194,7 @@ static v8::Handle<Value>GetTextContent(Local<String> name, const AccessorInfo& i
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)info.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close(String::New([[node stringValue] UTF8String]));
}
@@ -209,14 +209,14 @@ static v8::Handle<Value> InsertBefore(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- id holder = (id)args.Holder()->GetPointerFromInternalField(0);
+ id holder = (id)args.Holder()->GetAlignedPointerFromInternalField(0);
if ([holder isKindOfClass:[NSXMLElement class]]) {
NSXMLElement *node = (NSXMLElement *)holder;
- NSXMLNode *newChild = (NSXMLNode *)args[0]->ToObject()->GetPointerFromInternalField(0);
+ NSXMLNode *newChild = (NSXMLNode *)args[0]->ToObject()->GetAlignedPointerFromInternalField(0);
if (newChild) {
NSUInteger index = [node childCount];
if (!args[1]->IsUndefined()) {
- NSXMLNode *refChild = (NSXMLNode *)args[1]->ToObject()->GetPointerFromInternalField(0);
+ NSXMLNode *refChild = (NSXMLNode *)args[1]->ToObject()->GetAlignedPointerFromInternalField(0);
if (refChild)
index = [refChild index];
}
@@ -235,11 +235,11 @@ static v8::Handle<Value> ReplaceChild(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- id holder = (id)args.Holder()->GetPointerFromInternalField(0);
+ id holder = (id)args.Holder()->GetAlignedPointerFromInternalField(0);
if ([holder isKindOfClass:[NSXMLElement class]]) {
NSXMLElement *node = (NSXMLElement *)holder;
- NSXMLNode *newChild = (NSXMLNode *)args[0]->ToObject()->GetPointerFromInternalField(0);
- NSXMLNode *oldChild = (NSXMLNode *)args[1]->ToObject()->GetPointerFromInternalField(0);
+ NSXMLNode *newChild = (NSXMLNode *)args[0]->ToObject()->GetAlignedPointerFromInternalField(0);
+ NSXMLNode *oldChild = (NSXMLNode *)args[1]->ToObject()->GetAlignedPointerFromInternalField(0);
if (newChild && oldChild) {
[node replaceChildAtIndex:[oldChild index] withNode:newChild];
return handleScope.Close(args[0]->ToObject());
@@ -254,10 +254,10 @@ static v8::Handle<Value> RemoveChild(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- id holder = (id)args.Holder()->GetPointerFromInternalField(0);
+ id holder = (id)args.Holder()->GetAlignedPointerFromInternalField(0);
if ([holder isKindOfClass:[NSXMLElement class]]) {
NSXMLElement *node = (NSXMLElement *)holder;
- NSXMLNode *child = (NSXMLNode *)args[0]->ToObject()->GetPointerFromInternalField(0);
+ NSXMLNode *child = (NSXMLNode *)args[0]->ToObject()->GetAlignedPointerFromInternalField(0);
if (child) {
[node removeChildAtIndex:[child index]];
return handleScope.Close(args[0]->ToObject());
@@ -272,10 +272,10 @@ static v8::Handle<Value> AppendChild(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- id holder = (id)args.Holder()->GetPointerFromInternalField(0);
+ id holder = (id)args.Holder()->GetAlignedPointerFromInternalField(0);
if ([holder isKindOfClass:[NSXMLElement class]]) {
NSXMLElement *node = (NSXMLElement *)holder;
- NSXMLNode *newChild = (NSXMLNode *)args[0]->ToObject()->GetPointerFromInternalField(0);
+ NSXMLNode *newChild = (NSXMLNode *)args[0]->ToObject()->GetAlignedPointerFromInternalField(0);
if (newChild) {
if (newChild.parent)
[newChild detach];
@@ -293,7 +293,7 @@ static v8::Handle<Value> HasChildNodes(const Arguments& args)
//v8::Locker lock;
HandleScope handleScope;
bool ret = false;
- NSXMLNode *node = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (node)
ret = [node childCount] ? true : false;
return handleScope.Close(v8::Boolean::New(ret));
@@ -303,7 +303,7 @@ static v8::Handle<Value> Normalize(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- id holder = (id)args.Holder()->GetPointerFromInternalField(0);
+ id holder = (id)args.Holder()->GetAlignedPointerFromInternalField(0);
if (holder && [holder isKindOfClass:[NSXMLElement class]])
[(NSXMLElement *)holder normalizeAdjacentTextNodesPreservingCDATA:YES];
return handleScope.Close(Undefined());
@@ -313,7 +313,7 @@ static v8::Handle<Value> IsSupported(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- id holder = (id)args.Holder()->GetPointerFromInternalField(0);
+ id holder = (id)args.Holder()->GetAlignedPointerFromInternalField(0);
if (holder && [holder isKindOfClass:[NSXMLElement class]]) {
v8::Handle<Value> subArgs[2] = { args[0], args[1] };
Local<Context> ctx = v8::Context::GetCurrent();
@@ -333,7 +333,7 @@ static v8::Handle<Value> GetFeature(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- id holder = (id)args.Holder()->GetPointerFromInternalField(0);
+ id holder = (id)args.Holder()->GetAlignedPointerFromInternalField(0);
if (holder && [holder isKindOfClass:[NSXMLElement class]]) {
v8::Handle<Value> subArgs[2] = { args[0], args[1] };
Local<Context> ctx = v8::Context::GetCurrent();
@@ -354,8 +354,8 @@ static v8::Handle<Value> IsSameNode(const Arguments& args)
//v8::Locker lock;
BOOL ret = NO;
HandleScope handleScope;
- NSXMLNode *holder = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
- NSXMLNode *other = (NSXMLNode *)args[0]->ToObject()->GetPointerFromInternalField(0);
+ NSXMLNode *holder = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
+ NSXMLNode *other = (NSXMLNode *)args[0]->ToObject()->GetAlignedPointerFromInternalField(0);
if (other)
ret = (holder == other) ? YES : NO;
return handleScope.Close(v8::Boolean::New(ret));
@@ -366,8 +366,8 @@ static v8::Handle<Value> IsEqualNode(const Arguments& args)
//v8::Locker lock;
BOOL ret = NO;
HandleScope handleScope;
- NSXMLNode *holder = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
- NSXMLNode *other = (NSXMLNode *)args[0]->ToObject()->GetPointerFromInternalField(0);
+ NSXMLNode *holder = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
+ NSXMLNode *other = (NSXMLNode *)args[0]->ToObject()->GetAlignedPointerFromInternalField(0);
if (other)
ret = [holder isEqual:other];
return handleScope.Close(v8::Boolean::New(ret));
@@ -400,7 +400,7 @@ static v8::Handle<Value> LookupPrefix(const Arguments& args)
//v8::Locker lock;
HandleScope handleScope;
v8::Handle<Object> obj = args.Holder();
- NSXMLNode *node = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (node && args.Length() >= 1 && args[0]->IsString()) {
if ([node respondsToSelector:@selector(namespaces)]) {
v8::String::Utf8Value uri(args[0]);
@@ -420,7 +420,7 @@ static v8::Handle<Value> IsDefaultNamespace(const Arguments& args)
HandleScope handleScope;
BOOL ret = NO;
v8::Handle<Object> obj = args.Holder();
- NSXMLNode *node = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (node && args.Length() >= 1 && args[0]->IsString()) {
if ([node respondsToSelector:@selector(namespaces)]) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
@@ -439,7 +439,7 @@ static v8::Handle<Value> LookupNamespaceURI(const Arguments& args)
//v8::Locker lock;
HandleScope handleScope;
v8::Handle<Object> obj = args.Holder();
- NSXMLNode *node = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (node && args.Length() >= 1 && args[0]->IsString()) {
if ([node respondsToSelector:@selector(namespaceForPrefix:)]) {
v8::String::Utf8Value prefix(args[0]);
@@ -466,7 +466,7 @@ static v8::Handle<Value> CompareDocumentPosition(const Arguments& args)
HandleScope handleScope;
/*
v8::Handle<Object> obj = args.Holder();
- NSXMLNode *node = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
*/
return handleScope.Close(v8::Integer::New(0x20)); // XXX
}
@@ -485,7 +485,7 @@ static v8::Handle<Value> GetElementsByTagName(const Arguments& args)
//v8::Locker lock;
HandleScope handleScope;
v8::Handle<Object> obj = args.Holder();
- NSXMLNode *node = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::String::Utf8Value name(args[0]);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
@@ -517,7 +517,7 @@ static v8::Handle<Value> GetAttribute(const Arguments& args)
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
v8::Handle<Value> ret = Undefined();
v8::String::Utf8Value name(args[0]);
- NSXMLNode *node = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
if ([node respondsToSelector:@selector(attributeForName:)]) {
NSXMLNode *attribute = [node performSelector:@selector(attributeForName:) withObject:[NSString stringWithUTF8String:*name]];
if (attribute)
@@ -537,7 +537,7 @@ static v8::Handle<Value> SetAttribute(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 1 && [node isKindOfClass:[NSXMLElement class]]) {
v8::String::Utf8Value name(args[0]);
v8::String::Utf8Value value(args[1]);
@@ -558,7 +558,7 @@ static v8::Handle<Value> AddEventListener(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 2 && args[0]->IsString() && args[1]->IsFunction()
&& (args[2]->IsBoolean() || args[2]->IsNumber()))
{
@@ -571,7 +571,7 @@ static v8::Handle<Value> AddEventListener(const Arguments& args)
Local<Context> context = v8::Context::GetCalling();
Local<Object> globalObject = context->Global();
v8::Local<v8::Object> entityObj = globalObject->Get(String::New("scriptEntity"))->ToObject();
- JMXScriptEntity *entity = (JMXScriptEntity *)entityObj->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)entityObj->GetAlignedPointerFromInternalField(0);
JMXScript *scriptContext = entity.jsContext;
[scriptContext addListener:listener forEvent:[NSString stringWithUTF8String:*type]];
}
@@ -582,19 +582,19 @@ static v8::Handle<Value> RemoveEventListener(const Arguments& args)
{
//v8::Locker lock;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() > 2 && args[0]->IsString() && args[1]->IsObject()
&& (args[2]->IsBoolean() || args[2]->IsNumber()))
{
v8::String::Utf8Value type(args[0]);
Handle<Object> obj = args[1]->ToObject();
- JMXEventListener *listener = (JMXEventListener *)obj->GetPointerFromInternalField(0);
+ JMXEventListener *listener = (JMXEventListener *)obj->GetAlignedPointerFromInternalField(0);
BOOL capture = args[2]->BooleanValue();
Local<Context> context = v8::Context::GetCalling();
Local<Object> globalObject = context->Global();
v8::Local<v8::Object> entityObj = globalObject->Get(String::New("scriptEntity"))->ToObject();
- JMXScriptEntity *entity = (JMXScriptEntity *)entityObj->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)entityObj->GetAlignedPointerFromInternalField(0);
JMXScript *scriptContext = entity.jsContext;
[scriptContext removeListener:listener forEvent:[NSString stringWithUTF8String:*type]];
}
@@ -606,17 +606,17 @@ static v8::Handle<Value> DispatchEvent(const Arguments& args)
//v8::Locker lock;
BOOL ret = NO;
HandleScope handleScope;
- NSXMLNode *node = (NSXMLNode *)args.Holder()->GetPointerFromInternalField(0);
+ NSXMLNode *node = (NSXMLNode *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() && args[0]->IsObject())
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
v8::String::Utf8Value type(args[0]);
Handle<Object> obj = args[0]->ToObject();
- JMXEvent *event = (JMXEvent *)obj->GetPointerFromInternalField(0);
+ JMXEvent *event = (JMXEvent *)obj->GetAlignedPointerFromInternalField(0);
Local<Context> context = v8::Context::GetCalling();
Local<Object> globalObject = context->Global();
v8::Local<v8::Object> entityObj = globalObject->Get(String::New("scriptEntity"))->ToObject();
- JMXScriptEntity *entity = (JMXScriptEntity *)entityObj->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)entityObj->GetAlignedPointerFromInternalField(0);
JMXScript *scriptContext = entity.jsContext;
ret = [scriptContext dispatchEvent:event];
[pool release];
@@ -716,7 +716,7 @@ static void JMXNodeJSDestructor(Persistent<Value> object, void *parameter)
v8::Handle<FunctionTemplate> objectTemplate = [[self class] jsObjectTemplate];
v8::Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
jsInstance.MakeWeak([self retain], JMXNodeJSDestructor);
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
//[ctx addPersistentInstance:jsInstance obj:self];
return handle_scope.Close(jsInstance);
}
diff --git a/entities/JMXAudioCapture.mm b/entities/JMXAudioCapture.mm
index 71ac171..9c05cab 100644
--- a/entities/JMXAudioCapture.mm
+++ b/entities/JMXAudioCapture.mm
@@ -108,7 +108,7 @@ static Persistent<FunctionTemplate> objectTemplate;
static v8::Handle<Value>Start(const Arguments& args)
{
HandleScope handleScope;
- JMXAudioCapture *entity = (JMXAudioCapture *)args.Holder()->GetPointerFromInternalField(0);
+ JMXAudioCapture *entity = (JMXAudioCapture *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (entity)
[entity start];
return v8::Undefined();
@@ -117,7 +117,7 @@ static v8::Handle<Value>Start(const Arguments& args)
static v8::Handle<Value>Stop(const Arguments& args)
{
HandleScope handleScope;
- JMXAudioCapture *entity = (JMXAudioCapture *)args.Holder()->GetPointerFromInternalField(0);
+ JMXAudioCapture *entity = (JMXAudioCapture *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (entity)
[entity stop];
return v8::Undefined();
@@ -128,11 +128,11 @@ static v8::Handle<Value> DefaultDevice(const Arguments& args)
HandleScope handleScope;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSString *defaultDevice = nil;
- JMXAudioCapture *ac = (JMXAudioCapture *)args.Holder()->GetPointerFromInternalField(0);
+ JMXAudioCapture *ac = (JMXAudioCapture *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (ac) {
defaultDevice = [[ac class] defaultDevice];
} else {
- Class objcClass = (Class)External::Unwrap(args.Holder()->Get(String::NewSymbol("_objcClass")));
+ Class objcClass = (Class)External::Cast(*(args.Holder()->Get(String::NewSymbol("_objcClass"))))->Value();
defaultDevice = [objcClass defaultDevice];
}
v8::Handle<String> deviceName = String::New([defaultDevice UTF8String]);
@@ -147,11 +147,11 @@ static v8::Handle<Value> AvailableDevices(const Arguments& args)
HandleScope handleScope;
NSArray *availableDevices = nil;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- JMXAudioCapture *ac = (JMXAudioCapture *)args.Holder()->GetPointerFromInternalField(0);
+ JMXAudioCapture *ac = (JMXAudioCapture *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (ac) { // called as instance method
availableDevices = [[ac class] availableDevices];
} else { // called as class method
- Class objcClass = (Class)External::Unwrap(args.Holder()->Get(String::NewSymbol("_objcClass")));
+ Class objcClass = (Class)External::Cast(*(args.Holder()->Get(String::NewSymbol("_objcClass"))))->Value();
availableDevices = [objcClass availableDevices];
}
v8::Handle<Array> list = v8::Array::New([availableDevices count]);
@@ -166,7 +166,7 @@ static v8::Handle<Value> SelectDevice(const Arguments& args)
{
HandleScope handleScope;
BOOL ret = NO;
- JMXAudioCapture *ac = (JMXAudioCapture *)args.Holder()->GetPointerFromInternalField(0);
+ JMXAudioCapture *ac = (JMXAudioCapture *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (ac) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
v8::Handle<Value> arg = args[0];
diff --git a/entities/JMXAudioSpectrumAnalyzer.mm b/entities/JMXAudioSpectrumAnalyzer.mm
index 3cd13a5..4860643 100644
--- a/entities/JMXAudioSpectrumAnalyzer.mm
+++ b/entities/JMXAudioSpectrumAnalyzer.mm
@@ -209,15 +209,21 @@ static int _defaultFrequencies[kJMXAudioSpectrumNumFrequencies] =
for (UInt32 i = 0; i < kJMXAudioSpectrumNumFrequencies; i++) { // for each frequency
int freq = [[frequencies objectAtIndex:i] intValue];
- int offset = freq*numBins/44100*analyzer.numChannels;
+ Float32 freqValue = 0;
+ for (UInt32 n = 0; n < numBins; n++) {
+ freqValue += ((Float32 *)(spectrumBuffer->mBuffers[0]).mData)[n];
+ }
+ freqValue /= numBins;
+
+ /* int offset = freq*numBins/44100*analyzer.numChannels;
Float32 value = (((Float32 *)(spectrumBuffer->mBuffers[0].mData))[offset] +
- ((Float32 *)(spectrumBuffer->mBuffers[1].mData))[offset]) * 0.5;
- if (value < 0.0)
- value = 0.0;
+ ((Float32 *)(spectrumBuffer->mBuffers[1].mData))[offset]) * 0.5;*/
+ if (freqValue < 0.0)
+ freqValue = 0.0;
- NSNumber *numberValue = [NSNumber numberWithFloat:value];
+ NSNumber *numberValue = [NSNumber numberWithFloat:freqValue];
[(JMXOutputPin *)[frequencyPins objectAtIndex:i] deliverData:numberValue];
- frequencyValues[i] = value;
+ frequencyValues[i] = freqValue;
}
if (runcycleCount%5 == 0 && imagePin.connected) { // draw the image only once every 10 samples
[self drawSpectrumImage];
@@ -254,7 +260,7 @@ using namespace v8;
static v8::Handle<Value>frequencies(const Arguments& args)
{
HandleScope handleScope;
- JMXAudioSpectrumAnalyzer *entity = (JMXAudioSpectrumAnalyzer *)args.Holder()->GetPointerFromInternalField(0);
+ JMXAudioSpectrumAnalyzer *entity = (JMXAudioSpectrumAnalyzer *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Array> list = v8::Array::New(entity.numberOfFrequencies);
for (int i = 0; i < entity.numberOfFrequencies; i++) {
int freq = [entity frequencyAtIndex:i];
@@ -266,7 +272,7 @@ static v8::Handle<Value>frequencies(const Arguments& args)
static v8::Handle<Value> frequency(const Arguments& args)
{
HandleScope handleScope;
- JMXAudioSpectrumAnalyzer *entity = (JMXAudioSpectrumAnalyzer *)args.Holder()->GetPointerFromInternalField(0);
+ JMXAudioSpectrumAnalyzer *entity = (JMXAudioSpectrumAnalyzer *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
int freq = args[0]->IntegerValue();
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
diff --git a/entities/JMXDrawEntity.mm b/entities/JMXDrawEntity.mm
index e0f0fd1..39c4cdd 100644
--- a/entities/JMXDrawEntity.mm
+++ b/entities/JMXDrawEntity.mm
@@ -114,7 +114,7 @@ using namespace v8;
} else if (args->Length() >= 1 && (*args)[0]->IsObject()) {
v8::Handle<Object>sizeObj = (*args)[0]->ToObject();
if (!sizeObj.IsEmpty()) {
- JMXSize *jmxSize = (JMXSize *)sizeObj->GetPointerFromInternalField(0);
+ JMXSize *jmxSize = (JMXSize *)sizeObj->GetAlignedPointerFromInternalField(0);
if (jmxSize)
[self setSize:jmxSize];
}
@@ -125,26 +125,26 @@ static v8::Handle<Value> DrawPolygon(const Arguments& args)
{
HandleScope handleScope;
//Locker locker;
- JMXDrawEntity *entity = (JMXDrawEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawEntity *entity = (JMXDrawEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() >= 1 && args[0]->IsArray()) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
v8::Handle<Array> pointList = v8::Handle<Array>::Cast(args[0]);
NSMutableArray *points = [[NSMutableArray alloc] init];
for (int i = 0; i < pointList->Length(); i++) {
v8::Local<Object>pointObj = v8::Local<Object>::Cast(pointList->Get(i));
- [points addObject:(JMXPoint *)pointObj->GetPointerFromInternalField(0)];
+ [points addObject:(JMXPoint *)pointObj->GetAlignedPointerFromInternalField(0)];
}
NSColor *strokeColor = [[NSColor whiteColor] retain];
NSColor *fillColor = nil;
if (args.Length() >= 2 && args[1]->IsObject()) {
v8::Local<Object>colorObj = args[1]->ToObject();
if (!colorObj.IsEmpty())
- strokeColor = [(NSColor *)colorObj->GetPointerFromInternalField(0) retain];
+ strokeColor = [(NSColor *)colorObj->GetAlignedPointerFromInternalField(0) retain];
}
if (args.Length() >= 3 && args[2]->IsObject()) {
v8::Local<Object>colorObj = args[2]->ToObject();
if (!colorObj.IsEmpty())
- fillColor = [(NSColor *)colorObj->GetPointerFromInternalField(0) retain];
+ fillColor = [(NSColor *)colorObj->GetAlignedPointerFromInternalField(0) retain];
}
[entity drawPolygon:points strokeColor:strokeColor fillColor:fillColor];
[points release];
@@ -160,13 +160,13 @@ static v8::Handle<Value> DrawCircle(const Arguments& args)
{
HandleScope handleScope;
Locker locker;
- JMXDrawEntity *entity = (JMXDrawEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawEntity *entity = (JMXDrawEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() >= 1 && args[0]->IsObject()) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
double radius = 0;
v8::Handle<Object> origin = args[0]->ToObject();
if (!origin.IsEmpty()) {
- JMXPoint *point = [(JMXPoint *)origin->GetPointerFromInternalField(0) retain];
+ JMXPoint *point = [(JMXPoint *)origin->GetAlignedPointerFromInternalField(0) retain];
if (args.Length() >= 2) {
if (args[1]->IsNumber()) {
radius = args[1]->ToNumber()->NumberValue();
@@ -178,13 +178,13 @@ static v8::Handle<Value> DrawCircle(const Arguments& args)
NSColor *fillColor = nil;
if (args.Length() >= 3) {
v8::Handle<Object>colorObj = args[2]->ToObject();
- strokeColor = (NSColor *)colorObj->GetPointerFromInternalField(0);
+ strokeColor = (NSColor *)colorObj->GetAlignedPointerFromInternalField(0);
if (strokeColor)
[strokeColor retain];
}
if (args.Length() >= 4) {
v8::Handle<Object>colorObj = args[3]->ToObject();
- fillColor = (NSColor *)colorObj->GetPointerFromInternalField(0);
+ fillColor = (NSColor *)colorObj->GetAlignedPointerFromInternalField(0);
if (fillColor)
[fillColor retain];
}
@@ -203,16 +203,16 @@ static v8::Handle<Value> DrawPixel(const Arguments& args)
{
HandleScope handleScope;
//Locker locker;
- JMXDrawEntity *entity = (JMXDrawEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXDrawEntity *entity = (JMXDrawEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (args.Length() >= 1 && args[0]->IsObject()) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
v8::Handle<Object> origin = args[0]->ToObject();
if (!origin.IsEmpty()) {
- JMXPoint *point = [(JMXPoint *)origin->GetPointerFromInternalField(0) retain];
+ JMXPoint *point = [(JMXPoint *)origin->GetAlignedPointerFromInternalField(0) retain];
NSColor *fillColor = [[NSColor whiteColor] retain];
if (args.Length() >= 2) {
v8::Handle<Object>colorObj = args[1]->ToObject();
- fillColor = (NSColor *)colorObj->GetPointerFromInternalField(0);
+ fillColor = (NSColor *)colorObj->GetAlignedPointerFromInternalField(0);
if (fillColor)
[fillColor retain];
}
@@ -230,7 +230,7 @@ static v8::Handle<Value> Clear(const Arguments& args)
HandleScope handleScope;
Locker locker;
v8::Handle<Object> self = args.Holder();
- JMXDrawEntity *entity = (JMXDrawEntity *)self->GetPointerFromInternalField(0);
+ JMXDrawEntity *entity = (JMXDrawEntity *)self->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
[entity clear];
[pool release];
@@ -240,7 +240,7 @@ static v8::Handle<Value> Clear(const Arguments& args)
static v8::Handle<Value>GetCanvas(Local<String> name, const AccessorInfo& info)
{
HandleScope handleScope;
- JMXDrawEntity *entity = (JMXDrawEntity *)info.Holder()->GetPointerFromInternalField(0);
+ JMXDrawEntity *entity = (JMXDrawEntity *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close([entity.canvas jsObj]);
}
diff --git a/entities/JMXScriptEntity.mm b/entities/JMXScriptEntity.mm
index 3b892ef..a5809ea 100644
--- a/entities/JMXScriptEntity.mm
+++ b/entities/JMXScriptEntity.mm
@@ -218,7 +218,7 @@ using namespace v8;
String::Utf8Value str(ret->ToString());
return [NSString stringWithUTF8String:*str];
} else if (ret->IsObject()) {
- return (id)ret->ToObject()->GetPointerFromInternalField(0);
+ return (id)ret->ToObject()->GetAlignedPointerFromInternalField(0);
}
} else {
return [super provideDataToPin:aPin];
@@ -284,7 +284,7 @@ using namespace v8;
HandleScope handle_scope;
v8::Handle<FunctionTemplate> objectTemplate = [[self class] jsObjectTemplate];
v8::Persistent<Object> jsInstance = Persistent<Object>::New(objectTemplate->InstanceTemplate()->NewInstance());
- jsInstance->SetPointerInInternalField(0, self);
+ jsInstance->SetAlignedPointerInInternalField(0, self);
return handle_scope.Close(jsInstance);
}
@@ -295,7 +295,7 @@ static v8::Handle<Value>Exec(const Arguments& args)
//v8::Locker lock;
BOOL ret;
HandleScope handleScope;
- JMXScriptEntity *entity = (JMXScriptEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
if (args[0]->IsFunction()) {
ret = [entity execFunction:Local<Function>::New(Handle<Function>::Cast(args[0]))];
@@ -313,7 +313,7 @@ static v8::Handle<Value>GetEntities(Local<String> name, const AccessorInfo& info
{
//v8::Locker lock;
HandleScope handleScope;
- JMXScriptEntity *entity = (JMXScriptEntity *)info.Holder()->GetPointerFromInternalField(0);
+ JMXScriptEntity *entity = (JMXScriptEntity *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSArray *entities = [entity elementsForName:@"Entities"];
v8::Handle<Array> list = Array::New(entities.count);
diff --git a/entities/JMXVideoCapture.mm b/entities/JMXVideoCapture.mm
index fd846b7..b516d3d 100644
--- a/entities/JMXVideoCapture.mm
+++ b/entities/JMXVideoCapture.mm
@@ -54,11 +54,11 @@ static v8::Handle<Value> DefaultDevice(const Arguments& args)
HandleScope handleScope;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSString *defaultDevice = nil;
- JMXVideoCapture *vc = (JMXVideoCapture *)args.Holder()->GetPointerFromInternalField(0);
+ JMXVideoCapture *vc = (JMXVideoCapture *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (vc) {
defaultDevice = [[vc class] defaultDevice];
} else {
- Class objcClass = (Class)External::Unwrap(args.Holder()->Get(String::NewSymbol("_objcClass")));
+ Class objcClass = (Class)External::Cast(*(args.Holder()->Get(String::NewSymbol("_objcClass"))))->Value();
defaultDevice = [objcClass defaultDevice];
}
v8::Handle<String> deviceName = String::New([defaultDevice UTF8String]);
@@ -72,11 +72,11 @@ static v8::Handle<Value> AvailableDevices(const Arguments& args)
HandleScope handleScope;
NSArray *availableDevices = nil;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- JMXVideoCapture *vc = (JMXVideoCapture *)args.Holder()->GetPointerFromInternalField(0);
+ JMXVideoCapture *vc = (JMXVideoCapture *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (vc) { // called as instance method
availableDevices = [[vc class] availableDevices];
} else { // called as class method
- Class objcClass = (Class)External::Unwrap(args.Holder()->Get(String::NewSymbol("_objcClass")));
+ Class objcClass = (Class)External::Cast(*(args.Holder()->Get(String::NewSymbol("_objcClass"))))->Value();
availableDevices = [objcClass availableDevices];
}
v8::Handle<Array> list = v8::Array::New([availableDevices count]);
@@ -91,7 +91,7 @@ static v8::Handle<Value> SelectDevice(const Arguments& args)
{
HandleScope handleScope;
BOOL ret = NO;
- JMXVideoCapture *vc = (JMXVideoCapture *)args.Holder()->GetPointerFromInternalField(0);
+ JMXVideoCapture *vc = (JMXVideoCapture *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (vc) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
v8::Handle<Value> arg = args[0];
@@ -109,7 +109,7 @@ static v8::Handle<Value>Start(const Arguments& args)
{
HandleScope handleScope;
Local<Object> obj = args.Holder();
- JMXVideoCapture *vc = (JMXVideoCapture *)obj->GetPointerFromInternalField(0);
+ JMXVideoCapture *vc = (JMXVideoCapture *)obj->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
[vc start];
[pool drain];
@@ -120,7 +120,7 @@ static v8::Handle<Value>Stop(const Arguments& args)
{
HandleScope handleScope;
Local<Object> obj = args.Holder();
- JMXVideoCapture *vc = (JMXVideoCapture *)obj->GetPointerFromInternalField(0);
+ JMXVideoCapture *vc = (JMXVideoCapture *)obj->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
[vc stop];
[pool drain];
diff --git a/entities/JMXVideoFilter.mm b/entities/JMXVideoFilter.mm
index 93ccf29..57f06d1 100644
--- a/entities/JMXVideoFilter.mm
+++ b/entities/JMXVideoFilter.mm
@@ -91,11 +91,11 @@ static v8::Handle<Value> AvailableFilters(const Arguments& args)
HandleScope handleScope;
NSArray *availableFilters;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- JMXVideoFilter *filter = (JMXVideoFilter *)args.Holder()->GetPointerFromInternalField(0);
+ JMXVideoFilter *filter = (JMXVideoFilter *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (filter) { // called as instance method
availableFilters = [filter availableFilters];
} else { // called as class method
- Class objcClass = (Class)External::Unwrap(args.Holder()->Get(String::NewSymbol("_objcClass")));
+ Class objcClass = (Class)External::Cast(*(args.Holder()->Get(String::NewSymbol("_objcClass"))))->Value();
availableFilters = [objcClass availableFilters];
}
v8::Handle<Array> list = v8::Array::New([availableFilters count]);
@@ -111,7 +111,7 @@ static v8::Handle<Value> SelectFilter(const Arguments& args)
{
HandleScope handleScope;
BOOL ret = NO;
- JMXVideoFilter *filterInstance = (JMXVideoFilter *)args.Holder()->GetPointerFromInternalField(0);
+ JMXVideoFilter *filterInstance = (JMXVideoFilter *)args.Holder()->GetAlignedPointerFromInternalField(0);
if (filterInstance) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
v8::Handle<Value> arg = args[0];
diff --git a/entities/JMXVideoOutput.mm b/entities/JMXVideoOutput.mm
index ab7a081..4f6d337 100644
--- a/entities/JMXVideoOutput.mm
+++ b/entities/JMXVideoOutput.mm
@@ -113,7 +113,7 @@ static Persistent<FunctionTemplate> objectTemplate;
} else if (args->Length() >= 1 && (*args)[0]->IsObject()) {
v8::Handle<Object>sizeObj = (*args)[0]->ToObject();
if (!sizeObj.IsEmpty()) {
- JMXSize *jmxSize = (JMXSize *)sizeObj->GetPointerFromInternalField(0);
+ JMXSize *jmxSize = (JMXSize *)sizeObj->GetAlignedPointerFromInternalField(0);
if (jmxSize)
[self setSize:jmxSize];
}
@@ -124,7 +124,7 @@ static void SetWidth(Local<String> name, Local<Value> value, const AccessorInfo&
{
//v8::Locker lock;
HandleScope handleScope;
- JMXVideoOutput *voutput = (JMXVideoOutput *)info.Holder()->GetPointerFromInternalField(0);
+ JMXVideoOutput *voutput = (JMXVideoOutput *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSSize newSize = voutput.size.nsSize;
newSize.width = value->NumberValue();
@@ -136,7 +136,7 @@ static void SetHeight(Local<String> name, Local<Value> value, const AccessorInfo
{
//v8::Locker lock;
HandleScope handleScope;
- JMXVideoOutput *voutput = (JMXVideoOutput *)info.Holder()->GetPointerFromInternalField(0);
+ JMXVideoOutput *voutput = (JMXVideoOutput *)info.Holder()->GetAlignedPointerFromInternalField(0);
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSSize newSize = voutput.size.nsSize;
newSize.height = value->NumberValue();
@@ -148,7 +148,7 @@ static v8::Handle<Value>GetWidth(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXVideoOutput *voutput = (JMXVideoOutput *)info.Holder()->GetPointerFromInternalField(0);
+ JMXVideoOutput *voutput = (JMXVideoOutput *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close(Integer::New(voutput.size.width));
}
@@ -156,7 +156,7 @@ static v8::Handle<Value>GetHeight(Local<String> name, const AccessorInfo& info)
{
//v8::Locker lock;
HandleScope handleScope;
- JMXVideoOutput *voutput = (JMXVideoOutput *)info.Holder()->GetPointerFromInternalField(0);
+ JMXVideoOutput *voutput = (JMXVideoOutput *)info.Holder()->GetAlignedPointerFromInternalField(0);
return handleScope.Close(Integer::New(voutput.size.height));
}
diff --git a/entities/audio/JMXAudioFileEntity.mm b/entities/audio/JMXAudioFileEntity.mm
index 31f37cb..5a2b06a 100644
--- a/entities/audio/JMXAudioFileEntity.mm
+++ b/entities/audio/JMXAudioFileEntity.mm
@@ -151,7 +151,7 @@ static v8::Handle<Value> open(const Arguments& args)
{
//Locker lock;
HandleScope handleScope;
- JMXAudioFileEntity *entity = (JMXAudioFileEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXAudioFileEntity *entity = (JMXAudioFileEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
v8::String::Utf8Value value(arg);
BOOL ret = [entity open:[NSString stringWithUTF8String:*value]];
@@ -162,7 +162,7 @@ static v8::Handle<Value> close(const Arguments& args)
{
//Locker lock;
HandleScope handleScope;
- JMXAudioFileEntity *entity = (JMXAudioFileEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXAudioFileEntity *entity = (JMXAudioFileEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
[entity close];
return v8::Undefined();
}
@@ -172,11 +172,11 @@ static v8::Handle<Value>SupportedFileTypes(const Arguments& args)
HandleScope handleScope;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSArray *supportedTypes = nil;
- JMXAudioFileEntity *audioFile = (JMXAudioFileEntity *)args.Holder()->GetPointerFromInternalField(1);
+ JMXAudioFileEntity *audioFile = (JMXAudioFileEntity *)args.Holder()->GetAlignedPointerFromInternalField(1);
if (audioFile) {
supportedTypes = [[audioFile class] supportedFileTypes];
} else {
- Class<JMXFileRead> objcClass = (Class)External::Unwrap(args.Holder()->Get(String::NewSymbol("_objcClass")));
+ Class<JMXFileRead> objcClass = (Class)External::Cast(*(args.Holder()->Get(String::NewSymbol("_objcClass"))))->Value();
supportedTypes = [objcClass supportedFileTypes];
}
v8::Handle<Array> list = v8::Array::New([supportedTypes count]);
diff --git a/entities/video/JMXImageEntity.mm b/entities/video/JMXImageEntity.mm
index aa6b2df..280dfee 100644
--- a/entities/video/JMXImageEntity.mm
+++ b/entities/video/JMXImageEntity.mm
@@ -195,7 +195,7 @@ using namespace v8;
static v8::Handle<Value>Open(const Arguments& args)
{
HandleScope handleScope;
- JMXImageEntity *entity = (JMXImageEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXImageEntity *entity = (JMXImageEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
v8::String::Utf8Value value(arg);
[entity open:[NSString stringWithUTF8String:*value]];
@@ -205,7 +205,7 @@ static v8::Handle<Value>Open(const Arguments& args)
static v8::Handle<Value>Close(const Arguments& args)
{
HandleScope handleScope;
- JMXImageEntity *entity = (JMXImageEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXImageEntity *entity = (JMXImageEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
[entity close];
return v8::Undefined();
}
@@ -215,11 +215,11 @@ static v8::Handle<Value>SupportedFileTypes(const Arguments& args)
HandleScope handleScope;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSArray *supportedTypes = nil;
- JMXImageEntity *imageFile = (JMXImageEntity *)args.Holder()->GetPointerFromInternalField(1);
+ JMXImageEntity *imageFile = (JMXImageEntity *)args.Holder()->GetAlignedPointerFromInternalField(1);
if (imageFile) {
supportedTypes = [[imageFile class] supportedFileTypes];
} else {
- Class<JMXFileRead> objcClass = (Class)External::Unwrap(args.Holder()->Get(String::NewSymbol("_objcClass")));
+ Class<JMXFileRead> objcClass = (Class)External::Cast(*(args.Holder()->Get(String::NewSymbol("_objcClass"))))->Value();
supportedTypes = [objcClass supportedFileTypes];
}
v8::Handle<Array> list = v8::Array::New([supportedTypes count]);
diff --git a/entities/video/JMXQtMovieEntity.mm b/entities/video/JMXQtMovieEntity.mm
index a7ab173..5ae57f7 100644
--- a/entities/video/JMXQtMovieEntity.mm
+++ b/entities/video/JMXQtMovieEntity.mm
@@ -546,7 +546,7 @@ using namespace v8;
static v8::Handle<Value>Open(const Arguments& args)
{
HandleScope handleScope;
- JMXQtMovieEntity *entity = (JMXQtMovieEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXQtMovieEntity *entity = (JMXQtMovieEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
v8::String::Utf8Value value(arg);
[entity setMoviePath:[NSString stringWithUTF8String:*value]];
@@ -556,7 +556,7 @@ static v8::Handle<Value>Open(const Arguments& args)
static v8::Handle<Value>Close(const Arguments& args)
{
HandleScope handleScope;
- JMXQtMovieEntity *entity = (JMXQtMovieEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXQtMovieEntity *entity = (JMXQtMovieEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
[entity close];
return v8::Undefined();
}
@@ -564,7 +564,7 @@ static v8::Handle<Value>Close(const Arguments& args)
static v8::Handle<Value>SeekTime(const Arguments& args)
{
HandleScope handleScope;
- JMXQtMovieEntity *entity = (JMXQtMovieEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXQtMovieEntity *entity = (JMXQtMovieEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
[entity seekTime:args[0]->ToNumber()->NumberValue() * 1e9];
return Undefined();
@@ -573,7 +573,7 @@ static v8::Handle<Value>SeekTime(const Arguments& args)
static v8::Handle<Value>SeekAbsoluteTime(const Arguments& args)
{
HandleScope handleScope;
- JMXQtMovieEntity *entity = (JMXQtMovieEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXQtMovieEntity *entity = (JMXQtMovieEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
[entity seekAbsoluteTime:arg->ToNumber()->NumberValue() * 1e9];
return Undefined();
@@ -582,7 +582,7 @@ static v8::Handle<Value>SeekAbsoluteTime(const Arguments& args)
static v8::Handle<Value>SeekFrame(const Arguments& args)
{
HandleScope handleScope;
- JMXQtMovieEntity *entity = (JMXQtMovieEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXQtMovieEntity *entity = (JMXQtMovieEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
[entity seekFrame:arg->ToNumber()->NumberValue()];
return Undefined();
@@ -593,11 +593,11 @@ static v8::Handle<Value>SupportedFileTypes(const Arguments& args)
HandleScope handleScope;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSArray *supportedTypes = nil;
- JMXQtMovieEntity *movieFile = (JMXQtMovieEntity *)args.Holder()->GetPointerFromInternalField(1);
+ JMXQtMovieEntity *movieFile = (JMXQtMovieEntity *)args.Holder()->GetAlignedPointerFromInternalField(1);
if (movieFile) {
supportedTypes = [[movieFile class] supportedFileTypes];
} else {
- Class<JMXFileRead> objcClass = (Class)External::Unwrap(args.Holder()->Get(String::NewSymbol("_objcClass")));
+ Class<JMXFileRead> objcClass = (Class)External::Cast(*(args.Holder()->Get(String::NewSymbol("_objcClass"))))->Value();
supportedTypes = [objcClass supportedFileTypes];
}
v8::Handle<Array> list = v8::Array::New([supportedTypes count]);
diff --git a/entities/video/JMXTextEntity.mm b/entities/video/JMXTextEntity.mm
index 20af177..265a999 100644
--- a/entities/video/JMXTextEntity.mm
+++ b/entities/video/JMXTextEntity.mm
@@ -217,7 +217,7 @@ using namespace v8;
static v8::Handle<Value>SetText(const Arguments& args)
{
HandleScope handleScope;
- JMXTextEntity *entity = (JMXTextEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXTextEntity *entity = (JMXTextEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
v8::String::Utf8Value value(arg);
[entity setText:[NSString stringWithUTF8String:*value]];
@@ -227,7 +227,7 @@ static v8::Handle<Value>SetText(const Arguments& args)
static v8::Handle<Value>SetFont(const Arguments& args)
{
HandleScope handleScope;
- JMXTextEntity *entity = (JMXTextEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXTextEntity *entity = (JMXTextEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
v8::Handle<Value> arg = args[0];
v8::String::Utf8Value value(arg);
[entity setFontWithName:[NSString stringWithUTF8String:*value]];
@@ -238,11 +238,11 @@ static v8::Handle<Value>SetBackgroundColor(const Arguments& args)
{
BOOL ret = NO;
HandleScope handleScope;
- JMXTextEntity *entity = (JMXTextEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXTextEntity *entity = (JMXTextEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
String::Utf8Value str(args[0]->ToString());
if (strcmp(*str, "[object Color]") == 0) {
v8::Handle<Object> object = args[0]->ToObject();
- NSColor *color = (NSColor *)object->GetPointerFromInternalField(0);
+ NSColor *color = (NSColor *)object->GetAlignedPointerFromInternalField(0);
[entity setBackgroundColor:color];
ret = YES;
}
@@ -253,11 +253,11 @@ static v8::Handle<Value>SetBackgroundColor(const Arguments& args)
static v8::Handle<Value>SetFontColor(const Arguments& args)
{
HandleScope handleScope;
- JMXTextEntity *entity = (JMXTextEntity *)args.Holder()->GetPointerFromInternalField(0);
+ JMXTextEntity *entity = (JMXTextEntity *)args.Holder()->GetAlignedPointerFromInternalField(0);
String::Utf8Value str(args[0]->ToString());
if (strcmp(*str, "[object Color]") == 0) {
v8::Handle<Object> object = args[0]->ToObject();
- NSColor *color = (NSColor *)object->GetPointerFromInternalField(0);
+ NSColor *color = (NSColor *)object->GetAlignedPointerFromInternalField(0);
[entity setFontColor:color];
}
return handleScope.Close(Undefined());
diff --git a/node.js/fs_event_wrap.cc b/node.js/fs_event_wrap.cc
index fc6d7f7..cd65f66 100644
--- a/node.js/fs_event_wrap.cc
+++ b/node.js/fs_event_wrap.cc
@@ -32,7 +32,7 @@ namespace node {
assert(!args.Holder().IsEmpty()); \
assert(args.Holder()->InternalFieldCount() > 0); \
FSEventWrap* wrap = \
- static_cast<FSEventWrap*>(args.Holder()->GetPointerFromInternalField(0)); \
+ static_cast<FSEventWrap*>(args.Holder()->GetAlignedPointerFromInternalField(0)); \
if (!wrap) { \
uv_err_t err; \
err.code = UV_EBADF; \
diff --git a/node.js/handle_wrap.cc b/node.js/handle_wrap.cc
index 6e07643..b638f66 100644
--- a/node.js/handle_wrap.cc
+++ b/node.js/handle_wrap.cc
@@ -43,7 +43,7 @@ using v8::Integer;
assert(!args.Holder().IsEmpty()); \
assert(args.Holder()->InternalFieldCount() > 0); \
HandleWrap* wrap = \
- static_cast<HandleWrap*>(args.Holder()->GetPointerFromInternalField(0)); \
+ static_cast<HandleWrap*>(args.Holder()->GetAlignedPointerFromInternalField(0)); \
if (!wrap) { \
uv_err_t err; \
err.code = UV_EBADF; \
@@ -104,7 +104,7 @@ HandleWrap::HandleWrap(Handle<Object> object, uv_handle_t* h) {
assert(object_.IsEmpty());
assert(object->InternalFieldCount() > 0);
object_ = v8::Persistent<v8::Object>::New(object);
- object_->SetPointerInInternalField(0, this);
+ object_->SetAlignedPointerInInternalField(0, this);
}
@@ -125,7 +125,7 @@ void HandleWrap::OnClose(uv_handle_t* handle) {
// The wrap object should still be there.
assert(wrap->object_.IsEmpty() == false);
- wrap->object_->SetPointerInInternalField(0, NULL);
+ wrap->object_->SetAlignedPointerInInternalField(0, NULL);
wrap->object_.Dispose();
wrap->object_.Clear();
diff --git a/node.js/node_object_wrap.h b/node.js/node_object_wrap.h
index 016d595..9c35338 100644
--- a/node.js/node_object_wrap.h
+++ b/node.js/node_object_wrap.h
@@ -49,7 +49,7 @@ class ObjectWrap {
static inline T* Unwrap (v8::Handle<v8::Object> handle) {
assert(!handle.IsEmpty());
assert(handle->InternalFieldCount() > 0);
- return static_cast<T*>(handle->GetPointerFromInternalField(0));
+ return static_cast<T*>(handle->GetAlignedPointerFromInternalField(0));
}
@@ -60,7 +60,7 @@ class ObjectWrap {
assert(handle_.IsEmpty());
assert(handle->InternalFieldCount() > 0);
handle_ = v8::Persistent<v8::Object>::New(handle);
- handle_->SetPointerInInternalField(0, this);
+ handle_->SetAlignedPointerInInternalField(0, this);
MakeWeak();
}
diff --git a/node.js/pipe_wrap.cc b/node.js/pipe_wrap.cc
index abcf2b8..b08f65b 100644
--- a/node.js/pipe_wrap.cc
+++ b/node.js/pipe_wrap.cc
@@ -30,7 +30,7 @@
assert(!args.Holder().IsEmpty()); \
assert(args.Holder()->InternalFieldCount() > 0); \
PipeWrap* wrap = \
- static_cast<PipeWrap*>(args.Holder()->GetPointerFromInternalField(0)); \
+ static_cast<PipeWrap*>(args.Holder()->GetAlignedPointerFromInternalField(0)); \
if (!wrap) { \
uv_err_t err; \
err.code = UV_EBADF; \
@@ -69,7 +69,7 @@ uv_pipe_t* PipeWrap::UVHandle() {
PipeWrap* PipeWrap::Unwrap(Local<Object> obj) {
assert(!obj.IsEmpty());
assert(obj->InternalFieldCount() > 0);
- return static_cast<PipeWrap*>(obj->GetPointerFromInternalField(0));
+ return static_cast<PipeWrap*>(obj->GetAlignedPointerFromInternalField(0));
}
@@ -181,7 +181,7 @@ void PipeWrap::OnConnection(uv_stream_t* handle, int status) {
// Unwrap the client javascript object.
assert(client_obj->InternalFieldCount() > 0);
PipeWrap* client_wrap =
- static_cast<PipeWrap*>(client_obj->GetPointerFromInternalField(0));
+ static_cast<PipeWrap*>(client_obj->GetAlignedPointerFromInternalField(0));
int r = uv_accept(handle, (uv_stream_t*)&client_wrap->handle_);
diff --git a/node.js/process_wrap.cc b/node.js/process_wrap.cc
index 72b684c..2223478 100644
--- a/node.js/process_wrap.cc
+++ b/node.js/process_wrap.cc
@@ -29,7 +29,7 @@
assert(!args.Holder().IsEmpty()); \
assert(args.Holder()->InternalFieldCount() > 0); \
ProcessWrap* wrap = \
- static_cast<ProcessWrap*>(args.Holder()->GetPointerFromInternalField(0)); \
+ static_cast<ProcessWrap*>(args.Holder()->GetAlignedPointerFromInternalField(0)); \
if (!wrap) { \
uv_err_t err; \
err.code = UV_EBADF; \
diff --git a/node.js/stream_wrap.cc b/node.js/stream_wrap.cc
index 95a19c7..b7dfe4a 100644
--- a/node.js/stream_wrap.cc
+++ b/node.js/stream_wrap.cc
@@ -53,7 +53,7 @@ using v8::Integer;
assert(!args.Holder().IsEmpty()); \
assert(args.Holder()->InternalFieldCount() > 0); \
StreamWrap* wrap = \
- static_cast<StreamWrap*>(args.Holder()->GetPointerFromInternalField(0)); \
+ static_cast<StreamWrap*>(args.Holder()->GetAlignedPointerFromInternalField(0)); \
if (!wrap) { \
uv_err_t err; \
err.code = UV_EBADF; \
@@ -249,7 +249,7 @@ void StreamWrap::OnReadCommon(uv_stream_t* handle, ssize_t nread,
// Unwrap the client javascript object.
assert(pending_obj->InternalFieldCount() > 0);
TCPWrap* pending_wrap =
- static_cast<TCPWrap*>(pending_obj->GetPointerFromInternalField(0));
+ static_cast<TCPWrap*>(pending_obj->GetAlignedPointerFromInternalField(0));
int r = uv_accept(handle, pending_wrap->GetStream());
assert(r == 0);
@@ -318,7 +318,7 @@ Handle<Value> StreamWrap::Write(const Arguments& args) {
Local<Object> send_stream_obj = args[3]->ToObject();
assert(send_stream_obj->InternalFieldCount() > 0);
StreamWrap* send_stream_wrap = static_cast<StreamWrap*>(
- send_stream_obj->GetPointerFromInternalField(0));
+ send_stream_obj->GetAlignedPointerFromInternalField(0));
send_stream = send_stream_wrap->GetStream();
}
diff --git a/node.js/tcp_wrap.cc b/node.js/tcp_wrap.cc
index e43f375..364053e 100644
--- a/node.js/tcp_wrap.cc
+++ b/node.js/tcp_wrap.cc
@@ -47,7 +47,7 @@
assert(!args.Holder().IsEmpty()); \
assert(args.Holder()->InternalFieldCount() > 0); \
TCPWrap* wrap = \
- static_cast<TCPWrap*>(args.Holder()->GetPointerFromInternalField(0)); \
+ static_cast<TCPWrap*>(args.Holder()->GetAlignedPointerFromInternalField(0)); \
if (!wrap) { \
uv_err_t err; \
err.code = UV_EBADF; \
@@ -364,7 +364,7 @@ void TCPWrap::OnConnection(uv_stream_t* handle, int status) {
// Unwrap the client javascript object.
assert(client_obj->InternalFieldCount() > 0);
TCPWrap* client_wrap =
- static_cast<TCPWrap*>(client_obj->GetPointerFromInternalField(0));
+ static_cast<TCPWrap*>(client_obj->GetAlignedPointerFromInternalField(0));
int r = uv_accept(handle, (uv_stream_t*)&client_wrap->handle_);
diff --git a/node.js/timer_wrap.cc b/node.js/timer_wrap.cc
index 6be4ef9..599c670 100644
--- a/node.js/timer_wrap.cc
+++ b/node.js/timer_wrap.cc
@@ -26,7 +26,7 @@
assert(!args.Holder().IsEmpty()); \
assert(args.Holder()->InternalFieldCount() > 0); \
TimerWrap* wrap = \
- static_cast<TimerWrap*>(args.Holder()->GetPointerFromInternalField(0)); \
+ static_cast<TimerWrap*>(args.Holder()->GetAlignedPointerFromInternalField(0)); \
if (!wrap) { \
uv_err_t err; \
err.code = UV_EBADF; \
diff --git a/node.js/tty_wrap.cc b/node.js/tty_wrap.cc
index 5359d7c..ded5ee4 100644
--- a/node.js/tty_wrap.cc
+++ b/node.js/tty_wrap.cc
@@ -46,7 +46,7 @@ using v8::Undefined;
assert(!args.Holder().IsEmpty()); \
assert(args.Holder()->InternalFieldCount() > 0); \
TTYWrap* wrap = \
- static_cast<TTYWrap*>(args.Holder()->GetPointerFromInternalField(0)); \
+ static_cast<TTYWrap*>(args.Holder()->GetAlignedPointerFromInternalField(0)); \
if (!wrap) { \
uv_err_t err; \
err.code = UV_EBADF; \
diff --git a/node.js/udp_wrap.cc b/node.js/udp_wrap.cc
index 4048e97..9ff2d6d 100644
--- a/node.js/udp_wrap.cc
+++ b/node.js/udp_wrap.cc
@@ -51,7 +51,7 @@ namespace node {
assert(!args.Holder().IsEmpty()); \
assert(args.Holder()->InternalFieldCount() > 0); \
UDPWrap* wrap = \
- static_cast<UDPWrap*>(args.Holder()->GetPointerFromInternalField(0)); \
+ static_cast<UDPWrap*>(args.Holder()->GetAlignedPointerFromInternalField(0)); \
if (!wrap) { \
uv_err_t err; \
err.code = UV_EBADF; \
diff --git a/node.js/v8_typed_array.cc b/node.js/v8_typed_array.cc
index 00eff87..893b4d0 100644
--- a/node.js/v8_typed_array.cc
+++ b/node.js/v8_typed_array.cc
@@ -102,7 +102,7 @@ class ArrayBuffer {
if (!buf)
return ThrowError("Unable to allocate ArrayBuffer.");
- args.This()->SetPointerInInternalField(0, buf);
+ args.This()->SetAlignedPointerInInternalField(0, buf);
args.This()->Set(v8::String::New("byteLength"),
v8::Integer::NewFromUnsigned(num_bytes),
@@ -214,7 +214,7 @@ class TypedArray {
}
// TODO(deanm): Error check.
- void* buf = buffer->GetPointerFromInternalField(0);
+ void* buf = buffer->GetAlignedPointerFromInternalField(0);
args.This()->SetIndexedPropertiesToExternalArrayData(
reinterpret_cast<char*>(buf) + byte_offset, TEAType, length);
} else if (args[0]->IsObject()) { // TypedArray / type[] constructor.
@@ -227,7 +227,7 @@ class TypedArray {
buffer = ArrayBuffer::GetTemplate()->
GetFunction()->NewInstance(1, argv);
- void* buf = buffer->GetPointerFromInternalField(0);
+ void* buf = buffer->GetAlignedPointerFromInternalField(0);
args.This()->SetIndexedPropertiesToExternalArrayData(
buf, TEAType, length);
// TODO(deanm): check for failure.
@@ -254,7 +254,7 @@ class TypedArray {
buffer = ArrayBuffer::GetTemplate()->
GetFunction()->NewInstance(1, argv);
- void* buf = buffer->GetPointerFromInternalField(0);
+ void* buf = buffer->GetAlignedPointerFromInternalField(0);
args.This()->SetIndexedPropertiesToExternalArrayData(
buf, TEAType, length);