The source code to the JavaScript Interpreter supplied herewith has been changed as follows on or prior to January 12, 2007:
==== //depot/main/shared_code/ThirdParty/JavaScript_1_6/glue.cpp#1 (text) - //depot/main/shared_code/ThirdParty/JavaScript_1_6/glue.cpp#2 (text) ==== content
213c213
< catch (const exception &stdEx) {
---
> catch (const std::exception &stdEx) {
==== //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsapi.h#1 (text) - //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsapi.h#2 (text) ==== content
1394a1395,1398
> // DREAMWEAVER added this function
> extern JS_PUBLIC_API(JSBool)
> JS_DoubleIsNaN(jsdouble n);
>
==== //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsbool.c#1 (text) - //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsbool.c#2 (text) ==== content
130a131,135
> #ifdef XP_MAC
> #undef Boolean
> #define Boolean js_Boolean
> #endif
>
==== //depot/main/shared_code/ThirdParty/JavaScript_1_6/jscpucfg.h#1 (text) - //depot/main/shared_code/ThirdParty/JavaScript_1_6/jscpucfg.h#2 (text) ==== content
45c45,100
< #if defined(XP_WIN) || defined(XP_OS2) || defined(WINCE)
---
> #ifdef XP_MAC
>
> #if TARGET_CPU_X86
> #undef IS_LITTLE_ENDIAN
> #define IS_LITTLE_ENDIAN 1
> #undef IS_BIG_ENDIAN
> #elif TARGET_CPU_PPC
> #undef IS_LITTLE_ENDIAN
> #undef IS_BIG_ENDIAN
> #define IS_BIG_ENDIAN 1
> #else
> #error "TARGET_CPU_xxx macro undefined; unable to determine endianness"
> #endif
>
> #define JS_BYTES_PER_BYTE 1L
> #define JS_BYTES_PER_SHORT 2L
> #define JS_BYTES_PER_INT 4L
> #define JS_BYTES_PER_INT64 8L
> #define JS_BYTES_PER_LONG 4L
> #define JS_BYTES_PER_FLOAT 4L
> #define JS_BYTES_PER_DOUBLE 8L
> #define JS_BYTES_PER_WORD 4L
> #define JS_BYTES_PER_DWORD 8L
>
> #define JS_BITS_PER_BYTE 8L
> #define JS_BITS_PER_SHORT 16L
> #define JS_BITS_PER_INT 32L
> #define JS_BITS_PER_INT64 64L
> #define JS_BITS_PER_LONG 32L
> #define JS_BITS_PER_FLOAT 32L
> #define JS_BITS_PER_DOUBLE 64L
> #define JS_BITS_PER_WORD 32L
>
> #define JS_BITS_PER_BYTE_LOG2 3L
> #define JS_BITS_PER_SHORT_LOG2 4L
> #define JS_BITS_PER_INT_LOG2 5L
> #define JS_BITS_PER_INT64_LOG2 6L
> #define JS_BITS_PER_LONG_LOG2 5L
> #define JS_BITS_PER_FLOAT_LOG2 5L
> #define JS_BITS_PER_DOUBLE_LOG2 6L
> #define JS_BITS_PER_WORD_LOG2 5L
>
> #define JS_ALIGN_OF_SHORT 2L
> #define JS_ALIGN_OF_INT 4L
> #define JS_ALIGN_OF_LONG 4L
> #define JS_ALIGN_OF_INT64 2L
> #define JS_ALIGN_OF_FLOAT 4L
> #define JS_ALIGN_OF_DOUBLE 4L
> #define JS_ALIGN_OF_POINTER 4L
> #define JS_ALIGN_OF_WORD 4L
>
> #define JS_BYTES_PER_WORD_LOG2 2L
> #define JS_BYTES_PER_DWORD_LOG2 3L
> #define PR_WORDS_PER_DWORD_LOG2 1L
>
> #elif defined(XP_PC)
151c206
< #error "Must define one of XP_BEOS, XP_OS2, XP_WIN, or XP_UNIX"
---
> #error "Must define one ofXP_MAC, XP_BEOS, XP_OS2, XP_WIN, or XP_UNIX"
==== //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsgc.c#1 (text) - //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsgc.c#2 (text) ==== content
1041a1042,1043
> if (!flagp)
> return NULL;
==== //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsobj.c#1 (text) - //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsobj.c#2 (text) ==== content
3598c3598
< JSCheckAccessOp check;
---
> JSCheckAccessOp check, checkAcc;
3658c3658
< return !check || check(cx, pobj, ID_TO_VALUE(id), mode, vp);
---
> return !check || checkAcc(cx, pobj, ID_TO_VALUE(id), mode, vp);
==== //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsosdep.h#1 (text) - //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsosdep.h#2 (text) ==== content
45a46,49
> #ifdef MOZILLA_CLIENT
> #include "platform.h"
> #endif
>
54a59,73
> #ifdef XP_MAC
> #define JS_HAVE_LONG_LONG
>
> JS_BEGIN_EXTERN_C
>
> #include <stddef.h>
>
> extern void* reallocSmaller(void* block, size_t newSize);
>
> extern char* strdup(const char* str);
>
> JS_END_EXTERN_C
>
> #endif /* XP_MAC */
>
==== //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsotypes.h#1 (text) - //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsotypes.h#2 (text) ==== content
78c78
< #if !defined(_WIN32) && !defined(XP_OS2)
---
> #if !defined(XP_MAC) && !defined(_WIN32) && !defined(XP_OS2)
105c105
< #if !defined(_WIN32) && !defined(XP_OS2)
---
> #if !defined(XP_MAC) && !defined(_WIN32) && !defined(XP_OS2)
201a202,210
> #ifdef XP_MAC
> #ifndef TRUE /* Mac standard is lower case true */
> #define TRUE 1
> #endif
> #ifndef FALSE /* Mac standard is lower case false */
> #define FALSE 0
> #endif
> #endif
>
==== //depot/main/shared_code/ThirdParty/JavaScript_1_6/jstypes.h#1 (text) - //depot/main/shared_code/ThirdParty/JavaScript_1_6/jstypes.h#4 (text) ==== content
58a59,67
>
> // DREAMWEAVER
> #if WIN32
> #define XP_PC 1
> #define XP_WIN 1
> #elif (__powerc || defined(_MAC)) && !defined(XP_MAC)
> #define XP_MAC 1
> #endif
>
81,84c90,93
< #define JS_EXTERN_API(__type) extern __declspec(dllexport) __type
< #define JS_EXPORT_API(__type) __declspec(dllexport) __type
< #define JS_EXTERN_DATA(__type) extern __declspec(dllexport) __type
< #define JS_EXPORT_DATA(__type) __declspec(dllexport) __type
---
> #define JS_EXTERN_API(__type) extern __type
> #define JS_EXPORT_API(__type) __type
> #define JS_EXTERN_DATA(__type) extern __type
> #define JS_EXPORT_DATA(__type) __type
109a119,135
> #elif defined(XP_MAC)
> #define JS_EXTERN_API(__type) extern __type
> #define JS_EXPORT_API(__type) __type
> #define JS_EXTERN_DATA(__type) extern __type
> #define JS_EXPORT_DATA(__type) __type
>
> #define JS_DLL_CALLBACK
> #define JS_STATIC_DLL_CALLBACK(__x) static __x
>
> #elif defined(XP_OS2_VACPP)
> #define JS_EXTERN_API(__type) extern __type
> #define JS_EXPORT_API(__type) __type
> #define JS_EXTERN_DATA(__type) extern __type
> #define JS_EXPORT_DATA(__type) __type
> #define JS_DLL_CALLBACK _Optlink
> #define JS_STATIC_DLL_CALLBACK(__x) static __x JS_DLL_CALLBACK
>
132c158
< # define JS_IMPORT_API(__x) __declspec(dllimport) __x
---
> # define JS_IMPORT_API(__x) __x
139c165
< # define JS_IMPORT_DATA(__x) __declspec(dllimport) __x
---
> # define JS_IMPORT_DATA(__x) __x
228c254
< #if (defined(XP_WIN) && !defined(CROSS_COMPILE)) || defined (WINCE)
---
> #if defined(XP_MAC) || (defined(XP_WIN) && !defined(CROSS_COMPILE)) || defined (WINCE)
234c260
< # error "Must define one of XP_BEOS, XP_OS2, XP_WIN or XP_UNIX"
---
> # error "Must define one of XP_MAC, XP_BEOS, XP_OS2, XP_WIN or XP_UNIX"
==== //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsxml.c#1 (text) - //depot/main/shared_code/ThirdParty/JavaScript_1_6/jsxml.c#3 (text) ==== content
4940a4941,4944
> // Fix compiler error for when GC_MARK_DEBUG is defined. It's normal state is undefined.
> #if 1
> js_InflateStringToBuffer(JSSTRING_CHARS(str), buf, dstlen);
> #else
4942a4947
> #endif
==== <none> - //depot/main/shared_code/ThirdParty/JavaScript_1_6/mac/JavaScript_1_6.xcodeproj/project.pbxproj#1 ====
==== <none> - //depot/main/shared_code/ThirdParty/JavaScript_1_6/mac/JavaScript_1_6_Carb.h#1 ====
==== <none> - //depot/main/shared_code/ThirdParty/JavaScript_1_6/mac/JavaScript_1_6_CarbDbg.h#1 ====
==== //depot/main/shared_code/ThirdParty/JavaScript_1_6/prmjtime.c#1 (text) - //depot/main/shared_code/ThirdParty/JavaScript_1_6/prmjtime.c#2 (text) ==== content
214c214
< if (machineLocation.u.dlsDelta != 0)
---
> if (machineLocation.u.dls.Delta != 0)