API-CHANGES.txt 15 KB

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