API-CHANGES.txt 11 KB

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