1
0

API-CHANGES.txt 14 KB

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