1
0

API-CHANGES.txt 14 KB

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