head 1.39; access; symbols OSSP_JS_1_6_20070208:1.37 OSSP_JS_1_6_20060820:1.32 OSSP_JS_1_6_20060803:1.30 OSSP_JS_1_6_20060731:1.25 OSSP_JS_1_6_20060730:1.18 OSSP_JS_1_6_20060729:1.15 OSSP_JS_1_6_20060724:1.9 OSSP_JS_1_6_20060722:1.1; locks; strict; comment @# @; 1.39 date 2008.08.02.09.57.50; author rse; state Exp; branches; next 1.38; commitid g5m76Zld2Et9jcdt; 1.38 date 2007.10.12.20.59.17; author rse; state Exp; branches; next 1.37; commitid pT8bhbWezuBVrlBs; 1.37 date 2007.02.08.09.38.41; author rse; state Exp; branches; next 1.36; commitid WxwElxuKajdKAF5s; 1.36 date 2007.02.08.09.32.37; author rse; state Exp; branches; next 1.35; commitid zBA9InT1eEUEyF5s; 1.35 date 2007.02.08.09.30.09; author rse; state Exp; branches; next 1.34; commitid KKHsrntp6WkOxF5s; 1.34 date 2007.01.02.09.06.09; author rse; state Exp; branches; next 1.33; commitid 94rw9mGaUKZjBU0s; 1.33 date 2006.09.16.08.32.24; author rse; state Exp; branches; next 1.32; commitid wHZW0WAMJngYS1Nr; 1.32 date 2006.08.20.15.51.54; author rse; state Exp; branches; next 1.31; commitid G1M5lkt2R27ybBJr; 1.31 date 2006.08.20.15.45.13; author rse; state Exp; branches; next 1.30; commitid WhxywYkCAaud9BJr; 1.30 date 2006.08.03.13.25.31; author rse; state Exp; branches; next 1.29; commitid c1ODrHdnFSEdVoHr; 1.29 date 2006.08.03.13.19.20; author rse; state Exp; branches; next 1.28; commitid 9Bvk8Ze7oUq2ToHr; 1.28 date 2006.08.03.12.41.27; author rse; state Exp; branches; next 1.27; commitid kujso7TfogkZFoHr; 1.27 date 2006.08.03.12.30.15; author rse; state Exp; branches; next 1.26; commitid eoBuOGsTHMzdCoHr; 1.26 date 2006.08.03.12.16.32; author rse; state Exp; branches; next 1.25; commitid eTJjwA5vt5XwxoHr; 1.25 date 2006.07.31.18.09.45; author rse; state Exp; branches; next 1.24; commitid DtPv7Ikbtk1GA2Hr; 1.24 date 2006.07.31.17.44.29; author rse; state Exp; branches; next 1.23; commitid K0Vtpa6Wsrk2s2Hr; 1.23 date 2006.07.31.17.36.41; author rse; state Exp; branches; next 1.22; commitid wqISQOuJgf8mp2Hr; 1.22 date 2006.07.31.17.32.29; author rse; state Exp; branches; next 1.21; commitid 2rGBKYikhQ2Rn2Hr; 1.21 date 2006.07.31.17.31.30; author rse; state Exp; branches; next 1.20; commitid 4EQXu7Udfayyn2Hr; 1.20 date 2006.07.31.17.21.47; author rse; state Exp; branches; next 1.19; commitid 1BaKPuKzSxQ3k2Hr; 1.19 date 2006.07.31.11.37.56; author rse; state Exp; branches; next 1.18; commitid VY4A5BJ3Gm7fq0Hr; 1.18 date 2006.07.30.08.05.17; author rse; state Exp; branches; next 1.17; commitid RnfzrbzyRsxkhRGr; 1.17 date 2006.07.30.08.00.44; author rse; state Exp; branches; next 1.16; commitid MYsn6PDUAj5JfRGr; 1.16 date 2006.07.29.20.02.55; author rse; state Exp; branches; next 1.15; commitid gkVvqwqApuKuhNGr; 1.15 date 2006.07.29.11.30.50; author rse; state Exp; branches; next 1.14; commitid vDrdLluRNcVPrKGr; 1.14 date 2006.07.29.11.30.38; author rse; state Exp; branches; next 1.13; commitid aO1jTo5ahhMLrKGr; 1.13 date 2006.07.29.09.15.09; author rse; state Exp; branches; next 1.12; commitid u6NMiufDaodiHJGr; 1.12 date 2006.07.29.09.14.40; author rse; state Exp; branches; next 1.11; commitid KZJKZd8ehNU7HJGr; 1.11 date 2006.07.29.09.08.15; author rse; state Exp; branches; next 1.10; commitid eqsSzsDhkYGTEJGr; 1.10 date 2006.07.26.07.15.59; author rse; state Exp; branches; next 1.9; commitid 1lREa0FDX38m8lGr; 1.9 date 2006.07.24.20.12.14; author rse; state Exp; branches; next 1.8; commitid htdsqfofHsyFu9Gr; 1.8 date 2006.07.24.19.53.00; author rse; state Exp; branches; next 1.7; commitid FTIGcGrxswU2o9Gr; 1.7 date 2006.07.24.19.22.41; author rse; state Exp; branches; next 1.6; commitid dm3Mpp4xUH5Gd9Gr; 1.6 date 2006.07.24.19.04.50; author rse; state Exp; branches; next 1.5; commitid CLLFdxeRcmyv79Gr; 1.5 date 2006.07.24.18.54.40; author rse; state Exp; branches; next 1.4; commitid EEydQS271Eb349Gr; 1.4 date 2006.07.24.18.53.41; author rse; state Exp; branches; next 1.3; commitid AmyvzSBF0pFH39Gr; 1.3 date 2006.07.23.19.11.48; author rse; state Exp; branches; next 1.2; commitid jHiL5WmF9LAUb1Gr; 1.2 date 2006.07.23.18.34.15; author rse; state Exp; branches; next 1.1; commitid gVEVhueKwq30Z0Gr; 1.1 date 2006.07.22.19.43.48; author rse; state Exp; branches; next ; commitid QqT7sMu2XvzUoTFr; desc @@ 1.39 log @remember bugfix @ text @ _ ___ ____ ____ ____ _ |_|_ _ / _ \/ ___/ ___|| _ \ (_)___ _|_||_| | | | \___ \___ \| |_) | | / __| |_||_|_| | |_| |___) |__) | __/ | \__ \ |_|_|_| \___/|____/____/|_| _/ |___/ |__/ OSSP js - Mozilla JavaScript Engine CHANGELOG This is a list of all changes to OSSP js. Changes between 1.6.20070208 and 1.6.20080802 (2007-02-08 to 2008-08-02) o Fix passing of command-line options in jslint(1) tool. [Ralf S. Engelschall ] Changes between 1.6.20060820 and 1.6.20070208 (2006-08-20 to 2007-02-08) o Fix __VA_COPY_USE_{CSP,CPP} fallback macros for va_copy. [Mark A. Lindner ] o Upgrade build environment to GNU autoconf 2.61 [Ralf S. Engelschall ] o Added jspack, an adaption of Dean Edwards JavaScript packer , version 2.0.2, for use as a stand-alone Unix tool under the CLI of the OSSP js JavaScript engine. [Ralf S. Engelschall ] o Upgrade to JavaScript 1.6 upstream sources as of 2007-02-08. [Ralf S. Engelschall ] o Upgrade to JavaScript 1.6 upstream sources as of 2007-01-02. [Ralf S. Engelschall ] o Upgrade to JavaScript 1.6 upstream sources as of 2006-09-16. [Ralf S. Engelschall ] Changes between 1.6.20060803 and 1.6.20060820 (2006-08-03 to 2006-08-20) o Add support for UTF-8 C strings in the API and internally by adding a --with-utf8 build-time options which builds the code with JS_C_STRINGS_ARE_UTF8. [Ralf S. Engelschall ] o Upgrade to upstream sources as of 2006-08-20. [Ralf S. Engelschall ] Changes between 1.6.20060731 and 1.6.20060803 (2006-07-31 to 2006-08-03) o Add optional Dynamic Shared Object (DSO) support (see src/jsdso.[ch]). This comes in two flavors: 1. Provide two public C API functions... JSBool JS_DSOLoad (JSContext *cx, int *id, const char *filename); JSBool JS_DSOUnload (JSContext *cx, int id); ...as an ultra-thin wrapper around the POSIX dlopen(3) API. It especially mimics the BSD RTLD behaviour of calling pre-defined functions (mandatory "js_DSO_load" and optional "js_DSO_unload") inside the DSO after/before the dlopen/dlclose calls. This allows the DSOs to perform their init/shutdown actions. 2. Provide a small JavaScript global object "DSO" which binds the two public DSO C API functions into the JavaScript language as "DSO.load" and "DSO.unload". The "DSO" object can be created by the friend C API function js_InitDSOClass(). This function is used by the command-linne interface "js" by default. As a result the OSSP Mozilla JavaScript engine is now able to dynamically load C extensions similar to what other programming languages provide since a longer time. [Ralf S. Engelschall ] o Be more clean and replace weak "#if JS_HAS_FILE_OBJECT" constructs with the stronger "#if defined(JS_HAS_FILE_OBJECT) && (JS_HAS_FILE_OBJECT - 0)" as the JS_HAS_FILE_OBJECT can be not defined at all (in contrast to other JS_HAS_XXXX defines which are all listed in src/jsconfig.h) [Ralf S. Engelschall ] o Fix a bunch of compiler warnings. [Ralf S. Engelschall ] o Change from -O2 to -O0 and without -Wshadow under --enable-debug. [Ralf S. Engelschall ] Changes between 1.6.20060730 and 1.6.20060731 (2006-07-30 to 2006-07-31) o Fix "make distclean": src/perlconnect/Makefile.PL is always generated and hence has to be always deleted. [Ralf S. Engelschall ] o Fix "devtool dist" command: "make man" does not exist. [Ralf S. Engelschall ] o Fix "make install": the executable "js" was not installed via GNU libtool and this way under --enable-shared the wrapper script was installed only. [Alfred Reibenschuh ] o Add a src/perlconnect/MANIFEST file to make ExtUtils::MakeMaker more happy. [Ralf S. Engelschall ] o Fix "make install": js-config.1 was not installed. [Alfred Reibenschuh ] o Use Autoconf macros AC_CANONICAL_BUILD and AC_CANONICAL_HOST to make sure that the host identification is really available. [Alfred Reibenschuh ] o Upgrade to upstream sources as of 2006-07-31. [Ralf S. Engelschall ] Changes between 1.6.20060729 and 1.6.20060730 (2006-07-29 to 2006-07-30) o Add support for Windows CygWin and MinGW environments. [Ralf S. Engelschall , Andrew Vajoczki ] o Upgrade to upstream sources as of 2006-07-30. [Ralf S. Engelschall ] Changes between 1.6.20060724 and 1.6.20060729 (2006-07-24 to 2006-07-29) o Upgrade to upstream sources as of 2006-07-29. [Ralf S. Engelschall ] o Changed GNU libtool shared library versioning from 0:0 to 1:6. [Ralf S. Engelschall , Alfred Reibenschuh ] o Increase portability by gracefully downgrading the stat(2) use of st_birthtime to st_birthtimensec or even st_ctime. [Ralf S. Engelschall , Andrew Vajoczki ] o Apply a few more upstream fixes to jsfile.c. [Ralf S. Engelschall ] Changes between 1.6.20060722 and 1.6.20060724 (2006-07-22 to 2006-07-24) o Apply multiple code cleanups and bugfixes. [Ralf S. Engelschall ] o Move definitions of XP_UNIX and EXPORT_JS_API back from jstypes.h to configure.ac (and this way the command-line) to not break the use of jstypes.h as a regular API header in JS based applications. [Ralf S. Engelschall ] o Consistently mark all OSSP bugfixes with a "/* BUGFIX */" tag on the "#ifdef OSSP" line. This way one can more easily see what are specific OSSP specific changes what should be taken over by upstream vendor. [Ralf S. Engelschall ] o Fix an incorrect argument type bug in jsfile.c related to a call to js_InflateString(). A "size_t *" has to be passed, not a "size_t". [Ralf S. Engelschall ] o Upgrade from (the Mozilla Firefox 1.5 pinned version) SpiderMonkey 1.6.20060722 to the (SPIDERMONKEY_1_6_0_BRANCH based) 1.6.20060724 upstream version. [Ralf S. Engelschall ] o Added jslint (see http://www.jslint.com/) together with some home-brewn option parser. The result is installed as a stand-alone "jslint" program. [Ralf S. Engelschall ] o Install all src/js*.h headers during "make install" to allow applications to at least optionally poke around in the internals. This also allows an application to call js_InitFileClass() from without us having to really call this function in the standard API function JS_InitStandardClasses(). [Ralf S. Engelschall ] o Change the default of the --with-file/--without from --without-file to --with-file (enable the File object by default), but activate it only in the CLI (where it doesn't hurt and where it is actually really required to get something useful running there in practice) but explicitly _NOT_ in JS_InitStandardClasses() (as this is what would hurt the security in applications which assume that JS_InitStandardClasses() initialized only really the standard classes). [Ralf S. Engelschall ] Changes between *GENESIS* and 1.6.20060722 (2006-06-XX to 2006-07-22) o Initial OSSP js distribution of Mozilla JavaScript 1.6 as of 2006-07-22. [Ralf S. Engelschall ] @ 1.38 log @Fix __VA_COPY_USE_{CSP,CPP} fallback macros for va_copy. Submitted by: Mark A. Lindner @ text @d14 5 @ 1.37 log @upgrade to autoconf 2.61 @ text @d16 3 @ 1.36 log @prepare for release @ text @d16 3 @ 1.35 log @add jslint copyright header and add jspack script @ text @d14 1 a14 1 Changes between 1.6.20060820 and 1.6.20070102 (2006-08-20 to 2007-01-02) d22 3 @ 1.34 log @remember upgrades @ text @d16 6 @ 1.33 log @*** empty log message *** @ text @d14 1 a14 1 Changes between 1.6.20060820 and 1.6.20060916 (2006-08-20 to 2006-09-16) d16 4 a19 1 o Upgrade to upstream sources as of 2006-09-16. @ 1.32 log @Upgrade to upstream sources as of 2006-08-20. @ text @d14 5 @ 1.31 log @Add support for UTF-8 C strings in the API and internally by adding a --with-utf8 build-time options which builds the code with JS_C_STRINGS_ARE_UTF8. @ text @d21 3 @ 1.30 log @bump version before release @ text @d14 7 @ 1.29 log @Add optional Dynamic Shared Object (DSO) support (see src/jsdso.[ch]). This comes in two flavors: 1. Provide two public C API functions... JSBool JS_DSOLoad (JSContext *cx, int *id, const char *filename); JSBool JS_DSOUnload (JSContext *cx, int id); ...as an ultra-thin wrapper around the POSIX dlopen(3) API. It especially mimics the BSD RTLD behaviour of calling pre-defined functions (mandatory "js_DSO_load" and optional "js_DSO_unload") inside the DSO after/before the dlopen/dlclose calls. This allows the DSOs to perform their init/shutdown actions. 2. Provide a small JavaScript global object "DSO" which binds the two public DSO C API functions into the JavaScript language as "DSO.load" and "DSO.unload". The "DSO" object can be created by the friend C API function js_InitDSOClass(). This function is used by the command-linne interface "js" by default. As a result the OSSP Mozilla JavaScript engine is now able to dynamically load C extensions similar to what other programming languages provide since a longer time. @ text @d14 1 a14 1 Changes between 1.6.20060731 and 1.6.200608xx (2006-07-31 to 2006-08-xx) @ 1.28 log @Be more clean and replace weak "#if JS_HAS_FILE_OBJECT" constructs with the stronger "#if defined(JS_HAS_FILE_OBJECT) && (JS_HAS_FILE_OBJECT - 0)" as the JS_HAS_FILE_OBJECT can be not defined at all (in contrast to other JS_HAS_XXXX defines which are all listed in src/jsconfig.h) @ text @d16 23 @ 1.27 log @Fix a bunch of compiler warnings. @ text @d16 6 @ 1.26 log @Change from -O2 to -O0 and without -Wshadow under --enable-debug. @ text @d16 3 @ 1.25 log @Fix "make distclean": src/perlconnect/Makefile.PL is always generated and hence has to be always deleted. @ text @d14 5 @ 1.24 log @Fix "devtool dist" command: "make man" does not exist. @ text @d16 4 @ 1.23 log @bump before release @ text @d16 3 @ 1.22 log @Fix "make install": the executable "js" was not installed via GNU libtool and this way under --enable-shared the wrapper script was installed only. Submitted by: Alfred Reibenschuh @ text @d14 1 a14 1 Changes between 1.6.20060730 and 1.6.20060801 (2006-07-30 to 2006-08-01) d31 3 @ 1.21 log @Add a src/perlconnect/MANIFEST file to make ExtUtils::MakeMaker more happy. @ text @d16 5 @ 1.20 log @Fix "make install": js-config.1 was not installed. Submitted by: Alfred Reibenschuh @ text @d16 3 @ 1.19 log @Use Autoconf macros AC_CANONICAL_BUILD and AC_CANONICAL_HOST to make sure that the host identification is really available. Submitted by: Alfred Reibenschuh @ text @d16 3 @ 1.18 log @remember the upgrade shift @ text @d14 6 @ 1.17 log @Add support for Windows CygWin and MinGW environments. @ text @d20 3 @ 1.16 log @change address on owner's request @ text @d14 6 @ 1.15 log @Upgrade to upstream sources as of 2006-07-29 @ text @d26 1 a26 1 Andrew Vajoczki ] @ 1.14 log @Upgrade to upstream sources as of 2006-07-28. @ text @d14 1 a14 1 Changes between 1.6.20060724 and 1.6.20060728 (2006-07-24 to 2006-07-28) d16 1 a16 1 o Upgrade to upstream sources as of 2006-07-28. @ 1.13 log @use ctime @ text @d16 3 @ 1.12 log @Changed GNU libtool shared library versioning from 0:0 to 1:6 @ text @d21 1 a21 1 st_birthtime to st_birthtimensec or even st_mtime. @ 1.11 log @Increase portability by gracefully downgrading the stat(2) use of st_birthtime to st_birthtimensec or even st_mtime. @ text @d16 4 d22 2 a23 1 [Ralf S. Engelschall , Andrew Vajoczki ] @ 1.10 log @Apply a few more upstream fixes to jsfile.c. @ text @d14 5 a18 1 Changes between 1.6.20060724 and 1.6.20060726 (2006-07-24 to 2006-07-26) @ 1.9 log @bump version before release @ text @d14 5 @ 1.8 log @Apply multiple code cleanups and bugfixes. @ text @d14 1 a14 1 Changes between 1.6.20060722 and 1.6.20060723 (2006-07-22 to 2006-07-23) @ 1.7 log @remember change @ text @d16 3 @ 1.6 log @Consistently mark all OSSP bugfixes with a "/* BUGFIX */" tag on the "#ifdef OSSP" line. This way one can more easily see what are specific OSSP specific changes what should be taken over by upstream vendor. @ text @d16 5 @ 1.5 log @Fix an incorrect argument type bug in jsfile.c related to a call to js_InflateString(). A "size_t *" has to be passed, not a "size_t". @ text @d16 6 @ 1.4 log @Remember upgrade. @ text @d16 4 @ 1.3 log @Added jslint (see http://www.jslint.com/) together with some home-brewn option parser. The result is installed as a stand-alone "jslint" program. @ text @d16 5 @ 1.2 log @o Install all src/js*.h headers during "make install" to allow applications to at least optionally poke around in the internals. This also allows an application to call js_InitFileClass() from without us having to really call this function in the standard API function JS_InitStandardClasses(). o Change the default of the --with-file/--without from --without-file to --with-file (enable the File object by default), but activate it only in the CLI (where it doesn't hurt and where it is actually really required to get something useful running there in practice) but explicitly _NOT_ in JS_InitStandardClasses() (as this is what would hurt the security in applications which assume that JS_InitStandardClasses() initialized only really the standard classes). @ text @d16 5 @ 1.1 log @more files, better versioning @ text @d14 19 @