1
0

API-CHANGES.txt 14 KB

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