2
0

API-CHANGES.txt 15 KB

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