mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
64 lines
2.2 KiB
HTML
64 lines
2.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
|
|
<html>
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
|
<meta name="Author" content="Norris Boyd">
|
|
|
|
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
|
|
|
|
<meta name="KeyWords" content="Rhino, JavaScript, Java">
|
|
<title>Change Log</title>
|
|
</head>
|
|
<body bgcolor="#ffffff">
|
|
|
|
<center>
|
|
<h1> Change Log for Significant Rhino Changes</h1>
|
|
</center>
|
|
This is a log of significant changes since the release of Rhino 1.5 Release
|
|
2.
|
|
<p> </p>
|
|
<h3> </h3>
|
|
<h3>Serialization</h3>
|
|
See the <a href="serialization.html">serialization documentation</a>
|
|
.<br>
|
|
<br>
|
|
<h3>Class writer API changes</h3>
|
|
Courtesy of Kemal Bayram.<br>
|
|
<br>
|
|
"The biggest change I've made is the replacement of ClassOutput with<br>
|
|
ClassRepository that has the single method:<br>
|
|
<br>
|
|
public boolean storeClass(String className, byte[] classBytes,<br>
|
|
|
|
boolean isTopLevel) throws IOException;<br>
|
|
<br>
|
|
This interface allows any arbitary storage method, such as a<br>
|
|
Hashtable/Map. In addition it also allows you to specify whether a<br>
|
|
class should be loaded, via returning true or false. You can still
|
|
use<br>
|
|
ClassOutput as I've coded an internal wrapper.<br>
|
|
<br>
|
|
With this interface it has also been possible to strip out the file<br>
|
|
saving code from Codegen and OptClassNameHelper. The file<br>
|
|
saving code is now an inner class FileClassRepository in Context. As<br>
|
|
a consequence of this I've stripped out some methods from ClassNameHelper.<br>
|
|
The resulting code is much more cleaner then before hand and everything<br>
|
|
still works as per usual.<br>
|
|
<br>
|
|
Other small additions are:<br>
|
|
o Annonymous functions are now named class$1 instead of class1<br>
|
|
o get/setClassName added to ClassNameHelper exposed in Context.
|
|
"<br>
|
|
<br>
|
|
<h3>Bunches of bug fixes and optimizations from Igor Bukanov and others</h3>
|
|
See the CVS logs<br>
|
|
<h3>
|
|
<hr width="100%"><br>
|
|
<a href="index.html">back to top</a>
|
|
</h3>
|
|
|
|
</body>
|
|
</html>
|