API-CHANGES.txt 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. 0.13.0:
  2. * String >> asSelector is now String >> asJavaScriptMethodName
  3. * String >> asJavaScriptSelector is now String >> asJavaScriptPropertyName
  4. * smalltalk.selector is now smalltalk.st2js
  5. * smalltalk.convertSelector is now smalltalk.js2st
  6. + Object >>
  7. + postMessageTo:
  8. + postMessageTo:origin:
  9. 0.12.6:
  10. + String >>
  11. + value:
  12. + ProtocolAnnouncement >>
  13. + package
  14. + Behavior >>
  15. + isTestClass
  16. + Package >>
  17. + isTestPackage
  18. + amber/{devel,deploy,lang} exports
  19. + nil
  20. + amber/helpers exports
  21. + nil
  22. 0.12.4:
  23. * Package Canvas renamed to Web
  24. * Object >> try:catch: deprecated in favour of BlockClosure >> tryCatch:
  25. + Announcer >>
  26. + on:do:for:
  27. + Node >>
  28. + navigationNodeAt:ifAbsent:
  29. + BlockClosure >>
  30. + tryCatch:
  31. + Environment >>
  32. + evaluate:for:
  33. + AmberCli >>
  34. + version:
  35. + Object >>
  36. + deprecatedAPI:
  37. - Environment >>
  38. - eval:on:
  39. - evaluateString:on:
  40. 0.12.3:
  41. * Package Import-Export renamed to Kernel-ImportExport
  42. * A dozen of methods moved from Object to ProtoObject
  43. * HashedCollection >> at:ifAbsentPut: pushed up to SequenceableCollection
  44. * HashedCollection >> , is now allowed (removed shouldNotImplement)
  45. * HashedCollection and Dictionary both subclasses of AssociativeCollection
  46. * Smalltalk class moved to SmalltalkImage class, Smalltalk is now global var
  47. * Smalltalk current deprecated in favour of Smalltalk
  48. * Smalltalk at:[put:] deprecated in favour of Smalltalk globals at:[put:]
  49. * <smalltalk.ClassName> deprecated in favour of <globals.ClassName>
  50. + CompiledMethod >>
  51. + defaultProtocol
  52. + Behavior >>
  53. + compile:protocol:
  54. + removeProtocolIfEmpty:
  55. + Package >>
  56. + load
  57. + loadFromNamespace:
  58. + Package class >>
  59. + load:
  60. + load:fromNamespace:
  61. + PackageTransport >> load
  62. + PackageHandler >> load:
  63. + AmdPackageHandler >> load:
  64. + Set >> removeAll
  65. + AssociativeCollection class
  66. + BucketStore class
  67. + SmalltalkImage >>
  68. + globals
  69. + vm
  70. + settings
  71. + Setting class
  72. + String >>
  73. + asSetting
  74. + asSettingIfAbsent:
  75. + settingValue
  76. + settingValueIfAbsent:
  77. + settingValue:
  78. + Smalltalk global variable
  79. - CompiledMethod >>
  80. - category: (use #protocol:)
  81. - defaultCategory
  82. - Behavior >> compile:category:
  83. - HTMLCanvas class >>
  84. - browserVersion
  85. - isMSIE
  86. - isMozilla
  87. - isOpera
  88. - isWebkit
  89. 0.12.2:
  90. * Collection >> contains: is deprecated in favor of anySatisfy:
  91. + Announcer >> on:doOnce:
  92. + String >>
  93. + uriEncoded
  94. + uriDecoded
  95. + uriComponentEncoded
  96. + uriComponentDecoded
  97. + Collection >>
  98. + removeAll
  99. + ifEmpty:ifNotEmpty:
  100. + ifNotEmpty:ifEmpty:
  101. + anyOne
  102. + noneSatisfy:
  103. + anySatisfy:
  104. + allSatisfy:
  105. 0.12.0:
  106. * SmalltalkMethodContext.prototype.fillBlock() takes a third 'index' parameter
  107. * Existing classes moved to new KernelInfrastructure package
  108. * ImporterExporter
  109. * are now StreamExporters
  110. * aware of AMD namespaces
  111. * support transport types and commit channels
  112. + Node >>
  113. + nextChild
  114. + method
  115. + postCopy
  116. + isCascadeNode
  117. + isLastChild
  118. + BlockNode >>
  119. + nextNode:
  120. + nextChild
  121. + SendNode >>
  122. + isCascadeSendNode
  123. + shouldBeAliased
  124. + CompiledMethod >> sendTo:arguments:
  125. + Array >>
  126. + addFirst:
  127. + removeLast
  128. + Number >>
  129. + ceiling
  130. + floor
  131. + asNumber
  132. + //
  133. + cos
  134. + sin
  135. + tan
  136. + arcCos
  137. + arcSin
  138. + arcTan
  139. + log
  140. + log:
  141. + raisedTo:
  142. + sign
  143. + **
  144. + ln
  145. + e
  146. + String class >> esc
  147. + String >>
  148. + asMutator
  149. + capitalized
  150. + isCapitalized
  151. + JSProxy >> printString
  152. + Behavior >>
  153. + ownProtocols
  154. + ownMethods
  155. + JSStream >> nextPutSendIndexFor:
  156. + InterfacingObject class
  157. + Interpreter class
  158. + DocumentFragmentTag class
  159. + AbstractExporter class
  160. + PlatformInterface class
  161. - Node >> extent
  162. - JSStream >> nextPutStatement:with:
  163. - Smalltalk.installSuperclass()
  164. - ClassReferenceNode class (now handled via VariableNode)
  165. 0.11.0:
  166. * AnnouncementSubscription use #valuable: instead of #block: (deprecated)
  167. * AbstractCodeGenerator inherits from Object, not NodeVisitor
  168. * Object>>printString
  169. * replace >>printString with >>printOn:
  170. * replace >>storeString with >>printString
  171. * PackageLoader is now PackageHandler (>>commit: >>setupPackagenamed:prefix: >>ajaxPutAt:data:
  172. * Package>>fetch: is now Package>>load:
  173. * Package>>fetch:prefix: is now Package>>load:prefix:
  174. * Queue>>front replaced by Queue>>next
  175. * Queue>>frontIfAbsent: replaced by Queue>>nextIfAbsent:
  176. * Queue>>back: replaced by Queue>>nextPut:
  177. * smalltalk.addMethod() does not use explicit JS selector
  178. * JSObjectProxy>>canForwardMessage: replaced by use of JSObjectProxy>>lookupProperty: with asJavaScriptSelector
  179. * JSObjectProxy>>forwardMessage: replaced by explicit JSObjectProxy>>forwardMessage:withArguments:
  180. * String>>asJavaScriptSelector moved to Kernel-Objects package
  181. + Object>>asString
  182. + Object>>putOn:
  183. + String>>isVowel
  184. + Collection>>putOn:
  185. + CharacterArray>>putOn:
  186. + Stream>><<
  187. + Stream>>write
  188. + SequenceableCollection>>newStream
  189. + SequenceableCollection>>readStream
  190. + SequenceableCollection>>stream
  191. + SequenceableCollection>>streamClass
  192. + SequenceableCollection>>writeStream
  193. + Collection>>isImmutable
  194. + Stream>>nextPutString:
  195. + StringStream>>nextPutString:
  196. + JSStream>>nextPutClassRefFunction:
  197. + String>>crlfSanitized
  198. + inlined Block now also responds to >>value:
  199. + Parser: split literal into runtimeLiteral and parseTimeLiteral
  200. + Parser: write #(4 #(5 6 #()) 7) as #(4 (5 6 ()) 7)
  201. + Parser: write #(#on:do: #Object) as #(on:do: Object)
  202. + Parser: Symbols for binarie selectores
  203. + Package>>commit
  204. + AIContext>>initializeLocals
  205. + ASTInterpreter>>withBlockContext:
  206. + smalltalk.allSelectors()
  207. + Object>>isCompiledMethod
  208. + Object>>isPackage
  209. + Object>>isBehavior
  210. + ClassMoved Announcemen class
  211. + Behavior>>includesBehavior:
  212. + Environment>>classes
  213. + Environment>>allSelectors
  214. + Environment>>removeProtocol:
  215. + Environment>>renameProtocol:to:in:
  216. + CompiledMethod>>protocol:
  217. + Smalltalk>>globalJsVariables
  218. + Smalltalk>>addGlobalJsVariable:
  219. + Smalltalk>>deleteGlobalJsVariable:
  220. - Object>>storeOn:
  221. - Object>>log:block:
  222. - Object>>printNl
  223. - Compiler-IR.st >>javascriptSelector
  224. - Compiler-IR.st >>nextPutVar:
  225. - Kernel-Collections.st >>asSuperSelector
  226. - Collection>>readStream
  227. - Collection>>stream
  228. - Collection>>streamClass
  229. - Collection>>writeStream
  230. - Symbol class (replaced with String)
  231. - IRInlinedNonLocalReturn class
  232. - IRInlinedSend>>nonLocalReturnInliner
  233. - IRNonLocalReturnInliner class
  234. - Package>>dependencies
  235. - Package>>dependencies:
  236. - Package>>properties
  237. - Package>>jsProperties
  238. - Package>>jsProperties:
  239. - Package>>propertiesAsJSON
  240. - Package>>propertyAt:
  241. - Package>>propertyAt:ifAbsent:
  242. - Package>>propertyAt:put:
  243. - Browser>>ajaxPutAt:data: