Changeset 10457 in webkit
- Timestamp:
- Sep 3, 2005, 11:21:54 PM (20 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r10456 r10457 1 2005-09-03 Krzysztof Kowalczyk <[email protected]> 2 3 Reviewed, tweaked and landed by Darin. 4 5 - another try at some of the Windows compilation fixes 6 should fix these bugs: 4546, 4831, 4834, 4643, 4830, 4832, 4833, 4835 7 8 * kjs/collector.cpp: Add missing <setjmp.h> include. 9 * kjs/date_object.cpp: Fix broken copysign macro. 10 * kjs/dtoa.cpp: Move macro definitions down after all header includes. 11 * kjs/fast_malloc.cpp: Add missing <assert.h> and <stddef.h> includes. 12 * kjs/function.cpp: Remove broken isxdigit definition. 13 * kjs/grammar.y: Add a missing semicolon (and remove an excess one). 14 * kjs/identifier.cpp: Turn off AVOID_STATIC_CONSTRUCTORS because the placement new syntax 15 doesn't seem to work in Visual C++ (I'm surprised to hear that, by the way). 16 * kjs/value.h: Made ValueImp's destructor virtual because otherwise pointers to ValueImp 17 on the stack aren't right for garbage collection on Windows (don't think it works that 18 way with gcc's virtual table scheme, but it's a harmless change). 19 1 20 2005-09-03 Krzysztof Kowalczyk <[email protected]> 2 21 -
trunk/JavaScriptCore/kjs/collector.cpp
r10456 r10457 27 27 #include "value.h" 28 28 29 #include <setjmp.h> 29 30 #include <algorithm> 30 31 -
trunk/JavaScriptCore/kjs/date_object.cpp
r10456 r10457 62 62 #include <float.h> 63 63 #define isfinite(x) _finite(x) 64 #define copysign(x ) _copysign(x)64 #define copysign(x, y) _copysign(x, y) 65 65 #endif 66 66 -
trunk/JavaScriptCore/kjs/dtoa.cpp
r10456 r10457 178 178 #define INFNAN_CHECK 179 179 #include "dtoa.h" 180 #undef strtod /* do not remove: needed for WIN32 */181 #define strtod kjs_strtod182 #define dtoa kjs_dtoa183 #define freedtoa kjs_freedtoa184 180 185 181 … … 269 265 #include "math.h" 270 266 #endif 267 268 #define strtod kjs_strtod 269 #define dtoa kjs_dtoa 270 #define freedtoa kjs_freedtoa 271 271 272 272 #ifdef __cplusplus -
trunk/JavaScriptCore/kjs/fast_malloc.cpp
r10456 r10457 226 226 227 227 #include "fast_malloc.h" 228 229 #include <assert.h> 230 #include <stddef.h> 228 231 229 232 #define MALLOC_FAILURE_ACTION abort() -
trunk/JavaScriptCore/kjs/function.cpp
r10456 r10457 42 42 43 43 #include <unicode/uchar.h> 44 45 #if WIN3246 // Define a locale-independent isxdigit.47 #undef isxdigit48 inline bool isxdigit(int c) { return _isctype(c, _HEX); }49 #endif50 44 51 45 using namespace KXMLCore; -
trunk/JavaScriptCore/kjs/grammar.y
r10416 r10457 166 166 %type <pnode> PropertyName 167 167 168 %type <ident> ParenthesizedIdent ;168 %type <ident> ParenthesizedIdent 169 169 %type <np> MemberBracketExpr CallBracketExpr ParenthesizedBracketExpr 170 170 %type <ni> MemberDotExpr CallDotExpr ParenthesizedDotExpr … … 189 189 ParenthesizedIdent: 190 190 IDENT 191 | '(' ParenthesizedIdent ')' { $$ = $2 }191 | '(' ParenthesizedIdent ')' { $$ = $2; } 192 192 ; 193 193 -
trunk/JavaScriptCore/kjs/identifier.cpp
r10456 r10457 26 26 // runs at init time. 27 27 28 #if !WIN32 // Visual C++ can't handle placement new, it seems. 28 29 #define AVOID_STATIC_CONSTRUCTORS 1 30 #endif 29 31 30 32 #if AVOID_STATIC_CONSTRUCTORS -
trunk/JavaScriptCore/kjs/value.h
r10084 r10457 72 72 private: 73 73 ValueImp(); 74 ~ValueImp();74 virtual ~ValueImp(); 75 75 76 76 public:
Note:
See TracChangeset
for help on using the changeset viewer.