API-CHANGES.txt 6.8 KB

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