1 |
siliconforks |
2 |
_ ___ ____ ____ ____ _ |
2 |
|
|
|_|_ _ / _ \/ ___/ ___|| _ \ (_)___ |
3 |
|
|
_|_||_| | | | \___ \___ \| |_) | | / __| |
4 |
|
|
|_||_|_| | |_| |___) |__) | __/ | \__ \ |
5 |
|
|
|_|_|_| \___/|____/____/|_| _/ |___/ |
6 |
|
|
|__/ |
7 |
|
|
|
8 |
|
|
OSSP js - Mozilla JavaScript Engine |
9 |
|
|
|
10 |
|
|
CHANGELOG |
11 |
|
|
|
12 |
|
|
This is a list of all changes to OSSP js. |
13 |
|
|
|
14 |
|
|
Changes between 1.6.20060820 and 1.6.20070208 (2006-08-20 to 2007-02-08) |
15 |
|
|
|
16 |
|
|
o Upgrade build environment to GNU autoconf 2.61 |
17 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
18 |
|
|
|
19 |
|
|
o Added jspack, an adaption of Dean Edwards JavaScript packer |
20 |
|
|
<http://dean.edwards.name/packer/>, version 2.0.2, for use as a |
21 |
|
|
stand-alone Unix tool under the CLI of the OSSP js JavaScript |
22 |
|
|
engine. |
23 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
24 |
|
|
|
25 |
|
|
o Upgrade to JavaScript 1.6 upstream sources as of 2007-02-08. |
26 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
27 |
|
|
|
28 |
|
|
o Upgrade to JavaScript 1.6 upstream sources as of 2007-01-02. |
29 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
30 |
|
|
|
31 |
|
|
o Upgrade to JavaScript 1.6 upstream sources as of 2006-09-16. |
32 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
33 |
|
|
|
34 |
|
|
Changes between 1.6.20060803 and 1.6.20060820 (2006-08-03 to 2006-08-20) |
35 |
|
|
|
36 |
|
|
o Add support for UTF-8 C strings in the API and internally by |
37 |
|
|
adding a --with-utf8 build-time options which builds the code |
38 |
|
|
with JS_C_STRINGS_ARE_UTF8. |
39 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
40 |
|
|
|
41 |
|
|
o Upgrade to upstream sources as of 2006-08-20. |
42 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
43 |
|
|
|
44 |
|
|
Changes between 1.6.20060731 and 1.6.20060803 (2006-07-31 to 2006-08-03) |
45 |
|
|
|
46 |
|
|
o Add optional Dynamic Shared Object (DSO) support (see src/jsdso.[ch]). |
47 |
|
|
This comes in two flavors: |
48 |
|
|
|
49 |
|
|
1. Provide two public C API functions... |
50 |
|
|
JSBool JS_DSOLoad (JSContext *cx, int *id, const char *filename); |
51 |
|
|
JSBool JS_DSOUnload (JSContext *cx, int id); |
52 |
|
|
...as an ultra-thin wrapper around the POSIX dlopen(3) API. It |
53 |
|
|
especially mimics the BSD RTLD behaviour of calling pre-defined |
54 |
|
|
functions (mandatory "js_DSO_load" and optional "js_DSO_unload") |
55 |
|
|
inside the DSO after/before the dlopen/dlclose calls. This |
56 |
|
|
allows the DSOs to perform their init/shutdown actions. |
57 |
|
|
|
58 |
|
|
2. Provide a small JavaScript global object "DSO" which binds |
59 |
|
|
the two public DSO C API functions into the JavaScript language |
60 |
|
|
as "DSO.load" and "DSO.unload". The "DSO" object can be created |
61 |
|
|
by the friend C API function js_InitDSOClass(). This function is |
62 |
|
|
used by the command-linne interface "js" by default. |
63 |
|
|
|
64 |
|
|
As a result the OSSP Mozilla JavaScript engine is now able to |
65 |
|
|
dynamically load C extensions similar to what other programming |
66 |
|
|
languages provide since a longer time. |
67 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
68 |
|
|
|
69 |
|
|
o Be more clean and replace weak "#if JS_HAS_FILE_OBJECT" constructs |
70 |
|
|
with the stronger "#if defined(JS_HAS_FILE_OBJECT) && (JS_HAS_FILE_OBJECT - 0)" |
71 |
|
|
as the JS_HAS_FILE_OBJECT can be not defined at all (in contrast to |
72 |
|
|
other JS_HAS_XXXX defines which are all listed in src/jsconfig.h) |
73 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
74 |
|
|
|
75 |
|
|
o Fix a bunch of compiler warnings. |
76 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
77 |
|
|
|
78 |
|
|
o Change from -O2 to -O0 and without -Wshadow under --enable-debug. |
79 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
80 |
|
|
|
81 |
|
|
Changes between 1.6.20060730 and 1.6.20060731 (2006-07-30 to 2006-07-31) |
82 |
|
|
|
83 |
|
|
o Fix "make distclean": src/perlconnect/Makefile.PL is always generated |
84 |
|
|
and hence has to be always deleted. |
85 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
86 |
|
|
|
87 |
|
|
o Fix "devtool dist" command: "make man" does not exist. |
88 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
89 |
|
|
|
90 |
|
|
o Fix "make install": the executable "js" was not installed via GNU |
91 |
|
|
libtool and this way under --enable-shared the wrapper script was |
92 |
|
|
installed only. |
93 |
|
|
[Alfred Reibenschuh <alfred.reibenschuh@it-austria.com>] |
94 |
|
|
|
95 |
|
|
o Add a src/perlconnect/MANIFEST file to make ExtUtils::MakeMaker more happy. |
96 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
97 |
|
|
|
98 |
|
|
o Fix "make install": js-config.1 was not installed. |
99 |
|
|
[Alfred Reibenschuh <alfred.reibenschuh@it-austria.com>] |
100 |
|
|
|
101 |
|
|
o Use Autoconf macros AC_CANONICAL_BUILD and AC_CANONICAL_HOST to |
102 |
|
|
make sure that the host identification is really available. |
103 |
|
|
[Alfred Reibenschuh <alfred.reibenschuh@it-austria.com>] |
104 |
|
|
|
105 |
|
|
o Upgrade to upstream sources as of 2006-07-31. |
106 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
107 |
|
|
|
108 |
|
|
Changes between 1.6.20060729 and 1.6.20060730 (2006-07-29 to 2006-07-30) |
109 |
|
|
|
110 |
|
|
o Add support for Windows CygWin and MinGW environments. |
111 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>, |
112 |
|
|
Andrew Vajoczki <vajoczki@yahoo.com>] |
113 |
|
|
|
114 |
|
|
o Upgrade to upstream sources as of 2006-07-30. |
115 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
116 |
|
|
|
117 |
|
|
Changes between 1.6.20060724 and 1.6.20060729 (2006-07-24 to 2006-07-29) |
118 |
|
|
|
119 |
|
|
o Upgrade to upstream sources as of 2006-07-29. |
120 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
121 |
|
|
|
122 |
|
|
o Changed GNU libtool shared library versioning from 0:0 to 1:6. |
123 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>, |
124 |
|
|
Alfred Reibenschuh <alfred.reibenschuh@it-austria.com>] |
125 |
|
|
|
126 |
|
|
o Increase portability by gracefully downgrading the stat(2) use of |
127 |
|
|
st_birthtime to st_birthtimensec or even st_ctime. |
128 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>, |
129 |
|
|
Andrew Vajoczki <vajoczki@yahoo.com>] |
130 |
|
|
|
131 |
|
|
o Apply a few more upstream fixes to jsfile.c. |
132 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
133 |
|
|
|
134 |
|
|
Changes between 1.6.20060722 and 1.6.20060724 (2006-07-22 to 2006-07-24) |
135 |
|
|
|
136 |
|
|
o Apply multiple code cleanups and bugfixes. |
137 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
138 |
|
|
|
139 |
|
|
o Move definitions of XP_UNIX and EXPORT_JS_API back from jstypes.h |
140 |
|
|
to configure.ac (and this way the command-line) to not break the |
141 |
|
|
use of jstypes.h as a regular API header in JS based applications. |
142 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
143 |
|
|
|
144 |
|
|
o Consistently mark all OSSP bugfixes with a "/* BUGFIX */" tag on |
145 |
|
|
the "#ifdef OSSP" line. This way one can more easily see what |
146 |
|
|
are specific OSSP specific changes what should be taken over by |
147 |
|
|
upstream vendor. |
148 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
149 |
|
|
|
150 |
|
|
o Fix an incorrect argument type bug in jsfile.c related to a call to |
151 |
|
|
js_InflateString(). A "size_t *" has to be passed, not a "size_t". |
152 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
153 |
|
|
|
154 |
|
|
o Upgrade from (the Mozilla Firefox 1.5 pinned version) SpiderMonkey |
155 |
|
|
1.6.20060722 to the (SPIDERMONKEY_1_6_0_BRANCH based) 1.6.20060724 |
156 |
|
|
upstream version. |
157 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
158 |
|
|
|
159 |
|
|
o Added jslint (see http://www.jslint.com/) together with some |
160 |
|
|
home-brewn option parser. The result is installed as |
161 |
|
|
a stand-alone "jslint" program. |
162 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
163 |
|
|
|
164 |
|
|
o Install all src/js*.h headers during "make install" to allow |
165 |
|
|
applications to at least optionally poke around in the internals. |
166 |
|
|
This also allows an application to call js_InitFileClass() from |
167 |
|
|
<jsfile.h> without us having to really call this function in the |
168 |
|
|
standard API function JS_InitStandardClasses(). |
169 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
170 |
|
|
|
171 |
|
|
o Change the default of the --with-file/--without from --without-file |
172 |
|
|
to --with-file (enable the File object by default), but activate |
173 |
|
|
it only in the CLI (where it doesn't hurt and where it is actually |
174 |
|
|
really required to get something useful running there in practice) |
175 |
|
|
but explicitly _NOT_ in JS_InitStandardClasses() (as this is |
176 |
|
|
what would hurt the security in applications which assume that |
177 |
|
|
JS_InitStandardClasses() initialized only really the standard |
178 |
|
|
classes). |
179 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
180 |
|
|
|
181 |
|
|
Changes between *GENESIS* and 1.6.20060722 (2006-06-XX to 2006-07-22) |
182 |
|
|
|
183 |
|
|
o Initial OSSP js distribution of Mozilla JavaScript 1.6 as of 2006-07-22. |
184 |
|
|
[Ralf S. Engelschall <rse@engelschall.com>] |
185 |
|
|
|