1
0

API-CHANGES.txt 14 KB

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