API-CHANGES.txt 15 KB

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