1
0

API-CHANGES.txt 15 KB

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