API-CHANGES.txt 15 KB

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