API-CHANGES.txt 14 KB

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