2
0

API-CHANGES.txt 14 KB

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