API-CHANGES.txt 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  1. 0.14.18:
  2. * Some internal API changes in Compiler-*.
  3. 0.14.14:
  4. * InterfacingObject >> ajax: deprecated
  5. * PlatformInterface class deprecated
  6. * Class BrowserInterface removed
  7. * Class Terminal, BrowserTerminal added
  8. * Class Platform, BrowserPlatform added
  9. + Environment >>
  10. + renamePackage:to:
  11. + Platform class >>
  12. + globals
  13. + newXhr
  14. + Terminal class >>
  15. + alert:
  16. + confirm:
  17. + prompt:
  18. + prompt:default:
  19. SmalltalkImage >>
  20. + existsJsGlobal:
  21. - PlatformInterface class >>
  22. - initialize
  23. - setWorker:
  24. 0.14.12:
  25. + JSObjectProxy >>
  26. + putOn:
  27. + ProtoStream >>
  28. + nextPutJSObject:
  29. 0.14.11:
  30. * Basic streaming protocol extracted from Stream to ProtoStream
  31. + Object >>
  32. + in:
  33. + JSObjectProxy >>
  34. + in:
  35. 0.14.10:
  36. + JSObjectProxy class >>
  37. + addObjectVariablesTo:ofProxy:
  38. + compareJSObjectOfProxy:withProxy:
  39. + forwardMessage:withArguments:ofProxy:
  40. + jsObject:ofProxy:
  41. + lookupProperty:ofProxy:
  42. - JSObjectProxy >>
  43. - jsObject:
  44. - lookupProperty:
  45. - compareJSObjectWith:
  46. - addObjectVariablesTo:
  47. - forwardMessage:withArguments:
  48. 0.14.4:
  49. + AmdExporter >>
  50. + importsForOutput:
  51. + AbstractCodeGenerator >>
  52. + currentPackage
  53. + currentPackage:
  54. + Compiler >>
  55. + currentPackage
  56. + currentPackage:
  57. + compile:forClass:protocol:
  58. + compileNode:forClass:package:
  59. + SemanticAnalyzer >>
  60. + thePackage
  61. + thePackage:
  62. + isVariableUndefined:inPackage:
  63. - Compiler >>
  64. - compile:
  65. - compile:forClass:
  66. - compileExpression:
  67. - SemanticAnalyzer >>
  68. - isVariableGloabllyUndefined:
  69. - Behavior >>
  70. - compile:
  71. 0.14.3:
  72. * #heliosClass is now #classTag
  73. + Compiler >>
  74. + eval:forPackage:
  75. + Behavior >>
  76. + packageOfProtocol:
  77. + Exporter >>
  78. + exportPackageContextOf:on:
  79. + exportPackageImportsOf:on:
  80. + Package >>
  81. + basicImports
  82. + imports
  83. + imports:
  84. + importsDefinition
  85. + importsFromJson:
  86. + importsAsJson
  87. + sortedImportsAsArray
  88. + validateImports:
  89. + Package class >>
  90. + named:imports:transport:
  91. + Association >>
  92. + importsString
  93. + String >>
  94. + importsString
  95. + ProtoObject >>
  96. + ifNil:
  97. + ifNil:ifNotNil:
  98. + ifNotNil:
  99. + ifNotNil:ifNil:
  100. + isNil
  101. + notNil
  102. - Object >>
  103. - ifNil:
  104. - ifNil:ifNotNil:
  105. - ifNotNil:
  106. - ifNotNil:ifNil:
  107. - isNil
  108. - notNil
  109. 0.14.1:
  110. * NativeFunction class >> constructor:[value:...] deprecated
  111. + NativeFunction class >>
  112. + constructorNamed:
  113. + constructorNamed:value:
  114. + constructorNamed:value:value:
  115. + constructorNamed:value:value:value:
  116. + constructorOf:
  117. + constructorOf:value:
  118. + constructorOf:value:value:
  119. + constructorOf:value:value:value:
  120. + functionNamed:
  121. + functionNamed:value:
  122. + functionNamed:value:value:
  123. + functionNamed:value:value:value:
  124. + functionNamed:valueWithArgs:
  125. + functionOf:
  126. + functionOf:value:
  127. + functionOf:value:value:
  128. + functionOf:value:value:value:
  129. + functionOf:valueWithArgs:
  130. + methodOf:this:
  131. + methodOf:this:value:
  132. + methodOf:this:value:value:
  133. + methodOf:this:value:value:value:
  134. + methodOf:this:valueWithArgs:
  135. + SmalltalkImage >>
  136. + optOut:
  137. + cancelOptOut:
  138. 0.14.0:
  139. + Object >>
  140. + asJQuery
  141. + asJQueryInContext:
  142. + BlockClosure >>
  143. + asJQuery
  144. + asJQueryInContext:
  145. - AnnouncementSubscription >>
  146. - block
  147. - block:
  148. - Collection >>
  149. - contains:
  150. - String >>
  151. - asSelector
  152. - asJavaScriptSelector
  153. - SmalltalkImage >>
  154. - at:
  155. - at:ifAbsent:
  156. - at:put:
  157. - current
  158. - vm
  159. - createPackage:properties:
  160. - MethodContext >>
  161. - temps
  162. - Object >>
  163. - try:catch:
  164. 0.13.2:
  165. + SourceArea class >>
  166. + codeMirror
  167. 0.13.1:
  168. * String >> asSelector is now String >> asJavaScriptMethodName
  169. * String >> asJavaScriptSelector is now String >> asJavaScriptPropertyName
  170. * smalltalk.selector is now smalltalk.st2js
  171. * smalltalk.convertSelector is now smalltalk.js2st
  172. * Collection >> ifEmpty:ifNotEmpty: family passes self to ifNotEmpty: block
  173. * Smalltalk vm is now Smalltalk core
  174. * boot.js's .vm is now .api
  175. * amber load sets' .vm is now .api
  176. * Internal variables smalltalk/globals/_st are now $core/$globals/$recv
  177. + smalltalk.
  178. + accessJavaScript
  179. + Object >>
  180. + postMessageTo:
  181. + postMessageTo:origin:
  182. + Class >>
  183. + heliosClass
  184. + SmalltalkImage >>
  185. + core
  186. + amber/boot exports
  187. + api
  188. + amber/{devel,deploy,lang} exports
  189. + api
  190. - ProtoObject class >>
  191. - heliosClass
  192. - Object class >>
  193. - heliosClass
  194. 0.12.6:
  195. + String >>
  196. + value:
  197. + ProtocolAnnouncement >>
  198. + package
  199. + Behavior >>
  200. + isTestClass
  201. + Package >>
  202. + isTestPackage
  203. + amber/{devel,deploy,lang} exports
  204. + nil
  205. + amber/helpers exports
  206. + nil
  207. 0.12.4:
  208. * Package Canvas renamed to Web
  209. * Object >> try:catch: deprecated in favour of BlockClosure >> tryCatch:
  210. + Announcer >>
  211. + on:do:for:
  212. + Node >>
  213. + navigationNodeAt:ifAbsent:
  214. + BlockClosure >>
  215. + tryCatch:
  216. + Environment >>
  217. + evaluate:for:
  218. + AmberCli >>
  219. + version:
  220. + Object >>
  221. + deprecatedAPI:
  222. - Environment >>
  223. - eval:on:
  224. - evaluateString:on:
  225. 0.12.3:
  226. * Package Import-Export renamed to Kernel-ImportExport
  227. * A dozen of methods moved from Object to ProtoObject
  228. * HashedCollection >> at:ifAbsentPut: pushed up to SequenceableCollection
  229. * HashedCollection >> , is now allowed (removed shouldNotImplement)
  230. * HashedCollection and Dictionary both subclasses of AssociativeCollection
  231. * Smalltalk class moved to SmalltalkImage class, Smalltalk is now global var
  232. * Smalltalk current deprecated in favour of Smalltalk
  233. * Smalltalk at:[put:] deprecated in favour of Smalltalk globals at:[put:]
  234. * <smalltalk.ClassName> deprecated in favour of <globals.ClassName>
  235. + CompiledMethod >>
  236. + defaultProtocol
  237. + Behavior >>
  238. + compile:protocol:
  239. + removeProtocolIfEmpty:
  240. + Package >>
  241. + load
  242. + loadFromNamespace:
  243. + Package class >>
  244. + load:
  245. + load:fromNamespace:
  246. + PackageTransport >> load
  247. + PackageHandler >> load:
  248. + AmdPackageHandler >> load:
  249. + Set >> removeAll
  250. + AssociativeCollection class
  251. + BucketStore class
  252. + SmalltalkImage >>
  253. + globals
  254. + vm
  255. + settings
  256. + Setting class
  257. + String >>
  258. + asSetting
  259. + asSettingIfAbsent:
  260. + settingValue
  261. + settingValueIfAbsent:
  262. + settingValue:
  263. + Smalltalk global variable
  264. - CompiledMethod >>
  265. - category: (use #protocol:)
  266. - defaultCategory
  267. - Behavior >> compile:category:
  268. - HTMLCanvas class >>
  269. - browserVersion
  270. - isMSIE
  271. - isMozilla
  272. - isOpera
  273. - isWebkit
  274. 0.12.2:
  275. * Collection >> contains: is deprecated in favor of anySatisfy:
  276. + Announcer >> on:doOnce:
  277. + String >>
  278. + uriEncoded
  279. + uriDecoded
  280. + uriComponentEncoded
  281. + uriComponentDecoded
  282. + Collection >>
  283. + removeAll
  284. + ifEmpty:ifNotEmpty:
  285. + ifNotEmpty:ifEmpty:
  286. + anyOne
  287. + noneSatisfy:
  288. + anySatisfy:
  289. + allSatisfy:
  290. 0.12.0:
  291. * SmalltalkMethodContext.prototype.fillBlock() takes a third 'index' parameter
  292. * Existing classes moved to new KernelInfrastructure package
  293. * ImporterExporter
  294. * are now StreamExporters
  295. * aware of AMD namespaces
  296. * support transport types and commit channels
  297. + Node >>
  298. + nextChild
  299. + method
  300. + postCopy
  301. + isCascadeNode
  302. + isLastChild
  303. + BlockNode >>
  304. + nextNode:
  305. + nextChild
  306. + SendNode >>
  307. + isCascadeSendNode
  308. + shouldBeAliased
  309. + CompiledMethod >> sendTo:arguments:
  310. + Array >>
  311. + addFirst:
  312. + removeLast
  313. + Number >>
  314. + ceiling
  315. + floor
  316. + asNumber
  317. + //
  318. + cos
  319. + sin
  320. + tan
  321. + arcCos
  322. + arcSin
  323. + arcTan
  324. + log
  325. + log:
  326. + raisedTo:
  327. + sign
  328. + **
  329. + ln
  330. + e
  331. + String class >> esc
  332. + String >>
  333. + asMutator
  334. + capitalized
  335. + isCapitalized
  336. + JSProxy >> printString
  337. + Behavior >>
  338. + ownProtocols
  339. + ownMethods
  340. + JSStream >> nextPutSendIndexFor:
  341. + InterfacingObject class
  342. + Interpreter class
  343. + DocumentFragmentTag class
  344. + AbstractExporter class
  345. + PlatformInterface class
  346. - Node >> extent
  347. - JSStream >> nextPutStatement:with:
  348. - Smalltalk.installSuperclass()
  349. - ClassReferenceNode class (now handled via VariableNode)
  350. 0.11.0:
  351. * AnnouncementSubscription use #valuable: instead of #block: (deprecated)
  352. * AbstractCodeGenerator inherits from Object, not NodeVisitor
  353. * Object>>printString
  354. * replace >>printString with >>printOn:
  355. * replace >>storeString with >>printString
  356. * PackageLoader is now PackageHandler (>>commit: >>setupPackagenamed:prefix: >>ajaxPutAt:data:
  357. * Package>>fetch: is now Package>>load:
  358. * Package>>fetch:prefix: is now Package>>load:prefix:
  359. * Queue>>front replaced by Queue>>next
  360. * Queue>>frontIfAbsent: replaced by Queue>>nextIfAbsent:
  361. * Queue>>back: replaced by Queue>>nextPut:
  362. * smalltalk.addMethod() does not use explicit JS selector
  363. * JSObjectProxy>>canForwardMessage: replaced by use of JSObjectProxy>>lookupProperty: with asJavaScriptSelector
  364. * JSObjectProxy>>forwardMessage: replaced by explicit JSObjectProxy>>forwardMessage:withArguments:
  365. * String>>asJavaScriptSelector moved to Kernel-Objects package
  366. + Object>>asString
  367. + Object>>putOn:
  368. + String>>isVowel
  369. + Collection>>putOn:
  370. + CharacterArray>>putOn:
  371. + Stream>><<
  372. + Stream>>write
  373. + SequenceableCollection>>newStream
  374. + SequenceableCollection>>readStream
  375. + SequenceableCollection>>stream
  376. + SequenceableCollection>>streamClass
  377. + SequenceableCollection>>writeStream
  378. + Collection>>isImmutable
  379. + Stream>>nextPutString:
  380. + StringStream>>nextPutString:
  381. + JSStream>>nextPutClassRefFunction:
  382. + String>>crlfSanitized
  383. + inlined Block now also responds to >>value:
  384. + Parser: split literal into runtimeLiteral and parseTimeLiteral
  385. + Parser: write #(4 #(5 6 #()) 7) as #(4 (5 6 ()) 7)
  386. + Parser: write #(#on:do: #Object) as #(on:do: Object)
  387. + Parser: Symbols for binarie selectores
  388. + Package>>commit
  389. + AIContext>>initializeLocals
  390. + ASTInterpreter>>withBlockContext:
  391. + smalltalk.allSelectors()
  392. + Object>>isCompiledMethod
  393. + Object>>isPackage
  394. + Object>>isBehavior
  395. + ClassMoved Announcemen class
  396. + Behavior>>includesBehavior:
  397. + Environment>>classes
  398. + Environment>>allSelectors
  399. + Environment>>removeProtocol:
  400. + Environment>>renameProtocol:to:in:
  401. + CompiledMethod>>protocol:
  402. + Smalltalk>>globalJsVariables
  403. + Smalltalk>>addGlobalJsVariable:
  404. + Smalltalk>>deleteGlobalJsVariable:
  405. - Object>>storeOn:
  406. - Object>>log:block:
  407. - Object>>printNl
  408. - Compiler-IR.st >>javascriptSelector
  409. - Compiler-IR.st >>nextPutVar:
  410. - Kernel-Collections.st >>asSuperSelector
  411. - Collection>>readStream
  412. - Collection>>stream
  413. - Collection>>streamClass
  414. - Collection>>writeStream
  415. - Symbol class (replaced with String)
  416. - IRInlinedNonLocalReturn class
  417. - IRInlinedSend>>nonLocalReturnInliner
  418. - IRNonLocalReturnInliner class
  419. - Package>>dependencies
  420. - Package>>dependencies:
  421. - Package>>properties
  422. - Package>>jsProperties
  423. - Package>>jsProperties:
  424. - Package>>propertiesAsJSON
  425. - Package>>propertyAt:
  426. - Package>>propertyAt:ifAbsent:
  427. - Package>>propertyAt:put:
  428. - Browser>>ajaxPutAt:data: