changed jsdate.c to detect failure and default to using toString in
place of toLocaleString whenever FormatTime fails.
git-svn-id: svn://10.0.0.236/trunk@895 18797224-902f-48f8-a5cc-f745e15eee43
a localized string from the os for toLocaleString. The time struct
used to interface to the os time-formatting functions only takes a
16-bit year, so we map to an equivalent year (for getting the timezone
string) or clamp for years outside that range.
git-svn-id: svn://10.0.0.236/trunk@886 18797224-902f-48f8-a5cc-f745e15eee43
reserved words, and changed the versioning check that previously
applied to 'export' to accept any 'ecma' version... which means that
export becomes a keyword for the default version. Does this mean
we'll need to unreserve all the java keywords? Not sure we want to do
that...
git-svn-id: svn://10.0.0.236/trunk@881 18797224-902f-48f8-a5cc-f745e15eee43
identifier; it was only printing the first character of the
identifier, because it expected 8-bit chars, and was being called with
a 16-bit representation of the offending keyword.
git-svn-id: svn://10.0.0.236/trunk@880 18797224-902f-48f8-a5cc-f745e15eee43
functions created with new Function as "function anonymous (...)".
Now only version 1.2 decompiles to the source for an anonymous
function.
git-svn-id: svn://10.0.0.236/trunk@643 18797224-902f-48f8-a5cc-f745e15eee43
A. Hodgkinson <ahodgkin@acorn.co.uk> for finding this (and to chouck
for checking it in to js/ref/jsapi.c.)
git-svn-id: svn://10.0.0.236/trunk@639 18797224-902f-48f8-a5cc-f745e15eee43
few constants, added -ldl for Linux. Tested on Irix 6.3, SunOs 5.6,
Linux 2.031.
git-svn-id: svn://10.0.0.236/trunk@538 18797224-902f-48f8-a5cc-f745e15eee43