Permalink
Browse files

Retabbing the addons

  • Loading branch information...
1 parent 17eccc5 commit 4435792f82cdb2067a52f27f68d25689ad14b9d1 @quag quag committed with Steve Dekorte Jan 8, 2008
Showing with 13,009 additions and 13,008 deletions.
  1. +5 −5 addons/AVCodec/io/AVCodec.io
  2. +17 −17 addons/AVCodec/io/Video.io
  3. +91 −91 addons/AVCodec/source/IoAVCodec.c
  4. +14 −14 addons/AVCodec/source/IoAVCodec.h
  5. +48 −48 addons/AppleExtras/source/AppleSensors.c
  6. +20 −20 addons/AppleExtras/source/IoAppleSensors.c
  7. +149 −149 addons/AppleExtras/source/unimotion.c
  8. +5 −5 addons/AppleExtras/source/unimotion.h
  9. +10 −10 addons/AsyncRequest/io/AsyncRequest.io
  10. +40 −40 addons/AsyncRequest/source/IoAsyncRequest.c
  11. +3 −3 addons/Blowfish/io/Blowfish.io
  12. +28 −28 addons/Blowfish/source/IoBlowfish.c
  13. +370 −370 addons/Blowfish/source/blowfish.c
  14. +2 −2 addons/Blowfish/source/blowfish.h
  15. +22 −22 addons/Box/io/Vector.io
  16. +154 −154 addons/Box/source/IoBox.c
  17. +3 −3 addons/Box/source/IoBox.h
  18. +2 −2 addons/CFFI/io/A_init.io
  19. +11 −11 addons/CFFI/io/B_DataType.io
  20. +3 −3 addons/CFFI/io/Pointer.io
  21. +37 −37 addons/CFFI/source/IoCFFIDataType.c
  22. +1 −1 addons/CFFI/source/IoCFFIDataType.h
  23. +14 −14 addons/CFFI/source/IoCFFIFunction.c
  24. +11 −11 addons/CFFI/source/IoCFFILibrary.c
  25. +24 −24 addons/CFFI/source/IoCFFIPointer.c
  26. +3 −3 addons/Cairo/io/Cairo.io
  27. +8 −8 addons/Cairo/source/IoCairo.c
  28. +44 −44 addons/Cairo/source/IoCairoContext.c
  29. +10 −10 addons/Cairo/source/IoCairoExtents.c
  30. +10 −10 addons/Cairo/source/IoCairoFontExtents.c
  31. +9 −9 addons/Cairo/source/IoCairoFontFace.c
  32. +1 −1 addons/Cairo/source/IoCairoFontFace.h
  33. +6 −6 addons/Cairo/source/IoCairoFontOptions.c
  34. +13 −13 addons/Cairo/source/IoCairoGlyph.c
  35. +7 −7 addons/Cairo/source/IoCairoGradient.c
  36. +7 −7 addons/Cairo/source/IoCairoImageSurface.c
  37. +6 −6 addons/Cairo/source/IoCairoLinearGradient.c
  38. +10 −10 addons/Cairo/source/IoCairoMatrix.c
  39. +10 −10 addons/Cairo/source/IoCairoPath.c
  40. +8 −8 addons/Cairo/source/IoCairoPathElement.c
  41. +7 −7 addons/Cairo/source/IoCairoPattern.c
  42. +5 −5 addons/Cairo/source/IoCairoRadialGradient.c
  43. +9 −9 addons/Cairo/source/IoCairoRectangle.c
  44. +9 −9 addons/Cairo/source/IoCairoScaledFont.c
  45. +5 −5 addons/Cairo/source/IoCairoSolidPattern.c
  46. +10 −10 addons/Cairo/source/IoCairoSurface.c
  47. +7 −7 addons/Cairo/source/IoCairoSurfacePattern.c
  48. +11 −11 addons/Cairo/source/IoCairoTextExtents.c
  49. +1 −1 addons/Cairo/source/IoCairo_fileSurfaces.c
  50. +5 −5 addons/Cairo/source/_IoCairoPDFSurface.c
  51. +6 −6 addons/Cairo/source/_IoCairoPSSurface.c
  52. +5 −5 addons/Cairo/source/_IoCairoSVGSurface.c
  53. +1 −1 addons/Curses/io/Curses.io
  54. +158 −158 addons/Curses/source/IoCurses.c
  55. +3 −3 addons/Curses/source/IoCurses.h
  56. +11 −11 addons/DBI/io/DBIConn.io
  57. +7 −7 addons/DBI/io/DBIRecord.io
  58. +16 −16 addons/DBI/source/IoDBI.c
  59. +1 −1 addons/DBI/source/IoDBI.h
  60. +49 −49 addons/DBI/source/IoDBIConn.c
  61. +4 −4 addons/DBI/source/IoDBIConn.h
  62. +53 −53 addons/DBI/source/IoDBIResult.c
  63. +4 −4 addons/DBI/source/IoDBIResult.h
  64. +6 −6 addons/EditLine/source/IoEditLine.c
  65. +9 −9 addons/Flux/io/Flux.io
  66. +162 −162 addons/Fnmatch/source/IoFnmatch.c
  67. +3 −3 addons/Fnmatch/source/IoFnmatch.h
  68. +116 −116 addons/Font/source/FreeTypeErrorCodes.c
  69. +68 −68 addons/Font/source/GLFont.c
  70. +18 −18 addons/Font/source/GLFont.h
  71. +77 −77 addons/Font/source/IoFont.c
  72. +3 −3 addons/Font/source/IoFont.h
  73. +36 −36 addons/GLFW/source/IoGLFW.c
  74. +18 −18 addons/GLFW/source/IoGLFW.h
  75. +174 −174 addons/HDB/io/HDB.io
  76. +1 −1 addons/Image/io/Image.io
  77. +83 −83 addons/Image/source/Image.c
  78. +15 −15 addons/Image/source/Image.h
  79. +114 −114 addons/Image/source/IoImage.c
  80. +6 −6 addons/Image/source/IoImage.h
  81. +2 −2 addons/Image/source/IoImageApi.h
  82. +165 −165 addons/Image/source/JPGImage.c
  83. +20 −20 addons/Image/source/JPGImage.h
  84. +94 −94 addons/Image/source/PNGImage.c
  85. +13 −13 addons/Image/source/PNGImage.h
  86. +174 −174 addons/Image/source/TIFFImage.c
  87. +13 −13 addons/Image/source/TIFFImage.h
  88. +23 −23 addons/LZO/io/LZO.io
  89. +32 −32 addons/LZO/source/IoLZODecoder.c
  90. +26 −26 addons/LZO/source/IoLZOEncoder.c
  91. +44 −44 addons/LZO/source/lzoconf.h
  92. +2 −2 addons/LZO/source/lzodefs.h
  93. +1,001 −1,001 addons/LZO/source/minilzo.c
  94. +6 −6 addons/LZO/source/minilzo.h
  95. +57 −57 addons/LibSndFile/source/IoLibSndFile.c
  96. +1 −1 addons/LibSndFile/source/IoLibSndFile.h
  97. +12 −12 addons/Libxml2/source/IoXmlReader.c
  98. +317 −317 addons/Libxml2/source/IoXmlWriter.c
  99. +1 −1 addons/Libxml2/source/IoXmlWriter.h
  100. +893 −893 addons/Loki/io/Assembler.io
  101. +665 −665 addons/Loki/io/CodeGeneration.io
  102. +868 −868 addons/Loki/io/Loki.io
  103. +1 −1 addons/Loki/io/x86opcodes.io
  104. +4 −4 addons/Loki/source/IoLinker.c
  105. +1 −1 addons/MD5/io/MD5_extras.io
  106. +20 −20 addons/MD5/source/IoMD5.c
  107. +3 −3 addons/MD5/source/IoMD5.h
  108. +151 −151 addons/MD5/source/md5.c
  109. +9 −9 addons/MD5/source/md5.h
  110. +11 −11 addons/MySQL/source/IoMySQL.c
  111. +7 −7 addons/NetworkAdapter/source/IoNetworkAdapter.c
  112. +1 −1 addons/NetworkAdapter/source/IoNetworkAdapter.h
  113. +1 −1 addons/NetworkAdapter/source/OSXMacAddress.h
  114. +1 −1 addons/NetworkAdapter/source/WindowsMacAddress.c
  115. +1 −1 addons/NetworkAdapter/source/WindowsMacAddress.h
  116. +1 −1 addons/NotificationCenter/io/NotificationCenter.io
  117. +7 −7 addons/ODE/build.io
  118. +15 −15 addons/ODE/io/ode.io
  119. +9 −9 addons/ODE/source/IoODEBall.c
  120. +39 −39 addons/ODE/source/IoODEBody.c
  121. +12 −12 addons/ODE/source/IoODEBox.c
  122. +16 −16 addons/ODE/source/IoODEContact.c
  123. +8 −8 addons/ODE/source/IoODEContactJoint.c
  124. +11 −11 addons/ODE/source/IoODEFixed.c
  125. +14 −14 addons/ODE/source/IoODEHinge.c
  126. +17 −17 addons/ODE/source/IoODEHinge2.c
  127. +16 −16 addons/ODE/source/IoODEJoint.c
  128. +12 −12 addons/ODE/source/IoODEJointGroup.c
  129. +25 −25 addons/ODE/source/IoODEMass.c
  130. +11 −11 addons/ODE/source/IoODEPlane.c
  131. +13 −13 addons/ODE/source/IoODESimpleSpace.c
  132. +15 −15 addons/ODE/source/IoODESlider.c
  133. +17 −17 addons/ODE/source/IoODEUniversal.c
  134. +15 −15 addons/ODE/source/IoODEWorld.c
  135. +1 −1 addons/ODE/source/IoVector_ode.c
  136. +5 −5 addons/ODE/source/geom.c
  137. +2 −2 addons/ObjcBridge/build.io
  138. +2 −2 addons/OpenGL/io/DisplayList.io
  139. +57 −57 addons/OpenGL/io/GLApp.io
  140. +1 −1 addons/OpenGL/io/GLUCylinder.io
  141. +4 −4 addons/OpenGL/io/GLUQuadric.io
  142. +1 −1 addons/OpenGL/io/GLUSphere.io
  143. +10 −10 addons/OpenGL/io/Image_extras.io
  144. +23 −23 addons/OpenGL/io/ResourceManager.io
  145. +21 −21 addons/OpenGL/io/Texture.io
  146. +2 −2 addons/OpenGL/io/Vector.io
  147. +2 −2 addons/OpenGL/source/GLIncludes.h
  148. +52 −52 addons/OpenGL/source/IoBox_gl.c
  149. +1 −1 addons/OpenGL/source/IoGLEconst.h
  150. +1 −1 addons/OpenGL/source/IoGLEfunc.h
  151. +73 −73 addons/OpenGL/source/IoGLScissor.c
  152. +2 −2 addons/OpenGL/source/IoGLScissor.h
  153. +126 −126 addons/OpenGL/source/IoGLU.c
  154. +30 −30 addons/OpenGL/source/IoGLUQuadric.c
  155. +2 −2 addons/OpenGL/source/IoGLUQuadric.h
  156. +240 −240 addons/OpenGL/source/IoGLUT.c
  157. +52 −52 addons/OpenGL/source/IoGLUT.h
  158. +16 −16 addons/OpenGL/source/IoGLUTconst.h
  159. +78 −78 addons/OpenGL/source/IoGLUTfunc.h
  160. +2 −2 addons/OpenGL/source/IoGLUconst.h
  161. +5 −5 addons/OpenGL/source/IoGLUfunc.h
  162. +7 −7 addons/OpenGL/source/IoGLconst.h
  163. +176 −176 addons/OpenGL/source/IoGLfunc.h
  164. +380 −380 addons/OpenGL/source/IoOpenGL.c
  165. +115 −115 addons/OpenGL/source/IoVector_gl.c
  166. +17 −17 addons/PortAudio/io/PortAudio.io
  167. +155 −155 addons/PortAudio/source/AudioDevice.c
  168. +42 −42 addons/PortAudio/source/AudioDevice.h
  169. +117 −117 addons/PortAudio/source/IoAudioDevice.c
  170. +5 −5 addons/PortAudio/source/IoAudioDevice.h
  171. +205 −205 addons/PostgreSQL/io/PostgreSQL.io
  172. +27 −27 addons/Postgres/io/PostgreSQL.io
  173. +35 −35 addons/Python/source/IoPython.c
  174. +2 −2 addons/Python/source/PythonData.c
  175. +12 −12 addons/QDBM/io/QDBM.io
  176. +82 −82 addons/QDBM/source/IoQDBM.c
  177. +2 −2 addons/QDBM/source/IoQDBM.h
  178. +51 −51 addons/Random/source/IoRandom.c
  179. +1 −1 addons/Random/source/IoRandom.h
  180. +17 −17 addons/Range/io/Extras.io
  181. +39 −39 addons/Range/io/Range.io
  182. +164 −164 addons/Range/source/IoRange.c
  183. +6 −6 addons/Range/source/IoRange.h
  184. +11 −11 addons/Range/source/IoRange_inline.h
  185. +19 −19 addons/Rational/io/Rational.io
  186. +10 −10 addons/ReadLine/source/IoReadLine.c
  187. 0 addons/ReadLine/source/IoReadLine.h
  188. +1 −1 addons/Regex/build.io
  189. +1 −1 addons/Regex/io/Regex.io
  190. +6 −6 addons/Regex/io/RegexMatch.io
  191. +11 −11 addons/Regex/io/RegexMatches.io
  192. +6 −6 addons/Regex/io/Sequence_regex.io
  193. +19 −19 addons/Regex/source/IoRegex.c
  194. +4 −4 addons/Regex/source/IoRegexMatch.c
  195. +16 −16 addons/Regex/source/IoRegexMatches.c
  196. +10 −10 addons/Regex/source/Regex.c
  197. +65 −65 addons/SGML/io/SGMLElement.io
  198. +67 −67 addons/SGML/source/IoSGMLParser.c
  199. +25 −25 addons/SGML/source/IoSGMLParser.h
  200. +1 −1 addons/SHA1/io/sha1.io
  201. +16 −16 addons/SHA1/source/IoSHA1.c
  202. +3 −3 addons/SHA1/source/IoSHA1.h
  203. +3 −3 addons/SHA1/source/sha1.c
  204. +13 −13 addons/SHA1/source/sha1.h
  205. +16 −16 addons/SQLite/io/DBM.io
  206. +61 −61 addons/SQLite/io/Soup.io
  207. +169 −169 addons/SQLite/source/IoSQLite.c
  208. +6 −6 addons/SQLite/source/IoSQLite.h
  209. +158 −158 addons/SQLite3/source/IoSQLite3.c
  210. +5 −5 addons/SQLite3/source/IoSQLite3.h
  211. +3 −3 addons/SampleRateConverter/io/SampleRateConverter.io
  212. +46 −46 addons/SampleRateConverter/source/IoSampleRateConverter.c
  213. +1 −1 addons/SampleRateConverter/source/IoSampleRateConverter.h
  214. +28 −28 addons/SkipDB/source/IoSkipDB.c
  215. +2 −2 addons/SkipDB/source/IoSkipDB.h
  216. +26 −26 addons/SkipDB/source/IoSkipDBCursor.c
  217. +2 −2 addons/SkipDB/source/IoSkipDBCursor.h
  218. +38 −37 addons/SkipDB/source/IoSkipDBM.c
  219. +2 −2 addons/SkipDB/source/IoSkipDBM.h
  220. +1 −1 addons/Socket/build.io
  221. +66 −66 addons/Socket/io/A0_EventManager.io
  222. +115 −115 addons/Socket/io/A1_Socket.io
  223. +39 −39 addons/Socket/io/A2_Server.io
  224. +15 −15 addons/Socket/io/A3_Host.io
  225. +112 −112 addons/Socket/io/DNSResolver.io
  226. +63 −63 addons/Socket/io/DOConnection.io
  227. +10 −10 addons/Socket/io/DOServer.io
  228. +7 −7 addons/Socket/io/IPAddress.io
  229. +297 −297 addons/Socket/io/URL.io
  230. +8 −8 addons/Socket/source/IPAddress.c
  231. +1 −1 addons/Socket/source/IPAddress.h
  232. +114 −114 addons/Socket/source/IoDNS.c
  233. +19 −19 addons/Socket/source/IoEvent.c
  234. +3 −3 addons/Socket/source/IoEvent.h
  235. +61 −61 addons/Socket/source/IoEventManager.c
  236. +1 −1 addons/Socket/source/IoEventManager.h
  237. +19 −19 addons/Socket/source/IoIPAddress.c
  238. +62 −62 addons/Socket/source/IoSocket.c
  239. +3 −3 addons/Socket/source/IoSocket.h
  240. +34 −34 addons/Socket/source/LocalNameServers.c
  241. +4 −4 addons/Socket/source/LocalNameServers.h
  242. +140 −140 addons/Socket/source/Socket.c
  243. +46 −46 addons/SoundTouch/source/IoSoundTouch.c
  244. +1 −1 addons/SoundTouch/source/IoSoundTouch.h
  245. +24 −24 addons/SoundTouch/source/SoundTouch_wrapper.h
  246. +63 −63 addons/SqlDatabase/io/SqlDatabase.io
  247. +53 −53 addons/Syslog/source/IoSyslog.c
  248. +12 −12 addons/Syslog/source/IoSyslog.h
  249. +46 −46 addons/SystemCall/io/SystemCall.io
  250. +96 −96 addons/SystemCall/source/IoSystemCall.c
  251. +7 −7 addons/SystemCall/source/IoSystemCall.h
  252. +423 −423 addons/SystemCall/source/callsystem.c
  253. +27 −27 addons/SystemCall/source/callsystem.h
  254. +2 −2 addons/TagDB/io/TagDB.io
  255. +35 −35 addons/TagDB/source/IoTagDB.c
  256. +2 −2 addons/TagDB/source/IoTagDB.h
  257. +30 −30 addons/TagLib/source/IoTagLib.c
  258. +1 −1 addons/TagLib/source/IoTagLib.h
  259. +23 −23 addons/Thread/source/IoThread.c
  260. +9 −9 addons/Thread/source/Thread.c
  261. +14 −14 addons/Thread/source/Thread.h
  262. +4 −4 addons/Thread/source/ThreadMutex.h
  263. +4 −4 addons/UUID/build.io
  264. +1 −1 addons/UUID/io/uuid.io
  265. +11 −11 addons/UUID/source/IoUUID.c
  266. +28 −28 addons/User/source/IoUser.c
  267. +15 −15 addons/Zlib/io/Zlib.io
  268. +29 −29 addons/Zlib/source/IoZlibDecoder.c
  269. +26 −26 addons/Zlib/source/IoZlibEncoder.c
