API-CHANGES.txt 14 KB

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