1
0

API-CHANGES.txt 15 KB

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