2
0

API-CHANGES.txt 11 KB

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