API-CHANGES.txt 14 KB

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