API-CHANGES.txt 14 KB

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