API-CHANGES.txt 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729
  1. 0.18.6:
  2. + IRInstructions >>
  3. + isSelf
  4. + isSuper
  5. + IRVariable >>
  6. + isSelf
  7. + isSuper
  8. + ScopeVar >>
  9. + isSelf
  10. + isSuper
  11. + PseudoVar >>
  12. + isSelf
  13. + isSuper
  14. 0.18.3:
  15. * Move {add,remove}Element from Array.prototype to kernel API.
  16. * New superclass of Behavior named BehaviorBody, pushed up some methods.
  17. * Represents named holder of methods; hierarchy and instantiation left to Behavior.
  18. * Add class Trait as subclass of BehaviorBody.
  19. * Add class TraitTransformation.
  20. * Deprecate #asJSON in favour of #asJavaScriptObject.
  21. * Deprecate #asJavascript in favour of #asJavaScriptSource.
  22. + BehaviorBody >>
  23. + setTraitComposition:
  24. + traitCompositionDefinition
  25. + traitUsers
  26. + allSubclassesDo:
  27. + superclass
  28. + Trait
  29. + allInstanceVariableNames
  30. + allSubclassesDo:
  31. + asJavascript
  32. + asTraitComposition
  33. + category
  34. + classTag
  35. + definition
  36. + package
  37. + superclass
  38. + theMetaClass
  39. + theNonMetaClass
  40. + exportBehaviorDefinitionTo:using:
  41. + traitUsers
  42. + package:
  43. + Trait class >>
  44. + named:package:
  45. + named:uses:package:
  46. + TraitTransformation
  47. + -
  48. + @
  49. + addAliases:
  50. + addExclusions:
  51. + aliases
  52. + asJSON
  53. + asJavascript
  54. + asTraitComposition
  55. + asTraitTransformation
  56. + definition
  57. + exclusions
  58. + initialize
  59. + postCopy
  60. + trait
  61. + trait:
  62. + Collection >>
  63. + copyWithout:
  64. + SequenceableCollection >>
  65. + reverseDo:
  66. + Array >>
  67. + asTraitComposition
  68. + amber/boot api >>
  69. + addElement
  70. + removeElement
  71. + wrapJavaScript
  72. + CharacterArray >>
  73. + asSymbolPrintOn:
  74. + symbolPrintString
  75. + String >>
  76. + isSelector
  77. + StringStream >>
  78. + print:
  79. + printSymbol:
  80. + Package >>
  81. + traitCompositions
  82. + Class >>
  83. + subClass:
  84. + subClass:uses:
  85. + subClass:uses:instanceVariables:
  86. + subClass:uses:instanceVariables:category:
  87. + subClass:uses:instanceVariables:classVariables:poolDictionaries:category:
  88. + subClass:uses:instanceVariables:package:
  89. + UndefinedObject >>
  90. + subClass:
  91. + subClass:uses:
  92. + subClass:uses:instanceVariables:
  93. + subClass:uses:instanceVariables:category:
  94. + subClass:uses:instanceVariables:classVariables:poolDictionaries:category:
  95. + subClass:uses:instanceVariables:package:
  96. + Metaclass >>
  97. + uses:instanceVariableNames:
  98. - Association >>
  99. - importsString
  100. - String >>
  101. - importsString
  102. - AbstractExporter
  103. - classNameFor:
  104. - Exporter >>
  105. - jsClassNameFor:
  106. 0.18.2:
  107. * Add Platform-DOM package with DOM-related stuff.
  108. * Platform-DOM not loaded by default. Packages that will use it will import it.
  109. + PlatformDom class >>
  110. + isFeasible
  111. + isDomNode:
  112. + newCustomEvent:detail:
  113. + toArray:
  114. + CharacterArray >>
  115. + asDomNode
  116. + Collection >>
  117. + asDomNode
  118. + JSObjectProxy
  119. + asDomNode
  120. + String
  121. + htmlTextContent
  122. 0.18.1:
  123. + ASTNode >>
  124. + withTail:
  125. - SendNode >>
  126. - valueWithReceiver:
  127. 0.18.0:
  128. * Remove class RethrowErrorHandler (hack for cli before 0.12.3).
  129. * Add Kernel-Dag package with abstract DAG-node and DAG-node visitor.
  130. * Some internal API changes in Compiler-* (including the move to DAG-node).
  131. - Object >>
  132. - throw:
  133. 0.17.0:
  134. * Remove classes InterfacingObject, PlatformInterface.
  135. * Deprecate $boot.nil (use $boot.nilAsReceiver).
  136. + amber/boot api >>
  137. + nilAsReceiver
  138. - NativeFunction class >>
  139. - constructor:
  140. - constructor:value:
  141. - constructor:value:value:
  142. - constructor:value:value:value:
  143. 0.16.1:
  144. * Deprecate $boot.dnu (use $boot.nilAsClass).
  145. + amber/boot api >>
  146. + nilAsClass
  147. 0.16.0:
  148. * Deprecate ClassBuilder >> setupClass:
  149. * $core.initialize now returns a Promise
  150. * $core.addClass now returns the class
  151. + amber/boot api >>
  152. + send2
  153. + traverseClassTree
  154. + Promise class >>
  155. + new
  156. - amber/boot api >>
  157. - wrapClassName
  158. - send
  159. - allSubclasses
  160. - AbstractCodeGenerator
  161. - classNameFor:
  162. 0.15.1:
  163. * Thenable class added
  164. * Promise class added, wraps JS Promise, subclass of Thenable
  165. + Thenable >>
  166. + catch:
  167. + on:do:
  168. + on:do:catch:
  169. + then:
  170. + then:catch:
  171. + then:on:do:
  172. + then:on:do:catch:
  173. + JSObjectProxy >>
  174. + catch:
  175. + on:do:
  176. + on:do:catch:
  177. + then:
  178. + then:catch:
  179. + then:on:do:
  180. + then:on:do:catch:
  181. + amber/boot api
  182. + seamless
  183. + Promise class >>
  184. + new:
  185. + forBlock:
  186. + value:
  187. + signal:
  188. + all:
  189. + any:
  190. 0.14.18:
  191. * Some internal API changes in Compiler-*.
  192. 0.14.14:
  193. * InterfacingObject >> ajax: deprecated
  194. * PlatformInterface class deprecated
  195. * Class BrowserInterface removed
  196. * Class Terminal, BrowserTerminal added
  197. * Class Platform, BrowserPlatform added
  198. + Environment >>
  199. + renamePackage:to:
  200. + Platform class >>
  201. + globals
  202. + newXhr
  203. + Terminal class >>
  204. + alert:
  205. + confirm:
  206. + prompt:
  207. + prompt:default:
  208. SmalltalkImage >>
  209. + existsJsGlobal:
  210. - PlatformInterface class >>
  211. - initialize
  212. - setWorker:
  213. 0.14.12:
  214. + JSObjectProxy >>
  215. + putOn:
  216. + ProtoStream >>
  217. + nextPutJSObject:
  218. 0.14.11:
  219. * Basic streaming protocol extracted from Stream to ProtoStream
  220. + Object >>
  221. + in:
  222. + JSObjectProxy >>
  223. + in:
  224. 0.14.10:
  225. + JSObjectProxy class >>
  226. + addObjectVariablesTo:ofProxy:
  227. + compareJSObjectOfProxy:withProxy:
  228. + forwardMessage:withArguments:ofProxy:
  229. + jsObject:ofProxy:
  230. + lookupProperty:ofProxy:
  231. - JSObjectProxy >>
  232. - jsObject:
  233. - lookupProperty:
  234. - compareJSObjectWith:
  235. - addObjectVariablesTo:
  236. - forwardMessage:withArguments:
  237. 0.14.4:
  238. + AmdExporter >>
  239. + importsForOutput:
  240. + AbstractCodeGenerator >>
  241. + currentPackage
  242. + currentPackage:
  243. + Compiler >>
  244. + currentPackage
  245. + currentPackage:
  246. + compile:forClass:protocol:
  247. + compileNode:forClass:package:
  248. + SemanticAnalyzer >>
  249. + thePackage
  250. + thePackage:
  251. + isVariableUndefined:inPackage:
  252. - Compiler >>
  253. - compile:
  254. - compile:forClass:
  255. - compileExpression:
  256. - SemanticAnalyzer >>
  257. - isVariableGloabllyUndefined:
  258. - Behavior >>
  259. - compile:
  260. 0.14.3:
  261. * #heliosClass is now #classTag
  262. + Compiler >>
  263. + eval:forPackage:
  264. + Behavior >>
  265. + packageOfProtocol:
  266. + Exporter >>
  267. + exportPackageContextOf:on:
  268. + exportPackageImportsOf:on:
  269. + Package >>
  270. + basicImports
  271. + imports
  272. + imports:
  273. + importsDefinition
  274. + importsFromJson:
  275. + importsAsJson
  276. + sortedImportsAsArray
  277. + validateImports:
  278. + Package class >>
  279. + named:imports:transport:
  280. + Association >>
  281. + importsString
  282. + String >>
  283. + importsString
  284. + ProtoObject >>
  285. + ifNil:
  286. + ifNil:ifNotNil:
  287. + ifNotNil:
  288. + ifNotNil:ifNil:
  289. + isNil
  290. + notNil
  291. - Object >>
  292. - ifNil:
  293. - ifNil:ifNotNil:
  294. - ifNotNil:
  295. - ifNotNil:ifNil:
  296. - isNil
  297. - notNil
  298. 0.14.1:
  299. * NativeFunction class >> constructor:[value:...] deprecated
  300. + NativeFunction class >>
  301. + constructorNamed:
  302. + constructorNamed:value:
  303. + constructorNamed:value:value:
  304. + constructorNamed:value:value:value:
  305. + constructorOf:
  306. + constructorOf:value:
  307. + constructorOf:value:value:
  308. + constructorOf:value:value:value:
  309. + functionNamed:
  310. + functionNamed:value:
  311. + functionNamed:value:value:
  312. + functionNamed:value:value:value:
  313. + functionNamed:valueWithArgs:
  314. + functionOf:
  315. + functionOf:value:
  316. + functionOf:value:value:
  317. + functionOf:value:value:value:
  318. + functionOf:valueWithArgs:
  319. + methodOf:this:
  320. + methodOf:this:value:
  321. + methodOf:this:value:value:
  322. + methodOf:this:value:value:value:
  323. + methodOf:this:valueWithArgs:
  324. + SmalltalkImage >>
  325. + optOut:
  326. + cancelOptOut:
  327. 0.14.0:
  328. + Object >>
  329. + asJQuery
  330. + asJQueryInContext:
  331. + BlockClosure >>
  332. + asJQuery
  333. + asJQueryInContext:
  334. - AnnouncementSubscription >>
  335. - block
  336. - block:
  337. - Collection >>
  338. - contains:
  339. - String >>
  340. - asSelector
  341. - asJavaScriptSelector
  342. - SmalltalkImage >>
  343. - at:
  344. - at:ifAbsent:
  345. - at:put:
  346. - current
  347. - vm
  348. - createPackage:properties:
  349. - MethodContext >>
  350. - temps
  351. - Object >>
  352. - try:catch:
  353. 0.13.2:
  354. + SourceArea class >>
  355. + codeMirror
  356. 0.13.1:
  357. * String >> asSelector is now String >> asJavaScriptMethodName
  358. * String >> asJavaScriptSelector is now String >> asJavaScriptPropertyName
  359. * smalltalk.selector is now smalltalk.st2js
  360. * smalltalk.convertSelector is now smalltalk.js2st
  361. * Collection >> ifEmpty:ifNotEmpty: family passes self to ifNotEmpty: block
  362. * Smalltalk vm is now Smalltalk core
  363. * boot.js's .vm is now .api
  364. * amber load sets' .vm is now .api
  365. * Internal variables smalltalk/globals/_st are now $core/$globals/$recv
  366. + smalltalk.
  367. + accessJavaScript
  368. + Object >>
  369. + postMessageTo:
  370. + postMessageTo:origin:
  371. + Class >>
  372. + heliosClass
  373. + SmalltalkImage >>
  374. + core
  375. + amber/boot exports
  376. + api
  377. + amber/{devel,deploy,lang} exports
  378. + api
  379. - ProtoObject class >>
  380. - heliosClass
  381. - Object class >>
  382. - heliosClass
  383. 0.12.6:
  384. + String >>
  385. + value:
  386. + ProtocolAnnouncement >>
  387. + package
  388. + Behavior >>
  389. + isTestClass
  390. + Package >>
  391. + isTestPackage
  392. + amber/{devel,deploy,lang} exports
  393. + nil
  394. + amber/helpers exports
  395. + nil
  396. 0.12.4:
  397. * Package Canvas renamed to Web
  398. * Object >> try:catch: deprecated in favour of BlockClosure >> tryCatch:
  399. + Announcer >>
  400. + on:do:for:
  401. + Node >>
  402. + navigationNodeAt:ifAbsent:
  403. + BlockClosure >>
  404. + tryCatch:
  405. + Environment >>
  406. + evaluate:for:
  407. + AmberCli >>
  408. + version:
  409. + Object >>
  410. + deprecatedAPI:
  411. - Environment >>
  412. - eval:on:
  413. - evaluateString:on:
  414. 0.12.3:
  415. * Package Import-Export renamed to Kernel-ImportExport
  416. * A dozen of methods moved from Object to ProtoObject
  417. * HashedCollection >> at:ifAbsentPut: pushed up to SequenceableCollection
  418. * HashedCollection >> , is now allowed (removed shouldNotImplement)
  419. * HashedCollection and Dictionary both subclasses of AssociativeCollection
  420. * Smalltalk class moved to SmalltalkImage class, Smalltalk is now global var
  421. * Smalltalk current deprecated in favour of Smalltalk
  422. * Smalltalk at:[put:] deprecated in favour of Smalltalk globals at:[put:]
  423. * <smalltalk.ClassName> deprecated in favour of <globals.ClassName>
  424. + CompiledMethod >>
  425. + defaultProtocol
  426. + Behavior >>
  427. + compile:protocol:
  428. + removeProtocolIfEmpty:
  429. + Package >>
  430. + load
  431. + loadFromNamespace:
  432. + Package class >>
  433. + load:
  434. + load:fromNamespace:
  435. + PackageTransport >> load
  436. + PackageHandler >> load:
  437. + AmdPackageHandler >> load:
  438. + Set >> removeAll
  439. + AssociativeCollection class
  440. + BucketStore class
  441. + SmalltalkImage >>
  442. + globals
  443. + vm
  444. + settings
  445. + Setting class
  446. + String >>
  447. + asSetting
  448. + asSettingIfAbsent:
  449. + settingValue
  450. + settingValueIfAbsent:
  451. + settingValue:
  452. + Smalltalk global variable
  453. - CompiledMethod >>
  454. - category: (use #protocol:)
  455. - defaultCategory
  456. - Behavior >> compile:category:
  457. - HTMLCanvas class >>
  458. - browserVersion
  459. - isMSIE
  460. - isMozilla
  461. - isOpera
  462. - isWebkit
  463. 0.12.2:
  464. * Collection >> contains: is deprecated in favor of anySatisfy:
  465. + Announcer >> on:doOnce:
  466. + String >>
  467. + uriEncoded
  468. + uriDecoded
  469. + uriComponentEncoded
  470. + uriComponentDecoded
  471. + Collection >>
  472. + removeAll
  473. + ifEmpty:ifNotEmpty:
  474. + ifNotEmpty:ifEmpty:
  475. + anyOne
  476. + noneSatisfy:
  477. + anySatisfy:
  478. + allSatisfy:
  479. 0.12.0:
  480. * SmalltalkMethodContext.prototype.fillBlock() takes a third 'index' parameter
  481. * Existing classes moved to new KernelInfrastructure package
  482. * ImporterExporter
  483. * are now StreamExporters
  484. * aware of AMD namespaces
  485. * support transport types and commit channels
  486. + Node >>
  487. + nextChild
  488. + method
  489. + postCopy
  490. + isCascadeNode
  491. + isLastChild
  492. + BlockNode >>
  493. + nextNode:
  494. + nextChild
  495. + SendNode >>
  496. + isCascadeSendNode
  497. + shouldBeAliased
  498. + CompiledMethod >> sendTo:arguments:
  499. + Array >>
  500. + addFirst:
  501. + removeLast
  502. + Number >>
  503. + ceiling
  504. + floor
  505. + asNumber
  506. + //
  507. + cos
  508. + sin
  509. + tan
  510. + arcCos
  511. + arcSin
  512. + arcTan
  513. + log
  514. + log:
  515. + raisedTo:
  516. + sign
  517. + **
  518. + ln
  519. + e
  520. + String class >> esc
  521. + String >>
  522. + asMutator
  523. + capitalized
  524. + isCapitalized
  525. + JSProxy >> printString
  526. + Behavior >>
  527. + ownProtocols
  528. + ownMethods
  529. + JSStream >> nextPutSendIndexFor:
  530. + InterfacingObject class
  531. + Interpreter class
  532. + DocumentFragmentTag class
  533. + AbstractExporter class
  534. + PlatformInterface class
  535. - Node >> extent
  536. - JSStream >> nextPutStatement:with:
  537. - Smalltalk.installSuperclass()
  538. - ClassReferenceNode class (now handled via VariableNode)
  539. 0.11.0:
  540. * AnnouncementSubscription use #valuable: instead of #block: (deprecated)
  541. * AbstractCodeGenerator inherits from Object, not NodeVisitor
  542. * Object>>printString
  543. * replace >>printString with >>printOn:
  544. * replace >>storeString with >>printString
  545. * PackageLoader is now PackageHandler (>>commit: >>setupPackagenamed:prefix: >>ajaxPutAt:data:
  546. * Package>>fetch: is now Package>>load:
  547. * Package>>fetch:prefix: is now Package>>load:prefix:
  548. * Queue>>front replaced by Queue>>next
  549. * Queue>>frontIfAbsent: replaced by Queue>>nextIfAbsent:
  550. * Queue>>back: replaced by Queue>>nextPut:
  551. * smalltalk.addMethod() does not use explicit JS selector
  552. * JSObjectProxy>>canForwardMessage: replaced by use of JSObjectProxy>>lookupProperty: with asJavaScriptSelector
  553. * JSObjectProxy>>forwardMessage: replaced by explicit JSObjectProxy>>forwardMessage:withArguments:
  554. * String>>asJavaScriptSelector moved to Kernel-Objects package
  555. + Object>>asString
  556. + Object>>putOn:
  557. + String>>isVowel
  558. + Collection>>putOn:
  559. + CharacterArray>>putOn:
  560. + Stream>><<
  561. + Stream>>write
  562. + SequenceableCollection>>newStream
  563. + SequenceableCollection>>readStream
  564. + SequenceableCollection>>stream
  565. + SequenceableCollection>>streamClass
  566. + SequenceableCollection>>writeStream
  567. + Collection>>isImmutable
  568. + Stream>>nextPutString:
  569. + StringStream>>nextPutString:
  570. + JSStream>>nextPutClassRefFunction:
  571. + String>>crlfSanitized
  572. + inlined Block now also responds to >>value:
  573. + Parser: split literal into runtimeLiteral and parseTimeLiteral
  574. + Parser: write #(4 #(5 6 #()) 7) as #(4 (5 6 ()) 7)
  575. + Parser: write #(#on:do: #Object) as #(on:do: Object)
  576. + Parser: Symbols for binarie selectores
  577. + Package>>commit
  578. + AIContext>>initializeLocals
  579. + ASTInterpreter>>withBlockContext:
  580. + smalltalk.allSelectors()
  581. + Object>>isCompiledMethod
  582. + Object>>isPackage
  583. + Object>>isBehavior
  584. + ClassMoved Announcemen class
  585. + Behavior>>includesBehavior:
  586. + Environment>>classes
  587. + Environment>>allSelectors
  588. + Environment>>removeProtocol:
  589. + Environment>>renameProtocol:to:in:
  590. + CompiledMethod>>protocol:
  591. + Smalltalk>>globalJsVariables
  592. + Smalltalk>>addGlobalJsVariable:
  593. + Smalltalk>>deleteGlobalJsVariable:
  594. - Object>>storeOn:
  595. - Object>>log:block:
  596. - Object>>printNl
  597. - Compiler-IR.st >>javascriptSelector
  598. - Compiler-IR.st >>nextPutVar:
  599. - Kernel-Collections.st >>asSuperSelector
  600. - Collection>>readStream
  601. - Collection>>stream
  602. - Collection>>streamClass
  603. - Collection>>writeStream
  604. - Symbol class (replaced with String)
  605. - IRInlinedNonLocalReturn class
  606. - IRInlinedSend>>nonLocalReturnInliner
  607. - IRNonLocalReturnInliner class
  608. - Package>>dependencies
  609. - Package>>dependencies:
  610. - Package>>properties
  611. - Package>>jsProperties
  612. - Package>>jsProperties:
  613. - Package>>propertiesAsJSON
  614. - Package>>propertyAt:
  615. - Package>>propertyAt:ifAbsent:
  616. - Package>>propertyAt:put:
  617. - Browser>>ajaxPutAt:data: