API-CHANGES.txt 11 KB

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