2
0

API-CHANGES.txt 15 KB

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