API-CHANGES.txt 14 KB

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