@@ -4,10 +4,10 @@ AVCodec do(
newSlot("internalCoro")
newSlot("streamDestination", AudioDevice)
path ::= nil
-
+
willProcess := method(
//writeln("AVCodec willProcess")
- if(inputBuffer isEmpty,
+ if(inputBuffer isEmpty,
//writeln("AVCodec inputBuffer empty - pausing internalCoro")
setInternalCoro(Coroutine currentCoroutine)
internalCoro pause
@@ -20,18 +20,18 @@ AVCodec do(
outputBuffer empty
inputCoro ?resumeLater
)
-
+
write := method(data,
inputBuffer appendSeq(data)
setInputCoro(Coroutine currentCoroutine)
//writeln("AVCodec write - resuming internalCoro")
internalCoro resume // this will pause the current coro
)
- setPath := method(path,
+ setPath := method(path,
self path := path
setVideoCodecName(path pathExtension)
)
-
+
newSlot("videoCodecName")
)
@@ -2,25 +2,25 @@ Video := AVCodec clone do(
newSlot("frameNumber", 0)
newSlot("audioOn", true)
isDone ::= false
-
+
init := method(
- self image := Image clone
+ self image := Image clone
)
-
+
readNextFrame := method(
- if(self isAtEnd, open; return nil)
-
- while(frames size == 0,
- if(decode == nil, writeln("breaking"); break)
- )
-
- if(audioOn and audioSampleRate == 44100 and audioChannels == 2,
- AudioDevice asyncWrite(audioOutputBuffer)
- audioOutputBuffer empty
- )
-
- frameNumber = frameNumber + 1
- frame := frames removeFirst
- if(frame, image setDataWidthHeightComponentCount(frame, videoSize x, videoSize y, 3), nil)
+ if(self isAtEnd, open; return nil)
+
+ while(frames size == 0,
+ if(decode == nil, writeln("breaking"); break)
+ )
+
+ if(audioOn and audioSampleRate == 44100 and audioChannels == 2,
+ AudioDevice asyncWrite(audioOutputBuffer)
+ audioOutputBuffer empty
+ )
+
+ frameNumber = frameNumber + 1
+ frame := frames removeFirst
+ if(frame, image setDataWidthHeightComponentCount(frame, videoSize x, videoSize y, 3), nil)
)
)
Oops, something went wrong.

0 comments on commit 4435792

Please sign in to comment.