API-CHANGES.txt 14 KB

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