1
0

API-CHANGES.txt 14 KB

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