1
0

API-CHANGES.txt 15 KB

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