1
0

API-CHANGES.txt 15 KB

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