API-CHANGES.txt 13 KB

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