API-CHANGES.txt 15 KB

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