1
0

API-CHANGES.txt 15 KB

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