API-CHANGES.txt 14 KB

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